JPS63228987A - Safeguard for dc motor with encoder - Google Patents

Safeguard for dc motor with encoder

Info

Publication number
JPS63228987A
JPS63228987A JP62060926A JP6092687A JPS63228987A JP S63228987 A JPS63228987 A JP S63228987A JP 62060926 A JP62060926 A JP 62060926A JP 6092687 A JP6092687 A JP 6092687A JP S63228987 A JPS63228987 A JP S63228987A
Authority
JP
Japan
Prior art keywords
motor
encoder
output
current
input
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
JP62060926A
Other languages
Japanese (ja)
Inventor
Yuko Nojiri
雄幸 野尻
Kazuaki Takada
和明 高田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP62060926A priority Critical patent/JPS63228987A/en
Publication of JPS63228987A publication Critical patent/JPS63228987A/en
Pending legal-status Critical Current

Links

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
  • Control Of Electric Motors In General (AREA)
  • Control Of Direct Current Motors (AREA)

Abstract

PURPOSE:To prevent malfunction and runaway of a motor by taking out the pulsating component of current(voltage), and by discriminating the abnormal state of the breaking of the wires of an encoder through the zero rotation output of the encoder and the information of the existence of the pulsating component of the motor. CONSTITUTION:By a controlling circuit 1 and a driving circuit 2, a motor 3 is driving-controlled. To the controlling circuit 1, the input of detecting signal via a waveform shaping circuit 6 from an encoder 4 and a current detector 5 is provided, and the input of speed command from an external section is provided. Then, the waveform shaping circuit 6 is composed of a capacitor 7, resistors 8-9, and a comparator 10, and from the output of the comparator 10, rectangular-waveform output is obtained. When the output of the current detector 5 includes no pulsating component, then the output of the comparator 10 is turned into direct current determined by the voltage dividing resistors 8-9, and so by providing the input of the direct current to the controlling circuit 1 and processing the input, the existence of the pulsating component of motor current can be detected.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、エンコーダ付直流電動機の安全保護装置に係
り、特にエンコーダ断線時の異常検出に好適な安全保護
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a safety protection device for a DC motor with an encoder, and particularly to a safety protection device suitable for detecting an abnormality when an encoder is disconnected.

〔従来の技術〕[Conventional technology]

特願昭57−]、7567号記載の従来の技術を第4図
に示す。第4図において1は制御回路、2は駆動回路、
3は直流電動機(以下単に電動機という)、4はエンコ
ーダである。
FIG. 4 shows the conventional technique described in Japanese Patent Application No. 57-7567. In FIG. 4, 1 is a control circuit, 2 is a drive circuit,
3 is a DC motor (hereinafter simply referred to as a motor), and 4 is an encoder.

制御回路1に外部から速度指令を入力すると、制御回路
1−から駆動回路2にデジタルデータで駆動信号を与え
電動機3が回転を開始する。ここで駆動回路2は、デジ
タルデータである駆動信号をアナログ信号にするD/A
変換部と、このアナログ信号に基づいて電動機3に所要
の電圧を印加するトランジスタ部から構成されている。
When a speed command is input to the control circuit 1 from the outside, a drive signal is given from the control circuit 1 to the drive circuit 2 in the form of digital data, and the electric motor 3 starts rotating. Here, the drive circuit 2 is a D/A converting the drive signal, which is digital data, into an analog signal.
It consists of a converting section and a transistor section that applies a required voltage to the motor 3 based on this analog signal.

電動機3が回転すると、エンコーダ4はその回転に応じ
た出力信号を制御回路1に与える。制御回路1ては第5
図に示すような手順で外部からの速度指令を取り込み、
次に電動機の速度を計測する。制御回路にはエンコーダ
信号のパルス数をRI数する回路があり、計数値は一定
周期でリセット之れるようになっている。速度計測はリ
セット直前の41数値を読み出すことにより行われる。
When the electric motor 3 rotates, the encoder 4 provides an output signal to the control circuit 1 in accordance with the rotation. Control circuit 1 is the fifth
Take in the speed command from the outside by following the steps shown in the figure.
Next, measure the speed of the electric motor. The control circuit includes a circuit that converts the number of pulses of the encoder signal into an RI number, and the counted value can be reset at regular intervals. Speed measurement is performed by reading out the 41 numerical value immediately before reset.

速度d1測後、指令速度と計測速度とを比較し、指令速
度が計′dl!l速度より大きければ電動機の印加電圧
を増加するように駆動信号を出力し、指令速度が計測速
度より小さければ印加電圧を減少するように駆動信号を
出力し、指令速度とH1測速度が等しければ印加電圧を
変化させないように制御を行う。
After measuring the speed d1, the commanded speed and the measured speed are compared, and the commanded speed is measured 'dl! If the command speed is greater than the measured speed, a drive signal is output to increase the applied voltage to the motor. If the command speed is smaller than the measured speed, a drive signal is output to decrease the applied voltage, and if the command speed and H1 measured speed are equal. Control is performed so that the applied voltage does not change.

このような制御装置において、何等安全保護対策を行わ
なければ、エンコーダの断線の場合、電動機は回転して
いてもこitが回転していないことを示すエンコーダ出
力(以下tliに零回路出力という)を制゛御回路1に
与える結果は指令速度が計測速度より常に大きくなり、
このため上記の制御の働きから電動機の回転をますます
促進することとなって危険である。
In such a control device, if no safety protection measures are taken, if the encoder is disconnected, the encoder output (hereinafter referred to as zero circuit output) indicating that the motor is not rotating even if the motor is rotating. The result given to the control circuit 1 is that the command speed is always greater than the measured speed,
Therefore, the above-mentioned control function causes the motor to rotate more and more, which is dangerous.

この危険を回避するため従来技術では第6図の手順によ
る安全保護方式を採用している。すなわち同図に示すよ
うに、電動機の速度を計測することにより、エンコーダ
の零回転出力が成る決めた時間(以下では−・定時間と
いう)以上継続すれば異常として処理し、それ以外の場
合には指令速度とfltill!I速度とを大小比較し
、以降第5図による上記の動作を行う。
In order to avoid this danger, the prior art adopts a safety protection system according to the procedure shown in FIG. In other words, as shown in the same figure, by measuring the speed of the electric motor, if the encoder's zero rotation output continues for a predetermined time (hereinafter referred to as a fixed time), it is treated as an abnormality, and in other cases, it is treated as an abnormality. is the command speed and fltill! The I speed is compared in magnitude, and the above operation according to FIG. 5 is then performed.

この手順による判定の方式では、後述のような誤動作や
電動機の暴走を招く可能性もあった。
This procedure-based determination method could lead to malfunctions or runaway motors as described below.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記のように従来技術におけるエンコーダの断線検出は
、エンコーダの零回転出力が一定時間以上継続したこと
を判断して行っていたので、この一定時間を短くとれば
、特に重負荷時の起動遅れがDK囚でエンコーダは正常
にも拘らず異常信号が出るような誤動作を生じ、これを
避けるように一定時間を長くとれば、軽負荷の場合に一
定時間経過までに電動機が暴走回転してしまい、電動機
の回転を利用して動作する例えばロボッ1〜のように、
機械の移動距離に制限があっても、その制限を越えて機
械を動かしてしまう可能性もあった。この不具合は起動
時のみならず、電動機の回転中のエンコーダの断線の場
合にも起こり得る。
As mentioned above, encoder disconnection detection in the conventional technology was performed by determining that the encoder's zero rotation output continued for a certain period of time or more, so if this certain period of time was shortened, the startup delay, especially under heavy loads, could be reduced. With a DK prisoner, the encoder will malfunction in such a way that an abnormal signal is output even though it is normal, and if you take a longer period of time to avoid this, the motor will rotate out of control after a certain period of time when the load is light. For example, robots that operate using the rotation of an electric motor,
Even if there was a limit to the distance a machine could travel, there was a possibility that the machine would be moved beyond that limit. This problem can occur not only at startup but also when the encoder is disconnected while the motor is rotating.

本発明は、エンコーダの断線により直ちに異常検出を行
い、しかも従来のような誤動作や電動機の暴走回転を招
くような不具合もない安全保護方式を提供することを目
的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a safety protection system that immediately detects an abnormality due to a disconnection of an encoder, and does not cause malfunctions or runaway rotation of the motor as in the prior art.

〔問題点を解決するための手段〕[Means for solving problems]

」二記の目的を達成するため本発明では、電動機の電流
を検出し電動機の回転によって生ずる電流または電圧の
脈動分、例えば整流リプルを取り出す手段と、エンコー
ダの零回転出力と電動機の脈動分有りの情報とからエン
コーダの断線異常を判定する手段とを備える装置とした
In order to achieve the above two objects, the present invention includes a means for detecting the current of the motor and extracting the pulsation of the current or voltage caused by the rotation of the motor, such as rectification ripple, and a means for detecting the pulsation of the motor and the zero rotation output of the encoder. The apparatus is equipped with a means for determining a disconnection abnormality in the encoder based on the information on the encoder.

〔作用〕[Effect]

電動機の電流を検出して電流の脈動分を取り出すことは
、電動機が現に回転しているかどうかの直接的情報を得
ることになる。すなわち脈動分であれば電動機は電圧が
印加されて回転していることを示し、脈動分が無ければ
回転していないことを示す。ここに脈動分とは、例えば
整流子付直流電動機の場合、ブラシが両方の整流子のま
たがるとき等制約にコイル抵抗が下がることによる電流
の脈動分、すなわち整流リプルを意味し、電動機の回転
によって生ずるものである。
Detecting the motor current and extracting the pulsating current provides direct information as to whether the motor is actually rotating. That is, if there is a pulsation component, this indicates that the motor is rotating due to the applied voltage, and if there is no pulsation component, it indicates that the motor is not rotating. For example, in the case of a DC motor with a commutator, the pulsating component here means the pulsating component of the current due to a decrease in coil resistance due to constraints such as when the brush straddles both commutators, that is, commutation ripple. It is something that occurs.

エンコーダの零回路出力は電動機の回転速度が零の場合
のエンコーダの出力であるから、これは電動機が現実に
回転していないことを示すわけであるが、電fI1機が
回転していてもエンコーダが断線していれば出力は零と
なり回転していない場合と同等の出力となる。
The zero circuit output of the encoder is the encoder output when the rotational speed of the motor is zero, so this indicates that the motor is not actually rotating, but even if one electric motor is rotating, the encoder If the wire is disconnected, the output will be zero and the output will be the same as when it is not rotating.

したがってエンコーダの零回転出力と脈動分有りの情報
が同時にあることは、エンコーダが断線異常状1魚にあ
ることを示す。
Therefore, the presence of the encoder's zero-rotation output and the presence of pulsation information at the same time indicates that the encoder is in a disconnection abnormal state.

〔実施例〕〔Example〕

本発明の実施例を第1図に示す。第1図において、1は
制御回路、2は駆動回路、3は電動機、4はエンコーダ
、5は電流検出器、6は波形成形回路である。
An embodiment of the invention is shown in FIG. In FIG. 1, 1 is a control circuit, 2 is a drive circuit, 3 is an electric motor, 4 is an encoder, 5 is a current detector, and 6 is a waveform shaping circuit.

従来技術と同様に、外部から速度指令が制御回路1に入
力すると、制御回路]がら駆動信号が駆動回路2に与え
られ、これにより駆動回路2は電動機3に電圧を印加し
電動機は回転する。電動機の回転によりエンコーダ4か
ら回転に応した(ij号が出力となって制御回路1に与
えられ、従来技術と同様の演算制御により電動機は指令
速度で回転する。
Similar to the prior art, when a speed command is input from the outside to the control circuit 1, a drive signal is applied from the control circuit to the drive circuit 2, and the drive circuit 2 applies a voltage to the motor 3, causing the motor to rotate. As the electric motor rotates, the encoder 4 outputs an output signal (ij) corresponding to the rotation, and is given to the control circuit 1, and the electric motor rotates at a commanded speed under the same arithmetic control as in the prior art.

以下本発明に関し特に詳述する。The present invention will be specifically described below.

電動機3に直列に電流検出器5を設け、これにより電動
機に流れる電流を検出する。この電流波形は整流作用に
より例えば第3図のように、直流成分Vo をもつ脈動
分のある波形である。この波形出力を波形成形回路6に
入力する。この回路6は、コンデンサ7、抵抗8,9、
コンパレータ10で構成している。電流検出器5の出方
が脈動分を含んでいる場合には、この出力を波形成形回
路6に印加するとその入力部のコンデンサ7により抵抗
8に交流的に結合する結果、コンパレータ10の+(プ
ラス)入力には一定の直流に脈動分が加わった波形の電
圧が印加される。一方、コンパレータ1oの−(マイナ
ス)入力には抵抗8と9によって分圧される電圧が印加
され、この電圧は十入力側の入力波形の中心の直流電圧
となるように抵抗8,9の値が選ばれているので、コン
パレータ10の出力には矩形波状の出力が得られる。
A current detector 5 is provided in series with the electric motor 3 to detect the current flowing through the electric motor. Due to the rectification effect, this current waveform has a pulsating component with a DC component Vo, as shown in FIG. 3, for example. This waveform output is input to the waveform shaping circuit 6. This circuit 6 includes a capacitor 7, resistors 8 and 9,
It is composed of a comparator 10. If the output of the current detector 5 includes a pulsating component, when this output is applied to the waveform shaping circuit 6, it is AC-coupled to the resistor 8 by the capacitor 7 at its input, and as a result, the +( of the comparator 10) Plus) A waveform voltage with a pulsating component added to a constant direct current is applied to the input. On the other hand, a voltage divided by resistors 8 and 9 is applied to the − (minus) input of comparator 1o, and the values of resistors 8 and 9 are adjusted so that this voltage becomes the DC voltage at the center of the input waveform on the input side. is selected, a rectangular waveform output is obtained as the output of the comparator 10.

また、電流検出器5の出力が脈動分を含まない場合はコ
ンパレータの出力は波形成形回路の分圧抵抗できまる直
流となるので、コンパレータの出力を制御回路1に入力
して演算処理することにより、電動機電流の脈動分の有
無を検知できる。
In addition, if the output of the current detector 5 does not include a pulsating component, the output of the comparator becomes a direct current determined by the voltage dividing resistance of the waveform shaping circuit. , the presence or absence of ripples in the motor current can be detected.

第2図に、電動機の制御手順と共にエンコーダの断線異
常の検出手順を示す。
FIG. 2 shows a procedure for controlling the electric motor and a procedure for detecting a disconnection abnormality in the encoder.

従来技術と同様に、速度指令の取り込み、電動機の速度
計測、指令測度と計測速度との比較、印加電圧の増減の
計算を行うが、計測速度が零の場合には、先ず電動機の
電流に脈動分が有るか無いかを確認し、有りの情報にも
拘らずエンコーダが零回転出力であれば異常処理を行う
。また脈動分が無ければ電動機が回転していないので一
定時間以上零回路状態が続くかどうかを識別し、一定時
間以上であれば電動機の停止状態として異常処理を行い
、一定時間内であれば指令速度と計測速度とを比較し、
指令速度が計測速度より太きければ電動機の印加電圧を
増加するなど、従来技術と同じ制御手順を行う。
Similar to the conventional technology, a speed command is captured, the motor speed is measured, a command measurement is compared with the measured speed, and an increase or decrease in the applied voltage is calculated. If the encoder outputs zero rotation despite the presence information, abnormality processing is performed. In addition, if there is no pulsation, the motor is not rotating, so it is determined whether the zero-circuit state continues for a certain period of time or more, and if it is longer than a certain period of time, an abnormality processing is performed as the motor is in a stopped state, and if it is within a certain period of time, a command is issued. Compare the speed with the measured speed,
If the commanded speed is greater than the measured speed, the same control procedure as in the prior art is performed, such as increasing the voltage applied to the motor.

以上の手順の中で、一定時間の経過を待つことなく、エ
ンコーダの零回転出力と電動機電流の脈動分の有りの情
報により、エンコーダの断線異常を検出することは本発
明の特徴である。
In the above procedure, it is a feature of the present invention that a disconnection abnormality of the encoder is detected based on the zero rotation output of the encoder and the presence information of the pulsation of the motor current, without waiting for the elapse of a certain period of time.

なお、以上では整流子リプルを生ずる整流子付直流電動
機の場合について述べたが、ブラシの無い直流電動機の
場合でも、電流波形の代りに1相分の誘起電圧を使うこ
とにより同様に安全保護を行うことができる。
Although we have described the case of a DC motor with a commutator that causes commutator ripple, safety protection can be achieved in the same way in the case of a brushless DC motor by using the induced voltage of one phase instead of the current waveform. It can be carried out.

また本実施例では、電動機の制御を印加電圧を変えるこ
とにより行ったが、一定周期内での電動機への通電時間
を変化させて回転数を制御する方式、すなわちPWM 
(パルス幅変調)方式を行う場合も、電流波形を低域通
過形フィルタを通して波形成形回路に入力する方法でP
WM方式により生じた脈動の影響を除くことにより、同
様の安全保護を行うことができる。
In addition, in this embodiment, the electric motor was controlled by changing the applied voltage, but there is a method in which the rotation speed is controlled by changing the energization time to the electric motor within a certain period, that is, PWM.
(pulse width modulation) method, the current waveform is input to the waveform shaping circuit through a low-pass filter.
Similar safety protection can be achieved by removing the effects of pulsation caused by the WM method.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、エンコーダの零回転出力と共に電動機
電流の脈動分有りの情報によって異常検出しているので
、エンコーダの断線異常が発生した場合、直ちに異常検
出し安全保護を行うことができる。また起動時車負荷で
電動機の回転か立ち上っていない場合は、電動機電流に
脈動分がないので、エンコーダの断線異常と区別でき、
誤動作を生じない。更に運転中にエンコーダの断線があ
っても、本発明では電流の脈動分を検知するので直ちに
異常検出できるということにより、機械が許容範囲を越
えて動くような不具合もない。
According to the present invention, an abnormality is detected based on information on the presence of pulsation in the motor current as well as the zero-rotation output of the encoder, so that when an encoder disconnection abnormality occurs, the abnormality can be immediately detected and safety protection can be performed. Also, if the motor does not start rotating due to the vehicle load at startup, there is no pulsation in the motor current, so it can be distinguished from an encoder disconnection error.
Does not cause malfunction. Furthermore, even if the encoder is disconnected during operation, the present invention detects the pulsation of the current, so the abnormality can be immediately detected, and there is no problem such as the machine moving beyond the permissible range.

以上により本発明の目的が達成できる。Through the above steps, the object of the present invention can be achieved.

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

第1図は本発明の実施例の構成図、第2図は本発明の実
施例の手順の説明図、第3図は直流電動機の電流波形図
、第4図は従来技術の構成図、第5図及び第6図は従来
技術の手順の説明図である、1・・・制御回路、2・・
l駆動回路、3・・直流電動機、4・・・エンコーダ、
5・・電流検出器、6・・・波形成形回路。
Fig. 1 is a block diagram of an embodiment of the present invention, Fig. 2 is an explanatory diagram of the procedure of an embodiment of the present invention, Fig. 3 is a current waveform diagram of a DC motor, and Fig. 4 is a block diagram of a conventional technology. 5 and 6 are explanatory diagrams of the procedure of the prior art, 1... control circuit, 2...
l drive circuit, 3... DC motor, 4... encoder,
5... Current detector, 6... Waveform shaping circuit.

Claims (1)

【特許請求の範囲】[Claims] 1、直流電動機の回転に応じた信号を出力するエンコー
ダを備え、その出力を利用して直流電動機を所要の回転
に制御する制御装置における、エンコーダ断線時におこ
り得る該電動機の異常回転を回避するための安全保護装
置において、直流電動機の電流を検出して該電動機の回
転によつて生ずる電流または電圧の脈動分を取り出す手
段と、該電動機が回転していないことを示すエンコーダ
出力と上記脈動分有りの情報とから断線異常を判定する
手段、とを備えることを特徴とする、エンコーダ付直流
電動機の安全保護装置。
1. To avoid abnormal rotation of the motor that may occur when the encoder is disconnected in a control device that is equipped with an encoder that outputs a signal corresponding to the rotation of the DC motor and uses the output to control the DC motor to the desired rotation. A safety protection device includes means for detecting the current of a DC motor and extracting the pulsation of the current or voltage generated by the rotation of the motor, an encoder output indicating that the motor is not rotating, and a means for detecting the pulsation. A safety protection device for a DC motor with an encoder, comprising: a means for determining a disconnection abnormality from information on
JP62060926A 1987-03-18 1987-03-18 Safeguard for dc motor with encoder Pending JPS63228987A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62060926A JPS63228987A (en) 1987-03-18 1987-03-18 Safeguard for dc motor with encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62060926A JPS63228987A (en) 1987-03-18 1987-03-18 Safeguard for dc motor with encoder

Publications (1)

Publication Number Publication Date
JPS63228987A true JPS63228987A (en) 1988-09-22

Family

ID=13156480

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62060926A Pending JPS63228987A (en) 1987-03-18 1987-03-18 Safeguard for dc motor with encoder

Country Status (1)

Country Link
JP (1) JPS63228987A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002098553A (en) * 2000-09-21 2002-04-05 Yaskawa Electric Corp Rotatory detection system abnormality detecting method and its device
JP2015213931A (en) * 2014-05-08 2015-12-03 株式会社ダイヘン Motor drive device and control method for motor drive device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002098553A (en) * 2000-09-21 2002-04-05 Yaskawa Electric Corp Rotatory detection system abnormality detecting method and its device
JP2015213931A (en) * 2014-05-08 2015-12-03 株式会社ダイヘン Motor drive device and control method for motor drive device

Similar Documents

Publication Publication Date Title
EP1814217B1 (en) Motor control method and motor control apparatus
US20060055365A1 (en) Motor control device
JP2004064844A (en) Steering control system for vehicle
JPH09172791A (en) Failure detection device for a.c. motor control circuit
CN109195859B (en) Electronic control device and operation control method thereof
JPH06253585A (en) Abnormality detector for brushless motor
EP0730156B1 (en) Method and apparatus for DC motor speed monitoring
JPS63228987A (en) Safeguard for dc motor with encoder
CN114450885B (en) AC rotary electric machine device
JPH07222477A (en) Rotating direction detector
JP4086102B2 (en) Stepping motor control device
US20120112682A1 (en) Method for detecting blockages of electrically commutated electric motors
EP3244528B1 (en) Power conversion device and control method for power conversion device
JPH03207274A (en) Detector for abnormality of inverter device
KR100332806B1 (en) Position sensing circuit for bldc motor
JPH04340400A (en) Driver of stepping motor
JP4178766B2 (en) Motor control method and motor drive device
JP2551058B2 (en) Motor speed abnormality detection circuit
JP2811018B2 (en) Electric power steering device
JPS60186909A (en) Abnormality detecting circuit of servo system
JP2666798B2 (en) Servo motor runaway detection / prevention method
JPH0681532B2 (en) Power wire breakage detection device for servo motors
JPH02303387A (en) Motor controller
JPH0543797U (en) Abnormality detection circuit for brushless motor drive circuit
JPH11289795A (en) Power converter