JPH02214491A - Servo controller - Google Patents

Servo controller

Info

Publication number
JPH02214491A
JPH02214491A JP1033257A JP3325789A JPH02214491A JP H02214491 A JPH02214491 A JP H02214491A JP 1033257 A JP1033257 A JP 1033257A JP 3325789 A JP3325789 A JP 3325789A JP H02214491 A JPH02214491 A JP H02214491A
Authority
JP
Japan
Prior art keywords
servo
cycle
pulse signal
speed
signal
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.)
Granted
Application number
JP1033257A
Other languages
Japanese (ja)
Other versions
JPH0771397B2 (en
Inventor
Takaharu Matsumoto
松本 高治
Akimasa Fujimoto
藤本 晃正
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP1033257A priority Critical patent/JPH0771397B2/en
Publication of JPH02214491A publication Critical patent/JPH02214491A/en
Publication of JPH0771397B2 publication Critical patent/JPH0771397B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02BINTERNAL-COMBUSTION PISTON ENGINES; COMBUSTION ENGINES IN GENERAL
    • F02B75/00Other engines
    • F02B75/02Engines characterised by their cycles, e.g. six-stroke
    • F02B2075/022Engines characterised by their cycles, e.g. six-stroke having less than six strokes per cycle
    • F02B2075/025Engines characterised by their cycles, e.g. six-stroke having less than six strokes per cycle two

Landscapes

  • Control Of Multiple Motors (AREA)

Abstract

PURPOSE:To reduce the dead time of a speed detecting signal for calculation so as to secure a sufficient phasic margin to a servo system by dividing a servo cycle by the number of motors to be controlled and calculating the control signal for servo control based on the rotating speed of each motor detected in the preceding detecting cycle during each divided period. CONSTITUTION:A fixed-cycle timer 10 outputs a pulse signal P the cycle of which is the 1/2 of a servo cycle T. From the pulse signal P, decode signals D1 and D2, the cycles of which are equal to the servo cycle and phases of which are shifted from each other by a 1/2 cycle, are produced by means of a binary counter 11 and decoder 12. By means of the decode signals D1 and D2, speed detectors 6 and 7 alternately output speed signals V1 and V2 at every servo cycle. A microprocessor 13 calculates and outputs the control signal of the motor of the number indicated by a count CO at the timing given by means of an interrupt signal INT.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は複数のモータの速度サーボ制御を1台の装置で
行うサーボ制御装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a servo control device that performs speed servo control of a plurality of motors with one device.

〈従来の技術〉 マイクロプロセッサ等を用いてサーボ制御を行ういわゆ
るソフトウェアサーボ制御装置において、位置と速度の
制御を行う場合、一般には速度検出信号としては、前回
のサーボサイクル中における制御対象の平均速度を用い
る。平均速度は、制御対象の変位をエンコーダで検出し
、前回のサーボサイクル中にきたエンコーダパルスの数
やエンコーダパルスの周期等から求める。
<Prior art> When controlling position and speed in a so-called software servo control device that performs servo control using a microprocessor, etc., the speed detection signal generally uses the average speed of the controlled object during the previous servo cycle. Use. The average speed is determined by detecting the displacement of the controlled object with an encoder, and from the number of encoder pulses that came during the previous servo cycle, the period of the encoder pulses, etc.

1台のソフトウェアサーボ装置で2軸以上のロボットア
ームを制御する場合は、1個のマイクロプロセッサが2
個以上のモータを制御することになる。
When controlling a robot arm with two or more axes with one software servo device, one microprocessor can control two or more axes.
This means that more than one motor will be controlled.

このような場合に用いるサーボ制御装置としては、例え
ば第4図に示すものがあった。この図は2軸のロボット
アームを制御する装置を示したものである。
As a servo control device used in such a case, there is one shown in FIG. 4, for example. This figure shows a device that controls a two-axis robot arm.

図で、1と2は第1軸駆動用モータと第2軸駆動用モー
タ、3と4はモータ1と2の回転位置を検出する位置検
出手段、5は一定周期のパルス信号を発生する定周期タ
イマ、6と7は位置検出手段3と4の位置検出信号P1
とP2をもとにモータの回転速度を検出する速度検出器
である。これらの検出器6と7は、定周期タイマ5の出
力パルスにより交互に検出動作を行う。
In the figure, 1 and 2 are motors for driving the first axis and motors for driving the second axis, 3 and 4 are position detection means for detecting the rotational positions of motors 1 and 2, and 5 is a constant-speed regulator that generates a pulse signal with a constant period. Period timer, 6 and 7 are position detection signals P1 of position detection means 3 and 4
This is a speed detector that detects the rotational speed of the motor based on P2 and P2. These detectors 6 and 7 perform detection operations alternately based on the output pulses of the fixed-cycle timer 5.

8はソフトウェアによりサーボ系を構成したマイクロプ
ロセッサである。マイクロプロセ・yす8は、指令速度
Vと速度検出器6.7の速度検出信号をもとに、モータ
をサーボ制御するための制御出力C+ 、 C2を算出
して出力する。マイクロプロセッサ8の演算は、定周期
タイマ5の出力パルスを割込信号として開始する。
8 is a microprocessor that configures a servo system using software. The microprocessor YS 8 calculates and outputs control outputs C+ and C2 for servo-controlling the motor based on the command speed V and the speed detection signal from the speed detector 6.7. The calculation of the microprocessor 8 is started using the output pulse of the fixed period timer 5 as an interrupt signal.

この制御装置では第5図に示すフローチャートに従って
動作する。
This control device operates according to the flowchart shown in FIG.

〈発明が解決しようとする課題〉 しかし、このような装置では、第1軸駆動用モータの制
御出力の演算と第2軸駆動用モータの制御出力の演算を
シリアルに行っているため、第2軸の構成に関して、速
度検出信号のむだ時間遅れが大きくなり、位相余裕が低
下する。これによって系の安定性が損われるという問題
点があった。
<Problems to be Solved by the Invention> However, in such a device, the calculation of the control output of the first axis drive motor and the control output of the second axis drive motor are performed serially. Regarding the configuration of the shaft, the dead time delay of the speed detection signal increases and the phase margin decreases. This poses a problem in that the stability of the system is impaired.

本発明はこのような問題点を解決するためになされたも
のであり、2軸以上のロボッl−アームに用いるモータ
のサーボ制御をソフトウェアサーボで行う場合に、演算
による速度検出信号のむだ時間遅れが低減され、サーボ
系に十分な位相余裕が確保されるサーボ制御装置を実現
することを目的とする。
The present invention has been made to solve such problems, and when performing servo control of a motor used for a robot l-arm with two or more axes using software servo, the dead time delay of the speed detection signal due to calculation is An object of the present invention is to realize a servo control device in which the phase margin is reduced and sufficient phase margin is ensured in the servo system.

く課題を解決するための手段〉 本発明は、 N個(Nは2以上の整数)のモータの速度サーボ制御を
1台の装置で行うサーボ制御装置において、 モータに制御信号を送るサイクルであるサーボサイクル
のN倍の周波数のパルス信号(1)を発生する定周期タ
イマと、 前記パルス信号(1)をもとに、このパルス信号の1周
期分ずつずれていてしかもサーボサイクルと等周期にな
ったN個のパルス信号(2)を発生するパルス信号発生
手段と、 N個設けられていて、前記N個のパルス信号(2)のい
ずれかを受け、モータの回転位置の検出信号により、パ
ルス信号C)の前回の周期におけるモータの平均回転速
度を検出する速度検出手段と、前記パルス信号(1)を
受けて、このパルス信号がサーボサイクル中で何番目に
発生したパルス信号であるかを検出する番号検出手段と
、 前記パルス信号(1)に同期して、前記番号検出手段で
検出した番号に対応したモータの速度サーボ制御の演算
を行うサーボ演算手段、 を具備したサーボ制御装置である。
Means for Solving the Problems> The present invention provides a servo control device that performs speed servo control of N motors (N is an integer of 2 or more) with one device, and provides a cycle for sending control signals to the motors. A fixed period timer that generates a pulse signal (1) with a frequency N times the frequency of the servo cycle, and a fixed period timer that generates a pulse signal (1) with a frequency N times that of the servo cycle, and a fixed period timer that is shifted by one period of this pulse signal based on the pulse signal (1) and is at the same period as the servo cycle. a pulse signal generating means for generating N pulse signals (2), which are provided, receive any one of the N pulse signals (2), and generate a signal according to a detection signal of the rotational position of the motor; A speed detection means for detecting the average rotational speed of the motor in the previous cycle of the pulse signal C), and receiving the pulse signal (1) to determine which pulse signal this pulse signal has occurred in the servo cycle. A servo control device comprising: a number detection means for detecting a number; and a servo calculation means for performing a speed servo control calculation of a motor corresponding to the number detected by the number detection means in synchronization with the pulse signal (1). be.

く作用〉 このような本発明では、制御するモータの数でサーボサ
イクルを分割し、各分割期間で、前回の検出周期で検出
した各モータの回転速度をもとにサーボ制御のための制
御信号を算出する。
According to the present invention, the servo cycle is divided according to the number of motors to be controlled, and in each divided period, a control signal for servo control is generated based on the rotational speed of each motor detected in the previous detection cycle. Calculate.

〈実施例〉 以下、図面を用いて本発明を説明する。<Example> Hereinafter, the present invention will be explained using the drawings.

第1図は本発明の一実施例を示した構成図である。第1
図で第4図と同一のものは同一符号を付ける。
FIG. 1 is a block diagram showing an embodiment of the present invention. 1st
Components in the figure that are the same as those in FIG. 4 are given the same reference numerals.

図で、10はサーボサイクルの1/2周期のパルス信号
Pを発生する定周期タイマ、11はパルス信号Pのパル
ス数をカウントする1、ビットの2進カウンタ、12は
カウンタ11のカウントをデコードするデコーダである
。デコーダ12のデコード信号り、とD2により速度検
出器6と7は動作する。
In the figure, 10 is a fixed-period timer that generates a pulse signal P of 1/2 period of the servo cycle, 11 is a 1-bit binary counter that counts the number of pulses of the pulse signal P, and 12 is a decoded count of the counter 11. It is a decoder that The speed detectors 6 and 7 are operated by the decode signal D2 of the decoder 12.

13は指令速度Vと速度検出器6と7の速度検出信号V
、、V2をもとにモータ1と2をサーボ制御するための
制御信号C,,C2を算出して出力するマイクロプロセ
ッサである。マイクロプロセッサ13は、定周期タイマ
10の出力を割込信号INTとして演算を開始し、また
カウンタ11のカウントに応じてモータ1または2をサ
ーボ制御する。
13 is the command speed V and the speed detection signals V of speed detectors 6 and 7.
, , V2 is a microprocessor that calculates and outputs control signals C, , C2 for servo-controlling motors 1 and 2. The microprocessor 13 starts calculation using the output of the periodic timer 10 as an interrupt signal INT, and also servo-controls the motor 1 or 2 according to the count of the counter 11.

このように構成した装置の動作を説明する。The operation of the device configured in this way will be explained.

第2図は第1図の装置の各信号のタイムチャートである
FIG. 2 is a time chart of each signal of the device shown in FIG.

定周期タイマ10は周期がサーボサイクルTの1/2に
なったパルス信号Pを出力する。この信号は2進カウン
タ11とデコーダ12によって周期がサーボサイクルと
等しく互いに位相が1/2周期だけずれたデコード信号
り、とD2にされる。
The fixed period timer 10 outputs a pulse signal P whose period is 1/2 of the servo cycle T. This signal is converted into a decoded signal D2 by a binary counter 11 and a decoder 12 whose period is equal to the servo cycle and whose phases are shifted from each other by 1/2 period.

このデコード信号D1とD2によって速度検出器6と7
はサーボサイクル毎に交互に速度検出信号V、とv2を
出力する。
The speed detectors 6 and 7 are detected by the decoded signals D1 and D2.
outputs speed detection signals V and v2 alternately every servo cycle.

定周期タイマ10の出力は割込信号INTにもなってい
て、またカウンタ11のカウントCOはサーボ制御する
モータの番号を示している。
The output of the fixed-cycle timer 10 also serves as an interrupt signal INT, and the count CO of the counter 11 indicates the number of the motor to be servo-controlled.

マイクロプロセッサ13は、ソフトウェアによりサーボ
系を構成したもので、割込信号INTで与えられるタイ
ミングでカウントCOで示す番号のモータの制御信号を
算出して出力する。
The microprocessor 13 constitutes a servo system using software, and calculates and outputs a control signal for the motor numbered by the count CO at the timing given by the interrupt signal INT.

例えば、時刻t1では、割込信号INTの立上がりとカ
ウンタ11のカウント「1」によって、マイクロプロセ
ッサ13は前回の検出周期で速度検出器7が検出した速
度検出信号をもとに、モータ2をサーボ制御するための
制御信号C1の演算を開始する。この演算は期間1゛、
に行なわれる。
For example, at time t1, the rise of the interrupt signal INT and the count "1" of the counter 11 causes the microprocessor 13 to control the servo motor 2 based on the speed detection signal detected by the speed detector 7 in the previous detection cycle. The calculation of the control signal C1 for control is started. This operation has a period of 1゛,
It will be held in

同様に、時刻t2では、モータ1をサーボ制御するため
の演算が時刻t2から開始し、期間T2だけ行なわれる
Similarly, at time t2, calculations for servo-controlling motor 1 start from time t2 and are performed for period T2.

このように1サーボサイクル内でモータ1と2をサーボ
制御するための演算を行う。
In this way, calculations for servo-controlling motors 1 and 2 are performed within one servo cycle.

第3図はこのような動作の処理手順を示したフローチャ
ートである。
FIG. 3 is a flowchart showing the processing procedure of such an operation.

ここで、請求範囲でいうパルス信号(1)は定周期タイ
マ10の出力に、パルス信号(2)はデコード信号DI
 、D2にそれぞれ相当する。
Here, the pulse signal (1) in the claims is the output of the fixed period timer 10, and the pulse signal (2) is the decode signal DI.
, D2, respectively.

なお、実施例では2個のモータを制御する場合について
説明したが、制御するモータの数はこれ以外の複数であ
ってもよい1例えば、N個のモータを制御する場合は(
Nは3以上の整数)、定周期タイマ10はサーボサイク
ルの1/Nの周期のパルス信号を発生し、カウンタ11
はN11類のカウントを取り得るもので、デコーダ12
はN個のデコード信号を出力し、速度検出器はN個設け
られる。
In addition, in the embodiment, the case where two motors are controlled has been described, but the number of motors to be controlled may be other than this. For example, when controlling N motors, (
(N is an integer of 3 or more), the fixed-cycle timer 10 generates a pulse signal with a period of 1/N of the servo cycle, and the counter 11
is capable of taking counts of type N11, and the decoder 12
outputs N decoded signals, and N speed detectors are provided.

く効果〉 本発明によれば、制御するモータの数でサーボサイクル
を分割し、各分割期間で、前回の検出周期で検出した各
モータの回転速度をもとにサーボ制御のための制御信号
を算出しているため、演算による制御信号のむだ時間遅
れが低減される。これによって、位相余裕が大きくなり
、サーボ系の安定性が向上する。
Effect> According to the present invention, a servo cycle is divided according to the number of motors to be controlled, and in each divided period, a control signal for servo control is generated based on the rotational speed of each motor detected in the previous detection cycle. Since the calculation is performed, the dead time delay of the control signal due to calculation is reduced. This increases the phase margin and improves the stability of the servo system.

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

第1図は本発明の一実施例を示した構成図、第2図およ
び第3図は第1図の装置の動作説明図、第4図は従来に
おけるサーボ制御装置の構成例を示した図、第5図は第
4図の装置の動作説明図である。 1.2・・・モータ、3.4・・・回転検出手段、6゜
7・・・速度検出器、10・・・定周期タイマ、11・
・・カウンタ、12・・・デコーダ、13・・・マイク
ロプロセッサ。 第 一
FIG. 1 is a configuration diagram showing an embodiment of the present invention, FIGS. 2 and 3 are explanatory diagrams of the operation of the device shown in FIG. 1, and FIG. 4 is a diagram showing an example of the configuration of a conventional servo control device. , FIG. 5 is an explanatory diagram of the operation of the apparatus shown in FIG. 4. 1.2... Motor, 3.4... Rotation detection means, 6°7... Speed detector, 10... Fixed period timer, 11.
... Counter, 12... Decoder, 13... Microprocessor. first

Claims (1)

【特許請求の範囲】 N個(Nは2以上の整数)のモータの速度サーボ制御を
1台の装置で行うサーボ制御装置において、 モータに制御信号を送るサイクルであるサーボサイクル
のN倍の周波数のパルス信号(1)を発生する定周期タ
イマと、 前記パルス信号(1)をもとに、このパルス信号の1周
期分ずつずれていてしかもサーボサイクルと等周期にな
ったN個のパルス信号(2)を発生するパルス信号発生
手段と、 N個設けられていて、前記N個のパルス信号(2)のい
ずれかを受け、モータの回転位置の検出信号により、パ
ルス信号(2)の前回の周期におけるモータの平均回転
速度を検出する速度検出手段と、前記パルス信号(1)
を受けて、このパルス信号がサーボサイクル中で何番目
に発生したパルス信号であるかを検出する番号検出手段
と、 前記パルス信号(1)に同期して、前記番号検出手段で
検出した番号に対応したモータの速度サーボ制御の演算
を行うサーボ演算手段、 を具備したサーボ制御装置。
[Claims] In a servo control device that performs speed servo control of N motors (N is an integer of 2 or more) with one device, a fixed-period timer that generates a pulse signal (1), and N pulse signals, based on the pulse signal (1), that are shifted by one period of this pulse signal and have the same period as the servo cycle. (2); N pulse signal generating means are provided, which receive one of the N pulse signals (2) and detect the previous pulse signal (2) based on a detection signal of the rotational position of the motor; speed detection means for detecting the average rotational speed of the motor in the period of; and the pulse signal (1).
a number detection means for detecting the number of pulse signals generated in the servo cycle by the pulse signal; and a number detection means for detecting the number detected by the number detection means in synchronization with the pulse signal (1). A servo control device comprising: servo calculation means for calculating speed servo control of a corresponding motor.
JP1033257A 1989-02-13 1989-02-13 Servo control device Expired - Fee Related JPH0771397B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1033257A JPH0771397B2 (en) 1989-02-13 1989-02-13 Servo control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1033257A JPH0771397B2 (en) 1989-02-13 1989-02-13 Servo control device

Publications (2)

Publication Number Publication Date
JPH02214491A true JPH02214491A (en) 1990-08-27
JPH0771397B2 JPH0771397B2 (en) 1995-07-31

Family

ID=12381454

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1033257A Expired - Fee Related JPH0771397B2 (en) 1989-02-13 1989-02-13 Servo control device

Country Status (1)

Country Link
JP (1) JPH0771397B2 (en)

Also Published As

Publication number Publication date
JPH0771397B2 (en) 1995-07-31

Similar Documents

Publication Publication Date Title
JPS61157284A (en) Drive control system of servo motor
JPH02214491A (en) Servo controller
US4814681A (en) Rotary body position control apparatus
JPH08339212A (en) Method for return to absolute origin in industrial controller
JP4638094B2 (en) Multi-axis control device and synchronization method therefor
JPH0996545A (en) Absolute position detection device of output rotary shaft
JP3594203B2 (en) Motor control device
JPH0344506B2 (en)
JP2000175497A (en) Device and method for controlling pulse motor and recording medium with pulse motor control program recorded therein
JP2600975B2 (en) Speed control method for synchronous motor
JP2996445B2 (en) Multi-axis drive
JPH0253117A (en) Servo controller
JPH01186190A (en) Synchronous controller
JPS6068408A (en) Positioning controller
JPH02235105A (en) Backlash correcting system for servo motor
KR100219850B1 (en) Position control apparatus and method for plc inverter communication
JPH07314066A (en) Acceleration-decelereation controller for feeder device for press
KR100219617B1 (en) Apparatus for controlling spindle motor with constant angle velocity by using output voltage
JPH0199489A (en) Motor controller
JPH10161748A (en) Motor positioning controller
JPH05130793A (en) Synchronous control method
JPS63249498A (en) Control circuit for stepping motor
JPH0674787A (en) Absolute position detector
JPS5829387A (en) Driving method for commutatorless motor
JPH02197285A (en) Digital control system for synchronous motor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees