JP2861091B2 - Motor control device - Google Patents

Motor control device

Info

Publication number
JP2861091B2
JP2861091B2 JP1215168A JP21516889A JP2861091B2 JP 2861091 B2 JP2861091 B2 JP 2861091B2 JP 1215168 A JP1215168 A JP 1215168A JP 21516889 A JP21516889 A JP 21516889A JP 2861091 B2 JP2861091 B2 JP 2861091B2
Authority
JP
Japan
Prior art keywords
motor
current
abnormality
value
print ribbon
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 - Lifetime
Application number
JP1215168A
Other languages
Japanese (ja)
Other versions
JPH0378484A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP1215168A priority Critical patent/JP2861091B2/en
Publication of JPH0378484A publication Critical patent/JPH0378484A/en
Application granted granted Critical
Publication of JP2861091B2 publication Critical patent/JP2861091B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、停止,起動,定常運転を繰り返すモータの
異常を判断する技術に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a technique for judging an abnormality of a motor that repeats stop, start, and steady operation.

[従来の技術] 従来、モータ駆動手段によって停止,起動,定常運転
を繰り返すモータ、例えば電子機器に内蔵されて、イン
クリボン,テープ,紙等を送るモータの制御装置は、コ
ンピュータからの「オン」信号によってモータを起動
し、コンピュータからの「オフ」信号によってモータを
停止するというように、モータの運転状態をフィールド
バックすることのないオープン制御によってモータの駆
動を行なっている。
2. Description of the Related Art Conventionally, a control device for a motor that repeats stop, start, and steady operation by a motor driving unit, for example, a motor that is built in an electronic device and feeds an ink ribbon, tape, paper, or the like, is turned on by a computer. The motor is driven by open control without causing a field-back of the operating state of the motor, such as starting the motor by a signal and stopping the motor by an "off" signal from a computer.

又、このようなモータの制御装置には、モータ巻線の
短絡やモータロックによる過大電流からモータおよびそ
の駆動手段を保護するために、ヒューズやブレーカ等の
過電流保護装置が取り付けられている。
Further, such a motor control device is provided with an overcurrent protection device such as a fuse or a breaker for protecting the motor and its driving means from an excessive current due to a short circuit of the motor winding or a motor lock.

[発明が解決しようとする課題] しかしながら従来の技術では、モータロック等による
過大電流を遮断して、モータやモータ駆動手段に損傷が
拡大しないようにすることは可能であったが、モータロ
ックの発生やモータ巻線の断線又は短絡、あるいはモー
タ駆動手段の故障等のモータの動作に関わる各部の異常
を検出することができなかった。このため、従来は、モ
ータの動作に関わる各部の異常が発見されないまま放置
されて、モータを搭載した電子機器の機能が一部損なわ
れたり、あるいは異常の発生箇所の発見に手間どる問題
があった。
[Problems to be Solved by the Invention] However, according to the conventional technology, it is possible to cut off an excessive current caused by a motor lock or the like so that damage to a motor or a motor driving unit is not expanded. It was not possible to detect an abnormality of each part related to the operation of the motor, such as occurrence, disconnection or short circuit of the motor winding, or failure of the motor driving means. For this reason, conventionally, there has been a problem that the function of an electronic device equipped with the motor is partially damaged or troublesome to find a place where the abnormality has occurred, since the operation of the motor is left undiscovered without any abnormality being detected. Was.

本発明は、上記課題を解決することにより、モータの
動作に係わる各部の異常の発生を判断することを目的と
する。
SUMMARY OF THE INVENTION It is an object of the present invention to determine the occurrence of an abnormality in each part related to the operation of a motor by solving the above problems.

[課題を解決するための手段] 上記目的を達成するための手段として、本発明のモー
タの制御装置は、第1図に例示するように、モータ駆動
手段MAによって停止,起動,定常運転を繰り返すモータ
MBの制御装置において、上記モータMBの通電電流を反映
した値を検出する通電状態検出手段MCと、上記モータMB
の起動開始時より計時を開始する計時手段MDと、上記モ
ータMBの停止している時及び起動から所定時間経過した
時のモータMBの正常な通電電流を予め記憶している通電
電流記憶手段MEと、上記モータMBの停止時及び上記計時
手段MDが所定時間の計時を終了した時に上記検出した通
電電流を反映した値と、上記記憶されている通電電流の
値とを対比して、上記モータMBの動作に係わる各部のい
ずれかに異常が発生したことを判断する異常判断手段MF
とを備えることを要旨とする。
[Means for Solving the Problems] As means for achieving the above object, a motor control device of the present invention repeats stop, start, and steady operation by motor drive means MA as illustrated in FIG. motor
In the control device of the MB, an energization state detecting means MC for detecting a value reflecting the energization current of the motor MB;
A time-measuring means MD for starting time measurement from the start of start-up of the motor MB, and an energizing current storage means ME for storing in advance a normal energizing current of the motor MB when the motor MB is stopped and a predetermined time has elapsed from the start. And comparing the value of the detected energizing current with the value of the stored energizing current when the motor MB is stopped and when the timing means MD has finished measuring the predetermined time, and Abnormality determination means MF that determines that an abnormality has occurred in any of the units involved in the operation of the MB
The gist is to provide

[作用] 本発明のモータの制御装置は、モータ駆動手段MAによ
って停止,起動,定常運転を繰り返すモータMBの停止
時,および該モータMBの起動開始より計時を開始する計
時手段MDが所定時間の経時を終了した時に、異常判断手
段MFが通電状態検出手段MCによって検出したモータMBの
通電電流を反映した値と、通電電流記憶手段MEによって
予め記憶されている通電電流とを対比して、モータMBの
動作に係わる各部のいずれかに異常が発生したか否かを
判断する。
[Operation] The motor control device of the present invention is characterized in that the motor drive means MA stops the motor MB which repeats stop, start, and steady operation, and stops the motor MB. At the end of the lapse of time, the motor current is compared with a value reflecting the energizing current of the motor MB detected by the abnormality determining means MF by the energizing state detecting means MC and the energizing current stored in advance by the energizing current storage means ME. It is determined whether an abnormality has occurred in any of the units relating to the operation of the MB.

これにより、予め記憶されている通電電流に、実際に
検出した通電電流を反映した値が対応している場合に
は、異常の発生がないと判断される。一方、予め記憶さ
れている通電電流に、実際に検出した通電電流を反映し
た値が対応しなくなった場合、例えば停止時,起動時,
又は定常運転時における両値のズレが所定以上となった
場合には、モータMBの動作に係わる各部のいずかに異常
があると判断される。しかも、停止時,起動時,又は定
常運転時の別と、両値のズレの状態とに基づいて、異常
の発生部、又は内容が特定される。
Accordingly, when a value reflecting the actually detected energizing current corresponds to the energizing current stored in advance, it is determined that no abnormality has occurred. On the other hand, when the value that reflects the actually detected energizing current does not correspond to the energizing current stored in advance, for example, when stopping, starting,
Alternatively, when the difference between the two values during the steady operation is equal to or more than a predetermined value, it is determined that there is an abnormality in any of the units related to the operation of the motor MB. In addition, based on the state of the stop, the start, or the steady operation, and the state of the deviation between the two values, the occurrence part or the content of the abnormality is specified.

[実施例] 次に本発明のモータの制御装置の一実施例を説明す
る。
[Embodiment] Next, an embodiment of a motor control device of the present invention will be described.

第2図は本実施例のモータの制御装置1の回路構成を
示す構成図であり、第3図はモータの制御装置1を印字
リボン送りモータ3の駆動制御用に備えるドットインパ
クトタイプのプリンタ5の全体構成図である。
FIG. 2 is a configuration diagram showing a circuit configuration of the motor control device 1 of the present embodiment. FIG. 3 is a dot impact type printer 5 including the motor control device 1 for controlling the drive of the print ribbon feed motor 3. FIG.

第3図に示すように、プリンタ5は、プラテン9と、
印字ヘッド11を載置するキャリッジ13と、印字ヘッド11
の印字面に沿って送られる印字リボン7とを備え、プラ
テン9の移動にともなって送られてくる用紙15に、印字
を行なう周知の構成を有する。印字リボン7は、印字リ
ボン送りモータ3のリボン送り動作によって、リボンカ
ートリッジ17の引き出し端19から引き出され、印字ヘッ
ド11のリボンガイド21を経由して、リボンカートリッジ
17の引き込み端23に引き込まれる。
As shown in FIG. 3, the printer 5 includes a platen 9 and
A carriage 13 on which the print head 11 is mounted, and a print head 11
And a printing ribbon 7 sent along the printing surface of the printer, and has a known configuration for printing on the paper 15 sent as the platen 9 moves. The print ribbon 7 is pulled out from the draw-out end 19 of the ribbon cartridge 17 by the ribbon feed operation of the print ribbon feed motor 3, passes through the ribbon guide 21 of the print head 11,
It is drawn into the drawing end 23 of 17.

印字リボン7を印字ヘッド11に送る印字リボン送りモ
ータ3は、第3図に点線で示すように、リボンカートリ
ッジ17の引き込み端23の近傍に配設されており、第4図
に示すように、印字リボン送りモータ3の回転を減速歯
車25によって所定速度に減速後、キャプスタン27を回転
駆動する。このキャプスタン27は、図示しないピンチロ
ーラとの間に印字リボン7を挟さみ込んで回転し印字リ
ボン7を引き込み端23から引き込む。
The print ribbon feed motor 3 for sending the print ribbon 7 to the print head 11 is disposed near the retraction end 23 of the ribbon cartridge 17 as shown by a dotted line in FIG. 3, and as shown in FIG. After the rotation of the print ribbon feed motor 3 is reduced to a predetermined speed by the reduction gear 25, the capstan 27 is driven to rotate. The capstan 27 rotates while sandwiching the print ribbon 7 with a pinch roller (not shown), and draws the print ribbon 7 from the drawing end 23.

上述した構成により印字リボン7を送る印字リボン送
りモータ3としては、起動時などの低速度回転時に通電
電流が増大する直流整流子モータが用いられており、そ
の電機子巻線29には、図示しない整流子を介して、第2
図に示すモータの制御装置1が接続されている。
As the print ribbon feed motor 3 for feeding the print ribbon 7 according to the above-described configuration, a DC commutator motor whose conduction current increases during low-speed rotation such as startup is used. Not commutator through the second
The motor control device 1 shown in the figure is connected.

モータの制御装置1は、印字リボン送りモータ3に直
流電力を供給する電力供給部31と、電力供給部31によっ
て印字リボン送りモータ3に供給される電力における電
流値を反映した電圧値VTを検出する電圧検出部33と、
電力供給部31の制御と電圧検出部33の電圧値VTの読み
込み等を行なう電子制御部35とから構成されている。
The motor control device 1 detects a power supply unit 31 that supplies DC power to the print ribbon feed motor 3 and a voltage value VT that reflects a current value of the power supplied to the print ribbon feed motor 3 by the power supply unit 31. A voltage detection unit 33,
The electronic control unit 35 controls the power supply unit 31 and reads the voltage value VT of the voltage detection unit 33.

