Printing device and method for controlling printing device

The printing device uses a support shaft and encoder system to control motor rotation based on rotational position changes to accurately determine and eliminate slack, addressing encoder pulse errors from vibrations.

JP2024123878AInactive Publication Date: 2024-09-12SEIKO EPSON CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023031666
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-02
Publication Date
2024-09-12
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Encoders in printing devices may output pulses due to vibration, leading to incorrect determination of slack elimination in the medium, even when the slack has been eliminated.

Method used

A printing device with a support shaft, motor, conveyance roller, and encoder system that controls the motor based on rotational position changes to accurately determine slack elimination by stopping the support shaft when the rotational position change is less than or equal to a threshold value.

Benefits of technology

Accurately determines slack elimination in the medium, reducing the likelihood of incorrect determination due to encoder vibrations, and improving control accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024123878000001
    Figure 2024123878000001
Patent Text Reader

Abstract

To provide a printing device and a method for controlling a printing device that can accurately determine whether slack in a medium has been eliminated.SOLUTION: A printing device includes: a support shaft that supports a roll on which a medium is wound; a motor that rotates the support shaft; a transport roller that transports the medium unwound from the roll; a printing unit that prints on the medium transported by the transport roller; an encoder that outputs a pulse by detecting a rotation of the motor; and a control unit that controls the motor based on the pulse. The control unit rotates the support shaft so that the support shaft takes up the medium, acquires a rotational position of the motor based on the pulse at a predetermined cycle, and stops the support shaft when the amount of change in the rotational position is equal to or less than a threshold value.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a printing device and a method for controlling a printing device. [Background technology]

[0002] Patent Document 1 describes a printing device that eliminates slack in the medium by winding the medium that is unwound from the roll body onto the roll body. The printing device obtains the torque of the motor that rotates the roll body by detecting the rotation of the motor using an encoder. The printing device determines that the slack in the medium has been eliminated when the torque of the motor is equal to or greater than a predetermined torque. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2013-189315 A Summary of the Invention [Problem to be solved by the invention]

[0004] In such a printing device, even if the slack in the medium has been eliminated, the encoder may output a pulse due to, for example, vibrations. In this case, the printing device may determine that the slack in the medium has not been eliminated, even though the slack in the medium has been eliminated. [Means for solving the problem]

[0005] A printing device that solves the above problem includes a support shaft that supports a roll on which medium is wound, a motor that rotates the support shaft, a transport roller that transports the medium unwound from the roll, a printing unit that prints on the medium transported by the transport roller, an encoder that outputs pulses by detecting the rotation of the motor, and a control unit that controls the motor based on the pulses, wherein the control unit rotates the support shaft so that the support shaft winds up the medium, obtains the rotational position of the motor at a predetermined cycle based on the pulses, and stops the support shaft when the amount of change in the rotational position is below a threshold value.

[0006] A control method for a printing device that solves the above problem is a control method for a printing device that eliminates slack in the medium that occurs between a support shaft that supports a roll body on which medium is wound and a transport roller that transports the medium from the roll body, and includes rotating the support shaft so that the support shaft winds up the medium, obtaining the rotational position of the motor at predetermined time intervals based on pulses output from an encoder by the encoder detecting the rotation of the motor that rotates the support shaft, and stopping the support shaft when the amount of change in the rotational position is below a threshold value. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 is a side view illustrating an embodiment of a printing device. [Diagram 2] 13 is a flowchart showing an example of a slack eliminating operation. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] An embodiment of a printing device will be described below with reference to the drawings. The printing device is, for example, an inkjet printer that prints images such as characters and photographs by ejecting ink, which is an example of a liquid, onto a medium such as paper or fabric.

[0009] <Printing device> As shown in FIG. 1, the printing device 11 includes a housing 12. The printing device 11 includes a support shaft 13. The support shaft 13 is a shaft that supports a roll R1. The roll R1 is formed by winding and stacking medium 99. The support shaft 13 supports the roll R1 on which the unprinted medium 99 is wound and stacked. The support shaft 13 rotates to unwind the long medium 99 from the roll R1. In one example, the medium 99 is unwound from the support shaft 13 toward the housing 12.

[0010] The support shaft 13 is configured to be capable of reverse rotation. Usually, the support shaft 13 rotates to unwind the medium 99 from the roll R1. When the roll R1 is wound outward, the support shaft 13 rotates in a counterclockwise direction in FIG. 1 to unwind the medium 99 from the roll R1. The support shaft 13 rotates in a reverse direction to wind the medium 99. In other words, the support shaft 13 rotates to wind the medium 99 onto the roll R1. When the roll R1 is wound outward, the support shaft 13 rotates in a clockwise direction in FIG. 1 to wind the medium 99 onto the roll R1. When the roll R1 is wound inward, the support shaft 13 rotates in a clockwise direction in FIG. 1 to unwind the medium 99 from the roll R1, and rotates in a counterclockwise direction to wind the medium 99 onto the roll R1.

[0011] The printing device 11 includes a motor 14. The motor 14 is connected to the support shaft 13. The motor 14 rotates the support shaft 13. By rotating the support shaft 13, the motor 14 unwinds the medium 99 from the roll body R1 and winds the medium 99 onto the roll body R1. In one example, the motor 14 rotates by PWM control. The motor 14 rotates by controlling the duty of the voltage applied to it.

[0012] The printing device 11 includes an encoder 15. The encoder 15 detects the rotation of the motor 14. The encoder 15 is a rotary encoder. The encoder 15 detects the rotation of the motor 14 and outputs pulses. Based on these pulses, the amount of rotation, rotation position, rotation speed, and the like of the motor 14 can be measured. More specifically, based on the number of pulses output from the encoder 15, the amount of rotation, rotation position, rotation speed, and the like of the motor 14 can be measured. In addition, by the encoder 15 detecting the rotation of the motor 14, the rotation of the support shaft 13 and the rotation of the roll body R1 can also be measured.

[0013] The torque of the motor 14 can be obtained by the encoder 15 detecting the rotation of the motor 14. More specifically, the torque of the motor 14 can be obtained based on the rotation speed of the motor 14. The torque of the motor 14 is determined by the current flowing through the motor 14. The current is determined by the voltage and resistance. The motor 14 generates a back electromotive force according to the rotation speed. Therefore, the torque of the motor 14 can be obtained based on the rotation speed of the motor 14.

[0014] The printing device 11 includes a printing unit 16. The printing unit 16 is located inside the housing 12. The printing unit 16 is configured to print on the medium 99. The printing unit 16 prints on the long medium 99 that is unwound from a roll body R1 on which the medium 99 is wound. In one example, the printing unit 16 is a head that ejects liquid onto the medium 99. The printing unit 16 prints on the medium 99 that is being transported. The printing unit 16 may be a serial head that scans the medium 99, or a line head that can eject liquid simultaneously across the width of the medium 99. The printing unit 16 may print on the medium 99 by a toner jet, or may print on the medium 99 by dot impact. In one example, the medium 99 is discharged outside the housing 12 after being printed. The medium 99 may be discharged to another device, or may be wound on a winding shaft provided in the printing device 11.

[0015] The printing device 11 includes a support unit 17. The support unit 17 is located inside the housing 12. The support unit 17 supports a medium 99. The support unit 17 faces the printing unit 16. The support unit 17 supports an area of ​​the medium 99 that is to be printed by the printing unit 16.

[0016] The printing device 11 may include an upstream support section 18. The upstream support section 18 may be located inside the housing 12 or outside the housing 12. The upstream support section 18 is located upstream of the support section 17 in the transport direction of the medium 99. The upstream support section 18 supports an area of ​​the medium 99 that is located upstream of an area supported by the support section 17. The upstream support section 18 supports the medium 99, thereby guiding the medium 99 to the support section 17.

[0017] The printing device 11 may include a downstream support section 19. The downstream support section 19 may be located inside the housing 12 or outside the housing 12. The downstream support section 19 is located downstream of the support section 17 in the transport direction. The downstream support section 19 supports an area of ​​the medium 99 that is located downstream of an area supported by the support section 17. The downstream support section 19 supports the medium 99, thereby guiding the medium 99 from the support section 17 to the discharge destination.

[0018] The printing device 11 includes a transport unit 20. The transport unit 20 is configured to transport a medium 99. The transport unit 20 transports the medium 99 unwound from a roll body R1. The transport unit 20 transports the medium 99 unwound from a support shaft 13. The transport unit 20 transports the medium 99 to the printing unit 16. The transport unit 20 is located within the housing 12. In one example, the transport unit 20 is located between the support unit 17 and the upstream support unit 18.

[0019] The transport unit 20 has a transport roller 21. The transport roller 21 is driven to rotate. The transport unit 20 has an opposing roller 22. The opposing roller 22 faces the transport roller 21. The opposing roller 22 rotates in a driven manner relative to the transport roller 21. The transport unit 20 transports the medium 99 by rotating with the transport roller 21 and the opposing roller 22 sandwiching the medium 99 therebetween.

[0020] The printing device 11 includes a transport motor 23. The transport motor 23 is connected to the transport unit 20. More specifically, the transport motor 23 is connected to the transport roller 21. The transport motor 23 rotates the transport roller 21. The transport motor 23 transports the medium 99 by rotating the transport roller 21. In one example, the transport motor 23 rotates by PWM control. The transport motor 23 rotates by controlling the duty of the voltage applied thereto.

[0021] The printing device 11 includes a transport encoder 24. The transport encoder 24 detects the rotation of the transport motor 23. The transport encoder 24 is a rotary encoder. The transport encoder 24 detects the rotation of the transport motor 23 and outputs a pulse. Based on this pulse, the amount of rotation, rotation position, rotation speed, etc. of the transport motor 23 can be measured. More specifically, based on the number of pulses output from the transport encoder 24, the amount of rotation, rotation position, rotation speed, etc. of the transport motor 23 can be measured. In addition, by the transport encoder 24 detecting the rotation of the transport motor 23, the rotation of the transport roller 21 and the position of the medium 99 can also be measured.

[0022] The printing device 11 includes a control unit 25. The control unit 25 may be configured with one or more processors that execute various processes according to a computer program. The control unit 25 may be configured with one or more dedicated hardware circuits, such as application specific integrated circuits, that execute at least some of the various processes. The control unit 25 may be configured with a circuit that includes a combination of a processor and a hardware circuit. The processor includes a CPU and memory, such as RAM and ROM. The memory stores program code or instructions that are configured to cause the CPU to execute processes. The memory, i.e., computer-readable medium, includes any readable medium that can be accessed by a general-purpose or special-purpose computer.

[0023] The control unit 25 controls the printing device 11. The control unit 25 controls, for example, the support shaft 13, the printing unit 16, and the transport unit 20. The control unit 25 controls the motor 14 based on pulses from the encoder 15. The control unit 25 controls the transport motor 23 based on pulses from the transport encoder 24. The control unit 25 controls the motor 14 and the transport motor 23 to transport the medium 99 at a predetermined speed.

[0024] The control unit 25 has a measurement unit 26. The measurement unit 26 is configured to measure the rotation of the motor 14. The measurement unit 26 is configured, for example, by a hardware circuit. The measurement unit 26 is connected to the encoder 15. The measurement unit 26 measures the rotation of the motor 14 based on the pulses output from the encoder 15. In detail, the measurement unit 26 measures the amount of rotation, rotation position, rotation speed, etc. of the motor 14 based on the pulses. The measurement unit 26 measures the rotation of the motor 14 by counting the pulses. The measurement unit 26 measures the rotation of the motor 14, for example, for each control cycle of the motor 14.

[0025] The measurement unit 26 may be configured to measure the rotation of the carry motor 23. The measurement unit 26 may be connected to the carry encoder 24. The measurement unit 26 may measure the rotation of the carry motor 23 based on pulses output from the carry encoder 24. More specifically, the measurement unit 26 may measure the amount of rotation, rotation position, rotation speed, and the like of the carry motor 23 based on the pulses. The measurement unit 26 measures the rotation of the carry motor 23, for example, for each control cycle of the carry motor 23. A measurement unit 26 different from the measurement unit 26 that measures the rotation of the motor 14 may measure the rotation of the carry motor 23.

[0026] The control unit 25 controls the motor 14 based on the measurement value by the measurement unit 26. More specifically, the control unit 25 performs feedback control of the motor 14 so that the measurement value by the measurement unit 26 approaches a target value. For example, the control unit 25 performs PID control of the motor 14. The control unit 25 controls the duty of the voltage applied to the motor 14 based on the measurement value and the target value.

[0027] The control unit 25 may control the carry motor 23 based on the measurement value by the measurement unit 26. The control unit 25 may feedback control the carry motor 23 so that the measurement value by the measurement unit 26 approaches a target value. For example, the control unit 25 may perform PID control on the carry motor 23. The control unit 25 may control the duty of the voltage applied to the carry motor 23 based on the measurement value and the target value.

[0028] The control unit 25 controls the motor 14 for each control period of the motor 14. The control unit 25 controls the motor 14 for each control period based on the pulses output from the encoder 15. The control unit 25 controls the rotation of the motor 14 for each control period based on the measurement value by the measurement unit 26. In one example, the control period of the motor 14 is 900 microseconds. Therefore, the control unit 25 controls the motor 14 for each 900 microseconds. The control unit 25 controls the duty of the voltage applied to the motor 14, for example, for each 900 microseconds.

[0029] The control unit 25 controls the carry motor 23 for each control period of the carry motor 23. The control unit 25 controls the carry motor 23 for each control period based on pulses output from the carry encoder 24. The control unit 25 controls the rotation of the carry motor 23 for each control period based on measurements by the measurement unit 26. The control period of the carry motor 23 may be the same as or different from the control period of the motor 14. The control period of the carry motor 23 may be synchronized with the control period of the motor 14.

[0030] In the printing device 11, the medium 99 unwound from the roll R1 may become loose. More specifically, the medium 99 may become loose between the support shaft 13 and the transport roller 21. If the medium 99 is loose, the transport roller 21 may not be able to transport the medium 99 with precision. Therefore, the control unit 25 causes the support shaft 13 to take up the medium 99 in order to eliminate the slack in the medium 99.

[0031] The control unit 25 rotates the support shaft 13 so that the support shaft 13 takes up the medium 99. That is, the control unit 25 controls the motor 14 to rotate the support shaft 13 in the reverse direction. By rotating the support shaft 13 in the reverse direction, the control unit 25 causes the support shaft 13 to take up the medium 99. This eliminates slack in the medium 99. When the control unit 25 determines that the slack in the medium 99 has been eliminated, it stops the support shaft 13.

[0032] The control unit 25 determines whether the slack in the medium 99 has been eliminated based on the rotation of the motor 14. The control unit 25 determines whether the slack in the medium 99 has been eliminated based on the pulses output from the encoder 15. When the support shaft 13 takes up the medium 99, the medium 99 is sandwiched between the transport roller 21 and the opposing roller 22. Therefore, when the slack in the medium 99 is eliminated, the load on the support shaft 13 increases. In other words, when the slack in the medium 99 is eliminated, the rotation speed of the motor 14 decreases or the torque of the motor 14 increases. Therefore, the control unit 25 can determine that the slack in the medium 99 has been eliminated when the motor 14 has stopped rotating.

[0033] The encoder 15 may output a pulse even though the motor 14 is not rotating. For example, the encoder 15 may output a pulse due to vibration. In particular, when a photosensor constituting the encoder 15 is located on a slit formed in the scale, the encoder 15 is likely to output a pulse even though the motor 14 is not rotating. Therefore, the control unit 25 may not be able to correctly determine whether the motor 14 is rotating. When the encoder 15 outputs a pulse even though the motor 14 is not rotating, the control unit 25 determines that the motor 14 is rotating. The control unit 25 obtains a torque that is lower than the actual torque based on the pulse. Therefore, when the control unit 25 determines whether the slack in the medium 99 has been eliminated based on the torque of the motor 14, the determination may not be made correctly.

[0034] The control unit 25 determines whether the slack in the medium 99 has been eliminated based on the amount of change in the rotational position of the motor 14. The control unit 25 determines that the slack in the medium 99 has been eliminated when the amount of change in the rotational position is equal to or less than a threshold value. The control unit 25 stops the support shaft 13 when the amount of change in the rotational position is equal to or less than a threshold value. When the amount of change in the rotational position is equal to or less than a threshold value, it is understood that the rotation of the motor 14 has almost stopped. In other words, when the amount of change in the rotational position is equal to or less than the threshold value, the support shaft 13 is in a state where it cannot wind up the medium 99. Therefore, when the amount of change in the rotational position is equal to or less than the threshold value, it can be determined that the slack in the medium 99 has been eliminated. Even if a pulse is output from the encoder 15 even though the motor 14 is not rotating, the amount of change in the rotational position is very small, so it is possible to correctly determine whether the slack in the medium 99 has been eliminated.

[0035] The control unit 25 stores the position threshold. The control unit 25 compares the amount of change in the rotational position of the motor 14 with the position threshold. The control unit 25 stops the support shaft 13 when the amount of change in the rotational position is equal to or less than the position threshold. The position threshold indicates the number of pulses. The position threshold is, for example, 2. In this case, if the amount of change in the rotational position is within 2, the control unit 25 determines that the slack in the medium 99 has been eliminated. The position threshold may be changeable. For example, the position threshold may be changed by the user operating the printing device 11.

[0036] The control unit 25 acquires the rotational position of the motor 14 at a predetermined cycle based on the pulses. The control unit 25 acquires the rotational position of the motor 14 at a predetermined cycle by having the measurement unit 26 measure the rotational position of the motor 14 based on the pulses. The predetermined cycle is, for example, longer than the control cycle of the motor 14. This is because if the predetermined cycle is short, the accuracy of determining whether the slack has been eliminated decreases. If the predetermined cycle is long, the time required to determine whether the slack has been eliminated increases.

[0037] The control unit 25 may acquire the rotational position of the motor 14 every time a predetermined number of control periods of the motor 14 have elapsed. In this case, the predetermined period is a multiple of the control period of the motor 14. That is, the predetermined period is a period obtained by multiplying the control period of the motor 14 by a natural number. For example, the acquisition period is a period obtained by multiplying the control period of the motor 14 by 3000. That is, in one example, the predetermined period is 2.7 seconds, which is the time obtained by multiplying 900 microseconds by 3000. Therefore, the control unit 25 acquires the rotational position of the motor 14 every 2.7 seconds. By matching the predetermined period with the control period, control of the motor 14 by the control unit 25 is simplified.

[0038] The control unit 25 acquires the amount of change in the rotational position based on the rotational position of the motor 14 acquired this time and the rotational position of the motor 14 acquired last time. In detail, the control unit 25 acquires the amount of change in the rotational position by subtracting the rotational position of the motor 14 acquired this time from the rotational position of the motor 14 acquired last time. That is, in one example, the amount of change in the rotational position is the amount of change per one period. The control unit 25 may acquire the amount of change in the rotational position based on the rotational position of the motor 14 acquired this time and the rotational position of the motor 14 acquired two periods ago. The amount of change in the rotational position may be the amount of change per two periods. The amount of change in the rotational position is not limited to the amount of change per one period or the amount of change per two periods, but may be the amount of change per three periods or the amount of change per four periods.

[0039] The control unit 25 may stop the support shaft 13 when the amount of change acquired based on the rotational position of the motor 14 acquired after the predetermined number of times is equal to or less than the position threshold value. In detail, the control unit 25 may stop the support shaft 13 when the amount of change acquired based on the rotational position of the motor 14 acquired after the predetermined number of times after the support shaft 13 is rotated so that the support shaft 13 winds up the medium 99 is equal to or less than the position threshold value. This is because the rotation of the motor 14 is not stable at the stage when the support shaft 13 starts to wind up the medium 99. Therefore, the control unit 25 may determine whether or not the slack of the medium 99 has been eliminated based on the amount of change due to the rotational position acquired after the predetermined number of times. For example, the control unit 25 may determine whether or not the slack of the medium 99 has been eliminated when the predetermined number of times indicating the number of times the rotational position of the motor 14 has been acquired is equal to or more than the threshold value.

[0040] The control unit 25 stores the number of times threshold. The control unit 25 compares the number of acquisitions, which indicates the number of times the rotational position of the motor 14 has been acquired, with the number of times threshold. The control unit 25 determines whether the slackness of the medium 99 has been eliminated if the number of acquisitions is equal to or greater than the number of times threshold. The number of times threshold is, for example, 5. In this case, the control unit 25 determines whether the slackness of the medium 99 has been eliminated based on the amount of change due to the rotational position acquired from the fifth time onwards after the control unit 25 reversely rotates the support shaft 13. This allows the elimination of slackness to be accurately determined since it is not determined whether slackness has been eliminated during a period in which the rotation of the motor 14 is not stable. The number of times threshold may be changeable. For example, the number of times threshold may be changed by the user operating the printing device 11.

[0041] The number of acquisitions, which indicates the number of times that the control unit 25 has acquired the rotational position of the motor 14, is indicated by N. The number threshold is indicated by Y. The rotational position of the motor 14 acquired by the control unit 25 the Nth time is indicated by A(N). A(0), i.e., the initial value of the rotational position, is 0. The rotational position of the motor 14 acquired by the control unit 25 the N-1th time is indicated by A(N-1). Therefore, the amount of change in the rotational position is indicated by the absolute value of A(N)-A(N-1). The position threshold is indicated by B. Therefore, when the absolute value of A(N)-A(N-1)≦B and N≧Y are satisfied, the control unit 25 determines that the slack in the medium 99 has been eliminated and stops the support shaft 13.

[0042] When the control unit 25 rotates the support shaft 13 so that the support shaft 13 takes up the medium 99, the control unit 25 resets the value indicating the rotational position of the motor 14, i.e., A(N). For example, the control unit 25 erases the value indicating A(N) stored in memory. This reduces the possibility that the control unit 25 will obtain the amount of change due to the rotational position obtained when the slack was removed the previous time.

[0043] <Slack removal action> Next, a description will be given of a slack eliminating operation for eliminating slack in the medium 99. The slack eliminating operation is executed by the control unit 25. The control unit 25 executes the slack eliminating operation, for example, before the start of printing.

[0044] As shown in FIG. 2, in step S11, the control unit 25 resets A(N). At this time, the control unit 25 erases all the values indicating the rotational position of the motor 14 stored in the memory.

[0045] In step S12, the control unit 25 rotates the support shaft 13 in the reverse direction. Thereby, the support shaft 13 winds up the medium 99. In step S13, the control unit 25 acquires A(N). In the slack elimination operation, the control unit 25 executes the process of step S13 a plurality of times. In the first execution of step S13, the control unit 25 acquires A(1). In the second execution of step S13, the control unit 25 acquires A(2).

[0046] In step S14, the control unit 25 determines whether or not |A(N) - A(N - 1)| ≤ B. In the first execution of step S14, the control unit 25 determines whether or not |A(1) - A(0)| ≤ B. That is, in step S14, the control unit 25 determines whether the amount of change in the rotational position is large or small. When |A(N) - A(N - 1)| ≤ B, the control unit 25 transfers the process to step S15. When |A(N) - A(N - 1)| > B, the control unit 25 returns the process to step S13.

[0047] In step S15, the control unit 25 determines whether or not N ≥ Y. That is, the control unit 25 determines whether or not the process of step S13 has been executed a number of times equal to or greater than the number threshold. When N ≥ Y, the control unit 25 transfers the process to step S16. When N < Y, the control unit 25 returns the process to step S13.

[0048] From step S13 to step S15, the control unit 25 acquires the rotational position at a predetermined period unless |A(N) - A(N - 1)| ≤ B and N ≥ Y are satisfied. If |A(N) - A(N - 1)| ≤ B and N ≥ Y are not satisfied even after a certain time has elapsed, the control unit 25 may notify an error.

[0049] In step S16, the control unit 25 stops the support shaft 13. In step S16, the control unit 25 determines that the slack in the medium 99 has been eliminated, and stops the support shaft 13. When the control unit 25 finishes the process of step S16, the slack elimination operation ends. In this manner, the control method of the printing device 11 includes rotating the support shaft 13 so that the support shaft 13 takes up the medium 99. The control method of the printing device 11 includes acquiring the rotational position of the motor 14 at a predetermined period based on pulses output from the encoder 15 as a result of the encoder 15 detecting the rotation of the motor 14. The control method of the printing device 11 includes stopping the support shaft 13 when the amount of change in the rotational position is equal to or less than a threshold value.

[0050] <Action and Effects> Next, the operation and effects of the above embodiment will be described. (1) The control unit 25 rotates the support shaft 13 so that the support shaft 13 takes up the medium 99. The control unit 25 acquires the rotational position of the motor 14 at a predetermined cycle based on the pulses output from the encoder 15. The control unit 25 stops the support shaft 13 when the amount of change in the rotational position is equal to or less than a threshold value.

[0051] According to the above configuration, the control unit 25 determines that the slack in the medium 99 has been eliminated when the amount of change in the rotational position is small. In this case, even if the slack in the medium 99 has been eliminated and the encoder 15 outputs a pulse due to, for example, vibration, the amount of change in the rotational position is small. This reduces the risk that the control unit 25 will determine that the slack in the medium 99 has not been eliminated even when the slack in the medium 99 has been eliminated. This allows the control unit 25 to accurately determine that the slack in the medium 99 has been eliminated.

[0052] (2) The control unit 25 stops the support shaft 13 when the amount of change in the rotational position obtained based on the rotational position obtained after a specified number of times since the support shaft 13 was rotated so that the support shaft 13 would wind up the medium 99 is less than or equal to a threshold value.

[0053] At the start of winding the medium 99, the rotation of the support shaft 13 is not stable. Therefore, there is a risk that the rotational position cannot be obtained accurately at the start of winding the medium 99. With the above configuration, the rotational position obtained at the start of winding the medium 99 is not used to determine whether the slack has been eliminated. Therefore, the accuracy of determining whether the slack has been eliminated is improved.

[0054] (3) The initial value of the rotational position is 0. According to the above configuration, the amount of change in the rotational position can be obtained with high accuracy. (4) When the control unit 25 rotates the support shaft 13 so that the support shaft 13 takes up the medium 99, the control unit 25 resets the value of the rotational position. With the above configuration, the amount of change in the rotational position can be obtained with high accuracy. In particular, the possibility that the control unit 25 will refer to the rotational position obtained when the slack was previously eliminated is reduced, so that the amount of change in the rotational position can be obtained with high accuracy.

[0055] (5) The control unit 25 controls the motor 14 for each control period based on the pulses. The predetermined period is a multiple of the control period. With the above configuration, the control unit 25 can obtain the rotation position in accordance with the control period of the motor 14. This simplifies the control of the motor 14 by the control unit 25.

[0056] <Example of change> The above embodiment can be modified as follows: The above embodiment and the following modified examples can be combined with each other to the extent that there is no technical contradiction.

[0057] The control unit 25 may determine whether the slack in the medium 99 has been eliminated based on the torque of the motor 14 in parallel with determining whether the slack in the medium 99 has been eliminated based on the amount of change in the rotational position of the motor 14. The control unit 25 may stop the support shaft 13 when it determines that the slack in the medium 99 has been eliminated based on either the amount of change in the rotational position of the motor 14 or the torque of the motor 14.

[0058] In this modified example, the control unit 25 obtains the torque of the motor 14 based on the pulses output from the encoder 15. The control unit 25 determines that the slack in the medium 99 has been eliminated, for example, when the torque of the motor 14 remains equal to or greater than a predetermined torque for a predetermined period of time. In this determination, as described in the above embodiment, if the encoder 15 outputs a pulse even though the slack in the medium 99 has been eliminated, the torque of the motor 14 may fall below the predetermined torque. Therefore, the accuracy of the determination is lower than when the slack in the medium 99 is eliminated based on the amount of change in the rotational position. However, by performing both in parallel, the accuracy of the determination of elimination of slack is improved.

[0059] The liquid ejected by the printing unit 16 is not limited to ink, and may be, for example, a liquid in which particles of a functional material are dispersed or mixed in a liquid. For example, the printing unit 16 may eject a liquid containing, in a dispersed or dissolved form, a material such as an electrode material or a pixel material used in the manufacture of liquid crystal displays, electroluminescent displays, and surface-emitting displays.

[0060] <Technical philosophy> The technical ideas and effects obtained from the above-described embodiment and modified examples will be described below.

[0061] (A) A printing device includes a support shaft that supports a roll on which medium is wound, a motor that rotates the support shaft, a transport roller that transports the medium unwound from the roll, a printing unit that prints on the medium transported by the transport roller, an encoder that outputs pulses by detecting the rotation of the motor, and a control unit that controls the motor based on the pulses, wherein the control unit rotates the support shaft so that the support shaft winds up the medium, obtains the rotational position of the motor at a predetermined cycle based on the pulses, and stops the support shaft when the amount of change in the rotational position is equal to or less than a threshold value.

[0062] According to the above configuration, the control unit determines that the slack in the medium has been eliminated when the amount of change in the rotational position is small. In this case, even if the encoder outputs a pulse due to, for example, vibration, even though the slack in the medium has been eliminated, the amount of change in the rotational position is small. This reduces the risk that the control unit will determine that the slack in the medium has not been eliminated even though the slack in the medium has been eliminated. Therefore, the control unit can accurately determine that the slack in the medium has been eliminated.

[0063] (B) In the above printing device, the control unit may acquire an amount of change in the rotational position based on the rotational position acquired this time and the rotational position acquired last time, and may stop the support shaft if the amount of change in the rotational position acquired based on the rotational position acquired after a predetermined number of times since the support shaft was rotated so that the support shaft would take up the medium is less than or equal to a threshold value.

[0064] When the medium starts to be wound, the rotation of the support shaft is not stable. Therefore, when the medium starts to be wound, the rotational position may not be obtained with high accuracy. With the above configuration, the rotational position obtained when the medium starts to be wound is not used to determine whether the slack has been eliminated. Therefore, the accuracy of determining whether the slack has been eliminated is improved.

[0065] (C) In the printing device, the initial value of the rotational position may be 0. With the above configuration, the amount of change in the rotational position can be obtained with high accuracy. (D) In ​​the printing device, the control unit may reset the value of the rotational position when rotating the support shaft so that the support shaft takes up the medium. With the above configuration, the amount of change in the rotational position can be obtained with high accuracy.

[0066] (E) In the printing device, the control unit may control the motor for each control period based on the pulse, and the predetermined period may be a multiple of the control period. With the above configuration, the control unit can obtain the rotation position in accordance with the control period of the motor. This simplifies the control of the motor by the control unit.

[0067] (F) A control method for a printing device that eliminates slack in a medium that occurs between a support shaft that supports a roll body on which a medium is wound and a transport roller that transports the medium from the roll body, includes rotating the support shaft so that the support shaft winds up the medium, acquiring a rotational position of the motor that rotates the support shaft at predetermined time intervals based on pulses output from an encoder by the encoder detecting the rotation of the motor, and stopping the support shaft when the amount of change in the rotational position is equal to or less than a threshold value. According to the above method, the same effect as that of the above-mentioned printing device can be obtained. [Explanation of symbols]

[0068] 11...printing device, 12...housing, 13...support shaft, 14...motor, 15...encoder, 16...printing unit, 17...support unit, 18...upstream support unit, 19...downstream support unit, 20...transport unit, 21...transport roller, 22...opposing roller, 23...transport motor, 24...transport encoder, 25...control unit, 26...measuring unit, 99...medium, R1...roll body.

Claims

1. A support shaft that supports a roll body on which the medium is wound; A motor that rotates the support shaft; a transport roller that transports the medium unwound from the roll body; a printing unit that prints on the medium transported by the transport roller; an encoder that outputs a pulse by detecting the rotation of the motor; a control unit that controls the motor based on the pulses, The control unit is Rotating the support shaft so that the support shaft takes up the medium; acquiring a rotational position of the motor at a predetermined period based on the pulse; A printing device comprising: a support shaft that stops when an amount of change in the rotational position is equal to or less than a threshold value.

2. The control unit is acquiring an amount of change in the rotational position based on the currently acquired rotational position and the previously acquired rotational position; The printing device according to claim 1, characterized in that the support shaft is stopped when an amount of change in the rotational position acquired based on the rotational position acquired after a predetermined number of times since the support shaft is rotated to wind up the medium is less than a threshold value.

3. The printing apparatus according to claim 1 , wherein the initial value of the rotational position is zero.

4. The printing device according to claim 1 , wherein the control unit resets the value of the rotational position when the support shaft is rotated so that the support shaft takes up the medium.

5. The control unit controls the motor for each control period based on the pulse, 5. The printing apparatus according to claim 1, wherein the predetermined period is a multiple of the control period.

6. A control method for a printing device that eliminates slack in a medium that occurs between a support shaft that supports a roll body on which a medium is wound and a transport roller that transports the medium from the roll body, the method comprising the steps of: rotating the support shaft so that the support shaft takes up the medium; acquiring a rotational position of the motor at predetermined time intervals based on a pulse output from an encoder as the encoder detects rotation of the motor that rotates the support shaft; and stopping the support shaft when an amount of change in the rotational position is equal to or less than a threshold.

Citation Information

Patent Citations

  • Printing apparatus and printing method

    JP2013189315A