JPH0429859A - Printing head controller - Google Patents

Printing head controller

Info

Publication number
JPH0429859A
JPH0429859A JP13782190A JP13782190A JPH0429859A JP H0429859 A JPH0429859 A JP H0429859A JP 13782190 A JP13782190 A JP 13782190A JP 13782190 A JP13782190 A JP 13782190A JP H0429859 A JPH0429859 A JP H0429859A
Authority
JP
Japan
Prior art keywords
timing
print
output
pin
printing
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
JP13782190A
Other languages
Japanese (ja)
Inventor
Hajime Shiraishi
肇 白石
Yutaka Miyazono
豊 宮園
Seiji Kimura
誠司 木村
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 JP13782190A priority Critical patent/JPH0429859A/en
Publication of JPH0429859A publication Critical patent/JPH0429859A/en
Priority to JP25730098A priority patent/JPH11137878A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To decrease the number of gates by a method wherein a printing data is outputted by receiving output of a timing generating means which generates printing timing of all pins for correcting an inclination of a pin line of a printing head inclined to a direction cutting a transfer direction of a carriage at right angles, and an AND of the printing timing and the printing data is taken. CONSTITUTION:For a dot pattern of a head, odd pins in 24 pins form a first line and even pins form a second line. A pin N is shifted to a pin (N+2) among 12 pins of each line by 1/120 X 1/12 inch in a printing line direction. Herein, the pin N and a pin (N+1) in the first line and the second line are driven at the same timing. A timing generating part 5 outputs a timing signal (b) of all dots of a printing head according to a printing mode establishing signal (d) from a CPU 1. The output (b) of the timing generating part 5 is taken as a clock, and output (k) of an AND circuit 9 which takes an AND of output (j) of a latch part 8 for latching output (i) of a synchronous part 7 and the timing signal (b) is taken as a drive signal. Then, the head is driven by impressing pulse voltage to a head coil 11.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ドツトマトリクスプリンタの印字ヘッド制御
装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a print head control device for a dot matrix printer.

従来の技術 近年、ドツトマトリクスプリンタにおいて各ドツトが同
時に打点することによる騒音、電源の大容量化や電磁力
を利用する場合の磁気干渉などの回避および高密度実装
化等のためにキャリッジに搭載されキャリッジの移動方
向に直交する方向に対してピンを傾斜して配列した印字
ヘッドのピン列の各々のピンに対応した信号を供給し印
字をおこなわせる分散印字ヘッドが用いられ、分散印字
ヘッドの印字ヘッド制御装置が使用されている。
Conventional technology In recent years, dot matrix printers have been mounted on carriages to avoid noise caused by each dot hitting the dots at the same time, magnetic interference when using a large capacity power supply or electromagnetic force, and high-density packaging. A distributed print head is used that performs printing by supplying a signal corresponding to each pin in a row of pins of the print head, the pins of which are arranged at an angle with respect to the direction perpendicular to the direction of movement of the carriage. A head control device is used.

以下従来の印字ヘッド制御装置について説明する。A conventional print head control device will be described below.

第9図(a)は従来の24ピンワイヤドツトヘツドのピ
ン列のパターンである。第9図(b)はピンを傾斜して
配列した分散印字ヘッドのピン列のパターン、第9図(
C)は分散印字ヘッドのピン列のパターンのもう一つの
例である。
FIG. 9(a) shows the pin row pattern of a conventional 24-pin wire dot head. Figure 9(b) shows the pin array pattern of a distributed print head in which the pins are arranged at an angle.
C) is another example of a pin array pattern for a distributed print head.

第10図は24ピンワイヤドツトヘツドの駆動タイミン
グチャートであり、第10図(a)、第10図(b)、
第10図(c)はそれぞれ第9図(a)、第9図(b)
、第9図(c)のピン列のパターンのヘッドに対応して
いる。第9図(a)のピン列のパターンにおいては第1
0図(a)に示すように文字を構成するドツトとドツト
の間隔を決定するタイミングT7、ヘッドのピンを駆動
するヘッドコイルの通電時間を決定するタイミングT8
を生成するタイマのみでよいが、第9図(b)のピン列
のパターンにおいては第10図(b)に示すように各々
のピンで駆動タイミングが異なるため、タイミングT7
、タイミングT8を生成するタイマだけでなく、ピン配
列の傾斜に従ってピン毎の遅延時間を決定するタイミン
グT9を生成するタイマが必要で、24ピンの駆動タイ
ミング全てをタイミングT9づつ遅延する必要がある。
FIG. 10 is a drive timing chart of the 24-pin wire dot head, and FIG. 10(a), FIG. 10(b),
Figure 10(c) is Figure 9(a) and Figure 9(b), respectively.
, corresponds to the head with the pin row pattern shown in FIG. 9(c). In the pin row pattern shown in Figure 9(a), the first
As shown in Figure 0 (a), timing T7 determines the spacing between the dots that make up the characters, and timing T8 determines the energization time of the head coil that drives the pins of the head.
However, in the pin array pattern of FIG. 9(b), the drive timing is different for each pin as shown in FIG. 10(b), so the timing T7 is sufficient.
In addition to a timer that generates timing T8, a timer that generates timing T9 that determines the delay time for each pin according to the slope of the pin arrangement is required, and it is necessary to delay all the drive timings of 24 pins by timing T9.

第9図(C)のピン配列では第10図(C)に示すよう
に駆動タイミングの遅延を6ピンのグループ毎に行い制
御回路を簡略化している。
In the pin arrangement of FIG. 9(C), the control circuit is simplified by delaying the drive timing for each group of six pins as shown in FIG. 10(C).

