JPH0773431B2 - Compensator - Google Patents
CompensatorInfo
- Publication number
- JPH0773431B2 JPH0773431B2 JP62210509A JP21050987A JPH0773431B2 JP H0773431 B2 JPH0773431 B2 JP H0773431B2 JP 62210509 A JP62210509 A JP 62210509A JP 21050987 A JP21050987 A JP 21050987A JP H0773431 B2 JPH0773431 B2 JP H0773431B2
- Authority
- JP
- Japan
- Prior art keywords
- value
- error
- memory
- output value
- signal
- 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 - Lifetime
Links
- 230000015654 memory Effects 0.000 claims description 110
- 239000002131 composite material Substances 0.000 claims description 15
- 230000002194 synthesizing effect Effects 0.000 claims description 2
- 238000001514 detection method Methods 0.000 description 11
- 230000000694 effects Effects 0.000 description 8
- 238000004364 calculation method Methods 0.000 description 6
- 238000007493 shaping process Methods 0.000 description 6
- 238000003860 storage Methods 0.000 description 5
- 230000015572 biosynthetic process Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000003786 synthesis reaction Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 3
- 239000000203 mixture Substances 0.000 description 3
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000010355 oscillation Effects 0.000 description 2
- 230000000737 periodic effect Effects 0.000 description 2
- 238000002360 preparation method Methods 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000002542 deteriorative effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Control Of Electric Motors In General (AREA)
Description
【発明の詳細な説明】 産業上の利用分野 本発明は、フィーバック制御のループ内で使用される補
償器に関するものである。Description: FIELD OF THE INVENTION The present invention relates to compensators used in feedback loops.
従来の技術 フィードバック制御の一例として、たとえば、モータの
回転速度を速度検出器により検出して、その検出信号に
よってモータへの供給電力を制御するモータの速度制御
装置は、ビデオテープレコーダのキャプスタンモータや
シリンダモータ等に広く利用されている(たとえば、本
出願人が提案した特願昭56−142724号を参照)。しかし
ながら、このような速度制御装置のなかで使用する補償
器では、従来から利用されている比例・積分・微分補償
を行っているだけであり、負荷トルク変動による回転速
度の変動を十分に抑制することができなかった。2. Description of the Related Art As an example of feedback control, for example, a motor speed control device that detects the rotation speed of a motor by a speed detector and controls the electric power supplied to the motor by the detection signal is a capstan motor of a video tape recorder. It is widely used as a cylinder motor and a cylinder motor (for example, see Japanese Patent Application No. 56-142724 proposed by the present applicant). However, the compensator used in such a speed control device only performs the proportional / integral / derivative compensation conventionally used, and sufficiently suppresses the fluctuation of the rotation speed due to the fluctuation of the load torque. I couldn't.
このような問題を解決するために、本出願人は特願昭60
−229143号および特願昭60−229144号において、新しい
構成の補償器を使用して、負荷トルク変動に対して非常
に強くした高性能なモータの速度制御装置を提案した。
すなわち、特願昭60−229143号や特願昭60−229144号で
は、モータの回転速度に応じた周期の交流信号を生じる
回転センサと、回転センサの交流信号によりモータの1
回転当たり複数回の検出を行う速度検出手段と、速度検
出手段の検出信号にもとずき演算・記憶して制御信号を
作り出す補償手段と、補償手段の制御信号に応じた電力
を前記モータに供給する電力増幅手段(駆動手段)によ
って速度制御系を構成している。さらに、速度検出手段
の検出信号に応動した回転誤差を得る回転誤差検出手段
と、NxL個(複数個)のメモリ値群M[0]からM[NxL
−1]を格納するメモリ手段と、メモリ手段のL間隔ず
つ離れたNx個のメモリ値群を使って合成計算される合成
値を実質的に演算する合成値算出手段(メモリ出力値作
成手段)と、合成値算出手段の合成値と回転誤差検出手
段の回転誤差を演算合成した値に対応した更新値によっ
てメモリ手段のメモリ値を実質的に順番に更新保存する
更新保存手段と、合成値算出手段の合成値と回転誤差検
出手段の回転誤差を演算合成して制御信号を作り出す制
御信号作成手段とを有する補償手段(補償器)を使用す
ることによって、高性能なモータの速度制御装置を実現
している。In order to solve such a problem, the present applicant has filed Japanese Patent Application No.
In No. 229143 and Japanese Patent Application No. 60-229144, we proposed a high-performance motor speed controller that is extremely resistant to load torque fluctuations by using a compensator with a new structure.
That is, in Japanese Patent Application No. 60-229143 and Japanese Patent Application No. 60-229144, a rotation sensor that generates an AC signal with a cycle corresponding to the rotation speed of the motor, and the motor
Speed detecting means for detecting a plurality of times per rotation, compensating means for calculating and storing a control signal based on the detection signal of the speed detecting means, and power corresponding to the control signal of the compensating means to the motor. A speed control system is configured by the power amplification means (driving means) to be supplied. Further, a rotation error detecting means for obtaining a rotation error in response to the detection signal of the speed detecting means, and NxL (plural) memory value groups M [0] to M [NxL
-1] and a memory value storing means (memory output value generating means) for substantially calculating a composite value calculated by using Nx memory value groups separated by L intervals of the memory means. An update storing means for updating and storing the memory value of the memory means substantially in order by the update value corresponding to the value obtained by arithmetically combining the combined value of the combined value calculating means and the rotation error of the rotation error detecting means; A high-performance motor speed control device is realized by using a compensating means (compensator) having a control signal generating means for arithmetically combining the combined value of the means and the rotation error of the rotation error detecting means to generate a control signal. is doing.
発明が解決しようとする問題点 しかしながら、特願昭60−229143号や特願昭60−229144
号で使用した補償器の構成では、多数のデジタルメモリ
を使用することが必要不可欠であり、通常、16bits×10
00words=16kbits程度のメモリが必要とされる。近年の
半導体製造技術の向上によってメモリ用のIC素子が急速
に低価格化しているとはいえ、16kbitsものメモリを使
用することはコストの大幅な上昇を招き、好ましくな
い。Problems to be Solved by the Invention However, Japanese Patent Application No. 60-229143 and Japanese Patent Application No. 60-229144
In the compensator configuration used in the issue, it is essential to use a large number of digital memories, usually 16 bits × 10
A memory of about 00 words = 16 kbits is required. Although IC devices for memories have been rapidly reduced in price due to recent improvements in semiconductor manufacturing technology, it is not preferable to use a memory of 16 kbits because the cost is significantly increased.
本発明は、このような点を考慮して、上記の例に示され
るような多くのメモリを使用する補償器について検討
し、制御性能を悪化させることなく、必要メモリ数を大
幅に削減したものである。In consideration of such a point, the present invention examined a compensator using many memories as shown in the above example, and drastically reduced the required number of memories without deteriorating the control performance. Is.
問題点を解決するための手段 本発明の補償器では、所定タイミング毎、もしくは略所
定タイミング毎にデジタル誤差を得る誤差検出手段と、
Nx・L個(ここに、Nxは1以上の整数、Lは4以上の整
数)の順序づけられたメモリ値を格納保存するメモリ手
段と、前記誤差検出手段の複数個のデジタル誤差を演算
合成した合成誤差を作り出す合成誤差作成手段と、前記
所定タイミングのQ倍(ここに、Qは2以上の整数)の
更新タイミング毎に、前記Nx・L個のメモリ値を順番に
前記合成誤差作成手段の合成誤差とメモリ出力値作成手
段のメモリ出力値を演算合成した更新値によって更新保
存する更新保存手段と、Nxが1の場合には少なくとも1
個のメモリ値を使い、Nxが2以上の場合には更新間隔が
前記更新タイミングのL倍以上離れたNx個のメモリ値群
を少なくとも1組使って、前記更新タイミングに同期し
て前記メモリ出力値を作り出す前記メモリ出力値作成手
段と、前記所定タイミング毎に前記誤差検出手段のデジ
タル誤差と前記メモリ出力値作成手段のメモリ出力値を
演算合成して制御信号を作り出す制御信号作成手段を具
備したことにより、上記の問題点を解決したものであ
る。Means for Solving the Problems In the compensator of the present invention, error detection means for obtaining a digital error at each predetermined timing or substantially every predetermined timing,
Memory means for storing and storing Nx · L pieces (where Nx is an integer of 1 or more and L is an integer of 4 or more) and a plurality of digital errors of the error detecting means are arithmetically combined. The composite error creating means for creating a composite error and the composite error creating means of the Nx · L memory values are sequentially arranged at each update timing Q times the predetermined timing (where Q is an integer of 2 or more). Update saving means for updating and saving the combined error and the memory output value of the memory output value creating means by the update value obtained by operation combining, and at least 1 if Nx is 1.
Memory values are used, and when Nx is 2 or more, at least one set of Nx memory value groups whose update interval is L times or more of the update timing is used to output the memory in synchronization with the update timing. The memory output value creating means for creating a value, and the control signal creating means for creating a control signal by arithmetically synthesizing the digital error of the error detecting means and the memory output value of the memory output value creating means at every predetermined timing are provided. This solves the above problems.
作用 本発明では、上記の構成にすることによって、例えばモ
ータの速度制御装置に応用した場合に、特願昭60−2291
43号や特願昭60−229144号に示したように、特定の周波
数の負荷トルク変動の影響を大幅に低減させることがで
きた。すなわち、少数(Q分の1)のメモリ数を使用し
て経済的に高性能な補償器を実現している。もちろん、
本発明の補償器は、モータの速度制御装置以外の多くの
制御装置に応用することは可能であり、それらにおいて
も特定の周波数における特性改善効果は得られるもので
ある。また、誤差検出手段の複数個のデジタル誤差を合
成した合成誤差を合成誤差作成手段により作成し、合成
誤差とメモリ出力値を演算合成してメモリ値を更新保存
しているので、デジタル誤差に含まれる不要なノイズ成
分によって補償器の出力(制御信号)が乱されたり、制
御系全体の動作が不安定になることを防止できる。In the present invention, by adopting the above configuration, for example, in the case of being applied to a speed control device of a motor, Japanese Patent Application No. 60-2291
As shown in Japanese Patent Application No. 43 and Japanese Patent Application No. 60-229144, it was possible to significantly reduce the influence of load torque fluctuation at a specific frequency. That is, an economically high-performance compensator is realized by using a small number (1 / Q) of the number of memories. of course,
The compensator according to the present invention can be applied to many control devices other than the motor speed control device, and the characteristic improving effect at a specific frequency can be obtained even in them. In addition, since the composite error that combines the plurality of digital errors of the error detecting means is created by the composite error creating means, and the composite error and the memory output value are arithmetically combined and the memory value is updated and stored, it is included in the digital error. It is possible to prevent the output (control signal) of the compensator from being disturbed by an unnecessary noise component that is generated or the operation of the entire control system from becoming unstable.
実施例 以下、本発明の一実施例の補償器について、図面を参照
しながら説明する。第2図に本発明の補償器を使用した
モータの速度制御装置の例を表す構成図を示す。第2図
において、直流モータ1は回転センサ2と負荷10を直接
回転駆動する。回転センサ2はモータ1の回転に伴って
1回転当たりZq回(Zqは2以上の整数であり、ビデオテ
ープレコーダのキャプスタンモータでは、通常、Zq=35
7)の交流信号aを発生する。回転センサ2の交流信号
aは速度検出器3に入力され、交流信号aの周期に応じ
たデジタル信号bを得ている。Embodiment Hereinafter, a compensator according to an embodiment of the present invention will be described with reference to the drawings. FIG. 2 is a block diagram showing an example of a motor speed control device using the compensator of the present invention. In FIG. 2, the DC motor 1 directly drives the rotation sensor 2 and the load 10 to rotate. The rotation sensor 2 is Zq times per rotation as the motor 1 rotates (Zq is an integer of 2 or more. In a capstan motor of a video tape recorder, normally, Zq = 35.
The AC signal a of 7) is generated. The AC signal a of the rotation sensor 2 is input to the speed detector 3 to obtain a digital signal b corresponding to the cycle of the AC signal a.
速度検出器3の具体的な構成例を第3図に示す。交流信
号aは波形整形回路31によって波形整形され、整形信号
gを得ている。整形信号gはアンド回路33とフリップフ
ロップ35に入力されている。アンド回路33の入力側に
は、さらに、発振回路32のクロックパルスpとカウンタ
34のオーバフロー出力信号wも入力されている。発振回
路32は水晶発振器と分周器等によって構成され、整形信
号gの周波数よりもかなり高周波のクロックパルスp
(500kHz程度)を発生している。カウンタ34は、アンド
回路33の出力パルスhの到来毎にその内容をカウントア
ップする12ビットのアップカウンタになっている。ま
た、オーバフロー出力信号wはカウンタ34のカウンタ内
容が所定値以下の時には“H"であり、カウンタ34のカウ
ント内容が所定値以上になるとwは“L"に変化する(こ
こに、“H"は高電位状態を表し、“L"は低電位状態を表
している)。データ入力型フリップフロップ35は、整形
信号gの立ち下がりエッジをトリガ信号としてデータ入
力端子に入力された“H"を取り込み、その出力Qを“H"
にする(q=“H")。また、補償器4からのリセット信
号rが“H"になると、カウンタ34とフリップフロップ35
の内部状態がリセットされる(b=“LLLLLLLLLLLL"、
w=“H"、q=“L")。FIG. 3 shows a specific configuration example of the speed detector 3. The AC signal a is waveform-shaped by the waveform shaping circuit 31 to obtain the shaped signal g. The shaping signal g is input to the AND circuit 33 and the flip-flop 35. On the input side of the AND circuit 33, the clock pulse p of the oscillation circuit 32 and the counter are further provided.
34 overflow output signals w are also input. The oscillating circuit 32 is composed of a crystal oscillator and a frequency divider, etc.
(About 500kHz) is generated. The counter 34 is a 12-bit up counter that counts up the contents of the output pulse h of the AND circuit 33 each time it arrives. The overflow output signal w is "H" when the counter content of the counter 34 is less than or equal to a predetermined value, and w changes to "L" when the count content of the counter 34 is greater than or equal to the predetermined value (here, "H"). Represents a high potential state, "L" represents a low potential state). The data input flip-flop 35 takes in "H" input to the data input terminal with the falling edge of the shaping signal g as a trigger signal, and outputs its output Q to "H".
(Q = “H”). Further, when the reset signal r from the compensator 4 becomes “H”, the counter 34 and the flip-flop 35.
The internal state of is reset (b = "LLLLLLLLLLLL",
w = “H”, q = “L”).
次に、第3図の速度検出器3の動作について説明する。
いま、カウンタ34とフリップフロップ35がリセット信号
rによってリセットされているものとする。波形整形回
路31の出力信号gが“L"から“H"に変わると、アンド回
路33の出力信号hとして発振回路32のクロックパルスp
が出力される。カウンタ34は出力信号hをカウントし、
その内部状態を変化させていく。波形整形回路31の出力
信号gが“H"から“L"に変わると、アンド回路33の出力
信号hは“L"になり、カウンタ34はその内部状態を保持
する。また、フリップフロップ35は信号gの立ち下がり
エッジによってデータ“H"を取り込み、その出力信号q
を“L"から“H"に変化させる。カウンタ34のデジタル信
号bは、回転センサ2の交流信号aの(半)周期長に比
例した値であり、モータ1の回転速度に反比例してい
る。後述の補償器4は、フリップフロップ35の出力信号
qを見て、qが“H"になるとカウンタ34のデジタル信号
bを入力し、その後にリセット信号rを所定の短時間の
間“H"にして、カウンタ34とフリップフロップ35を初期
状態にリセットし、次の速度検出動作に備えている。な
お、モータ1の回転速度が遅過ぎるときには、波形整形
回路31の出力信号gの周期が長いためにカウンタ34の内
部状態が所定値以上になり、オーバフロー出力信号wが
“H"から“L"に変わり、アンド回路33の出力信号hが
“L"になり、カウンタ34が所定の大きな値を保持するこ
ともある。Next, the operation of the speed detector 3 shown in FIG. 3 will be described.
Now, it is assumed that the counter 34 and the flip-flop 35 are reset by the reset signal r. When the output signal g of the waveform shaping circuit 31 changes from “L” to “H”, the clock pulse p of the oscillation circuit 32 is output as the output signal h of the AND circuit 33.
Is output. The counter 34 counts the output signal h,
The internal state is changed. When the output signal g of the waveform shaping circuit 31 changes from "H" to "L", the output signal h of the AND circuit 33 becomes "L", and the counter 34 holds its internal state. Further, the flip-flop 35 takes in the data “H” at the falling edge of the signal g and outputs its output signal q.
Is changed from “L” to “H”. The digital signal b of the counter 34 is a value proportional to the (half) cycle length of the AC signal a of the rotation sensor 2 and inversely proportional to the rotation speed of the motor 1. The compensator 4, which will be described later, looks at the output signal q of the flip-flop 35, inputs the digital signal b of the counter 34 when q becomes “H”, and then outputs the reset signal r to “H” for a predetermined short time. Then, the counter 34 and the flip-flop 35 are reset to the initial state to prepare for the next speed detection operation. When the rotation speed of the motor 1 is too slow, the internal state of the counter 34 exceeds a predetermined value because the cycle of the output signal g of the waveform shaping circuit 31 is long, and the overflow output signal w changes from "H" to "L". In some cases, the output signal h of the AND circuit 33 becomes "L" and the counter 34 holds a predetermined large value.
第2図の補償器4は、演算器5とメモリ6とD/A変換器
7によって構成され、速度検出器3のデジタル信号bを
後述する内蔵のプログラムによって計算加工し、制御信
号cを出力する。補償器4の制御信号cは電力増幅器8
(駆動手段)に入力され、電力増幅された駆動信号d
(制御信号cに比例した電流)がモータ1に供給され
る。従って、モータ1と回転センサ2と速度検出器3と
補償器4と電力増幅器8(駆動手段)によって速度制御
系が構成され、モータ1の回転速度が所定の値に制御さ
れる。The compensator 4 shown in FIG. 2 is composed of a computing unit 5, a memory 6 and a D / A converter 7. The digital signal b of the speed detector 3 is calculated and processed by a built-in program described later, and a control signal c is output. To do. The control signal c of the compensator 4 is the power amplifier 8
The driving signal d input to (driving means) and power-amplified
(Current proportional to the control signal c) is supplied to the motor 1. Therefore, the motor 1, the rotation sensor 2, the speed detector 3, the compensator 4, and the power amplifier 8 (driving means) constitute a speed control system, and the rotation speed of the motor 1 is controlled to a predetermined value.
補償器4のメモリ6は、所定のプログラムと定数が格納
されたロム領域(ROM:リードオンリーメモリ)と随時必
要な値を格納するラム領域(RAM:ランダムアクセスメモ
リ)に別れている。演算器5はロム領域内のプログラム
に従って所定の動作や演算を行っている。第1図にその
プログラムの具体的な一例を示す。次に、その動作につ
いて詳細に説明する。The memory 6 of the compensator 4 is divided into a ROM area (ROM: read only memory) in which a predetermined program and constants are stored and a RAM area (RAM: random access memory) in which a required value is stored at any time. The computing unit 5 performs a predetermined operation or computation according to a program in the ROM area. FIG. 1 shows a concrete example of the program. Next, the operation will be described in detail.
(1) <誤差検出手段1A> まず、演算器5は速度検出器3のフリップフロップ35の
出力信号qを入力し、信号qが“H"となるのを待ってい
る。すなわち、速度検出器3が交流信号aの(半)周期
を検出し、新しいデジタル信号bを出力するのをモニタ
している。qが“H"になると、速度検出器3のデジタル
信号bを読み込んで、デジタル信号bに対応する速度検
出器S(デジタル値)に直すと共に、リセット信号rを
所定時間“H"にして速度検出器3のカウンタ34とフリッ
プフロップ35をリセットする。所定の基準値Srefから速
度検出器Sを引いて、その値をR倍(ここに、Rは所定
の正の定数)し、モータ1の現時点での回転誤差E(デ
ジタル誤差)を計算する[E=R・(Sref−S)]。す
なわち、所定タイミング毎(速度検出器3が新しいデジ
タル信号bを出力する毎)、もしくは略所定タイミング
毎に新しいデジタル誤差Eを得ている。(1) <Error detecting means 1A> First, the arithmetic unit 5 inputs the output signal q of the flip-flop 35 of the speed detector 3 and waits for the signal q to become "H". That is, it is monitored that the speed detector 3 detects the (half) cycle of the AC signal a and outputs a new digital signal b. When q becomes "H", the digital signal b of the speed detector 3 is read and converted into the speed detector S (digital value) corresponding to the digital signal b, and the reset signal r is set to "H" for a predetermined time to speed. The counter 34 and the flip-flop 35 of the detector 3 are reset. The speed detector S is subtracted from the predetermined reference value Sref, and the value is multiplied by R (where R is a predetermined positive constant) to calculate the rotation error E (digital error) of the motor 1 at the present time [ E = R. (Sref-S)]. That is, a new digital error E is obtained at every predetermined timing (every time the speed detector 3 outputs a new digital signal b) or at almost every predetermined timing.
(2) <制御信号作成手段1B> 後述するメモリ出力値V0と現時点のデジタル誤差Eを所
定の比率D:1(ここに、Dは0.5≦D≦1なる定数で、好
ましくはD=1)にて演算合成し、制御信号値Yを計算
する(Y=E+D・V0)。制御信号値YをD/A変換器7
に出力し、Yの値に対応した直流的な電圧(制御信号)
に変換する。(2) <Control signal creating means 1B> A memory output value V0, which will be described later, and a current digital error E are set to a predetermined ratio D: 1 (where D is a constant 0.5≤D≤1, preferably D = 1). Then, the control signal value Y is calculated (Y = E + D · V0). Control signal value Y is converted to D / A converter 7
To DC voltage corresponding to Y value (control signal)
Convert to.
(3) <デジタル誤差時系列の保存1C> 後述の第1のカウント変数I1に対応したメモリ値F[I
1]に現時点の新しいデジタル誤差Eを格納保存してお
く(F[I1]=E)。(3) <Saving of digital error time series 1C> Memory value F [I corresponding to a first count variable I1 described later
The new digital error E at the present time is stored and saved in 1] (F [I1] = E).
(4) <第1のカウント手段1D> Q(ここに、Qは2以上の整数)をmod(法)として、
新しいデジタル誤差Eを得る毎に第1のカウント変数I1
をカウントアップしていく。すなわち、I1=I1+1(I1
+1を新しくI1にする)にした後に、I1=QならばI1を
0にリセットする。このような演算をするならば、I1は
0からQ−1の間の整数になる。なお、I1の初期値は0
とする。I1が0ならば(5)以降の動作を実行し、I1が
0でないならば(1)の動作に復帰する。(4) <First Counting Means 1D> Q (where Q is an integer of 2 or more) is mod (modulus),
Each time a new digital error E is obtained, the first count variable I1
Count up. That is, I1 = I1 + 1 (I1
If I1 = Q, then I1 is reset to 0. If such an operation is performed, I1 becomes an integer between 0 and Q-1. The initial value of I1 is 0
And If I1 is 0, the operation after (5) is executed, and if I1 is not 0, the operation returns to (1).
(5) <合成誤差作成手段1E> 前述のデジタル誤差時系列の保存動作によってF[m]
(m=0,1,・・・,Q−1)には連続するQ個のデジタル
誤差が保存されている。このなかのFd個(ここに、Fdは
2以上でQ以下の整数)の最新のデジタル誤差F[Q−
m](m=1,2,・・・,Fd)にそれぞれ所定の比率Bm
(m=1,2,・・・,Fd)を掛けた値を加算合成して、合
成誤差Egを作り出す。すなわち、 ここに、係数Bmには Bm=BFd−m+1(m=1,2,・・・,Fd) ……(2) なる関係がある。さらに、 に規格化している。(5) <Synthesis error creating means 1E> F [m] is generated by the above digital error time series saving operation.
Q consecutive digital errors are stored in (m = 0, 1, ..., Q-1). Of these, Fd (where Fd is an integer of 2 or more and Q or less) latest digital error F [Q-
m] (m = 1,2, ..., Fd) to a predetermined ratio Bm
A value obtained by multiplying (m = 1, 2, ..., Fd) is added and combined to generate a combined error Eg. That is, Here, the coefficient Bm has a relationship of Bm = B Fd −m + 1 (m = 1,2, ..., Fd) (2). further, Have been standardized.
(6) <第2のカウント手段1F> Nx・L(一般に、Nxは1以上の整数、Lは4以上の整
数。しかし、Nxが2以上の整数、Lが(Zq/Q)の整数倍
の整数であることが好ましいので、以後このような場合
について説明する。)をmod(法)として、第1のカウ
ント変数I1が0になる毎に(新しいデジタル誤差EをQ
個得る毎に)第2のカウント変数I2をカウントアップし
ていく。すなわち、I2=I2+1にした後に、I2=NxLな
らばI2を0にリセットする。このような演算をするなら
ば、I2は0からNxL−1の間の整数になる。なお、I2の
初期値はNxL−1とする。(6) <Second counting means 1F> Nx · L (generally, Nx is an integer of 1 or more, L is an integer of 4 or more. However, Nx is an integer of 2 or more and L is an integer multiple of (Zq / Q). Since such a case is preferable, a case where such a case will be described below) will be described as mod (modulus), and each time the first count variable I1 becomes 0 (a new digital error E is Q
The second count variable I2 is incremented each time a new number is obtained. That is, after setting I2 = I2 + 1, I2 is reset to 0 if I2 = NxL. If such an operation is performed, I2 will be an integer between 0 and NxL-1. The initial value of I2 is NxL-1.
(7) <メモリ出力値作成手段1G> 整数JをI2に等しくし(J=I2)、ラム領域内のL間隔
ずつ離れたNx個のメモリ値群M[J−nL(mod NxL)]
(n=1,・・・,Nx)を使って、次式によりメモリ出力
値X0を作り出す。(7) <Memory output value creating means 1G> The integer J is made equal to I2 (J = I2), and Nx memory value groups M [J-nL (mod NxL)] are separated by L intervals in the RAM area.
Using (n = 1, ..., Nx), a memory output value X0 is created by the following equation.
ここに、比率Wnの値は、 0<Wn<2/Nx(n=1,・・・,Nx) ……(5) であり、さらに、 と規格化している。具体的には、Nx≧2の場合に Wn=1/Nx(n=1,・・・,Nx) ……(7) にすると、(4)式はメモリ値群M[J−nL(mod Nx
L)](n=1,・・・,Nx)を単純に加算合成した後にNx
(整数)で割ることになり、演算が非常に簡単になる。 Here, the value of the ratio Wn is 0 <Wn <2 / Nx (n = 1, ..., Nx) (5), and Is standardized. Specifically, if Wn = 1 / Nx (n = 1, ..., Nx) (7) in the case of Nx ≧ 2, the equation (4) becomes the memory value group M [J−nL (mod Nx
L)] (n = 1, ..., Nx) is simply added and synthesized, and then Nx
It will be divided by (integer), which makes the calculation very simple.
(8) <更新保存手段1H> メモリ出力値V0と合成誤差Egを1:1の比率にて演算合成
して更新値を計算し、第2のカウント変数I2に対応した
ラム領域内のメモリ値M[I2]を更新し(M[I2]=Eg
+V0)、次の更新時まで格納保存する。その後に(1)
の動作に復帰する。(8) <Update storage unit 1H> The memory output value V0 and the composition error Eg are arithmetically combined at a ratio of 1: 1 to calculate the updated value, and the memory value in the RAM area corresponding to the second count variable I2. Update M [I2] (M [I2] = Eg
+ V0), Store and save until the next update. After that (1)
Return to operation.
本実施例に示した本発明の補償器を使用したモータの速
度制御装置は、第2図の負荷10の生じる負荷トルク変動
の特定の周波数成分に対して極めて強くなることは、先
願の特許(特願昭60−229143,60−229144)と同様であ
る。さらに、本実施例に示すように、誤差検出手段1Aが
新しいデジタル誤差を得る毎に制御信号作成手段1Bは新
しい制御信号を作り出すようにし、かつ、誤差検出手段
1Aが新しいデジタル誤差EをQ個得る毎に更新保存手段
1Hが1個のメモリ値を更新するようになすことにより、
更新保存手段1Hによって更新保存されるメモリ数(必要
メモリ数)がQ分の1に削減できた。このようにメモリ
数を大幅に削減しても、負荷トルク変動の特定の周波数
成分に対して極めて強くなる効果(回転速度変動が生じ
ない効果)は確保することができた。これは、Lの値を
大きくすると、上述の補償器によって改善される周波数
成分が速度検出器の検出周波数に較べてかなり低くなる
ことがわかり、複数個のデジタル誤差Eから合成誤差Eg
を作り、この合成誤差Egを使ってメモリ値を更新保存さ
せることにより、更新保存手段1Hの更新頻度をQ分の1
に少なくしても、制御系の安定性及び上述の改善効果に
悪影響を生じさせないようにできたことによるものであ
る。The speed control device for a motor using the compensator of the present invention shown in this embodiment is extremely strong against a specific frequency component of the load torque fluctuation caused by the load 10 in FIG. (Japanese Patent Application No. Sho 60-229143, 60-229144). Furthermore, as shown in the present embodiment, the control signal creating means 1B creates a new control signal each time the error detecting means 1A obtains a new digital error, and the error detecting means
Every time 1A gets Q new digital error E, update storage means
By making 1H update one memory value,
The number of memories (required memory) updated and saved by the update saving means 1H can be reduced to 1 / Q. As described above, even if the number of memories is significantly reduced, it is possible to secure the effect of being extremely strong with respect to the specific frequency component of the load torque fluctuation (the effect of not causing the rotation speed fluctuation). It can be seen that when the value of L is increased, the frequency component improved by the above-mentioned compensator becomes considerably lower than the detection frequency of the speed detector, and the composite error Eg is calculated from the plurality of digital errors E.
And the memory value is updated and saved by using this combined error Eg, so that the update frequency of the update saving means 1H is 1 / Q.
This is because the stability of the control system and the above-described improvement effect can be prevented from being adversely affected even if the amount is extremely reduced.
さらに、本実施例に示したように、連続するFd個のデジ
タル誤差を合成して合成誤差Egを求め、合成誤差Egとメ
モリ出力値V0の合成値によってメモリ値M[I2]を更新
するならば、デジタル誤差Eに含まれる不要なノイズ成
分によってフィードバック制御系の動作が不安定になる
ことを防止できることもわかった。これは、デジタル誤
差Eに含まれるかなり高周波の変動分の影響が更新保存
手段1Hのメモリ値やメモリ出力値作成手段1Gのメモリ出
力値に入り込むことを、合成誤差作成手段1Eによって防
止する効果を得ることができたからである。Further, as shown in the present embodiment, the continuous Fd digital errors are combined to obtain the combined error Eg, and the memory value M [I2] is updated by the combined value of the combined error Eg and the memory output value V 0. Then, it was also found that it is possible to prevent the operation of the feedback control system from becoming unstable due to an unnecessary noise component included in the digital error E. This is because the combined error creating unit 1E prevents the influence of a considerably high frequency fluctuation included in the digital error E from entering the memory value of the update saving unit 1H and the memory output value of the memory output value creating unit 1G. Because I was able to get it.
また、本発明の補償器を使用したモータの速度制御装置
の場合には、上述のLの値をL=(Zq/Q)・k(ここ
に、kは1以上の整数)とするならば、モータ1の1回
転周期のk倍(整数倍)の周期の負荷トルク変動による
回転速度変動を大幅に抑制する効果がある。このような
効果は、ビデオテープレコーダのキャプスタンモータの
場合、非常に好ましいものである。これについて説明す
る。キャプスタンモータの負荷は磁気テープやピンチロ
ーラであるので、負荷10の発生する負荷変動はモータ1
の回転に同期している成分(モータ1の1回転を基本周
期とした周期的な負荷変動)以外に、モータ1の回転周
波数よりも低い周波数の負荷変動成分が生じることが多
い。このような負荷変動はキャプスタンモータの回転速
度変動の原因であり、テープ速度のワウ・フラッタを生
じさせる。ところで、このような負荷変動はモータ1の
1回転の周期の整数倍の周期を持つ周期的な変動が多い
ことがわかった。従って、上述の効果によって、負荷ト
ルク変動によるモータ1の回転速度のかなり低周波の変
動分を効果的に低減できる。Further, in the case of the motor speed control device using the compensator of the present invention, if the value of L is L = (Zq / Q) · k (where k is an integer of 1 or more). The effect of significantly suppressing the rotational speed fluctuation due to the load torque fluctuation in a cycle of k times (an integer times) of one rotation cycle of the motor 1 is obtained. Such an effect is very preferable in the case of a capstan motor of a video tape recorder. This will be described. Since the load of the capstan motor is magnetic tape or pinch roller, the load fluctuation generated by the load 10 is the motor 1
In addition to the component that is synchronized with the rotation of the motor 1 (periodic load fluctuation having one rotation of the motor 1 as a basic cycle), a load fluctuation component having a frequency lower than the rotation frequency of the motor 1 often occurs. Such load fluctuations cause fluctuations in the rotational speed of the capstan motor, causing wow and flutter of the tape speed. By the way, it has been found that such load fluctuations often have periodic fluctuations having a cycle that is an integral multiple of the cycle of one rotation of the motor 1. Therefore, due to the above-mentioned effect, a considerably low frequency fluctuation of the rotation speed of the motor 1 due to the load torque fluctuation can be effectively reduced.
第4図に制御系全体の安定性を考慮にいれた本発明の補
償器4のプログラム例を示す。ここでは、更新保存手段
における更新値の計算と仕方と、メモリ出力値作成手段
におけるメモリ出力値の準備の個数と、制御信号作成手
段におけるメモリ出力値作成手段のメモリ出力値の利用
の仕方を改良している。次に、その動作について詳細に
説明する(モータの速度制御装置の全体の構成は第2図
と同じであり、説明を省略する)。FIG. 4 shows a program example of the compensator 4 of the present invention in consideration of the stability of the entire control system. Here, the calculation and method of the update value in the update storing means, the number of preparations of the memory output value in the memory output value creating means, and the method of using the memory output value of the memory output value creating means in the control signal creating means are improved. is doing. Next, the operation will be described in detail (the entire structure of the motor speed control device is the same as that in FIG. 2, and the description thereof will be omitted).
(11) <誤差検出手段4A> まず、演算器5は速度検出器3のフリップフロップ35の
出力信号qを入力し、信号qが“H"となるのを待ってい
る。すなわち、速度検出器3が交流信号aの(半)周期
を検出し、新しいデジタル信号bを出力するのをモニタ
している。qが“H"になると、速度検出器3のデジタル
信号bを読み込んで、デジタル信号bに対応する速度検
出値S(デジタル値)に直すと共に、リセット信号rを
所定時間“H"にして速度検出器3のカウンタ34とフリッ
プフロップ35をリセットする。所定の基準値Srefから速
度検出値Sを引いて、その値をR倍(ここに、Rは所定
の正の定数)し、モータ1の現時点での回転誤差E(デ
ジタル誤差)を計算する[E=R・(Sref−S)]。す
なわち、所定タイミング毎、もしくは略所定タイミング
毎に新しいデジタル誤差Eを得ている。(11) <Error detecting means 4A> First, the arithmetic unit 5 inputs the output signal q of the flip-flop 35 of the speed detector 3 and waits for the signal q to become "H". That is, it is monitored that the speed detector 3 detects the (half) cycle of the AC signal a and outputs a new digital signal b. When q becomes "H", the digital signal b of the speed detector 3 is read, the speed detection value S (digital value) corresponding to the digital signal b is read, and the reset signal r is set to "H" for a predetermined time to set the speed. The counter 34 and the flip-flop 35 of the detector 3 are reset. The speed detection value S is subtracted from the predetermined reference value Sref, and the value is multiplied by R (where R is a predetermined positive constant) to calculate the rotation error E (digital error) of the motor 1 at the present time [ E = R. (Sref-S)]. That is, a new digital error E is obtained at every predetermined timing or almost every predetermined timing.
(12) <制御信号作成手段4B> 後述するメモリ出力値V0と現時点のデジタル誤差Eを所
定の比率D:1にて演算合成し、制御信号値Yを計算する
(Y=E+D・V0)。制御信号値YをD/A変換器7に出
力し、Yの値に対応した直流的な電圧(制御信号)に変
換する。(12) <Control signal generating means 4B> A memory output value V0, which will be described later, and a current digital error E are arithmetically combined at a predetermined ratio D: 1 to calculate a control signal value Y (Y = E + D · V0). The control signal value Y is output to the D / A converter 7 and converted into a DC voltage (control signal) corresponding to the value of Y.
(13) <デジタル誤差時系列の保存4C> 後述の第1のカウント変数I1に対応したメモリ値F[I
1]に現時点の新しいデジタル誤差Eを格納保存してお
く(F[I1]=E)。(13) <Saving of digital error time series 4C> Memory value F [I corresponding to a first count variable I1 described later
The new digital error E at the present time is stored and saved in 1] (F [I1] = E).
(14) <第1のカウント手段4D> Qをmad(法)として、新しいデジタル誤差Eを得る毎
に第1のカウント変数I1をカウントアップしていく。I1
がQa(ここに、QaはQよりも小さい整数)に等しくなる
とメモリ出力値V0を後述のV[Px]に変更し、I1がQaに
等しくない場合にはこのような変更動作を行わない。こ
れにより、I1<Qaの範囲ではV0=V[Px−1](後述)
になり、I1≧Qaの範囲ではV0=V[Px]になっている。
さらに、I1が0ならば(15)以降の動作を実行し、I1が
0でないならば(11)の動作に復帰する。(14) <First Counting Means 4D> The first count variable I1 is incremented each time a new digital error E is obtained with Q as mad (modulus). I1
Becomes equal to Qa (here, Qa is an integer smaller than Q), the memory output value V0 is changed to V [Px] described later, and when I1 is not equal to Qa, such a changing operation is not performed. As a result, in the range of I1 <Qa, V0 = V [Px-1] (described later)
And V0 = V [Px] in the range of I1 ≧ Qa.
Further, if I1 is 0, the operation after (15) is executed, and if I1 is not 0, the operation returns to (11).
(15) <合成誤差作成手段4E> 前述のデジタル誤差時系列の保存動作によってF[m]
(m=0,1,・・・,Q−1)には連続するQ個のデジタル
誤差が保存されている。このなかのFd個の最新のデジタ
ル誤差F[Q−m](m=1,2,・・・,Fd)にそれぞれ
所定の比率Bm(m=1,2,・・・,Fd)を掛けた値を加算
合成して、合成誤差Egを作り出す[(1),(2),
(3)式]。(15) <Synthesis error creating means 4E> F [m] by the above-mentioned digital error time series saving operation.
Q consecutive digital errors are stored in (m = 0, 1, ..., Q-1). The latest Fd digital errors F [Q-m] (m = 1,2, ..., Fd) are multiplied by a predetermined ratio Bm (m = 1,2, ..., Fd). The added values are added and combined to create a combined error Eg [(1), (2),
Expression (3)].
(16) <第2のカウント手段4F> Nx・Lをmod(法)として、第1のカウント変数I1が0
になる毎に(新しいデジタル誤差EをQ個得る毎に)第
2のカウント変数I2をカウントアップしていく。(16) <Second Counting Means 4F> The first count variable I1 is 0 when Nx · L is mod.
The second count variable I2 is incremented every time (each time a new digital error E is obtained).
(17) <メモリ出力値作成手段4G> レジスタ変数V[m+1]の内容をV[m]に順番に転
送した後に(m=0,1,・・・,Px−1)、NxLをmodとし
て第2のカウント変数12にPx(ここに、Pxは1以上で3
以下の整数であり、Px=1が好ましい)を足した整数J
を計算する[J=I2+Px(mod NxL)]。ラム領域内の
メモリ値群M[J−nL(mod NxL)](n=1,・・・,N
x)を使って次の式によって計算される最新のメモリ出
力値をV[Px]に入れる。(17) <Memory output value creating means 4G> After transferring the contents of the register variable V [m + 1] to V [m] in order (m = 0, 1, ..., Px−1), NxL is set as mod The second count variable 12 is Px (where Px is 1 or more and 3
The integer J below, preferably Px = 1)
Is calculated [J = I2 + Px (mod NxL)]. Memory value group M [J-nL (mod NxL)] (n = 1, ..., N) in the RAM area
Put the latest memory output value calculated by the following equation using x) into V [Px].
ここに、Wnの値は(5),(6)式および(7)式を満
たしている。すなわち、V[Px]からV[0]に連続す
るPx+1個のメモリ出力値群を得る。このとき、V[P
x]を計算する時の(8)式中の整数JをJ1とし、V
[0]を計算する時の(8)式中の整数JをJ2とする
と、J1=J2+Pxの関係がある。次に、制御信号作成手段
において最初に利用されるメモリ出力値V0をV[Px−
1]にする(V0=V[Px−1])。 Here, the value of Wn satisfies the equations (5), (6) and (7). That is, a group of Px + 1 memory output values consecutive from V [Px] to V [0] is obtained. At this time, V [P
Let x be the integer J in equation (8) when calculating
When the integer J in the equation (8) when calculating [0] is J2, there is a relationship of J1 = J2 + Px. Next, the memory output value V0 used first in the control signal generating means is set to V [Px−
1] (V0 = V [Px-1]).
(18) <更新保存手段4H> レジスタ変数X[m+1]の内容をX[m]に順番に転
送した後に(m=0,1,2,・・・,2Kd−1)、X[2Kd]
(ここに、Kdは整数であり、Kd=3が好ましい)にメモ
リ出力値作成手段によって作成された古いメモリ出力値
V[0]と合成誤差Egを1:1の比率にて演算合成した合
成値を入れる(X[2Kd]=Eg+V[0])。すなわ
ち、X[2Kd]からX[0]に連続する2Kd+1個の加算
値(メモリ出力値と合成誤差の加算値)を得る。NxLをm
odとして第2のカウント変数I2からKdを引いた整数Kを
計算する[K=I2−Kd(mod NxL)]。次に、X[m]
に所定の正の比率Cm(m=0,1,・・・,2Kd)を掛けた値
を加算合成した新しい更新値を得て、ラム領域内のメモ
リ値M[K]として次の更新時まで格納保存する。すな
わち、 とする。ここに、比率Cmには次の関係がある。(18) <Update storing means 4H> After transferring the contents of the register variable X [m + 1] to X [m] in order (m = 0,1,2, ..., 2Kd-1), X [2Kd]
(Where Kd is an integer, preferably Kd = 3), the old memory output value V [0] created by the memory output value creating means and the composition error Eg are arithmetically combined at a ratio of 1: 1 Enter the value (X [2Kd] = Eg + V [0]). That is, 2Kd + 1 additional values consecutive from X [2Kd] to X [0] (addition value of memory output value and synthesis error) are obtained. NxL to m
As od, an integer K is calculated by subtracting Kd from the second count variable I2 [K = I2-Kd (mod NxL)]. Next, X [m]
And a predetermined positive ratio Cm (m = 0,1, ..., 2Kd) are added to obtain a new update value, which is used as the memory value M [K] in the RAM area at the next update. Store up to save. That is, And Here, the ratio Cm has the following relationship.
Cm=C2Kd−m(m=0,1,・・・,Kd) ……(10) その後に、(11)の動作に復帰する。Cm = C2Kd-m (m = 0,1, ..., Kd) (10) Then, the operation returns to (11).
本実施例のように、更新保存手段4Hに加重平均を取る演
算を挿入したり、制御信号作成手段4Bにおいて使用する
メモリ出力値作成手段4Gの第一のメモリ出力値V0(V
[Px])と更新保存手段4Hにおいて使用するメモリ出力
値作成手段4Gの第二のメモリ出力値V[0]の間の所定
のズレ(V[Px]がV[0]よりも進んでいる)を設け
るならば、制御系全体の動作も安定になることを確認し
た。特に、その利用タイミングに関係するPxやQaの値は
合成誤差作成手段4Eの演算項数Fdに深く関係し、(QPx
−Qa)≧(Q+Fd)/2にしたほうが良いこともわかっ
た。これは、メモリ出力値作成手段4Gの同一のメモリ出
力値(たとえば、V[0])の更新保存手段4Hにおける
利用タイミングに較べて制御信号作成手段4Bにおける利
用タイミングを、誤差検出手段4Aの検出回数に換算した
ときに、(Q+Fd)/2回以上早くすることを意味する。As in the present embodiment, the calculation for taking the weighted average is inserted into the update storage means 4H, or the first memory output value V0 (V0 of the memory output value generation means 4G used in the control signal generation means 4B is used.
[Px]) and the second memory output value V [0] of the memory output value creating means 4G used in the update storing means 4H is larger than V [0] by a predetermined deviation (V [Px]). It was confirmed that the operation of the entire control system would be stable if () was provided. In particular, the values of Px and Qa related to the use timing thereof are deeply related to the number of operation terms Fd of the composite error creating unit 4E, and (QPx
It was also found that it is better to make −Qa) ≧ (Q + Fd) / 2. This is because the use timing of the control signal producing means 4B is detected by the error detecting means 4A as compared with the use timing of the update storing means 4H of the same memory output value (for example, V [0]) of the memory output value producing means 4G. When converted to the number of times, it means (Q + Fd) / 2 or more times faster.
第5図に制御系全体の安定性を考慮にいれた本発明の補
償器4の他のプログラム例を示す。ここでは、メモリ出
力値作成手段におけるメモリ出力値の計算の仕方および
準備の個数と、制御信号作成手段におけるメモリ出力値
作成手段のメモリ出力値の利用の仕方を改良している。
次に、その動作について詳細に説明する(モータの速度
制御装置の全体の構成は第2図と同じであり、説明を省
略する)。FIG. 5 shows another program example of the compensator 4 of the present invention in consideration of the stability of the entire control system. Here, the method of calculating the memory output value in the memory output value creating means and the number of preparations, and the way of using the memory output value of the memory output value creating means in the control signal creating means are improved.
Next, the operation will be described in detail (the entire structure of the motor speed control device is the same as that in FIG. 2, and the description thereof will be omitted).
(21) <誤差検出手段5A> まず、演算器5は速度検出器3のフリップフロップ35の
出力信号qを入力し、信号qが“H"となるのを待ってい
る。すなわち、速度検出器3が交流信号aの(半)周期
を検出し、新しいデジタル信号bを出力するのをモニタ
している。qが“H"になると、速度検出器3のデジタル
信号bを読み込んで、デジタル信号bに対応する速度検
出値S(デジタル値)に直すと共に、リセット信号rを
所定時間“H"にして速度検出器3のカウンタ34とフリッ
プフロップ35をリセットする。所定の基準値Srefから速
度検出値Sを引いて、その値をR倍(ここに、Rは所定
の正の定数)し、モータ1の現時点での回転誤差E(デ
ジタル誤差)を計算する[E=R・(Sref−S)]。す
なわち、所定タイミング毎、もしくは略所定タイミング
毎に新しいデジタル誤差Eを得ている。(21) <Error detecting means 5A> First, the arithmetic unit 5 inputs the output signal q of the flip-flop 35 of the speed detector 3 and waits for the signal q to become "H". That is, it is monitored that the speed detector 3 detects the (half) cycle of the AC signal a and outputs a new digital signal b. When q becomes "H", the digital signal b of the speed detector 3 is read, the speed detection value S (digital value) corresponding to the digital signal b is read, and the reset signal r is set to "H" for a predetermined time to set the speed. The counter 34 and the flip-flop 35 of the detector 3 are reset. The speed detection value S is subtracted from the predetermined reference value Sref, and the value is multiplied by R (where R is a predetermined positive constant) to calculate the rotation error E (digital error) of the motor 1 at the present time [ E = R. (Sref-S)]. That is, a new digital error E is obtained at every predetermined timing or almost every predetermined timing.
(22) <制御信号作成手段5B> 後述するメモリ出力値V0と現時点のデジタル誤差Eを所
定の比率D:1にて演算合成し、制御信号値Yを計算する
(Y=E+D・V0)。制御信号値YをD/A変換器7に出
力し、Yの値に対応した直流的な電圧(制御信号)に変
換する。(22) <Control signal generating means 5B> The memory output value V0, which will be described later, and the current digital error E are arithmetically combined at a predetermined ratio D: 1 to calculate a control signal value Y (Y = E + DV0). The control signal value Y is output to the D / A converter 7 and converted into a DC voltage (control signal) corresponding to the value of Y.
(23) <デジタル誤差時系列の保存5C> 後述の第1のカウント変数I1に対応したメモリ値F[I
1]に現時点の新しいデジタル誤差Eを格納保存してお
く(F[I1]=E)。(23) <Saving of digital error time series 5C> Memory value F [I corresponding to a first count variable I1 described later
The new digital error E at the present time is stored and saved in 1] (F [I1] = E).
(24) <第1のカウント手段5D> Qをmod(法)として、新しいデジタル誤差Eを得る毎
に第1のカウント変数I1をカウントアップしていく。I1
がQa(ここに、QaはQよりも小さい整数)に等しくなる
とメモリ出力値V0を後述のV[Px]に変更し、I1がQaに
等しくない場合にはこのような変更動作を行わない。こ
れにより、I1<Qaの範囲ではV0=V[Px−1](後述)
になり、I1≧Qaの範囲ではV0=V[Px]になっている。
さらに、I1が0ならば(25)以降の動作を実行し、I1が
0でないならば(21)の動作に復帰する。(24) <First Counting Means 5D> The first count variable I1 is incremented each time a new digital error E is obtained with Q as a mod. I1
Becomes equal to Qa (here, Qa is an integer smaller than Q), the memory output value V0 is changed to V [Px] described later, and when I1 is not equal to Qa, such a changing operation is not performed. As a result, in the range of I1 <Qa, V0 = V [Px-1] (described later)
And V0 = V [Px] in the range of I1 ≧ Qa.
Further, if I1 is 0, the operation after (25) is executed, and if I1 is not 0, the operation returns to (21).
(25) <合成誤差作成手段5E> 前述のデジタル誤差時系列の保存動作によってF[m]
(m=0,1,・・・,Q−1)には連続するQ個のデジタル
誤差が保存されている。このなかのFd個の最新のデジタ
ル誤差F[Q−m](m=1,2,・・・,Fd)にそれぞれ
所定の比率Bm(m=1,2,・・・,Fd)を掛けた値を加算
合成して、合成誤差Egを作り出す[(1),(2),
(3)式]。(25) <Synthesis error creating means 5E> F [m] is generated by the digital error time series saving operation described above.
Q consecutive digital errors are stored in (m = 0, 1, ..., Q-1). The latest Fd digital errors F [Q-m] (m = 1,2, ..., Fd) are multiplied by a predetermined ratio Bm (m = 1,2, ..., Fd). The added values are added and combined to create a combined error Eg [(1), (2),
Expression (3)].
(26) <第2のカウント手段5F> Nx・Lをmod(法)として、第1のカウント変数I1が0
になる毎に(新しいデジタル誤差EをQ個得る毎に)第
2のカウント変数I2をカウントアップしていく。(26) <Second Counting Means 5F> The first count variable I1 is 0 when Nx · L is mod (modulus).
The second count variable I2 is incremented every time (each time a new digital error E is obtained).
(27) <メモリ出力値作成手段5G> レジスタ変数X[m+1]の内容をX[m]に順番に転
送した後に(m=0,1,2,・・・,2Kd−1)、NxLをmodと
して第2のカウント変数I2にPx+Kd(Pxは1以上で3以
下の整数であり、Kdは1以上の整数)を足した整数Jを
計算する(J=I2+Px+Qx(mod NxL)]。ラム領域内
のNx個のメモリ値群M[J−nL(mod NxL)](n=0,
・・・,Nx)を使って次式によって算出した算出値をX
[2Kd]に入れる。(27) <Memory output value creating means 5G> After transferring the contents of the register variable X [m + 1] to X [m] in order (m = 0,1,2, ..., 2Kd-1), NxL is set. As the mod, an integer J is calculated by adding Px + Kd (Px is an integer of 1 or more and 3 or less and Kd is an integer of 1 or more) to the second count variable I2 (J = I2 + Px + Qx (mod NxL)]. Memory value group M [J−nL (mod NxL)] (n = 0,
,, Nx) and the calculated value calculated by the following equation is X
Put in [2Kd].
ここに、Wnの値は(5),(6)式および(7)式を満
たしている。すなわち、X[2Kd]からX[0]に連続
する2Kd+1個の算出値(L間隔ずつ離れたNx個のメモ
リ値から求めた算出値)を得ている。次に、レジスタ変
数V[m+1]の内容をV[m]に順番に転送した後に
(m=0,1,・・・,Px−1)、X[m](m=0,1,・・
・,2Kd)に所定の正の比率Cm(m=0,1,・・・,2Kd)を
掛けた値を加算合成した最新のメモリ出力値を得て、V
[Px]に入れる。 Here, the value of Wn satisfies the equations (5), (6) and (7). That is, 2Kd + 1 calculated values (calculated values obtained from Nx memory values separated by L intervals) consecutive from X [2Kd] to X [0] are obtained. Next, after sequentially transferring the contents of the register variable V [m + 1] to V [m] (m = 0,1, ..., Px−1), X [m] (m = 0,1 ,.・
,, 2Kd) multiplied by a predetermined positive ratio Cm (m = 0,1, ..., 2Kd) to obtain the latest memory output value that is added and synthesized, and
Put it in [Px].
ここに、比率Cmには(10),(11)式の関係がある。す
なわち、V[Px]からV[0]に連続するPx+1個のメ
モリ出力値を得ている。このとき、実質的にV[Px]を
計算する時の(12)式中の整数JをJ1とし、実質的にV
[0]を計算する時の(12)式中の整数JをJ2とする
と、J1=J2+Pxの関係がある。すなわち、V[Px]とV
[0]の間には整数Pxに対応したズレがある。次に、メ
モリ出力値V0をV[Px−1]にする(V0=V[Px−
1])。 Here, the ratio Cm has a relationship of equations (10) and (11). That is, Px + 1 memory output values consecutive from V [Px] to V [0] are obtained. At this time, the integer J in the equation (12) when substantially calculating V [Px] is set to J1, and substantially V
Assuming that the integer J in the equation (12) when calculating [0] is J2, there is a relation of J1 = J2 + Px. That is, V [Px] and V
There is a gap corresponding to the integer Px between [0]. Next, the memory output value V0 is set to V [Px−1] (V0 = V [Px−
1]).
(28) <更新保存手段5H> メモリ出力値作成手段によって作成された古いメモリ出
力値V[0]と合成誤差Egを1:1の比率にて演算合成し
て更新値を計算し、第2のカウント変数I2に対応したラ
ム領域内のメモリ値M[I2]を更新し(M[I2]=Eg+
V[0])、次の更新時まで格納保存する。その後に、
(21)の動作に復帰する。(28) <Update storing means 5H> The old memory output value V [0] created by the memory output value creating means and the composition error Eg are arithmetically combined at a ratio of 1: 1 to calculate the updated value, and the second value is calculated. Update the memory value M [I2] in the RAM area corresponding to the count variable I2 of (M [I2] = Eg +
V [0]), stored and saved until the next update. After that,
Return to the operation of (21).
本実施例のように、メモリ出力値作成手段5Gに加重平均
を取る演算および複数個のメモリ出力値を準備する演算
を挿入し、制御信号作成手段5Bにおいて使用するメモリ
出力値作成手段5Gの第一のメモリ出力値V0(V[Px])
と更新保存手段5Hにおいて使用するメモリ出力値作成手
段5Gの第二のメモリ出力値V[0]の間に所定のズレ
(V[Px]がV[0]よりも進んでいる)を設けておく
と、制御系全体の動作も安定になる。この場合も、(QP
x−Qa)≧(Q+Fd)/2にするほうが良い。As in the present embodiment, the arithmetic operation for taking a weighted average and the arithmetic operation for preparing a plurality of memory output values are inserted in the memory output value creating means 5G, and the memory output value creating means 5G used in the control signal creating means 5B One memory output value V 0 (V [Px])
And a predetermined deviation (V [Px] is ahead of V [0]) between the second memory output value V [0] of the memory output value creating means 5G used in the update storage means 5H. If so, the operation of the entire control system becomes stable. Again, (QP
It is better to make x−Qa) ≧ (Q + Fd) / 2.
なお、比率WnやCmによる演算は上記の形に限られるもの
ではなく、上記のプログラムの内容を実質的に実現する
ものであればよく、各種の等価的な式変形が可能である
ことは言うまでもない。また、新しいデジタル誤差が得
られた時に、最初に制御信号作成手段による新しい制御
信号の出力動作を行い、その後に、メモリ出力値作成手
段によって次のサンプリング時点(タイミング)で使用
するメモリ出力値を計算するようになすならば、メモリ
出力値作成手段の演算時間を長くとれると共に、制御信
号の出力までの時間遅れを短くできるので、制御系の安
定性を確保し易い。The calculation by the ratio Wn and Cm is not limited to the above-mentioned form, and it is needless to say that various equivalent formula modifications are possible as long as they substantially realize the contents of the above-mentioned program. Yes. Further, when a new digital error is obtained, the control signal creating means first outputs a new control signal, and then the memory output value creating means determines the memory output value to be used at the next sampling time (timing). If the calculation is performed, the calculation time of the memory output value creating means can be lengthened and the time delay until the output of the control signal can be shortened, so that the stability of the control system can be easily ensured.
前述の各実施例では、補償器をソフトウェアプログラム
によって構成したが、本発明はそのような場合に限ら
ず、たとえばPLA(プログラマブル・ロジック・アレ
イ)等により完全なハードウェアによって構成し、前述
のプログラムによる動作と同じ動作をおこなわせるよう
にしてもよい。その他、本発明の主旨を変えずして種々
の変更が可能である。In each of the above-described embodiments, the compensator is configured by a software program, but the present invention is not limited to such a case, and is configured by complete hardware such as PLA (Programmable Logic Array), and You may make it perform the same operation as the operation by. Besides, various modifications can be made without changing the gist of the present invention.
発明の効果 本発明の補償器は、特定の複数の周波数の負荷トルク変
動の影響を大幅に低減し、かつ少数(Q分の1)のメモ
リの使用により、経済的に高性能な補償器を実現でき
る。また、誤差検出手段の複数個のデジタル誤差を合成
した合成誤差を合成誤差作成手段により作成し、合成誤
差とメモリ出力値を演算合成してメモリ値を更新保存し
ているので、デジタル誤差に含まれる不要なノイズ成分
によって補償器の出力(制御信号)が乱されたり、制御
系全体の動作が不安定になることを防止できる。従っ
て、本発明の補償器をフィードバックループ内に使用し
て制御装置を構成するならば、極めて高性能な制御特性
を有する制御装置を安価に得ることができる。たとえ
ば、ビデオテープレコーダのキャプスタンモータ用のモ
ータの速度制御装置に使用するならば、高性能なモータ
の速度制御装置を経済的に構成できる。EFFECTS OF THE INVENTION The compensator of the present invention significantly reduces the influence of load torque fluctuations at a plurality of specific frequencies, and uses a small number (1 / Q) of memory to provide an economically high-performance compensator. realizable. In addition, since the composite error that combines the plurality of digital errors of the error detecting means is created by the composite error creating means, and the composite error and the memory output value are arithmetically combined and the memory value is updated and stored, it is included in the digital error. It is possible to prevent the output (control signal) of the compensator from being disturbed by an unnecessary noise component that is generated or the operation of the entire control system from becoming unstable. Therefore, if the compensator of the present invention is used in a feedback loop to construct a control device, a control device having extremely high performance control characteristics can be obtained at low cost. For example, if it is used as a motor speed controller for a capstan motor of a video tape recorder, a high-performance motor speed controller can be economically constructed.
【図面の簡単な説明】 第1図は第2図の本発明の補償器の内蔵プログラムの一
例を表すフローチャート図、第2図は本発明の補償器を
使用したモータの速度制御装置の一例の構成を表すブロ
ック図、第3図は第2図の速度検出器の具体的な構成例
を表すブロック図、第4図は本発明の補償器の内蔵プロ
グラムの他の例を表すフローチャート図、第5図は本発
明の補償器の内蔵プログラムの他の例を表すフローチャ
ート図である。 1……モータ、2……回転センサ、3……速度検出器、
4……補償器、5……演算器、6……メモリ、7……D/
A変換器、8……電力増幅器、10……負荷、1A,4A,5A…
…誤差検出手段、1B,4B,5B……制御信号作成手段、1E,4
E,5E……合成誤差作成手段、1G,4G,5G……メモリ出力値
作成手段、1H,4H,5H……更新保存手段。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flow chart showing an example of a built-in program of the compensator of the present invention shown in FIG. 2, and FIG. 2 is an example of a motor speed control device using the compensator of the present invention. FIG. 3 is a block diagram showing the configuration, FIG. 3 is a block diagram showing a concrete configuration example of the speed detector of FIG. 2, and FIG. 4 is a flow chart diagram showing another example of a program built in the compensator of the present invention. FIG. 5 is a flow chart showing another example of the built-in program of the compensator of the present invention. 1 ... motor, 2 ... rotation sensor, 3 ... speed detector,
4 ... Compensator, 5 ... Calculator, 6 ... Memory, 7 ... D /
A converter, 8 ... Power amplifier, 10 ... Load, 1A, 4A, 5A ...
... Error detection means, 1B, 4B, 5B ... Control signal generation means, 1E, 4
E, 5E ... Composite error creation means, 1G, 4G, 5G ... Memory output value creation means, 1H, 4H, 5H ... Update storage means.
Claims (1)
ング毎にデジタル誤差を得る誤差検出手段と、Nx・L個
(ここに、Nxは1以上の整数、Lは4以上の整数)の順
序づけられたメモリ値を格納保存するメモリ手段と、前
記誤差検出手段の複数個のデジタル誤差を演算合成した
合成誤差を作り出す合成誤差作成手段と、前記所定タイ
ミングのQ倍(ここに、Qは2以上の整数)の更新タイ
ミング毎に、前記Nx・L個のメモリ値を順番に前記合成
誤差作成手段の合成誤差とメモリ出力値作成手段のメモ
リ出力値を演算合成した更新値によって更新保存する更
新保存手段と、Nxが1の場合には少なくとも1個のメモ
リ値を使い、Nxが2以上の場合には更新間隔が前記更新
タイミングのL倍以上離れたNx個のメモリ値群を少なく
とも1組使って、前記更新タイミングに同期して前記メ
モリ出力値を作り出す前記メモリ出力値作成手段と、前
記所定タイミング毎に前記誤差検出手段のデジタル誤差
と前記メモリ出力値作成手段のメモリ出力値を演算合成
して制御信号を作り出す制御信号作成手段とを具備した
補償器。1. An error detecting means for obtaining a digital error at every predetermined timing or substantially every predetermined timing, and Nx · L (where Nx is an integer of 1 or more and L is an integer of 4 or more) ordered. Memory means for storing and storing memory values, synthetic error creating means for producing a synthetic error by arithmetically synthesizing a plurality of digital errors of the error detecting means, and Q times the predetermined timing (where Q is an integer of 2 or more). ), The Nx · L memory values are sequentially updated and stored by the update value obtained by arithmetically combining the composite error of the composite error creating means and the memory output value of the memory output value creating means with each other. , Nx is 1, at least one memory value is used, and when Nx is 2 or more, at least one set of Nx memory value groups whose update interval is L times or more of the update timing is used. The above The memory output value creating means for creating the memory output value in synchronization with a new timing, and the control signal by arithmetically combining the digital error of the error detecting means and the memory output value of the memory output value creating means at every predetermined timing. And a control signal creating means for creating the compensator.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62210509A JPH0773431B2 (en) | 1987-08-25 | 1987-08-25 | Compensator |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62210509A JPH0773431B2 (en) | 1987-08-25 | 1987-08-25 | Compensator |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61052907A Division JPH0681533B2 (en) | 1986-03-11 | 1986-03-11 | Motor speed controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6380783A JPS6380783A (en) | 1988-04-11 |
| JPH0773431B2 true JPH0773431B2 (en) | 1995-08-02 |
Family
ID=16590546
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62210509A Expired - Lifetime JPH0773431B2 (en) | 1987-08-25 | 1987-08-25 | Compensator |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0773431B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005160243A (en) * | 2003-11-27 | 2005-06-16 | Matsushita Electric Ind Co Ltd | Motor control device |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4459675A (en) * | 1981-10-16 | 1984-07-10 | International Business Machines Corporation | Printer control system with error count averaging |
| JPS59124054A (en) * | 1982-12-29 | 1984-07-18 | Fujitsu Ltd | Speed controlling method of capstan motor of magnetic tape device |
| JPS60229143A (en) * | 1983-12-02 | 1985-11-14 | Mitsubishi Electric Corp | Program transfer method of computer |
| JPS62223489A (en) * | 1987-03-20 | 1987-10-01 | Hitachi Ltd | scroll compressor |
-
1987
- 1987-08-25 JP JP62210509A patent/JPH0773431B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6380783A (en) | 1988-04-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0773431B2 (en) | Compensator | |
| JPH0681536B2 (en) | Compensator | |
| JPH0681534B2 (en) | Motor speed controller | |
| JP2574235B2 (en) | Motor speed control device | |
| JPH0681533B2 (en) | Motor speed controller | |
| JPH0681535B2 (en) | Motor speed controller | |
| JPS63288301A (en) | compensator | |
| JP2666563B2 (en) | Motor speed control device | |
| JP2650251B2 (en) | Motor speed control device | |
| JPH06101949B2 (en) | Cylinder motor control device | |
| JPS62254675A (en) | Controller for cylinder motor | |
| JP2650252B2 (en) | Motor speed control device | |
| JPS6289487A (en) | Motor speed control device | |
| JPH0734667B2 (en) | Motor speed controller | |
| JPH07115786A (en) | Motor speed controller | |
| JPS63242188A (en) | Motor speed control device | |
| JPS63242189A (en) | Motor speed control device | |
| JPH06101950B2 (en) | Motor speed controller | |
| JP2819846B2 (en) | Motor speed control device | |
| JPH01129789A (en) | motor control device | |
| JPS62233089A (en) | Capstan motor control device | |
| JPS62254674A (en) | Cylinder motor control device | |
| JPS62262684A (en) | Capstan motor control device | |
| JPS61240871A (en) | Speed controller for motor | |
| JPS62233088A (en) | Controller for capstan motor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |