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

JP2633636B2 - Printer motor driver protection system - Google Patents

Printer motor driver protection system

Info

Publication number
JP2633636B2
JP2633636B2 JP63194121A JP19412188A JP2633636B2 JP 2633636 B2 JP2633636 B2 JP 2633636B2 JP 63194121 A JP63194121 A JP 63194121A JP 19412188 A JP19412188 A JP 19412188A JP 2633636 B2 JP2633636 B2 JP 2633636B2
Authority
JP
Japan
Prior art keywords
motor
control
control data
control unit
motor driver
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
JP63194121A
Other languages
Japanese (ja)
Other versions
JPH0243078A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63194121A priority Critical patent/JP2633636B2/en
Publication of JPH0243078A publication Critical patent/JPH0243078A/en
Application granted granted Critical
Publication of JP2633636B2 publication Critical patent/JP2633636B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

【発明の詳細な説明】 〔概 要〕 銀行端末などに使用されるプリンタのモータドライバ
を誤動作による破壊から守るためのモータドライバ保護
方式に関し, 制御用のCPUがプログラム暴徒しても,モータドライ
バが破壊されないようにする有効な誤動作検出手段を提
供することを目的とし, スペースモータと,スペースモータを駆動するモータ
ドライバを含むモータ制御部と,モータ制御部に所定の
タイミングシーケンスで制御データを書き込む制御CPU
とをそなえたプリンタにおいて,モータ制御部に制御デ
ータが書き込まれるべき所定のタイミングに制御データ
の書き込みが行われないときを書き込みタイミングの異
常として検出する誤動作検出回路を設け,上記誤動作検
出回路は,モータ制御部における制御データの書き込み
タイミングに異常を検出したとき,制御CPUにマスク不
能割り込みを行い,制御CPUは、そのマスク不能割り込
みに応答して,モータ制御部に対する制御データの書き
込みを停止する構成をもつ。
DETAILED DESCRIPTION OF THE INVENTION [Summary] Regarding a motor driver protection method for protecting a motor driver of a printer used in a bank terminal or the like from destruction due to a malfunction, even if a control CPU is a program mob, the motor driver is not activated. A motor control unit including a space motor, a motor driver for driving the space motor, and a control unit for writing control data to the motor control unit in a predetermined timing sequence with a view to providing an effective malfunction detection unit for preventing damage. CPU
A malfunction detection circuit that detects when the control data is not written at a predetermined timing at which the control data is to be written to the motor control unit as an abnormality in the write timing, wherein the malfunction detection circuit includes: When an abnormality is detected in the control data write timing in the motor control unit, a non-maskable interrupt is issued to the control CPU, and the control CPU stops writing the control data to the motor control unit in response to the non-maskable interrupt. With.

〔産業上の利用分野〕[Industrial applications]

本発明は,銀行端末などに使用されるプリンタのモー
タドライバを誤動作による破壊から守るためのモータド
ライバ保護方式に関する。
The present invention relates to a motor driver protection method for protecting a motor driver of a printer used for a bank terminal or the like from being damaged by a malfunction.

一般にヘッド移動を制御するスペースモータにDCモー
タを使用しているプリンタでは,CPUがスペースモータの
制御データを,一定のタイミングシーケンスでモータ制
御部に書き込み,モータドライバによりスペースモータ
を駆動させている。しかし,プログラム暴走が起ると,
制御データの書き込みタイミングが変り,モータドライ
バの破壊が生じる。
In general, in a printer using a DC motor as a space motor for controlling head movement, a CPU writes control data of the space motor into a motor control unit in a fixed timing sequence, and drives the space motor by a motor driver. However, when program runaway occurs,
The write timing of the control data changes, and the motor driver is destroyed.

本発明は,このような制御データの書き込みに異常が
あった場合に迅速に書き込みを停止させる手段を提供す
る。
The present invention provides means for promptly stopping the writing when there is an error in writing such control data.

〔従来の技術〕[Conventional technology]

第4図に,本発明が対象とする従来のプリンタの基本
構成を示す。
FIG. 4 shows a basic configuration of a conventional printer to which the present invention is applied.

