JPH0356087A - Motor controlling circuit - Google Patents

Motor controlling circuit

Info

Publication number
JPH0356087A
JPH0356087A JP1189729A JP18972989A JPH0356087A JP H0356087 A JPH0356087 A JP H0356087A JP 1189729 A JP1189729 A JP 1189729A JP 18972989 A JP18972989 A JP 18972989A JP H0356087 A JPH0356087 A JP H0356087A
Authority
JP
Japan
Prior art keywords
motor
output
current
gate
level
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.)
Pending
Application number
JP1189729A
Other languages
Japanese (ja)
Inventor
Yoshiaki Kamuragi
義明 冠木
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP1189729A priority Critical patent/JPH0356087A/en
Publication of JPH0356087A publication Critical patent/JPH0356087A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Direct Current Motors (AREA)

Abstract

PURPOSE:To enable protection to be obtained certainly even when a software runs away, by setting an excess current protective-circuit formed with an only hardware. CONSTITUTION:The rotation of a motor 15 is detected by a rotary encoder 17, and is read into a CPU 11 via an up-down counter 18, and according to a deviation between the rotation and a set value, command to a PWM generator 14 is generated, and the motor 15 is controlled via a motor driver 19. By a constant current chopper circuit 20, the working of the motor driver 19 is stopped when load current exceeds a set upper limit.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、DCモータのソフトウエアサーボシステムに
ハードウエアによる定電流チョッパ回路を備えたモータ
制御回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a motor control circuit that includes a software servo system for a DC motor and a constant current chopper circuit formed by hardware.

[従来の技術] DCモータは供給された電流に比例するトルクを発生し
、電流はモータに印加された電圧から、回転数に比例し
て発生した逆起電力を差し引いた実効電圧に比例する。
[Prior Art] A DC motor generates a torque that is proportional to the supplied current, and the current is proportional to an effective voltage obtained by subtracting a back electromotive force generated in proportion to the rotational speed from the voltage applied to the motor.

つまり、DCモータは電源を与えれば回転し始めるが、
その回転数は負荷によって異なるので、モータの回転角
度を検出してフィードバックすることにより、モータに
供給する電流または電圧を制御する必要がある。
In other words, a DC motor starts rotating when power is applied, but
Since the rotation speed varies depending on the load, it is necessary to control the current or voltage supplied to the motor by detecting and feeding back the rotation angle of the motor.

ところで、DCモータの制御は純アナログ回路から、マ
イクロプロセッサを用いたソフトウエアサーボに移行し
ている。特に最近ては、パルス幅変調(PWM)を使用
した完全ソウトウエアサーボが一般的である。パルス幅
変調とは、モータに印加する電源をトランジスタ等のス
イッチ素子により高速に切り替えて、ある一定周期(通
常は20KHz以上)間のオンとオフの時間の割合によ
り、出力電流を調節する方式である。このスイッチング
により、モータに発生するトルクにはむらが生じるが、
モータの回転子や負荷にはイナーシャがあるため、回転
むらは瞬時に平均化されて吸収され、モータ出力として
得られるトルクはほぼ一定となる。
By the way, control of DC motors has shifted from pure analog circuits to software servo control using microprocessors. Particularly recently, complete software servo using pulse width modulation (PWM) is common. Pulse width modulation is a method in which the power applied to the motor is switched at high speed using a switching element such as a transistor, and the output current is adjusted by the ratio of on and off times during a certain period (usually 20 KHz or more). be. This switching causes unevenness in the torque generated by the motor, but
Since the motor rotor and load have inertia, rotational irregularities are instantly averaged and absorbed, and the torque obtained as the motor output becomes almost constant.

第3図は、完全ソウトウエアサーボシステムを示したも
ので、モータの駆動は、PWM波により、モータドライ
バ9をスイッチングすることにより行ない、フィードバ
ック制御におけるモータ5への制御パラメータとしてP
WM波のデューティー比をPWMジェネレータ4に与え
ることにより実現される。モータ4の回転軸には、ロー
タリエンコーダ7が直結されておりモータの回転に伴な
い第4図に示すような信号を出力する。信号は2チャン
ネルあり、位相は90゜ずれており、この2つの信号を
A相.B相と名づけると、モータが正転しているときに
は、A相が“L”の状態で、B相が“L”→“H”に立
上り、モータが逆転しているときにはA相が“し”の状
態でB相が” H ”→“L ” に立下る。これによ
り、モータ5の回転方向がわかり、この信号をアップダ
ウンカウンタ8でカウントすることにより、モータの回
転角が検出できる。モータの回転方向はフリツプ・フロ
ップ等で構威されるラッチ6に書込むことにより、決定
される。
FIG. 3 shows a complete software servo system, in which the motor is driven by switching the motor driver 9 using PWM waves, and P is set as a control parameter for the motor 5 in feedback control.
This is realized by giving the duty ratio of the WM wave to the PWM generator 4. A rotary encoder 7 is directly connected to the rotating shaft of the motor 4, and outputs a signal as shown in FIG. 4 as the motor rotates. There are two channels of signals, and the phases are shifted by 90 degrees, and these two signals are connected to phase A. Named the B phase, when the motor is rotating forward, the A phase is in the "L" state and the B phase rises from "L" to "H", and when the motor is rotating in the reverse direction, the A phase rises from "L" to "H". ” state, the B phase falls from “H” to “L”. This allows the direction of rotation of the motor 5 to be determined, and by counting this signal with the up/down counter 8, the rotation angle of the motor can be detected. The direction of rotation of the motor is determined by writing to a latch 6, which may be a flip-flop or the like.

以上の構成により、第3図で点線に囲まれたサーボ系に
外部から与えられた位置、速度等の目標値に対して、サ
ーボ系の慣性により決定される時間間隔ごとに現在の位
置速度等を読み取り、制御部9により制御量をソフトウ
エアで計算してPWMジェネレータ4にPWMのデュー
ティ比を書き込むことによりモータの電流を制御して目
標値に近づけるのが、完全ソフトウエアサーボシステム
である。
With the above configuration, the current position, speed, etc. are determined at each time interval determined by the inertia of the servo system with respect to the target values of position, speed, etc. given from the outside to the servo system surrounded by the dotted line in Figure 3. In a complete software servo system, the control unit 9 calculates the control amount using software, and writes the PWM duty ratio to the PWM generator 4 to control the motor current to bring it closer to the target value.

ところで、上記ソウトウエアサーボシステムにおけるモ
ータ及びモータドライバのiM電琉による発熱、破壊、
対策として、 第1にソフトウエアによりPWM波のデューティ比に上
限を設ける。(例えば75%以下)第2にソフトウエア
により、ある一定時間かけても回転角が一定値以上変化
しない時には、外部負荷増大等の異常時と判断して、モ
ータ電流をオフにする。
By the way, in the software servo system mentioned above, heat generation, destruction,
As a countermeasure, first, set an upper limit on the duty ratio of the PWM wave using software. (For example, 75% or less) Secondly, when the rotation angle does not change by more than a certain value even after a certain period of time, the software determines that an abnormality is occurring, such as an increase in external load, and turns off the motor current.

等が通常行なわれていた。etc. were commonly practiced.

[発明が解決しようとしている諜題] しかしながら、上記従来例では、モータの電流値、すな
わちPWMジェネレータ出力のデューティ比が、完全に
ソフトウエアにより決定されるので、静電気等の外来ノ
イズの影響により、ソフトウエアが暴走した時には、前
記保護機能が働かず、PWM波のデューティ比が上限を
超えることがあり、またPWMジエネレータにデューテ
ィ比の書換えが行なわれないことにより、PWM波のデ
ューティ比が高いままの状態が持続する。
[Secret Problems to be Solved by the Invention] However, in the conventional example described above, the current value of the motor, that is, the duty ratio of the PWM generator output, is completely determined by software. When the software goes out of control, the protection function described above may not work and the duty ratio of the PWM wave may exceed the upper limit, and the duty ratio of the PWM wave may remain high because the duty ratio is not rewritten to the PWM generator. The state persists.

等の理由により、モータドライバ及びモータの過電流に
よる発熱さらには破壊へと至る可能性があった。
For these reasons, there is a possibility that the motor driver and motor may generate heat due to overcurrent and may even be destroyed.

特に、モータ巻線の抵抗値が低いモータを使用する場合
には、上記危険性が高いものであった。
In particular, when using a motor whose motor winding has a low resistance value, the above-mentioned danger is high.

本発明の目的はか・かる従来の問題を解決し、静電気等
の外来ノイズの影響によりソフトウエアが暴走したとし
てもモータに過電流が流れないようにしようとするもの
である。
An object of the present invention is to solve the above conventional problems and to prevent overcurrent from flowing to the motor even if the software goes out of control due to the influence of external noise such as static electricity.

[課題を解決するための千段コ かかる目的を達戒するために本発明はパルス幅変調によ
り、モータ電源をスイッチングしてモータ電流を制御す
るモータ制御回路において、上記モータ電流を検出して
該モータ電流の上限と下限を設定し、その電流値で上記
モータ電源をスイッチングする定電流チョッパ回路を備
える。
[In order to achieve the purpose of solving the problem, the present invention detects the motor current and detects the motor current in a motor control circuit that controls the motor current by switching the motor power supply by pulse width modulation. A constant current chopper circuit is provided that sets upper and lower limits of the motor current and switches the motor power supply at the current value.

[実施例] 以下、本発明の一実施例を図面により詳細に説明する。[Example] Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.

第1図は、完全ソフトウエアサーボによるDCモータ制
御系のブロック回路を示すもので、図中11はサーボ系
及びサーボ系に位置、速度等の目標を与えるメインプロ
グラム全体を制御するマイクロプロセッサ素子等から構
成される中央処理装置(以下CPUと呼ぶ)である。C
PUIIにはプログラム及び各種テーブルを記憶するR
OM、ワークエリアとしてのRAM等のメモリ12及び
サーボプログラムを起動させるために一定時間間隔で割
込みを発生させるタイマ13が接続されている。その他
サーボ系とのインターフェース部として、CPUIIか
ら与えられたデューテイ比のPWM侶号を発生させる公
知のPWMジェネレータl4、CPUIIから与えられ
たモータ15の駆動、ブレーキ及び回転方向を回転モー
ド信号を出力するフリップフロツブ素子等から構成され
るラッチ16、モータ回転軸に直結したロータリ・エン
コーダ17からの2相信号(A相.B相)をカウントす
るアツブダウンカウンタ18も接続されている。更にP
WM信号によりモータ15を駆動するためのトランジス
タ等のスイッチング素子から或るモータドライバ19が
付加されている。
Figure 1 shows a block circuit of a DC motor control system using complete software servo. In the figure, 11 is a microprocessor element that controls the servo system and the entire main program that gives targets such as position and speed to the servo system. It is a central processing unit (hereinafter referred to as CPU) consisting of. C
PUII stores programs and various tables.
Connected are an OM, a memory 12 such as a RAM as a work area, and a timer 13 that generates an interrupt at regular time intervals in order to start a servo program. As an interface unit with other servo systems, a known PWM generator 14 generates a PWM signal with a duty ratio given from the CPU II, and outputs rotation mode signals indicating the drive, brake, and rotation direction of the motor 15 given from the CPU II. Also connected are a latch 16 composed of a flip-flop element, etc., and an up-down counter 18 that counts two-phase signals (A phase, B phase) from a rotary encoder 17 directly connected to the motor rotating shaft. Furthermore, P
A motor driver 19 made of switching elements such as transistors is added to drive the motor 15 using WM signals.

以上述べた完全リストウエアサーボシステムに、異常時
の過電流保護回路として定電流チヨ・ンパ回路20がモ
ータドライバ19に接続されている。
In the complete wristwear servo system described above, a constant current stopper circuit 20 is connected to the motor driver 19 as an overcurrent protection circuit in case of an abnormality.

ここで第2図は、定電流チョツバ回路20を含めたモー
タドライバ19を示すもので、トランシスタTl〜T4
で構成されたブリッジ回路にDCモータl5の励磁巻線
15aが接続ざれている。
Here, FIG. 2 shows the motor driver 19 including the constant current chopper circuit 20, which includes transistors Tl to T4.
An excitation winding 15a of a DC motor 15 is connected to the bridge circuit configured as shown in FIG.

21.22はナンドゲートで、ナンドゲート2lはトラ
ンジスタT+のベースに接続され、ナンドゲート22は
トランジスタT,のベースに接続されている。23.2
4はアンドゲートで、アンドゲート23はトランジスタ
T2のベースに接続され、アントゲート24はトランジ
スタT4のベースに接続されている。ラッチ16の回転
モード信号Aはナンドゲート21に加えられるとともに
インバータI N + を介してアンドゲート23に加
えられる。またラッチl6の回転モード信号Bはナンド
ゲート22に加えられるとともにインバータIN2を介
してアンドゲート24に加えられる。
21 and 22 are NAND gates, the NAND gate 2l is connected to the base of the transistor T+, and the NAND gate 22 is connected to the base of the transistor T. 23.2
4 is an AND gate, and the AND gate 23 is connected to the base of the transistor T2, and the AND gate 24 is connected to the base of the transistor T4. The rotation mode signal A of the latch 16 is applied to the NAND gate 21 and also applied to the AND gate 23 via the inverter I N + . Further, the rotation mode signal B of the latch l6 is applied to the NAND gate 22 and also applied to the AND gate 24 via the inverter IN2.

25は9WMジェネレータl4並びに定電流チョッパ回
路20の光が加えられるアンドゲートでこのアンドゲー
ト25の出力はナントゲート21,22並びにアントゲ
ート23.24に加えられるようになっている。R.は
前記ブリッジ回路に接続された抵抗で、この抵抗R1と
ブリッジ回路の接続点は抵抗R2を介してコンバレータ
26に接続され、コンパレータ26のもう一方の人力端
子には基準電圧V r@fが印加される。R3は抵抗で
ある。コンバレータ26の出力信号はインバータIN3
を介して前記アントゲート25に加えられるようになっ
ている。
Reference numeral 25 denotes an AND gate to which light from the 9WM generator 14 and the constant current chopper circuit 20 is applied, and the output of this AND gate 25 is applied to the Nant gates 21, 22 and the Ant gates 23 and 24. R. is a resistor connected to the bridge circuit, the connection point between this resistor R1 and the bridge circuit is connected to the comparator 26 via the resistor R2, and the reference voltage V r@f is applied to the other human input terminal of the comparator 26. be done. R3 is a resistance. The output signal of the converter 26 is the inverter IN3
It is adapted to be added to the ant gate 25 via the ant gate 25.

次に上記構成の動作を説明する。Next, the operation of the above configuration will be explained.

前記ブリッジ回路は、トランジスタT1及びT4をオン
(T2,T3はオフ)することにより、電源Vを通して
もモータ電流がV−Tl→モータ15の励磁巻線1 5
a−4T4−Rl−GNDに流れて正方向に回転し、ト
ランジスタT2及びT3をオン(TI,T4はオフ)す
ることにより、モータ電流が■→T3−モータ15の励
磁巻線1 5 a−4T 2−R 1−GN Dの順に
流れて逆方向に回転する。今、AND25の出力が“H
”レベルと仮定すると、ラツチ16から出力される回転
モード信号A,Bのレベル設定により、以下の3通りの
回転モードを実現することができる。
The bridge circuit turns on the transistors T1 and T4 (turns off T2 and T3), so that even if the power supply V is connected, the motor current is changed from V-Tl to the excitation winding 15 of the motor 15.
a-4T4-Rl-GND and rotates in the positive direction, turning on transistors T2 and T3 (TI and T4 are off), so that the motor current changes from ■→T3-Excitation winding 1 of motor 15 It flows in the order of 4T 2-R 1-GN D and rotates in the opposite direction. Now, the output of AND25 is “H”
'' level, the following three rotation modes can be realized by setting the levels of the rotation mode signals A and B output from the latch 16.

(1)A=″H″,B=″L”のとき ナンドゲート21の出力が“し”レベルになることにま
りPNPトランジスタT1がオンし、アンドゲート24
の出力が“H”レベルになることによりNPNI−ラン
ジスタT4がオンする。
(1) When A = ``H'' and B = ``L'', the output of the NAND gate 21 becomes ``S'' level, so the PNP transistor T1 is turned on, and the AND gate 24
When the output of NPNI-transistor T4 becomes "H" level, the NPNI-transistor T4 is turned on.

アンドゲート23=“L゛゜.ナンドゲート22=“H
″レベルになることによりトランジスタT2,T3がオ
フする。以上によりモータl5は正回転となる。
AND gate 23="L゛゜. NAND gate 22="H
'' level turns off the transistors T2 and T3. As a result of the above, the motor 15 rotates in the forward direction.

(2)A= ’L’ ,B=“H”のときアンドゲート
23の出力が゜゛H″レベルになることにより、NPN
トランジスタT2がオンし、ナンドゲート22の出力が
“L ” レベルになることによりPNPトランジスタ
T3がオンし、ナンドゲート21=”H”, アントゲ
ート24=”L”になることにより、トランジスタT,
T4がオフする。以上により、モータ5は逆回転となる
(2) When A='L' and B="H", the output of the AND gate 23 becomes ゜゛H'' level, so that the NPN
When the transistor T2 is turned on and the output of the NAND gate 22 becomes "L" level, the PNP transistor T3 is turned on, and as the NAND gate 21 becomes "H" and the ant gate 24 becomes "L", the transistors T,
T4 turns off. As a result of the above, the motor 5 rotates in the opposite direction.

(3)A=Bのとき (i)A=B=″H゜”のとき ナンドゲート21.22の出力が“し”レベルになるこ
とにより、トランジスタTI,T3がオンし、アンドゲ
ート23,24の出力が” L ’ レベルになること
により、トランジスタT2,T4がオフする。
(3) When A = B (i) When A = B = ``H゜'' The outputs of the NAND gates 21 and 22 go to the "high" level, so the transistors TI and T3 are turned on, and the AND gates 23 and 24 When the output of the transistor becomes "L" level, the transistors T2 and T4 are turned off.

(ii)A = B =″L″のとき アントゲート23.24の出力が“H”レベルになるこ
とにより、トランジスタT2,T4がオンし、ナントゲ
ート21,22の出力が“H”レベルになることにより
、トランジスタTI.T3がオンする。
(ii) When A = B = "L", the outputs of the ant gates 23 and 24 go to "H" level, turning on transistors T2 and T4, and the outputs of the Nant gates 21 and 22 go to "H" level. By this, transistor TI. T3 turns on.

以上より(i) , (if)共モータ15の両端をシ
ョートするブレーキモードとなる。
From the above, (i) and (if) the brake mode is established in which both ends of the motor 15 are short-circuited.

また、アンドゲート25の出力が“L”レベルのときに
は、ナンドゲート21.22が“H″レヘル、アンドゲ
ート13,14が゛゜L”レベルになることにより、ト
ランジスタT1〜T4全てがオフになりモータ15は惰
行運転となる。
Furthermore, when the output of the AND gate 25 is at the "L" level, the NAND gates 21 and 22 are at the "H" level and the AND gates 13 and 14 are at the "L" level, so that all transistors T1 to T4 are turned off and the motor is turned off. 15 is coasting operation.

従ってブレーキモードを除いて、アンドゲート25の出
力が゛H”のとき電源からモータl5に電流が流れるこ
とにより、アンドゲート25の”H”レベルのデュ′−
ティによりモータ電疏は決定される。このアンドゲート
25には、前記PWMジェネレータ14の出力信号と点
線で囲まれた定電流チョッパ回路20の出力信号が入力
されており、通常時はPWMジェネレータ14の出力が
そのままAND25の出力に現われるソフトウェアサー
ボ動作となり、異常時にはPWMジェネレータ14の出
力と定電琉チョッパ波形のAND出力がアンドゲート2
5の出力に現われるモータ電流制限動作となる。
Therefore, except in the brake mode, when the output of the AND gate 25 is "H", current flows from the power supply to the motor 15, so that the "H" level of the AND gate 25 is lowered.
The motor wire is determined by the tee. The output signal of the PWM generator 14 and the output signal of the constant current chopper circuit 20 surrounded by the dotted line are input to this AND gate 25, and under normal conditions, the output of the PWM generator 14 appears as it is in the output of the AND 25. It becomes a servo operation, and when an abnormality occurs, the AND output of the PWM generator 14 output and the constant voltage chopper waveform is output to the AND gate 2.
The motor current is limited as shown in the output of 5.

次に点線で囲まれた定電流チョッパ回路について説明す
る。
Next, the constant current chopper circuit surrounded by dotted lines will be explained.

ソフトウエアサーボが正常に働いている時は、モータ電
流、つまり抵抗R1を流れる電流が規定値以下なので、
コンパレータ26の十入力は基準電圧V ref以下と
なりコンパレータ26の出力は“L”レベルでインバー
タの出力信号、つまりアンドゲート25の人力信号は″
H”レベルのままとなりPWMジェネレーターの出力信
号がそのままアンドゲート25の出力信号となる。
When the software servo is working normally, the motor current, that is, the current flowing through resistor R1, is below the specified value.
The ten input of the comparator 26 is below the reference voltage V ref, the output of the comparator 26 is "L" level, and the output signal of the inverter, that is, the human input signal of the AND gate 25 is "
The output signal of the PWM generator remains at H'' level and becomes the output signal of the AND gate 25 as it is.

ここで、外来ノイズ等でソフトウェアサーボ系が誤動作
し、モータ15の励磁巻線15aに過電流が流れると抵
抗R1の電位が上昇し、コンバレータ26の十入力が ?1+r)V,■ −■, r になった時にコンバレータ26の出力は“H”レベルつ
まり、アントゲート25の出力は“L ”レヘルになり
モータ電流は減少していく。
Here, if the software servo system malfunctions due to external noise or the like and an overcurrent flows through the excitation winding 15a of the motor 15, the potential of the resistor R1 rises, and the input voltage of the converter 26 increases. 1+r) V, -■, r, the output of the converter 26 goes to the "H" level, that is, the output of the ant gate 25 goes to the "L" level, and the motor current decreases.

その後、コンバレータ26の十人力が ( 1+r)V,e,−yL r になった時、コンパレータ26の出力は“L”レヘル、
つまりアンドゲート25の出力はPWMジェネレータl
4の出力が゜゜H”レベルの時には”H”レベルとなり
、再びモータ電流が増加する。
After that, when the power of the comparator 26 becomes (1+r)V, e, -yL r, the output of the comparator 26 becomes "L" level,
In other words, the output of the AND gate 25 is the PWM generator l
When the output of No. 4 is at the ゜゜H'' level, it becomes the ``H'' level, and the motor current increases again.

以上の繰返しにより定電流チョッパ動作が行なわれる。Constant current chopper operation is performed by repeating the above steps.

ここでr=R3/R2,V,はコンパレータ16の“L
”レベル出力電圧、vHはコンパレータ16の″H”レ
ベル出力電圧である。
Here, r=R3/R2,V, is "L" of the comparator 16.
The "level output voltage, vH" is the "H" level output voltage of the comparator 16.

以上述べた実施例においては、モータとしてDCモータ
を例にして説明したか、ステップモー夕等他のモータで
もソフトウエアサーボにより制御する方式であれば同一
の方7去で実現することができる。
In the embodiments described above, a DC motor was used as an example of the motor, but other motors such as a step motor can also be realized by the same method as long as they are controlled by software servo.

[発明の効果] 以上述べたように、パルス幅変調(PWM)により、モ
ータ電源をスイッチングしてモータ電流を制御するソフ
トウェアサーボシステムにおいて、モータ電流を検出し
て、電圧比較部でモータ電流の上限と下限を設定し、そ
の電琉値でモータ電源をオン/オンするソフトウエアに
依存しない純粋にハードウェアの.゛みによる定電琉チ
ョッパ回路、つまり過電流保護回路を併用することによ
り、外来ノイズ等の影響でソフトウエアが暴走した時に
発生する可能性があるモータ及びモータドライバの過電
流による発熱、モータ及びモータトライバの熱破壊を防
止することができ、信頼性、安全性の高いシステムを安
価に提供することができる。
[Effects of the Invention] As described above, in a software servo system that controls the motor current by switching the motor power supply using pulse width modulation (PWM), the motor current is detected and the upper limit of the motor current is determined by the voltage comparator. This is a purely hardware system that does not rely on software to set the lower limit and turn on/off the motor power at that value. By using a constant current chopper circuit, that is, an overcurrent protection circuit, the motor and motor driver can prevent heat generation due to overcurrent in the motor and motor driver, which may occur when the software goes out of control due to the influence of external noise, etc. It is possible to prevent thermal damage to the motor driver, and to provide a highly reliable and safe system at a low cost.

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

第1図は本発明の一実施例を示すモータ制御回路のブロ
ック回路図、第2図は第1図の要部を詳細に示す回路図
、第3図は従来のモータ制御回路のブロック回路図、第
4図は第3図に示すロータリエンコーダの出力波形図で
ある。 11・・・中央処理装置(CPU) 14・・・PWMジェネレータ 15・・・モータ 18・・・アップダウンカウンタ 19・・・モータドライバ 20・・・定電流チョッパ回路 26・・・コンパレータ 1 2. 3.
Fig. 1 is a block circuit diagram of a motor control circuit showing an embodiment of the present invention, Fig. 2 is a circuit diagram showing main parts of Fig. 1 in detail, and Fig. 3 is a block circuit diagram of a conventional motor control circuit. , FIG. 4 is an output waveform diagram of the rotary encoder shown in FIG. 3. 11... Central processing unit (CPU) 14... PWM generator 15... Motor 18... Up/down counter 19... Motor driver 20... Constant current chopper circuit 26... Comparator 1 2. 3.

Claims (1)

【特許請求の範囲】[Claims] パルス幅変調により、モータ電源をスイッチングしてモ
ータ電流を制御するモータ制御回路において、上記モー
タ電流を検出して該モータ電流の上限と下限を設定し、
その電流値で上記モータ電源をスイッチングする定電流
チョッパ回路を備えたことを特徴とするモータ制御回路
In a motor control circuit that controls a motor current by switching a motor power supply by pulse width modulation, detecting the motor current and setting upper and lower limits of the motor current,
A motor control circuit comprising a constant current chopper circuit that switches the motor power supply according to the current value.
JP1189729A 1989-07-20 1989-07-20 Motor controlling circuit Pending JPH0356087A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1189729A JPH0356087A (en) 1989-07-20 1989-07-20 Motor controlling circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1189729A JPH0356087A (en) 1989-07-20 1989-07-20 Motor controlling circuit

Publications (1)

Publication Number Publication Date
JPH0356087A true JPH0356087A (en) 1991-03-11

Family

ID=16246214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1189729A Pending JPH0356087A (en) 1989-07-20 1989-07-20 Motor controlling circuit

Country Status (1)

Country Link
JP (1) JPH0356087A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008043171A (en) * 2006-08-10 2008-02-21 Rohm Co Ltd Load drive device and electric device using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008043171A (en) * 2006-08-10 2008-02-21 Rohm Co Ltd Load drive device and electric device using the same

Similar Documents

Publication Publication Date Title
US4544868A (en) Brushless DC motor controller
JP4408571B2 (en) Electronic commutation motor
JPH06178579A (en) Refrigeration cycle controller
JPH06113587A (en) Adjusting method of motor current of brushless dc current
JPH05508297A (en) digital motor controller
JP2547553B2 (en) Power supply current limiting device for DC motor and electric motor equipped with such limiting device
JP3251929B2 (en) Speed control method for switched reluctance motor
JPH0356087A (en) Motor controlling circuit
JP2664788B2 (en) Brushless motor drive circuit for rechargeable tools
JP6408625B2 (en) Semiconductor device, drive mechanism, and motor drive control method
KR890005110B1 (en) Arrangement for starting dc motor
JPS63314191A (en) Speed controller for motor
JP6934394B2 (en) DC motor drive circuit, drive method and electronic equipment using it
JPH02123999A (en) Driving gear for variable reluctance motor
JPH01291699A (en) Driving circuit of step-motor
JPH08149882A (en) Motor controller
JPH05338544A (en) Motor controller
JPS62171491A (en) Pwm driving device for dc motor
JP3525401B2 (en) Failure monitoring device for electric servo amplifier for water turbine
JP2830230B2 (en) Motor drive
JPH06296390A (en) Controlling method of 120-degree electrification type brushless motor
JP3475367B2 (en) DC brushless motor drive
JPS6115571A (en) Overcurrent protecting device of pwm inverter
JP2021129365A (en) Motor drive controller and fan
JP2704427B2 (en) Speed controller for DC brushless motor