第11図は第9図(b)のピン配列を持つ従来の印字ヘ
ッド制御装置のブロック図である。第11図において、
127は文字フォントのデータが書き込まれている文字
フォント読み出し専用メモリ(以下、文字フォントRO
Mと略称する。)、128は印字データ分散用のタイミ
ングを生成するタイミング生成部で、第10図(b)に
示すようなT7、T8のタイミングを有するクロックを
生成するタイマ129、T9のタイミングを有するクロ
ックを生成するタイマ130および、これらのタイマ1
29.130を動作させる発振器131よりなっている
。132は文字フォントROM127より読み出された
印字データを遅延させるシフトレジスタにより構成され
た印字データ分散部である。133は中央処理装置(以
下、CPUと略称する。)で文字フォントROM127
、タイミング生成部128、印字データ分散部132の
それぞれを入出力部(以下、I10部と略称する。)1
34を介して制御している。135は24個のAND回
路でそれぞれCPU 133からの24ピン分の印字デ
ータとタイマ129の出力のANDを取る。136はヘ
ッドコイル137にパルス信号を印可するヘッドドライ
バである。
FIG. 11 is a block diagram of a conventional print head control device having the pin arrangement shown in FIG. 9(b). In Figure 11,
127 is a character font read-only memory (hereinafter referred to as character font RO) in which character font data is written.
It is abbreviated as M. ), 128 is a timing generation unit that generates timing for distributing print data, and a timer 129 generates a clock with timing of T7 and T8 as shown in FIG. 10(b), and a clock with timing of T9 is generated. timer 130 and these timers 1
It consists of an oscillator 131 that operates 29.130. Reference numeral 132 denotes a print data dispersion unit composed of a shift register that delays print data read from the character font ROM 127. 133 is a central processing unit (hereinafter abbreviated as CPU), and a character font ROM 127
, the timing generation section 128, and the print data dispersion section 132 are each connected to an input/output section (hereinafter abbreviated as I10 section) 1.
It is controlled via 34. Reference numeral 135 indicates 24 AND circuits, each of which takes the AND of the print data for 24 pins from the CPU 133 and the output of the timer 129. 136 is a head driver that applies a pulse signal to the head coil 137.

以上のように構成された印字ヘッド制御装置についてそ
の動作を以下に説明する。
The operation of the print head control device configured as described above will be described below.

CPU 133はタイマ129により第10図(b)の
1ピン目のタイミング信号(以下、シフトデータと略称
する。)の立ち下がりタイミングWが常に知らされ、C
PU 133は文字フォントROM127より24ピン
分の印字データを読み込みシフトデータの立ち下がりの
タイミングに従ってAND回路135へ送り、AND回
路135で24ピン分の印字データのそれぞれとタイマ
129の出力のANDをとり印字データ分散部132へ
送る。またタイマ130では文字モードデータXをCP
U 133より受は取りそれらの印字モードに応じた第
10図(b)のT9を周期とするタイミングを有するク
ロック(以下、シフトクロックと略称する。)を印字デ
ータ分散部132に送る。印字データ分散部132はA
ND回路135からの出力信号、シフトクロックに基き
第10図(b)の1ピンから24ピンまでの駆動信号を
生成し、ヘッドドライバ136へ送る。ヘッドドライバ
136は、印字データ分散部132からの駆動信号によ
りヘッドコイル137にパルス電圧をあたえることによ
りヘッドを駆動する。シフトクロックtの周波数は種々
の文字に関する印字モードに対応して変化するが、T8
のタイミングを維持する為にはT8がシフトクロックt
の整数倍でなければならないので、必然的にシフトクロ
ックtの周波数を上げる、即ちT9期間を細分化したシ
フトクロックを印字データ分散部132に与える必要が
生じる。このため印字データ分散部132のシフトレジ
スタは複数段設けていた。
The CPU 133 is always informed by the timer 129 of the falling timing W of the timing signal of the first pin (hereinafter referred to as shift data) shown in FIG.
The PU 133 reads the print data for 24 pins from the character font ROM 127 and sends it to the AND circuit 135 according to the falling timing of the shift data, and the AND circuit 135 ANDs each of the print data for the 24 pins and the output of the timer 129. It is sent to the print data distribution section 132. Also, the timer 130 converts the character mode data
A clock (hereinafter abbreviated as shift clock) having a timing having a period of T9 in FIG. 10(b) corresponding to the print mode is sent to the print data distribution unit 132 from the U 133. The print data distribution unit 132 is A
Based on the output signal from the ND circuit 135 and the shift clock, drive signals for pins 1 to 24 in FIG. 10(b) are generated and sent to the head driver 136. The head driver 136 drives the head by applying a pulse voltage to the head coil 137 in response to a drive signal from the print data distribution unit 132 . The frequency of the shift clock t changes depending on the printing mode for various characters, but T8
In order to maintain the timing of t, T8 is the shift clock t.
Therefore, it is necessary to increase the frequency of the shift clock t, that is, to provide the print data distribution unit 132 with a shift clock obtained by subdividing the T9 period. For this reason, the print data distribution section 132 has multiple stages of shift registers.

発明が解決しようとする課題 しかしながら前記従来の構成では、文字フォントROM
127より読み出された印字データにヘッドコイル12
40通電時間のデータを付加し、この印字データに通電
時間のデータを付加したデータにより印字データ分散部
132を構成しているシフトレジスタで、分散印字ヘッ
ドのピン列の各々のピンに対応した分散データを生成し
ているのでヘッドコイル124の通電時間をあらゆる印
字モードに対しても維持するためヘッドコイル124の
通WIFR間が常に印字データ分数部132のシフトレ
ジスタを駆動するシフトクロックの周期の整数倍となる
ようシフトクロックの周波数を高くする必要があり、印
字データ分散部132においてシフトレジスタの数が多
くゲート数が多くなる。ゲート数を少なくするために第
9図(C)のようなドツトパターン構成にすると、印字
騒音低減、電源容量縮小等の効果が激減する。
Problems to be Solved by the Invention However, in the conventional configuration, the character font ROM
The print data read from 127 is applied to the head coil 12.
40 energization time data is added, and the data obtained by adding the energization time data to this print data is used to generate a distribution corresponding to each pin in the pin row of the distributed print head in a shift register that constitutes the print data distribution unit 132. Since data is being generated, the energization time of the head coil 124 is maintained for all printing modes, so that the WIFR of the head coil 124 is always an integer of the cycle of the shift clock that drives the shift register of the print data fraction section 132. It is necessary to increase the frequency of the shift clock so that the frequency is doubled, and the number of shift registers and gates in the print data distribution section 132 increases. If a dot pattern configuration as shown in FIG. 9(C) is used to reduce the number of gates, the effects of printing noise reduction, power supply capacity reduction, etc. will be drastically reduced.

課題を解決する為の手段 本発明は前記問題点を解決するため、キャリッジに搭載
され、キャリッジの移動方向に直交する方向に対して傾
斜をつけた印字ヘッドのピン列の傾斜を補正する全ピン
の印字タイミングを生成するタイミング生成手段と、タ
イミング生成手段の出力を受けて印字データを出力する
印字データ出力手段と、印字タイミングと印字データと
の論理積をとる手段とを備えた。
Means for Solving the Problems In order to solve the above-mentioned problems, the present invention provides all pins that are mounted on a carriage and correct the inclination of the pin row of the print head that is inclined with respect to the direction perpendicular to the direction of movement of the carriage. The present invention includes a timing generation means for generating a print timing of , a print data output means for receiving an output of the timing generation means and outputting print data, and a means for calculating a logical product of the print timing and the print data.

作用 本発明は前記した構成によりなシフトレジスタ回路を用
いずにキャリッジの移動方向に対して傾斜をつけた印字
ヘッドのピン列の傾斜を補正することができる。
Operation The present invention can correct the inclination of the pin array of the print head that is inclined with respect to the moving direction of the carriage without using the shift register circuit having the above-described configuration.

実施例 第1図は、本発明の一実施例における印字ヘッド制御装
置のブロック図である。
Embodiment FIG. 1 is a block diagram of a print head control device in an embodiment of the present invention.

第1図において、1は中央処理装置(以下、CPUと略
称する。)、2は各装置間のインターフェースを受は持
つ入出力部(以下、I10部と略称する。)3は文字フ
ォント読み出し専用メモリ(以下、文字フォントROM
と略称する。)である。4は発振器、5は発振器4の出
力a1を基本クロックとして動作するタイミング生成部
でCPUIからの印字モード設定信号dに従って印字ヘ
ッドの全ドツトのタイミング信号すを出力する。6はタ
イミング信号すの中から一つの信号を印字モード設定信
号dに従ってセレクトしCPU1へ割り込み信号eとし
て出力するデータセレクタである。7は同期部でCPU
1からの印字モード設定信号fに従って、CPUIから
の印字データg1を、データセレクタの出力eをクロッ
クとして、分散タイミングbに同期させる。8はタイミ
ング生成部5の出力すをクロックとし、同期部7の出力
jをラッチするラッチ部、9はラッチ部8の出力jとタ
イミング11号すのアンドをとるAND回路。10はヘ
ッドドライバでAND回路9の出力kを駆動信号としヘ
ッドコイル11にパルス電圧を与える事によりヘッドを
駆動する。
In Fig. 1, 1 is a central processing unit (hereinafter abbreviated as CPU), 2 is an input/output unit (hereinafter abbreviated as I10 unit) that serves as an interface between each device, and 3 is only for reading character fonts. Memory (hereinafter referred to as character font ROM)
It is abbreviated as. ). 4 is an oscillator, and 5 is a timing generation section which operates using the output a1 of the oscillator 4 as a basic clock, and outputs timing signals for all dots of the print head in accordance with a print mode setting signal d from the CPUI. A data selector 6 selects one signal from the timing signals according to the print mode setting signal d and outputs it to the CPU 1 as an interrupt signal e. 7 is the CPU in the synchronization section
According to the print mode setting signal f from 1, the print data g1 from the CPUI is synchronized with the distributed timing b using the output e of the data selector as a clock. 8 is a latch section which uses the output of the timing generation section 5 as a clock and latches the output j of the synchronization section 7; 9 is an AND circuit which ANDs the output j of the latch section 8 and the timing No. 11; A head driver 10 drives the head by applying a pulse voltage to the head coil 11 using the output k of the AND circuit 9 as a drive signal.

第2図は本発明の印字ヘッド制御装置が制御するヘッド
のドツトパターンである。第2図においてヘッドのドツ
トパターンは24ピンのうち奇数ピンを第1列、偶数ピ
ンを第2列とし、同一列のピンが同時に駆動されること
がないようそれぞれの列の12ピンのうちピンNとピン
(N+2)が1/120*1/12インチ印字行方向に
ずれている。ここで1/120インチは文字のドツト間
隔である。第1列と第2列におけるピンNとピン(N+
 1 )は以下の説明では同一タイミングで駆動される
ようにしている。即ち第1列と第2列の印字行方向の間
隔は1/120インチの整数倍となっている。さらに同
一列の12ピンに対して制御しやすいように下位の8ピ
ン分とをLブロック、上位の4ピン分を■(ブロックと
している。
FIG. 2 shows a dot pattern of a head controlled by the print head control device of the present invention. In Figure 2, the dot pattern of the head is such that out of 24 pins, the odd numbered pins are in the first row and the even numbered pins are in the second row. N and pin (N+2) are shifted by 1/120*1/12 inch in the printing line direction. Here, 1/120 inch is the dot spacing between characters. Pin N and pin (N+
1) are driven at the same timing in the following explanation. That is, the interval between the first column and the second column in the print line direction is an integral multiple of 1/120 inch. Furthermore, in order to facilitate control of the 12 pins in the same column, the lower 8 pins are designated as an L block, and the upper 4 pins are designated as a (2) block.

第3図(a)は第1図の同期部7のブロック図、第3図
(b)は第1図の同期部7の別の実施例のブロック図で
ある。第3図(a)及び第3図(b)において、21.
22はそれぞれCPU 1からの印字データg1を1ビ
ツト列分の1デ一タ期間遅延させたデータg2.  デ
ータg2を1デ一タ期間遅延させたデータg3を出力す
るフリップフロップで構成されているラッチ部、第3図
(a)において23.24.25はそれぞれ印字データ
gl、g2.g3とCPU1より出力される印字モード
設定信号f−1,f−2,f−3のANDをとるAND
回路、26はAND回路の出力ml。
3(a) is a block diagram of the synchronizing section 7 of FIG. 1, and FIG. 3(b) is a block diagram of another embodiment of the synchronizing section 7 of FIG. 1. In FIG. 3(a) and FIG. 3(b), 21.
22 are data g2 . In FIG. 3(a), 23, 24, and 25 are respectively print data gl, g2... AND g3 and print mode setting signals f-1, f-2, f-3 output from CPU1.
circuit, 26 is the output ml of the AND circuit.

m2.m3を加算する加算器である。第3図(b)にお
いて27は印字モード設定信号fにより印字データgl
、g2.g3の中のいす、れかの印字データをセレクト
し印字データiとしてを出力するデータセレクタである
m2. This is an adder that adds m3. In FIG. 3(b), 27 indicates the print data gl by the print mode setting signal f.
, g2. This is a data selector that selects the print data of one of the chairs in g3 and outputs it as print data i.

第4図は第1図のタイミング生成部5のブロック図であ
る。第4図において、31は第1図の発振器4の出力a
1をクロックとして動作するアトレスカウンタ、32は
マグニチュードコンパレータてCPU1からの印字モー
ド設定信号d−1とアドレスカウンタ31の出力mを比
較してアドレスカウンタロードfs号pを出力する。こ
れによりアドレスカウンタ31は設定されたd−1をカ
ウント値としてカウントする。33は分散タイミング読
みだし専用メモリ(以下分散タイミングROMと略称す
る。)でアドレスカウンタ31の出力mと印字モード設
定信号d−2をアドレスとして分散タイミングが読みだ
される。35はアドレスカウンタの1出力m−1をデー
タとしクロックa1を反転器34で反転させたa2をク
ロックとして動作するシフトレジスタ、36はシフトレ
ジスタ35の出力nをクロックとし分散タイミングRO
M33の出力Oをラッチするフリップフロップで構成さ
れているラッチ部である。以上のように構成された印字
ヘッド制御装置について、以下その動作を説明する。
FIG. 4 is a block diagram of the timing generator 5 of FIG. 1. In FIG. 4, 31 is the output a of the oscillator 4 in FIG.
The address counter 32, which operates using 1 as a clock, uses a magnitude comparator to compare the print mode setting signal d-1 from the CPU 1 and the output m of the address counter 31, and outputs an address counter load fs number p. As a result, the address counter 31 counts the set d-1 as a count value. Reference numeral 33 denotes a distributed timing read-only memory (hereinafter abbreviated as distributed timing ROM) from which distributed timing is read using the output m of the address counter 31 and the print mode setting signal d-2 as addresses. 35 is a shift register which operates using one output m-1 of the address counter as data and a2 which is obtained by inverting the clock a1 by an inverter 34, and 36 is a distributed timing RO whose clock is the output n of the shift register 35.
This is a latch section made up of a flip-flop that latches the output O of M33. The operation of the print head control device configured as described above will be described below.

第5図(a)はタイミング生成部5の出力信号すの24
ピン分のタイミングを示したタイミングチャートである
。T1はドツトとドツトの印字インターバル、T2はヘ
ッドのnピンと(n+2)ピンとの遅延時間、T4はへ
ラド11の通電時間である。分散タイミングROM33
はこれらの各ピンに対応する12種の基本サイクル信号
が予め書き込まれており、アドレスカウンタ31が発生
するアドレスにて読み出される。第5図(b)は分散タ
イミングROM33のアドレスマツプである。プリンタ
の文字フォントがドラフトとNLQ(Near  Le
tter  Quarity)の2種類、インチあたり
の文字数が10.12.15.17cpiの4種類、ヘ
ッドの印字方向が正方向(以下、Goと略称する。)と
逆方向(以下、RETURNと略称する。)の2種類、
そのそれぞれに対応して分散タイミングのデータが16
進数で800番地毎に、計7FFF番地まで書き込まれ
ている。これらの印字モード選択はモードデータ信号d
−2によって行われる。第5図(a)のT1は各印字モ
ードで長さが違うが、マグニチュードコンパレータ32
が各印字モードに合わせてT1時間経ったらアドレスカ
ウンタ31をオールゼロにロードする。T1は最高10
24μsにしている。
FIG. 5(a) shows the output signal 24 of the timing generator 5.
It is a timing chart showing the timing for pins. T1 is the printing interval between dots, T2 is the delay time between the n pin and (n+2) pin of the head, and T4 is the energization time of the head 11. Distributed timing ROM33
Twelve types of basic cycle signals corresponding to each of these pins are written in advance, and are read out at the address generated by the address counter 31. FIG. 5(b) is an address map of the distributed timing ROM 33. The printer's character font is Draft and NLQ (Near Le
There are two types: 10.12, 15.17 cpi, and 4 types of characters per inch (10, 12, 15, and 17 cpi), and the print direction of the head is forward direction (hereinafter abbreviated as Go) and reverse direction (hereinafter abbreviated as RETURN). ) two types,
There are 16 distributed timing data corresponding to each of them.
A total of 7FFF addresses are written every 800 addresses in base numbers. These print mode selections are made using the mode data signal d.
-2. The length of T1 in FIG. 5(a) differs depending on the printing mode, but the length is
loads the address counter 31 to all zeros after T1 time has elapsed in accordance with each print mode. T1 is maximum 10
The time is set to 24 μs.

第6図は分散タイミングROM33の出力ラッチタイミ
ングを示したタイミングチャートである。アドレスmの
切り替わり時間T5はT5=500nSで、1μsの期
間にアドレスmによって分散タイミングROM33より 下位8ビツトのタイミングデータ (以下、bLデータと略称する。)、 上位4ビツトのタイミングデータ (以下、bHデータと略称する。) が順次出力される。T6は分散タイミングROM33の
出力デイレイタイムで150n3程度なのでbL、bH
データをラッチするタイミングT7はT6<T7<T5
となるようT7=250nSとしている。これらのラッ
チクロックnl、n2、はシフトレジスタ35でアドレ
スカウンタより出力されるml、  反転した基本クロ
ックa2より作られる。ラッチ部36では分散タイミン
グR0M33の出力0のbLデータ、bHデータをラッ
チクロックnl、n2によりラッチし、更にこれらをm
lの立上りのタイミングでラッチすることにより12ビ
ツトの分散タイミング信号すが生成される。これらの出
力は1μs精度である。
FIG. 6 is a timing chart showing the output latch timing of the distributed timing ROM 33. The switching time T5 of address m is T5 = 500 ns, and the lower 8 bits of timing data (hereinafter referred to as bL data) and the upper 4 bits of timing data (hereinafter referred to as bH (abbreviated as data) are output sequentially. T6 is the output delay time of the distributed timing ROM 33 and is about 150n3, so bL and bH
Timing T7 to latch data is T6<T7<T5
T7 is set to 250 nS so that. These latch clocks nl and n2 are generated by the shift register 35 from ml output from the address counter and the inverted basic clock a2. The latch unit 36 latches the bL data and bH data of the output 0 of the distributed timing R0M33 using the latch clocks nl and n2, and further latches these data by m
A 12-bit distributed timing signal is generated by latching at the rising edge of l. These outputs are accurate to 1 μs.

第7図は本発明の制御装置におけるタイミングチャート
である。以下このタイミングチャートに従って第3図の
同期部7の説明をする。第7図(a)においてglはC
PU1の出力で24ビツトの印字データである。bl、
2からb23,24まではタイミング生成部5の出力で
この12本の信号はドツトとドツトの印字インターバル
であるT1の周期をもつ繰り返し信号でありbn (n
=1.3.・・・23または、n=2.4.  ・・・
24ンに対してb (n+2)はへ・ソドのnピンと(
n+2)ピンとの遅延時間である12時間遅延している
。今 T1=960μsとした場合、T2は T2=T1/12=80μs となり、このT1の期間にヘッドは印字方向にピンNと
ピン(N+2)の印字方向のずれである1/120* 
1/12インチの12倍の1/120インチ進む。T3
はCPU1のデータ処理時間でT3=50μsであると
すればb23,24の立ち上がりを割り込み信号eとし
てCPU1が受けて印字データを同期部7に対して出力
しこの印字データg1をラッチ部8によりblからb2
4の立ち上がりタイミングでラッチする。このラッチ出
力jとタイミング信号すをAND回路9によりANDを
とることによりヘッド通電時間T4が保証される。
FIG. 7 is a timing chart of the control device of the present invention. The synchronization section 7 in FIG. 3 will be explained below according to this timing chart. In Figure 7(a), gl is C
The output of PU1 is 24-bit print data. bl,
2 to b23 and 24 are the outputs of the timing generator 5, and these 12 signals are repetitive signals with a cycle of T1, which is the printing interval between dots, and are bn (n
=1.3. ...23 or n=2.4. ...
For 24 pins, b (n+2) is the n pin of He/Sodo and (
There is a delay of 12 hours, which is the delay time with the n+2) pin. Now, if T1 = 960 μs, then T2 becomes T2 = T1/12 = 80 μs, and during this period of T1, the head moves in the printing direction by 1/120*, which is the deviation in the printing direction between pin N and pin (N+2).
Advance 1/120 inch, which is 12 times 1/12 inch. T3
is the data processing time of the CPU 1, and if T3=50 μs, then the CPU 1 receives the rise of b23 and 24 as an interrupt signal e, outputs print data to the synchronization unit 7, and outputs this print data g1 to bl by the latch unit 8. From b2
Latch at the rising timing of 4. The head energization time T4 is guaranteed by ANDing the latch output j and the timing signal S by the AND circuit 9.

第7図(b)、第7図(c)、第7図(d)は印字イン
ターバルT1期間にそれぞれ1/180インチ、172
40インチ、1/360インチヘッドが印字方向に進む
場合のタイムチャートであり、文字の品位を変更するよ
うなこういった印字モードに対して印字する文字が傾斜
しないようにする対応が必要となる。
7(b), 7(c), and 7(d) are 1/180 inch and 172 inch, respectively, during the printing interval T1 period.
This is a time chart when the 40-inch and 1/360-inch heads advance in the printing direction, and it is necessary to take measures to prevent the printed characters from being tilted for these printing modes that change the quality of the characters. .

第4図(b)においてヘッドのnピンと(n+2)ピン
との遅延時間T2は T  2  =T1/12分子t’c * (1/12
0インf/ 1/180イ:zf)=960/12* 
(180/120)=120μs 第4図(c)においてT2は T 2  =T1712分散* (1/120インf/
 1/24(lf7+)=960/12* (240/
120)=160μs 第4図(d)においてT2は T  2  =T1/12分散*  (1/120(ン
f/ 1/:160イアf)=960/12* (38
0/120)=240μs となる。このようにT2の時間が各モードにより異なる
ためラッチ部8では第4図(b)ではタイミングb1.
2がらbl5,16の立ち上がりで印字データg1をラ
ッチし、タイミングb17゜18からb23,24の立
ち上がりでglをT1期間遅らせた印字データg2をラ
ッチする。
In FIG. 4(b), the delay time T2 between the n pin and (n+2) pin of the head is T 2 = T1/12 molecule t'c * (1/12
0inf/1/180i:zf)=960/12*
(180/120) = 120 μs In Fig. 4(c), T2 is T 2 = T1712 dispersion * (1/120 in f/
1/24(lf7+)=960/12* (240/
120) = 160μs In Fig. 4(d), T2 is T2 = T1/12 dispersion* (1/120(f/1/:160iaf)=960/12* (38
0/120)=240 μs. In this way, since the time of T2 differs depending on each mode, in the latch section 8, the timing b1.
Print data g1 is latched at the rising edge of bl5 and bl16 from timing b17°18, and print data g2 obtained by delaying gl by a period of T1 is latched at the rising edge of b23 and 24 from timing b17°18.

第4図(C)ではタイミングbl、2がらbll、 1
2でglを、L)13.14がらb23,24てg2を
ラッチする。
In Fig. 4 (C), timing bl, 2 gara bll, 1
2 to latch gl, L) 13.14 to b23, 24 to latch g2.

第4図(d)ではタイミングb1,2からb7゜8でg
lを、b9,10からbl5,16でg2を、更にbl
7,18からb23,24でglをT1*21*遅らせ
た印字データg3をラッチする。CPU1への割り込み
信号eは文字のモードおよびヘッドの印字方向に対応し
てbl、2からb23,24の中から選択する必要があ
る。データセレクタ6では文字モード設定信号dをセレ
クトtS号としbl、2からb23,24より割り込み
信号eをセレクトしている。第7図(e)はl/360
インチドツトピッチのモードにおいてヘッドが第7図(
d)と逆方向に印字する場合のタイミングチャートであ
り、印字タイミングはb23.24からbl、2に行く
に従ってT2づつ遅延している。従ってCPU1への割
り込み信号eは第7図(a)、  (c)、  (d)
では印字正方向はb23,24を、印字逆方向ではbl
、2を用いる。第7図(b)図では割り込み信号は印字
正方向ではbl5,16を、印字逆方向ではb9゜10
を用いる。この割り込み信号はeは同時に同期回路7に
おける印字データg1をT1時間遅延させる為のラッチ
クロックにもなっている。ここで、第7図における印字
データg1をT1期間遅延させたg2、T1*2期間遅
延させたg3は第3図(a)、  (b)におけるラッ
チ部21.22の出力であるが、このg2.gはCPU
の割り込み信号であるeを同期クロックとして印字デー
タg1がラッチ21によりT1期間遅延され、その出力
g2がラッチ22により更にT1期間遅延されることに
より得られる。第3図(a)において、この印字データ
gl、g2.g3はそれぞれ24個のAND回路23.
24.25に入力される。このAND回路23.24.
25では第4図(d)の印字モードの場合を例にとり説
明するとAND回路の一方の入力fl、f2.f3はf
  1  = ”  00000000 00口000
00 11111111  °。
In Fig. 4(d), from timing b1,2 to b7°8, g
l, g2 from b9,10 to bl5,16, and then bl
From 7, 18 to b23, 24, print data g3 obtained by delaying gl by T1*21* is latched. The interrupt signal e to the CPU 1 must be selected from among bl, 2 to b23, 24, depending on the character mode and print direction of the head. The data selector 6 sets the character mode setting signal d to select tS and selects the interrupt signal e from bl, 2 to b23, 24. Figure 7(e) is l/360
In the inch dot pitch mode, the head is
This is a timing chart for printing in the opposite direction to d), and the printing timing is delayed by T2 from b23.24 to bl and 2. Therefore, the interrupt signal e to CPU1 is as shown in Fig. 7 (a), (c), (d).
Then, use b23 and 24 for the forward printing direction, and bl for the reverse printing direction.
, 2 is used. In Figure 7(b), the interrupt signal is bl5, 16 in the forward printing direction, and b9°10 in the reverse printing direction.
Use. This interrupt signal e also serves as a latch clock for delaying the print data g1 in the synchronization circuit 7 by a time T1. Here, g2 in which the print data g1 in FIG. 7 is delayed by a period of T1, and g3 in which the print data g1 is delayed by a period of T1*2 are the outputs of the latch sections 21 and 22 in FIGS. 3(a) and (b). g2. g is CPU
The print data g1 is delayed by the latch 21 for a period of T1 using the interrupt signal e as a synchronization clock, and the output g2 thereof is further delayed by the latch 22 for a period of T1. In FIG. 3(a), the print data gl, g2. g3 each has 24 AND circuits 23.
Entered on 24.25. This AND circuit 23.24.
25, one input of the AND circuit fl, f2 . f3 is f
1 = ” 00000000 00 units 000
00 11111111 °.

f2=”000000001111111100000
000°9f 3 = ” 111111110000
000000000000”であり、24ピツトの印字
データを下位から上位まで8ビツトのグループ毎に有効
にしている。Al9− ND回路23.24.25の出力ml、  m2.  
m3を加算することにより、その出力は第4図(d)に
示すように印字タイミングの下位から上位までの8ピツ
トのグループ毎にgl、g2、g3を対応させることが
できる。またヘッドの印字方向が逆方向の場合、flと
f3を入れ換えることにより対応できる。第3図(a)
の回路は第1図の同期回路7であるが、この回路は、C
PU1内のレジスタを使ったソフトウェアでも実現でき
る。
f2="000000001111111100000
000°9f 3 = ” 111111110000
000000000000'', and the 24-bit print data is enabled for each group of 8 bits from lower to upper. Outputs ml, m2.
By adding m3, the output can be made to correspond to gl, g2, and g3 for each group of 8 pits from the lower to the upper printing timing, as shown in FIG. 4(d). Furthermore, if the print direction of the head is reversed, this can be handled by replacing fl and f3. Figure 3(a)
This circuit is the synchronous circuit 7 in FIG.
This can also be realized by software using registers in PU1.

例えば 出力バッファ レジスタB 出力バッファ レジスタA 出力バッファ レジスタB、 レジスタB、 レジスタA、 レジスタA、 レジスタA、 入力バッファ、 入力バッファ、 入力バッファ、 出力バッファ、 AND DD OVE AND DD OVE AND DD OVE という風にソフトを組むと、まず1でレジスタB(第3
図のラッチ22)に存在する印字データg3とf3のA
NDをとり、2でその印字データm3を出力バッファ(
第3図の加算器26)−時記憶する。3でレジスタA(
第3図のラッチ21)の印字データg2をレジスタBに
コピーする。4でレジスタAに存在する印字データg2
とf2のANDをとり、5でその印字データm2と出力
バッファのm3とを加算して一時記憶する。6で印字す
べきフォントデータが存在する入力バッファの印字デー
タg1をレジスタAにコピーする。7て入力バッファに
存在する印字データg1とflのANDをとり、8でそ
の印字データm1と出力バッファに存在するm2+m3
とを加算し、9でI10部2へ出力する。この処理を割
り込み信号eが入力される毎に行えばよい。
For example, output buffer register B output buffer register A output buffer register B, register B, register A, register A, register A, input buffer, input buffer, input buffer, output buffer, AND DD OVE AND DD OVE AND DD OVE When you assemble the software, first set register B (3rd
A of print data g3 and f3 existing in latch 22) in the figure
Take ND and send the print data m3 to the output buffer (
Adder 26 in FIG. 3) - Time storage. 3 to register A (
Copy the print data g2 of latch 21) in FIG. 3 to register B. 4, print data g2 existing in register A
and f2 are ANDed, and in step 5, the print data m2 and m3 of the output buffer are added and temporarily stored. In step 6, the print data g1 of the input buffer containing the font data to be printed is copied to register A. Step 7: AND the print data g1 and fl existing in the input buffer, and step 8: AND the print data m1 and m2+m3 existing in the output buffer.
and is output to I10 section 2 at 9. This process may be performed every time the interrupt signal e is input.

第3図(b)はもう一つの実施例であり、AND回路の
替わりに24個の3t01データセレクタ27にgl、
g2.g3を入力し、モード設定信号fによりglから
g3までの中で選択する。
FIG. 3(b) shows another embodiment, in which 24 3t01 data selectors 27 are used instead of the AND circuit.
g2. g3 is input, and the mode setting signal f selects between gl and g3.

このモード設定信号fにはヘッドの印字方向を示ずf言
号もふくまれている。
This mode setting signal f does not indicate the printing direction of the head and also includes an f word.

第8図に本発明の回路を使った分散印字の騒音に対する
効果を示す。1/4分散で7dB、1/12分散で10
dBの騒音低減効果がある。
FIG. 8 shows the effect of distributed printing on noise using the circuit of the present invention. 7dB at 1/4 dispersion, 10 at 1/12 dispersion
It has a noise reduction effect of dB.

発明の効果 以上のように本発明は、キャリッジに搭載され、キャリ
ッジの移動方向に直交する方向に対して傾斜をつけた印
字ヘッドのピン列の傾斜を補正する全ピンの印字タイミ
ングを生成するタイミング生成手段とタイミング生成手
段の出力を受けて印字データを出力する印字データ出力
手段と、印字タイミングと印字データとの論理積をとる
手段とを備えたことにより、シフトレジスタ回路を用い
ずにキャリッジの移動方向に直交する方向に対して傾斜
を付けた印字ヘッドのピン列の傾斜を補正することがで
き、ゲート数の低減が可能となる。
Effects of the Invention As described above, the present invention provides timing for generating print timing for all pins to correct the inclination of the pin row of the print head mounted on the carriage and inclined with respect to the direction perpendicular to the moving direction of the carriage. By providing print data output means for outputting print data in response to the outputs of the generation means and timing generation means, and means for calculating the logical product of the print timing and the print data, the carriage can be moved without using a shift register circuit. It is possible to correct the inclination of the pin array of the print head that is inclined with respect to the direction perpendicular to the moving direction, and it is possible to reduce the number of gates.

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

第1図は本発明の一実施例における印字ヘッド制御装置
のブロック図、第2図は本発明の印字ヘッド制御装置が
制御するヘッドのドツトバター易第3図(a)は第1図
の同期部7のブロック図、第3図(b)は第1図の同期
部7の別の実施例のブロック図1、第4図は第1図の分
散タイミング生成部5のブロック図、第5図(a)は分
散タイミング生成部5の出力信号すの24ピン分のタイ
ミングを示したタイミングチャート、第5図(b)は分
散タイミングROM33のアドレスマツプ 、第6図は
分散タイミングROM33のヘッドの駆動タイミングチ
ャート、第11図は従来の印字ヘッド制御装置のブロッ
ク図である。 1・・・中央処理装置 2・・・入出力部 3・・・文字フォント読み出し専用メモリ4・・・発振
器 5・・・タイミング生成部 6・・・データセレクタ   7・・・同期部8・・・
ラッチ部      9・・・AND回路10・・・ヘ
ッドドライバ  11・・・ヘッドコイル21.22・
・・ラッチ部 23.24.25・・・AND回路 26・・・加算器      27・・・データセレク
タ31・・・アドレスカウンタ 32・・・マグニチュードコンパレータ33・・・分散
タイミング読みだし専用メモリ34・・・反転器   
   35・・・シフトレジスタ36・・・ラッチ部 代理人の氏名 弁理士 粟野重孝 ばか1名第 図 第5図(a) ピン9.10 ピン+ + 、 12 ピン13.14 ピン15.16 ピン17.18 ピン+9.20 ピン2L22 ピン23.24 第 図 (b) ット) 第 図 =[ニニ====]ニ (8p)患基独 o o o o o o o o OOo O○
FIG. 1 is a block diagram of a print head control device according to an embodiment of the present invention, and FIG. 2 is a block diagram of a print head control device according to an embodiment of the present invention. 7, FIG. 3(b) is a block diagram 1 of another embodiment of the synchronizer 7 in FIG. 1, FIG. 4 is a block diagram of the distributed timing generator 5 in FIG. 1, and FIG. a) is a timing chart showing the timing for 24 pins of the output signal of the distributed timing generator 5, FIG. 5(b) is the address map of the distributed timing ROM 33, and FIG. 6 is the drive timing of the head of the distributed timing ROM 33. The chart, FIG. 11, is a block diagram of a conventional print head control device. 1... Central processing unit 2... Input/output unit 3... Character font read-only memory 4... Oscillator 5... Timing generation unit 6... Data selector 7... Synchronization unit 8...・
Latch part 9...AND circuit 10...Head driver 11...Head coil 21.22.
...Latch section 23.24.25...AND circuit 26...Adder 27...Data selector 31...Address counter 32...Magnitude comparator 33...Distributed timing read-only memory 34...・Inverter
35...Shift register 36...Name of latch section agent Patent attorney Shigetaka Awano One idiot Figure 5 (a) Pin 9.10 Pin + +, 12 Pin 13.14 Pin 15.16 Pin 17 .18 Pin +9.20 Pin 2L22 Pin 23.24 Figure (b) Figure = [Nini====] Ni (8p) O o o o o o o o OOo O○

Claims (3)

【特許請求の範囲】[Claims] (1)キャリッジに搭載され、前記キャリッジの移動方
向に直交する方向に対して傾斜をつけた印字ヘッドのピ
ン列の各々のピンに対応した駆動信号を供給し印字をお
こなわせる印字ヘッド制御装置であって、各ピンの印字
タイミングを生成するタイミング生成手段と、前記タイ
ミング生成手段の出力を受けて印字データを出力する印
字データ出力手段と前記印字データと前記印字タイミン
グとの論理積をとる手段とを備えたことを特徴とする印
字ヘッド制御装置。
(1) A print head control device mounted on a carriage that performs printing by supplying drive signals corresponding to each pin in a row of pins of the print head that is inclined with respect to the direction perpendicular to the direction of movement of the carriage. a timing generation means for generating a print timing for each pin; a print data output means for receiving the output of the timing generation means and outputting print data; and a means for taking an AND of the print data and the print timing. A print head control device comprising:
(2)前記タイミング生成手段が印字モードに応して、
前記印字タイミング信号の中から1信号を選択して、前
記印字データ出力手段に信号を与えるようにしたことを
特徴とする特許請求の範囲第一項記載の印字ヘッド制御
装置。
(2) The timing generation means, depending on the print mode,
2. The print head control device according to claim 1, wherein one signal is selected from among the print timing signals and is applied to the print data output means.
(3)キャリッジに搭載され、前記キャリッジの移動方
向に直交する方向に対して傾斜をつけた印字ヘッドのピ
ン列の各々のピンに対応した駆動信号を供給し印字をお
こなわせる印字ヘッド制御装置であって、全ドットの印
字タイミングを生成するタイミング生成手段と、前記タ
イミング生成手段の出力を受けて印字データを出力する
印字データ出力手段と、前記印字データを印字インター
バル周期で遅延する遅延手段と印字モードに応じて前記
遅延手段の出力を選択する選択手段と、前記印字タイミ
ングと前記遅延手段の出力との論理積をとる手段とを備
えたことを特徴とする印字ヘッド制御装置
(3) A print head control device mounted on a carriage and configured to perform printing by supplying drive signals corresponding to each pin in a row of print head pins inclined with respect to a direction perpendicular to the direction of movement of the carriage. a timing generation means for generating print timing for all dots; a print data output means for outputting print data in response to the output of the timing generation means; a delay means for delaying the print data by a print interval cycle; A print head control device characterized by comprising: selection means for selecting the output of the delay means according to a mode; and means for taking an AND of the print timing and the output of the delay means.
JP13782190A 1990-05-28 1990-05-28 Printing head controller Pending JPH0429859A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP13782190A JPH0429859A (en) 1990-05-28 1990-05-28 Printing head controller
JP25730098A JPH11137878A (en) 1990-05-28 1998-09-10 Thread cutting device for pattern sewing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13782190A JPH0429859A (en) 1990-05-28 1990-05-28 Printing head controller

Publications (1)

Publication Number Publication Date
JPH0429859A true JPH0429859A (en) 1992-01-31

Family

ID=15207637

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13782190A Pending JPH0429859A (en) 1990-05-28 1990-05-28 Printing head controller

Country Status (1)

Country Link
JP (1) JPH0429859A (en)

Similar Documents

Publication Publication Date Title
JPH0429859A (en) Printing head controller
JPH0482758A (en) Impact dot printer
EP0441188B1 (en) Dot-matrix printer
JPH0422651A (en) Printing head controller
JPS6319155Y2 (en)
JPH049151B2 (en)
JPH07304213A (en) Printer and control method thereof
JPS61241170A (en) Driving-controlling system for thermal serial printer
JPH0435965A (en) Printing head controller
JPH0441261A (en) Printing head controller
JP2808995B2 (en) Print head controller
JPH0444868A (en) Printing head controlling device
JPH0410952A (en) Printing head controlling device
JP2760303B2 (en) Thermal head drive
JP3222971B2 (en) Serial dot printer
JPH0441262A (en) Printing head controller
JPH04835B2 (en)
JPH0422650A (en) Printing head controller
JP3298959B2 (en) Pulse width modulation circuit
JPH06312532A (en) Print head
JPH0577488A (en) Preparation of printing data in printer
JP2000108397A (en) Method and device for controlling of thermal print head
JP2003291429A (en) Thermal head driver circuit
JPH09187978A (en) Heat generating method of thermal transfer head and heating control device fitted thereto
JPH0647301B2 (en) Charactor pattern generator