JPS60231203A - Automatic offset adjusting method of digital servo system - Google Patents

Automatic offset adjusting method of digital servo system

Info

Publication number
JPS60231203A
JPS60231203A JP8694184A JP8694184A JPS60231203A JP S60231203 A JPS60231203 A JP S60231203A JP 8694184 A JP8694184 A JP 8694184A JP 8694184 A JP8694184 A JP 8694184A JP S60231203 A JPS60231203 A JP S60231203A
Authority
JP
Japan
Prior art keywords
deviation
offset
vibration
frequency
converter
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
JP8694184A
Other languages
Japanese (ja)
Other versions
JPH0434763B2 (en
Inventor
Shigeru Futami
茂 二見
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Manufacturing 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 Yaskawa Electric Manufacturing Co Ltd filed Critical Yaskawa Electric Manufacturing Co Ltd
Priority to JP8694184A priority Critical patent/JPS60231203A/en
Publication of JPS60231203A publication Critical patent/JPS60231203A/en
Publication of JPH0434763B2 publication Critical patent/JPH0434763B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To improve the accuracy of adjustment by detecting that generated oscillation is the one generated when a positional command is ''0'' and a servo is in the steady state, counting up the frequency of the vibration and adjusting offset voltage so that counted frequency is maximized. CONSTITUTION:Deviation parallel data 6.10 and the information of the least signified bit 6.2 are obtained from deviation counters 6.1. The information of the least significant bit 6.2 is converted into a voltage by an F/V converter 6.3 and then converted into a digital value 6.5 by an A/D converter and the digital value 6.5 is supplied to a microcomputer 6.6. The microcomputer 6.6 reads the deviation parallel data 6.10 and the digital value 6.5 and automatically adjusts an offset digitanl signal 6.7 so that the vibration of the least significant bit of the deviation is made the maximum frequency to output the adjusted value as an analog offset voltage through a D/A converter 6.8.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、サーボロック時(位置入力が一定で定常状態
にあること)に、位置検出器の1ビツトに相当する幅の
振動を行なうディジタルサーボ系の自動オフセット調整
法に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention is a digital device that vibrates with a width equivalent to one bit of a position detector when the servo is locked (position input is constant and in a steady state). This paper relates to an automatic offset adjustment method for servo systems.

〔従来の技術〕[Conventional technology]

従来、ディジタルサーボ系のオフセット調整は偏差カウ
ンタが所望の値になることだけで行なわれていた。この
場合、位置検出器の1ビツト分だけ任意性があるが、こ
のことに関しては従来考慮されていなかった。したがっ
て、オフセット調整がマージンが低いところに設定され
た場合アナログ系のドリフトによりオフセント調整がず
れてしまう現象が起こっていた。
Conventionally, offset adjustment in a digital servo system has been performed only when the deviation counter reaches a desired value. In this case, there is arbitrariness by one bit of the position detector, but this has not been considered in the past. Therefore, when the offset adjustment is set to a low margin, a phenomenon occurs in which the offset adjustment is deviated due to drift in the analog system.

このようなサーボ系はごく一般的なものであり、エラー
レジスタがゼロの所で不感帯を設けた場合には振動は起
こらない。
Such a servo system is very common, and if a dead zone is provided where the error register is zero, no vibration will occur.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

本発明は従来技術の欠点であるドリフトによりオフセッ
ト8周整がずれることをなくすために、オフセット調整
のマージンが最大の所(1ビツトの振動が最大周波数と
なるところ)に自動的にオフセット調整を行なおうとす
るものである。
The present invention automatically adjusts the offset at the point where the offset adjustment margin is maximum (where one bit of vibration has the maximum frequency) in order to eliminate the shift in the eight-round offset due to drift, which is a drawback of the conventional technology. That's what I'm trying to do.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、発生している振動が、位置指令がOでサーボ
が定常状態における振動であることを検出し、さらにこ
の振動の周波数を計数し、計数した周波数が最大となる
ようにオフセット電圧を調整するようにしたものであり
、以下具体的に説明する。
The present invention detects that the generated vibration is vibration when the position command is O and the servo is in a steady state, then counts the frequency of this vibration, and applies an offset voltage so that the counted frequency becomes the maximum. This will be explained in detail below.

第1図に通常のディジタルサーボ系の構成を示す。図中
(1,1)は指令パルス、(1,3)はフィードバック
パルスで、(1,2)はこの両パルスを加減算する偏差
カウンタである。(1,4)は偏差は偏差カウンタのデ
ィジタル出力、(1,5)はD/A変換器で、位置偏差
に比例したアナログ信号(1,6)が速度指令として出
力される。(1,7)はD/A変換器(1,5)あるい
はの速度ループコントローラ(1,9)の入力オフセッ
トを合わせたオフセント信号で、等価的に速度指令に加
算される。速度ループコントローラ(1,9)はパワ一
部を含めたモータの駆動回路となっている。 (1,1
0)はモータ、(1,11)はTG(タコメータゼネレ
ータ) 、(1,12)はPG(パルスゼネレータ)で
ある。(1,13)は速度のフィードバンク信号、(1
,3)は位置のフィードバンク信号である。速度信号を
パルスゼネレータから演算する場合にはTG(1,11
)は不要で、速度フィードバック信号(1,13)はな
くなり、パルスゼネレータ(1,12)からF/V変換
器を介して(1,13)の速度フィードバック信号とな
る。
FIG. 1 shows the configuration of a typical digital servo system. In the figure, (1, 1) is a command pulse, (1, 3) is a feedback pulse, and (1, 2) is a deviation counter that adds and subtracts these two pulses. The deviation is the digital output of a deviation counter (1, 4), and the D/A converter (1, 5) outputs an analog signal (1, 6) proportional to the position deviation as a speed command. (1, 7) are offset signals that are the sum of the input offsets of the D/A converters (1, 5) or the speed loop controllers (1, 9), and are equivalently added to the speed command. The speed loop controller (1, 9) serves as a motor drive circuit including a part of the power. (1,1
0) is a motor, (1, 11) is a TG (tachometer generator), and (1, 12) is a PG (pulse generator). (1, 13) is the speed feedbank signal, (1
, 3) are position feedbank signals. When calculating the speed signal from the pulse generator, TG (1, 11
) is unnecessary, and the velocity feedback signal (1, 13) disappears, becoming the velocity feedback signal (1, 13) from the pulse generator (1, 12) via the F/V converter.

パルスゼネレータの応答波形は第2図に示すようにA相
、B相の二相パルスが用いられるが、各パルスのエツジ
部にはヒステリシスが存在スる。
The response waveform of the pulse generator uses two-phase pulses of A phase and B phase as shown in FIG. 2, but there is hysteresis at the edge of each pulse.

このヒステリシルはパルスゼネレータ用回路のコンパレ
ータのヒステリシスである。通常1パルスの1750〜
1/100程度である。
This hysteresis is the hysteresis of the comparator in the pulse generator circuit. Usually 1750~ for 1 pulse
It is about 1/100.

速度系(速度ループコントローラ(1,9) 、モータ
(1,10)、TG(1,11)、P G (1,12
)、速度フィードバック(l(1,13)で構成される
システム)の応答を2次系と近似すると、1パルスの振
動のモデル(0←→1の振動)は第3図のようになる。
Speed system (speed loop controller (1, 9), motor (1, 10), TG (1, 11), PG (1, 12)
), and the response of velocity feedback (a system composed of l(1,13)) is approximated as a quadratic system, the model of one pulse vibration (0←→1 vibration) becomes as shown in Fig. 3.

■、はオフセント(0<vo<1)電圧であり、1ビツ
トの偏差に対する速度指令信号はlに正規化している。
(2) is an offset voltage (0<vo<1), and the speed command signal for a 1-bit deviation is normalized to l.

位置が0のときv01位置が1のとき位置偏差は−1と
なり一1+V0なる速度指令が発生される。
When the position is 0, v01; when the position is 1, the positional deviation is -1, and a speed command of -1+V0 is generated.

Voの値に依って、1パルスの振動波形は、第4図のよ
うに様々な形となる。第4図ta+はV。−1の場合、
第4図(b)はVo #0.5 (7)場合、第4図(
01はV。#0の場合である。
Depending on the value of Vo, the vibration waveform of one pulse has various shapes as shown in FIG. Figure 4 ta+ is V. -1,
Figure 4(b) shows the case of Vo #0.5 (7).
01 is V. This is the case of #0.

voが−1<VO<1の場合、振動は04+−1の間の
振動となる(第5図)。vo=0のとき第4図(al 
(7)ように、vo =o、sのとき第5図(b)のよ
うに、■。#−1のとき第5図(C)のようになる。
If vo is -1<VO<1, the vibration will be between 04+-1 (FIG. 5). When vo=0, Figure 4 (al
(7) When vo = o, s, as shown in Fig. 5(b), ■. When #-1, the result is as shown in FIG. 5(C).

D/A変換器あるいは速度ループコントローラの入力ア
ンプのドリフトによりオフセットの値が変化するが、第
4図(alおよび第5図(alの場合には、1■。1を
越すドリフトが加わると、極く小さなドリフトであるに
も拘わらず1++2及びQelの振動に、また第4図(
C1および第5図(C1の場合には1v01 を越す極
小さなドリフトが減じられても−100および一2←→
−1の振動に変化してしまい、丁度1パルス分の位置ず
れを生ずる。第4図山)、第5図山)の条件の時は0.
5のドリフトの余裕があることになり、位置ずれを生じ
ないためのマージンが最も大きいことになる。さらにこ
の時が振動周波数が最大になる。
The offset value changes due to the drift of the input amplifier of the D/A converter or speed loop controller, but in the case of Figure 4 (al) and Figure 5 (al), the value of the offset changes by 1. If a drift exceeding 1 is added, Although the drift is extremely small, the vibrations of 1++2 and Qel and Fig. 4 (
C1 and FIG.
-1 vibration, resulting in a positional deviation of exactly one pulse. When the conditions are 4) and 5), 0.
This means that there is a margin for drift of 5, which means that the margin for preventing positional deviation is the largest. Furthermore, the vibration frequency is at its maximum at this time.

以上の説明によりサーボロック時の振動周波数が最も大
きいときドリフトによる位置ずれをしないマージンが最
も大きいことになる。
According to the above explanation, when the vibration frequency at the time of servo lock is the highest, the margin for preventing positional deviation due to drift is the largest.

第6図に自動オフセット調整回路の実施例を示す。(6
,1)は偏差カウンタで、これから偏差パラレルデータ
(6,10)および最下位ビット(6,2)の情報が取
られる。(6,3)はF/Vコンバータで、偏差カウン
タ(6,2)の最下位ビットの周波数を電圧に変換す為
。(6,4)はA/D変換器で、偏差カウンタ(6,1
)の最下位ビン) (6,2)の振動の周波数をデジタ
ル量に変換するものである。(6,6)はマイクロコン
ピュータで後で述べるような機能を果たす。
FIG. 6 shows an embodiment of the automatic offset adjustment circuit. (6
, 1) is a deviation counter from which information of deviation parallel data (6, 10) and least significant bit (6, 2) is taken. (6, 3) is an F/V converter, which converts the frequency of the least significant bit of the deviation counter (6, 2) into voltage. (6, 4) is the A/D converter, and the deviation counter (6, 1
) is used to convert the vibration frequency of (6, 2) into a digital quantity. (6, 6) performs the functions described later in the microcomputer.

(6,7)はオフセントのデジタル信号で、D/A変換
器(6,8)によりアナログのオフセント電圧として出
力される。
(6, 7) are offset digital signals, which are output as analog offset voltages by the D/A converter (6, 8).

オフセット自動調整は次のような手順で行なうねれる。Automatic offset adjustment can be performed using the following procedure.

■サーボロック状態とするため指令値入力を固定する。■Fix the command value input to make the servo locked.

■定常状態にするため、2〜3秒待つ。■Wait 2 to 3 seconds to reach a steady state.

■偏差カウンタ(6,1)を、偏差パラレルデータ(6
,10)を通してのマイクロコンピュータ(6,6)に
読み込む ■偏差が希望の値(通常偏差=0)となるようにオフセ
ット電圧を出力する。
■The deviation counter (6, 1) is converted to the deviation parallel data (6, 1).
, 10) into the microcomputer (6, 6). (2) Output the offset voltage so that the deviation becomes the desired value (normal deviation = 0).

0次に述べる方法で偏差の最下位ビットの振動が最大周
波数になるように自動調整する。
0 Automatically adjust the vibration of the least significant bit of the deviation to the maximum frequency using the method described next.

偏差の最下位ビットを自動調整する手順を第7図に示す
FIG. 7 shows the procedure for automatically adjusting the least significant bit of the deviation.

まず、パラメータNを0とする。オフセント値を+Δ(
〉0)だけ変化させてみる。この時の周波数を測定し、
変化させる前より増加した場合にはN=1としてさらに
オフセット値を+Δ変化する。オフセットを変化させた
とき周波数が減少した場合にはNの値を判断し、N=1
なら調整終了となる。N=Oのときオフセットを−Δ(
Δ〉0)だけ変化させる。この時周波数が増加した場合
にはN=1としてさらにオフセットを一Δ変化させる。
First, the parameter N is set to 0. Set the offset value to +Δ(
Try changing only 〉0). Measure the frequency at this time,
If the offset value has increased from before the change, N=1 and the offset value is further changed by +Δ. If the frequency decreases when changing the offset, determine the value of N, and set N=1.
If so, the adjustment is complete. When N=O, set the offset to -Δ(
Δ〉0). At this time, if the frequency increases, N=1 and the offset is further changed by 1 Δ.

オフセントを−Δ変化させたとき周波数が減少したなら
ばNの値を判断し、N=1のとき調整終了、N=0のと
きオフセット調整の最初に戻る。
If the frequency decreases when the offset is changed by -Δ, the value of N is determined, and when N=1, the adjustment ends, and when N=0, the process returns to the beginning of the offset adjustment.

〔応用変形例〕[Application modification example]

■周波数のカウントをデジタル回路やマイクロコンピュ
ータの動作として実現する。
■Realize frequency counting as a digital circuit or microcomputer operation.

■マイクロコンピュータで行なっている機能をデジタル
回路で置き換えること。
■Replacing functions performed by microcomputers with digital circuits.

〔発明の効果〕〔Effect of the invention〕

上述したように本発明によれば、オフセント調整が自動
的に行なえ、さらにドリフトによる位置ずれをしない為
のマージンが最大の点にオフセント値が調整されるため
、従来見逃されて来たディジタルサーボ系の1パルスの
ずれを回避することができ、従来よりも精度の高いデジ
タルサーボ系が実現できるという効果を奏する。
As described above, according to the present invention, offset adjustment can be performed automatically, and the offset value is adjusted to the point with the maximum margin to prevent positional deviation due to drift. This makes it possible to avoid a one-pulse deviation of , and it is possible to realize a digital servo system with higher precision than the conventional one.

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

第1図は電動機制御のディジタルサーボ系の構成を示す
ブロック線図、第2図はパルスゼネレータの応答を示す
説明図、第3図はlパルスの振動のモデルを示すブロッ
ク線図、第4図及び第5図はそれぞれは1パルス振動の
態様を示す波形図、第6図は本発明による自動オフセッ
ト調整回路の構成例を示すブロック線図、第7図はオフ
セット調整のフローチャートである。 (1,1) :指令パルス (1,2) !偏差カウンタ (1,3) :フィードバックパルス (1,4) :偏差信号 (1,5) : D/A変換器 (1,6) :速度指令 (1,7) :オフセント信号 (1,8) :加算器 (1,9) :速度ループコントローラ(1,10) 
:モータ (1,11) :タコメータゼネレータ(1,12) 
:パルスゼネレータ (1,13) :速度フィードパ・ツク信号特許出願人
 株式会社 安川電機製作所第 1 図 第2図 第 3 図 第4図 第5図 第6図 g7図 1+−
Fig. 1 is a block diagram showing the configuration of the digital servo system for motor control, Fig. 2 is an explanatory diagram showing the response of the pulse generator, Fig. 3 is a block diagram showing a model of l-pulse vibration, Fig. 4 and FIG. 5 are waveform diagrams showing aspects of one-pulse vibration, FIG. 6 is a block diagram showing a configuration example of an automatic offset adjustment circuit according to the present invention, and FIG. 7 is a flowchart of offset adjustment. (1, 1): Command pulse (1, 2)! Deviation counter (1, 3): Feedback pulse (1, 4): Deviation signal (1, 5): D/A converter (1, 6): Speed command (1, 7): Offcent signal (1, 8) : Adder (1, 9) : Speed loop controller (1, 10)
: Motor (1, 11) : Tachometer generator (1, 12)
: Pulse generator (1, 13) : Speed feed pulse signal Patent applicant Yaskawa Electric Manufacturing Co., Ltd. Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 6 g7 Figure 1+-

Claims (1)

【特許請求の範囲】 1、位置ループがディジタル処理され、速度ループがア
ナログ処理されるディジタルサーボ系において、 発生している振動が、位置指令が0でサーボが定常状態
における振動であることを検出し、さらにこの振動の周
波数を計数し、計数した周波数が最大となるようにオフ
セット電圧を調整することを特徴とするディジタルサー
ボ系の自動オフセント調整法。
[Claims] 1. In a digital servo system where the position loop is digitally processed and the velocity loop is analog processed, it is detected that the vibrations occurring are vibrations when the position command is 0 and the servo is in a steady state. An automatic offset adjustment method for a digital servo system is characterized in that the frequency of this vibration is further counted and the offset voltage is adjusted so that the counted frequency is maximized.
JP8694184A 1984-04-28 1984-04-28 Automatic offset adjusting method of digital servo system Granted JPS60231203A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8694184A JPS60231203A (en) 1984-04-28 1984-04-28 Automatic offset adjusting method of digital servo system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8694184A JPS60231203A (en) 1984-04-28 1984-04-28 Automatic offset adjusting method of digital servo system

Publications (2)

Publication Number Publication Date
JPS60231203A true JPS60231203A (en) 1985-11-16
JPH0434763B2 JPH0434763B2 (en) 1992-06-09

Family

ID=13900891

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8694184A Granted JPS60231203A (en) 1984-04-28 1984-04-28 Automatic offset adjusting method of digital servo system

Country Status (1)

Country Link
JP (1) JPS60231203A (en)

Also Published As

Publication number Publication date
JPH0434763B2 (en) 1992-06-09

Similar Documents

Publication Publication Date Title
JPH01148100A (en) Position controller
CA1154521A (en) Angular position controller
US4605885A (en) Method of controlling rotation speed of motor
JP2514669B2 (en) Servo motor control method
US4864209A (en) Negative feedback control system
US5194788A (en) Servo circuit
JPS60231203A (en) Automatic offset adjusting method of digital servo system
US4808933A (en) Rotating speed measuring apparatus having a corrector for low and high speeds using angle and frequency transducers
JPH03278108A (en) Follow-up control system between two servo-system
JP3236607B2 (en) Digital servo controller
JPH027112A (en) Offset correction control system
JPS648541B2 (en)
JPH0468410A (en) Servo-controller
JPS61293496A (en) Controller of sewing machine
JPH04127891A (en) Motor drive system
KR920006163B1 (en) Displacement control method
JPS62245311A (en) Servomotor control device
JPH10268939A (en) Dc motor position control circuit and its method
KR900011231Y1 (en) Position control circuit with feedback loop
JPS5963992A (en) Positioning controller for dc motor
JPH0429593A (en) Speed control method for synchronous motor
JPH02285803A (en) Automatic level control circuit
JPS59194205A (en) Controller
JPH02261082A (en) Digital servo device
JPS61187147A (en) Speed servo circuit of capstan motor