JPS62160085A - Stopping method for motor at predetermined angle - Google Patents

Stopping method for motor at predetermined angle

Info

Publication number
JPS62160085A
JPS62160085A JP26186A JP26186A JPS62160085A JP S62160085 A JPS62160085 A JP S62160085A JP 26186 A JP26186 A JP 26186A JP 26186 A JP26186 A JP 26186A JP S62160085 A JPS62160085 A JP S62160085A
Authority
JP
Japan
Prior art keywords
motor
rotation
predetermined angle
angle
rotation angle
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
JP26186A
Other languages
Japanese (ja)
Inventor
Katsuhiro Goto
後藤 勝弘
Kazuya Kusumi
久住 和也
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.)
National Institute of Advanced Industrial Science and Technology AIST
Original Assignee
Agency of Industrial Science and Technology
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 Agency of Industrial Science and Technology filed Critical Agency of Industrial Science and Technology
Priority to JP26186A priority Critical patent/JPS62160085A/en
Publication of JPS62160085A publication Critical patent/JPS62160085A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stopping Of Electric Motors (AREA)

Abstract

PURPOSE:To smoothly stop a motor at a predetermined angle in a short time by releasing a reverse rotation command at stopping time when moving the motor from the normal state to a reverse state, and feedback controlling it through a motor driver. CONSTITUTION:When a normal rotation command is applied to a motor driver 15 and the rotation of a motor 14 arrives at a target angle predetermined in response to the predetermined angle while arriving at the predetermined angle from the start of rotating the motor 14, a reverse rotation command is applied to a motor driver 16. The stopping state when the motor 14 is shifted through a decelerating step from the normal rotation state to the reverse rotation state is detected by a zero detector 20, the reverse command is released upon detection, a deviation between the present rotary angle and the predetermined angle is output from a deviation counter 11, and the motor 14 is feedback-controlled through the driver 16 by the deviation.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明はサーボ・モータの駆動制御方法に係り、詳し
くはモータを所定の回動角度で停止させるための制御方
法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a drive control method for a servo motor, and more particularly to a control method for stopping a motor at a predetermined rotation angle.

(従来技術) 従来、サーボ・モータを所定の回動角度位置にまで回動
制御する制御方法は種々提案されている。
(Prior Art) Conventionally, various control methods have been proposed for controlling the rotation of a servo motor to a predetermined rotation angle position.

例えば第4図に示すように0iii差カウンタ1にモー
タ2の回動方向を指示する方向信号SG1.及び、モー
タ2の回動角1褪り変位角)を指示するパルス列よりな
る変位角信号SG2を出力するとともに、モータ2の実
際の変位角を検出するエンコーダ3からパルス列よりな
る位置フィードバック信@S03を出力する。そして、
幅差カウンタ1はパルス列よりなる変位角信号SG2を
セットしてそのセット値を順次入力されてくる位置フィ
ードバック信号SG3で減算するようにし・そのカウン
ト(直をD/A変換器4に出力する。D/A変換器4は
このカウント値をアナログ1直に変換しその信号を増幅
してモータドライバ5に速度設定電圧Vsとして出力す
る。モータドライバ5はこの速度設定電圧Vsと実際の
モータ2の速度を検出するタコジェネレータ6からの速
度フィードバック電圧Vfを入力し、この両電圧Vs、
Vfに基づいてモータ2を制御するようになっている。
For example, as shown in FIG. 4, a direction signal SG1. It outputs a displacement angle signal SG2 consisting of a pulse train instructing the rotation angle (1 displacement angle) of the motor 2, and also outputs a position feedback signal @S03 consisting of a pulse train from the encoder 3 that detects the actual displacement angle of the motor 2. Output. and,
The width difference counter 1 sets a displacement angle signal SG2 consisting of a pulse train, subtracts the set value by a position feedback signal SG3 inputted in sequence, and outputs the count (direct) to the D/A converter 4. The D/A converter 4 converts this count value into an analog signal, amplifies the signal, and outputs it to the motor driver 5 as a speed setting voltage Vs.The motor driver 5 combines this speed setting voltage Vs with the actual motor 2 signal. Input the speed feedback voltage Vf from the tacho generator 6 that detects the speed, and calculate both voltages Vs,
The motor 2 is controlled based on Vf.

そして、この制御方法においては速度特性は第2図1点
鎖線で示すように、又、変位特性は第2図2点鎖線で示
すように変化する。
In this control method, the speed characteristics change as shown by the one-dot chain line in FIG. 2, and the displacement characteristics change as shown by the two-dot chain line in FIG.

(発明が解決しようとする問題点) ところが、加速・減速に対してエンコーダ3からのフィ
ードバック信号SG3及びタコジェネレータ6からの速
度フィードバック電圧Vfは緩和させるように作用する
ので、速い応答性は要求できなかった。又、モータ2の
性能をフルに引き出して急加速・急減速しようとすると
、すなわち、応答を速くしようとしてモータドライバ5
の増幅度を上げると、変位特性が第5図に示すようにオ
ーバシュートしてハンティングを起してしまう問題があ
った。
(Problem to be Solved by the Invention) However, since the feedback signal SG3 from the encoder 3 and the speed feedback voltage Vf from the tacho generator 6 act to moderate acceleration and deceleration, fast response cannot be required. There wasn't. Also, if you try to bring out the full performance of the motor 2 and suddenly accelerate or decelerate, that is, if you try to make the response faster, the motor driver 5
When the amplification degree is increased, there is a problem in that the displacement characteristic overshoots and hunting occurs as shown in FIG.

(発明の目的) この発明の目的は前記問題点を解消し、モータの性能を
フルに引き出して所定の回動角度にまでオーバシュート
を起させることなく滑らかにかつ短時間にて停止させる
ことができるモータの所定角度停止方法を提供するにあ
る。
(Object of the Invention) The object of the present invention is to solve the above-mentioned problems, to bring out the full performance of the motor, and to stop the motor smoothly and in a short time without causing overshoot to a predetermined rotation angle. The present invention provides a method for stopping a motor at a predetermined angle.

(問題点を解決するための手段) この発明は上記目的を達成すべく、モータドライバに正
転指令を与えた後、モータの回転開始から所定角度に到
達するまでの間において、その所定角度に対応して予め
決定された目標角度に前記モータの回転が到達した時、
前記モータドライバに逆転指令を与える。
(Means for Solving the Problems) In order to achieve the above object, the present invention, after giving a normal rotation command to a motor driver, rotates the motor at a predetermined angle from the start of rotation until the motor reaches a predetermined angle. when the rotation of said motor reaches a correspondingly predetermined target angle;
A reverse rotation command is given to the motor driver.

そして、前記モータが減速過程を経て正転状態から逆転
状態に移行する際の停止状態を検出し、その検出に伴っ
て前記逆転指令を解除するとともに、現在の回転角度と
前記所定角度との偏差に基づいて、前記モータをモータ
ドライバを介してフィードバック制御して前記所定角度
にてモータを停止させる。
Then, it detects a stopped state when the motor transitions from a normal rotation state to a reverse rotation state through a deceleration process, releases the reversal command upon detection, and also releases the reversal command and the deviation between the current rotation angle and the predetermined angle. Based on this, the motor is feedback-controlled via a motor driver to stop the motor at the predetermined angle.

(作用) 予め目標角度を設定することにより、モータドライバに
逆転指令を与えるタイミングが決定され、そのタイミン
グによる逆転駆動に伴うモータの減速過程において正転
状態から逆転状態に移行する際の停止状態の時に前記逆
転指令を解除し、現在の回転角度と所定角度との偏差に
基づいてモータドライバを介してフィードバック制御す
ることによりモータは所定角度で停止し、その位置にて
保持される。
(Function) By setting the target angle in advance, the timing to give a reverse rotation command to the motor driver is determined, and the timing determines the stop state when transitioning from a normal rotation state to a reverse rotation state in the deceleration process of the motor accompanying reverse drive. At the same time, the reversal command is canceled and the motor is stopped at a predetermined angle and held at that position by performing feedback control via the motor driver based on the deviation between the current rotation angle and the predetermined angle.

(実施例) 以下、この発明を具体化した一実施例を図面に基づいて
説明する。
(Example) Hereinafter, an example embodying the present invention will be described based on the drawings.

第1図はモータ所定角停止装置の電気ブロック回路を示
し、偏差カウンタ11は後記する回動角度(変位角)を
指示するパルス列よりなる変位角信号5GII及び位置
フィードバックパルス信号5G12及びリセット信号5
G13を入力し、変位角信号5G11の内容がセットさ
れ、その内容を位置フィードバックパルス信号5G12
が入力されるごとに「1」減算し、その時々の内容を第
1のゲート回路12を介してD/Aコンバータ13に出
力する。又、偏差カウンタ11はリセット信号5G13
に基づいてその内容がリセットされる。前記ゲート回路
12は後記ゲート指令信号に基づいて前記偏差カウンタ
11からD/△コンパ=り13出力されるカウント内容
の転送を制御する。
FIG. 1 shows an electric block circuit of a motor predetermined angle stopping device, in which a deviation counter 11 includes a displacement angle signal 5GII consisting of a pulse train indicating a rotation angle (displacement angle), which will be described later, a position feedback pulse signal 5G12, and a reset signal 5.
G13 is input, the contents of the displacement angle signal 5G11 are set, and the contents are sent to the position feedback pulse signal 5G12.
Each time ``1'' is input, "1" is subtracted, and the contents at that time are outputted to the D/A converter 13 via the first gate circuit 12. Also, the deviation counter 11 receives a reset signal 5G13.
Its contents are reset based on The gate circuit 12 controls the transfer of the count contents output from the deviation counter 11 to the D/Δ comparator 13 based on a gate command signal to be described later.

前記D/△コンバータ13は前記偏差カウンタ11の内
容を入力するとともに、後記する最大加速制御信号5G
14及び最大減速制御信号5G15を入力するようにな
っている。そして、D/△コンバータ13は最大加速制
御信号5G14を入力した時には直流モータ14を最大
に加速させるための速度設定電圧VSを、最大減速制御
信号5015を入力した時には直流モータ14を最大に
減速(本実施例では最大限の逆転駆動)させるだめの速
度設定電圧VSを、又、偏差カウンタ11の内容を入力
した時には同カウント内容に基づく速度設定電圧VSを
加算器15を介してモータドライバ16に出力される。
The D/Δ converter 13 inputs the contents of the deviation counter 11 and also inputs the maximum acceleration control signal 5G to be described later.
14 and maximum deceleration control signal 5G15 are input. Then, when the maximum acceleration control signal 5G14 is input, the D/Δ converter 13 sets the speed setting voltage VS for accelerating the DC motor 14 to the maximum, and when the maximum deceleration control signal 5015 is input, the DC motor 14 is decelerated to the maximum ( In this embodiment, the speed setting voltage VS for maximum reverse driving) is applied to the motor driver 16 via the adder 15, and when the contents of the deviation counter 11 are input, the speed setting voltage VS based on the count contents is input to the motor driver 16. Output.

加算器15は後記する速度フィードバック電圧Vfを入
力するようになっていて、前記速度設定電圧Vsと負の
フィードバック電圧Vfを加算した1直の電圧が速度設
定電圧VSとしてモータドライバ16に出力されること
になる。そして、モータドライバ16はこの速度設定電
圧Vsに対応する加速度で直流モータ14を回動させて
負荷17を駆動する。
The adder 15 is configured to input a speed feedback voltage Vf, which will be described later, and a voltage obtained by adding the speed setting voltage Vs and the negative feedback voltage Vf is outputted to the motor driver 16 as the speed setting voltage VS. It turns out. Then, the motor driver 16 drives the load 17 by rotating the DC motor 14 at an acceleration corresponding to this speed setting voltage Vs.

タコジェネレータ18は直流モータ14の回転・:速□
度を検出する検出器であって、その回転速度に比例した
速度フィードバック電圧Vfを第2のゲート回路1つを
介して館記加算器15に出力する。
The tacho generator 18 controls the rotation speed of the DC motor 14.
This detector is a detector for detecting rotational speed, and outputs a speed feedback voltage Vf proportional to the rotational speed to an adder 15 via one second gate circuit.

ゼロ検出器20は前記タコジェネレータ18からの速度
フィードバック電圧Vfを入力し、同電圧Vfに基づい
て直流モータ14の回転がゼロになったかどうかを検知
し、ゼロになったときキャンセル信号5G16を出力す
るようになっている。
The zero detector 20 receives the speed feedback voltage Vf from the tacho generator 18, detects whether the rotation of the DC motor 14 has reached zero based on the voltage Vf, and outputs a cancel signal 5G16 when the rotation has reached zero. It is supposed to be done.

エンコーダ21は直流モータ14の実際の変(ヴ角を検
出する検出器であって、所定の回動角回動するたびごと
に前記位置フィードバックパルス信号SG12を前記偏
差カウンタ11に出力する。
The encoder 21 is a detector that detects the actual angle of rotation of the DC motor 14, and outputs the position feedback pulse signal SG12 to the deviation counter 11 every time it rotates by a predetermined rotation angle.

中央処理装置(以下、CPUという)22は制御プログ
ラムを記憶するプログラムメモリ23及び同CPU 2
2の演算処理結果等を一時記憶する作業用メモリ24を
備え、そのプログラムメモリ23に記憶した制御プログ
ラムに従って動作する。
A central processing unit (hereinafter referred to as CPU) 22 includes a program memory 23 that stores a control program and the CPU 2
It is provided with a working memory 24 that temporarily stores the results of the arithmetic processing of step 2, etc., and operates according to a control program stored in the program memory 23.

前記プログラムメモリ23は前記制御プログラムの池に
前記直流モータ14を所定の回動角(変位角)だけ回動
させるために前記偏差カウンタ11に出力する変位角信
@5G11の各回動角毎のデータが記憶されているとと
もに、前記変位角信号5G11に基づく回動角より小さ
い回動角であ前記変位角信号5G11における各回動角
毎に記憶されている。
The program memory 23 stores data for each rotation angle of the displacement angle signal @5G11 to be output to the deviation counter 11 in order to rotate the DC motor 14 by a predetermined rotation angle (displacement angle) in the control program storage. is stored, and a rotation angle smaller than the rotation angle based on the displacement angle signal 5G11 is stored for each rotation angle in the displacement angle signal 5G11.

目標回動角は前記直流モータ14を最大加速度で加速し
た後、最大の減速度で減速(最大限の逆転駆動)させ同
モータ14の回転速度がゼロになった時、その時の実際
の直流モータ14の回動角が前記所定の回動角とほぼ等
しくなるように、予め所定の回動角毎に実験して求めら
れた値である。
The target rotation angle is determined by accelerating the DC motor 14 at the maximum acceleration, decelerating it at the maximum deceleration (maximum reverse drive), and when the rotational speed of the motor 14 becomes zero, the actual DC motor at that time This value is obtained by experimenting in advance for each predetermined rotation angle so that the rotation angle of No. 14 is approximately equal to the predetermined rotation angle.

前記CPU22は図示しない外部制御装置からモータ1
4を所定の回動角く変位角)に回動させるための変位角
指令信号5G17を入力するようになっていて、その変
位角指令信号5G17に対応する回動角のデータを読み
出し変位角信号5G11として前記を偏差カウンタ11
に入出力インターフェイス25を介して出力するととも
に、その対応する目標回動角データを読み出してCTC
カウンタ26に出力する。
The CPU 22 controls the motor 1 from an external control device (not shown).
4 to a predetermined rotation angle (displacement angle) is input, and the rotation angle data corresponding to the displacement angle command signal 5G17 is read out and the displacement angle signal 5G11 as deviation counter 11
The CTC outputs the target rotation angle data via the input/output interface 25 and reads out the corresponding target rotation angle data.
Output to counter 26.

又、CPU22は前記ゼロ検出器20からキャンセル信
号SG16を入力するとともに、前記第1及び第2ゲー
ト回路12.19に入出力インク−フェイス25を介し
てゲート指令信号を出力する。さらに、CPU22は入
出力インターフェイス25を介して前記D/Aコンバー
タ13に直流モータ14を最大加速度で加速させるため
の最大加速制御信号5G14及び最大減速度(最大の逆
転駆動)で減速させるための最大減速制御信号5G16
を出力するようになっている。
Further, the CPU 22 inputs a cancel signal SG16 from the zero detector 20, and outputs a gate command signal to the first and second gate circuits 12.19 via the input/output ink face 25. Further, the CPU 22 sends a maximum acceleration control signal 5G14 to the D/A converter 13 via the input/output interface 25 to accelerate the DC motor 14 at the maximum acceleration and a maximum acceleration control signal 5G14 to decelerate the DC motor 14 at the maximum deceleration (maximum reverse drive). Deceleration control signal 5G16
It is designed to output .

前記CTCカウンタ26は減算カウンタであって、前記
目標回動角データの内容をエンコーダ21から位置フィ
ードバックパルス信号5G12を入力するたび毎に11
」づつ減算する。そして、その内容が「0」となった時
、CTCカウンタ26は前記CPU 22に割り込み信
号を出力するようになっている。
The CTC counter 26 is a subtraction counter that changes the content of the target rotation angle data by 11 every time the position feedback pulse signal 5G12 is input from the encoder 21.
” subtraction. When the content becomes "0", the CTC counter 26 outputs an interrupt signal to the CPU 22.

次に、上記のように構成した所定角度停止装置の作用に
ついて説明する。
Next, the operation of the predetermined angle stopping device configured as described above will be explained.

今、直流モータ14が停止している状態においてCPU
22に外部制御装置から同モータ14を所定の回動角θ
Sだけ回動させるだめの変位角指令信号5G17が出力
されると、同CPU22は始動開始と判断しくステップ
1)、直ちに入出力インターフェイス25を介してゲー
ト指令信号を(内容をMとする)及びその回動角esに
対する目標回動角θpの目標回動角データ(内容をNと
し、IVI>Nの関係がなりたつ)をプログラムメモリ
23から読み出し、その回動角データを変位角信号5G
11として偏差カウンタ11に出力するとともに(ステ
ップ3)、目標回動角データを前記CTCカウンタ26
に出力するくステップ4)、。
Now, when the DC motor 14 is stopped, the CPU
22, the motor 14 is controlled by an external control device to a predetermined rotation angle θ.
When the displacement angle command signal 5G17 for rotating by S is output, the CPU 22 determines that the start has started, and immediately sends a gate command signal (contents are M) via the input/output interface 25 (step 1). The target rotation angle data of the target rotation angle θp with respect to the rotation angle es (the content is N, and the relationship IVI>N holds) is read from the program memory 23, and the rotation angle data is converted into the displacement angle signal 5G.
11 to the deviation counter 11 (step 3), and outputs the target rotation angle data to the CTC counter 26.
Step 4).

又、CPU22はD/’Aコンバータ13に最大加速制
御信号5G14を入出力インターフェイス25を介して
出力するくステップ5)。
Further, the CPU 22 outputs the maximum acceleration control signal 5G14 to the D/'A converter 13 via the input/output interface 25 (step 5).

従って、D/Aコンバータ13は前記第1のグー1〜回
路12が閉じていることから偏差カウンタ11の内容M
は入力されず、最大加速制御信号5G14のみが入力さ
れることに/より、同制御信号5G14に基づ゛く速度
設定電圧Vs、すなわち、直流モータ14を最大加速で
加速させるために必要な値の速度設定電圧Vsを出力す
る。
Therefore, since the first circuit 1 to circuit 12 are closed, the D/A converter 13 calculates the content M of the deviation counter 11.
is not input and only the maximum acceleration control signal 5G14 is input, so that the speed setting voltage Vs based on the control signal 5G14, that is, the value necessary to accelerate the DC motor 14 at the maximum acceleration. outputs the speed setting voltage Vs.

モータドライバ16はこの速度設定電圧VSに基づいて
モータ14を最大加速で回動させる。径検出しその速度
フィードバック電圧vfを出力するとともに、エンコー
ダ21は同モータ14が一定の回動角回動するたびごと
に位置フィードバックパルス信号SGI 2を出力する
。この時、速度フィードバック電圧Vfは第2のゲート
回路19が閉じていることから加算器15には出力され
ず、ゼロ検出器20のみに出力される。
The motor driver 16 rotates the motor 14 at maximum acceleration based on this speed setting voltage VS. The encoder 21 detects the diameter and outputs a velocity feedback voltage vf thereof, and also outputs a position feedback pulse signal SGI2 every time the motor 14 rotates by a certain rotation angle. At this time, the speed feedback voltage Vf is not output to the adder 15 because the second gate circuit 19 is closed, but is output only to the zero detector 20.

一方、位置フィードバックパルス信号5G12は前記鍋
差力「クンタ11及びCTCカウンタ26に出力され、
各カウンタ11,26は同パルス信号5G12を入力す
るたび毎に減算動作する。
On the other hand, the position feedback pulse signal 5G12 is output to the pan differential force "Kunta 11" and the CTC counter 26,
Each counter 11, 26 performs a subtraction operation each time the same pulse signal 5G12 is input.

最大加速度で回動する直流モータ14が目標回動角Op
に達すると、すなわち、CTCカウンタ26の内容Nが
「0」になると、CTCカウンタ26は割り込み13号
をCPU22に出力する。CPU22はこの割り込み信
号に応答して(ステップ6)、直ちにD/Aコンバータ
13に出力する制御信号を最大加速制御信号5G14か
ら最大減速制御信号5G15に切換える〈ステップ7)
The DC motor 14, which rotates at maximum acceleration, reaches the target rotation angle Op.
When the value N of the CTC counter 26 reaches "0", the CTC counter 26 outputs interrupt No. 13 to the CPU 22. In response to this interrupt signal (step 6), the CPU 22 immediately switches the control signal output to the D/A converter 13 from the maximum acceleration control signal 5G14 to the maximum deceleration control signal 5G15 (step 7).
.

従って、D/Aコンバータ13は最大減速制御■Sに基
ついてモータ14を最大の減速度で減速させる。
Therefore, the D/A converter 13 decelerates the motor 14 at the maximum deceleration speed based on the maximum deceleration control (S).

従って、直流モータ14は同モータ14の回動角が回転
開始から目標回動角■pまで回動すると、今度は逆に最
大の減速度で減速を開始することになる。
Therefore, when the rotation angle of the DC motor 14 rotates from the start of rotation to the target rotation angle ■p, the DC motor 14 starts decelerating at the maximum deceleration.

最大の減速度で回動制御されることによって、やがて直
流モータ14の回転速度が「O」、すなわち、停止状態
にになると、前記ゼロ検出器20からキャンセル信号5
G16が出力される。
When the rotational speed of the DC motor 14 is controlled to be at the maximum deceleration and the rotational speed of the DC motor 14 becomes "O", that is, the stopped state, the cancel signal 5 is output from the zero detector 20.
G16 is output.

CPU 22はこのキャンセル信号5G16に応答して
(ステップ8)、D/Aコンバータ13への最大減速信
号5G15の出力を停止するとともに(ステップ9)、
第1及び第2のゲート回路12.1つを開くだめのゲー
ト指令信号を第1及び第2のゲート回路12.19に出
力する(ステップ10)。
In response to this cancel signal 5G16 (step 8), the CPU 22 stops outputting the maximum deceleration signal 5G15 to the D/A converter 13 (step 9),
A gate command signal for opening one of the first and second gate circuits 12.1 is output to the first and second gate circuits 12.19 (step 10).

従って、この時点から偏差カウンタ11の内容が有効化
されD/△コンバータ13に出力されるとともに、タコ
ジェネレータ18からの速度フィードバック電圧Vfが
加算器15に出力される。
Therefore, from this point on, the contents of the deviation counter 11 are validated and output to the D/Δ converter 13, and the speed feedback voltage Vf from the tacho generator 18 is output to the adder 15.

その結果、この時点で所定の回動角θSに達しないでま
だ少し偏差(=es−■x ;θXは実際の回動角)が
ある場合にはこの幅差カウンタ11の内容に基づいて直
流モータ14は回動制御される]どになる(ステップ1
1)。この時、騙差カウンタ11の内容は幅差があった
としても小さな値に減算されているので、直流モータ1
4はスムーズに回動制御されて回動角O3に達しその回
動位置で停止し、位置が保持される。
As a result, if the predetermined rotation angle θS has not been reached at this point and there is still a slight deviation (=es−■x; θX is the actual rotation angle), the DC current is calculated based on the contents of this width difference counter 11. The motor 14 is rotationally controlled] (Step 1
1). At this time, the content of the counter 11 is subtracted to a small value even if there is a width difference, so the DC motor 1
4 is smoothly controlled to rotate until it reaches a rotation angle O3, stops at that rotation position, and maintains its position.

このように、本実施例では直流モータ14を所定の回動
角θSまで回動させるに際し、予め同回りj角esに対
して目標回動角■pを設定し、その目標回動角■pまで
は最大の加速度でモータ14を回動制御し、目標回動角
■pまで回動したときには直ちに最大の減速度で減速し
同モータ14が同減速に基づいて回転速度がゼロになっ
た時点でその時のモータ14の回動角θXと所定の回動
角θSとの偏差に基づいて回動制御するようにしたので
、直流モータ14の性能をフルに引き出して所定の回動
角度esにまでオーバーシュートを起させることなく滑
らかに、かつ短時間に回動停止させることができる。
In this way, in this embodiment, when rotating the DC motor 14 to a predetermined rotation angle θS, the target rotation angle ■p is set in advance for the same rotation angle j es, and the target rotation angle ■p Until then, the rotation of the motor 14 is controlled at the maximum acceleration, and when it rotates to the target rotation angle ■p, it is immediately decelerated at the maximum deceleration, and the rotational speed of the motor 14 reaches zero based on this deceleration. Since the rotation is controlled based on the deviation between the rotation angle θX of the motor 14 at that time and the predetermined rotation angle θS, the performance of the DC motor 14 can be brought out to the full and the rotation angle es can be reached to the predetermined rotation angle es. Rotation can be stopped smoothly and in a short time without overshooting.

なお、本実施例では直流モータ14の回動角を制御につ
いて説明したが、これに限定するものではなく、例えば
ACサーボモータの回動制御に応用してもよいことは勿
論である。
Although the present embodiment describes controlling the rotation angle of the DC motor 14, the present invention is not limited to this, and it goes without saying that the invention may be applied to, for example, rotation control of an AC servo motor.

記駆動[−夕の回動量に比例して前記針に対して加工布
を前後左右に所定桁移動させるように構成された送り装
置とを有する自動刺繍ミシンの前記駆動モータの制御装
置に本発明を採用することができる。
The present invention relates to a control device for the drive motor of an automatic embroidery sewing machine having a drive device and a feed device configured to move the work cloth by a predetermined distance in the front, back, left, and right directions with respect to the needle in proportion to the amount of rotation of the needle. can be adopted.

その結果、上昇されて加工布から離脱した針が下降され
て加工布に侵入するまでの限られた時間内に前記加工布
の針に対する相対移動を速く完了させることができるの
で、針の上下往復速度を速くすることができ、従来高速
縫製の難しかった自動刺繍ミシンの高速化に大きく貢献
することができる。
As a result, the movement of the workpiece cloth relative to the needle can be quickly completed within a limited time until the needle that has been lifted and separated from the workpiece cloth is lowered and enters the workpiece cloth, so that the needle can move up and down. This makes it possible to increase the speed of automatic embroidery machines, which have traditionally been difficult to perform at high speeds.

(発明の効果) 以上詳述したように、この発明によればモータの性能を
フルに引き出して所定の回動角度にまでオーバーシュー
トを起させることなく滑らかにかつ短時間に回動停止さ
せることができる優れた効果を有する。
(Effects of the Invention) As detailed above, according to the present invention, it is possible to bring out the full performance of the motor and stop the rotation smoothly and in a short time without overshooting to a predetermined rotation angle. It has excellent effects.

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

制御装置の電気ブロック回路図、第5図は従来のモータ
の特性を示す図である。 図中、11はC−tカウンタ、12は第1のグー1〜回
路、13はD/Aコンバータ、14は直流モータ、15
は加算器、16はモータドライバ、18はタコジェネレ
ータ、1つは第2のゲート回路、20はゼロ検出器、2
1は中央処理装置(CPU)、23はプログラムメモリ
、26はCTCカウンタである。
The electrical block circuit diagram of the control device, FIG. 5, is a diagram showing the characteristics of a conventional motor. In the figure, 11 is a C-t counter, 12 is the first goo 1~circuit, 13 is a D/A converter, 14 is a DC motor, 15
is an adder, 16 is a motor driver, 18 is a tacho generator, 1 is a second gate circuit, 20 is a zero detector, 2
1 is a central processing unit (CPU), 23 is a program memory, and 26 is a CTC counter.

Claims (1)

【特許請求の範囲】 1、モータ(14)をモータドライバ(16)にて駆動
させ、同モータ(14)を回転開始から所定角度(■s
)にて停止させる方法において、前記モータドライバ(
16)に正転指令(SG14)を与え、 前記モータ(14)の回転開始から所定角度(■s)に
到達するまでのに間おいて、その所定角度(■s)に対
応して予め決定された目標角度(■p)に前記モータ(
14)の回転が到達した時、前記モータドライバ(16
)に逆転指令(SG15)を与え、 前記モータ(14)が減速過程を経て正転状態から逆転
状態に移行する際の停止状態を検出し、その検出に伴っ
て前記逆転指令(SG15)を解除するとともに、現在
の回転角度(■x)と前記所定角度(■s)との偏差に
基づいて、前記モータ(14)をモータドライバ(16
)を介してフィードバック制御して前記所定角度(■s
)にてモータ(14)を停止させること を特徴とするモータの所定角度停止方法。
[Claims] 1. The motor (14) is driven by a motor driver (16), and the motor (14) is rotated at a predetermined angle (■s) from the start of rotation.
), the motor driver (
A forward rotation command (SG14) is given to the motor (16), and from the start of rotation of the motor (14) until reaching the predetermined angle (■s), the motor (SG14) is predetermined corresponding to the predetermined angle (■s). The motor (
When the rotation of the motor driver (14) has been reached, the motor driver (16)
), the motor (14) detects a stopped state when the motor (14) transitions from a normal rotation state to a reverse rotation state through a deceleration process, and upon that detection, releases the reverse rotation command (SG15). At the same time, the motor (14) is controlled by the motor driver (16) based on the deviation between the current rotation angle (■x) and the predetermined angle (■s).
), the predetermined angle (■s
) A method for stopping a motor at a predetermined angle, the method comprising stopping the motor (14) at a predetermined angle.
JP26186A 1986-01-07 1986-01-07 Stopping method for motor at predetermined angle Pending JPS62160085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26186A JPS62160085A (en) 1986-01-07 1986-01-07 Stopping method for motor at predetermined angle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26186A JPS62160085A (en) 1986-01-07 1986-01-07 Stopping method for motor at predetermined angle

Publications (1)

Publication Number Publication Date
JPS62160085A true JPS62160085A (en) 1987-07-16

Family

ID=11468970

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26186A Pending JPS62160085A (en) 1986-01-07 1986-01-07 Stopping method for motor at predetermined angle

Country Status (1)

Country Link
JP (1) JPS62160085A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS525419A (en) * 1975-06-30 1977-01-17 Ibm Adaptive step motor control unit
JPS57160378A (en) * 1981-03-27 1982-10-02 Hitachi Ltd Position controlling method and device for motor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS525419A (en) * 1975-06-30 1977-01-17 Ibm Adaptive step motor control unit
JPS57160378A (en) * 1981-03-27 1982-10-02 Hitachi Ltd Position controlling method and device for motor

Similar Documents

Publication Publication Date Title
US5304906A (en) Collision detecting method using an observer
KR0144650B1 (en) Method of detecting and regulating load on servomotor
JPH0655037B2 (en) Servo motor speed control method
JP4240517B2 (en) Servo motor and abnormal load detection control method for articulated robot
JPS62160085A (en) Stopping method for motor at predetermined angle
JPS6044248A (en) Positioning method of rotary unit
JPH0869326A (en) Positioning controller
JPH05161371A (en) Controller for motor and controlling method
JPH11119804A (en) Driving controller for servomotor
JP3163832B2 (en) Motor control device
JP2000299997A (en) Drive control system
JPS6368906A (en) Controller for industrial robot
JPH06195118A (en) Fixed position stop controller
JPS59175390A (en) Positioning control circuit of dc motor
JP3361576B2 (en) Driving device for stepping motor
JPH0217801B2 (en)
JPH077284B2 (en) Robot controller
JPH0112555Y2 (en)
JPH03128687A (en) Position control method for motor
JPH0686448A (en) Servo motor drive
JPH07104729B2 (en) Non-linear friction compensation method for servo system
JPH04344907A (en) Rotating body speed controller
JPH11202924A (en) Method and device for acceleration and deceleration control over feed shaft in numerical control
JP2004025369A (en) Control method and control device of robot
JPS63155205A (en) Numerical controller