電子制御部35は、周知の算術論理演算素子としてのCP
U37,ROM39,RAM41、および入出力素子としての出力イン
タフェース43,入力インタフェース45を備えるととも
に、アナログ値である電圧値VTをディジタル値に変換
するA/Dコンバータ47と、CPU37からの信号を入力して所
定の情報をディスプレイ48に表示するディスプレイ駆動
部46とを備えている。この構成により電子制御部35は、
出力インタフェース43を介して電力供給部31を制御する
とともに、電圧検出部33から出力された電圧値VTをA/D
コンバーダ47と入力インタフェース45とを介して入力す
る。
The electronic control unit 35 includes a CP as a well-known arithmetic logic operation element.
A / D converter 47 for converting a voltage value VT, which is an analog value, into a digital value, and a signal from the CPU 37. And a display drive unit 46 for displaying predetermined information on the display 48. With this configuration, the electronic control unit 35
While controlling the power supply unit 31 via the output interface 43, the voltage value VT output from the voltage detection unit 33 is A / D
Input is performed via the converter 47 and the input interface 45.

電力供給部31は、直流電源端子Vcc1(ここではDC39
(V))と電力系接地端子PoVとの間に、ヒューズ49,電
力トランジスタ51,印字リボン送りモータ3の電機子巻
線29,および電圧検出部33の電流検出抵抗器53(ここで
は12(Ω))とを順に直列に介装する構成である。この
回路に流れる電流を入り切りする電力トランジスタ51の
ベースは、駆動回路55に接続されている。
The power supply unit 31 includes a DC power supply terminal Vcc1 (here, DC39
(V)) and the power system ground terminal PoV, a fuse 49, a power transistor 51, an armature winding 29 of the print ribbon feed motor 3, and a current detecting resistor 53 (here, 12 ( Ω)) in series in this order. The base of the power transistor 51 which switches the current flowing through this circuit is connected to the drive circuit 55.

電力供給部31における駆動回路55は、出力インタフェ
ース43から出力された信号の状態を一時的に保持するラ
ッチと、このラッチの状態に基づいて電力トランジスタ
51のベースに「オン」信号、又は「オフ」信号を出力す
るドライバとを備えている。
The drive circuit 55 in the power supply unit 31 includes a latch that temporarily holds a state of a signal output from the output interface 43, and a power transistor based on the state of the latch.
A driver for outputting an “ON” signal or an “OFF” signal is provided at the base of the 51.

電力トランジスタ51が「オン」した場合に電力が供給
される印字リボン送りモータ3には、並列に、保護ダイ
オード57が接続されており、この保護ダイオード57は、
電力トランジスタ51が「オフ」状態に反転した場合等
に、印字リボン送りモータ3から発生する逆起動を吸収
して電力トランジスタ51等を保護する。
A protection diode 57 is connected in parallel to the print ribbon feed motor 3 to which power is supplied when the power transistor 51 is turned “ON”.
When the power transistor 51 is inverted to the “OFF” state or the like, the power transistor 51 and the like are protected by absorbing the reverse start generated from the print ribbon feed motor 3.

電圧検出部33は、電流検出抵抗器53と、これの電圧降
下によって電力系接地端子PoVとの間に発生する電圧値
VTをA/Dコンバータ47供給する導電59とから構成されて
いる。又、導線59と制御用電圧端子Vcc2との間には、導
線59に入ってくる高電圧のノイズを除去して、A/Dコン
バータ47を保護する保護ダイオード61が介装されてお
り、一方導線59と制御系接地端子OVとの間には、コンデ
ンサ63が介装されており、このコンデンサ63はモータの
「オン」「オフ」時における電力系接地端子PoVの一時
的な電圧レベルの上昇および他の雑音信号を吸収さて、
電圧値VTに影響を与える接地レベル差を吸収する。
The voltage detection unit 33 includes a current detection resistor 53 and a conductor 59 that supplies an A / D converter 47 with a voltage value VT generated between the current detection resistor 53 and a power system ground terminal PoV due to the voltage drop. In addition, between the conductor 59 and the control voltage terminal Vcc2, a protection diode 61 for removing high-voltage noise entering the conductor 59 and protecting the A / D converter 47 is interposed. A capacitor 63 is interposed between the lead wire 59 and the control system ground terminal OV. The capacitor 63 temporarily increases the voltage level of the power system ground terminal PoV when the motor is turned on and off. And other noise signals,
Absorb the ground level difference that affects the voltage value VT.

次にモータの制御装置1で行なわれる第5図に示す異
常判断ルーチンのフローチャートに基づいて、本実施例
を説明する。異常判断ルーチンは、電子制御部35に電源
が供給されている間、CPU37において繰り返し実行され
る処理である。この異常判断ルーチンが起動されると、
まず印字リボン送りモータ3を「オン」する信号が電子
制御部35の出力インタフェース43を介して駆動回路55に
出力された状態か否かを、図示しない印字リボン送りモ
ータ制御ルーチンにおけるモータ「オン」フラグがセッ
トされているか否かによって判断する(ステップ100,以
下ステップを単にSと記す)。
Next, the present embodiment will be described based on a flowchart of an abnormality determination routine shown in FIG. 5 performed by the motor control device 1. The abnormality determination routine is a process repeatedly executed by the CPU 37 while power is supplied to the electronic control unit 35. When this abnormality determination routine is started,
First, it is determined whether or not a signal for turning on the print ribbon feed motor 3 is output to the drive circuit 55 via the output interface 43 of the electronic control unit 35. The determination is made based on whether or not the flag is set (Step 100, hereinafter, the step is simply referred to as S).

