JP2796763B2 - Print head control method - Google Patents

Print head control method

Info

Publication number
JP2796763B2
JP2796763B2 JP29051291A JP29051291A JP2796763B2 JP 2796763 B2 JP2796763 B2 JP 2796763B2 JP 29051291 A JP29051291 A JP 29051291A JP 29051291 A JP29051291 A JP 29051291A JP 2796763 B2 JP2796763 B2 JP 2796763B2
Authority
JP
Japan
Prior art keywords
print
pulse
signal
output
time
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
JP29051291A
Other languages
Japanese (ja)
Other versions
JPH0596791A (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.)
PII EFU YUU KK
Original Assignee
PII EFU YUU KK
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 PII EFU YUU KK filed Critical PII EFU YUU KK
Priority to JP29051291A priority Critical patent/JP2796763B2/en
Publication of JPH0596791A publication Critical patent/JPH0596791A/en
Application granted granted Critical
Publication of JP2796763B2 publication Critical patent/JP2796763B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、単発印字か,連続印字
の最初か,連続印字の途中か,連続印字の最終かなどに
応じて、印字ヘッドに印加されるパルスの幅を相違させ
る必要のあるプリンタ装置、例えば圧電ヘッドを持つプ
リンタ装置に関するものである。
BACKGROUND OF THE INVENTION The present invention requires that the width of a pulse applied to a print head be made different depending on whether printing is a single shot, the beginning of continuous printing, the middle of continuous printing, or the end of continuous printing. Printer device having a piezoelectric head, for example.

【0002】[0002]

【従来の技術】図はプリンタ全体の制御ブロックを示
す図である。同図において、1はプロセッサ、2はプロ
グラムROM、3はワークRAM、3aは印字データ・
ライン・バッファ、4はインタフェース制御部、5はメ
カ状態監視部、6はメカ制御部、7は印字ヘッド制御
部、8はメカ・ドライバ、9は印字ヘッド・ドライバ、
10は用紙送りモータ、11はキャリア・モータ、12
はその他のモータ、13は印字ヘッドをそれぞれ示して
いる。
2. Description of the Related Art FIG. 8 is a diagram showing a control block of the whole printer. In the figure, 1 is a processor, 2 is a program ROM, 3 is a work RAM, 3a is print data,
A line buffer, 4 an interface controller, 5 a mechanical status monitor, 6 a mechanical controller, 7 a printhead controller, 8 a mechanical driver, 9 a printhead driver,
10 is a paper feed motor, 11 is a carrier motor, 12
Denotes another motor, and 13 denotes a print head.

【0003】プロセッサ1は、プログラムROM2に格
納されているプログラムを実行する。プログラムROM
2の中には各種のプログラムが存在する。ワークRAM
3の中には、一時的なデータが格納される。印字データ
・ライン・バッファ3aもワークRAM3の中に存在す
る。インタフェース制御部4は、インタフェース・ケー
ブルを介して本体装置(図示せず)に接続され、本体装
置からのデータを受信したり、本体装置へデータを送信
したりする。
[0003] The processor 1 executes a program stored in a program ROM 2. Program ROM
Various programs exist in 2. Work RAM
3 stores temporary data. The print data line buffer 3a also exists in the work RAM 3. The interface control unit 4 is connected to a main unit (not shown) via an interface cable, and receives data from the main unit and transmits data to the main unit.

【0004】メカ状態監視部5は、用紙センサからの信
号やメカ・センサからの信号,エンコーダからの信号を
監視しており、信号の状態が変化した時、その旨をプロ
セッサ1に通知する。また、メカ状態監視部5は、エン
コーダからの位置情報に基づいて、印字トリガCK(ク
ロック)を生成する。印字トリガCKは、印字ヘッドを
搭載するキャリアが一定距離移動する毎に生成される。
この印字トリガCKは印字ヘッド制御部7に送られる。
メカ制御部6は、プロセッサ1からのコマンドに基づい
て用紙送りモータ10,キャリア・モータ11,その他
のモータ12等に対する駆動信号を出力する。メカ制御
部6から出力される駆動信号はメカ・ドライバ8を経由
して用紙送りモータ10,キャリア・モータ11,その
他のモータ12等に送られる。
The mechanical state monitoring unit 5 monitors a signal from a paper sensor, a signal from a mechanical sensor, and a signal from an encoder, and notifies the processor 1 when the state of the signal changes. Further, the mechanical state monitoring unit 5 generates a print trigger CK (clock) based on the position information from the encoder. The print trigger CK activates the print head
Generated every time the carrier mounted moves a certain distance.
This print trigger CK is sent to the print head controller 7.
The mechanical control unit 6 outputs a drive signal for the paper feed motor 10, the carrier motor 11, the other motor 12, and the like based on a command from the processor 1. The drive signal output from the mechanical control unit 6 is sent to the paper feed motor 10, carrier motor 11, other motors 12 and the like via the mechanical driver 8.

【0005】印字ヘッド制御部7は、受け取った印字デ
ータに基づいて、印字ヘッドを駆動するためのオンタイ
ム信号Iおよびオンタイム信号IIを生成し、これらの
信号を印字ヘッド・ドライバ9に送る。印字ヘッド・ド
ライバ9は、オンタイム信号Iを受信すると、出力を低
レベルから高レベルに切り換え、オンタイム信号IIを
受信すると、出力を高レベルから低レベルに切り換え
る。印字ヘッド・ドライバ9の出力は、印字ヘッド13
に送られる。印字ヘッド13は、例えば4列千鳥状に配
列された24個のピンを持つ圧電ヘッドである。
The print head controller 7 generates an on-time signal I and an on-time signal II for driving the print head based on the received print data, and sends these signals to the print head driver 9. The print head driver 9 switches the output from a low level to a high level when receiving the on-time signal I, and switches the output from a high level to a low level when receiving the on-time signal II. The output of the print head driver 9 is
Sent to The print head 13 is, for example, a piezoelectric head having 24 pins arranged in a staggered manner in four rows.

【0006】図に示すプリンタ装置の動作について説
明する。プロセッサ1は、インタフェースから印字コマ
ンドを受け取ると、ワークRAM3の印字データ・ライ
ン・バッファ3aに1行分の印字データを編集する。そ
の後、キャリア・モータ11や用紙送りモータ10を制
御して、印字可能となったら印字ヘッド制御部7に順番
に印字データ・ライン・バッファ3aから印字データを
転送する。エンコーダからの位置情報をもとに生成され
る印字トリガCKまたは印字トリガCKを遅延されたも
のが印字データ・リクエストとしてプロセッサ1に送ら
れる。プロセッサ1は、印字データ・リクエストを受信
すると、次の印字データを印字ヘッド制御部7に送る。
The operation of the printer shown in FIG. 8 will be described. Upon receiving the print command from the interface, the processor 1 edits one line of print data in the print data line buffer 3a of the work RAM 3. Thereafter, the carrier motor 11 and the paper feed motor 10 are controlled, and when printing is possible, the print data is sequentially transferred from the print data line buffer 3a to the print head controller 7. A print trigger CK generated based on the position information from the encoder or a delayed print trigger CK is sent to the processor 1 as a print data request. When receiving the print data request, the processor 1 sends the next print data to the print head controller 7.

【0007】図は圧電プリンタにおける各種信号を説
明する図である。印字トリガ・クロックは、印字ヘッド
を駆動するための基本タイミング信号であり、印字ヘッ
ドの性能にあった一定の周期性を持つ。上述のように、
印字トリガ・クロックはエンコーダからの位置情報に基
づいて生成される。ディレイ・タイマ信号は、印字トリ
ガ・クロックから一定時間遅延している信号である。
FIG. 9 is a diagram for explaining various signals in the piezoelectric printer. The print trigger clock is a basic timing signal for driving the print head, and has a certain periodicity suitable for the performance of the print head. As mentioned above,
The print trigger clock is generated based on position information from the encoder. The delay timer signal is a signal that is delayed by a predetermined time from the print trigger clock.

【0008】オンタイム信号は、印字ヘッドを駆動する
ための論理レベルの信号(タイミング信号)であり、印
字ヘッド・ドライバに駆動オン/オフのタイミングを与
えるものである。オンタイム信号には、オンタイム信号
Iとオンタイム信号IIの2種類が存在する。オンタイ
ム信号Iは印字トリガ・クロックを基準として生成さ
れ、オンタイム信号IIはディレイ・タイマ信号を基準
として生成される。ディレイ・タイマ信号とオンタイム
信号IIの時間差は、連続最初ドットか,連続途中ドッ
トか,連続最終ドットか,単発ドットかに応じて相違す
る。連続とは印字トリガ・クロック毎に連続して印字ピ
ンが駆動されることを意味しており、単発とは前後の印
字トリガ・クロック周期において印字ピンが駆動されな
いことを意味している。図示のように、連続最初,連続
途中,連続最終の場合にはディレイ・タイマ信号とオン
タイム信号IIの間隔は印字トリガ・クロックの周期t
よりも小さく、単発の場合にはディレイ・タイマ信号と
オンタイム信号IIの間隔はtよりも大きく2tよりも
小さい。
The on-time signal is a logical level signal (timing signal) for driving the print head, and gives a drive on / off timing to the print head driver. There are two types of on-time signals, an on-time signal I and an on-time signal II. The on-time signal I is generated based on a print trigger clock, and the on-time signal II is generated based on a delay timer signal. The time difference between the delay timer signal and the on-time signal II differs depending on whether it is a continuous first dot, a continuous halfway dot, a continuous last dot, or a single dot. Continuous means that the print pin is driven continuously for each print trigger clock, and single-shot means that the print pin is not driven in the preceding and subsequent print trigger clock cycles. As shown in the figure, in the case of continuous first, continuous middle, and continuous last, the interval between the delay timer signal and the on-time signal II is determined by the period t of the print trigger clock.
In the case of a single shot, the interval between the delay timer signal and the on-time signal II is larger than t and smaller than 2t.

【0009】図10は圧電ヘッドを説明する図である。
圧電素子は電気振動を機械振動に変換するものである。
同図の(a)に示すように、圧電素子の機械振動は振動
増幅機構で増幅され、増幅された機械振動が印字ピンに
伝達される。同図(b)は圧電ヘッドのドライバの出力
を示すものであって、オンタイム信号I(充電パルス)
が生成されると、ドライバの出力は立ち上がり、オンタ
イム信号II(放電パルス)が生成されると、ドライバ
の出力は立ち下がる。
FIG. 10 is a view for explaining a piezoelectric head.
The piezoelectric element converts electric vibration into mechanical vibration.
As shown in FIG. 3A, the mechanical vibration of the piezoelectric element is amplified by a vibration amplification mechanism, and the amplified mechanical vibration is transmitted to the print pin. FIG. 2B shows the output of the driver of the piezoelectric head, and shows the on-time signal I (charging pulse).
Is generated, the driver output rises and the on-
When the IM signal II (discharge pulse) is generated, the output of the driver falls.

【0010】図11は従来回路構成例を示す図である。
同図において、14は遅延回路、15ないし18はレジ
スタ、19は印字データ・バッファ、20はフリップ・
フロップ、21ないし24はゲート、26ないし29は
比較器、31ないし34はANDゲート、35はORゲ
ート、36はNANDゲート、37はJKフリップ・フ
ロップ、38はカウンタ、39は1ピン当たりの印字パ
ルスII生成回路をそれぞれ示している。なお、図11
の装置は図の印字ヘッド制御部7の中に存在する。
FIG. 11 is a diagram showing an example of a conventional circuit configuration.
In the figure, 14 is a delay circuit, 15 to 18 are registers, 19 is a print data buffer, and 20 is a flip-flop.
Flop, 21 to 24 are gates, 26 to 29 are comparators, 31 to 34 are AND gates, 35 is OR gate, 36 is NAND gate, 37 is JK flip-flop, 38 is counter, 39 is printing per pin Each shows a pulse II generation circuit. It should be noted that, as shown in FIG. 11
The equipment present in the print head control unit 7 of FIG.

【0011】遅延回路14は、図のディレイ・タイマ
に相当するものである。レジスタ15には単発の場合に
おけるディレイ・タイマ信号とオンタイム信号IIの間
隔値が設定されており、レジスタ16には連続最初の場
合におけるディレイ・タイマ信号とオンタイム信号II
の間隔値が設定されており、レジスタ17には連続途中
の場合におけるディレイ・タイマ信号とオンタイム信号
IIの間隔値が設定されており、レジスタ18には連続
最終の場合におけるディレイ・タイマ信号とオンタイム
信号IIの間隔値が設定されている。
[0011] The delay circuit 14 is equivalent to the delay timer of Figure 9. The register 15 is set with the interval value between the delay timer signal and the on-time signal II in the case of a single shot, and the register 16 is stored in the register 16 with the delay timer signal and the on-time signal II in the first consecutive case.
The interval value between the delay timer signal and the on-time signal II in the case of continuous operation is set in the register 17, and the delay timer signal in the last case of the continuous operation is set in the register 18. The interval value of the on-time signal II is set.

【0012】印字データ・バッファ19は、シフトレジ
スタである。図示の印字パルスII生成回路39が第i
番目の印字ピンに対応するものと仮定すると、印字デー
タ・バッファ19には、第i番目の印字ピンに対する印
字データが順番に入力される。印字データ・バッファ1
9からの出力信号S1は前データがあるか否かを示し、
出力信号S2は現データがあるか否かを示し、出力信号
S3は次データがあるか否かを示す。信号S1,S2,
S3はフリップ・フロップ20に保持される。NAND
ゲート36は、出力信号S2がオンの状態の下で遅延回
路14からパルスが出力されると、パルスを出力する。
このパルスが出力されると、フリップ・フロップ20
は、出力信号S1,S2,S3を取り込む。
The print data buffer 19 is a shift register. The print pulse II generation circuit 39 shown in FIG.
Assuming that the print data corresponds to the i-th print pin, print data for the i-th print pin is sequentially input to the print data buffer 19. Print data buffer 1
The output signal S1 from 9 indicates whether there is previous data,
The output signal S2 indicates whether there is current data, and the output signal S3 indicates whether there is next data. Signals S1, S2,
S3 is held in the flip-flop 20. NAND
Gate 36 outputs a pulse when a pulse is output from delay circuit 14 while output signal S2 is on.
When this pulse is output, the flip-flop 20
Captures the output signals S1, S2, S3.

【0013】ゲート21は条件1が成立しているときに
“1”を出力し、ゲート22は条件2が成立していると
きに“1”を出力し、ゲート23は条件3が成立してい
るときに“1”を出力し、ゲート24は条件4が成立し
ているときに“1”を出力する。条件1は現ドットが単
発ドットであることであり、条件2は現ドットが連続ド
ットの最初であることであり、条件3は現ドットが連続
ドットの途中であることであり、条件4は現ドットが連
続ドットの最終であることである。
The gate 21 outputs "1" when the condition 1 is satisfied, the gate 22 outputs "1" when the condition 2 is satisfied, and the gate 23 outputs "1" when the condition 3 is satisfied. The gate 24 outputs "1" when the condition 4 is satisfied. Condition 1 is that the current dot is a single dot, condition 2 is that the current dot is the first of the continuous dots, condition 3 is that the current dot is in the middle of the continuous dots, and condition 4 is that the current dot is in the middle of the continuous dots. That is, the dot is the last of the continuous dots.

【0014】NANDゲート36が負方向のパルスを出
力すると、フリップ・フロップ37がセットされ、カウ
ンタ38は時間計数を開始する。比較器26は、レジス
タ15の内容とカウンタ38の計数値とを比較し、両者
が一致すると“1”を出力する。比較器27,28,2
9も同様な動作を行う。比較器26が“1”を出力する
と、カウンタ38は初期値に戻り、停止状態になる。
When the NAND gate 36 outputs a pulse in the negative direction, the flip-flop 37 is set, and the counter 38 starts counting time. The comparator 26 compares the content of the register 15 with the count value of the counter 38, and outputs "1" when they match. Comparators 27, 28, 2
9 performs the same operation. When the comparator 26 outputs "1", the counter 38 returns to the initial value and enters the stopped state.

【0015】ANDゲート31は、比較器26とゲート
21が両方とも“1”を出力しているときに“1”を出
力する。ANDゲート32,33,34も同様な動作を
行う。AND回路31ないし34の出力はOR回路35
に入力される。ORゲート35の出力がオンタイム信号
IIとなる。
The AND gate 31 outputs "1" when both the comparator 26 and the gate 21 output "1". The AND gates 32, 33, and 34 perform the same operation. The output of the AND circuits 31 to 34 is the OR circuit 35
Is input to The output of the OR gate 35 is an on-time signal
II.

【0016】[0016]

【発明が解決しようとする課題】上述のように、ディレ
イ・タイマ信号とオンタイム信号IIの時間差は連続印
字の最初か,連続印字の途中か,連続印字の最終か,単
発印字かによって異なり、その差が印字周期以上のもの
もある。従来の方式では、上記のような時間差を計数す
るためのタイマを各印字ピン毎に持つ必要があり、その
ため回路規模が膨大であった。本発明は、この点に鑑み
て創作されたものであって、シリアル・プリンタのオン
タイム信号IIの発生回路において、その回路規模の削
減を目的としている。
As described above, the time difference between the delay timer signal and the on-time signal II differs depending on whether it is the beginning of continuous printing, the middle of continuous printing, the end of continuous printing, or single-shot printing. In some cases, the difference is longer than the printing cycle. In the conventional method, it is necessary to have a timer for counting the time difference as described above for each print pin, and thus the circuit scale is enormous. The present invention has been made in view of the above point, and has as its object to reduce the circuit scale of a circuit for generating an on-time signal II of a serial printer.

【0017】[0017]

【課題を解決するための手段】図1と図2は本発明の原
理説明図である。本発明の印字ヘッド制御方式は、複数
個の印字ピンを有する印字ヘッドと、印字ピンを駆動さ
せる際に、オンタイム信号Iとオンタイム信号IIを出
力する印字ヘッド制御部と、オンタイム信号Iが出力さ
れた時には、印字ピン駆動信号を立ち上げ、オンタイム
信号IIが出力された時には、印字ピン駆動信号を立ち
下げる印字ヘッド・ドライバとを具備するプリンタ装置
における印字ヘッド制御方式であって、印字ヘッド制御
部は、パルス発生部と、各印字ピン毎の印字パルス出力
部とを有し、パルス発生部は、印字トリガ・クロックか
ら定められた時間だけ遅れた切換クロックを生成する切
換クロック生成手段と、 後縁が切換クロックと一致する
オンタイム信号I用の印字パルスを生成する第1の印字
パルス生成手段と、 起動信号を受け取ると時間計数を開
始し、時間計数値が予め定められた値にな ったときにク
リア状態になるA側の計時機構と、 起動信号を受け取る
と時間計数を開始し、時間計数値が予め定められた値に
なったときにクリア状態になるB側の計時機構と、 切換
クロックが生成される度にタイマ・セレクト信号の論理
値を切り換え、奇数番目の切換クロックに同期してA側
の計時機構に対する起動信号を生成し、偶数番目の切換
クロックに同期してB側の計時機構に対する起動信号を
生成する切換回路と、 4個のA側の出力端子と4個のB
側の出力端子とを有し、A側の計時機構の値がN (i
は1,…,4)になった時にはA側の第i番目の出力端
子にオンタイム信号II用の印字パルスを出力し、B側
の計時機構の値がN (iは1,…,4)になった時に
はB側の第i番目の出力端子にオンタイム信号II用の
印字パルスを出力する第2の印字パルス生成手段とを具
備し、各印字ピン毎の印字パルス出力部は、送られて来
たビット列を切換クロックの前縁に同期して1ビットず
つ取り込むシフトレジスタ形の印字データ・バッファ
と、 印字データ・バッファの状態が予め定められた状態
であることを条件として第1の印字パルス生成手段に
よって生成された印字パルスをオンタイム信号Iとして
出力する第1の印字パルス出力手段と、 シフトレジスタ
形の印字データ・バッファの所定段の出力が所定の論理
値を示している状態の下で切換クロックが生成された時
に、状態ラッチ用クロックを生成する状態ラッチ用クロ
ック生成手段と、 状態ラッチ用クロックが生成された時
に状態ラッチ用クロックの後縁に同期してタイマ・セレ
クト信号を取り込むセレクト信号記憶手段と、状態ラッ
チ用クロックがが生成された時に状態ラッチ用クロック
の後縁で印字データ・バッファの状態を取り込んで記憶
する印字情報記憶手段と、セレクト信号記憶手段から出
力されるセレクト信号が一方の論理値のときには第2の
印字パルス生成手段のA側の4個の出力端子から出力さ
れる印字パルス・グループを選択し、セレクト信号が他
方の論理値のときには第2の印字パルス生 成手段のB側
の4個の出力端子から出力される印字パルス・グループ
を選択するグループ選択手段と、グループ選択手段によ
って選択された印字パルス・グループの中から、印字情
報記憶手段の状態によって定まる印字条件に基づいて1
個の印字パルスを選択し、選択された印字パルスをオン
タイム信号IIとして出力する第2の印字パルス出力手
段とを具備することを特徴とするものである。
FIGS. 1 and 2 are diagrams for explaining the principle of the present invention. A print head control method according to the present invention includes a print head having a plurality of print pins, a print head control unit that outputs an on-time signal I and an on-time signal II when driving the print pins, and an on-time signal I. Is output, the print pin drive signal rises, and when the on-time signal II is output, the print pin drive signal falls, the print head control method in a printer device having a print head driver, The print head control unit has a pulse generator and a print pulse output unit for each print pin .
Switch clock that is delayed by the specified time
Switching clock generating means, and the trailing edge coincides with the switching clock
First print to generate print pulse for on-time signal I
The pulse generation means and the time counter are opened when the start signal is received.
Was started, click when the time count was Tsu Na to a predetermined value
Receiving the start-up signal and the clocking mechanism on the A side that enters the rear state
And start time counting, and the time counting value reaches a predetermined value.
A timer mechanism B side becomes clear state when it is, switching
Each time a clock is generated, the logic of the timer select signal
A value is switched, and the A side is synchronized with the odd-numbered switching clock.
Generates a start signal for the timer of
In synchronization with the clock, the start signal for the clocking mechanism on the B side
A switching circuit for generating four output terminals on the A side and four B terminals
And an output terminal on the A side, and the value of the clocking mechanism on the A side is N i (i
Is 1, ..., 4), the i-th output terminal on the A side
Output a print pulse for the on-time signal II to the
When the value of the clocking mechanism becomes N i (i is 1, ..., 4)
Is connected to the i-th output terminal on the B side for the on-time signal II.
And a second print pulse generating means for outputting a printing pulse, the printing pulse output unit of each printing pin, comes sent by
1 bit in synchronization with the leading edge of the switching clock
Shift register type print data buffer
And the state of the print data buffer is predetermined
The condition that is, the first print pulse generating means
Therefore, the generated print pulse is used as the on-time signal I.
First print pulse output means for outputting, and a shift register
Output of the predetermined stage of the print data buffer
When a switching clock is generated under a value indicating condition
The state latch clock that generates the state latch clock
Clock generation means and when a status latch clock is generated
A select signal storage means for capturing a timer select signal in synchronization with the trailing edge of a state latch clock, status latch
State latch clock when the master clock is generated
Captures and stores print data buffer status at trailing edge
The print information storage means for performing the operation and the select signal output from the select signal storage means when the select signal has one logical value .
Output from the four output terminals on the A side of the print pulse generation means.
Select the printing pulse group that, when the select signal is in the other logic value B side of the second printing pulse production formation means
Group selecting means for selecting a print pulse group output from the four output terminals of the group, and print information from a print pulse group selected by the group select means.
1 based on the printing conditions determined by the state of the information storage means.
A second print pulse output means for selecting print pulses and outputting the selected print pulse as an on-time signal II.
And a step .

【0018】[0018]

【作用】図1に示すように、印字トリガ・クロックが切
換クロック生成手段に入力される。切換クロック生成手
段は、印字トリガ・クロックから所定時間後に切換クロ
ックを生成する。第1の印字パルス生成手段は、後縁が
切換クロックと一致するオンタイム信号I用の印字パル
スを生成する。切換回路は、切換クロックが生成される
度にタイマ・セレクト信号の論理値を切り換えると共
に、奇数番目の切換クロックに同期してA側の計時機構
に対する起動信号を生成し、偶数番目の切換クロックに
同期してB側の計時機構に対する起動信号を生成する。
The print trigger clock is turned off as shown in FIG .
It is input to the conversion clock generation means. Switching clock generator
The stage switches the clock after a predetermined time from the print trigger clock.
Generate a lock. The first printing pulse generating means has a trailing edge
Print pulse for on-time signal I that matches switching clock
Generate The switching circuit generates a switching clock
Switching the logical value of the timer select signal each time
And the clocking mechanism on the A side in synchronization with the odd-numbered switching clock
And generates an activation signal for
Synchronously, an activation signal for the clock mechanism on the B side is generated.

【0019】A側の計時機構は、起動信号を受け取ると
時間計数を開始し、時間計数値が所定値になると、クリ
ア状態になる。B側の計時機構は、A側の計時機構と同
様な動作を行う。A側の計時機構及びB側の計時機構
は、それぞれ2tまで計数することが出来る。但し、t
は印字トリガ・クロックの周期である。
When the clocking mechanism on the A side receives the activation signal,
Time counting starts, and when the time counting value reaches a predetermined value,
State. The timing mechanism on side B is the same as the timing mechanism on side A.
Performs similar operations. A side clock mechanism and B side clock mechanism
Can be counted up to 2t. Where t
Is the cycle of the print trigger clock.

【0020】A側の計時機構の値がN になると、第2
の印字パルス生成手段のA側の第1番目の出力端子から
印字パルスが出力され、A側の計時機構の値がN にな
ると、A側の第2番目の出力端子から印字パルスが出力
され、A側の計時機構の値がN になると、A側の第3
番目の出力端子から印字パルスが出力され、A側の計時
機構の値がN になると、A側の第4番目の出力端子か
ら印字パルスが出力される。第1番目の出力端子からの
印字パルスは単発印字に対応し、第2番目の出 力端子か
らの印字パルスは連続印字の最初に対応し、第3番目の
出力端子からの印字パルスは連続印字の途中に対応し、
第4番目の出力端子からの印字パルスは連続印字の途中
に対応する。N はtより大で2tよりも小である。B
側についても同様な動作が行われる。
[0020] When the value of the A side of the counting mechanism is N 1, the second
From the first output terminal on the A side of the print pulse generating means
Printing pulse is output, the value of the A-side of the timing mechanism it to N 2
Then, a print pulse is output from the second output terminal on the A side.
Is the value of the A-side of the timing mechanism is N 3, the third A-side
The print pulse is output from the output terminal No.
When the value of the mechanism is N 4, or the fourth output terminal of the A-side
Output a print pulse. From the first output terminal
Printing pulse corresponds to the single printing, or the second output terminal
These print pulses correspond to the beginning of continuous printing, and the third
The print pulse from the output terminal corresponds to the middle of continuous printing,
The printing pulse from the fourth output terminal is in the middle of continuous printing
Corresponding to N 1 is smaller than 2t at greater than t. B
A similar operation is performed on the side.

【0021】図2に示すように、印字データ・バッファ
には、印字データが入力される。印字データ・バッファ
は、シフトレジスタ形のものである。印字データはビッ
ト列であり、切換クロックに同期して1ビットずつ印字
データ・バッファに入力される。第1の印字パルス出力
手段は、印字データ・バッファの状態が所定の状態であ
ることを条件として、オンタイム信号I用の印字パルス
をオンタイム信号Iとして出力する。状態ラッチ用クロ
ック生成手段は、印字データ・バッファの所定段の出力
が所定の論理値の状態の下で切換クロックが生成される
と、状態ラッチ用クロックを出力する。状態ラッチ用ク
ロックが生成されると、印字データ・バッファの内容が
印字情報記憶手段に取り込まれると共に、タイマ・セレ
クト信号がセレクト信号記憶手段に取り込まれる。
As shown in FIG . 2, a print data buffer
Is input with print data. Print data buffer
Is of the shift register type. Print data is bit
Print one bit at a time in synchronization with the switching clock
Input to the data buffer. First print pulse output
Means that the state of the print data buffer is in a predetermined state;
Print pulse for the on-time signal I
Is output as an on-time signal I. Black for status latch
Means for generating a print data buffer at a predetermined stage of the print data buffer.
Is generated under the condition of a predetermined logic value
And outputs a state latch clock. Status latch
When a lock is generated, the contents of the print data buffer are
In addition to being taken into the print information storage means,
The select signal is taken into the select signal storage means.

【0022】グループ選択手段は、例えばセレクト信号
記憶手段から出力されるセレクト信号の論理値が“1”
の場合にはA側の印字パルス・グループを選択出力し、
セレクト信号の論理値が“0”の場合にはB側の印字パ
ルス・グループを選択出力する。第2の印字パルス出力
手段は、選択された印字パルス・グループの中から、印
字情報記憶手段の状態によって定められる印字条件に基
づいて印字パルスを選択し、選択した印字パルスをオン
タイム信号IIとして出力する。
In the group selecting means, for example, the logical value of the select signal output from the select signal storing means is "1".
In the case of, the print pulse group on the A side is selected and output,
If the logical value of the select signal is "0", the print pulse group on the B side is selectively output. Second print pulse output
Means are selected from the selected print pulse group.
Based on the printing conditions determined by the state of the character information storage
Select the print pulse and turn on the selected print pulse
Output as time signal II.

【0023】[0023]

【実施例】図3は本発明のパルス発生部の構成例を示す
ブロック図である。同図において、40は遅延回路、4
1はカウンタ、42ないし44はレジスタ、45ないし
47は比較器、48ないし50はJKフリップ・フロッ
プ、51はDフリップ・フロップ、52と53はゲー
ト、54はANDゲート、55は切換回路をそれぞれ示
している。
FIG . 3 is a block diagram showing a configuration example of a pulse generator according to the present invention. In the figure, 40 is a delay circuit, 4
1 is a counter, 42 to 44 are registers, 45 to 47 are comparators, 48 to 50 are JK flip-flops, 51 is a D flip-flop, 52 and 53 are gates, 54 is an AND gate, and 55 is a switching circuit. Is shown.

【0024】図3の回路は印字パルスIを生成する部分
である。印字トリガ信号は遅延回路40に入力され、
延回路40の出力が印字パルスI用トリガになる。印字
パルスI用トリガは、JKフリップ・フロップ48,4
9,50のJ入力端子に入力される。JKフリップ・フ
ロップ48の正転出力はDフリップ・フロップ51に入
力され、Dフリップ・フロップ51の出力はANDゲー
ト54の上側入力端子に入力される。また、JKフリッ
プ・フロップ48の正転出力は、カウンタ41のクリア
端子に入力される。JKフリップ・フロップ48の反転
出力はANDゲート54の下側入力端子に入力される。
ANDゲート54の出力が切換クロックとなり、切換ク
ロックは切換回路55に入力される。比較器45はカウ
ンタ41の値とレジスタ42の値とを比較し、両者が一
致した時に“1”をJKフリップ・フロップ48のK入
力端子に印加する。
The circuit shown in FIG . 3 is a portion for generating a print pulse I. Printing trigger signal is input to the delay circuit 40, the slow
The output of the extension circuit 40 becomes a trigger for the print pulse I. Printing
The trigger for pulse I is JK flip-flop 48,4
It is input to 9,50 J input terminals. The normal output of the JK flip-flop 48 is input to the D flip-flop 51, and the output of the D flip-flop 51 is input to the upper input terminal of the AND gate 54. The normal output of the JK flip-flop 48 is input to the clear terminal of the counter 41. The inverted output of the JK flip-flop 48 is input to the lower input terminal of the AND gate 54.
The output of AND gate 54 is switching clock, and the Setsu換Ku
The lock is input to the switching circuit 55. The comparator 45 compares the value of the counter 41 with the value of the register 42, and applies “1” to the K input terminal of the JK flip-flop 48 when they match.

【0025】JKフリップ・フロップ49の正転出力は
ゲート52の下側入力端子に入力される。ゲート52の
上側入力端子には、JKフリップ・フロップ48の正転
出力が入力される。ゲート52の出力が印字パルスI
(単発)になる。比較器46はカウンタ41の値とレジ
スタ43の値を比較し、両者が一致した時に“1”をJ
Kフリップ・フロップ49のK入力端子に印加する。
The non-inverted output of the JK flip-flop 49 is input to the lower input terminal of the gate 52. The normal output of the JK flip-flop 48 is input to the upper input terminal of the gate 52. The output of the gate 52 is the print pulse I
(Single shot). The comparator 46 compares the value of the counter 41 with the value of the register 43, and when both match, “1” is J.
Applied to the K input terminal of the K flip-flop 49.

【0026】JKフリップ・フロップ50の正転出力は
ゲート53の下側入力端子に入力される。ゲート53の
上側入力端子には、JKフリップ・フロップ48の正転
出力が入力される。ゲート53の出力が印字パルスI
(連続)になる。比較器47はカウンタ41の値とレジ
スタ44の値を比較し、両者が一致した時に“1”をJ
Kフリップ・フロップ50のK入力端子に印加する。
The normal output of the JK flip-flop 50 is input to the lower input terminal of the gate 53. The non-inverting output of the JK flip-flop 48 is input to the upper input terminal of the gate 53. The output of the gate 53 is the print pulse I
(Continuous). The comparator 47 compares the value of the counter 41 with the value of the register 44, and when both match, "1" is J.
Applied to the K input terminal of the K flip-flop 50.

【0027】切換クロックは切換回路55に入力され
る。切換回路55から出力されるタイマ・セレクト信号
は、切換クロックが入力される度にその値を反転する。
カウンタAトリガ信号は奇数番目の切換クロックが入力
される度に生成され、カウンタBトリガ信号は偶数番目
切換クロックが入力される度に生成される。
The switching clock is input to the switching circuit 55. The value of the timer select signal output from the switching circuit 55 is inverted each time the switching clock is input.
The counter A trigger signal is generated each time an odd-numbered switching clock is input, and the counter B trigger signal is generated each time an even-numbered switching clock is input.

【0028】図4は本発明のパルス発生部(続き)の構
成例を示す図である。同図において、61ないし64は
レジスタ、66Aないし69Aは比較器、66Bないし
69Bも比較器、71ないし74はレジスタ、76Aな
いし79Aは比較器、76Bないし79Bも比較器、8
1Aないし84AはJKフリップ・フロップ、81Bな
いし84BもJKフリップ・フロップ、85Aと85B
もJKフリップ・フロップ、86Aと86Bはカウンタ
をそれぞれ示している。
FIG . 4 is a diagram showing a configuration example of the pulse generator (continued) of the present invention. In the figure, 61 to 64 are registers, 66A to 69A are comparators, 66B to 69B are comparators, 71 to 74 are registers, 76A to 79A are comparators, 76B to 79B are comparators, 8
1A to 84A are JK flip flops, 81B to 84B are also JK flip flops, 85A and 85B
Also, JK flip-flops and 86A and 86B indicate counters, respectively.

【0029】図4は印字パルスIIを生成する部分であ
る。レジスタ61とレジスタ71は単発印字の場合にお
ける印字パルスIIの立上がり時間と立下がり時間を規
定するものであり、レジスタ62とレジスタ72は連続
印字最初の場合における印字パルスIIの立上がり時間
と立下がり時間を規定するものであり、レジスタ63と
レジスタ73は連続印字途中の場合における印字パルス
IIの立上がり時間と立下がり時間を規定するものであ
り、レジスタ64とレジスタ74は連続印字途中の場合
における印字パルスIIの立上がり時間と立下がり時間
を規定するものである。
FIG . 4 shows a portion for generating the print pulse II. Registers 61 and 71 specify the rise time and fall time of the print pulse II in the case of one-shot printing, and the registers 62 and 72 define the rise time and fall time of the print pulse II in the first case of continuous printing. The register 63 and the register 73 define the rise time and the fall time of the print pulse II in the middle of the continuous printing, and the register 64 and the register 74 define the print pulse in the middle of the continuous print. II defines the rise time and fall time.

【0030】図4のA側の回路部分とB側の回路部分の
構成および動作は同じであるので、A側の回路部分につ
いてのみ説明する。カウンタAトリガ信号が生成される
と、JKフリップ・フロップ85Aがセットされ、カウ
ンタ86Aが時間計数を開始する。カウンタ86Aの値
とレジスタ61の値が等しくなると、比較器66Aが
“1”を出力し、JKフリップ・フロップ81Aがセッ
トされ、条件1用パルスAが立ち上がる。カウンタ86
Aの値とレジスタ71の値が等しくなると、比較器76
Aが“1”を出力し、JKフリップ・フロップ81Aが
リセットされ、条件1用パルスAが立ち下がる。比較器
76Aが“1”を出力すると、JKフリップ・フロップ
85Aがリセットされ、カウンタ86Aはクリアされ
る。なお、レジスタ61〜64,71〜74の中で、レ
ジスタ71の値が最も大きい。
Since the configuration and operation of the A-side circuit portion and the B-side circuit portion in FIG . 4 are the same, only the A-side circuit portion will be described. When the counter A trigger signal is generated, the JK flip-flop 85A is set, and the counter 86A starts counting time . When the value of the counter 86A becomes equal to the value of the register 61, the comparator 66A outputs "1", the JK flip-flop 81A is set, and the pulse A for condition 1 rises. Counter 86
When the value of A becomes equal to the value of the register 71, the comparator 76
A outputs "1", the JK flip-flop 81A is reset, and the pulse A for condition 1 falls. When the comparator 76A outputs "1", the JK flip-flop 85A is reset and the counter 86A is cleared. The value of the register 71 is the largest among the registers 61 to 64 and 71 to 74.

【0031】カウンタ86Aの計数値とレジスタ62の
値が等しくなると、比較器67Aが“1”を出力し、J
Kフリップ・フロップ82Aがセットされ、条件2用パ
ルスAが立ち上がる。カウンタ86Aの値とレジスタ7
2の値が等しくなると、比較器77Aが“1”を出力
し、JKフリップ・フロップ82Aがリセットされ、条
件2用パルスAが立ち下がる。条件3用パルスA,条件
4用パルスAも同じようにして生成される。
When the count value of the counter 86A becomes equal to the value of the register 62, the comparator 67A outputs "1",
The K flip-flop 82A is set, and the pulse A for condition 2 rises. The value of the counter 86A and the register 7
When the values of 2 are equal, the comparator 77A outputs "1", the JK flip-flop 82A is reset, and the pulse A for condition 2 falls. The pulse A for condition 3 and the pulse A for condition 4 are generated in the same manner.

【0032】図5は本発明のパルス発生部の信号タイミ
ングを示す図である。切換クロックは、印字トリガ・パ
ルスより遅延回路40の遅延量及びレジスタ42の値で
定められる分だけ遅れて生成される。タイマ・セレクト
信号は、奇数番目の切換クロック(最初を1番目とす
る)と同期して立ち上がり、偶数番目の切換クロック
同期して立ち下がる。カウンタAトリガは奇数番目の
換クロックと同期して生成され、カウンタBトリガは偶
数番目の切換クロックと同期して生成される。
FIG. 5 is a diagram showing the signal timing of the pulse generator of the present invention. The switching clock is generated behind the print trigger pulse by an amount determined by the delay amount of the delay circuit 40 and the value of the register 42. The timer select signal rises in synchronization with the odd-numbered switching clock (the first being the first) and falls in synchronization with the even-numbered switching clock . Counter A trigger is odd-numbered off
The counter B trigger is generated in synchronization with the switching clock, and the counter B trigger is generated in synchronization with the even-numbered switching clock .

【0033】条件1用パルスAはカウンタAトリガが生
成されてからレジスタ61の値で定まる時間後に立ち上
がり、レジスタ71の値で定まる時間後に立ち下がる。
条件2用パルスAはカウンタAトリガが生成されてから
レジスタ62の値で定まる時間後に立ち上がり、レジス
タ72の値で定まる時間後に立ち下がる。条件3用パル
スAはカウンタAトリガが生成されてからレジスタ63
の値で定まる時間後に立ち上がり、レジスタ73の値で
定まる時間後に立ち下がる。条件4用パルスAはカウン
タAトリガが生成されてからレジスタ64の値で定まる
時間後に立ち上がり、レジスタ74の値で定まる時間後
に立ち下がる。
The pulse A for condition 1 rises after a time determined by the value of the register 61 after the counter A trigger is generated, and falls after a time determined by the value of the register 71.
The pulse A for condition 2 rises after a time determined by the value of the register 62 from the generation of the counter A trigger, and falls after a time determined by the value of the register 72. The pulse A for condition 3 is stored in the register 63 after the counter A trigger is generated.
Rises after the time determined by the value of the register 73, and falls after the time determined by the value of the register 73. The pulse A for condition 4 rises after a time determined by the value of the register 64 from the generation of the counter A trigger, and falls after a time determined by the value of the register 74.

【0034】条件1用パルスBはカウンタBトリガが生
成されてからレジスタ61の値で定まる時間後に立ち上
がり、レジスタ71の値で定まる時間後に立ち下がる。
条件2用パルスBはカウンタBトリガが生成されてから
レジスタ62の値で定まる時間後に立ち上がり、レジス
タ72の値で定まる時間後に立ち下がる。条件3用パル
スBはカウンタBトリガが生成されてからレジスタ63
の値で定まる時間後に立ち上がり、レジスタ73の値で
定まる時間後に立ち下がる。条件4用パルスBはカウン
タBトリガが生成されてからレジスタ64の値で定まる
時間後に立ち上がり、レジスタ74の値で定まる時間後
に立ち下がる。
The pulse B for condition 1 rises after a time determined by the value of the register 61 since the counter B trigger is generated, and falls after a time determined by the value of the register 71.
The pulse B for condition 2 rises after a time determined by the value of the register 62 since the counter B trigger is generated, and falls after a time determined by the value of the register 72. The pulse B for condition 3 is stored in the register 63 after the counter B trigger is generated.
Rises after the time determined by the value of the register 73, and falls after the time determined by the value of the register 73. The pulse B for condition 4 rises after a time determined by the value of the register 64 after the counter B trigger is generated, and falls after a time determined by the value of the register 74.

【0035】印字パルスI(単発)は、印字トリガから
遅延回路40の遅延量及びレジスタ43で定まる時間後
に立ち上がり、切換クロックと同期して立ち下がる。印
字パルスI(連続)は、印字トリガから遅延回路40の
遅延量及びレジスタ44で定まる時間後に立ち上がり
切換クロックと同期して立ち下がる。
The print pulse I (single shot) rises after a time determined by the delay amount of the delay circuit 40 and the register 43 from the print trigger, and falls in synchronization with the switching clock . The print pulse I (continuous) rises after a time determined by the delay amount of the delay circuit 40 and the register 44 from the print trigger ,
It falls in synchronization with the switching clock .

【0036】図6は本発明の各ピンの印字パルス出力部
の構成例を示す図である。同図において、89は印字デ
ータ・バッファ、90はフリップ・フロップ、91ない
し94はゲート、96ないし99はセレクタ、101な
いし104はANDゲート、105はORゲート、10
6はNANDゲート、107はJKフリップ・フロッ
プ、108と109はゲート、110はORゲート、1
11は1ピン当たりの印字パルス出力部をそれぞれ示し
ている。
FIG . 6 is a diagram showing a configuration example of a print pulse output unit for each pin according to the present invention. In the figure, 89 is a print data buffer, 90 is a flip-flop, 91 to 94 are gates, 96 to 99 are selectors, 101 to 104 are AND gates, 105 is an OR gate,
6 is a NAND gate, 107 is a JK flip-flop, 108 and 109 are gates, 110 is an OR gate, 1
Reference numeral 11 denotes a print pulse output unit per pin.

【0037】印字データ・バッファ89は、シフトレジ
スタである。図示の印字パルス出力部が第i番目の印字
ピンに対応するものと仮定すると、印字データ・バッフ
ァ89には、第i番目の印字ピンに対する印字データが
順番に入力される。印字データ・バッファ89からの出
力信号S1は前データがあるか否かを示し、出力信号S
2は現データがあるか否かを示し、出力信号S3は次デ
ータがあるか否かを示す。信号S1,S2,S3はフリ
ップ・フロップ90に保持される。NANDゲート10
6は、出力信号S2がオンの状態の下で切換クロック
入力されると、パルスを出力する。このパルスが出力さ
れると、フリップ・フロップ90は、出力信号S1,S
2,S3を取り込む。
The print data buffer 89 is a shift register. Assuming that the illustrated print pulse output unit corresponds to the i-th print pin, print data for the i-th print pin is sequentially input to the print data buffer 89. The output signal S1 from the print data buffer 89 indicates whether or not there is previous data.
2 indicates whether there is current data, and the output signal S3 indicates whether there is next data. The signals S1, S2, S3 are held in the flip-flop 90. NAND gate 10
6 outputs a pulse when the switching clock is input while the output signal S2 is on. When this pulse is output, the flip-flop 90 outputs the output signals S1, S
2. Take in S3.

【0038】ゲート91は条件1が成立しているときに
“1”を出力し、ゲート92は条件2が成立していると
きに“1”を出力し、ゲート93は条件3が成立してい
るときに“1”を出力し、ゲート94は条件4が成立し
ているときに“1”を出力する。条件1は現ドットが単
発ドットであることであり、条件2は現ドットが連続ド
ットの最初であることであり、条件3は現ドットが連続
ドットの途中であることであり、条件4は現ドットが連
続ドットの最終であることである。
The gate 91 outputs "1" when the condition 1 is satisfied, the gate 92 outputs "1" when the condition 2 is satisfied, and the gate 93 outputs "1" when the condition 3 is satisfied. When the condition 4 is satisfied, the gate 94 outputs "1". Condition 1 is that the current dot is a single dot, condition 2 is that the current dot is the first of the continuous dots, condition 3 is that the current dot is in the middle of the continuous dots, and condition 4 is that the current dot is in the middle of the continuous dots. That is, the dot is the last of the continuous dots.

【0039】フリップ・フロップ107は、状態ラッチ
用CKが生成されると、パルス・セレクト信号(タイマ
・セレクト信号と同義)を取り込む。フリップ・フロッ
プ107の出力がセレクト信号になる。セレクタ96
は、セレクト信号が“1”の場合には条件1用パルスA
を選択し、セレクト信号が“0”の場合には条件1用パ
ルスBを選択する。その他のセレクタ97ないし98
は、セレクタ96と同様な動作を行う。
When the state latch CK is generated, the flip-flop 107 fetches a pulse select signal (synonymous with the timer select signal). The output of the flip-flop 107 becomes the select signal. Selector 96
Is the condition 1 pulse A when the select signal is "1".
Is selected, and if the select signal is "0", the pulse B for condition 1 is selected. Other selectors 97 to 98
Performs the same operation as the selector 96.

【0040】ANDゲート101はセレクタ96とゲー
ト91が両方とも“1”を出力しているときに“1”を
出力する。ANDゲート102,103,104も同様
な動作を行う。AND回路101ないし104の出力は
OR回路105に入力される。OR回路105の出力が
オンタイム信号IIとなる。
The AND gate 101 outputs "1" when both the selector 96 and the gate 91 output "1". AND gates 102, 103, and 104 perform the same operation. Outputs of the AND circuits 101 to 104 are input to the OR circuit 105. The output of the OR circuit 105
This becomes the on-time signal II .

【0041】ゲート108は、データなし且つデー
タありを条件として、印字パルスI(単発)を出力す
る。ゲート109は、データあり且つデータありを
条件として、印字パルスI(連続)を出力する。ゲート
108,109の出力はORゲート110に入力され、
ORゲート110の出力がオンタイム信号Iになる。
The gate 108 outputs a print pulse I (single shot) on condition that there is no current data and there is next data. The gate 109 outputs the print pulse I (continuous) on condition that the current data is present and the next data is present . The outputs of the gates 108 and 109 are input to an OR gate 110,
The output of the OR gate 110 becomes the on-time signal I.

【0042】図7は本発明の印字パルス出力部の信号タ
イミングを示す図である。同図における最上段の行にお
ける×はドット印字無データを示し、○はドット印字有
データを示す。○の上部の数字は、ドット印字有データ
の通番を示す。切換クロックは、印字トリガよりも遅延
回路40及びレジスタ42で定められる時間だけ遅延し
ている。
FIG . 7 is a diagram showing the signal timing of the print pulse output unit of the present invention. In the uppermost row in the figure, X indicates dot non-printing data, and O indicates dot printing data. The numbers above the circles indicate the serial numbers of the data with dot printing. The switching clock is delayed by a time determined by the delay circuit 40 and the register 42 from the print trigger.

【0043】シフトレジスタ形の印字データ・バッファ
を構成するフリップ・フロップは切換クロックの前縁
立ち上がり)で入力データを取り込む。JKフリップ
・フロップ107は、状態ラッチ用クロックの後縁(立
ち上がり)で、タイマ・セレクト信号を取り込む。フリ
ップ・フロップ90も、状態ラッチ用クロックの後縁
立ち上がり)で、印字データ・バッファ89の状態を
取り込む。
Shift register type print data buffer
The flip-flop that constitutes (1 ) captures input data at the leading edge ( rising) of the switching clock . JK flip
-The flop 107 is connected to the trailing edge
At the rising edge, the timer select signal is captured. free
The top flop 90 is also the trailing edge of the status latch clock.
( Rising), the state of the print data buffer 89 is changed.
take in.

【0044】最上段の行に示すようなドット列が印字デ
ータ・バッファ89に入力されると、印字データ・バッ
ファ89から出力される信号S1,S2,S3(前デー
タ,現データ,次データにそれぞれ対応)は図示のよう
に変化する。信号S2と切換クロックのNANDを取る
と、その結果が状態ラッチ用CKとなる。状態ラッチ用
CKが生成されると、タイマ・セレクト信号がフリップ
・フロップ107に取り込まれる。フリップ・フロップ
107の出力がセレクト信号となる。条件1は、次デー
タなし,現データあり,前データなしを条件にしてHレ
ベル(論理1)になる。条件2は、次データあり,現デ
ータあり,前データなしを条件にしてHレベルになる。
条件3は、次データあり,現データあり,前データあり
を条件にしてHレベルになる。条件4は、次データな
し,現データあり,前データありを条件にしてHレベル
になる。
When a dot row as shown in the uppermost row is input to the print data buffer 89, the signals S1, S2, S3 output from the print data buffer 89 (previous data, current data, next data ) Change as shown. When the NAND of the signal S2 and the switching clock is taken, the result is the state latch CK. When the state latch CK is generated, the timer select signal is taken into the flip-flop 107. The output of the flip-flop 107 becomes the select signal. The condition 1 becomes H level (logic 1) on condition that there is no next data, there is current data, and there is no previous data. Condition 2 becomes H level on condition that there is next data, present data, and no previous data.
Condition 3 becomes H level on condition that there is next data, present data, and previous data. Condition 4 becomes H level on condition that there is no next data, there is current data, and there is previous data.

【0045】第1番目のオンタイム信号I(数字1が付
加されたオンタイム信号I)は、2番目の印字トリガ
(左端の印字トリガは第1番目)に基づいて生成され
る。第1番目のオンタイム信号IIは、第2番目の切換
クロックを基準とする時間がレジスタ61の値と等しく
なった時に生成される。第2番目のオンタイム信号I
(数字2が付加されたオンタイム信号I)は、4番目の
印字トリガに基づいて生成される。第2番目のオンタイ
ム信号IIは、第4番目の切換クロックを基準とする時
間がレジスタ62の値と等しくなった時に生成される。
The firstOn-time signal I(With number 1
AddedOn-time signal I) Is the second print trigger
(The leftmost print trigger is the first)
You. The first on-time signal II isSwitching
clockIs equal to the value of register 61
Generated when The secondOn-time signal I
(The number 2 has been addedOn-time signalI) is the fourth
Generated based on a print trigger. The secondOn tie
SignalII is the fourthSwitching clockWhen relative to
It is generated when the interval becomes equal to the value of the register 62.

【0046】第3番目のオンタイム信号I(数字3が付
加されたオンタイム信号I)は、5番目の印字トリガに
基づいて生成される。第3番目のオンタイム信号II
は、第5番目の切換クロックを基準とする時間がレジス
タ63の値と等しくなった時に生成される。第4番目の
オンタイム信号I(数字4が付加されたオンタイム信号
)は、6番目の印字トリガに基づいて生成される。第
4番目のオンタイム信号IIは、第6番目の切換クロッ
を基準とする時間がレジスタ64の値と等しくなった
時に生成される。
The thirdOn-time signal I(With the number 3
AddedOn-time signal I) Is the fifth print trigger
Generated based on The thirdOn-time signal II
Is the fifthSwitching clockRegis based on time
It is generated when it becomes equal to the value of the data 63. The fourth
On-time signal I(Number 4 addedOn-time signal
I) Is generated based on the sixth print trigger. No.
FourthOn-time signal IIIs the sixthSwitching clock
KHas become equal to the value of register 64
Sometimes generated.

【0047】第5番目のオンタイム信号I(数字5が付
加されたオンタイム信号I)は、8番目の印字トリガに
基づいて生成される。第5番目のオンタイム信号II
は、第8番目の切換クロックを基準とする時間がレジス
タ61の値と等しくなった時に生成される。
FifthOn-time signal I(With the number 5
AddedOn-time signal I) Is the eighth print trigger
Generated based on FifthOn-time signal II
Is the eighthSwitching clockRegis based on time
It is generated when it becomes equal to the value of the data 61.

【0048】[0048]

【発明の効果】以上の説明から明らかなように、本発明
によれば、2つの計時機構がそれぞれ印字周期の2倍ま
で計数可能であるため、印字条件の差異により、タイミ
ングが印字周期以上異なっても対応可能である。したが
って、例えば24ピン4列千鳥ヘッドの場合、24個の
計時機構を4個(2個×2)に削減することが可能にな
り、回路規模の縮小が図れるため、ゲート・アレイのサ
イズを数ランク下げる等のコスト・ダウンが可能とな
る。
As is apparent from the above description, according to the present invention, the two timing mechanisms can each count up to twice the printing cycle, so that the timings differ by more than the printing cycle due to differences in printing conditions. It is possible to respond. Therefore, for example, in the case of a 24-pin 4-row staggered head, 24
The number of timekeeping mechanisms can be reduced to four (2 × 2) and the circuit scale can be reduced, so that the cost can be reduced by reducing the size of the gate array by several ranks.

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

【図1】本発明の原理説明図(その1)である。 FIG. 1 is a diagram (part 1) illustrating the principle of the present invention.

【図2】本発明の原理説明図(その2)である。 FIG. 2 is a diagram (part 2) illustrating the principle of the present invention.

【図3】本発明のパルス発生部の構成例を示す図であ
る。
FIG. 3 is a diagram illustrating a configuration example of a pulse generator according to the present invention;
You.

【図4】本発明のパルス発生部の構成例(続き)を示す
図である。
FIG. 4 shows a configuration example (continued) of the pulse generator of the present invention .
FIG.

【図5】本発明のパルス発生部の信号タイミングを示す
図である。
FIG. 5 shows the signal timing of the pulse generator of the present invention .
FIG.

【図6】本発明の各ピンの印字パルス出力部の構成例を
示す図である。
FIG. 6 shows a configuration example of a print pulse output unit of each pin according to the present invention .
FIG.

【図7】本発明の印字パルス出力部の信号タイミングを
示す図である。
FIG. 7 shows the signal timing of the print pulse output unit of the present invention .
FIG.

【図8】プリンタ全体の制御ブロックを示す図である。 FIG. 8 is a diagram showing control blocks of the entire printer.

【図9】圧電プリンタにおける各種信号を示す図であ
る。
FIG. 9 is a diagram showing various signals in the piezoelectric printer.
You.

【図10】圧電ヘッドを説明する図である。 FIG. 10 is a diagram illustrating a piezoelectric head.

【図11】FIG. 11 従来回路構成例を示す図である。FIG. 11 is a diagram illustrating a conventional circuit configuration example.

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

61ないし64 レジスタ 66Aないし69A 比較器 66Bないし69B 比較器 71ないし74 レジスタ 76Aないし79A 比較器 76Bないし79B 比較器 81Aないし84A JKフリップ・フロップ 81Bないし84B JKフリップ・フロップ 85Aと85B JKフリップ・フロップ 86Aと86B カウンタ 91ないし94 ゲート 96ないし99 セレクタ 101ないし104 ANDゲート 106 ゲート 107 フリップ・フロップ 108ないし110 ゲート 111 1ピン当たりの印字パルス出力
61-64 registers 66A-69A comparators 66B-69B comparators 71-74 registers 76A-79A comparators 76B-79B comparators 81A-84A JK flip-flops 81B-84B JK flip-flops 85A and 85B JK flip-flops 86A And 86B counter 91 to 94 gate 96 to 99 selector 101 to 104 AND gate 106 gate 107 flip flop 108 to 110 gate 111 print pulse output unit per pin

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) B41J 2/51 B41J 2/30 G06F 3/12──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 6 , DB name) B41J 2/51 B41J 2/30 G06F 3/12

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数個の印字ピンを有する印字ヘッド
と、 印字ピンを駆動させる際に、オンタイム信号Iとオンタ
イム信号IIを出力する印字ヘッド制御部と、 オンタイム信号Iが出力された時には、印字ピン駆動信
号を立ち上げ、オンタイム信号IIが出力された時に
は、印字ピン駆動信号を立ち下げる印字ヘッド・ドライ
バとを具備するプリンタ装置における印字ヘッド制御方
式であって、 印字ヘッド制御部は、パルス発生部と、各印字ピン毎の
印字パルス出力部とを有し、 パルス発生部は、印字トリガ・クロックから定められた時間だけ遅れた切
換クロックを生成する切換クロック生成手段と、 後縁が切換クロックと一致するオンタイム信号I用の印
字パルスを生成する第1の印字パルス生成手段と、 起動信号を受け取ると時間計数を開始し、時間計数値が
予め定められた値になったときにクリア状態になるA側
の計時機構と、 起動信号を受け取ると時間計数を開始し、時間計数値が
予め定められた値になったときにクリア状態になるB側
の計時機構と、 切換クロックが生成される度にタイマ・セレクト信号の
論理値を切り換え、奇 数番目の切換クロックに同期して
A側の計時機構に対する起動信号を生成し、偶数番目の
切換クロックに同期してB側の計時機構に対する起動信
号を生成する切換回路と、 4個のA側の出力端子と4個のB側の出力端子とを有
し、A側の計時機構の値がNi(iは1,…,4)にな
った時にはA側の第i番目の出力端子にオンタイム信号
II用の印字パルスを出力し、B側の計時機構の値がN
i(iは1,…,4)になった時にはB側の第i番目の
出力端子にオンタイム信号II用の印字パルスを出力す
る第2の印字パルス生成手段と を具備し、 各印字ピン毎の印字パルス出力部は、送られて来たビット列を切換クロックの前縁に同期して
1ビットずつ取り込むシフトレジスタ形の印字データ・
バッファと、 印字データ・バッファの状態が予め定められた状態であ
ることを条件として、第1の印字パルス生成手段によっ
て生成された印字パルスをオンタイム信号Iとして出力
する第1の印字パルス出力手段と、 シフトレジスタ形の印字データ・バッファの所定段の出
力が所定の論理値を示している状態の下で切換クロック
が生成された時に、状態ラッチ用クロックを生成する状
態ラッチ用クロック生成手段と、 状態ラッチ用クロックが生成された時に状態ラッチ用ク
ロックの後縁で タイマ・セレクト信号を取り込むセレク
ト信号記憶手段と、状態ラッチ用クロックが生成された時に状態ラッチ用ク
ロックの後縁で印字データ・バッファの状態を取り込ん
で記憶する印字情報記憶手段と、 セレクト信号記憶手段から出力されるセレクト信号が一
方の論理値のときには第2の印字パルス生成手段のA側
の4個の出力端子から出力される印字パルス・グループ
を選択し、セレクト信号が他方の論理値のときには第2
の印字パルス生成手段のB側の4個の出力端子から出力
される印字パルス・グループを選択するグループ選択手
段と、 グループ選択手段によって選択された印字パルス・グル
ープの中から、印字情報記憶手段の状態によって定まる
印字条件に基づいて1個の印字パルスを選択し、選択さ
れた印字パルスをオンタイム信号IIとして出力する
2の印字パルス出力手段とを具備することを特徴とする
印字ヘッド制御方式。
A print head having a plurality of print pins; a print head controller for outputting an on-time signal I and an on-time signal II when the print pins are driven; A print head control method in a printer device including a print head driver that raises a print pin drive signal and lowers the print pin drive signal when the on-time signal II is output. Has a pulse generation section and a print pulse output section for each print pin, and the pulse generation section has a pulse generator which is delayed by a predetermined time from the print trigger clock.
Switching clock generating means for generating a switching clock, and a mark for the on-time signal I whose trailing edge coincides with the switching clock.
A first print pulse generating means for generating a character pulse, and a time count is started upon receiving an activation signal, and the time count value is
A side that is cleared when it reaches a predetermined value
When the start signal is received, the time counting starts, and the time counting value is
B side that is cleared when it reaches a predetermined value
And a timer select signal each time the switching clock is generated.
Switching the logical value in synchronization with the number-th switching clock odd
Generates a start signal for the clocking mechanism on the A side,
Start signal to the clocking mechanism on B side in synchronization with the switching clock
Switch circuit for generating a signal, and four A-side output terminals and four B-side output terminals.
Then, the value of the timer on the A side becomes Ni (i is 1,..., 4).
The on-time signal to the i-th output terminal on the A side
The print pulse for II is output, and the value of the timer on the B side is N
i (i is 1,..., 4) when the i-th
Output print pulse for on-time signal II to output terminal
That the second; and a print pulse generating means, the printing pulse output unit of each printing pin, the bit string that has arrived in synchronization with the leading edge of the switching clock
Shift register type print data that captures one bit at a time
The buffer and the print data buffer are in a predetermined state.
Provided that the first print pulse generating means
Print pulse generated as on-time signal I
A first print pulse output means, and a shift register type print data buffer output from a predetermined stage.
Switching clock under conditions where the power is showing a predetermined logical value
To generate a status latch clock when
A state latch clock generating means, and a state latch clock when the state latch clock is generated.
Select signal storage means for taking in the timer select signal at the trailing edge of the lock; and a state latch clock when a state latch clock is generated.
Capture the status of the print data buffer at the trailing edge of the lock
A print information storage means for storing in, when the select signal output from the select signal storage means of one of the logical values A side of the second printing pulse generator
The print pulse group output from the four output terminals is selected. When the select signal has the other logical value, the second
Output from the four output terminals on the B side of the print pulse generator
Group selecting means for selecting a printing pulse group to be selected, and one printing based on printing conditions determined by the state of the printing information storage means from among the printing pulse groups selected by the group selecting means. Pulse, and outputs the selected print pulse as the on-time signal II .
2. A print head control system, comprising:
JP29051291A 1991-10-09 1991-10-09 Print head control method Expired - Fee Related JP2796763B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29051291A JP2796763B2 (en) 1991-10-09 1991-10-09 Print head control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29051291A JP2796763B2 (en) 1991-10-09 1991-10-09 Print head control method

Publications (2)

Publication Number Publication Date
JPH0596791A JPH0596791A (en) 1993-04-20
JP2796763B2 true JP2796763B2 (en) 1998-09-10

Family

ID=17756983

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29051291A Expired - Fee Related JP2796763B2 (en) 1991-10-09 1991-10-09 Print head control method

Country Status (1)

Country Link
JP (1) JP2796763B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11245451A (en) 1998-02-27 1999-09-14 Nec Yonezawa Ltd Print head controller for dot impact printer

Also Published As

Publication number Publication date
JPH0596791A (en) 1993-04-20

Similar Documents

Publication Publication Date Title
JPS6254676B2 (en)
EP0061314B1 (en) Heat-sensitive recording device
JP2796763B2 (en) Print head control method
US4248147A (en) Control system for dot matrix line printer using one print element per character
EP0173952B1 (en) Impact dot matrix printer
US3208050A (en) Data system with aperiodic synchronization
US3845710A (en) Print control logic circuitry for on-the-fly printers
JPS6133711B2 (en)
US3834304A (en) Helical bar printer and hammer therefor
US4405922A (en) Failure detection circuit for impact printers or the like
JPH10181017A (en) Recording apparatus and control method therefor
EP0441188A2 (en) Dot-matrix printer
JPS58145463A (en) Printing controller
JP3097711B2 (en) Impact dot printer
JPS62279964A (en) Thermal head controlling method
JPS6220035B2 (en)
WO1989009132A1 (en) Digital printhead energy control system
JPH0533076Y2 (en)
JPS5832933Y2 (en) Half dot print control device
JPS6158748A (en) Dot printer
JP2932606B2 (en) Printing device
JPS60201958A (en) Data forwarding circuit for thermal head
JP2944340B2 (en) Control device for dot impact printer
JPH01304967A (en) Bar code printing system
JPS6114969A (en) Dot printer

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees