Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0832463B2 - Printer device - Google Patents
[go: Go Back, main page]

JPH0832463B2 - Printer device - Google Patents

Printer device

Info

Publication number
JPH0832463B2
JPH0832463B2 JP63177829A JP17782988A JPH0832463B2 JP H0832463 B2 JPH0832463 B2 JP H0832463B2 JP 63177829 A JP63177829 A JP 63177829A JP 17782988 A JP17782988 A JP 17782988A JP H0832463 B2 JPH0832463 B2 JP H0832463B2
Authority
JP
Japan
Prior art keywords
temperature
correction
thermal head
output
correction 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.)
Expired - Fee Related
Application number
JP63177829A
Other languages
Japanese (ja)
Other versions
JPH01133758A (en
Inventor
泰樹 松本
春生 山下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP63177829A priority Critical patent/JPH0832463B2/en
Publication of JPH01133758A publication Critical patent/JPH01133758A/en
Publication of JPH0832463B2 publication Critical patent/JPH0832463B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明はサーマルヘッドを用い中間調記録を行うプリ
ンタ装置の記録特性の温度補正に関するものであり、CR
Tのハードコピー装置等に広く応用できるものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to temperature correction of recording characteristics of a printer device for performing halftone recording using a thermal head,
It can be widely applied to T hard copy devices.

従来の技術 中間調記録を行なうサーマルプリンタは、複数の発熱
体を集積したサーマルヘッドを有し、各発熱体を選択的
に通電し発熱させることにより感熱紙、あるいは感熱転
写紙から受像体に画像等を記録するもので、中間調記録
は記録パルス幅を制御し実効エネルギを変えることによ
り行なっているが、記録パルス幅と記録濃度との関係は
非線形であるため忠実な中間調記録を行なうためには一
般にγ補正と呼ぶ補正を行なう必要がある。
2. Description of the Related Art A thermal printer that performs halftone recording has a thermal head in which a plurality of heating elements are integrated. By selectively energizing each heating element to generate heat, an image is transferred from a thermal paper or thermal transfer paper to an image receiver. The halftone recording is performed by controlling the recording pulse width and changing the effective energy, but since the relationship between the recording pulse width and the recording density is non-linear, faithful halftone recording is performed. In general, it is necessary to perform a correction generally called γ correction.

また、サーマルヘッドを用いた時の記録濃度は温度に
依存するため温度による補正も必要になる。
Further, since the recording density when using the thermal head depends on the temperature, it is necessary to correct the temperature.

従来、γ補正と温度補正を独立して行なっているもの
や、複数の温度におけるγ補正のROMテーブル群の出力
を選択するもの(特開昭58-164368号公報)が提案され
ている。
Conventionally, there have been proposed one in which γ correction and temperature correction are independently performed, and one in which the output of a ROM table group for γ correction at a plurality of temperatures is selected (Japanese Patent Laid-Open No. 58-164368).

第5図は従来例のブロック図である。温度をn個のRO
Mテーブル511,512…51nからなるROMテーブル群51が構成
されている。54はサーマルヘッドの温度を検出する温度
検出器、53は温度検知器54の出力電圧をディジタル信号
に変換するA/D変換器、52はA/D変換器53の出力が示す温
度に対応するROMテーブルを各ROMテーブル511,512…51n
の出力から選択し出力するテーブル選択回路である。各
ROMテーブルには、その温度において、階調レベルとそ
の階調レベルに対応する記録濃度を得るためにサーマル
ヘッドに通電するパルス幅等の関係が設定されており、
各ROMテーブルには階調レベル信号がアドレスとして入
力されている。従って、階調レベル信号aが入力される
と各ROMテーブルからは各温度のγ補正された記録パル
ス幅データが出力され、温度検知器54が検出した温度デ
ータbに基づき、テーブル選択回路は前述の各ROMテー
ブルの出力からその温度に応じた出力を選択することに
よってγ補正と温度による補正を行なっていた。
FIG. 5 is a block diagram of a conventional example. Temperature n RO
A ROM table group 51 composed of M tables 511, 512 ... 51n is configured. 54 is a temperature detector for detecting the temperature of the thermal head, 53 is an A / D converter for converting the output voltage of the temperature detector 54 into a digital signal, and 52 is the temperature indicated by the output of the A / D converter 53. ROM table each ROM table 511,512 ... 51n
Is a table selection circuit for selecting and outputting from the outputs of the. each
In the ROM table, the relationship between the gradation level and the pulse width for energizing the thermal head to obtain the recording density corresponding to the gradation level is set at that temperature,
The gradation level signal is input as an address to each ROM table. Therefore, when the gradation level signal a is input, the γ-corrected recording pulse width data of each temperature is output from each ROM table, and based on the temperature data b detected by the temperature detector 54, the table selection circuit operates as described above. The γ correction and the temperature correction were performed by selecting the output corresponding to the temperature from the output of each ROM table.

発明が解決しようとする課題 従来例ではサーマルヘッドの温度に対応する複数のRO
Mテーブルの出力をテーブル選択手段によって選択して
いたが、精度の高い温度補正を行なおうとした場合、A/
D変換器のビット数を増加させるだけでなくROMテーブル
の数も増加させる必要があり、回路規模やコスト等の点
から、精度の高い温度補正は困難であった。
Problems to be Solved by the Invention In the conventional example, a plurality of ROs corresponding to the temperature of the thermal head are used.
The output of the M table was selected by the table selection means, but when trying to perform highly accurate temperature correction, A /
It is necessary to increase not only the number of bits of the D converter but also the number of ROM tables, and it has been difficult to perform accurate temperature correction in terms of circuit scale and cost.

本発明はかかる点に鑑み、簡単な構成で、精度の高い
温度補正を行なえるプリンタ装置を提供することを目的
とする。
The present invention has been made in view of the above points, and an object thereof is to provide a printer device having a simple configuration and capable of performing highly accurate temperature correction.

課題を解決するための手段 本発明は、サーマルヘッドと、このサーマルヘッドの
発熱素子に電力を印加するヘッド駆動手段と、このヘッ
ド駆動手段に記録パルスを与えるパルス発生手段と、前
記サーマルヘッドの温度を検出する温度検出手段と、こ
の温度検出手段の出力をA/D変換するA/D変換手段と、前
記サーマルヘッドの基準とする温度における入力濃度デ
ータと記録パルス幅との関係をテーブルとしてROMまた
はRAMに設定した基準温度のγ補正テーブル、前記サー
マルヘッドの温度ごとにテーブルまたは数式で表現した
補正値を与える補正係数設定生成手段と、前記A/D変換
手段の出力と前記γ補正テーブルと前記γ補正テーブル
補正手段とから新たなテーブルを作成するテーブル作成
手段とを備え、前記サーマルヘッドの温度に応じた入力
濃度データに対する記録パルス幅を得ることにより温度
補正を行なうものである。
Means for Solving the Problems The present invention relates to a thermal head, a head driving means for applying electric power to a heating element of the thermal head, a pulse generating means for applying a recording pulse to the head driving means, and a temperature of the thermal head. A temperature detecting means for detecting the temperature, an A / D converting means for A / D converting the output of the temperature detecting means, and a table showing the relationship between the input density data and the recording pulse width at the reference temperature of the thermal head. Or a γ correction table of the reference temperature set in RAM, a correction coefficient setting generation means for giving a correction value expressed by a table or a mathematical expression for each temperature of the thermal head, the output of the A / D conversion means and the γ correction table And a table creating means for creating a new table from the γ correction table correcting means, and the input density according to the temperature of the thermal head. The temperature is corrected by obtaining the recording pulse width for the data.

作用 サーマルヘッドの温度が上昇あるいは下降すると、一
般に同記録パルス幅に対する記録濃度は変化するが、本
発明は反対に、サーマルヘッドの温度の変化に対してあ
る所定の温度での記録濃度と同濃度になるような記録パ
ルス幅の関係をテーブルまたは数式として備え、温度検
出手段の出力に応じた入力濃度データに対する記録パル
ス幅を得ることにより、如何なる温度においても中間調
全域にわたって正確なサーマルヘッドの温度補正を行な
うことができる。
Action When the temperature of the thermal head rises or falls, the recording density for the same recording pulse width generally changes, but the present invention is conversely the same as the recording density at a certain predetermined temperature for a change in the temperature of the thermal head. The relationship between the recording pulse widths is expressed as a table or a mathematical expression, and the recording pulse width for the input density data corresponding to the output of the temperature detecting means is obtained, so that the temperature of the thermal head is accurate over the entire halftone range at any temperature. Corrections can be made.

実施例 第1図は本発明のプリンタ装置の第一と第二の実施例
のブロック図、第2図は本発明のプリンタ装置の第一と
第二の実施例をさらに具体的に示したブロック図であ
る。1はサーマルヘッド、2はサーマルヘッド1の各発
熱素子を独立して駆動するヘッド駆動手段、3はサーマ
ルヘッド1の基台の温度を検出し電圧を発生する温度検
出手段、4は温度検出手段3の出力電圧をディジタル値
に変換するA/D変換手段、5はパルス幅データに応じた
記録パルスを発生するパルス発生手段、6はヘッド駆動
手段2に電圧を与える電源、7はA/D変換手段4の読み
出した出力が減少する場合は前回読み出したA/D変換手
段4の出力に置き換える温度置換手段、8はサーマルヘ
ッド1の基準温度における入力濃度データと記録パルス
幅との関係をテーブルとした基準温度のγ補正テーブ
ル、9はサーマルヘッドの温度に応じてγ補正テーブル
を補正する補正値をテーブルまたは数式で表現したγ補
正テーブル補正手段、10はテーブル規定範囲作成手段で
ある。
Embodiment FIG. 1 is a block diagram of first and second embodiments of a printer device of the present invention, and FIG. 2 is a block diagram showing the first and second embodiments of the printer device of the present invention more specifically. It is a figure. Reference numeral 1 is a thermal head, 2 is a head driving means for independently driving each heating element of the thermal head 1, 3 is temperature detecting means for detecting the temperature of the base of the thermal head 1, and 4 is temperature detecting means. A / D converting means for converting the output voltage of 3 into a digital value, 5 pulse generating means for generating a recording pulse according to the pulse width data, 6 a power source for applying a voltage to the head driving means 2, 7 for A / D When the output read by the conversion unit 4 decreases, the temperature replacement unit that replaces the output of the A / D conversion unit 4 read last time, and 8 indicates the relationship between the input density data at the reference temperature of the thermal head 1 and the recording pulse width. Γ correction table of the reference temperature, 9 is a γ correction table correction means which represents a correction value for correcting the γ correction table according to the temperature of the thermal head by a table or a mathematical expression, and 10 is a table Is a specified range creating means.

ここで、第2図に示すように温度置換手段7、テーブ
ル規定範囲作成手段10はCPU21、ROM22、RAM23、入出力
ポート24から成るマイクロコンピュータ20で構成されて
おり、基準温度のγ補正テーブル8およびγ補正テーブ
ル補正手段9は予め、ROM22に格納されている。また、
c1はアドレスバス、d1はデータバスである。25はY
(イエロー)、M(マゼンタ)、C(シアン)の3色の
インクを塗布したインクシート、26はインクシート25を
巻き取るインクシート巻き取りローラ、27はサーマルヘ
ッド1の発熱によりインクシート25上のインクを転写さ
せ画像を形成させる受像紙、28はインクシート25と受像
紙27とをサーマルヘッド1と共に挟みこみ、受像紙27を
搬送するプラテンローラ、29,30は受像紙27をプラテン
ローラ28におさえつけ、プラテンローラ28の回転に応じ
て滑らずに受像紙27を搬送させる為のローラ、31はプラ
テンローラ28を回転させ受像紙27を搬送する受像紙搬送
手段、32はインクシート巻き取りローラ26を回転させる
インクシート25を搬送するインクシート搬送手段であ
る。
Here, as shown in FIG. 2, the temperature replacing means 7 and the table prescribed range creating means 10 are composed of a microcomputer 20 including a CPU 21, a ROM 22, a RAM 23 and an input / output port 24, and a reference temperature γ correction table 8 The γ correction table correction means 9 is stored in the ROM 22 in advance. Also,
c1 is an address bus and d1 is a data bus. 25 is Y
(Yellow), M (magenta), and C (cyan) ink sheets coated with three colors of ink, 26 is an ink sheet take-up roller that winds the ink sheet 25, and 27 is on the ink sheet 25 due to heat generated by the thermal head 1. Image receiving paper for transferring an image to form an image, 28 is a platen roller for sandwiching the ink sheet 25 and the image receiving paper 27 together with the thermal head 1 and conveying the image receiving paper 27, and 29, 30 are platen rollers 28 for the image receiving paper 27. A roller for conveying the image receiving paper 27 without slipping according to the rotation of the platen roller 28, 31 is an image receiving paper conveying means for rotating the platen roller 28 to convey the image receiving paper 27, and 32 is an ink sheet take-up roller. It is an ink sheet conveying means for conveying the ink sheet 25 that rotates the roller 26.

ここで、本実施例のプリンタ装置の記録動作を簡単に
説明する。
Here, the recording operation of the printer of this embodiment will be briefly described.

インクシート搬送手段32によりインクシート25を搬送
し、1色目のY(イエロー)インクの頭出しを行なう。
そして、サーマルヘッド1が受像紙27とインクシート25
とを介在させてプラテンローラ28に圧接し、受像紙搬送
手段31によりプラテンローラ28を回転させ受像紙27を搬
送しつつ、パルス発生手段5はパルス幅データに応じた
記録パルスを発生し、ヘッド駆動手段2によりサーマル
ヘッド1の各発熱素子を1ライン毎に駆動する。サーマ
ルヘッド1の発熱により、インクシート25上に塗布され
た1色目のY(イエロー)インクが受像紙27に順次転写
され、受像紙27にY(イエロー)画像が形成される。
The ink sheet 25 is conveyed by the ink sheet conveying means 32, and the first color Y (yellow) ink is cued.
Then, the thermal head 1 uses the image receiving paper 27 and the ink sheet 25.
And the platen roller 28 is pressed against the platen roller 28 by rotating the platen roller 28 by the image receiving paper conveying means 31 to convey the image receiving paper 27, and the pulse generating means 5 generates a recording pulse according to the pulse width data. The driving means 2 drives each heating element of the thermal head 1 line by line. Due to the heat generated by the thermal head 1, the first color Y (yellow) ink applied on the ink sheet 25 is sequentially transferred to the image receiving paper 27, and a Y (yellow) image is formed on the image receiving paper 27.

次に、Y(イエロー)画像の記録が終了すると、サー
マルヘッド1をプラテンローラ28から離し、受像紙27と
インクシート25とが開放する。そして、受像紙27は受像
紙搬送手段31によりプラテンローラ28を回転させ所定の
初期位置に搬送される。次いで、2色目のM(マゼン
タ)、3色目のC(シアン)についても、上記したY
(イエロー)の動作と同様にして3色を重ね合わせてカ
ラー画像記録を終了する。
Next, when the recording of the Y (yellow) image is completed, the thermal head 1 is separated from the platen roller 28, and the image receiving paper 27 and the ink sheet 25 are opened. Then, the image receiving paper 27 is conveyed to a predetermined initial position by rotating the platen roller 28 by the image receiving paper conveying means 31. Next, for the second color M (magenta) and the third color C (cyan),
Similar to the (yellow) operation, the three colors are superposed and the color image recording is completed.

本発明の第一の実施例についてさらに詳しく説明す
る。
The first embodiment of the present invention will be described in more detail.

階調レベル信号がnビット、A/D変換手段4が出力す
る温度の検出精度がmビットとすると、サーマルヘッド
1の温度が基準温度T0時の入力濃度に対応する記録パル
ス幅の関係を示す基準温度T0のγ補正テーブルのアドレ
スはnビットになる。ROM22内にはプログラム以外に上
記基準温度T0のγ補正テーブル(アドレスnビット、デ
ータnビット)が予め書き込まれており、サーマルヘッ
ド1の温度において、基準温度T0のγ補正テーブルの入
力濃度データと等濃度になるような記録パルス幅と、基
準温度T0のγ補正テーブルの記録パルス幅との関係はγ
補正テーブル補正手段9の A=f(T) ……(1) (ただし、Tはサーマルヘッド1の温度データ、Aは
Tを変数とする関数f(T)で表わされる。)で表わす
数式で示され、基準温度T0のγ補正テーブルと同様に予
めROM22内に書き込まれている。
Assuming that the gradation level signal is n bits and the detection accuracy of the temperature output from the A / D conversion means 4 is m bits, the relationship between the temperature of the thermal head 1 and the recording pulse width corresponding to the input density at the reference temperature T0 is shown. The address of the γ correction table for the reference temperature T0 is n bits. In addition to the program, the γ correction table (address n bits, data n bits) of the reference temperature T0 is previously written in the ROM 22, and the input density data of the γ correction table of the reference temperature T0 at the temperature of the thermal head 1 is stored. The relationship between the recording pulse width that makes the density uniform and the recording pulse width of the γ correction table for the reference temperature T0 is γ
Correction Table Correction Unit 9 A = f (T) (1) (where T is temperature data of the thermal head 1 and A is a function f (T) having T as a variable). It is shown and is written in advance in the ROM 22 similarly to the γ correction table of the reference temperature T0.

CPU21は第3図に示す温度補正を行なうためのシーケ
ンスを示すフローチャートに従って、記録開始時のサー
マルヘッド1の温度Tsを読み出し、(1)式と記録開始
温度TsとからAを算出する。そして、(2)式より基準
温度T0のγ補正テーブルP(Di,T0)(iは0〜2n−1
の整数)のデータに演算してやり、記録開始温度Tsに対
する新たなγ補正テーブルP′(Di,Ts)をRAM23に作成
する。
The CPU 21 reads the temperature Ts of the thermal head 1 at the start of recording according to the flowchart showing the sequence for temperature correction shown in FIG. 3, and calculates A from the equation (1) and the recording start temperature Ts. Then, from the equation (2), the γ correction table P (Di, T0) (i is 0 to 2 n −1) for the reference temperature T0.
Data), and a new γ correction table P ′ (Di, Ts) for the recording start temperature Ts is created in the RAM 23.

P′=A*P ……(2) (ただし、Pは基準温度T0のγ補正テーブルの記録パ
ルス幅データ、P′は新しく補正したγ補正テーブルの
記録パルス幅データ) 次に、1色の記録開始時のサーマルヘッド1の温度Ts
から所定の温度間隔ta(A/D変換手段4が検出する温度
の検出精度の最小キザミ)毎の新たなγ補正テーブル
P′(Di,Ts+j*ta)(jは正の整数)を、サーマル
ヘッド1の最高温度TmaxまでRAM23に作成する。このサ
ーマルヘッド1の上昇温度(Tmas-Ts)は最大パルス幅
で1色を記録したときの上昇分に少々余裕を持たせたも
ので、この値は予めROM22内に書き込まれている。即
ち、どのような画像を記録しようとしても、1色の記録
においてサーマルヘッド1の温度は記憶開始温度Tsから
(Tmax-Ts)以上、上昇することはない。
P ′ = A * P (2) (where P is the recording pulse width data of the γ correction table at the reference temperature T0, P ′ is the recording pulse width data of the newly corrected γ correction table) Temperature Ts of thermal head 1 at the start of recording
To a new γ correction table P ′ (Di, Ts + j * ta) (j is a positive integer) for each predetermined temperature interval ta (the smallest flaw in the detection accuracy of the temperature detected by the A / D conversion means 4) Create up to the maximum temperature Tmax of head 1 in RAM23. The temperature rise (Tmas-Ts) of the thermal head 1 is obtained by allowing a slight margin to the rise amount when one color is recorded with the maximum pulse width, and this value is written in the ROM 22 in advance. That is, no matter what image is printed, the temperature of the thermal head 1 does not rise from the storage start temperature Ts to (Tmax-Ts) or more in one-color printing.

その後、1ライン毎の記録を次のシーケンスで各画素
ごとに処理を行なう。
Thereafter, the recording for each line is processed for each pixel in the following sequence.

温度検出手段3とA/D変換手段4とで検出変換したサ
ーマルヘッド1の温度データTを入出力ポート24から読
み込む。ここで、読み込んだ値がT≧Tsならば読み込ん
だ値はそのまま、読み込んだ値がT<Tsならば読み込ん
だ値をT=Tsとする。
The temperature data T of the thermal head 1 detected and converted by the temperature detecting means 3 and the A / D converting means 4 is read from the input / output port 24. Here, if the read value is T ≧ Ts, the read value is unchanged, and if the read value is T <Ts, the read value is T = Ts.

例えば、読み込んだ値がT=Td(Td≧Ts)とすると、
サーマルヘッド1の温度データTdに対するγ補正テーブ
ルP′(Di,Td)を得、このγ補正テーブルP′(Di,T
d)に入力濃度データaをパラメータとしたアドレスを
与えパルス幅データを得、入出力ポート24からパルス発
生手段5に出力する。パルス発生手段5はパルス幅デー
タに応じた記録パルスを発生し、ヘッド駆動手段2によ
りサーマルヘッド1の各発熱素子を駆動する。第3図
(a)のフローチャートは1色目の記録終了までしか示
していないが、第3図(b)のB以降2色目、3色目の
記録についてはこの1色目のシーケンスと同様に行な
う。
For example, if the read value is T = Td (Td ≧ Ts),
A γ correction table P ′ (Di, Td) for the temperature data Td of the thermal head 1 is obtained, and this γ correction table P ′ (Di, T
An address with the input density data a as a parameter is given to d) to obtain pulse width data, which is output from the input / output port 24 to the pulse generating means 5. The pulse generating means 5 generates a recording pulse according to the pulse width data, and the head driving means 2 drives each heating element of the thermal head 1. Although the flowchart of FIG. 3A shows only the end of the recording of the first color, the recording of the second and third colors after B in FIG. 3B is performed in the same manner as the sequence of the first color.

次に、本発明の第二の実施例についてさらに説明す
る。構成は第一の実施例と同様である。
Next, the second embodiment of the present invention will be further described. The configuration is similar to that of the first embodiment.

階調レベル信号がnビット、A/D変換手段4が出力す
る温度の検出精度がmビットとすると、サーマルヘッド
1の温度が所定の温度の時の入力濃度に対応する記録パ
ルス幅の関係を示す基準温度T0のγ補正テーブルのアド
レスはnビットになる。また、ROM22内にはプログラム
以外にサーマルヘッド1の温度が所定の温度の時の入力
濃度に対応する記録パルス幅の関係を示す基準温度T0の
γ補正テーブル(アドレスnビット、データnビット)
と、基準温度T0のγ補正テーブルにおける入力濃度デー
タに対応する記録パルス幅と、基準温度T0以外のこの濃
度と等濃度にするような記録幅との関係を示すγ補正テ
ーブル補正手段9である補正係数テーブルC(Tk)
(kは0〜2n−1の整数、アドレスlビット、データ
kビット、m>1)とが予め書き込まれている。
Assuming that the gradation level signal is n bits and the temperature detection accuracy output from the A / D conversion means 4 is m bits, the relationship of the recording pulse width corresponding to the input density when the temperature of the thermal head 1 is a predetermined temperature is shown. The address of the γ correction table for the reference temperature T0 shown is n bits. In addition to the program, the γ correction table (address n bits, data n bits) of the reference temperature T0 indicating the relationship of the recording pulse width corresponding to the input density when the temperature of the thermal head 1 is a predetermined temperature is stored in the ROM 22.
And the recording pulse width corresponding to the input density data in the γ correction table of the reference temperature T0 and the recording width for making the density equal to this density other than the reference temperature T0. Correction coefficient table C (Tk)
(K is an integer of 0 to 2 n -1, address 1 bit, data k bit, m> 1) are written in advance.

