Band Driver and Method
By using belt drive system and sensor technology with two motors in thermal transfer printers, adjusting ribbon motion according to print head position, the problem of ribbon position control and tension management is solved, and print quality and image capture is improved. accuracy.
Patent Information
- Application Number
- CN202210485935.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2017-06-28
- Filing Date
- 2018-06-27
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2038-06-27
AI Technical Summary
In existing thermal transfer printers, it is difficult for the tape driver to accurately control the ribbon position during movement, resulting in unstable print quality and misleading indications from the image capture system may lead to undetected printing errors.
Using a belt drive system with two motors, the motor speed and position are adjusted by the controller according to the position data of the print head to adapt to the interference of the print head to ensure that the tension between the reels is maintained at the optimal level. , and obtain accurate printhead position information through sensors and encoders to realize dynamic adjustment of ribbon path length.
Improves the positioning accuracy and tension control of the ribbon, reduces printing errors, and enhances the reliability of print quality and the accuracy of image capture.
Smart Images

Figure CN115091863B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a tape drive and method of operating the same. More particularly, but not exclusively, the present invention relates to apparatus and methods for controlling the operation of a tape drive in a thermal transfer printer to control the movement of a ribbon, for monitoring and controlling the movement of a print head relative to a printing surface on which printing is to be performed, and for monitoring the quality of a printed image by an image capture system. Background Art
[0002] Thermal transfer printers use an ink-carrying ribbon. During the printing operation, the ink carried on the ribbon is transferred to the substrate to be printed. To achieve the transfer of the ink, the print head is brought into contact with the ribbon, and the ribbon is brought into contact with the substrate. The print head contains a printing element that, when heated, causes the ink to be transferred from the ribbon and onto the substrate while in contact with the ribbon. The ink will be transferred from the area of the ribbon adjacent to the heated printing element. The image can be printed on the substrate by selectively heating the printing element corresponding to the image area where the ink is to be transferred and not heating the printing element corresponding to the image area where the ink is not to be transferred.
[0003] It is known that various factors affect print quality. Accurate control of the ribbon during movement by the ribbon drive (including during periods of acceleration and deceleration) and knowledge of the position of the ribbon during such movement are important to ensure that printing is performed in a controlled and predictable manner. However, in use, there may be differences between the actual position of portions of the ribbon and the expected position of those portions or the ribbon. Such differences may be caused by a number of reasons, such as, for example, incorrect ribbon tension or incorrect movement of the ribbon by the ribbon drive.
[0004] Furthermore, in the event that printing is performed incorrectly, it may be possible for incorrectly printed articles to remain undetected. By capturing an image of the area of the ribbon used for printing or of the substrate on which printing has been performed, the quality of the printing may be monitored. However, such image capture may be unreliable if ribbon control is not performed accurately. Similarly, defects in the image capture system may provide false indications of incorrect printing, or may erroneously allow incorrectly printed substrates to pass through without being detected. Summary of the invention
[0005] It is an object of some embodiments of the present invention to provide novel methods, tape drives and printers that obviate or mitigate at least some of the disadvantages set out above or inherent in existing printers and tape drives.
[0006] According to a first aspect of the present invention, there is provided a method of operating a transfer printer configured to transfer ink from a printer ribbon to a substrate conveyed along a predetermined substrate path adjacent to the printer. The printer comprises a belt drive comprising two belt drive motors, two belt reel supports, the reels of the ribbon being mountable on the two belt reel supports, each reel being drivable by a respective one of the motors. The printer further comprises a print head displaceable toward and away from the predetermined substrate path and arranged to contact one side of the ribbon during printing to press the opposite side of the ribbon into contact with the substrate on the predetermined substrate path and with the printing surface. The printer further comprises a controller configured to control the belt drive to convey the ribbon between a first ribbon reel and a second ribbon reel. The method comprises controlling the belt drive to perform a ribbon motion in which the ribbon is conveyed between the first ribbon reel and the second ribbon reel along a ribbon path having a first length during a first portion of the ribbon motion and a second length during a second portion of the ribbon motion. The transition from the first length to the second length is caused by displacement of the print head relative to the print surface. Control of at least one of the belt drive motors is based on data indicative of the first length and the second length.
[0007] In this way, the ribbon drive motor can be controlled to accommodate disturbance of the ribbon by the printhead during movement of the ribbon between the spools. Such control of the motor allows for more accurate positioning of the ribbon during ribbon feed operations and for maintaining the ribbon tension at a closer to optimum level during ribbon feed operations (rather than merely adjusting it at periodic intervals).
[0008] The transition from the first length to the second length may be caused by displacement of the print head towards and away from the printing surface.
[0009] Control of at least one of the belt drive motors may be based on data indicative of the position of the print head.
[0010] The data indicative of the first length and the second length may include lengths in millimeters or values in any other suitable units. The data indicative of the first length and the second length may include data indicative of a difference between the first length and the second length (e.g., a change in path length). The data indicative of the first length and the second length may include data indicative of a position of the print head during each of the first and second portions of movement of the ribbon.
[0011] The at least one belt drive motor may be a position controlled motor. Each of the belt drive motors may be a position controlled motor. One or both of the belt drive motors may be stepper motors. Where one or both of the belt drive motors are stepper motors, the belt drive motors may be controlled by applying a series of stepper commands to the motors, thereby causing the motor shaft to move a predetermined amount. By controlling the time at which the stepper commands are applied to the motors, the speed of rotation may be controlled.
[0012] The at least one tape drive motor may be controlled based on data indicative of a change in length of the ribbon path, the data indicative of a change in length of the ribbon path being determined based on the data indicative of a position of the print head.
[0013] It will be appreciated that movement of the print head causes a deflection of the ribbon (and hence a transition from a first length to a second length). Therefore, the position of the print head may be used to generate data indicative of a change in length of the ribbon path, which data may in turn be used to control the at least one motor. That is, the motor may be controlled either directly or indirectly based on the data indicative of the position of the print head.
[0014] When the print head is displaced so as to cause the ribbon to contact the substrate, the controller may be configured to control the at least one ribbon drive motor to increase the amount of ribbon extending between the spools.
[0015] When the print head is displaced so as to cause the ribbon to be removed from contact with the substrate, the controller may be configured to control the at least one ribbon drive motor to reduce the amount of ribbon extending between the spools.
[0016] In this manner, by adjusting the speed or position of the motors, any increase or decrease in tension in the ribbon extending between the spools caused by the print head being displaced can be compensated. For example, when the print head is displaced into contact with the substrate during ribbon feed operation (e.g., during continuous printing), the speed of one or both of the motors can be adjusted to provide an increase in the amount of ribbon extending between the spools. On the other hand, when the print head is displaced out of contact with the substrate during ribbon feed operation, the speed of one or both of the motors can be adjusted to provide a decrease or reduction in the amount of ribbon extending between the spools.
[0017] The amount of ribbon extending between the spools may be increased or decreased simultaneously as the print head is displaced into or out of contact with the substrate. Alternatively, the amount of ribbon extending between the spools may be adjusted immediately before or after the print head is displaced relative to the substrate.
[0018] Furthermore, it will be appreciated that the print head position may be changed gradually, and the ribbon may be deflected accordingly gradually.Any correction to the amount of ribbon extending between the spools may also be applied gradually by one or more motors.
[0019] In practice, where the ribbon amount is corrected by adjusting the speed of one or both of the motors, this effect will occur gradually (i.e., the increase or decrease in ribbon length is the cumulative effect over a period of time during which the ribbon drive motor speed is adjusted relative to the unadjusted speed).
[0020] An increase or decrease in the amount of ribbon extending between the spools may be determined based on data indicative of the position of the printhead.
[0021] The printer may also include a print head drive device. The print head drive device may be configured to drive the print head toward and away from a predetermined substrate path. The method may include: controlling the print head drive device to drive the print head toward and away from the predetermined substrate path; and generating data indicating a change in the length of the ribbon path based on a property of the print head drive device.
[0022] The printer may include a sensor configured to generate a signal indicative of a property of the print head drive device. By using a sensor associated with the print head drive device, accurate position information about the actual print head position may be provided, thereby allowing accurate control of the print head.
[0023] The print head drive device may include a print head motor. The print head motor may be a stepper motor having an output shaft coupled to the print head, the stepper motor being arranged to change the position of the print head relative to the printing surface. The stepper motor may also be arranged to control the pressure applied by the print head on the printing surface.
[0024] The printer may also include a sensor configured to generate a signal indicative of an angular position of an output shaft of the printhead motor.
[0025] The printer may further comprise a controller arranged to generate a control signal for the stepper motor so as to cause a predetermined torque to be generated by the stepper motor; the control signal being based at least in part on the output of the sensor.
[0026] By using a sensor (eg, a rotary encoder) associated with the output shaft of the stepper motor, accurate position information about the actual rotor position can be provided, thereby allowing accurate control of the printhead motor.
[0027] The data indicative of the position of the printhead may be based on a generated signal indicative of the angular position of an output shaft of a printhead motor.
[0028] When the print head is not in contact with the printing surface (or is about to make contact with the printing surface), the sensor output can be used to generate data indicating the actual print head position. During such movement of the print head, the print head position will generally have a predetermined relationship with the sensor output.
[0029] The data indicative of the position of the print head may also be based on further data indicative of the position of the print head.
[0030] When the print head is in contact with and pressed against the printing surface (e.g., using a printing force), data indicating the expected contact position can be used to generate data indicating the actual print head position in preference to the sensor output data. When the print head is pressed against the printing surface, it has been observed that the print head position as determined based on the sensor output (and the known geometry of the printer) can differ from the actual print head position. That is, additional data indicating the print head position can be used to provide an alternative indication of the actual print head position in certain circumstances. Variations in the actual position can be caused by the flexibility of various system components (such as, for example, the belt connecting the motor to the print head).
[0031] Further data indicative of the position of the print head may be determined empirically.Further data indicative of the position of the print head may be generated based on the sensor output.
[0032] Further data indicative of printhead position may be generated based on a signal indicative of the angular position of the output shaft of the motor and a predetermined offset.Further data indicative of printhead position may be generated by applying a predetermined offset to the sensor output data (or data derived therefrom).
[0033] The print head position may, for example, correspond to an expected contact position of the print head and the printing surface (contact made by the ribbon and the substrate), and may be referred to as a printing position.
[0034] When the predetermined condition is met, the data indicative of the position of the print head may be based on a generated signal indicative of the angular position of the output shaft of the motor.When the predetermined condition is not met, the data indicative of the position of the print head may be based on further data indicative of the position of the print head.
[0035] That is, the print head position as indicated by the sensor may be used where appropriate. However, when the print head position as indicated by the sensor exceeds a predetermined value, such as, for example, when the sensor data indicates that the print head has passed an expected contact position of the print head with the print surface, additional data indicative of the print head position may be used in preference to the sensor data.
[0036] The print head may be pivotable, and wherein the stepper motor is arranged to cause the print head to pivot to change the position of the print head relative to the printing surface.
[0037] The printer may also include a print head assembly. The print head assembly may include a first arm and a second arm. The first arm may be coupled to a stepper motor, and the print head may be disposed on the second arm. The stepper motor may be arranged to cause movement of the first arm, thereby causing the second arm to pivot and causing the position of the print head to change relative to the printing surface. The stepper motor may be coupled to the first arm via a flexible linkage. The linkage may be a print head rotating belt.
[0038] The printhead belt may pass around a roller driven by an output shaft of a stepper motor such that rotation of the output shaft of the stepper motor causes movement of the printhead belt, and movement of the printhead belt causes rotation of the printhead about a pivot.
[0039] The print head drive mechanism may also be configured to transport the print head along a track extending generally parallel to the printing surface.
[0040] The printhead drive mechanism may include a printhead drive belt operably connected to the printhead and a printhead carriage motor for controlling movement of the printhead drive belt; wherein movement of the printhead drive belt causes the printhead to be transported along a track extending generally parallel to the printing surface. The printhead may be mounted to a printhead carriage configured to be transported along a track extending generally parallel to the printing surface.
[0041] The printhead drive belt may be passed around a roller driven by the printhead carriage motor such that rotation of an output shaft of the printhead carriage motor causes movement of the printhead drive belt, which causes the printhead to be transported along a track extending generally parallel to the print surface.
[0042] The print head carriage motor may be a position controlled motor. The print head carriage motor may be a stepper motor. The print head carriage motor may be controlled in a speed controlled manner.
[0043] The data indicative of the position of the printhead may also be based on a signal indicative of the angular position of an output shaft of the printhead carriage motor.
[0044] The method may include controlling two ribbon drive motors to control transport of ribbon between a first ribbon spool and a second ribbon spool, the controlling being based on data indicative of a position of a print head.
[0045] The method may include, during a ribbon feed operation, controlling a first one of the ribbon drive motors to rotate at a first predetermined angular rate to cause a quantity of ribbon to be paid out, and controlling a second one of the ribbon drive motors to rotate at a second predetermined angular rate to cause a quantity of ribbon to be taken up. During the ribbon feed operation, at least one of the first predetermined angular rate and the second predetermined angular rate may be modified based on data indicating a position of the print head.
[0046] In this way, the rate of one or both of the ribbon drive motors can be adjusted to accommodate any deflection of the ribbon by the printhead. This provides improved tension control and ribbon positioning. Any adjustments can be preferentially applied to one of the motors. For example, in an embodiment, adjustments can be applied to the motor associated with the supply spool in order to minimize any effect of the adjustment on the tension between the take up spool and the printhead, where the peel angle is critical to print quality.
[0047] The first predetermined angular velocity and the second predetermined angular velocity may also be determined based on data indicating the diameters of the first ribbon spool and the second ribbon spool, respectively.
[0048] The method may comprise controlling a tape drive motor to cause a length of tape to be added to or subtracted from tape extending between the spools, the length of tape being calculated based on data indicative of the first length and the second length.
[0049] When the print head is displaced towards the printing surface, a length of tape may be added. When the print head is displaced away from the printing surface, a length of tape may be subtracted. The length of the added tape may be equal to the length of the subtracted tape.
[0050] The length of tape may be added to or subtracted from the tape extending between the spools in order to maintain the tension in the tape between predetermined limits. Although tension errors may be measured and adjusted between print cycles (e.g., when no printing is occurring), it may be beneficial to also adjust for path length variations during an ongoing printing operation.
[0051] Furthermore, where the tension variation is caused by printhead motion, such motion will generally be reversed before a single print cycle has been completed. As a result, the ribbon tension may be incorrect for a large portion of a print cycle (potentially resulting in inaccurate ribbon positioning or printed image tracking), but may be correct (or at least less inaccurate) when the tension is measured between print cycles. By adjusting for ribbon path length disturbances caused by the printhead during a print cycle, overall ribbon control, and therefore printer operation, may be improved.
[0052] The method may include performing a print cycle. Performing the print cycle may include: controlling a ribbon drive to perform a ribbon movement in which the ribbon is conveyed between a first ribbon spool and a second ribbon spool along a ribbon path; and shifting a print head relative to a printing surface. Performing the print cycle may also include: generating data indicating a change in length of the ribbon path based on data indicating a position of the print head during the shifting. Performing the print cycle may also include: modifying a control signal for at least one of the ribbon drive motors such that an amount of ribbon between the first ribbon spool and the second ribbon spool is adjusted by an amount based on the data indicating a change in length of the ribbon path.
[0053] The change in length of the ribbon path may be the difference between the first length and the second length.
[0054] The method may further include: displacing the print head towards the printing surface. The method may further include: generating data indicative of a first change in the length of the ribbon path based on data indicative of the position of the print head during said displacement of the print head towards the printing surface. The method may further include: applying a first adjustment to the amount of ribbon between the first ribbon spool and the second ribbon spool by energizing at least one of the ribbon drive motors to cause the amount of ribbon between the first ribbon spool and the second ribbon spool to be adjusted by a first amount based on the data indicative of the first change in the length of the ribbon path.
[0055] The method may further comprise: displacing the print head away from the printing surface. The method may further comprise: generating data indicative of a second change in the length of the ribbon path based on data indicative of the position of the print head during said displacement of the print head away from the printing surface. The method may further comprise: applying a second adjustment to the amount of ribbon between the first ribbon spool and the second ribbon spool by energising a ribbon drive motor to cause the amount of ribbon between the first ribbon spool and the second ribbon spool to be adjusted by a second amount based on the data indicative of the second change in the length of the ribbon path.
[0056] The method may further comprise controlling the print head to be energised to transfer ink from the ribbon to the substrate when the print head is pressed against the printing surface.
[0057] The method may further comprise moving the ribbon past the print head in a printing direction while the print head is pressed against the printing surface.Each of the first adjustment and the second adjustment may be applied during said movement of the ribbon.
[0058] According to a second aspect of the invention, there is provided a transfer printer configured to transfer ink from a printer ribbon to a substrate conveyed along a predetermined substrate path adjacent to the printer. The printer comprises a belt drive comprising two belt drive motors, two belt reel supports, the reels of the ribbon being mountable on the two belt reel supports, each reel being drivable by a respective one of the motors. The printer further comprises a print head that is displaceable toward and away from the predetermined substrate path and arranged to contact one side of the ribbon during printing to press the opposite side of the ribbon into contact with the substrate on the predetermined substrate path and with the printing surface. The printer further comprises a controller configured to control the belt drive to convey the ribbon between the first ribbon reel and the second ribbon reel. The controller is also configured to: control the belt drive to perform a ribbon movement in which the ribbon is transported between a first ribbon spool and a second ribbon spool along a ribbon path, the ribbon path having a first length during a first portion of the ribbon movement and a second length during a second portion of the ribbon movement, the transition from the first length to the second length being caused by a displacement of the print head relative to the printing surface; wherein control of at least one of the belt drive motors is based on the first length and the second length.
[0059] Features described in the context of the first aspect of the invention may be combined with the second aspect of the invention.
[0060] According to a third aspect of the invention, there is provided a method of controlling a motor in a belt drive to cause movement of a belt. The method comprises:
[0061] generating a control signal for the motor to cause the motor to rotate to cause belt movement, the control signal being generated based on a target belt movement and a predetermined characteristic of the motor;
[0062] receiving first data indicative of updated target belt movement at a first plurality of times during the movement;
[0063] receiving second data indicative of the generated control signal at a second plurality of times during the motion;
[0064] determining a relationship between the first data and the second data; and
[0065] Based on the determined relationship, an additional control signal is generated for the motor to cause additional belt movement.
[0066] By receiving updated first data during the belt movement related to the target belt movement, the difference between the expected movement of the motor and the actual movement can be corrected. This correction can be particularly useful in the case where the motor is a stepper motor and in the case where the control signal applied to the motor must be quantized. That is, the control signal applied to the stepper motor causes the motor to advance a single step (or sub-step). The rate at which the steps are applied is controlled to try to reach the target speed. However, in the case where the target speed changes faster than the motor can follow (for example, because the acceleration rate is too high, or because the motor is halfway through the step when the target speed changes), small differences will occur. These differences can gradually accumulate and can cause belt tension or belt positioning errors. Therefore, by comparing the target movement (which can change rapidly during use) with the control signal generated for controlling the motor, errors (for example, quantization errors) can be identified and appropriate correction factors applied.
[0067] Determining the relationship between the first data and the second data may include: generating data indicating a difference between the first data and the second data; and comparing the generated difference to a predetermined threshold.
[0068] The method may further include comparing the generated difference to an additional predetermined threshold. Generating an additional control signal for the motor to cause additional belt movement based on the determined relationship may include generating a modified control signal for the motor to reduce the difference between the first data (e.g., the expected or desired actual movement) and the second data (e.g., the movement required by the previously applied control signal).
[0069] Generating the further control signal for controlling the motor based on the determined relationship may include generating a first control signal if the determined relationship meets a predetermined criterion, and generating a second control signal if the determined relationship does not meet the predetermined criterion.
[0070] For example, if the difference is above a predetermined threshold, a speed scaling factor may be applied. If the difference is above a further predetermined threshold, a further speed scaling factor may be applied.
[0071] The predetermined criterion may be data indicating a difference between the first data and the second data exceeding a threshold value. The threshold value may be a predetermined threshold value.
[0072] During further belt movement, the first control signal may cause the motor to rotate at a first motor angular velocity. During further belt movement, the second control signal may cause the motor to rotate at a second motor angular velocity.
[0073] The first motor angular velocity may be increased or decreased relative to the actual motor angular velocity during belt movement.
[0074] The second motor angular velocity may be substantially equal to the actual motor angular velocity during belt movement.
[0075] The first control signal may be based on the target belt motion, the predetermined characteristic of the motor, and a speed scaling factor.The second control signal may be based on the target belt motion and the predetermined characteristic of the motor.
[0076] Determining a relationship between first data and second data may include generating data indicative of a cumulative difference between the first data and the second data. The cumulative difference may be a linear amount of a band.
[0077] Generating the control signal for the motor to cause the motor to rotate to induce movement of the belt may include generating a plurality of pulses, each pulse configured to cause the motor to rotate a predetermined angular amount.
[0078] The time at which each of the plurality of pulses is generated may be determined based on the target motor speed.
[0079] The predetermined characteristics of the motor may include data indicative of permitted further control signals for the motor.
[0080] The permitted further control signal for the motor may comprise a control signal for causing the motor to rotate at a permitted angular velocity. The permitted angular velocity may comprise a permitted angular rate.
[0081] The predetermined characteristic of the motor may include data indicating a plurality of permitted further control signals for the motor, each of the permitted further control signals being configured to cause the motor to rotate at a respective permitted angular velocity. The predetermined characteristic of the motor may include data indicating a plurality of motor step durations, each step duration corresponding to a respective angular velocity.
[0082] Generating the additional control signal for the motor may include: receiving data indicating the updated target belt movement; obtaining data indicating an allowed additional control signal for the motor based on the data indicating the updated target belt movement and the data indicating the control signal; and generating the control signal based on the allowed additional control signal for the motor.
[0083] The data indicative of the permitted further control signal for the motor may include an accelerometer for the motor. By referencing the accelerometer, the controller may obtain the data indicative of the permitted further control signal, which may indicate a permissible next motor step rate based on the data indicative of the updated target belt motion (e.g., target speed) and the data indicative of the control signal (e.g., current motor speed).
[0084] The predetermined characteristic of the motor may be based on data indicative of the diameter of a spool of tape mounted on the spool driven by the motor.
[0085] The accelerometer table may be based on data indicating the diameter of a spool of tape mounted on a spool driven by a motor. In this way, the permitted linear acceleration may be converted into the permitted angular acceleration of a motor for driving a spool having a specific diameter.
[0086] The first control signal may be generated by applying a predetermined speed scaling factor to the data indicative of the control signal during belt movement. The data indicative of the control signal may indicate the motor speed during belt movement. Thus, the scaling factor may cause the motor to have a different (i.e., scaled) speed during additional belt movement.
[0087] Generating the further control signal for controlling the motor based on the determined relationship may further comprise generating a third control signal if the determined relationship meets a second predetermined criterion.
[0088] During further belt movement, the third control signal may cause the motor to rotate at a third motor angular velocity.The third motor angular velocity may be increased or decreased relative to the actual motor angular velocity during belt movement and the first motor angular velocity.
[0089] The third control signal may be generated by applying a second predetermined velocity scaling factor to the data indicative of the actual motor angular velocity during belt motion or the first motor angular velocity.
[0090] The first data may include a plurality of first data items, each first data item indicating a target linear belt motion. The second data may include a plurality of second data items, each second data item indicating a distance moved by a motor. The relationship may be based on the plurality of first data items and the plurality of second data items.
[0091] In this way, the first and second data can be updated during belt motion to reflect the changing target speed and / or controlled motor speed. The relationship can be updated accordingly to monitor and allow actions to be taken in response to the updated first and second data.
[0092] The first plurality of times may be different from the second plurality of times.The first data may be generated or updated at a different rate than the second data.
[0093] The method may further comprise: receiving a further first data item and a second data item during the further belt movement; and generating a second further control signal for controlling the motor during a second further belt movement based on the further first data item and the second data item.
[0094] In this way, the control signal for the motor can be updated regularly to reflect changes in the target speed and the actual (or controlled) speed. This allows responding to changes in the target speed and / or accommodating deviations of the actual speed from the target speed (e.g., due to motor limitations). The target speed can be generated, for example, based on a reference speed. The reference speed can be, for example, the speed of the substrate on which printing is being performed. The target speed can be proportional to the reference speed.
[0095] Generating a second further control signal for controlling the motor during a second further belt movement based on the further first and second data may comprise: determining a further relationship between the further first data and the further second data; and generating the second further control signal based on the further determined relationship.
[0096] The tape may be conveyed between the first tape spool and the second tape spool along a tape path, the tape path having a first length during movement of the tape. The relationship may also be based on data indicating a change in length of the tape path.
[0097] The velocity scaling factor may be generated based on the data indicating a change in length of the tape path. In this way, the velocity scaling factor may be modified to ensure that the tape drive can respond appropriately.
[0098] The predetermined threshold may be modified based on the data indicating a change in the length of the tape path. In this way, the speed switching threshold may be modified to ensure that the tape drive can respond appropriately.
[0099] Generating the control signal for the motor for causing the belt movement may be intended to cause the belt to move a predetermined distance. That is, the belt movement may include a predetermined distance of belt movement.
[0100] Generating the control signal for the motor for causing the belt movement and generating the further control signal for the motor for causing the further belt movement may together be intended to cause the belt to move the predetermined distance. That is, the further control signal (and the corresponding further belt movement) may not cause the belt to move further than the control signal (and the corresponding belt movement). Instead, the further control signal may cause the speed of movement of the belt to be modified, while the overall distance moved remains unchanged.
[0101] The belt drive may be a belt drive of a transfer printer. The belt may be an inked ribbon, and the transfer printer may include a print head for selectively transferring ink from the ribbon to a substrate conveyed along a predetermined path adjacent to the printer. The print head may be displaceable toward and away from the predetermined substrate path.
[0102] The relationship may also be based on data indicative of the position of the print head. Thus, the relationship may be based on data indicative of the actual linear tape distance moved during tape motion and data indicative of print head motion. The print head motion may be an expected print head motion.
[0103] In this way, the ribbon drive can be controlled to accommodate disturbances of the ribbon by the print head during movement of the ribbon between the spools. Such control of the ribbon drive allows for more accurate positioning of the ribbon during ribbon transport operations and for maintaining the ribbon tension at a closer to an optimum level during ribbon transport operations (rather than merely adjusting it at periodic intervals). In particular, by generating the relationship based on data indicative of the position of the print head in addition to data indicative of the actual motor angular velocity during a predetermined ribbon movement, deviations from expected ribbon movement caused by both velocity errors and disturbances caused by print head movement can be compensated.
[0104] Data indicative of printhead position may be introduced before, during and / or after printhead movement, thereby allowing the ribbon control to anticipate and / or respond quickly to any changes in ribbon path length due to printhead movement.
[0105] The threshold value may be generated based on data indicating the position of the print head. The predetermined speed scaling factor may be generated based on data indicating the position of the print head. The data indicating the position of the print head may include data indicating print head motion. The data indicating print head motion may include data indicating expected print head motion. The data indicating print head motion may include data indicating a magnitude of print head motion, and / or data indicating a duration of print head motion, and / or data indicating a direction of print head motion.
[0106] In this way, the response of the motor control algorithm may be adjusted based on print head motion (eg, expected print head motion) in order to optimize speed response.
[0107] The relationship data indicative of the position of the print head may comprise data indicative of a variation in length of a tape path and / or may be used to generate data indicative of a variation in length of a tape path.
[0108] The first data indicative of updated target tape motion may include data indicative of motion of the substrate along the predetermined path adjacent to the printer.
[0109] According to a fourth aspect of the invention, there is provided a belt drive for conveying a belt between a first belt reel and a second belt reel along a belt path, the belt drive comprising two belt drive motors, two belt reel supports, on which the reels of the belt are mountable, and a controller, wherein each reel is drivable by a respective one of the motors. The controller is arranged to: generate a control signal for at least one of the belt drive motors to cause the motor to rotate to cause belt movement, the control signal being generated based on a target belt movement and a predetermined characteristic of the motor. The controller is further arranged to: receive first data indicating an updated target belt movement at a first plurality of times during the movement; receive second data indicating the generated control signal at a second plurality of times during the movement; determine a relationship between the first data and the second data; and generate a further control signal for the motor based on the determined relationship to cause further belt movement.
[0110] There is also provided a transfer printer configured to transfer ink from a printer ribbon to a substrate conveyed along a predetermined substrate path adjacent to the printer. The printer comprises a belt drive according to the fourth aspect of the invention, the belt being an inked ribbon. The printer further comprises a print head displaceable towards and away from the predetermined substrate path and arranged to contact one side of the ribbon during printing to press the opposite side of the ribbon into contact with the substrate on the predetermined substrate path and with the printing surface.
[0111] The transfer printer may further comprise a monitor arranged to generate an output indicative of movement of the print head relative to the printing surface, the controller arranged to generate data indicative of the position of the print head based on the output and further data indicative of the position of the print head.
[0112] Features described above in the context of the first or second aspect of the invention may be combined with the third or fourth aspect of the invention, and vice versa.
[0113] A further aspect of the present invention provides a transfer printer controller, the transfer printer controller comprising a circuit, the circuit being arranged to control the transfer printer to implement the method according to one of the first aspect or the third aspect of the present invention. The circuit may include: a memory storing processor-readable instructions; and a processor configured to read and execute instructions stored in the memory, the instructions being arranged to implement the features of the method described above.
[0114] According to a fifth aspect of the present invention, there is provided a transfer printer configured to transfer ink from a printer ribbon to a substrate conveyed along a predetermined substrate path adjacent to the printer. The transfer printer comprises: a belt drive for conveying the ribbon between a first ribbon spool and a second ribbon spool along the ribbon path, the belt drive comprising two belt drive motors, two belt spool supports, the spools of the ribbon being mountable on the two belt spool supports, each spool being drivable by a respective one of the motors; a print head displaceable towards and away from the predetermined substrate path and arranged to contact one side of the ribbon during printing to press the opposite side of the ribbon into contact with the substrate on the predetermined substrate path and with the printing surface; a monitor arranged to generate an output indicating movement of the print head relative to the printing surface; and a controller arranged to generate data indicating the position of the print head based on the output and further data indicating the position of the print head.
[0115] The controller may be further configured to control at least one of the ribbon drive motors to control transport of the ribbon between the first ribbon spool and the second ribbon spool, the control being based on data indicative of the position of the printhead.
[0116] The movement may include movement between a retracted position spaced from a print surface and an extended position in which the print head is pressed against the print surface based on the output.
[0117] When the print head is in contact with and pressed against the printing surface (e.g., by a printing force), data indicating the expected contact position may be used in preference to sensor output data to generate data indicating the actual print head position. When the print head is pressed against the printing surface, it has been observed that the print head position as determined based on the sensor output (and the known geometry of the printer) may differ from the actual print head position. That is, data indicating the print head position may be used to provide an alternative indication of the actual print head position in certain circumstances. Variations in the actual position may be caused by the flexibility of various system components (such as, for example, the belt connecting the motor to the print head).
[0118] The transfer printer may be a thermal transfer printer, and the print head may be a thermal print head.
[0119] According to a sixth aspect of the present invention, there is provided a method of operating a transfer printer according to the fifth aspect of the present invention.
[0120] The methods described above may be implemented in any suitable form. Thus, aspects of the present invention also provide a computer program comprising computer readable instructions that may be executed by a processor associated with a tape drive and / or a transfer printer to cause the tape drive and / or print head of the transfer printer to be controlled in the manner described above. Such a computer program may be stored on a suitable carrier medium, which may be a tangible carrier medium (e.g., a disk) or an intangible carrier medium (e.g., a communication signal). Aspects may also be implemented using a suitable device, which may take the form of a programmable computer that runs a computer program arranged to implement the present invention.
[0121] Any feature described in the context of one aspect of the invention may be applied to other features of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0122] Embodiments of the present invention will now be described by way of example with reference to the accompanying drawings, in which:
[0123] Figure 1 is a schematic illustration of a printer according to the present invention;
[0124] Figure 2 is shown in more detail Figure 1 An illustration of a printer;
[0125] Figure 3 is shown in more detail Figure 1 A perspective illustration of a printer;
[0126] Figure 4 It is arranged to control Figure 1 A schematic illustration of a controller of components of a printer;
[0127] Figure 5 Is Figure 1 A schematic illustration of a process performed by a controller of a printer;
[0128] Figures 6a to 6c is with Figure 1 A schematic illustration of velocity and position data associated with a substrate and ribbon spool of a printer;
[0129] Figures 7a to 7c In various structures Figure 1 a schematic illustration of a portion of a printer;
[0130] Figure 8 Is Figure 1 A schematic illustration of a process performed by a controller of a printer; and
[0131] Fig. 9 Is Figure 1 Schematic illustration of a process performed by a controller of a printer. DETAILED DESCRIPTION
[0132] refer to Figure 1 , a thermal transfer printer 1 is illustrated in which an ink-carrying ribbon 2 is provided on a ribbon supply spool 3, passes through a print head assembly 4 and is taken up by a ribbon take-up spool 5. The ribbon supply spool 3 is driven by a stepper motor 6, while the ribbon take-up spool is driven by a stepper motor 7. In the illustrated embodiment, the ribbon supply spool 3 is mounted on an output shaft 6a of its stepper motor 6, while the ribbon take-up spool 5 is mounted on an output shaft 7a of its stepper motor 7. Typically (but not necessarily) the spools 3, 5 are mounted on a cassette which can be easily mounted on the printer 1. The stepper motors 6, 7 may be arranged so as to operate in a push-pull mode, whereby the stepper motor 6 rotates the ribbon supply spool 3 to pay out the ribbon, while the stepper motor 7 rotates the ribbon take-up spool 5 to take up the ribbon. In this arrangement, the tension in the ribbon can be determined by controlling the motors. Such an arrangement for transferring a tape between spools of a thermal transfer printer is described in our earlier US Patent No. US 7,150,572, the contents of which are incorporated herein by reference.
[0133] During the movement of the ribbon, the ribbon paid out from the ribbon supply spool 3 passes over the guide roller 8, then over the print head assembly 4 and further guide rollers 9, before being taken up by the ribbon take up spool 5. The motors 6, 7 are controlled by a controller 10. An encoder may be provided to generate a signal indicative of the position of the output shaft of one or both of the motors 6, 7. In an embodiment, an encoder 35 is provided to monitor the rotation of the take up spool motor 7.
[0134] The print head assembly 4 includes a print head 11 that presses the ribbon 2 and a substrate 12 that abuts against a printing surface 13 to achieve printing. The position where the ribbon 2 is pressed against the printing surface 13 by the print head assembly 4 defines a printing position L. P The printhead 11 is a thermal transfer printhead comprising a plurality of printing elements, each of which is arranged to remove a pixel of ink from the ribbon 2 and deposit the removed pixel of ink on the substrate 12 .
[0135] The print head assembly 4 is movable in a direction generally parallel to the direction in which the ribbon 2 and substrate 12 travel past the print head assembly 4, as shown by arrow A. Thus, the print position L P The printhead assembly 4 may be moved in direction A. Further, at least a portion of the printhead assembly 4 may be moved toward and away from the substrate 12 to cause the ribbon 2 (when passing the printhead 11) to move into and out of contact with the substrate 12, as shown by arrow B.
[0136] An encoder 14 may be provided which generates a signal indicating that the substrate 12 is in the printing position L P The printer 1 also includes a camera 15 and a light source 16 arranged on opposite sides of the ribbon path. The camera 15 and the light source 16 are both rigidly mounted to a base plate 24 of the printer 1. Therefore, the camera 15 and the light source 16 do not move relative to the base plate 24 or other fixed components of the printer 1.
[0137] Reference now Figure 2 and Figure 3 , which describes the printer 1 in more detail. The printhead assembly 4 also includes a guide roller 20 around which the ribbon 2 passes between the roller 9 and the printhead 11. The printhead assembly 4 is pivotally mounted to a printhead carriage 21 for rotation about a pivot 22, thereby allowing the printhead 11 to move toward or away from the printing surface 13. The printhead carriage 21 is displaceable along a linear track 23, which is fixed in an appropriate position relative to a base plate 24 of the printer 1.
[0138] The position of the printhead carriage 21 in the direction of ribbon motion (and hence the position of the printhead assembly 4) is controlled by the carriage motor 25 (see Figure 3 ). The carriage motor 25 is located behind the base plate 24 and drives a pulley 26 mounted on an output shaft 25a of the carriage motor 25. The pulley 26 in turn drives a print head drive belt 27 which extends around a further pulley 28. The print head carriage 21 is fixed to the print head drive belt 27. Thus, rotation of the pulley 26 in a clockwise direction drives the print head carriage 21, and thus the print head assembly 4 to Figure 2 The left side of the pulley 26 Figure 2 The counterclockwise rotation drives the print head assembly 4 to Figure 2 on the right side.
[0139] The movement of the print head 11 towards and away from the print surface 13 (and therefore the pressure of the print head against the ribbon 2, substrate 12 and print surface 13) is controlled by a motor 29. The motor 29 is also located behind the base plate 24 (see Figure 3 ), and drives a pulley 30 mounted on an output shaft 29a of the motor 29. The movement of the print head assembly 4 is controlled by appropriately controlling the motors 25, 29 by the controller 10.
[0140] Figure 4is a schematic illustration of the components involved in the control of the printer 1, including the movement of the ribbon, the movement of the print head, and also the image capture by the camera 15. The controller 10 comprises a processor 10a and a memory 10b. The processor 10a reads instructions from the memory 10b. The processor 10a also stores data in the memory 10b and retrieves data from the memory 10b. The motors 6, 7, 25, 29 are controlled by control signals, which are generated by the controller 10. The controller 10 receives a signal from the encoder 35, which indicates the rotational movement of the motor 7. The controller also receives a signal from the encoder 14, which indicates the linear movement of the substrate 12 through the printer 1. The controller 10 also receives capture data from the camera 15 and controls the light source 16.
[0141] The motor 29 may be a stepper motor and may be controlled in a closed loop manner by means of an encoder 36 associated with the motor shaft 29a. The encoder 36 may provide an output indicative of the angular position of the output shaft 29a of the motor 29. This output may be used to achieve precise control of the motor 29, for example by controlling the stator magnetic field of the motor to have a predetermined angular relationship relative to the motor shaft 29a.
[0142] The pulley 30 in turn drives a printhead rotating belt 31 which extends around a further pulley 32. The printhead assembly 4 comprises a first arm 33 and a second arm 34 which are arranged to pivot about the pivot 22. The first arm 33 is connected to the printhead rotating belt 31 so that when the printhead rotating belt 31 moves, the first arm 33 is also caused to move. The printhead assembly 4 is attached to the second arm 34. Assuming that the pivot 22 remains fixed (i.e. the printhead carriage 21 does not move), it will be appreciated that movement of the printhead rotating belt 31 causes movement of the first arm 33 and causes corresponding movement of the second arm 34 about the pivot 22 and therefore causes movement of the printhead assembly 4 (and the printhead 11). Thus, rotation of the pulley 30 in a clockwise direction drives the first arm 33 to Figure 2 , thereby causing the second arm 34 to move in a generally downward direction and causing the print head assembly 4 to move toward the printing surface 13. On the other hand, the pulley 30 moves along Figure 2 Counterclockwise rotation in causes the print head assembly 4 to move away from the printing surface 13.
[0143] The belts 27, 31 may be considered a form of flexible linkage. However, the term flexible linkage is not intended to imply that the belts behave as elastic. That is, the belts 27, 31 are relatively inelastic in a direction generally parallel to the direction in which the ribbon 2 and substrate 12 travel through the printhead assembly 4 (i.e., a direction extending between the pulley 30 and the further pulley 32). Of course, it will be appreciated that the belts 27, 31 will flex in a direction perpendicular to the direction in which the ribbon 2 and substrate 12 travel through the printhead assembly 4 so as to allow the belts 27, 31 to move around the pulleys 26, 28, 30, 32. Further, the printhead rotating belt 31 will flex in a direction perpendicular to the direction in which the ribbon 2 and substrate 12 travel through the printhead assembly 4 so as to allow an arc of motion of the first arm 33 about the pivot 22.
[0144] However, in general, it will be appreciated that the relative inelasticity ensures that any rotation of the pulley 30 caused by the motor 29 is substantially transmitted to the first arm 33 and causes movement of the first arm 33, and therefore movement of the print head 11. The belts 27, 31 may be, for example, polyurethane timing belts with steel reinforcements. For example, the belts 27, 31 may be AT3 GEN III Synchroflex timing belts manufactured by BRECOflex LLC of New Jersey, USA.
[0145] The arc of motion of the print head 11 relative to the pivot 22 is determined by the position of the print head 11 relative to the pivot 22. The range of motion of the print head 11 is determined by the relative lengths of the first arm 33 and the second arm 34 and the distance moved by the print head rotating belt 31. Thus, by controlling the motor 29 to cause the motor shaft 29a (and therefore the pulley 30) to move through a predetermined angular distance, the print head 11 can be moved toward or away from the printing surface 13 by a corresponding predetermined distance.
[0146] It will also be appreciated that the force applied to the first arm 33 by the printhead rotating belt 31 will be transferred to the second arm 34 and the printhead 11. Thus, if the movement of the printhead 11 is impeded due to its contact with a surface (such as, for example, the printing surface 13), the force applied by the printhead 11 on the printing surface 13 will be determined by the force applied to the first arm 33 by the printhead rotating belt 31, notwithstanding the adjustment of the geometry of the first arm 33 and the second arm 34. Further, the force applied by the printhead rotating belt 31 on the first arm 33 is in turn determined by the torque applied to the printhead rotating belt 31 by the motor 29 (via the pulley 30).
[0147] Therefore, by controlling the motor 29 to output a predetermined torque, a corresponding predetermined force (and corresponding pressure) can be established between the print head 11 and the print surface 13. That is, the motor 29 can be controlled to move the print head 11 toward and away from the print surface 13, and thus determine the pressure applied by the print head to the print surface 13. Controlling the applied pressure is important because it is a factor that affects the print quality. Of course, in some embodiments, the motor 29 can also be controlled in a conventional manner (e.g., an open-loop position-controlled manner).
[0148] It should also be noted that the position of the print head 11 relative to the print surface 13 is also affected by the motor 25. That is, given the relationship between the motor 25 and the print head assembly 4 (i.e., the motor 25 is coupled to the print head carriage 21 via the belt 27), the movement of the motor 25 also has an effect on the position of the print head relative to the print surface 13.
[0149] The motor 25 may also be a stepper motor and may be controlled in a conventional (ie, open loop) manner. Of course, the motors 25, 29 may be other forms of motors (eg, DC servo motors) that may be controlled in a suitable manner to control the position of the print head 11 and the print head assembly 4.
[0150] In a printing operation, the ink carried on the ribbon 2 is transferred to a substrate 12 to be printed. In order to achieve the transfer of the ink, the print head 11 is brought into contact with the ribbon 2. The ribbon 2 is also brought into contact with the substrate 12. Under the control of the controller 10, the print head 11 is caused to move toward the ribbon 2 by the movement of the print head assembly 4. The print head 11 includes printing elements arranged in a one-dimensional linear array, which, when heated and in contact with the ribbon 2, cause the ink to be transferred from the ribbon 2 to the substrate 12. The ink will be transferred from the area of the ribbon 2 corresponding to the heated printing element (i.e., aligned with the heated printing element). The printing element array can be used to achieve printing of an image on the substrate 12 by selectively heating the printing elements corresponding to the image area where the ink needs to be transferred and not heating the printing elements that do not need to transfer the ink.
[0151] Usually there is a way to use Figures 1 to 3 The printer has two modes, which are sometimes referred to as "continuous" mode and "intermittent" mode. In both operating modes, the device performs a series of printing cycles that are repeated regularly, each cycle comprising: a printing phase, during which ink is transferred to the substrate 12; and an additional non-printing phase, during which the printer prepares for the printing phase of the next cycle.
[0152] In continuous printing, during the printing phase, the print head 11 is brought into contact with a ribbon 2, the other side of which is in contact with a substrate 12 on which an image is to be printed. During this process, the print head 11 is held stationary, the term "stationary" being used in the context of continuous printing to indicate that, although the print head will move into and out of contact with the ribbon, it will not move relative to the ribbon path in the direction in which the ribbon is advanced along that path. Both the substrate 12 and the ribbon 2 are transported past the print head, typically but not necessarily at the same speed.
[0153] Typically, only a relatively small length of the substrate 12 conveyed past the print head 11 will be printed, and therefore, in order to avoid significant waste of ribbon, it is necessary to reverse the direction of travel of the ribbon between printing cycles. Thus, in a typical printing process where the substrate is traveling at a constant rate, the print head 11 is extended into contact with the ribbon only when it is adjacent to an area of the substrate 12 to be printed. Immediately before the print head 11 is extended, the ribbon 2 must be accelerated to, for example, the travel speed of the substrate 12. The ribbon speed is then typically maintained at a speed based on the substrate speed (e.g., equal to or proportional to the speed of the substrate 12) during the printing phase, and after the printing phase has been completed, the ribbon 2 must be decelerated and then driven in the reverse direction so that the used area of the ribbon is on the upstream side of the print head 11.
[0154] As the next area of the substrate to be printed approaches, the ribbon 2 is then accelerated back to normal printing speed and the ribbon 2 is positioned so that when the print head 11 advances to the printing position L P When the unused portion of the ribbon 2 near the previously used area of the ribbon is located between the print head 11 and the substrate 12. Therefore, it is desirable to control the supply spool motor 6 and the take-up spool motor 7 to accurately position the ribbon so as to avoid a printing operation when the previously used portion of the ribbon is inserted between the print head 11 and the substrate 12.
[0155] In intermittent printing, the substrate is advanced past the print head 11 in a stepwise manner so that during the printing phase of each cycle, the substrate 12 and usually, but not necessarily, the ribbon 2 are stationary. Relative movement between the substrate 12, the ribbon 2 and the print head 11 is achieved by displacing the print head 11 relative to the substrate and the ribbon. Between the printing phases of successive cycles, the substrate 12 is advanced so that the next area to be printed is presented under the print head, and the ribbon 2 is advanced so that an unused section of the ribbon is located between the print head 11 and the substrate 12. Again, it is necessary to accurately feed the ribbon 2 to ensure that the unused ribbon is always located between the substrate 12 and the print head 11 when the print head 11 is advanced for the printing operation. It will be appreciated that where the intermittent mode is used, the print head assembly 4 is caused to move along the linear track 23 so as to allow it to be displaced along the ribbon path.
[0156] In each of the above modes, during the transfer of the tape from the supply reel 3 to the take-up reel 5, both the supply reel motor 6 and the take-up reel motor 7 are energized in the same direction of rotation. That is, the supply reel motor 6 is energized to rotate the supply reel 3 to pay out a certain amount of tape, and the take-up reel motor 7 is energized to rotate the take-up reel 5 to take up a certain amount of tape. Therefore, the motors 6, 7 can be said to operate in a "push-pull" mode, in which both motors operate in a position (or speed) controlled manner. In the case of maintaining tension in the tape, it is important that the linear amount of tape released by the supply reel is substantially equal to the linear amount of tape taken up by the take-up reel. Additionally, as described above, it is desired to convey the predetermined linear distance of the tape between the reels. Assuming that the drive is applied to the reel, and the linear length of the tape transferred by a given rotational motion of the reel will vary according to the reel diameter, this requires knowing the diameter of the reel. This knowledge can be obtained and updated in a variety of ways, and several of these ways are described in our early US Patent No. US7,150,572.
[0157] As described above, during continuous printing operation, the ribbon 2 is controlled based on the speed at which the substrate 12 moves past the print head 11. For example, data indicating the speed of movement of the substrate 12 may be obtained from the encoder 14. Such data may be referred to as substrate speed. During continuous printing, the supply spool 3 and the take-up spool 5 are caused to rotate by the motors 6, 7 so as to cause the print position L to be moved to the desired position. P The ribbon 2 at the print head 11 moves at a linear speed substantially equal to or at least based on the substrate speed. For example, as described in our earlier patent application WO2016 / 067052, the ribbon speed may be controlled so as to be a percentage (e.g. 96%) of the substrate speed. The speed of the ribbon 2 at the print head 11 during printing in continuous mode may be referred to as the ribbon speed.
[0158] During movement of the ribbon, each of the motors 6, 7 is controlled by the controller to move at an angular velocity which causes the ribbon to advance at a predetermined linear velocity past the print head 11. Where the motors 6, 7 are stepper motors, controlling the motors to move at a predetermined angular velocity causes each of these motors to be controlled to advance at a predetermined step rate.
[0159] It will be appreciated that, as is well known in the art of motor control, the stepper motors 6, 7 may be controlled to advance in full or sub-step (e.g., half, quarter, or microstep) increments corresponding to the motor's native resolution (e.g., 1.8 degrees per step, or 200 steps per full revolution). By controlling the motor to advance in microstep increments, the angular position of the motor's output shaft may be controlled in a much more accurate manner than in full-step operation, thereby allowing finer control of the ribbon motion. However, even where microstepping is used, the motors 6, 7 are controlled by reference to a set of discrete output angular positions. In the following description, where reference is made to a motor advancing in "steps" or where "step" is applied to a motor, it will be appreciated that, depending on the construction, the motor may be advanced by an amount corresponding to a full step, half step, quarter step, or microstep (e.g., one-eighth step).
[0160] In order to achieve relatively smooth rotation of the motor and the rapid acceleration and deceleration required in a printer belt drive, the motor is controlled by specifying the times at which steps should be applied. The times at which these steps are applied can be determined based on an accelerometer table stored in a memory associated with the controller 10. The accelerometer table may contain data indicating a set of motor speeds and / or the rate (corresponding to angular velocity) at which steps should be applied to the motor. In an embodiment, the accelerometer table contains data indicating the delay between motor steps for each of a set of motor speeds.
[0161] Furthermore, the accelerometer defines transitions between step rates (corresponding to speeds) that can be achieved while operating within the operational limits of the motor. That is, a stepper motor can stall if the acceleration or deceleration attempted requires the application of a torque greater than the motor is capable of (taking into account the inertia of the spool of ribbon driven by the motor). Thus, the accelerometer contains data indicating the maximum safe acceleration rate that can be applied to the motor.
[0162] The accelerometers may be based on data indicating the maximum angular acceleration of each motor and may be recalculated, for example, for each print cycle to take into account the current spool diameter value. That is, at the time of use (i.e., during a print cycle), each accelerometer may have been recalculated based on the current spool diameter value to include step rate data for a particular motor under specific winding conditions operating at various linear ribbon speeds. Thus, no adjustment to the spool diameter is required when accessing the accelerometers. Of course, it will be appreciated that the spool diameter may be adjusted at run time if preferred. Alternatively, the accelerometers may be updated at different rates, for example after each predetermined length (e.g., 750 mm) of ribbon has been transferred between the spools.
[0163] Further, the accelerometer tables for each motor in the printer (taking into account the current diameter of the spools of tape mounted on those motors) may be generated so that they roughly correspond to one another. For example, instead of generating an accelerometer table for a motor driving a first spool having a small diameter (and therefore a small linear distance per step) that allows the acceleration profile to be significantly different from a corresponding accelerometer table for a motor driving a second spool of the same printer having a large diameter (and therefore a larger linear distance per step), the accelerometer tables for the two motors may be generated so that the maximum linear acceleration rates are roughly the same for the two motors.
[0164] For example, the global maximum linear acceleration value (e.g., 25m / s 2 ) can be used to generate an acceleration table for both motors at all spool diameters. This maximum linear acceleration value can be selected based on the rate at which a motor driving a spool with the largest allowable spool diameter can be safely accelerated and decelerated without causing the motor to stall.
[0165] However, it will be appreciated that even if the accelerometer tables generated for the two motors 6, 7 provide a common maximum linear acceleration for any particular actual motor speed and desired new ribbon speed, the two motors may have to respond to speed demands in different ways. That is, given different step sizes (in terms of the linear distance the ribbon moves per step), the accelerometer table for each motor will contain different speed entries, with different allowable speed steps being based on the current spool diameter.
[0166] In use, where the desired ribbon speed changes, the updated desired ribbon speed is then converted to a motor step rate by looking up the most appropriate (and achievable) step rate in the associated accelerometer table. In particular, the accelerometer table is referenced to determine a modified step rate that is as close as possible to the desired step rate as can be achieved without exceeding the allowable acceleration. Steps are then applied to each of the motors at the modified (i.e., achievable) step rate. In the event that the achievable step rate that is closest to the desired step rate (e.g., as determined based on the desired ribbon speed) is lower than the desired step rate, the step rate will be updated again at the next refresh cycle (i.e., after the next step has been applied) to allow the motor to accelerate towards the desired speed by two steps (or more).
[0167] For example, in a configuration where the supply spool diameter is 50 mm and the take-up spool diameter is 100 mm, the maximum permissible acceleration rate is 25 m / s 2 , and in a configuration in which motors 6 , 7 are both controlled in 1 / 8 steps, the acceleration table for each motor may include entries as shown in Table 1.
[0168]
[0169] Table 1: Excerpt of an exemplary accelerometer table.
[0170] Each entry in each table represents a linear ribbon speed. The speed is calculated as the linear speed reached at the circumference of the reel by moving the motor in a single step, wherein the reel is accelerated at the maximum permissible acceleration from either a fixed position (entry 1) or a previous speed entry (entry 2 and above) during the step. For each current reel speed and desired reel speed, these tables can be consulted to determine the next permissible speed. It is not permitted to make more than a single speed jump in the table in a single step, so if the desired speed change exceeds the permitted change, the desired speed change is applied in two steps (or more).
[0171] Assuming both spools are in motion at the current ribbon speed of 200 mm / s, the supply spool motor, which drives a 50 mm diameter supply spool, can be driven at a maximum speed of 210.19 mm / s (entry 9) for the next step. This is based on the closest table entry below the current speed being 198.17 mm / s (entry 8).
[0172] Note that in the event that deceleration is required, the closest table entry above the current speed will be used as a starting point in order to ensure that the maximum acceleration rate is not exceeded.
[0173] A take up spool motor driving a take up spool of 100 mm diameter and currently rotating at 200 mm / s (the nearest table entry which is also lower than the current speed is 198.17 mm / s (entry 4)) may be driven at a maximum next acceleration of 221.56 mm / s (entry 5).
[0174] Therefore, in this example, if the new desired ribbon speed is 220 mm / s, the supply spool will not be able to achieve that speed in the next pass, whereas the take up spool motor can achieve (and exceed) that speed.
[0175] The next step applied to the motors will cause each motor to accelerate, but will cause the supply spool motor to accelerate to 210.19 mm / s (item 9), while the take up spool motor will accelerate to the desired speed of 220 mm / s. However, a subsequent step of the supply spool will allow the speed to increase from 210.19 mm / s (item 9) up to 221.56 mm / s (item 10). Thus, the speed of 220 mm / s will be selected, and after two steps, the supply spool motor will also be at the desired speed.
[0176] Note that the two steps needed to be applied to the supply spool motor to reach the desired speed will be completed in approximately the same time as the single step required for the take up spool motor has been completed. This is because the supply spool diameter is 50 mm compared to the take up spool diameter of 100 mm, which results in a 2:1 step ratio for the same linear distance moved.
[0177] Of course, it will be appreciated that the time at which the steps are applied and the step duration will vary between motors depending on the spool diameter. Thus, during ongoing motor operation, the current speed, next desired speed, and the maximum and minimum speeds permitted continuously change at different rates for each motor.
[0178] In general, for each step performed, the controller may identify in the associated table a step rate that is higher or lower than the current rate. These rates are used as upper and lower limits for the next step. If the subsequent speed target is higher than the upper limit, the upper limit is used, and if the subsequent speed target is lower than the lower limit, the lower limit is used. If the subsequent speed target is within the allowable range, the target speed is used. If the current speed corresponds to an entry in the associated acceleration table, the allowable speed range may be a whole step above or below the current speed.
[0179] In this way, during ribbon transport operations, i.e. when attempting to drive the motors 6, 7 according to a desired motion profile, it will be appreciated that the controller 10 will frequently reference the accelerometer table and will continually update the rate at which steps are applied to the motors 6, 7 to try to ensure that the ribbon moves as close as possible to the desired speed as can be achieved within the limitations of the printer.
[0180] In some embodiments, it may be desirable for the ribbon to advance at a ribbon speed that is based on the substrate speed (e.g., at a speed that is proportional to the substrate speed). In such an arrangement, the substrate speed may be referred to as the master speed. Changes in the substrate speed (e.g., which may be monitored by encoder 14) may result in the determination of an updated desired ribbon speed. The updated desired ribbon speed is then converted to a motor step rate by looking up the most appropriate (and achievable) step rate in the associated acceleration table as described above.
[0181] Reference now Figure 5 The use of the accelerometer in this manner is described below. The described process may be performed, for example, by the controller 10. The ribbon feed controller 40 receives an indication of the reference speed V REF The data is taken as input. Reference speed V REF may be based on the speed of the substrate 12 as received from the encoder 14. Input V REF is passed to the ribbon feed correction block 41 where the reference speed is adjusted to produce the desired supply spool speed V SU-D and the desired take-up reel speed V TU-D For example, as briefly described above, the spool speed may be calculated as a percentage of the substrate speed (eg, 96%). Of course, the desired ribbon speed may be a different percentage of the substrate speed (eg, 100%).
[0182] Alternatively, the desired ribbon speed may be generated based on a different reference speed, such as, for example, an internally generated reference speed (i.e., not encoder data). In some embodiments, the internally generated reference speed is used during some ribbon motions, while an external reference (e.g., substrate speed) is used during other ribbon motions. For example, in an embodiment, the internally generated reference is used during deceleration and ribbon rewinding operations, while the substrate speed is used during acceleration and printing phases of a continuous printing operation. In some embodiments, the internally generated reference speed may also be used during ribbon acceleration. The reference speed V on which the ribbon speed is based REF May be called the "main" speed.
[0183] Further, in some embodiments, the ribbon movement may be controlled in different ways based on the substrate movement. For example, it has been recognized that in some cases, an image having a first length printed by a printer on a substrate may result in a negative image having a different length formed on the ribbon. For example, a printed image having a length of 70 mm may result in a negative image having a length of 69 mm. Thus, the ribbon may be controlled during and between printing operations so that the portion of the unused ribbon between adjacent negative images is minimized.
[0184] For example, when attempting to place adjacent 70 mm long images with an offset of 70.5 mm (thereby allowing a gap of 0.5 mm), an actual gap of 1.5 mm may be observed between adjacent negative images. Therefore, the ribbon motion may be adjusted so that an attempt is made to place the images with an offset of 69.5 mm, thereby allowing an actual gap of 0.5 mm and reducing the amount of ribbon waste by 1 mm for every 70 mm of printed image.
[0185] Of course, different scaling factors may be used when appropriate. Any such adjustments to the scaling factor may be made empirically, for example, by monitoring the actual size of the negative ribbon image. Without wishing to be bound by theory, it is believed that the mismatch between the negative image length and the printed image length may be the result of "ironing" of the ribbon between the print head and the print surface during printing.
[0186] It will be appreciated that image scaling performed to allow comparison between the intended printed image and the captured image (as described in more detail below) may also apply a scaling factor to compensate for this effect.
[0187] Desired reel speed V TU-D V SU-D is passed to the reel speed block 42 which also receives the current take up reel speed V TU and the current supply reel speed V SU The reel speed block 42 obtains the appropriate acceleration table AC for the take up reel and the supply reel from the memory location TU , AC SU (The accelerometer table has been previously generated based on knowledge of the current spool diameter).
[0188] Based on the accelerometer AC TU , AC SU 、Current speed V TU、 V SU and the desired reel speed V TU-D V SU-D , the reel speed block 42 generates an instruction to supply the reel speed V SU-C and command to collect the scroll speed V TU-C, as described in more detail above.
[0189] Of course, it will be appreciated that during ongoing operation, the desired speed may change rapidly and in a manner that exceeds the capabilities of the motors 6, 7. In such a case, the ribbon speed may be adjusted in response to the change in substrate speed (as controlled by the spool speed). However, there may be a lag between the detected updated substrate speed and the achieved updated ribbon speed. Thus, although the actual ribbon speed is not equal to the desired spool speed, the distance the ribbon moves will not match the desired distance (which may be derived, for example, from the distance the substrate moves).
[0190] Furthermore, where the ribbon speed is adjusted in response to changes in substrate speed there may be a delay between the updated substrate speed detected and the updated ribbon speed achieved, even where any requested changes are well within the capabilities of the motors 6, 7.
[0191] Further, as described above, one motor may be able to respond to a desired speed change more quickly than the other motor, thereby resulting in an inconsistent amount of ribbon fed by the two motors.
[0192] Any difference between the actual speed of the motor and the expected speed will cause the amount of ribbon fed by the motor to deviate from the expected (or desired) amount. Therefore, during each tape delivery operation, the controller monitors the actual cumulative distance fed by each of the motors (e.g., by recording the number of steps applied to each motor). The monitored cumulative distance can be used to improve the control of the motor. For example, in the case where the motion is controlled with reference to the substrate motion (e.g., by using encoder 14), the cumulative distance moved by the substrate 12 can be monitored and regarded as the "main" distance. The cumulative distance moved by each of the reels can also be monitored and compared with the "main" distance. If any of the monitored reel distances deviates from the main distance by more than a predetermined amount, appropriate corrections can be made.
[0193] Further, as the desired speed changes during operation, the different step rates of the two motors (i.e., due to the presence of different spool sizes) result in the same speed change having different effects on the different motors. For example, a first motor with a high step rate (i.e., a small spool diameter) may "experience" a temporary speed fluctuation that a second motor with a lower step rate (i.e., a large spool diameter, and therefore, a lower speed refresh rate) does not "experience".
[0194] More generally, different step rates (due to different spool diameters) result in different effective sampling rates of the desired speed for each of the motors, and therefore different speed errors, and thus different accumulated distance errors. In situations where the desired speed fluctuates rapidly (e.g., due to a noisy substrate encoder signal), this can have a significant cumulative effect, with one motor being able to track the noise while the other cannot.
[0195] For example, during 100 mm of substrate movement, take up reel 5 may be recorded as taking up 100.1 mm of ribbon and supply reel 3 may be recorded as paying out 99.7 mm of ribbon. In this case, the total ribbon paid out is 0.4 mm less than the total ribbon taken up, which will result in increased ribbon tension.
[0196] Figure 6a An exemplary motion curve is shown, where the velocity V of the substrate REF It is shown accelerating from a first speed V1 to a second speed V2 at an acceleration rate A1. The vertical axis represents speed, and the horizontal axis represents time. Figure 6b The linear velocity V of the supply reel motor 3 is shown in SU , where the vertical axis represents speed and the horizontal axis represents time. Shortly after the substrate speed begins to increase, the supply reel speed V SU However, the supply reel motor 3 cannot accelerate at rate A1 and therefore the supply reel speed V SU The rate of increase A2 is less than the substrate speed V REF rate of increase.
[0197] Figure 6c The cumulative position error ERR1 of the supply spool motor 6 during acceleration of the supply spool 3 and substrate 12 is shown, wherein the vertical axis represents the cumulative position error and the horizontal axis represents time.
[0198] To mitigate any negative effects associated with these errors in feed distance, corrections may be applied to the motor control signals during ongoing ribbon movement (but during the same print cycle) in order to correct for the feed errors.
[0199] For example, the controller 10 may be arranged to monitor the cumulative distance fed and compare to the main distance, and if the difference exceeds a predetermined threshold, apply a correction. The correction may, for example, take the form of increasing or decreasing the target speed of the relevant spool. Thus, instead of instantaneously correcting the distance (which could potentially cause a sudden change in ribbon tension and / or ribbon positioning), a speed scaling factor is applied to the relevant motor. Furthermore, the sudden speed change may not be within the physical capabilities of the motor.
[0200] For example, a first distance error threshold T1 of ±0.1 mm may be provided. If the cumulative error exceeds this threshold T1, a first speed scaling factor S1 of 0.5% (positive or negative as required) may be applied. A similar process may be performed independently for each of the reels 3,5.
[0201] Further, if necessary, additional thresholds and corrections may be applied. For example, a second threshold T2 of ±0.33 mm may be provided, and if exceeded, a second velocity scaling factor S2 of 1.8% may be applied, and so on. As larger errors are identified, larger corrections may be required.
[0202] The threshold value (or threshold values) may be selected so as to maintain the tension within predetermined limits. That is, a particular threshold value may correspond to a tension that deviates from a nominal ribbon tension that is known to provide reliable printing performance and belt drive operation. In addition, the threshold value (or threshold values) may be selected so as to allow for unavoidable and transient errors in motor positioning to occur without correction. In particular, different motor stepping rates (due to different spool diameters) result in unavoidable differences in apparent instantaneous relative motor shaft positions throughout the ribbon movement operation. For example, while one motor may apply three steps, another motor may apply one step for the same linear distance moved. In this case, the apparent position error between the motors will fluctuate during the stepping process. However, assuming that the motors move substantially the same distance, the position error will cancel itself out over several steps. If the threshold value is set to a level that is triggered during each stepping cycle, the correction may be applied too quickly and oscillation may occur.
[0203] Of course, while the apparent motor shaft position may change immediately after each step command is issued, in practice the shaft position will change more gradually and may effectively be in continuous motion rather than moving abruptly between fixed positions.
[0204] Figure 6b and Figure 6c The effect of this correction is shown in Figure . Figure 6c As shown in FIG. 1 , during acceleration, the cumulative error ERR1 exceeds the first error threshold T1. In response, the speed of the supply reel is increased to reduce the cumulative error.
[0205] Apart from Figure 6b The speed V of the supply reel is shown in SU In addition to the curve, modify the speed curve V SU ' is also shown as a dashed line. In the modified speed curve V SU', instead of accelerating (at maximum rate A2) and stopping when reaching speed V2, the reel is accelerated (at maximum rate A2) for a longer time to reach speed V2+, which is 2% greater than speed V2. Figure 6c The modified cumulative error ERR2 is shown in FIG. Instead of remaining fixed (as with ERR1) after the acceleration has been completed, the modified cumulative error ERR2 is reduced due to the effect of the increase in the reel speed to V2+ until the error falls below the threshold value T1. Thus, the increased reel speed V2+ is maintained until the error has decreased, at which point the reel speed V SU The speed V2 to the substrate is reduced.
[0206] In some embodiments, once the error value falls below the relevant threshold level, the scaling factor may be removed. In alternative embodiments, one or more additional cut-off threshold levels may be provided. For example, where the first threshold T1 is set to ±0.1 mm, the first cut-off threshold TO1 may be set to ±0.08 mm. Similarly, where the second threshold T2 is set to ±0.33 mm, the second cut-off threshold TO2 (which triggers a switch from the second speed scaling factor S2 to the first speed scaling factor S1) may be set to ±0.12 mm.
[0207] The take up spool may be controlled in a similar manner. Further, the desired spool speed may be calculated independently of the substrate speed (e.g., where substrate speed is not provided as an input, or during intermittent printing operations). Additionally, in some embodiments, the spool speed may be generated based on substrate speed during a portion of a print cycle (e.g., during printing), and the spool speed may be generated based on a predetermined motion profile at other times (e.g., during ribbon acceleration, deceleration, and positioning / rewinding). In some embodiments, one of the motors is based on the current speed of the other motor (which is used as a reference speed V REF That is, either the supply spool motor or the take up spool motor can be operated as a "master" motor, with the other motor acting as a "follower".
[0208] References Figures 6a to 6c The control described may be performed by the ribbon feed controller 40. In particular, in order to reduce any negative effects associated with errors in ribbon positioning and tension control, the cumulative position error ERR of the supply spool may be indicated. SU and the cumulative position error ERR of the take-up reel TU The data is provided to the feed correction block 41. In this way, the accumulation of position (and associated tension) errors due to small velocity errors (and in particular small velocity errors which may each only be applied for a very short time) can be reduced.
[0209] However, it will be appreciated that even where the linear amounts of ribbon paid out by the spool 3 and taken up by the spool 5 are accurately controlled to be equal (e.g. by controlling the spool speeds as described above), any variation in the ribbon path length will cause variations in ribbon tension. For example, during a printing operation, causing the print head 11 to deflect the ribbon 2 into and out of contact with the substrate 12. The print head 11 is in a retracted position (which may be referred to as a ready to print position L ) and is not in a position to be retracted. RTP ) and the extended position (when the print head 11 is pressed against the printing surface, the extended position is also called the printing position L P ) may be approximately 2 mm and may vary between different printer configurations and installations. Thus, during a printing operation, the ribbon path length may be caused to vary by an amount that has a substantial effect on the tension in the ribbon. In addition, the deflection of the ribbon 2 by the print head 11 may result in the ribbon 2 being moved in the printing position L P The portion printed at the location is different from the portion of the ribbon 2 that is intended or expected to be printed.
[0210] Therefore, and in order to further reduce any negative consequences associated with errors in ribbon positioning and tension control, data indicative of an increase (or decrease) in ribbon path length may be provided to the feed correction block 41. Such data may be referred to as print head position data PH POS .
[0211] This data can be used to apply additional corrections to the desired supply reel speed V SU-D and the desired take-up reel speed V TU-D For example, the desired supply reel speed V may be adjusted by an additional factor SU-D and the desired take-up reel speed V TU-D Scaling is performed so that the adjusted feed speed is determined for each spool. Alternatively, the print head position data PH POS Added to the supply reel position error ERR SU and the position error ERR of the receiving reel TU That is, in anticipation of expected print head motion, the stored data indicating cumulative errors may be adjusted. In other words, the expected path length error may be added to one or more error accumulators. In this way, the processing described above (e.g., using thresholds and speed scaling factors) may be used to accommodate print head motion.
[0212] Further, in some embodiments, one or more of the threshold values and / or speed scaling factors may be modified in order to respond quickly to expected disturbances. For example, the speed scaling factor S2 associated with the second threshold level T2 may be increased based on the ribbon path length error to be added. For example, the scaling factor adjustment may be calculated based on the size of the path length adjustment to be made, the current ribbon target speed, and the expected time it will take for the print head to complete the movement. Further, the T2 turn-off level TO2 may be adjusted to prevent any overshoot. For example, if the speed scaling factor is increased, the likelihood of overshoot increases. Therefore, the threshold for the speed scaling factor to be reduced may also be increased so as to make any overshoot smaller (i.e., so that the speed scaling returns to the first speed scaling factor S1 more quickly).
[0213] For example, where the speed scaling factor S2 is large (e.g., 50%) and the ribbon speed is also quite large (e.g., 400 mm / s), the motor may need to accelerate or decelerate quickly when crossing the cut-off threshold TO2 when reverting from the second threshold to the first threshold. However, if this threshold TO2 is set to the level described above (e.g., 0.12 mm error), the adjustment will require a speed change from 50% scaled speed to 0.5% scaled speed. Furthermore, where only an error of 0.12 mm needs to be corrected at this stage, the motor will not be able to accelerate or decelerate quickly enough to reach the new target speed before the error accumulates in the opposite direction. Therefore, the second cut-off threshold TO2 may be increased in order to provide a longer period in which correction can be achieved.
[0214] It will be appreciated that the speed scaling factors S1, S2 and threshold levels T1, T2 may be initially configured to respond to the gradual accumulation of distance errors that occur during normal ribbon feeding operation. Since these errors are typically quite small in size and occur relatively slowly, the feed correction block 41 may react with small corrections over a relatively long period of time. In particular, sudden large changes in ribbon speed during printing are not typically expected or intended, as this may affect print quality and result in print size defects.
[0215] However, these concerns do not apply when the print head is retracted because the print head cannot print at this time. In addition, the scaling factor used to respond to the gradual error accumulation may not be large enough to correct the error introduced by the print head movement before the ribbon feeding is completed. Therefore, one or more of the speed scaling factors (e.g., the second speed scaling factor S2) can be adjusted to correct for the path length error that will be introduced within approximately the amount of time the print head movement is expected to take.
[0216] In some embodiments, the second threshold T2 is reduced to the same extent as the first threshold T1. In this arrangement, once the first threshold T1 (and the second threshold T2) are reached, the second speed scaling factor S2 is applied. This may be preferred in cases where any path length adjustments are small (e.g., where there is a small gap between the prepare-to-print position and the print position). For example, if no T2 adjustment is made, an error just below the level of the second threshold T2 (e.g., 0.3 mm) may only be corrected by a small (e.g., 0.5%) speed scaling factor, and may therefore take a considerable amount of time to correct. However, in cases where the error ERR is based on the required correction (e.g., the error ERR SU In the case where the second speed scaling factor S2 is adjusted by adjusting the second speed scaling factor S2 by adjusting the size of the path length, the second threshold value may also be reduced to allow the second speed scaling factor S2 to be applied more quickly. In an embodiment, if the expected path length change will cause an error between the first threshold value T1 and the second threshold value T2, the second threshold value may be adjusted to fall between the expected error and T1.
[0217] More generally, it is noted that the path length disturbances produced by step timing errors (which are gradually accumulated) are inherently different from the path length disturbances produced by print head motion (which are applied almost instantaneously). Therefore, the response to each type of path length change can be optimized for each disturbance while still using the same basic control algorithm.
[0218] It is also noted that the velocity scaling factor and threshold value may be adjusted only in the desired correction direction. For example, for a print head retract motion (which requires the removal of ribbon from the path to avoid ribbon slack), only the second threshold value and velocity scaling factor for ribbon removal are adjusted. Of course, during a print head extend motion, the opposite measures may be applied.
[0219] In some embodiments, the print head position PH is indicated POS The data may only be used for regulatory control of the supply spool motor 3. Such control may be considered to reduce the likelihood of rapid tension changes being induced between the take-up spool 5 and the printhead 11 which may have an adverse effect on the ribbon peel angle and hence print quality.
[0220] Of course, it will be appreciated that during each printing operation the print head will be brought into contact with the printing surface and then out of contact with the printing surface. Thus, during a single printing cycle, both positive and negative adjustments to the ribbon path length may be made (e.g., via position error ERR of the supply spool). SU to make adjustments).
[0221] Furthermore, given the high speeds at which steps may be applied to the motors 6, 7 (e.g., at step rates up to several kilohertz or even tens of kilohertz), it is possible that print head movement will continue for more than a single step. That is, print head movement may span several motor steps. Indeed, in some embodiments, print head movement may take about 10 ms, which may span, for example, 500 belt drive motor steps.
[0222] Thus, in some cases, the print head position data PH may be modified across several steps. POS , so as to provide accurate and up-to-date information about the actual ribbon path length at each point in time (rather than assuming that print head motion is instantaneous). In this way, any speed adjustment made by the ribbon feed correction block 41 can be distributed over several motor steps.
[0223] However, in the preferred embodiment, it is assumed that the print head movement is instantaneous, on the basis that the maximum acceleration of the motors 6, 7 may limit the rate at which the tape drive can respond, and therefore the response to print head position movement will be distributed over a number of steps due to the finite acceleration. In this arrangement, the path length error is added to the error accumulator as soon as print head movement begins.
[0224] If the path length error is incremental (e.g., based on detected print head position), it is likely that there will be a significant delay during the initial portion of print head motion while the error value accumulates, thereby delaying any corrective response. However, it will be noted that if a ribbon motor is provided that is capable of achieving a higher acceleration rate, and therefore capable of responding to errors more quickly, the path length adjustment block may preferably use the print head position data directly (rather than anticipating path length changes).
[0225] The print head position data PH may be generated in any suitable manner. POS For example, the print head position data PH may be generated with reference to the motor 29 that controls the movement of the print head 11. POS In particular, the print head position data PH may be generated by monitoring the steps applied by the motor 29. POS Alternatively, the print head movement data may be generated with reference to an encoder 36 associated with the motor 29. For example, it may be assumed that any movement of the motor shaft 29a will correspond to movement of the print head 11.
[0226] Further, as discussed above, given the relationship between the motor 25 and the printhead assembly (ie, the motor 25 is coupled to the printhead carriage 21 via the belt 27), movement of the motor 25 also has an effect on the position of the printhead relative to the printing surface.
[0227] In general therefore, it will be appreciated that at any point in time the position of the print head 11 can be determined by reference to the motors 29 and 25. That is, for a given angular position of the motor shafts 25a, 29a, there are predictable angles of the arms 33, 34 and therefore a predictable position of the print head 11 relative to the body of the printer 1.
[0228] However, in use, the position of the print surface 13 relative to the body of the printer 1 may vary. In some prior art printers, it is known to program a nominal platen separation by the user during printer configuration. However, such a process may be inherently unreliable. Furthermore, even if the initial platen separation is accurate, construction variations may occur, causing the nominal separation to become inaccurate.
[0229] Therefore, for a number of reasons, it is desirable to RTP A more accurate indication of the gap between the print head 11 and the print surface 13 is provided to the printer controller 10 when printing. This data can be used to adjust the control of the motors 6, 7 as described above, thereby controlling the movement of the ribbon between the spools. Alternatively or additionally, this data can be used to allow more accurate tracking of the ribbon area used for printing.
[0230] A process by which the platen gap and print head position during a printing operation are accurately estimated will now be described.
[0231] By monitoring the power supplied to the motor driving the print head (and therefore the torque applied by the motor), the point at which the print head makes contact with the printing surface can be monitored. However, it has been recognised that during a printing operation there may be an error between the position of the print head 11, which is determined solely by reference to the point at which the print head 11 makes contact with the printing surface as indicated by the motor controlling the movement, and the actual deflection of the ribbon 2. For example, the print position L is calculated based solely on the position of the motor shaft 29a. P This may result in an overestimation of the extension of the print head 11. It will be appreciated that various belts and mechanical linkages, as well as inherent flexibility within the print surface (eg, print roller) may contribute to such errors.
[0232] Thus, it has been recognised that by applying a negative offset to the apparent printhead position, a more accurate representation of the ribbon deflection can be achieved. This offset can be empirically determined to provide an estimate of the print position L. P Additionally, the offset can vary based on print force and other configuration changes (e.g., changes to the print roller).
[0233] You can refer to Figures 7a to 7c to understand the various positions of the print head.
[0234] Figure 7a Schematically shows the printing position L RTP The print head 11 is positioned in the print position L, which is spaced from the printing surface 13 (in this case, the platen roller). It can be seen that the ribbon 2 is in contact with the print head 11 and is guided to the downstream edge of the print head by the roller 20. However, the print head 11 is spaced from the printing position L P Spaced apart.
[0235] Figure 7b The print head 11 is shown in a position in which it has been moved towards the printing surface 13 and is exactly in the printing position L P At the point where contact is made with the printing surface 13. However, in this configuration, very little force is applied to the printing surface 13 by the print head 11.
[0236] Figure 7c The apparent position PH of the print head 11 is shown. POS-APPARENT , as indicated by the encoder 36 associated with the motor 29. It can be seen that the apparent position of the tip of the print head 11 exceeds the surface of the printing surface 13. In fact, the actual position of the print head 11 will be substantially at the printing position L P The printer is in contact with the print surface 13 at a certain position and is in firm contact with the print surface 13, so that there may be some deflection of the print surface 13. However, as briefly discussed above, there may also be deflections in other components of the printer that contribute to the apparent (PH) during printing. POS-APPARENT ) print head position and actual (PH POS ) The difference between the print head positions.
[0237] Now refer to Figure 8 Describes a process by which print head position data PH is generated POS .
[0238] At step S101, the actual printing position L is initialized. P-ACTUAL The process proceeds to step S102, where the print head 11 is driven toward the printing surface 13 by the motor 29. During this movement, the motor 25 remains fixed so as to prevent any movement of the carriage 21 along the linear track 23 in a direction parallel to the printing surface 13. During this movement of the print head, the motor 29 can be controlled to deliver a maximum torque corresponding to a predetermined printing force applied to the printing surface 13.
[0239] During the print head movement at step S102, the encoder 36 associated with the motor 29 is monitored. Once the encoder output value PHENC Stop changing, the process goes to step S103, the encoder output value PH ENC The cessation of change indicates that an equilibrium (ie, substantially fixed) position has been reached, wherein a predetermined printing force is exerted by the print head 11 on the print surface 13 .
[0240] It will be appreciated that the encoder 36 may rarely be completely stationary. Thus, a low pulse rate may be detected and considered to indicate that an equilibrium position has been reached. In addition, a processing delay may be inserted prior to monitoring the encoder output at step S102 to account for any system latency (e.g., a delay after a move command is generated and before the encoder value begins to change).
[0241] At step S103, the encoder value PH at the equilibrium position is ENC Stored as the apparent print position L P-APPARENT . Apparent printing position L P-APPARENT is the encoder position that indicates the apparent position of the print position.
[0242] It will be appreciated that, subsequently, reference is made to the known angular position of the output shaft 25a of the motor (as determined by the encoder data PH ENC / L P-APPARENT The apparent print position (in terms of the physical positions of other components of the reference printer) can be generated based on the known geometry of the printer (e.g., the position of the belts 27, 31, the length and alignment of the arms 33, 34, etc.). This conversion can be performed at any suitable time as needed, for example by reference to a lookup table containing a known relationship between the encoder value and the actual print head position.
[0243] Then, the process proceeds to step S104, where the apparent printing position L is set to P-APPARENT Compare with reference data to determine the apparent printing position L P-APPARENT Is it within the acceptable range (for example, 0 mm to 5 mm paper gap). Of course, at the apparent printing position L P-APPARENT In the case of an encoder value, data indicating an acceptable range may be provided based on the encoder value corresponding to the acceptable physical position. If the value is not within the acceptable range, the user is alerted to a fault at step S105.
[0244] If the apparent printing position L P-APPARENT If the print position L is within the acceptable range, the process proceeds to step S106, where the print position L is P-APPARENT Subtract the predetermined offset value PH OFF That is, an offset is applied so that the apparent print position L as determined by the angular position of the encoder 36 (and hence the motor shaft 29a) is P-APPARENTis adjusted so as to correspond to an earlier position in the movement of the print head 11 towards the print surface 13. The offset value PH OFF It can be a number of encoder pulses. The resulting position can be called the actual printing position L P-ACTUAL .
[0245] It will be appreciated that when the print head 11 makes contact with the print surface 13, the print surface 13 may be compressed. In addition, the bands 27, 31 may flex in a direction perpendicular to the direction of travel of the ribbon 2 and substrate 12. Such flexure will result in some rotation of the motor 29a not being transferred to movement of the print head. In addition, once contact has been made between the print head 11 and the print surface 13, the movement of the ribbon in the print position L may be reduced due to the friction between the various surfaces. P The movement of the part will be restricted to a certain extent.
[0246] It has been observed that by applying an empirically determined offset to the apparent print position L when the motor 29 stops rotating, P-APPARENT To generate the actual printing position L P-ACTUAL Data can be obtained for the print position L P , which more accurately reflects the actual ribbon deflection during printing operations.
[0247] Once the actual printing position L has been determined P-ACTUAL , the process proceeds to step S107, where the data is stored for subsequent use.
[0248] For each subsequent print head movement (eg, during a printing operation), the process of steps S102 to S107 is repeated, and the actual printing position L is updated for each movement of the print head into contact with the printing surface 13. P-ACTUAL For example, instead of simply relying on a single measurement, the actual print position data L P-ACTUAL The print position L may be based on an average of a plurality (eg, ten) of previous print head movements. In this way, the print position L during an ongoing printing operation may be monitored. P any changes.
[0249] During the printing operation, the actual printing position data L may be used multiple times. P-ACTUAL For example, the actual printing position L P-ACTUAL The ribbon feed controller 40 is transmitted as the print head position data PH POS (As mentioned above Figure 5 The print head position data PH may be obtained by reference to a look-up table stored in memory.POS Generates the actual variable path length (i.e., distance in mm). The lookup table may include the ready print position L RTP and the actual printing position L P-ACTUAL The path length value of the encoder value (i.e., PH POS The data) is used to index the lookup table. For each print head position change, the corresponding change in path length can therefore be calculated.
[0250] However, it will be appreciated that during movement of the print head, the print head position will vary and therefore will not always be equal to the actual print position L. P-ACTUAL .
[0251] Reference now Fig. 9 The process performed by the controller 10 to generate the appropriate print head position PH POS To be provided to the ribbon feed controller 40.
[0252] At step S110, the current print head encoder value PH is obtained. ENC The process proceeds to step S111 where the value is converted into the apparent print head position PH POS-APPARENT In an embodiment, the apparent print head position PH POS-APPARENT is simply the encoder value. Alternatively, in other embodiments, the apparent print head position PH POS-APPARENT It can be a physical position and can refer to a lookup table storing position information or by processing the current encoder value PH ENC However, in the described embodiment, the conversion from encoder value to actual distance is performed at a different processing step (eg, within the ribbon feed controller 40).
[0253] Note that at the encoder output value PH ENC Stop change point, apparent print head position PH POS-APPARENT The value will be equal to the apparent printing position L generated at step S106 P-APPARENT However, despite the apparent printing position L P-APPARENT The values represent a single position, but the apparent print head position PH POS-APPARENT A value is a continuously changing quantity.
[0254] The process then proceeds to step S112 where the apparent print head position is POS-APPARENT The actual printing position L currently stored P-ACTUAL (as generated in step S107) is compared. If the current apparent print head position PH POS-APPARENT Less than the actual printing position L stored P-ACTUALvalue, the current position data item is used as the indication of the print head position PH POS That is, if the apparent print head position PH POS-APPARENT Indicates that the print head 11 has not yet reached the printing position L P , the process goes to step S113, where the apparent print head position PH POS-APPARENT Used to indicate the print head position PH in subsequent processing POS data.
[0255] On the other hand, if the apparent print head position PH POS-APPARENT Greater than the stored actual printing position L P-ACTUAL , the process goes to step S114, where the stored actual printing position L is P-ACTUAL Used to indicate the print head position PH POS data.
[0256] In this way, the actual printing position L is obtained and maintained during the ongoing printing operation. P-ACTUAL The actual printing position L P-ACTUAL Corresponds to the encoder value indicating the paper pressing interval (the paper pressing interval is the value to be set by the print head in the ready-to-print position L RTP With print position L P distance moved between them).
[0257] Furthermore, by using an offset value, various system flexibilities are taken into account which may otherwise cause the apparent print position L P-APPARENT The actual printing position L P-ACTUAL The difference between.
[0258] Furthermore, during the ongoing movement of the print head, the apparent print head position PH POS-APPARENT and the actual printing position L P-ACTUAL The smaller of the two is passed to the ribbon feed controller 40 (or other function within the printer controller 10) as the indicative print head position PH POS This allows actual data to be used when the print head is in a free space position (ie when it is not in contact with the print surface 13), but more robust offset and average print head position data L is used when the print head is pressed against the print surface 13. P-ACTUAL .
[0259] In this manner, accurate and robust data is provided to the various functions of the printer controller 10 as needed, thereby allowing accurate ribbon control and more accurate tracking of ribbon areas used for printing.
[0260] Where reference has been made herein to stepper motors, it will be appreciated that motors other than stepper motors may be used in alternative embodiments. In fact, a stepper motor is an example of a class of motors known as position-controlled motors. A position-controlled motor is a motor that is controlled by a desired output rotational position. That is, the output position may be varied as required, or the output rotational rate may be varied by controlling the speed at which the desired output rotational position is changed. A stepper motor is an open-loop position-controlled motor. That is, the stepper motor is supplied with an input signal relating to a desired rotational position or rotational rate, and the stepper motor is driven to achieve the desired position or rate.
[0261] Some position controlled motors are provided with an encoder which provides a feedback signal indicative of the actual position or velocity of the motor. This feedback signal can be used to generate an error signal by comparison with the required output rotational position (or velocity), which is used to drive the motor to minimize the error. A stepper motor provided with an encoder in this way can form part of a closed loop position controlled motor.
[0262] An alternative form of closed loop position controlled motor comprises a DC motor provided with an encoder. The output from the encoder provides a feedback signal from which, when compared with the required output rotational position (or rate), an error signal can be generated which is used to drive the motor to minimize the error.
[0263] It will be appreciated from the foregoing that various position controlled motors are known and may be employed in embodiments of the printing apparatus. It will also be appreciated that in yet further embodiments, a conventional DC motor may be used.
[0264] Although various disclosures herein describe two tape reels each being driven by a respective motor, it will be appreciated that in alternative embodiments, the tape may be fed between the reels in a different manner. For example, a capstan roller may be used between the two reels. Additionally or alternatively, the supply reel may be arranged to provide mechanical resistance to the movement of the tape, thereby generating tension in the tape.
[0265] Generally speaking, the ribbon is caused to advance between the spools in a controlled manner so as to allow a predetermined ribbon portion to be provided at a printing position and / or imaging position at a particular point in time (e.g., during a printing and / or imaging operation). The techniques described above in relation to motor control compensation based on printhead position data may be applied to a belt drive comprising a single motor or to a single motor of a belt drive.
[0266] The terms ribbon and tape are used interchangeably. For example, where the described technology is applied to a transfer printer (such as a thermal transfer printer), the tape may be a ribbon. However, it will be understood that the tape drive control techniques described herein may also be applied to tape drives for conveying other forms of tape.
[0267] The controller 10 has been described in the foregoing description (particularly with reference to Figure 4 ). It will be appreciated that the various functions attributed to the controller 10 may be implemented by a single controller or by separate controllers, where appropriate. It will also be appreciated that each of the described controller functions may itself be provided by a single controller device or by a plurality of controller devices. Each controller device may take any suitable form, including an ASIC, FPGA, or microcontroller that reads and executes instructions stored in a memory to which the controller is connected.
[0268] The described and illustrated embodiments are to be considered illustrative rather than restrictive in nature, and it will be understood that only the preferred embodiments have been shown and described, and that protection is desired for all changes and modifications that come within the scope of the invention as defined in the claims. With respect to the claims, it is intended that when words such as "a," "an," "at least one," and "at least a portion" are used as preambles to features, it is not intended to limit the claims to only one such feature unless specifically stated to the contrary in the claim. When the language "at least a portion" and / or "a portion" is used, the item may include a portion and / or the entire item unless specifically stated to the contrary.
Claims
1. A method of controlling a motor in a belt drive to cause movement of a belt, the method comprising: generating a control signal for the motor to cause the motor to rotate to cause belt movement, the control signal being generated based on a target belt movement and a predetermined characteristic of the motor; receiving first data indicative of updated target belt movement at a first plurality of times during the movement; receiving second data indicative of the generated control signal at a second plurality of times during the motion; determining a relationship between the first data and the second data; as well as An additional control signal for the motor is generated based on the determined relationship to cause additional belt movement.
2. The method according to claim 1, wherein: Determining a relationship between the first data and the second data includes: generating data indicating a difference between the first data and the second data; and comparing the generated difference to a predetermined threshold.
3. The method according to claim 1 or 2, wherein: Generating the further control signal for controlling the motor based on the determined relationship comprises: If the determined relationship satisfies a predetermined criterion, generating a first control signal; and If the determined relationship does not satisfy the predetermined criterion, a second control signal is generated.
4. The method according to claim 3, wherein: During said further belt movement, said first control signal causes said motor to rotate at a first motor angular velocity; as well as During the further belt movement, the second control signal causes the motor to rotate at a second motor angular velocity.
5. The method according to claim 3, wherein: The first control signal is based on the target belt motion, the predetermined characteristic of the motor, and a speed scaling factor.
6. The method according to claim 1 or 2, wherein: Determining a relationship between the first data and the second data includes generating data indicating a cumulative difference between the first data and the second data.
7. The method according to claim 1 or 2, wherein: Generating the control signal for the motor to cause the motor to rotate to induce belt movement includes generating a plurality of pulses, each pulse configured to cause the motor to rotate a predetermined angular amount.
8. The method according to claim 7, wherein: A time to generate each of the plurality of pulses is determined based on a target motor speed.
9. The method according to claim 1 or 2, wherein: The predetermined characteristic of the motor comprises data indicative of permitted further control signals for the motor.
10. The method according to claim 1 or 2, wherein: Generating the further control signal for the motor comprises: receiving data indicative of said updated target band motion; obtaining data indicative of a permitted further control signal for the motor based on the data indicative of the updated target belt motion and the data indicative of the control signal; and The control signal is generated based on the granted further control signal for the motor.
11. The method according to claim 1 or 2, wherein: The predetermined characteristic of the motor is based on data indicative of the diameter of a spool of tape mounted on the spool driven by the motor.
12. The method according to claim 1 or 2, wherein: The first data includes a plurality of first data items, each first data item indicating a target linear belt motion; The second data includes a plurality of second data items, each second data item indicating a distance moved by the motor; and The relationship is based on the plurality of first data items and the plurality of second data items.
13. The method according to claim 1 or 2, further comprising: receiving, during said further belt movement, further first data items and further second data items; as well as Based on the further first data item and the further second data item, a second further control signal is generated for controlling the motor during a second further belt movement.
14. The method according to claim 1 or 2, wherein: conveying a tape between a first tape spool and a second tape spool along a tape path, the tape path having a first length during movement of the tape; and The relationship is also based on data indicative of a change in length of the tape path.
15. The method according to claim 14, wherein: The first control signal is based on the target belt motion, the predetermined characteristic of the motor, and a speed scaling factor, wherein the speed scaling factor is generated based on the data indicative of a change in length of the belt path.
16. The method according to claim 14, wherein: Determining the relationship between the first data and the second data includes: generating data indicating a difference between the first data and the second data; and comparing the generated difference with a predetermined threshold, wherein the predetermined threshold is modified based on the data indicating a change in the length of the belt path.
17. The method according to claim 1 or 2, wherein: Generating the control signal for the motor to cause the belt to move is intended to cause the belt to move a predetermined distance.
18. The method according to claim 1 or 2, wherein: Generating the control signal for the motor to cause the belt movement and generating the further control signal for the motor to cause the further belt movement together are intended to cause the belt to move the predetermined distance.
19. The method according to claim 1 or 2, wherein: the belt drive being a belt drive of a transfer printer, the belt being an inked ribbon, the transfer printer including a print head for selectively transferring ink from the ribbon to a substrate conveyed along a predetermined path adjacent the printer, the print head being displaceable toward and away from the predetermined substrate path; and The relationship is also based on data indicative of the position of the print head.
20. The method according to claim 19, wherein: The first data indicative of updated target belt motion includes data indicative of motion of the substrate along the predetermined path adjacent the printer.
21. A transfer printer configured to transfer ink from a printer ribbon to a substrate conveyed along a predetermined substrate path adjacent to the printer, the transfer printer comprising: a ribbon drive for conveying the ribbon between the first ribbon spool and the second ribbon spool along the ribbon path, the ribbon drive comprising two ribbon drive motors, two ribbon spool supports on which the spools of ribbon are mountable, each spool being drivable by a respective one of the motors; a print head displaceable toward and away from the predetermined substrate path and arranged to contact one side of the ribbon during printing to press an opposite side of the ribbon into contact with a substrate on the predetermined substrate path and with a printing surface; a monitor arranged to generate an output indicative of movement of the print head relative to the print surface; as well as A controller is arranged to generate data indicative of the position of the print head based on the output and further data indicative of the position of the print head.
22. A belt drive for conveying a belt along a belt path between a first belt reel and a second belt reel, the belt drive comprising two belt drive motors, two belt reel supports on which the reels of belt are mountable, and a controller, wherein: Each reel is drivable by a respective one of the motors, the controller being arranged to: generating a control signal for at least one of the belt drive motors to cause the motor to rotate to cause belt motion, the control signal being generated based on a target belt motion and a predetermined characteristic of the motor; receiving first data indicative of updated target belt movement at a first plurality of times during the movement; receiving second data indicative of the generated control signal at a second plurality of times during the motion; determining a relationship between the first data and the second data; as well as An additional control signal for the motor is generated based on the determined relationship to cause additional belt movement.
23. A transfer printer configured to transfer ink from a printer ribbon to a substrate conveyed along a predetermined substrate path adjacent to the printer, the transfer printer comprising: The tape drive of claim 22, wherein the tape is an inked ribbon; A print head is displaceable towards and away from the predetermined substrate path and is arranged to contact one side of the ribbon during printing to press an opposite side of the ribbon into contact with a substrate on the predetermined substrate path and with a printing surface.
24. A transfer printer according to claim 23, further comprising a monitor arranged to generate an output indicative of movement of the print head relative to the print surface, wherein The controller is arranged to generate data indicative of the position of the print head based on the output and further data indicative of the position of the print head.
25. A computer readable medium carrying a computer program comprising computer readable instructions arranged to implement the method according to any one of claims 1 to 20.
