JPH02193580A - Control device of motor rotation - Google Patents

Control device of motor rotation

Info

Publication number
JPH02193580A
JPH02193580A JP898689A JP868989A JPH02193580A JP H02193580 A JPH02193580 A JP H02193580A JP 898689 A JP898689 A JP 898689A JP 868989 A JP868989 A JP 868989A JP H02193580 A JPH02193580 A JP H02193580A
Authority
JP
Japan
Prior art keywords
motor
frequency
pulses
rotation
abnormality
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
JP898689A
Other languages
Japanese (ja)
Inventor
Tadakatsu Aida
相田 忠勝
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP898689A priority Critical patent/JPH02193580A/en
Publication of JPH02193580A publication Critical patent/JPH02193580A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

PURPOSE:To detect abnormality in a short time by changing a monitor value for detection of abnormality according to an objective rotation speed of a motor. CONSTITUTION:A motor rotation control device is composed of a key board 1, a micro-computer (micon) 2, a pulse distributer 3, a deflection counter 4, a D/A converter 5, etc., and controls rotation of a motor 6. The micon 2 is composed of a CPU 11, etc., and can read the number of stored pulses of the deflection counter 4. According to a set rotation speed, a monitor range of a count value of the deflection counter 4 is determined by a digital switch 8. Abnormality can be thereby detected in a short time while the rotation does not run away.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はモータの回転制御装置に関し、詳しくはモータ
の異常検出を行なうことが可能なモータの回転制御装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a motor rotation control device, and more particularly to a motor rotation control device capable of detecting an abnormality in a motor.

(従来の技術〕 一般に、モータの制御では、目標とする回転速度と実際
に検出される回転速度との偏差に基づいたいわゆるフィ
ードバック制御を行なう。
(Prior Art) Generally, when controlling a motor, so-called feedback control is performed based on the deviation between a target rotational speed and an actually detected rotational speed.

このような制御を行なう装置においてモータあるいはモ
ータが駆動する装置の異常に起因するモータの回転異常
を検出する構成の一つとして、上記偏差を監視し、偏差
が所定の値を越えたときモータ回転の異常を検出する構
成がある。
In a device that performs such control, one of the configurations for detecting abnormal rotation of the motor due to an abnormality in the motor or the device driven by the motor is to monitor the above deviation, and when the deviation exceeds a predetermined value, the motor rotation is stopped. There is a configuration that detects abnormalities.

この構成では、目標回転速度に対応した指令パルスの周
波数と実際の回転速度に対応した帰還パルスの周波数と
の差を偏差、すなわち溜りパルス数として計数する。
In this configuration, the difference between the frequency of the command pulse corresponding to the target rotation speed and the frequency of the feedback pulse corresponding to the actual rotation speed is counted as a deviation, that is, the number of droop pulses.

この計数された溜りパルス数が所定の監視パルス数を越
えた場合にそ一夕回転の異常と判断する。
If the counted number of droop pulses exceeds a predetermined number of monitoring pulses, it is determined that the rotation is abnormal.

ところで、例えば何らかの異常によフてモータの回転が
停止し、従がって帰還パルス周波数がOとなった場合、
上記監視パルス数をNとしたとき、異常検出までの時間
、すなわち偏差カウンタが指令パルスの周波数fcpを
計数して監視パルス数Nを越えるまでの時間tは、 t=N/fcp と表わすことができ、この関係は第4図に示される。
By the way, for example, if the rotation of the motor stops due to some abnormality and the feedback pulse frequency becomes O,
When the number of monitoring pulses mentioned above is N, the time t until an abnormality is detected, that is, the time t until the deviation counter counts the frequency fcp of the command pulse and exceeds the number N of monitoring pulses, can be expressed as t=N/fcp. This relationship is shown in FIG.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところが、従来装置にあっては監視パルス数Nを固定の
値としていたため、上式および第4図から明らかなよう
に指令パルスの周波数が低いほど異常を検出するまでの
時間が長くなってしまい、この間にモータ等に発生して
いる何らかの異常によってモータが回復不能な損傷を被
むる恐れがあった。
However, in conventional devices, the number of monitoring pulses N was set to a fixed value, so as is clear from the above equation and Figure 4, the lower the frequency of the command pulse, the longer it takes to detect an abnormality. During this time, there was a risk that the motor would be irreparably damaged due to some kind of abnormality occurring in the motor or the like.

また、モータは偏差カウンタの溜りパルス数に比例した
回転速度で回転するため、監視パルス数を大きな値、例
えばモータの最高回転数に設定しておくと、例えば異常
発生によって帰還パルス数がOとなった場合にはモータ
回転は高速となり、モータ回転が暴走する等、モータ異
常を助長させるという問題点もあった。
Also, since the motor rotates at a rotational speed proportional to the number of droop pulses on the deviation counter, if the number of monitoring pulses is set to a large value, for example the maximum rotational speed of the motor, the number of feedback pulses may become O due to an abnormality. When this occurs, the motor rotation becomes high speed, causing problems such as runaway motor rotation and other problems, such as aggravating motor abnormalities.

本発明は上述した従来の問題点を解消するためになされ
たものであり、その目的とするところはモータの目標回
転速度として設定された回転速度に応じて異常検出のた
めの監視値を変化させるようにし、短時間かつモータの
回転が暴走しないうちに異常検出を行なうことが可能な
モータの回転制御装置を提供することにある。
The present invention has been made to solve the above-mentioned conventional problems, and its purpose is to change a monitoring value for abnormality detection according to the rotation speed set as the target rotation speed of the motor. It is an object of the present invention to provide a motor rotation control device capable of detecting an abnormality in a short period of time and before the rotation of the motor goes out of control.

〔課題を解決するための手段〕[Means to solve the problem]

そのために本発明ではモータの回転速度を設定する設定
手段と、設定手段により設定される回転速度に応じた周
波数のパルスを発生する指令パルス発生手段と、モータ
の回転速度に応じた周波数のフィードバックパルスを発
生するフィードバックパルス発生手段と、指令パルスの
周波数とフィードバックパルスの周波数との差を計数す
る偏差カウンタと、偏差カウンタの計数値に基づいてモ
ータを駆動するモータ駆動手段と、偏差カウンタの計数
値が設定手段によって設定される回転速度に応じて定め
られる範囲内にあるか否かを判断する計数値監視手段と
、計数値監視手段が、範囲内にないと判断したとき所定
の処理を行なう異常処理手段とを具えたことを特徴とす
るものである。
To this end, the present invention includes a setting means for setting the rotational speed of the motor, a command pulse generation means for generating pulses with a frequency corresponding to the rotational speed set by the setting means, and a feedback pulse with a frequency corresponding to the rotational speed of the motor. a deviation counter that counts the difference between the frequency of the command pulse and the frequency of the feedback pulse, a motor drive means that drives the motor based on the count value of the deviation counter, and the count value of the deviation counter. A count value monitoring means for determining whether or not the rotation speed is within a range determined according to the rotation speed set by the setting means, and an abnormality in which the count value monitoring means performs a predetermined process when it is determined that the count value is not within the range. It is characterized by comprising a processing means.

〔作用〕[Effect]

以上の構成によれば、設定される回転速度に応じて、偏
差カウンタにおける計数値の監視範囲が定められる。
According to the above configuration, the monitoring range of the count value in the deviation counter is determined according to the set rotation speed.

〔実施例〕〔Example〕

以下、図面を参照して本発明の実施例を詳細に説明する
Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は本発明の一実施例を示すモータ回転制御装置の
ブロック図である。同図において、1はキーボードであ
り、これによってモータの目標回転速度やモータに駆動
される移動体の移動量等、モータ駆動に係る諸量の設定
入力を行なう、8はディジタルスイッチであり、後述さ
れる溜りパルス数の監視値範囲を設定するための値を入
力する。2はマイクロコンピュータであり、後述される
処理手順を実行するCPUII 、第2図にて後述され
る処理手順等を格納するROM12 、およびCPUI
Iによって実行される処理のワークエリアとして用いら
れるRAM13を有してモータ回転制御および以下に詳
述される処理等を実行する。3はマイクロコンピュータ
2の制御に基づき、キーボード1で設定されるモータの
目標回転速度、および回転量すなわち移動量にかかる払
い出しパルス数のデータが設定されるパルス分配器であ
り、パルス分配器3はこれらデータに基づいて目標回転
速度に応じた指令パルスを発生し、また設定されたパル
ス数の払い出しを完了すると完了信号iRをマイクロコ
ンピュータ2へ出力する。
FIG. 1 is a block diagram of a motor rotation control device showing one embodiment of the present invention. In the figure, 1 is a keyboard, which is used to input various settings related to motor drive, such as the target rotational speed of the motor and the amount of movement of a moving object driven by the motor. 8 is a digital switch, which will be described later. Enter the value to set the monitoring value range for the number of droop pulses. 2 is a microcomputer, which includes a CPU II that executes the processing procedure described later, a ROM 12 that stores the processing procedure etc. described later in FIG. 2, and a CPU I
It has a RAM 13 that is used as a work area for processing executed by I, and executes motor rotation control and processing detailed below. Reference numeral 3 denotes a pulse distributor in which data on the target rotational speed of the motor and the number of dispensing pulses related to the amount of rotation, that is, the amount of movement are set based on the control of the microcomputer 2; Based on these data, command pulses corresponding to the target rotational speed are generated, and a completion signal iR is output to the microcomputer 2 when the set number of pulses has been delivered.

4はアップ/ダウンカウンタよりなる偏差カウンタであ
り、指令パルスCPの周波数と後述される帰還パルスB
Pの周波数との差を溜りパルス数(偏差)として計数し
、また、この溜りパルス数を出力する。すなわち、溜り
パルス数は指令パルス周波数が帰還パルス周波数より大
のときに増加し、小のときには減少する。
4 is a deviation counter consisting of an up/down counter, and the frequency of the command pulse CP and the feedback pulse B described later are
The difference from the frequency of P is counted as the number of droop pulses (deviation), and this number of droop pulses is output. That is, the number of droop pulses increases when the command pulse frequency is larger than the feedback pulse frequency, and decreases when it is smaller.

5は偏差カウンタ4からの溜りパルス数出力をpハ変換
するD/A変換器、6はD/A変換器5からのアナログ
出力値に基づいて回転速度等が制御されるモータ、7は
モータ6の回転を検出し、その回転速度を帰還パルスB
Pの周波数に変換した形態で出力するインクリメンタル
エンコーダである。
5 is a D/A converter that converts the accumulated pulse number output from the deviation counter 4 into a p/A converter, 6 is a motor whose rotational speed etc. are controlled based on the analog output value from the D/A converter 5, and 7 is a motor. 6 is detected, and the rotation speed is determined by the feedback pulse B.
This is an incremental encoder that outputs the converted frequency of P.

上記構成において、マイクロコンピュータ2は偏差カウ
ンタ4の溜りパルス数を読込むことが可能であり、以下
の第2図に示すモータの異常検出処理を行なう。
In the above configuration, the microcomputer 2 can read the number of accumulated pulses from the deviation counter 4, and performs the motor abnormality detection process shown in FIG. 2 below.

第2図はモータの異常検出制御の処理手順を示すフロー
チャートである。まずステップ520において偏差カウ
ンタ4から溜りバフLzス数を取込み、次にステップ5
21で目標回転速度に対応した指令周波数fcpと、デ
ィジタルスイッチ8により設定される監視値範囲とに基
づき、この溜りパルス数が異常か否かを判断する。ここ
で異常が検出されない限り、ステップ520へ戻り溜り
パルス数取込みを繰り返えす。
FIG. 2 is a flowchart showing the processing procedure for motor abnormality detection control. First, in step 520, the accumulated buff Lz number is read from the deviation counter 4, and then in step 5
At step 21, it is determined whether or not this number of droop pulses is abnormal based on the command frequency fcp corresponding to the target rotational speed and the monitoring value range set by the digital switch 8. Unless an abnormality is detected here, the process returns to step 520 and the acquisition of the number of accumulated pulses is repeated.

ステップ521で異常を検出すると、ステップ522に
おいて偏差カウンタ4に溜りパルスクリア信号CLRを
出力して本処理を終了する。これにより、偏差カウンタ
4の溜りパルス数は“0”となり、その結果D/A変換
器5の出力も“0”となってモータ6は停止する。
If an abnormality is detected in step 521, a droop pulse clear signal CLR is output to the deviation counter 4 in step 522, and the present process ends. As a result, the number of accumulated pulses in the deviation counter 4 becomes "0", and as a result, the output of the D/A converter 5 also becomes "0", and the motor 6 stops.

以下、上述したステップ520および521の処理を詳
細に説明する。
The processing of steps 520 and 521 described above will be explained in detail below.

まず、ステップS2Qにおいてマイクロコンピュータ2
は偏差カウンタ4から所定タイミングで溜りパルス数N
を取込み、ステップ521で以下に示す式を満たすか否
かを調べる。
First, in step S2Q, the microcomputer 2
is the number of accumulated pulses N from the deviation counter 4 at a predetermined timing.
In step 521, it is checked whether the following formula is satisfied.

すなわち、例えばモータ6が定格回転速度で回転すると
きの溜りパルス数No、およびこのときの指令パルス周
波数fcpoとすれば、一般に、目標回転速度時の溜り
パルス数Nは、目標速度時の指令パルス周波数を用いて
、N = (fcp /fcpo) ・N。
That is, for example, if the number of droop pulses No. when the motor 6 rotates at the rated rotation speed and the command pulse frequency fcpo at this time are the number N of droop pulses at the target rotation speed, the number N of droop pulses at the target rotation speed is generally the number of command pulses at the target speed. Using frequency, N = (fcp /fcpo) ·N.

と表わすことができ、また、この関係は第3図に示され
る。
This relationship is shown in FIG.

これにより、キーボード】で設定する目標回転速度、す
なわち、このときの指令パルス周波数fcp 、および
ディジタルスイッチ8で設定する監視値範囲とによって
、溜りパルス数の監視範囲を定めることができ、特に目
標回転速度に応じて監視範囲を定めることができるため
、監視範囲を狭く設定することが可能となる。
As a result, the monitoring range of the number of droop pulses can be determined by the target rotation speed set with the keyboard], that is, the command pulse frequency fcp at this time, and the monitoring value range set with the digital switch 8. Since the monitoring range can be determined according to the speed, it is possible to set the monitoring range narrowly.

なお、溜りパルス数の監視は、必ずしも上限および下限
を有する範囲によって行なわれる必要はなく、例えばモ
ータやモータに駆動される機器に応じて上限のみでもよ
い。
Note that the monitoring of the number of droop pulses does not necessarily have to be performed using a range having an upper limit and a lower limit, and for example, only the upper limit may be used depending on the motor or the device driven by the motor.

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

以上の説明から明らかなように本発明によれば設定され
る回転速度に応じて偏差カウンタにおける計数値の監視
範囲が定められる。
As is clear from the above description, according to the present invention, the monitoring range of the count value in the deviation counter is determined according to the set rotational speed.

この結果、監視範囲をきめ細かく設定でき、異常発生時
には短時間で異常検出でき、またモータ暴走を未然に防
止できる。
As a result, the monitoring range can be set in detail, abnormality can be detected in a short time when an abnormality occurs, and motor runaway can be prevented.

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

第1図は本発明の一実施例にがかるモータ回転制御装置
のブロック図、 第2図は本発明の一実施例を示す異常検出処理のフロー
チャート、 第3図は溜りパルス数と指令パルス数との関係を示す線
図、 第4図は指令パルス周波数に応じた異常検出時間の関係
を示す線図である。 1 ・・・ キーボード、 一〇 〜も マイクロコンピュータ、 パルス分配器、 偏差カウンタ、 D/A変換器、 モータ、 インクメンタルエンコーダ、 ディジタルスイッチ、 CPU。 ROM。 RAM。
Fig. 1 is a block diagram of a motor rotation control device according to an embodiment of the present invention, Fig. 2 is a flowchart of abnormality detection processing according to an embodiment of the present invention, and Fig. 3 shows the number of accumulated pulses and the number of command pulses. FIG. 4 is a diagram showing the relationship between the abnormality detection time and the command pulse frequency. 1...Keyboard, microcomputer, pulse distributor, deviation counter, D/A converter, motor, incremental encoder, digital switch, CPU. ROM. RAM.

Claims (1)

【特許請求の範囲】 1)モータの回転速度を設定する設定手段と、該設定手
段により設定される回転速度に応じた周波数のパルスを
発生する指令パルス発生手段と、 前記モータの回転速度に応じた周波数のフィードバック
パルスを発生するフィードバックパルス発生手段と、 前記指令パルスの周波数と前記フィードバックパルスの
周波数との差を計数する偏差カウンタと、 該偏差カウンタの計数値に基づいて前記モータを駆動す
るモータ駆動手段と、 前記偏差カウンタの計数値が前記設定手段によつて設定
される回転速度に応じて定められる範囲内にあるか否か
を判断する計数値監視手段と、 該計数値監視手段が、前記範囲内にないと判断したとき
所定の処理を行なう異常処理手段とを具えたことを特徴
とするモータの回転制御装置。
[Scope of Claims] 1) Setting means for setting the rotational speed of the motor; command pulse generation means for generating pulses with a frequency corresponding to the rotational speed set by the setting means; a feedback pulse generating means for generating a feedback pulse with a frequency of a given frequency; a deviation counter that counts a difference between the frequency of the command pulse and the frequency of the feedback pulse; and a motor that drives the motor based on the count value of the deviation counter. a driving means; a count monitoring means for determining whether the count value of the deviation counter is within a range determined according to the rotational speed set by the setting means; the count monitoring means; A rotation control device for a motor, comprising: abnormality processing means that performs predetermined processing when it is determined that the rotation is not within the range.
JP898689A 1989-01-19 1989-01-19 Control device of motor rotation Pending JPH02193580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP898689A JPH02193580A (en) 1989-01-19 1989-01-19 Control device of motor rotation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP898689A JPH02193580A (en) 1989-01-19 1989-01-19 Control device of motor rotation

Publications (1)

Publication Number Publication Date
JPH02193580A true JPH02193580A (en) 1990-07-31

Family

ID=11699891

Family Applications (1)

Application Number Title Priority Date Filing Date
JP898689A Pending JPH02193580A (en) 1989-01-19 1989-01-19 Control device of motor rotation

Country Status (1)

Country Link
JP (1) JPH02193580A (en)

Similar Documents

Publication Publication Date Title
JPH06182637A (en) Thread fastening device
US5796221A (en) Overload detector for servo driven machines
JPH06189566A (en) Drive control device for vibration wave motor
JPH02193580A (en) Control device of motor rotation
EP0287684B1 (en) Negative feedback control system
JPH01320467A (en) Measurement of revolutions for machine
EP0201902B1 (en) Sewing machine with reference speed correction by dimensional ratio between motor- and armshaft-pulleys
JP3480860B2 (en) Disturbance tracking type positioning control method
JP2819411B2 (en) Fixed position stop control device
JP2579172B2 (en) Motor stop control method for sewing machine
JPS58155308A (en) Method for returning positioning device to original point
JPS6126114A (en) Control device of industrial machine
KR930000183B1 (en) Serial printer
JP2579160B2 (en) Speed control device of electric motor in sewing machine
JP2740953B2 (en) Spindle fixed position stop control device
JP2000175497A (en) Device and method for controlling pulse motor and recording medium with pulse motor control program recorded therein
RU2030981C1 (en) Apparatus for diagnostics of condition of cutting tool in numerical program controlled machine tool
JPH11215873A (en) Method of detecting run-out of motor, and motor driver
JPH11119804A (en) Driving controller for servomotor
JPH04217889A (en) Controller for servo motor
JPH09128054A (en) Pid controller
JP2001334093A (en) Motor control device for sewing machine
JPH0710199B2 (en) Position controller for pulse motor
JPS5930941A (en) Control of multicolor free selecting motor
JPH0659712A (en) Table moving stopping device and method ion nc working device