JPH05211792A - Method and device for controlling ac servo motor - Google Patents

Method and device for controlling ac servo motor

Info

Publication number
JPH05211792A
JPH05211792A JP4038323A JP3832392A JPH05211792A JP H05211792 A JPH05211792 A JP H05211792A JP 4038323 A JP4038323 A JP 4038323A JP 3832392 A JP3832392 A JP 3832392A JP H05211792 A JPH05211792 A JP H05211792A
Authority
JP
Japan
Prior art keywords
routine
speed
system monitoring
servomotor
position control
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
JP4038323A
Other languages
Japanese (ja)
Inventor
Shigeki Haruyama
茂樹 晴山
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.)
Shibaura Mechatronics Corp
Original Assignee
Shibaura Engineering Works 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 Shibaura Engineering Works Co Ltd filed Critical Shibaura Engineering Works Co Ltd
Priority to JP4038323A priority Critical patent/JPH05211792A/en
Publication of JPH05211792A publication Critical patent/JPH05211792A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

PURPOSE:To enable a CPU to output a control signal composed of a fine sine wave even when a rotor is rotated at a high speed so as to prevent the occurrence of uneven rotation and vibrations and, at the same time, make the processing time of a system monitoring routine shorter by detecting the rotational angle of the rotor and making the actual value of the rotational angle to follow a position and speed commands inputted from the outside. CONSTITUTION:When the rotating speed of an AC servo motor is slower than a prescribed speed N0, the arithmetic operation of a system monitoring routine is preferentially executed and the routine is interrupted for a position control routine at every prescribed time interval T2 and, when the rotating speed is larger than the prescribe speed N0, the arithmetic operation of the position control routine is preferentially executed and the routine is interrupted for the system monitoring routine.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ACサーボモータにお
ける位置制御ルーチンとシステム監視ルーチンとを用い
た制御方法と、制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control method and a control device using a position control routine and a system monitoring routine in an AC servomotor.

【0002】[0002]

【従来の技術】マイクロコンピュータ(以下CPUとい
う)を用いたACサーボモータでは、制御ソフトウェア
はシステム監視ルーチンと位置制御ルーチンとの2種に
大別できる。システム監視ルーチンは、システム全体の
監視を行い、システム異常のチェックや動作モードの設
定などを行う。位置制御ルーチンは、フィードバックカ
ウンタ(偏差カウンタ)の読込み、位置制御、速度制御
などの指令を行うものである。
2. Description of the Related Art In an AC servomotor using a microcomputer (hereinafter referred to as CPU), control software can be roughly classified into a system monitoring routine and a position control routine. The system monitoring routine monitors the entire system and checks the system for abnormalities and sets the operation mode. The position control routine issues commands such as reading of a feedback counter (deviation counter), position control, and speed control.

【0003】図4は従来装置の基本構成を示す図であ
り、符号1はサーボモータ、2はそのロータの回転角を
検出する回転角検出器、3は制御を行うマイクロコンピ
ュータ(CPU)、4は電力変換回路である。CPU3
は外部から入力されるサーボモータの位置(回転角)指
令または速度指令に、検出器2で検出した実際値が追随
するようにフィードバック制御を行って正弦波の電流指
令信号bを出力する。
FIG. 4 is a diagram showing the basic structure of a conventional apparatus. Reference numeral 1 is a servo motor, 2 is a rotation angle detector for detecting the rotation angle of its rotor, 3 is a microcomputer (CPU) for controlling, and 4 is a rotation angle detector. Is a power conversion circuit. CPU3
Performs feedback control so that the actual value detected by the detector 2 follows the position (rotation angle) command or speed command of the servo motor input from the outside, and outputs a sine wave current command signal b.

【0004】すなわち検出器2の出力パルスは入力側イ
ンターフェース5でデジタル入力信号aとされ、CPU
3に入力される。この入力信号aはCPU3のフィード
バックカウンタ3aでカウントされ、位置・速度指令と
の差に基づいて位置・速度演算部3bでトルク指令値c
が求められる。一方ロータ位置カウンタ3cはフィード
バックカウンタ3aのカウント値に基づいてロータ位置
を判別する。CPU3はこのロータ位置に対応する正弦
波をメモリ3dにメモリした正弦波テーブルから読出
す。乗算器3eではトルク指令値cにこの正弦波を乗算
して、正弦波の電流指令信号bを出力する
That is, the output pulse of the detector 2 is converted into a digital input signal a by the input side interface 5, and the CPU
Input to 3. This input signal a is counted by the feedback counter 3a of the CPU 3, and the torque command value c is calculated by the position / speed calculator 3b based on the difference between the position / speed command.
Is required. On the other hand, the rotor position counter 3c determines the rotor position based on the count value of the feedback counter 3a. The CPU 3 reads the sine wave corresponding to this rotor position from the sine wave table stored in the memory 3d. The multiplier 3e multiplies the torque command value c by this sine wave and outputs a sine wave current command signal b.

【0005】電力変換回路4はこの電流指令信号bに基
づき、電源から与えられる電力をサーボモータに供給す
べき電力に変換するもので、ACサーボモータの場合に
は通常PWMインバータが用いられる。
The power conversion circuit 4 converts the power supplied from the power supply into the power to be supplied to the servomotor based on the current command signal b. In the case of the AC servomotor, a PWM inverter is usually used.

【0006】5はCPU3の入力側インターフェース
(IF)、6は同じく出力側インターフェース(IF)
である。インターフェース5にはA/Dコンバータや、
回転角検出器2にエンコーダを用いた場合にその出力信
号から回転速度を求めるデジタル速度演算回路などが含
まれる。
Reference numeral 5 is an input side interface (IF) of the CPU 3, and 6 is an output side interface (IF).
Is. The interface 5 has an A / D converter,
When the encoder is used for the rotation angle detector 2, a digital speed calculation circuit for calculating the rotation speed from the output signal of the encoder is included.

【0007】今4極モータの場合には、CPU3はロー
タ1回転に対して正弦波を2周期出力する。CPU3の
サンプリング間隔を1msecとした場合におけるCPU3
の出力である電流指令信号bは、図5のようになる。こ
の図で(A)は回転速度N=3RPMの時を、(B)は
N=3000RPMの時を示す。
In the case of a 4-pole motor, the CPU 3 outputs two cycles of a sine wave for one rotation of the rotor. CPU3 when the sampling interval of CPU3 is 1 msec
The current command signal b, which is the output of, is as shown in FIG. In this figure, (A) shows the time when the rotational speed is N = 3 RPM, and (B) shows the time when N = 3000 RPM.

【0008】すなわちN=3の時は、20sec で1回転
するから、CPU3は10sec 周期の正弦波を出力する
が、この正弦波1周期あたりのサンプリング数は、 1周期/サンプリング周期=10sec /1msec =10,000 となる。しかしN=3000RPMの時は、0.02se
c で1回転するから、CPU3は0.01sec 周期の正
弦波を出力することになる。従ってこの場合の正弦波1
周期あたりのサンプリング数は、 0.01sec /1msec=10 となる。
That is, when N = 3, the CPU 3 outputs one sine wave having a cycle of 10 seconds because it makes one rotation in 20 seconds. The number of samples per cycle of this sine wave is 1 cycle / sampling cycle = 10 seconds / 1 msec. = 10,000. However, when N = 3000 RPM, 0.02se
Since the CPU makes one rotation in c, the CPU 3 outputs a sine wave with a period of 0.01 sec. Therefore, sine wave 1 in this case
The sampling number per cycle is 0.01 sec / 1 msec = 10.

【0009】[0009]

【従来技術の問題点】このように従来の装置ではサンプ
リング周期が常に一定であるため、特に高速回転時には
1周期当たりの回転角のサンプリング数が著しく少なく
なる。このためCPU3が出力する制御信号bが特に高
速時にきれいな正弦波を指令できず、回転ムラや振動発
生の原因になるという問題があった。
As described above, in the conventional apparatus, since the sampling cycle is always constant, the number of samplings of the rotation angle per cycle is remarkably reduced especially at high speed rotation. For this reason, there is a problem that the control signal b output from the CPU 3 cannot command a clean sine wave especially at high speed, which causes uneven rotation and vibration.

【0010】また位置制御ルーチンの演算処理時間T1
は一定であり、このルーチンはシステム監視ルーチンに
一定時間(サンプリング周期)T20(図1参照)ごとに
割り込み処理することにより処理されていた。しかし前
記のように高速時におけるサンプリング数を十分に確保
するためには、一定時間T20を十分に短くする必要があ
るが、こうするとシステム監視ルーチンの処理時間(T
20−T1 )も短くなる。
Further, the calculation processing time T 1 of the position control routine
Is constant, and this routine is processed by interrupting the system monitoring routine at regular intervals (sampling period) T 20 (see FIG. 1). However, as described above, in order to secure a sufficient number of samplings at high speed, the fixed time T 20 needs to be sufficiently short.
20- T 1 ) is also shortened.

【0011】システム監視ルーチンは一定時間毎の処理
時間(T20−T1 )に分割されて処理されるから、この
ルーチンが一巡するのに要する時間が長くなり、システ
ム異常が発生した場合などに異常発見が遅れる問題が生
じる。
Since the system monitoring routine is divided into processing times (T 20 -T 1 ) at regular intervals, the routine takes a long time to complete one cycle, and when a system abnormality occurs, for example. There is a problem that anomaly detection is delayed.

【0012】[0012]

【発明の目的】本発明はこのような事情に鑑みなされた
ものであり、高速回転時においてもCPUはきれいな正
弦波からなる制御信号bを出力することができ、回転ム
ラや振動の発生を防ぐことができると共に、システム監
視ルーチンの処理時間も速くできるACサーボモータの
制御方法を提供することを第1の目的とする。またこの
方法の実施に直接用いられる装置を提供することを第2
の目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and the CPU can output the control signal b consisting of a beautiful sine wave even at the time of high speed rotation, thereby preventing the occurrence of uneven rotation and vibration. It is a first object of the present invention to provide a control method for an AC servomotor that is capable of achieving a high processing speed of the system monitoring routine. It is also a second object to provide an apparatus directly used for carrying out this method.
The purpose of.

【0013】[0013]

【発明の構成】本発明によれば第1の目的は、ロータの
回転角を検出し、外部から入力される位置・速度指令に
この回転角の実際値を追随させるようにマイクロコンピ
ュータで制御するACサーボモータにおいて、所定回転
速度(No)以下ではシステム監視ルーチンの演算を優
先させて所定時間間隔(T2 )ごとに位置制御ルーチン
を割り込ませ、前記所定回転速度(No)以上では、位
置制御ルーチンの演算を優先させて所定時間間隔ごとに
システム監視ルーチンを割り込ませるようにしたことを
特徴とするACサーボモータの制御方法により達成され
る。
According to the present invention, a first object is to detect a rotation angle of a rotor, and to control a microcomputer so that a position / speed command inputted from the outside is followed by an actual value of the rotation angle. In the AC servo motor, when the rotation speed is lower than a predetermined speed (No), the operation of the system monitoring routine is prioritized and the position control routine is interrupted at predetermined time intervals (T 2 ). This is achieved by a method for controlling an AC servomotor, characterized in that the system monitoring routine is interrupted at predetermined time intervals by giving priority to the routine calculation.

