CN116945771B - Thermal transfer printer, ribbon tension adjustment method, and storage medium - Google Patents

Thermal transfer printer, ribbon tension adjustment method, and storage medium Download PDF

Info

Publication number
CN116945771B
CN116945771B CN202311160533.1A CN202311160533A CN116945771B CN 116945771 B CN116945771 B CN 116945771B CN 202311160533 A CN202311160533 A CN 202311160533A CN 116945771 B CN116945771 B CN 116945771B
Authority
CN
China
Prior art keywords
motor
control module
processing module
printing
ribbon
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311160533.1A
Other languages
Chinese (zh)
Other versions
CN116945771A (en
Inventor
贾小涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Dikai Coding Industry Co ltd
Original Assignee
Shanghai Dikai Coding Industry Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Dikai Coding Industry Co ltd filed Critical Shanghai Dikai Coding Industry Co ltd
Priority to CN202311160533.1A priority Critical patent/CN116945771B/en
Publication of CN116945771A publication Critical patent/CN116945771A/en
Application granted granted Critical
Publication of CN116945771B publication Critical patent/CN116945771B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/315Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns

Abstract

The invention discloses a thermal transfer printer, a ribbon tension adjusting method and a storage medium, wherein the thermal transfer printer comprises the following steps: the device comprises a processing module, a motor control module, a printing head motor, a printing head, a winding motor and an unwinding motor. The motor control module and the printing control module are connected with the processing module, the motor control module is also respectively connected with the printing head motor, the winding motor and the unwinding motor, and the printing control module is also connected with the printing head; the printing head motor is also connected with the printing head; the winding motor is used for controlling the rotation of the ribbon winding core, and the unwinding motor is used for controlling the rotation of the ribbon unwinding core. The processing module can adjust the tension of the ribbon according to the back electromotive force in the reversing process of the unreeling motor. The thermal transfer printer provided by the invention reduces the design complexity of the thermal transfer printer, reduces the volume of the thermal transfer printer and reduces the cost, and can realize the accurate control of the tension of the ribbon.

Description

Thermal transfer printer, ribbon tension adjustment method, and storage medium
Technical Field
The present invention relates to the field of printers, and in particular, to a thermal transfer printer, a ribbon tension adjustment method, and a storage medium.
Background
Along with the rapid development of information technology in China and the continuous expansion and deep development of the application field of computers, the printing requirements of people on high-speed and high-quality output are increasingly larger, and the traditional printing mode on the market is difficult to meet the omnidirectional requirements of users in the aspects of price, printing quality, printing speed and the like.
The thermal transfer printing technology simply uses a special thermal transfer printing carbon belt (also called a color belt) to transfer the carbon powder coating on the thermal transfer printing carbon belt to paper or other kinds of materials in a heating way through the working principle similar to a fax printing head. The coating material on the thermal transfer carbon belt can be selected according to the needs, so that stronger adhesive force can be generated, and the selection of printing media can further ensure that the printed handwriting is not influenced by the outside, and different printing products can be manufactured on site according to the needs.
The thermal transfer printing carbon belt used in the thermal transfer printing technology adopts a high-strength ultrathin film and high-concentration ink and adopts a single-use mode, so that the quality of printed characters is high, the service life of the carbon belt is long, and the defects of ink-jet feathering, easy water dissolution and the like are overcome. The thermal transfer printing method has no requirement on printing media, and can realize high-definition printing on common paper, regenerated paper, waxed paper, common film, envelope and label paper up to cloth.
However, a significant technical problem is encountered in the use of the thermal transfer ribbon, namely, the thermal transfer ribbon must maintain a certain tension at both the winding and unwinding ends during printing. Therefore, the printing head can print smoothly without wrinkles. If the tension is too high, the ribbon is pulled off during printing; however, if the tension is too small, the ribbon becomes loose, has wrinkles, and printed images or characters are incomplete, so that the printing effect is affected.
Currently, ribbon tension can be controlled by: the detection and swing mechanism is added, or a tension sensor is added.
However, the above-mentioned manner increases the complexity of the overall design of the thermal transfer printer, so that the thermal transfer printer becomes bulky, and the overall cost is increased.
Disclosure of Invention
The invention provides a thermal transfer printer, a ribbon tension adjusting method and a storage medium, which are used for solving the technical problems of high complexity, large volume and high cost of the whole design of the conventional thermal transfer printer.
According to an aspect of the present invention, there is provided a thermal transfer printer including: the device comprises a processing module, a motor control module, a printing head motor, a printing head, a winding motor and an unwinding motor;
Wherein the motor control module and the printing control module are connected with the processing module, the motor control module is also respectively connected with the printing head motor, the winding motor and the unwinding motor, and the printing control module is also connected with the printing head; the printing head motor is also connected with the printing head; the winding motor is used for controlling the rotation of the ribbon winding core, and the unwinding motor is used for controlling the rotation of the ribbon unwinding core; the color ribbon is wound between the color ribbon winding core and the color ribbon unwinding core;
the processing module sends printing position information to the motor control module so that the motor control module controls the printing head motor to move the printing head to a target position indicated by the printing position information;
the processing module sends printing content information to the printing control module so that the printing control module controls the printing head to emit heat at the target position according to the printing content information;
when the processing module determines that printing is finished, a reversing signal is sent to the motor control module so that the motor control module controls the winding motor to reverse and controls the unwinding motor to reverse;
The processing module acquires back electromotive force in the reversing process of the unreeling motor from the motor control module, and controls the reversing rotating speed of the reeling motor and/or the reversing rotating speed of the unreeling motor according to the back electromotive force of the unreeling motor so as to adjust the tension of the ribbon.
According to another aspect of the present invention, there is provided a ribbon tension adjustment method applied to the thermal transfer printer according to the above aspect, the method comprising:
the processing module sends printing position information to the motor control module so that the motor control module controls the printing head motor to move the printing head to a target position indicated by the printing position information;
the processing module sends printing content information to the printing control module so that the printing control module controls the printing head to emit heat at the target position according to the printing content information;
when the processing module determines that printing is finished, a reversing signal is sent to the motor control module so that the motor control module controls the winding motor to reverse and controls the unwinding motor to reverse;
the processing module acquires back electromotive force in the reversing process of the unreeling motor from the motor control module, and controls the reversing rotating speed of the reeling motor and/or the reversing rotating speed of the unreeling motor according to the back electromotive force of the unreeling motor so as to adjust the tension of the ribbon.
According to yet another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute the ribbon tension adjustment method according to any one of the embodiments of the present invention.
The technical scheme of the embodiment of the invention comprises the following steps: the device comprises a processing module, a motor control module, a printing head motor, a printing head, a winding motor and an unwinding motor. Wherein, the motor control module and the printing control module are connected with the processing module, the motor control module is also respectively connected with the printing head motor, the winding motor and the unwinding motor, and the printing control module is also connected with the printing head; the printing head motor is also connected with the printing head; the winding motor is used for controlling the rotation of the ribbon winding core, and the unwinding motor is used for controlling the rotation of the ribbon unwinding core; the ribbon is wound between the ribbon winding core and the ribbon unwinding core. The processing module can control the winding motor and the unwinding motor to reversely rotate after determining that the printing is finished, acquire back electromotive force in the reverse rotation process of the unwinding motor, and control the reverse rotation speed of the winding motor and/or the reverse rotation speed of the unwinding motor according to the back electromotive force of the unwinding motor so as to adjust the tension of the ribbon. On one hand, no extra component is needed for ribbon tension adjustment, so that the design complexity of the thermal transfer printer is reduced, the volume of the thermal transfer printer is reduced, and the cost is reduced; on the other hand, in the ribbon adjusting process, the unreeling motor and the reeling motor are controlled to rotate reversely, so that ribbon waste caused by unreeling the ribbon but not printing in the tension adjusting process is avoided, and the cost is further reduced; on the other hand, the ribbon tension adjustment is performed according to the back electromotive force in the rewinding process of the unwinding motor, and the back electromotive force in the rewinding process of the unwinding motor can reflect the relation with the ribbon tension, so that the accuracy of the ribbon tension adjustment method in the embodiment is high.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a thermal transfer printer according to an embodiment of the present invention;
FIG. 2 is a schematic diagram showing a structure of a motor control module in a thermal transfer printer according to an embodiment of the present invention;
FIG. 3 is a schematic view showing a configuration of a print control module in a thermal transfer printer according to an embodiment of the present invention;
FIG. 4 is a schematic view of a process module in a thermal transfer printer according to an embodiment of the present invention;
fig. 5 is a flowchart of a ribbon tension adjustment method according to an embodiment of the invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a schematic structural view of a thermal transfer printer according to an embodiment of the present invention. The embodiment provides a thermal transfer printer, which is suitable for a scene of thermal transfer printing and ribbon tension adjustment based on the thermal transfer printer. As shown in fig. 1, the thermal transfer printer provided in this embodiment includes: a processing module 11, a motor control module 12, a print control module 13, a printhead motor 14, a printhead 15, a wind-up motor 16, and a wind-down motor 17.
The motor control module 12 and the print control module 13 are connected with the processing module 11. The motor control module 12 is also connected to a printhead motor 14, a wind-up motor 16, and an unwind motor 17, respectively. The print control module 13 is also connected to a printhead 15. The printhead motor 14 is also connected to a printhead 15. The winding motor 16 is used to control the rotation of the ribbon winding core. The unreeling motor 17 is used for controlling the rotation of the ribbon unreeling core. The ribbon is wound between the ribbon winding core and the ribbon unwinding core.
The processing module 11 sends the printing position information to the motor control module 12 so that the motor control module 12 controls the printhead motor 14 to move the printhead 15 to the target position indicated by the printing position information.
The processing module 11 sends the print content information to the print control module 13 so that the print control module 13 controls the printhead 15 to generate heat at the target position according to the print content information.
When the processing module 11 determines that printing is finished, a reversing signal is sent to the motor control module 12 to cause the motor control module 12 to control the winding motor 16 to reverse and the unwinding motor 17 to reverse.
The processing module 11 obtains the back electromotive force in the process of reversing the unreeling motor 17 from the motor control module 12, and controls the reversing rotation speed of the reeling motor 16 and/or the reversing rotation speed of the unreeling motor 17 according to the back electromotive force of the unreeling motor 17 so as to adjust the tension of the ribbon.
Alternatively, the processing module 11 in this embodiment may be a digital signal processing module (Digital Signal Processor, abbreviated as DSP) for implementing man-machine interface control. More specifically, the DSP in this example may also be a 32-bit DSP.
In one implementation, the DSP may employ 56F82746 with a total of 48 pins including a 100MHz main frequency, a 64KB program memory (FLASH), an 8K data memory (SRAM), 12 exportable pulse width modulation (Pulse Width Modulation, abbreviated PWM) channels, and a serial peripheral interface (Serial Peripheral Interface, abbreviated SPI) bus.
The processing module 11 may also be in communication with a motor control module 12 and a print control module 13. The processing module 11 communicates with the motor control module 12 via an SPI bus and with the print control module 13 via a parallel bus.
The processing module 11 in this embodiment may further be provided with a secure digital (Secure Digital Memory, abbreviated as SD) card interface. An SD card is built in based on an SD card interface and is used as a storage medium for printing information. The print information in the present embodiment may include print position information and print content information. The print information may be stored in the SD card in the form of a file to improve the security of the print information. A memory may also be provided in the processing module 11. Such as at least one of a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or charged erasable programmable read-only memory (EEPROM). When the memory in the processing module 11 is an EEPROM, a power-off saving function of important data can be realized.
The motor control module 12 in this embodiment can control the printhead motor 14, the wind-up motor 16, and the unwind motor 17. The motor control module 12 in this embodiment can effect movement of the printhead 15 by controlling the printhead motor 14. The motor control module 12 can also measure the back electromotive force of the unreeling motor 17 and control the reversing rotation speed of the reeling motor 16 and the unreeling motor 17 under the control of the processing module 11 so as to realize the adjustment of the tension of the ribbon. Illustratively, the motor control module 12 is coupled to a printhead motor 14, a wind-up motor 16, and an unwind motor 17 via input/output (I/O) ports, respectively.
Optionally, the motor control module 12 in this embodiment has an SPI bus through which communication with the processing module 11 is achieved.
Alternatively, the motor control module 12 in the present embodiment may include: the device comprises a printing head motor control module, a winding motor control module and an unwinding motor control module. The printing head motor control module is respectively connected with the processing module and the printing head motor. The winding motor control module is respectively connected with the processing module and the winding motor. The unreeling motor control module is connected with the processing module and the unreeling motor respectively.
Fig. 2 is a schematic structural view of a motor control module in a thermal transfer printer according to an embodiment of the present invention. One possible implementation of the printhead motor control module, the wind-up motor control module, and the unwind motor control module is shown in fig. 2. As shown in fig. 2, the printhead motor control module includes: the first motor driving chip 121 and the first multiplexing driving chip 122.
The first motor driving chip 121 is connected to the processing module 11 and the first multiplexing driving chip 122, respectively. The first multiplexing chip 122 is also coupled to the printhead motor 14.
The printhead motor 14 in this embodiment is connected to the printhead 15 by a mechanical lever.
As shown in fig. 2, the winding motor control module includes: the second motor driving chip 123 and the second multiplexing driving chip 124.
The second motor driving chip 123 is connected to the processing module 11 and the second multiplexing driving chip 124, respectively. The second multiplexing drive chip 124 is also connected to the wind-up motor 16.
The winding motor 16 in this embodiment is connected to the ribbon winding core 21 by a mechanical lever.
As shown in fig. 2, the unreeling motor control module includes: a third motor driving chip 125 and a third multiplexing driving chip 126.
The third motor driving chip 125 is connected to the processing module 11 and the third multiplexing driving chip 126, respectively. The third multiplexing drive chip 126 is also connected to the unreeling motor 17.
The unwind motor 17 in this embodiment is connected to the ribbon unwind core 22 by a mechanical lever.
In one implementation, the first motor driving chip 121, the second motor driving chip 123, and the third motor driving chip 125 may be an ADI TMC26x. The ADI TMC26x has 44 pins and an SPI bus. The second motor driving chip 123 in this embodiment may measure the back electromotive force during the rotation of the winding motor through the second multiplexing driving chip 124, and send the measured back electromotive force to the processing module 11. The third motor driving chip 125 in this embodiment may measure the back electromotive force during the rotation of the unreeling motor through the third multiplexing driving chip 126, and send the measured back electromotive force to the processing module 11.
The first multiplexing chip 122, the second multiplexing chip 124, and the third multiplexing chip 126 may be specifically 74HC244.
As shown in fig. 2, the first motor driving chip 121, the second motor driving chip 123 and the third motor driving chip 125 may input signals to the processing module 11 and receive output signals of the processing module 11 to implement bidirectional communication with the processing module 11.
Alternatively, the printhead motor 14, the wind-up motor 16, and the unwind motor 17 may be two-phase motors. The first multiplexing driving chip 122, the second multiplexing driving chip 124 and the third multiplexing driving chip 126 are connected with the corresponding motors through an a-phase interface and a B-phase interface respectively.
Alternatively, the winding motor 16 and the unwinding motor 17 may be stepper motors.
The implementation of the motor control module shown in fig. 2 can improve the control speed and control accuracy of the printhead motor, the winding motor and the unwinding motor, thereby improving the printing efficiency, the printing effect and the accurate control of the ribbon tension.
Alternatively, the print control module 13 may be connected to the printhead 15 through an I/O port. Fig. 3 is a schematic structural view of a print control module in a thermal transfer printer according to an embodiment of the present invention. As shown in fig. 3, the print control module in the present embodiment includes: a complex programmable logic device (Complex Programmable Logic Device, abbreviated as CPLD) 131, a Digital-to-Analog (A/D) module 132, and a fourth multiplexing driver chip 133.
The CPLD 131, the digital-to-analog conversion module 132, and the fourth multiplexing chip 133 are sequentially connected.
The CPLD 131 is also connected to the processing module 11. The fourth multiplexing chip 133 is also connected to the print head 15.
Alternatively, the CPLD 131 in this embodiment may employ the FLEX10K70, with a total of 503 pins. The a/D module 132 in this embodiment may be an AD9742 type integrated circuit. The fourth multiplexing driving chip 133 may be 74HC244.
The CPLD 131 has integrated therein a parallel I/O bus. The CPLD 131 in this embodiment communicates with the processing module 11 via a parallel bus. The CPLD 131 in this embodiment also has integrated therein a data memory (SRAM) 134 and a program memory (flash) 135. Illustratively, CPLD 131 communicates with SRAM 134 and flash 135 via 16-bit data signals, respectively. The program memory 135 stores the original program. The SRAM 134 stores therein running programs and data.
The communication signals between the CPLD 131 and the digital-to-analog conversion module 132 in this embodiment include: a data strobe signal, a data latch signal, a 16-bit data signal, and a heat generation signal. The heat signal is used to control the printhead 15 to heat up to effect printing.
The communication signals between the digital-to-analog conversion module 132 and the fourth multiplexing driving chip 133 include: a data strobe signal, a data latch signal, a 16-bit data signal, and a heat generation signal.
The digital-to-analog conversion module 132 in this embodiment is configured to convert the high-speed digital signal output by the CPLD module into an analog signal, and then control the signal and the heat-generating output of the printhead 15 through the fourth multiplexing driving chip 133.
The print control module shown in fig. 3 can improve the control speed and control accuracy of the print head.
Alternatively, the print head 15 in this embodiment may be a thermal print head with history control. This type of printhead has the following advantages: high control precision, high reliability, high temperature resistance and corrosion resistance.
Fig. 4 is a schematic view of a process module in a thermal transfer printer according to an embodiment of the present invention. As shown in fig. 4, the processing module 11 in this embodiment includes an external interface. The external interface herein may be at least one of: a serial interface 111, an ethernet interface 112, and a wireless communication network interface 113.
The processing module 11 acquires print position information and print content information from the external interface device 18 through an external interface.
The serial interface 11 in this embodiment may be an RS232 serial interface. For example, sipex SP3232E type TTL translates to 232 level integrated circuits. Of course, other serial interfaces are also possible. The wireless communication network interface 113 in the present embodiment is used to realize wireless communication between the processing module 11 and the external interface device 18.
The processing module 11 may also be in data communication with external debugging software via an external interface.
By providing an external interface in the processing module 11, communication of the processing module 11 with other external interface devices can be achieved. On one hand, the use of the user is facilitated, and the working efficiency of the user is improved; on the other hand, the application scene of the thermal transfer printer is enriched, so that the application scene of the thermal transfer printer is wider.
Optionally, referring to fig. 1, the thermal transfer printer of the present embodiment may further include a power module 20.
The power supply module 20 is used to supply power to the processing module 11 and the print control module 13, respectively.
Illustratively, the power supply module 20 in the present embodiment may employ TI LM2576 and TI LM1117 type power supply modules, which respectively supply various voltages required by the processing module 11 and the print control module 13. For example, 3.3V and 1.2V voltages may be provided.
Optionally, referring to fig. 1, the thermal transfer printer in the present embodiment may further include a clock source 19.
The clock source 19 is used to provide clock signals to the processing module 11 and the print control module 13, respectively.
Illustratively, the clock source 19 in the present embodiment may employ an Analog Device AD9522 type clock generator.
The thermal transfer printer provided by the embodiment has the advantages of small size, light weight, firmness, durability, strong heat resistance and convenience in installation and use.
The thermal transfer printer provided by the embodiment can realize automatic adjustment of the tension of the ribbon, does not need additional measuring and adjusting parts, greatly reduces the cost, and ensures that the product has more competitive service and capacity. The following describes the ribbon tension adjustment method provided in this embodiment in detail.
Fig. 5 is a flowchart of a ribbon tension adjustment method according to an embodiment of the invention. The ribbon tension adjustment method provided in this embodiment is applied to the thermal transfer printer provided in the embodiments shown in fig. 1 to 4 and various alternative implementations. As shown in fig. 5, the ribbon tension adjusting method provided in this embodiment includes the following steps:
step 501: the processing module sends the printing position information to the motor control module so that the motor control module controls the printing head motor to move the printing head to a target position indicated by the printing position information.
Step 502: the processing module sends the printing content information to the printing control module so that the printing control module controls the printing head to emit heat at the target position according to the printing content information.
In step 501, print position information is used to indicate a target position. The target location here may be the area of the ribbon to be printed. The processing module may acquire the print position information from the external interface device through the external interface. The processing module may send the printing position information to the first motor driving chip and the first multiplexing driving chip. Then, the first motor driving chip and the first multi-path driving chip drive the printing head motor to move the printing head to the target position indicated by the printing position information.
In step 502, the print content information includes a heat generation signal and printed specific content. For example, the content of the print pattern, the information of the print two-dimensional code, and the like. The processing module can send the printing content information to the CPLD, the digital-to-analog conversion module and the fourth multi-way driving chip, so that the CPLD, the digital-to-analog conversion module and the fourth multi-way driving chip control the printing head to heat at the target position according to the printing content information.
Alternatively, the specific content of printing in the present embodiment may be dot matrix data. The processing module sends the printing content information to the printing control module through the parallel bus.
Optionally, in order to avoid false triggering of the thermal transfer printer and improve the reliability of the thermal transfer printer, the method further includes, before step 502: when the processing module determines that a print signal is received and that the print signal is valid, the determination performs step 502. Wherein the print signal is sent by the print indication device.
The print instruction apparatus in this embodiment may be an external interface apparatus, or may be an apparatus connected to the processing module by other means. This embodiment is not limited thereto. Illustratively, the processing module may determine whether the print signal is valid by at least one of the following rules: whether or not the content in the print signal is the content indicating the start of printing; whether the print signal is a signal conforming to a preset communication protocol; whether the print signal is sent by an authorized device.
One-time printing can be achieved through step 501 and step 502. The ribbon tension adjustment method provided in the present embodiment additionally performs the following steps 503 and 504 to automatically adjust the ribbon.
Step 503: and when the processing module determines that printing is finished, a reversing signal is sent to the motor control module so that the motor control module controls the winding motor to reverse and controls the unwinding motor to reverse.
Alternatively, the print control module may send a print end signal to the processing module after determining that the printhead is heated up in the process of controlling the printhead to generate heat at the target position according to the print content information. Of course, the processing module may also query the print control module for the progress of printing in real time.
In order to avoid the waste of the ribbon caused by unreeling the ribbon but not printing by adjusting the rotational speed of the reeling motor and the unreeling motor in the ribbon tension adjusting process, in step 503, after the printing is determined to be finished, the processing module in the embodiment sends a reversing signal to the motor control module in the ribbon adjusting process, so that the motor control module controls the reeling motor to reverse and controls the unreeling motor to reverse.
The reversal in this embodiment refers to rotation in the opposite direction to the rotation of the motor during normal printing. For example, assuming that the unreeling motor and the reeling motor are rotated clockwise during normal printing, the reversal in this embodiment means that the unreeling motor and the reeling motor are rotated counterclockwise. It will be appreciated that reversing corresponds to retracting the ribbon a portion to avoid wasting ribbon during ribbon tension adjustment.
The processing module can specifically send inversion signals to the second motor driving chip and the second multipath driving chip, and send inversion signals to the third motor driving chip and the third multipath driving chip.
In order to further improve the adjustment accuracy of the subsequent ribbon tension adjustment process, the reversing signal is used for indicating the winding motor and the unwinding motor to reverse at a preset rotating speed. Wherein the preset rotational speed is less than a preset rotational speed threshold. This is because in a low-rotation-speed scene, the measurement of the back electromotive force is more accurate, so that the adjustment of the tension of the ribbon is more accurate, and the printing effect is further improved.
Step 504: the processing module acquires back electromotive force in the reversing process of the unreeling motor from the motor control module, and controls the reversing rotating speed of the reeling motor and/or the reversing rotating speed of the unreeling motor according to the back electromotive force of the unreeling motor so as to adjust the tension of the ribbon.
In the running process of the motor, the motor driving chip can acquire the back electromotive force of the motor. The back emf here may represent, to some extent, the magnitude of the load of the printhead motor during the last printing. In step 504, the processing module obtains a back electromotive force during the unreeling motor reverse rotation from the motor control module, specifically may obtain the back electromotive force during the unreeling motor reverse rotation from the third motor driving chip.
In the present embodiment, the reason why the back electromotive force during the reversing of the unreeling motor is acquired instead of the back electromotive force during the reversing of the reeling motor is that: the unreeling motor is an active motor, and the reeling motor is a passive motor. The counter electromotive force in the rewinding process of the unreeling motor can reflect the relation with the tension of the ribbon, and the accuracy of ribbon tension adjustment can be improved.
In order to further improve the accuracy determination of the acquired back electromotive force, the back electromotive force in the reversing process of the unreeling motor in the embodiment is the back electromotive force after the unreeling motor reverses for a preset time period at a preset rotating speed. It can be understood that after the unreeling motor reverses for a preset time period at a preset rotating speed, the running state of the unreeling motor tends to be stable, and the accuracy of the obtained back electromotive force is higher.
In step 503, the processing module controls the reversing rotation speed of the winding motor and/or the reversing rotation speed of the unwinding motor according to the back electromotive force of the unwinding motor, and may include the following steps.
Step 5031: the processing module compares the back electromotive force of the unreeling motor with a pre-stored back electromotive force standard value.
The ribbon tension corresponding to the back electromotive force standard value is the ribbon tension standard value.
The back emf standard value in this embodiment is determined from empirical data.
Step 5032: when the counter electromotive force of the unreeling motor is larger than or equal to the counter electromotive force standard value, the processing module controls the reversing rotation speed of the reeling motor to be reduced and/or controls the reversing rotation speed of the unreeling motor to be increased.
Step 5033: when the counter electromotive force of the unreeling motor is smaller than the counter electromotive force standard value, the processing module controls the inversion rotating speed of the reeling motor to increase and/or controls the inversion rotating speed of the unreeling motor to decrease.
During the operation of the motor, when the ribbon tension is maximum, the motor may be locked, and at this time, the back electromotive force is 0. When the ribbon tension becomes smaller, the back electromotive force increases stepwise instead. That is, as the back emf increases, the ribbon tension decreases. The two are in inverse proportion.
Therefore, when the back electromotive force of the unreeling motor is larger than or equal to the back electromotive force standard value, the tension of the ribbon is smaller at the moment, and the tension needs to be increased. Since the winding motor and the unwinding motor are also reversing at this time, at least one of the following operations may be performed: controlling the reversing rotation speed of the unreeling motor to increase; and controlling the reversing rotation speed of the winding motor to be reduced.
When the back electromotive force of the unreeling motor is smaller than the standard value of the back electromotive force, the tension of the ribbon is larger, and the tension needs to be reduced. Since the winding motor and the unwinding motor are also reversing at this time, at least one of the following operations may be performed: controlling the reversing rotation speed of the winding motor to increase; and controlling the reversing rotation speed of the unreeling motor to be reduced.
As described above, in the present embodiment, the operations of adjusting the reverse rotation speeds of the unreeling motor and the reeling motor may be performed simultaneously, or any one may be performed. It will be appreciated that when the reversing rotational speeds of the unwind motor and the wind-up motor are adjusted simultaneously, the efficiency of ribbon tension adjustment can be increased, so that the ribbon tension can be restored to the standard state as soon as possible, so as to quickly enter the next printing process. When any one of the reversing rotation speeds of the unreeling motor and the reeling motor is adjusted, the control logic is simpler, and the reliability is high.
In order to improve the control accuracy of the winding motor and the unwinding motor, the ribbon adjusting method provided by the embodiment further includes the following steps: and the processing module determines the rotating speed variation and the corresponding adjustment duration according to the counter electromotive force and the counter electromotive force standard value of the unreeling motor. Correspondingly, controlling the reverse rotation speed of the winding motor to be reduced and/or controlling the reverse rotation speed of the unwinding motor to be increased comprises the following steps: the processing module controls the reversing rotation speed of the winding motor to be reduced and/or controls the reversing rotation speed of the unwinding motor to be increased according to the rotation speed variation and the corresponding adjustment time length.
The processing module in this embodiment also stores in advance a mapping relationship between the degree of difference between the back electromotive force of the unreeling motor and the back electromotive force standard value, the rotation speed variation and the corresponding adjustment time length. When the rotation speed variation is positive, the reverse rotation speed is increased; when the rotation speed variation is negative, it means that the reverse rotation speed is to be reduced. The greater the degree of difference, the greater the absolute value of the rotational speed variation and the greater the adjustment period.
It can be understood that if the reverse rotation speeds of the winding motor and the unwinding motor need to be adjusted simultaneously in one adjustment process, the degree of difference between the back electromotive force of one unwinding motor and the back electromotive force standard value corresponds to two rotation speed variation amounts and two adjustment durations in the mapping relation. Wherein, one rotational speed variation is positive number, and the other rotational speed variation is negative number. The processing module can respectively send the corresponding rotation speed variation and the corresponding adjustment time to the second motor driving chip and the third motor driving chip.
In this embodiment, the method may further include the following steps: and the processing module controls the winding motor and/or the unwinding motor to stop reversing after determining the corresponding adjustment time length of the reversing of the winding motor and/or the unwinding motor. Thereafter, the process may return to step 501 to be performed to enter the next printing process.
The embodiment provides a thermal transfer printer for controlling the tension of the ribbon by utilizing back electromotive force, which can realize real-time measurement and control of the tension of the ribbon on the basis of not increasing other components and cost, can realize accurate control of the tension of the ribbon, has large flexibility, high precision and wide application range, meets the requirements of high performance and high reliability of a system, and has the advantages of low cost, accurate control and the like.
In the thermal transfer printer and the ribbon tension adjustment method provided in the embodiment, the thermal transfer printer includes: the device comprises a processing module, a motor control module, a printing head motor, a printing head, a winding motor and an unwinding motor. Wherein, the motor control module and the printing control module are connected with the processing module, the motor control module is also respectively connected with the printing head motor, the winding motor and the unwinding motor, and the printing control module is also connected with the printing head; the printing head motor is also connected with the printing head; the winding motor is used for controlling the rotation of the ribbon winding core, and the unwinding motor is used for controlling the rotation of the ribbon unwinding core; the ribbon is wound between the ribbon winding core and the ribbon unwinding core. The processing module can control the winding motor and the unwinding motor to reversely rotate after determining that the printing is finished, acquire back electromotive force in the reverse rotation process of the unwinding motor, and control the reverse rotation speed of the winding motor and/or the reverse rotation speed of the unwinding motor according to the back electromotive force of the unwinding motor so as to adjust the tension of the ribbon. On one hand, no extra component is needed for ribbon tension adjustment, so that the design complexity of the thermal transfer printer is reduced, the volume of the thermal transfer printer is reduced, and the cost is reduced; on the other hand, in the ribbon adjusting process, the unreeling motor and the reeling motor are controlled to rotate reversely, so that ribbon waste caused by unreeling the ribbon but not printing in the tension adjusting process is avoided, and the cost is further reduced; on the other hand, the ribbon tension adjustment is performed according to the back electromotive force in the rewinding process of the unwinding motor, and the back electromotive force in the rewinding process of the unwinding motor can reflect the relation with the ribbon tension, so that the accuracy of the ribbon tension adjustment method in the embodiment is high.
The present embodiment also provides a computer-readable storage medium storing computer instructions for causing a processor to execute the above-described ribbon tension adjustment method.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (14)

1. A thermal transfer printer, comprising: the device comprises a processing module, a motor control module, a printing head motor, a printing head, a winding motor and an unwinding motor;
wherein the motor control module and the printing control module are connected with the processing module, the motor control module is also respectively connected with the printing head motor, the winding motor and the unwinding motor, and the printing control module is also connected with the printing head; the printing head motor is also connected with the printing head; the winding motor is used for controlling the rotation of the ribbon winding core, and the unwinding motor is used for controlling the rotation of the ribbon unwinding core; the color ribbon is wound between the color ribbon winding core and the color ribbon unwinding core;
The processing module sends printing position information to the motor control module so that the motor control module controls the printing head motor to move the printing head to a target position indicated by the printing position information;
the processing module sends printing content information to the printing control module so that the printing control module controls the printing head to emit heat at the target position according to the printing content information;
when the processing module determines that printing is finished, a reversing signal is sent to the motor control module so that the motor control module controls the winding motor to reverse and controls the unwinding motor to reverse;
the processing module acquires back electromotive force in the reversing process of the unreeling motor from the motor control module, and controls the reversing rotating speed of the reeling motor and/or the reversing rotating speed of the unreeling motor according to the back electromotive force of the unreeling motor so as to adjust the tension of the ribbon.
2. The thermal transfer printer of claim 1, wherein the motor control module comprises: the device comprises a printing head motor control module, a winding motor control module and an unwinding motor control module;
the printing head motor control module is respectively connected with the processing module and the printing head motor;
The winding motor control module is respectively connected with the processing module and the winding motor;
the unreeling motor control module is respectively connected with the processing module and the unreeling motor.
3. The thermal transfer printer of claim 2, wherein the printhead motor control module comprises: the first motor driving chip and the first multipath driving chip;
the first motor driving chip is respectively connected with the processing module and the first multi-way driving chip, and the first multi-way driving chip is also connected with the printing head motor;
the winding motor control module comprises: the second motor driving chip and the second multipath driving chip;
the second motor driving chip is respectively connected with the processing module and the second multi-way driving chip, and the second multi-way driving chip is also connected with the winding motor;
the unreeling motor control module comprises: the third motor driving chip and the third multipath driving chip;
the third motor driving chip is respectively connected with the processing module and the third multi-way driving chip, and the third multi-way driving chip is also connected with the unreeling motor.
4. A thermal transfer printer according to any one of claims 1 to 3, wherein the processing module comprises an external interface; wherein the external interface is at least one of the following: a serial interface, an ethernet interface, and a wireless communication network interface;
the processing module obtains the printing position information and the printing content information from an external interface device through the external interface.
5. A thermal transfer printer according to any one of claims 1 to 3, wherein the print control module comprises: the complex programmable logic device CPLD, the digital-to-analog conversion module and the fourth multipath driving chip;
the CPLD, the digital-to-analog conversion module and the fourth multipath driving chip are connected in sequence;
the CPLD is also connected with the processing module, and the fourth multi-way driving chip is also connected with the printing head.
6. A thermal transfer printer according to any one of claims 1 to 3, further comprising: a power module;
the power supply module is used for supplying power to the processing module and the printing control module respectively.
7. A thermal transfer printer according to any one of claims 1 to 3, further comprising: a clock source;
The clock source is used for providing clock signals for the processing module and the printing control module respectively.
8. A method of adjusting tension of a ribbon, the method being applied to the thermal transfer printer according to any one of claims 1 to 7, the method comprising:
the processing module sends printing position information to the motor control module so that the motor control module controls the printing head motor to move the printing head to a target position indicated by the printing position information;
the processing module sends printing content information to the printing control module so that the printing control module controls the printing head to emit heat at the target position according to the printing content information;
when the processing module determines that printing is finished, a reversing signal is sent to the motor control module so that the motor control module controls the winding motor to reverse and controls the unwinding motor to reverse;
the processing module acquires back electromotive force in the reversing process of the unreeling motor from the motor control module, and controls the reversing rotating speed of the reeling motor and/or the reversing rotating speed of the unreeling motor according to the back electromotive force of the unreeling motor so as to adjust the tension of the ribbon.
9. The method of claim 8, wherein controlling the reverse rotational speed of the winding motor and/or the reverse rotational speed of the unwinding motor according to the back emf of the unwinding motor to adjust the tension of the ribbon comprises:
the processing module compares the back electromotive force of the unreeling motor with a pre-stored back electromotive force standard value; the ribbon tension corresponding to the back electromotive force standard value is a ribbon tension standard value;
when the counter electromotive force of the unreeling motor is larger than or equal to the counter electromotive force standard value, the processing module controls the reversing rotation speed of the reeling motor to be reduced and/or controls the reversing rotation speed of the unreeling motor to be increased;
when the counter electromotive force of the unreeling motor is smaller than the counter electromotive force standard value, the processing module controls the inversion rotating speed of the reeling motor to increase and/or controls the inversion rotating speed of the unreeling motor to decrease.
10. The method according to claim 9, wherein the method further comprises:
the processing module determines the rotating speed variation and the corresponding adjustment duration according to the counter electromotive force of the unreeling motor and the counter electromotive force standard value;
The controlling the reversing rotation speed of the winding motor to be reduced and/or controlling the reversing rotation speed of the unreeling motor to be increased comprises the following steps:
and the processing module controls the reversing rotation speed of the winding motor to be reduced and/or controls the reversing rotation speed of the unwinding motor to be increased according to the rotation speed variation and the corresponding adjustment time length.
11. The method according to claim 10, wherein the processing module controls the winding motor to decrease the reverse rotation speed and/or controls the unwinding motor to increase the reverse rotation speed according to the rotation speed variation and the corresponding adjustment time period, and the method further comprises:
and the processing module controls the winding motor and/or the unwinding motor to stop reversing after determining the corresponding adjustment duration of the reversing of the winding motor and/or the unwinding motor.
12. The method according to any one of claims 8 to 11, wherein before the processing module sends the print content information to the print control module, the method further comprises:
determining to perform the step of transmitting print content information to a print control module when the processing module determines that a print signal is received and that the print signal is valid; wherein the print signal is sent by the print indication device.
13. Method according to any one of claims 8 to 11, wherein the reversing signal is used to instruct the winding motor and the unwinding motor to reverse at a preset rotational speed; wherein the preset rotational speed is less than a preset rotational speed threshold;
and the counter electromotive force in the unreeling motor reversing process is the counter electromotive force after the unreeling motor reverses for a preset time period at the preset rotating speed.
14. A computer readable storage medium storing computer instructions for causing a processor to perform the ribbon tension adjustment method of any one of claims 8 to 13.
CN202311160533.1A 2023-09-08 2023-09-08 Thermal transfer printer, ribbon tension adjustment method, and storage medium Active CN116945771B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311160533.1A CN116945771B (en) 2023-09-08 2023-09-08 Thermal transfer printer, ribbon tension adjustment method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311160533.1A CN116945771B (en) 2023-09-08 2023-09-08 Thermal transfer printer, ribbon tension adjustment method, and storage medium

Publications (2)

Publication Number Publication Date
CN116945771A CN116945771A (en) 2023-10-27
CN116945771B true CN116945771B (en) 2024-03-01

Family

ID=88442717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311160533.1A Active CN116945771B (en) 2023-09-08 2023-09-08 Thermal transfer printer, ribbon tension adjustment method, and storage medium

Country Status (1)

Country Link
CN (1) CN116945771B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001334695A (en) * 2000-05-29 2001-12-04 Toshiba Tec Corp Thermal transfer printer
CN1657307A (en) * 2000-09-11 2005-08-24 赛福尔有限公司 Tape drive and printing apparatus
CN102837511A (en) * 2012-10-10 2012-12-26 上海迪凯分离机械实业有限公司 Control device and method for high-speed synchronous driving system for heat transfer printing and barcode printing
CN109109475A (en) * 2017-06-22 2019-01-01 东芝泰格有限公司 Printer and control method, terminal device
CN210148950U (en) * 2018-12-19 2020-03-17 北京小米移动软件有限公司 Printer control device and printer
CN113879011A (en) * 2021-11-08 2022-01-04 北京中馨智信科技有限公司 Print control apparatus and print control method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2507771B (en) * 2012-11-09 2020-03-04 Dover Europe Sarl Tape drive and method of operation of a tape drive

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001334695A (en) * 2000-05-29 2001-12-04 Toshiba Tec Corp Thermal transfer printer
CN1657307A (en) * 2000-09-11 2005-08-24 赛福尔有限公司 Tape drive and printing apparatus
CN102837511A (en) * 2012-10-10 2012-12-26 上海迪凯分离机械实业有限公司 Control device and method for high-speed synchronous driving system for heat transfer printing and barcode printing
CN109109475A (en) * 2017-06-22 2019-01-01 东芝泰格有限公司 Printer and control method, terminal device
CN210148950U (en) * 2018-12-19 2020-03-17 北京小米移动软件有限公司 Printer control device and printer
CN113879011A (en) * 2021-11-08 2022-01-04 北京中馨智信科技有限公司 Print control apparatus and print control method

Also Published As

Publication number Publication date
CN116945771A (en) 2023-10-27

Similar Documents

Publication Publication Date Title
EP1777075B1 (en) Tape printer and tape creating method
US20150258819A1 (en) Cutter, printer, and method of controlling cutter
CN116945771B (en) Thermal transfer printer, ribbon tension adjustment method, and storage medium
US9013529B2 (en) Thermal printer and method for detecting the winding direction of the ink ribbon
EP3071412B1 (en) Motor characterization in a printer
JPH07407B2 (en) Print control method
JP6102529B2 (en) Tape printer
JP2001047717A (en) Residual quantity detector for ink ribbon
JPS6023091A (en) Printer
JP2014128947A (en) Ribbon residual quantity detection mechanism and printing device
JP2004284206A (en) Ink ribbon take-up device
JPH02112981A (en) Multicolor printer and driving method for ink ribbons
JPH02215575A (en) Printer
JP4439026B2 (en) Thermal printer
JP2987993B2 (en) Printer and printer control means
JP2556834B2 (en) Drive control method for DC motor
JPS58155973A (en) Printing method for thermal label printer
JPH05246070A (en) Thermal line printer
JPH07186432A (en) Printing device
JPS6384975A (en) Printer device
JPH068606A (en) Thermal printer
JPH02241762A (en) Compact thermal printer
JPH10175358A (en) Printer
JPH05147250A (en) Thermal transfer type printer apparatus
JPH07290791A (en) Colored thermal recording device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant