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
JP3365808B2 - Motor drive control circuit, device provided with motor drive control circuit, and motor drive control method - Google Patents
[go: Go Back, main page]

JP3365808B2 - Motor drive control circuit, device provided with motor drive control circuit, and motor drive control method - Google Patents

Motor drive control circuit, device provided with motor drive control circuit, and motor drive control method

Info

Publication number
JP3365808B2
JP3365808B2 JP05353593A JP5353593A JP3365808B2 JP 3365808 B2 JP3365808 B2 JP 3365808B2 JP 05353593 A JP05353593 A JP 05353593A JP 5353593 A JP5353593 A JP 5353593A JP 3365808 B2 JP3365808 B2 JP 3365808B2
Authority
JP
Japan
Prior art keywords
motor
overcurrent
current
circuit
motor drive
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
JP05353593A
Other languages
Japanese (ja)
Other versions
JPH06269194A (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 JP05353593A priority Critical patent/JP3365808B2/en
Priority to US08/060,412 priority patent/US5511183A/en
Publication of JPH06269194A publication Critical patent/JPH06269194A/en
Priority to US08/460,211 priority patent/US5767647A/en
Priority to US08/854,501 priority patent/US5982120A/en
Application granted granted Critical
Publication of JP3365808B2 publication Critical patent/JP3365808B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Protection Of Generators And Motors (AREA)
  • Control Of Electric Motors In General (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、例えば、磁気テープ装
置、磁気テープライブラリ装置、磁気ディスクライブラ
リ装置など、モータを使用した各種の装置に利用される
ものであり、特に、これらの装置に使用されているモー
タの駆動時に、異常(過電流)を検出して、モータ駆動
回路の電流を制御するモータ駆動制御回路、モータ駆動
制御回路を備えた装置、及びモータ駆動制御方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used in various devices using a motor, such as a magnetic tape device, a magnetic tape library device, and a magnetic disk library device, and is particularly used in these devices. Motor drive control circuit that detects an abnormality (overcurrent) and controls the current of the motor drive circuit when the motor is driven
The present invention relates to an apparatus including a control circuit and a motor drive control method .

【0002】ところで、上記のようなモータを使用した
装置において、大きなモータを駆動させる場合や、モー
タを、短時間に或る一定の回転数に制限させる場合に
は、モータを駆動するトルクにもよるが、より多くの電
流を必要とする。
By the way, in a device using a motor as described above, when a large motor is driven or when the motor is limited to a certain number of rotations in a short time, the torque for driving the motor is also increased. However, it requires more current.

【0003】そして、何らかの異常により、モータ駆動
回路に供給する電流が流れ過ぎた場合(過電流となった
場合)には、回路の破損防止、又は安全対策のため、モ
ータに流す電流を速やかに停止させる事が要求されてい
る。
When the current to be supplied to the motor drive circuit is excessive due to some abnormality (when an overcurrent occurs), the current to be supplied to the motor should be promptly supplied to prevent damage to the circuit or as a safety measure. It is required to stop.

【0004】このため従来、過電流を検出すると、モー
タに供給する電流を停止するプロテクト回路が供給され
ていた。このプロテクト回路が、過電流を検出すると、
例えば、リレー等の手段により電源を切断していた。し
かし、リレーの場合、電源を切断するまでに、時間がか
かってしまう。
Therefore, conventionally, when an overcurrent is detected, a protection circuit for stopping the current supplied to the motor has been supplied. When this protection circuit detects an overcurrent,
For example, the power was cut off by means of a relay or the like. However, in the case of a relay, it takes time to turn off the power.

【0005】すなわち、リレーは、その接点開放時に、
所定の接点開放時間が生じる(遅延時間が生じる)た
め、リレーがオフになるまでの間、電流(モータ駆動回
路等に流れる過電流)が流れ続けてしまう。
That is, the relay is
Since a predetermined contact opening time occurs (delay time occurs), current (overcurrent flowing in the motor drive circuit or the like) continues to flow until the relay is turned off.

【0006】また、ノイズ等による誤動作を防止するた
め、例えば、回路にフィルタを設けた場合、該フィルタ
がディレイ(遅延)回路となる。この場合、フィルタに
よりディレイしている間、電流が流れ続け、パワートラ
ンジスタや、モータ駆動回路が破損してしまう。
In order to prevent malfunction due to noise or the like, for example, when a filter is provided in the circuit, the filter serves as a delay circuit. In this case, the current continues to flow while the filter is delayed, and the power transistor and the motor drive circuit are damaged.

【0007】従って、上記のような過電流を検出した場
合、直ちに、電流の供給を停止させる必要がある。
Therefore, when the above-mentioned overcurrent is detected, it is necessary to immediately stop the current supply.

【0008】[0008]

【従来の技術】図8〜図11は、従来例を示した図であ
り、図8〜図11中、1は電源、2はモータ駆動制御回
路、3はMPU(マイクロプロセッサ)、4は過電流検
出回路、5はモータ駆動回路、6はリレー、6−1はリ
レーコイル、6−2はリレー接点、8はモータ(M)、
9はAND回路、10はインバータ、11はNAND回
路、Q1、Q2はトランジスタ、R1は過電流検出用抵
抗、R2、R3は抵抗、Cnはノイズ防止用コンデン
サ、VM 、VCCは電源の電圧を示す。
2. Description of the Related Art FIGS. 8 to 11 are views showing a conventional example. In FIGS. 8 to 11, 1 is a power source, 2 is a motor drive control circuit, 3 is an MPU (microprocessor), and 4 is an overcurrent. Current detection circuit, 5 motor drive circuit, 6 relay, 6-1 relay coil, 6-2 relay contact, 8 motor (M),
The AND circuit 9, the inverter 10, NAND circuit 11, Q1, Q2 are transistors, R1 is the overcurrent detection resistor, R2, R3 are resistances, Cn noise preventing capacitor, V M, V CC is the power supply voltage Indicates.

【0009】§1:モータ駆動制御回路のブロック図に
よる説明・・・図8参照 図8はモータ駆動制御回路のブロック図である。この例
では、モータ駆動制御回路2は、MPU(マイクロプロ
セッサ)3、過電流検出回路4、モータ駆動回路5、リ
レー6で構成されている。そして、このモータ駆動制御
回路2には、電源1より電力が供給されている。
§1: Description of block diagram of motor drive control circuit--see FIG. 8 FIG. 8 is a block diagram of the motor drive control circuit. In this example, the motor drive control circuit 2 includes an MPU (microprocessor) 3, an overcurrent detection circuit 4, a motor drive circuit 5, and a relay 6. Electric power is supplied from the power supply 1 to the motor drive control circuit 2.

【0010】上記MPU3は、モータ駆動制御回路2内
で、モータ駆動時の各種の制御等を行うものであり、モ
ータ駆動回路5は、モータ(図示省略)を駆動する回路
である。
The MPU 3 is for performing various controls during motor driving in the motor drive control circuit 2, and the motor drive circuit 5 is a circuit for driving a motor (not shown).

【0011】過電流検出回路4は、モータ駆動回路5に
流れる過電流を検出するものであり、リレー6は、モー
タ駆動回路5の電源回路をオン/オフ(開閉)するもの
である。
The overcurrent detection circuit 4 detects an overcurrent flowing through the motor drive circuit 5, and the relay 6 turns on / off (opens / closes) the power supply circuit of the motor drive circuit 5.

【0012】この場合、MPU3からモータ駆動回路5
に対しては、モータを駆動するための「モータ駆動信
号」を送り、過電流検出回路4からMPU3に対して
は、過電流検出時に、「過電流検出信号」を送る。
In this case, the MPU 3 to the motor drive circuit 5
Is sent to the MPU 3, and an "overcurrent detection signal" is sent from the overcurrent detection circuit 4 to the MPU 3 when an overcurrent is detected.

【0013】また、MPU3から過電流検出回路4に対
しては、リレー6を制御するための「イネーブル信号:
ENB」と、「パワーレディ信号:PWRDY」を送
り、過電流検出回路4からリレー6に対しては、リレー
6を駆動するための「リレードライブ信号」を送る。
Further, from the MPU 3 to the overcurrent detection circuit 4, an "enable signal for controlling the relay 6:
ENB "and" power ready signal: PWRDY "are sent, and a" relay drive signal "for driving the relay 6 is sent from the overcurrent detection circuit 4 to the relay 6.

【0014】§2:モータ駆動制御回路例の説明・・・
図9参照 図9はモータ駆動制御回路例である。この例では、モー
タ駆動回路5を、トランジスタQ1で構成する。なお、
リレー6は、リレーコイル6−1と、リレー接点6−2
で構成されている。
§2: Description of motor drive control circuit example ...
See FIG. 9. FIG. 9 shows an example of a motor drive control circuit. In this example, the motor drive circuit 5 is composed of the transistor Q1. In addition,
The relay 6 includes a relay coil 6-1 and a relay contact 6-2.
It is composed of.

【0015】また、過電流検出回路4を、トランジスタ
Q2、過電流検出用抵抗R1、抵抗R2、R3、ノイズ
防止用コンデンサCn、インバータ10、AND回路
9、NAND回路11で構成する。
The overcurrent detection circuit 4 is composed of a transistor Q2, an overcurrent detection resistor R1, resistors R2 and R3, a noise prevention capacitor Cn, an inverter 10, an AND circuit 9 and a NAND circuit 11.

【0016】上記過電流検出用抵抗R1は、モータ駆動
回路のトランジスタQ1に流れる過電流を検出するため
の抵抗であり、AND回路9は、MPU3から送られて
くる「イネーブル信号:ENB」と、「パワーレディ信
号:PWRDY」の論理和を出力する回路である。
The overcurrent detecting resistor R1 is a resistor for detecting an overcurrent flowing through the transistor Q1 of the motor drive circuit, and the AND circuit 9 receives the "enable signal: ENB" sent from the MPU3. This is a circuit that outputs the logical sum of "power ready signals: PWRDY".

【0017】§3:MPUの処理の説明・・・図10参
照 図10は、モータ駆動制御回路内のMPUの処理フロー
チャートである。以下、図10の動作フローチャートに
基づいて、上記MPUの処理を説明する。なお、S1〜
S11は、各処理番号を示す。
§3: Description of MPU Processing--See FIG. 10 FIG. 10 is a processing flowchart of the MPU in the motor drive control circuit. Hereinafter, the processing of the MPU will be described based on the operation flowchart of FIG. In addition, S1
S11 indicates each processing number.

【0018】:MPU3は、リレー6をオンさせる前
に、過電流検出回路4から、過電流検出信号が出力され
ているかどうかを確認する(S1)。この時、リレー6
がまだオンしていないので、もし、過電流検出信号が出
力されていたら、MPU3では、ハードエラーとして処
理する(S2)。
Before the relay 6 is turned on, the MPU 3 confirms whether an overcurrent detection signal is output from the overcurrent detection circuit 4 (S1). At this time, relay 6
Since it has not been turned on yet, if the overcurrent detection signal is output, the MPU 3 processes it as a hard error (S2).

【0019】:しかし、過電流検出回路4から、過電
流検出信号が出力されていない場合には、MPU3は、
イネーブル信号(ENB)をセット(過電流検出回路に
出力)し、リレー6をオン(リレー接点6−2を閉成)
させる(S3)。
However, when the overcurrent detection signal is not output from the overcurrent detection circuit 4, the MPU 3
Set enable signal (ENB) (output to overcurrent detection circuit) and turn on relay 6 (close relay contact 6-2)
(S3).

【0020】:次に、MPU3は、もう一度、上記過
電流検出信号をチェックし、どこかショートしていない
か確認(S4)する。なお、この時、モータ8は停止し
ている。
Next, the MPU 3 checks the above-mentioned overcurrent detection signal again to confirm whether there is any short circuit (S4). At this time, the motor 8 is stopped.

【0021】:過電流検出信号をチェックした結果、
もし、異常がなければ、MPU3より、モータ駆動信号
が出力され、モータ駆動回路5のトランジスタQ1によ
りモータ8を駆動する(S5)。これによりモータ8が
回転する。
As a result of checking the overcurrent detection signal,
If there is no abnormality, the MPU 3 outputs a motor drive signal, and the transistor Q1 of the motor drive circuit 5 drives the motor 8 (S5). This causes the motor 8 to rotate.

【0022】:次に、MPU3では、更に上記過電流
検出信号をチェックし、モータ駆動回路に異常がない事
を確認する(S6)。 :その後、MPU3からモータ駆動回路のトランジス
タQ1に、モータ停止命令を出すと(S7)、トランジ
スタQ1はオフとなり、モータ8は停止する(S8)。
Next, the MPU 3 further checks the overcurrent detection signal to confirm that the motor drive circuit has no abnormality (S6). After that, when the MPU 3 issues a motor stop command to the transistor Q1 of the motor drive circuit (S7), the transistor Q1 is turned off and the motor 8 is stopped (S8).

【0023】また、上記モータ停止命令がなければ、S
6の処理に戻り、過電流検出信号をチェックする。な
お、この場合、MPU3は、上位制御装置からのコマン
ドを受信して、上記モータ停止/駆動等の命令を出す。
If there is no motor stop command, S
Returning to the process of 6, the overcurrent detection signal is checked. In this case, the MPU 3 receives a command from the host controller and issues a command to stop / drive the motor.

【0024】:上記S6で、MPU3が過電流検出信
号を検出した場合には、該MPU3は、過電流検出回路
4に対しリレー6をオフにするための制御信号(EN
B)を出力する。
When the MPU 3 detects the overcurrent detection signal in S6, the MPU 3 instructs the overcurrent detection circuit 4 to turn off the relay 6 (EN).
B) is output.

【0025】これにより、過電流検出回路4では、リレ
ーコイル6−1の励磁電流をオフにし、リレー接点6−
2を開いて、モータ駆動回路5に流れていた電流を遮断
する(S10)。
As a result, in the overcurrent detection circuit 4, the exciting current of the relay coil 6-1 is turned off and the relay contact 6-
2 is opened to interrupt the current flowing through the motor drive circuit 5 (S10).

【0026】:上記処理(S4、S6)において、過
電流検出回路4が過電流を検出した際、MPU3に対し
て、異常(過電流)があったことを報告する。MPU3
は、過電流検出回路4より、異常の報告を受けたなら
ば、イネーブル信号(ENB)をリセットした後、エラ
ー表示する(S11)。
In the above processing (S4, S6), when the overcurrent detection circuit 4 detects an overcurrent, it reports to the MPU 3 that there is an abnormality (overcurrent). MPU3
If the abnormal current is received from the overcurrent detection circuit 4, the error signal is displayed after resetting the enable signal (ENB) (S11).

【0027】§4:タイミングチャートによる動作の説
明・・・図11参照 図11は、モータ駆動制御回路の動作時のタイミングチ
ャートである。図11において、t0 〜t3 は各時刻で
あり、P1〜P3は図9の各点を示す。また、T1は過
電流検出時間、T2はリレー開放時間、T3は過電流が
流れる時間を示す。
§4: Description of Operation by Timing Chart ... See FIG. 11 FIG. 11 is a timing chart during operation of the motor drive control circuit. In FIG. 11, t 0 to t 3 are times, and P1 to P3 are points in FIG. Further, T1 indicates an overcurrent detection time, T2 indicates a relay opening time, and T3 indicates a time when an overcurrent flows.

【0028】以下、図8、図9を参照しながら、図11
のタイミングチャートに基づいて、過電流検出時の動作
を説明する。今、モータ8が駆動状態で、該モータ8に
過電流が流れたとする。この時刻をt0 とする。その
後、P2の電流が上昇し、過電流の検出値になった時刻
をt1とする。
Hereinafter, referring to FIG. 8 and FIG. 9, FIG.
The operation at the time of overcurrent detection will be described based on the timing chart of FIG. Now, it is assumed that the motor 8 is in a driving state and an overcurrent flows through the motor 8. This time is defined as t 0 . After that, the time at which the current of P2 rises and reaches the overcurrent detection value is set as t 1 .

【0029】この時点より、過電流検出回路4では、過
電流が流れたと判断し、リレー6をオフ(回路を開く)
にする動作に入る。この後、過電流検出信号がローレベ
ルからハイレベル(Lo→Hi)になった時刻をt2
すると、t1 〜t2 の時間が、過電流検出回路4での過
電流検出時間T1となる。
From this point on, the overcurrent detection circuit 4 judges that an overcurrent has flown, and turns off the relay 6 (opens the circuit).
Enter the action to. Thereafter, when the overcurrent detection signal is a time at which transitions from low level to high level (Lo → Hi) and t 2, the time t 1 ~t 2 is an overcurrent detection time T1 of the overcurrent detection circuit 4 Become.

【0030】また、この時間T1は、過電流の検出値、
及びノイズ防止用コンデンサCnにより異なる(数十m
s)。更に、過電流検出回路4が過電流を検出し、リレ
ードライブ信号をオフにしてから、リレー接点6−2が
オフになる(開く)時刻をt3 とすると、t2 〜t3
時間がリレー開放時間T2となる。
Further, this time T1 is the detected value of the overcurrent,
And it depends on the noise prevention capacitor Cn (several tens m
s). Further, the overcurrent detection circuit 4 detects the overcurrent, turn off the relay drive signal, when the relay contacts 6-2 are turned off (open) time to the t 3, the time t 2 ~t 3 The relay opening time T2 is reached.

【0031】従って、実際に過電流が流れる時間は、t
0 〜t3 までの時間T3となる。このt0 〜t3 までの
時間には、P2の電圧も低下するが、この電圧の低下に
伴い、P1の電圧(MPU3に供給する電圧)も低下す
る。このため、リレー6がオフになる前に、MPU3に
リセットがかかってしまう。
Therefore, the time when the overcurrent actually flows is t
0 is the time T3 until ~t 3. During the period from t 0 to t 3 , the voltage of P2 also decreases, but with the decrease of this voltage, the voltage of P1 (voltage supplied to MPU3) also decreases. Therefore, the MPU 3 is reset before the relay 6 is turned off.

【0032】[0032]

【発明が解決しようとする課題】上記のような従来のも
のにおいては、次のような課題があった。 :従来のモータ駆動制御回路2においては、電源1と
モータ駆動回路5の間に、モータへの供給電流を遮断す
るためのリレー6と、過電流検出用抵抗R1を挿入し、
その過電流検出用抵抗R1に流れる電流を電圧に変換し
ていた。
SUMMARY OF THE INVENTION The above-mentioned conventional devices have the following problems. In the conventional motor drive control circuit 2, a relay 6 for cutting off the current supplied to the motor and an overcurrent detection resistor R1 are inserted between the power supply 1 and the motor drive circuit 5.
The current flowing through the overcurrent detection resistor R1 was converted into a voltage.

【0033】つまり、過電流検出用抵抗R1に、電流が
流れると、該抵抗R1の両端に、電圧が発生するが、そ
の電圧をトランジスタQ2のベース、エミッタ間に加
え、該トランジスタQ2がオンする電圧になった時に、
過電流を検出するように上記抵抗R1の抵抗値を決め、
過電流値を設定していた。
That is, when a current flows through the overcurrent detection resistor R1, a voltage is generated across the resistor R1. The voltage is applied between the base and emitter of the transistor Q2 to turn on the transistor Q2. When the voltage is reached,
Determine the resistance value of the resistor R1 to detect overcurrent,
The overcurrent value was set.

【0034】ところが、ノイズ等による誤動作を防止す
るため、上記トランジスタQ2のベース、エミッタ間に
は、ノイズ防止用コンデンサCnを接続し、過電流を検
出する迄に、少し時間を持たせていた。
However, in order to prevent malfunction due to noise or the like, a noise prevention capacitor Cn is connected between the base and emitter of the transistor Q2, and a little time is required until an overcurrent is detected.

【0035】また、過電流を検出した後、リレー接点が
オフ(開放)されるが、リレー6には、リレー接点開放
時間があるため、電流停止まで、更に時間がかかる。従
って、過電流を検出したにもかかわらず、或る一定時
間、回路に電流が流れ続けることになる。
Further, after detecting the overcurrent, the relay contact is turned off (opened), but since the relay 6 has a relay contact opening time, it takes further time until the current is stopped. Therefore, even if the overcurrent is detected, the current continues to flow in the circuit for a certain period of time.

【0036】その結果、電源1の電圧が降下(低下)し
たり、モータ駆動回路5の破損が生じることもあった。 :上記電源1は、1つの電源ユニットで、多種の電源
電圧(例えば、12V、5V)に変換している場合があ
る。
As a result, the voltage of the power supply 1 may drop (decrease) or the motor drive circuit 5 may be damaged. The power supply 1 may be converted into various power supply voltages (for example, 12V and 5V) by one power supply unit.

【0037】このような場合、上記過電流発生時に生じ
る電源電圧降下(低下)は、上記電源を使用している部
分に全て悪影響を与える。上記従来例では、電圧V
CCと、電圧VM を1つの電源1から供給している。従っ
て、過電流が発生すると、電圧VCCが低下するだけでな
く、MPU3の電源電圧VM も低下してしまう。
In such a case, the power supply voltage drop (reduction) that occurs when the overcurrent occurs adversely affects all parts using the power supply. In the above conventional example, the voltage V
CC and voltage V M are supplied from one power supply 1. Therefore, when an overcurrent occurs, not only the voltage V CC decreases, even when the power supply voltage V M of MPU3 decreases.

【0038】その結果、MPU3では、リセットがかか
り、過電流検出後の復旧が出来なくなる。 :一方、過電流検出用抵抗R1を、電源1とモータ駆
動回路5との間に、直列に挿入しているため、該抵抗R
1での損失が大きくなる。
As a result, the MPU 3 is reset and cannot be recovered after the overcurrent is detected. On the other hand, since the overcurrent detection resistor R1 is inserted in series between the power supply 1 and the motor drive circuit 5, the resistor R1
The loss at 1 becomes large.

【0039】:過電流検出値を大きな値に設定しよう
とすれば、過電流検出用抵抗R1の抵抗値を小さくする
必要があり、大きな抵抗(外形が大きい抵抗器)が必要
となる。
To set the overcurrent detection value to a large value, it is necessary to reduce the resistance value of the overcurrent detection resistor R1 and a large resistance (a resistor having a large outer shape) is required.

【0040】また、過電流検出値を小さな値に設定しよ
うとすれば、過電流検出用抵抗R1の抵抗値を大きくす
る必要があり、該抵抗R1での電圧降下が大きくなっ
て、損失も大きくなる。
If the overcurrent detection value is set to a small value, it is necessary to increase the resistance value of the overcurrent detection resistor R1, the voltage drop at the resistor R1 becomes large, and the loss becomes large. Become.

【0041】本発明は、このような従来の課題を解決
し、モータ、又はモータ駆動回路に発生した異常を検出
した際、直ちに、モータ駆動回路に供給している電流を
抑制することにより、モータ駆動回路等の破損等を防止
出来るようにすることを目的とする。
The present invention solves the conventional problems as described above, and when an abnormality that occurs in a motor or a motor drive circuit is detected, the current supplied to the motor drive circuit is immediately suppressed to thereby improve the motor. The purpose is to prevent damage to the drive circuit and the like.

【0042】[0042]

【課題を解決するための手段】図1は本発明の原理説明
図であり、図1中、図8〜図11と同じものは、同一符
号で示してある。また、13は電流制御回路、14はモ
ータ異常検出回路、15は異常電流監視回路、16は差
動増幅器、17はコンパレータ、21、22、23、2
4はインバータ、25、26はAND回路、27はNA
ND回路、Q1、Q3、Q4はトランジスタ、R1は過
電流検出用抵抗、R4、R5は抵抗を示す。
FIG. 1 is a diagram for explaining the principle of the present invention. In FIG. 1, the same parts as those in FIGS. 8 to 11 are designated by the same reference numerals. Further, 13 is a current control circuit, 14 is a motor abnormality detection circuit, 15 is an abnormal current monitoring circuit, 16 is a differential amplifier, 17 is a comparator, 21, 22, 23, 2
4 is an inverter, 25 and 26 are AND circuits, 27 is NA
An ND circuit, Q1, Q3, and Q4 are transistors, R1 is an overcurrent detection resistor, and R4 and R5 are resistors.

【0043】本発明は上記の課題を解決するため、次の
ように構成した。 :モータに過電流が流れたかどうかの検出を行い、過
電流が検出された際、モータに過電流が流れて異常状態
であることを示すモータ異常検出信号を出力するモータ
異常検出手段と、モータの過電流検出時に、前記モータ
異常検出信号により、モータ駆動電流を、予め設定して
おいた電流値に制限して減らす電流制御手段と、前記電
流制御手段によりモータ駆動電流を減らした状態で、モ
ータに過電流が流れたかどうかの検出を行い、該過電流
が検出された際、モータに過電流が流れたことを示す過
電流検出信号を出力する過電流検出手段と、前記過電流
検出信号とモータ異常検出信号とを入力してノイズによ
る一時的な過電流を検出したのか、障害による本当の過
電流を検出したのかを監視し、モータ駆動電流を減らし
た状態で、前記過電流検出手段により、モータの過電流
を検出した際、本当の過電流を検出したと判断し、モー
タ駆動電流を遮断する信号を出力する異常電流監視手段
を備えたことを特徴とするモータ駆動制御回路。
In order to solve the above problems, the present invention has the following constitution. : Detects whether an overcurrent has flown to the motor and
When a current is detected, an overcurrent flows to the motor, causing an abnormal condition.
That outputs a motor abnormality detection signal indicating that
The abnormality detection means and the motor when the motor overcurrent is detected
Set the motor drive current in advance by the abnormality detection signal.
Current control means for limiting and reducing the current value to
Current control means with the motor drive current reduced,
It detects whether an overcurrent has flown to the
Is detected, it indicates that an overcurrent has flown into the motor.
An overcurrent detecting means for outputting a current detection signal, and the overcurrent
By inputting the detection signal and the motor abnormality detection signal,
Is a temporary overcurrent detected?
Monitor whether current is detected and reduce motor drive current
The overcurrent of the motor,
When it detects the
A motor drive control circuit comprising an abnormal current monitoring means for outputting a signal for cutting off the drive current .

【0044】(2) :前記(1) のモータ駆動制御回路にお
いて、前記電流制御手段は、モータ異常検出信号によ
り、いずれか一方がオンで、他方がオフとなるように制
御される2つのスイッチ素子(トランジスタQ3、Q
4)を備え、これら2つのスイッチ素子を並列接続する
と共に、2つのスイッチ素子の内、いずれか一方のスイ
ッチ素子(例えば、トランジスタQ4)に、回路に流れ
る過電流を検出するための過電流検出用抵抗R1と、モ
ータに流れる電流を制御するための電流制御用抵抗R4
とを直列に接続したことを特徴とする。
(2): In the motor drive control circuit of (1) above
In addition, the current control means responds to the motor abnormality detection signal.
Control so that one is on and the other is off.
Two switch elements controlled (transistors Q3, Q
4), and these two switch elements are connected in parallel
With one of the two switch elements,
Switch element (eg, transistor Q4) to the circuit
Overcurrent detection resistor R1 for detecting overcurrent
Current control resistor R4 for controlling the current flowing through the motor
It is characterized in that and are connected in series.

【0045】:モータに過電流が流れたかどうかの検
出を行い、過電流が検出された際、モータに過電流が流
れて異常状態であることを示すモータ異常検出信号を出
力するモータ異常検出手段と、モータの過電流検出時
に、前記モータ異常検出信号により、モータ駆動電流
を、予め設定しておいた電流値に制限して減らす電流制
御手段と、前記電流制御手段によりモータ駆動電流を減
らした状態で、モータに過電流が流れたかどうかの検出
を行い、該過電流が検出された際、モータに過電流が流
れたことを示す過電流検出信号を出力する過電流検出手
段と、前記過電流検出信号とモータ異常検出信号とを入
力してノイズによる一時的な過電流を検出したのか、障
害による本当の過電流を検出したのかを監視し、モータ
駆動電流を減らした状態で、前記過電流検出手段によ
り、モータの過電流を検出した際、本当の過電流を検出
したと判断し、モータ駆動電流を遮断する信号を出力す
異常電流監視手段を有するモータ駆動制御回路を備え
た装置。
[0045]: Detection of whether an overcurrent has flown into the motor
Output, and when an overcurrent is detected, an overcurrent flows to the motor.
Output a motor abnormality detection signal that indicates an abnormal condition.
When the motor abnormality detection means that applies a force and when the motor overcurrent is detected
The motor drive current according to the motor abnormality detection signal
Is limited to a preset current value to reduce
Control means and the current control means reduce the motor drive current
Detection of overcurrent in the motor under
When the overcurrent is detected, the overcurrent flows to the motor.
The overcurrent detection signal that indicates that
Stage, the overcurrent detection signal and the motor abnormality detection signal
Force to detect a temporary overcurrent due to noise.
Monitor whether the actual overcurrent due to harm is detected,
With the drive current reduced, the overcurrent detection means
When a motor overcurrent is detected, the true overcurrent is detected
Signal is output and a signal to cut off the motor drive current is output.
That abnormal current device provided with a motor drive control circuit having a monitoring means.

【0046】(4) :モータに過電流が流れたことを検出
する過電流検出手段と、モータ異常を検出するモータ異
常検出手段と、モータ異常時にモータ駆動電流を制御す
る電流制御手段と、過電流とモータ異常とを監視し、モ
ータへの給電を制御する異常電流監視手段を有するモー
タ駆動制御回路を備えた装置のモータ駆動制御方法であ
って、前記モータ異常検出手段で、モータ又はモータ駆
動回路の異常を検出した際、モータ駆動回路に流れる電
流を遮断することなく、モータ異常検出手段から出力さ
れたモータ異常検出信号により、前記電流制御手段を電
流制御モードに切り換えて、モータ駆動回路に流れる電
流を減衰させることを特徴とするモータ駆動制御方法。
(4): Detecting that an overcurrent has flown into the motor
Between the overcurrent detection means and the motor that detects the motor abnormality.
Always detecting means and controlling the motor drive current when the motor is abnormal
Current control means, monitoring overcurrent and motor abnormality, and monitoring
Motor with an abnormal current monitoring means for controlling the power supply to the motor.
A motor drive control method for an apparatus including a motor drive control circuit
Therefore, the motor abnormality detection means is used to drive the motor or the motor drive.
When an abnormality in the drive circuit is detected, the electric current flowing to the motor drive circuit
Output from the motor abnormality detection means without interrupting the flow.
The current control means is turned on by the detected motor abnormality detection signal.
Flow control mode to switch the current flowing to the motor drive circuit.
A motor drive control method characterized by dampening a flow.

【0047】[0047]

【0048】[0048]

【作用】上記構成に基づく本発明の作用を、図1に基づ
いて説明する。モータ駆動回路5によるモータ8の駆動
状態で、モータ8、又はモータ駆動回路5に過電流が流
れ始めると、コンパレータ17から出力されるモータ異
常検出信号は、ローレベルLoとなる。またこの時、イ
ンバータ23の出力は、ハイレベルHiとなる。
The operation of the present invention based on the above configuration will be described with reference to FIG. When an overcurrent starts to flow in the motor 8 or the motor drive circuit 5 while the motor 8 is being driven by the motor drive circuit 5, the motor abnormality detection signal output from the comparator 17 becomes a low level Lo. Further, at this time, the output of the inverter 23 becomes the high level Hi.

【0049】モータ異常検出信号がローレベルLoにな
ると、電流制御回路13では、スイッチ素子であるトラ
ンジスタQ4をオン、トランジスタQ3をオフにして、
直ちに電流制御モードに入る。
When the motor abnormality detection signal becomes low level Lo, the current control circuit 13 turns on the transistor Q4, which is a switching element, and turns off the transistor Q3.
Immediately enters the current control mode.

【0050】この状態では、電流制御用抵抗R4によ
り、モータ駆動回路5に流れる電流を予め設定しておい
た電流値に制限する。この電流制御モードの状態で、過
電流検出回路4が過電流を検出すると、過電流検出信号
が、ハイレベル(過電流検出回路内部ではローレベルL
o)に変化する。
In this state, the current controlling resistor R4 limits the current flowing through the motor drive circuit 5 to a preset current value. When the overcurrent detection circuit 4 detects an overcurrent in this current control mode, the overcurrent detection signal is high level (low level L in the overcurrent detection circuit).
o).

【0051】この時、異常電流監視回路15では、モー
タ異常検出信号、及び過電流検出信号が、共にハイレベ
ルHiになっているため、リレードライブ信号をオフに
し、モータ駆動回路5の電流を遮断する。
At this time, in the abnormal current monitoring circuit 15, since both the motor abnormality detection signal and the overcurrent detection signal are at the high level Hi, the relay drive signal is turned off and the current of the motor drive circuit 5 is cut off. To do.

【0052】以上のように、モータ、又はモータ駆動回
路5等の異常(過電流)を検出後、直ちに電流制御モー
ドに入り、モータ駆動回路5の電流を制限する。また、
電流制御モード期間中に、過電流検出回路4により過電
流を検出すると、異常電流監視回路15では、リレーを
オフにし、モータ駆動回路5への電流供給を遮断する。
As described above, immediately after an abnormality (overcurrent) in the motor or the motor drive circuit 5 is detected, the current control mode is entered to limit the current of the motor drive circuit 5. Also,
When the overcurrent detection circuit 4 detects an overcurrent during the current control mode, the abnormal current monitoring circuit 15 turns off the relay and cuts off the current supply to the motor drive circuit 5.

【0053】すなわち、異常(過電流)検出時に、モー
タ駆動回路に流れる電流を減らした状態で、ノイズによ
り過電流を検出したのか、又は、本当にモータ駆動回路
の異常、モータのショート等により過電流を検出したの
かを、判断している。
That is, at the time of detecting an abnormality (overcurrent), whether the overcurrent is detected by noise while the current flowing through the motor drive circuit is reduced, or the overcurrent is actually caused by an abnormality of the motor drive circuit or a short circuit of the motor. It is determined whether or not is detected.

【0054】そして、ノイズにより過電流を検出した場
合(誤動作)には、直ちに電流を元に戻し、本当に過電
流を検出した場合には、電流の供給を停止するように制
御している。
When an overcurrent is detected due to noise (malfunction), the current is immediately returned to the original state, and when the overcurrent is really detected, the current supply is stopped.

【0055】従って、過電流を正確に検出すると共に、
リレーの動作時間と関係なく、モータ駆動回路5に過電
流が流れている時間を短く(従来例と比べて)する事が
出来るから、モータ、或いは、モータ駆動回路5等の破
損等を防止出来る。
Therefore, the overcurrent is accurately detected, and
Regardless of the operating time of the relay, the time during which the overcurrent flows in the motor drive circuit 5 can be shortened (compared to the conventional example), so that damage to the motor or the motor drive circuit 5 can be prevented. .

【0056】また、過電流が流れた場合、MPU3の電
源電圧VM は低下するが、リセットされるには及ばな
い。
When an overcurrent flows, the power supply voltage V M of the MPU 3 drops, but it does not have to be reset.

【0057】[0057]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。 (第1実施例の説明)図2〜図6は、本発明の第1実施
例を示した図であり、図2〜図6中、図1、図8〜図1
1と同じものは、同一符号で示してある。また、19は
オペアンプ、25、26はAND回路、27はNAND
回路を示す。
Embodiments of the present invention will be described below with reference to the drawings. (Description of First Embodiment) FIGS. 2 to 6 are views showing a first embodiment of the present invention, in which FIGS. 1 and 8 to 1 are shown in FIGS.
The same components as 1 are designated by the same reference numerals. Further, 19 is an operational amplifier, 25 and 26 are AND circuits, and 27 is a NAND.
The circuit is shown.

【0058】§1:モータ駆動制御回路のブロック図に
よる説明・・・図2参照 図2は、モータ駆動制御回路のブロック図である。図示
のように、モータ駆動制御回路2は、MPU(マイクロ
プロセッサ)3、過電流検出回路4、モータ駆動回路
5、リレー6、電流制御回路13、モータ異常検出回路
14、異常電流監視回路15で構成されている。
§1: Description of block diagram of motor drive control circuit--see FIG. 2 FIG. 2 is a block diagram of the motor drive control circuit. As illustrated, the motor drive control circuit 2 includes an MPU (microprocessor) 3, an overcurrent detection circuit 4, a motor drive circuit 5, a relay 6, a current control circuit 13, a motor abnormality detection circuit 14, and an abnormal current monitoring circuit 15. It is configured.

【0059】そして、このモータ駆動制御回路2には、
電源1より電力が供給されている。各部の機能は、次の
通りである。 (a):電源1は、モータ駆動制御回路2の各部(モー
タを含む)に電力を供給する電源(電源ユニット)であ
り、複数の異なる電圧(例えば、5V、12V)を発生
するものである。
The motor drive control circuit 2 includes
Power is supplied from the power supply 1. The function of each part is as follows. (A): The power supply 1 is a power supply (power supply unit) that supplies power to each unit (including the motor) of the motor drive control circuit 2, and generates a plurality of different voltages (for example, 5V and 12V). .

【0060】(b):リレー6は、モータ駆動回路5の
電源回路を開閉するものであり、異常電流監視回路15
からのリレードライブ信号により、オン/オフ(開閉)
制御される。
(B): The relay 6 opens and closes the power supply circuit of the motor drive circuit 5, and the abnormal current monitoring circuit 15
ON / OFF (open / close) by relay drive signal from
Controlled.

【0061】(c):MPU(マイクロプロセッサ)3
は、モータ駆動制御回路2の各種制御を行うプロセッサ
であり、モータを駆動するためのモータ駆動信号と、リ
レー6をオン/オフさせるためのイネーブル信号(EN
B)と、パワーレディ信号(PWRDY)信号を制御す
る。
(C): MPU (microprocessor) 3
Is a processor for performing various controls of the motor drive control circuit 2, and includes a motor drive signal for driving the motor and an enable signal (EN) for turning on / off the relay 6.
B) and the power ready signal (PWRDY) signal.

【0062】また、MPU3では、上記処理を行う際、
異常電流監視回路15から送られて来る異常電流検出信
号と、過電流検出信号(過電流検出回路4で検出した信
号)を受信して、上記処理を行う。
In the MPU3, when performing the above processing,
The abnormal current detection signal sent from the abnormal current monitoring circuit 15 and the overcurrent detection signal (the signal detected by the overcurrent detection circuit 4) are received and the above processing is performed.

【0063】(d):過電流検出回路4は、モータ駆動
回路5に流れる過電流を検出するものであり、モータ駆
動回路5、或いは他の回路部でのショート(短絡)によ
り一定の電流(過電流)が流れた事を検出するものであ
る。
(D): The overcurrent detection circuit 4 detects an overcurrent flowing through the motor drive circuit 5, and a constant current (short circuit) is generated due to a short circuit in the motor drive circuit 5 or another circuit section. Overcurrent) is detected.

【0064】(e):モータ駆動回路5は、MPU3か
らのモータ駆動信号に基づいて、モータを駆動するもの
である。 (f):モータ異常検出回路14は、モータ、或いはモ
ータ駆動回路5の異常(過電流)を検出するものであ
る。
(E): The motor drive circuit 5 drives the motor based on the motor drive signal from the MPU 3. (F): The motor abnormality detection circuit 14 detects an abnormality (overcurrent) of the motor or the motor drive circuit 5.

【0065】(g):電流制御回路13は、モータ異常
検出回路14からのモータ異常検出信号により、モータ
駆動回路5に流す電流を制御するものである。 (h):異常電流監視回路15は、過電流検出回路4か
らの過電流検出信号、モータ異常検出回路14からのモ
ータ異常検出信号等の信号を監視すると共に、MPU3
からのイネーブル信号、パワーレディ信号を監視して、
リレー6のオン/オフを制御したり、異常状態の発生
を、MPU3に報告するものである。
(G): The current control circuit 13 controls the current flowing through the motor drive circuit 5 according to the motor abnormality detection signal from the motor abnormality detection circuit 14. (H): The abnormal current monitoring circuit 15 monitors signals such as an overcurrent detection signal from the overcurrent detection circuit 4, a motor abnormality detection signal from the motor abnormality detection circuit 14, and the MPU 3
Monitor the enable signal and power ready signal from
The relay 6 controls ON / OFF of the relay 6 and reports the occurrence of an abnormal state to the MPU 3.

【0066】この場合、異常電流監視回路15では、異
常が発生すると、直ちにリレー6をオフ(開く)にし
て、電流の供給を停止させる制御を行う。この時、MP
U3に対して、異常の報告を行う(異常電流検出信号の
送出)。
In this case, in the abnormal current monitoring circuit 15, when an abnormality occurs, the relay 6 is immediately turned off (opened) to stop the current supply. At this time, MP
An abnormality is reported to U3 (transmission of an abnormal current detection signal).

【0067】なお、過電流検出回路4から出力された過
電流検出信号は、異常電流監視回路15を経由して、M
PU3へ送られる。 §2:モータ駆動制御回路例の説明・・・図3参照 図3はモータ駆動制御回路例である。この例は、図2に
示したブロック図の具体的な回路例である。モータ駆動
制御回路の各回路の構成、及び機能は、次の通りであ
る。
The overcurrent detection signal output from the overcurrent detection circuit 4 is passed through the abnormal current monitoring circuit 15 to the M
It is sent to PU3. §2: Description of motor drive control circuit example ... See FIG. 3 FIG. 3 is an example of a motor drive control circuit. This example is a specific circuit example of the block diagram shown in FIG. The configuration and function of each circuit of the motor drive control circuit are as follows.

【0068】(a):電流制御回路13は、トランジス
タQ3、Q4、インバータ21、過電流検出用抵抗R
1、電流制御用抵抗R4で構成する。この2つのトラン
ジスタQ3、Q4は、並列に接続し、一方のトランジス
タQ4には、過電流検出用抵抗R1と、電流制御用抵抗
R4を直列接続する。
(A): The current control circuit 13 includes transistors Q3 and Q4, an inverter 21, and an overcurrent detection resistor R.
1. The current control resistor R4. The two transistors Q3 and Q4 are connected in parallel, and the overcurrent detection resistor R1 and the current control resistor R4 are connected in series to one transistor Q4.

【0069】また、トランジスタQ3のベースには、イ
ンバータ21を介して、モータ異常検出回路14からの
モータ異常検出信号を入力し、トランジスタQ4のベー
スには、モータ異常検出回路14からのモータ異常検出
信号をそのまま入力する。
Further, the motor abnormality detection signal from the motor abnormality detection circuit 14 is input to the base of the transistor Q3 via the inverter 21, and the motor abnormality detection circuit 14 detects the motor abnormality from the transistor Q4 base. Input the signal as it is.

【0070】従って、上記モータ異常検出信号がハイレ
ベルHiならば、トランジスタQ3がオン、トランジス
タQ4がオフとなる。また、モータ異常検出信号がロー
レベルLoならば、トランジスタQ3がオフ、トランジ
スタQ4がオン(電流制御モード)となる。
Therefore, when the motor abnormality detection signal is at the high level Hi, the transistor Q3 is turned on and the transistor Q4 is turned off. If the motor abnormality detection signal is at the low level Lo, the transistor Q3 is turned off and the transistor Q4 is turned on (current control mode).

【0071】上記電流制御用抵抗R4は、過電流を検出
した時に、電流を制限すればよく、例えば、モータ最大
電流の1/10程度流れるように抵抗値を決めている。
過電流検出用抵抗R1は、電流制御を行っている間に過
電流が流れた時、その両端に電圧が生じるものである。
The current control resistor R4 may limit the current when an overcurrent is detected. For example, the resistance value is determined so that about 1/10 of the motor maximum current flows.
The overcurrent detection resistor R1 generates a voltage across both ends of the overcurrent detection resistor R1 when an overcurrent flows during current control.

【0072】(b):過電流検出回路4は、トランジス
タQ2、ノイズ防止用コンデンサCn、抵抗R2、R
3、R6、R7、インバータ10で構成する。この過電
流検出回路4は、電流制御回路13に設けた過電流検出
用抵抗R1の両端に発生した電圧(過電圧)を検出する
ものであり、例えば、抵抗R6、R7(ベース抵抗)の
値を同じ値にしておく。
(B): The overcurrent detection circuit 4 includes a transistor Q2, a noise prevention capacitor Cn, and resistors R2 and R.
3, R6, R7, and the inverter 10. The overcurrent detection circuit 4 detects a voltage (overvoltage) generated across the overcurrent detection resistor R1 provided in the current control circuit 13, and, for example, the values of the resistors R6 and R7 (base resistors) are detected. Keep the same value.

【0073】1例として、過電流検出用抵抗R1の抵抗
値をR、トランジスタQ2がオンするベース、エミッタ
電圧をVBEとすると、過電流IO を検出する値は、IO
=(2×VBE)/Rとなる。
As an example, when the resistance value of the overcurrent detection resistor R1 is R, the base at which the transistor Q2 is turned on, and the emitter voltage are V BE , the value for detecting the overcurrent I O is I O
= (2 × V BE ) / R.

【0074】従って、電流制御回路13に設けた過電流
検出用抵抗R1の抵抗値をRを変えることにより、過電
流検出値を、任意の値に設定する事が出来る。 (c):モータ駆動回路5は、トランジスタQ1(パワ
ートランジスタ)、モータ異常検出用抵抗R5、インバ
ータ22で構成する。
Therefore, by changing the resistance value R of the overcurrent detection resistor R1 provided in the current control circuit 13, the overcurrent detection value can be set to an arbitrary value. (C): The motor drive circuit 5 includes a transistor Q1 (power transistor), a motor abnormality detection resistor R5, and an inverter 22.

【0075】モータ駆動回路5のトランジスタQ1に
は、モータ8が接続されており、該トランジスタQ1
で、モータ8を駆動する。この場合、トランジスタQ1
は、MPU3からのモータ駆動信号により、インバータ
22を介して制御される。
The motor 8 is connected to the transistor Q1 of the motor drive circuit 5, and the transistor Q1
Then, the motor 8 is driven. In this case, the transistor Q1
Are controlled via the inverter 22 by a motor drive signal from the MPU 3.

【0076】上記モータ8と並列に接続されているモー
タ異常検出用抵抗R5は、モータ8の異常、及びトラン
ジスタQ1(パワートランジスタ)の異常等を検出する
(過電流を検出)ものであり、モータ8の両端の電位差
を見ている。
The motor abnormality detecting resistor R5 connected in parallel with the motor 8 is for detecting abnormality of the motor 8 and abnormality of the transistor Q1 (power transistor) (detecting overcurrent). Looking at the potential difference between both ends of No. 8.

【0077】従って、このモータ異常検出用抵抗R5に
流す電流は小さくてもよいため、モータの抵抗に比べ
て、大きな抵抗値の抵抗を用いればよい。 (d):モータ異常検出回路14は、オペアンプ19、
抵抗R8〜R11、コンパレータ17、インバータ23
等で構成されている。
Therefore, since the current flowing through the motor abnormality detecting resistor R5 may be small, a resistor having a larger resistance value than that of the motor may be used. (D): The motor abnormality detection circuit 14 includes an operational amplifier 19,
Resistors R8 to R11, comparator 17, inverter 23
Etc.

【0078】なお、コンパレータ17には、比較用の基
準電圧(−V)が入力している。また、オペアンプ19
と、抵抗R8〜R11で差動増幅器(電圧変換手段の一
種)を構成している。
The reference voltage (-V) for comparison is input to the comparator 17. Also, the operational amplifier 19
And the resistors R8 to R11 form a differential amplifier (a kind of voltage conversion means).

【0079】モータ異常検出用抵抗R5に接続されてい
る差動増幅器(オペアンプ19、抵抗R8〜R11)
は、モータ異常検出用抵抗R5の両端に発生した電圧
を、所定の電圧に変換するものである。
A differential amplifier (op amp 19, resistors R8 to R11) connected to the motor abnormality detecting resistor R5.
Is for converting the voltage generated across the motor abnormality detecting resistor R5 into a predetermined voltage.

【0080】また、コンパレータ17の基準電圧(−
V)は、電圧VCC(+12V)の半分の負の値(−6
V)にしている。例えば、モータ駆動回路5のトランジ
スタQ1や、モータ8に障害が発生した場合、モータ異
常検出用抵抗R5に過電流が流れる事がある。この過電
流は、モータ異常検出用抵抗R5で、電圧に変換され
る。
Further, the reference voltage of the comparator 17 (-
V) is a negative value (−6) which is half the voltage V CC (+ 12V).
V). For example, if a failure occurs in the transistor Q1 of the motor drive circuit 5 or the motor 8, an overcurrent may flow in the motor abnormality detection resistor R5. This overcurrent is converted into a voltage by the motor abnormality detection resistor R5.

【0081】そして、モータ異常検出用抵抗R5に発生
した電圧は、差動増幅器を構成するオペアンプ19によ
り、所定の電圧に変換され、コンパレータ17で、基準
電圧(−V)と比較される。
The voltage generated in the motor abnormality detecting resistor R5 is converted into a predetermined voltage by the operational amplifier 19 which constitutes a differential amplifier, and is compared with the reference voltage (-V) by the comparator 17.

【0082】上記コンパレータ17の比較結果は、モー
タ異常検出信号として、電流制御回路13と、異常電流
監視回路15へ出力される。なお、モータ駆動回路が、
モータに流れる電流を制御出来るような回路であれば、
モータ8に流れる電流の変化により、モータ異常検出用
抵抗R5に流れる電流も変化する。
The comparison result of the comparator 17 is output to the current control circuit 13 and the abnormal current monitoring circuit 15 as a motor abnormality detection signal. The motor drive circuit
If it is a circuit that can control the current flowing through the motor,
The change in the current flowing through the motor 8 also changes the current flowing through the motor abnormality detection resistor R5.

【0083】このため、上記基準電圧(−V)を或る値
に設定しておけば、モータ8に流れる電流も制御する事
が出来る。 (e):異常電流監視回路15は、AND回路25、2
6、インバータ24、NAND回路27等のロジック回
路で構成する。
Therefore, if the reference voltage (-V) is set to a certain value, the current flowing through the motor 8 can be controlled. (E): The abnormal current monitoring circuit 15 includes AND circuits 25 and 2
6, a logic circuit such as an inverter 24 and a NAND circuit 27.

【0084】この異常電流監視回路15では、上記ロジ
ック回路により、MPU3からの制御信号(PWRD
Y、ENB)と、モータ異常検出回路14からのモータ
異常検出信号(インバータ23で反転した信号)と、過
電流検出回路4からの過電流検出信号を監視し、リレー
6(リレーコイル6−1、リレー接点6−2)のオン/
オフを制御する。
In the abnormal current monitoring circuit 15, the control signal (PWRD from the MPU 3 is output by the logic circuit.
Y, ENB), the motor abnormality detection signal from the motor abnormality detection circuit 14 (the signal inverted by the inverter 23), and the overcurrent detection signal from the overcurrent detection circuit 4, and the relay 6 (relay coil 6-1). , Relay contact 6-2) on /
Control off.

【0085】この場合、モータ異常検出回路14からの
モータ異常検出信号と、過電流検出回路4からの過電流
検出信号とを、AND回路26に入力し、その論理積信
号を、異常電流検出信号として、MPU3へ出力する。
また、過電流検出回路4からの過電流検出信号は、その
まま、MPU3へ出力する。
In this case, the motor abnormality detection signal from the motor abnormality detection circuit 14 and the overcurrent detection signal from the overcurrent detection circuit 4 are input to the AND circuit 26, and the logical product signal thereof is used as the abnormal current detection signal. Is output to the MPU 3.
Further, the overcurrent detection signal from the overcurrent detection circuit 4 is output to the MPU 3 as it is.

【0086】更に、AND回路25では、MPU3から
のパワーレディ信号(PWRDY)と、イネーブル信号
(ENB)とを入力して、両者の論理積信号を、NAN
D回路27に出力し、インバータ24では、AND回路
26の出力信号(異常電流検出信号)を反転して、NA
ND回路27に入力している。
Further, in the AND circuit 25, the power ready signal (PWRDY) and the enable signal (ENB) from the MPU 3 are input, and the logical product signal of both is input to NAN.
The signal is output to the D circuit 27, and the inverter 24 inverts the output signal (abnormal current detection signal) of the AND circuit 26 to output NA
It is input to the ND circuit 27.

【0087】そして、NAND回路27の出力信号によ
り、リレー6(リレーコイル6−1、リレー接点6−
2)のオン/オフを制御する。 §3:モータ駆動制御回路の動作の説明・・・図2、図
3参照 上記モータ駆動制御回路の動作は、次の通りである。な
お、Loはローレベル、Hiはハイレベルを示し、P1
〜P5は、図3に示した各位置を示す。
Then, according to the output signal of the NAND circuit 27, the relay 6 (relay coil 6-1 and relay contact 6-
2) Control on / off. §3: Description of operation of motor drive control circuit ... See FIGS. 2 and 3 The operation of the motor drive control circuit is as follows. Note that Lo indicates a low level, Hi indicates a high level, and P1
-P5 show each position shown in FIG.

【0088】:例えば、リレー6がオフであれば、リ
レー接点6−2は開いているから、モータ8には電流は
流れない。また、この時、モータ駆動回路5に設けたモ
ータ異常検出用抵抗R5にも電流が流れず、電圧も発生
しない。
For example, when the relay 6 is off, the relay contact 6-2 is open, so that no current flows through the motor 8. At this time, no current flows through the motor abnormality detection resistor R5 provided in the motor drive circuit 5 and no voltage is generated.

【0089】従って、差動増幅器を構成するオペアンプ
19の出力は、0Vとなる。この場合、コンパレータ1
7では、非反転端子(+側)を基準電圧(−V)として
いるから、コンパレータ17の出力は、LO となる。
Therefore, the output of the operational amplifier 19 which constitutes the differential amplifier becomes 0V. In this case, comparator 1
In FIG. 7, since the non-inverting terminal (+ side) is the reference voltage (−V), the output of the comparator 17 is L O.

【0090】この状態では、電流制御回路13に、コン
パレータ17のLoの出力信号が印加し、トランジスタ
Q4がオン、トランジスタQ3がオフとなり、電流制御
回路13は、電流制御モードになっている。
In this state, the Lo output signal of the comparator 17 is applied to the current control circuit 13, the transistor Q4 is turned on, the transistor Q3 is turned off, and the current control circuit 13 is in the current control mode.

【0091】この時、リレー6がオフで、リレー接点6
−2が開いているため、過電流検出用抵抗R1には、電
流が流れない。従って、過電流検出回路4のトランジス
タQ2はオフであり、過電流検出信号は、Hi(P3で
はLo)になっている。
At this time, the relay 6 is off and the relay contact 6
Since -2 is open, no current flows through the overcurrent detection resistor R1. Therefore, the transistor Q2 of the overcurrent detection circuit 4 is off, and the overcurrent detection signal is Hi (Lo in P3).

【0092】:次に、MPU3から、リレー6をオン
にするための信号(ENB)が異常電流監視回路15に
出力されると、該異常電流監視回路15では、モータ異
常検出信号、及び過電流検出信号に異常がない事を確認
し、リレーコイル6−1に電流を流して、リレー6をオ
ンにする。
Next, when the signal (ENB) for turning on the relay 6 is output from the MPU 3 to the abnormal current monitoring circuit 15, the abnormal current monitoring circuit 15 outputs a motor abnormality detection signal and an overcurrent. After confirming that the detection signal is normal, a current is passed through the relay coil 6-1 to turn on the relay 6.

【0093】この場合、異常電流監視回路15のロジッ
ク回路の状態は、次の通りである。すなわち、AND回
路26は、LoとHiの信号が入力し、出力はLo、A
ND回路25は、HiとHiの信号が入力し、出力はH
i、インバータ24の入力はLoであるから、出力はH
i、NAND回路27は、入力がHiとHiであるか
ら、出力はLoとなる。
In this case, the state of the logic circuit of the abnormal current monitoring circuit 15 is as follows. That is, the AND circuit 26 receives the signals of Lo and Hi and outputs Lo and A.
The ND circuit 25 receives Hi and Hi signals and outputs H.
i, the input of the inverter 24 is Lo, so the output is H
Since the inputs of the i and NAND circuits 27 are Hi and Hi, the output is Lo.

【0094】このため、電源VCC→リレーコイル6−1
→NAND回路27の順に電流が流れて、リレーがオン
となる。 :上記のようにして、リレーがオンになった状態で
は、電流制御回路13は、電流制御モードのままであ
る。この時、モータ駆動回路5のトランジスタQ1はオ
フであり、モータ8に電流は流れないけれども、モータ
異常検出用抵抗R5には電流が流れる。
Therefore, the power supply V CC → relay coil 6-1
→ A current flows in the order of the NAND circuit 27, and the relay is turned on. : As described above, when the relay is turned on, the current control circuit 13 remains in the current control mode. At this time, the transistor Q1 of the motor drive circuit 5 is off, and no current flows through the motor 8, but a current flows through the motor abnormality detection resistor R5.

【0095】このため、モータ異常検出回路14内のコ
ンパレータ17の出力信号は、Hi(P4でLo)とな
る。従って、電流制御回路13では、トランジスタQ4
がオフで、トランジスタQ3がオンとなり、電流制御モ
ードから、駆動モード(モータ駆動モード)に切り替わ
る。
Therefore, the output signal of the comparator 17 in the motor abnormality detection circuit 14 becomes Hi (Lo at P4). Therefore, in the current control circuit 13, the transistor Q4
Is off, the transistor Q3 is turned on, and the current control mode is switched to the drive mode (motor drive mode).

【0096】この状態で、異常がなければ、MPU3か
らのモータ駆動信号により、トランジスタQ1をオンに
して、モータ8を駆動する。この状態では、電源VCC
トランジスタQ3→トランジスタQ1→モータ8→GN
Dの順で電流が流れる。
In this state, if there is no abnormality, the transistor Q1 is turned on by the motor drive signal from the MPU 3 to drive the motor 8. In this state, the power supply V CC
Transistor Q3 → Transistor Q1 → Motor 8 → GN
Current flows in the order of D.

【0097】:このようにして、モータ8が正常に駆
動されていれば、モータ異常検出信号はHi(P4では
Lo)、過電流検出信号はHi(P3ではLo)であ
る。この状態で、もしも、モータ駆動回路5等にショー
ト電流(短絡電流)が流れたならば、モータ異常検出回
路14は、その異常を検出し、コンパレータ17の出力
信号をLo(P4ではHi)に変化させる。
In this way, when the motor 8 is normally driven, the motor abnormality detection signal is Hi (Lo in P4) and the overcurrent detection signal is Hi (Lo in P3). In this state, if a short-circuit current (short-circuit current) flows in the motor drive circuit 5 or the like, the motor abnormality detection circuit 14 detects the abnormality and outputs the output signal of the comparator 17 to Lo (Hi in P4). Change.

【0098】その結果、電流制御回路13では、トラン
ジスタQ3がオフ、トランジスタQ4がオンとなり、電
流制御モードになる。このため、モータ駆動回路5の電
流は、電流制御用抵抗R4により抑制される。
As a result, in the current control circuit 13, the transistor Q3 is turned off and the transistor Q4 is turned on, and the current control mode is set. Therefore, the current of the motor drive circuit 5 is suppressed by the current control resistor R4.

【0099】その後、電流制御モードの状態で、過電流
検出回路4が過電流を検出すると、過電流検出信号はL
o(P3ではHi)になる。このため、NAND回路2
7の出力がHiとなってリレーをオフにし、モータ駆動
回路の電流を遮断する。
After that, when the overcurrent detection circuit 4 detects an overcurrent in the current control mode, the overcurrent detection signal becomes L.
o (Hi in P3). Therefore, the NAND circuit 2
The output of 7 becomes Hi to turn off the relay and cut off the current of the motor drive circuit.

【0100】このようにして、モータ8、又はモータ駆
動回路5の異常(障害による過電流)を検出すると、直
ちに、電流制御回路13で、電流制御を行って、モータ
駆動回路の電流を抑制する。
In this way, when an abnormality (overcurrent due to a failure) in the motor 8 or the motor drive circuit 5 is detected, the current control circuit 13 immediately controls the current to suppress the current in the motor drive circuit. .

【0101】その後、電流制御モードでモータを駆動中
に、過電流検出回路4で過電流を検出すると、異常電流
監視回路15では、ノイズ等による異常でなく、本来の
異常であるとして、リレーをオフにして、モータ駆動回
路5に流れる電流を遮断する制御を行う。
Thereafter, when the overcurrent detection circuit 4 detects an overcurrent while the motor is being driven in the current control mode, the abnormal current monitoring circuit 15 determines that the relay is not an abnormality due to noise or the like but an original abnormality, The control is turned off to cut off the current flowing through the motor drive circuit 5.

【0102】§4:MPUの処理説明・・・図4、図5
参照 図4はMPUの処理フローチャート1、図5はMPUの
処理フローチャート2である。以下、図4、図5のフロ
ーチャートに基づいて、モータ駆動制御回路内のMPU
3の処理を説明する。なお、S21〜S36は、各処理
を示す。
§4: Description of MPU processing ... FIGS. 4 and 5
Reference FIG. 4 is a processing flowchart 1 of the MPU, and FIG. 5 is a processing flowchart 2 of the MPU. Hereinafter, based on the flowcharts of FIGS. 4 and 5, the MPU in the motor drive control circuit will be described.
The processing of No. 3 will be described. Note that S21 to S36 represent each process.

【0103】(a):MPU3は、リレー6をオンさせ
る前に、過電流検出信号が出力されているかどうかを、
確認する(S21)。この時、リレー6はまだオンして
いないので、もし、過電流検出信号が出力されているな
らば、ハードエラー(S23)とする。
(A): The MPU 3 determines whether the overcurrent detection signal is output before turning on the relay 6.
Confirm (S21). At this time, since the relay 6 has not been turned on yet, if the overcurrent detection signal is output, a hardware error (S23) is determined.

【0104】(b):上記過電流検出信号が出力されて
いなければ、MPU3は、イネーブル信号(ENB)を
セット(S22)し、リレー6をオンさせ、リレー接点
6−2を閉じて、電流を流す。
(B): If the above-mentioned overcurrent detection signal is not output, the MPU 3 sets the enable signal (ENB) (S22), turns on the relay 6, closes the relay contact 6-2, and outputs the current. Shed.

【0105】(c):MPU3では、上記のようにし
て、リレー6がオンした状態で、モータ異常検出信号を
チェックし、モータ異常(モータの故障、ショート)を
確認する(S24)。なお、この場合、モータは停止し
ている。
(C): In the MPU 3, the motor abnormality detection signal is checked in the state where the relay 6 is turned on as described above, and the motor abnormality (motor failure, short circuit) is confirmed (S24). In this case, the motor is stopped.

【0106】(d):この時、モータ異常(過電流)が
検出出来なければ、MPU3は、過電流検出信号がある
かどうかを確認する(S26)。そして、過電流検出信
号がなければ、MPU3は、モータ駆動信号を出力し、
モータを駆動する(S27)。これにより、モータは回
転する。
(D): If the motor abnormality (overcurrent) cannot be detected at this time, the MPU 3 confirms whether or not there is an overcurrent detection signal (S26). If there is no overcurrent detection signal, the MPU 3 outputs a motor drive signal,
The motor is driven (S27). This causes the motor to rotate.

【0107】(e):MPU3は、ここで、もう一度、
モータの異常を確認する(S28)。そして、モータの
異常がなければ、どこかでショートしていないかチェッ
ク(過電流チェック)する(S29)。
(E): The MPU 3 here again
The abnormality of the motor is confirmed (S28). Then, if there is no abnormality in the motor, it is checked whether there is any short circuit (overcurrent check) (S29).

【0108】(f):ここで、動作が終了していれば
(S30)、MPU3よりモータ停止命令がきて、モー
タは停止する(S31)。 (g):また、モータ停止命令がきてなければ、上記処
理(S28)に戻り、モータの異常をチェックする。ま
た、上記処理(S29)で、過電流を検出した場合に
も、上記処理(S28)に戻る。
(F): Here, if the operation is completed (S30), a motor stop command is received from the MPU 3 and the motor is stopped (S31). (G): If the motor stop command is not received, the process returns to the above step (S28) to check the motor for abnormality. In addition, if an overcurrent is detected in the process (S29), the process returns to the process (S28).

【0109】(h):上記処理(S28)において、モ
ータの異常を検出した場合には、直ちに、電流制御に入
る(S33)。 (i):この時、MPU3では、電流制御の状態で、過
電流が流れているかをチェックする(S34)。
(H): In the above process (S28), when the motor abnormality is detected, the current control is immediately started (S33). (I): At this time, the MPU 3 checks whether an overcurrent is flowing in the current control state (S34).

【0110】もし、過電流でなければ、ノイズによる誤
動作と見なし、再び、モータの異常をチェックする(S
28)が、過電流を検出した場合には(S34)、MP
U3は、リレー6をオフにする制御に入る(S35)。
このMPU3の制御により、リレー6はオフになり、回
路を開く。
If it is not an overcurrent, it is regarded as a malfunction due to noise, and the abnormality of the motor is checked again (S
28) detects overcurrent (S34), MP
The U3 enters control to turn off the relay 6 (S35).
By the control of this MPU 3, the relay 6 is turned off and the circuit is opened.

【0111】(j):上記S24の処理において、モー
タ異常を検出した場合には、MPU3は、異常電流をチ
ェックする(S25)。このチェックで、異常が検出さ
れれば、上記S35の処理を行うが、異常が検出されな
ければ、誤動作と見なし、上記S26の処理に移る。
(J): When the motor abnormality is detected in the processing of S24, the MPU 3 checks the abnormal current (S25). If an abnormality is detected in this check, the process of S35 is performed, but if no abnormality is detected, it is regarded as a malfunction and the process proceeds to S26.

【0112】(k):上記S24、S25、S34の処
理で、異常を検出した場合には、異常電流監視回路15
により、リレー6をオフにして(S35)、電源を切断
する。また、異常電流監視回路15では、MPU3に対
して、異常があった事を報告する(S36)。
(K): When an abnormality is detected in the processing of S24, S25, S34, the abnormal current monitoring circuit 15
Thus, the relay 6 is turned off (S35) and the power supply is cut off. Further, the abnormal current monitoring circuit 15 reports to the MPU 3 that there is an abnormality (S36).

【0113】(l):MPU3は、異常電流監視回路1
5からの報告を受け取ると、イネーブル信号をリセット
した後、エラー表示する。 §5:タイミングチャートによるモータ駆動制御回路の
動作説明・・・図6参照。
(L): The MPU 3 is the abnormal current monitoring circuit 1
When the report from 5 is received, the enable signal is reset and then an error is displayed. §5: Operation explanation of motor drive control circuit by timing chart ... See FIG.

【0114】図6は、モータ駆動制御回路における各部
のタイミングチャートである。以下、図6に基づいて、
モータ駆動制御回路の動作を説明する。なお、図6のP
1〜P5は、図3に示した各位置を示す。また、T1は
過電流検出時間、T2はリレー開放時間、T3は過電流
が流れる時間を示す。
FIG. 6 is a timing chart of each part in the motor drive control circuit. Hereinafter, based on FIG.
The operation of the motor drive control circuit will be described. In addition, P in FIG.
1 to P5 indicate the respective positions shown in FIG. Further, T1 indicates an overcurrent detection time, T2 indicates a relay opening time, and T3 indicates a time when an overcurrent flows.

【0115】(a):モータ8の駆動状態で、該モータ
8に過電流が流れ始めた時刻をt0とし、過電流が更に
流れ続け、過電流検出回路4による過電流の検出値に達
する時刻をt1 とする。この時刻t1 では、P4の信号
(モータ異常検出信号)が、ローレベルからハイレベル
(Lo→Hi)になる。
(A): When the motor 8 is driven, the time at which the overcurrent starts to flow in the motor 8 is set to t 0 , and the overcurrent continues to flow until the overcurrent detection circuit 4 reaches the overcurrent detection value. Let time be t 1 . At time t 1 , the signal P4 (motor abnormality detection signal) changes from low level to high level (Lo → Hi).

