JP2754807B2 - Control device for rotating body - Google Patents

Control device for rotating body

Info

Publication number
JP2754807B2
JP2754807B2 JP1307038A JP30703889A JP2754807B2 JP 2754807 B2 JP2754807 B2 JP 2754807B2 JP 1307038 A JP1307038 A JP 1307038A JP 30703889 A JP30703889 A JP 30703889A JP 2754807 B2 JP2754807 B2 JP 2754807B2
Authority
JP
Japan
Prior art keywords
output
digital filter
signal
phase
rotating body
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
JP1307038A
Other languages
Japanese (ja)
Other versions
JPH03169287A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1307038A priority Critical patent/JP2754807B2/en
Publication of JPH03169287A publication Critical patent/JPH03169287A/en
Application granted granted Critical
Publication of JP2754807B2 publication Critical patent/JP2754807B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Control Of Electric Motors In General (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は磁気記録再生装置などに用いられる回転体の
速度および位相制御を行なう回転体の制御装置に関する
ものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device for a rotating body for controlling the speed and phase of the rotating body used in a magnetic recording / reproducing apparatus or the like.

従来の技術 回転体の制御装置は回転体に取り付けられた周波数発
電機の出力信号(以下、FG信号と称す)の周期を所望の
周期になるように制御する速度制御と、回転体に取り付
けられた位置を表す信号(以下、PG信号と称する)と基
準位相信号との位相差を所望の値になるように制御する
位相制御を行なう。
2. Description of the Related Art A control device for a rotating body is provided with a speed control for controlling a cycle of an output signal (hereinafter, referred to as an FG signal) of a frequency generator attached to the rotating body so as to have a desired cycle, and a control apparatus attached to the rotating body. Phase control is performed to control the phase difference between the signal indicating the position (hereinafter, referred to as a PG signal) and the reference phase signal to a desired value.

例えば、磁気記録再生装置のシリンダモータでは、モ
ータに取り付けられた周波数発電機は1回転に6パルス
のFG信号を発生し、またPG信号は1回転に1パルス発生
する。シリンダモータは30Hzで回転するのでFG信号の周
波数は180Hzとなり、基準周期は1/180secである。した
がって、FG信号の周期が1/180secになるように速度制御
が行なわれる。また、PG信号の周波数は30Hzであり、基
準位相信号と所定の位相差になるように位相制御が行な
われる。
For example, in a cylinder motor of a magnetic recording / reproducing apparatus, a frequency generator attached to the motor generates an FG signal of six pulses per rotation, and generates a PG signal of one pulse per rotation. Since the cylinder motor rotates at 30 Hz, the frequency of the FG signal is 180 Hz, and the reference cycle is 1/180 sec. Therefore, the speed control is performed so that the period of the FG signal becomes 1/180 sec. Further, the frequency of the PG signal is 30 Hz, and phase control is performed so as to have a predetermined phase difference from the reference phase signal.

速度制御の誤差出力と位相制御の誤差出力はおのおの
の合成比で合成され、シリンダモータの駆動回路に出力
され、駆動回路の出力によりシリンダモータは駆動され
回転制御が行なわれる。
The error output of the speed control and the error output of the phase control are combined at their respective combined ratios, output to the drive circuit of the cylinder motor, and the output of the drive circuit drives the cylinder motor to perform rotation control.

しかしながら、速度制御出力,位相制御出力の合成出
力と駆動回路との間で生じるオフセットや負荷などによ
り、定常速度偏差,定常位相偏差を生じる。定常速度偏
差は位相制御が速度制御系の積分項として動作するので
ほとんど生じないが、速度制御の定常速度偏差を補正す
るように位相制御系が動作するため、位相制御の誤差出
力にその補正分が現われ、位相誤差出力の中心値がずれ
てしまう。特に、位相制御系の利得は速度制御系の利得
より大きいため、定常速度偏差が小さくも定常位相偏差
として大きく現われるので、大きな定常位相偏差を生じ
る原因となる。
However, a steady speed deviation and a steady phase deviation occur due to an offset, a load, and the like generated between the combined output of the speed control output and the phase control output and the drive circuit. The steady-state speed deviation hardly occurs because the phase control operates as an integral term of the speed control system.However, since the phase control system operates to correct the steady-state speed deviation of the speed control, the correction output is output to the error output of the phase control. Appears, and the center value of the phase error output is shifted. In particular, since the gain of the phase control system is larger than the gain of the speed control system, a small steady-state speed deviation appears as a large steady-state phase deviation, which causes a large steady-state phase deviation.

定常位相偏差は位相制御系に対して積分項がないので
位相制御の利得分の1だけ残ってしまう。そのため、PG
信号と基準位相信号の位相差を設定値通りにすることが
できない。それで、位相誤差出力に低域での誤差出力を
補償するように低域補償フィルタが挿入される。このフ
ィルタにより、定常位相偏差をなくすようにしている。
Since the stationary phase deviation has no integral term in the phase control system, only one gain of the phase control remains. Therefore, PG
The phase difference between the signal and the reference phase signal cannot be set to the set value. Thus, a low-pass compensation filter is inserted into the phase error output so as to compensate for the low-frequency error output. With this filter, the steady phase deviation is eliminated.

この低域補償フィルタをディジタルフィルタで構成す
ると第9図のようになる。このフィルタをディジタルで
構成するのは、速度制御,位相制御がディジタルで処理
されており、フィルタの動作をディジタル的に処理する
ことができれば、フィルタの動作を含めて制御のすべて
をディジタルIC化できるからである。また、フィルタを
ディジタル化することにより部品のバラツキや温度変化
などにより起こる特性の変化をなくすことができる。
If this low-pass compensation filter is constituted by a digital filter, it becomes as shown in FIG. This filter is digitally configured because the speed control and phase control are processed digitally. If the operation of the filter can be processed digitally, all the control including the operation of the filter can be implemented as a digital IC. Because. Further, by digitizing the filter, it is possible to eliminate a change in characteristics caused by a variation in parts, a change in temperature, or the like.

ここで、第9図のディジタルフィルタの動作について
説明する。まず端子1101から入力データが入力され、乗
算器1102により定数倍される。累積加算を行なうブロッ
ク1103では乗算器1102の出力データの累積加算を行ない
累積結果をメモリに格納する。ここで、Z1は1サンプル
遅延を表す記号である。乗算器1104ではブロック1103の
累積結果を定数倍し、加算器1105において乗算器1104の
出力データと乗算器1102の出力データの加算を行ないデ
ィジタルフィルタの出力データとして出力端子1106より
出力する。
Here, the operation of the digital filter shown in FIG. 9 will be described. First, input data is input from a terminal 1101 and is multiplied by a constant by a multiplier 1102. In a block 1103 for performing the cumulative addition, the cumulative output of the output data of the multiplier 1102 is performed, and the cumulative result is stored in the memory. Here, Z 1 is a symbol representing one sample delay. The multiplier 1104 multiplies the accumulation result of the block 1103 by a constant, adds the output data of the multiplier 1104 and the output data of the multiplier 1102 in the adder 1105, and outputs the result from the output terminal 1106 as the output data of the digital filter.

累積加算を行なうブロック1103において、メモリに格
納されている累積データは定常速度偏差や定常位相偏差
を補償するためのデータであるので、定常速度偏差や定
常位相偏差の値に応じて大きくなったり小さくなったり
する。したがって、大きな負荷がかかっていたり、速度
偏差が大きいときなどは、メモリに格納される累積デー
タは大きい値となる。
In the block 1103 for performing the cumulative addition, the accumulated data stored in the memory is data for compensating for the steady-state speed deviation and the steady-state phase deviation. Or become. Therefore, when a large load is applied or when the speed deviation is large, the accumulated data stored in the memory has a large value.

発明が解決しようとする課題 しかしながら上記のような構成では、速度偏差や位相
偏差が大きいときには、それらを補償する低域補償フィ
ルタの累積データが大きい値となり、累積データを格納
しているメモリが格納できる最大値を越えてしまうこと
がある。そのため、メモリに格納される値は上限または
下限値に固定されてしまい、その結果、累積項による補
償ができなくなり偏差が残ってしまう。定常位相偏差が
残るということは位相制御の性能が悪化したことであ
り、極端な場合には、位相ロックがかからず、位相制御
が正常に動作しないという問題があった。
However, in the above configuration, when the speed deviation and the phase deviation are large, the accumulated data of the low-pass compensation filter for compensating for the deviation has a large value, and the memory storing the accumulated data has a large value. It may exceed the maximum possible value. For this reason, the value stored in the memory is fixed to the upper limit or the lower limit, and as a result, compensation cannot be performed by the cumulative term, and a deviation remains. The fact that the steady phase deviation remains means that the performance of the phase control has deteriorated. In an extreme case, there is a problem that the phase is not locked and the phase control does not operate normally.

課題を解決するための手段 上記問題点を解決するために本発明の回転体の制御装
置は、回転体の速度情報を有する信号を周波数弁別する
周波数弁別手段と、前記回転体の位置情報を有する信号
と基準位相信号発生手段より出力される基準位相信号と
の位相比較を行なう位相比較手段と、前記位相比較手段
の出力を低域補償するディジタルフィルタと、前記ディ
ジタルフィルタの出力と前記周波数弁別手段の出力を合
成する合成手段と、前記合成手段の出力により前記回転
体を駆動する駆動手段と、前記ディジタルフィルタのオ
ーバーフローを検出するオーバーフロー検出手段と、前
記オーバーフロー検出手段の出力信号により前記ディジ
タルフィルタの動作点がほぼ中心になるように当該ディ
ジタルフィルタの出力を補正する出力補正手段とを具備
して構成されている。
Means for Solving the Problems In order to solve the above-described problems, a rotating body control device of the present invention has a frequency discriminating unit for frequency discriminating a signal having speed information of the rotating body, and has position information of the rotating body. Phase comparing means for comparing the phase of the signal with the reference phase signal output from the reference phase signal generating means, a digital filter for compensating the output of the phase comparing means in a low frequency range, and an output of the digital filter and the frequency discriminating means. Synthesizing means for synthesizing the outputs of the digital filter, driving means for driving the rotating body by the output of the synthesizing means, overflow detecting means for detecting overflow of the digital filter, and an output signal of the overflow detecting means. Output correction means for correcting the output of the digital filter so that the operating point is substantially at the center; It is comprised including.

作用 本発明は上記した構成によって、オフセットや負荷な
どにより生ずる定常速度偏差,定常位相偏差を補償する
ディジタルフィルタの累積項のオーバーフローを検出
し、その検出出力によってディジタルフィルタの出力信
号を補正することにより、ディジタルフィルタの累積項
がオーバーフローしなくなるので、ディジタルフィルタ
(低域補償フィルタ)により速度系の定常速度偏差と位
相制御系の定常位相偏差を取り除くことができる。
The present invention detects the overflow of the accumulated term of the digital filter for compensating for the steady speed deviation and the steady phase deviation caused by the offset, the load, and the like, and corrects the output signal of the digital filter by the detected output. Since the accumulated term of the digital filter does not overflow, the digital filter (low-pass compensation filter) can remove the steady-state speed deviation of the speed system and the steady-state phase deviation of the phase control system.

実施例 以下、本発明の一実施例の回転体の制御装置について
図面を参照しながら説明する。
Embodiment Hereinafter, a control device for a rotating body according to an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示した回転体の制御装置
のブロック図である。1は回転体(モータ)であり、2
はモータ1の回転情報を取り出す周波数発電機であり、
FG信号が出力される。3はFG信号の周波数弁別を行なう
周波数弁別手段である。4は周波数弁別手段3の出力と
出力補正手段11(後述)の出力との合成を行なう合成手
段である。5は合成手段4のディジタルデータ出力が入
力されるディジタル−アナログ変換器であり、6はその
アナログ信号を増幅するパワー増幅器であり、その出力
によってモータ1が駆動される。以上のループにより速
度制御系が構成される。
FIG. 1 is a block diagram of a control device for a rotating body showing an embodiment of the present invention. 1 is a rotating body (motor), 2
Is a frequency generator for extracting rotation information of the motor 1,
The FG signal is output. Reference numeral 3 denotes frequency discriminating means for discriminating the frequency of the FG signal. Reference numeral 4 denotes a synthesizing unit that synthesizes the output of the frequency discriminating unit 3 and the output of the output correcting unit 11 (described later). Reference numeral 5 denotes a digital-analog converter to which the digital data output of the synthesizing means 4 is input, and reference numeral 6 denotes a power amplifier for amplifying the analog signal, and the output drives the motor 1. The speed control system is configured by the above loop.

次に、7はモータ1の位置信号を取り出す位置検出手
段であり、その位置信号(PG信号)は位相比較器8に入
力される。また、位相比較器8には基準位相信号発生手
段9より出力される基準位相信号が入力される。位相比
較器8の出力はディジタルフィルタ10に入力され、低域
補償が行なわれる。ディジタルフィルタ10はフィルタ処
理後の出力を出力補正手段11に、オーバーフロー検出信
号を出力補正手段11に送出する。出力補正手段11はディ
ジタルフィルタ10のオーバーフロー検出信号に基づき、
ディジタルフィルタ10の出力データの補正を行なう。以
上のループにより位相制御系が構成される。
Next, reference numeral 7 denotes position detecting means for extracting a position signal of the motor 1, and the position signal (PG signal) is input to the phase comparator 8. The reference phase signal output from the reference phase signal generating means 9 is input to the phase comparator 8. The output of the phase comparator 8 is input to a digital filter 10, where low-frequency compensation is performed. The digital filter 10 sends the output after the filter processing to the output correction means 11, and sends the overflow detection signal to the output correction means 11. Output correction means 11 is based on the overflow detection signal of digital filter 10,
The output data of the digital filter 10 is corrected. The above loop constitutes a phase control system.

第2図は周波数弁別手段3の動作を説明するためのタ
イムチャートであり、aはFG信号であり、bは周波数弁
別を行なうための台形波であり、FG信号aが入力された
時刻において台形波bの値をサンプリングすることによ
り速度誤差出力cを得ている。台形波bはFG信号により
サンプリングされた後、次のFG信号の台形波を作るため
に新たに基準周期が設定される。速度誤差出力cはFG信
号aの周期が基準周期より短いときには正の誤差出力
を、長いときには負の誤差出力を出力する。
FIG. 2 is a time chart for explaining the operation of the frequency discriminating means 3, in which a is an FG signal, b is a trapezoidal wave for performing frequency discrimination, and a trapezoidal waveform at the time when the FG signal a is input. The speed error output c is obtained by sampling the value of the wave b. After the trapezoidal wave b is sampled by the FG signal, a new reference cycle is set to create a trapezoidal wave of the next FG signal. The speed error output c outputs a positive error output when the period of the FG signal a is shorter than the reference period, and outputs a negative error output when the period is longer than the reference period.

第3図は、以上の周波数弁別手段3の動作をソフトウ
ェアで実現した場合のフローチャートであり、処理301
においてFG信号が入力されたかどうかの判断を行ない、
FG信号が入力されていれば処理302に移行し、FG信号が
入力されていなければ処理307に移行する。処理302では
FG信号の周期を算出している。前のFG信号が入力された
ときのベースカウンタのカウント値をNSB、今回のFG信
号が入力された時点のベースカウンタのカウント値をNS
Aとすると、FG信号の周期PER_Sは(1)式により得られ
る。
FIG. 3 is a flowchart in the case where the above operation of the frequency discriminating means 3 is realized by software.
In, it is determined whether the FG signal is input,
If the FG signal has been input, the process proceeds to a process 302, and if the FG signal has not been input, the process proceeds to a process 307. In process 302
The cycle of the FG signal is calculated. NSB is the count value of the base counter when the previous FG signal was input, and NS is the count value of the base counter when the current FG signal was input.
Assuming that A, the period PER_S of the FG signal is obtained by equation (1).

PER_S=NSB−NSA ……(1) ここで、ベースカウンタは基準クロック信号をダウン
カウントする巡回型カウンタとして動作しているものと
して扱っている。
PER_S = NSB-NSA (1) Here, the base counter is treated as operating as a cyclic counter that counts down the reference clock signal.

次に、処理303において、処理302で求めたFG信号の周
期PER_Sと基準周期REF_Sを用いて(2)式により速度誤
差ERR_Sを求めている。
Next, in the process 303, the speed error ERR_S is obtained by the equation (2) using the period PER_S of the FG signal obtained in the process 302 and the reference period REF_S.

ERR_S=REF_S−PER_S ……(2) そして、処理304において速度誤差ERR_Sが、規定の範
囲に入るようにリミット処理を行ない、処理305におい
て合成手段4に速度誤差ERR_Sを出力する。そのあと、
次のFG信号の処理の準備として処理306において、今回
のFG信号が入力されたときのベースカウンタのカウント
値NSAのNSBに格納しなおし、周波数弁別手段3の動作を
終了する。
ERR_S = REF_S-PER_S (2) Then, in process 304, a limit process is performed so that the speed error ERR_S falls within a prescribed range, and in process 305, the speed error ERR_S is output to the combining means 4. after that,
In preparation for the processing of the next FG signal, in processing 306, the count value NSA of the base counter at the time when the current FG signal is input is stored again in the NSB, and the operation of the frequency discriminating means 3 is terminated.

処理301においてFG信号が入力されていない場合には
処理307において前回のFG信号が入力されてから、次のF
G信号が入力されるべき許容時間を越えているかどうか
の判断を行ない、もし越えていれば処理308においてモ
ータ1を最加速する速度誤差出力を合成手段4に出力し
て終了し、越えていなければ何もせずに終了する。
If the FG signal is not input in the processing 301, the next F is input after the previous FG signal is input in the processing 307.
It is determined whether or not the G signal has exceeded the allowable time to be inputted. If it has, the speed error output for maximally accelerating the motor 1 is output to the synthesizing means 4 in processing 308, and the processing is terminated. Exit without doing anything.

以上のように、速度誤差ERR_Sは測定したFG信号の周
期PER_Sが基準周期REF_Sより短ければ正の値を、長けれ
ば負の値を入力する。
As described above, for the speed error ERR_S, a positive value is input if the measured period PER_S of the FG signal is shorter than the reference period REF_S, and a negative value is input if it is longer.

第4図は、位相比較手段8を説明するためのタイムチ
ャートであり、aは基準位相信号であり、bは基準位相
信号aより作成される位相比較を行なうための台形波で
あり、PG信号cが入力された時刻において台形波bをサ
ンプリングすることにより位相誤差出力dを得ている位
相誤差出力cは基準位相信号aとPG信号cの位相差が所
定の位相差より短いときには正の誤差出力を、長いとき
には負の誤差出力を出力する。
FIG. 4 is a time chart for explaining the phase comparison means 8, wherein a is a reference phase signal, b is a trapezoidal wave for performing phase comparison created from the reference phase signal a, and a PG signal. The phase error output d is obtained by sampling the trapezoidal wave b at the time when c is input. The phase error output c is a positive error when the phase difference between the reference phase signal a and the PG signal c is shorter than a predetermined phase difference. Outputs an error, and outputs a negative error output when the output is long.

第5図は位相比較手段8の動作をソフトウェアで実現
した場合のフローチャートであり、処理501において基
準位相信号発生手段9から基準位相手段(REF_P)が入
力されたかどうかの判断を行ない、基準位相信号が入力
されていれば処理502に移行し、基準位相信号が入力さ
れていなければ処理503に移行する。処理502では基準位
相信号が入力された時刻のベースカウンタのカウント値
CN1をメモリN_REFに格納している。処理503ではPG信号
が入力されたかどうかの判別を行ない、PG信号が入力さ
れていれば処理504に移行し、PG信号が入力されていた
時刻のベースカウンタのカウント値CN2をメモリNPAに格
納している。処理505では位相誤差ERR_Pを(3)式によ
り得ている。
FIG. 5 is a flowchart in the case where the operation of the phase comparison means 8 is realized by software. In a process 501, it is determined whether or not the reference phase means (REF_P) is input from the reference phase signal generation means 9 and the reference phase signal is determined. If the reference phase signal has not been input, the process proceeds to step 502. In process 502, the count value of the base counter at the time when the reference phase signal is input
CN1 is stored in the memory N_REF. In the process 503, it is determined whether or not the PG signal has been input. If the PG signal has been input, the process proceeds to the process 504, and the count value CN2 of the base counter at the time when the PG signal was input is stored in the memory NPA. ing. In the process 505, the phase error ERR_P is obtained by the equation (3).

ERR_P=N_REF_P−(N_REF−NPA) ……(3) ここで、N_REF_Pは基準位相差を表すカウント値であ
る。
ERR_P = N_REF_P- (N_REF-NPA) (3) Here, N_REF_P is a count value representing a reference phase difference.

次に、処理506において位相誤差ERR_Pが規定の範囲に
入るようにリミット処理を行ない、処理507においてデ
ィジタルフィルタ10に位相誤差ERR_Pを出力する。以上
で位相比較手段8の動作を終了する。
Next, in processing 506, limit processing is performed so that the phase error ERR_P falls within a specified range, and in processing 507, the phase error ERR_P is output to the digital filter 10. Thus, the operation of the phase comparison means 8 is completed.

処理503においてPG信号が入力されていない場合には
何もせずに終了する。
If the PG signal is not input in the process 503, the process ends without doing anything.

次に、第6図にディジタルフィルタ10のブロック図を
示す。入力端子601から入力データが入力され、ブロッ
ク602により定数倍される。ブロック603では入力端子60
1から入力される入力データの累積加算を行ない、累積
結果をメモリに格納する。ブロック604ではブロック603
の累積結果を定数倍し、ブロック603においてブロック6
04の出力データとブロック602の出力データの加算を行
ない、ディジタルフィルタの出力データとして出力端子
606より出力する。
Next, FIG. 6 shows a block diagram of the digital filter 10. Input data is input from an input terminal 601 and is multiplied by a constant by a block 602. Input terminal 60 in block 603
The cumulative addition of the input data input from 1 is performed, and the cumulative result is stored in the memory. In block 604, block 603
Is multiplied by a constant, and in block 603 block 6
Adds the output data of 04 and the output data of block 602 and outputs it as digital filter output data.
Output from 606.

また、ブロック603において累積結果を格納するメモ
リがオーバーフローしたときには、オーバーフロー出力
端子607からオーバーフロー検出信号が出力される。オ
ーバーフロー検出信号にはオーバーフローの極性を示す
データを含んでいる。
When the memory storing the accumulation result overflows in block 603, an overflow detection signal is output from an overflow output terminal 607. The overflow detection signal includes data indicating the polarity of the overflow.

第7図はディジタルフィルタ10の動作をソフトウェア
で実現した場合のフローチャートであり、処理701にお
いて、第6図に示す入力端子601に入力されたデータD1
をメモリMIに格納する。処理702では、メモリMIのデー
タと定数C1を乗算し、その乗算結果をメモリM2に格納す
る。処理703ではこれまでの累積結果が格納されている
メモリMIのデータと入力データD1の加算を行ないその加
算結果をメモリMIに再格納する。処理704では、メモリM
Iに格納された加算結果が、メモリMIが格納できる最大
または最小値を越えているかどうか、すなわちオーバー
フローしているかどうかの判断を行なっている。メモリ
MIがオーバーフローしていなければ処理705に移行し、
累積結果であるメモリMIのデータと定数C2を乗算し、そ
の乗算結果をメモリM3に格納する。そして、処理706で
はメモリM2とメモリM3のデータを加算して、その加算結
果をディジタルフィルタ10の出力データとして出力す
る。
FIG. 7 is a flowchart when the operation of the digital filter 10 is realized by software. In the process 701, the data D1 input to the input terminal 601 shown in FIG.
Is stored in the memory MI. In the process 702, the data of the memory MI is multiplied by the constant C1, and the multiplication result is stored in the memory M2. In the process 703, the data of the memory MI in which the accumulated result is stored and the input data D1 are added, and the added result is stored in the memory MI again. In process 704, memory M
It is determined whether the addition result stored in I exceeds the maximum value or the minimum value that can be stored in the memory MI, that is, whether the overflow has occurred. memory
If the MI has not overflowed, the process proceeds to processing 705,
The data of the memory MI, which is the accumulation result, is multiplied by a constant C2, and the multiplication result is stored in the memory M3. Then, in the process 706, the data of the memory M2 and the data of the memory M3 are added, and the addition result is output as output data of the digital filter 10.

処理704において、メモリMIがオーバーフローしてい
れば処理707に移行し、オーバーフローが最大または最
小値のどちらを越えたかを判断する。すなわち、オーバ
ーフローの極性を判断している。メモリMIのオーバーフ
ローが最大値であるときには処理708に移行し、メモリM
Iの値を最大値にセットし、さらに正のオーバーフロー
信号を第6図に示す出力端子607から出力し、処理705に
移行する。メモリMIのオーバーフローが最小値であると
きには処理709に移行し、メモリMIの値を最小値にセッ
トし、さらに負のオーバーフロー信号を出力端子607か
ら出力する。そのあと、処理705に移行する。以上のよ
うにしてソフトウェアでディジタルフィルムの処理が行
なわれる。
In the process 704, if the memory MI overflows, the process proceeds to the process 707, and it is determined whether the overflow exceeds the maximum value or the minimum value. That is, the polarity of the overflow is determined. When the overflow of the memory MI is the maximum value, the process proceeds to step 708, where the memory M
The value of I is set to the maximum value, and a positive overflow signal is output from the output terminal 607 shown in FIG. When the overflow of the memory MI is the minimum value, the processing shifts to processing 709, where the value of the memory MI is set to the minimum value, and a negative overflow signal is output from the output terminal 607. After that, the processing shifts to processing 705. As described above, the digital film is processed by the software.

次に、オーバーフロー検出信号の出力によりディジタ
ルフィルタ10の出力を補正する出力補正手段11について
説明する。第8図は出力補正手段11をソフトウェアで実
現した場合のフローチャートであり、処理801において
ディジタルフィルタ10より出力されるオーバーフロー信
号を取り込み、ディジタルフィルタ10のメモリMIがオー
バーフローしたかどうかを判断し、オーバーフローして
いなければ処理は終了する。ディジタルフィルタ10がオ
ーバーフローしていれば処理802に移行する。処理802で
はオーバーフロー信号の極性が正かどうかの判断を行な
い、正であれば処理803に移行する。処理803では以下の
処理を行なう。
Next, the output correction means 11 for correcting the output of the digital filter 10 based on the output of the overflow detection signal will be described. FIG. 8 is a flowchart when the output correction means 11 is realized by software. In step 801, the overflow signal output from the digital filter 10 is fetched, and it is determined whether or not the memory MI of the digital filter 10 has overflowed. If not, the process ends. If the digital filter 10 has overflown, the flow shifts to processing 802. In the process 802, it is determined whether or not the polarity of the overflow signal is positive. In the process 803, the following process is performed.

オーバーフロー信号の極性が正であるということは、
ディジタルフィルタ10の出力が正のより大きな値を出力
しなければならないにもかかわらず、累積メモリMIで制
限されてしまい、制限値以上に大きくできなくなってい
ることを示している。したがって、ディジタルフィルタ
10の出力を補正値を用いて補正し、累積メモリMIがオー
バーフローしないようにする。
The positive polarity of the overflow signal means that
Although the output of the digital filter 10 must output a larger value than the positive value, the output is limited by the cumulative memory MI and cannot be increased beyond the limit value. Therefore, the digital filter
The output of 10 is corrected using the correction value so that the accumulated memory MI does not overflow.

すなわち、(4)式に示すようにディジタルフィルタ
10の出力データFILを補正すればよい。
That is, as shown in equation (4), the digital filter
What is necessary is just to correct ten output data FIL.

FIL_C=FIL+ΔC ……(4) ここで、FIL_Cはディジタルフィルタ10の出力データ
を補正した出力補正手段11の出力であり、ΔCは補正値
である。定常速度偏差または定常位相偏差が大きく、
(4)式による補正を1回行なっただけではディジタル
フィルタ10のオーバーフローが改善されないときには
(4)式による補正を繰り返し行ない、累積値を格納し
ているメモリMIの値がほぼ“0"になるまで、すなわち動
作中心になるまで行なえば、位相制御系による引込みレ
ンジは大幅に改善される。
FIL_C = FIL + ΔC (4) Here, FIL_C is an output of the output correction means 11 that has corrected the output data of the digital filter 10, and ΔC is a correction value. Large steady speed deviation or steady phase deviation,
When the overflow of the digital filter 10 is not improved only by performing the correction by the expression (4) once, the correction by the expression (4) is repeated, and the value of the memory MI storing the accumulated value becomes almost “0”. If this is done until the operation is centered, the pull-in range by the phase control system is greatly improved.

処理802でのオーバーフロー信号の極性が負であると
きには、処理804において処理803で行なった処理と同様
の処理を行なう。すなわち、(4)式で用いた補正値Δ
Cをディジタルフィルタ10の出力データFILから減算す
ればよく、(5)式のように表わされる。
When the polarity of the overflow signal in the process 802 is negative, a process similar to the process performed in the process 803 is performed in the process 804. That is, the correction value Δ used in equation (4)
What is necessary is just to subtract C from the output data FIL of the digital filter 10, and it is represented by the equation (5).

FIL_C=FIL_C ……(5) 以上のように、定常速度偏差により生じる位相制御系
の低域補償フィルタ(ディジタルフィルタ10)のオーバ
ーフローを、ディジタルフィルタ10の出力信号を補正す
ることにより、ディジタルフィルタ10がオーバーフロー
しないようにすると共に、ディジタルフィルタ10の動作
点が中心付近になるようにすることができるので、動作
範囲の広い低域補償動作を行なうことができる。
FIL_C = FIL_C (5) As described above, the overflow of the low-pass compensation filter (digital filter 10) of the phase control system caused by the steady speed deviation is corrected by correcting the output signal of the digital filter 10. Can be prevented from overflowing, and the operating point of the digital filter 10 can be set near the center, so that a low-frequency compensation operation with a wide operating range can be performed.

本実施例では、各々の処理をソフトウェアで構成した
場合について説明したが、同様の動作が行なえるように
ハードウェアで構成してもなんら差しつかえない。
In the present embodiment, the case where each process is configured by software has been described. However, it may be configured by hardware so that the same operation can be performed.

発明の効果 以上のように本発明は、回転体の速度情報を有する信
号を周波数弁別する周波数弁別手段と、前記回転体の位
置情報を有する信号と基準位相信号発生手段より出力さ
れる基準位相信号との位相比較を行なう位相比較手段
と、前記位相比較手段の出力を低域補償するディジタル
フィルタと、前記ディジタルフィルタの出力と前記周波
数弁別手段の出力を合成する合成手段と、前記合成手段
の出力により前記回転体を駆動する駆動手段と、前記デ
ィジタルフィルタのオーバーフローを検出するオーバー
フロー検出手段と、前記オーバーフロー検出手段の出力
信号により前記ディジタルフィルタの動作点がほぼ中心
になるように当該ディジタルフィルタの出力を補正する
出力補正手段とを具備して構成されているので、定常速
度偏差,定常位相偏差により生じる位相制御系の低域補
償フィルタ(ディジタルフィルタ)のオーバーフロー
を、ディジタルフィルタの出力を補正値を用いて補正す
ることにより、ディジタルフィルタがオーバーフローし
ないようにすると共に、ディジタルフィルタの動作点が
中心付近になるようすることができるので、動作範囲の
広い低域補償動作を行なうことができ、大なる効果を奏
するものである。
As described above, the present invention provides a frequency discriminating means for frequency discriminating a signal having speed information of a rotating body, a signal having position information of the rotating body, and a reference phase signal output from a reference phase signal generating means. Phase comparing means for comparing the phase of the digital filter, a digital filter for compensating the output of the phase comparing means in a low frequency range, a synthesizing means for synthesizing the output of the digital filter and the output of the frequency discriminating means, Drive means for driving the rotating body, overflow detection means for detecting overflow of the digital filter, and output of the digital filter such that the operating point of the digital filter is substantially centered by an output signal of the overflow detection means. Output correction means for correcting the steady speed deviation and the constant speed deviation. The overflow of the low-pass compensation filter (digital filter) of the phase control system caused by the normal phase deviation is corrected using the correction value of the output of the digital filter so that the digital filter does not overflow and the operation of the digital filter is performed. Since the point can be set near the center, a low-frequency compensation operation with a wide operation range can be performed, and a great effect is achieved.

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

第1図は本発明の一実施例における回転体の制御装置の
ブロック図、第2図は周波数弁別手段の動作を説明する
ためのタイムチャート、第3図は周波数弁別手段をソフ
トウェアで構成した場合のフローチャート、第4図は位
相比較手段の動作を説明するためのタイムチャート、第
5図は位相比較手段をソフトウェアで構成した場合のフ
ローチャート、第6図はディジタルフィルタブロック
図、第7図はディジタルフィルタをソフトウェアで構成
した場合のフローチャート、第8図は出力補正手段の動
作を説明するためのフローチャート、第9図は従来のデ
ィジタルフィルタのブロック図である。 1……モータ、2……速度発電機、3……周波数弁別手
段、4……合成手段、5……ディジタル−アナログ変換
器、6……パワーアンプ、7……位置検出手段、8……
位相比較手段、9……基準位相信号発生手段、10……デ
ィジタルフィルタ、11……出力補正手段。
FIG. 1 is a block diagram of a control device for a rotating body according to an embodiment of the present invention, FIG. 2 is a time chart for explaining the operation of the frequency discriminating means, and FIG. FIG. 4 is a time chart for explaining the operation of the phase comparator, FIG. 5 is a flowchart in the case where the phase comparator is constituted by software, FIG. 6 is a block diagram of a digital filter, and FIG. FIG. 8 is a flowchart for explaining the operation of the output correction means when the filter is constituted by software, and FIG. 9 is a block diagram of a conventional digital filter. DESCRIPTION OF SYMBOLS 1 ... Motor, 2 ... Speed generator, 3 ... Frequency discriminating means, 4 ... Synthesizing means, 5 ... Digital-analog converter, 6 ... Power amplifier, 7 ... Position detecting means, 8 ...
Phase comparison means, 9 ... Reference phase signal generation means, 10 ... Digital filter, 11 ... Output correction means.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) H02P 5/00──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) H02P 5/00

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】回転体の速度情報を有する信号を周波数弁
別する周波数弁別手段と、前記回転体の位置情報を有す
る信号と基準位相信号発生手段より出力される基準位相
信号との位相比較を行なう位相比較手段と、前記位相比
較手段の出力を低域補償するディジタルフィルタと、前
記ディジタルフィルタの出力と前記周波数弁別手段の出
力を合成する合成手段と、前記合成手段の出力により前
記回転体を駆動する駆動手段と、前記ディジタルフィル
タのオーバーフローを検出するオーバーフロー検出手段
と、前記オーバーフロー検出手段の出力信号により前記
ディジタルフィルタの動作点がほぼ中心になるように当
該ディジタルフィルタの出力を補正する出力補正手段と
を具備したことを特徴とする回転体の制御装置。
A frequency discriminating means for frequency discriminating a signal having speed information of a rotating body, and a phase comparison between a signal having position information of the rotating body and a reference phase signal outputted from a reference phase signal generating means. Phase comparing means, a digital filter for compensating the output of the phase comparing means in a low frequency range, synthesizing means for synthesizing the output of the digital filter and the output of the frequency discriminating means, and driving the rotating body with the output of the synthesizing means Drive means, an overflow detection means for detecting overflow of the digital filter, and an output correction means for correcting an output of the digital filter so that an operating point of the digital filter is substantially centered by an output signal of the overflow detection means. A control device for a rotating body, comprising:
【請求項2】ディジタルフィルタは、入力データに係数
を乗算して比例項を得、前記入力データを累算して得た
累算項に係数を乗算して積分項を得、前記比例項と前記
積分項の加算を行なって加算結果を出力することを特徴
とする請求項(1)記載の回転体の制御装置。
2. A digital filter, comprising: multiplying input data by a coefficient to obtain a proportional term; multiplying a cumulative term obtained by accumulating the input data by a coefficient to obtain an integral term; The control device for a rotating body according to claim 1, wherein the addition of the integral term is performed to output a result of the addition.
【請求項3】オーバーフロー検出手段は、ディジタルフ
ィルタの積分項が所定の上限値または下限値を越えたこ
とを検出することを特徴とする請求項(2)記載の回転
体の制御装置。
3. An apparatus according to claim 2, wherein said overflow detecting means detects that an integral term of said digital filter has exceeded a predetermined upper limit value or lower limit value.
【請求項4】出力補正手段は、ディジタルフィルタのオ
ーバーフローを検出するオーバーフロー検出手段の出力
信号の極性に応じて前記ディジタルフィルタの出力に補
正値を加減することを特徴とする請求項(3)記載の回
転体の制御装置。
4. The apparatus according to claim 3, wherein the output correction means adds or subtracts a correction value to or from the output of the digital filter in accordance with the polarity of the output signal of the overflow detection means for detecting overflow of the digital filter. Of rotating body control.
JP1307038A 1989-11-27 1989-11-27 Control device for rotating body Expired - Fee Related JP2754807B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1307038A JP2754807B2 (en) 1989-11-27 1989-11-27 Control device for rotating body

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1307038A JP2754807B2 (en) 1989-11-27 1989-11-27 Control device for rotating body

Publications (2)

Publication Number Publication Date
JPH03169287A JPH03169287A (en) 1991-07-22
JP2754807B2 true JP2754807B2 (en) 1998-05-20

Family

ID=17964297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1307038A Expired - Fee Related JP2754807B2 (en) 1989-11-27 1989-11-27 Control device for rotating body

Country Status (1)

Country Link
JP (1) JP2754807B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6142015A (en) * 1984-08-02 1986-02-28 Matsushita Electric Ind Co Ltd Digital phase controller
JPS63202286A (en) * 1987-02-18 1988-08-22 Matsushita Electric Ind Co Ltd Controller for cylinder motor

Also Published As

Publication number Publication date
JPH03169287A (en) 1991-07-22

Similar Documents

Publication Publication Date Title
JP3281561B2 (en) Motor speed control device
JP2883252B2 (en) Motor rotation control device
EP0448136B1 (en) Motor rotation control apparatus
EP0599190A2 (en) Motor speed control apparatus
US5298841A (en) Apparatus for controlling the speed of a moving object
KR100223393B1 (en) A motor speed control apparatus
JP3203989B2 (en) Motor speed control device
JP2754807B2 (en) Control device for rotating body
JP3304166B2 (en) Phase locked loop circuit
JP2712665B2 (en) Control device for rotating body
JP2888595B2 (en) Motor control device
JPH07169154A (en) Comb filter, its filtering method and rotation control device provided with said comb filter
US4816723A (en) Variable speed motor control method and apparatus
JP3411490B2 (en) Motor speed control device
JPH0681538B2 (en) Rotating body control device
US5392378A (en) Speed controlling system and a predictor
US4879754A (en) Speed controller
JP2914725B2 (en) Digital comb filter
JPH0654571A (en) Motor rotation speed control apparatus
JPS62293983A (en) Rotation control device
JP2771910B2 (en) Measurement circuit
JP3672674B2 (en) Motor control device
JPH01117676A (en) Rotation controller
JP2896729B2 (en) Motor control device
KR0162387B1 (en) Servo loop gain controlling circuit in the optical disc player

Legal Events

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