The present invention relates to a thermal printer, and more particularly, it relates to an energization control of a thermal head.
The thermal printer is a device for carrying out a print operation by driving multiple heating elements that constitute a thermal head in the form of a line. A maximum number of dots that can be driven simultaneously among all the heating elements arranged in the form of a line are subjected to a time-sharing drive.
A reason why such time-sharing drive is employed is as the following; if all the heating elements are driven simultaneously, power consumption is increased and the voltage applied on each of the heating elements is lowered. Lowering of the voltage that is applied on each of the heating elements may cause a deterioration of print density and uneven print quality.
In view of the problem above, the maximum number of dots that can be driven simultaneously is preset, and the heating elements arranged in one line is segmented and driven in units of some heating elements, the number of which corresponds to the maximum number of dots being preset as described above. By way of example, if the maximum number of dots that can be simultaneously driven is preset as 64 dots among the thermal head in which 256 dots of heating elements are arranged in one line, the one line is divided by four (4=256/64), and four times of driving are performed using 64 dots as a unit, so as to drive all of the dots within one line.
A larger maximum number of dots possible for the simultaneous drive may achieve a higher print speed. However, as described above, if the number of dots of the heating elements that are simultaneously driven is increased, the voltage drop may be enlarged by that much, an output voltage of the power supply becomes equal to or lower than a voltage level that guarantees proper operation, and a proper print operation is not guaranteed.
The voltage drop depends on inner electrical resistance of the power supply, resistance of the head, resistance of the other parts, and the like, and those resistance values are variable depending on production tolerance and electrical property. Therefore, conventionally, the factors above are considered, and the maximum number of dots possible for the simultaneous drive is preset assuming that the voltage of the power outlet terminal is under the worst condition being anticipated.
The heating elements within one line are segmented into blocks and energization is performed in units of the segmented block, whereby it is possible to resolve the constraints of power supply capacity. However, there is a problem that the configuration above may result in proportionately lowered print speed. As a method for resolving such lowering of the print speed, it is known that the cycle is set to be variable according to the number of segmented blocks.
However, it has been pointed out that if the speed is set to be variable, a printed dot length is also made variable, thereby causing another problem that a difference occurs in the length of printing.
In order to solve the problem above, there is suggested a drive method in which the print speed is made variable according to the division number when segmented into blocks, as well as the energization pulse width for energizing the heating element is made variable according to the print speed (see Patent document 1).
As described above, the print speed is made variable according to the division number of the segmented blocks, and further the energization pulse width for energizing the heating element is made variable according to the print speed, whereby speeding-up of the print speed and reducing the fluctuations in dot length are achieved, when the thermal head is driven by using the segmented blocks. However, if the division number of the segmented blocks is large and the print speed is low, an effect as expected may not necessarily be produced, due to properties or the like of the drive motor.
In a printer, the head driving and paper feeding are performed by repeating energization to the head and switching the phases of the stepping motor. The rotor starts rotating at the time of phase-switching, and rotates toward a rotational position that is determined by the phase state after the switching, at a speed depending on a torque of a drive coil, inertia of the rotor, and the like, and then, one-turning action is completed. In the switched phase state, the rotor further performs a similar turning action upon receipt of a command for the next switching, and by repeating such actions, continuous rotation is performed. Therefore, a mean rotation speed of the rotor is determined depending on the phase switching cycle, resulting in that the rotation speed in each phase state becomes variable.
In the turning action of the stepping motor, at the time of high-speed rotation, fluctuations in rotation speed between the phase states are small, and accordingly, there are little gaps appearing between dots. Therefore, the head energization time is made variable according to the print speed as described above, and the occurrence of the gaps between the dots can be effectively suppressed (
On the other hand, when the stepping motor rotates at a low speed, fluctuations in rotation speed occurring between the phase states becomes larger, and there occurs a temporary halted state. Therefore, if printing is performed during the low-speed rotation, energization of the head is performed in the state where the stepping motor is temporarily halted, and printing for one dot is performed. During the time from when the energization is finished until when a command for the next phase switching is received, the printing is not performed. When the command for the next phase switching is received, the rotor starts rotating toward the rotational position determined by the phase state after the switching, and energization is performed at this rotational position to print the next dot.
Therefore, even though the energization time for the head is set to be variable according to the print speed, the print sheet is in a state of temporary suspension during the low speed rotation. Therefore, the change of the energization time is just changing the energization time at the halting position, leaving an unresolved problem that a gap occurs between the dots (
An object of the present invention is to solve such conventional problems as described above, and in the present invention, when printing is performed by a thermal printer head using segmented blocks, the printing can be performed without causing a gap between dots, even though the division number for the segmented blocks is large and the printing speed is low.
The thermal printer according to the present invention is characterized in the following: when printing is performed by using a thermal printer head segmented into blocks, the number of dots printed in one line varies between the case where a division number for the segmented blocks is small and a printing speed is high, and the case where the division number for the segmented blocks is large and the printing speed is low; and in the case where the division number for the segmented blocks is large and the printing is performed at a low speed, paper feeding within one line is performed using multiple pitches so as to prevent the paper from being halted within the one line, and the number of dots printed on one line is increased by energizing each of the pitches, thereby preventing generation of gaps between dots and between lines.
Furthermore, a ratio of power feeding amount for energizing each of the pitches is varied in the multiple pitches within one line, whereby a difference in density among the pitches within one line is reduced.
The thermal printer according to the present invention is provided with: a thermal head including multiple heating elements being connected with one another in the form of a line and allowed to be energized simultaneously, which are segmented into one or multiple blocks, the heating elements being enabled to be driven by the energization in units of the segmented blocks that are obtained by dividing, and printing of one line being performed according to an energization cycle for the segmented blocks; a paper carrier for feeding paper to the thermal head; a power feeding section for feeding power into the heating elements of the thermal head with respect to each of the segmented blocks, and a controller for controlling the paper carrier and the power feeding section.
The control of the paper carrier according to the controller varies a paper feeding pitch within one line, with respect to each of the lines, based on the division number of the segmented blocks. The number of dots to be printed in one line is altered so as to change the pitch, between the case where the division number of the segmented blocks is small and high-speed printing is performed, and the case where the division number of the blocks is large and low-speed printing is performed. Under this control, if the printing is performed at a low speed when the division number of the segmented blocks is large, paper feeding within one line is performed in multiple pitches, thereby preventing a situation where the paper sheet is halted within one line. The controller forms multiple dots in the paper feeding direction within one line, in such a manner that the number of dots positively correlates with the division number corresponding to the number of the multiple blocks being segmented.
The control of the power feeding section according to the controller performs power feeding with respect to each paper feeding pitch within one line. By energizing each of the paper feeding pitches and increasing the number of dots printed in one line, it is possible to prevent generation of gaps between dots and between lines. The power feeding section feeds power into each of the dot pitches within one line, and sets the energization amount for a former dot pitch to be equal to or larger than the energization amount for a latter dot pitch.
In the present invention, the variations of pitch within one line is performed based on the division number of the segmented blocks, by comparing a preset value of a certain division number with the division number when printing of the line is performed. The preset division number used for switching to change the pitch may be defined according to characteristics of the thermal printer, such as a property of the heating elements of the thermal head and a power supply capacity, properties of the descriptions to be printed, for example, the printing object is a character or an image, and environmental conditions such as temperature condition when the thermal printer is used.
The thermal printer according to one aspect of the present invention may be implemented, employing a stepping motor as a drive motor for transporting a paper sheet. In this aspect of the invention, the paper carrier is provided with the stepping motor, and the drive of the stepping motor is controlled by a motor controller that is provided in the controller of the thermal printer.
The motor controller compares the division number of the segmented blocks with the preset value, and when the division number is smaller than the preset value, the motor controller drives the stepping motor in a 2 phase excitation mode to feed paper for one line in one dot pitch, and performs printing by feeding power required for one dot pitch as to each of the blocks in one line. On the other hand, when the division number is larger than the preset value, the motor controller divisionally drives the stepping motor to feed paper for one line in multiple dot pitches, and performs printing by feeding power more than once, required for the multiple dot pitches respectively, as to each of the blocks in one line.
For the divisional drive, it is possible to employ a divisional drive according to a 1-2 phase excitation mode, or a divisional drive according to a microstep drive. The motor controller is allowed to execute any of the following controls: paper feeding control for feeding paper in two times of dot pitch for one line, by the divisional drive according to the 1-2 phase excitation mode; paper feeding control for feeding paper in n times of dot pitch (n is positive integer) by the divisional drive according to the microstep drive; and paper feeding control using both the 1-2 phase excitation mode and the microstep drive.
In the 2 phase excitation mode, a drive for one revolution is established according to four excitation states including positive and negative states for two phases (A-phase and B-phase) each, and paper is transported by associating one excitation state with one dot pitch in one line. On the other hand, in the 1-2 phase excitation mode, a drive for one revolution is established according to eight excitation states including positive and negative states for two phases (A-phase and B-phase) each and one excitation state is associated with one dot pitch out of dot pitches appearing two times in one line, allowing the paper to be transported for one line in the two-time dot pitches respectively in two excitation states being continuous. It is to be noted here that if the division number of the segmented blocks agrees with the preset value, it is possible to determine optionally which excitation mode the excitation drive employs, the 2 phase excitation or the 1-2 phase excitation.
The microstep drive is a driving mode for driving a stepping motor, by dividing a basic step angle into smaller step angles. Driving in n times of 1/n step by dividing into smaller angles allows the paper to be transported in association with dot pitches of n times in one line. For example, the step angle is divided into ½ and the motor is driven in two times of ½ step, thereby transporting the paper for one line in association with two-time dot pitches. In this case, the feeding operation is similar to the feeding in the 1-2 phase excitation mode as described above. In the microstep drive, driving is generally performed by using an excitation current waveform being a sinusoidal form with a small torque ripple.
Accordingly, if the stepping motor is driven in the 2 phase excitation mode, only once excitation allows the paper to be transported by the width of one line, thereby establishing high-speed printing. On the other hand, when the stepping motor is driven by the divisional drive, multiple steps are required to transport the paper for the width of one line, and therefore, printing is performed at a low speed. For example, when the stepping motor is driven in the 1-2 phase excitation mode, two-time excitations allow the paper to be transported for the width of one line, whereby a low-speed printing is performed. When the stepping motor is driven in the microstep drive, the step angle is fragmented into smaller step angles, and the paper is transported for the width of one line by the obtained small step angles, whereby the printing is performed at a low speed.
The controller of the present invention allows a power feeding controller to control power feeding amount, which is fed into the power feeding section. The power feeding controller controls the power feeding amount which is fed into each of the paper feeding pitches within one line, based on the paper feeding speed, and as to each paper feeding pitch, the segmented blocks are energized and the heating elements are driven. In this energization, the power feeding amount to be fed can be determined for each of the paper feeding pitches in one line, whereby the print density can be controlled in units of pitch, and the density between the pitches and the density between the lines can be adjusted.
The power feeding controller is provided with an energization ratio setting circuit for setting a ratio of energization amount to be fed for each of the paper feeding pitches in one line. In the divisional drive, the energization ratio setting circuit sets the ratio of energization amount to be fed for each divisional drive, when the drive is performed divisionally, based on the paper feeding speed.
In the 1-2 phase excitation mode, the paper is transported using pitches of two times; the former step dot pitch and the latter step dot pitch. In the microstep drive, the paper is transported in multiple dot pitches of n times, 1/n step for each.
The energization ratio setting circuit according to the present invention sets the ratio of energization amount to be fed for each unit of driving in the divisional drive, based on the paper feeding speed, whereby the print density can be controlled in units of pitch, and the density between dots and the density between lines are adjusted.
For example, the divisional drive in the 1-2 phase excitation mode, the ratio between the energization amount being fed in the dot pitch of the former step and the energization amount being fed in the dot pitch of the latter step is set based on the paper feeding speed. Then, the energization amount for energizing the head in the dot pitch of the former step and the energization amount for energizing the head in the dot pitch of the latter step are determined.
It is to be noted the power feeding amount to be supplied to the head within one line, being the total of the energization amount in the former step pitch and the energization amount in the latter step pitch, is determined based on the division number of the segmented blocks. The energization ratio setting circuit sets the ratio for distributing the power feeding amount, which is supplied to the head within one line, into the former step pitch and the latter step pitch.
When one line is divided into two periods, the former step dot pitch and the latter step dot pitch, to perform dot printing in each of the periods, due to a hysteresis effect incorporated in the heating elements, the dot printing during the period of the latter step dot pitch is influenced by the heat generated from the dot printing during the period of the former step dot pitch, and there is a possibility that density between pitches becomes different, between the former step dot pitch and the latter step dot pitch.
The influence due to the hysteresis effect that the former step dot pitch period exerts on the latter step dot pitch period depends on the paper feeding speed, and it is more influenced as the speed becomes higher. According to the paper feeding speed, the energization ratio setting circuit of the present invention sets the energization ratio, in such a manner that the energization fed in the dot pitch of the former step falls within the range from 50% to 100%, along with the speed variation from lower to higher. The energization ratio is set to be higher in the former step, as the paper feeding speed becomes higher. According to the setting of the energization ratio, the energization amount during the latter step period is reduced, considering the hysteresis effect of the heating elements, which are heated during the former step pitch period, thereby reducing a difference in print density of dots, between the periods of the former step dot pitch and the latter step dot pitch.
The energization ratio may be set in stepwise manner within the range from 50% to 100%. There is also another way to set the energization ratio gradually.
The energization ratio can be set based on an energization time or an electric current value. When the energization ratio is set based on the energization time, the energization time for the latter step dot pitch is made shorter than the energization time for the former step dot pitch. Alternatively, when the energization ratio is set based on the electric current value, the current value for the latter step dot pitch is made smaller than the current value for the former step dot pitch.
In the divisional drive using the microstep drive, it is possible to reduce influences of uneven density due to the hysteresis effect, by setting the ratio of energization amount fed in each of the steps within one dot pitch according to the paper feeding speed.
In the divisional drive using the microstep drive, the energization ratio setting circuit sets the energization ratio to be fed in the first step in one dot pitch in stepwise manner within the range from 50% to 100%, according to the paper feeding speed. In addition, it is further possible to set the energization ratio to be fed in the first step in one dot pitch gradually in the range from 50% to 100%.
The energization ratio setting circuit is allowed to configure settings based on the energization time or a value of flowing current. In setting based on the energization time, the energization time from the second step is set to be shorter than the energization time of the first step. In setting based on the flowing current, the flowing current from the second step is set to be smaller than the flowing current in the first step.
It is to be noted here that the 2 phase excitation mode and the 1-2 phase excitation mode are well-known excitation modes to be employed for the stepping motor. Furthermore, the patent document 2 discloses a configuration of a thermal transfer printer in which the stepping motor is driven by a heat resistant mode using the 1-2 phase excitation, in addition to a normal 2 phase excitation mode. However, the heat resistant mode by the 1-2 phase excitation aims at enhancing tight-adherence when an ink ribbon having a high heat resistance is used, by doubling energy density to be applied to the thermal head. Therefore, an object of this conventional art is different from the present invention, which prevents occurrence of a gap between dot pitches, by switching the 2 phase excitation mode and the 1-2 phase excitation mode according to the division number of the segmented blocks.
According to the thermal printer of the present invention, when printing is performed by segmenting the thermal head into blocks, it is possible to perform printing without generating a gap between dots, even though the division number of the segmented blocks is large and printing speed is low.
Hereinafter, the thermal printer according to the present invention will be explained in detail, with reference to the accompanying drawings. It is to be noted here that
Firstly, there will be explained an example for controlling the motor, using the 1-2 phase excitation mode.
A thermal printer 1 incorporates a thermal head 16 that is made up of multiple heating elements (not illustrated), which are arranged in the form of a line.
A controller 20 selectively drives some heating elements to be driven out of the multiple heating elements, based on print data that is inputted from an external device such as a host device. Accordingly, dots are formed on a print medium (thermosensitive paper) in association with the heating elements, respectively, whereby printing is performed. Connection with a power supply is turned ON or OFF every printing point of time at predetermined intervals, so that the drive of the heating elements is controlled.
The thermal printer 1 incorporates an interface 11 for establishing communication with an external device such as the host device, not illustrated, a data receiving section 12, a receiving buffer 13 for temporarily storing received data, a print buffer 14 for temporarily storing print data, a latch circuit 15 for storing print data corresponding to one line, the thermal head 16 for driving the heating elements to perform printing, a power feeding section 17 for feeding drive current to the heating elements of the thermal head 16, a paper carrier 18 for transporting paper (not illustrated), and the controller 20.
The controller 20 incorporates a main controller 21 for exercising controls all over the thermal printer, a print controller 22 for control printing, a motor controller 23 for controlling drive of a carrier motor 18a provided in the paper carrier 18, and a power feeding controller 24 for controlling the power feeding section 17.
The main controller 21 is provided with a print data analysis means (not illustrated) for analyzing the print data being inputted and forming a print pattern.
The print controller 22 is provided with a block segmentation processing circuit 22a for selecting heating elements to be driven simultaneously based on the print pattern being analyzed, so as to perform processing of setting a division number of segmented blocks. The print controller 22 is further provided with a speed setting circuit 22b for setting a speed to transport paper, based on the division number of the segmented blocks, the division number having been set in the block segmentation processing circuit 22a.
The motor controller 23 of the present invention is provided with a 2 phase excitation circuit 23a and a 1-2 phase excitation circuit 23b, as excitation circuits for supplying excitation current to a drive coil of the carrier motor 18a, and a selection circuit 23c for selecting either of the excitation circuits for driving. The 2 phase excitation circuit 23a is a circuit to generate a strove signal that drives a stepping motor in a 2 phase excitation mode. The 1-2 phase excitation circuit 23b is a circuit to generate a strove signal that drives the stepping motor in a 1-2 phase excitation mode.
Drive of the stepping motor in the 2 phase excitation mode is performed in a mode that excites two phases (A-phase and B-phase) constantly, and even at the time of phase switching, one phase is always excited. On the other hand, drive of the stepping motor in the 1-2 phase excitation mode is performed in a mode that alternately performs an 1 phase excitation mode for constantly exciting only one phase, and the 2 phase excitation mode, and an angular displacement is made half, compared to the 1 phase excitation mode or the 2 phase excitation mode, whereas a driving frequency is approximately doubled.
In the case of the 2 phase excitation mode, the stepping motor makes one revolution by switching phases in four steps (cycle T1 in the figure). On the other hand, in the case of the 1-2 phase excitation mode, the stepping motor makes one revolution by switching phases in eight steps (cycle T2 in the figure).
When the stepping motor is subjected to the 2 phase excitation and paper feeding is performed in this mode, as shown in
On the other hand, when the stepping motor is subjected to the 1-2 phase excitation and paper feeding is performed in this mode, as shown in
The selection circuit 23c selects either the 2 phase excitation circuit 23a or the 1-2 phase excitation circuit 23b, based on the division number of the segmented blocks, the division number being determined in the block segmentation processing circuit 22a. For example, a certain division number is set in advance as a threshold for the selection. The division number obtained in the block segmentation processing circuit 22a is compared with the preset value which is set in advance. Then, according to a result of the comparison, it is determined which excitation signal is selected, an excitation signal generated by the 2 phase excitation circuit 23a or an excitation signal generated by the 1-2 phase excitation circuit 23b.
The carrier motor 18a in the paper carrier 18 is driven by the excitation signal that is selected based on the divisional number, which is outputted from the motor controller 23.
When the division number is less than the preset value, the selection circuit 23c determines that the paper is transported at a high speed, and selects the 2 phase excitation circuit 23a so that the paper is fed for one line in one dot pitch. On the other hand, when the divisional number is larger than the preset value, the selection circuit 23c determines that the paper is transported at a low speed, and selects the 1-2 phase excitation circuit 23b so that the paper is fed for one line in two times of dot pitch.
In
In the 2 phase excitation mode, one phase state among the combinations of four phase states corresponds to one-line paper feeding, and one pulse signal of the strove signal STB1 is applied within one line, thereby printing one dot pitch.
On the other hand, in the 1-2 phase excitation mode, continuous two phase states among the combinations of eight phase states correspond to paper feeding of one line. Two pulse signals of the strove signal STB1 are applied within one line, and printing dot pitches is performed in the respective phase states, whereby in total, two times of dot pitch printing establish printing for one line.
Switching of excitation between the 1-2 phase excitation mode and the 2-phase excitation mode is performed based on the division number obtained from the block segmentation processing circuit 22a. As shown in
In the case where the stepping motor is employed as the carrier motor 18a, the motor controller as described above switches between one-time paper feeding for one line, using one dot pitch, and two-time paper feeding for one line, using two times of dot pitch, by selecting the 2 phase control or the 1-2 phase control. However, the paper feeding control is not limited to this example. For instance, there is also another aspect of the drive control, or selection of at least three-time paper feeding for one line is also possible, by using a microstep drive, a carrier motor having a stator pole with three phases, or the like. It is to be noted that the microstep drive will be explained below, with reference to
The power feeding controller 24 sets an energization time or a current value used for energizing the heating elements of the dots being selected, and controls the power feeding section 17 which controls the energization of one line of the heating elements of the thermal head 16. In the energization of each of the lines, the energization time for supplying drive current to the heating elements can be determined based on the power supply capacity, the division number of the segmented blocks, properties of the heating elements, and the like.
The power feeding controller 24 is provided with an energization ratio setting circuit 24a for setting an energization ratio, as to the amount of energization applied to the heating elements in each paper feeding, in the case where the motor controller 23 as described above performs the transporting in two times of dot pitch and performs two-time paper feeding for one line, according to the 1-2 phase control.
The energization ratio setting circuit 24a does not define the energization amount fed to the heating elements within one line, but it is to define a ratio between the amount of energization supplied at the time of the former dot pitch, and the amount of energization supplied at the time of the latter dot pitch, when the paper is transported for one line by two-time paper feeding in the 1-2 phase excitation mode. The ratio between the amount of energization fed at the time of the former step dot pitch, and the amount of energization fed at the time the latter step dot pitch is set according to the paper feeding speed.
The energization ratio fed at the time of former dot pitch is set according to the paper feeding speed, and in the former step pitch period, the energization ratio is set to be higher as the paper feeding speed becomes higher, in the range from 50% to 100% according to the speed variation from lower to higher. On the other hand, the energization ratio fed at the time of latter dot pitch is set to be lower as the paper feeding speed becomes higher, in the range of 50% to 0% according to the speed variation from lower to higher. It is to be noted here that the energization ratio during the period of the former step pitch and during the period of the latter step pitch are set in such a manner that the sum total of the ratio becomes 100%, for instance. However, an exothermic efficiency may be deteriorated due to the divisional energization, and considering such a case, the sum total of the energization ratio of the former pitch period and the latter pitch period may be set to 100% or higher.
Followings are reasons why the energization ratio of each pitch period is changed, between the former step and the latter step in the 1-2 phase controlling.
Density of the dots printed during the latter step pitch is influenced by the heated state of the heating elements, due to the energization during the former step pitch. Such influence of the energization state during the period of the former step pitch, exerted on the printing during the period of the latter step pitch is referred to as “hysteresis effect”. When the state heated by the energization during the former pitch period still remains in the period of energization in the latter step, a temperature becomes equal to or higher than a temperature which is obtained when heated by the energization during the period of the latter step pitch only. Therefore, there occurs a difference in print density, between the dots printed during each of the pitch periods, the former step and the latter step. Such difference in the dot print density may appear on a printed image, in the form of uneven density in the line direction, for instance. This influence due to the hysteresis effect depends on the paper feeding speed, showing more significant impact, as the feeding speed becomes higher.
When the energization ratio is 50:50 as shown in
The energization ratio setting circuit 24a according to the present invention considers in setting the energization ratio, the hysteresis effect of the heating elements that were heated during the former step pitch period, and lowers the ratio of the energization performed in the latter step pitch period, so as to reduce the difference in the dot print density between the period of the former step pitch and the period of the latter step pitch.
The energization ratio setting circuit according to the present invention is able to set the ratio of the energization for the dot pitches between in the former step and in the latter step, in a stepwise manner or gradually, within the range from 50:50 to 100:0 according to the speed variation from a low speed to a high speed. It is to be noted that the paper feeding speed can be obtained from the speed setting circuit 22b of the print controller 22.
In the 1-2 phase excitation mode, the energization ratio between the former step pitch period and the latter step pitch period is determined according to the paper feeding speed.
Settings of the energization ratio can be configured by using an energization time or a current value. In the examples shown in
In the examples discussed above, the energization ratio is set in a stepwise manner. However, it is possible to set the ratio gradually in a continuous manner.
Next, with reference to the flowchart of
Firstly, in the block segmentation process, the division number of the segmented blocks is set as to a line to be printed (S1). A preset value of the division number is defined in advance, based on which switching is performed, determining whether the stepping motor is driven in the 2 phase excitation or the stepping motor is driven in the 1-2 phase excitation. Using this preset value as a threshold, and judgment is made as to the division number obtained in the block segmentation process (S2).
In the comparison step in S2, if the division number is smaller than the preset value, it is determined high-speed paper feeding is performed, and the 2 phase excitation mode is set (S3). On the other hand, in the comparison step S2, if the division number is the preset value or larger, it is determined that low-speed or middle-speed paper feeding is performed, and the 1-2 phase excitation mode is set (S4). When the 1-2 phase excitation mode is set, a paper feeding speed is obtained from the speed setting circuit 22b, and an energization ratio in association with this speed is set.
In
When the speed is low, the stepping motor is driven in the 1-2 phase excitation mode. In the 1-2 phase excitation mode, the energization ratio is set in such a manner that the ratio of the former pitch period becomes higher in sequence within a range of 50:50 to 100:0, according to the speed variation from a low speed to a high speed (S5). The steps of S1 to S5 described above are repeated with respect to each line (S6).
The CPU 100 exercises controls all over the thermal printer, according to an operating system and various application software stored in the ROM 101. The ROM 101 further stores database and character fonts therein. The RAM 102 stores primary data in computation, and further stores programs and data transmitted from other devices.
The display device 103 and the input device 104 are I/O peripheral devices, and any display device such as a liquid crystal display, a CRT, and a plasma display may be employed as the display device. The input device 104 may be a keyboard, a pointing device, or the like, to input character string data and various commands.
The thermal head 105 configures the line printer by arranging multiple heating elements in the form of a line. The CPU 100 is provided with each of the aforementioned functions shown in
In addition, the power feeding section 107 is connected to the power supply 105, so as to feed power into the controller and each of the elements provided in the printer, and power is also fed into the paper carrier 108 which incorporates the carriage motor, and the like.
Next, an example for controlling the motor using the microstep drive will be explained.
The configuration as shown in
The motor controller 23 according to the present invention is provided with a microstep control circuit 23d, as an excitation circuit for supplying the drive coil of the carrier motor 18a with excitation current, instead of the 2 phase excitation circuit 23a, the 1-2 phase excitation circuit 23b, and the selection circuit 23c, which are configuration for the 1-2 phase excitation mode as shown in
In the microstep drive in ½ step, one step corresponding to one phase in the 2 phase excitation mode is divided into two steps, and one revolution is made by eight ½ steps. Accordingly, the drive frequency using ½ step is approximately doubled.
In
In each of the segmented steps, obtained by the division, the head is fed with power by the power feeding signals as shown in
It is to be noted here that the microstep drive has a waveform of normal excitation current, being a sinusoidal form, and thereby torque ripple is reduced.
When the stepping motor is subjected to the 2 phase excitation, and then the paper feeding is performed accordingly, as shown in
On the other hand, when the paper feeding is performed by the microstep drive in ½ step, as shown in
When the paper feeding is performed by the microstep drive in ¼ step, as shown in
When the paper feeding is performed, by ⅛ step microstep drive, as shown in
The microstep drive control circuit 23d selects the full step, ½ step, ¼ step, or ⅛ step, based on the division number of the segmented blocks, which is defined in the block segmentation processing circuit 22a. For example, as a threshold for performing the selection, a certain division number is set in advance, and the microstep drive control circuit compares the division number obtained in the block segmentation processing circuit 22a with the preset value which is set in advance, and generates an excitation signal for performing the full step, ½ step, ¼ step, or ⅛ step, based on the comparison result.
The carrier motor 18a of the paper carrier 18 is driven by the excitation signal selected based on the division number, which is outputted from the motor controller 23.
The energization ratio setting circuit 24a of the power feeding controller 24 sets an energization ratio of the energization amount that is applied to the heating elements at each time of paper feeding, when the paper feeding is performed in each divided step according to the microstep drive. This energization ratio setting circuit 24a defines the ratio of the energization amount to be supplied in each of the divided steps.
The energization ratio is set in accordance with the paper feeding speed as the following: the energization ratio fed in the first ½ step is set to be higher, as the paper feeding speed becomes higher, in the range of 50% to 100% according to the speed variation from lower to higher; and on the other hand, the energization ratio fed in the second ½ step is set to be lower, as the paper feeding speed becomes higher, in the range of 50% to 0% according to the speed variation from lower to higher. It is to be noted here that the energization ratio during the period of the first ½ step and during the period of the second step are set in such a manner that the sum total of the rates becomes 100%, for instance. However, an exothermic efficiency may be deteriorated due to a divisional energization. Considering such a case above, the sum total of the energization ratio may be set to 100% or higher.
When the microstep drive is performed in ¼ step or ⅛ step, the energization ratio may be set with respect to each segmented steps. It is further possible to divide each of the segmented step into the former half and the latter half, and set the energization ratio for each of the former half and the latter half.
In the case of the microstep drive according to the present invention, a procedure for setting the paper feeding speed and the energization ratio may be the same as the procedure of the flowchart shown
In each of the examples described above, as for the motor control, there have been shown examples of the 1-2 phase excitation mode (the configuration example shown in
The motor controller 23 shown in
In this configuration example, the selection circuit 23c selects either of the 2 phase excitation signal and the 1-2 phase excitation signal. The microstep control circuit 23d performs the microstep control on the excitation signal having been selected, thereby driving the motor.
According to the configuration above, each of the following aspects of the invention can be established: an aspect for generating an excitation signal by the full step from the 2 phase excitation signal, an aspect for generating an excitation signal by the segmented steps; ½ step, ¼ step, ⅛ step, and the like, from the 2 phase excitation signal, an aspect for generating an excitation signal by the full step from the 1-2 phase excitation signal, and an aspect for generating an excitation signal by the segmented steps; ½ step, ¼ step, ⅛ step, and the like, from the 1-2 phase excitation signal. Among those signals above, the excitation signal generated in the full step from the 2 phase excitation signal has the lowest drive frequency, and the excitation signal generated in ⅛ step from the 1-2 phase excitation signal has the highest drive frequency.
The thermal printer according to the present invention can be applied to a small-sized electronic hardware, such as a portable information terminal.
Number | Date | Country | Kind |
---|---|---|---|
2006-349212 | Dec 2006 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2007/066636 | 8/28/2007 | WO | 00 | 11/25/2008 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2008/078433 | 7/3/2008 | WO | A |
Number | Date | Country |
---|---|---|
63-009562 | Jan 1988 | JP |
2-62250 | Mar 1990 | JP |
7-134234 | May 1995 | JP |
7-323597 | Dec 1995 | JP |
8-25291 | Mar 1996 | JP |
2002-321411 | Nov 2002 | JP |
2005-313481 | Nov 2005 | JP |
2008-155563 | Jul 2008 | JP |
4111455 | Jul 2008 | JP |
Number | Date | Country | |
---|---|---|---|
20100253758 A1 | Oct 2010 | US |