The present application claims foreign priority based on Japanese Patent Application No. 2023-179673, filed Oct. 18, 2023, the contents of which are incorporated herein by reference.
The disclosure relates to an ink jet printer that draws information by causing ejected ink to adhere to an object.
For example, characters, symbols, images, and the like indicating various types of information such as a date, a serial number, and a barcode are drawn on packaging materials such as corrugated cardboard. JP 2014-144574 A discloses a drop-on-demand (DOD) type ink jet printer that performs printing by ejecting ink onto a packaging material.
In this ink jet printer, ink supplied from an ink tank is ejected from an ejection port formed in a nozzle, forms particulate ink, flies to a surface of a packaging material, and then lands on the surface, whereby a character or the like is drawn.
Meanwhile, drawing accuracy of an ink jet printer is determined depending on a relative movement speed of a drawing target with respect to a nozzle and a distance between the drawing target and the nozzle. However, at a site where the drawing target is conveyed, variations in a conveyance line speed and variations in a position of the drawing target on a conveyance line occur, and errors caused by a slip of the drawing target on the conveyance line also occur in principle. If the above-described variations and errors exceed a preset landing accuracy tolerance, a drawing failure occurs as a result.
The disclosure has been made in view of such a point, and an object thereof is to suppress occurrence of a drawing failure.
In order to achieve the above object, according to one embodiment of the disclosure, it is possible to assume an ink jet printer that ejects ink to draw information on an object conveyed by a conveyor. For example, the ink jet printer can include: an ink tank that stores the ink; a nozzle configured to eject the ink supplied from the ink tank toward a drawing target object; a storage unit that stores drawing data specifying an ejection timing of the nozzle at each of a plurality of offset positions in a conveyance direction, the ejection timing corresponding to drawing information; an optical movement measurement sensor that receives light from the drawing target object and generates a measurement value related to movement of the drawing target object in the conveyance direction based on the received light; a drawing control unit that controls ink ejection from the nozzle based on a current offset position based on the measurement value generated by the optical movement measurement sensor, and the drawing data; an evaluation unit that evaluates reliability of measurement by the optical movement measurement sensor; and an abnormality processing unit that executes an abnormality process when the reliability evaluated by the evaluation unit does not satisfy a predetermined criterion.
According to this configuration, the information such as characters including numbers, symbols, barcodes, two-dimensional codes, and images can be drawn on the object conveyed by the conveyor. At this time, the measurement value related to the movement of the drawing target object in the conveyance direction is generated by the optical movement measurement sensor. The ink ejection from the nozzle is controlled based on the current offset position based on the measurement value and the drawing data, but the current offset position becomes inaccurate if the reliability of the measurement by the optical movement measurement sensor is low, and the ink ejection is controlled based on the inaccurate current offset position, which may lead to occurrence of a drawing failure. In the present aspect, the reliability of the measurement by the optical movement measurement sensor is evaluated, and the abnormality process is executed at an appropriate timing when the evaluated reliability does not satisfy the predetermined criterion. This suppresses the occurrence of a large number of drawing failures.
In addition, the evaluation unit may evaluate the reliability based on an amount of received light received by the optical movement measurement sensor. In this case, when the amount of received light received by the optical movement measurement sensor is out of a predetermined range (for example, less than a predetermined range), the abnormality processing unit can execute the abnormality process by determining that the reliability does not satisfy the predetermined criterion. That is, there is a case where the measurement value is not obtained when the amount of received light of the optical movement measurement sensor is out of the predetermined range, and it is estimated that the measurement value is inaccurate even if the measurement value is obtained. Thus, in such a case, the drawing failure can be suppressed by executing the abnormality process.
The evaluation unit may evaluate the reliability based on whether the measurement by the optical movement measurement sensor is possible. In this case, the abnormality processing unit can execute the abnormality process by determining that the reliability does not satisfy the predetermined criterion when the measurement by the optical movement measurement sensor is impossible.
The abnormality processing unit may execute a notification process of notifying a user or the like of an abnormality as the abnormality process. The notification process can be executed using, for example, a display unit.
The abnormality processing unit can also execute an interruption process of interrupting drawing as the abnormality process. For example, the ink jet printer may further include a reception unit that receives selection of execution and non-execution of the interruption process. In this case, the abnormality processing unit can be configured to execute the interruption process in a case where the reception unit has received the execution of the interruption process, and not to execute the interruption process in a case where the reception unit has received the non-execution of the interruption process.
In addition, the optical movement measurement sensor may include: a light projecting unit that projects light onto the drawing target object; and a light receiving unit that receives a speckle pattern, generated according to a characteristic of a surface shape of the drawing target object by the light projected from the light projecting unit, and generates light reception data including the speckle pattern, and may generate the measurement value based on a movement amount of the speckle pattern included in the light reception data generated by the light receiving unit. In this case, the evaluation unit can evaluate the reliability based on a recognition rate and contrast distribution of the speckle pattern included in the light reception data generated by the light receiving unit. In addition, when the recognition rate of the speckle pattern is lower than a predetermined value, the abnormality processing unit can execute the abnormality process by determining that the reliability does not satisfy the predetermined criterion.
The ink jet printer may further include a movement amount acquisition unit that acquires a movement amount caused by the conveyor. When the reliability evaluated by the evaluation unit does not satisfy the predetermined criterion, the drawing control unit can control the ink ejection from the nozzle based on the movement amount acquired by the movement amount acquisition unit and the drawing data.
As described above, the reliability of the optical movement measurement sensor that generates the measurement value related to the movement of the drawing target object in the conveyance direction is evaluated so as to execute the abnormality process when the reliability does not satisfy the predetermined criterion, and thus, the occurrence of the drawing failure can be suppressed.
Hereinafter, an embodiment of the invention will be described in detail with reference to the drawings. Note that the following preferred embodiment is described merely as an example in essence, and there is no intention to limit the invention, its application, or its use.
The above configuration example is an example, and the invention is not limited to the above configuration example. That is, the controller 4 may be incorporated in the operation terminal 5 or may be incorporated in the drawing machine 2. In addition, the operation terminal 5 may function as the controller 4. In addition,
One or both of the encoder 7 and the timing sensor 8 are provided. The encoder 7 and the timing sensor 8 may be devices each constituting a part of the ink jet printer 1, or may be devices separate from the ink jet printer 1.
As illustrated in
The drawing machine 2 is fixed such that a relative position with respect to the conveyor 10 has a predetermined positional relationship. A member, an apparatus, a tool, and the like for fixing the drawing machine 2 are not particularly limited, and examples thereof can include a fixing member 11 such as a fixing base or a bracket. The fixing member 11 may be fixed to floor surfaces of factories, warehouses, and the like, or may be fixed to a frame or the like of the conveyor 10.
During operation of the ink jet printer 1, a plurality of the workpieces W are sequentially conveyed in a direction of an arrow A illustrated in
Not all the plurality of workpieces W are placed at the same position in the width direction of the conveyance surface 10a, and placement positions of the workpieces W on the conveyance surface 10a may deviate from each other in the width direction of the conveyance surface 10a. In addition, the workpiece W is conveyed by a frictional force acting between the workpiece W and the conveyance surface 10a, and thus, the workpiece W may also slip with respect to the conveyance surface 10a due to certain causes. In the present embodiment, the favorable drawing quality of the drawing machine 2 can be maintained even if the deviation in the width direction, the slip with respect to the conveyance surface 10a, or the like of the workpiece W occurs as will be described later.
Although not particularly limited, and examples of the workpiece W can include a packing material for packing various products. As a typical example of the packing material, for example, corrugated cardboard or the like can be mentioned. The ink jet printer 1 draws information such as characters including numbers, symbols, barcodes, two-dimensional codes, images, marks, illustrations, and combinations thereof on the workpiece W conveyed by the conveyor 10. In a case of drawing only characters, the ink jet printer 1 can also be referred to as a typewriting apparatus or the like, and the drawing machine 2 can also be referred to as a typewriting machine. In addition, the drawing of information by the ink jet printer 1 also includes a case of printing images and the like. In this case, the ink jet printer 1 can be referred to as a printing apparatus. In the following description, typewriting and printing are simply referred to as drawing.
The drawing machine 2 is a drawing machine of a drop on demand (DOD) system that ejects ink only when there is a need as a drawing operation, but may be a drawing machine of a continuous ink jet (CIJ) system that ejects ink even when the drawing operation is not performed, other than the DOD system. Hereinafter, a case where the drawing machine of the DOD system is used as the drawing machine 2 of the present embodiment will be described.
As illustrated in
The print head 24 is fixed in a state of being accommodated in the main housing 25, and a positional relationship between the main housing 25 and the print head 24 is fixed. In addition, the ink supply unit 20, the ink channel unit 21, the ink discharge unit 22, and the print head drive unit 23 are also accommodated inside the main housing 25.
The print head 24 of the drawing machine 2 of the DOD system is a member corresponding to a nozzle of the invention, and ejects ink to draw information on the workpiece W. There are a plurality of types of structures of the print head 24, and for example, any of a thermal ink jet type, a valve jet type, and a piezo type may be used. In the present embodiment, a piezo type print head capable of performing drawing with low resolution to high resolution, having a wide drawing width, and having high durability is used as the print head 24.
As illustrated in
The ink channel unit 21 includes a sub tank 21a that stores ink supplied from the ink cartridge 20a, an upstream channel 21b, and a downstream channel 21c. The ink cartridge 20a and the sub tank 21a are ink tanks that store ink. In this embodiment, a hydraulic head pressure of an ink liquid level in the sub tank 21a is applied to the print head 24 as a negative pressure. Therefore, the ink ejected from the print head 24 is replenished by being sucked from the sub tank 21a by capillary action of a nozzle orifice (not illustrated) formed in the print head 24. In addition, a meniscus of ink replenished to the print head 24 is at a position corresponding to the balance between the capillary action of the nozzle orifice and the hydraulic head pressure of the ink liquid level in the sub tank 21a. The ink is supplied from the ink cartridge 20a to the sub tank 21a such that the hydraulic head pressure of the ink liquid level in the sub tank 21a is within a range that does not break the meniscus.
Since a structure in which the ink in the sub tank 21a is supplied to the print head 24 using the hydraulic head pressure of the ink liquid level in the sub tank 21a is adopted in the present embodiment, the drawing machine 2 is installed such that the ink liquid level in the sub tank 21a is within a predetermined tilt range with respect to a horizontal plane. That is, as long as the ink can be supplied to the print head 24 using the hydraulic head pressure of the ink liquid level in the sub tank 21a during operation, the ink liquid level in the sub tank 21a is allowed to be inclined with respect to the horizontal plane, and the drawing machine 2 is installed in such an installation posture. Note that the posture at the time of installation is adjusted such that the ink liquid level in the sub tank 21a is substantially horizontal in the present embodiment.
The upstream channel 21b extends from the ink supply unit 20 to the sub tank 21a and is a channel for supplying the ink in the ink cartridge 20a to the sub tank 21a. The upstream channel 21b is provided with an upstream filter 21d that filters ink, an ink pump 21e that feeds ink, and an upstream valve 21f that opens and closes the upstream channel 21b in order from the upstream side. The sub tank 21a is provided with a level meter 21g that measures a liquid level height of the ink in the sub tank 21a. The level meter 21g can be configured using, for example, a float sensor, a capacitive sensor, an ultrasonic liquid level sensor, or the like. The ink pump 21e and the upstream valve 21f are controlled by an ink channel control unit 40a (illustrated in
The downstream channel 21c extends from the sub tank 21a to the print head 24, and is a channel for supplying the ink in the sub tank 21a to the print head 24. The downstream channel 21c is provided with a downstream valve 21h that opens and closes the downstream channel 21c and a downstream filter 21i that filters ink in order from the upstream side. The downstream valve 21h is controlled by the ink channel control unit 40a to be described later, and is opened when drawing is executed. Since such an ink channel unit 21 is provided, the ink that has been supplied from the ink cartridge 20a to the sub tank 21a can be supplied from the sub tank 21a to the print head 24, and the ink that has been supplied to the print head 24 can be ejected from the ejection ports 24a toward the workpiece W.
The ink channel unit 21 also includes a pressure adjustment channel 26. One end of the pressure adjustment channel 26 communicates with an upper portion (a portion where air is accumulated) of the sub tank 21a, and the other end of the pressure adjustment channel 26 is opened to the atmosphere. The pressure adjustment channel 26 is provided with a first valve 26a, a second valve 26b, a pressure sensor 26c, an air pump 26d, and an air filter 26e. The pressure sensor 26c is configured to detect a pressure in a portion between the first valve 26a and the second valve 26b in the pressure adjustment channel 26. In addition, the second valve 26b can be always opened except during transportation of the drawing machine 2. In this case, what is measured by the pressure sensor 26c is a pressure in the sub tank 21a, and ink ejection pressure and amount in a purge operation can be controlled by controlling the pressure in the sub tank 21a.
The air pump 26d is configured to feed air to the portion between the first valve 26a and the second valve 26b in the pressure adjustment channel 26. For example, the inside of the sub tank 21a can be pressurized to a desired pressure with air by controlling the air pump 26d, the first valve 26a, and the second valve 26b at the time of maintenance of the drawing machine 2 or the like. The air before being sucked into the air pump 26d is filtered by the air filter 26e.
The ink discharge unit 22 includes a discharge channel 22a for discharging the ink in the print head 24, a discharge tank 22b, and a discharge valve 22c. An upstream end of the discharge channel 22a is connected to the print head 24, and a downstream end of the discharge channel 22a is connected to the discharge tank 22b. The discharge valve 22c is provided in a midway portion of the discharge channel 22a, and is configured to open and close the discharge channel 22a. For example, the ink in the downstream channel 21c and the print head 24 can be discharged to the discharge tank 22b by pressurizing the inside of the sub tank 21a by the air pump 26d of the pressure adjustment channel 26 during maintenance of the drawing machine 2 or before the transportation of the drawing machine 2.
The print head drive unit 23 illustrated in
The initial filling control is a control of replacing air in the print head 24 with ink and filling the print head 24 with the ink before starting the operation of the ink jet printer 1. First, the sub tank 21a is filled with ink. The ink channel control unit 40a illustrated in
The ink supply control to the sub tank 21a is control to keep the liquid level height of the ink in the sub tank 21a within a certain range. The ink channel control unit 40a opens the first valve 26a, the second valve 26b, and the upstream valve 21f, and also opens the downstream valve 21h. In addition, the ink pump 21e is turned ON, and the air pump 26d is turned OFF. As a result, the ink can be supplied from the ink cartridge 20a to the sub tank 21a such that the liquid level height measured by the level meter 21g is always constant. For example, an amount of ink transported from the sub tank 21a to the print head 24 side may be roughly estimated by software so as to perform an ink supply operation until the level meter 21g detects ON if the liquid level height measured by the level meter 21g decreases to a certain level.
In this control, the ink channel control unit 40a opens the downstream valve 21h, the first valve 26a, and the second valve 26b, and closes the upstream valve 21f and the discharge valve 22c. In addition, the ink pump 21e and the air pump 26d are turned OFF. As a result, when ink is ejected from the print head 24, the ink is drawn from the sub tank 21a into the nozzle orifice in the print head 24 due to the capillary action. At this time, the ink liquid level in the sub tank 21a is set to be lower in the direction of gravity than the ejection port 24a at the lowermost end of the print head 24, so that the ink in the print head 24 always has a negative pressure, the negative pressure and the capillary action of the nozzle orifice are balanced, and the ink meniscus is formed at a specified position of the nozzle orifice. That is, a positional relationship in a height direction of the ink liquid level in the print head 24 and the sub tank 21a is set so as to obtain the negative pressure at which the ink meniscus is formed at the specified position.
Print head purge control is control to remove air mixed in the print head 24 due to the meniscus breakage of the nozzle orifice or foreign matter such as paper dust adhering to a surface of the nozzle orifice or the inside of the nozzle orifice outside the print head 24. The ink channel control unit 40a opens the second valve 26b and closes the first valve 26a, the downstream valve 21h, the upstream valve 21f, and the discharge valve 22c. In addition, the ink pump 21e is turned OFF, and the air pump 26d is turned ON. This control is performed, an air pressure in the sub tank 21a is measured by a pressure gauge, and pressurization is performed by the air pump 26d until a certain pressure is obtained.
Thereafter, the ink channel control unit 40a opens the downstream valve 21h and closes the upstream valve 21f, the first valve 26a, the second valve 26b, and the discharge valve 22c. In addition, the ink pump 21e and the air pump 26d are turned OFF. As a result, the ink in the sub tank 21a is supplied to the print head 24 by pressurization using the air pressure in the sub tank 21a, so that the air mixed in the print head 24 and the foreign matter such as paper dust adhering to the surface of the nozzle orifice and the inside of the nozzle orifice are removed to the outside of the print head 24.
Discharge control is control to empty the entire ink in ink channels. Before this control is performed, the ink cartridge 20a is detached. Thereafter, the ink channel control unit 40a opens the first valve 26a, the second valve 26b, and the upstream valve 21f, and also opens the downstream valve 21h. In addition, the ink pump 21e is turned ON, and the air pump 26d is turned OFF. As a result, the entire ink in the upstream channel 21b is transferred to the sub tank 21a.
Thereafter, the downstream valve 21h, the second valve 26b, and the discharge valve 22c are opened, and the first valve 26a and the upstream valve 21f are closed. In addition, the ink pump 21e is turned OFF, and the air pump 26d is turned ON. As a result, the ink in the sub tank 21a is pressurized by the air pump 26d to discharge the ink to the discharge tank 22b via the inside of the downstream channel 21c, the inside of the print head 24, and the portion between the print head 24 and the discharge valve 22c, so that the ink in these portions is replaced with air. At this time, some ink is also discharged from the print head 24.
As illustrated in
The power supply unit 41 is a portion that converts AC power from a commercial power supply 100 into DC power and supplies the DC power to, for example, the control section 40, the storage unit 42, the operation display unit 43, the drawing machine 2, and the like, and includes, for example, a switching power supply and the like.
The storage unit 42 is a portion that stores drawing data specifying an ejection timing of the ejection ports 24a of the print head 24 corresponding to drawing information at each of a plurality of offset positions in the conveyance direction. The storage unit 42 may include, for example, a working memory and the like.
As illustrated in
The ink channel control unit 40a of the control section 40 is a portion that outputs an execution command for the above-described channel controls 1 to 4 to the drawing machine 2 in response to an instruction made using the drawing-machine-side operation unit 43b from the user, inputs from various sensors, and the like. Each control after the ink channel control unit 40a outputs the execution command to the drawing machine 2 is as described above.
The drawing data generation unit 40b is a portion that generates the drawing data as illustrated in
The drawing control unit 40c reads the drawing data stored in the storage unit 42, and receives information regarding a position and a distance input from the sensor unit 3, the encoder 7, the timing sensor 8, and the like and a signal (timing signal) indicating that the workpiece W has arrived at a predetermined position. Then, the drawing control unit 40c outputs a control signal to the print head drive unit 23 based on the information regarding the position and the distance, the timing signal, and the drawing data generated by the drawing data generation unit 40b, and controls the ink ejection from the ejection ports 24a of the print head 24. Details of the drawing control unit 40c will be described later.
The workpiece movement amount acquisition unit 40d is a portion that acquires a movement amount of the workpiece W with respect to the drawing machine 2 based on signals input from the sensor unit 3 and the encoder 7. As the workpiece movement amount acquisition unit 40d detects the movement amount of the workpiece W, a position of the workpiece W with respect to the drawing machine 2 can be acquired. The movement amount and position of the workpiece W acquired by the workpiece movement amount acquisition unit 40d are input to the drawing control unit 40c.
The workpiece distance acquisition unit 40e is a portion that acquires a timing (drawing start timing) at which the drawing machine 2 starts drawing based on signals input from the sensor unit 3 and the timing sensor 8. The drawing start timing acquired by the workpiece distance acquisition unit 40e is input to the drawing control unit 40c.
The drawing start timing acquisition unit 40f is a portion that acquires a timing at which the workpiece W crosses a predetermined drawing start position based on signals input from the sensor unit 3 and the timing sensor 8. The signal acquired by the drawing start timing acquisition unit 40f is input to the drawing control unit 40c. The signals input from the sensor unit 3 and the timing sensor 8 function as a trigger (drawing start trigger) for starting drawing.
The conveyance direction identifying unit 40g is a portion that identifies the conveyance direction of the workpiece W based on an output from the sensor unit 3. In a case where the workpiece W is conveyed in the horizontal direction, the conveyance direction identifying unit 40g identifies that the workpiece W is conveyed in the horizontal direction and outputs the identified result to the drawing control unit 40c. In addition, in a case where the workpiece W is conveyed in an inclined direction, the conveyance direction identifying unit 40g identifies that the workpiece W is conveyed in the inclined direction, identifies the inclination angle thereof, and outputs the identified results to the drawing control unit 40c. As will be described later, the drawing control unit 40c controls the ink ejection from the ejection ports 24a of the print head 24 based on the conveyance direction of the workpiece W identified by the conveyance direction identifying unit 40g.
The sensor unit 3 is fixed to the main housing 25 on the upstream side in the conveyance direction of the protrusion-shaped portion 25b on the face opposing the workpiece W. On the other hand, an absorbing member 27 capable of absorbing ink is attached on the downstream side in the conveyance direction of the protrusion-shaped portion 25b on the face of the main housing 25 opposing the workpiece W.
As illustrated in
As illustrated in
The optical movement measurement sensor 30 and the distance sensor 31 are accommodated in the common sensor housing 32, thereby being integrated into a sensor module. With the sensor unit 3, it is possible to detect the drawing start timing, detect a conveyance speed (movement distance) of the workpiece W, detect a distance to the workpiece W, and the like. Note that the distance to the workpiece W in the ejection direction of the print head 24 is also referred to as the distance to the workpiece W. In addition, although the expression of the distance to the workpiece W in the ejection direction of the print head 24 is used in the present embodiment, this is merely defined to specify a distance between the workpiece W and the drawing machine 2 for convenience, and for example, a definition as a distance between the ejection ports 24a of the print head 24 and a drawing surface of the workpiece W or a definition as a distance between any part of the print head 24 and any part of the workpiece W may be used.
The optical movement measurement sensor 30 emits light in the ejection direction of the print head 24, receives light reflected from the workpiece W, and generates a measurement value related to movement of the workpiece W in the conveyance direction based on the received light. As such an optical movement measurement sensor 30, an optical tracking sensor (OTS) capable of obtaining the movement amount of the workpiece W by continuously capturing images of the workpiece W at a high speed and performing image processing on the obtained images is used in the present embodiment. The OTS that can be used as the optical movement measurement sensor 30 may be either a system that measures a movement amount of a captured image using a light emitting diode as a light source or a system that measures a movement amount of a speckle pattern using a laser as a light source. In the present embodiment, the system using the laser as the light source that has a higher depth than the system using the light emitting diode as the light source is adopted. This is because the distance between the print head 24 and the workpiece W may vary by, for example, about 10 mm. Note that, in addition to the OTS, a laser Doppler velocimeter or the like can be used as the optical movement measurement sensor 30.
The OTS using the laser as the light source includes a light projecting unit 30a that projects light (laser light) onto the workpiece W, and a light receiving unit 30b that receives a speckle pattern, generated according to a characteristic of a surface shape of the workpiece W by the light projected from the light projecting unit 30a, and generates light reception data including the speckle pattern. The light receiving unit 30b includes, for example, an imaging device having an image sensor such as a complementary MOS (CMOS). A field of view of the imaging device may overlap a diameter of spot light projected from the distance sensor 31 including a laser distance sensor to be described later.
The OTS generates a measurement value related to movement of the workpiece W in the conveyance direction based on a movement amount of the speckle pattern included in the light reception data generated by the light receiving unit 30b. That is, the optical movement measurement sensor 30 can generate the measurement value related to the movement of the workpiece W based on a measurement image generated by capturing the workpiece W by the imaging device.
The optical movement measurement sensor 30 measures not only the movement amount of the workpiece W in the conveyance direction but also a movement amount in a direction perpendicular to the conveyance direction. When the movement amount in the direction perpendicular to the conveyance direction is measured, the optical movement measurement sensor 30 also generates a measurement value related to movement in the direction perpendicular to the conveyance direction. Since the conveyance direction of the workpiece W and the direction perpendicular to the conveyance direction are orthogonal to each other, the optical movement measurement sensor 30 can generate measurement values of two axes orthogonal to each other. In this case, the optical movement measurement sensor 30 determines a measurement value related to the movement of the workpiece W in the conveyance direction from the generated measurement values of the two axes.
An optical system of the light receiving unit 30b does not include a lens. The optical system having no lens in this manner makes it possible to secure a larger depth of field of the light receiving unit 30b than an optical system having a lens. As a result of securing the larger depth of field of the light receiving unit 30b, a measurable range by the optical movement measurement sensor 30 can be widened. This makes it possible to measure the workpiece W passing through a place far from the print head 24, so that the degree of freedom of a conveyance position of the workpiece W increases, cost in manufacturing the production line can be reduced, and the necessity of confirming the conveyance position of the workpiece W can be reduced. Further, a usable distance range is widened so that the degree of freedom of an installation method of the drawing machine 2 is improved. Note that the optical system of the light receiving unit 30b may include a lens.
As the distance sensor 31, for example, a conventionally known device such as a triangulation distance sensor, a time of flight (TOF) distance sensor, or an ultrasonic sensor can be used. The distance sensor 31 of the present embodiment is a laser distance sensor capable of projecting spot light generated by laser light to an object to be measured.
The distance sensor 31 and the optical movement measurement sensor 30 are arranged at substantially the same height. Specifically, in a state where the distance sensor 31 and the optical movement measurement sensor 30 are fixed to the sensor housing 32, a height of measurement light projected from the distance sensor 31 and a height of measurement light projected from the optical movement measurement sensor 30 coincide with each other. As a result, the same height portion of the workpiece W can be measured by the distance sensor 31 and the optical movement measurement sensor 30.
Attachment positions of the distance sensor 31 and the optical movement measurement sensor 30 in the height direction can be adjusted. For example, for adjustment of the positions of the distance sensor 31 and the optical movement measurement sensor 30 in the height direction, the adjustment is possible by moving the housing 32 itself up and down with respect to the main housing 25. In addition, for example, the sensor housing 32 is provided with an attachment mechanism configured to attach the distance sensor 31 to the sensor housing 32 and an attachment mechanism for attaching the optical movement measurement sensor 30 to the sensor housing 32. The attachment mechanism of the distance sensor 31 is configured to be capable of changing a height of the distance sensor 31 within a predetermined range. In addition, the attachment mechanism of the optical movement measurement sensor 30 is configured to be capable of changing a height of the optical movement measurement sensor 30 within a predetermined range. As a result, the distance sensor 31 and the optical movement measurement sensor 30 can be arranged at the same height. Note that the distance sensor 31 and the optical movement measurement sensor 30 may be arranged at different heights. The distance sensor 31 and the optical movement measurement sensor 30 may be directly attached to the drawing machine 2, or may be indirectly attached to the drawing machine 2 while keeping a certain relationship with the drawing machine 2, and all of these attachment forms are included in a form of being attached to correspond to the drawing machine 2.
Since a timing signal can be generated based on distance data measured by the distance sensor 31, the distance sensor 31 can also be referred to as an optical timing sensor. Specifically, a timing signal indicating that a reference position of the workpiece W is at a predetermined position can be generated based on a change in the distance to the workpiece W in the ejection direction of the print head 24 measured by the distance sensor 31. The distance sensor 31 is arranged on the downstream side of the optical movement measurement sensor 30 in the conveyance direction of the workpiece W, and can identify the drawing start timing at this position. Since the distance sensor 31 is arranged on the downstream side of the optical movement measurement sensor 30 in the conveyance direction of the workpiece W, the optical movement measurement sensor 30 can generate a measurement value related to movement of the workpiece W before the distance sensor 31 generates a timing signal. Note that the generation of the timing signal by the distance sensor 31 and the generation of the measurement value by the optical movement measurement sensor 30 may be performed at the same timing.
The sensor housing 32 accommodating the optical movement measurement sensor 30 and the distance sensor 31 is detachably fixed to the main housing 25. As illustrated in
Since the main housing 25 is provided with the print head 24, the optical movement measurement sensor 30 and the distance sensor 31 are fixed to the main housing 25 such that a relative positional relationship with the print head 24 is a predetermined positional relationship. Examples of a detachable fixing structure can include, but are not limited to, a fastening structure using a screw or a bolt, and a structure in which a first engagement portion provided in the sensor housing 32 is engaged with a second engagement portion provided in the main housing 25.
The optical movement measurement sensor 30 and the distance sensor 31 are attached at fixed positions with respect to the print head 24 such that the positional relationship among the optical movement measurement sensor 30, the distance sensor 31, and the print head 24 becomes a known value in the conveyance direction of the workpiece W. Since the optical movement measurement sensor 30 and the distance sensor 31 are accommodated in the common sensor housing 32, the distance sensor 31 is arranged at a position offset in the same direction as the optical movement measurement sensor 30 along the conveyance direction with respect to the print head 24.
Note that the user may be allowed to input the positions where the optical movement measurement sensor 30 and the distance sensor 31 are attached to the control section 40 as setting values. This makes it possible to improve drawing accuracy while increasing the degree of freedom in installation of the optical movement measurement sensor 30 and the distance sensor 31.
As illustrated in
The optical movement measurement sensor 30, the distance sensor (also functioning as a timing sensor) 31, and the print head 24 are arrayed in this order from the upstream side in the conveyance direction of the workpiece W. With this array, it is possible to start measuring a movement amount of the workpiece W in a state where the optical movement measurement sensor 30 outputs a valid measurement value.
In addition, the optical movement measurement sensor 30 and the distance sensor 31 are arranged at the positions offset upstream of the print head 24 along the conveyance direction for the following reasons. That is, ink mist, called satellites, generated during the ink ejection from the print head 24 and not landing on the workpiece W and droplets of ink splashed from the workpiece W flow in a downstream direction of the print head 24 due to a flow of wind generated by conveyance of the workpiece W to the print head 24. For this reason, if the optical movement measurement sensor 30 and the distance sensor 31 are installed downstream of the print head 24, there is a high possibility that the window 32b serving as a detection surface for the optical movement measurement sensor 30 and the distance sensor 31 is contaminated with ink to induce a detection failure. However, in this case, a dead space that is not measurable by the optical movement measurement sensor 30 is generated in principle at a final end (downstream end) of the workpiece W in the conveyance direction. In a case where drawing is to be performed onto the dead space, it is sufficient to execute complementary processing such as constant-speed control using a final measurement value of the optical movement measurement sensor 30 or acceleration control using final acceleration measured by the optical movement measurement sensor 30.
When the workpiece W is conveyed to a predetermined position opposing the print head 24, the print head 24 is directed to the drawing target region in the workpiece W. In addition, the distance sensor 31 can measure a current offset position by irradiating the workpiece W with the measurement light, and a region of the workpiece W irradiated with the measurement light by the distance sensor 31 is a measurement region of the workpiece W by the distance sensor 31. In the present embodiment, the distance sensor 31 is installed such that a position in the up-down direction of the drawing target region to which the print head 24 is directed and a position in the up-down direction of the region where the current offset position is measured by the distance sensor 13 at least partially overlap each other. That is, the region where drawing is performed and the region measured by the distance sensor 31 at least partially overlap each other, so that a distance of the region where drawing is performed from the print head 24 can be accurately measured.
The drawing setting performed before the operation of the ink jet printer 1 will be described with reference to a flowchart illustrated in
In Step SA1 of
In Step SA2, the user performs a drawing common setting. In the drawing common setting, the user performs a manufacturing serial number counter setting and a replacement setting (such as an obfuscation setting of a manufacturing date or a lot number).
In Step SA3, the start of the drawing setting by the user is awaited. Specifically, it is determined whether the drawing setting has been started by the user. When the drawing setting is started, the process proceeds to Step SA4. In Step SA4, it is determined whether to draw a logo (image). When an image is to be drawn, the process proceeds to Step SA5, and image data is converted into resolution and size that can be drawn by the drawing machine 2 using a dedicated terminal such as a personal computer to obtain a dedicated logo file, and the logo file is stored in the storage unit 42 of the drawing machine 2.
When NO is determined in Step SA4 and an image is not to be drawn, the process proceeds to Step SA6. In Step SA6, the user performs a drawing content setting. Specifically, the user selects a job number to be set as drawing content or selects drawing content to be edited by a job number. A job represents a drawing data set to be drawn on one workpiece W, and this job includes the drawing data as illustrated in
In Step SA7, the user sets a delay from reception of a drawing start trigger commonly used in a job selected in Step SA6 to the start of drawing. The delay from the reception of the drawing start trigger to the start of drawing may be set by setting, for example, time or a position (mm).
In Step SA8, a drawing element (block) is added to the job. Thereafter, the process proceeds to Step SA9, and in Step SA9, a drawing element such as a character string, a barcode, a two-dimensional code, or a logo is set in the added drawing element. At this time, the user sets a thickness of a character to be drawn, a character size, a barcode size, a two-dimensional code size, a logo size, position information thereof, or the like. The drawing data also includes a printing pitch and the like.
In Step SA10, it is determined whether the addition of the drawing element has been completed. Steps SA8, SA9, and SA10 are repeated until addition of all the drawing elements is completed, and the process proceeds to Step SA11 when the addition of all the drawing elements is completed. In Step SA11, the job is stored in the storage unit 42 of the drawing machine 2.
Since the supply of ink to the print head 24 is performed using the hydraulic head pressure of the ink liquid level in the sub tank 21a in the ink jet printer 1 of the present embodiment, the drawing machine 2 needs to be installed so as to fall within a predetermined tilt range at the time of installation of the drawing machine 2. As a measure for such adjustment, for example, it is conceivable to adjust a posture of the drawing machine 2 by a level. However, in the case of the posture adjustment by the level, there is a problem that it is difficult for the user to notice a change over time after installation of the drawing machine 2. In addition, the conveyance speed of the workpiece W is secondarily grasped from settings of the conveyor 10, or a speed measurement device such as the encoder 7 is required. In addition, it is necessary to temporarily stop the workpiece W and measure the distance between the workpiece W and the print head 24 in order to confirm that the drawing machine 2 has been installed within specifications of the drawing machine 2 although depending on a relative position of the drawing machine 2 with respect to the workpiece W. Further, a tilt of drawing and drawing quality are not known unless drawing is actually performed on the workpiece W, and it is necessary to repeat drawing, installation of the drawing machine 2, and correction of various settings.
On the other hand, in the ink jet printer 1 of the present embodiment, an installation assist mode for assisting installation work of the drawing machine 2 by the user and mitigating a load of the installation work performed by the user can be executed. Hereinafter, the installation assist mode will be described in detail based on a flowchart illustrated in
For example, after the drawing setting illustrated in
In Step SA103, measurement results of the optical movement measurement sensor 30 and the distance sensor 31 are displayed. Specifically, as illustrated in
The measurement result display screen 50 is provided with a workpiece size display area 51 in which a workpiece size, which is a dimension of the workpiece W in the conveyance direction, is displayed, a workpiece conveyance speed display area 52 in which an average of conveyance speeds of the workpiece W is displayed, a distance display area 53 in which a maximum distance between the print head 24 and the workpiece W is displayed, a longitudinal movement amount display area 54 in which the movement amount of the workpiece W in the direction perpendicular to the conveyance direction is displayed, and a tilt display area 55 in which the tilt of the drawing machine 2 is displayed.
The workpiece size, the conveyance speed of the workpiece W, the distance between the print head 24 and the workpiece W, the movement amount of the workpiece W in the direction perpendicular to the conveyance direction, and the tilt of the drawing machine 2 are generated based on the measurement values of the optical movement measurement sensor 30 and the distance sensor 31 included in the sensor unit 3, and are examples of the information regarding the installation state. Information regarding the installation state other than these may be displayed on the measurement result display screen 50.
The output unit 44 can also output, as the information regarding the installation state, a diagram (an example of information) illustrating a relationship between a distance measured by the distance sensor 31 (distance between the print head 24 and the workpiece W) and a specified distance range (also referred to as a drawing distance range) specified by the specifications of the drawing machine 2. For example, the distance measured by the distance sensor 31 is displayed as illustrated in
The output unit 44 can also output, as the information regarding the installation state, a diagram illustrating a relationship between the conveyance speed of the workpiece W measured by the optical movement measurement sensor 30 (which is a movement speed of the workpiece W) and a specified speed range specified in the specifications. For example, the conveyance speed measured by the optical movement measurement sensor 30 is displayed as illustrated in
The output unit 44 can also output, as the information regarding the installation state, a diagram illustrating a tilt of the conveyance direction determined from measurement values of the two axes measured by the optical movement measurement sensor 30. For example, as illustrated in
When the user operates a detail button 56 on the measurement result display screen 50 illustrated in
In Step SA104 of
In a case where there it is measured that the distance between the workpiece W and the print head 24 gradually changes, it is determined that there is a problem in the installation state because the workpiece is moving obliquely. In this case, it is necessary to adjusts an angle.
In a case where there the change in the distance between the workpiece W and the print head 24 is large, it is determined that there is a problem in the installation state because the drawing machine 2 has not been fixed or a guide of the workpiece W is unstable. In this case, it is necessary to fix the drawing machine 2 and adjust the guide.
The size of the workpiece W can be grasped based on a movement distance of the workpiece W in the conveyance direction, and it is possible to know whether a relationship between the movement distance of the workpiece W in the conveyance direction and a drawing size is satisfied. In a case where there the relationship between the movement distance of the workpiece W in the conveyance direction and the drawing size is not satisfied, it is determined that there is a problem in the installation state.
In a case where there is a large variation in the conveyance speed of the workpiece W in a constant-speed drawing setting, printing based on the constant-speed drawing setting cannot be performed, and thus, it is determined that there is a problem in the installation state.
A case where the movement amount of the workpiece W in the direction perpendicular to the conveyance direction monotonically increases or monotonically decreases indicates that the workpiece W is moving obliquely with respect to the drawing machine 2, and thus, it is determined that there is a problem in the installation state.
A case where vibration in the direction perpendicular to the conveyance direction of the workpiece W is large indicates that the workpiece W is bumping (which will be described later) or that the drawing machine 2 is incompletely installed, and thus, it is determined that there is a problem in the installation state. In this case, it is necessary to examine adjustment of the conveyor 10 or installation of the drawing machine 2.
When it is determined that there is a problem in the installation position of the drawing machine 2, the process proceeds from Step S104 to Step SA101. When it is determined that there is no problem in the installation position of the drawing machine 2, the process proceeds from Step S104 to Step SA105, and the measurement results are reflected in the drawing setting.
There is a case where the workpiece W is conveyed at an angle with respect to the horizontal direction. At this time, there is no problem in drawing if the drawing machine 2 is also inclined so as to match the conveyance direction of the workpiece W, but there is a case where the drawing machine 2 cannot be inclined so as to match the conveyance direction of the workpiece W as described above. In this case, as illustrated in the upper side of
There is a case where the optical movement measurement sensor 30 that measures a movement amount of the workpiece W requires correction depending on a state of the workpiece W or the like. The installation assist mode has an advantage that installation adjustment can be performed without actual drawing on the workpiece W, but a correction image may be drawn for the correction of the optical movement measurement sensor 30 in the installation assist mode as necessary. The correction image, for example, assumes to draw a reference image including a plurality of printing patterns having a predetermined interval from the print head 24 on the workpiece W. The correction image is drawn by the drawing control unit 40c.
As described above, the drawing control unit 40c draws the correction image assumed to be drawn on the workpiece W at a predetermined interval from the print head 24 on the workpiece, and receives an input of a drawing result of the correction image drawn on the workpiece W. Then, the drawing control unit 40c executes calibration based on a comparison between the drawing result of the correction image and the predetermined interval.
The drawing control unit 40c illustrated in
The reference position information acquired by the drawing control unit 40c is a timing signal indicating that the workpiece W being conveyed by the conveyor 10 has arrived at a predetermined position. Since the timing sensor 8 is a sensor that detects arrival of the workpiece W conveyed by the conveyor 10 at a predetermined position, the drawing control unit 40c acquires a signal output from the timing sensor 8 as a timing signal. In addition, the external device 6 can indirectly acquire, by a detector (not illustrated), arrival of the workpiece W conveyed by the conveyor 10 at a predetermined position, the drawing control unit 40c may acquire a signal output from the external device 6 as a timing signal. The timing sensor 8 and the external device 6 are examples of a timing signal output unit that outputs a timing signal.
In a case where the distance sensor 31 is caused to function as an optical timing sensor, the drawing control unit 40c receives the timing signal generated by the distance sensor 31. In this case, the drawing control unit 40c controls the ink ejection from the ejection ports 24a based on drawing data stored in the storage unit 42 and a current relative position from the ejection ports 24a of the print head 24 to each of a plurality of offset positions of the drawing data, the current relative position based on the measurement value generated by the optical movement measurement sensor 30 using the timing signal generated by the distance sensor 31 as a reference.
Since the sensor housing 32 is fixed to the main housing 25, the optical movement measurement sensor 30, the distance sensor 31, and the print head 24 are positioned and fixed. The relative positional relationship among the optical movement measurement sensor 30, the distance sensor 31, and the print head 24 is set so as to satisfy a relationship in which the optical movement measurement sensor 30 can receive light from the workpiece W from a time point when the timing signal generated by the distance sensor 31 is recognized until drawing of the drawing information on the workpiece W is completed. The light from the workpiece W also includes reflection light that has been emitted to the workpiece W and reflected by a surface of the workpiece W.
In addition, the optical movement measurement sensor 30 of the sensor unit 3 may generate a timing signal indicating that the workpiece W has arrived at a predetermined position based on a change in an amount of received light. That is, when the conveyed workpiece W enters a light projection range of the optical movement measurement sensor 30 from the outside of the light projection range, the amount of light received by the optical movement measurement sensor 30 changes. Since a timing at which the amount of light changes can be set as a timing at which the workpiece W has arrived at the predetermined position, the optical movement measurement sensor 30 can generate the timing signal without using the timing sensor 8 and the external device 6. That is, the optical movement measurement sensor 30 is a portion that receives light from the workpiece W, generates a measurement value related to movement of the workpiece W in the conveyance direction based on the received light, and generates a timing signal indicating that the reference position in the workpiece W has been detected.
The drawing control unit 40c can acquire the timing signal generated by the optical movement measurement sensor 30 as the reference position information. In this case, the drawing control unit 40c acquires a current relative position from the ejection ports 24a of the print head 24 to each of the plurality of offset positions of the drawing data based on the measurement value generated by the optical movement measurement sensor 30 using the timing signal generated by the optical movement measurement sensor 30 as a reference, and controls the ink ejection from the ejection ports 24a based on the acquired current relative position and the drawing data stored in the storage unit 42. Note that the drawing control unit 40c can also generate a timing signal at a timing when the amount of light received by the optical movement measurement sensor 30 changes and acquire the timing signal.
An offset amount from the reference position in the workpiece W to a position where the drawing information is drawn can be defined as a first offset amount, and an offset amount from the reference position in the workpiece W to the ejection ports 24a of the print head 24 can be defined as a second offset amount. The sensor housing 32 is positioned and fixed with respect to the ejection ports 24a of the print head 24 to correspond to the second offset amount. In this case, the drawing control unit 40c can determine a current relative position from the ejection ports 24a of the print head 24 to each of a plurality of offset positions of drawing data based on the first offset amount and the second offset amount.
Here, a case where a conveyance speed by the conveyor 10 is unstable or a conveyance speed detected by the encoder 7 is unstable is assumed. In addition, a case where the workpiece W is caught on a member such as the guide (not illustrated) in the middle of being conveyed by the conveyor 10, and the speed of the workpiece W is lower than the conveyance speed by the conveyor 10 is assumed. Further, there is an acceleration/deceleration region when the conveyor 10 is started and stopped, and the speed of the workpiece W becomes unstable in the acceleration/deceleration region.
In regard to these, in the present embodiment, the drawing control is executed based on the speed or the distance obtained by the sensor unit 3 capable of directly detecting the conveyance speed of the workpiece W, so that constant-speed drawing and non-constant-speed drawing can be performed by reflecting the actual conveyance speed of the workpiece W without depending on the unstable conveyance speed of the conveyor 10.
Hereinafter, description will be given based on a flowchart illustrated in
A case where the timing signal is input indicates that the workpiece W has arrived at a predetermined position, and the process proceeds to Step SB4. In Step SB4, the workpiece movement amount acquisition unit 40d acquires a movement amount of the workpiece W based on a measurement value output from the optical movement measurement sensor 30 of the sensor unit 3. The drawing control unit 40c calculates a current offset position with respect to the reference position of the workpiece W based on the timing signal and the movement amount of the workpiece W. The movement amount of the workpiece W is always acquired.
In Step SB5, a position of the ejection ports 24a of the print head 24 with respect to a current position of the workpiece W is determined based on the current offset position with respect to the reference position of the workpiece W calculated in Step SB4 and the drawing data stored in the storage unit 42. When the position of the ejection ports 24a is not a position where ink should be ejected, the process proceeds to Step SB4, and a current offset position with respect to the reference position of the workpiece W is calculated. On the other hand, when the position of the ejection ports 24a is the position where ink should be ejected, the process proceeds to Step SB6, and the drawing control unit 40c controls the print head drive unit 23 to eject ink from the ejection ports 24a.
Thereafter, the process proceeds to Step SB7, and it is determined whether all pieces of drawing data have been drawn. When there remains drawing data that has not been drawn, the process proceeds to Step SB4. On the other hand, when all the pieces of drawing data have been drawn, the drawing operation is ended, and conveyance of the next workpiece W is awaited.
(Control when Detection Accuracy Decreases)
There may be a case where detection accuracy of the optical movement measurement sensor 30 of the sensor unit 3 is low due to certain causes. For example, when dirt adheres to a light receiving surface of the optical movement measurement sensor 30, there is a case where the amount of received light decreases so that a measurement value cannot be generated, and there is a case where the movement amount of the speckle pattern cannot be measured so that a measurement value cannot be generated. A flowchart illustrated in
Steps SC1 to SC4 illustrated in
In Step SC6, the workpiece movement amount acquisition unit 40d acquires a movement amount based on the constant-speed drawing setting or the encoder 7. The movement amount can also be acquired regardless of the encoder 7. That is, the user can set a conveyance speed of the conveyor 10 according to the flowchart illustrated in
In addition, in Step SC6, processing for notifying the user of an error can also be performed. This error notification may include content prompting the user to perform maintenance such as removal of foreign matter adhering to the sensor unit 3.
On the other hand, when the detection accuracy of the optical movement measurement sensor 30 is high and the process proceeds to Step SC7, the workpiece movement amount acquisition unit 40d acquires a movement amount of the workpiece W based on the measurement value output from the optical movement measurement sensor 30 of the sensor unit 3. The drawing control unit 40c calculates a current offset position with respect to the reference position of the workpiece W based on the timing signal and the movement amount of the workpiece W.
After Step SC6 or Step SC7, in Step SC8, a position of the ejection ports 24a of the print head 24 with respect to a current position of the workpiece W is determined based on the current offset position with respect to the reference position of the workpiece W calculated in Step SC6 or Step SC7 and the drawing data stored in the storage unit 42. When the position of the ejection ports 24a is not a position where ink should be ejected, the process proceeds to Step SC4. On the other hand, when the position of the ejection ports 24a is the position where ink should be ejected, the process proceeds to Step SC9. Steps SC9 and SC10 are the same as Steps SB6 and SB7 in
In this manner, when the accuracy of the measurement value generated by the optical movement measurement sensor 30 is equal to or lower than a predetermined value, the drawing control unit 40c can control the ink ejection from the ejection ports 24a based on the movement amount based on the constant-speed drawing setting or the encoder 7 and the drawing data, and thus can execute drawing based on the actual conveyance speed (movement amount) of the workpiece W.
In this control, due to the processing of Steps SC5 to SC7, switching occurs between the measurement value generated by the optical movement measurement sensor 30 and a value based on the constant-speed drawing setting or the encoder 7. In this switching, a discontinuous change in workpiece speed occurs due to a processing delay, and thus, in order to prevent a feeling of strangeness in a drawing result, complementary processing such as linear interpolation may be performed before and after the switching, and control to smoothly connect control speeds before and after the switching may be performed.
(Control when Detection Speed Exceeds Threshold)
However, for example, there may be a case where the workpiece W is caught on a certain member on the conveyance surface 10a so that the speed of the workpiece W cannot be detected. In such a case, the speed detected by the optical movement measurement sensor 30 exceeds a preset speed threshold, and drawing is executed according to the speed detected by the optical movement measurement sensor 30 regardless of the constant-speed drawing setting or the output from the encoder 7. Hereinafter, control when the speed detected by the optical movement measurement sensor 30 exceeds the threshold will be described with reference to a flowchart illustrated in
Steps SD1 to SD4 illustrated in
When it is determined in Step SD5 that the measurement value generated by the optical movement measurement sensor 30 does not exceed the threshold, it is estimated that the catch of the workpiece W or the like does not occur, and in this case, the process proceeds to Step SD6 with the determination that the movement is within a specified error range. On the other hand, when it is determined in Step SD5 that the measurement value generated by the optical movement measurement sensor 30 exceeds the threshold, it is estimated that the catch of the workpiece W or the like occurs, and in this case, the process proceeds to Step SD7 with the determination that the movement is out of the specified error range.
In Step SD6, the workpiece movement amount acquisition unit 40d acquires a movement amount based on the constant-speed drawing setting or an output from the encoder 7. After the workpiece movement amount acquisition unit 40d acquires the movement amount based on the constant-speed drawing setting or the output from the encoder 7, the drawing control unit 40c calculates a current offset position with respect to the reference position of the workpiece W based on a timing signal and the movement amount of the workpiece W.
In Step SD7, the workpiece movement amount acquisition unit 40d acquires a movement amount of the workpiece W based on a measurement value output from the optical movement measurement sensor 30 of the sensor unit 3. The drawing control unit 40c calculates a current offset position with respect to the reference position of the workpiece W based on the timing signal and the movement amount of the workpiece W. Steps SD8 to SD10 are the same as Steps SC8 to SC10 in
Therefore, the drawing control unit 40c determines in Step SD5 whether the measurement value generated by the optical movement measurement sensor 30 exceeds the threshold, and controls the ink ejection from the ejection ports 24a based on the movement amount based on the constant-speed drawing setting or the output from the encoder 7 and the drawing data until the measurement value exceeds the threshold. On the other hand, when the measurement value generated by the optical movement measurement sensor 30 exceeds the threshold as a result of the determination in Step SD5, the drawing control unit 40c can control the ink ejection from the ejection ports 24a based on the current offset position acquired based on the measurement value generated by the optical movement measurement sensor 30 and the drawing data.
In this control, due to the processing of Steps SD5 to SD7, switching occurs between the measurement value generated by the optical movement measurement sensor 30 and a value based on the constant-speed drawing setting or the output from the encoder 7. At the time of switching, a step change occurs from a setting value to a control value, and thus, in order to prevent a feeling of strangeness in a drawing result, complementary processing such as linear interpolation may be performed before and after the switching, and control to smoothly connect control speeds before and after the switching may be performed.
In addition, the feeling of strangeness occurs in the drawing result if the measurement value generated by the optical movement measurement sensor 30 is chattering with respect to the threshold around the threshold serving as a determination reference for switching between the measurement value generated by the optical movement measurement sensor 30 and the value based on the constant-speed drawing setting or the output from the encoder 7. In order to suppress the occurrence of the feeling of strangeness, hysteresis may be provided for the threshold, and control may be performed such that the switching due to the chattering does not frequently occur.
In addition, when it is determined in Step SD5 that the measurement value generated by the optical movement measurement sensor 30 exceeds the threshold, control may be performed to notify the user that the measurement value generated by the optical movement measurement sensor 30 exceeds the threshold by warning or the like without proceeding to Step SC7.
For example, a conveyor having large vibration such as a roller conveyor may be used as the conveyor 10. The workpiece W conveyed by this conveyor 10 has a vibration component perpendicular to the conveyance direction of the workpiece W, and the workpiece W irregularly vibrates in the up-down direction with respect to the drawing machine 2 when it is assumed that the workpiece W is conveyed horizontally. If the workpiece W has the vibration component perpendicular to the conveyance direction, there is a possibility that the drawing quality greatly deteriorate. In the present embodiment, the vibration of the workpiece W in a direction perpendicular to the conveyance direction is referred to as “bumping”. Bumping includes both regular vibration and irregular vibration.
The ink jet printer 1 according to the present embodiment is configured to be capable of executing bumping correction in order to suppress the deterioration in the drawing quality due to the bumping of the workpiece W. In the bumping correction, the drawing control unit 40c controls the ink ejection from the ejection ports 24a of the print head 24 based on the movement amount of the workpiece W in the direction perpendicular to the conveyance direction measured by the optical movement measurement sensor 30. Hereinafter, details of the bumping correction will be described with reference to a flowchart illustrated in
Steps SE1 to SE3 illustrated in
The drawing control unit 40c calculates a current offset position of the workpiece W with respect to the reference position in the X direction based on a timing signal and the movement amount of the workpiece W in the X direction. At this time, a current offset position with respect to the reference position of the workpiece W is also calculated in the Y direction. Note that the X direction is a direction in which the plurality of ejection ports 24a are arrayed, and is the vertical direction in the case of horizontal conveyance. In addition, the Y direction can also be referred to as a direction orthogonal to the array direction of the plurality of ejection ports 24a.
In Step SE5, a position of the ejection ports 24a of the print head 24 with respect to a current position of the workpiece W is determined in the X direction of the workpiece W based on the current offset position of the workpiece W with respect to the reference position in the X direction calculated in Step SE4 and the drawing data stored in the storage unit 42. When the position of the ejection ports 24a in the X direction is not a position where ink should be ejected, the process proceeds to Step SE4, and a current offset position with respect to the reference position of the workpiece W in the X direction is calculated. On the other hand, when the position of the ejection ports 24a in the X direction is the position where ink should be ejected, the process proceeds to Step SE6.
In Step SE6, the drawing data is offset by the movement amount in the Y direction from the reference position. For example, original data of drawing data illustrated in
An offset amount and an offset direction of drawing data can be accurately acquired based on the measurement value output from the optical movement measurement sensor 30. In addition, although not illustrated, in a case where it is detected that the workpiece W has moved downward from the reference position at a certain ejection timing, drawing data is offset upward so as to cancel the downward movement of the workpiece W. The offset of data can also be referred to as a shift of the data. Steps SE7 and SE8 in
It is assumed a case where the workpiece W is displaced in a rotational direction about the horizontal axis when the workpiece W being conveyed by the conveyor 10 is viewed from the print head 24 side. In such a case, with the ink jet printer 1 according to the present embodiment, bumping correction including the rotational direction of the workpiece W can be performed, and the favorable drawing quality can be obtained. Control content of the bumping correction including the rotational direction will be described with reference to a flowchart illustrated in
In the first example illustrated in
In a second example illustrated in
Steps SF1 to SF3 in
In Step SF5, a position of the workpiece W with respect to the ejection ports 24a of the print head 24 is calculated in the X direction of the workpiece W based on the current offset position with respect to the reference position in the X direction of the workpiece W calculated in Step SF4 and drawing data. At this time, a position of the workpiece W with respect to the ejection ports 24a of the print head 24 is also calculated in the Y direction. Further, the rotational direction and a rotation amount (0) of the workpiece W about the horizontal axis are calculated based on the measurement value output from the first optical movement measurement sensor 30A and the measurement value output from the second optical movement measurement sensor 30B.
In Step SF6, a position of the ejection ports 24a of the print head 24 with respect to a current position of the workpiece W is determined in the X direction of the workpiece W based on the current offset position of the workpiece W with respect to the reference position in the X direction calculated in Step SF5 and the drawing data stored in the storage unit 42. In a case where the position of the ejection ports 24a in the X direction is not a position where ink should be ejected, the process proceeds to Step SF4. On the other hand, when the position of the ejection ports 24a in the X direction is the position where ink should be ejected, the process proceeds to Step SF7.
In Step SF7, the drawing data is offset by the movement amount in the Y direction and the rotation amount from the reference position. The offset in the Y direction is performed as described above. It is sufficient to perform the offset in the rotational direction in the same manner as the offset in the Y direction, and the drawing data is offset in a direction of canceling the rotation of the workpiece W. In Step SF7, control is executed so as not to draw the drawing data that has been drawn again. Steps SF8 and SF9 in
In a case where the movement amount in the X direction and the movement amount in the Y direction (vibration speed) exceed correctable critical speed, a process of not performing the bumping correction or a process of notifying the user of an error may be performed.
For example, among the plurality of ejection ports 24a arrayed in the up-down direction of the print head 24, a predetermined number of the ejection ports 24a on the upper side and a predetermined number of the ejection ports 24a on the lower side can be set as the ejection ports 24a for correction margins. In this case, when the bumping correction is not performed, the drawing process is executed only by the ejection ports 24a other than the ejection ports 24a for correction margins, that is, the ejection ports 24a at an intermediate portion in the up-down direction. On the other hand, when the bumping correction is necessary, drawing can be performed so as to cancel the vibration of the workpiece W using the predetermined number of the upper ejection ports 24a (an upper correction margin) including an upper end and the predetermined number of the lower ejection ports 24a (a lower correction margin) including a lower end. In this case, when large vibration exceeding the upper and lower correction margins occurs in the workpiece W, the process of not performing the bumping correction or the process of notifying the user of an error is performed.
In addition, the user may be allowed to set a vibration amount to be subjected to the bumping correction. Since there is a response delay due to the bumping correction, it is assumed a case where a vibration amount is increased by performing the bumping correction, contrary to expectation, when a measured vibration amount is small. Thus, a cancellation process of canceling the bumping correction may be executed when the measured vibration amount is equal to or less than a predetermined value.
(Coping with Inclined Line)
The ink jet printer 1 of the present embodiment is configured to supply ink to the print head 24 using the hydraulic head pressure. As a result, the structure can be simplified, but the ink liquid level in the sub tank 21a needs to fall within a predetermined tilt range with respect to the horizontal plane (have a tilt with respect to the horizontal plane within several degrees), and the installation of the drawing machine 2 is restricted. In addition, a posture of the sub tank 21a supplying the ink to the print head 24 has a tilt tolerance in a positional relationship with a supply port to the print head 24 side.
Meanwhile, there is a case where the conveyance direction by the conveyor 10 is inclined. Examples thereof include an inclination that descends toward the downstream side in the conveyance direction and an inclination that ascends toward the downstream side in the conveyance direction. In a case where the drawing machine 2 is to be installed on such an inclined line, if a tilt of the inclined line exceeds a specified tilt of the drawing machine 2, the drawing machine 2 cannot be installed, and an application range of the drawing machine 2 is limited.
On the other hand, in the ink jet printer 1 according to the present embodiment, the drawing machine 2 can be installed within the specified tilt and can cope with the inclined line, so that inclined line coping control can be executed. Details of the inclined line coping control will be described based on a flowchart illustrated in
Steps SG1 to SG4 are the same as Steps SE1 to SE4 illustrated in
In Step SG6, drawing data is configured such that drawing in a direction parallel to the inclination, that is, drawing as intended is performed on the workpiece W by performing an affine transformation on the drawing data based on the conveyance direction identified by the conveyance direction identifying unit 40g.
In Step SG7, similarly to Step SG4, the workpiece movement amount acquisition unit 40d acquires a movement amount of the workpiece W in the X direction and a movement amount of the workpiece W in the Y direction based on a measurement value output from the optical movement measurement sensor 30.
In Step SG8, a position of the ejection ports 24a of the print head 24 with respect to a current position of the workpiece W is determined based on a current offset position with respect to the reference position of the workpiece W calculated in Step SG7 and the drawing data. When the position of the ejection ports 24a is not a position where ink should be ejected, the process proceeds to Step SG7. On the other hand, when the position of the ejection ports 24a is the position where ink should be ejected, the process proceeds to Step SG9. In Step SG9, when the conveyance direction identified by the conveyance direction identifying unit 40g is tilted with respect to the horizontal plane, the drawing control unit 40c controls the ink ejection from the ejection ports 24a such that information such as a character string or an image is drawn in parallel with the conveyance direction. Step SG10 is the same as Step SB7 in
An inclination angle of the workpiece W during conveyance by the conveyor 10 can also be acquired at the time of installation of the drawing machine 2. This example is suitable when it is desired to avoid a measurement error of the sensor unit 3 or when the installation reliability of the drawing machine 2 with respect to the conveyor 10 is high. Hereinafter, a procedure for acquiring the inclination angle of the workpiece W with respect to the drawing machine 2 at the time of installation of the drawing machine 2 will be described with reference to
In Step SH1, the control section 40 waits for the workpiece W to pass the front of the sensor unit 3. The passage of the workpiece W can be detected by the optical movement measurement sensor 30 of the sensor unit 3 or can be detected by the encoder 7. In Step SH2, it is determined whether a drawing start trigger has been input. The process returns to Step SH1 when the drawing start trigger is not input, and the process proceeds to Step SH3 when the drawing start trigger has been input.
In Step SH3, the workpiece movement amount acquisition unit 40d acquires a movement amount of the workpiece W in the X direction and a movement amount of the workpiece W in the Y direction based on a measurement value output from the optical movement measurement sensor 30. In Step SH4, the conveyance direction identifying unit 40g determines an inclination direction and an inclination angle θ of the conveyance surface 10a of the conveyor 10 based on the movement amount in the X direction and the movement amount in the Y direction of the workpiece W acquired in Step SH3. As a result, the inclination direction of the workpiece W during conveyance can be acquired as a correction value at the time of installation and stored in the storage unit 42 or the like. The inclination angle acquired in this flow is used when an affine transformation is performed on the drawing data.
(Case where Inclination Angle of Workpiece During Conveyance Exceeds Allowable Value)
In Step SI7, an inclination angle θ determined in Step SI5 is acquired, and it is determined whether the acquired inclination angle θ exceeds a threshold (allowable value). When it is determined in Step SI7 that the inclination angle θ exceeds the threshold, the process proceeds to Step SI8, and the user is notified of an inclination angle error. When the inclination angle error is notified, drawing may be continued or stopped. On the other hand, when it is determined in Step SI7 that the inclination angle θ does not exceed the threshold, the process proceeds to Step SI4. Steps SI9 to SI12 are the same as Steps SG7 to SG10 in
In the first example illustrated in
In the second example illustrated in
When the first optical movement measurement sensor 30A, the second optical movement measurement sensor 30B, and the distance sensor 31 are arranged on the downstream side of the print head 24 as in the third example, drawing can be performed without generating the dead space to the final end of the workpiece W in the conveyance direction. However, in order to suppress the detection failure due to the ink droplets or the like, it is preferable to set detection surfaces of the first optical movement measurement sensor 30A, the second optical movement measurement sensor 30B, and the distance sensor 31 to a positive pressure using the positive pressure generator.
In the case illustrated in
In addition, although not illustrated, the first optical movement measurement sensor 30A, the second optical movement measurement sensor 30B, and the distance sensor 31 may be attached on the lower side of the print head 24. Also in this case, the dead spaces at both the downstream and upstream ends of the workpiece W in the conveyance direction can be minimized. In addition, the optical movement measurement sensor and the distance sensor may be attached on all of the upstream, downstream, upper, and lower sides of the print head 24, or may be attached on any two or three of the upstream, downstream, upper, and lower sides of the print head 24. In addition, both or one of the optical movement measurement sensor and the distance sensor may be embedded in the print head 24. In addition, one of the measurement sensor and the distance sensor may be embedded in the print head 24, and the other may be provided outside the print head 24.
In addition, although
Here, the case of the drawing on the side surface of the workpiece W is assumed. In the case of the drawing on the side surface of the workpiece W, a distance D2 between the side surface of the workpiece W and the front surface 32a (window 32b) of the sensor housing 32 is set to be longer than a distance D1 between the side surface of the workpiece W and a distal end of the print head 24 by retracting the front surface 32a and the window 32b of the sensor housing 32 from the print head 24. As a result, since the front surface 32a of the sensor housing 32 can be separated from a face the workpiece W on which particulate ink lands, droplets of ink splashed from the workpiece W and droplets due to the satellites are less likely to adhere to the front surface 32a of the sensor housing 32. In addition, the workpiece W is less likely to collide with the sensor housing 32, and the distance between the print head 24 and the workpiece W is not affected by an installation position of the sensor housing 32, so that a throw distance (drawing distance range) of the drawing machine 2 can be secured to the maximum.
Note that the sensor housing 32 may be positioned and fixed with respect to the print head 24 such that the front surface 32a and the window 32b of the sensor housing 32 are at positions advanced from the print head 24 (positions closer to the workpiece W). In addition, the front surface 32a and the window 32b of the sensor housing 32 and the print head 24 may be at the same position in the distance direction from the print head 24.
A depth of field of the light receiving unit 30b included in each of the first optical movement measurement sensor 30A and the second optical movement measurement sensor 30B is indicated by reference sign D3. A lower limit (side close to the sensor) of a movement amount measurable range of the first optical movement measurement sensor 30A is determined by a measurable distance with respect to a white workpiece having a high reflectance, and an upper limit (side far from the sensor) is determined by a measurable distance with respect to a black workpiece having a low reflectance. At a distance equal to or shorter than the lower limit of the movement amount measurable range of the first optical movement measurement sensor 30A, an amount of light on the light receiving unit 30b is saturated with respect to the white workpiece, speckle contrast cannot be sufficiently obtained, and the movement amount cannot be measured. In addition, at a distance equal to or longer than the upper limit or of the movement amount measurable range of the first optical movement measurement sensor 30A, the amount of light on the light receiving unit 30b is insufficient due to the amount of received light is small, the speckle contrast is buried in a noise component, and the movement amount cannot be measured. Here, as the white workpiece and the black workpiece, a code number D250 (color name: white) is used for the white workpiece and a code number D260 (color name: black) is used for the black workpiece based on JCS M001:2000.
In
That is, since the light receiving unit 30b is fixed to the sensor housing 32, a position of the light receiving unit 30b is determined by attaching the sensor housing 32 to the main housing 25. In this example, the optical movement measurement sensor 30 is fixed to the print head 24 by the sensor housing 32 such that the depth of field of the light receiving unit 30b in the distance direction from the print head 24 includes the drawing distance range of the print head 24, and the sensor housing 32 serves as a fixing portion configured to position and fix the optical movement measurement sensor 30 with respect to the print head 24. Note that the fixing portion may be a bracket or the like configured separately from the sensor housing 32, or may include a fastening member such as a bolt or a screw.
In addition, the distance sensor 31 is positioned and fixed with respect to the print head 24 such that a measurement range (indicated by the same reference sign D3 as that of the light receiving unit 30b for convenience) of the distance sensor 31 includes the drawing distance range of the print head 24 in the distance direction from the ejection ports 24a of the print head 24. When the distance between the print head 24 and the workpiece W is set to the drawing distance range, favorable drawing can be performed without disturbance of drawing. That is, a distance between the print head 24 and the workpiece W for preventing the disturbance of drawing from exceeding an allowable value in the drawing quality is the drawing distance range. Note that the measurement range of the distance sensor 31 and the depth of field of the light receiving unit 30b may be different.
As illustrated in this drawing, the first optical movement measurement sensor 30A and the second optical movement measurement sensor 30B are arranged to be spaced apart from each other in the conveyance direction of the workpiece W, and the distance sensor 31 is arranged between the first optical movement measurement sensor 30A and the second optical movement measurement sensor 30B, whereby a failure in measurement of ends of the workpiece W in the conveyance direction can be prevented. That is, in a case where the first optical movement measurement sensor 30A measures the workpiece W and the second optical movement measurement sensor 30B does not measure the workpiece Was illustrated in
In
In addition, as illustrated in
As illustrated in
The attachment portion 25A is provided on the upstream side of the main housing 25. The pressing mechanism 130 includes a positioning member 131 positioned and fixed to the conveyor 10 and a coil spring 132 as an elastic body. The positioning member 131 is provided with a rod 131a extending in the horizontal direction perpendicular to the conveyance direction. The attachment portion 25A of the main housing 25 is supported by the rod 131a to be slidable in the horizontal direction perpendicular to the conveyance direction.
The rod 131a is inserted into the coil spring 132, and a contraction direction of the coil spring 132 coincides with an axial direction of the rod 131a. The attachment portion 25A of the main housing 25 is arranged on the side closer to the workpiece W than the coil spring 132, whereby the coil spring 132 always presses the attachment portion 25A of the main housing 25 in a direction in which ink is ejected.
A workpiece guide 133 is provided on the upstream side of the main housing 25. If the workpiece W is conveyed closer to the upper side in
Although the above-described ink jet printer 1 includes one print head 24, the number of print heads 24 is not limited to one, and the ink jet printer 1 including a plurality of the print heads 24 is also included in the embodiment of the invention.
That is, although not illustrated, the ink jet printer 1 includes, for example, a first print head (first nozzle) and a second print head (second nozzle). The first print head has a plurality of ejection ports arrayed in a predetermined direction. In addition, the second print head also has a plurality of ejection ports arrayed in a predetermined direction. The number of the ejection ports of the first print head and the number of the ejection ports of the second print head may be the same or different.
The first print head is provided in a first housing. The second print head is provided in a second housing that can be arranged apart from the first housing. That is, the first housing and the second housing are separated, and thus, can be arranged at mutually different spots, and so that it is possible to perform drawing on different portions of the workpiece W.
The drawing data stored in the storage unit 42 includes drawing data for the first nozzle and drawing data for the second nozzle. The drawing data for the first nozzle and the drawing data for the second nozzle may be different or the same. The drawing control unit 40c controls ink ejection from the plurality of ejection ports formed in the first nozzle based on a current offset position and the drawing data for the first nozzle, and controls ink ejection from the plurality of ejection ports formed in the second nozzle based on the current offset position and the drawing data for the second nozzle. As a result, drawing can be performed on a plurality of spots of the workpiece W using one ink jet printer 1.
(Control in Case where Optical Movement Measurement Sensor is Used as Timing Sensor)
The optical movement measurement sensor 30 can be used as a timing sensor to detect that the workpiece W conveyed by the conveyor 10 has arrived at a predetermined position. Hereinafter, control in a case where the optical movement measurement sensor 30 is used as the timing sensor will be described in detail based on a flowchart illustrated in
Steps SJ1 and SJ2 illustrated in
In Step SJ4, the drawing start timing acquisition unit 40f determines whether an amount of the speckle pattern generated by the optical movement measurement sensor 30 is sufficient. A situation in which “the amount of the speckle pattern is sufficient” is a situation in which the optical movement measurement sensor 30 can generate a highly accurate measurement value to the extent that it can be as the timing sensor. In Step SJ4, when it is determined that the amount of the speckle pattern generated by the optical movement measurement sensor 30 is sufficient, the process proceeds to Step SJ5. On the other hand, in a situation where the amount of the speckle pattern generated by the optical movement measurement sensor 30 is insufficient and the use as the timing sensor is impossible, the process proceeds to Step SJ2.
In Step SJ5, since the amount of received light of the optical movement measurement sensor 30 is sufficient and the amount of the speckle pattern is also sufficient, the drawing start timing acquisition unit 40f determines a measurement value output from the optical movement measurement sensor 30 as a signal of timing sensor ON. Thereafter, the process proceeds to Step SJ6. Steps SJ6 to SJ9 are the same as Steps SB4 to SB7 illustrated in
That is, a timing at which the optical movement measurement sensor 30 detects the workpiece W and starts to generate a normal measurement value is set as a pseudo timing sensor ON timing, and the drawing operation is started. Note that detection noise is generated when both edges of the workpiece W in the conveyance direction are detected by the optical movement measurement sensor 30, and it is sufficient to apply noise removal processing if the noise is likely to be a problem.
As described above, the drawing machine 2 executes drawing on the workpiece W being conveyed in front of the drawing machine 2 in accordance with the conveyance speed of the workpiece W. In a case where the conveyance speed of the workpiece W is a constant speed, constant-speed drawing can be performed. In a case where the conveyance speed is not constant, drawing (encoder drawing) can be performed by acquiring a conveyance speed using the encoder 7 and calculating a workpiece speed from such an encoder signal. In any of these systems, the drawing start timing can be determined by the timing sensor 8, the optical movement measurement sensor 30, or the like.
However, there is no way to know whether the conveyance speed of the workpiece W is actually constant when the constant-speed drawing is executed, and thus, even if disturbance has occurred in drawing as a result of executing the constant-speed drawing, a cause of the disturbance has not been found. In addition, in the case of the encoder drawing, even if disturbance occurs in drawing due to a slip of the encoder 7, the catch of the workpiece W, or the like, it is difficult to detect the disturbance of the drawing. In addition, when a detection surface of the timing sensor 8 is contaminated with dust or particulate ink, it is difficult to determine the reliability of the timing sensor 8, and periodic maintenance of the timing sensor 8 is required. In addition, when bumping of the workpiece W has occurred, there is no problem in a case where the bumping correction is performed, but there is no way to evaluate whether the bumping of the workpiece W affects the drawing quality in a case where the bumping correction is not performed. In addition, when an angle deviation occurs between the drawing machine 2 and the conveyor 10, there is no problem if tilt correction is performed, but there is no way to know the angle deviation if the tilt correction is not performed. Further, in a case where the workpiece W is corrugated cardboard, when a flapper of the corrugated cardboard is peeled off or the like, there is a possibility that the timing sensor 8 that has detected the flapper erroneously operates by considering it as the arrival of the workpiece W, resulting in an error of the drawing start position. Although there are various causes of the drawing failure in this manner, it is difficult to prevent the drawing failure in advance in the conventional constant-speed drawing and encoder drawing, and thus, it is necessary to confirm the drawing quality with a camera or a person, which takes time and effort.
In the ink jet printer 1 according to the present embodiment, reliability of measurement by the optical movement measurement sensor 30 is evaluated, and an abnormality process is executed when the reliability of the measurement by the optical movement measurement sensor 30 is low based on a result of the evaluation, so that the occurrence of the drawing failure due to various causes as described above can be suppressed.
Details will be described hereinafter. The control section 40 of the controller 4 includes the evaluation unit 40h and the abnormality processing unit 40i configured by hardware and software. The evaluation unit 40h and the abnormality processing unit 40i are separated for convenience, but may be integrated in terms of hardware.
The evaluation unit 40h is a portion that evaluates the reliability of the measurement by the optical movement measurement sensor 30. Specifically, the evaluation unit 40h can evaluate the reliability based on the amount of received light received by the optical movement measurement sensor 30. Since a highly accurate measurement value can be generated if the amount of received light received by the optical movement measurement sensor 30 is sufficient, in this case, the evaluation unit 40h evaluates that the reliability of the measurement by the optical movement measurement sensor 30 is high. On the other hand, if the amount of received light received by the optical movement measurement sensor 30 is insufficient, accuracy of a measurement value decreases, or no measurement value can be generated. In this case, the evaluation unit 40h evaluates that the reliability of the measurement by the optical movement measurement sensor 30 is low. When the amount of received light received by the optical movement measurement sensor 30 is out of a predetermined range (for example, less than a predetermined value), the abnormality processing unit 40i determines that the reliability does not satisfy a predetermined criterion and executes the abnormality process. Examples of a cause of an insufficient amount of light received by the optical movement measurement sensor 30 can include a case where the detection surface of the optical movement measurement sensor 30 is contaminated with dust or particulate ink.
In addition, the evaluation unit 40h can evaluate the reliability based on whether the measurement by the optical movement measurement sensor 30 is possible. When the measurement by the optical movement measurement sensor 30 is possible, the evaluation unit 40h evaluates that the reliability of the measurement by the optical movement measurement sensor 30 is high. On the other hand, when the measurement by the optical movement measurement sensor 30 is impossible, the evaluation unit 40h evaluates that the reliability of the measurement by the optical movement measurement sensor 30 is low. When the measurement by the optical movement measurement sensor 30 is impossible, the abnormality processing unit 40i determines that the reliability does not satisfy a predetermined criterion and executes the abnormality process. In this manner, the abnormality processing unit 40i is a portion that executes the abnormality process when the reliability evaluated by the evaluation unit 40h does not satisfy the predetermined criterion.
Evaluation elements of the evaluation unit 40h are not limited to the amount of received light of the optical movement measurement sensor 30 and the possibility of the measurement of the amount of received light by the optical movement measurement sensor 30, and examples thereof can include a distance to the workpiece W in the ejection direction of the print head 24, a movement of the workpiece W in the conveyance direction, the movement amount of the workpiece W in the direction perpendicular to the conveyance direction, a movement amount in a direction inclined with respect to the conveyance direction of the workpiece W, an amount of received light of the distance sensor 31, a recognition rate of the speckle pattern of the optical movement measurement sensor 30, contrast of a drawing target generated according to an amount of light received from the workpiece W as the drawing target, quality of the speckle pattern generated according to the characteristic of the surface shape of the workpiece W, a distance by which the workpiece W is conveyed between ON and OFF of a drawing start timing signal, and a difference from an input of the encoder 7.
When the reliability is evaluated based on the distance to the workpiece W in the ejection direction of the print head 24, the reliability of printing is evaluated to be low in a case where it can be determined that the workpiece W is located at a place farther than a drawable distance, and the reliability is evaluated to be high in a case where it can be determined that the workpiece W is located within the drawable distance. When the reliability is evaluated based on the movement of the workpiece W in the conveyance direction, it can be determined whether the workpiece W is in acceleration/deceleration or is stopped. For example, the reliability is evaluated to be high in a case where it can be determined that the workpiece W is in acceleration/deceleration, and the reliability is evaluated to be low in a case where it can be determined that the workpiece W is stopped.
When the reliability is evaluated based on the movement amount of the workpiece W in the direction perpendicular to the conveyance direction, it can be estimated that bumping occurs in a case where the movement amount of the workpiece W in the direction perpendicular to the conveyance direction is equal to or more than a predetermined value, and in this case, the reliability is evaluated to be low. In a case where the movement amount of the workpiece W in the direction perpendicular to the conveyance direction is less than the predetermined value, the reliability is evaluated to be high.
When the reliability is evaluated based on the movement amount of the workpiece W in the direction inclined with respect to the conveyance direction, it can be determined whether an angle deviation occurs between the drawing machine 2 and the conveyor 10, and the reliability is evaluated to be low in a case where the angle deviation occurring between the drawing machine 2 and the conveyor 10 is equal to or greater than a predetermined value, and the reliability is evaluated to be high in a case where the angle deviation occurring between the drawing machine 2 and the conveyor 10 is less than the predetermined value. In addition, when the reliability is evaluated based on the amount of received light of the distance sensor 31, the reliability can be evaluated as in the case of the optical movement measurement sensor 30.
When the reliability is evaluated based on the recognition rate and contrast distribution of the speckle pattern of the optical movement measurement sensor 30, the reliability can be evaluated based on reliability of the measurement value and presence or absence of the influence of disturbance. For example, when the influence of disturbance light is great and the recognition rate of the speckle pattern is low, the reliability is evaluated to be low. In this case, in a case where the recognition rate of the speckle pattern is lower than a predetermined value, the abnormality processing unit 40i determines that the reliability does not satisfy the predetermined criterion and executes the abnormality process.
When the reliability is evaluated based on the distance by which the workpiece W is conveyed between ON and OFF of the drawing start timing signal, it is possible to cope with the peeling of the flapper of the corrugated cardboard as the workpiece W, and the reliability is evaluated to be low in a case where the distance is equal to or longer than a predetermined value.
When the reliability is evaluated based on the difference from the input of the encoder 7, it is possible to detect the slip or the catch of the workpiece W, and the reliability is evaluated to be low in a case where the difference is equal to or more than a predetermined value.
Examples of the abnormality process executed by the abnormality processing unit 40i can include a notification process of notifying the user of an abnormality, an interruption process of interrupting drawing, and a reset process of resetting a drawing start trigger. The abnormality processing unit 40i may execute only one of the notification process and the interruption process, or may execute both the notification process and the interruption process. When both the notification process and the interruption process are executed, the notification process and the interruption process may be executed at the same time, or one may be executed first and then the other may be executed.
The notification process includes both warning of performing notification at a stage where there is a possibility that an abnormality has occurred, and notification performed at a stage where the abnormality has occurred, and only one of these or the both may be executed as the notification process.
In addition, a log of the drawing process may be stored as the abnormality process executed by the abnormality processing unit 40i. The log to be stored includes a drawing time, drawing content, a drawing result, a measurement result by the optical movement measurement sensor 30, and the like. The log can be stored in the storage unit 42, for example.
If it is determined that the reliability evaluated by the evaluation unit 40h does not satisfy the predetermined criterion in a case where drawing is executed based on the optical movement measurement sensor 30, the abnormality processing unit 40i may execute a switching process to switch to drawing based on the output of the encoder 7 as the abnormality process. In addition, the abnormality processing unit 40i may execute a switching process to switch to the constant-speed drawing as the abnormality process if it is determined that the reliability evaluated by the evaluation unit 40h does not satisfy the predetermined criterion in the case where drawing is executed based on the optical movement measurement sensor 30. That is, if the reliability evaluated by the evaluation unit 40h does not satisfy the predetermined criterion, the drawing control unit 40c controls the ink ejection from the ejection ports 24a based on the movement amount acquired by the encoder 7 and the drawing data.
In addition, in a case where the movement amount of the workpiece W in the direction perpendicular to the conveyance direction is equal to or more than the predetermined value when drawing is performed in a state where the bumping correction is not performed, the abnormality processing unit 40i may execute the bumping correction as the abnormality process.
In the present embodiment, the user can make settings of the abnormality process. The abnormality processing unit 40i generates an abnormality process setting screen 200 as illustrated in
The abnormality process setting screen 200 includes a first selection area 201 for selecting whether to interrupt drawing at the time of warning, a second selection area 202 for selecting whether to interrupt drawing at the stage where the abnormality has occurred, a third selection area 203 for selecting whether to store a log at the time of warning, a fourth selection area 204 for selecting whether to execute the switching process at the stage where the abnormality has occurred, a fifth selection area 205 for selecting whether to execute the switching process at the time of warning, and a sixth selection area 206 for selecting whether to store the time when the abnormality has occurred.
The drawing can be interrupted at the time of warning if the user operates the first selection area 201 to ON, and the drawing can be continued at the time of warning if the user operates the first selection area 201 to OFF. That is, the drawing-machine-side operation unit 43b or the terminal-side operation unit 5b is an example of a reception unit that receives selection of execution or non-execution of the interruption process. The abnormality processing unit 40i is configured to execute the interruption process when the execution of the interruption process is received, and not to execute the interruption process when the non-execution of the interruption process is received.
The drawing can be interrupted at the stage where the abnormality has occurred if the user operates the second selection area 202 to ON, and the drawing can be continued even when the abnormality has occurred if the user operates the second selection area 202 to OFF. In addition, the log can be stored at the time of warning if the user operates the third selection area 203 to ON, and the log is not stored at the time of warning if the user operates the third selection area 203 to OFF. In addition, the switching process can be executed at the stage where the abnormality has occurred if the user operates the fourth selection area 204 to ON, and the switching process is not executed even when the abnormality has occurred if the user operates the fourth selection area 204 to OFF. In addition, the switching process can be executed at the time of warning if the user operates the fifth selection area 205 to ON, and the switching process is not executed at the time of warning if the user operates the fifth selection area 205 to OFF. In addition, the time when the abnormality has occurred can be stored if the user operates the sixth selection area 206 to ON, and the time when the abnormality has occurred is not stored if the user operates the sixth selection area 206 to OFF.
In this manner, in a case where a plurality of abnormality processes can be executed, the user can perform the operation of selecting execution or non-execution for each abnormality process, and such a selection operation can be received by the drawing-machine-side operation unit 43b or the terminal-side operation unit 5b. Note that the number of executable abnormality processes may be one.
In Step SK5, the drawing process is started. In Step SK6, movement of the workpiece W is measured by the optical movement measurement sensor 30. In Step SK7, the evaluation unit 40h evaluates reliability of a measurement value generated by the optical movement measurement sensor 30 in Step SK6. When the reliability evaluated by the evaluation unit 40h satisfies the predetermined criterion, the process proceeds to Step SK8, and the drawing control unit 40c controls the ink ejection from the ejection ports 24a to execute the drawing process. On the other hand, when the reliability evaluated by the evaluation unit 40h does not satisfy the predetermined criterion, the process proceeds to Step SK9, and the abnormality processing unit 40i executes the abnormality process. Step SK10 is the same as Step SB7 illustrated in
In Step SL5, it is determined whether the workpiece W has not abnormally approached or moved away from the print head 24 based on the measurement value acquired in Step SL3. When the workpiece W has abnormally approached or moved away from the print head 24, it is considered that some abnormality has occurred, and thus, the process proceeds to Step SL6, and the abnormality processing unit 40i executes the abnormality process. When there is no abnormal approach or separation, the process proceeds to Step SL7. In Step SL7, it is determined whether the entire drawing has been completed, and the process proceeds to Step SL3 if not completed or proceeds to Step SL1 if completed and waits for arrival of the next workpiece W.
In Step SM5, it is determined whether the amount of received light of the optical movement measurement sensor 30 is sufficient. The process proceeds to Step SM6 if it is determined in Step SM5 that the amount of received light of the optical movement measurement sensor 30 is sufficient, or proceeds to Step SM7 if it is determined that the amount of received light of the optical movement measurement sensor 30 is insufficient.
In Step SM6, it is determined whether the amount of the speckle pattern generated by the optical movement measurement sensor 30 is sufficient. The process proceeds to Step SM8 when it is determined in Step SM6 that the amount of the speckle pattern generated by the optical movement measurement sensor 30 is sufficient, or proceeds to Step SM9 when it is determined that the amount of the speckle pattern generated by the optical movement measurement sensor 30 is insufficient.
In Step SM8, the drawing control unit 40c performs drawing control based on a measurement value of the optical movement measurement sensor 30. Thereafter, the process proceeds to Step SM10, and it is determined whether the movement distance of the workpiece W in the conveyance direction is sufficient. The process proceeds to Step SM3 if the movement distance of the workpiece W in the conveyance direction is insufficient, or proceeds to Step SM1 if sufficient.
In Step SM9 reached after it is determined in Step SM6 that the amount of the speckle pattern is insufficient, the abnormality processing unit 40i notifies the user that the workpiece W cannot be measured due to a scratch or disturbance light.
On the other hand, in Step SM7, it is determined whether the amount of the speckle pattern generated by the optical movement measurement sensor 30 is sufficient. The process proceeds to Step SM11 when it is determined in Step SM7 that the amount of the speckle pattern generated by the optical movement measurement sensor 30 is sufficient, or proceeds to Step SM12 when it is determined that the amount of the speckle pattern generated by the optical movement measurement sensor 30 is insufficient.
In Step SM11, the abnormality processing unit 40i notifies the user that disturbance noise has occurred. In addition, in Step SM12, the abnormality processing unit 40i notifies the user that there is no measurement target, that a working distance (WD) is different, that there is a hole, and the like.
After Steps SM9, SM11, and SM12, the process proceeds to Step SM13, and the abnormality processing unit 40i switches to any one of the drawing based on the output of the encoder 7, drawing based on a conveyance speed of the immediately previous workpiece W, and drawing based on a preset setting value. In Step SM14, the abnormality processing unit 40i executes error output or warning output to notify the user. Thereafter, the process proceeds to Step SM10.
In a case where there is a problem in the measurement value generated by the optical movement measurement sensor 30, the process proceeds to Step SN9, and it is determined whether execution of the drawing interruption process has been selected. The process proceeds to Step SN10 if the execution of the drawing interruption process has not been selected, or proceeds to Step SN12 if the execution of the drawing interruption process has been selected, and the drawing process is interrupted.
In Step SN10, it is determined whether execution of the switching process to switch to the drawing based on the output of the encoder 7 or based on the preset setting value has been selected. The process proceeds to Step SN8 if the execution of the switching process has not been selected, or proceeds to Step SN11 if the execution of the switching process has been selected, and the abnormality processing unit 40i switches drawing to the drawing based on the output of the encoder 7.
In Step SN13, it is determined whether the drawing is finished, and if the drawing is unfinished, the process proceeds to Step SN14 to evaluate reliability of the measurement value. If the reliability of the measurement value does not satisfy the criterion, the process proceeds to Step SN15 to warn the user. In Step SN16, it is determined whether a setting to interrupt drawing at the time of warning has been made, and if the setting to interrupt drawing has been made, the process proceeds to Step SN17 to interrupt the drawing and output an error. When an abnormality is detected, printing may be finally performed based on a movement amount that satisfies a predetermined criterion.
The drawing accuracy of the drawing machine 2 is determined by whether the distance (also referred to as Throw Distance (TD), Paper Gap (PG), or the like) between the print head 24 and the workpiece W satisfies a predetermined criterion. That is, when the distance between the print head 24 and the workpiece W is large and does not satisfy the predetermined criterion, a landing position of particulate ink on the workpiece W deviates from an ideal position defined by the drawing data, so that disturbance of drawing increases.
When this drawing disturbance exceeds an allowable value in the drawing quality, the drawing failure occurs and a product defect occurs during manufacturing. For example, in the case of drawing of a character, the drawing is disturbed to such an extent that it cannot be recognized visually or by OCR inspection of a printing inspection machine in a subsequent process, and in the case of drawing of a barcode or a two-dimensional code, the drawing is disturbed to such an extent that reading by a code reader is impossible or to such an extent that a specified grade of a code quality standard cannot be satisfied.
In the ink jet printer 1 of the present embodiment, a cause of the drawing disturbance can be inferred by directly measuring the distance between the print head 24 and the workpiece W. That is, it is configured such that the distance sensor 31 of the sensor unit 3 measures the distance (TD) to the workpiece W in the ejection direction of the print head 24, and the drawing control unit 40c controls the ink ejection based on a determination result as to whether the distance to the workpiece W in the ejection direction of the print head 24 measured by the distance sensor 31 satisfies the predetermined criterion. In the ink ejection control, the drawing control unit 40c acquires a timing signal generated based on a change in the distance to the workpiece W in the ejection direction of the print head 24 measured by the distance sensor 31.
For example,
When it is determined in Step SP5 that the distance is a normal distance, the process proceeds to Step SP6, and the workpiece movement amount acquisition unit 40d acquires a movement amount of the workpiece W based on the measurement value output from the optical movement measurement sensor 30. Steps SP7 to SP9 are the same as Steps SB5 to SB7 in
When it is determined in Step SP5 that the distance is an abnormal distance, since the distance to the workpiece W in the ejection direction of the print head 24 measured by the distance sensor 31 does not satisfy the predetermined criterion in that situation, the drawing interruption process is executed without executing the drawing process, and this flow is ended. Note that a timing for executing the drawing interruption process may be any timing from the start of drawing to immediately before the end. In particular, when the drawing interruption process is executed before the start of drawing, it is possible to avoid a loss caused by the drawing failure of the workpiece W.
For example, when the distance to the workpiece W in the ejection direction of the print head 24 measured by the distance sensor 31 is the same as the drawable distance, the drawing is interrupted after a distance abnormality is notified, and the user is caused to perform processing in the event of the drawing abnormality. For example, the workpiece W whose distance abnormality has been notified is excluded by an excluding device in a subsequent process, or is excluded manually by an operator after the conveyor 10 is stopped.
The distance abnormality notification illustrated in
In addition, a distance serving as a threshold for determining whether the distance is abnormal may be a fixed value of a device at the time of factory shipment, or may be a user-settable value in consideration of dependency on a user installation environment. In addition, the distance serving as the threshold for determining whether the distance is abnormal is not necessarily the single value, and a plurality of distance thresholds may be used to determine an abnormality and differentiate between a case where drawing is to be interrupted and a case where drawing is continued. That is, the abnormality may be determined using a distance threshold for drawing interruption and a distance threshold for continuation. In addition, the user may be allowed to set whether to continue or interrupt drawing after the distance is determined to be abnormal. In addition, when the distance is determined to be abnormal, some notification may be given to the user to optimize the work distance.
For example, in a case where the workpiece W is corrugated cardboard, a drawing start point in the timing sensor 8 may be incorrect in a line in which a defect in which flaps of the corrugated cardboard are half-opened frequently occurs due to a box production failure or the like, or movement amount measurement cannot be correctly performed when the optical movement measurement sensor 30 is used due to a deviation from the measurable distance or a decrease in measurement accuracy. In such a case, the drawing start trigger is temporarily invalidated, and then the point at which the distance measurement is stable is used as the trigger, so that the drawing can be performed on the workpiece W based on the correct end face.
At a site where the workpiece W is conveyed, a variation in the conveyance speed by the conveyor 10 and a variation in a position of the workpiece W in the width direction on the conveyance surface 10a occur, and the error due to the slip of the workpiece W on the conveyance surface 10a also occur in principle. If the above-described variation or error exceeds a preset landing accuracy tolerance of particulate ink, the drawing failure occurs as a result.
The drawing failure includes various events such as a miss or an omission of a character, a segmentation and contamination of a character, and the like. When the drawing failure occurs on the conveyor 10, it is necessary to collect information such as a drawing execution time and a drawing interval, identify a cause of the drawing failure, and execute a countermeasure, but it may be difficult to identify the cause.
The ink jet printer 1 of the present embodiment has a recorder function that makes it possible to easily analyze a cause of occurrence of some event when the event occurs during operation, such as occurrence of the drawing failure, in a posterior manner. This makes it possible to solve the conventional problem related to identification of the cause of the drawing failure.
As illustrated in
In Step SV3, the drawing process is executed, the distance sensor 31 measures a distance between the print head 24 and the workpiece W to generate a measurement value, and the optical movement measurement sensor 30 measures a movement amount of the workpiece W to generate a measurement value. If the process proceeds to Step SV4 and the drawing process is completed, the process proceeds to Step SV5, and the measurement values during the drawing period are stored in the storage unit 42 as a log file.
The event detection unit 45 detects that the measurement value measured by the distance sensor 31 is out of a predetermined range as an event related to the drawing state. That is, since it can be estimated that the workpiece W has collided with the print head 24 when the distance between the print head 24 and the workpiece W is negative, this is detected by the event detection unit 45 as the event related to the drawing state.
When the distance between the print head 24 and the workpiece W exceeds the drawing distance range of the drawing machine 2 and the print head 24 and the workpiece W are greatly far from each other, it is assumed that the measurement value measured by the distance sensor 31 is out of the predetermined range. Since drawing is disturbed if the distance between the print head 24 and the workpiece W exceeds the drawing distance range of the drawing machine 2, this is detected by the event detection unit 45 as an event related to the drawing state.
When the distance between the print head 24 and the workpiece W greatly varies during drawing, it can be estimated that, for example, the workpiece W meanders out of the guide of the conveyor 10. Since the drawing is disturbed in this case, this is detected by the event detection unit 45 as an event related to the drawing state.
The event detection unit 45 detects that the measurement value generated by the optical movement measurement sensor 30 is out of a predetermined range as an event related to the drawing state. The predetermined range is a range in which the favorable drawing quality can be maintained. When the conveyance speed of the workpiece W generated by the optical movement measurement sensor 30 is not constant, it can be estimated that, for example, the workpiece W is clogged in contact with the guide of the conveyor 10 or the like. Since drawing is disturbed when the conveyance speed of the workpiece W is not constant, this is detected by the event detection unit 45 as an event related to the drawing state.
In a case where there is a period in which the conveyance speed of the workpiece W generated by the optical movement measurement sensor 30 is zero, it can be estimated that, for example, the conveyor 10 is suddenly stopped or the like. Since the case where there is a period in which the conveyance speed of the workpiece W is zero is not a normal state and causes disturbance of drawing, this is detected by the event detection unit 45 as an event related to the drawing state.
When the movement of the workpiece W in the direction perpendicular to the conveyance direction is intermittently measured by the optical movement measurement sensor 30, it can be estimated that the workpiece W is bumping. Since drawing is disturbed unless a bumping correction process is performed when the workpiece W is bumping, this is detected by the event detection unit 45 as an event related to the drawing state.
The event detection unit 45 detects that the measurement value related to the movement of the workpiece W in the direction perpendicular to the conveyance direction measured by the optical movement measurement sensor 30 is out of a predetermined range as an event related to the drawing state. In addition, since the optical movement measurement sensor 30 can generate the measurement values related to the movement of two axes orthogonal to each other, the event detection unit 45 detects that the measurement value related to the movement in the conveyance direction determined from the measurement values of the two axes measured by the optical movement measurement sensor 30 is out of a predetermined range as an event regarding the drawing state.
For example, when the optical movement measurement sensor 30 measures that the workpiece W is moving at a substantially constant speed in the direction perpendicular to the conveyance direction, it can be estimated that a line of the conveyor 10 is tilted or the drawing machine 2 is tilted with respect to the conveyance direction of the workpiece W. Since drawing is disturbed if the workpiece W moves at a constant speed in the direction perpendicular to the conveyance direction, this is detected by the event detection unit 45 as an event related to the drawing state.
The drawing result confirmation screen 140 is provided with a number display area 141 in which a number (drawing number) is displayed as an example of information for identifying the drawing process, a distance display area 142 in which the distance between the print head 24 and the workpiece W is displayed, a speed display area 143 in which the conveyance speed of the workpiece W is displayed, and a perpendicular direction display area 144 in which the movement amount of the workpiece W in the direction perpendicular to the conveyance direction and the movement speed of the workpiece W in the direction perpendicular to the conveyance direction are displayed. A drawing number, a distance, a speed, and a movement amount are displayed side by side in the lateral direction such that the distance, the speed, the movement amount, and the like in a drawing process identified by the drawing number are associated with the drawing number. The array direction thereof may be the longitudinal direction. In addition, any one or two of the distance, the speed, and the movement amount may be displayed.
Each of the distance, the speed, and the movement amount is compared with a predetermined range (also referred to as a threshold), and a numerical value exceeding the predetermined range is displayed in a manner distinguishable from the other numerical values. The numerical value exceeding the predetermined range can be easily understood, for example, by highlighting, bolding, or changing a color of the numerical value exceeding the predetermined range. In this manner, the storage processing unit 46 can store a comparison result between the measurement value generated by the distance sensor 31 and the threshold. The presentation unit 47 can present the comparison result between the measurement value generated by the distance sensor 31 and the threshold to the user in various manners.
In addition, a real-time clock may be built in the drawing machine 2 or the controller 4. When the real-time clock is built in the drawing machine 2 or the controller 4, the storage processing unit 46 can store the drawing number and time in association with each other. This makes it possible to associate the time when an event has occurred with a log. In addition, it is also possible to selectively display only a log file in which an event has occurred.
Since the storage processing unit 46 collects the log files, the presentation unit 47 can generate statistical information and present the generated statistical information to the user through the drawing-machine-side display unit 43a or the terminal-side display unit 5a.
Here, in general, there is a concept of a job in the drawing machine 2 for industrial use. For example, there is a job for each type of the workpiece W, and in this case, the job is one in which drawing data for each type is set.
When the presentation unit 47 generates the statistical information, the log files collected by the storage processing unit 46 are read and sorted on the basis of a predetermined period. Examples of the predetermined period include “day”, “shift”, “week”, and “job”. For example, only log files of a certain job can form one set.
The statistical information includes maximum, minimum, and average values of distances between the print head 24 and the workpiece W during a predetermined period, maximum, minimum, and average values of conveyance speeds of the workpiece W, maximum, minimum, and average values of movement amounts of the workpiece W in the direction perpendicular to the conveyance direction, the number of times the distance between the print head 24 and the workpiece W is out of the predetermined range, the number of times the conveyance speed of the workpiece W is out of the predetermined range, the number of times the movement amount of the workpiece W in the direction perpendicular to the conveyance direction is out of the predetermined range, and the like. The presentation unit 47 presents some or all of these pieces of statistical information in a table format as illustrated in
The presentation unit 47 can present not only the statistical information but also time-series data to the user. The time-series data can include a plurality of pieces of data, such as distances between the print head 24 and the workpiece W, conveyance speeds of the workpiece W, and movement amounts of the workpiece W in the direction perpendicular to the conveyance direction, before and after an event is detected. In this case, the storage processing unit 46 stores the distances between the print head 24 and the workpiece W, the conveyance speeds of the workpiece W, and the movement amounts of the workpiece W in the direction perpendicular to the conveyance direction before and after the event is detected in association with at least a part of the drawing data. Any storage period of the time-series data by the storage processing unit 46 can be set, and for example, the storage processing unit 46 stores information regarding measurement values and information regarding events as time-series data from a time point when the timing sensor 8 outputs a timing signal until drawing on the workpiece W is completed.
The ink jet printer 1 includes a temporary storage unit 46a that temporarily stores information regarding the measurement values generated by the optical movement measurement sensor 30. The temporary storage unit 46a stores the measurement values of the optical movement measurement sensor 30 regardless of presence or absence of an event. When the event detection unit 45 detects an event, the storage processing unit 46 reads information corresponding to the event out of the information stored in the temporary storage unit 46a, and stores the read information in association with at least a part of the drawing data.
When the presentation unit 47 presents the time-series data, a graph display screen 150 is generated as illustrated in
Time-series data may be displayed on the graph display screen 150 based on the log files regardless before and after detection of an event. From the graph illustrated in
The controller 4 can be provided with a communication module capable of communicating with the outside. In this case, for example, at least one of the log files, the statistical information, and the time-series data can be transmitted to a device desired by the user and used in the device.
In addition, the user can also extract and use data included in the log files. After extracting desired data from the data included in the log files, the user can edit and process the extracted data using another tool or the like for use as a production report or the like.
Examples of the information regarding measurement values stored in the storage processing unit 46 may include data of the amount of received light of the optical movement measurement sensor 30 and may include time-series data of the amount of received light of the optical movement measurement sensor 30 before and after an event is detected. In this case, the event detection unit 45 detects an event based on a decrease in the amount of received light of the optical movement measurement sensor 30. That is, when droplets of ink splashed from the workpiece W adhere to the window 32b of the sensor housing 32, the amount of light received by the optical movement measurement sensor 30 may decrease, leading to a decrease in measurement accuracy or a state where measurement is impossible. This is an event that induces disturbance of drawing, and thus, is detected by the event detection unit 45 as an event related to the drawing state.
The ink jet printer 1 includes a cleaning unit 49 (illustrated in
As illustrated in
The main body 510 includes an imaging unit 511, an illumination unit 512, a storage unit 513, and an arithmetic processing unit 514. The imaging unit 511, the illumination unit 512, the storage unit 513, and the arithmetic processing unit 514 may be integrated, or only a part thereof may be separated.
The illumination unit 512 is a portion that illuminates an inspection target region, and includes a light emitting element configured using, for example, an LED or the like. The imaging unit 511 is a portion that captures an image of the inspection target region to generate the inspection image, and includes an optical system 511a and an imaging substrate 511b. The optical system 511a includes a lens that receives light emitted from the illumination unit 512 and reflected by the inspection target region. The inspection target region in the inspection apparatus 500 is a drawn region on the workpiece W.
The imaging substrate 511b is provided with a complementary MOS (CMOS) image sensor 511c, an FPGA 511d, and a DSP 511e. The image sensor 511c is a portion that receives light incident from the optical system and generates the inspection image. The FPGA 511d and the DSP 511e are configured to execute filter processing and the like on the inspection image inside the imaging unit 511, and a signal output from the CMOS sensor 511c is input to the FPGA 511d and the DSP 511e.
In addition, the storage unit 513 stores an inspection parameter for determining “pass” or “fail” of the drawing state related to the information drawn on the workpiece W. For example, a plurality of types of inspection parameters can be stored in advance in the storage unit 513, and the plurality of types of inspection parameters may include a first inspection parameter for determining “pass” or “fail” of the drawing state related to the information drawn on the workpiece W and a second inspection parameter having a smaller tolerance for determination of “pass” than the first inspection parameter. The storage unit 513 may be configured using a part of the storage unit 42 of the controller 4 of the ink jet printer 1.
The arithmetic processing unit 514 includes a pass/fail determination unit 514a and a determining unit 514b. The pass/fail determination unit 514a is a portion that determines “pass” or “fail” of the drawing state related to the information drawn on the workpiece W based on the inspection image generated by the imaging unit 511 and the inspection parameter stored in the storage unit 513. The pass/fail determination unit 514a and the determining unit 514b may be provided inside the drawing machine 2 or inside the operation terminal 5. In addition, the determining unit 514b may be provided in the controller 4.
The inspection apparatus 500 is switchable between a setting mode in which various parameter settings such as an imaging setting, registration of a master image serving as a criterion of pass/fail determination, generation (learning) of a discriminator that enables a non-defective product image and a defective product image to be internally discriminated are performed, and an operating mode in which the pass/fail determination on the drawing state is performed based on the inspection image obtained by capturing the image of the inspection target region at a site where the drawing process is actually performed. In the setting mode, the user performs a preliminary operation for enabling a non-defective product and a defective product to be separated by a desired inspection.
The inspection apparatus 500 is switchable between a rule-based inspection mode (standard inspection mode) in which the pass/fail determination of the drawing state is performed based on various characteristic amounts (for example, a color, an edge, a position, and the like) in the inspection image and a learning-based inspection mode (learning inspection mode) in which the discriminator is generated and the pass/fail determination of the drawing state is performed by the generated discriminator. In the standard inspection mode, the user sets which characteristic amount included in the image is used to perform inspection and a threshold (part of the inspection parameter), and performs the pass/fail determination according to the settings.
In a case where important characters as a product, such as a manufacturing date and time or a consumption expiration date, have been drawn, the inspection apparatus 500 determines whether a character string preset by the user in the drawing common setting (Step SA2 in
For example, in a case where the user cannot permit the above-described discard, as described above, inspection as to whether the character string preset by the user in the drawing common setting has been obtained is adopted as described above, but this inspection is merely inspection as to whether there are characters and the number of the characters are correct. Thus, an error in the character string and the drawing quality cannot be determined, and defective products are allowed to flow to a subsequent process as non-defective products, which is contrary to the inspection using the OCR recognition, and there is a demerit that extra cost is caused since rework in the subsequent process and recovery of a defective product released to the market are required.
Therefore, in the present embodiment, the drawing state is determined as “fail” when a position or movement of the workpiece W does not correspond to the inspection target. For example, when the position or movement of the workpiece W does not correspond to the inspection target, the drawing state can also be determined as “fail” regardless of the inspection image generated by the imaging unit 511. As a result, the pass/fail determination close to visual sensation can be performed. Hereinafter, specific description will be given.
First, the determining unit 514b will be described. The determining unit 514b is a portion that determines whether the position or movement of the workpiece W is not an object to be inspected based on a measurement value generated by the optical movement measurement sensor 30 or a measurement value generated by the distance sensor 31. Various methods can be used when the determining unit 514b determines whether the position or movement of the workpiece W does not correspond to the inspection target, and some of them will be described hereinafter.
For example, when the measurement value generated by the distance sensor 31 is out of a predetermined range, the determining unit 514b determines that the position or movement of the workpiece W does not correspond to the inspection target. In addition, when the measurement value measured by the optical movement measurement sensor 30 is out of a predetermined range, the determining unit 514b determines that the position or movement of the workpiece W does not correspond to the inspection target. In addition, in a case where the optical movement measurement sensor 30 generates a measurement value related to movement of the workpiece W in the direction perpendicular to the conveyance direction by the conveyor 10, the determining unit 514b determines that the position or movement of the workpiece W does not correspond to the inspection target when the measurement value related to the movement of the workpiece W in the direction perpendicular to the conveyance direction measured by the optical movement measurement sensor 30 is out of a predetermined range. In addition, in a case where the optical movement measurement sensor 30 generates measurement values of two axes orthogonal to each other, the determining unit 514b determines that the position or movement of the workpiece W does not correspond to the inspection target when a measurement value related to movement in the conveyance direction determined from the measurement values of the two axes measured by the optical movement measurement sensor 30 is out of a predetermined range.
When the optical movement measurement sensor 30 acquires a current offset position with respect to the reference position of the workpiece W, the determining unit 514b determines that the position or movement of the workpiece W does not correspond to the inspection target when the current offset position acquired by the optical movement measurement sensor 30 is out of a predetermined range. In addition, when the accuracy of the measurement value generated by the optical movement measurement sensor 30 is equal to or lower than a predetermined value, the determining unit 514b determines whether the position or movement of the workpiece W does not correspond to the inspection target based on a movement amount of the workpiece W by the conveyor 10 acquired by the workpiece movement amount acquisition unit 40d of the controller 40. Further, the determining unit 514b determines whether the measurement value generated by the optical movement measurement sensor 30 exceeds a threshold, and determines whether the position or movement of the workpiece W does not correspond to the inspection target based on the movement amount of the workpiece W by the conveyor 10 acquired by the workpiece movement amount acquisition unit 40d until the measurement value generated by the optical movement measurement sensor 30 exceeds the threshold, and determines whether the position or movement of the workpiece W does not correspond to the inspection target based on the measurement value generated by the optical movement measurement sensor 30 when the measurement value generated by the optical movement measurement sensor 30 exceeds the threshold.
When the determining unit 514b determines that the position or movement of the workpiece W does not correspond to the inspection target, the pass/fail determination unit 514a determines that the drawing state is “fail” regardless of the inspection image generated by the imaging unit 511. The pass/fail determination close to the visual sensation becomes possible by adding the measurement values related to the position or movement of the workpiece W to the pass/fail determination in the pass/fail determination unit 514b. On the other hand, the pass/fail determination unit 514a performs the pass/fail determination based on the inspection image generated by the imaging unit 511 when the determining unit 514b determines that the position or movement of the workpiece W corresponds to the inspection target.
In a case where the first inspection parameter and the second inspection parameter are stored in the storage unit 513, “pass” or “fail” of the drawing state is determined based on the first inspection parameter and the inspection image generated by the imaging unit 511 when the pass/fail determination unit 514a performs the pass/fail determination. However, when the determining unit 514b determines that the position or movement of the workpiece W does not correspond to the inspection target, the pass/fail determination unit 514a determines “pass” or “fail” of the drawing state based on the second inspection parameter and the inspection image generated by the imaging unit 511.
When the inspection apparatus 500 is used, a pass/fail determination result of the inspection apparatus 500, the inspection image, and the like can be output to the controller 4 by communicably connecting the inspection apparatus 500 and the controller 4 of the ink jet printer 1. In this case, the event detection unit 45 illustrated in
The presentation unit 47 can present information regarding the measurement values generated by the optical movement measurement sensor 30 or the measurement value generated by the distance sensor 31 and information regarding the inspection image captured by the imaging unit 511 of the inspection apparatus 500 in association with at least a part of the drawing data. For example, as illustrated in
In Step S108, the determining unit 514b determines whether a conveyance speed detected in Step S106 is abnormal, that is, whether the measurement value generated by the optical movement measurement sensor 30 is out of the predetermined range. When it is determined that the conveyance speed is normal (the measurement value generated by the optical movement measurement sensor 30 is within the predetermined range), the process proceeds to Step S110. When it is determined in Step S108 that the conveyance speed is abnormal (the measurement value generated by the optical movement measurement sensor 30 is out of the predetermined range), the process proceeds to Step S109, and the determining unit 514b records that the conveyance speed is abnormal in the storage unit 513 or the like, and then, the process proceeds to Step S110. Steps S110 and S111 are the same as Steps SB6 and SB7 in
In Step S112, the inspection apparatus 500 transmits a distance abnormality record in Step S107 and a conveyance speed abnormality record in Step S109 to the drawing machine 2. As illustrated in
Note that, in a case where the number of characters to be printed on the workpiece W is set to, for example, four and the inspection apparatus 500 has determined that the number of characters to be printed is five, it can be determined as a non-defective product if the distance and the movement amount are normal.
In Step S211, it is assumed that the drawing state is “pass”. In Step S212, the user is notified of “pass” or “fail” of the drawing state, and the user is also notified of a cause and a reason when the drawing state is “fail”. For example, the presentation unit 47 can present the reason why the determination of the drawing state by the inspection apparatus 500 is “fail” in association with at least a part of the drawing data. Examples of the reason can include the distance abnormality (the workpiece W is too far from the print head 24) and the conveyance speed abnormality (the conveyance speed of the workpiece W is too slow, too fast, or varies).
The presentation unit 47 can also present a method for correcting the drawing state corresponding to the reason why the determination of the drawing state by the inspection apparatus 500 is “fail”. For example, in a case where the reason why the determination of the drawing state is “fail” is the distance abnormality, a method for adjusting the guide such that the workpiece W does not move away from the print head 24 is presented to the user as the method for correcting the drawing state. In addition, in a case where the reason why the determination of the drawing state is “fail” is the conveyance speed abnormality, a method for adjusting the speed of the workpiece W within a predetermined speed range is presented to the user as the method for correcting the drawing state. The drawing machine 2 may acquire a reason why the determination of the drawing state is “fail” and automatically execute drawing state correction corresponding to the reason.
Steps S308 and S309 are the same as Steps S108 and S109 in
In Step S316, the inspection apparatus 500 transmits a conveyance speed abnormality record in Step S309, the vibration abnormality record of the workpiece W in Step S311, and the tilt abnormality record of the conveyance direction of the workpiece W in Step 313 to the drawing machine 2.
In Step S413, the pass/fail determination unit 514a executes determination on a tilt abnormality of the conveyance direction of the workpiece W, proceeds to Step S414 with determination of “fail” in a case where the tilt is abnormal, and proceeds to Step S415 in the case of “pass”.
In Step S415, it is assumed that the drawing state is “pass”. In Step S416, the user is notified of “pass” or “fail” of the drawing state, and the user is also notified of a cause and a reason when the drawing state is “fail”. For example, it is possible to notify the user that the conveyance direction of the workpiece W is tilted, that the workpiece W is bumping, and the like.
When the tilt of the conveyance direction of the workpiece W is to be acquired, the acquisition can be performed using a first distance sensor 31A and a second distance sensor 31B provided side by side in the up-down direction as illustrated in
In Step S507, a measurement value Y2 generated by the second distance sensor 31B is acquired. In Step S508, the determining unit 514b determines whether Y2 is abnormal, that is, whether the measurement value Y2 generated by the second distance sensor 31B is out of a predetermined range. When it is determined that Y2 is normal (the measurement value generated by the second distance sensor 31B is within the predetermined range), the process proceeds to Step S510. When it is determined in Step S508 that Y2 is abnormal (the measurement value generated by the second distance sensor 31B is out of the predetermined range), the process proceeds to Step S509, and the determining unit 514b records that Y2 is abnormal in the storage unit 513 or the like, and then, the process proceeds to Step S510.
In Step S510, the determining unit 514b calculates a tilt of the workpiece W. In Step S511, the determining unit 514b determines whether the tilt of the workpiece W calculated in Step S510 is out of a predetermined range. When it is determined that the tilt of the workpiece W is normal (within the predetermined range), the process proceeds to Step S513. When it is determined in Step S511 that the tilt of the workpiece W is abnormal (out of the predetermined range), the process proceeds to Step S512, and the determining unit 514b records that the tilt of the workpiece W is abnormal in the storage unit 513 or the like, and then, the process proceeds to Step S513. Steps S513 to S517 are the same as Steps S106, S108, S109, S110, and S111 illustrated in
In Step S518, the inspection apparatus 500 transmits a distance Y1 abnormality record in Step S506, a distance Y2 abnormality record in Step S509, a tilt abnormality record in Step S512, and a conveyance speed abnormality record in Step S515 to the drawing machine 2.
In Step S609, the pass/fail determination unit 514a executes determination on a distance Y1 abnormality, proceeds to Step S610 with determination of “fail” in a case where Y1 is abnormal, and proceeds to Step S611 in the case of “pass”. In Step S611, the pass/fail determination unit 514a executes determination on a distance Y2 abnormality, proceeds to Step S612 with determination of “fail” in a case where Y2 is abnormal, and proceeds to Step S613 in the case of “pass”.
In Step S613, the pass/fail determination unit 514a executes determination on a conveyance speed abnormality, proceeds to Step S614 with determination of “fail” in a case where the conveyance speed is abnormal, and proceeds to Step S615 in the case of “pass”. Steps S615 and S616 are the same as Steps S211 and S212 in
In addition, when the pass/fail determination unit 514a performs the pass/fail determination of a drawing state, the user can select whether to use one or both of the conveyance speed of the workpiece W and the measurement result of the distance. For example, a selection screen can be displayed to receive selection of the conveyance speed and/or the distance. In addition, thresholds for determining abnormalities may be set in advance or may be settable by the user. That is, the user can freely select whether to use initial setting values determined from the performance of the drawing machine 2 or values set by the user in consideration of installation noise (the influence of wind or the like) under an environment of the user as the thresholds at the time of determining that the conveyance speed and the distance of the workpiece W are abnormal.
According to the present embodiment, when the ink jet printer 1 is installed, a measurement value related to a position or movement of the workpiece W conveyed by the conveyor 10 can be generated by the optical movement measurement sensor 30 or the distance sensor 31. Since the measurement value generated by the optical movement measurement sensor 30 or the distance sensor 31 includes a positional relationship between the print head 24 and the workpiece W, a movement speed, a movement amount, and the like of the workpiece W, it is possible to acquire information regarding an installation state of the ink jet printer 1 based on the measurement value generated by the optical movement measurement sensor 30 or the distance sensor 31. Therefore, a user does not need to perform trial drawing and adjustment several times, and the usability at the time of installation is improved.
In addition, when a variety of types of information are drawn on the workpiece W conveyed by the conveyor 10, a measurement value related to a movement of the workpiece W in the conveyance direction is generated by the optical movement measurement sensor 30. Based on this measurement value and reference position information of the workpiece W, it is possible to acquire a current offset position with respect to a reference position of the workpiece W. When ink ejection from the print head 24 is controlled based on the acquired current offset position and drawing data, the influence of errors due to a variation in a conveyance line speed, a variation in a position of the workpiece W in the width direction, and a slip of the workpiece W is suppressed, and thus, the occurrence of a drawing failure is suppressed.
When a drawing process is executed, the evaluation unit 40h evaluates reliability of the measurement by the optical movement measurement sensor 30. For example, an abnormality process can be executed by determining that the reliability does not satisfy a predetermined criterion when an amount of received light received by the optical movement measurement sensor 30 is less than a predetermined value. That is, the abnormality process can be executed at an appropriate timing when the reliability of the measurement by the optical movement measurement sensor 30 does not satisfy the predetermined criterion, so that the occurrence of a large number of drawing failures is suppressed.
In addition, a distance to the workpiece W can be measured by the distance sensor 31, and the ink ejection can be controlled based on a determination result as to whether the distance to the workpiece W satisfies a predetermined criterion. As a result, for example, in a case where the distance to the workpiece W is too long and the drawing failure is likely to occur, this case can be handled, and thus, the occurrence of the drawing failure is suppressed.
In addition, when an event related to a drawing state occurs during operation of the drawing machine 2, the event may cause the occurrence of the drawing failure. In this regard, the measurement value related to the position or movement of the workpiece W conveyed by the conveyor 10 is acquired, and the event detection unit 45 detects the event related to the drawing state occurring during operation of the drawing machine 2 based on the acquired measurement value. In response to the detection of the event, information regarding the measurement value generated by the optical movement measurement sensor 30 or the distance sensor 31 and information regarding the event are stored in association with at least a part of the drawing data, and thus, it is possible to analyze causes of the occurrence including whether the event is caused by the position or the movement of the workpiece W and what kind of drawing state is obtained by confirming the content of storage after the occurrence of the event.
The above-described embodiment is merely an example in all respects, and should not be construed as limiting. Further, all modifications and changes belonging to the equivalent range of the claims fall within the scope of the invention.
As described above, the disclosure can be used, for example, when various types of information are drawn on a packaging material such as corrugated cardboard.
Number | Date | Country | Kind |
---|---|---|---|
2023-179673 | Oct 2023 | JP | national |