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
JP2836709B2 - Printer alarm detection device - Google Patents
[go: Go Back, main page]

JP2836709B2 - Printer alarm detection device - Google Patents

Printer alarm detection device

Info

Publication number
JP2836709B2
JP2836709B2 JP3299810A JP29981091A JP2836709B2 JP 2836709 B2 JP2836709 B2 JP 2836709B2 JP 3299810 A JP3299810 A JP 3299810A JP 29981091 A JP29981091 A JP 29981091A JP 2836709 B2 JP2836709 B2 JP 2836709B2
Authority
JP
Japan
Prior art keywords
alarm
signal
edge detection
circuit
pulse
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
JP3299810A
Other languages
Japanese (ja)
Other versions
JPH05104823A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP3299810A priority Critical patent/JP2836709B2/en
Publication of JPH05104823A publication Critical patent/JPH05104823A/en
Application granted granted Critical
Publication of JP2836709B2 publication Critical patent/JP2836709B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明はアラーム検出装置に係わ
り、特に、アクチュエータをドライブ動作に異常が生じ
たときに電源供給をオフにするようにしたプリンタに用
いて好適なものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an alarm detection device, and more particularly to an alarm detection device suitable for use in a printer in which power supply to an actuator is turned off when an abnormality occurs in drive operation.

【0002】[0002]

【従来の技術】周知の通り、最近のシリアルプリンタに
は中央演算処理装置(以下CPUとする)が設けられて
いて、このCPUでもってプリンタ全体の動作を制御す
るようにしている。図6は、従来のシリアルプリンタの
一例を示すブロック図である。図6において、1はCP
U、2は上記CPU1と周辺素子との間でデータの送受
を行うためのバスライン、3はリードオンリーメモリ
(以下ROMとする)であり、このROM3に上記CP
U1の動作を制御するためのプログラムおよびデータ等
が格納されている。
2. Description of the Related Art As is well known, a recent serial printer is provided with a central processing unit (hereinafter referred to as a CPU), and the CPU controls the operation of the entire printer. FIG. 6 is a block diagram showing an example of a conventional serial printer. In FIG. 6, 1 is CP
U and 2 are bus lines for transmitting and receiving data between the CPU 1 and peripheral elements, and 3 is a read only memory (hereinafter referred to as ROM).
A program and data for controlling the operation of U1 are stored.

【0003】次いで、4はランダムアクセスメモリであ
り、インターフェイスドライバ6から与えられる受信デ
ータの格納用や、CPU1の作業エリア用として用いら
れる。5は、CPU1の負荷を軽減し、スペースモータ
8や紙送りモータ9、および印字ヘッド10等の制御を
行うためのゲートアレイである。また、7は上記スペー
スモータ8、紙送りモータ9、および印字ヘッド10等
を駆動するためのドライブ回路部である。また、11
は、スペースモータ8、紙送りモータ9、および印字ヘ
ッド10等のアクチュエータのドライブ時間がある一定
時間以上になると、アラームと判断して電源部12のヒ
ューズを切断するアラーム回路である。
[0005] Next, reference numeral 4 denotes a random access memory, which is used for storing received data provided from the interface driver 6 and for a work area of the CPU 1. Reference numeral 5 denotes a gate array for reducing the load on the CPU 1 and controlling the space motor 8, the paper feed motor 9, the print head 10, and the like. Reference numeral 7 denotes a drive circuit for driving the space motor 8, the paper feed motor 9, the print head 10, and the like. Also, 11
Is an alarm circuit that determines that an alarm has occurred when the drive time of actuators such as the space motor 8, the paper feed motor 9, and the print head 10 exceeds a certain period of time, and disconnects the fuse of the power supply unit 12.

【0004】上記のように構成されたシリアルプリンタ
におけるアラーム検出装置の動作を図7の回路図に従っ
て説明する。先ず、アクチュエータドライブ信号DVが
“H”レベルに反転すると、トランジスタTr1および
トランジスタTr2がオンし、アクチュエータ8,9,
10が駆動される。また、トランジスタTr2がオンす
ると、ダイオードD1,抵抗器R5を通してコンデンサ
C1に電流が流れ込む。
[0004] The operation of the alarm detection device in the serial printer configured as described above will be described with reference to the circuit diagram of FIG. First, when the actuator drive signal DV is inverted to "H" level, the transistors Tr1 and Tr2 are turned on, and the actuators 8, 9,
10 is driven. When the transistor Tr2 is turned on, a current flows into the capacitor C1 through the diode D1 and the resistor R5.

