Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2804655B2 - Software servo device - Google Patents
[go: Go Back, main page]

JP2804655B2 - Software servo device - Google Patents

Software servo device

Info

Publication number
JP2804655B2
JP2804655B2 JP3286076A JP28607691A JP2804655B2 JP 2804655 B2 JP2804655 B2 JP 2804655B2 JP 3286076 A JP3286076 A JP 3286076A JP 28607691 A JP28607691 A JP 28607691A JP 2804655 B2 JP2804655 B2 JP 2804655B2
Authority
JP
Japan
Prior art keywords
error data
phase error
created
data
servo device
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.)
Expired - Fee Related
Application number
JP3286076A
Other languages
Japanese (ja)
Other versions
JPH05128653A (en
Inventor
潤一郎 田渕
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP3286076A priority Critical patent/JP2804655B2/en
Publication of JPH05128653A publication Critical patent/JPH05128653A/en
Application granted granted Critical
Publication of JP2804655B2 publication Critical patent/JP2804655B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、ソフトウェアサーボ
装置に関し、特にたとえばカメラ一体型8ミリVTRの
キャプスタンモータのような小型モータのサーボシステ
ムに用いられる、ソフトウェアサーボ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a software servo device, and more particularly to a software servo device used for a servo system of a small motor such as a capstan motor of an 8 mm VTR integrated with a camera.

【0002】[0002]

【従来の技術】従来のソフトウェアサーボ装置において
は、FG信号の周期の計測値と理論値との差を逐次加算
することにより、位相エラーデータを作成していた。
2. Description of the Related Art In a conventional software servo device, phase error data is created by sequentially adding a difference between a measured value of a period of an FG signal and a theoretical value.

【0003】[0003]

【発明が解決しようとする課題】カメラ一体型8ミリV
TRに使用されるキャプスタンモータのような慣性モー
メントの低いモータのサーボ系で負荷変動(外乱)を抑
制する場合、サンプリング周波数を上げて位相エラーデ
ータの高ゲイン化を図るか、あるいは、高次の低域フィ
ルタを使用して位相エラーデータの低域の高ゲイン化を
図る必要がある。しかし、モータのFG着磁数には機械
的な限界があり、あまり多くできないので、サンプリン
グ周波数を上げることには限界がある。また、高次の低
域フィルタはソフトウェアが複雑になり、演算処理の苦
手なマイコン(たとえば16ビット演算のできない8ビ
ットシングルチップマイコン)では実用が難しいという
問題点があった。
[Problems to be Solved by the Invention] 8 mm V integrated with camera
When suppressing load fluctuation (disturbance) in the servo system of a motor having a low moment of inertia such as a capstan motor used in a TR, increase the sampling frequency to increase the gain of the phase error data, or It is necessary to increase the low-frequency gain of the phase error data by using the low-pass filter. However, there is a mechanical limit to the number of FG magnetizations of the motor, which cannot be increased so much that there is a limit to increasing the sampling frequency. In addition, the software of the high-order low-pass filter is complicated, and there is a problem that it is difficult to use a microcomputer that is not good at arithmetic processing (for example, an 8-bit single-chip microcomputer that cannot perform 16-bit arithmetic).

【0004】それゆえに、この発明の主たる目的は、簡
単に負荷変動を抑制できる、ソフトウェアサーボ装置を
提供することである。
[0004] Therefore, a main object of the present invention is to provide a software servo device which can easily suppress a load change.

【0005】[0005]

【課題を解決するための手段】この発明は、モータから
のFG信号の周期を計測し、その周期に基づいて得られ
る速度エラーデータを積分して位相エラーデータを作成
するソフトウェアサーボ装置において、N−1次(Nは
2以上の正の整数)の位相エラーデータをFG信号に同
期したサンプリング毎に逐次積分することにより、N次
の位相エラーデータを作成するようにしたことを特徴と
する、ソフトウェアサーボ装置である。
SUMMARY OF THE INVENTION The present invention relates to a software servo device for measuring a period of an FG signal from a motor and integrating speed error data obtained based on the period to generate phase error data. -1 order (N is a positive integer of 2 or more) phase error data is successively integrated for each sampling synchronized with the FG signal to create N order phase error data. It is a software servo device.

【0006】[0006]

【作用】FG周期の計測値をAとし、かつ理論的に予め
決められたFG周期の理論値をBとすると、速度エラー
データ(DSP)はAから作成され、位相エラーデータ
(DPH)はその直前のDPHにA−BをFG信号のエ
ッジのサンプリング毎に足し合わせることにより作成さ
れる。そして、位相エラーデータの1次積分データ(D
PH1)は、直前のDPH1にDPHを前述と同様のサ
ンプリングのたびに足し合わせることにより作成され
る。また、位相エラーデータの2次積分データ(DPH
2)は、直前のDPH2にDPH1をサンプリングのた
びに足し合わせることにより作成される。すなわち、位
相エラーデータのN次積分データは、直前のDPHN−
1にDPHN−2をサンプリングのたびに足し合わせる
ことにより作成される。このようにして、N次の位相エ
ラーデータを用いることにより、低域のサーボゲインを
大きくすることができる。
Assuming that the measured value of the FG cycle is A and the theoretical value of the theoretically predetermined FG cycle is B, the speed error data (DSP) is created from A and the phase error data (DPH) is It is created by adding AB to the immediately preceding DPH for each sampling of the edge of the FG signal. Then, the first-order integral data (D
PH1) is created by adding the DPH to the immediately preceding DPH1 at each sampling similar to the above. Also, the second-order integral data (DPH) of the phase error data
2) is created by adding DPH1 to the immediately preceding DPH2 each time sampling is performed. That is, the Nth-order integral data of the phase error data is obtained by the immediately preceding DPHN−
It is created by adding DPHN-2 to 1 each time sampling is performed. In this manner, the use of the Nth-order phase error data makes it possible to increase the low-frequency servo gain.

【0007】なお、これらの位相エラーデータから、数
1によって、モータの制御データ(DAD)を求める。
ただし、aは制御系の安定性から判断された所定の定数
である。
The control data (DAD) of the motor is obtained from the phase error data according to Equation 1.
Here, a is a predetermined constant determined from the stability of the control system.

【0008】[0008]

【数1】 DAD=DSP+1/aDPH+1/a2 DPH1+…+1/aN+1 DPHNDAD = DSP + 1 / aDPH + 1 / a 2 DPH1 +... + 1 / a N + 1 DPHN

【0009】[0009]

【発明の効果】この発明によれば、簡単に低域のサーボ
ゲインを大きくすることができるので、小型モータにお
いても、負荷変動を効果的に抑制することができる。こ
の発明の上述の目的,その他の目的,特徴および利点
は、図面を参照して行う以下の実施例の詳細な説明から
一層明らかとなろう。
According to the present invention, the servo gain in the low range can be easily increased, so that the load fluctuation can be effectively suppressed even in a small motor. The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

【0010】[0010]

【実施例】図2を参照して、この実施例のソフトウェア
サーボ装置10は、たとえばカメラ一体型8ミリVTR
に用いられるものであり、メカニカルコントロールを分
担するマイクロコンピュータ(以下、単に「メカコン」
という)12およびシステムコントロールを分担するマ
イクロコンピュータ(以下、単に「シスコン」という)
14を含む。メカコン12はシスコン14からの指令を
受けて動作するものであり、このメカコン12にはFG
周期計測用のフリーランカウンタ16が内蔵される。メ
カコン12からは、キャプスタンモータ18を制御する
ためのPWM(Pulse Width Modulation:パルス幅変
調)信号が出力される。ドライバ20はPWM信号に応
じたモータ電圧を出力し、それをキャプスタンモータ1
8に与える。そして、キャプスタンモータ18からのF
G信号がFGアンプ22で増幅されてFGパルスとして
メカコン12に入力される。
Referring to FIG. 2, a software servo device 10 of this embodiment is, for example, a camera-integrated 8 mm VTR.
A microcomputer that is used for mechanical control (hereinafter simply referred to as “mechanical control”)
12) and a microcomputer sharing the system control (hereinafter simply referred to as “syscon”)
14 inclusive. The mechanical controller 12 operates in response to a command from the system controller 14.
A free-run counter 16 for period measurement is built in. From the mechanical controller 12, a PWM (Pulse Width Modulation) signal for controlling the capstan motor 18 is output. The driver 20 outputs a motor voltage corresponding to the PWM signal, and outputs it to the capstan motor 1.
Give 8 And F from the capstan motor 18
The G signal is amplified by the FG amplifier 22 and input to the mechanical controller 12 as an FG pulse.

【0011】メカコン12は、入力されるFGパルスと
フリーランカウンタ16のカウント値とに基づいて、図
1に示すようにして、制御データ作成する。まず、ステ
ップS1において、フリーランカウンタ16(図2)の
図3に示すカウント値aおよびbに基づいて、FG周期
の計測値Aを決定する。すなわち、a−bを計測値Aと
する。
The mechanical controller 12 creates control data based on the input FG pulse and the count value of the free-run counter 16 as shown in FIG. First, in step S1, the measurement value A of the FG cycle is determined based on the count values a and b of the free-run counter 16 (FIG. 2) shown in FIG. That is, ab is set as the measurement value A.

【0012】次に、ステップS3およびS5において、
FG周期の計測値Aと図3に示すサーボデータの状態の
変化を示す時間間隔とを比較する。このサーボデータは
同じく図3に示すFG信号に同期しており、FG周期が
予め設定された理論値Bをとる場合には、時間間隔TS
の中間部分でサーボがかけられることを意味している。
ステップS3においては、FG周期の計測値Aが図3に
示す時間間隔TD よりも小さいかどうかが判断される。
FG周期の計測値AがTD よりも小さい場合には、ステ
ップS7に進み、速度エラーデータ(DSP)を最小値
Min(たとえば10ビットにおいては0000000000)と
する。ステップS3において、FG周期の計測値AがT
D 以上である場合には、ステップS5に進み、FG周期
の計測値AがTD +TS の時間間隔以上であるかどうか
が判断される。ステップS5においてAがTD +TS
上である場合には、ステップS9に進み、DSPを最大
値Max(たとえば10ビットにおいては1111111111)
とする。そして、ステップS5においてFG周期の計測
値AがTD +TS よりも小さい場合には、ステップS1
1でDSPをA−TD とする。このように、ステップS
7またはS9あるいはS11でDSPの値が設定された
後ステップS13に進む。
Next, in steps S3 and S5,
The measured value A of the FG cycle is compared with a time interval indicating a change in the state of the servo data shown in FIG. This servo data is also synchronized with the FG signal shown in FIG. 3, and if the FG cycle takes a preset theoretical value B, the time interval T S
Means that the servo is applied in the middle part of.
In step S3, it is determined whether the measured value A of the FG cycle is smaller than the time interval T D shown in FIG.
If the measured value A of the FG cycle is smaller than T D , the process proceeds to step S7, and the speed error data (DSP) is set to the minimum value Min (for example, 0000000000 for 10 bits). In step S3, the measured value A of the FG cycle is T
If it is not less than D , the process proceeds to step S5, and it is determined whether or not the measured value A of the FG cycle is not less than the time interval of T D + T S. If A is equal to or larger than T D + T S in step S5, the process proceeds to step S9, and the DSP is set to the maximum value Max (for example, 11111111111 for 10 bits).
And If the measured value A of the FG cycle is smaller than T D + T S in step S5, step S1
The DSP and A-T D 1. Thus, step S
After the value of the DSP is set in 7 or S9 or S11, the process proceeds to step S13.

【0013】ステップS13では、FG周期の計測値A
とFG周期の理論値Bとの差を変数Cとして設定し、そ
の後、ステップS15で直前の位相エラーデータ(DP
H)に変数Cを足し合わせることによって、DPHが作
成される。そして、ステップS17に進み、直前の位相
エラーデータの1次積分データ(DPH1)にステップ
S15で作成されたDPHが足し合わせることによっ
て、DPH1が作成される。その後、ステップS19に
進み、直前の位相エラーデータの2次積分データ(DP
H2)にステップS17で作成されたDPH1が足し合
わせることによって、DPH2が作成される。そして、
ステップS21に進み、直前の位相エラーデータの3次
積分データ(DPH3)にステップS19で作成された
DPH2を足し合わせることによって、DPH3が作成
される。そして、ステップS23に進み、直前の位相エ
ラーデータの4次積分データ(DPH4)にステップS
21で作成されたDPH3を足し合わせることによっ
て、DPH4が作成される。すなわち、ステップS15
からステップS23において、FG周期のサンプリング
毎に位相エラーデータの積分処理が行われる。そして、
ステップS25において、数2に従ってモータの制御デ
ータ(DAD)が作成される。
In step S13, a measured value A of the FG cycle
Is set as a variable C, and then, in step S15, the immediately preceding phase error data (DP
DPH is created by adding the variable C to H). Then, the process proceeds to step S17, where DPH1 is created by adding the DPH created in step S15 to the primary integral data (DPH1) of the immediately preceding phase error data. Thereafter, the process proceeds to step S19, where the second-order integral data (DP
H2) is added to DPH1 created in step S17 to create DPH2. And
Proceeding to step S21, DPH3 is created by adding the DPH2 created in step S19 to the third-order integral data (DPH3) of the immediately preceding phase error data. Then, the process proceeds to step S23, where the fourth-order integral data (DPH4) of the immediately preceding phase error data is added to step S23.
By adding the DPH3 created in 21, the DPH4 is created. That is, step S15
In step S23, the integration process of the phase error data is performed every sampling of the FG cycle. And
In step S25, motor control data (DAD) is created according to equation (2).

【0014】[0014]

【数2】DSP+1/16DPH+1/162 DPH1
+1/163 DPH2+1/164 DPH3+1/16
5DPH4 ここで、16〜165 は制御系の安定性から判定された
数値である。図4に示すように、位相エラーデータの積
分次数を大きくすると伝達特性の低域サーボゲインを大
きくすることができるので、慣性モーメントの小さい小
型モータにおいても、負荷変動を抑制できる。
## EQU2 ## DSP + 1/16 DPH + 1/16 2 DPH1
+1/16 3 DPH2 + 1/16 4 DPH3 + 1/16
5 DPH4 where 16-16 5 is a numerical value determined from the stability of the control system. As shown in FIG. 4, when the integration order of the phase error data is increased, the low-frequency servo gain of the transfer characteristic can be increased, so that the load fluctuation can be suppressed even in a small motor having a small moment of inertia.

【0015】図1のプログラムは従来のそれと比較して
それほど複雑化しないので、8ビットシングルチップマ
イコンでも実行できる。なお、上述の実施例では、4次
までの位相エラーデータを求めたが、さらに高次の積分
処理が可能である。
Since the program of FIG. 1 is not so complicated as compared with the conventional program, it can be executed even by an 8-bit single-chip microcomputer. In the above embodiment, the phase error data up to the fourth order is obtained, but higher order integration processing is possible.

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

【図1】この発明の一実施例を示すフロー図である。FIG. 1 is a flowchart showing one embodiment of the present invention.

【図2】この発明の一実施例を示すブロック図である。FIG. 2 is a block diagram showing one embodiment of the present invention.

【図3】FG信号,フリーランカウンタのカウント値お
よびFG信号に同期したサーボデータを示すタイミング
図である。
FIG. 3 is a timing chart showing an FG signal, a count value of a free-run counter, and servo data synchronized with the FG signal.

【図4】この発明の一実施例によって得られる伝達特性
を示すグラフである。
FIG. 4 is a graph showing a transfer characteristic obtained by one embodiment of the present invention.

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

10 …ソフトウェアサーボ装置 12 …メカコン 16 …フリーランカウンタ 18 …キャプスタンモータ 10: Software servo device 12: Mechanical control 16: Free-run counter 18: Capstan motor

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】モータからのFG信号の周期を計測し、そ
の周期に基づいて得られる速度エラーデータを積分して
位相エラーデータを作成するソフトウェアサーボ装置に
おいて、 N−1次(Nは2以上の正の整数)の前記位相エラーデ
ータを前記FG信号に同期したサンプリング毎に逐次積
分することにより、N次の位相エラーデータを作成する
ようにしたことを特徴とする、ソフトウェアサーボ装
置。
1. A software servo device for measuring a period of an FG signal from a motor and integrating phase error data obtained based on the period to generate phase error data, wherein an N-1 order (N is 2 or more) A positive integer), the Nth-order phase error data is created by successively integrating the phase error data at each sampling synchronized with the FG signal.
JP3286076A 1991-10-31 1991-10-31 Software servo device Expired - Fee Related JP2804655B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3286076A JP2804655B2 (en) 1991-10-31 1991-10-31 Software servo device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3286076A JP2804655B2 (en) 1991-10-31 1991-10-31 Software servo device

Publications (2)

Publication Number Publication Date
JPH05128653A JPH05128653A (en) 1993-05-25
JP2804655B2 true JP2804655B2 (en) 1998-09-30

Family

ID=17699638

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3286076A Expired - Fee Related JP2804655B2 (en) 1991-10-31 1991-10-31 Software servo device

Country Status (1)

Country Link
JP (1) JP2804655B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01185188A (en) * 1988-01-16 1989-07-24 Alps Electric Co Ltd Servo-circuit for motor

Also Published As

Publication number Publication date
JPH05128653A (en) 1993-05-25

Similar Documents

Publication Publication Date Title
JP2804655B2 (en) Software servo device
JPH0537819A (en) Amplitude control circuit
US5391969A (en) Motor servo system
JPH0782382B2 (en) Learning control method
JP2675453B2 (en) Software servo device
US5301131A (en) Apparatus and method for controlling the rotational speed of a motor
JPS6310668B2 (en)
JP2877583B2 (en) Software servo device
JP2506870Y2 (en) Voltage-controlled amplifier controller
US5046123A (en) Error signal detection circuit in a servo control device
JP3030185B2 (en) Digital servo device
JP2666563B2 (en) Motor speed control device
JP2697099B2 (en) Speed control device
JPS6238340Y2 (en)
JP2819846B2 (en) Motor speed control device
JP3509157B2 (en) Aperture control device
JPS609390A (en) Ripple reducing circuit of signal with ripple
JPH0732350B2 (en) Digital Filter
JPH10201272A (en) Method for suppressing resonance at motor servo system
JPH0223081A (en) speed control device
JPH03280722A (en) Digital analog conversion circuit
JPS63187717A (en) digital filter
JPH03150084A (en) Speed control system of servomotor
JPS59191605A (en) Controller
JPH02168882A (en) Servo-controller of vtr

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980630

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080717

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080717

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090717

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees