JPH04314560A - Driving circuit of printer - Google Patents

Driving circuit of printer

Info

Publication number
JPH04314560A
JPH04314560A JP3108189A JP10818991A JPH04314560A JP H04314560 A JPH04314560 A JP H04314560A JP 3108189 A JP3108189 A JP 3108189A JP 10818991 A JP10818991 A JP 10818991A JP H04314560 A JPH04314560 A JP H04314560A
Authority
JP
Japan
Prior art keywords
output
data
circuit
cpu
port
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.)
Granted
Application number
JP3108189A
Other languages
Japanese (ja)
Other versions
JP2958152B2 (en
Inventor
Shigeyuki Miyazaki
重幸 宮崎
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.)
Chino Corp
Original Assignee
Chino Corp
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 Chino Corp filed Critical Chino Corp
Priority to JP3108189A priority Critical patent/JP2958152B2/en
Publication of JPH04314560A publication Critical patent/JPH04314560A/en
Application granted granted Critical
Publication of JP2958152B2 publication Critical patent/JP2958152B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Impression-Transfer Materials And Handling Thereof (AREA)

Abstract

PURPOSE:To control the printing timing of a printing part, easily confirm the operating condition of a protective circuit for monitoring ribbon feed control and lighten processing loads on CPU including software. CONSTITUTION:Data DETA and triger Tr are produced by CPU 2 and the data is sent through an output control buffer 3 into an impact driving part 4 in order for a predetermined printing function to be performed. The triger Tr of the CPU 2 is sent through a protective circuit 5 retained by CR time constant into the output control buffer 3 and a motor controller 7. Since the motor controller 7 controls ribbon feed synchronously with the impact driving part 4 based on an output Q from the protective circuit 5, the operating condition of the protective circuit 5 can be confirmed by the ribbon feeding condition.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、プリンタの印字を制御
するプリンタの駆動回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer drive circuit for controlling printing by a printer.

【0002】0002

【従来の技術】図3は、従来のプリンタ駆動回路を示す
ブロック図である。プリンタには図示の駆動回路30が
設けられ、この駆動回路30により印字部の駆動制御が
なされる。そして、プリンタがワイヤドットタイプであ
る場合における印字部の制御内容は、ドットインパクト
のタイミング制御及びリボン送り制御である。
2. Description of the Related Art FIG. 3 is a block diagram showing a conventional printer driving circuit. The printer is provided with the illustrated drive circuit 30, and the drive circuit 30 controls the drive of the printing section. When the printer is a wire dot type printer, the control contents of the printing section are dot impact timing control and ribbon feeding control.

【0003】CPU32のポートA出力(DATA出力
)は、出力制御バッファ33を介して各ワイヤドット毎
に設けられたインパクト駆動部34に対しドットに対応
するデータdataを出力する。この出力制御バッファ
33には、ポートBを介して前記データの出力タイミン
グを規定するタイミング回路35が設けられている。 このタイミング回路35は、マルチバイブレータで構成
され、ポートA出力と同一タイミングで出力されるポー
トBのトリガで起動し、CR定数により所定時間(イン
パクト時間程度に相当)後に出力制御バッファ33の制
御端子に動作停止出力を与えることによりdataのO
N/OFFの出力タイミングを得るものである。これに
より、出力制御バッファ33は、極短時間に高電流をイ
ンパクト駆動部34に流し、インパクト駆動部34は記
録紙上に打点記録を行うようになっている。
The port A output (DATA output) of the CPU 32 outputs data corresponding to the dot via the output control buffer 33 to the impact driving section 34 provided for each wire dot. This output control buffer 33 is provided with a timing circuit 35 that defines the output timing of the data via port B. This timing circuit 35 is composed of a multivibrator, and is activated by a trigger from port B that is output at the same timing as the output from port A, and after a predetermined time (corresponding to approximately the impact time) according to a CR constant, the control terminal of the output control buffer 33 is activated. By giving an operation stop output to
This is to obtain the N/OFF output timing. As a result, the output control buffer 33 causes a high current to flow to the impact drive section 34 in an extremely short period of time, and the impact drive section 34 records dots on the recording paper.

【0004】また、CPU32のポートC出力によりモ
ータコントローラ37を介し、モータドライバ38の動
作タイミングが制御され、リボン送りが制御される。
[0004] Furthermore, the operation timing of the motor driver 38 is controlled by the port C output of the CPU 32 via the motor controller 37, and ribbon feeding is controlled.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
タイミング回路35が何らかの要因で誤動作すると、イ
ンパクト駆動部34に電流が流れたままの状態になるり
コイルの焼損を招いた。そして、タイミング回路35を
構成するマルチバイブレータの動作チェックを行う場合
には、波形観測を行わねばならない等、特別な作業を必
要とした。また、出力時間の制御がポートAと、ポート
Bの別ポートから出力される構成であるため、ポートA
出力が出力されたまま、ポートBが出力されてタイミン
グ回路35の出力がOFFしないと、同様な不具合が発
生する危険性がある。
However, if the conventional timing circuit 35 malfunctions for some reason, current continues to flow through the impact drive section 34, resulting in burnout of the coil. Further, when checking the operation of the multivibrator constituting the timing circuit 35, special work is required, such as waveform observation. In addition, since the output time is controlled from port A and port B, which are separate ports, port A
If port B remains output and the output of the timing circuit 35 is not turned off, there is a risk that a similar problem will occur.

【0006】また、リボン送りの制御については、前記
ポートA出力によるドットインパクトのタイミングに対
してリボン送りが同期した制御が組まれるため、前記C
PUのポートC出力に依存した制御が主であり、ソフト
ウェア量が増加した。
[0006] Regarding the control of ribbon feeding, since the ribbon feeding is controlled in synchronization with the timing of dot impact by the port A output,
Control is mainly dependent on the PU port C output, and the amount of software has increased.

【0007】また、他の従来例としては、ポートA出力
でドットインパクトのON時間を規定したデータを送出
し、同時に出力されるポートB出力を受けてマルチバイ
ブレータで構成される保護回路(前記タイミング回路3
5と同一構成であり、CR定数が異なるもの)で監視し
、この保護回路により前記ON時間経過後に強制的にデ
ータ送出をOFFする構成のものがあるが、この保護回
路35がポートAと別系統のポートB出力を基に設けら
れたものであること、さらに、ポートA出力が正常時に
は作用せず、異常時のみ保護する目的である為、保護回
路動作の確認を容易に行うことができなかった。
[0007] As another conventional example, data specifying the ON time of the dot impact is sent from the port A output, and in response to the simultaneously output port B output, a protection circuit (the above-mentioned timing circuit 3
5, but with a different CR constant), and this protection circuit forcibly turns off data transmission after the ON time elapses, but this protection circuit 35 is separate from port A. The protection circuit operation can be easily checked because it is established based on the port B output of the system, and because the port A output does not work during normal conditions and is only intended to protect when an abnormality occurs. There wasn't.

【0008】本発明は、上記課題を解決するために成さ
れたものであって、印字部の制御であるドットインパク
トのタイミング制御及びリボン送り制御を監視する保護
回路の動作状態を容易に確認することができるとともに
、ソフトウェアを含めたCPU側の負担を軽減すること
ができるプリンタの保護回路を提供することを目的とし
ている。
The present invention has been made in order to solve the above-mentioned problems, and it is possible to easily check the operating state of a protection circuit that monitors dot impact timing control and ribbon feed control, which are controls of a printing unit. It is an object of the present invention to provide a protection circuit for a printer that can reduce the burden on the CPU side including software.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
、本発明のプリンタの保護回路は、各ドットに対応する
データDATA、及び該データDATAの出力に同期し
たトリガTrを出力するCPU2と、該データDATA
に基づいて記録紙上への印字を行う記録子を有するイン
パクト駆動部4と、該CPU、及びインパクト駆動部間
のデータDATAライン上に設けられ、前記トリガTr
に基づき、データDATAの出力を制御する出力制御バ
ッファ3と、を具備するプリンタの駆動回路において、
前記トリガTrの出力を受けて所定時間の時定数CRで
これを保持し前記出力制御バッファ3に信号Qを出力す
る保護回路5と、該保護回路5の出力Qが入力され、前
記時定数CRに同期してリボン送出を行うモータコント
ローラ7と、を具備することを特徴としている。
[Means for Solving the Problems] In order to achieve the above object, the printer protection circuit of the present invention includes a CPU 2 that outputs data DATA corresponding to each dot and a trigger Tr synchronized with the output of the data DATA; The data DATA
The trigger Tr
In a printer drive circuit comprising an output control buffer 3 that controls the output of data DATA based on
A protection circuit 5 receives the output of the trigger Tr, holds it with a time constant CR of a predetermined time, and outputs a signal Q to the output control buffer 3; The present invention is characterized in that it is equipped with a motor controller 7 that feeds out the ribbon in synchronization with the present invention.

【0010】0010

【作用】CPU2で生成されるデータDATAは、同C
PU2のトリガTrを受ける出力制御バッファ3の制御
により所定のタイミングでインパクト駆動部4に出力さ
れる。出力制御バッファ3は、トリガTrの期間保持す
る保護回路5の出力に基づきデータDATAを出力する
。保護回路5の出力Qは、モータコントローラ7に入力
され、このモータコントローラ7は、インパクト駆動部
4と同期したタイミングによりリボン送りを制御する。
[Operation] The data DATA generated by CPU2 is
The signal is outputted to the impact drive section 4 at a predetermined timing under the control of the output control buffer 3 which receives the trigger Tr of the PU2. The output control buffer 3 outputs data DATA based on the output of the protection circuit 5 which is held for the period of the trigger Tr. The output Q of the protection circuit 5 is input to the motor controller 7, and the motor controller 7 controls ribbon feeding at a timing synchronized with the impact drive unit 4.

【0011】[0011]

【実施例】図1は、本発明によるプリンタの駆動回路の
一実施例を示すブロック図、図2は、同駆動回路の各信
号を示すタイミングチャートである。プリンタには図示
の駆動回路1が設けられ、この駆動回路1により印字部
の駆動制御がなされる。このプリンタは、ワイヤドット
タイプであるとする。CPU2のポートA出力は、出力
制御バッファ3を介して各ワイヤドットのピン(記録子
)毎に設けられたインパクト駆動部4に対し図2(a)
のドットに対応するデータDATAを出力する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing an embodiment of a printer drive circuit according to the present invention, and FIG. 2 is a timing chart showing each signal of the drive circuit. The printer is provided with the illustrated drive circuit 1, and the drive circuit 1 controls the drive of the printing section. It is assumed that this printer is a wire dot type printer. The port A output of the CPU 2 is transmitted via the output control buffer 3 to the impact drive unit 4 provided for each wire dot pin (recorder) as shown in FIG. 2(a).
Data DATA corresponding to the dot is output.

【0012】また、CPU2のポートB出力と出力制御
バッファ3との間には、前記データの出力タイミングを
規定する保護回路5が設けられている。この保護回路5
は、ポートB出力と出力制御バッファ3との間にNAN
D回路5aが設けられている。また、ポートB出力とN
AND回路5a間には、さらに時定数回路5bが設けら
れている。時定数回路5bは、ポートA出力と同一タイ
ミングで出力される図2(b)に示すポートBのトリガ
TrでON起動し、コンデンサC1、抵抗R1によるC
R時定数で所定時間(インパクト保護時間に相当)T1
経過後にOFFするQ出力をNAND回路5aに出力す
る。したがって、NAND回路5aの出力は、ポートB
出力のタイミングでON状態となり、ポートBのトリガ
Trの間、ON状態を保持して出力制御バッファ3にQ
出力する。なお、NAND回路5aで出力反転されてい
る。これにより、出力制御バッファ3は、図2(b)に
示すこのTrの期間、データ出力dataをインパクト
駆動部4に出力し、記録紙上に各種の印字記録を行う。 この時、ポートBのトリガTrの出力が異常に長い期間
出力されても、時定数回路5bの出力により前記所定時
間T1経過後に必ずNAND5aの出力がOFFし、イ
ンパクト駆動部4aのコイルにに対し焼損保護として動
作する。
Furthermore, a protection circuit 5 is provided between the port B output of the CPU 2 and the output control buffer 3 for regulating the output timing of the data. This protection circuit 5
is a NAN between port B output and output control buffer 3.
A D circuit 5a is provided. Also, port B output and N
A time constant circuit 5b is further provided between the AND circuits 5a. The time constant circuit 5b is turned ON by the trigger Tr of the port B shown in FIG. 2(b), which is output at the same timing as the port A output, and the
R time constant for a predetermined time (corresponding to impact protection time) T1
A Q output that turns OFF after the lapse of time is output to the NAND circuit 5a. Therefore, the output of the NAND circuit 5a is
It becomes ON state at the timing of output, remains ON state during the trigger Tr of port B, and outputs Q to output control buffer 3.
Output. Note that the output is inverted by the NAND circuit 5a. As a result, the output control buffer 3 outputs data output data to the impact driving section 4 during the period of this Tr shown in FIG. 2(b), and performs various print recordings on the recording paper. At this time, even if the output of the trigger Tr of port B is output for an abnormally long period, the output of the NAND 5a is always turned off after the predetermined time T1 has elapsed due to the output of the time constant circuit 5b, and the coil of the impact drive unit 4a is Acts as burnout protection.

【0013】前記時定数回路5bの出力は、OR回路6
を介してモータコントローラ7に入力される。このモー
タコントローラ7には、図2(d)に示すリボンモータ
クロック信号CLKが入力される。そして、モータコン
トローラ7は、CLKを図2(e)の如く前記時定数回
路5bの出力に同期させたコントロール信号CTLをモ
ータドライバ8に出力し、リボン送りを制御する。
The output of the time constant circuit 5b is sent to an OR circuit 6.
The signal is input to the motor controller 7 via. A ribbon motor clock signal CLK shown in FIG. 2(d) is input to this motor controller 7. Then, the motor controller 7 outputs a control signal CTL in which CLK is synchronized with the output of the time constant circuit 5b as shown in FIG. 2(e) to the motor driver 8 to control ribbon feeding.

【0014】これにより、一定周期のCLKに基づき、
時定数回路5bの出力を利用してリボン送りを制御する
構成としたので、インパクトのタイミングに同期したリ
ボン送りがされることとなる。したがって、リボン送り
の状態を目視で監視するのみで時定数回路5bの動作状
態を確認することができる。ところで、前記時定数回路
5bのCR定数は、所定のリボン送りに必要な時間でか
つ、インパクト駆動部4のコイルに対し焼損保護し得る
十分短い時間に設定しておく。そして、リボン送りの制
御は、全てCPU2に依存するものではなく、上記の如
くインパクト制御と兼ねた構成であるとともに、特別な
ポートを設ける必要がないため、CPU2及びソフトウ
ェア側の負担を軽減することができる。
[0014] As a result, based on CLK of a constant period,
Since the configuration is such that the ribbon feeding is controlled using the output of the time constant circuit 5b, the ribbon feeding is performed in synchronization with the timing of impact. Therefore, the operating state of the time constant circuit 5b can be confirmed simply by visually monitoring the ribbon feeding state. Incidentally, the CR constant of the time constant circuit 5b is set to a time necessary for feeding a predetermined ribbon and sufficiently short to protect the coil of the impact drive section 4 from burnout. Ribbon feeding control does not entirely depend on the CPU 2, and as described above, it is configured to also function as impact control, and there is no need to provide a special port, reducing the burden on the CPU 2 and software. Can be done.

【0015】尚、図1において、前記OR回路6の入力
には、コンデンサC2,抵抗R2により所定の時間が設
定され、ダイオード9a、チャタリング防止用のシュミ
ットインバータ9bにより構成されるリボン巻き取り部
9を設けてもよい。このリボン巻き取り部9は、CR時
定数をリボンの弛みの巻き取りに必要な時間に設定して
おくことにより、電源投入時等のリボンの弛みによる記
録紙の汚れを防止することができる。
In FIG. 1, a predetermined time is set at the input of the OR circuit 6 by a capacitor C2 and a resistor R2, and a ribbon winding section 9 is configured by a diode 9a and a Schmitt inverter 9b for preventing chattering. may be provided. By setting the CR time constant to the time required to wind up slack in the ribbon, the ribbon winding section 9 can prevent staining of the recording paper due to slack in the ribbon when the power is turned on.

【0016】尚、上記実施例では、出力制御バッファ3
の後段にワイヤドット方式のインパクト駆動部4を配置
した構成としたが、このインパクト駆動部4に代わり、
熱転写方式の感熱ヘッドに適用することもでき、この場
合、感熱ヘッドに対する加熱時間を上記実施例同様に制
御でき、同様の効果を得ることができる。
In the above embodiment, the output control buffer 3
Although the configuration was such that a wire dot type impact drive unit 4 was arranged at the rear stage, instead of this impact drive unit 4,
The present invention can also be applied to a thermal transfer type thermal head, in which case the heating time for the thermal head can be controlled in the same manner as in the above embodiment, and similar effects can be obtained.

【0017】[0017]

【発明の効果】本発明のプリンタの駆動回路によれば、
印字部の印字時間を保護回路により監視するとともに、
この保護回路の出力を用いてリボン送りを行う構成であ
るから、印字部の印字制御状態はリボン送りの状態を目
視することにより容易に知ることができる。また、従来
のようにリボン送り制御用に特別なソフトウェア、及び
独立したポートを設ける必要がないため、ソフトウェア
を含めたCPU側の負担を軽減することができる。
[Effects of the Invention] According to the printer drive circuit of the present invention,
The printing time of the printing section is monitored by a protection circuit, and
Since the configuration is such that the ribbon is fed using the output of this protection circuit, the printing control state of the printing section can be easily determined by visually observing the state of ribbon feeding. Further, since there is no need to provide special software and an independent port for ribbon feeding control as in the past, the burden on the CPU including software can be reduced.

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

【図1】本発明によるプリンタの駆動回路を示すブロッ
ク図。
FIG. 1 is a block diagram showing a drive circuit of a printer according to the present invention.

【図2】同駆動回路の各構成部の信号のタイミングチャ
ート。
FIG. 2 is a timing chart of signals of each component of the drive circuit.

【図3】従来のプリンタの駆動回路を示すブロック図。FIG. 3 is a block diagram showing a drive circuit of a conventional printer.

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

2…CPU、3…出力制御バッファ、4…インパクト駆
動部、5…保護回路、5a…NAND回路、5b…時定
数回路、6…OR回路、7…モータコントローラ、8…
モータドライバ、9…リボン巻き取り部。
2... CPU, 3... Output control buffer, 4... Impact drive section, 5... Protection circuit, 5a... NAND circuit, 5b... Time constant circuit, 6... OR circuit, 7... Motor controller, 8...
Motor driver, 9... Ribbon winding section.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  各ドットに対応するデータ(DATA
)、及び該データ(DATA)の出力に同期したトリガ
(Tr)を出力するCPU(2)と、該データ(DAT
A)に基づいて記録紙上への印字を行う記録子を有する
インパクト駆動部(4)と、該CPU、及びインパクト
駆動部間のデータ(DATA)ライン上に設けられ、前
記トリガ(Tr)に基づき、データ(DATA)の出力
を制御する出力制御バッファ(3)と、を具備するプリ
ンタの駆動回路において、前記トリガ(Tr)の出力を
受けて所定時間の時定数(CR)でこれを保持し前記出
力制御バッファ(3)に信号(Q)を出力する保護回路
(5)と、該保護回路(5)の出力(Q)が入力され、
前記時定数(CR)に同期してリボン送出を行うモータ
コントローラ(7)と、を具備することを特徴とするプ
リンタの駆動回路。
Claim 1: Data (DATA) corresponding to each dot.
), and a CPU (2) that outputs a trigger (Tr) synchronized with the output of the data (DATA);
An impact drive unit (4) having a recorder that performs printing on recording paper based on A), the CPU, and the impact drive unit are provided on the data (DATA) line between the CPU and the impact drive unit, and based on the trigger (Tr). , and an output control buffer (3) for controlling the output of data (DATA), which receives the output of the trigger (Tr) and holds it for a predetermined time constant (CR). a protection circuit (5) that outputs a signal (Q) to the output control buffer (3), and an output (Q) of the protection circuit (5) is input;
A printer drive circuit comprising: a motor controller (7) that feeds out a ribbon in synchronization with the time constant (CR).
JP3108189A 1991-04-15 1991-04-15 Printer drive circuit Expired - Lifetime JP2958152B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3108189A JP2958152B2 (en) 1991-04-15 1991-04-15 Printer drive circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3108189A JP2958152B2 (en) 1991-04-15 1991-04-15 Printer drive circuit

Publications (2)

Publication Number Publication Date
JPH04314560A true JPH04314560A (en) 1992-11-05
JP2958152B2 JP2958152B2 (en) 1999-10-06

Family

ID=14478264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3108189A Expired - Lifetime JP2958152B2 (en) 1991-04-15 1991-04-15 Printer drive circuit

Country Status (1)

Country Link
JP (1) JP2958152B2 (en)

Also Published As

Publication number Publication date
JP2958152B2 (en) 1999-10-06

Similar Documents

Publication Publication Date Title
JPS60122184A (en) Temperature-controlling method for printing head in impact printer
JPH07205467A (en) Control circuit for heat-sensitive press
JPH04314560A (en) Driving circuit of printer
JPS62263068A (en) Impact-type printer
JP2756051B2 (en) Image recording device
EP0185910A1 (en) Thermal printer control device
US4772140A (en) Print head drive system with trouble detector
KR100940194B1 (en) Thermal printer control system with protection apparatus
JP2616323B2 (en) Line thermal head protection circuit
JPH0655760A (en) Method and device for controlling printing head and printer
JPS58162360A (en) Circuit for preventing burning of thermal head
JP3138544B2 (en) Thermal recording device
JPH071474B2 (en) Printer
KR950008983Y1 (en) Printer head overheat protect driving circuit
JPS59232891A (en) Printer apparatus
JPS62286755A (en) Printing system
JPH0375176A (en) Dot inpact type printer
GB2273683A (en) Monitoring integrity of printhead performance alarms.
KR0171536B1 (en) Head protecting apparatus and method of ink jet printer
JPS59174379A (en) Control system for operation of printer
JPS5919189A (en) Ribbon feeding mechanism of printer
JPH02276653A (en) Head drive circuit for thermal printer
JPS61264959A (en) Print system in printer
JPH08192523A (en) Impact printer
JPH01135663A (en) Driving method of thermal head

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090723

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100723

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110723

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110723

Year of fee payment: 12