JPH02193584A - Servo controller - Google Patents
Servo controllerInfo
- Publication number
- JPH02193584A JPH02193584A JP1011516A JP1151689A JPH02193584A JP H02193584 A JPH02193584 A JP H02193584A JP 1011516 A JP1011516 A JP 1011516A JP 1151689 A JP1151689 A JP 1151689A JP H02193584 A JPH02193584 A JP H02193584A
- Authority
- JP
- Japan
- Prior art keywords
- current
- speed
- time
- sampling
- command
- 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
Links
- 238000005070 sampling Methods 0.000 claims abstract description 10
- 230000005856 abnormality Effects 0.000 claims description 18
- 230000002159 abnormal effect Effects 0.000 abstract description 9
- 230000007257 malfunction Effects 0.000 abstract description 3
- 230000006399 behavior Effects 0.000 abstract description 2
- 230000000717 retained effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 6
- 238000000034 method Methods 0.000 description 3
- 241000170545 Iago Species 0.000 description 2
- 230000003321 amplification Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 238000011835 investigation Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000004043 responsiveness Effects 0.000 description 1
- 238000007493 shaping process Methods 0.000 description 1
Landscapes
- Control Of Electric Motors In General (AREA)
Abstract
Description
【発明の詳細な説明】
「産業上の利用分野」
本発明はサーボ制御装!に関し、数値制御装置に適用す
るに好適な装置に関する。[Detailed Description of the Invention] "Industrial Application Field" The present invention is a servo control device! The present invention relates to a device suitable for application to a numerical control device.
「従来の技術」
サーボ制御装置には、一般に、異常時に動作を停止する
機能がある。これらの異常時停止手段は、位置偏差、速
度、電流等が所定しきい値を賄えた場合に異常と判別し
、動作を停止すると共に、その瞬時の異常内容をラッチ
して誤差過大、過速度。"Prior Art" A servo control device generally has a function of stopping its operation in the event of an abnormality. These abnormality stopping means determine that an abnormality occurs when position deviation, speed, current, etc. meet predetermined thresholds, and stop the operation.They also latch the instantaneous abnormality content and detect excessive error or overspeed. .
または過電流等のランプ表示をするものであった。Or, it used a lamp to indicate overcurrent, etc.
「発明が解決しようとする課題」
しかしながら、サーボ制御装置はフィードバックループ
により閉じたループを構成しているため、たとえば、運
転中に誤差過大で停止したとしても位置ループ系に異常
があるとは限らず、サーボ異常の真の原因を究明するの
が困難であるという問照点があった。``Problem to be solved by the invention'' However, since the servo control device forms a closed feedback loop, for example, even if it stops due to an excessive error during operation, it does not necessarily mean that there is an abnormality in the position loop system. First, there was a problem in that it was difficult to determine the true cause of servo abnormalities.
本発明は上記の問題点を解決するためなされたものであ
り、その目的とするところは、不具合発生時にその真の
原因の究明が容易であり、回復に要する修理時間M T
T R(Mean Time to Repair)
を短縮することができるサーボ制御装置を提供すること
にある。The present invention has been made to solve the above problems, and its purpose is to facilitate investigation of the true cause of a malfunction when it occurs, and to reduce the repair time required for recovery.
T R (Mean Time to Repair)
The object of the present invention is to provide a servo control device that can shorten the time.
「課題を解決するための手段」
上記の目的を達成するため、本発明では、位置ループ、
速度ループ、電流ループの各フィードバックループを有
し、位置指令に対する追随誤差を示す位N偏差の過大、
速度の過大、または電流の過大等を検出して動作を停止
させる異常時停止手段を有するサーボ制御装置において
、前記各フィードバックルーズの位置偏差、速度及び電
流の各位をそれぞれの所定時間毎にサンプリングするサ
ンプリング手段と、そのサンプリングされた最新の各位
をそれぞれ所定回数分バックアップメモリに記憶する記
憶手段と、その記憶手段に記憶された内容を表示可能な
表示手段と、前記異常時停止手段により動作が停止され
た後前記表示手段に前記バックアップメモリの内容を表
示させる指令を出力する表示指令手段と、を備えること
を特徴とするサーボ制御装置が提供される。"Means for Solving the Problem" In order to achieve the above object, the present invention provides a position loop,
Excessive position N deviation, which has a velocity loop and a current loop feedback loop, and indicates a tracking error for the position command;
In a servo control device having an abnormality stopping means that detects excessive speed or excessive current and stops the operation, the position deviation, speed, and current of each feedback loose are sampled at predetermined time intervals. a sampling means, a storage means for storing each of the latest samples sampled a predetermined number of times in a backup memory, a display means capable of displaying the contents stored in the storage means, and the operation is stopped by the abnormality stopping means. A servo control device is provided, comprising: display command means for outputting a command to cause the display means to display the contents of the backup memory after the content of the backup memory is displayed.
「作用」
上記の様に構成されたサーボ制御装置では、正常運転中
は位置偏差、速度偏差及び電流偏差の各位が常時モニタ
リングされ、記憶手段に常時記憶更新されている。異常
停止時には、動作が停止するため、記憶手段に最新の所
定回数分の各位が保存される。従って、表示指令手段に
より表示手段に記憶手段に保存された内容を表示させ、
その内容を調べることにより、異常停止直前の動作を知
ることができる。"Operation" In the servo control device configured as described above, the position deviation, speed deviation, and current deviation are constantly monitored during normal operation, and are constantly updated in the storage means. At the time of abnormal stop, since the operation stops, the latest predetermined number of operations are stored in the storage means. Therefore, the display command means causes the display means to display the content stored in the storage means,
By examining the contents, it is possible to know the operation immediately before the abnormal stop.
「実施例」 本発明の実施例について図面を参照し説明する。"Example" Embodiments of the present invention will be described with reference to the drawings.
第2図は実施例サーボ制御装置のハードウェア構成を示
すブロック図である。制御本体はコンピュータ1で構成
され、CPUII、メモリ12.現在値カウンタ13.
D/A変換器14.A/D変換器15を備える。メモリ
12はROM16.RAM17を備え、その一部は電源
断時にもその内容を消失せず保存するバックアツプRA
M領域18を構成している。また、CPUIIにはイン
ターフェイス回路19を介してCRTデイスプレィ装置
7及びキーボード8が接続されている。CRTデイスプ
レィ装置7はRAM17及びバックアップRAM18に
記憶された内容を表示可能な表示手段をなす、また、キ
ーボード8はバックアップRAM18の内容をCRTデ
イスプレィ装置7に表示させる指令を出力する表示指令
手段をなす、D/A変換器14の出力は電流アンプ2に
接続され、電流アンプ2はD/A変換器14の出力信号
レベルに応じてサーボモータ3を駆動する。FIG. 2 is a block diagram showing the hardware configuration of the servo control device according to the embodiment. The control main body consists of a computer 1, a CPU II, a memory 12. Current value counter 13.
D/A converter 14. An A/D converter 15 is provided. The memory 12 is a ROM16. A backup RA equipped with 17 RAMs, some of which retain their contents even when the power is turned off.
It constitutes the M area 18. Further, a CRT display device 7 and a keyboard 8 are connected to the CPU II via an interface circuit 19. The CRT display device 7 constitutes a display means capable of displaying the contents stored in the RAM 17 and the backup RAM 18, and the keyboard 8 constitutes a display command means for outputting a command to display the contents of the backup RAM 18 on the CRT display device 7. The output of the D/A converter 14 is connected to a current amplifier 2, and the current amplifier 2 drives the servo motor 3 according to the output signal level of the D/A converter 14.
サーボモータ3には無整流子モータが用いられ、PWM
制御により駆動電流が制御されトルクが制御される。サ
ーボモータ3の駆動電流は電流検出器5により検出され
、A/D変換器15に入力されモニタされる。また、サ
ーボモータ3にはパルスエンコーダ4が取付けられ、そ
の位置を検出する。パルスエンコーダ4の出力は波形整
形及び方向判別回路6を介して現在値カウンタ13に接
続される。A non-commutator motor is used as the servo motor 3, and PWM
The control controls the drive current and the torque. The drive current of the servo motor 3 is detected by the current detector 5, and is input to the A/D converter 15 and monitored. Further, a pulse encoder 4 is attached to the servo motor 3 to detect its position. The output of the pulse encoder 4 is connected to a current value counter 13 via a waveform shaping and direction determining circuit 6.
本実施例では、サーボ制御はコンピュータ1内でのディ
ジタル処理により実現するディジタルサーボを構成して
いる。In this embodiment, the servo control constitutes a digital servo realized by digital processing within the computer 1.
第1図はその処理により実現される機能で示したサーボ
制御装置のブロック図である。FIG. 1 is a block diagram of a servo control device showing the functions realized by the processing.
パルスエンコーダ4からの信号により加減される現在値
カウンタ13から読込まれる現在位置フィードバック値
Py口は、目標値と付き合わされ、位置偏差ε2が計算
され、RAM17に記憶される。その位置偏差ε、が増
幅手段21によりに8倍され、速度指令■c11.が算
出される。一方、パルスエンコーダ4からの現在位置フ
ィードバック値p vm諷は微分手段25により微分演
算され、速度フィードバック値VyBが算出される。速
度指令vcIIDと速度フィードバック値■口、が付き
合わされて速度偏差ε、が計算され、増幅手段22によ
りに!倍されて電流指令I agoが算出される。電流
指令I e++aはA/D変換器15を通じ増幅手段2
4を介して読取られた電流フィードバック値■、□と付
き合わされ、電流偏差ε!が算出されRAM17に記憶
される。その電流偏差ε1が増幅手段23によりに3倍
され、D/A変換器14を介して電流アンプ2に送られ
、サーボモータ3が駆動される。The current position feedback value Py read from the current value counter 13, which is adjusted by the signal from the pulse encoder 4, is matched with the target value, and the position deviation ε2 is calculated and stored in the RAM 17. The position deviation ε is multiplied by 8 by the amplifying means 21, and the speed command ■c11. is calculated. On the other hand, the current position feedback value pvm from the pulse encoder 4 is differentiated by the differentiator 25, and the velocity feedback value VyB is calculated. The speed command vcIID and the speed feedback value ■ are combined to calculate the speed deviation ε, and the amplification means 22 calculates the speed deviation ε! The current command Iago is calculated by multiplying the current command Iago. The current command I e++a is passed through the A/D converter 15 to the amplification means 2.
The current deviation ε! is combined with the current feedback values ■, □ read through 4. is calculated and stored in the RAM 17. The current deviation ε1 is multiplied by three by the amplifying means 23 and sent to the current amplifier 2 via the D/A converter 14, and the servo motor 3 is driven.
サーボ制御システムは、上記の様に、位置ループ、速度
ループ、電流ループの3つのフィードバックループによ
り構成されている。より下位のフィードバックループは
より高い応答性を要求されるため、第3図に示す様に、
たとえば電流ループはtaps、速度ループはその数倍
のt tlls、位置ループはさらにその数倍のt 3
11Bの時間間隔で同期をとってデータのサンプリング
が行われ、それぞれのフィードバックルーズの処理が行
われる。As mentioned above, the servo control system is composed of three feedback loops: a position loop, a velocity loop, and a current loop. Since lower level feedback loops require higher responsiveness, as shown in Figure 3,
For example, the current loop is taps, the velocity loop is several times that, tlls, and the position loop is several times that, t3.
Data sampling is performed synchronously at time intervals of 11B, and respective feedback loose processing is performed.
そして、各処理時において、位置偏差ε、、速度フィー
ドバック値■2□又は電流フィードバック値■2..が
所定しきい値を超過した場合は、異常時停止手段26に
よりモータ3の駆動を停止し、制御動作を停止するよう
にしている。In each process, position deviation ε, speed feedback value ■2□, or current feedback value ■2. .. When exceeds a predetermined threshold value, the abnormality stop means 26 stops driving the motor 3 and stops the control operation.
本実施例では、上記の処理に加え位置偏差ε、。In this embodiment, in addition to the above processing, the positional deviation ε,
速度指令V(11101速度フィードバック値Vym*
+電流指令工。l、電流フィードバック値I21.の各
位をバックアップRAM 181−記憶する処理が各記
憶手段31〜35により行われる。この記憶処理は、上
記t1μs、tlps及びt、■3の時間間隔毎のサン
プリング時間毎にそれぞれ行われる。バックアップRA
M18には、各データを所定回数分、たとえば、t 5
118の間にサンプリングされたデータを記憶できる領
域がメモリバッファとして設定されている。Speed command V (11101 Speed feedback value Vym*
+ Current control work. l, current feedback value I21. The storage means 31 to 35 perform a process of storing the data in the backup RAM 181. This storage process is performed at each sampling time for each time interval of t1μs, tlps, and t, (3). Backup RA
In M18, each data is stored a predetermined number of times, for example, t 5
An area that can store data sampled during 118 is set as a memory buffer.
作動について説明する。正常運転時は、通常のデジタル
サーボの処理が実行され、サーボモータ3が3つのフィ
ードバックループによるクローズトループにより制御さ
れる。このとき、位置偏差ε□速度指令V6N。、速度
フィードバック値VFIに。The operation will be explained. During normal operation, normal digital servo processing is executed and the servo motor 3 is controlled in a closed loop with three feedback loops. At this time, position deviation ε□ speed command V6N. , to the velocity feedback value VFI.
電流指令I aw。及び電流フィードバック値■2.1
の各位は、それぞれのサンプリング時間毎に、バックア
ツプRAM18内のメモリバッファに記憶され、最新の
値により次々に更新されていく。Current command I aw. and current feedback value■2.1
are stored in a memory buffer in the backup RAM 18 at each sampling time, and are successively updated with the latest values.
何らかの異常が異常時停止手段26により検出され、動
作が停止した場合は、その直前t 311gの間にサン
プリングされた上記の各データε2.V6NO+ VF
llt+ I CNl1+ I FIKがバックアツ
プRAM18内に保存され残される。従ってCPU11
によりこれらのデータを読出すことにより、異常停止直
前のサーボの挙動を知ることができる。When some abnormality is detected by the abnormality stop means 26 and the operation is stopped, each of the above data ε2. V6NO+ VF
llt+I CNl1+I FIK is saved and left in the backup RAM 18. Therefore, CPU11
By reading these data, it is possible to know the behavior of the servo immediately before the abnormal stop.
たとえば、機械系に喰い込み等の異常が生じ、それを起
因としてサーボ異常となった場合は、第4図に示す様に
、まず位置に関するデータ(本実施例では位置偏差ε、
)が異常な値を示し、次いで、速度に関するデータ(速
度フィードバック値Vrag)電流に関するデータ(電
流フィードバック値I PBK>に次々に波及していく
、一方、速度ループに何らかの異常が生じ、それを起因
としてサーボ異常となった場合は、第5図に示す様に、
まず、速度に関するデータが異常な値を示し、次いで、
電流に関するデータ、位置に関するデータへと次々に波
及していく。For example, if an abnormality such as biting occurs in the mechanical system, and this causes a servo abnormality, first data regarding the position (in this example, the position deviation ε,
) shows an abnormal value, and then the data related to speed (speed feedback value Vrag) and the data related to current (current feedback value IPBK> If a servo error occurs, as shown in Figure 5,
First, the speed data shows abnormal values, then
This spreads one after another to data related to current and position.
従って、停止直前の各データが異常な値を示すタイミン
グを調べることにより、サーボ異常の真の原因を容易に
調査することができる。Therefore, by checking the timing at which each data shows an abnormal value immediately before stopping, the true cause of the servo abnormality can be easily investigated.
「発明の効果」
本発明は、以上説明した様に構成されサーボ制御中の各
種データをバックアップメモリに記憶する手段を備える
ものであるから、不具合発生時の起因となった異常原因
を容易に調べることができ、平均修理時間(MTTR)
を極めて短くすることができるという効果がある。"Effects of the Invention" Since the present invention is configured as described above and is equipped with a means for storing various data during servo control in a backup memory, it is possible to easily investigate the cause of the abnormality when a malfunction occurs. Mean time to repair (MTTR)
This has the effect of making it extremely short.
図面は本発明の実施例を示し、第1図はサーボ制御装置
の構成を示すブロック図、第2図はハードウェア構成を
示すブロック図、第3図は作動を示すタイミング図、第
4図及び第5図は異常発生時の動作を示すタイミング図
である。
123.コンピュータ、 200.電流アンプ11.サ
ーボモータ、 411.パルスエンコーダ、51.、電
流検出器、 7 、、、CRTデイスプレィ装3゜
置(表示手段)、
811.キーボード(表示指令手段)
12、、、メモリ、
1 7 、、、RAM。
18、、、バ
第
図
ツクアップRAM(バックアップメモリ)。
第
図
第
図The drawings show embodiments of the present invention; FIG. 1 is a block diagram showing the configuration of a servo control device, FIG. 2 is a block diagram showing the hardware configuration, FIG. 3 is a timing diagram showing the operation, and FIGS. FIG. 5 is a timing diagram showing the operation when an abnormality occurs. 123. computer, 200. Current amplifier 11. Servo motor, 411. Pulse encoder, 51. , current detector, 7., CRT display device 3° position (display means), 811. Keyboard (display command means) 12, Memory, 17, RAM. 18. Figure 18: Backup RAM (backup memory). Figure Figure
Claims (1)
クループを有し、位置指令に対する追随誤差を示す位置
偏差の過大、速度の過大、または電流の過大等を検出し
て動作を停止させる異常時停止手段を有するサーボ制御
装置において、前記各フィードバックループの位置偏差
、速度及び電流の各値をそれぞれの所定時間毎にサンプ
リングするサンプリング手段と、 そのサンプリングされた最新の各値をそれぞれ所定回数
分バックアップメモリに記憶する記憶手段と、 その記憶手段に記憶された内容を表示可能な表示手段と
、 前記異常時停止手段により動作が停止された後前記表示
手段に前記バックアップメモリの内容を表示させる指令
を出力する表示指令手段と、を備えることを特徴とする
サーボ制御装置。[Claims] It has each feedback loop of a position loop, a speed loop, and a current loop, and stops the operation by detecting an excessive position deviation, excessive speed, or excessive current, etc., which indicates a tracking error with respect to a position command. In the servo control device, the servo control device has a means for stopping at the time of an abnormality, and a sampling means for sampling each value of the position deviation, speed, and current of each of the feedback loops at each predetermined time, and a sampling means for sampling each of the values of the position deviation, speed, and current of each of the feedback loops at predetermined time intervals, and each of the latest sampled values. storage means for storing the number of times in a backup memory; display means capable of displaying the contents stored in the storage means; and display means for displaying the contents of the backup memory on the display means after the operation is stopped by the abnormality stopping means. A servo control device comprising: display command means for outputting a command to
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1011516A JPH02193584A (en) | 1989-01-19 | 1989-01-19 | Servo controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1011516A JPH02193584A (en) | 1989-01-19 | 1989-01-19 | Servo controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02193584A true JPH02193584A (en) | 1990-07-31 |
Family
ID=11780166
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1011516A Pending JPH02193584A (en) | 1989-01-19 | 1989-01-19 | Servo controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02193584A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013001250A (en) * | 2011-06-16 | 2013-01-07 | Nippon Signal Co Ltd:The | Crossing gate |
-
1989
- 1989-01-19 JP JP1011516A patent/JPH02193584A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013001250A (en) * | 2011-06-16 | 2013-01-07 | Nippon Signal Co Ltd:The | Crossing gate |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR960005985B1 (en) | Collision detection method of machine operating part driven by servo motor | |
US4859920A (en) | Interface system for servo controller | |
JPH02193584A (en) | Servo controller | |
JPS5949145B2 (en) | Machine tool failure detection and monitoring methods | |
JP3202456B2 (en) | Control device for hand mechanism | |
JP3268705B2 (en) | Robot home search method | |
KR920019493A (en) | Position control device of robot system and its control method | |
JP3092420B2 (en) | Robot interference detection method | |
JP2897030B2 (en) | Servo control device | |
JP4492338B2 (en) | Abnormality detection device for power measurement system | |
JPH0584681A (en) | Method for detecting collision of robot arm against foreign matter | |
JPS63250710A (en) | System controller | |
JPH10309683A (en) | Method for analyzing error of robot and robot | |
JPH0750409B2 (en) | Robot controller | |
JPS63102892A (en) | Uncontrolled movement preventive method of robot | |
JPH01185185A (en) | Managing apparatus for motor controller | |
JPS6071183A (en) | Method of detecting contact point of work gripping mechanism | |
JPS61147306A (en) | Safety device of robot | |
JP3329184B2 (en) | Load state estimation device | |
JPS5810211A (en) | position control device | |
JPS60101602A (en) | Control signal monitoring device | |
JPS60173611A (en) | Information monitor method of positioner for robot | |
JPS60191987A (en) | Detector for abnormality of controller for industrial equipment such as crane | |
JPS5877488A (en) | Preventive device for uncontrolled movement of industrial robot | |
JPS60117305A (en) | Controller of servomechanism |