図において, 10はプリンタ,11はプリンタ全体の制御を実行する制
御CPUである。
In the figure, reference numeral 10 denotes a printer, and 11 denotes a control CPU for controlling the entire printer.

12は,制御プログラムや制御データ,印字データ等が
格納されるメモリである。
Reference numeral 12 denotes a memory for storing control programs, control data, print data, and the like.

13は,ワイヤドット型あるいはサーマル型などの印字
ヘッドである。
Reference numeral 13 denotes a print head of a wire dot type or a thermal type.

14は,印字データに基づくドットパターンにしたがっ
て印字ヘッド13を駆動制御する印字制御部である。
Reference numeral 14 denotes a print control unit that drives and controls the print head 13 according to a dot pattern based on print data.

15は,印字ヘッド13の移動を行うスペースモータであ
り,この場合はCDモータが使用されているものとする。
Reference numeral 15 denotes a space motor for moving the print head 13, and in this case, a CD motor is used.

16は,スペースモータ15を駆動制御するモータ制御部
である。
Reference numeral 16 denotes a motor control unit that drives and controls the space motor 15.

17は,バスである。 17 is a bus.

制御CPU11は印字ヘッド13を移動させるために,制御
プログラムにしたがって所定のタイミングシーケンスで
スペースモータ15を駆動する制御データをモータ制御部
16に書き込む。モータ制御部16は,この制御データに応
じて内部のモータドライバを駆動し,スペースモータ15
に動作させる。
The control CPU 11 sends control data for driving the space motor 15 in a predetermined timing sequence according to a control program to move the print head 13 to the motor control unit.
Write to 16. The motor control unit 16 drives the internal motor driver according to the control data, and
To work.

制御CPU11は,印字ヘッドの移動中,適当なタイミン
グで印字制御部14に制御データを書き込み,印字ヘッド
13を駆動して印字動作を行わせる。
The control CPU 11 writes control data to the print control unit 14 at appropriate timing while the print head is moving, and
13 is driven to perform a printing operation.

第5図は,第4図中のモータ制御部16の内部構成を示
したもので,第6図は駆動パルスのタイミング図であ
る。
FIG. 5 shows the internal configuration of the motor control unit 16 in FIG. 4, and FIG. 6 is a timing chart of the drive pulses.

第5図において, 18は,制御CPU11がバス17を介して制御データを書き
込むポートとなる制御レジスタである。
In FIG. 5, reference numeral 18 denotes a control register serving as a port to which the control CPU 11 writes control data via the bus 17.

19は,後述するモータドライバを駆動するための駆動
パルス発生回路であり,制御データに基づいて,たとえ
ば20KHzの周期で4〜10μsの幅の駆動パルスを発生す
る。
Reference numeral 19 denotes a drive pulse generating circuit for driving a motor driver described later, which generates a drive pulse having a width of 4 to 10 μs at a cycle of, for example, 20 KHz based on the control data.

20は,モータドライバであり,トランジスタTR1ない
しTR4からなるブリッジ回路構成となっている。
20 is a motor driver, and has a bridge circuit configuration to the transistors TR 1 consisting TR 4.

このモータドリイバ20は,+24Vあるいは+48Vの単一
電源を用いて,スペースモータ15を往復スイッチング駆
動することができる。つまりトランジスタTR1ないしTR4
の各ベースには,第6図に示すような駆動パルスP1ない
しP4がそれぞれ印加される。このとき,のタイミング
では,TR1,TR4が同時にオンされ,他方,TR2,TR3は同時に
オフされて,第5図中に矢線で示すようなパルスを電
流がスペースモータ15中に流れる。また第6図における
のタイミングでは,TR1,TR4が同時にオフ,TR2,TR3が同
時にオンとなり,スペースモータ15には,第5図中に矢
線で示すような逆向きのパルス電流が流れる。
The motor driver 20 can drive the space motor 15 back and forth using a single power supply of + 24V or + 48V. That is, transistors TR 1 to TR 4
Each base is, P 4 is applied respectively to no driving pulse P 1 as shown in Figure 6. At this time, TR 1 and TR 4 are turned on at the same time, while TR 2 and TR 3 are turned off at the same time, and a pulse shown by an arrow in FIG. Flows. At the timing shown in FIG. 6, TR 1 and TR 4 are simultaneously turned off, TR 2 and TR 3 are simultaneously turned on, and the space motor 15 is supplied with a reverse pulse current as indicated by an arrow in FIG. Flows.

ここで駆動パルスP1/P4とP2/P3には,それぞれの組の
間でHレベルが重なり合わないように,全てが同時にL
レベルとなる時間TS1,TS2が設けられており,電流がTR1
からTR3へ,あるいはTR2からTR4へ流れて,電源と接地
間が短絡されてトランジスタが破壊されないようにして
いる。
Here, all of the driving pulses P 1 / P 4 and P 2 / P 3 are at the same time L so that the H level does not overlap between the respective sets.
Times TS 1 and TS 2 at which the current level becomes TR 1 are provided.
To TR 3 or from TR 2 to TR 4 to prevent short-circuit between the power supply and ground, thereby preventing the transistor from being destroyed.

このようにして,スペースモータ15は,モータドライ
バ20により連続駆動されることができる。
In this way, the space motor 15 can be continuously driven by the motor driver 20.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

従来のプリンタでは,制御用CPUでプログラム暴走が
生じると,CPUは正常時のタイミングシーケンスとは異な
るシーケンスでモータ制御部に制御データを書き込むこ
とがあった。
In a conventional printer, when a program runaway occurs in the control CPU, the CPU sometimes writes control data to the motor control unit in a sequence different from a normal timing sequence.

この場合,CPUがプログラム暴走を検出して,制御デー
タの書き込みを停止するまでにある程度の時間がかかる
ため,モータドライバが誤駆動されて,モータドライバ
が破壊されてしまうという問題があった。
In this case, there is a problem that a certain amount of time is required until the CPU detects program runaway and stops writing control data, so that the motor driver is erroneously driven and the motor driver is destroyed.

本発明は,制御用のCPUがプログラム暴走しても,モ
ータドライバが破壊されないようにする有効な誤動作検
出手段を提供することを目的とする。
An object of the present invention is to provide an effective malfunction detecting means for preventing a motor driver from being destroyed even when a control CPU runs out of control.

〔課題を解決するための手段〕[Means for solving the problem]

本発明は,CPUにおけるプログラム暴走の検出が一定日
数以上の同一ループの実行や,一定時間以上の処理時間
の経過などを判定して行っているため,原理的に時間が
かかるものとなっていることから,モータ制御部側に制
御データ書き込みのタイミング異常を検出する手段を設
け,タイミング異常を検出したならば,CPUに対して強制
割り込み(NMi)を上げて,迅速に制御データの書き込
みを停止させるようにしたものである。
In the present invention, detection of a program runaway in the CPU is performed in principle by determining the execution of the same loop for a certain number of days or more, or the elapse of a processing time for a certain time or more. Therefore, the motor control unit is provided with a means for detecting the timing error of control data writing, and if a timing error is detected, the CPU is forced to interrupt (NMi) and stop writing control data immediately. It is intended to be.

第1図は,本発明の原理的構成図である。 FIG. 1 is a diagram showing the basic configuration of the present invention.

図において, 10は,プリンタである。 In the figure, reference numeral 10 denotes a printer.

11は,プリンタ全体の動作を制御する制御CPUであ
る。
A control CPU 11 controls the operation of the entire printer.

12は,制御プログラム,制御データ,印字データ等の
格納に使用されるメモリである。
Reference numeral 12 denotes a memory used for storing a control program, control data, print data, and the like.

13は,印字ヘッドである。 13 is a print head.

14は,印字ヘッド13を印字駆動する印字制御部であ
る。
Reference numeral 14 denotes a print control unit that drives the print head 13 for printing.

15は,印字ヘッド13の移動を制御するスペースモータ
であり,DCモータが使用されている。
Reference numeral 15 denotes a space motor for controlling the movement of the print head 13, and a DC motor is used.

16は,スペースモータ15を駆動制御するモータ制御部
である。
Reference numeral 16 denotes a motor control unit that drives and controls the space motor 15.

17は,バスである。 17 is a bus.

18,19,20は,それぞれモータ制御部16を構成する制御
レジスタ,駆動パルス発生回路,モータドライバであ
る。
Reference numerals 18, 19, and 20 denote a control register, a drive pulse generation circuit, and a motor driver, respectively, which constitute the motor control unit 16.

21は,本発明により付加された誤動作検出回路であ
り,モータ制御部16に対する制御データの書き込みが異
常なタイミングで行われた場合を検出する。
Reference numeral 21 denotes a malfunction detection circuit added according to the present invention, which detects a case where control data is written to the motor control unit 16 at abnormal timing.

22は,マイク不能割り込み(NMi)信号であり,誤動
作検出回路21が制御データの書き込み異常を検出したと
き,制御CPUに強制割り込みを行うために出力される。
Reference numeral 22 denotes a microphone disable interrupt (NMi) signal, which is output to perform a forced interrupt to the control CPU when the malfunction detection circuit 21 detects an abnormality in writing control data.

〔作 用〕(Operation)

第1図に示された本発明の原理的構成に基づく作用
は,次の通りである。
The operation based on the principle configuration of the present invention shown in FIG. 1 is as follows.

プリンタ10の印字動作中,制御CPUは,印字制御部14
とモータ制御部16とに,それぞれ印字ヘッド駆動用の制
御データとスペースモータ駆動用の制御データとを書き
込み,印字ヘッド13の印字駆動と移動制御とを行う。
During the printing operation of the printer 10, the control CPU
The control data for driving the print head and the control data for driving the space motor are written into the motor control unit 16 and the motor control unit 16, respectively, and the print drive and the movement control of the print head 13 are performed.

制御CPU11において,スペースモータ15に対する制御
データは,一定のタイミングシーケンスで作成され,バ
ス17を介してモータ制御部16の制御レジスタ18に書き込
まれる。
In the control CPU 11, control data for the space motor 15 is created in a fixed timing sequence, and is written to the control register 18 of the motor control unit 16 via the bus 17.

制御レジスタ18に書き込まれた制御データは,駆動パ
ルス発生回路19に取り込まれ,モータドライバ20に対し
て駆動パルスが発生される。
The control data written in the control register 18 is taken into the drive pulse generation circuit 19, and a drive pulse is generated for the motor driver 20.

モータドライバ20は,駆動パルスによりスイッチング
制御され,スペースモータ15を駆動する。
The motor driver 20 is switching-controlled by the drive pulse, and drives the space motor 15.

制御CPU11がプログラム暴走すると,モータ制御部16
の制御レジスタ18に制御データを書き込むタイミングに
異常が生じる。
If the control CPU 11 runs out of control, the motor controller 16
An abnormality occurs in the timing of writing control data to the control register 18 of FIG.

誤動作検出回路21は,この制御データ書き込みのタイ
ミングを監視しており,書き込みタイミングの異常を検
出すると,マスク不能割り込み(NMi)信号を制御CPU11
に上げる。
The malfunction detection circuit 21 monitors the timing of writing the control data, and when detecting an abnormality in the write timing, outputs a non-maskable interrupt (NMi) signal to the control CPU 11.
Raise to

制御CPU11は,マスク不能割り込みがあるると,実行
中の命令を終了した後直ちにその割り込み処理を行い,
スペースモータ15の駆動制御を異常終了して,モータ制
御部16に対する制御データの書き込みを停止する。
When there is a non-maskable interrupt, the control CPU 11 immediately performs the interrupt processing after finishing the instruction being executed,
The drive control of the space motor 15 is abnormally terminated, and the writing of control data to the motor control unit 16 is stopped.

このようにして,本発明では,制御CPUでプログラム
暴走が検出される前に,制御データの書き込み異常を検
出してこれを暴走とみなし,迅速に制御データの書き込
みを停止させるため,モータドライバ20の破壊を防止す
ることができる。
In this way, according to the present invention, before the control CPU detects a program runaway, it detects a control data write error and regards this as a runaway, and stops the control data write promptly. Can be prevented from being destroyed.

〔実施例〕〔Example〕

第2図および第3図を用いて,本発明の1実施例を説
明する。
An embodiment of the present invention will be described with reference to FIGS.

第2図は第1図中の誤動作検出回路21の実施例回路図
であり,第3図はその信号タイミング図である。
FIG. 2 is a circuit diagram of an embodiment of the malfunction detection circuit 21 in FIG. 1, and FIG. 3 is a signal timing diagram thereof.

第2図において,23および24はLS393を用いたカウンタ
(CNT),25はLS04を用いたNOTゲート(N),26はLS74を
用いたフリップフロップ(FF),27はLS08を用いたANDゲ
ート(A),28はLS32を用いたORゲート(OR),29はLS74
を用いたフリップフロップ(FF),30はLS06を用いたNOT
ゲートである。
In FIG. 2, 23 and 24 are counters (CNT) using LS393, 25 is a NOT gate (N) using LS04, 26 is a flip-flop (FF) using LS74, and 27 is an AND gate using LS08 (A), 28 is an OR gate (OR) using LS32, 29 is LS74
Flip-flop (FF) using LS30, NOT using LS06
The gate.

また回路中の信号において,C1Mは1μs周期のクロッ
ク,*A804Wは書き込み許可信号,Z01は+5V,D7はスター
ト信号,*RSTはリセット信号,*A817Wは制御レジスタ
18(第1図参照)への制御データの書き込み信号,CLRは
クリア信号,POMASKは制御データの書き込みマスク信
号,*POMASKはPOMASKの反転信号,NMiはマスク不能割り
込み信号,*NMiはNMiの反転信号を表わしている。
Among the signals in the circuit, C1M is a 1 μs cycle clock, * A804W is a write enable signal, Z01 is + 5V, D7 is a start signal, * RST is a reset signal, and * A817W is a control register.
Control signal write signal to 18 (see Fig. 1), CLR is a clear signal, POMASK is a control data write mask signal, * POMASK is an inverted POMASK signal, NMi is a non-maskable interrupt signal, * NMi is an inverted NMi Represents a signal.

以下,必要に応じて第1図および第3図を参照しつ
つ,第2図の誤動作検出回路の動作を説明する。
The operation of the malfunction detection circuit of FIG. 2 will be described below with reference to FIGS. 1 and 3 as necessary.

フリップフロップ26は,正常時における制御データの
書き込み許可期間を規定する書き込みマスクPOMASKおよ
び反転書き込みマスク*POMASK(第3図(a))を生成
する。
The flip-flop 26 generates a write mask POMASK and an inverted write mask * POMASK (FIG. 3 (a)) that define a write permission period for control data in a normal state.

反転書き込みマスク*POMASKは,書き込み許可信号*
A804WがHレベルになるときLレベルになり,カウンタ2
3,24を始動する。
Inverted write mask * POMASK is a write enable signal *
When the A804W goes high, it goes low and the counter 2
Start 3,24.

カウンタ23,24は,クロックC1Mをカウントし,32μs
後にHレベル出力を生じる。この出力はNOTゲート25で
反転されて,クリア信号CLR(第3図(b))をLレベ
ルにする。
Counters 23 and 24 count clock C1M, and 32 μs
Later, an H level output is generated. This output is inverted by the NOT gate 25, and the clear signal CLR (FIG. 3 (b)) is set to L level.

クリア信号CLRは,ANDゲート27の一方の入力に加えら
れ,他方の入力のリセット信号*RSTが動作中Hレベル
にあることから,Hレベルを出力し,フリップフロップ26
をクリアする。これにより*POMASK(第3図(a))の
32μs幅のLレベル期間(POMASKではHレベル)が得ら
れる。
The clear signal CLR is applied to one input of the AND gate 27, and outputs the H level because the reset signal * RST of the other input is at the H level during operation.
Clear This allows * POMASK (Fig. 3 (a))
An L level period (H level in POMASK) with a width of 32 μs is obtained.

この*POMASKのLレベル期間内に,制御CPU11(第1
図)から制御データの書き込みが行われれば正常であ
り,またLレべル期間から外れて制御データの書き込み
が行われれば異常と判定されて,マスク不能割り込みが
上げられる。
Within this * POMASK L level period, the control CPU 11 (first
It is determined that the control data is written normally if the control data is written out of the figure, and that if the control data is written out of the L level period, it is determined to be abnormal and a non-maskable interrupt is raised.

つまり第1図に示されている制御CPU11がモータ制御
部16の制御レジスタ18に制御データを書き込むとき,書
き込み信号*A817Wが一時的にLレベルとなる。第3図
(c)の上段は,正常時の*A817Wのタイミングで,第
3図(a)のPOMASKのHレベル期間内で生じる。しか
し,プログラム暴走による異常時には,第3図(c)の
下段に示すようにPOMASKのHレベル期間から外れてしま
う。
That is, when the control CPU 11 shown in FIG. 1 writes the control data into the control register 18 of the motor control unit 16, the write signal * A817W temporarily becomes L level. The upper part of FIG. 3 (c) occurs at the timing of * A817W in the normal state and within the H level period of POMASK of FIG. 3 (a). However, when an abnormality occurs due to a program runaway, as shown in the lower part of FIG.

ORゲート28は,これらのPOMASKと*A817Wとを入力に
してそのOR論理をとる。そのため*A817WがPOMASKのH
レベル期間内にあれば*A817WはPOMASK内に埋没し,ま
たHレベル期間から外れれば*A817Wを分離して出力す
る。
The OR gate 28 receives these POMASK and * A817W as inputs and takes the OR logic. Therefore * A817W is H of POMASK
If it is within the level period, * A817W is buried in POMASK, and if it is out of the H level period, * A817W is separated and output.

フリップフロップ29は,この分離して出力された*A8
17Wの立上りでのみオンに設定され,第3図(d)に示
すようにNMiをHレベルにして制御CPU11(第1図)にマ
スク不能割り込みを上げる。すなわち,制御データの異
常書き込みを検出し,制御CPUに迅速な対応処理を行わ
せる。
The flip-flop 29 outputs the separated * A8
It is set to ON only at the rise of 17W, and as shown in FIG. 3 (d), NMi is set to the H level to raise a non-maskable interrupt to the control CPU 11 (FIG. 1). That is, abnormal writing of control data is detected, and the control CPU is caused to perform quick response processing.

〔発明の効果〕〔The invention's effect〕

本発明によれば,プリンタにおけるモータ制御データ
の書き込み中にプログラム暴走が起っても,ハードウェ
ア上で異常検出が行われ,強制的に割り込み処理が実行
されるために,従来のプログラム暴走検出による方式に
くらべてはるかに迅速に対応することができ,モータド
ライバの破壊防止性能を高めることができる。
According to the present invention, even if a program runaway occurs during writing of motor control data in the printer, an error is detected on the hardware and an interrupt process is forcibly executed. Thus, it is possible to respond much more quickly than in the case of the method described above, and it is possible to enhance the destruction prevention performance of the motor driver.

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

第1図は本発明の原理的構成図,第2図は本発明による
誤動作検出回路の実施例回路図,第3図は第2図の誤動
作検出回路の信号タイミング図,第4図は従来のプリン
タの基本構成図,第5図はモータ制御部の内部構図,第
6図は駆動パルスのタイミング図である。 第1図中, 10:プリンタ 11:制御CPU 12:メモリ 13:印字ヘッド 14:印字制御部 15:スペースモータ 16:モータ制御部 17:バス 18:制御レジスタ 19:駆動パルス発生回路 20:モータドライバ 21:誤動作検出回路 22:マスク不能割り込み信号(NMi)
FIG. 1 is a block diagram showing the principle of the present invention, FIG. 2 is a circuit diagram of an embodiment of a malfunction detecting circuit according to the present invention, FIG. 3 is a signal timing diagram of the malfunction detecting circuit of FIG. 2, and FIG. FIG. 5 is a basic configuration diagram of the printer, FIG. 5 is an internal configuration diagram of a motor control unit, and FIG. 6 is a timing diagram of driving pulses. In FIG. 1, 10: Printer 11: Control CPU 12: Memory 13: Print head 14: Print control unit 15: Space motor 16: Motor control unit 17: Bus 18: Control register 19: Drive pulse generation circuit 20: Motor driver 21: Malfunction detection circuit 22: Non-maskable interrupt signal (NMi)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】スペースモータ(15)と,スペースモータ
(15)を駆動するモータドライバ(20)を含むモータ制
御部(16)と,モータ制御部(16)に所定のタイミング
シーケンスで制御データを書き込む制御CPU(11)とを
そなえたプリンタにおいて, モータ制御部(16)に制御データが書き込まれるべき所
定のタイミングに制御データ書き込みが行われないとき
を書き込みタイミングの異常として検出する誤動作検出
回路(21)を設け, 上記誤動作検出回路(21)は,モータ制御部(16)にお
ける制御データの書き込みタイミングに異常を検出した
とき,制御CPU(11)にマスク不能割り込みを行い,制
御CPU(11)は,そのマスク不能割り込みに応答して,
モータ制御部(16)に対する制御データの書き込みを停
止することを特徴とするプリンタのモータドライバ保護
方式。
A control signal is transmitted to a motor controller (16) including a space motor (15), a motor driver (20) for driving the space motor (15), and a motor controller (16) in a predetermined timing sequence. In a printer equipped with a control CPU (11) for writing, a malfunction detection circuit () that detects when control data is not written at a predetermined timing at which control data is to be written to the motor control unit (16) as an abnormal write timing ( The malfunction detection circuit (21) provides an unmaskable interrupt to the control CPU (11) when the motor control unit (16) detects an abnormality in the control data write timing, and the control CPU (11) Responds to the non-maskable interrupt by
A motor driver protection method for a printer, wherein writing of control data to the motor control unit (16) is stopped.
JP63194121A 1988-08-03 1988-08-03 Printer motor driver protection system Expired - Fee Related JP2633636B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63194121A JP2633636B2 (en) 1988-08-03 1988-08-03 Printer motor driver protection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63194121A JP2633636B2 (en) 1988-08-03 1988-08-03 Printer motor driver protection system

Publications (2)

Publication Number Publication Date
JPH0243078A JPH0243078A (en) 1990-02-13
JP2633636B2 true JP2633636B2 (en) 1997-07-23

Family

ID=16319263

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63194121A Expired - Fee Related JP2633636B2 (en) 1988-08-03 1988-08-03 Printer motor driver protection system

Country Status (1)

Country Link
JP (1) JP2633636B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58170388A (en) * 1982-03-29 1983-10-06 Fujitsu Ltd Drive control system for motor

Also Published As

Publication number Publication date
JPH0243078A (en) 1990-02-13

Similar Documents

Publication Publication Date Title
JP2633636B2 (en) Printer motor driver protection system
JP2836081B2 (en) Disk control circuit
JP2616323B2 (en) Line thermal head protection circuit
JP2733395B2 (en) Drive system controller
KR20210083869A (en) Method for monitoring system failure of apparatus and apparatus for performing the same
JP2644403B2 (en) IC and its temperature alarm control method
JP2501108Y2 (en) Thermal recording device
JPH03278201A (en) Control system protection device
JP2569694B2 (en) Disk controller
JPS6076356A (en) Protective circuit for thermal head
JPS59118477A (en) Thermal printer
JPS5894489A (en) Printer failure detection device
JPS61199962A (en) Printer head
JP2765849B2 (en) Printer
JPS58201109A (en) Circuit fault detecting method of numerical controller
JPS6233665A (en) Control system for driving of printing head
JP3043042B2 (en) Thermal printer and print processing method thereof
JPH04173350A (en) Recording device
JPH01244885A (en) information processing equipment
JP2003126484A (en) Game machine
JPH02276653A (en) Head drive circuit for thermal printer
JPS61131135A (en) Microprocessor runaway detection device
JPS62220363A (en) Ribbon feed control method for printing equipment
JPS6325081A (en) Recording device
JPS6297172A (en) Floppy disk device

Legal Events

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