JPH01259770A - Hunting preventing system - Google Patents

Hunting preventing system

Info

Publication number
JPH01259770A
JPH01259770A JP8387488A JP8387488A JPH01259770A JP H01259770 A JPH01259770 A JP H01259770A JP 8387488 A JP8387488 A JP 8387488A JP 8387488 A JP8387488 A JP 8387488A JP H01259770 A JPH01259770 A JP H01259770A
Authority
JP
Japan
Prior art keywords
motor
data
rotation angle
change
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
JP8387488A
Other languages
Japanese (ja)
Inventor
Takeshi Okamoto
武志 岡本
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP8387488A priority Critical patent/JPH01259770A/en
Publication of JPH01259770A publication Critical patent/JPH01259770A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Position Or Direction (AREA)
  • Stopping Of Electric Motors (AREA)

Abstract

PURPOSE:To prevent hunting from being generated, by arranging an input- change-directional flag and a feedback-change-directional flag, and by detecting the excessive state of a motor from these flags and a deviation. CONSTITUTION:A motor controller is composed of a motor 1 driven by an AC power source 6, the controlling circuit 2 of the motor, a switch 3, an input signal oscillator 4, and a potentiometer 5. An input data from the input signal oscillator 4 and a feedback data from the potentiometer 5 are compared with each other by a micro-computer 2a in the controlling circuit 2 and are discriminated, and by turning the switch 3 ON/OFF, the forward rotation, reverse rotation, and stopping of the motor 1 are controlled. In this case, an input-data- change-directional flag and a feedback-data-change-directional flag are arranged. Then, from the flags and the deviation of the data, the excessive state of the motor 1 is detected, and as long as the input data does not change, the motor 1 is stopped. As a result, the response of the motor 1 can be quickened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は制御対象体を回転或いは移動させるモータと、
制御対象体の回転角或いは位置を検出するセンサと、該
センサが出力する回転角データ或いは位置データ(以下
1フイードバツクデータ」と記す)と回転角或いは位置
を設定する外部からの入力データを受けモータに対して
正転、逆転、停止の制御を行なう制御回路を具備する回
転角或いは位置決め装置において、モータのハンチング
を防止する方法に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a motor for rotating or moving a controlled object;
A sensor that detects the rotation angle or position of a controlled object, rotation angle data or position data output by the sensor (hereinafter referred to as 1 feedback data), and external input data that sets the rotation angle or position. The present invention relates to a method for preventing hunting of a motor in a rotation angle or positioning device equipped with a control circuit that controls normal rotation, reverse rotation, and stop of a receiving motor.

〔従来技術〕[Prior art]

第3図は、従来のモータ制御の動作説明図である。同図
において、矢印1、矢印2、矢印3はモータの回転方向
を示す。
FIG. 3 is an explanatory diagram of conventional motor control operation. In the figure, arrow 1, arrow 2, and arrow 3 indicate the rotation direction of the motor.

外部から設定される入力データに対する制御対象からの
フィードバックデータの偏差Xが正の場合モータを正転
(矢印2)、負の場合は逆転(矢印1)許せてXが0に
なる方向にモータを回転させ、Xが不感帯内(X、≦X
≦X+)に入ると停止させる。この時モータは、モータ
の慣性やギヤの遊び等の理由でX=X、又はX=XIか
ら行き過ぎた点で停止する。しかし、その行き過ぎ量が
不感帯幅1xo−X口を越えると、再びモータをXが0
になる方向に回転させるため、モータはX=0を中心に
正転、逆転を繰り返すハンチング状態になる(矢印3)
。そこで従来は、このハンチング状態を防止するため、
不感帯幅を広げていた。
If the deviation X of the feedback data from the controlled object with respect to the input data set from the outside is positive, the motor will run in the forward direction (arrow 2), and if it is negative, it will run in the reverse direction (arrow 1). Rotate until X is within the dead zone (X, ≦X
≦X+), it is stopped. At this time, the motor stops at a point where it has gone too far from X=X or X=XI due to reasons such as motor inertia and gear play. However, when the amount of overshoot exceeds the dead band width 1xo-X mouth, the motor is turned off again when
In order to rotate in the direction of
. Conventionally, in order to prevent this hunting condition,
The dead zone width was widened.

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

しかしながら上記従来のハンチング状態を防止方法では
、モータによってギヤの遊び等の程度が異なるため、モ
ータ毎に不感帯幅を変えなくてはならないばかりではな
く、不感帯幅を広くすることで入力信号の微少変化に対
してモータが追従しなくなり、制御対象の回転角或いは
位置決め精度が悪くなるという問題があった。
However, in the above-mentioned conventional hunting prevention method, since the degree of gear play etc. differs depending on the motor, it is not only necessary to change the dead band width for each motor, but also by widening the dead band width, minute changes in the input signal can be caused. There is a problem in that the motor cannot follow the rotation angle or the positioning accuracy of the controlled object.

本発明の目的は上記欠点を除去し、不感帯幅を変えるこ
となく、いかなるモータに対してもハンチングを発生さ
せないハンチング防止方式を程供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate the above drawbacks and provide a hunting prevention method that does not cause hunting in any motor without changing the dead zone width.

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

上記課題を解決するため本発明は、入力データの変化方
向を示す入力変化方向フラグとフィードバックデータの
変化方向を示すフィードバック変化方向フラグを設け、
どれらの入力変化方向フラグ及びフィードバック変化方
向フラグと入力データに対するフィードバックデータの
偏差からモータの行き過ぎ状態を検出し、モータの行き
過ぎ状態が発生した時に入力データが変化しないかぎり
モータを停止させて、ハンチングを防止するようにした
In order to solve the above problems, the present invention provides an input change direction flag indicating the change direction of input data and a feedback change direction flag indicating the change direction of feedback data,
The overshooting state of the motor is detected from which input change direction flag and feedback change direction flag and the deviation of the feedback data from the input data, and when the motor overshooting state occurs, the motor is stopped unless the input data changes and hunting is performed. This was made to prevent this.

〔作用〕[Effect]

ハンチング防止方式を上記の如く構成することにより、
行き過ぎ状態が発生した場合モータを停止させ、逆方向
に回転させないようにしているので、ハンチングは起こ
らない。また、ハンチングが起こらないことにより、ハ
ンチング防止のための不感帯をもつ必要がなく、入力の
微小変化に対するモータの応答を速くすることができる
By configuring the hunting prevention method as described above,
If an overshoot condition occurs, the motor is stopped and prevented from rotating in the opposite direction, so hunting does not occur. Furthermore, since hunting does not occur, there is no need to provide a dead zone to prevent hunting, and the motor can respond quickly to minute changes in input.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

第1図は本発明に係るハンチング防止方式を適用するモ
ータ制御装置の回路図である。同図において、1はAC
tfiで駆動きれるモータ、2は前記モータ1を制御す
る制御回路、3は前記制御回路2によりオン・オフされ
るスイッチ、4は入力信号発振器、5は前記モータ1の
回転に連動してその抵抗値が変化するポテンショメータ
、6はAC電源である。
FIG. 1 is a circuit diagram of a motor control device to which a hunting prevention method according to the present invention is applied. In the same figure, 1 is AC
2 is a control circuit that controls the motor 1; 3 is a switch that is turned on and off by the control circuit 2; 4 is an input signal oscillator; 5 is a resistor that operates in conjunction with the rotation of the motor 1. A potentiometer whose value changes, 6 is an AC power source.

入力信号発振器4からの入力データとポテンショメータ
5から得られるフィードバックデータを制御回路2の中
のマイクロコンピュータ2aで比較及び判断し、スイッ
チ3をオン・オフさせることでモータ1に対して正転、
逆転、停止の制御を行なう。
The input data from the input signal oscillator 4 and the feedback data obtained from the potentiometer 5 are compared and judged by the microcomputer 2a in the control circuit 2, and the switch 3 is turned on and off to cause the motor 1 to rotate in the normal direction.
Performs reverse and stop control.

以下、上記構成のモータ制御装置におけるハンチング防
止方法を第2図の動作説明図を参照しながら説明する。
Hereinafter, a method for preventing hunting in the motor control device having the above configuration will be explained with reference to the operation diagram of FIG. 2.

同図において、偏差又は入力データからフィードバック
データを引いたデータ、入力変化方向フラグAは前記入
力データが変化してその値が前回より大きくなった時“
1”、小さくなった時に“0”となるフラグで、入力設
定データの増減方向を表わす。フィードバックデータ変
化方向フラグBはフィードバックが変化してその値が前
回より大きくなった時に“1′、小さくなった時に“0
”となるフラグで、モータ1の回転方向を表わす。偏差
Xと入力変化方向フラグAとフィードバック変化方向フ
ラグBの組み合わせにおいて、偏差Xが正の場合(x>
0)はモータ1を正転、負(x<0)の場合はモータ1
を逆転、0の場合はモータ1を停止させる。ただし、偏
差Xが負、つまりフィードバックデータの方が入力デー
タよりも大きい時に、入力変化方向フラグA及びフィー
ドバック変化方向フラグBが共に“1″であるのは、モ
ータ1を正転させた後停止させながら行き過ぎた場合で
ある。また、偏差Xが正、つまりフィードバックデータ
の方が入力データよりも小さい時に、入力変化方向フラ
グ及びフィードバック変化方向フラグがともに“0゛で
あるのは、モータ1を逆転させた後停止させたが、行き
過ぎた場合である。このような場合はモータ1を停止さ
せる。上記ように本実施例では、入力データとフィード
バックデータの変化方向を表わす入力変化方尚フラグA
とフィードバック変化方向フラグBを設け、行き過ぎ状
態を検出したときはモータを停止させることで、逆方向
に回転させないようにし、設定データが変化しない限り
停止許せておく。この場合、行き過ぎ状態を検出しても
、その行き過ぎ量はデータの数ビツト程度であり、入力
データ及びフィードバックが下限値から上限値まで変化
する間のデータ幅に比べて極めて小さい量であるからモ
ータ1を停止しても実際上の支障がない。
In the same figure, the deviation or the data obtained by subtracting the feedback data from the input data, and the input change direction flag A, are set when the input data changes and its value becomes larger than the previous time.
This flag becomes "0" when the value becomes "1" and becomes smaller, and indicates the direction of increase/decrease in the input setting data.The feedback data change direction flag B becomes "1" when the feedback changes and its value becomes smaller than the previous value. “0” when
” indicates the rotation direction of the motor 1. In the combination of deviation X, input change direction flag A, and feedback change direction flag B, if deviation X is positive (x>
0), motor 1 rotates forward, and negative (x<0), motor 1
is reversed, and if it is 0, motor 1 is stopped. However, when the deviation This is a case of going too far. Also, when the deviation In this case, the motor 1 is stopped.As mentioned above, in this embodiment, the input change direction flag A indicating the direction of change of input data and feedback data is
A feedback change direction flag B is provided, and when an overshooting state is detected, the motor is stopped to prevent it from rotating in the opposite direction, and the motor is allowed to stop as long as the setting data does not change. In this case, even if an overshoot condition is detected, the amount of overshoot is about a few bits of data, which is extremely small compared to the data width during which the input data and feedback change from the lower limit value to the upper limit value, so the motor There is no practical problem even if 1 is stopped.

以上、本実施例では、行き過ぎ状態が発生した場合モー
タ1を停止させ、逆方向に回転させないようにしている
ので、ハンチングは起こらない。
As described above, in this embodiment, when an overshooting condition occurs, the motor 1 is stopped and prevented from rotating in the opposite direction, so hunting does not occur.

さらに、本実例によればハンチングが起こらないことに
より、ハンチング防止のための不感帯をもつ必要がなく
、入力の微小変化に対するモータ1の応答を速くするこ
とができる。
Furthermore, according to this example, since hunting does not occur, there is no need to provide a dead zone to prevent hunting, and the response of the motor 1 to minute changes in input can be made faster.

なお、上記実施例では、ポテンショメータ5をモータ1
の回転と連動するようにし、モータ1の回転角を検出す
るように構成したが、制御対象体の回転角或いは移動位
置を検出する手段をポテンショメータ5に替えて、制御
対象体の回転角度或いは移動位置を直接的或いは間接的
に検出させる検出器を用いれば、制御対象体の回転角或
いは移動位置の制御もできることは当然である。
In the above embodiment, the potentiometer 5 is connected to the motor 1.
The rotation angle of the motor 1 is detected in conjunction with the rotation of the motor 1, but the means for detecting the rotation angle or movement position of the controlled object is replaced with the potentiometer 5, and the rotation angle or movement of the controlled object is It goes without saying that by using a detector that directly or indirectly detects the position, it is also possible to control the rotation angle or movement position of the object to be controlled.

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

以上説明したように本発明によれば、下記のような優れ
た効果が得られる。
As explained above, according to the present invention, the following excellent effects can be obtained.

■モータの行き過ぎ状態が発生した時、モータを停止さ
せることによって、逆方向に回転させないようにしてい
るため、ハンチングが起こらない。
■When the motor overshoots, the motor is stopped to prevent it from rotating in the opposite direction, so hunting does not occur.

■また、不感帯をハンチング防止に用いないため、モー
タ毎に不感帯幅を変える必要がなく、不感帯幅を0にす
ることも可能であるから、不感帯を小さくすることで入
力の微小変化に対するモ=りの応答性を良くし、制御対
象の回転角或いは位置決め精度を高めることができる。
■Also, since the dead zone is not used to prevent hunting, there is no need to change the dead zone width for each motor, and it is possible to set the dead zone width to 0. It is possible to improve the responsiveness of the control object and improve the rotation angle or positioning accuracy of the controlled object.

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