ここで印字リボン送りモータ3が「オン」されていな
いと判断した場合には、次にA/Dコンバータ47と入力イ
ンタフェース45とを介して入力した電圧値VTが予め設
定された所定値VA(ここでは1(V))より大きいか
否かを判断することにより、印字リボン送りモータ3に
実際に電流が流れているか否かを判断する(S110)。検
出した電圧値VTが所定値VA以下と判断した場合には、
電子制御部35の指令通りに各部が動作していると判断し
て、印字リボン送りモータ3の「オン」「オフ」状態の
判断に戻る(S100)。
If it is determined that the print ribbon feed motor 3 is not "ON", the voltage value VT input through the A / D converter 47 and the input interface 45 is set to a predetermined value VA ( Here, it is determined whether or not the current is actually flowing through the print ribbon feed motor 3 by determining whether or not the current value is larger than 1 (V) (S110). If it is determined that the detected voltage value VT is equal to or less than the predetermined value VA,
It is determined that each unit is operating as instructed by the electronic control unit 35, and the process returns to the determination of the “ON” and “OFF” states of the print ribbon feed motor 3 (S100).

一方、電圧値VTが所定値VAより大きいと判断した場
合には、電子制御部35からは印字リボン送りモータ3を
「オン」にする指令が出力されていないにもかかわら
ず、印字リボン送りモータ3に電流が流れていることか
ら下記に示すような異常原因があると判断する(S12
0)。すなわち、異常原因としては、電力トランジスタ5
1の短絡、駆動回路55の故障、又は電子制御部35の故障
あるいは異常動作が発生していると判断する。
On the other hand, when it is determined that the voltage value VT is larger than the predetermined value VA, the electronic control unit 35 does not output a command to turn on the print ribbon feed motor 3, but the print ribbon feed motor 3 is not output. It is determined that there is an abnormal cause as shown below because the current is flowing through S3 (S12).
0). That is, the cause of the abnormality is the power transistor 5
It is determined that a short circuit of 1, a failure of the drive circuit 55, a failure of the electronic control unit 35, or an abnormal operation has occurred.

異常原因の判断後、次に判断内容をディスプレイ駆動
部46に送ることによってディスプレイ48に表示し、本ル
ーチンを終了する。この場合には、本ルーチンは、電源
の再投入によるイニシャライズ処理が実行されるまで再
起動されることがない。
After the determination of the cause of the abnormality, the content of the determination is sent to the display drive unit 46 to be displayed on the display 48, and this routine ends. In this case, this routine is not restarted until the initialization process is performed by turning on the power again.

以上S100〜S130の処理により、第6図に示すように電
源の投入後、電子制御部35から駆動回路55に印字リボン
送りモータ3の「オン」信号が出力される時点T0までの
間に、電圧値VTが所定値VAより大きくなったか否かが
判断され、この結果に基づいて関係する各部に異常の発
生があるか否かの判断が実行される。
By the above processing of S100 to S130, after the power is turned on as shown in FIG. 6, before the time T0 at which the "ON" signal of the print ribbon feed motor 3 is output from the electronic control unit 35 to the drive circuit 55, It is determined whether or not the voltage value VT has become larger than the predetermined value VA, and based on the result, it is determined whether or not there is an abnormality in each of the related parts.

時点T0にて印字リボン送りモータ3の制御が「オフ」
状態から「オン」状態になると、これにより印字リボン
送りモータが「オン」か否かの判断(S100)において、
この「オン」状態になったことが判断され、次に所定遅
れ時間(ここでは20(ms))t1(ディレイt1)の計時処
理が実行される(S140)。このディレイt1の処理が終了
して時点T1、すなわち起動電流が最大値に達するであろ
う時点になると、この時点T1で検出した電圧値VTと第
6図に示すような所定値VB1(ここでは2(V))およ
び所定値VB1より大きな所定値VB2(ここでは2.3
(V))とを下記に示すように比較して、印字リボン送
りモータ3の起動時における各部の異常判断を実行する
(S150)。
At time T0, the control of the print ribbon feed motor 3 is "OFF"
When the state changes from the “on” state to the “on” state, it is determined whether the print ribbon feed motor is “on” (S100).
It is determined that the “ON” state has been reached, and then a time counting process for a predetermined delay time (here, 20 (ms)) t1 (delay t1) is executed (S140). When the process of the delay t1 is completed and the time point T1 is reached, that is, the time point at which the starting current will reach the maximum value, the voltage value VT detected at this time point T1 and the predetermined value VB1 as shown in FIG. 2 (V)) and a predetermined value VB2 larger than the predetermined value VB1 (here, 2.3
(V)) is compared as shown below, and an abnormality determination of each unit when the print ribbon feed motor 3 is started is executed (S150).

すなわち、ここでは、電圧値VTが所定値VB2異常
であるか、電圧値VTが所定値VB2より小さく、かつ
所定値VB1異常であるか、又は電圧値VTが所定値VB
1より小さいかのいずれであるかが判断される。
That is, here, the voltage value VT is abnormally the predetermined value VB2, the voltage value VT is smaller than the predetermined value VB2 and the predetermined value VB1 is abnormal, or the voltage value VT is the predetermined value VB2.
It is determined whether it is less than one.

