This application claims priority under 35 U.S.C. ยง119 to Japanese Application No. 2014-006461, filed Jan. 17, 2014, the content of which is hereby incorporated by reference in its entirety.
1. Technical Field
The present disclosure relates to a printer having a mechanism for mounting and moving a printhead on a carriage, and to a method of controlling the printer.
2. Related Art
Printers that convey sheet media over a platen surface, dispose the printhead mounted on a carriage above the platen surface, and have a carriage moving mechanism that moves the carriage carrying the printhead bidirectionally across the paper width (in the transverse direction) perpendicularly to the media conveyance direction are known from the literature. See, for example, JP-A-H08-156362. The printer taught in JP-A-H08-156362 has a home position detect ion sensor disposed within the range of carriage movement, detects the carriage at the home position by this sensor, and counts the number of steps a stepper motor is driven from this position to control the position of the carriage.
Some inkjet printers have a lift mechanism that raises and lowers the carriage carrying the printhead to hold the gap between the platen and the printhead to a constant distance. This configuration requires a mechanism that moves the carriage in two directions, across the paper width (horizontally) and up and down (vertically). When a large printhead such as a line inkjet head is used, the head unit including the printhead mounted on the carriage becomes accordingly large. As a result, precisely controlling the position when moving this head unit vertically and horizontally is difficult, the paper or other member may contact the printhead and become soiled with ink, and the printhead can be potentially damaged. Furthermore, if movement of the carriage or printhead stops because of some problem, recovery is difficult if the position where the carriage or printhead stopped is unknown, and the carriage or printhead may be moved in the wrong direction.
To precisely control the position of a head unit comprising a printhead mounted on a carriage, a detection mechanism that accurately detects the position of the carriage is desirable. For example, if an encoder or other sensor is mounted on the carriage, the position of the carriage can be detected throughout the full range of carriage movement. However, when the carriage moves in two directions, vertically and horizontally, two sets of encoders or other sensors must be disposed to the head unit, construction becomes complicated, the parts count rises, and the cost increases. Furthermore, because the number of parts mounted on the head unit increases and the head unit becomes even larger, moving the head unit at high speed becomes difficult and throughput drops.
The present disclosure provides a construction that avoids increasing the size and complicating the configuration of a head unit carrying a printhead, and enables desirably executing a recovery process when the position of the printhead becomes unknown due to some problem, in a printer that moves and controls the position of a printhead in two directions.
One aspect of the invention is a printer including: a printhead and a platen; a carriage that supports the printhead movably in the direction increasing or decreasing the gap between the printhead and the platen; a carriage moving mechanism that moves the carriage to an opposing position where the printhead is opposite the platen, and a standby position where the printhead is not opposite the platen; a head moving mechanism that moves the printhead between a first head position where the gap between the printhead and platen is a first distance, and a second head position where said gap is a second distance that is shorter than the first distance, when the carriage is at the opposing position; and a sensor that detects the printhead and is disposed to a position where the direction of movement changes between movement of the printhead by the head moving mechanism and movement of the carriage by the carriage moving mechanism.
Preferably, the printer also has a first sensor disposed to a first detection position in the movement range of the carriage moving mechanism to detect the carriage; and a second sensor disposed to a second detection position in the movement range of the head moving mechanism to detect the printhead; and the second sensor detects the printhead at the second detection position.
A printer according to this aspect of the invention thus has a mechanism that moves the printhead in two directions (the direction changing the gap between the printhead and the platen, and the direction of movement between the position opposite the platen and the position not opposite the platen), and has first and second sensors disposed in these two directions to detect the printhead or the carriage at reference detection positions. By thus disposing a sensor in each direction of movement, the current position can be determined based on the amount of movement from the detection position. Therefore, when moving and controlling the position of the printhead in two directions, there is no need to provide an encoder or other sensor on the head unit to detect the position of the printhead throughout the full range of movement. Increasing the size and complicating the construction of the head unit can therefore be avoided, and increased cost can be avoided.
In the invention, the detection position of the second sensor is set to the position of change between movement of the printhead by the head moving mechanism and movement of the carriage by the carriage moving mechanism.
When thus comprised, the printhead or the carriage can always be detected at the position where the direction of movement changes. Therefore, while using a simple sensor, an inappropriate recovery operation based on the sensor output signals can be prevented when the positions of the printhead and the carriage are unclear (unknown) due to an error. More specifically, because the printhead moves in this embodiment when the carriage is at the opposing position, operation of the head moving mechanism can be determined to be inappropriate when the printhead or the carriage is not detected. Furthermore, when the printhead is not detected, damage to the printhead or soiling with ink may occur depending on the direction the carriage moves. Therefore, by moving the carriage in the appropriate direction, the printhead can be recovered from the unknown state without damage to the printhead or soiling with ink.
A printer according to another aspect of the invention preferably also has a control unit that controls movement of the printhead and the carriage based on the signal of the first sensor and the signal of the second sensor. The first detection position is the standby position; the second detection position is the first head position; and when the printhead is at the second detection position and the carriage is at the opposing position, the control unit changes the movement of the carriage by the carriage moving mechanism and the movement of the printhead by the head moving mechanism.
Thus comprised, damage to the printhead and soiling media or other parts by ink can be avoided because the carriage that carries the printhead moves when the platen gap is large (when the printhead is at the first head position). When moving the carriage to the opposing position, whether or not the opposing position is reached can be determined based on the signal from the second sensor. Therefore, problems with the carriage moving mechanism or the head moving mechanism can be detected based on how much the carriage moving mechanism or head moving mechanism is driven and the signals from the first and second sensors. In addition, when the position of the printhead and carriage becomes unclear (unknown) due to some problem, executing an inappropriate recovery operation based on the signals from the first and second sensors can be avoided.
In another aspect of the invention, the first sensor is an optical sensor. In another aspect of the invention, the second sensor is a mechanical sensor.
Because the sensors in this aspect of the invention are small and simple, the size of the head unit does not increase. Problems resulting from using a large head unit can also be avoided. Installation in limited space is therefore simple, and cost is low.
Further preferably, the carriage moving mechanism includes a carriage motor and a first encoder that detects rotation of the carriage motor. Further preferably, the head moving mechanism includes a head moving motor and a second encoder that detects rotation of the head moving motor.
By using a motor and an encoder in the moving mechanisms, the printhead or carriage becoming locked (a state in which the printhead or carriage does not move even though the motor is driving) can be detected. More specifically, a locked state can be detected by detecting a loss of synchronization between the signals that drive the motors and the signals from the encoders. This locked state occurs when the printhead or the carriage reaches a position jammed against another member in the printer. The current position of the printhead or carriage can therefore be determined by detecting this locked state, and the unknown state can be resolved.
A printer according to another aspect of the invention, when the first sensor detects the carriage and is in a carriage-detected state and the carriage moving mechanism is then driven in the direction moving the carriage toward the opposing position, the control unit determines an error occurred if the carriage moving mechanism is driven at least a preset first drive distance but the printhead is not detected by the second sensor.
Thus comprised, by disposing a sensor to the position where the direction of movement changes, problems can be detected based on a loss of synchronization between how much the carriage moving mechanism drives and the signals from the first and second sensors.
In a printer according to another aspect of the invention, when the second sensor detects the printhead and is in a printhead-detected state and the head moving mechanism is then driven in the direction moving the printhead toward the second head position, the control unit determines an error occurred if the head moving mechanism is driven at least a preset second drive distance but the second sensor does not change to a not-detected state.
Thus comprised, errors can be detected based on a loss of synchronization between how much the head moving mechanism drives and the signal from the second sensor.
In a printer according to another aspect of the invention, when the first sensor is in the not-detected state not detecting the carriage, and the second sensor is in the not-detected state not detecting the printhead, the control unit executes a recovery process moving the carriage to the opposing position and determining the position of the carriage.
If operation stops due to an error when both sensors are in the not-detected state, the amount of movement from the reference position is unknown, and the position of the carriage and printhead cannot be determined (are unknown). To recover from this unknown condition, the carriage is moved to attempt to determine its position, and damage to the printhead resulting from moving the carriage to the standby position side where the platen gap is small can be avoided by setting the direction of movement toward the opposing position side. The unknown state can therefore be resolved without performing an inappropriate operation.
A printer according to another aspect of the invention preferably also has a position limiting member that limits movement of the carriage at the opposing position; and the control unit detects a locked state of the carriage due to contact with the position limiting member, and determines the position of the carriage, in the recovery process.
The carriage being locked can be detected by detecting a loss of synchronization of the carriage motor. The position of the carriage can therefore be determined and the unknown state resolved without providing a separate sensor to detect the carriage.
Another aspect of the invention is a control method of a printer having a printhead and a platen, a carriage that supports the printhead, a carriage moving mechanism that moves the carriage, a head moving mechanism that moves the printhead in the gap between the printhead and platen, a sensor that detects the position of the printhead, and a control unit that controls the position of the printhead and the carriage based on a signal from the sensor, the control method including: the sensor being disposed to the position of change between movement of the printhead by the head moving mechanism and movement of the carriage by the carriage moving mechanism; and the control unit detecting the printhead based on a signal of the sensor.
Preferably, the control unit moves the carriage between an opposing position where the printhead is opposite the platen, and a standby position where the printhead is not opposite the platen, and controls movement of the carriage based on a signal of the first sensor that detects the carriage at the standby position; moves the printhead between a first head position where the gap between the printhead and platen is a first distance, and a second head position where said gap is a second distance that is shorter than the first distance, when the carriage is at the opposing position; and controls movement of the printhead based on a signal of the second sensor that detects the printhead at the first head position; and executes a recovery process of moving the carriage to the opposing position and determining the position of the carriage when the first sensor is in the not-detected state not detecting the carriage and the second sensor is in the not-detected state not detecting the printhead.
Further preferably in a control method of a printer according to another aspect of the invention, the control unit detects a locked state of the carriage due to contact with a position limiting member that limits movement of the carriage at the opposing position, and determines the position of the carriage, in the recovery process.
When moving and controlling the position of the printhead in two directions, there is no need to provide an encoder or other sensor capable of detecting the position of the printhead throughout the full range of movement on the head unit. Increasing the size of the head unit and the cost can therefore be avoided. Furthermore, because the printhead or carriage can always be detected at the position of change between movement of the printhead and movement of the carriage, executing an inappropriate recovery process based on sensor signals when the position of the printhead and carriage is unclear (unknown) due to some problem can be prevented while using a configuration comprising a simple sensor that detects at only one location.
More specifically, because the printhead moves when the carriage is at the opposing position, operation of the head moving mechanism can be determined to be inappropriate when the printhead or the carriage is not detected. Furthermore, when the printhead is not detected, damage to the printhead or soiling with ink may occur depending on the direction the carriage moves. However, by driving the carriage in the appropriate direction, the printhead can be recovered from the unknown state without damage to the printhead or soiling with ink.
Other objects and attainments together with a fuller understanding of the invention will become apparent and appreciated by referring to the following description and claims taken in conjunction with the accompanying drawings.
Preferred embodiments of a printer and a control method therefor according to the present invention are described below with reference to the accompanying figures.
As shown in
As shown in
As shown in
The printhead 7 is a line inkjet head, and as shown in
The carriage 11 has a head frame 12 that supports the printhead 7, and a carriage frame 13 that supports the head frame 12 movably on the vertical axis Z. The printhead 7 and carriage 11 embody a head unit that is moved on the transverse axis X by a carriage moving mechanism 15 described below. The head frame 12 supporting the printhead 7 is also moved together the printhead 7 on the vertical axis Z by a head moving mechanism 17 (head moving mechanism) described below.
As shown in
Inside the printer cabinet 2, the continuous recording paper P pulled from the paper roll 9 in the roll paper compartment 6 is conveyed through the conveyance path 10 indicated by the imaginary line past the print position of the printhead 7 toward the paper exit 4 opened in the front 2a of the printer cabinet 2, and is discharged from the paper exit 4.
The paper conveyance path 10 includes a first conveyance path section 10a that extends diagonally upward toward the back Y2 from the roll paper compartment 6; a second conveyance path section 10b that curves from the top end of the first conveyance path section 10a toward the front Y1 and descends gradually to the platen surface 8a; and a third conveyance path section 10c that extends horizontally from the back Y2 end of the platen surface 8a to the front Y1 of the printer. The print position of the printhead 7 is disposed in the middle of the third conveyance path section 10c.
A roll spindle 31 on which the paper roll 9 is installed is disposed in the roll paper compartment 6. The roll spindle 31 extends on the transverse axis X, and is driven rotationally by drive power from a media supply motor 31a disposed near the bottom of the printer cabinet 2. The paper roll 9 is installed so that it cannot rotate relative to the roll spindle 31, and when the roll spindle 31 turns, the recording paper P is delivered from the paper roll 9 to the first conveyance path section 10a of the conveyance path 10.
A tension lever 32 that applies back tension to the recording paper P is disposed where the conveyance path 10 curves and changes direction from the first conveyance path section 10a to the second conveyance path section 10b. The distal end of the tension lever 32 has a curved outside surface, and the recording paper P is mounted thereon. The tension lever 32 is attached pivotably around a predetermined axis of rotation 32a, and is urged by a spring member (not shown in the figure) to the back Y2.
A paper guide 33 is disposed on the front Y1 side of the tension lever 32, and the second conveyance path section 10b of the conveyance path 10 is defined by the paper guide 33. The paper guide 33 is shaped to descend gently to the front Y1, and guides the recording paper P from the tension lever 32 toward the platen surface 8a.
A belt conveyor mechanism 80 is mounted on the platen unit 8.
The portion of the conveyor belt 81 between guide rollers 82c and 82d is the horizontal belt portion 81a extending horizontally over the third conveyance path section 10c. The upstream end and the downstream end of the horizontal belt portion 81a in the conveyance direction (that is, the longitudinal axis Y) are pressed from above the platen unit 8 by the pinch rollers 84a, 84b. The belt conveyor mechanism 80 conveys the recording paper P between the pinch rollers 84a, 84b and the horizontal belt portion 81a.
A pair of parallel carriage guide rails 14 are disposed extending on the transverse axis X in front and back of the carriage 11 on the longitudinal axis Y. The carriage 11 is supported movably on the transverse axis X by this pair of carriage guide rails 14. A carriage moving mechanism 15 is disposed on the front Y1 side of the carriage 11.
The carriage moving mechanism 15 has a pair of timing pulleys (not shown in the figure), a timing belt (not shown in the figure), a carriage motor 15a, and an encoder 15b (see
The carriage 11 moves between the opposing position 11A indicated by the dotted line in
When the carriage 11 is at the opposing position 11A, the printhead 7 mounted on the carriage 11 is opposite the platen unit 8. When the carriage 11 is at the standby position 11B, the printhead 7 mounted on the carriage 11 is not opposite the platen unit 8. A head maintenance unit 16 is disposed below the standby position 11B. When the carriage 11 moves to the standby position 11B, the printhead 7 is opposite the head maintenance unit 16.
As shown in
As shown in
The four line heads (first head 7(1) to fourth head 7(4)) of the printhead 7 are inserted from above to the side wall unit 42, and are held in the head frame 12 with the bottom parts of the heads protruding down from openings formed in the bottom 41. Head stops 44 are formed to the bottom 41 at positions that can contact the three bearings 21 held by the platen top unit 20.
The side wall unit 42 has a first wall section 42a and a second wall section 42b extending on the longitudinal axis Y, and a third wall section 42c and a fourth wall section 42d that extend on the transverse axis X.
Three reinforcing panels 45a to 45c that connect the first wall section 42a and the second wall section 42b are disposed between the four line heads (first head 7(1) to fourth head 7(4)) arranged on the longitudinal axis Y inside the side wall unit 42. Of the three reinforcing panels 45a to 45c, the reinforcing panel 45b in the center on the longitudinal axis Y is formed integrally with the operating unit 43. A stop 43a that contacts the operating lever 77 (see
As shown in
As shown in
A first guide channel 47a is formed on the vertical axis Z in the outside of the first wall section 42a of the head frame 12. A second guide channel 47b extending on the vertical axis Z is formed in the second wall section 42b of the head frame 12. When the head frame 12 is placed inside the carriage frame 13, the first bottom guide roller 46a and first top guide roller 46b are inserted to the first guide channel 47a, and the second guide roller 46c is inserted to the second guide channel 47b. As a result, the head frame 12 is supported by the carriage frame 13 movably between an up position 12A (see
Four coil springs 48 are disposed between the head frame 12 and the carriage frame 13. The head frame 12 is urged to the up position 12A by the urging force of the four coil springs 48.
The head moving mechanism 17 includes a frame 76 with a support pin 76a extending to the printer back Y2; an operating lever 77 extending on the transverse axis X; an eccentric cam 78 disposed above the support pin 76a and the operating lever 77; a cam drive motor 17a (head moving motor) as the drive source of the eccentric cam 78; an encoder 17b (see
The operating lever 77 has an operating part 77a at on end on the transverse axis X that can contact the operating unit 43 of the head frame 12, and an oval hole 77b at the other end. The support pin 76a is inserted to the oval hole 77b.
A cam follower 77c that contacts the cam surface (outside surface) of the eccentric cam 78 is disposed between the operating part 77a and the oval hole 77b of the operating lever 77. The bottom end of the coil spring 79 is held at a position near the oval hole 77b between the cam follower 77c and the oval hole 77b. The top end of the coil spring 79 is held by the top edge of the frame 76. The coil spring 79 urges the operating lever 77 up.
When the cam drive motor 17a is driven, the eccentric cam 78 turns, and the cam follower 77c moves vertically. As a result, the operating lever 77 moves between the lever-up position 77A where the operating part 77a is positioned above the axis of rotation 78a of the eccentric cam 78 (see
When the carriage 11 is set to the opposing position 11A, the operating part 77a of the operating lever 77 extends to a position vertically above the stop 43a of the head frame 12. When the operating lever 77 moves from this position toward the lever-down position 77B, the head frame 12 is pushed down against the urging force of the coil spring 65. As a result, the head frame 12 and the printhead 7 supported thereby descend together.
As shown in
As described above, the head frame 12 has a pressure portion 19c protruding to the front Y1 of the stop 43a. The pressure portion 19c is disposed to a position aligned with the moving part 19b on the vertical axis Z when the carriage 11 is at the opposing position 11A.
As shown in
As shown in
As shown in
When print data is input to the communication unit 1b, the control unit 1a controls driving the media supply motor 31a to turn the roll spindle 31 and feed the recording paper P from the paper roll 9. The leading end of the recording paper P is then indexed to the print position of the printhead 7 by the conveyance operation of the belt conveyor mechanism 80. The control unit 1a also controls driving the carriage moving mechanism 15 and head moving mechanism 17 to position the printhead 7 opposite the platen surface 8a at a position maintaining the platen gap G enabling printing. The belt conveyor mechanism 80 then continues the conveyance operation continuously conveying the recording paper P at a constant speed forward from the print position to the paper exit 4. The control unit 1a also controls driving the printhead 7 synchronized to this conveyance operation to print on the front of the recording paper P. When printing ends, the control unit 1a again controls driving the carriage moving mechanism 15 and head moving mechanism 17 to set the printhead 7 opposite the head maintenance unit 16, cap the nozzle face 7a, and enter the standby mode.
As shown in
When print data is supplied to the printer 1, the control unit 1a of the printer 1 drives the carriage motor 15a. As a result, the carriage 11 is moved from the standby position 11B along the carriage guide rails 14 above the platen unit 8, and moves to the opposing position 11A shown in
When the carriage 11 reaches the opposing position 11A, the nozzle face 7a of the printhead 7 is opposite the platen surface 8a as shown in
As a result, the platen gap G between the printhead 7 and platen unit 8 is a constant second distance L2, which is shorter than the diameter of the bearings 21.
Printing by the printhead 7 is possible when the platen gap G is second distance L2.
Therefore, the control unit of the printer 1 controls the conveyance operation conveying the recording paper P at a constant speed, and a printing operation that drives the printhead 7 to print, and prints the print data on the face of the recording paper P.
When printing the print data ends, the printhead 7 is returned to the position opposite the head maintenance unit 16. More specifically, the cam drive motor 17a is driven in reverse, and the operating lever 77 is returned from the down position 12B to the lever-up position 77A. The head frame 12 rises due to the urging force of the coil springs 48 while the operating lever 77 rises to the lever-up position 77A, and returns to the up position 12A as shown in
The control unit 1a of the printer 1 controls the positions of the printhead 7 and the carriage 11 based on the signals from the first sensor 18 and the encoder 15b, and the signals from the second sensor 19 and the encoder 17b.
When print data is supplied to the printer 1 in the standby mode (step S1), the first sensor 18 is in the Detected state (more specifically, the receptor 18b is not receiving the detection beam) because the carriage 11 is in the standby position 11B. The position of the carriage 11 can therefore be determined at this time based on the signal from the first sensor 18.
When driving the carriage motor 15a starts from this position, the control unit 1a sets the direction of rotation of the carriage motor 15a to the direction of rotation moving the carriage 11 to the opposing position 11A side. The control unit 1a then drives the carriage motor 15a a preset first drive distance (step S2). The drive distance of the carriage motor 15a is calculated based on the signals from the encoder 15b. The first drive distance is the angle of rotation corresponding to the distance the carriage 11 moves when moving from the standby position 11B to the opposing position 11A. When the carriage 11 starts moving to the opposing position 11A side, the signal from the first sensor 18 goes from the Detected state to the Not-Detected state.
When a stepper motor is used as the carriage motor 15a, the control unit 1a can detect loss of synchronization in step S2 from the drive pulse signal supplied to the carriage motor 15a and the pulse signal from the encoder 15b, and can detect when the carriage 11 is not moving as expected according to the drive pulse signal. For example, if the signal from the encoder 15b stops changing before the carriage motor 15a has driven less than the first drive distance even though the drive pulse signal is applied, an error handling process can be initiated because the carriage 11 is prevented frommoving to the opposing position 11A by a paper jam or other problem.
When the carriage 11 reaches the opposing position 11A, the head frame 12 is at the up position 12A. As a result, if the carriage 11 reaches the opposing position 11A, the moving part 19b of the second sensor 19 is pushed up by the pressure portion 19c of the head frame 12, and the second sensor 19 changes to the Detected state. If the signal from the second sensor 19 does not change to the Detected state (step S3 returns NO) even though the carriage motor 15a has been driven the first drive distance, the control unit 1a determines a problem has occurred and executes an error handling process (step S4).
However, if the signal from the second sensor 19 changes to the Detected state when the carriage motor 15a has been driven the first drive distance (step S3 returns YES), the control unit 1a ends operation of the carriage 11 and controls the head moving mechanism 17 to lower the head frame 12 and printhead 7. Because the signal from the second sensor 19 indicates Detected at this time, the position of the carriage 11 on the transverse axis X is identified, and the positions of the head frame 12 and printhead 7 on the vertical axis Z are identified, by the second sensor 19.
If driving the cam drive motor 17a starts from this position, the control unit 1a sets the direction of rotation of the cam drive motor 17a to the direction of rotation moving the head frame 12 and the printhead 7 to the platen unit 8 side, that is, the direction moving the operating lever 77 to the lever-down position 77B side. The control unit 1a drives the cam drive motor 17a a preset second drive distance (step S5). The amount the cam drive motor 17a is driven is calculated based on signals from the encoder 17b. The second drive distance is the angle of rotation corresponding to the distance the head frame 12 moves when moving from the up position 12A to the down position 12B. When the head frame 12 and printhead 7 start descending, the signal from the second sensor 19 goes from the Detected state to the Not-Detected state.
When a stepper motor is used as the cam drive motor 17a, the control unit 1a can detect loss of synchronization from the drive pulse signal supplied to the cam drive motor 17a and the pulse signal from the encoder 17b. The control unit 1a can therefore detect when the head frame 12 and printhead 7 are not moving as expected according to the drive pulse signal. For example, if the signal from the encoder 17b stops changing before the cam drive motor 17a has been driven the second drive distance even though the drive pulse signal is applied, an error handling process can be initiated because the head frame 12 is prevented from moving to the platen unit 8 side (the down position 12B side) by a paper jam or other problem.
If the signal from the second sensor 19 does not change to the Not-Detected state (step S6 returns NO) even though the cam drive motor 17a has been driven the second drive distance, the control unit 1a determines a problem has occurred and executes an error handling process (step S7). If the signal from the second sensor 19 changes to the Not-Detected state, loss of synchronization is not detected, and the cam drive motor 17a is driven the second drive distance, the control unit 1a stops operation of the head moving mechanism 17 and controls printing on the recording paper P (step S8).
When printing ends and the standby mode is resumed, the first sensor 18 and the second sensor 19 both output the Not-Detected signal. The control unit 1a then controls the head moving mechanism 17 to raise the head frame 12 and printhead 7 from the position (step S9). More specifically, the control unit 1a drives the cam drive motor 17a to turn the second drive distance in the opposite direction as the direction of rotation when lowering the head frame 12 and printhead 7. If the cam drive motor 17a is driven the second drive distance but the signal from the second sensor 19 does not change to the Detected state (step S10 returns NO), the control unit 1a determines a problem occurred and executes an error handling process (step S11).
However, if the camdrive motor 17a drives the second drive distance and the signal from the second sensor 19 changes to the Detected state (step S10 returns YES), the control unit 1a ends the lifting operation of the head frame 12 and printhead 7, and changes to moving the carriage by the carriage moving mechanism 15. At this time, because the signal from the second sensor 19 is in the Detected state, the positions of the head frame 12 and the printhead 7 on the vertical axis Z, and the position of the carriage 11 on the transverse axis X, are determined by the second sensor 19. The control unit 1a then drives the carriage motor 15a the first drive distance in the opposite direction of rotation as when moving to the opposing position 11A side (step S12). When the carriage 11 returns to the standby position 11B, the first sensor 18 signal changes to Detected. The control unit 1a then goes to the standby mode after the position of the carriage 11 is determined (step S13).
Recovery Process from an Unknown State
As described above, it is possible in this printer 1 for both the first sensor 18 and second sensor 19 to be in a Not-Detected state, and the position of the carriage 11 on the transverse axis X, and the positions of the head frame 12 an d7 on the vertical axis Z, to be unknown. Referred to below as an unknown state, this can occur, for example, in steps S2, S5, S9, and S12 in the flow chart shown in
When the carriage moving mechanism 15 is driven to the opposing position 11A side and the Detected signal from the second sensor 19 is not detected (step S22 returns NO), the control unit 1a checks for loss of synchronization of the carriage moving mechanism 15 based on the encoder 15b signal and checks if the carriage is locked (step S26). As shown in
If this locked state is detected without the second sensor 19 signal going to the Detected state (step S26 returns YES), the control unit 1a stops the carriage 11 (step S27). The control unit 1a also determines the carriage 11 is at the opposing position 11A (step S28). As a result, the unknown state is resolved. Based on detecting the locked state, the control unit 1a also determines the carriage 11 is stuck and sets the printer 1 to the standby mode assumed when a paper jam error occurs (step S29). A paper jam error is an error that requires correction by the user. However, if the second sensor 19 outputs the Detected signal but a locked state is not detected (step S26 returns NO), control returns to step S21.
If in this embodiment the carriage 11 is moved in an unknown state to the standby position 11B instead of the opposing position 11A and the head frame 12 is not at the up position 12A, the printhead 7 may interfere with the platen top unit 20 and get damaged. When moving to the opposing position 11A side, interference between the printhead 7 and the platen top unit 20 will not occur whether the head frame 12 is in the up position 12A or the down position 12B. The unknown state can therefore be resolved without damage to the printhead 7 or soiling with ink resulting from contact with the printhead 7, for example.
As described above, a printer 1 according to this embodiment has a head moving mechanism 17 and a carriage moving mechanism 15 that move the printhead in two directions (the direction increasing or decreasing the platen gap G, and the direction between a position opposite and a position not opposite the platen unit 8), and has a first sensor 18 and a second sensor 19 disposed to detect the printhead 7 or the carriage 11 at reference detection positions (the standby position 11B and the first head position 7A) in each of the two directions.
By thus disposing a sensor in each direction of movement, the current position can be determined based on the amount of movement from the detection position. Therefore, when moving and controlling the position of the printhead 7 in the two directions, there is no need to provide an encoder or other sensor on the head unit to detect the position of the printhead 7 throughout the full range of movement. Increasing the size and complicating the construction of the head unit can therefore be avoided, and increased cost can be avoided.
The detection position of at least one of the first sensor 18 and second sensor 19 is also set to the position of change between movement by the head moving mechanism 17 and movement by the carriage moving mechanism 15. The detection position of the second sensor 19 is set this way in the printer 1 according to this embodiment, but the detection position of the first sensor 18 may be set in the same way. When thus comprised, the printhead 7 or the carriage 11 can always be detected at the position where the direction of movement changes. Therefore, while using a simple sensor, an inappropriate recovery operation based on the sensor output signals can be prevented when the positions of the printhead 7 and the carriage 11 are unclear (unknown) due to an error. More specifically, because the printhead 7 moves in this embodiment when the carriage 11 is at the opposing position 11A, operation of the head moving mechanism 17 can be determined to be inappropriate when the printhead 7 or the carriage 11 is not detected. Furthermore, when the printhead 7 is not detected, damage to the printhead 7 or soiling with ink may occur depending on the direction the carriage 11 moves. Therefore, by moving the carriage 11 in the appropriate direction, the printhead 7 can be recovered from the unknown state without damage to the printhead 7 or soiling with ink.
Furthermore, the first sensor 18 is an optical sensor and the second sensor 19 is a mechanical sensor in this embodiment of the invention, but the size of the head unit is not increased because such sensors are small and simple. Problems resulting from using a large headunit can also be avoided. Installation in limited space is therefore simple, and cost is low.
The head moving mechanism 17 and carriage moving mechanism 15 each comprise a motor as the drive source and an encoder, and can therefore detect if the printhead 7 or the carriage 11 is locked (a state in which the printhead 7 or carriage 11 does not move even though the motor is driven). More specifically, a locked state can be detected by detecting a loss of synchronization between the signals that drive the motors and the signals from the encoders. This locked state occurs when the printhead 7 or the carriage 11 reaches a position jammed against another member in the printer.
The current position of the printhead 7 or carriage 11 can therefore be determined by detecting a locked state. The locked state can therefore be resolved. An error can also be detected based on a loss of synchronization between the signals output from the first sensor 18 or second sensor 19 and the amount the respective motor is driven. Inappropriate operations can therefore be avoided and unknown states can be resolved.
The invention being thus described, it will be obvious that it may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications as would be obvious to one skilled in the art are intended to be included within the scope of the following claims.
Number | Date | Country | Kind |
---|---|---|---|
2014-006461 | Jan 2014 | JP | national |