第1図は本発明に係るハンチング防止方式を適用するモ
ータ制御装置の回路図、第2図は本発明に係るハンチン
グ防止方式の動作を説明するための図、第3図は、従来
のモータ制御の動作説明図である。 図中、1・・・・モータ、2・・・・制御回路、3・・
・・スイッチ、4・・・・入力信号発振器、5・・・・
ポテンショメータ、6・・・・AC電源。
Fig. 1 is a circuit diagram of a motor control device to which the anti-hunting method according to the present invention is applied, Fig. 2 is a diagram for explaining the operation of the anti-hunting method according to the present invention, and Fig. 3 is a circuit diagram of a motor control device applying the anti-hunting method according to the present invention. FIG. In the figure, 1...motor, 2...control circuit, 3...
...Switch, 4...Input signal oscillator, 5...
Potentiometer, 6... AC power supply.

Claims (1)

【特許請求の範囲】[Claims] 制御対象体を回転或いは移動させるモータと、該制御対
象体の回転角度或いは移動位置を検出する検出器と、該
検出器が出力する回転角データ或いは位置データと回転
角或いは位置を設定する外部からの設定データを受けモ
ータに対して正転、逆転、停止の制御を行なう制御回路
を具備する回転角或いは位置決め装置において、前記検
出器が出力する回転角或いは位置データと前記外部から
の設定データから、回転角或いは位置データの変化方向
と設定データの変化方向と前記設定データに対する前記
回転角或いは位置データの偏差を得る手段と、該回転角
或いは位置データの変化方向データと設定データの変化
方向データと偏差データとによって前記モータの行き過
ぎ状態を検出する手段を具備し、前記モータの行き過ぎ
状態が発生した時に前記設定データが変化しないかぎり
前記モータを停止させておくことを特徴とするハンチン
グ防止方式。
A motor that rotates or moves a controlled object, a detector that detects the rotation angle or movement position of the controlled object, and rotation angle data or position data output by the detector and an external device that sets the rotation angle or position. In a rotation angle or positioning device equipped with a control circuit that receives setting data and controls forward rotation, reverse rotation, and stop of a motor, the rotation angle or position data output from the detector and the setting data from the outside are used. , means for obtaining a change direction of the rotation angle or position data, a change direction of the setting data, and a deviation of the rotation angle or position data with respect to the setting data; and change direction data of the rotation angle or position data and change direction data of the setting data. and deviation data, the hunting prevention method is characterized by comprising means for detecting an overshooting state of the motor, and stopping the motor as long as the setting data does not change when the motor overshooting state occurs.
JP8387488A 1988-04-05 1988-04-05 Hunting preventing system Pending JPH01259770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8387488A JPH01259770A (en) 1988-04-05 1988-04-05 Hunting preventing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8387488A JPH01259770A (en) 1988-04-05 1988-04-05 Hunting preventing system

Publications (1)

Publication Number Publication Date
JPH01259770A true JPH01259770A (en) 1989-10-17

Family

ID=13814805

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8387488A Pending JPH01259770A (en) 1988-04-05 1988-04-05 Hunting preventing system

Country Status (1)

Country Link
JP (1) JPH01259770A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4655324B2 (en) * 2000-03-22 2011-03-23 株式会社ニコン Vibration motor, positioning device, and vibration motor control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4655324B2 (en) * 2000-03-22 2011-03-23 株式会社ニコン Vibration motor, positioning device, and vibration motor control method

Similar Documents

Publication Publication Date Title
KR920700417A (en) Sliding mode control method with feedforward compensation
EP0423357A4 (en) Device for controlling servo motor
JPH08182366A (en) Drive controller for servo motor
JPS63148314A (en) Controller for semiclosed loop servo control system
JPS63120314A (en) Digital servo system
KR940004935A (en) Control method of single phase induction motor
JPH01259770A (en) Hunting preventing system
JP2720483B2 (en) Positioning control device
JP3011275B2 (en) Home position learning method of actuator
SU1471274A1 (en) Dc drive with optimal control
JPH03245782A (en) Ac motor controller
JPH0345183A (en) Control device for driving of rotary machine for tension
JPH087836Y2 (en) Motor position controller
JP2566671B2 (en) Optical system moving speed control device for image reading device
JPH04295908A (en) Positioning controller for motor-driven valve
JPS63123267A (en) Servo control device
JPH01279304A (en) Integral proportion compensator for servo control system
JPS61199482A (en) Motor controller
JPH0447309A (en) Positioning control device for motor valve
JPH01149054U (en)
JPS62185593A (en) Controller for fan motor
JPS6118434B2 (en)
JPH01190280A (en) Motor controller
JPH082733Y2 (en) Actuator drive control device
JPS60214018A (en) Positioning controller