JPH0331912A - Servo controller - Google Patents
Servo controllerInfo
- Publication number
- JPH0331912A JPH0331912A JP16532289A JP16532289A JPH0331912A JP H0331912 A JPH0331912 A JP H0331912A JP 16532289 A JP16532289 A JP 16532289A JP 16532289 A JP16532289 A JP 16532289A JP H0331912 A JPH0331912 A JP H0331912A
- Authority
- JP
- Japan
- Prior art keywords
- counter
- pulse
- position detector
- latch
- value
- 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
- 230000005856 abnormality Effects 0.000 claims abstract description 15
- 238000001514 detection method Methods 0.000 claims abstract description 11
- 230000002159 abnormal effect Effects 0.000 claims description 2
- 230000007257 malfunction Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000006698 induction Effects 0.000 description 2
- 230000000422 nocturnal effect Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
この発明は、位置制御系の異常を検出し、誤動作を防止
するサーボ制御装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a servo control device that detects abnormalities in a position control system and prevents malfunctions.
〔従来の技術]
位置を制御するサーボ制御装置において、従来は例えば
第2図に示すようなサーボループが実施されている。図
において、(1)は数値制御装置(図示せず)から位置
制御装置へ指令された指令を解読して速度、移動パルス
量等を求める指令解読回路、(2〉は指令解読回路(1
)の出力に従って所定の指令パルスを生成するパルス分
配回路、(3)は指令パルスと位置フィードバックとの
差がOになるように制御する位置制御回路、(4)は位
置制御回路(3〉からの速度指令に従って速度を制御す
る速度制御回路、(5)はサーボモータ、(6)はサー
ボモータ(5)の位置検出器、(7)は位置検出器(6
)からのフィードバックパルスの正及び負を計数するア
ップダウンカウンタの機能を有するフリーランカウンタ
、(7a)はフリーランカウンタ(7)の今回の出力値
と前回の出力値との差分を求める減算回路、(8)はフ
リーランカウンタ(7〉と同様のアップダウン形カウン
タであるが、位置検出器(6)から1回転に1つの基準
位置において出力される基準パルスである2相パルスに
よりプリセットされるサイクルカウンタである。[Prior Art] In a servo control device that controls position, a servo loop as shown in FIG. 2, for example, has conventionally been implemented. In the figure, (1) is a command decoding circuit that decodes a command from a numerical control device (not shown) to a position control device to determine speed, movement pulse amount, etc., (2> is a command decoding circuit (1)
), (3) is a position control circuit that controls the difference between the command pulse and position feedback to be O, and (4) is a position control circuit (3) that generates a predetermined command pulse according to the output of (5) is the servo motor, (6) is the position detector of the servo motor (5), (7) is the position detector (6)
) is a free-run counter with an up-down counter function that counts the positive and negative feedback pulses from the free-run counter (7), and (7a) is a subtraction circuit that calculates the difference between the current output value and the previous output value of the free-run counter (7). , (8) is an up-down counter similar to the free run counter (7), but it is preset by a two-phase pulse that is a reference pulse output from the position detector (6) at one reference position per rotation. This is a cycle counter.
次に、このサーボループの動作について説明する。位置
制御回路(3)への指令は指令解読回路(1)により解
読され、速度及び移動パルス量等が求められる。この速
度、移動パルス量に基づき1パルス分配回路(2)が所
定の単位時間当りの移動パルス量を位置指令として出力
する。この位置指令と後述する位置フィードバックとの
差分が0となるように位置制御回路(3)が速度指令を
出力し、速度制御回路(4)を介してサーボモータ(5
)を駆動する。位置検出器(6)はサーボモータと結合
されており、サーボモータ(5)の回転角度と回転方向
に応じたフィードバックパルスを出力する。このフィー
ドバックパルスをフリーランカウンタ(7〉が計数し、
このフリーランカウンタ(7)の前回値との、差分が減
算回路(7a)によってサーボモータフ5)の単位時間
当りの移動ノくルス量として位置制御回路(3)へフィ
ードバックされる。またサイクルカウンタ(8)はフリ
ーランカウンタ(7)と同トlに位置検出器(6〉から
のフィートノ<・ソクノくルスを計数するが、位置検出
器(6)よりのZ相ノくルスによってプリセットされ、
電源投入時に位置制御回路(3)が座標系を設定するた
めに行うリファレンス点復帰や、サーボモータ(5)が
交流誘導電動機の場合の磁極位置を検出して、その出力
がノくルス分配回路(2〉にフィードパ・ソクする。Next, the operation of this servo loop will be explained. The command to the position control circuit (3) is decoded by the command decoding circuit (1), and the speed, movement pulse amount, etc. are determined. Based on this speed and the amount of movement pulses, the one-pulse distribution circuit (2) outputs the amount of movement pulses per predetermined unit time as a position command. The position control circuit (3) outputs a speed command so that the difference between this position command and position feedback described later becomes 0, and the servo motor (5)
) to drive. The position detector (6) is coupled to the servo motor and outputs a feedback pulse according to the rotation angle and direction of the servo motor (5). This feedback pulse is counted by a free run counter (7),
The difference from the previous value of the free run counter (7) is fed back to the position control circuit (3) by the subtraction circuit (7a) as the amount of movement pulse per unit time of the servo motor 5). Also, the cycle counter (8) counts the foot pulses from the position detector (6) at the same time as the free run counter (7), but the Z-phase pulses from the position detector (6) preset by
When the power is turned on, the position control circuit (3) performs reference point return to set the coordinate system, and detects the magnetic pole position when the servo motor (5) is an AC induction motor, and the output is sent to the Norculus distribution circuit. (Feed Pa Sok to 2).
[発明が解決しようとする課題]
従来の位置制御系は以上のように構成されているので、
位置検出器(6)からのフィートノく・ノクノくルスが
誤計数されると、例えばNC加工機における指令位置へ
の正しい位置決めが行われなくなるという問題があった
。[Problem to be solved by the invention] Since the conventional position control system is configured as described above,
There is a problem in that if the foot nozzles and nocturnals from the position detector (6) are erroneously counted, correct positioning to a commanded position in an NC processing machine cannot be performed, for example.
この発明は上記のような課題を解消するためになされた
もので、位置検出器からのフィートノ〈・ソクバルスに
誤計数があった場合、その時点て検出異常を検出して出
力し、誤動作を未然に防止することができるサーボ制御
装置を得ること目的としている。This invention was made in order to solve the above-mentioned problem, and when there is a miscount in the foot count from the position detector, the detection abnormality is detected and output at that point, and the malfunction can be prevented. The purpose is to obtain a servo control device that can prevent this.
[課題を解決するための手段]
この発明に係るサーボ制御装置は、フリーランカウンタ
位置検出器の基準パルスでう・ソチするラッチカウンタ
を設置し、基準パルスの入力ごとにその前回値との差の
絶対値をO値あるいは位置検出器1回転当りのパルス数
と比較し、両者の差が所定の許容範囲を超えると検出異
常信号出力する異常検出回路を設けるようにしたもので
ある。[Means for Solving the Problems] A servo control device according to the present invention is provided with a latch counter that deceives or counters with a reference pulse of a free run counter position detector, and detects the difference from the previous value every time the reference pulse is input. An abnormality detection circuit is provided which compares the absolute value of 0 with the O value or the number of pulses per rotation of the position detector, and outputs a detected abnormality signal when the difference between the two exceeds a predetermined tolerance range.
[作 用]
この発明における異常検出回路は、ラッチカウンタの前
回値との差分の絶対値と所定値との比較V、lI定を基
準パルス発信のたびごとに実行するので、設計数などの
検出部誤動作が直ちに検出される。[Function] The abnormality detection circuit according to the present invention compares the absolute value of the difference from the previous value of the latch counter with a predetermined value and determines V and lI every time the reference pulse is emitted. malfunctions are detected immediately.
[実施例]
第1図はこの発明の一実施例を示す制御ループ図であり
、(1)〜(8)は上記従来装置と同じ部分である。(
9)は位置検出器(6)から出力されるZ相パルスによ
ってフリーランカウンタ(7〉をラッチするラッチカウ
ンタ、(9a)は今回の値と前回値との差分を出力する
減算回路、(lO〉はラッチカウンタ(9)の前回値と
の差分の絶対値と、位置検出器(6)の1回転当りのパ
ルス数との差が所定の許容範囲内にあるか否かを判別し
、これが所定の許容範囲を超えた場合に検出異常信号を
出力する異常検出回路である。[Embodiment] FIG. 1 is a control loop diagram showing an embodiment of the present invention, and (1) to (8) are the same parts as the conventional device described above. (
9) is a latch counter that latches the free run counter (7) by the Z-phase pulse output from the position detector (6), (9a) is a subtraction circuit that outputs the difference between the current value and the previous value; > determines whether the difference between the absolute value of the difference from the previous value of the latch counter (9) and the number of pulses per rotation of the position detector (6) is within a predetermined tolerance range. This is an abnormality detection circuit that outputs a detected abnormality signal when a predetermined allowable range is exceeded.
次に動作について説明する。う・ソチカウンタ(9)は
位置検出器(6)から出力されるZt目ノ<ルス(基準
パルス)によりZ相パルス入力時のフリカウンタ(7)
の値をラッチし、減算回路(9a) Iこおいて今回の
値と前回の値との差分をう・ノチカウンタ(9)増分パ
ルスとすると、このう・ソチカウンタ(9)増分パルス
の絶対値はサーボモータ(5)が−定方向に回転してい
る場合で、かつ新たなZ柑ノくルスが人力されたときに
は位置検出器(6)の1回転当りのパルス数と等しいこ
とは明らかである。Next, the operation will be explained. U-Sochi counter (9) uses the Zt pulse (reference pulse) output from the position detector (6) to counter (7) when the Z-phase pulse is input.
The value of is latched and the difference between the current value and the previous value is set as the increment pulse of the counter (9) in the subtraction circuit (9a).The absolute value of the increment pulse of the counter (9) is It is clear that when the servo motor (5) is rotating in the - constant direction and a new Z control is manually applied, the number of pulses per revolution of the position detector (6) is equal to the number of pulses per rotation of the position detector (6). .
また途中で、サーボモータが逆方向に回転し元1こ戻っ
た場合には、増分ノくルスは0となる。そこで異常検出
回路(10)は、ラッチカウンタ(9)の増分パルス量
の絶対値が位置検出器(6)1回転当りのパルス数に対
して、所定の許容差範囲以内にあるか否かの判別を行い
、もしこの差分が許容範囲を超えた場合にはパルス分配
回路(2)へ検出異常の信号の発信を行う。これによっ
て、ノ<ルス分配を停止してその旨のメツセージを位置
制御回路(3)の表示器に表示するなどの措置を行うこ
とが可能である。Further, if the servo motor rotates in the opposite direction and returns to its original position midway, the incremental nox becomes 0. Therefore, the abnormality detection circuit (10) detects whether the absolute value of the incremental pulse amount of the latch counter (9) is within a predetermined tolerance range with respect to the number of pulses per rotation of the position detector (6). A determination is made, and if this difference exceeds the allowable range, a detection abnormality signal is sent to the pulse distribution circuit (2). This makes it possible to take measures such as stopping the pulse distribution and displaying a message to that effect on the display of the position control circuit (3).
なお、上記の実施例では位置制御系におけるフリーラン
カウンタ〈7)の誤計数についての例を示したが、この
発明はリファレンス点復帰、又はサーボモータ(5)が
交流誘導電動機の場合の磁極位置検出に用いるサイクル
カウンタ(8)の誤計数検知、あるいは速度制御系にお
けるフリーランカウンタの誤計数検知についても利用す
ることができる。In addition, in the above embodiment, an example was shown regarding the erroneous count of the free run counter (7) in the position control system, but this invention is also applicable to the reference point return or the magnetic pole position when the servo motor (5) is an AC induction motor. It can also be used to detect an erroneous count of the cycle counter (8) used for detection, or to detect an erroneous count of a free run counter in a speed control system.
[発明の効果コ
以上のように、この発明によれば位置制御系における制
御対象であるサーボモータの位置検出器からのフィード
バックパルスの誤計数を、上記位置検出器よりの基準パ
ルスによってラッチするラッチカウンタと、この出力に
基づいて誤計数の許容値を判断する異常検出回路とを設
けることによって、上記サーボモータの状態の異常時に
直ちに対応できる制御系にしたので、信頼性が向上して
高精度のサーボ制御装置が得られる。[Effects of the Invention] As described above, according to the present invention, there is provided a latch that latches the erroneous counting of feedback pulses from the position detector of the servo motor that is the controlled object in the position control system using the reference pulse from the position detector. By providing a counter and an abnormality detection circuit that determines the allowable value for miscounting based on this output, we have created a control system that can immediately respond to abnormal conditions in the servo motor, resulting in improved reliability and high precision. A servo control device is obtained.
第1図はこの発明の一実施例によるサーボ制御装置の構
成を示すブロック図、第2図は従来のサーボ制御装置の
構成例を示すブロック図である。
図において、(5〉はサーボモータ、(6)は位置検出
器、(7)はフリーランカウンタ(アップダウンカウン
タ)、(9)はラッチカウンタ、(9a〉は成算回路、
(10)は異常検出回路である。
なお、図中同一符号は同−又は相当部分を示す。FIG. 1 is a block diagram showing the configuration of a servo control device according to an embodiment of the present invention, and FIG. 2 is a block diagram showing an example of the configuration of a conventional servo control device. In the figure, (5> is a servo motor, (6) is a position detector, (7) is a free run counter (up/down counter), (9) is a latch counter, (9a> is a compensator circuit,
(10) is an abnormality detection circuit. Note that the same reference numerals in the figures indicate the same or equivalent parts.
Claims (1)
を計数するアップダウンカウンタと、上記サーボモータ
の1回転ごとに位置検出器より出力する基準パルスによ
って上記アップダウンカウンタをラッチするラッチカウ
ンタと、このラッチカウンタの前回値との差分を演算し
、この差分の絶対値と上記位置検出器からの基準パルス
数とを比較して所定の許容値を超えたときは異常信号を
出力する異常検出回路とを具備したことを特徴とするサ
ーボ制御装置。an up/down counter that counts feedback pulses from a position detector of the servo motor; a latch counter that latches the up/down counter using a reference pulse output from the position detector for each rotation of the servo motor; It is equipped with an abnormality detection circuit that calculates the difference from the previous value, compares the absolute value of this difference with the reference pulse number from the position detector, and outputs an abnormal signal when a predetermined tolerance value is exceeded. A servo control device characterized by:
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16532289A JPH0331912A (en) | 1989-06-29 | 1989-06-29 | Servo controller |
US07/535,681 US5077507A (en) | 1989-06-29 | 1990-06-11 | Servo control apparatus |
DE4020624A DE4020624C2 (en) | 1989-06-29 | 1990-06-28 | Servo control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16532289A JPH0331912A (en) | 1989-06-29 | 1989-06-29 | Servo controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0331912A true JPH0331912A (en) | 1991-02-12 |
Family
ID=15810126
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP16532289A Pending JPH0331912A (en) | 1989-06-29 | 1989-06-29 | Servo controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0331912A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07110715A (en) * | 1991-04-15 | 1995-04-25 | Samsung Electron Co Ltd | Apparatus and method for position control of robot system |
-
1989
- 1989-06-29 JP JP16532289A patent/JPH0331912A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07110715A (en) * | 1991-04-15 | 1995-04-25 | Samsung Electron Co Ltd | Apparatus and method for position control of robot system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5650779A (en) | Position encoder | |
US4101817A (en) | Position-correctable numerical control system | |
US5077507A (en) | Servo control apparatus | |
US4757458A (en) | Zero point adjusting robot control method | |
JP3370845B2 (en) | Absolute encoder | |
EP0128959B1 (en) | Numerical control apparatus | |
JPH0331912A (en) | Servo controller | |
KR0168068B1 (en) | Positioning information reader & reading method | |
US20230042139A1 (en) | System and Method for Monitoring a Failsafe Function of Sensors in a Motor | |
JPH01320467A (en) | Measurement of revolutions for machine | |
US4266170A (en) | Safety arrangement for NC systems | |
US3151282A (en) | Extended range positioning control system | |
JPS5932801B2 (en) | Numerical control method with adjustable position | |
JP3265811B2 (en) | Servo motor control device | |
JP2002145552A (en) | Safety device for elevator | |
JPS63243703A (en) | Count-check type detector for angle of rotation | |
JPH0371213A (en) | Servo controller | |
JP3480860B2 (en) | Disturbance tracking type positioning control method | |
KR890003637B1 (en) | Errormovement-prevention of nc | |
KR930007778B1 (en) | Zero point setting device of robot | |
JPS63243702A (en) | Count-check type detector for angle of rotation | |
JP2514009B2 (en) | Monitoring device for AC servo motor | |
JPS61209313A (en) | Apparatus for detecting joint angle of robot | |
JPH07111357B2 (en) | Encoder abnormality detection device | |
JPH01268498A (en) | Controller for stepping motor |