CPU21は第4図の温度補正を行なうためのシーケンス
を示すフローチャートに従って、温度検出手段3とA/D
変換手段4とで検出変換した記録開始時のサーマルヘッ
ド1の温度Tsを入出力ポート24から読み込む。ここで、
mビットのサーマルヘッド1の温度データTsの整数部で
ある上位lビットを基に、k番目の補正係数テーブルの
データC(Tk)とk+1番目のC(Tk+1)(Tk≦Ts<
Tk+1(kは自然数))のそれぞれをサーマルヘッド1
の温度データTの小数部である下位(m−l)ビットを
基に線形補間し、記録開始時のサーマルヘッド1の温度
データTsに対する補正係数C(Ts)を得、この補正係数
C(Ts)を基準温度T0のγ補正テーブルP(Di,T0)の
データに演算してやり、温度データTsに対する新たなγ
補正テーブルP′(Di,Ts)をRAM23に作成する。その
後、第1の実施例と同様に、記録開始温度Tsから所定の
温度間隔ta(A/D変換手段4が検出する温度の検出精度
の最小キザミ)毎の新たなγ補正テーブルP′(Di,Ts
+j*ta)(jは正の整数)を、サーマルヘッド1の最
高温度TmaxまでRAM23に作成し、1ライン毎の記録を行
なう。第4図(a)のフローチャートは1色目の記録終
了までしか示していないが、第4図(b)のB以降2色
目、3色目の記録についてはこの1色目のシーケンスと
同様に行なう。
The CPU 21 follows the temperature detecting means 3 and the A / D in accordance with the flowchart showing the sequence for performing the temperature correction of FIG.
The temperature Ts of the thermal head 1 at the start of recording detected and converted by the conversion means 4 is read from the input / output port 24. here,
Based on the upper 1 bit which is the integer part of the temperature data Ts of the m-bit thermal head 1, the data C (Tk) of the kth correction coefficient table and the k + 1th C (Tk + 1) (Tk ≦ Ts <
Each of Tk + 1 (k is a natural number) 1
The linear interpolation is performed based on the lower (m-1) bit which is a decimal part of the temperature data T of the temperature data T to obtain the correction coefficient C (Ts) for the temperature data Ts of the thermal head 1 at the start of recording, and the correction coefficient C (Ts ) Is calculated for the data of the γ correction table P (Di, T0) of the reference temperature T0 to obtain a new γ for the temperature data Ts.
The correction table P '(Di, Ts) is created in the RAM 23. Then, as in the first embodiment, a new γ correction table P ′ (Di is set for each predetermined temperature interval ta (minimum flaw in the temperature detection accuracy detected by the A / D conversion means 4) from the recording start temperature Ts. , Ts
+ J * ta) (j is a positive integer) is created in the RAM 23 up to the maximum temperature Tmax of the thermal head 1, and recording is performed for each line. Although the flow chart of FIG. 4A shows only the end of the recording of the first color, the recording of the second and third colors after B in FIG. 4B is performed in the same manner as the sequence of the first color.

また、本発明の第2の実施例では、線形補間を例に説
明したが本特許の主旨から補間の種類にはよらない。
Further, in the second embodiment of the present invention, linear interpolation has been described as an example, but it does not depend on the type of interpolation for the purpose of this patent.

以上のように、記録中は1ライン毎にサーマルヘッド
1の温度を読み込むが、この読み込んだ値が前ラインの
サーマルヘッド1の温度の値よりも小さい場合は、読み
込んだ値を前記ラインの値とすることにより、ノイズに
よるA/D変換手段4の主力のバタツキを吸収することが
できる。また、1色の記録前に、記録開始温度を読み込
み、所定の温度間隔ta毎のγ補正テーブルP′(Di,T)
を予め設定して温度上昇の範囲でのみ作成しておくこと
により、記録時のライン毎の温度補正は1ライン毎に温
度を読み込み、読み込んだ温度におけるγ補正テーブル
をパルス幅データに応じて参照するだけでよく、1ライ
ン毎に新たなγ補正テーブルを作成する必要がない。
As described above, the temperature of the thermal head 1 is read line by line during recording. If the read value is smaller than the temperature value of the thermal head 1 of the previous line, the read value is set to the line value. By doing so, the main flapping of the A / D conversion means 4 due to noise can be absorbed. In addition, the recording start temperature is read before recording one color, and the γ correction table P ′ (Di, T) for each predetermined temperature interval ta is read.
By setting in advance and creating only within the range of temperature rise, the temperature correction for each line during recording reads the temperature for each line and refers to the γ correction table at the read temperature according to the pulse width data. It is only necessary to do so, and it is not necessary to create a new γ correction table for each line.

発明の効果 以上のように、中間調記録を行なうサーマルプリンタ
において、予め所定の温度でのγ補正テーブル1枚と、
サーマルヘッドの温度の変化に対して、ある所定の温度
での記録濃度と同濃度になるような記録パルス幅の関係
を示した補正係数をテーブルまたは数式で表現すること
により、如何なる温度においても中間調全域にわたって
少ないテーブル数で精度の高い温度補正が可能であり、
具体的には、補正係数分を合わせるとγ補正テーブル2
枚程度のみ予め用意しておけばよい。即ち、ある所定の
温度で記録した画像を簡単な構成、低コストで温度に影
響されずに再現できる。
As described above, in the thermal printer that performs halftone recording, one γ correction table at a predetermined temperature in advance,
By expressing the correction coefficient, which shows the relationship between the recording density and the recording density at a certain predetermined temperature with respect to the change in the temperature of the thermal head, with a table or a mathematical expression, the intermediate value can be obtained at any temperature. It is possible to perform highly accurate temperature correction with a small number of tables over the entire adjustment range.
Specifically, if the correction coefficients are combined, the γ correction table 2
It is enough to prepare only about one piece in advance. That is, an image recorded at a predetermined temperature can be reproduced with a simple structure and at low cost without being affected by temperature.

また、前記開始時のサーマルヘッドの温度から前記サ
ーマルヘッドの温度が最高温度になる範囲、即ち、記録
に必要な範囲分である新たなγ補正テーブルを記録前に
予め作成しておくことにより、記録時は新たなγ補正テ
ーブルを温度により切り換え、入力濃度データをパラメ
ータとして参照するだけでよく、記録速度を上げること
ができる。
In addition, a range in which the temperature of the thermal head becomes the maximum temperature from the temperature of the thermal head at the start, that is, a new γ correction table that is a range necessary for recording is created in advance before recording, At the time of recording, it is only necessary to switch a new γ correction table according to the temperature and refer to the input density data as a parameter, so that the recording speed can be increased.

さらに、温度検出手段(例えばサーミスタ)を発熱素
子に設けることは極めて難しく、通常サーマルヘッドの
基台に設けざるを得ないため、発熱素子の温度と検出し
た温度とは遅れが生じ、発熱素子の温度が上昇しても検
出した温度が下降する場合が生じるが、この発熱素子の
温度と検出した温度との遅れによるものや、サーマルヘ
ッドの温度をA/D変換するA/D変換手段のノイズによる出
力のバタツキによる記録画像の劣化を防ぐことができ
る。
Further, it is extremely difficult to provide the temperature detecting means (for example, a thermistor) on the heating element, and since it is usually unavoidable to provide it on the base of the thermal head, a delay occurs between the temperature of the heating element and the detected temperature. Although the detected temperature may decrease even if the temperature rises, it may be due to the delay between the temperature of the heating element and the detected temperature, or the noise of the A / D converter that converts the temperature of the thermal head into A / D. It is possible to prevent the deterioration of the recorded image due to the fluttering of the output due to.

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

第1図は本発明の第一と第二の実施例におけるプリンタ
装置のブロック図、第2図は同装置をさらに具体的に示
したブロック図、第3図は本発明の第一の実施例におけ
るプリンタ装置の温度補正を行なうためのシーケンスを
示すフローチャート、第4図は本発明の第二の実施例に
おけるプリンタ装置の温度補正を行なうためのシーケン
スを示すフローチャート、第5図は従来例におけるプリ
ンタ装置のブロック図である。 1……サーマルヘッド、2……ヘッド駆動手段、3……
温度検出手段、4……A/D変換手段、5……パルス発生
手段、6……電源、7……温度置換手段、8……基準温
度のγ補正テーブル、9……γ補正テーブル補正手段、
10……テーブル規定範囲作成手段、20……マイクロコン
ピュータ。
FIG. 1 is a block diagram of a printer apparatus according to the first and second embodiments of the present invention, FIG. 2 is a block diagram showing the apparatus more specifically, and FIG. 3 is a first embodiment of the present invention. FIG. 4 is a flowchart showing a sequence for performing temperature correction of the printer device, FIG. 4 is a flowchart showing a sequence for performing temperature correction of the printer device according to the second embodiment of the present invention, and FIG. It is a block diagram of an apparatus. 1 ... Thermal head, 2 ... Head driving means, 3 ...
Temperature detecting means, 4 ... A / D converting means, 5 ... Pulse generating means, 6 ... Power supply, 7 ... Temperature replacing means, 8 ... Reference temperature gamma correction table, 9 ... Gamma correction table correcting means ,
10 …… Table prescribed range creation means, 20 …… Microcomputer.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】サーマルヘッドと、このサーマルヘッドの
発熱素子に電力を印加するヘッド駆動手段と、このヘッ
ド駆動手段に記録パルスを与えるパルス発生手段と、前
記サーマルヘッドの温度を検出する温度検出手段と、こ
の温度検出手段の出力をA/D変換するA/D変換手段と、前
記サーマルヘッドの基準温度における入力濃度データと
記録パルス幅との関係をテーブルとして設定した基準温
度のγ補正テーブルを記憶したROMまたはRAMと、前記サ
ーマルヘッドの温度に応じて前記γ補正テーブルを補正
する補正値をテーブルまたは数式で表現したγ補正テー
ブル補正手段と、前記A/D変換手段の出力に応じて前記
γ補正テーブルと前記γ補正テーブル補正手段とから新
たなテーブルを作成するテーブル作成手段とを備え、前
記サーマルヘッドの温度に応じた入力濃度データに対す
る記録パルス幅を得ることを特徴とするプリンタ装置。
1. A thermal head, head driving means for applying electric power to a heating element of the thermal head, pulse generating means for applying a recording pulse to the head driving means, and temperature detecting means for detecting the temperature of the thermal head. And an A / D conversion means for A / D converting the output of the temperature detection means, and a γ correction table of the reference temperature which sets the relationship between the input density data and the recording pulse width at the reference temperature of the thermal head as a table. A stored ROM or RAM, a γ correction table correction unit that represents a correction value for correcting the γ correction table according to the temperature of the thermal head by a table or a mathematical expression, and the output according to the output of the A / D conversion unit. The table is provided with a γ correction table and a table creating means for creating a new table from the γ correction table correcting means. A printer device for obtaining a recording pulse width for the same input density data.
【請求項2】テーブル作成手段はCPU、RAM、ROM、入出
力ポートからなるマイクロコンピュータで構成し、前記
ROMまたは前記RAMを用いたテーブルで構成された基準温
度のγ補正テーブルと数式で表現されたγ補正テーブル
補正手段とを前記マイクロコンピュータのメモリとして
割当て、前記入出力ポートから読み取ったA/D変換手段
の出力に応じて前記γ補正テーブルと前記γ補正テーブ
ル補正手段の数式から新たなγ補正テーブルを作成し、
前記入出力ポートから読み取った入力濃度データで前記
A/D変換手段の出力に応じた前記新たなγ補正テーブル
を参照することを特徴とする請求項1記載のプリンタ装
置。
2. The table creating means comprises a microcomputer including a CPU, RAM, ROM, and an input / output port,
A / D conversion read from the input / output port by allocating the γ correction table of the reference temperature constituted by the table using the ROM or the RAM and the γ correction table correction means expressed by the formula as the memory of the microcomputer A new γ correction table is created from the γ correction table and the formula of the γ correction table correction means according to the output of the means,
With the input concentration data read from the input / output port,
The printer device according to claim 1, wherein the new γ correction table according to the output of the A / D conversion unit is referred to.
【請求項3】テーブル作成手段はCPU、RAM、ROM、入出
力ポートからなるマイクロコンピュータで構成し、前記
ROMまたは前記RAMを用いたテーブルで構成された基準温
度のγ補正テーブルとγ補正テーブル補正手段とを前記
マイクロコンピュータのメモリとして割当て、前記入出
力ポートから読み取ったA/D変換手段の出力に応じて前
記γ補正テーブル補正手段のテーブルのデータ間を補間
し、前記γ補正テーブルのテーブルと前記補間された補
間データとから新たなγ補正テーブルを作成し、前記入
出力ポートから読み取った入力濃度データで前記A/D変
換手段の出力に応じた前記新たなγ補正テーブルを参照
することを特徴とする請求項1記載のプリンタ装置。
3. The table creating means comprises a microcomputer comprising a CPU, RAM, ROM, and input / output port,
The γ correction table of the reference temperature and the γ correction table correction means configured by the table using the ROM or the RAM are assigned as the memory of the microcomputer, and the output of the A / D conversion means read from the input / output port is assigned. The γ-correction-table correction means, the data in the table is interpolated, a new γ-correction table is created from the γ-correction table and the interpolated data, and the input density data read from the input / output port is read. 2. The printer apparatus according to claim 1, wherein the new [gamma] correction table according to the output of the A / D conversion unit is referred to.
【請求項4】サーマルヘッドと、このサーマルヘッドの
発熱素子に電力を印加するヘッド駆動手段と、前記ヘッ
ド駆動手段に記録パルスを与えるパルス発生手段と、前
記サーマルヘッドの温度を検出する温度検出手段と、前
記温度検出手段の出力をA/D変換するA/D変換手段と、前
記A/D変換手段の読み出した出力が示す前記サーマルヘ
ッドの温度が減少する場合は前回読み出した前記A/D変
換手段の出力が示す前記サーマルヘッドの温度に置き換
える温度置換手段と、前記サーマルヘッドの基準温度に
おける入力濃度データに対する記録パルス幅の関係をテ
ーブルとしてROMまたはRAMに設定したγ補正テーブル
と、前記サーマルヘッドの温度に応じて前記γ補正テー
ブルを補正する補正値をテーブルまたは数式で表現した
γ補正テーブル補正手段と、前記温度置換手段の出力と
前記γ補正テーブルと前記γ補正テーブル補正手段とか
ら新たなテーブルを作成するテーブル作成手段とを備
え、前記温度検出手段の出力に応じた入力濃度データに
対する記録パルス幅を得ることを特徴とするプリンタ装
置。
4. A thermal head, a head driving means for applying electric power to a heating element of the thermal head, a pulse generating means for applying a recording pulse to the head driving means, and a temperature detecting means for detecting the temperature of the thermal head. And A / D conversion means for A / D converting the output of the temperature detection means, and if the temperature of the thermal head indicated by the output read by the A / D conversion means decreases, the previously read A / D A temperature replacing means for replacing the temperature of the thermal head indicated by the output of the converting means, a γ correction table in which the relationship between the recording pulse width and the input density data at the reference temperature of the thermal head is set in the ROM or RAM as a table, and the thermal A γ-correction-table correcting unit that expresses a correction value for correcting the γ-correction table according to the head temperature by a table or a mathematical expression; A recording pulse width corresponding to the output of the temperature detecting means, the γ correction table, and a table creating means for creating a new table from the γ correction table correcting means is provided, and the recording pulse width for the input density data according to the output of the temperature detecting means is obtained. A printer device characterized by the above.
【請求項5】サーマルヘッドと、前記サーマルヘッドの
発熱素子に電力を印加するヘッド駆動手段と、前記ヘッ
ド駆動手段に記録パルスを与えるパルス発生手段と、前
記サーマルヘッドの温度を検出する温度検出手段と、前
記温度検出手段の出力をA/D変換するA/D変換手段と、前
記サーマルヘッドの基準温度における入力濃度データに
対する記録パルス幅の関係をテーブルとしてROMまたはR
AMに設定したγ補正テーブルと、前記サーマルヘッドの
温度に応じて前記γ補正テーブルを補正する補正値をテ
ーブルまたは数式で表現したγ補正テーブル補正手段
と、記録開始時の前記サーマルヘッド温度から予め設定
した温度上昇の範囲でのみ前記A/D変換手段の出力と前
記γ補正テーブルと前記γ補正テーブル補正手段とから
新たなテーブルを作成するテーブル規定範囲作成手段と
を備え、前記A/D変換手段の出力に応じた入力濃度デー
タに対する記録パルス幅を得ることを特徴とするプリン
タ装置。
5. A thermal head, head driving means for applying electric power to a heating element of the thermal head, pulse generating means for applying a recording pulse to the head driving means, and temperature detecting means for detecting the temperature of the thermal head. And A / D converting means for A / D converting the output of the temperature detecting means, and ROM or R as a table showing the relationship between the recording pulse width and the input density data at the reference temperature of the thermal head.
The γ correction table set to AM, the γ correction table correction means that represents the correction value for correcting the γ correction table according to the temperature of the thermal head by a table or a mathematical expression, and the thermal head temperature at the start of recording from the thermal head temperature in advance. The A / D conversion is provided with a table prescribed range creating means for creating a new table from the output of the A / D converting means, the γ correction table, and the γ correction table correcting means only within the set temperature rise range. A printer device for obtaining a recording pulse width for input density data according to the output of the means.
【請求項6】サーマルヘッドと、前記サーマルヘッドの
発熱素子に電力を印加するヘッド駆動手段と、前記ヘッ
ド駆動手段に記録パルスを与えるパルス発生手段と、前
記サーマルヘッドの温度を検出する温度検出手段と、前
記温度検出手段の出力をA/D変換するA/D変換手段と、前
記A/D変換手段の読み出した出力が示す前記サーマルヘ
ッドの温度が減少する場合は前回読み出した前記A/D変
換手段の出力が示す前記サーマルヘッドの温度に置き換
える温度判定手段と、前記サーマルヘッドの基準温度に
おける入力濃度データに対する記録パルス幅の関係をテ
ーブルとしてROMまたはRAMに設定したγ補正テーブル
と、前記サーマルヘッドの温度に応じて前記γ補正テー
ブルを補正する補正値をテーブルまたは数式で表現した
γ補正テーブル補正手段と、記録開始時の前記サーマル
ヘッドの温度から予め設定した温度上昇の範囲でのみ前
記温度判定手段の出力と前記γ補正テーブルと前記補正
係数生成手段とから新たなテーブルを作成するテーブル
規定範囲作成手段とを備え、前記温度検出手段の出力に
応じた入力濃度データに対する記録パルス幅を得ること
を特徴とするプリンタ装置。
6. A thermal head, a head driving means for applying electric power to a heating element of the thermal head, a pulse generating means for applying a recording pulse to the head driving means, and a temperature detecting means for detecting the temperature of the thermal head. And A / D conversion means for A / D converting the output of the temperature detection means, and if the temperature of the thermal head indicated by the output read by the A / D conversion means decreases, the previously read A / D A temperature determining means for replacing the temperature of the thermal head indicated by the output of the converting means, a γ correction table in which the relationship between the recording pulse width and the input density data at the reference temperature of the thermal head is set in the ROM or RAM as a table, and the thermal A γ correction table correction means that expresses a correction value for correcting the γ correction table according to the head temperature by a table or a mathematical expression. A table prescribed range creating means for creating a new table from the output of the temperature determining means, the γ correction table, and the correction coefficient generating means only within a preset temperature rise range from the temperature of the thermal head at the start. A printer device, comprising: a recording pulse width for input density data according to an output of the temperature detecting means.
JP63177829A 1987-08-24 1988-07-15 Printer device Expired - Fee Related JPH0832463B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63177829A JPH0832463B2 (en) 1987-08-24 1988-07-15 Printer device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP62-209669 1987-08-24
JP20966987 1987-08-24
JP63177829A JPH0832463B2 (en) 1987-08-24 1988-07-15 Printer device

Publications (2)

Publication Number Publication Date
JPH01133758A JPH01133758A (en) 1989-05-25
JPH0832463B2 true JPH0832463B2 (en) 1996-03-29

Family

ID=26498224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63177829A Expired - Fee Related JPH0832463B2 (en) 1987-08-24 1988-07-15 Printer device

Country Status (1)

Country Link
JP (1) JPH0832463B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2695008B2 (en) * 1989-06-13 1997-12-24 株式会社日立製作所 Thermal recording device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS571778A (en) * 1980-06-06 1982-01-06 Oki Electric Ind Co Ltd Heat sensitive recorder
JPS62105649A (en) * 1985-11-01 1987-05-16 Matsushita Electric Ind Co Ltd Printer
JPS62144968A (en) * 1985-12-19 1987-06-29 Matsushita Electric Ind Co Ltd printer device

Also Published As

Publication number Publication date
JPH01133758A (en) 1989-05-25

Similar Documents

Publication Publication Date Title
US5808653A (en) Thermal gradation printing apparatus
JPH06328761A (en) Thermal transfer printer device and printing method thereof
US4774528A (en) Thermal recording apparatus capable of gradation recording
JPS62256575A (en) Thermosensitive recorder
JPH0632942B2 (en) Recording density control device
JPH0832463B2 (en) Printer device
JP2842484B2 (en) Halftone recording device
JP2928628B2 (en) Thermal recording device
JP3202285B2 (en) Thermal recording apparatus and thermal recording method
JP2007196603A (en) Thermal printing system and program
JPH039857A (en) Recording density correction device in printer
JPH06171134A (en) Thermal gradation recording device
JP2000022954A (en) Media density calibration method for gradation printer
KR0138139B1 (en) Printer device
JP2005212344A (en) Image forming device, and thermal control method for thermal head of the image forming device
JPS62144968A (en) printer device
JP2000108399A (en) Thermal recording method and thermal recording apparatus for multi-tone images
JPH0584954A (en) Thermal printer and printing correcting method thereof
JPS62105649A (en) Printer
JPS59202768A (en) Heat-sensing transfer printer
JP2001310495A (en) Printer and its controlling method
JP3002800B2 (en) Method and apparatus for correcting recording density of printer
JPH09216402A (en) Gradient thermal recording device
JPS6195960A (en) Thermal head driving method and device for implementing the same
JPH04250075A (en) Density correction device in thermal transfer printer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees