JP2003039721A - Thermal printer and method for controlling energization of thermal printer - Google Patents

Thermal printer and method for controlling energization of thermal printer

Info

Publication number
JP2003039721A
JP2003039721A JP2001234093A JP2001234093A JP2003039721A JP 2003039721 A JP2003039721 A JP 2003039721A JP 2001234093 A JP2001234093 A JP 2001234093A JP 2001234093 A JP2001234093 A JP 2001234093A JP 2003039721 A JP2003039721 A JP 2003039721A
Authority
JP
Japan
Prior art keywords
voltage
head
thermal printer
dots
state
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.)
Pending
Application number
JP2001234093A
Other languages
Japanese (ja)
Inventor
Isao Amiya
功 網屋
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.)
SII P and S Inc
Original Assignee
SII P and S Inc
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 SII P and S Inc filed Critical SII P and S Inc
Priority to JP2001234093A priority Critical patent/JP2003039721A/en
Publication of JP2003039721A publication Critical patent/JP2003039721A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent the printing quality from decreasing due to a voltage drop of a driving power source when a head is energized in a thermal printer. SOLUTION: A dummy load-generating means for falsely generating a state of impressing a voltage to the head is set to the thermal printer which prints through thermal coloring or thermal transfer by energizing a plurality of heating units arranged to the head. Based on a voltage drop amount of the driving power source obtained by comparing a first driving voltage in a state in which the head and the dummy load-generating means are not energized with a second driving voltage in a state in which the dummy load-generating means is energized, a maximum number of simultaneous excitation dots for printing by simultaneously energizing the heating units is set, and moreover, a width of pulses to be excited to the head is calculated by correcting a voltage impressed to the head.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、サーマルヘッドに
より印字を行うサーマルプリンタに適用して有効な技術
に関し、具体的には電池を駆動電源とするサーマルプリ
ンタにおけるサーマルヘッドへの通電制御方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique effective when applied to a thermal printer for printing with a thermal head, and more specifically to a method for controlling energization of the thermal head in a thermal printer using a battery as a driving power source.

【0002】[0002]

【従来の技術】サーマルプリンタは、複数の発熱体が配
設されたサーマルヘッドを備え、印字データに応じた通
電パルス信号を前記発熱体に供給することによって、熱
発色又は熱転写により印刷を行うプリンタである。
2. Description of the Related Art A thermal printer includes a thermal head in which a plurality of heating elements are arranged, and supplies an energizing pulse signal according to print data to the heating element to perform printing by thermal color development or thermal transfer. Is.

【0003】図2は、サーマルヘッドの概略構成を示す
ブロック図である。サーマルヘッド10は、複数個(図
2では384個)の発熱体11,11,・・と、その発
熱体11を電流駆動するための出力ドライバ12と、印
字データを一時的に記憶しておくラッチレジスタ13お
よびシフトレジスタ14で構成される。
FIG. 2 is a block diagram showing a schematic structure of a thermal head. The thermal head 10 temporarily stores a plurality of (384 in FIG. 2) heating elements 11, 11, ..., An output driver 12 for driving the heating elements 11 with current, and print data. It is composed of a latch register 13 and a shift register 14.

【0004】入力端子からシリアル入力された印字デー
タDATは、クロック信号CLKに同期してシフトレジ
スタ14に取り込まれ、適当なタイミングでラッチ信号
LATCHによってラッチレジスタ13に転送される。
そして、ヘッド印字通電指示信号DST1〜6の入力に
より、記憶された印字データDATに対応した発熱体が
通電され印字される。
The print data DAT serially input from the input terminal is taken into the shift register 14 in synchronization with the clock signal CLK and transferred to the latch register 13 by the latch signal LATCH at an appropriate timing.
When the head print energization instruction signals DST1 to 6 are input, the heating elements corresponding to the stored print data DAT are energized and printed.

【0005】なお、図2のサーマルヘッドは、384個
の発熱体11が64個ずつ6つのブロックに分割されて
おり、ヘッド印字通電指示信号DST1〜6により対応
するブロックの発熱体が制御される。
In the thermal head shown in FIG. 2, 384 heating elements 11 are divided into six blocks each having 64 heating elements, and the heating elements of the corresponding blocks are controlled by the head print energization instruction signals DST1 to DST6. .

【0006】近年では、プリント機能を備えた小型電子
機器等に広くサーマルプリンタが利用されており、この
ような小型電子機器においてはその携帯性や利便性を損
なわないように電池を駆動電源としている場合が多い。
このため、図2に示したサーマルヘッドのように、1ラ
インを複数のブロックに分割して、1ラインの印字をブ
ロック単位で順次通電して行うことにより最大電流を低
減する工夫がなされている。
In recent years, thermal printers have been widely used in small electronic devices having a printing function, and in such small electronic devices, a battery is used as a driving power source so as not to impair portability and convenience. In many cases.
Therefore, like the thermal head shown in FIG. 2, one line is divided into a plurality of blocks, and printing of one line is sequentially energized in block units to reduce the maximum current. .

【0007】ところで、通電パルス幅は一般的に次式を
用いて簡単に決定することができる。この式より、適切
な通電パルス幅tを得るためには、正確な通電電圧Vp
とヘッドの抵抗値Rが重要であることがわかる。
By the way, the energizing pulse width can generally be easily determined by using the following equation. From this equation, in order to obtain an appropriate energization pulse width t, the accurate energization voltage Vp
It can be seen that the head resistance value R is important.

【0008】[0008]

【式1】 [Formula 1]

【0009】ここで、tは通電パルス幅(ms)、Eは
標準印字エネルギ(mj)、Vは通電電圧(V)、Rは
ヘッド抵抗値(Ω)、Cは通電パルス周期による補正係
数である。
Here, t is the energizing pulse width (ms), E is the standard printing energy (mj), V is the energizing voltage (V), R is the head resistance value (Ω), and C is a correction coefficient according to the energizing pulse period. is there.

【0010】また、通電パルス幅tを決定する際に、上
記式(1)で必要なヘッドへの通電電圧Vpとヘッドの
抵抗値Rの他に、ヘッド(発熱体)の温度などを通電直
前に測定して、ヘッド温度等により抵抗や通電電圧が受
ける影響を考慮に入れて通電パルス幅tを決定する方法
もある。
Further, when the energizing pulse width t is determined, in addition to the energizing voltage Vp to the head and the resistance value R of the head required by the above equation (1), the temperature of the head (heating element) and the like immediately before energizing. It is also possible to determine the energizing pulse width t by taking into consideration the influence of the resistance and the energizing voltage due to the head temperature and the like.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、電池を
駆動電源とする場合、出力する印字データによってはヘ
ッドに流れる電流が大きくなり、これに伴い電池の内部
抵抗により電源電圧が大きくドロップしてしまうことが
ある。この場合、実際の通電電圧Vpは予め設定した通
電電圧Vp’よりも低くなってしまうので、上述した式
から予め算出したパルス幅t’では実際に必要となるパ
ルス幅tより短くなってしまい、印字が薄くなってしま
う。また、電圧降下量が大きいと印字にムラが発生しや
すくなり、印字品質を確保することができなくなるとい
う問題が生じる。
However, when a battery is used as the driving power source, the current flowing through the head becomes large depending on the print data to be output, and the power supply voltage drops greatly due to the internal resistance of the battery. There is. In this case, since the actual energization voltage Vp becomes lower than the preset energization voltage Vp ′, the pulse width t ′ calculated in advance from the above formula becomes shorter than the actually required pulse width t, The print becomes faint. Further, if the amount of voltage drop is large, uneven printing is likely to occur, and there arises a problem that the printing quality cannot be ensured.

【0012】本発明は、ヘッドに通電する際に駆動電源
の電圧が降下して印字品質が低下するのを防止可能なサ
ーマルプリンタ、およびサーマルプリンタの通電制御方
法を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a thermal printer and a method for controlling energization of a thermal printer, which can prevent the voltage of a driving power source from being lowered when the head is energized to deteriorate the printing quality.

【0013】[0013]

【課題を解決する手段】本発明は、上記課題を解決する
ためになされたもので、複数の発熱体を有し、印字デー
タに対応して前記発熱体に通電し熱発色又は熱転写によ
り印字用紙に印字するラインドット型のヘッドと、前記
ヘッドに所定の電圧を印加するための電圧印加手段と、
前記電圧印加手段の駆動電圧を測定する電圧測定手段
と、ヘッドに電圧を印加した状態を擬似的に発生させる
疑似負荷発生手段と、前記ヘッドおよび前記疑似負荷発
生手段に通電していない状態における前記電圧印加手段
の第1の駆動電圧と、前記疑似負荷発生手段に通電した
状態における前記電圧印加手段の第2の駆動電圧とを比
較して得られた前記電圧印加手段の電圧降下量に基づい
て前記発熱体に同時に通電して印字する同時通電ドット
数を算出する最大同時通電ドット数設定手段と、前記電
圧印加手段の電圧降下量に基づいてヘッドへの印加電圧
を補正してヘッドに通電するパルス幅を算出する通電パ
ルス幅算出手段と、を少なくとも備えるようにしたサー
マルプリンタである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and has a plurality of heating elements, and the heating elements are energized in accordance with print data to generate printing paper by thermal coloring or thermal transfer. A line dot type head for printing on, and a voltage applying means for applying a predetermined voltage to the head,
Voltage measuring means for measuring the drive voltage of the voltage applying means, pseudo load generating means for pseudo generating a state in which a voltage is applied to the head, and the head and the pseudo load generating means in a non-energized state Based on a voltage drop amount of the voltage applying unit obtained by comparing a first drive voltage of the voltage applying unit with a second drive voltage of the voltage applying unit in a state where the pseudo load generating unit is energized. A maximum simultaneous energization dot number setting means for calculating the number of simultaneously energized dots for printing by energizing the heating elements at the same time and energizing the head by correcting the voltage applied to the head based on the voltage drop amount of the voltage applying means. The thermal printer is provided with at least an energization pulse width calculating means for calculating a pulse width.

【0014】このサーマルプリンタによれば、実際にヘ
ッドに通電するときの駆動電圧を予測して通電パルス幅
を算出できるとともに、最大同時通電ドット数を制限し
て電圧発生手段の電圧降下が大きくならないようにして
いるので、印字濃度が薄くなったり印字ムラが発生した
りして印字品質が低下するのを防止できる。
According to this thermal printer, the drive voltage for actually energizing the head can be predicted to calculate the energizing pulse width, and the maximum number of simultaneously energized dots is limited so that the voltage drop of the voltage generating means does not become large. Therefore, it is possible to prevent the print quality from deteriorating due to a decrease in print density or occurrence of print unevenness.

【0015】特に、電圧印加手段として電池を用いる場
合は、ヘッドに流れる電流量に関連して内部抵抗による
駆動電圧の電圧降下が大きくなるので、本発明を適用し
て電圧降下を有効に抑えることにより印字品質を確保す
ることができる。
Particularly, when a battery is used as the voltage applying means, the voltage drop of the drive voltage due to the internal resistance becomes large in relation to the amount of current flowing through the head. Therefore, the present invention can be applied to effectively suppress the voltage drop. Thus, the print quality can be secured.

【0016】また、前記疑似負荷発生手段は、前記発熱
体の所定数の合計抵抗に相当する抵抗値を有する抵抗
と、当該疑似負荷発生手段を有効にするためのスイッチ
手段とで構成されるようにするとよい。これにより、前
記第2の駆動電圧を測定するときだけ疑似負荷発生回路
を有効にすることができるので、実際の印字には影響を
与えることはなく印字品質を低下させる心配はない。ま
た、実際に通電する発熱体の個数に応じてヘッド印加電
圧を容易に補正して印字に最適なパルス幅を算出して通
電することができる。
Further, the pseudo load generating means is composed of a resistor having a resistance value corresponding to a total resistance of a predetermined number of the heating elements, and a switch means for enabling the pseudo load generating means. It should be set to. As a result, the pseudo load generating circuit can be enabled only when the second drive voltage is measured, so that it does not affect the actual printing and there is no fear of degrading the printing quality. Further, it is possible to easily correct the head applied voltage according to the number of heating elements that are actually energized, calculate the optimum pulse width for printing, and energize.

【0017】また、前記第1の駆動電圧と前記電圧降下
量の程度に関連して予め設定された最大同時通電ドット
数の設定用テーブルを利用することにより、最大同時通
電ドット数を容易に設定することができる。ただし、こ
のテーブルは、前記疑似負荷発生手段の抵抗に応じて変
更するのが望ましい。
The maximum number of simultaneously energized dots can be easily set by using a preset table for the number of simultaneously energized dots which is preset in relation to the degree of the first drive voltage and the amount of voltage drop. can do. However, it is desirable to change this table according to the resistance of the pseudo load generating means.

【0018】[0018]

【発明の実施の形態】以下に、本発明の好適な実施形態
を図面に基づいて詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Preferred embodiments of the present invention will be described in detail below with reference to the drawings.

【0019】図1は、本実施形態に係るサーマルプリン
タPの概略構成を示すブロック図である。サーマルプリ
ンタPは、通電パルスによって駆動されて印字用紙に印
字を行うラインドット型のサーマルヘッド10と、プリ
ンタ全体の制御を行うCPU(Central Processing Uni
t)20と、CPU20が実行するプログラムやパラメ
ータ等を記憶するROM(Read Only Memory)30と、
印字データ等を一時的に記憶しておくRAM(Random A
ccess Memory)40と、操作パネルを操作して入力され
たキー操作信号や外部装置等からの印刷データ信号を入
力される入力部50と、モータ70の動作制御を行うモ
ータ駆動回路60と、サーマルヘッドの移動や印字用紙
の紙送り等を行うモータ70と、サーマルヘッド10の
駆動電源としての電池80と、サーマルヘッド10の駆
動電圧を測定する電圧測定回路90と、サーマルヘッド
10に通電したときの状態を擬似的に発生させる疑似負
荷発生回路100と、を少なくとも備えている。なお、
電池80に対して、サーマルヘッド10と電圧測定回路
90と疑似抵抗発生回路100は並列に接続されてい
る。
FIG. 1 is a block diagram showing the schematic arrangement of a thermal printer P according to this embodiment. The thermal printer P is a line dot type thermal head 10 that is driven by energizing pulses to print on a printing sheet, and a CPU (Central Processing Uni) that controls the entire printer.
t) 20, a ROM (Read Only Memory) 30 for storing programs executed by the CPU 20, parameters, etc.,
RAM (Random A) for temporarily storing print data, etc.
ccess Memory) 40, an input section 50 to which a key operation signal input by operating the operation panel and a print data signal from an external device are input, a motor drive circuit 60 that controls the operation of the motor 70, and a thermal A motor 70 for moving the head, feeding a printing paper, etc., a battery 80 as a driving power source for the thermal head 10, a voltage measuring circuit 90 for measuring a driving voltage of the thermal head 10, and a time when the thermal head 10 is energized. And a pseudo load generation circuit 100 that generates the above state in a pseudo manner. In addition,
The thermal head 10, the voltage measuring circuit 90, and the pseudo resistance generating circuit 100 are connected in parallel to the battery 80.

【0020】図2は、サーマルヘッド10の概略構成を
示すブロック図である。
FIG. 2 is a block diagram showing a schematic structure of the thermal head 10.

【0021】本実施形態のサーマルヘッド10は、複数
個(図2では384個)の発熱体11,11,・・と、
その発熱体11を駆動するための出力ドライバ12と、
印字データを一時的に記憶しておくラッチレジスタ13
およびシフトレジスタ14で構成される。入力端子から
シリアル入力された印字データDATは、クロック信号
CLKに同期してシフトレジスタ14に取り込まれ、適
当なタイミングでラッチ信号LATCHによってラッチ
レジスタ13に転送される。そして、ヘッド印字通電指
示信号DST1〜6の入力により、記憶された印字デー
タDATに対応した発熱体が通電され印字される。
The thermal head 10 of this embodiment includes a plurality of (384 in FIG. 2) heating elements 11, 11 ,.
An output driver 12 for driving the heating element 11,
Latch register 13 for temporarily storing print data
And a shift register 14. The print data DAT serially input from the input terminal is taken into the shift register 14 in synchronization with the clock signal CLK and transferred to the latch register 13 by the latch signal LATCH at an appropriate timing. When the head print energization instruction signals DST1 to 6 are input, the heating elements corresponding to the stored print data DAT are energized and printed.

【0022】なお、図2のサーマルヘッドは、384個
の発熱体11が64個ずつ6つのブロックに分割されて
おり、ヘッドに通電指示をするストローブ信号DST1
〜6により対応するブロックの発熱体が制御される。
In the thermal head shown in FIG. 2, 384 heating elements 11 are divided into 6 blocks each having 64 heating elements, and a strobe signal DST1 for instructing the head to be energized.
The heating elements of the corresponding blocks are controlled by ~ 6.

【0023】本実施形態では、一つのストローブ信号D
ST1/DST2/・・で64ドットに相当する64個
の発熱体11への通電を制御するが、同時に通電できる
ドット数(以下、最大同時通電ドット数と称する)は3
2ドットとされている。
In this embodiment, one strobe signal D
In ST1 / DST2 / ..., the energization to 64 heating elements 11 corresponding to 64 dots is controlled, but the number of dots that can be energized simultaneously (hereinafter referred to as the maximum number of simultaneously energized dots) is 3
It is set to 2 dots.

【0024】また、サーマルヘッド10にはサーミスタ
が設けられており、ヘッドの温度を測定できるようにな
っている。
Further, the thermal head 10 is provided with a thermistor so that the temperature of the head can be measured.

【0025】図1において、電池80はサーマルヘッド
10に4.2〜8.5Vの電圧を印加できる例えばNi
Cd(ニッケル−カドミウム)等で構成された電池であ
る。電池80には内部抵抗が存在し、サーマルヘッド1
0に大きな負荷電流が流れた場合は、4.2〜8.5V
の電源電圧に対して内部抵抗による電圧降下が1V以上
となることがある。このとき、サーマルヘッド10に通
電していない状態(以下、無負荷状態と称する)の電池
電圧をサーマルヘッドへの印加電圧として算出した通電
パルス幅で通電していると、印字を行うのに必要なエネ
ルギーが充分に得られずに印字濃度が薄くなってしま
う。
In FIG. 1, a battery 80 is a Ni-based battery capable of applying a voltage of 4.2 to 8.5 V to the thermal head 10.
It is a battery composed of Cd (nickel-cadmium) or the like. The battery 80 has internal resistance, and the thermal head 1
When a large load current flows to 0, 4.2 to 8.5V
The voltage drop due to the internal resistance may be 1 V or more with respect to the power supply voltage. At this time, it is necessary to perform printing if the thermal head 10 is energized with the energization pulse width calculated as the voltage applied to the thermal head when the battery voltage is not energized (hereinafter referred to as the no-load state). Energy cannot be obtained sufficiently and the print density becomes thin.

【0026】そこで、本実施形態では印字開始前にサー
マルヘッド10に通電している状態(以下、負荷状態と
称する)を擬似的に発生させることにより、内部抵抗に
よる電圧降下を測定し、その電圧降下をもとにサーマル
ヘッドへの印加電圧を補正するとともに、電圧降下の程
度に応じて最大同時通電ドット数を制限するようにして
いる。つまり、適切な印加電圧をもとに通電パルス幅を
算出するとともに、設定した通電パルス幅により供給可
能な最大同時通電ドット数を制限することにより印字濃
度を確保する。
Therefore, in this embodiment, the voltage drop due to the internal resistance is measured by artificially generating a state in which the thermal head 10 is energized (hereinafter referred to as a load state) before the start of printing, and the voltage is measured. The voltage applied to the thermal head is corrected based on the voltage drop, and the maximum number of simultaneously energized dots is limited according to the degree of voltage drop. That is, the print density is secured by calculating the energization pulse width based on an appropriate applied voltage and limiting the maximum number of simultaneously energized dots that can be supplied by the set energization pulse width.

【0027】電圧測定回路90は、電池80からサーマ
ルヘッド10への電圧供給経路に接続され、負荷状態、
無負荷状態での電池電圧を測定する。本実施形態では、
抵抗値が同じで数十kΩの抵抗R1、R2を直列に接続
し、2つの抵抗R1,R2の中間点Aの電位をCPU2
0に取り込み、この電圧を2倍することにより電池80
の駆動電圧を算出している。なお、本実施形態ではCP
U20で取り込み可能な電圧値が5V程度であるので電
圧測定回路の構成を図1に示す構成としたが、CPU2
0で取り込み可能な電圧値が大きければ電池80からサ
ーマルヘッド10への電圧供給経路上の電圧を直接CP
U20に取り込むようにしてもよい。
The voltage measuring circuit 90 is connected to the voltage supply path from the battery 80 to the thermal head 10, and the load state,
Measure the battery voltage with no load. In this embodiment,
Resistors R1 and R2 having the same resistance value and several tens of kΩ are connected in series, and the potential at the intermediate point A between the two resistors R1 and R2 is set to CPU2.
0 to the battery 80 by doubling this voltage
Drive voltage is calculated. In this embodiment, CP
Since the voltage value that can be taken in by U20 is about 5 V, the voltage measuring circuit has the structure shown in FIG.
If the voltage value that can be taken in at 0 is large, the voltage on the voltage supply path from the battery 80 to the thermal head 10 is directly CP.
You may make it take in in U20.

【0028】疑似負荷発生回路100は、電池80から
サーマルヘッド10への電圧供給経路に接続され、最大
同時通電ドット数(32ドット)を印字するときの発熱
体11の抵抗に相当する抵抗R3とスイッチング用トラ
ンジスタTが直列に接続されて構成される。例えば、発
熱体1つの抵抗が180Ωである場合、32個の発熱体
に相当する抵抗は5.625Ω(=180/32)とな
るので、本実施形態ではそれより若干大きい6Ωの抵抗
を接続している。これにより、スイッチング用トランジ
スタTをONすれば、サーマルヘッド10に通電を行っ
たとき生じる最大負荷を擬似的に発生させた状態を作り
出すことができる。
The pseudo load generating circuit 100 is connected to the voltage supply path from the battery 80 to the thermal head 10, and has a resistance R3 corresponding to the resistance of the heating element 11 when printing the maximum number of simultaneously energized dots (32 dots). The switching transistors T are connected in series. For example, when the resistance of one heating element is 180Ω, the resistance corresponding to 32 heating elements is 5.625Ω (= 180/32), so in this embodiment, a resistance of 6Ω which is slightly larger than that is connected. ing. As a result, when the switching transistor T is turned on, it is possible to create a state in which the maximum load that occurs when the thermal head 10 is energized is generated in a pseudo manner.

【0029】図3は、印字データDATに従って印字を
行うときの印字処理に関するフローチャートである。
FIG. 3 is a flowchart relating to the printing process when printing is performed according to the print data DAT.

【0030】まず、サーマルヘッド10に通電しない状
態で、図1における電圧測定回路90で電池80の電圧
Vp1を測定する(ステップS1)。従来は、この電圧
値Vp1をサーマルヘッドへの印加電圧Vpとしてパル
ス幅を算出していたが、本実施形態ではこの電圧値Vp
1を補正することにより、より最適なパルス幅を算出で
きるようにしている。
First, the voltage Vp1 of the battery 80 is measured by the voltage measuring circuit 90 shown in FIG. 1 while the thermal head 10 is not energized (step S1). Conventionally, the pulse width was calculated by using this voltage value Vp1 as the applied voltage Vp to the thermal head, but in the present embodiment, this voltage value Vp is calculated.
By correcting 1, the more optimum pulse width can be calculated.

【0031】次に、スイッチング用トランジスタTのス
イッチをONして疑似負荷発生回路100に電圧が印加
された状態にする(ステップS2)。すなわち、サーマ
ルヘッド10の32個の発熱体(最大同時通電ドット数
に相当)に通電したときの負荷を擬似的に発生させた状
態を作り出す。
Next, the switch of the switching transistor T is turned on so that the voltage is applied to the pseudo load generating circuit 100 (step S2). That is, a state is generated in which the load when the 32 heating elements (corresponding to the maximum number of simultaneously energized dots) of the thermal head 10 are energized is generated in a pseudo manner.

【0032】次に、疑似負荷発生回路100に電圧が印
加された状態での電圧Vp2を測定する(ステップS
3)。これにより、電池の内部抵抗によりドロップした
電圧が測定される。
Next, the voltage Vp2 is measured with the voltage applied to the pseudo load generating circuit 100 (step S).
3). Thereby, the voltage dropped due to the internal resistance of the battery is measured.

【0033】次に、スイッチング用トランジスタTのス
イッチをOFFして疑似負荷状態を解除する(ステップ
S4)。
Next, the switch of the switching transistor T is turned off to release the pseudo load state (step S4).

【0034】そして、無負荷状態での電圧Vp1と負荷
状態での電圧Vp2の電圧差を算出し、電圧差が1V以
下であれば電圧降下による影響を無視しうるのでステッ
プS7に移行し、電圧差が1V以上であれば電圧降下に
よる影響を考慮に入れて最大同時通電ドット数を設定す
る必要があるのでステップS6に移行する(ステップS
5)。
Then, the voltage difference between the voltage Vp1 in the unloaded state and the voltage Vp2 in the loaded state is calculated. If the voltage difference is 1 V or less, the influence of the voltage drop can be ignored, so the process proceeds to step S7. If the difference is 1 V or more, it is necessary to set the maximum number of simultaneously energized dots in consideration of the influence of the voltage drop, so the process proceeds to step S6 (step S6).
5).

【0035】ステップS5で電圧差が1V以上であった
場合は、表1に従って最大同時通電ドット数を設定する
(ステップS6)。なお、表1に示す最大同時通電ドッ
ト数の設定用テーブルはROM30に予め記憶されてい
る。
When the voltage difference is 1 V or more in step S5, the maximum number of simultaneously energized dots is set according to Table 1 (step S6). The table for setting the maximum number of simultaneously energized dots shown in Table 1 is stored in the ROM 30 in advance.

【0036】[0036]

【表1】 [Table 1]

【0037】例えば、無負荷状態の電圧Vp1が4.2
〜5.0Vである場合、電圧降下(Vp1−Vp2)が
1.0V以下であれば最大同時通電ドット数は32ドッ
トに設定され、電圧降下が1.0〜1.5Vの範囲内で
あれば最大同時通電ドット数は24ドットに設定され、
電圧降下が1.5〜2.0Vの範囲内であれば最大同時
通電ドット数は16ドットに設定され、電圧降下が2.
0V以上であれば最大同時通電ドット数は8ドットに設
定される。
For example, the unloaded voltage Vp1 is 4.2.
When the voltage drop (Vp1−Vp2) is 1.0V or less, the maximum number of simultaneously energized dots is set to 32 dots, and the voltage drop is within the range of 1.0 to 1.5V. For example, the maximum number of simultaneously energized dots is set to 24 dots,
If the voltage drop is within the range of 1.5 to 2.0 V, the maximum number of simultaneously energized dots is set to 16 dots, and the voltage drop is 2.
If it is 0 V or more, the maximum number of simultaneously energized dots is set to 8 dots.

【0038】同様に、無負荷状態の電圧Vp1が5.0
〜6.0Vである場合、電圧降下(Vp1−Vp2)が
1.0V以下であれば最大同時通電ドット数は32ドッ
トに設定され、電圧降下が1.0〜1.5Vの範囲内で
あれば最大同時通電ドット数は24ドットに設定され、
電圧降下が1.5〜2.0Vの範囲内であれば最大同時
通電ドット数は16ドットに設定され、電圧降下が2.
0V以上であれば最大同時通電ドット数は8ドットに設
定される。
Similarly, the voltage Vp1 in the no-load state is 5.0.
When the voltage drop (Vp1−Vp2) is 1.0 V or less, the maximum number of simultaneously energized dots is set to 32, and the voltage drop is 1.0 to 1.5 V. For example, the maximum number of simultaneously energized dots is set to 24 dots,
If the voltage drop is within the range of 1.5 to 2.0 V, the maximum number of simultaneously energized dots is set to 16 dots, and the voltage drop is 2.
If it is 0 V or more, the maximum number of simultaneously energized dots is set to 8 dots.

【0039】また、無負荷状態の電圧Vp1が6.0〜
7.2Vである場合、電圧降下(Vp1−Vp2)が
1.5V以下であれば最大同時通電ドット数は32ドッ
トに設定され、電圧降下が1.5V以上であれば最大同
時通電ドット数は16ドットに設定される。
The voltage Vp1 in the no-load state is 6.0 to
In the case of 7.2V, if the voltage drop (Vp1-Vp2) is 1.5V or less, the maximum number of simultaneously energized dots is set to 32 dots, and if the voltage drop is 1.5V or more, the maximum number of simultaneously energized dots is It is set to 16 dots.

【0040】また、無負荷状態の電圧Vp1が7.2〜
8.5Vである場合、電圧降下(Vp1−Vp2)が
1.5V以下であれば最大同時通電ドット数は32ドッ
トに設定され、電圧降下が1.5〜2.0Vの範囲内で
あれば最大同時通電ドット数は24ドットに設定され、
電圧降下が2.0V以上であれば最大同時通電ドット数
は16ドットに設定される。
The voltage Vp1 in the unloaded state is 7.2 to
In the case of 8.5V, if the voltage drop (Vp1-Vp2) is 1.5V or less, the maximum number of simultaneously energized dots is set to 32 dots, and if the voltage drop is within the range of 1.5 to 2.0V. The maximum number of simultaneously energized dots is set to 24 dots,
If the voltage drop is 2.0 V or more, the maximum number of simultaneously energized dots is set to 16 dots.

【0041】このように、無負荷状態の電圧Vp1に対
する電圧降下の程度に応じて最大同時通電ドット数を制
限することにより、通電時の電圧降下を印字品質に影響
を与えない程度に抑えることができる。
As described above, by limiting the maximum number of simultaneously energized dots in accordance with the degree of voltage drop with respect to the voltage Vp1 in the no-load state, the voltage drop during energization can be suppressed to such an extent that print quality is not affected. it can.

【0042】次に、無負荷状態の電圧Vp1と負荷状態
の電圧Vp2をもとに通電パルス幅を算出するために必
要なヘッド印加電圧Vpを算出する(ステップS7)。
例えば、本実施形態では32個の発熱体に通電したとき
の電圧降下値(Vp1−Vp2)が分かっているので、
これをもとに実際に通電する発熱体の個数(印字データ
から得られる印字ドット数)に応じた電圧降下値を求
め、この電圧降下値で無負荷状態の電圧Vp1を補正す
ることによりヘッド印加電圧Vpを算出するとよい。
Next, the head applied voltage Vp necessary for calculating the energizing pulse width is calculated based on the voltage Vp1 in the no-load state and the voltage Vp2 in the loaded state (step S7).
For example, in the present embodiment, the voltage drop value (Vp1-Vp2) when 32 heating elements are energized is known.
Based on this, the voltage drop value corresponding to the number of heating elements (the number of print dots obtained from the print data) actually energized is obtained, and the voltage applied to the head is corrected by correcting the voltage Vp1 in the no-load state with this voltage drop value. The voltage Vp may be calculated.

【0043】次に、ステップS7で算出した電圧Vpを
もとにヘッドへの通電パルス幅(式1参照)を算出し、
印字データに対応する発熱体に算出された通電パルス幅
で通電することによりドットを印字する(ステップS
8)。
Next, the energizing pulse width to the head (see equation 1) is calculated based on the voltage Vp calculated in step S7,
Dots are printed by energizing the heating element corresponding to the print data with the calculated energizing pulse width (step S
8).

【0044】次に、印字処理がすべて終了したか判定
し、すべて終了したと判定した場合は一連の印字処理を
終了し、終了していないと判定した場合はステップS1
0に移行する(ステップS9)。
Next, it is judged whether or not the printing process is completed. If it is judged that the printing process is completed, a series of printing processes is completed. If it is judged that the printing process is not completed, step S1 is executed.
It shifts to 0 (step S9).

【0045】さらに、ステップS10で50行連続で印
字を行ったか判定し、50行連続で印字を行ったと判定
した場合は、最大同時通電ドット数が適切であるか調べ
るためにステップS1に移行しステップS1〜S10の
一連の処理を繰り返す。一方、ステップS10で50行
連続で印字を行っていないと判定した場合は、ステップ
S7に移行して印字処理を続ける。つまり、連続印字に
よる電池の消耗を考慮して、所定の印字処理(本実施形
態では50行印字)ごとに適切な最大同時通電ドット数
を設定するようにしている。
Further, in step S10, it is determined whether or not printing has been performed continuously for 50 lines. If it is determined that printing has been performed for 50 consecutive lines, the process proceeds to step S1 to check whether the maximum number of simultaneously energized dots is appropriate. A series of processes of steps S1 to S10 is repeated. On the other hand, if it is determined in step S10 that printing has not been performed on 50 consecutive lines, the process proceeds to step S7 to continue the printing process. That is, in consideration of battery consumption due to continuous printing, an appropriate maximum number of simultaneously energized dots is set for each predetermined printing process (50 lines printing in this embodiment).

【0046】本実施形態にでは、サーマルヘッド10へ
の印加電圧Vpを印字データ(の印字ドット数)に応じ
て変更して最適な通電パルス幅を算出するとともに、最
大同時通電ドット数を制限することにより電流値が増大
して電池の内部抵抗による電圧降下が大きくなるのを抑
制しているので、印字濃度が薄くなったり印字ムラが発
生したりするのを防止でき、高品質の印字を実現でき
る。
In this embodiment, the voltage Vp applied to the thermal head 10 is changed according to (the number of print dots of) the print data to calculate the optimum energizing pulse width, and the maximum number of simultaneous energizing dots is limited. As a result, the current value is prevented from increasing and the voltage drop due to the internal resistance of the battery is prevented from increasing, so it is possible to prevent thin printing density and uneven printing, and realize high-quality printing. it can.

【0047】以上本発明者によってなされた発明を実施
形態に基づいて具体的に説明したが、本発明は上記実施
例に限定されるものではない。表1に示した最大同時通
電ドット数を設定するためのテーブルは、本実施形態の
疑似負荷発生回路100を用いた場合に適用できるもの
であり、疑似負荷発生回路100の抵抗R3が異なる場
合はそれに応じてテーブルを変更するべきである。抵抗
R3の抵抗値が本実施形態の6Ωよりも大きい場合は電
圧降下の程度が小さくなるので、電圧降下量(Vp1−
Vp2)の範囲を小さくして最大同時通電ドット数を設
定するのが望ましい。
Although the invention made by the present inventor has been specifically described based on the embodiments, the present invention is not limited to the above embodiments. The table for setting the maximum number of simultaneously energized dots shown in Table 1 can be applied when the pseudo load generating circuit 100 of the present embodiment is used, and when the resistance R3 of the pseudo load generating circuit 100 is different. You should change the table accordingly. When the resistance value of the resistor R3 is larger than 6Ω of the present embodiment, the degree of the voltage drop is small, so the voltage drop amount (Vp1-
It is desirable to set the maximum number of simultaneously energized dots by reducing the range of Vp2).

【0048】また例えば、疑似負荷発生回路100に異
なる複数種類の抵抗を設け、抵抗値を種々に変更してそ
のときの駆動電圧を測定することも可能であり、この場
合は通電する抵抗の抵抗値に応じて複数のテーブルを用
意するのが望ましい。
It is also possible, for example, to provide a plurality of different types of resistors in the pseudo load generating circuit 100 and change the resistance value variously to measure the drive voltage at that time. It is desirable to prepare multiple tables according to the values.

【0049】[0049]

【発明の効果】本発明によれば、サーマルヘッドおよび
疑似負荷発生手段に通電していない状態における第1の
駆動電圧と、疑似負荷発生手段に通電した状態における
第2の駆動電圧とを比較して得られた駆動電源の電圧降
下量に基づいて、サーマルヘッドに配置された複数の発
熱体に同時に通電して印字する最大同時通電ドット数を
設定するとともに、サーマルヘッドへの印加電圧を補正
してヘッドに通電するパルス幅を算出するようにしたの
で、印字濃度が薄くなったり印字ムラが発生したりして
印字品質が低下するのを防止できるという効果を奏す
る。
According to the present invention, the first drive voltage when the thermal head and the pseudo load generating means are not energized is compared with the second drive voltage when the pseudo load generating means is energized. Based on the obtained voltage drop of the driving power supply, set the maximum number of simultaneously energized dots that energize multiple heating elements arranged in the thermal head at the same time and correct the voltage applied to the thermal head. Since the pulse width for energizing the head is calculated, it is possible to prevent the print quality from being deteriorated due to the print density becoming thin or the print unevenness occurring.

【図面の簡単な説明】[Brief description of drawings]

【図1】本実施形態に係るサーマルプリンタPの概略構
成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a thermal printer P according to the present embodiment.

【図2】サーマルヘッド10の概略構成を示すブロック
図である。
FIG. 2 is a block diagram showing a schematic configuration of a thermal head 10.

【図3】印字データDATに従って印字を行うときの印
字処理に関するフローチャートである。
FIG. 3 is a flowchart regarding a printing process when printing is performed according to print data DAT.

【符号の説明】[Explanation of symbols]

10 サーマルヘッド 20 CPU 30 ROM 40 RAM 50 入力部 60 モータ駆動回路 70 モータ 80 駆動電源(電池) 90 駆動電圧測定回路 100 疑似負荷発生回路 P サーマルプリンタ 10 thermal head 20 CPU 30 ROM 40 RAM 50 Input section 60 motor drive circuit 70 motor 80 Drive power supply (battery) 90 Drive voltage measuring circuit 100 Pseudo load generation circuit P thermal printer

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 複数の発熱体を有し、印字データに対応
して前記発熱体に通電し熱発色又は熱転写により印字用
紙に印字するラインドット型のヘッドと、 前記ヘッドに所定の電圧を印加するための電圧印加手段
と、 前記電圧印加手段の駆動電圧を測定する電圧測定手段
と、 ヘッドに電圧を印加した状態を擬似的に発生させる疑似
負荷発生手段と、 前記ヘッドおよび前記疑似負荷発生手段に通電していな
い状態における前記電圧印加手段の第1の駆動電圧と、
前記疑似負荷発生手段に通電した状態における前記電圧
印加手段の第2の駆動電圧とを比較して得られた前記電
圧印加手段の電圧降下量に基づいて前記発熱体に同時に
通電して印字する同時通電ドット数を算出する最大同時
通電ドット数設定手段と、 前記電圧印加手段の電圧降下量に基づいてヘッドへの印
加電圧を補正してヘッドに通電するパルス幅を算出する
通電パルス幅算出手段と、 を少なくとも備えたことを特徴とするサーマルプリン
タ。
1. A line dot type head having a plurality of heating elements, which prints on a printing paper by heat coloring or thermal transfer by energizing the heating elements according to print data, and applying a predetermined voltage to the head. For applying the voltage to the head, the voltage measuring means for measuring the drive voltage of the voltage applying means, the pseudo load generating means for artificially generating a state in which a voltage is applied to the head, the head and the pseudo load generating means A first drive voltage of the voltage applying means in a state where no current is applied to
Simultaneously energize and heat the heating element simultaneously based on the voltage drop amount of the voltage applying unit obtained by comparing with the second drive voltage of the voltage applying unit in the state where the pseudo load generating unit is energized. Maximum simultaneous energization dot number setting means for calculating the energization dot number, energization pulse width calculation means for correcting the voltage applied to the head based on the voltage drop amount of the voltage applying means, and calculating the pulse width for energizing the head A thermal printer characterized by comprising at least.
【請求項2】 前記電圧印加手段は、電池であることを
特徴とする請求項1に記載のサーマルプリンタ。
2. The thermal printer according to claim 1, wherein the voltage applying unit is a battery.
【請求項3】 前記疑似負荷発生手段は、所定数の発熱
体の合計抵抗に相当する抵抗値を有する抵抗と、当該疑
似負荷発生手段を有効にするためのスイッチ手段とで構
成されることを特徴とする請求項1または請求項2に記
載のサーマルプリンタ。
3. The pseudo load generating means comprises a resistor having a resistance value corresponding to the total resistance of a predetermined number of heating elements, and a switch means for enabling the pseudo load generating means. The thermal printer according to claim 1 or 2, which is characterized in that.
【請求項4】 前記最大同時通電ドット数設定手段は、
前記第1の駆動電圧と前記電圧降下量の程度に関連して
設定された最大同時通電ドット数の設定用テーブルを利
用して最大同時通電ドット数を設定することを特徴とす
る請求項1から請求項3のいずれかに記載のサーマルプ
リンタ。
4. The maximum simultaneous energization dot number setting means,
The maximum number of simultaneously energized dots is set using a table for setting the maximum number of simultaneously energized dots set in relation to the degree of the first drive voltage and the amount of voltage drop. The thermal printer according to claim 3.
【請求項5】 前記テーブルは、前記疑似負荷発生手段
の抵抗に応じて変更可能であることを特徴とする請求項
4に記載のサーマルプリンタ。
5. The thermal printer according to claim 4, wherein the table can be changed according to the resistance of the pseudo load generating means.
【請求項6】 電池を駆動電源とし、複数の発熱体から
なるラインドット型のサーマルヘッドにより用紙に印字
を行うサーマルプリンタの通電制御方法であって、 電圧を印加していない状態における第1の駆動電圧を測
定し、 前記サーマルヘッドに電圧を印加した状態を擬似的に発
生させた状態における第2の駆動電圧を測定し、 前記第1の駆動電圧および前記第2の駆動電圧より前記
電池の電圧降下量を算出し、 前記電圧降下量に基づいて前記発熱体に同時に通電して
印字する同時通電ドット数を設定するとともに、ヘッド
への印加電圧を補正してヘッドに通電するパルス幅を算
出することを特徴とするサーマルプリンタの通電制御方
法。
6. A method for controlling energization of a thermal printer, which uses a battery as a driving power source and prints on a sheet by a line dot type thermal head composed of a plurality of heating elements, the first method in a state in which no voltage is applied. A drive voltage is measured, a second drive voltage is measured in a state in which a voltage is applied to the thermal head in a pseudo state, and the second drive voltage is measured based on the first drive voltage and the second drive voltage. The amount of voltage drop is calculated, and the number of simultaneously energized dots that are energized to the heating element simultaneously to print is set based on the amount of voltage drop, and the pulse width to energize the head is calculated by correcting the voltage applied to the head. A method for controlling energization of a thermal printer, comprising:
【請求項7】 前記第1の駆動電圧と前記電圧降下量の
程度に関連して予め設定された最大同時通電ドット数の
設定用テーブルを利用して最大同時通電ドット数を設定
することを特徴とする請求項6に記載のサーマルプリン
タの通電制御方法。
7. The maximum number of simultaneously energized dots is set using a preset table for the number of simultaneously energized dots which is preset in relation to the degree of the first drive voltage and the amount of voltage drop. The energization control method for the thermal printer according to claim 6.
JP2001234093A 2001-08-01 2001-08-01 Thermal printer and method for controlling energization of thermal printer Pending JP2003039721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001234093A JP2003039721A (en) 2001-08-01 2001-08-01 Thermal printer and method for controlling energization of thermal printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001234093A JP2003039721A (en) 2001-08-01 2001-08-01 Thermal printer and method for controlling energization of thermal printer

Publications (1)

Publication Number Publication Date
JP2003039721A true JP2003039721A (en) 2003-02-13

Family

ID=19065771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001234093A Pending JP2003039721A (en) 2001-08-01 2001-08-01 Thermal printer and method for controlling energization of thermal printer

Country Status (1)

Country Link
JP (1) JP2003039721A (en)

Similar Documents

Publication Publication Date Title
EP1658982A2 (en) Thermal Print Head
JP2013010200A (en) Thermal printer, and printing method of the same
JP3039229B2 (en) Thermal printer
JPH07329338A (en) Thermal printer and driving method therefor
JPH10181063A (en) Print head controlling device
JP2000185424A (en) Method for controlling history of thermal printer
JP2003039721A (en) Thermal printer and method for controlling energization of thermal printer
JP3321987B2 (en) Printing equipment
JPH1134380A (en) Driver for thermal head
US11001079B2 (en) Thermal printer and computer-readable storage medium
JPS61228970A (en) Thermal head driver
JP2002292917A (en) Thermal printer
JP3078367B2 (en) Thermal printer controller
JP2647062B2 (en) Print control device for thermal printer
JP2985046B2 (en) Printing control device for thermal head type printing device
JP4385459B2 (en) Thermal head control device and control method thereof
JPH0761021A (en) Printer
JP2001162854A (en) Thermal printer
JPH08174889A (en) Thermal printing mechanism
JPH09220823A (en) Multigradation thermal recording apparatus
JPH024536A (en) Thermal transfer printer
JPH11277783A (en) Thermal printer
JP2003154697A (en) Printer and preheat controlling method therefor
JP2003191518A (en) Controlling method and controller for heater in thermal head
JP2002144619A (en) Thermal printer and its operation controlling method

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20040309

A711 Notification of change in applicant

Effective date: 20050627

Free format text: JAPANESE INTERMEDIATE CODE: A712