【0014】また第2の目的は、ロータの回転角を検出
する回転角検出器と、外部から入力される位置・速度指
令にこの回転角を追随させるようにフィードバック制御
を行うマイクロコンピュータと、このマイクロコンピュ
ータが出力する制御信号に基づき界磁電流を制御する電
力変換回路とを備えるACサーボモータにおいて、前記
マイクロコンピュータは、所定回転速度(No)以下で
優先権フラッグをセットし所定回転速度(No)以上で
クリヤする速度判別手段(ステップ16)を備え、前記
所定回転速度(No)以下ではシステム監視ルーチンを
優先させて位置制御ルーチンを一定時間間隔(T2 )ご
とに割り込ませる一方、前記所定回転速度以上では位置
制御ルーチンを優先させシステム監視ルーチンを一定時
間間隔ごとに割り込ませるようにしたことを特徴とする
ACサーボモータの制御装置により達成される。
A second object is a rotation angle detector for detecting the rotation angle of the rotor, a microcomputer for performing feedback control so that the rotation angle follows an externally input position / speed command, and In an AC servomotor including a power conversion circuit that controls a field current based on a control signal output from a microcomputer, the microcomputer sets a priority flag below a predetermined rotation speed (No) and sets a predetermined rotation speed (No). ) A speed discriminating means (step 16) that clears the above is provided, and below the predetermined rotation speed (No), the system control routine is prioritized and the position control routine is interrupted at regular time intervals (T 2 ), while Above the rotation speed, the position control routine is given priority and the system monitoring routine is divided at regular time intervals. It is achieved by the control apparatus of the AC servo motor, characterized in that the Maseru manner.

【0015】[0015]

【実施例】図1は本発明の一実施例の概念図、図2は実
行プログラム制御ルーチンの動作流れ図、図3はシステ
ム監視ルーチンの動作流れ図である。まず図1に基づい
て本発明の原理を説明する。
1 is a conceptual diagram of an embodiment of the present invention, FIG. 2 is an operation flow chart of an execution program control routine, and FIG. 3 is an operation flow chart of a system monitoring routine. First, the principle of the present invention will be described with reference to FIG.

【0016】図1においてNはロータの回転速度(RP
M)、T2 は位置制御ルーチンの実行時間間隔を示す。
従来装置ではこの実行時間間隔T20は図1にpで示すよ
うに一定であったから、高速時のサンプリング数を多く
確保するためにこの実行時間間隔T20を小さくする必要
があり、このようにすると、システム監視ルーチンの処
理に時間がかかる不都合が生じることは前記した通りで
ある。
In FIG. 1, N is the rotational speed of the rotor (RP
M) and T 2 indicate execution time intervals of the position control routine.
In the conventional device, this execution time interval T 20 is constant as shown by p in FIG. 1, so it is necessary to reduce the execution time interval T 20 in order to secure a large number of samplings at high speed. Then, as described above, the system monitoring routine takes a long time to process.

【0017】そこで本発明では、この実行時間間隔T2
を図1に実線qで示すように速度Nの増加に対して減少
するようにした。T2 とNとの関係は例えば図に示すよ
うに一次方程式、T2 =T0 −kN、により設定するこ
とができる。ここに−kは直線qの傾きを示す。この場
合には速度Nの減少によって間隔T2 は増加するから、
位置制御ルーチンの処理時間T1 (一定である)との差
(T2 −T1 )は速度の減少につれて増大する。このた
め図1に斜線で示すシステム監視ルーチンの処理時間
(T2 −T1 )は低速になるにつれて長くなり、その処
理速度は速くなる。
Therefore, in the present invention, this execution time interval T 2
As shown by the solid line q in FIG. The relationship between T 2 and N can be set by, for example, a linear equation, T 2 = T 0 −kN, as shown in the figure. Here, -k indicates the slope of the straight line q. In this case, since the interval T 2 increases as the velocity N decreases,
Position control routine of processing time T 1 difference between the (constant is) (T 2 -T 1) increases with decreasing speed. Therefore, the processing time (T 2 −T 1 ) of the system monitoring routine shown by hatching in FIG. 1 becomes longer as the speed becomes slower, and the processing speed becomes faster.

【0018】なお一定速度N0 以上では、T2 は過度に
小さくなり、システム監視ルーチンの処理時間(T2
1 )が過少となったり負になったりする事態が生じ得
る。そこで速度N0 以上では位置制御ルーチンを優先さ
せて、これにシステム監視ルーチンを所定の時間間隔で
割り込ませるようにした。図1のrはこの位置制御ルー
チンの処理時間を、sはシステム監視ルーチンの処理時
間を示す。このようにすることによりシステム監視ルー
チンの処理時間が確保され、その処理が遅れてシステム
の異常検出が遅れるなどの不都合が発生しなくなる。
At a constant speed N 0 or more, T 2 becomes excessively small, and the processing time of the system monitoring routine (T 2
It is possible that T 1 ) becomes too small or negative. Therefore, at the speed N 0 or higher, the position control routine is prioritized and the system monitoring routine is interrupted at a predetermined time interval. In FIG. 1, r indicates the processing time of this position control routine, and s indicates the processing time of the system monitoring routine. By doing so, the processing time of the system monitoring routine is secured, and the inconvenience of delaying the processing and delaying the system abnormality detection does not occur.

【0019】次に動作例を図2、3を用いて説明する。
この実施例ではシステム監視ルーチンと位置制御ルーチ
ンとの2つのプログラムの優先権の制御を行うための実
行プログラム制御ルーチンを持つ。このルーチンは図2
に示すものである。
Next, an operation example will be described with reference to FIGS.
This embodiment has an execution program control routine for controlling the priority of two programs, a system monitoring routine and a position control routine. This routine is shown in Figure 2.
It is shown in.

【0020】この図2においてまずスタートすると位置
制御ルーチンの割り込みを許可し(ステップ10)、シ
ステム監視ルーチンを割り込み無効とする(ステップ1
2)。そして位置制御ルーチンの実行間隔すなわち図1
における間隔T2 を前記の一次式すなわち直線qに基づ
いて演算する(ステップ14)。
First, in FIG. 2, when starting, the position control routine interrupt is enabled (step 10), and the system monitoring routine is disabled (step 1).
2). Then, the execution interval of the position control routine, that is, FIG.
The interval T 2 in is calculated based on the above-mentioned linear expression, that is, the straight line q (step 14).

【0021】次に速度Nが一定速度N0 以下であれば
(ステップ16)、優先権フラッグをセット(ステップ
18)する。速度NがN0 以上であれば、優先権フラッ
グをクリヤする(ステップ20)。すなわちこの優先権
フラッグはセット時にはシステム監視ルーチンの割り込
みを無効とし、このルーチンを優先させ(ステップ2
2)、前記の実行間隔T2 ごとに位置制御ルーチンを呼
び出してその演算を行う(ステップ24、14)。
Next, if the speed N is equal to or lower than the constant speed N 0 (step 16), the priority flag is set (step 18). If the speed N is equal to or higher than N 0 , the priority flag is cleared (step 20). That is, when this priority flag is set, the interrupt of the system monitoring routine is disabled and this routine is prioritized (step 2
2), the position control routine is called at every execution interval T 2 and its calculation is performed (steps 24, 14).

【0022】また優先権フラッグのクリヤ時にはシステ
ム監視ルーチンの実行時間間隔T3をセットし(ステッ
プ26)、この監視ルーチンの割り込み優先順位を上に
する(ステップ28)。すなわち位置制御ルーチンを優
先させて、ここに監視ルーチンを一定時間間隔T3 で割
り込ませる。
When the priority flag is cleared, the execution time interval T 3 of the system monitoring routine is set (step 26) and the interrupt priority of this monitoring routine is raised (step 28). That give priority to the position control routine, here to interrupt the monitoring routine at regular time intervals T 3.

【0023】システム監視ルーチンは、図3に示す動作
を行うものである。まずスタートすると順番カウンタの
内容nに1を加算する(ステップ30)。このシステム
監視ルーチンは、実行時間間隔T2 ごとに(T2 −T
1 )の時間だけ処理されるから、結局このルーチンはn
回の処理に分割されて実行されることになる。この順番
カウンタは、n回の処理を継続して行うためにn分割し
たシステム監視ルーチンのどれを実行するかを記憶する
ものである。
The system monitoring routine performs the operation shown in FIG. First, when starting, 1 is added to the content n of the order counter (step 30). The system monitoring routine, for each execution time interval T 2 (T 2 -T
Since it is processed for 1 ) time, this routine ends up with n
It will be divided into processes and executed. The order counter stores which of the system monitoring routines divided into n is executed in order to continuously perform the processing n times.

【0024】もしn=nならばこのルーチンの全処理を
一巡したことを意味するからn=0にもどし(ステップ
32)、優先権フラッグがセットされていれば(ステッ
プ34)最初の処理すなわちn=0の処理に入る(ステ
ップ36)。フラッグがクリヤならばN>N0 となって
いて位置制御ルーチンが優先となるから、その時の順番
カウンタの値nに対応する処理を最後に行ってエンドに
行く(ステップ38)。すなわち例えばn=1なら処理
1を最後に行って(ステップ39)優先権フラッグがク
リヤであることから(ステップ40)エンドに行く。
If n = n, it means that the entire processing of this routine has been completed. Therefore, the processing is returned to n = 0 (step 32), and if the priority flag is set (step 34), the first processing, that is, n. = 0 is entered (step 36). If the flag is clear, N> N 0 and the position control routine has priority, so the process corresponding to the value n of the order counter at that time is finally performed and the end is reached (step 38). That is, for example, if n = 1, the process 1 is performed last (step 39), and since the priority flag is clear (step 40), the process goes to the end.

【0025】この実施例ではN>N0 で割り込ませるシ
ステム監視ルーチンの時間間隔T3を一定値(固定値)
とすることができるが、これを可変としてもよい。同様
にN<N0 での位置制御ルーチンの割り込み時間間隔T
2 は、前記実施例のように速度Nの一次式で与えるもの
の他、Nに反比例する双曲線関数で与えてもよい。また
この時間間隔T2 を一定値としてもよい。
In this embodiment, the time interval T 3 of the system monitoring routine for interrupting N> N 0 is a fixed value (fixed value).
However, this may be variable. Similarly, the interrupt time interval T of the position control routine for N <N 0
2 may be given by a hyperbolic function inversely proportional to N, in addition to the one given by a linear expression of the velocity N as in the above embodiment. Further, this time interval T 2 may be a constant value.

【0026】[0026]

【発明の効果】請求項1の発明は以上のように、N<N
0 ではシステム監視ルーチンを優先させ、これに所定時
間間隔(T2 )ごとに位置制御ルーチンを割り込み処理
する一方、N>N0 では位置制御ルーチンを優先させて
システム監視ルーチンを割り込ませるものであるから、
高速回転時にも位置データのサンプリング周期を十分に
小さくしてCPUの出力制御信号をきれいな正弦波に近
づけることができる。このため回転ムラや振動の発生を
少なくできる。
As described above, according to the invention of claim 1, N <N
When 0 , the system monitoring routine is prioritized, and the position control routine is interrupted at predetermined time intervals (T 2 ), while when N> N 0 , the position monitoring routine is prioritized and interrupted by the system monitoring routine. From
Even during high-speed rotation, the sampling cycle of the position data can be made sufficiently small so that the output control signal of the CPU can be brought close to a clean sine wave. Therefore, it is possible to reduce uneven rotation and vibration.

【0027】また低速時においてはシステム監視ルーチ
ンの処理時間を十分に確保できるからその処理が一巡す
るのに要する時間を短くして異常などの検出を速くする
ことができる。ここにN<N0 で位置制御ルーチンを割
り込ませる時間間隔T2 は速度Nの増加に対して減少さ
せるのが望ましく(請求項2)、特にNの一次関数とす
れば演算が単純となる(請求項3)。また請求項4によ
れば、この方法の実施に直接用いられる装置が得られ
る。
Further, since the processing time of the system monitoring routine can be sufficiently secured at the low speed, it is possible to shorten the time required for the processing to complete one cycle and speed up the detection of an abnormality. Here, it is desirable to decrease the time interval T 2 for interrupting the position control routine with N <N 0 with respect to the increase of the speed N (Claim 2). Especially, if it is a linear function of N, the calculation becomes simple ( Claim 3). According to claim 4, an apparatus is provided which is used directly for carrying out the method.

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

【図1】本発明の一実施例の原理説明図FIG. 1 is an explanatory diagram of the principle of an embodiment of the present invention.

【図2】実行プログラム制御ルーチンの動作流れ図FIG. 2 is an operation flow chart of an execution program control routine.

【図3】システム監視ルーチンの動作流れ図FIG. 3 is an operation flowchart of a system monitoring routine.

【図4】従来装置の概念図FIG. 4 is a conceptual diagram of a conventional device.

【図5】CPUの出力制御信号の波形図FIG. 5 is a waveform diagram of a CPU output control signal.

【符号の説明】[Explanation of symbols]

1 サーボモータ 2 回転角検出器 3 マイクロコンピュータ 12 速度判別手段ステップ 1 Servo Motor 2 Rotation Angle Detector 3 Microcomputer 12 Speed Discriminating Means Step

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ロータの回転角を検出し、外部から入力
される位置・速度指令にこの回転角の実際値を追随させ
るようにマイクロコンピュータで制御するACサーボモ
ータにおいて、所定回転速度(No)以下ではシステム
監視ルーチンの演算を優先させて所定時間間隔(T2
ごとに位置制御ルーチンを割り込ませ、前記所定回転速
度(No)以上では、位置制御ルーチンの演算を優先さ
せて所定時間間隔ごとにシステム監視ルーチンを割り込
ませるようにしたことを特徴とするACサーボモータの
制御方法。
1. An AC servomotor controlled by a microcomputer so as to detect a rotation angle of a rotor and cause a position / speed command inputted from the outside to follow an actual value of this rotation angle, a predetermined rotation speed (No). In the following, the calculation of the system monitoring routine is given priority and the predetermined time interval (T 2 )
The AC servomotor is characterized in that the position control routine is interrupted every time, and when the rotational speed is equal to or higher than the predetermined rotation speed (No), the operation of the position control routine is prioritized and the system monitoring routine is interrupted at every predetermined time interval. Control method.
【請求項2】 所定回転速度以下で位置制御ルーチンを
割り込ませる所定時間間隔(T2 )は、回転速度(N)
の増加に対して減少するように設定される請求項1のA
Cサーボモータの制御方法。
2. A predetermined time interval (T 2 ) for interrupting a position control routine at a speed equal to or lower than a predetermined rotation speed is a rotation speed (N).
A according to claim 1, which is set to decrease with an increase in
C Servo motor control method.
【請求項3】 所定時間間隔(T2 )は回転速度(N)
の一次関数で設定される請求項2のACサーボモータの
制御方法。
3. The predetermined time interval (T 2 ) is the rotational speed (N)
The method of controlling an AC servomotor according to claim 2, wherein the AC servomotor is set by a linear function.
【請求項4】 ロータの回転角を検出する回転角検出器
と、外部から入力される位置・速度指令にこの回転角を
追随させるようにフィードバック制御を行うマイクロコ
ンピュータと、このマイクロコンピュータが出力する制
御信号に基づき界磁電流を制御する電力変換回路とを備
えるACサーボモータにおいて、前記マイクロコンピュ
ータは、所定回転速度(No)以下で優先権フラッグを
セットし所定回転速度(No)以上でクリヤする速度判
別手段(ステップ16)を備え、前記所定回転速度(N
o)以下ではシステム監視ルーチンを優先させて位置制
御ルーチンを一定時間間隔(T2 )ごとに割り込ませる
一方、前記所定回転速度以上では位置制御ルーチンを優
先させシステム監視ルーチンを一定時間間隔ごとに割り
込ませるようにしたことを特徴とするACサーボモータ
の制御装置。
4. A rotation angle detector for detecting a rotation angle of a rotor, a microcomputer for performing feedback control so that the rotation angle follows an externally input position / speed command, and this microcomputer outputs. In an AC servomotor including a power conversion circuit that controls a field current based on a control signal, the microcomputer sets a priority flag below a predetermined rotation speed (No) and clears above a predetermined rotation speed (No). A speed discriminating means (step 16) is provided and the predetermined rotation speed (N
o) In the following, the system monitoring routine is prioritized to interrupt the position control routine at constant time intervals (T 2 ), while above the predetermined rotation speed, the position control routine is prioritized and the system monitoring routine is interrupted at constant time intervals. A control device for an AC servomotor, which is characterized in that
JP4038323A 1992-01-30 1992-01-30 Method and device for controlling ac servo motor Pending JPH05211792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4038323A JPH05211792A (en) 1992-01-30 1992-01-30 Method and device for controlling ac servo motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4038323A JPH05211792A (en) 1992-01-30 1992-01-30 Method and device for controlling ac servo motor

Publications (1)

Publication Number Publication Date
JPH05211792A true JPH05211792A (en) 1993-08-20

Family

ID=12522080

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4038323A Pending JPH05211792A (en) 1992-01-30 1992-01-30 Method and device for controlling ac servo motor

Country Status (1)

Country Link
JP (1) JPH05211792A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015046180A (en) * 2006-10-02 2015-03-12 フィッシャー−ローズマウント システムズ,インコーポレイテッド Analytical server integrated in process control network
JP2019110723A (en) * 2017-12-20 2019-07-04 株式会社デンソー Control apparatus for electric power conversion system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015046180A (en) * 2006-10-02 2015-03-12 フィッシャー−ローズマウント システムズ,インコーポレイテッド Analytical server integrated in process control network
JP2019110723A (en) * 2017-12-20 2019-07-04 株式会社デンソー Control apparatus for electric power conversion system

Similar Documents

Publication Publication Date Title
JPS61157284A (en) Drive control system of servo motor
JPH0847280A (en) Method for controlling ac servo motor
JPH01103184A (en) Control system for servo motor
JPH05211792A (en) Method and device for controlling ac servo motor
JPH0248386B2 (en) KOSAKUKIKAINIOKERUOKURISEIGYOHOHO
JP2531607B2 (en) Detection speed correction method
JP3408956B2 (en) Drive control device for servo motor
JPH089514A (en) Controlling method for motor
JPH03273890A (en) Digital servo controlling equipment
JPH10290521A (en) Motor runaway detection method and speed controller
JPS6140275Y2 (en)
JP2856812B2 (en) AC motor control device
JPS62126891A (en) Manufacture of rectified signal of 3-phase ac amount
JPH08149882A (en) Motor controller
JPH0751976A (en) Stop control system at abnormal load of spindle
JPS6179165A (en) Analog speed detecting method using rotary encoder
JPS61145090A (en) Method of controlling speed of elevator
JPH05146187A (en) Resonance suppressing method for servo motor
JPH11122963A (en) Servomotor drive method
JPS61203882A (en) Speed control for motor
JPH05300794A (en) Controlling method for air conditioner
JPH03285586A (en) Controller for servomotor
JPS58108973A (en) Controlling method for variable frequency inverter
JPS60225903A (en) Control parameter optimizing device of control device
JPS60207480A (en) Controller for driving motor