JPH05112029A - Device for controlling energy to be applied to thermal head - Google Patents

Device for controlling energy to be applied to thermal head

Info

Publication number
JPH05112029A
JPH05112029A JP27589191A JP27589191A JPH05112029A JP H05112029 A JPH05112029 A JP H05112029A JP 27589191 A JP27589191 A JP 27589191A JP 27589191 A JP27589191 A JP 27589191A JP H05112029 A JPH05112029 A JP H05112029A
Authority
JP
Japan
Prior art keywords
value
energy
thermal head
voltage
data table
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
JP27589191A
Other languages
Japanese (ja)
Inventor
Yoshihiro Arai
義博 荒井
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP27589191A priority Critical patent/JPH05112029A/en
Publication of JPH05112029A publication Critical patent/JPH05112029A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

PURPOSE:To control an energy to be applied to a thermal head at a high speed without using a high-speed CPU. CONSTITUTION:An energy operator 35 holds a data table containing arithmetic heating energy values per voltage value at predetermined sampling intervals on sampling voltage values sequentially detected by a sequential voltage detection part 34 as address values. A heating energy value is found by referring to data corresponding to a detected voltage value in the data table. With the use of a data table using a resistance value of a thermal head as an upper address value and a voltage value as a lower address value, a required heating energy value is found by referring to data based on the respective address values. In an integrator 36, an initial value is so set that an overflow occurs when an energy is accumulated to a reference energy value corresponding to a stable density or higher, and the presence or absence of a carrier is discriminated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、サーマルヘッド印加エ
ネルギー制御装置に関し、特に電源に電池を使用したフ
ァクシミリ装置などの感熱記録装置におけるサーマルヘ
ッド印加エネルギー制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a thermal head applied energy control device, and more particularly to a thermal head applied energy control device in a thermal recording device such as a facsimile machine using a battery as a power source.

【0002】[0002]

【従来の技術】近年、記録装置の小型化が望まれてお
り、電源に電池を使用し、サーマル素子を駆動するサー
マル記録装置が開発されている。この種のサーマル記録
装置は、電池電源の消耗や負荷変動により電圧が変動す
るので、一般的には、端子電圧が直接負荷に印加される
構成になっておらず、レギュレータやDC/DCコンバ
ータを用いて電圧の安定化を行っている。
2. Description of the Related Art In recent years, there has been a demand for miniaturization of a recording apparatus, and a thermal recording apparatus has been developed which uses a battery as a power source and drives a thermal element. In this type of thermal recording device, the voltage fluctuates due to exhaustion of the battery power supply and load fluctuation, so generally, the terminal voltage is not directly applied to the load, and a regulator or a DC / DC converter is not used. It is used to stabilize the voltage.

【0003】しかしながら、最近では特開平2−2033号
公報に記載されているように、安定化電源を用いずに、
サーマルヘッドに印加される電池電源の電圧をA/D変
換器で検出し、CPUにより発熱エネルギーを演算して
パルス幅を制御することが行われている。図7はその従
来例のブロック図である。サーマルヘッドを駆動制御す
る各種信号は、サーマルインターフェース1から出力さ
れ、このサーマルインターフェース1には、駆動電圧V
H がA/D変換器2によりデジタルデータとして入力さ
れる。そして、サーマルヘッドを駆動させる駆動パルス
のパルス幅制御は、サーマル素子を発熱させて、安定し
た印字濃度が得られるように、CPU3およびROM
4、RAM5により演算を行っている。
However, recently, as described in Japanese Patent Application Laid-Open No. 2-2033, without using a stabilized power source,
The voltage of the battery power source applied to the thermal head is detected by an A / D converter, the heat energy is calculated by the CPU, and the pulse width is controlled. FIG. 7 is a block diagram of the conventional example. Various signals for driving and controlling the thermal head are output from the thermal interface 1, and the thermal interface 1 receives a drive voltage V
H is input as digital data by the A / D converter 2. Then, the pulse width control of the drive pulse for driving the thermal head is performed by the CPU 3 and the ROM so that the thermal element is heated to obtain a stable print density.
4 and RAM5 are performing the calculation.

【0004】そのパルス幅制御の一手段としては、特開
昭61-188163号公報に記載されているように、数回にわ
たって駆動電圧をサンプリングし、各サンプリング間に
おける発熱エネルギー値Ptを演算し、累積器により開
始からの累積エネルギー値ΣPt を求め、濃度が安定す
る所定の基準エネルギー値Wに至った時点でサーマルヘ
ッドへの通電を停止するパルス幅制御を行っている。
As one means for controlling the pulse width, as described in Japanese Patent Application Laid-Open No. 61-188163, the driving voltage is sampled several times and the heat generation energy value Pt between each sampling is calculated. A cumulative energy value ΣPt from the start is obtained by the accumulator, and pulse width control is performed to stop energization of the thermal head when a predetermined reference energy value W at which the density stabilizes is reached.

【0005】図8は、その従来例を示すブロック図であ
り、図9は、図8各部の信号波形図である。図8および
図9(c)、(f)に示すように、タイマ6から発生す
る第1のサンプリングクロック(SCLK1)により累
積エネルギー出力手段7のA/D変換器8からサンプリ
ング電圧値ADVを出力する。電圧/電力量変換器9
は、図9(d)、(g)に示すように、サンプリング電
圧値ADVに基づいて第2のサンプリングクロック(S
CLK2)のサンプリング間隔Tで発熱エネルギー値P
tを算出して出力する。
FIG. 8 is a block diagram showing the conventional example, and FIG. 9 is a signal waveform diagram of each part of FIG. As shown in FIGS. 8 and 9 (c) and (f), the sampling voltage value ADV is output from the A / D converter 8 of the cumulative energy output means 7 by the first sampling clock (SCLK1) generated from the timer 6. To do. Voltage / power converter 9
As shown in FIGS. 9D and 9G, the second sampling clock (S
CLK2) sampling interval T at heat generation energy value P
Calculate and output t.

【0006】図10は従来のサンプリング間隔における発
熱エネルギー値の演算フローチャートである。図10に示
すように、ステップ500 では、A/D変換器8によりサ
ンプリング電圧値ADVを読み込む。次に、ステップ50
1 では、電圧/電力量変換器9において、2乗演算(A
DV)2 を行い、ステップ502 でサーマルヘッド抵抗値
Rで除算し、ステップ503 でサンプリング間隔Tで乗算
する。これにより、発熱エネルギー値Pt={(AD
V)2 /R}・Tが求められる。そして、累積器10で
は、演算した各発熱エネルギー値Ptを次式のように順
次累積して、図9(h)のように累積エネルギー値ΣP
t を出力する。
FIG. 10 is a calculation flowchart of a heat generation energy value in a conventional sampling interval. As shown in FIG. 10, in step 500, the sampling voltage value ADV is read by the A / D converter 8. Then step 50
At 1, the square operation (A
DV) 2 is performed, the thermal head resistance value R is divided in step 502, and the sampling interval T is multiplied in step 503. As a result, the heat generation energy value Pt = {(AD
V) 2 / R} · T is required. Then, in the accumulator 10, the calculated heat generation energy values Pt are sequentially accumulated according to the following equation, and the accumulated energy value ΣP is obtained as shown in FIG.
Output t.

【0007】ΣPt =Pt1 +Pt2 +……Ptn=
(V1 2/R)T+(V2 2/R)T+……+(Vn 2
R)T さらに、パルス幅制御手段11では、この累積エネルギー
値ΣPt を端子12からの基準エネルギー値Wと比較器13
で比較して、一致した時に図9(i)の記録終了信号E
NDを出力し、サーマルヘッドの発熱抵抗素子14への通
電を停止してパルス幅を制御していた。
ΣPt = Pt 1 + Pt 2 + ... Ptn =
(V 1 2 / R) T + (V 2 2 /R)T+...+(V n 2 /
R) T Further, in the pulse width control means 11, this cumulative energy value ΣPt is compared with the reference energy value W from the terminal 12 and the comparator 13
, And when they match, the recording end signal E of FIG.
The pulse width is controlled by outputting ND and stopping the energization of the heating element 14 of the thermal head.

【0008】[0008]

【発明が解決しようとする課題】上記したように、従来
のサーマルヘッド印加エネルギー制御装置にあっては、
パルス幅制御動作のタイミングチャートを示す図11の
(e)に示すように、A/Dコンバータのサンプリング
が開始されてから、結果が出るまで、つまり図9(c)
(d)のSCLK1とSCLK2のサンプリングのT/
2時間内に、図11(f)に示すようなA/Dコンバータ
のサンプリング処理、およびその結果出力が行われる。
そして、図11(g)に示すように、その結果出力と同時
にサンプリング時間Tにおける発熱エネルギー値Pt
の演算、すなわちPt=(ADV2 /R)Tの演算と
前述した累積器10による累積エネルギー値ΣPtの演
算、および安定した濃度を得るのに必要な基準エネル
ギー値Wとの比較が行われている。
As described above, in the conventional thermal head applied energy control device,
As shown in (e) of FIG. 11 which shows a timing chart of the pulse width control operation, from the start of sampling of the A / D converter until the result is obtained, that is, FIG. 9 (c).
(D) SCLK1 and SCLK2 sampling T /
Within 2 hours, the sampling process of the A / D converter as shown in FIG. 11 (f) and the output of the result are performed.
Then, as shown in FIG. 11 (g), at the same time as the result output, the heat generation energy value Pt at the sampling time T
Is calculated, that is, Pt = (ADV 2 / R) T is calculated, the cumulative energy value ΣPt is calculated by the accumulator 10 and the reference energy value W necessary to obtain a stable concentration is compared. There is.

【0009】しかしながら、上記のような演算処理は、
例えば8ビットCUPを使って16ビットの加算処理を行
うと、処理時間は数10μs程度を要し、2乗演算では1
ms以上を要するため、従来は、サーマルヘッドの駆動
パルス幅の時間内に多数のサンプリングを行って、パル
ス幅を制御するには、高速のA/DコンバータやCPU
を用いなければならなかった。
However, the above arithmetic processing is
For example, if 16-bit addition processing is performed using 8-bit CUP, the processing time requires several tens of μs, and the square operation requires 1
Since it takes more than ms, conventionally, in order to control the pulse width by performing a large number of samplings within the driving pulse width of the thermal head, a high-speed A / D converter or CPU
Had to use.

【0010】その結果、装置が高価になると共に、クロ
ック信号を高周波にしなければならないため、ノイズ等
が生じ易くなるという問題があった。また、上記のよう
に高速化しないで処理を行うと、サンプリング間隔が長
くなり、細かなパルス幅の制御が行えず、濃度むらが生
じるという問題があった。本発明は、上記従来の課題に
鑑みてなされたものであり、高速処理が可能なCPU等
を用いることなく、サーマルヘッドの印加エネルギー制
御を高速に行うことのできるサーマルヘッド印加エネル
ギー制御装置を提供することを目的とする。
As a result, there is a problem that the device becomes expensive and noises and the like are easily generated because the clock signal has to have a high frequency. Further, if the processing is performed without increasing the speed as described above, there is a problem that the sampling interval becomes long, the fine pulse width cannot be controlled, and uneven density occurs. The present invention has been made in view of the above-mentioned conventional problems, and provides a thermal head applied energy control device capable of performing high-speed applied energy control of a thermal head without using a CPU or the like capable of high-speed processing. The purpose is to do.

【0011】[0011]

【課題を解決するための手段】請求項1の発明は、サー
マルヘッドを駆動するサーマルヘッド駆動手段と、サー
マルヘッドの印字中の記録電圧を逐次検知する逐次電圧
検知手段と、該検知した電圧値に基づいて所定間隔分の
発熱エネルギーに変換する発熱エネルギー変換手段と、
該発熱エネルギーを累積演算して累積エネルギー演算値
を出力する累積エネルギー出力手段と、該累積エネルギ
ー演算値と予め設定された各環境下における適正な印字
濃度を得るための基準エネルギー値とを比較し、その比
較結果に基づいてサーマルヘッド駆動手段の駆動パルス
幅を制御するパルス幅制御手段と、を備えたサーマルヘ
ッド印加エネルギー制御装置において、前記発熱エネル
ギー変換手段は、逐次検知した電圧値をアドレス値と
し、各電圧値毎の所定間隔分の発熱エネルギー演算結果
を予め収納したデータテーブルを有し、アドレス値に基
づいて発熱エネルギーを求めることを特徴とする。
According to a first aspect of the present invention, there is provided a thermal head driving means for driving a thermal head, a sequential voltage detecting means for sequentially detecting a recording voltage during printing of the thermal head, and the detected voltage value. Heat generation energy conversion means for converting heat energy for a predetermined interval based on
A cumulative energy output means for cumulatively computing the generated heat energy and outputting a cumulative energy computed value is compared with the cumulative energy computed value and a reference energy value for obtaining a proper print density in each preset environment. A pulse width control means for controlling the drive pulse width of the thermal head drive means on the basis of the comparison result, in the thermal head applied energy control device, the heat generation energy conversion means uses the voltage value sequentially detected as an address value. It is characterized in that it has a data table in which the calculation results of the heat energy for a predetermined interval for each voltage value are stored in advance, and the heat energy is obtained based on the address value.

【0012】請求項2の発明は、請求項1記載のサーマ
ルヘッド印加エネルギー制御装置において、前記発熱エ
ネルギー変換手段は、サーマルヘッドの抵抗値を上位ア
ドレス値とし、逐次検知した電圧値を下位アドレス値と
して、各抵抗値における各電圧値毎の所定間隔分の発熱
エネルギー演算結果を予め収納したデータテーブルを有
し、上位アドレス値および下位アドレス値に基づいて発
熱エネルギーを求めることを特徴とする。
According to a second aspect of the present invention, in the thermal head applied energy control device according to the first aspect, the heat generation energy converting means sets the resistance value of the thermal head as an upper address value and sequentially detects the voltage value as a lower address value. As a characteristic feature, the present invention is characterized in that it has a data table in which heat energy calculation results for a predetermined interval for each voltage value in each resistance value are stored in advance, and heat energy is obtained based on the upper address value and the lower address value.

【0013】請求項3の発明は、請求項1または2記載
のサーマルヘッド印加エネルギー制御装置において、前
記累積エネルギー演算値が基準エネルギー値以上になっ
た時にオーバーフローフラグが立つように累積エネルギ
ー演算値の初期値を設定し、そのオーバーフローフラグ
の有無に基づいてサーマルヘッド駆動手段の駆動パルス
幅を制御することを特徴とする。
According to a third aspect of the present invention, in the thermal head applied energy control device according to the first or second aspect, the accumulated energy calculated value is set so that an overflow flag is set when the accumulated energy calculated value exceeds a reference energy value. An initial value is set, and the drive pulse width of the thermal head drive means is controlled based on the presence or absence of the overflow flag.

【0014】[0014]

【作用】請求項1記載の発明では、各電圧値毎に発熱エ
ネルギーの演算結果が予め収納されたデータテーブルを
使用し、電圧値をアドレス値としてデータテーブルを参
照し、電圧値に応じた発熱エネルギーを求める。請求項
2記載の発明では、サーマルヘッドの各抵抗値における
各電圧値毎の発熱エネルギーの演算結果が予め収納され
たデータテーブルを使用し、サーマルヘッドの抵抗値お
よび検出電圧値をそれぞれ上位アドレス値、下位アドレ
ス値として参照し、抵抗値および電圧値に応じた発熱エ
ネルギーを求める。
According to the first aspect of the present invention, the data table in which the calculation result of the heating energy is stored in advance for each voltage value is used, and the data table is referred to by using the voltage value as the address value to generate heat according to the voltage value. Seeking energy. According to the second aspect of the invention, the data table in which the calculation result of the heat energy for each voltage value at each resistance value of the thermal head is stored in advance is used, and the resistance value and the detected voltage value of the thermal head are respectively set to the upper address values. , The lower-order address value is referred to, and the heat generation energy corresponding to the resistance value and the voltage value is obtained.

【0015】請求項3記載の発明では、発熱エネルギー
の累積演算値が基準エネルギー値以上になった時点でオ
ーバーフローフラグが立つように累積演算値の初期値が
設定され、オーバーフローフラグの有無を検出すること
により、サーマルヘッドの駆動パルス幅が制御される。
According to the third aspect of the present invention, the initial value of the cumulative calculation value is set so that the overflow flag is set when the cumulative calculation value of the heat energy exceeds the reference energy value, and the presence or absence of the overflow flag is detected. As a result, the drive pulse width of the thermal head is controlled.

【0016】[0016]

【実施例】以下、本発明を図面に基づいて説明する。図
1は本発明の一実施例に係るサーマルヘッドの印加エネ
ルギー制御装置が内蔵されたファクシミリ装置のブロッ
ク図である。図1に示すファクシミリ装置21は、電池電
源22から全ての電力が供給される。スキャナ23は原稿画
像を読み取って画情報の取り出しを行い、符号化複合化
部24は送信する画情報の符号化および受信した画情報の
複合化を行い、ステッピングモータ部25は送信原稿及び
記録紙を移動させるための駆動系である。そして、プロ
ッタ26は画情報を感熱記録紙に記録するもので、サーマ
ルヘッドを有し、そのサーマルヘッドには、多数の発熱
体素子が配置されている。網制御装置27は、回線Lの接
続、発信先電話番号である選択信号の送出、着信の検出
などにより、所定の発着信動作を行う。モデム28は画情
報を変復調して伝送すると共に、伝送制御手順における
各種手順信号を伝送する。通信制御29はこれら網制御装
置27とモデム28とを制御してファクシミリ通信を実行す
る。操作表示部30は装置の動作を表示すると共に、オペ
レータがこれを使って各種操作を行う。システム制御部
31はマイクロ・コンピュータおよび各種電子回路を備
え、ファクシミリ装置21内の各部を制御する。本実施例
では、このシステム制御部31がプロッタ26のサーマルヘ
ッドを制御し、発熱体素子を所定の温度まで発熱させて
印字動作を行わせる。電源部32は、前記した装置全体へ
電力を供給する電池電源22を有し、プロッタ26に対し
て、直接電池出力を供給し、プロッタ26以外の各部に対
しては、安定化電源33により定電圧化された電力を供給
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a facsimile apparatus incorporating a thermal head applied energy control apparatus according to an embodiment of the present invention. The facsimile device 21 shown in FIG. 1 is supplied with all electric power from a battery power source 22. The scanner 23 reads the original image and extracts the image information, the encoding / combining unit 24 encodes the image information to be transmitted and combines the received image information, and the stepping motor unit 25 transmits the transmitting original and recording paper. Is a drive system for moving. The plotter 26 records the image information on the thermosensitive recording paper and has a thermal head, and a large number of heat generating elements are arranged on the thermal head. The network control device 27 performs a predetermined outgoing / incoming operation by connecting the line L, transmitting a selection signal which is a destination telephone number, detecting an incoming call, and the like. The modem 28 modulates and demodulates image information and transmits it, and also transmits various procedure signals in the transmission control procedure. The communication controller 29 controls the network controller 27 and the modem 28 to execute facsimile communication. The operation display unit 30 displays the operation of the device, and the operator uses it to perform various operations. System control unit
Reference numeral 31 includes a microcomputer and various electronic circuits, and controls each unit in the facsimile device 21. In this embodiment, the system control unit 31 controls the thermal head of the plotter 26 to heat the heating element to a predetermined temperature and perform the printing operation. The power supply unit 32 has a battery power supply 22 for supplying electric power to the entire apparatus described above, supplies a battery output directly to the plotter 26, and regulates the parts other than the plotter 26 by the stabilized power supply 33. Supply voltageized power.

【0017】逐次電圧検知部(逐次電圧検知手段)34は
サーマルヘッドの印字中の電池電源22による記録電圧を
図示しないA/Dコンバータでデジタル電圧データに変
換し、サンプリングクロック信号に同期させてサンプリ
ングすることにより、電圧値を逐次検知することができ
る。エネルギー演算器(発熱エネルギー変換手段)35
は、逐次電圧検知部34で逐次検知した記録電圧値に基づ
いて所定間隔分の発熱エネルギー値Ptを算出する。本
実施例のエネルギー演算器35には、各電圧値毎に所定間
隔分の発熱エネルギーの演算結果をデータとして収納し
たデータテーブルを備えている。
A sequential voltage detecting section (sequential voltage detecting means) 34 converts a recording voltage by the battery power source 22 during printing of the thermal head into digital voltage data by an A / D converter (not shown) and performs sampling in synchronization with a sampling clock signal. By doing so, the voltage value can be sequentially detected. Energy calculator (heating energy conversion means) 35
Calculates the heat generation energy value Pt for a predetermined interval based on the recording voltage value sequentially detected by the voltage detector 34. The energy calculator 35 of the present embodiment is provided with a data table that stores, as data, the calculation result of the heat energy for a predetermined interval for each voltage value.

【0018】図2は請求項1記載の発明に係るサーマル
ヘッド印加エネルギー制御装置のデータテーブルの一例
を示す図である。図2に示すデータテーブルは、サンプ
リングされた電圧値ADVをアドレス値とし、データ側
には(ADV)2 ×Tの演算結果を収納している。例え
ば、図2の場合にサンプリング時間T=10μs時におい
て、電圧値ADV=24Vのデータは、アドレス値が18H
(24V)となり、これに対応するデータには発熱エネル
ギーを求める演算値の240 H(5.76×10-3)が収納され
ている。このように、上記のテーブルを用いることによ
り、図10に示す従来の演算処理に代って、データテーブ
ルを参照するだけで発熱エネルギー値の演算を迅速化す
ることができる。
FIG. 2 is a diagram showing an example of a data table of the thermal head applied energy control device according to the first aspect of the invention. In the data table shown in FIG. 2, the sampled voltage value ADV is used as an address value, and the calculation result of (ADV) 2 × T is stored on the data side. For example, in the case of FIG. 2, when the sampling time T = 10 μs, the data of the voltage value ADV = 24V has the address value of 18H.
It becomes (24V), and the corresponding data stores 240 H (5.76 × 10 -3 ) which is the calculated value for obtaining the heat generation energy. As described above, by using the above table, the calculation of the heat energy value can be speeded up only by referring to the data table instead of the conventional calculation processing shown in FIG.

【0019】積分器(累積エネルギー出力手段)36は、
検知した発熱エネルギー値Ptを積分演算処理して、累
積エネルギー値ΣPtを算出する。パルス幅制御部(パ
ルス幅制御手段)37は、積分器36の演算結果が感熱記録
紙を各環境下において安定した発色温度まで発熱体素子
を加熱して温度上昇させるように印加パルス幅を制御す
る。
The integrator (cumulative energy output means) 36 is
The detected heat generation energy value Pt is subjected to integral calculation processing to calculate a cumulative energy value ΣPt. The pulse width control unit (pulse width control means) 37 controls the applied pulse width so that the calculation result of the integrator 36 heats the heating element to a stable coloring temperature of the thermosensitive recording paper under each environment and raises the temperature. To do.

【0020】次に、作用を説明する。図3は、図2のデ
ータテーブルを用いた演算フローチャートである。ステ
ップ100 では、図1の逐次電圧検知部34のA/Dコンバ
ータからのデジタル電圧値ADV=24V(18H)を検出
する。ステップ101 では、その電圧値をアドレスとし
て、図2のデータテーブルを参照して、予め収納された
演算結果(ADV)2 ×T=5.76×10-3(J)、すなわ
ち576 =240 Hを求める。そして、ステップ102で求め
た値をサーマルヘッドの抵抗値で除算することにより、
容易かつ迅速に発熱エネルギーを求めることができる。
Next, the operation will be described. FIG. 3 is a calculation flowchart using the data table of FIG. In step 100, the digital voltage value ADV = 24V (18H) from the A / D converter of the sequential voltage detector 34 of FIG. 1 is detected. In step 101, the voltage value is used as an address and the data table of FIG. 2 is referred to to obtain a previously stored calculation result (ADV) 2 × T = 5.76 × 10 −3 (J), that is, 576 = 240 H. .. Then, by dividing the value obtained in step 102 by the resistance value of the thermal head,
Exothermic energy can be obtained easily and quickly.

【0021】また、図4は請求項2記載の発明に係るサ
ーマルヘッド印加エネルギー制御装置にデータテーブル
の一例を示す図であり、図5は図4のデータテーブルを
用いた演算フローチャートである。上記請求項1の実施
例では、図3のステップ102においてサーマルヘッドの
抵抗値で除算を行っている。しかし、請求項2の実施例
では、図4に示すように、データテーブルの上位アドレ
スをサーマルヘッドの抵抗値とし、各抵抗値毎にデータ
テーブルを持っていることに特徴がある。
FIG. 4 is a diagram showing an example of a data table in the thermal head applied energy control device according to the invention of claim 2, and FIG. 5 is a calculation flowchart using the data table of FIG. In the embodiment of claim 1 above, division is performed by the resistance value of the thermal head in step 102 of FIG. However, the embodiment of claim 2 is characterized in that, as shown in FIG. 4, the upper address of the data table is the resistance value of the thermal head, and a data table is provided for each resistance value.

【0022】請求項2の動作は、図5に示すように、ス
テップ200 でサーマルヘッドの抵抗値をビット設定やソ
フトウェア設定により入力し、ステップ201 でデータテ
ーブルの上位アドレス値を設定する、次にステップ202
で逐次電圧検知部34のA/Dコンバータからのデジタル
電圧値ADVによりステップ203 で下位アドレス値を設
定する。そして、ステップ204 でPt={(ADV)2
/R}×Tの演算結果が収納されているデータテーブル
を参照するだけで、発熱エネルギー値Ptを求めること
ができる。
According to the operation of claim 2, as shown in FIG. 5, in step 200, the resistance value of the thermal head is input by bit setting or software setting, and in step 201, the upper address value of the data table is set. Step 202
Then, in step 203, the lower address value is set by the digital voltage value ADV from the A / D converter of the voltage detecting section 34. Then, in step 204, Pt = {(ADV) 2
The heat generation energy value Pt can be obtained only by referring to the data table that stores the calculation result of / R} × T.

【0023】その一例としては、図4に示すように、サ
ンプリング時間T=10μs時において、サーマルヘッド
抵抗値R=3000Ω(16進数:BB8H)、サンプリング
電圧値ADV=24V(16進数:18H)のデータは、デー
タテーブルのアドレスBB8/18HにCOH(1.92×10
-6J)が収納されている。このデータテーブルを用いる
ことにより、まずサーマルヘッドの抵抗値をビットスイ
ッチ等により設定し、その抵抗値を上位アドレス値とし
て各データテーブル群より1つを選択する。次に、逐次
電圧検知部34のA/Dコンバータからのサンプリング電
圧値をエネルギー演算器35に入力し、入力した電圧値を
下位アドレス値として設定し、求めたいデータテーブル
の発熱エネルギー値Ptを参照する。
As an example thereof, as shown in FIG. 4, when the sampling time T = 10 μs, the thermal head resistance value R = 3000Ω (hexadecimal number: BB8H) and the sampling voltage value ADV = 24V (hexadecimal number: 18H). Data is stored in COH (1.92 × 10) at address BB8 / 18H in the data table.
-6 J) is stored. By using this data table, first, the resistance value of the thermal head is set by a bit switch or the like, and the resistance value is selected as an upper address value from each data table group. Next, the sampling voltage value from the A / D converter of the sequential voltage detection unit 34 is input to the energy calculator 35, the input voltage value is set as a lower address value, and the heating energy value Pt of the data table to be obtained is referred to. To do.

【0024】このように、上記実施例では、サンプリン
グ電圧値の他にサーマルヘッドの抵抗値を加味したデー
タテーブルを用いて発熱エネルギー値を求めるので、処
理時間がさらに短くなり、高速化することができる。図
6は請求項3記載の動作を説明するフローチャートであ
り、(a)は比較例、(b)は本実施例である。図6
(a)に示されるように、従来はステップ300で積分器
を初期値A=0にセットする。すなわち、積分演算値Σ
Ptを0にクリアする。次に、ステップ301 では、サン
プリングするたびに算出する発熱エネルギー値Ptを加
算し、その結果値ΣPtをステップ302 で基準エネルギ
ー値Wと比較する。ΣPt<Wの場合は、ステップ303
でそのΣPtの値をステップ301のAに代入して、次の
サンプリングによる発熱エネルギー値Ptを加算し、そ
の結果値を同様にしてWと比較する。ΣPt≧Wの場合
は、累積した発熱エネルギー値が基準エネルギー値以上
となったので、サーマルヘッドへのエネルギーの印加を
中止してパルス幅を制御していた(ステップ304 )。
As described above, in the above embodiment, since the heat generation energy value is obtained by using the data table in which the resistance value of the thermal head is added in addition to the sampling voltage value, the processing time can be further shortened and the speed can be increased. it can. FIG. 6 is a flow chart for explaining the operation described in claim 3, where (a) is a comparative example and (b) is this embodiment. Figure 6
As shown in (a), conventionally, in step 300, the integrator is set to an initial value A = 0. That is, the integrated calculation value Σ
Clear Pt to 0. Next, in step 301, the heat generation energy value Pt calculated each time sampling is performed is added, and the result value ΣPt is compared with the reference energy value W in step 302. If ΣPt <W, step 303
Then, the value of ΣPt is substituted into A of step 301, the heat generation energy value Pt by the next sampling is added, and the result value is similarly compared with W. If ΣPt ≧ W, the accumulated heat energy value is equal to or greater than the reference energy value, so the application of energy to the thermal head is stopped and the pulse width is controlled (step 304).

【0025】しかし、図6(a)のステップ302 におけ
る比較動作は、数10ビットにわたるΣPtをWと比較す
るため、上位8ビットから比較を始め、数回に分けてC
PUの8ビットで比較するので、処理が複雑となり処理
時間が長くかかっていた。本実施例では、図6(b)に
示されるように、ステップ400 において積分器を初期値
Bにセットする。この初期値Bは、発熱エネルギー値P
tの積分演算値ΣPtが基準エネルギー値W以上となっ
た場合に、オバーフローフラグが立つようにした値であ
る。例えば、16ビットの場合は、B=10000 (H)−W
となる。そして、ステップ401 では、サンプリングする
たびにデータテーブルで参照する発熱エネルギー値Pt
を加算し、ステップ402 でその結果値ΣPtがオーバー
フローしたか否かキャリアが「1」か「0」かによって
判断する。キャリアが「0」でオーバーフローしていな
ければ、基準エネルギー値Wに達していないので、ステ
ップ403 でそのΣPtの値をステップ401 のBへ代入し
て、上記と同様にPtを加算する。ΣPtがオーバーフ
ローしてキャリアが「1」になった場合は、ステップ40
4 でサーマルヘッドへのエネルギーの印加を中止してパ
ルス幅を制御する。
However, in the comparison operation in step 302 of FIG. 6A, since ΣPt over several tens of bits is compared with W, the comparison is started from the upper 8 bits and divided into several times to C.
Since the comparison is performed with 8 bits of PU, the processing becomes complicated and the processing time is long. In this embodiment, the integrator is set to the initial value B in step 400 as shown in FIG. 6 (b). This initial value B is the heat generation energy value P
This is a value for which the overflow flag is set when the integral calculation value ΣPt of t becomes equal to or larger than the reference energy value W. For example, in the case of 16 bits, B = 10000 (H) -W
Becomes Then, in step 401, the heat generation energy value Pt referred to in the data table every time sampling is performed.
Is added, and it is determined in step 402 whether or not the resulting value ΣPt overflows, depending on whether the carrier is “1” or “0”. If the carrier does not overflow at "0", it has not reached the reference energy value W, so in step 403 the value of ΣPt is substituted into B in step 401, and Pt is added in the same manner as above. If ΣPt overflows and the carrier becomes “1”, step 40
At 4, the application of energy to the thermal head is stopped and the pulse width is controlled.

【0026】このように、本実施例のサーマルヘッド印
加エネルギー制御装置は、上記のように積分器の初期値
設定を行ったため、基準エネルギー値と逐次比較処理す
る必要がなくなり、キャリアが「1」か「0」かを見る
だけでよく、処理が一層高速化できる。
As described above, in the thermal head applied energy control apparatus of this embodiment, since the initial value of the integrator is set as described above, it is not necessary to perform successive comparison processing with the reference energy value, and the carrier is "1". It suffices to see whether it is "0" or "0", and the processing can be further speeded up.

【0027】[0027]

【発明の効果】以上説明したように、請求項1記載の発
明によれば、電圧値をアドレス値として、電圧値毎の発
熱エネルギーの演算結果を予め収納したデータテーブル
を参照しながら発熱エネルギー値を求めるので、複雑な
演算処理が省略されて、高速化することができる。
As described above, according to the first aspect of the present invention, the heat generation energy value is referred to by referring to the data table in which the calculation result of the heat generation energy for each voltage value is stored in advance using the voltage value as the address value. Therefore, complicated arithmetic processing can be omitted and the speed can be increased.

【0028】請求項2記載の発明によれば、サーマルヘ
ッドの抵抗値を上位アドレス値とし、電圧値を下位アド
レス値とするデータテーブルを用いて発熱エネルギー値
を求めるので、さらに演算処理が省略されて、高速化で
きると共に、抵抗値のバラツキによる印字濃度むらを小
さくすることができる。請求項3記載の発明によれば、
積分器の積分演算値ΣPtの初期値を累積エネルギーが
基準エネルギー値W以上となった場合にオーバーフロー
フラグが立つように設定するので、CPUの処理ビット
で分割比較する必要がなくなり、オーバーフローフラグ
の有無だけで、容易かつ高速な処理を行うことができ
る。
According to the second aspect of the invention, since the heat energy value is obtained by using the data table in which the resistance value of the thermal head is the upper address value and the voltage value is the lower address value, the calculation process is further omitted. As a result, it is possible to increase the speed and reduce the unevenness of printing density due to the variation in the resistance value. According to the invention of claim 3,
Since the initial value of the integral calculation value ΣPt of the integrator is set so that the overflow flag is set when the accumulated energy becomes equal to or more than the reference energy value W, it is not necessary to divide and compare by the processing bit of the CPU, and whether the overflow flag exists Only by doing so, easy and high-speed processing can be performed.

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

【図1】本発明の一実施例に係るサーマルヘッド印加エ
ネルギー制御装置が内蔵されたファクシミリ装置のブロ
ック図である。
FIG. 1 is a block diagram of a facsimile apparatus including a thermal head applied energy control device according to an embodiment of the present invention.

【図2】請求項1記載の発明に係るサーマルヘッド印加
エネルギー制御装置のデータテーブルの一例を示す図で
ある。
FIG. 2 is a diagram showing an example of a data table of a thermal head applied energy control device according to the first aspect of the invention.

【図3】図2のデータテーブルを用いた演算フローチャ
ートである。
FIG. 3 is a calculation flowchart using the data table of FIG.

【図4】請求項2記載の発明に係るサーマルヘッド印加
エネルギー制御装置のデータテーブルの一例を示す図で
ある。
FIG. 4 is a diagram showing an example of a data table of a thermal head applied energy control device according to a second aspect of the invention.

【図5】請求項2記載の動作を説明するフローチャート
である。
FIG. 5 is a flowchart explaining the operation according to claim 2;

【図6】請求項3記載の動作を説明するフローチャート
であり、(a)は比較例、(b)は本実施例である。
FIG. 6 is a flow chart for explaining the operation according to claim 3, wherein (a) is a comparative example and (b) is this embodiment.

【図7】従来例のブロック図である。FIG. 7 is a block diagram of a conventional example.

【図8】他の従来例のブロック図である。FIG. 8 is a block diagram of another conventional example.

【図9】図8における各部の信号波形図である。9 is a signal waveform diagram of each part in FIG.

【図10】従来例のサンプリング間隔における発熱エネル
ギー値の演算フローチャート図である。
FIG. 10 is a calculation flowchart of a heat generation energy value at a sampling interval in a conventional example.

【図11】パルス幅制御動作のタイミングチャートであ
る。
FIG. 11 is a timing chart of a pulse width control operation.

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

26 プロッタ(サーマルヘッド駆動手段) 31 システム制御部 32 電源部 34 逐次電圧検知部(逐次電圧検知手段) 35 エネルギー演算器(発熱エネルギー変換手段) 36 積分器(累積エネルギー出力手段) 37 パルス幅制御部(パルス幅制御手段) 26 Plotter (Thermal head drive means) 31 System control section 32 Power supply section 34 Sequential voltage detection section (Sequential voltage detection means) 35 Energy calculator (Exothermic energy conversion means) 36 Integrator (Cumulative energy output means) 37 Pulse width control section (Pulse width control means)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】サーマルヘッドを駆動するサーマルヘッド
駆動手段と、 サーマルヘッドの印字中の記録電圧を逐次検知する逐次
電圧検知手段と、 該検知した電圧値に基づいて所定間隔分の発熱エネルギ
ーに変換する発熱エネルギー変換手段と、 該発熱エネルギーを累積演算して累積エネルギー演算値
を出力する累積エネルギー出力手段と、 該累積エネルギー演算値と予め設定された各環境下にお
ける適正な印字濃度を得るための基準エネルギー値とを
比較し、その比較結果に基づいてサーマルヘッド駆動手
段の駆動パルス幅を制御するパルス幅制御手段と、 を備えたサーマルヘッド印加エネルギー制御装置におい
て、 前記発熱エネルギー変換手段は、 逐次検知した電圧値をアドレス値とし、各電圧値毎の所
定間隔分の発熱エネルギー演算結果を予め収納したデー
タテーブルを有し、アドレス値に基づいて発熱エネルギ
ーを求めることを特徴とするサーマルヘッド印加エネル
ギー制御装置。
1. A thermal head driving means for driving a thermal head, a sequential voltage detecting means for sequentially detecting a recording voltage during printing of the thermal head, and conversion into heat energy for a predetermined interval based on the detected voltage value. Heating energy conversion means, cumulative energy output means for cumulatively calculating the heating energy and outputting a cumulative energy calculation value, and for obtaining the cumulative energy calculation value and a proper print density in each preset environment. A pulse width control means for comparing the drive pulse width of the thermal head drive means on the basis of the comparison result with a reference energy value, and a thermal head applied energy control device comprising: The detected voltage value is used as an address value, and the heat energy calculation result for a predetermined interval for each voltage value is calculated. A thermal head applied energy control device having a data table in which fruits are stored in advance, and heat energy is obtained based on an address value.
【請求項2】請求項1記載のサーマルヘッド印加エネル
ギー制御装置において、 前記発熱エネルギー変換手段は、 サーマルヘッドの抵抗値を上位アドレス値とし、逐次検
知した電圧値を下位アドレス値として、各抵抗値におけ
る各電圧値毎の所定間隔分の発熱エネルギー演算結果を
予め収納したデータテーブルを有し、上位アドレス値お
よび下位アドレス値に基づいて発熱エネルギーを求める
ことを特徴とするサーマルヘッド印加エネルギー制御装
置。
2. The thermal head applied energy control device according to claim 1, wherein the heat generation energy conversion means uses the resistance value of the thermal head as an upper address value and the sequentially detected voltage value as a lower address value. A thermal head applied energy control device having a data table storing in advance the heat energy calculation results for a predetermined interval for each voltage value, and determining the heat energy based on the upper address value and the lower address value.
【請求項3】請求項1または2記載のサーマルヘッド印
加エネルギー制御装置において、 前記累積エネルギー演算値が基準エネルギー値以上にな
った時にオーバーフローフラグが立つように累積エネル
ギー演算値の初期値を設定し、そのオーバーフローフラ
グの有無に基づいてサーマルヘッド駆動手段の駆動パル
ス幅を制御することを特徴とするサーマルヘッド印加エ
ネルギー制御装置。
3. The thermal head applied energy control device according to claim 1, wherein an initial value of the cumulative energy calculated value is set so that an overflow flag is set when the cumulative energy calculated value becomes equal to or more than a reference energy value. A thermal head applied energy control device for controlling the drive pulse width of the thermal head drive means based on the presence or absence of the overflow flag.
JP27589191A 1991-10-24 1991-10-24 Device for controlling energy to be applied to thermal head Pending JPH05112029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27589191A JPH05112029A (en) 1991-10-24 1991-10-24 Device for controlling energy to be applied to thermal head

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27589191A JPH05112029A (en) 1991-10-24 1991-10-24 Device for controlling energy to be applied to thermal head

Publications (1)

Publication Number Publication Date
JPH05112029A true JPH05112029A (en) 1993-05-07

Family

ID=17561881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27589191A Pending JPH05112029A (en) 1991-10-24 1991-10-24 Device for controlling energy to be applied to thermal head

Country Status (1)

Country Link
JP (1) JPH05112029A (en)

Similar Documents

Publication Publication Date Title
US4415907A (en) Printing pulse control circuit for thermal printing head
EP0216365A2 (en) Signal-processing circuit for heat-sensitive recording apparatus
JP3041913B2 (en) Thermal recording method
JPH05112029A (en) Device for controlling energy to be applied to thermal head
JP2975480B2 (en) Heating recording device
JPH0647297B2 (en) Thermal transfer gradation control device
JP2992147B2 (en) Thermal head applied energy control device
JPH0524247A (en) Recording device
JPH06198944A (en) Improved thermal printer system to compensate fluctuation ofoperation parameter, and method thereof
JPS6256161A (en) Printing apparatus
JPH04164658A (en) Controller for energy to be applied to thermal head
JPH10250130A (en) Printing control unit for thermal line printer, printing control method for thermal line printer, and printing unit
JPS63224700A (en) Drive system of stepping motor
JPH02241762A (en) Compact thermal printer
JP3065860B2 (en) Thermal head preheating method
JPS635968A (en) Printer device
JP2000071506A (en) Apparatus for correcting heat history of thermal printer
JPH05268436A (en) Facsimile equipment
JPH0779410B2 (en) Fax machine
JPH0611801Y2 (en) Thermal head drive
JPH0890821A (en) Drive controller for thermal printer
JP2000318193A (en) Image recording apparatus
JPH11339011A (en) Image reader, image reading method and storage medium
JPS62222858A (en) Apparatus for setting voltage of thermal head
JPH02175266A (en) Laser light quantity controller