この判断の結果、に示したように電圧値VTが所定
値VB1より小さいとされた場合には、印字リボン送りモ
ータ3に適正な電流が流れていないか、あるいは電流値
を反映した電圧値VTを検出することができない場合で
あるとして、例えば印字リボン送りモータ3のコネクタ
や内部配線の短絡又は保護ダイオード57の短絡を原因と
するヒューズ43の断線、電力トランジスタ51の故障(断
線又はオープン)、印字リボン送りモータ3の断線又は
コネクタの末接続、又は電流検出抵抗器53の短絡のいず
れかの異常が発生したと判断する(S160)。
If the result of this determination is that the voltage value VT is smaller than the predetermined value VB1 as shown in (2), it is determined whether an appropriate current is flowing through the print ribbon feed motor 3 or the voltage value VT reflecting the current value. Are not detected, for example, disconnection of the fuse 43 due to short-circuit of the connector or internal wiring of the print ribbon feed motor 3 or short-circuit of the protection diode 57, failure of the power transistor 51 (disconnection or open), It is determined that an abnormality such as disconnection of the print ribbon feed motor 3 or connection at the end of the connector or short-circuit of the current detection resistor 53 has occurred (S160).

一方、に示したように電圧値VTが所定値VB2より
小さく、かつ所定値VB13位上であると判断された場合
には、印字リボン送りモータ3の起動電流が流れてはい
るが、適正時より少ないことから、起動時の負荷が小さ
い場合、すなわち印字リボン7が装着されていない場合
であると判断する(S170)。
On the other hand, when it is determined that the voltage value VT is smaller than the predetermined value VB2 and is higher than the predetermined value VB1 by 3 as shown in (1), the starting current of the print ribbon feed motor 3 is flowing, Since it is smaller, it is determined that the load at the time of startup is small, that is, the case where the print ribbon 7 is not mounted (S170).

以上、又はと判断され、異常内容が特定された
後、既述したようにこの異常内容を表示する(S130)。
After the determination is made as described above or the abnormal content is specified, the abnormal content is displayed as described above (S130).

起動時における電圧値VTの判断の結果、に示した
ように電圧値VTが所定値VB2以上であるとされた場合
には、起動時には各部に異常がないと判断して、次に下
記に示すように、定常回転時における各部の異常判断を
実行する。
As a result of the determination of the voltage value VT at the time of starting, when the voltage value VT is determined to be equal to or more than the predetermined value VB2 as shown in FIG. In this way, the abnormality determination of each part during the steady rotation is executed.

まず、定常回転時であるとされる時点T2(ここでは第
6図に示すように時点T0から所定時間t2(例えば500(m
s)経過した時点)に達するまで計時する処理(ディレ
イt2)を実行する(S180)。
First, a predetermined time t2 (for example, 500 (m) from time T0 as shown in FIG.
s) A process (delay t2) of timing until the time reaches (S180) is executed (S180).

次いで、この時点T2で検出した電圧値VTが所定値VC
(ここでは1.5(V))より大きいか否かを判断するこ
とにより、印字リボン送りモータ3に過大な電流が流れ
ている場合か、あるいは過大な電流が流れているとされ
るような電圧値VTが検出されている場合か否かを判断
する(S190)。
Next, the voltage value VT detected at this time T2 is changed to the predetermined value VC.
By determining whether or not the voltage is greater than (1.5 (V) in this case), a voltage value at which an excessive current is flowing in the print ribbon feed motor 3 or a voltage value at which an excessive current is flowing is determined. It is determined whether or not VT has been detected (S190).

ここで、電圧値VTが所定値VCより大きいと判断され
た場合には、異常内容が印字リボン送りモータ3の固着
やリボン送りの不良か、又は電流検出抵抗器53の断線で
あると判断する(S200)。次いで既述したようにこの異
常内容を表示する(S130)。
Here, when it is determined that the voltage value VT is larger than the predetermined value VC, it is determined that the content of the abnormality is a fixation of the print ribbon feed motor 3 or a defective ribbon feed, or a disconnection of the current detection resistor 53. (S200). Next, as described above, the content of the abnormality is displayed (S130).

一方、電圧値VTが所定値VC以下であれば、すなわち
各部の全てに異常の発生がない場合には、印字リボン送
りモータ3の「オフ」指令が駆動回路55に出力されるま
で、電圧値VTと所定値VCとの対比を繰り返し実行する
(S210)。
On the other hand, if the voltage value VT is equal to or less than the predetermined value VC, that is, if no abnormality has occurred in all the components, the voltage value VT is maintained until the “OFF” command of the print ribbon feed motor 3 is output to the drive circuit 55. The comparison between VT and the predetermined value VC is repeatedly executed (S210).

ここでリボン送りモータ3を「オフ」にする指令が出
されると、下記に示す理由によって設定される所定遅れ
時間t3(ディレイt3)の計時後(S220)、本異常判断ル
ーチンの始めに戻って、再び印字リボン送りモータ3が
「オフ」時の異常判断を行なう。
Here, when a command to turn off the ribbon feed motor 3 is issued, after measuring a predetermined delay time t3 (delay t3) set for the following reason (S220), the process returns to the beginning of the abnormality determination routine. Then, the abnormality determination when the print ribbon feed motor 3 is "OFF" is performed again.

印字リボン送りモータ3の「オフ」後、再び「オフ」
時の異常判断(S110)を行なうまでのディレイt3は、印
字リボン送りモータ3を「オフ」にした直後では、例え
ばモータ3およびその駆動回路55が正常でも、電機子巻
線29の誘導作用やモータの制御装置1各部の配線やコン
デンサ63等の静電容量分によって、A/Dコンバータ47に
入力される電圧値VTがただちに零にならないことに対
応するために設定される。
After the print ribbon feed motor 3 is turned off, it is turned off again
The delay t3 until the abnormality determination at the time (S110) is performed immediately after the print ribbon feed motor 3 is turned off, for example, even if the motor 3 and its drive circuit 55 are normal, the induction action of the armature winding 29 and The voltage value VT input to the A / D converter 47 is set so as to cope with the situation where the voltage value VT does not immediately become zero due to the wiring of each part of the motor control device 1 and the capacitance of the capacitor 63 and the like.

以上に説明したモータの制御装置1は、印字リボン送
りモータ3を起動する指令の出力前(時点T0の前)と、
起動する指令を出力した直後(時点T1)と、起動後定常
回転状態である場合(時点T2以後)とにおいて、印字リ
ボン送りモータ3の通電電流を反映した電圧値VTと予
め設定されている所定値とを対比して、この対比結果に
基づいて印字リボン送りモータ3の動作に係る各部の異
常内容を判断し、表示する。
The motor control device 1 described above outputs a command to start the print ribbon feed motor 3 before output (before time T0),
Immediately after the start command is output (time T1) and in the case of the steady rotation state after the start (time T2), the voltage value VT reflecting the current supplied to the print ribbon feed motor 3 is set to a predetermined value. Based on the comparison result, the contents of the abnormality of each part relating to the operation of the print ribbon feed motor 3 are determined and displayed.

これにより、印字リボン送りモータ3の動作異常が発
見されないままで長時間過ぎることがなくなることか
ら、印字品質の低下を招くことがないという極めて優れ
た効果を奏する。そのうえ、動作異常の内容がおおよそ
特定されることから、修理が容易になるとともに修理に
要する時間も短縮されるという優れた効果を奏する。
As a result, the operation of the print ribbon feed motor 3 does not continue for a long time without being detected, so that there is an extremely excellent effect that the print quality is not deteriorated. In addition, since the content of the operation abnormality is roughly specified, an excellent effect that the repair becomes easy and the time required for the repair is shortened is exerted.

なお、本発明は上記実施例に限定されるものでなく、
下記に示すように本発明の要旨を変更しない範囲で種々
なモータの異常を判断する装置に適用することが可能で
ある。
Note that the present invention is not limited to the above embodiment,
As described below, the present invention can be applied to a device for determining various motor abnormalities without changing the gist of the present invention.

本実施例のように異常を判断してこれを表示すること
に加えて、この判断した異常内容に基づいて、印字が不
可能な異常であればプリンタの動作を停止させたり、あ
るいは印字が可能な異常であればそのまま印字をさせた
りする等の制御を行なう構成を付加してもよい。
In addition to determining and displaying an error as in the present embodiment, based on the details of the determined error, if the printing is not possible, the printer operation can be stopped or printing can be performed. If there is any abnormality, a configuration for performing control such as printing as it is may be added.

電力トランジスタ51が常時「オン」状態になって印字
リボン送りモータ3が常に回転する故障は、印字品質の
低下には直接繋がらないことから、この異常の判断を行
なうための電圧値VTと所定値VAとの対比(S110)を省
略し、異常判断ルーチンの簡略化を図ってもよい。又、
同様に、印字リボン7が取り付けられていない場合に
は、全く印字されないことから発見が容易であるので、
この異常の判断を行なうための電圧値VTが、所定値VB
1,VB2の間にあるか否かの判定(S150からS170に進む流
れ)を省略してもよい。
A failure in which the power transistor 51 is always in the “ON” state and the print ribbon feed motor 3 constantly rotates does not directly reduce the print quality. Therefore, the voltage value VT for determining this abnormality and a predetermined value are determined. The comparison with VA (S110) may be omitted to simplify the abnormality determination routine. or,
Similarly, when the print ribbon 7 is not attached, since it is easy to find because no print is performed,
The voltage value VT for determining this abnormality is a predetermined value VB.
The determination of whether or not it is between 1 and VB2 (flow from S150 to S170) may be omitted.

上述したように、電圧値VTと所定値VAとの対比(S1
10)、および電圧値VTが、所定値VB1,VB2の間にある
か否かの判定(S150からS170に進む流れ)を両方とも省
略する場合には、電圧値VTと対比するための所定値V
をただ1つだけ設け(例えばV=1.5(V))、(i)
印字リボン送りモータ3の起動時には、電圧値VTが所
定値Vより小さい場合(VT<V)に異常があると判断
し、(ii)定常回転時には、電圧値VTが所定値Vより
大きい場合(VT>V)に異常があると判断するように
構成することができ、更に簡略化することができる。
As described above, the comparison between the voltage value VT and the predetermined value VA (S1
10) If both the determination of whether the voltage value VT is between the predetermined values VB1 and VB2 (the flow from S150 to S170) is omitted, the predetermined value for comparison with the voltage value VT V
(E.g., V = 1.5 (V)), (i)
When the print ribbon feed motor 3 is started, it is determined that there is an abnormality when the voltage value VT is smaller than the predetermined value V (VT <V). (Ii) When the voltage value VT is larger than the predetermined value V during steady rotation ( (VT> V), it can be determined that there is an abnormality, which can be further simplified.

印字ヘッド11による印字を双方向、すなわち正方向
(FWD方向)とその反対の逆方向(REV方向)との両方向
とも行なう場合には、印字リボン7の送り方向が一定方
向で行なわれていることから、FWD方向とREV方向とでは
印字リボン送りモータ3の負荷が変化し、この結果、検
出される電圧値VTがFWD方向とREV方向では相異する。
したがって、この印字方向の違いに着目して、印字方向
がFWD方向用の所定値VB1,VB2とVcとREV方向用の所定値
VB1,VB2,VCとを別々に設けて、異常の判断精度が向上
する構成としてもよい。又、印字リボン7の送りが停止
した場合であっても、その直後の数行分(少なくとも1
行分)では、印字品質の低下が生じないことから、FWD
方向又はREV方向のいずれか一方だけ異常を判断するよ
うに構成してもよい。
When printing by the print head 11 is performed in both directions, that is, in both the forward direction (FWD direction) and the reverse direction (REV direction), the print ribbon 7 is fed in a fixed direction. Therefore, the load of the print ribbon feed motor 3 changes between the FWD direction and the REV direction, and as a result, the detected voltage value VT differs between the FWD direction and the REV direction.
Therefore, paying attention to this difference in the printing direction, the printing direction is provided with the predetermined values VB1, VB2 and Vc for the FWD direction and the predetermined values VB1, VB2, VC for the REV direction separately, and the accuracy of abnormality determination is improved. The configuration may be improved. Further, even when the feeding of the print ribbon 7 is stopped, the next few lines (at least 1
Line), the print quality does not deteriorate, so the FWD
The configuration may be such that the abnormality is determined only in one of the direction and the REV direction.

印字リボン送りモータ3が定常回転時に各部の異常を
判断するための所定値VCを、印字リボン送りモータ3
が適正に運転されている場合の電圧値VTより少し大き
いだけの値に設定し、電圧値VTが所定値VCより大きく
なる回数や頻度、又は連続回数が大きくなったら印字リ
ボン送りモータ3の動作に係る各部に異常があると判断
してもよい。これにより、異常を検出する感度を高くす
ることができるとともに、印字状態による負荷変動を原
因とする電圧値VTの変動によって、一時的に電圧値VT
が所定値VCより大きくなっても誤判断が行なわれるこ
とがなくなる。
A predetermined value VC for judging abnormality of each part when the print ribbon feed motor 3 is rotating at a steady state is set to a predetermined value VC.
Is set to a value which is slightly larger than the voltage value VT in the case where the motor is operated properly, and the operation of the print ribbon feed motor 3 is performed when the number or frequency of the voltage value VT becomes larger than the predetermined value VC or the number of continuous times becomes large. May be determined to be abnormal. As a result, the sensitivity for detecting an abnormality can be increased, and the voltage value VT is temporarily changed by the fluctuation of the voltage value VT caused by the load fluctuation due to the printing state.
Will not be erroneously determined even if is larger than the predetermined value VC.

実施例では異常を判断する機能を、電力トランジスタ
51の駆動制御を行なう電子制御部35に合体する構成とし
たが、これに代えてA/DコンバータやROM等を内蔵した1
チップ形のマイクロコンピュータによって、モータの動
作に係わる各部の異常のみを判断する構成としてもよ
い。このように、専用のマイクロコンピュータを用いる
ことにより、このマイクロコンピュータ以外には、モー
タと直列に電流検出抵抗器を介装するのみで、各部の異
常を検出することができることから、汎用性が高く、か
つ部品点数の少ない異常の検出装置を提供することがで
きる。
In the embodiment, the function of judging abnormality is provided by a power transistor.
Although it is configured to be integrated with the electronic control unit 35 that controls the drive of the 51, an A / D converter, a ROM, and the like are built in instead.
The chip type microcomputer may be configured to determine only the abnormality of each part related to the operation of the motor. In this way, by using a dedicated microcomputer, other than this microcomputer, it is possible to detect an abnormality of each part only by interposing a current detection resistor in series with the motor, so that the versatility is high. In addition, it is possible to provide an abnormality detection device having a small number of parts.

[発明の効果] 本発明のモータの制御装置は、モータの停止時および
運転時、モータが適正に運転されている場合をモデルに
して求め、予め記憶している通電電流と、実際に検出し
た通電電流を反映した値とのズレに基づいて、モータの
動作に係わる各部のいずれかに異常が発生したことを判
断する。これにより、通電電流を反映した値を検出する
ことにより、モータの状態が適正でないことが判断され
ることから、モータの運転状態を実際に検出することな
くモータの動作に係わる各部に異常が発生したことを判
断することができる。
[Effects of the Invention] The motor control device according to the present invention obtains a model in which the motor is properly operated when the motor is stopped and when the motor is operating, and detects a previously stored energizing current and an actually detected current. Based on the deviation from the value reflecting the energizing current, it is determined that an abnormality has occurred in any of the units related to the operation of the motor. As a result, it is determined that the state of the motor is not appropriate by detecting a value reflecting the current supplied, and therefore, an abnormality occurs in each part related to the operation of the motor without actually detecting the operation state of the motor. Can be determined.

この結果、モータの動作に係わる各部の異常が検出さ
れないままで放置されることがなくなることからモータ
によって駆動される装置の信頼性が向上するという極め
て優れた効果を奏する。そのうえ、実際にモータの運転
をエンコーダでモニターして、モータが運転していない
状態を検出する場合に比べて、部品の構成点数を低減す
ることができるという優れた効果を奏する。
As a result, since there is no case where the abnormality of each part relating to the operation of the motor is not detected and left undetected, there is an extremely excellent effect that the reliability of the device driven by the motor is improved. In addition, compared to a case where the operation of the motor is actually monitored by the encoder and the state where the motor is not operating is detected, an excellent effect that the number of components can be reduced can be obtained.

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

第1図は本発明のモータの制御装置の基本的構成を例示
する構成図、第2図は実施例のモータの制御装置の電機
回路の構成を示す配線図、第3図は実施例のプリンタの
外観図、第4図はその印字リボン送りモータ廻りを示す
構成図、第5図は同異常判断ルーチンのフローチャー
ト、第6図はその動作の説明図である。 MA……モータ駆動手段 MB……モータ MC……通電状態検出手段 MD……計時手段 ME……通電電流記憶手段 MF……異常判断手段 1……モータの制御装置 3……印字リボン送りモータ 5……プリンタ 7……印字リボン 31……電力供給部 33……電圧検出部 35……電子制御部
FIG. 1 is a configuration diagram illustrating a basic configuration of a motor control device according to the present invention, FIG. 2 is a wiring diagram illustrating a configuration of an electric circuit of the motor control device according to the embodiment, and FIG. FIG. 4 is a block diagram showing the periphery of the print ribbon feed motor, FIG. 5 is a flowchart of the abnormality determination routine, and FIG. 6 is an explanatory diagram of the operation. MA: motor driving means MB: motor MC: energizing state detecting means MD: clocking means ME: energizing current storage means MF: abnormality judging means 1: motor control device 3: print ribbon feed motor 5 … Printer 7… Printing ribbon 31… Power supply unit 33… Voltage detection unit 35… Electronic control unit

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】モータ駆動手段によって停止,起動,定常
運転を繰り返すモータの制御装置において、 上記モータの通電電流を反映した値を検出する通電状態
検出手段と、 上記モータの起動開始時より計時を開始する計時手段
と、 上記モータの停止している時及び起動から所定時間経過
した時のモータの正常な通電電流を予め記憶している通
電電流記憶手段と、 上記モータの停止時及び上記計時手段が所定時間の計時
を終了した時に上記検出した通電電流を反映した値と、
上記記憶されている通電電流の値とを対比して、上記モ
ータの動作に係わる各部のいずれかに異常が発生したこ
とを判断する異常判断手段と を備えることを特徴とするモータの制御装置。
1. A motor control device which repeats stop, start and steady operation by a motor drive means, comprising: an energization state detection means for detecting a value reflecting an energization current of the motor; Time-measuring means for starting; current-current storage means for storing in advance a normal current-flow of the motor when the motor is stopped and when a predetermined time has elapsed from the start; and when the motor is stopped and the time-measuring means A value reflecting the detected energizing current when the clocking of the predetermined time is completed,
A motor control device comprising: an abnormality determination unit configured to determine whether an abnormality has occurred in any of the units related to the operation of the motor by comparing the stored current value with the current value.
JP1215168A 1989-08-19 1989-08-19 Motor control device Expired - Lifetime JP2861091B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1215168A JP2861091B2 (en) 1989-08-19 1989-08-19 Motor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1215168A JP2861091B2 (en) 1989-08-19 1989-08-19 Motor control device

Publications (2)

Publication Number Publication Date
JPH0378484A JPH0378484A (en) 1991-04-03
JP2861091B2 true JP2861091B2 (en) 1999-02-24

Family

ID=16667788

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1215168A Expired - Lifetime JP2861091B2 (en) 1989-08-19 1989-08-19 Motor control device

Country Status (1)

Country Link
JP (1) JP2861091B2 (en)

Also Published As

Publication number Publication date
JPH0378484A (en) 1991-04-03

Similar Documents

Publication Publication Date Title
JPH07251749A (en) Motor-driven power steering control device
US11088532B2 (en) Control device
JP2861091B2 (en) Motor control device
US11479291B2 (en) Control apparatus
JPH1042586A (en) Motor drive circuit
JPH04327953A (en) Alarm control
JPH05332215A (en) Fuel pump controller
JP2005178597A (en) Transmission-ratio-varying steering apparatus
US4948279A (en) Bidirectional printing device
JPS60132041A (en) Emergency control apparatus for fuel feeder
JP2001005521A (en) Load driving system and its failure detecting method
US5598078A (en) Device for detecting step-out of a stepping motor
JP2982790B2 (en) DC motor control circuit
JP2836709B2 (en) Printer alarm detection device
JP3365808B2 (en) Motor drive control circuit, device provided with motor drive control circuit, and motor drive control method
US11881868B2 (en) Control system, disconnection detection method, and non-transitory computer-readable medium
JP2644403B2 (en) IC and its temperature alarm control method
JPH10230859A (en) Abnormality detection controller of electric power steering system
JPH05262202A (en) Squib resistance value detecting circuit for air bag
JP2587067Y2 (en) Electric oil pump control device
JP3092182B2 (en) Safety device for turbocharger with rotating electric machine
JPH048638B2 (en)
JP2000233552A (en) Control method for printer
JPH0620341B2 (en) Motor overcurrent prevention circuit
JPH06284761A (en) Driving control method of servomotor

Legal Events

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

Free format text: PAYMENT UNTIL: 20071211

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081211

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20081211

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091211

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20091211

Year of fee payment: 11