【0005】一方、アクチュエータドライブ信号DVが
“L”レベルになると、トランジスタTr1およびTr
2がオフするので、コンデンサC1に貯えられた電荷は
ダイオードD2および抵抗器R4のルートで放電する。
このようにしてコンデンサC1の充電および放電が行わ
れるので、アクチュエータドライブ信号DVが所定の周
期でオン/オフを繰り返せば、コンデンサC1の両端電
圧は或る一定電圧値以上には大きくならない。
On the other hand, when the actuator drive signal DV goes low, the transistors Tr1 and Tr
2 turns off, the electric charge stored in the capacitor C1 is discharged through the route of the diode D2 and the resistor R4.
Since the charging and discharging of the capacitor C1 are performed in this way, if the actuator drive signal DV repeats on / off at a predetermined cycle, the voltage across the capacitor C1 does not increase beyond a certain fixed voltage value.

【0006】しかし、アクチュエータドライブ信号DV
が連続して“H”レベルとなった場合にはコンデンサC
1の両端電圧は上昇し続けることになる。この場合、コ
ンデンサC1の両端電圧がコンパレータCMP1の基準
電圧VREFを越えた時点で、上記コンパレータCMP1
はオンとなる。このコンパレータCMP1のオンによ
り、ベース電流が引き込まれるのでトランジスタTr3
はオンとなり、ドライブの異常を報知するためのアラー
ム信号ALMがトランジスタTr3のコレクタから出力
される。したがって、このアラーム信号ALMにより電
源部12のヒューズを溶断したり、警報ブザーを動作さ
せたりすることにより、ドライブ不良によりプリンタが
破壊されるのを未然に防止することができる。
However, the actuator drive signal DV
Continuously goes to "H" level, the capacitor C
1 will continue to rise. In this case, when the voltage across the capacitor C1 exceeds the reference voltage V REF of the comparator CMP1, the comparator CMP1
Turns on. When the comparator CMP1 is turned on, the base current is drawn, so that the transistor Tr3
Is turned on, and an alarm signal ALM for notifying a drive abnormality is output from the collector of the transistor Tr3. Therefore, by blowing the fuse of the power supply unit 12 or operating the alarm buzzer by the alarm signal ALM, it is possible to prevent the printer from being damaged due to a drive failure.

【0007】[0007]

【発明が解決しようとする課題】従来のアラーム検出装
置の場合は、コンパレータCMP1の時定数回路の定数
によって、アクチュエータのドライブ不良であるアラー
ム検出を行っているので、上記アラーム検出を所定のタ
イミングで行うための定数決定が煩わしく、また、定数
を正確に設定することが困難であるという問題があっ
た。更に、従来のアラーム検出装置は構成が複雑であ
り、従って、アラーム検出装置を設けると大幅なコスト
高になってしまう問題もあった。本発明は上述の問題点
に鑑み、アラーム状態であると判断する迄の時間を簡単
に設定できるようにするとともに、回路構成を簡素化す
ることを目的とする。
In the case of the conventional alarm detecting device, the alarm of drive failure of the actuator is detected by the constant of the time constant circuit of the comparator CMP1. There is a problem that it is troublesome to determine a constant to be performed, and it is difficult to set a constant accurately. Further, the configuration of the conventional alarm detection device is complicated, and therefore, there is a problem that providing the alarm detection device results in a significant increase in cost. SUMMARY OF THE INVENTION The present invention has been made in consideration of the above-described problems, and has as its object to easily set a time until it is determined that an alarm state has occurred and to simplify a circuit configuration.

【0008】[0008]

【課題を解決するための手段】本発明のプリンタのアラ
ーム検出装置は、プリンタのアクチュエータを駆動する
ためのドライブパルスの立ち上がりエッジおよび立ち下
がりエッジを検出するパルスエッジ検出回路部と、上記
パルスエッジ検出回路部から出力されるパルスエッジ検
出信号によりそのカウント動作が制御され、上記パルス
エッジ検出信号が奇数個目ならば時間計測動作を開始す
るとともに、上記パルスエッジ検出信号が偶数個目なら
ば計測中のタイマ値をクリアするタイマ手段と、上記タ
イマ値が設定値に達したときに上記タイマ手段から導出
されるタイムアウト信号を受けて動作してアラーム信号
生成回路を起動させる駆動手段と、上記駆動手段から与
えられるアラーム信号に基づいて動作し、電源回路から
駆動電力が出力されないようにする装置動作停止手段と
を具備している。
According to the present invention, there is provided an alarm detecting apparatus for a printer, comprising: a pulse edge detecting circuit for detecting a rising edge and a falling edge of a drive pulse for driving an actuator of the printer; The counting operation is controlled by the pulse edge detection signal output from the circuit unit. If the pulse edge detection signal is an odd number, the time measurement operation is started, and if the pulse edge detection signal is an even number, measurement is in progress. Timer means for clearing the timer value of, a driving means for receiving a time-out signal derived from the timer means when the timer value reaches a set value, operating to activate an alarm signal generation circuit, and the driving means It operates based on the alarm signal given from the It has and a device operation stop means for so no.

【0009】[0009]

【作用】プリンタのアクチュエータを駆動するドライブ
パルスのエッジを検出し、その奇数番目の検出出力でも
ってタイマ手段を起動して時間計測を開始するととも
に、偶数番目の検出出力でもって上記計測中のタイマ値
をリセットすることにより、ドライブ動作が正常な場合
には上記ドライブパルスがオン/オフを繰り返すので、
上記タイマ手段のタイマ値は所定値よりも常に小さい。
ところが、上記ドライブパルスが連続してオン状態にな
ると、上記タイマ手段のカウント値はリセットされなく
なるので、設定値を越えて大きくなる。したがって、上
記タイマ手段からタイムアウト信号が出力された場合に
はアラーム状態と判断し、アラーム信号を出力して電源
回路の出力をオフにする。
The edge of the drive pulse for driving the actuator of the printer is detected, the timer means is started with the odd-numbered detection output to start time measurement, and the timer during the measurement is started with the even-numbered detection output. By resetting the value, if the drive operation is normal, the drive pulse repeats on / off,
The timer value of the timer means is always smaller than a predetermined value.
However, when the drive pulse is continuously turned on, the count value of the timer means is not reset, and thus becomes larger than the set value. Therefore, when a time-out signal is output from the timer means, it is determined that an alarm state has occurred, and an alarm signal is output to turn off the output of the power supply circuit.

【0010】[0010]

【実施例】図1は、本発明の一実施例を示すアラーム検
出装置の構成図である。図1において、1はCPU、2
は上記CPU1と周辺素子との間でデータの送受を行う
ためのバスライン、3はROMであり、このROM3に
上記CPU1の動作を制御するためのプログラムおよび
データ等が格納されている。
FIG. 1 is a block diagram of an alarm detecting device according to an embodiment of the present invention. In FIG. 1, 1 is a CPU, 2
Is a bus line for transmitting and receiving data between the CPU 1 and peripheral elements, and 3 is a ROM. The ROM 3 stores programs and data for controlling the operation of the CPU 1.

【0011】次いで、4はRAMであり、インターフェ
イスドライバ6からの受信データの格納用や、CPU1
の作業エリア用として用いられる。5は、CPU1の負
荷を軽減し、スペースモータ8や紙送りモータ9、およ
び印字ヘッド10等の制御を行うためのゲートアレイで
ある。また、7は上記スペースモータ8、紙送りモータ
9、および印字ヘッド10等を駆動するためのドライブ
回路部である。また、16はCPU1からの指令によ
り、装置動作停止手段17として電源部12に設けられ
ているヒューズ17aを切断し、出力電圧を遮断するア
ラーム信号を生成する回路である。次いで、13はアク
チュエータドライブ信号DVのエッジを検出するための
パルスエッジ検出回路部である。
Reference numeral 4 denotes a RAM for storing data received from the interface driver 6 and for controlling the CPU 1
Used for the work area. Reference numeral 5 denotes a gate array for reducing the load on the CPU 1 and controlling the space motor 8, the paper feed motor 9, the print head 10, and the like. Reference numeral 7 denotes a drive circuit for driving the space motor 8, the paper feed motor 9, the print head 10, and the like. Reference numeral 16 denotes a circuit that cuts a fuse 17a provided in the power supply unit 12 as a device operation stop unit 17 and generates an alarm signal for cutting off an output voltage in response to a command from the CPU 1. Next, reference numeral 13 denotes a pulse edge detection circuit for detecting an edge of the actuator drive signal DV.

【0012】次に、このように構成された本実施例のシ
リアルプリンタにおけるアラーム検出装置を説明する。
図2は、本実施例のアラーム検出装置の具体的な構成の
一例を示す回路図である。図2において、破線で示した
部分がアクチュエータドライブ信号DVのエッジ検出を
行うためのパルスエッジ検出回路部13である。
Next, a description will be given of an alarm detecting device in the serial printer of the present embodiment configured as described above.
FIG. 2 is a circuit diagram illustrating an example of a specific configuration of the alarm detection device according to the present embodiment. In FIG. 2, a portion shown by a broken line is a pulse edge detection circuit unit 13 for detecting an edge of the actuator drive signal DV.

【0013】次に、本実施例のパルスエッジ検出回路部
13の動作を図3のタイムチャートを参照して説明す
る。図3の(a)は、システム同期用クロックSYSC
LKであり、CPU1から供給されている。アクチュエ
ータドライブ信号DVがパルスエッジ検出回路部13に
入力されると、これが第1のフリップフロップFF1の
データ入力端子Dに与えられ、クロック入力端子CLK
に与えられているシステム同期用クロックSYSCLK
に同期してラッチされる。これにより、第1のフリップ
フロップFF1のQ1端子およびQ1B端子からは、図
3の(c)および(d)に示すように、ラッチ信号SQ
1,SQ1Bがそれぞれ出力される。
Next, the operation of the pulse edge detection circuit section 13 of this embodiment will be described with reference to the time chart of FIG. FIG. 3A shows a system synchronization clock SYSC.
LK, which is supplied from the CPU 1. When the actuator drive signal DV is input to the pulse edge detection circuit section 13, it is applied to the data input terminal D of the first flip-flop FF1, and the clock input terminal CLK
Synchronization clock SYSCLK given to
Is latched in synchronization with. As a result, the latch signal SQ is output from the Q1 terminal and the Q1B terminal of the first flip-flop FF1 as shown in (c) and (d) of FIG.
1, SQ1B are output.

【0014】このラッチ信号SQ1を、第2のフリップ
フロップFF2のデータ入力端子Dに与え、同じくクロ
ック入力端子CLKに与えられているシステム同期用ク
ロックSYSCLKに同期してラッチすることにより、
図3の(e)および(f)に示すように、ラッチ信号S
Q2,SQ2Bが得られる。また、これらのラッチ信号
SQ1とSQ2Bを第1のアンド回路AND1に供給す
ることにより、パルス立上がり検出信号PU が生成され
る。一方、ラッチ信号SQ1BおよびSQ2を第2のア
ンド回路AND2に供給することにより、パルス立下が
り検出信号PD が生成される。
The latch signal SQ1 is supplied to the data input terminal D of the second flip-flop FF2 and latched in synchronization with the system synchronization clock SYSCLK also supplied to the clock input terminal CLK.
As shown in FIGS. 3E and 3F, the latch signal S
Q2 and SQ2B are obtained. Further, by supplying these latch signals SQ1 and SQ2B the first AND circuit AND1, the pulse rise detecting signal P U is generated. On the other hand, by supplying a latch signal SQ1B and SQ2 to the second AND circuit AND2, the pulse falling edge detection signal P D is generated.

【0015】このようにして生成されたパルス立上がり
検出信号PU 、およびパルス立下がり検出信号PD をオ
ア回路OR1に供給し、パルスエッジ検出信号PE を生
成する。そして、このパルスエッジ検出信号PE をCP
U1の外部割込端子IPTOに入力し、CPU1に対し
て外部割込動作を行わせるようにする。
The pulse rising detection signal P U and the pulse falling detection signal P D thus generated are supplied to an OR circuit OR1 to generate a pulse edge detection signal P E. Then, the pulse edge detection signal P E is set to CP
An input is made to the external interrupt terminal IPTO of U1 to cause the CPU 1 to perform an external interrupt operation.

【0016】CPU1の内部で行われる外部割込処理を
図4のタイムチャートに示す。図4から明らかなよう
に、パルスエッジ検出信号PE が外部割込端子IPTO
に入力されると、先ずステップP1において外部割込処
理に移る。この外部割込処理では、割込処理通過回数を
カウントするために、ステップP2で割込処理通過回数
カウンタのカウンタ値をインクリメントする。次に、ス
テップP3において、割込処理通過回数カウンタのカウ
ンタ値が“1”であるか、または“2”であるかをチェ
ックする。この場合、“1”ならば、エッジ検出が立上
がり検出なので、ステップP4に進んでタイマ手段14
を起動させる。
FIG. 4 is a time chart showing the external interrupt processing performed inside the CPU 1. As apparent from FIG. 4, the pulse edge detection signal P E is the external interrupt pin IPTO
, The process proceeds to an external interrupt process in step P1. In this external interrupt process, in order to count the number of times the interrupt process has been passed, the counter value of the interrupt process pass counter is incremented in step P2. Next, in step P3, it is checked whether the counter value of the interrupt processing passage number counter is "1" or "2". In this case, if "1", the edge detection is a rising edge detection.
Start.

【0017】また、ステップP3のチェックの結果、カ
ウンタ値が“2”の場合には、エッジ検出が立下がり検
出なのでステップP5に進み、タイマ手段14のタイマ
値ををクリアする。ステップP4の処理、またはステッ
プP5の処理の後はステップP6に進み、割込処理通過
回数カウンタの値が“2”であるか否かを判定する。そ
して、上記カウント値が“2”である場合には、ステッ
プP7に進んでカウント値をクリアしてからリターンす
る。また、ステップP6における判定の結果、上記カウ
ント値が“2”でない場合には、ステップP6から直接
リターンする。
If the result of the check in step P3 is that the counter value is "2", the edge detection has been detected as falling, so the process proceeds to step P5 to clear the timer value of the timer means 14. After the processing of Step P4 or the processing of Step P5, the process proceeds to Step P6, and it is determined whether or not the value of the interrupt processing passage number counter is “2”. If the count value is "2", the process proceeds to step P7, where the count value is cleared and the process returns. If the result of determination in step P6 is that the count value is not "2", the process directly returns from step P6.

【0018】本実施例のアラーム検出装置はこのように
してドライブ異常の検出を行うので、ドライブパルスが
正常にオン/オフされていれば、予め設定されている値
になる前にタイマ値がクリアされるので、タイマ手段1
4がタイムアウトすることはない。しかし、何らかの原
因でドライブ時間が異常に長くなった場合には、タイマ
手段14がタイムアウトして、タイマ割込処理に移る。
The alarm detection device of this embodiment detects a drive abnormality in this manner. Therefore, if the drive pulse is normally turned on / off, the timer value is cleared before reaching a preset value. Timer means 1
4 never times out. However, if the drive time becomes abnormally long for some reason, the timer means 14 times out, and the processing shifts to timer interrupt processing.

【0019】図5の、タイマ割込動作フローチャートに
示すように、ステップP1でタイマ割込処理に移ると、
タイマ手段14から駆動手段15にタイムアウト信号S
OUT が出力される。これにより、駆動手段15が動作し
てCPU1のポートAの電位を“L”レベルに反転させ
る。図2に示すように、CPU1のポートAには抵抗器
R4,R5,R6、PNPトランジスタTr3よりなる
アラーム信号生成回路16が接続されていて、ポートA
の電位が上記トランジスタTr3のベースに与えられて
いる。したがって、ポートAの電位が“L”レベルにな
るとベース電位が“L”となるので、上記PNPトラン
ジスタTr3がオンし、そのコレクタからアラーム信号
ALMが出力される。
As shown in the timer interrupt operation flowchart of FIG. 5, when the process proceeds to the timer interrupt process in step P1,
The time-out signal S is sent from the timer means 14 to the driving means 15.
OUT is output. As a result, the driving unit 15 operates to invert the potential of the port A of the CPU 1 to the “L” level. As shown in FIG. 2, an alarm signal generation circuit 16 including resistors R4, R5, R6 and a PNP transistor Tr3 is connected to the port A of the CPU 1.
Is applied to the base of the transistor Tr3. Therefore, when the potential of the port A becomes "L" level, the base potential becomes "L", so that the PNP transistor Tr3 is turned on, and the alarm signal ALM is output from its collector.

【0020】このようにしてアラーム信号ALMを生成
したら、図1に示したように、これを装置動作停止手段
17に導出してプリンタの動作を直ちに停止させるよう
にする。図1の例では、電源部12にヒューズ17aを
設けて装置動作停止手段17を構成した例を示してお
り、アラーム信号ALMでもってヒューズ17aを溶断
することにより、プリンタの動作を直ちに停止してドラ
イブ異常により機器が破壊されるのを防止するようにし
ている。なお、装置動作停止手段17の構成は、上記し
たヒューズ17aに限らず、その他の手段によっても構
成することができる。例えば、CPU1のプログラムに
より構成し、アラーム信号ALMが与えられたら電源電
圧を断つようにしてもよい。
When the alarm signal ALM is generated in this way, as shown in FIG. 1, the alarm signal ALM is led out to the device operation stopping means 17 to immediately stop the operation of the printer. The example of FIG. 1 shows an example in which a fuse 17a is provided in the power supply unit 12 to constitute the device operation stopping means 17, and the operation of the printer is immediately stopped by blowing the fuse 17a with an alarm signal ALM. The device is prevented from being destroyed due to a drive error. The structure of the device operation stopping means 17 is not limited to the above-described fuse 17a, but may be constituted by other means. For example, the power supply voltage may be cut off when the alarm signal ALM is provided by using a program of the CPU 1.

【0021】[0021]

【発明の効果】本発明は上述したように、ドライブパル
スのエッジを検出し、その奇数番目の検出出力でもって
タイマ手段を起動して時間計測を開始するとともに、偶
数番目の検出出力でもって上記計測中のタイマ値をリセ
ットするようにしたので、上記ドライブパルスが連続し
てオン状態になった場合には、上記タイマ手段のカウン
ト値がリセットされないことにより、上記タイマ手段か
らタイムアウト信号が出力されるようにすることができ
る。したがって、上記タイムアウト信号が出力された場
合にはアラーム状態と判断し、アラーム信号を生成して
装置の動作を停止させるようにすることができる。これ
により、上記タイマ手段にセットする値を変えることに
より上記タイムアウト信号が出力される迄の時間を自由
に設定することができるので、アラーム状態であると判
断する迄の時間を簡単に設定することができ、コンパレ
ータ回路による時定数回路を不要にできる。また、コン
パレータ回路による時定数回路を不要にすることにより
回路構成を簡素化することができ、コストダウンが図れ
る。
As described above, the present invention detects the edge of the drive pulse, starts the timer means with the odd-numbered detection output, starts time measurement, and starts the time measurement with the even-numbered detection output. Since the timer value during the measurement is reset, when the drive pulse is continuously turned on, the time-out signal is output from the timer means because the count value of the timer means is not reset. You can make it. Therefore, when the time-out signal is output, it can be determined that an alarm state is present, and an alarm signal is generated to stop the operation of the apparatus. Thus, the time until the timeout signal is output can be freely set by changing the value set in the timer means, so that the time until the alarm state is determined can be easily set. And the time constant circuit by the comparator circuit can be eliminated. Further, the circuit configuration can be simplified by eliminating the need for the time constant circuit by the comparator circuit, and the cost can be reduced.

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

【図1】本発明のアラーム検出回路の一実施例を示すブ
ロック図である。
FIG. 1 is a block diagram showing an embodiment of an alarm detection circuit according to the present invention.

【図2】パルスエッジ検出回路部の具体的な構成例を示
す回路図である。
FIG. 2 is a circuit diagram illustrating a specific configuration example of a pulse edge detection circuit unit.

【図3】パルスエッジ検出回路部の動作を説明するため
のタイムチャートである。
FIG. 3 is a time chart for explaining the operation of the pulse edge detection circuit unit.

【図4】CPUの処理を説明するためのフローチャート
である。
FIG. 4 is a flowchart for explaining processing of a CPU;

【図5】タイマ割込動作を説明するためのフローチャー
トである。
FIG. 5 is a flowchart illustrating a timer interrupt operation.

【図6】アラーム検出装置の従来例を示すブロック図で
ある。
FIG. 6 is a block diagram showing a conventional example of an alarm detection device.

【図7】アラーム検出装置の従来例を示す回路図であ
る。
FIG. 7 is a circuit diagram showing a conventional example of an alarm detection device.

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

1 CPU 2 バスライン 3 ROM 4 RAM 5 ゲートアレイ 6 インターフェイスドライバ 7 ドライブ回路部 11 アラーム信号生成回路 12 電源部 13 パルスエッジ検出回路部 14 タイマ手段 15 駆動手段 16 アラーム信号生成回路 17 装置動作停止手段 SOUT タイムアウト信号 PE パルスエッジ検出信号 ALM アラーム信号DESCRIPTION OF SYMBOLS 1 CPU 2 Bus line 3 ROM 4 RAM 5 Gate array 6 Interface driver 7 Drive circuit unit 11 Alarm signal generation circuit 12 Power supply unit 13 Pulse edge detection circuit unit 14 Timer means 15 Driving means 16 Alarm signal generation circuit 17 Device operation stop means S OUT time-out signal P E pulse edge detection signal ALM alarm signal

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 プリンタのアクチュエータを駆動するた
めのドライブパルスの立ち上がりエッジおよび立ち下が
りエッジを検出するパルスエッジ検出回路部と、 上記パルスエッジ検出回路部から出力されるパルスエッ
ジ検出信号によりそのカウント動作が制御され、上記パ
ルスエッジ検出信号が奇数個目ならば時間計測動作を開
始するとともに、上記パルスエッジ検出信号が偶数個目
ならば計測中のタイマ値をクリアするタイマ手段と、 上記タイマ値が設定値に達したときに上記タイマ手段か
ら導出されるタイムアウト信号を受けて動作してアラー
ム信号生成回路を起動させる駆動手段と、 上記駆動手段から与えられるアラーム信号に基づいて動
作し、電源回路から駆動電力が出力されないようにする
装置動作停止手段とを具備することを特徴とするアラー
ム検出装置。
1. A pulse edge detection circuit for detecting a rising edge and a falling edge of a drive pulse for driving an actuator of a printer, and a counting operation based on a pulse edge detection signal output from the pulse edge detection circuit. A timer means for starting a time measurement operation if the pulse edge detection signal is an odd number, and a timer means for clearing a timer value being measured if the pulse edge detection signal is an even number; and A drive unit that operates upon receiving a timeout signal derived from the timer unit when the set value is reached, and starts an alarm signal generation circuit; and operates based on an alarm signal given from the drive unit, and operates from a power supply circuit. A device operation stopping means for preventing output of driving power. Alarm detection device.
JP3299810A 1991-10-18 1991-10-18 Printer alarm detection device Expired - Fee Related JP2836709B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3299810A JP2836709B2 (en) 1991-10-18 1991-10-18 Printer alarm detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3299810A JP2836709B2 (en) 1991-10-18 1991-10-18 Printer alarm detection device

Publications (2)

Publication Number Publication Date
JPH05104823A JPH05104823A (en) 1993-04-27
JP2836709B2 true JP2836709B2 (en) 1998-12-14

Family

ID=17877204

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3299810A Expired - Fee Related JP2836709B2 (en) 1991-10-18 1991-10-18 Printer alarm detection device

Country Status (1)

Country Link
JP (1) JP2836709B2 (en)

Also Published As

Publication number Publication date
JPH05104823A (en) 1993-04-27

Similar Documents

Publication Publication Date Title
JP3003556B2 (en) Fail safe device
US5485342A (en) Abnormal current cutoff circuit
US20040015733A1 (en) Power management apparatus, power management method, and power management system
JP2836709B2 (en) Printer alarm detection device
US5034674A (en) Motor driving voltage control device
EP0511828A2 (en) Alarm control method for detecting abnormality in a drive circuit of an actuator
JPH0542710A (en) Thermal head abnormal heating prevention device
JPH08140393A (en) Protective circuit for motor drive control circuit
US5720560A (en) Printing apparatus
JPH05333973A (en) Power unit for portable computer
JP2644403B2 (en) IC and its temperature alarm control method
US6735386B2 (en) Flash control circuit
JP2861091B2 (en) Motor control device
JP3218098B2 (en) Battery powered printer
JP2616323B2 (en) Line thermal head protection circuit
JPH0143650Y2 (en)
JPH05276645A (en) Overcurrent protection device
JPH054427A (en) Printer
JPH10271664A (en) Printer
JP3423163B2 (en) Overcurrent protection device for electrical equipment
JPS6369658A (en) Protection system in printer for printing head driver
JPS5894489A (en) Printer failure detection device
JPS6229884B2 (en)
JP2827893B2 (en) Step motor drive controller
JPH10230665A (en) Printing apparatus

Legal Events

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

Free format text: PAYMENT UNTIL: 20081009

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20081009

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091009

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20101009

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20111009

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees