This application claims priority to Taiwan Application Serial Number 107213568, filed Oct. 5, 2018, which is herein incorporated by reference.
The disclosure relates to a printing system, particularly to a thermal printing system.
Conventional, there are lots of cables and connectors between a thermal printing head (TPH) and a controller, resulting in high cost and low stability and reliability.
Therefore, it is an important issue that how to reduce cables between the thermal printing head and the controller and to improve stability and reliability.
One aspect of the present disclosure is a printing system including a controller and a thermal printing head including multiple driving elements and an integrated transmission control interface. The thermal printing head is coupled to the controller. The driving elements are configured to print. The integrated transmission control interface coupled to the controller and driving elements is configured to receive from the controller at least one of a compensation data, a printing data, a clock signal, a data signal, a latch signal or a start-heating signal, and send to driving elements the at least one of the compensation data, the printing data, the clock signal, the data signal, the latch signal or the start-heating signal.
The following embodiments are disclosed with accompanying diagrams for detailed description. For illustration clarity, many details of practice are explained in the following descriptions. However, it should be understood that these details of practice do not intend to limit the present disclosure. That is, these details of practice are not necessary in parts of embodiments of the present disclosure. Furthermore, for simplifying the diagrams, some of the conventional structures and elements are shown with schematic illustrations.
It will be understood that when an element is referred to as being “connected” or “coupled” to another element, it can be directly connected or coupled to the other element or intervening elements may be present. In contrast, when an element is referred to as being “directly connected” or “directly coupled” to another element, there are no intervening elements present.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising”, or “includes” and/or “including” or “has” and/or “having” when used in this specification, specify the presence of stated features, regions, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, regions, integers, steps, operations, elements, components, and/or groups thereof.
Please refer to
In operation, the integrated transmission control interface 142 is configured to transmit to the driving element 160 control signals including a clock signal, a data signal, a latch signal and a compensation signal, etc. The driving element 160 is configured to heat and print according to the control signals. The delay latch array 166 is configured to store the compensation signals and output the control signals that are compensated.
Specifically, there are a power transmission line Power, a thermistor transmission line Thermistor and other control signal transmission lines between the controller 120 and the thermal printing head 140. And the integrated transmission control interface 142 is configured to integrate transmission lines and interfaces between the controller 120 and the thermal printing head 140. In some embodiments, the integrated transmission control interface 142 includes a field-programmable gate array (FPGA). In some other embodiments, the integrated transmission control interface 142 includes an application-specific integrated circuit (ASIC).
In some embodiments, to print a dot, the data of 8 bpp needs to be converted into 256 bpp, so that the heating resistor is able to be heated at certain tone level. In convention, after a controller performs the data conversion of 8 bpp to 256 bpp, the controller outputs the 256 bpp data (by 256 heating cycles at 1 bpp per cycle, for instance) to a thermal printing head. In the present embodiment, the controller 120 directly outputs the data of 8 bpp to the thermal printing head 140. The integrated transmission control interface 142 of the thermal printing head 140 is able to perform the data conversion of 8 bpp to 256 bpp.
In addition, in some embodiments, the integrated transmission control interface 142 includes a universal serial bus (USB), but not limited to the present disclosure. That is, the integrated transmission control interface 142 may include differential signal pins USB+, USB− of USB 2.0 or USB 3.0, and the differential signal pins USB+, USB− are configured to transmit the compensation data or the printing data. The integrated transmission control interface 142 may also include a synchronous printing pin LSync. The synchronous printing pin LSync integrates the transmission lines of control signals such as the clock signal, the data signal, the latch signal and/or a start-heating signal. The synchronous printing pin LSync is configured to print synchronously with mechanical motion.
In other words, the integrated transmission control interface 142 collects multiple transmission lines. The integrated transmission control interface 142 is configured to receive command & data from the controller 120 then converts to corresponding control signals including the clock signal, data signal (e.g., printing data, heating time), and output multiple printing commands to the corresponding driving element 160 respectively according to control signals to print.
As a result, it is able to reduce the number of pins of the controller 120 and the number of wires between the controller 120 and the thermal printing head 140 by the integrated transmission control interface 142 in the thermal printing head 140. Accordingly, it is able to cost down, reduce complexity of circuits and improve transmission efficiency.
About the detailed description of the driving element 160 in the thermal printing head 140, please refer to
A shift register 164 in the driving element 160 is configured to receive the printing data in sequence according to the data signal DIN and the clock signal CLOCK. A latch 162 in the driving element 160 is configured to latch the printing data in a buffer according to the latch signal LATCH. The delay latch array 166 in the driving element 160 is configured to store the compensation signal and output the compensation signal. The pixel switches SW0˜SW63 are configured to conduct or cut off according to the start-heating signal STROBE, the printing data and the compensation signal.
In some embodiments, the driving element 160 includes a latch signal generator LA Gen. The latch signal generator LA Gen is configured to set the compensation value according to the start-heating signal STROBE and the latch signal LATCH to generate the latch signal LA and/or the delay latch signal LA0˜LA5. In some other embodiments, the driving element 160 further includes power on reset circuit POR that is configured to reset the internals of the driving element 160 at startup. In some other embodiments, the driving element 160 further includes an external resistor REXT that is configured to adjust a maximum value of the compensation value of the heating time of each heating resistor.
Specifically, please refer to
In other words, after the times of the clock signal CLOCK rising are as same as the number of the pixels (the heating resistors P0˜P63), the shift register 164 receives the entire line of printing data Dn (e.g., the printing data D0˜D63 shown in
Please refer to
In the embodiment shown in
Since the thermal printing head 140 prints the image of the entire line once, the thermal printing head 140 needs to use the entire line of the printing data at the same time. Conventionally, 2 to 6 inch thermal printing head needs 5 to 30 printing cables. And the larger the size of the thermal printing head is, more cables are required to be assigned between the conventional thermal printing head and the controller, so that it needs to occupy more space, costs higher and reduces the reliability. In the embodiment shown in
Next, please refer to
For example, as shown in
However, at the same voltage and the same heating time, the different resistance values of the pixels will result in different power consumption, so that the printing density is uneven. Furthermore, at the same voltage, the larger the resistance value is, the smaller the power consumption is, so that the printing density is lighter. Therefore, in order to improve the uniformity of printing quality, different resistors needs to have the same power consumption. In other words, at the same voltage, the heating time should be adjusted according to the difference of the resistance values.
Accordingly, the printing command further includes the heating time and the delay signal corresponding to the heating time. The total conducting times of the pixel switches SW0˜SW63 are determined according to the corresponding heating times respectively, and the timings of starting to conduct are determined according to the corresponding delay signals respectively. In other words, the pixel switches SW0˜SW63 are configured to output control signals to the heating resistors P0˜P63 according to the corresponding heating times and delay signals of pixels.
Specifically, the delay latch array 166 is configured to store and output the compensation signals including delay signals ΔT0˜ΔT63. The heating times corresponding to multiple pixels are calculated by a calculator according to multiple corresponding resistance values and the largest resistance value respectively during the manufacture of the thermal printing head. And the delay signals ΔT0˜T63 are calculated respectively by the calculator according to multiple heating times. In some embodiments, the calculator may be a jig and/or application software. The driving element 160 in the thermal printing head 140 is configured to adjust the conducting times of the heating resistors P0˜P63 corresponding to different pixels respectively according to the heating times and the delay signals ΔT0˜ΔT63.
For the convenience and clarity of explanation, the operation above will be disclosed with accompanying schematic diagrams for detailed description. Please refer to
Firstly, in the operation S410, measuring, by a calculator, each resistance value corresponding to each pixel in a thermal printing head 140.
Next, in the operation S420, determining, by the calculator, the largest one of the resistance values as a largest resistance value.
Next, in the operation S430, determining, by the calculator, a longest heating time corresponding to the largest resistance value.
Next, in the operation S440, calculating, by the calculator, the heating time corresponding to each pixel according to the largest resistance value and each resistance value corresponding to each pixel in the thermal printing head 140. For example, the calculator calculates the heating time of each pixel according to the following formula:
Rn is the resistance value of the nth pixel, Rm is the largest resistance value Rm among the resistance values of n pixels. tn is the heating time of the nth pixel. tm is the heating time of the pixel with the largest resistance value. In other words, the heating time of the pixel with the largest resistance value Rm is the longest heating time Tm.
It should be noted that, the formula above is merely by example in some possible embodiments for the convenience of discussion, and not intended to limit the present disclosure. In addition, in some other embodiments, the calculator is able to adjust the heating times of pixels respectively according to the temperature or other factors of pixels in the thermal printing head 140.
Next, in the operation S450, calculating, by the calculator, the delay signals corresponding to each pixel according to each heating time of each pixel. For example, as shown in
Specifically, the compensation data including delay signal is configured to adjust the printing command through the delay latch signal LA0˜LA5 of the delay latch array 166. In some embodiments, as shown in
Furthermore, in some other embodiments, the driving element 160 is further configured to obtain the same actual time of the delay signal by setting the delay skew. The actual times of the delay signals of the driving element 160 will be different due to the process variation. Therefore, before combines the heater and the cables, measuring the actual times of the delay signals by providing signals with the longest delay time to obtain the delay skews DS, as shown in
For example, the set time of the delay signal is about 4 μs, and the actual measured time of the delay signal is about 3.8 μs, so that the difference of 0.2 μs due to process variation is able to be compensated by adjusting the delay skew DS. As a result, the driving element 160 adjusts the times of the delay signals of pixels respectively according to the longest delay time, so that the different driving elements 160 may obtain the same actual time of the delay signals.
The part of operations above may be realized by the calculator (e.g., jig and/or application software) during the manufacture of the thermal printing head 140. And the compensation data calculated according to each thermal printing head 140 may be stored in a non-volatile memory in the thermal printing head 140, or be stored in a database that is able to send to the users. And then, the compensation data is loaded into the delay latch array 166.
Finally, in the operation of S460, controlling, by pixel switches SW0˜SW63, each pixel in the thermal printing head 140 to print according to each corresponding heating time and each corresponding delay signal. As shown in
In addition, in some other embodiments, each pixel switch SW0˜SW63 is able to start to conduct at the same time, and stops printing and conducting according to the delay signal corresponding to each pixel. As a result, by different time lengths of the delay signals ΔT0˜ΔT63, the total length of time for each pixel in the thermal printing head 140 to be heated and printed is different, so as to compensate different resistors to achieve the same power consumption and to improve the uniformity of printing quality.
Specifically, when the thermal printing system 100 powers up, the compensation data is read from the internal memory in the thermal printing head 140 to the delay latch array 166, or the compensation data is read from the corresponding database (the remote computer, server etc.) of the thermal printing head 140 by the controller 120. Next, the corresponding compensation data is programed to the delay latch array 166 of the driving element 160 according to the specifications of the thermal printing head 140. Then, the corresponding pixel switches SW0˜SW63 of the driving element 160 in the thermal printing head 140 are controlled to start to conduct according to the corresponding heating times and the corresponding delay signals in the compensation data to heat the resistor P0˜P63 to print.
The above printing method 400 is described in accompanying with the embodiments shown in
Furthermore, each of the above embodiments may be implemented by various types of digital or analog circuits or by different integrated circuit chips. Individual components may also be integrated into a single control chip. Various control circuits may also be implemented by various processors or other integrated circuit chips. The above is only an example, and it should not limit the present disclosure.
In summary, in various embodiments of the present disclosure, the number of the pins of the controller 120 and the number of cables between the controller 120 and thermal printing head 140 may be reduced by the integrated transmission control interface 142. Accordingly, it may cost down, reduce complexity of circuits and improve transmission efficiency, stability and reliability.
Although specific embodiments of the disclosure have been disclosed with reference to the above embodiments, these embodiments are not intended to limit the disclosure. Various alterations and modifications may be performed on the disclosure by those of ordinary skills in the art without departing from the principle and spirit of the disclosure. Thus, the protective scope of the disclosure shall be defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
107213568 | Oct 2018 | TW | national |