【0116】(b):P4の信号(モータ異常検出信
号)が、ハイレベルHiになると、電流制御回路13で
は、直ちに電流制御に入り、予め設定しておいた電流値
に制限する。
(B): When the signal P4 (motor abnormality detection signal) becomes high level Hi, the current control circuit 13 immediately starts current control and limits the current value to a preset value.

【0117】更に、この状態で、過電流検出回路4にお
いて、過電流を検出した場合には、P3の信号(過電流
検出信号)が、ローレベルからハイレベル(Lo→H
i)に変化する。
Further, in this state, when the overcurrent detection circuit 4 detects an overcurrent, the signal of P3 (overcurrent detection signal) changes from low level to high level (Lo → H).
i).

【0118】この時(時刻t2)、P5の信号は、P3の
信号とP4の信号の論理積(AND)信号であるから、
P5の信号は、ローレベルLから、ハイレベルHに変化
する。
At this time (time t 2 ), the signal P5 is a logical product (AND) signal of the signals P3 and P4,
The signal of P5 changes from low level L to high level H.

【0119】(c):また、異常電流監視回路15で
は、モータ異常検出信号、及び過電流検出信号が、共に
Hiになっていれば、リレードライブ信号をオフにす
る。この時刻をt2 とする。すなわち、過電流検出時間
T1はt1 〜t2 の間の時間となる。
(C): In the abnormal current monitoring circuit 15, if both the motor abnormality detection signal and the overcurrent detection signal are Hi, the relay drive signal is turned off. This time is t 2 . That is, the overcurrent detection time T1 is a time between t 1 and t 2 .

【0120】(d):リレードライブ信号がオフになっ
て、リレー接点6−2が開放される時刻をt3 とすれ
ば、実際に過電流が流れてから、リレー接点6−2が開
放するまでに要する時間(リレー開放時間:T2)は、
2 〜t3 かかることになる。
(D): If the time when the relay drive signal is turned off and the relay contact 6-2 is opened is t 3 , the relay contact 6-2 is opened after the overcurrent is actually flowed. Time (relay open time: T2)
It takes t 2 to t 3 .

【0121】しかし、過電流を検出したならば、電流制
御回路13では、直ちに電流制御に入るため、実際に過
電流が流れている時間T3は、t0 〜t1 の時間とな
る。 (e):従って、この間、MPU3の電源電圧VM は低
下するが、リセットされるには及ばない。また、例え、
過電流を検出するのに時間がかかったり、リレー6の接
点が開放するのに時間がかかったとしても、これらの時
間には左右されず、MPU3の電源は、確保される。
However, when the overcurrent is detected, the current control circuit 13 immediately starts the current control, so that the time T3 during which the overcurrent actually flows is the time from t 0 to t 1 . (E): Therefore, the power supply voltage V M of the MPU 3 drops during this period, but it does not have to be reset. Also, for example,
Even if it takes time to detect the overcurrent or it takes time to open the contact of the relay 6, the power supply of the MPU 3 is secured without being influenced by these times.

【0122】(第2の実施例)図7は、第2実施例のモ
ータ駆動回路を示した図であり、図7Aはモータ駆動回
路を示した図、図7Bはモータ駆動状態を示した図であ
る。
(Second Embodiment) FIG. 7 is a diagram showing a motor drive circuit of a second embodiment, FIG. 7A is a diagram showing a motor drive circuit, and FIG. 7B is a diagram showing a motor drive state. Is.

【0123】図7中、図3と同じものは、同一符号で示
してある。また、29はPWM(パルス幅変調)回路、
30、31はNAND回路、32、33はAND回路、
34、35、36、37はトランジスタ(パワートラン
ジスタ)、38、39、40、41はダイオードを示
す。
In FIG. 7, the same elements as those in FIG. 3 are designated by the same reference numerals. 29 is a PWM (pulse width modulation) circuit,
30 and 31 are NAND circuits, 32 and 33 are AND circuits,
34, 35, 36 and 37 are transistors (power transistors), and 38, 39, 40 and 41 are diodes.

【0124】第2実施例は、第1実施例におけるモータ
駆動回路5を、別の回路(H型回路)で構成した例であ
り、他の構成は、第1実施例と同じである。図示のよう
に、この例では、モータ駆動回路を、PWM(パルス幅
変調)回路29、NAND回路30、31、AND回路
32、33、トランジスタ(パワートランジスタ)3
4、35、36、37、ダイオード38、39、40、
41等で構成する。
The second embodiment is an example in which the motor drive circuit 5 in the first embodiment is configured by another circuit (H-type circuit), and the other configuration is the same as that of the first embodiment. As shown in the figure, in this example, the motor drive circuit includes a PWM (pulse width modulation) circuit 29, NAND circuits 30 and 31, AND circuits 32 and 33, and a transistor (power transistor) 3.
4, 35, 36, 37, diodes 38, 39, 40,
41 etc.

【0125】PWM回路29では、例えば、予め設定さ
れた値を用いて、一定周期のパルスを発生し、AND回
路32、33、及びNAND回路30、31に送出す
る。また、上記AND回路32、33、及びNAND回
路30、31に対して、上記MPU3から、制御信号
(HMRFU、HMRFL、HMRBU、HMRBL)
を送出し、モータ駆動回路を制御する。
In the PWM circuit 29, for example, a pulse having a constant cycle is generated using a preset value and is sent to the AND circuits 32 and 33 and the NAND circuits 30 and 31. Further, control signals (HMRFU, HMRFL, HMRBU, HMRBL) are sent from the MPU 3 to the AND circuits 32, 33 and the NAND circuits 30, 31.
To control the motor drive circuit.

【0126】例えば、HMRFU=1、HMRFL=
1、HMRBU=0、HMRBL=0にすると、トラン
ジスタ35、36がオンで、トランジスタ34、37が
オフとなり、モータ8は順方向駆動(FWD)となる。
For example, HMRFU = 1, HMRFL =
When 1, HMRBU = 0 and HMRBL = 0, the transistors 35 and 36 are turned on, the transistors 34 and 37 are turned off, and the motor 8 is driven in the forward direction (FWD).

【0127】この時、電源(+12V)→トランジスタ
36→モータ8→トランジスタ35→GNDの順に電流
が流れる。また、HMRFU=0、HMRFL=0、H
MRBU=1、HMRBL=1にすると、トランジスタ
35、36がオフで、トランジスタ34、37がオンと
なり、モータ8は逆方向駆動となる。
At this time, current flows in the order of power supply (+ 12V) → transistor 36 → motor 8 → transistor 35 → GND. Also, HMRFU = 0, HMRFL = 0, H
When MRBU = 1 and HMRBL = 1, the transistors 35 and 36 are turned off, the transistors 34 and 37 are turned on, and the motor 8 is driven in the reverse direction.

【0128】この時、電源(+12V)→トランジスタ
34→モータ8→トランジスタ37→GNDの順に電流
が流れる。このようにして、MPU3から制御信号を送
ることにより、モータ8を駆動する事が出来る。この場
合、モータ8と並列に、モータ異常検出用抵抗R5を接
続しておき、上記第1実施例と同様に、モータ異常検出
回路14によって、モータ等の異常(過電流)を検出す
る。
At this time, current flows in the order of power supply (+ 12V) → transistor 34 → motor 8 → transistor 37 → GND. In this way, the motor 8 can be driven by sending a control signal from the MPU 3. In this case, the motor abnormality detecting resistor R5 is connected in parallel with the motor 8 and the abnormality (overcurrent) of the motor or the like is detected by the motor abnormality detecting circuit 14 as in the first embodiment.

【0129】(他の実施例)以上実施例について説明し
たが、本発明は次のようにしても実施可能である。 :磁気テープ装置、磁気テープライブラリ装置等に限
らず、モータを使用した各種装置に使用可能である。
(Other Embodiments) The embodiments have been described above, but the present invention can be implemented as follows. : Not limited to a magnetic tape device, a magnetic tape library device, etc., it can be used for various devices using a motor.

【0130】:異常電流監視回路を構成するロジック
回路は、上記の例に限らず、他の同様な機能を持つ回路
で構成することも可能である。 :上記実施例の各トランジスタは、バイポーラ型トラ
ンジスタに限らず、FET等の他の同様なスイッチ素子
で構成することも可能である。
The logic circuit constituting the abnormal current monitoring circuit is not limited to the above example, but may be a circuit having another similar function. The respective transistors in the above embodiments are not limited to the bipolar type transistors, but may be constituted by other similar switching elements such as FETs.

【0131】[0131]

【発明の効果】以上説明したように、本発明によれば次
のような効果がある。 :モータ駆動回路に流れる電流が過電流となった場
合、供給電流を遮断せずに、先ず、モータ駆動回路に流
す電流を減らしているため、過電流の流れている時間
を、短時間にする事が出来る。従って、モータ駆動回路
の破損等は、防止出来る。
As described above, the present invention has the following effects. : When the current flowing through the motor drive circuit becomes an overcurrent, the current flowing through the motor drive circuit is first reduced without interrupting the supply current, so the time during which the overcurrent flows is shortened. I can do things. Therefore, damage to the motor drive circuit can be prevented.

【0132】:過電流検出時に、モータ駆動回路に流
れる電流を減らした状態で、ノイズにより過電流を検出
したのか、又は、本当にモータ駆動回路の異常、モータ
のショート等により過電流を検出したのかを、判断して
いる。
At the time of overcurrent detection, whether the overcurrent is detected by noise while the current flowing in the motor drive circuit is reduced, or whether the overcurrent is really detected by the abnormality of the motor drive circuit, the motor short-circuit, or the like. Is making a decision.

【0133】そして、ノイズにより過電流を検出した場
合(誤動作)には、直ちに電流を元に戻し、本当に過電
流を検出した場合には、電流の供給を停止するように制
御している。
When an overcurrent is detected due to noise (malfunction), the current is immediately returned to the original state, and when an overcurrent is truly detected, the current supply is stopped.

【0134】従って、過電流検出を正確に行う事が出来
ると共に、回路の破損等を確実に防止出来る。 :モータの正転、逆転制御と関係なく、正確に過電流
検出が出来る。また、この場合にも、モータ駆動回路の
保護、及びそれに伴う他の回路の破損防止が可能であ
る。
Therefore, the overcurrent can be detected accurately, and the damage of the circuit can be surely prevented. : Accurate overcurrent detection can be performed regardless of the forward / reverse rotation control of the motor. Also in this case, it is possible to protect the motor drive circuit and prevent damage to other circuits.

【0135】:通常のモータ駆動時には、電流制御回
路内の電流制御用抵抗、及び過電流検出用抵抗に、電流
を流していない。従って、損失が無い。また、電流制御
回路内の電流制御用抵抗、及び過電流検出用抵抗の値
を、制約を受けずに、任意の値に設定可能である。
During normal motor drive, no current is passed through the current control resistor and the overcurrent detection resistor in the current control circuit. Therefore, there is no loss. Further, the values of the current control resistor and the overcurrent detection resistor in the current control circuit can be set to arbitrary values without any restrictions.

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

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

【図2】モータ駆動制御回路のブロック図である。FIG. 2 is a block diagram of a motor drive control circuit.

【図3】モータ駆動制御回路例である。FIG. 3 is an example of a motor drive control circuit.

【図4】MPUの処理フローチャート1である。FIG. 4 is a processing flowchart 1 of the MPU.

【図5】MPUの処理フローチャート2である。FIG. 5 is a processing flowchart 2 of the MPU.

【図6】各部のタイミングチャートである。FIG. 6 is a timing chart of each part.

【図7】第2実施例の説明図である。FIG. 7 is an explanatory diagram of the second embodiment.

【図8】従来のモータ駆動制御回路のブロック図であ
る。
FIG. 8 is a block diagram of a conventional motor drive control circuit.

【図9】従来のモータ駆動制御回路例である。FIG. 9 is an example of a conventional motor drive control circuit.

【図10】従来のMPUの処理フローチャートである。FIG. 10 is a processing flowchart of a conventional MPU.

【図11】各部のタンミングチャートである。FIG. 11 is a timing chart of each part.

【符号の説明】 3 MPU(マイクロプロセッサ) 4 過電流検出回路 5 モータ駆動回路 6−1 リレーコイル 6−2 リレー接点 8 モータ 13 電流制御回路 14 モータ異常検出回路 15 異常電流監視回路 16 差動増幅器(電圧変換手段) 17 コンパレータ(比較手段) 21、22、24 インバータ 25、26 AND回路 27 NAND回路 Q1、Q3、Q4 トランジスタ R1 過電流検出用抵抗 R4 電流制御用抵抗 R5 モータ異常検出用抵抗[Explanation of symbols] 3 MPU (microprocessor) 4 Overcurrent detection circuit 5 Motor drive circuit 6-1 Relay coil 6-2 Relay contact 8 motor 13 Current control circuit 14 Motor abnormality detection circuit 15 Abnormal current monitoring circuit 16 Differential amplifier (voltage conversion means) 17 Comparator (Comparison means) 21, 22, 24 inverter 25, 26 AND circuit 27 NAND circuit Q1, Q3, Q4 transistors R1 Overcurrent detection resistor R4 Current control resistor R5 Motor abnormality detection resistor

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 モータに過電流が流れたかどうかの検出
を行い、過電流が検出された際、モータに過電流が流れ
て異常状態であることを示すモータ異常検出信号を出力
するモータ異常検出手段と、 モータの過電流検出時に、前記モータ異常検出信号によ
り、モータ駆動電流を、予め設定しておいた電流値に制
限して減らす電流制御手段と、 前記電流制御手段によりモータ駆動電流を減らした状態
で、モータに過電流が流れたかどうかの検出を行い、該
過電流が検出された際、モータに過電流が流れたことを
示す過電流検出信号を出力する過電流検出手段と、 前記過電流検出信号とモータ異常検出信号とを入力して
ノイズによる一時的な過電流を検出したのか、障害によ
る本当の過電流を検出したのかを監視し、モータ駆動電
流を減らした状態で、前記過電流検出手段により、モー
タの過電流を検出した際、本当の過電流を検出したと判
断し、モータ駆動電流を遮断する信号を出力する 異常電
流監視手段を備えたことを特徴とするモータ駆動制御回
路。
1.Detects if overcurrent has flown to the motor
When an overcurrent is detected, the overcurrent flows to the motor.
Output a motor abnormality detection signal that indicates an abnormal state
Motor abnormality detection means, When the motor overcurrent is detected, the motor abnormality detection signal
Control the motor drive current to a preset current value.
Current control means to reduce as much as possible, State in which the motor drive current is reduced by the current control means
To detect whether an overcurrent has flown into the motor,
When an overcurrent is detected, check that the motor has an overcurrent.
An overcurrent detection unit that outputs the overcurrent detection signal shown, Input the overcurrent detection signal and the motor abnormality detection signal
Whether a temporary overcurrent due to noise was detected or due to a failure
Monitor whether or not a true overcurrent has been detected.
With the flow reduced, the overcurrent detection means
When detecting the overcurrent of the controller, it is determined that the true overcurrent is detected.
Output a signal to shut off the motor drive current Abnormal electricity
Motor drive control circuit characterized by having a flow monitoring means
Road.
【請求項2】前記電流制御手段は、モータ異常検出信号
により、いずれか一方がオンで、他方がオフとなるよう
に制御される2つのスイッチ素子を備え、これら2つの
スイッチ素子を並列接続すると共に、 2つのスイッチ素子の内、いずれか一方のスイッチ素子
に、回路に流れる過電流を検出するための過電流検出用
抵抗と、モータに流れる電流を制御するための電流制御
用抵抗とを直列に接続したことを特徴とする請求項1記
載のモータ駆動制御回路。
2. The current control means is a motor abnormality detection signal.
So that one of them is on and the other is off
It is equipped with two switch elements controlled by
Switch elements are connected in parallel and one of the two switch elements
For overcurrent detection to detect overcurrent flowing in the circuit
Current control to control the resistance and the current flowing to the motor
A resistor for use in series is connected in series.
On-board motor drive control circuit.
【請求項3】 モータに過電流が流れたかどうかの検出
を行い、過電流が検出された際、モータに過電流が流れ
て異常状態であることを示すモータ異常検出信号を出力
するモータ異常検出手段と、 モータの過電流検出時に、前記モータ異常検出信号によ
り、モータ駆動電流を、予め設定しておいた電流値に制
限して減らす電流制御手段と、 前記電流制御手段によりモータ駆動電流を減らした状態
で、モータに過電流が流れたかどうかの検出を行い、該
過電流が検出された際、モータに過電流が流れたことを
示す過電流検出信号を出力する過電流検出手段と、 前記過電流検出信号とモータ異常検出信号とを入力して
ノイズによる一時的な過電流を検出したのか、障害によ
る本当の過電流を検出したのかを監視し、モータ駆動電
流を減らした状態で、前記過電流検出手段により、モー
タの過電流を検出した際、本当の過電流を検出したと判
断し、モータ駆動電流を遮断する信号を出力する 異常電
流監視手段を有するモータ駆動制御回路を備えた装置。
3.Detects if overcurrent has flown to the motor
When an overcurrent is detected, the overcurrent flows to the motor.
Output a motor abnormality detection signal that indicates an abnormal state
Motor abnormality detection means, When the motor overcurrent is detected, the motor abnormality detection signal
Control the motor drive current to a preset current value.
Current control means to reduce as much as possible, State in which the motor drive current is reduced by the current control means
To detect whether an overcurrent has flown into the motor,
When an overcurrent is detected, check that the motor has an overcurrent.
An overcurrent detection unit that outputs the overcurrent detection signal shown, Input the overcurrent detection signal and the motor abnormality detection signal
Whether a temporary overcurrent due to noise was detected or due to a failure
Monitor whether or not a true overcurrent has been detected.
With the flow reduced, the overcurrent detection means
When detecting the overcurrent of the controller, it is determined that the true overcurrent is detected.
Output a signal to shut off the motor drive current Abnormal electricity
An apparatus provided with a motor drive control circuit having a flow monitoring means.
【請求項4】モータに過電流が流れたことを検出する過
電流検出手段と、モータ異常を検出するモータ異常検出
手段と、モータ異常時にモータ駆動電流を制御する電流
制御手段と、過電流とモータ異常とを監視し、モータへ
の給電を制御する異常電流監視手段を有するモータ駆動
制御回路を備えた装置のモータ駆動制御方法であって、 前記モータ異常検出手段で、モータ又はモータ駆動回路
の異常を検出した際、モータ駆動回路に流れる電流を遮
断することなく、モータ異常検出手段から出力されたモ
ータ異常検出信号により、前記電流制御手段を電流制御
モードに切り換えて、モータ駆動回路に流れる電流を減
衰させることを特徴とするモータ駆動制御方法。
4. An overcurrent detecting means for detecting an overcurrent flowing through the motor.
Current detection means and motor abnormality detection to detect motor abnormality
Means and current for controlling motor drive current when motor is abnormal
Monitor the control means, overcurrent and motor abnormality and send them to the motor.
Drive with abnormal current monitoring means for controlling power supply
A motor drive control method for an apparatus including a control circuit, comprising: a motor or a motor drive circuit in the motor abnormality detection means.
When an abnormality is detected, the current flowing through the motor drive circuit is shut off.
Without disconnecting, the motor output from the motor abnormality detection means
Current control means for current control of the current control means
Switch to the mode to reduce the current flowing through the motor drive circuit.
A motor drive control method characterized by deteriorating.
JP05353593A 1992-05-12 1993-03-15 Motor drive control circuit, device provided with motor drive control circuit, and motor drive control method Expired - Fee Related JP3365808B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP05353593A JP3365808B2 (en) 1993-03-15 1993-03-15 Motor drive control circuit, device provided with motor drive control circuit, and motor drive control method
US08/060,412 US5511183A (en) 1992-05-12 1993-05-11 Non-volatile memory controlling apparatus and applications of the same to electronic computer peripheral equipments
US08/460,211 US5767647A (en) 1992-05-12 1995-06-02 Non-volatile memory controlling apparatus and applications of the same to electronic computer peripheral equipment
US08/854,501 US5982120A (en) 1992-05-12 1997-05-12 Library apparatus having a motor driving control including abnormal motor and excess current detecting circuits

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05353593A JP3365808B2 (en) 1993-03-15 1993-03-15 Motor drive control circuit, device provided with motor drive control circuit, and motor drive control method

Publications (2)

Publication Number Publication Date
JPH06269194A JPH06269194A (en) 1994-09-22
JP3365808B2 true JP3365808B2 (en) 2003-01-14

Family

ID=12945505

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05353593A Expired - Fee Related JP3365808B2 (en) 1992-05-12 1993-03-15 Motor drive control circuit, device provided with motor drive control circuit, and motor drive control method

Country Status (1)

Country Link
JP (1) JP3365808B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3709858B2 (en) * 2002-06-19 2005-10-26 日産自動車株式会社 Circuit for current control type semiconductor switching element
JP5265931B2 (en) 2008-01-16 2013-08-14 矢崎総業株式会社 Power supply
JP5188465B2 (en) * 2009-06-30 2013-04-24 日立オートモティブシステムズ株式会社 Current detection device and control system using the same
JP6340913B2 (en) * 2014-05-21 2018-06-13 日産自動車株式会社 Control apparatus and control method

Also Published As

Publication number Publication date
JPH06269194A (en) 1994-09-22

Similar Documents

Publication Publication Date Title
JP6547857B2 (en) Electronic control device and electric power steering apparatus equipped with the same
CN109417355B (en) Motor driving device
US5574346A (en) On and off state fault detection circuit for a multi-phase brushed or brushless DC motor
JP5345764B2 (en) Microcomputer for motor control and control method therefor
JPH0340517A (en) Driving/protecting circuit for power device
JP3931184B2 (en) Motor control device
JPS61240890A (en) Control circuit for variable magnetic reluctance motor
JP3365808B2 (en) Motor drive control circuit, device provided with motor drive control circuit, and motor drive control method
EP3220539B1 (en) Motor controller
KR20190106181A (en) Methods for controlling EPS that cuts motor drive power when overcurrent occurs
JPH1042586A (en) Motor drive circuit
JP2013135595A (en) Motor drive device
JPH06233402A (en) Drive control circuit for electric vehicle
KR102886943B1 (en) Over current detecting circuit, and method thereof
US11777438B2 (en) Motor drive device
WO2018211889A1 (en) Motor drive device
US20070273343A1 (en) Supply Unit for a Driver Circuit and Method for Operating Same
JP4415384B2 (en) DIGITAL OUTPUT DEVICE AND DIAGNOSIS METHOD USING DIGITAL OUTPUT DEVICE
JP2000152485A (en) Protective circuit against overcurrent
JPH08322288A (en) Motor driver
JP2020054187A (en) Motor drive control device
KR100189023B1 (en) Over current protecting circuit of a stepping motor
KR0184564B1 (en) Motor protection circuit
JPH02301802A (en) Load failure detection circuit
JPH06225443A (en) Power supply control device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20021015

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

Free format text: PAYMENT UNTIL: 20081101

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081101

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091101

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees