JP2811687B2 - Servo device - Google Patents
Servo deviceInfo
- Publication number
- JP2811687B2 JP2811687B2 JP63263202A JP26320288A JP2811687B2 JP 2811687 B2 JP2811687 B2 JP 2811687B2 JP 63263202 A JP63263202 A JP 63263202A JP 26320288 A JP26320288 A JP 26320288A JP 2811687 B2 JP2811687 B2 JP 2811687B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- counter
- phase
- signal
- adder
- 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
Links
- 238000001514 detection method Methods 0.000 claims description 42
- 238000005259 measurement Methods 0.000 claims description 41
- 238000000034 method Methods 0.000 claims description 6
- 230000002194 synthesizing effect Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 10
- 230000000694 effects Effects 0.000 description 6
- 230000007423 decrease Effects 0.000 description 3
- 230000001419 dependent effect Effects 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- WEJDYJKJPUPMLH-UHFFFAOYSA-N 1-(4-chlorophenyl)-2-methylpropan-2-amine;hydrochloride Chemical group Cl.CC(C)(N)CC1=CC=C(Cl)C=C1 WEJDYJKJPUPMLH-UHFFFAOYSA-N 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
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 servo device for a rotating body provided with a phase error detecting means and a speed error detecting means.
従来の技術 第9図は家庭用ビデオテープレコーダのサーボシステ
ムの、再生時における代表的な機能ブロック図を示した
ものである。第9図において、1は映像信号の録再用ヘ
ッドが取り付けられた回転シリンダを駆動するシリンダ
モータであり、前記回転シリンダにはその回転速度に依
存した周波数の交流信号を発生する周波数発電機2と、
1回転あたり1回の位置検出信号を発生する位置検出器
3が連結されている。前記周波数発電機2の出力信号は
FG信号増幅器4によって増幅ならびに波形整形され、そ
の出力は分周器5およびコントローラ6に供給され、前
記位置検出器3の出力はPG信号増幅器7によって増幅な
らびに波形整形され、その出力はリセット信号として前
記分周器5に供給されている。また、水晶発振子8が接
続されたクロック発生器9の出力信号は、分周器10を経
由してシリンダ位相系カウンタ11、シリンダ速度系カウ
ンタ12、キャプスタン位相系カウンタ32、キャプスタン
速度系カウンタ28にそれぞれクロックパルスとして供給
されている。2. Description of the Related Art FIG. 9 shows a typical functional block diagram at the time of reproduction of a servo system of a home video tape recorder. In FIG. 9, reference numeral 1 denotes a cylinder motor for driving a rotary cylinder on which a video signal recording / reproducing head is mounted, and the rotary cylinder has a frequency generator 2 for generating an AC signal having a frequency dependent on the rotation speed thereof. When,
A position detector 3 for generating a position detection signal once per rotation is connected. The output signal of the frequency generator 2 is
The output is supplied to a frequency divider 5 and a controller 6, and the output of the position detector 3 is amplified and shaped by a PG signal amplifier 7, and the output is used as a reset signal. The frequency is supplied to the frequency divider 5. The output signal of the clock generator 9 to which the crystal oscillator 8 is connected is passed through a frequency divider 10 to a cylinder phase counter 11, a cylinder speed counter 12, a capstan phase counter 32, and a capstan speed system. Each of the counters 28 is supplied as a clock pulse.
前記シリンダ位相系カウンタ11のビット数は16ビット
構成になっており、16ビットのシリンダ位相系ROM(読
み出し専用メモリ)13からプリセットデータが供給さ
れ、その出力はデコーダ14と10ビットのラッチ15に供給
され、前記デコーダ14の第1の出力はプリセット信号と
して前記シリンダ位相系カウンタ11に供給され、同第2
の出力は遅延回路16に供給され、前記ラッチ15の出力デ
ータは10ビットのD−Aコンバータ(ディジタル−アナ
ログ変換器)17に供給されている。なお、前記ラッチ15
には前記シリンダ位相系ROM13の16ビットの出力データ
のうちLSB(最下位ビット)を含む下位10ビットのデー
タが供給されている。The number of bits of the cylinder phase system counter 11 is 16 bits. Preset data is supplied from a 16-bit cylinder phase system ROM (read only memory) 13, and the output is supplied to a decoder 14 and a 10-bit latch 15. The first output of the decoder 14 is supplied to the cylinder phase counter 11 as a preset signal.
Is supplied to a delay circuit 16, and the output data of the latch 15 is supplied to a 10-bit DA converter (digital-analog converter) 17. The latch 15
Is supplied with lower 10 bits of data including the LSB (least significant bit) of the 16 bits output data of the cylinder phase ROM 13.
また、前記分周器5の出力はロード信号として前記ラ
ッチ15に供給され、前記コントローラ6の第1の出力は
ロード信号として8ビットのラッチ18に供給され、同第
2の出力はプリセット信号として前記シリンダ速度系カ
ウンタ12に供給されている。The output of the frequency divider 5 is supplied to the latch 15 as a load signal, the first output of the controller 6 is supplied to an 8-bit latch 18 as a load signal, and the second output is a preset signal. It is supplied to the cylinder speed system counter 12.
前記シリンダ速度系カウンタ12は12ビット構成になっ
ており、12ビットのシリンダ速度系ROM19からプリセッ
トデータが供給され、その出力データのうちLSBを含む
下位8ビットのデータが前記ラッチ18に供給され、前記
ラッチ18の出力データは8ビットのD−Aコンバータ20
に供給されている。The cylinder speed system counter 12 has a 12-bit configuration.Preset data is supplied from a 12-bit cylinder speed system ROM 19, and lower eight bits of data including LSB among the output data are supplied to the latch 18. The output data of the latch 18 is an 8-bit DA converter 20.
Is supplied to
さらに、前記D−Aコンバータ17と前記D−Aコンバ
ータ20の出力は合成回路21によって合成され、前記合成
回路21の出力信号がシリンダ駆動回路22に供給されてい
る。Further, the outputs of the DA converter 17 and the DA converter 20 are combined by a combining circuit 21, and the output signal of the combining circuit 21 is supplied to a cylinder drive circuit 22.
一方、磁気テープを走行させるためのキャプスタンモ
ータ23には周波数発電機24が連結され、前記周波数発電
機24の出力信号は、FG信号増幅器25によって増幅ならび
に波形整形されたのちにコントローラ26に供給され、前
記コントローラ26の第1の出力はロード信号として8ビ
ットのラッチ27に供給され、同第2の出力はプリセット
信号として10ビットのキャプスタン速度系カウンタ28に
供給されている。On the other hand, a frequency generator 24 is connected to a capstan motor 23 for running a magnetic tape, and an output signal of the frequency generator 24 is supplied to a controller 26 after being amplified and waveform-shaped by an FG signal amplifier 25. The first output of the controller 26 is supplied to an 8-bit latch 27 as a load signal, and the second output is supplied to a 10-bit capstan speed counter 28 as a preset signal.
また、磁気テープに一定間隔で記録されたコントロー
ル信号を再生するコントロールヘッド29の出力信号は、
コントロール信号増幅器30によって増幅ならびに波形整
形されたのち、ロード信号として10ビットのラッチ31に
供給されている。Further, the output signal of the control head 29 for reproducing the control signal recorded on the magnetic tape at regular intervals is:
After being amplified and waveform-shaped by the control signal amplifier 30, it is supplied to a 10-bit latch 31 as a load signal.
前記キャプスタン速度系カウンタ28と、15ビットのキ
ャプスタン位相系カウンタ32には前記分周器10からそれ
ぞれクロックパルスが供給されている。前記キャプスタ
ン位相系カウンタ32には前記遅延回路16からプリセート
信号が供給され、その出力データのうち、LSBを含む下
位10ビットのデータが前記ラッチ31に供給され、前記ラ
ッチ31の出力データは10ビットのD−Aコンバータ33に
供給されている。前記キャプスタン速度系カウンタ28に
は10ビットのキャプスタン速度系ROM34からプリセット
データが供給され、その出力データのうちLSBを含む下
位8ビットのデータが前記ラッチ27に供給され、前記ラ
ッチ27の出力データは8ビットのD−Aコンバータ35に
供給されている。Clock pulses are supplied from the frequency divider 10 to the capstan speed system counter 28 and the 15-bit capstan phase system counter 32, respectively. The pre-sate signal is supplied from the delay circuit 16 to the capstan phase counter 32, and of the output data, lower 10 bits including LSB are supplied to the latch 31, and the output data of the latch 31 is 10 bits. The bit is supplied to a DA converter 33. The capstan speed system counter 28 is supplied with preset data from a 10-bit capstan speed system ROM 34, and out of the output data, lower 8 bits including LSB is supplied to the latch 27, and the output of the latch 27 is output. The data is supplied to an 8-bit DA converter 35.
さらに、前記D−Aコンバータ33と前記D−Aコンバ
ータ35の出力は合成回路36によって合成され、前記合成
回路36の出力信号がキャプスタン駆動回路37に供給され
ている。Further, the outputs of the DA converter 33 and the DA converter 35 are combined by a combining circuit 36, and the output signal of the combining circuit 36 is supplied to a capstan drive circuit 37.
第9図において、シリンダモータ1に連結された周波
数発電機2は1回転あたり6サイクルの交流信号を発生
するものとし、分周器5は6分の1の分周動作を行なう
ものとする。また、NTSC仕様(日本および米国において
採用されているテレビジョン放送の規格)においてはシ
リンダモータ1の基準回転数は1800rpmであり、このと
き前記周波数発電機2の出力周波数は180Hzで、位置検
出器3の出力周波数30Hzとなる。したがって、分周器5
からは前記シリンダモータ1の回転位相に依存した位相
を有した信号が得られ、この信号が回転位相信号とな
る。また、シリンダ位相系カウンタ11には一定周波数の
クロックパルスが供給され、所定のカウント値になった
ときにデコーダ14が出力パルスを発生するから、前記デ
コーダ14の第1の出力がシリンダ位相系の基準位相信号
となり、同第2の出力がトラッキング調整のための遅延
回路16を経てキャプスタン位相系の基準位相信号とな
る。さらに、コントロールヘッド29からは磁気テープの
走行位相に依存したコントロール再生信号が得られるか
ら、コントロール信号増幅器30の出力信号がキャプスタ
ン位相系の走行位相信号となる。In FIG. 9, it is assumed that the frequency generator 2 connected to the cylinder motor 1 generates an AC signal of 6 cycles per rotation, and the frequency divider 5 performs a 1/6 frequency dividing operation. In the NTSC specification (standard of television broadcasting adopted in Japan and the United States), the reference rotation speed of the cylinder motor 1 is 1800 rpm, and at this time, the output frequency of the frequency generator 2 is 180 Hz and the position detector The output frequency of No. 3 is 30 Hz. Therefore, the frequency divider 5
A signal having a phase dependent on the rotation phase of the cylinder motor 1 is obtained from the above, and this signal becomes a rotation phase signal. Further, a clock pulse having a constant frequency is supplied to the cylinder phase system counter 11, and the decoder 14 generates an output pulse when a predetermined count value is reached, so that the first output of the decoder 14 is a cylinder phase system counter. The second output becomes a reference phase signal of a capstan phase system via a delay circuit 16 for tracking adjustment. Further, since a control reproduction signal depending on the running phase of the magnetic tape is obtained from the control head 29, the output signal of the control signal amplifier 30 becomes the running phase signal of the capstan phase system.
一方、FG信号増幅器4からは回転シリンダの回転速度
信号が得られ、FG信号増幅器25からはキャプスタンの回
転速度信号が得られる。On the other hand, a rotation speed signal of the rotary cylinder is obtained from the FG signal amplifier 4, and a rotation speed signal of the capstan is obtained from the FG signal amplifier 25.
コントローラ6は前記FG信号増幅器4の出力信号のリ
ーディングエッジ(前縁)において、まず、シリンダ速
度系カウンタ12のカウント値をラッチ18に取り込むロー
ド信号を発生し、続いて前記シリンダ速度系カウンタ12
のプリセット信号を発生する。キャプスタン速度系のコ
ントローラ26もまた前記コントローラ6と同様の動作を
行なう。したがって、シリンダ位相系のラッチ15にはシ
リンダの回転位相信号と基準位相信号の位相差の計測結
果が保持され、シリンダ速度系のラッチ18には回転速度
信号の周期の計測結果が保持され、同様にキャプスタン
位相系のラッチ31にはキャプスタンの回転位相差の計測
結果が保持され、キャプスタン速度系のラッチ27にはキ
ャプスタンの回転速度信号の周期の計測結果が保持され
る。前記ラッチ15の出力(シリンダ位相系カウンタ11の
計測出力)はD−Aコンバータ17によって直流電圧に変
換され、前記ラッチ18の出力(シリンダ速度系カウンタ
12の計測出力)はD−Aコンバータ20によって直流電圧
に変換され、これらの直流電圧は合成回路21によって合
成されてシリンダの回転誤差出力信号が作り出され、そ
の誤差出力信号によってシリンダ駆動回路22を介してシ
リンダモータ1が駆動される。At the leading edge (leading edge) of the output signal of the FG signal amplifier 4, the controller 6 first generates a load signal for taking the count value of the cylinder speed system counter 12 into the latch 18, and then generates the load signal.
Generates a preset signal. The controller 26 of the capstan speed system also performs the same operation as the controller 6. Therefore, the measurement result of the phase difference between the rotation phase signal of the cylinder and the reference phase signal is held in the cylinder phase system latch 15, and the measurement result of the cycle of the rotation speed signal is held in the cylinder speed system latch 18. The measurement result of the rotation phase difference of the capstan is held in the latch 31 of the capstan phase system, and the measurement result of the cycle of the rotation speed signal of the capstan is held in the latch 27 of the capstan speed system. The output of the latch 15 (measured output of the cylinder phase counter 11) is converted into a DC voltage by a DA converter 17, and the output of the latch 18 (cylinder speed counter
12) are converted into DC voltages by a DA converter 20, and these DC voltages are synthesized by a synthesizing circuit 21 to generate a cylinder rotation error output signal. The cylinder motor 1 is driven via the motor.
また、前記ラッチ31の出力(キャプスタン位相系カウ
ンタ32の計測出力)はD−Aコンバータ33によって直流
電圧に変換され、前記ラッチ27の出力(キャプスタン速
度系カウンタ28の計測出力)はD−Aコンバータ35によ
って直流電圧に変換され、これらの直流電圧は合成回路
36によって合成されてキャプスタンの回転誤差出力信号
が作り出され、その誤差出力信号によってキャプスタン
が駆動回路37を介してキャプスタンモータ23が駆動され
る。The output of the latch 31 (measured output of the capstan phase system counter 32) is converted into a DC voltage by a DA converter 33, and the output of the latch 27 (measured output of the capstan speed system counter 28) is converted to a DC voltage. The DC voltage is converted by the A converter 35, and these DC voltages are
A capstan rotation error output signal is created by the combination by the capstan, and the capstan motor 23 is driven by the capstan via the drive circuit 37 by the error output signal.
発明が解決しようとする課題 ところで第9図において、シリンダ位相系カウンタ1
1、シリンダ速度系カウンタ12、キャプスタン速度系カ
ウンタ28にはそれぞれ個別のROMからプリセットデータ
が供給されるが、これらのプリセットデータは主として
倍速再生用に用意されたものである。例えば、VHS方式
のNTSC仕様において記録時あるいはノーマル(+1倍
速)再生時の回転ヘッドと磁気テープの相対速度はほぼ
5.8m/secであるが、2時間モードの+9倍速で磁気テー
プを走行させると(コントローラ26によってFG信号増幅
器25の出力信号を9分の1に分周すれば、キャプスタン
モータ23は9倍の回転速度で回転するので、磁気テープ
の走行速度は9倍になる)、回転ヘッドの磁気テープ上
の走行方向と磁気テープの通常走行方向とが等しいため
に、回転ヘッドと磁気テープの相対速度は遅くなり、再
生された水平同期信号の周波数が約4.8パーセントも低
下し、逆に−9倍速で磁気テープを走行させると再生さ
れた水平同期信号の周波数が約5.4パーセントも上昇す
る。水平同期信号の周波数が大きく変化すると、テレビ
受像機の側で追従できなくなって同期が乱れてしまうの
で、相対速度が変化しないように補正する必要がある。
これを+9倍速を例にとって説明すると、相対速度を補
正するためにはシリンダ位相系カウンタ11のカウント周
波数がノーマル再生時よりも4.8パーセントだけ高くな
るようなプリセットデータを用意すればよく、また、シ
リンダ速度系カウンタ12とキャプスタン速度系カウンタ
28に供給するプリセットデータも、同期回転時に速度誤
差出力が零になるようにそれぞれ設定される。Problems to be Solved by the Invention By the way, in FIG.
1. Preset data is supplied from a separate ROM to each of the cylinder speed system counter 12 and the capstan speed system counter 28. These preset data are mainly prepared for double-speed reproduction. For example, in the NTSC specification of the VHS system, the relative speed between the rotating head and the magnetic tape during recording or normal (+ 1x speed) reproduction is almost the same.
The speed is 5.8 m / sec, but when the magnetic tape is run at +9 times the speed of the 2-hour mode (if the controller 26 divides the output signal of the FG signal amplifier 25 by 1/9, the capstan motor 23 becomes 9 times faster). The rotation speed of the magnetic tape is nine times as high as the rotation speed of the magnetic tape.) Since the running direction of the rotating head on the magnetic tape is equal to the normal running direction of the magnetic tape, the relative speed between the rotating head and the magnetic tape is , The frequency of the reproduced horizontal synchronizing signal decreases by about 4.8%, and conversely, when the magnetic tape runs at -9 times speed, the frequency of the reproduced horizontal synchronizing signal increases by about 5.4%. If the frequency of the horizontal synchronizing signal greatly changes, the TV receiver cannot follow the signal and the synchronization is disturbed. Therefore, it is necessary to correct the relative speed so as not to change.
To explain this by taking +9 times speed as an example, in order to correct the relative speed, it is sufficient to prepare preset data such that the count frequency of the cylinder phase system counter 11 becomes 4.8% higher than that during normal reproduction. Speed counter 12 and capstan speed counter
The preset data to be supplied to 28 is also set so that the speed error output becomes zero during the synchronous rotation.
このように、シリンダ位相系ROM13、シリンダ速度系R
OM19、キャプスタン速度系ROM34には必要とされる倍速
モードの種類に応じた数のデータが用意される。NTSC仕
様においては録再時間モードが、2時間モード,4時間モ
ード,6時間モードの3種類があるので、各ROMに必要な
データの数(アドレス数)はかなりのものとなる。例え
ば、各時間モードにおいて、±15倍速,±9倍速,±5
倍速,±3倍速,±2倍速,±1倍速,0倍速(停止)が
必要であるとすると、+1倍速を除いてはすべて異なっ
たプリセットデータを用意しなければならず、各ROMの
アドレス数はそれぞれ37となり、第9図に示されるよう
なシステムをLSI(大規模集積回路)化する場合には、
チップ上に占めるROM部分の面積やそれに付属するアド
レスデコーダ部分の面積がかなりの大きさになるだけで
なく、ROMデータの検査にも多くの時間を要するという
問題があった。Thus, the cylinder phase system ROM 13 and the cylinder speed system R
The OM 19 and the capstan speed ROM 34 are provided with a number of data corresponding to the type of the required double speed mode. In the NTSC specification, there are three types of recording / reproducing time modes: a 2-hour mode, a 4-hour mode, and a 6-hour mode, so that the number of data (number of addresses) required for each ROM is considerable. For example, in each time mode, ± 15 times speed, ± 9 times speed, ± 5 times speed
Assuming that double speed, ± 3 × speed, ± 2 × speed, ± 1 × speed, 0 × speed (stop) are required, different preset data must be prepared except for + 1 × speed, and the number of addresses of each ROM is required. Is 37 respectively. When a system as shown in FIG. 9 is to be made into an LSI (large-scale integrated circuit),
Not only does the area of the ROM part occupying on the chip and the area of the address decoder part attached thereto become considerably large, but there is a problem that much time is required for the inspection of the ROM data.
出願人は、先にこのような問題を解消するための具体
的な方法として、特許出願昭和59年第191020号におい
て、シリンダ位相系カウンタのためのプリセットデータ
を格納しておくメモリから、任意のビット数の上位ビッ
トデータをシリンダ速度系カウンタとキャプスタン速度
系カウンタに分配する装置を提案したが、この装置で
は、検出位相信号が到来した時点のシリンダ位相系カウ
ンタのカウント値を位相誤差データとして取り出す構成
になっているために、共通メモリからシリンダ位相系カ
ウンタにプリセットデータを供給するだけでなく、基準
位相信号を作り出すためのデコーダが必要となり、この
デコーダの設定をシステム仕様によって変更しなければ
ならないという不都合があった。As a specific method for solving such a problem, the applicant has previously disclosed in Patent Application No. 191020 in 1984 an arbitrary memory from a memory storing preset data for a cylinder phase system counter. A device that distributes the upper bit data of the number of bits to the cylinder speed counter and the capstan speed counter has been proposed.In this device, the count value of the cylinder phase counter at the time when the detected phase signal arrives is used as phase error data. Because it is configured to take out, not only the preset data is supplied from the common memory to the cylinder phase system counter, but also a decoder for creating the reference phase signal is required, and the setting of this decoder must be changed according to the system specifications. There was an inconvenience of not becoming.
例えば、NTSC仕様では、すでに述べたように定常動作
時の位置検出器3の出力周波数は30Hzであるが、欧州で
採用されているPAL仕様では位置検出器3の出力周波数
は25Hzとなり、これに伴って基準位相信号の周波数も変
わるために、NTSC用のデコーダとPAL用のデコーダを用
意する必要があった。For example, in the NTSC specification, as described above, the output frequency of the position detector 3 during steady operation is 30 Hz, but in the PAL specification adopted in Europe, the output frequency of the position detector 3 is 25 Hz. Since the frequency of the reference phase signal changes accordingly, it is necessary to prepare a decoder for NTSC and a decoder for PAL.
また、この装置では、シリンダ速度系カウンタとキャ
プスタン速度系カウンタに対して、メモリからのデータ
の上位ビッドをそのまま利用しているために、実際の仕
様(FG周波数や各カウンタのクロック周波数など)にメ
モリからの供給データを整合させるためのコントローラ
を必要とし、仕様が変更される度に、このコントローラ
の構成やカウンタへのクロック供給方法を変更する必要
があった。Also, in this device, since the higher order bits of the data from the memory are used as they are for the cylinder speed counter and the capstan speed counter, the actual specifications (FG frequency, clock frequency of each counter, etc.) Requires a controller for matching the data supplied from the memory, and every time the specification is changed, it is necessary to change the configuration of the controller and the method of supplying the clock to the counter.
したがって、本発明のサーボ装置の目的は、回転体の
回転速度の切り換えのためのデータ分配機構を従来以上
に簡略化するとともに、仕様変更に対しても柔軟に対応
できるシステムを実現することにある。Therefore, an object of the servo device of the present invention is to simplify the data distribution mechanism for switching the rotation speed of the rotating body more than before, and to realize a system that can flexibly cope with a specification change. .
さらに、本発明の目的は、回転体などから得られる位
相信号の基準位相からの偏位量もしくは位相誤差を、ソ
フトウェアを主体として計測あるいは検出することので
きる装置を実現することにある。Still another object of the present invention is to realize an apparatus capable of measuring or detecting a deviation amount or a phase error from a reference phase of a phase signal obtained from a rotating body or the like mainly by software.
また、本発明の目的は、回転体などから得られる速度
信号の基準速度からの誤差を、ソフトウェアを主体にし
て検出することのできる装置を実現することにある。Another object of the present invention is to realize an apparatus capable of detecting an error of a speed signal obtained from a rotating body or the like from a reference speed mainly by software.
課題を解決するための手段 前記した課題を解決するために本発明のサーボ装置で
は、第1の構成として、回転体の回転位相信号と基準位
相信号との位相差に応じた計測データをクロックパルス
のカウント値として出力する位相差計測手段と、前記基
準位相信号の周期を生成するための基準データを前記位
相差計測手段に供給するメモリ手段と、前記位相差計測
手段の出力データから、前記メモリ手段より供給される
基準データの2分の1の大きさのデータを減算して位相
誤差を算出する位相誤差算出手段と、前記基準データと
クロックパルスをもとにして前記回転体の回転速度信号
の繰り返し周期の基準値からの誤差を算出する速度誤差
検出手段を備え、位相誤差計測手段は、メモリ手段から
供給される基準データに等しい個数のクロックパルスを
カウントしたことを検出してカウントサイクルを更新さ
せるゼロ検出器を有し、各カウントサイクルの開始時点
から回転位相信号の到来時点までのカウント量を計測デ
ータとして出力し、速度誤差検出手段は、基準データに
1よりも小さい小数を乗じる乗算器を有し、回転速度信
号の1周期間のクロックパルスをカウントしたカウント
量と乗算器の出力データとの差データを出力する。ま
た、第2の構成として、回転体の基準位相信号を生成す
るための基準データが格納されたメモリ手段と、前記メ
モリ手段より供給される基準データの2分の1の大きさ
の半値データがプリセットされる第1のカウンタと、前
記半値データと前記基準データの最下位ビットを加算す
る加算器と、前記第1のカウンタのカウント値と前記加
算器の出力データを比較して両者が一致したときに前記
第1のカウンタをプリセットするコンパレータと、回転
体の回転位相信号の到来時点において前記第1のカウン
タのカウント値を保持する第1のラッチと、前記基準デ
ータとクロックパルスをもとにして前記回転体の回転速
度信号の繰り返し周期の基準値からの誤差を算出する速
度誤差検出手段を備えている。さらには、第3の構成と
して、回転体の基準位相信号を生成するための基準デー
タが格納されたメモリ手段と、前記メモリ手段より供給
される基準データの2分の1の大きさの半値データが符
号または論理を反転してプリセットされる第1のカウン
タと、前記第1のカウンタのカウント値と前記基準デー
タの最下位ビットを加算する加算器と、前記半値データ
と前記加算器の出力データを比較して両者が一致したと
きに前記第1のカウンタをプリセットするコンパレータ
と、回転体の回転位相信号の到来時点において前記第1
のカウンタのカウント値を保持する第1のラッチと、前
記基準データとクロックパルスをもとにして前記回転体
の回転速度信号の繰り返し周期の基準値からの誤差を算
出する速度誤差検出手段を備えている。Means for Solving the Problems In order to solve the above-mentioned problems, in a servo device of the present invention, as a first configuration, measurement data corresponding to a phase difference between a rotation phase signal of a rotating body and a reference phase signal is clock pulsed. A phase difference measuring unit that outputs the count value of the reference phase signal; a memory unit that supplies reference data for generating a cycle of the reference phase signal to the phase difference measuring unit; Phase error calculating means for calculating a phase error by subtracting half the data of the reference data supplied from the means, and a rotational speed signal of the rotator based on the reference data and a clock pulse. Speed error detecting means for calculating an error of the repetition period from the reference value, and the phase error measuring means includes clock pulses equal in number to the reference data supplied from the memory means. A zero detector for detecting that the pulse has been counted and updating the count cycle, outputting the count amount from the start of each count cycle to the arrival of the rotation phase signal as measurement data, and the speed error detection means And a multiplier for multiplying the reference data by a decimal number smaller than one, and outputs difference data between a count amount obtained by counting clock pulses during one cycle of the rotation speed signal and output data of the multiplier. Further, as a second configuration, a memory means in which reference data for generating a reference phase signal of the rotating body is stored, and half-value data having a half size of the reference data supplied from the memory means are provided. A preset first counter, an adder for adding the least significant bit of the half value data and the least significant bit of the reference data, and comparing the count value of the first counter with the output data of the adder, they match. A comparator for presetting the first counter, a first latch for holding a count value of the first counter when a rotation phase signal of a rotating body arrives, and a first latch based on the reference data and a clock pulse. Speed error detecting means for calculating an error of a repetition period of the rotation speed signal of the rotating body from a reference value. Further, as a third configuration, a memory means for storing reference data for generating a reference phase signal of the rotating body, and a half-value data having a half size of the reference data supplied from the memory means A first counter preset by inverting the sign or logic, an adder for adding the count value of the first counter and the least significant bit of the reference data, the half-value data and the output data of the adder And a comparator for presetting the first counter when the two coincide with each other, and the first counter when the rotation phase signal of the rotating body arrives.
A first latch for holding the count value of the counter of the above, and a speed error detecting means for calculating an error from a reference value of a repetition period of the rotation speed signal of the rotating body based on the reference data and the clock pulse. ing.
また、前記した課題を解決するために本発明のサーボ
装置の位相差計測手段では、クロックパルスをカウント
するカウンタと、メモリ手段から供給される基準データ
が一方の入力データとして供給される加算器と、前記加
算器の出力データを前記加算器の他方の入力データとし
て供給するレジスタと、位相信号が到来するごとに前記
カウンタのカウント値を保持するラッチと、前記レジス
タと前記ラッチの出力データの差を求める演算器と、前
記ラッチの動作タイミングの後に前記加算器に加算動作
を行なわせ、その後に前記レジスタに入力データの取り
込を行なわせる順序手段を備え、前記演算器の出力デー
タを前記位相信号の基準値からの偏位量として出力する
ように構成されている。Further, in order to solve the above-mentioned problem, in the phase difference measuring means of the servo device of the present invention, a counter for counting clock pulses, and an adder to which reference data supplied from the memory means is supplied as one input data. A register that supplies output data of the adder as the other input data of the adder, a latch that holds a count value of the counter each time a phase signal arrives, and a difference between output data of the register and the latch. And an ordering means for causing the adder to perform an addition operation after the operation timing of the latch, and then causing the register to take in input data. It is configured to output as a deviation amount from the reference value of the signal.
さらに、前記した課題を解決するために本発明のサー
ボ装置の位相誤差検出手段では、クロックパルスをカウ
ントするカウンタと、メモリ手段から供給される基準デ
ータが一方の入力データとして供給される第1の加算器
と、前記第1の加算器の出力データを前記第1の加算器
の他方の入力データとして供給するレジスタと、位相信
号が到来するごとに前記カウンタのカウント値を保持す
るラッチと、前記レジスタと前記基準データの2分の1
の大きさの半値データとを加算する第2の加算器と、前
記第2の加算器と前記ラッチの出力データの差を求める
演算器と、前記ラッチの動作タイミングの後に前記演算
器を動作させ、続いて前記第1の加算器に加算動作を行
なわせ、さらには前記レジスタに入力データの取り込を
行なわせ、その後に前記第2の加算器に加算動作を行な
わせる順序手段を備え、前記演算器の出力データを前記
位相信号の位相誤差量として出力するように構成されて
いる。Further, in order to solve the above-mentioned problem, in the phase error detecting means of the servo device of the present invention, a first counter which counts clock pulses and a reference data supplied from a memory means is supplied as one input data. An adder, a register that supplies output data of the first adder as the other input data of the first adder, a latch that holds a count value of the counter each time a phase signal arrives, Register and half of the reference data
A second adder for adding half-value data having a size of: a calculator for calculating a difference between the second adder and the output data of the latch; and operating the calculator after the operation timing of the latch. Successively causing the first adder to perform an addition operation, further causing the register to take in input data, and then causing the second adder to perform an addition operation; It is configured to output output data of the arithmetic unit as a phase error amount of the phase signal.
さらにまた、前記した課題を解決するために本発明の
サーボ装置の速度誤差検出手段では、クロックパルスを
カウントするカウンタと、速度信号が到来するごとに前
記カウンタのカウント値を保持するラッチと、前記速度
信号が到来するごとに前記ラッチの保持データが転送さ
れるレジスタと、メモリ手段から供給される基準データ
が一方の入力データとして供給され、前記レジスタの出
力が他方の入力データとして供給される加算器と、前記
加算器と前記ラッチの出力データの差を求める演算器
と、前記ラッチの動作タイミングの後に前記演算器を動
作させるとともに前記レジスタに入力データの取り込を
行なわせ、その後に前記加算器に加算動作を行なわせる
順序手段を備え、前記演算器の出力データを速度誤差量
として出力するように構成されている。Furthermore, in order to solve the above-mentioned problem, in the speed error detecting means of the servo device of the present invention, a counter for counting clock pulses, a latch for holding a count value of the counter each time a speed signal arrives, A register to which the data held by the latch is transferred each time a speed signal arrives, and an addition wherein reference data supplied from a memory means is supplied as one input data and an output of the register is supplied as the other input data. An arithmetic unit for calculating the difference between the output data of the adder and the latch; and operating the arithmetic unit after the operation timing of the latch and causing the register to take in the input data. Sequence means for causing the arithmetic unit to perform an addition operation, so that output data of the arithmetic unit is output as a speed error amount. It has been made.
作用 本発明のサーボ装置では、前記した第1の構成によっ
て、共通のメモリ手段から供給される基準データと同数
のクロックパルスをカウントする毎にカウントサイクル
をゼロ検出器で更新させて基準位相信号を生成し、回転
位相信号到来時のカウント値と基準データの2分の1の
大きさのデータとの減算から位相誤差の算出が行われる
とともに、基準データに1より小さい小数を乗じたデー
タを用いて同様に速度誤差の算出が行われる。また、前
記した第2の構成あるいは第3の構成によって、共通の
メモリから供給される基準データの2分の1の大きさの
データ(以下、半値データという)から位相系のカウン
タのプリセット値とカウント終了値の生成が行われると
ともに、速度誤差の算出が行われる。According to the servo device of the present invention, the first configuration described above updates the count cycle by the zero detector every time the same number of clock pulses as the reference data supplied from the common memory means are counted, thereby changing the reference phase signal. The phase error is calculated by subtracting the count value at the time of the arrival of the rotation phase signal and the data having a size of half of the reference data, and the data obtained by multiplying the reference data by a decimal number smaller than 1 is used. Similarly, the calculation of the speed error is performed. Further, according to the second configuration or the third configuration, the preset value of the phase-based counter is calculated from the data having a half size of the reference data (hereinafter referred to as half value data) supplied from the common memory. A count end value is generated, and a speed error is calculated.
また、本発明のサーボ装置の位相差計測手段では前記
した構成によって、ハードウェアとして用意されるカウ
ンタから得られるカウント値をもとにして、位相信号の
基準値からの偏位量が加算動作と減算動作によって求め
られる。Further, in the phase difference measuring means of the servo device according to the present invention, the deviation amount of the phase signal from the reference value is calculated based on the count value obtained from the counter prepared as hardware by the above-described operation. It is determined by a subtraction operation.
さらに、本発明のサーボ装置の位相誤差検出手段では
前記した構成によって、ハードウェアとして用意される
カウンタから得られるカウント値をもとにして、位相信
号の位相誤差量が加算動作と減算動作によって求められ
るとともに、メモリから供給される基準データから基準
位相の設定と位相誤差の算出が行なわれる。Further, in the phase error detecting means of the servo device of the present invention, the phase error amount of the phase signal is obtained by the addition operation and the subtraction operation based on the count value obtained from the counter provided as hardware. At the same time, the reference phase is set and the phase error is calculated from the reference data supplied from the memory.
さらにまた、本発明のサーボ装置の速度誤差検出手段
では前記した構成によって、ハードウェアとして用意さ
れるカウンタから得られるカウント値をもとにして、速
度信号が到来したとき、1回の加算動作のみによってた
だちに速度誤差の算出が行われる。Furthermore, in the speed error detecting means of the servo device of the present invention, according to the above-described configuration, when a speed signal arrives, only one addition operation is performed based on a count value obtained from a counter prepared as hardware. As a result, the speed error is immediately calculated.
実施例 以下、本発明の実施例について図面を参照しながら説
明する。Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例におけるサーボ装置のブロ
ック図を示したものであり、第9図と同一のブロックは
同一図番にて示されている。第1図のシステムでは、シ
リンダモータ1の回転位相信号と基準位相信号との位相
差を計測するシリンダ位相系カウンタ11には共通メモリ
38からプリセットデータが供給され、前記シリンダ位相
系カウンタ11の出力データ(カウント値)はラッチ15に
供給されるとともにゼロ検出器39にも供給されている。
前記ゼロ検出器39の出力はプリセット指令信号として前
記シリンダ位相系カウンタ11に供給されるとともに、遅
延回路16に供給されている。前記共通メモリ38のデータ
はシフタ40と補数器41を介して、半値データとされたう
えで符号が反転されて加算器42にも供給されている。ま
た、前記ラッチ15の出力データも前記加算器42に供給さ
れ、前記ゼロ検出器39の出力が加算指令信号として前記
加算器42に供給されている。FIG. 1 is a block diagram of a servo device according to an embodiment of the present invention, and the same blocks as those in FIG. 9 are indicated by the same reference numerals. In the system shown in FIG. 1, a common memory is provided in a cylinder phase system counter 11 for measuring a phase difference between a rotation phase signal of the cylinder motor 1 and a reference phase signal.
Preset data is supplied from 38, and output data (count value) of the cylinder phase system counter 11 is supplied to the latch 15 and also to the zero detector 39.
The output of the zero detector 39 is supplied to the cylinder phase counter 11 as a preset command signal, and is also supplied to the delay circuit 16. The data in the common memory 38 is converted to half-value data via a shifter 40 and a complementer 41, the sign of which is inverted, and then supplied to an adder 42. The output data of the latch 15 is also supplied to the adder 42, and the output of the zero detector 39 is supplied to the adder 42 as an addition command signal.
また、前記シリンダモータ1の回転速度信号の繰り返
し周期を計測するシリンダ速度系カウンタ12には、小数
乗算器43を介して前記共通メモリ38のデータが供給され
ている。さらに、キャプスタン速度系カウンタ28には小
数乗算器44を介して前記共通メモリ38のデータが供給さ
れている。なお、前記小数乗算器43および前記小数乗算
器44はそれぞれ、共通メモリ38の出力データに1よりも
小さい小数を乗じた結果を前記シリンダ速度系カウンタ
12および前記キャプスタ速度系カウンタ28に供給するも
のであり、一般のマイクロプロセッサが備えている乗算
機能を利用することもできる。具体的には、32ビットの
乗算結果が得られる16ビットの乗算器を使い、乗算結果
の上位16ビットのみを取り出すことによって、乗算の16
ビットデータを1よりも小さい小数として扱うことがで
きる。例えば、16進数の[2800]に[8000]を乗じた結
果は[14000000]となるが、乗算結果の上位16ビットの
みを取り出すと[1400]となり、乗数の[8000]は小数
の0.5であることになる。The data of the common memory 38 is supplied via a decimal multiplier 43 to a cylinder speed system counter 12 for measuring a repetition period of the rotation speed signal of the cylinder motor 1. Further, the data of the common memory 38 is supplied to the capstan speed system counter 28 via a decimal multiplier 44. The decimal multiplier 43 and the decimal multiplier 44 each multiply the output data of the common memory 38 by a decimal smaller than 1 by the cylinder speed system counter.
It is supplied to the counter 12 and the capster speed system counter 28, and a multiplication function provided in a general microprocessor can be used. Specifically, by using a 16-bit multiplier that can obtain a 32-bit multiplication result, extracting only the upper 16 bits of the multiplication result,
Bit data can be treated as a decimal smaller than one. For example, the result of multiplying the hexadecimal number [2800] by [8000] is [14000000], but extracting only the upper 16 bits of the multiplication result is [1400], and the multiplier [8000] is the decimal number 0.5. Will be.
さらに、前記加算器42の出力データと、前記シリンダ
速度系カウンタ12の出力が供給されるラッチ18の出力デ
ータは、ディジタルフィルタ45によって速度系と位相系
のそれぞれについてフィルタリング操作が行なわれたう
えで、合成されてD−Aコンバータ17に供給され、キャ
プスタン位相系カウンタ32の出力が供給されるラッチ31
の出力データと、前記キャプスタン速度系カウンタ28の
出力が供給されるラッチ27の出力データは、ディジタル
フィルタ46によって速度系と位相系のそれぞれについて
フィルタリング操作が行なわれたうえで、合成されてD
−Aコンバータ33に供給されている。Further, the output data of the adder 42 and the output data of the latch 18 to which the output of the cylinder speed system counter 12 is supplied are filtered by a digital filter 45 for each of the speed system and the phase system. , Which are supplied to the DA converter 17 and supplied with the output of the capstan phase counter 32.
And the output data of the latch 27 to which the output of the capstan speed system counter 28 is supplied, the digital filter 46 performs a filtering operation on each of the speed system and the phase system, and then synthesizes them into a digital signal.
-A converter 33 is supplied.
なお、第1図において、シリンダ位相系カウンタ11、
ラッチ15、ゼロ検出器39によって、シリンダの回転位相
信号と基準位相信号との位相差に応じた計測データを分
周器10から供給されるクロックパルスのカウント値とし
て出力する位相差計測ブロック100が構成され、シフタ4
0、補数器41、加算器42によって、前記位相差計測ブロ
ック100の出力データから、共通メモリ38から供給され
る基準データの半値データを減算して位相誤差を算出す
る位相誤差算出ブロック200が構成され、コントローラ
6、シリンダ速度系カウンタ12、ラッチ18、小数乗算器
43によって、共通メモリ38より供給される基準データと
分周器10から供給されるクロックパルスをもとにしてシ
リンダの回転速度信号の繰り返し周期の基準値からの誤
差を算出する速度誤差検出ブロック300が構成されてい
る。In FIG. 1, the cylinder phase system counter 11,
By the latch 15 and the zero detector 39, the phase difference measurement block 100 that outputs measurement data corresponding to the phase difference between the cylinder rotation phase signal and the reference phase signal as the count value of the clock pulse supplied from the frequency divider 10 is used. Composed of shifters 4
The phase error calculation block 200 for calculating the phase error by subtracting the half value data of the reference data supplied from the common memory 38 from the output data of the phase difference measurement block 100 by the 0, the complementer 41, and the adder 42 is configured. Controller 6, cylinder speed system counter 12, latch 18, decimal multiplier
43, a speed error detection block 300 for calculating an error from a reference value of the repetition period of the cylinder rotation speed signal based on the reference data supplied from the common memory 38 and the clock pulse supplied from the frequency divider 10. Is configured.
さて、第1図のシステムにおいてVTRが再生状態にあ
るときの動作の概要を説明するが、説明の便宜上、具体
的な数値を使用し、ここではクロック発生器9の出力周
波数はNTSC仕様における色副搬送波信号の周波数の357
9.545kHzと同じであるものとし、分周器10によって4分
の1分周された894.886kHzの信号がクロックパルスとし
てシリンダ位相系カウンタ11とキャプスタン位相系カウ
ンタ32に供給され、16分の1分周された223.722kHzの信
号がクロックパルスとしてシリンダ速度系カウンタ12と
キャプスタン速度系カウンタ28に供給されているものと
する。The operation of the system shown in FIG. 1 when the VTR is in the playback state will be briefly described. For convenience of explanation, specific numerical values are used, and here, the output frequency of the clock generator 9 is the color in the NTSC specification. 357 of the frequency of the subcarrier signal
It is assumed that the signal is the same as 9.545 kHz. The signal of 894.886 kHz, which is frequency-divided by the frequency divider 10, is supplied to the cylinder phase counter 11 and the capstan phase counter 32 as clock pulses, and It is assumed that the frequency-divided signal of 223.722 kHz is supplied to the cylinder speed counter 12 and the capstan speed counter 28 as a clock pulse.
定常回転時におけるシリンダ位相系カウンタ11のカウ
ント周期とシリンダ速度系カウンタ12のカウント周期の
比率は、シリンダFG信号とシリンダPG信号の周波数比に
等しく、第1図のシステム構成では6となり、両者のク
ロックパルスの周波数比率が4であるから、シリンダ位
相系カウンタ11とシリンダ速度系カウンタ12のカウント
周期あたりのカウント量には24倍の違いがあることにな
る。The ratio between the count period of the cylinder phase system counter 11 and the count period of the cylinder speed system counter 12 during steady rotation is equal to the frequency ratio of the cylinder FG signal and the cylinder PG signal, and is 6 in the system configuration of FIG. Since the frequency ratio of the clock pulse is 4, the count amount per count cycle of the cylinder phase counter 11 and the cylinder speed counter 12 has a difference of 24 times.
ここで、各カウンタはいずれもプリセットが行なわれ
るとその直後からカウント値を減ずる方向にダウンカウ
ントを行なうものとし、また、ゼロ検出器39はシリンダ
位相系カウンタ11のカウント値が[00……000]になっ
たときに出力を発生するものとし、シリンダ位相系カウ
ンタ11のプリセット値がNp、シリンダ速度系カウンタ12
のプリセット値をNsとする。Here, each of the counters counts down in the direction of decreasing the count value immediately after the preset is performed, and the zero detector 39 determines that the count value of the cylinder phase counter 11 is [00 ... 000]. ], An output is generated, the preset value of the cylinder phase system counter 11 is Np, and the cylinder speed system counter 12
Is set to Ns.
シリンダ位相系カウンタ11はそのカウント値が[00…
…000]になった時点で自己プリセットされるのに対し
て、シリンダ速度系カウンタ12は、定常回転時において
はそのカウント値が[00……000]付近でシリンダFG信
号のリーディングエッジが到来して再プリセットが行な
われることを考慮すると、次式が成立する。The count value of the cylinder phase counter 11 is [00 ...
… 000], the cylinder speed counter 12 is self-preset, while the count value is near [00 …… 000] during steady rotation, and the leading edge of the cylinder FG signal arrives. Considering that re-presetting is performed, the following equation is established.
すなわち、シリンダ位相系カウンタ11のためのプリセ
ットデータNpをもとにしてシリンダ速度系カウンタ12の
ためのプリセットデータNsを得るには、Npに0.0417(1/
24)を乗じればよく、具体的には、第1図の共通メモリ
38から供給されるプリセットデータNpに対して、小数乗
算器43が乗算を行なっている。 That is, to obtain the preset data Ns for the cylinder speed system counter 12 based on the preset data Np for the cylinder phase system counter 11, 0.0417 (1/1 /
24). Specifically, the common memory shown in FIG.
A decimal multiplier 43 multiplies the preset data Np supplied from 38.
また、VTRの再生時においては、キャプスタンモータ2
3はシリンダモータ1と同期して回転するから、第1図
に示したようにキャプスタン速度系カウンタ28もまた共
通メモリ38から小数乗算器44を介してプリセットデータ
の供給を受けることができ、例えば、定常回転時におけ
るキャプスタンFG信号の周波数が1080Hzであるとする
と、シリンダ位相系カウンタ11のカウント周期とキャプ
スタン速度系カウンタ28のカウント周期の比率は36とな
り、両者のクロックパルスの周波数比率が4であるか
ら、シリンダ位相系カウンタ11とキャプスタン速度系カ
ウンタ28のカウント周期あたりのカウント量には144倍
の違いがあることになり、シリンダ位相系のカウンタ11
のプリセット値をNpとキャプスタン速度系カウンタ28の
プリセット値Nqの間には次式が成立する。Also, when reproducing the VTR, the capstan motor 2
Since 3 rotates in synchronization with the cylinder motor 1, the capstan speed system counter 28 can also receive the preset data from the common memory 38 via the decimal multiplier 44 as shown in FIG. For example, assuming that the frequency of the capstan FG signal at the time of steady rotation is 1080 Hz, the ratio of the count cycle of the cylinder phase counter 11 to the count cycle of the capstan speed counter 28 is 36, and the frequency ratio of both clock pulses is Is 4, the count amount per count cycle of the cylinder phase system counter 11 and the capstan speed system counter 28 has a difference of 144 times.
The following equation is established between the preset value Np and the preset value Nq of the capstan speed system counter 28.
したがって、シリンダ位相系カウンタ11のためのプリ
セットデータNpをもとにしてキャプスタン速度系カウン
タ28のためのプリセットデータNqを得るには、第1図の
小数乗算器44においてNpに0.0069(1/144)を乗じれば
よい。 Therefore, in order to obtain the preset data Nq for the capstan speed system counter 28 based on the preset data Np for the cylinder phase system counter 11, the decimal multiplier 44 shown in FIG. 144).
さて、前記共通メモリ38から供給されるプリセットデ
ータNpはシフタ40によって右方向に論理シフトされてそ
の値が2分の1となり、さらに補数器41によって符号が
反転される。また、シリンダモータ1に連結された周波
数発電機2と位置検出器3の出力信号は、それぞれFG信
号増幅器4とPG信号増幅器7によって増幅ならびに波形
整形されて分周器5に供給される。前記分周器5からは
前記周波数発電機2の出力信号に同期した回転位相信号
が得られ、この回転位相信号のリーディングエッジにお
いてシリンダ位相系カウンタ11のカウント値がラッチ15
に保持され、この保持データは加算器42において前記補
数器41の出力データと加算される。したがって、前記加
算器42からは前記ラッチ15の保持データからプリセット
データNpの半値データを減算した結果が出力される。前
記加算器42の出力データはシリンダ位相系の誤差検出デ
ータとしてディジタルフィルタ45に供給される。Now, the preset data Np supplied from the common memory 38 is logically shifted rightward by the shifter 40 so that its value is halved, and the sign is inverted by the complementer 41. The output signals of the frequency generator 2 and the position detector 3 connected to the cylinder motor 1 are amplified and waveform-shaped by the FG signal amplifier 4 and the PG signal amplifier 7, respectively, and supplied to the frequency divider 5. From the frequency divider 5, a rotation phase signal synchronized with the output signal of the frequency generator 2 is obtained. At the leading edge of the rotation phase signal, the count value of the cylinder phase system counter 11 is latched.
, And the held data is added by the adder 42 to the output data of the complementer 41. Therefore, the adder 42 outputs a result obtained by subtracting the half value data of the preset data Np from the data held in the latch 15. The output data of the adder 42 is supplied to a digital filter 45 as cylinder phase system error detection data.
一方、前記FG信号増幅器4からの速度信号はコントロ
ーラ6に供給され、そのリーディングエッジが到来する
度にシリンダ速度系カウンタ12のカウント値がラッチ18
に保持されたうえで、前記シリンダ速度系カウンタ12の
プリセットが行なわれる。また、前記ラッチ18の出力デ
ータはシリンダ速度系の誤差検出データとしてディジタ
ルフィルタ45に供給される。On the other hand, the speed signal from the FG signal amplifier 4 is supplied to the controller 6 and the count value of the cylinder speed system counter 12 is latched every time the leading edge thereof arrives.
After that, the cylinder speed system counter 12 is preset. The output data of the latch 18 is supplied to the digital filter 45 as error detection data of the cylinder speed system.
前記ディジタルフィルタ45では、速度系と位相系のそ
れぞれの誤差検出データについてフィルタリング操作が
行なわれたうえで合成されて、D−Aコンバータ17に送
出される。前記D−Aコンバータ17では、前記ディジタ
ルフィルタからの出力データが直流電圧に変換されたう
えでシリンダ駆動回路22に送出される。これによって、
プリセットデータNpから生成される基準位相信号と分周
器5から得られる回転位相信号の位相差が180゜になる
ようにサーボ系が動作する。第2図はこれらのもようを
示した主要部の信号波形図であり、第2図Aはプリセッ
トデータNpから生成される基準位相信号(シリンダ位相
系カウンタ11のカウント値の変化の様子を示したも
の。)であり、第2図Bは分周器5から得られる回転位
相信号、第2図Cではキャプスタン速度系カウンタ28の
カウント値の変化の様子、第2図DはFG信号増幅器4か
ら得られる速度信号である。第2図からもわかるよう
に、回転位相信号のリーディングエッジの到来タイミン
グが時刻t1よりも遅れると、ラッチ15に取り込まれるカ
ウント値がプリセットデータNpの半分よりも小さくな
り、加算器42での計算結果は負の値となる。反対に、回
転位相信号のリーディングエッジの到来タイミングが時
刻t1よりも早まると、ラッチ15に取り込まれるカウント
値がプリセットデータNpの半分よりも大きくなり、加算
器42での計算結果は正の値となる。また、シリンダモー
タ1の回転速度が低下して速度信号の周期が長くなる
と、ラッチ18に取り込まれるカウント値は[000……0
0]よりも小さくなって負の値となるが、回転速度が上
昇して速度信号の周期が短くなると、ラッチ18に取り込
まれるカウント値は正の値となる。The digital filter 45 performs a filtering operation on the error detection data of the speed system and the error detection data of the phase system, synthesizes the data, and sends the resultant data to the DA converter 17. In the DA converter 17, output data from the digital filter is converted into a DC voltage and then sent to the cylinder drive circuit 22. by this,
The servo system operates so that the phase difference between the reference phase signal generated from the preset data Np and the rotation phase signal obtained from the frequency divider 5 becomes 180 °. FIG. 2 is a signal waveform diagram of a main part showing these states, and FIG. 2A is a diagram showing a state of a change in a count value of a reference phase signal (cylinder phase system counter 11) generated from preset data Np. 2B is a rotation phase signal obtained from the frequency divider 5, FIG. 2C is a view showing a change in the count value of the capstan speed system counter 28, and FIG. 2D is an FG signal amplifier. 4 is the speed signal obtained from FIG. As can be seen from FIG. 2, when the arrival timing of the leading edge of the rotation phase signal is later than the time t1, the count value taken into the latch 15 becomes smaller than half of the preset data Np, and the calculation by the adder 42 is performed. The result is negative. Conversely, when the timing of the arrival of the leading edge of the rotation phase signal is earlier than the time t1, the count value taken into the latch 15 becomes larger than half of the preset data Np, and the calculation result in the adder 42 becomes a positive value. Become. When the rotation speed of the cylinder motor 1 decreases and the period of the speed signal increases, the count value taken into the latch 18 becomes [000...
0] and becomes a negative value, but when the rotation speed increases and the period of the speed signal is shortened, the count value taken into the latch 18 becomes a positive value.
第1図の装置と第9図の装置を比較すれば明らかなよ
うに、本発明のサーボ装置では、共通のメモリから供給
される基準データから基準位相信号の生成と位相誤差の
算出が行なわれるとともに、速度誤差の算出も行なわ
れ、回転体の回転速度の切り換えのためのデータ分配機
構を従来以上に簡略化することができる。As is clear from the comparison between the apparatus shown in FIG. 1 and the apparatus shown in FIG. 9, in the servo apparatus of the present invention, a reference phase signal is generated and a phase error is calculated from reference data supplied from a common memory. At the same time, the speed error is calculated, and the data distribution mechanism for switching the rotation speed of the rotating body can be simplified as compared with the conventional case.
ところで、第1図に示した実施例では、共通メモリ38
からシリンダ速度系カウンタ12とキャプスタン速度系カ
ウンタ28にプリセットデータを分配するために、2個の
小数乗算器43,44を必要としているが、実際には第1図
のシステムをマイクロプロセッサによって実現すること
が可能であり、前記小数乗算器43,44,前記シリンダ速度
系カウンタ12,前記キャプスタン速度系カウンタ28を始
めとして、シリンダ位相系カウンタ11,キャプスタン位
相系カウンタ32やこれらに付随するコントローラなどは
すべてマイクロプロセッサに内蔵されるプログラムによ
って実現されるか、あるいはマイクロプロセッサが備え
ている固有のハードウェア(例えば、算術論理演算ユニ
ット)をプログラムによって利用することになるので、
あまり大きな負担とはならないし、仕様変更に対する柔
軟性も高くなる。By the way, in the embodiment shown in FIG.
Requires two decimal multipliers 43 and 44 to distribute the preset data to the cylinder speed counter 12 and the capstan speed counter 28, but the system of FIG. 1 is actually realized by a microprocessor. The decimal multipliers 43 and 44, the cylinder speed system counter 12, the capstan speed system counter 28, the cylinder phase system counter 11, the capstan phase system counter 32, and the accompanying Since the controller and the like are all realized by a program built in the microprocessor, or the specific hardware (for example, an arithmetic logic unit) provided in the microprocessor is used by the program,
This does not impose too much of a burden, and increases flexibility in changing specifications.
つぎに、第3図は本発明の別の実施例を示すブロック
図であり、サーボ装置の主要部である位相差計測ブロッ
ク100と位相誤差算出ブロック200ならびに速度誤差検出
ブロック300を中心にしたブロックが示されている。Next, FIG. 3 is a block diagram showing another embodiment of the present invention, which is a block centering on a phase difference measurement block 100, a phase error calculation block 200 and a speed error detection block 300 which are main parts of the servo device. It is shown.
第3図の装置では、クロックパルスをカウントする共
通カウンタ47と、前記共通カウンタ47のカウント値と共
通メモリ38から供給される基準データとを加算する加算
器48と、前記加算器48の出力が供給されるレジスタ49
と、回転位相信号が到来するごとに前記共通カウンタ47
のカウント値を保持するラッチ50と、前記レジスタ49と
前記ラッチ50の出力データの差を求める補数器51ならび
に加算器52と、前記共通カウンタ47のカウント値が前記
加算器48の出力に一致した時点で前記レジスタ49にデー
タの更新を行なわせしめるとともに前記加算器48に加算
動作を行なわせしめるコントローラ53によって位相差計
測ブロック100が構成されている。In the apparatus shown in FIG. 3, a common counter 47 for counting clock pulses, an adder 48 for adding the count value of the common counter 47 and reference data supplied from a common memory 38, and an output of the adder 48 Register 49 supplied
And the common counter 47 every time a rotation phase signal arrives.
The latch 50 that holds the count value of the register 49, the complementer 51 that determines the difference between the output data of the register 49 and the output data of the latch 50, and the adder 52, and the count value of the common counter 47 matches the output of the adder 48. A phase difference measurement block 100 is constituted by a controller 53 that causes the register 49 to update the data at the time and the adder 48 to perform the adding operation.
また、共通メモリ38から供給される基準データを右シ
フトして半値データを得るシフタ40と、前記シフタ40の
出力データと前記位相差計測ブロック100の出力データ
の差を求める補数器41ならびに加算器42によって位相誤
差算出ブロック200が構成され、前記基準データに1よ
りも小さい小数を乗じる小数乗算器43と、回転速度信号
が到来するごとに共通カウンタ47のカウンタ値を保持す
るラッチ54と、回転速度信号が到来するごとに前記ラッ
チ54の出力データを取り込むレジスタ55と、前記レジス
タ55と前記ラッチ54の出力データの差を求める補数器56
ならびに加算器57と、前記小数乗算器43と前記加算器57
の出力データの差を求める補数器58ならびに加算器59に
よって速度誤差検出ブロック300が構成されている。な
お、第3図の装置において、遅れ要素60,61,62,63,64,6
5はいずれもソフトウェアによる逐次処理のために生じ
る処理の遅れ、言い換えれば処理の手順を表したもので
ある。Further, a shifter 40 for shifting the reference data supplied from the common memory 38 to the right to obtain half value data, a complementer 41 for obtaining a difference between output data of the shifter 40 and output data of the phase difference measurement block 100, and an adder A phase error calculation block 200 is constituted by 42, a decimal multiplier 43 for multiplying the reference data by a decimal smaller than 1, a latch 54 for holding a counter value of a common counter 47 every time a rotation speed signal arrives, A register 55 for taking in output data of the latch 54 every time a speed signal arrives; a complementer 56 for finding a difference between the register 55 and the output data of the latch 54
And an adder 57, the decimal multiplier 43, and the adder 57.
A speed error detection block 300 is constituted by the complementer 58 for obtaining the difference between the output data and the adder 59. In the apparatus of FIG. 3, the delay elements 60, 61, 62, 63, 64, 6
Reference numeral 5 denotes a processing delay caused by sequential processing by software, in other words, a processing procedure.
第3図の位相差計測ブロック100と速度誤差検出ブロ
ック300の動作について説明する。まず、共通カウンタ4
7は第1図のシリンダ位相系カウンタ11あるいはシリン
ダ速度系カウンタ12とは異なり、自走型のアップカウン
タである。加算器48の出力データの初期値は不定である
が、共通カウンタ47は刻々とカウント値を更新していく
ので、そのカウント値が加算器48の出力データと等しく
なった時点でコントローラ53が加算器48に対して加算指
令信号を送出し、その時点のカウント値と共通メモリ38
からの基準データの加算が実行される。この加算結果が
コントローラ53によって共通カウンタ47のカウント値と
比較されて、両者が一致した時点で再び基準データの加
算が実行される。したがって、加算器48の出力データは
共通メモリ38から供給される基準データに等しい数値だ
け次々と増加させていくことになる。もちろん、加算器
48の出力部のビット長は有限であるので、オーバーフロ
ーが発生した時点で出力データは再び減少するが、コン
トローラ53に供給される共通カウンタ47の出力データも
前記加算器48の出力部のビット長に等しくしておくこと
によって、同じ条件で比較を行なわせることができる。The operation of the phase difference measurement block 100 and the speed error detection block 300 in FIG. 3 will be described. First, common counter 4
Reference numeral 7 denotes a self-propelled up counter which is different from the cylinder phase counter 11 or the cylinder speed counter 12 shown in FIG. Although the initial value of the output data of the adder 48 is undefined, the common counter 47 updates the count value every moment, so the controller 53 adds the count value when the count value becomes equal to the output data of the adder 48. An add command signal is sent to the device 48, and the count value at that time and the common memory 38
Is added to the reference data. The result of the addition is compared by the controller 53 with the count value of the common counter 47, and when the values match, the reference data is added again. Therefore, the output data of the adder 48 is successively increased by a numerical value equal to the reference data supplied from the common memory 38. Of course, adders
Since the bit length of the output unit 48 is finite, the output data decreases again when an overflow occurs, but the output data of the common counter 47 supplied to the controller 53 is also the bit length of the output unit of the adder 48. Can be compared under the same conditions.
一方、分周器5からの回転位相信号のリーディングエ
ッジが到来すると、ラッチ50にはその時点のカウント値
が取り込まれ、続いて、前記ラッチ50の出力データから
レジスタ49に最初に格納されているデータの減算が、補
数器57と加算器52によって行なわれる。さらに、位相誤
差算出ブロック200において、この減算結果から基準デ
ータの半値データの減算が行なわれてその結果が位相誤
差検出データとして出力されたうえで、レジスタ49に加
算器48における加算結果が転送される。前記レジスタ49
に格納されたデータは、位相検出信号の次のリーディン
グエッジが到来したときの基準位相データとして用いら
れる。On the other hand, when the leading edge of the rotation phase signal from the frequency divider 5 arrives, the count value at that time is taken into the latch 50, and subsequently, the output data of the latch 50 is first stored in the register 49. Data subtraction is performed by the complementer 57 and the adder 52. Further, in the phase error calculation block 200, the half value data of the reference data is subtracted from the subtraction result, the result is output as phase error detection data, and the addition result in the adder 48 is transferred to the register 49. You. The register 49
Is used as reference phase data when the next leading edge of the phase detection signal arrives.
第3図の装置において、回転位相信号のn回目のリー
ディングエッジが到来したときにレジスタ49に格納され
ている基準位相データをDnとし、その時点でラッチ50に
取り込まれるカウント値をCnすると、共通メモリ38から
供給される基準データNpとの間に次式が成立する。In the device shown in FIG. 3, when the n-th leading edge of the rotation phase signal arrives, the reference phase data stored in the register 49 is Dn, and the count value taken into the latch 50 at that time is Cn. The following equation holds between the reference data Np supplied from the memory 38.
Np=D(n+1)−Dn ……(3) また、加算器42の出力データPnは、 同様に、回転位相信号の(n+1)回目のリーディン
グエッジが到来したときの加算器42の出力データP(n
+1)は、 サーボ系は位相誤差データが0になるように動作する
ことを考慮すると、(3)〜(5)式から、CnとDnとの
差がNpの2分の1に等しくなり、しかも、CnとC(n+
1)の差がNpに等しくなるように制御されることにな
る。すなわち、回転位相信号と基準位相信号(共通メモ
リ38から基準データとして与えられる)との位相差が常
に180゜となるようにサーボ系が動作する。したがっ
て、第3図に示した位相差計測ブロック100もまた、第
1図の位相差計測ブロック100と同じ機能を有している
ことになる。なお、第1図の位相差計測ブロック100の
かわりに第3図の位相差計測ブロック100を用いる場合
には、遅延回路16にはコントローラ53の出力を供給すれ
ばよい。Np = D (n + 1) -Dn (3) The output data Pn of the adder 42 is Similarly, the output data P (n) of the adder 42 when the (n + 1) th leading edge of the rotation phase signal arrives
+1) Considering that the servo system operates so that the phase error data becomes 0, from the expressions (3) to (5), the difference between Cn and Dn becomes equal to one half of Np, and furthermore, Cn and C (n +
Control is performed so that the difference in 1) is equal to Np. That is, the servo system operates so that the phase difference between the rotation phase signal and the reference phase signal (given as reference data from the common memory 38) is always 180 °. Therefore, the phase difference measurement block 100 shown in FIG. 3 also has the same function as the phase difference measurement block 100 shown in FIG. When the phase difference measurement block 100 of FIG. 3 is used instead of the phase difference measurement block 100 of FIG. 1, the output of the controller 53 may be supplied to the delay circuit 16.
つぎに、第3図の速度誤差検出ブロック300の動作に
ついて説明する。FG信号増幅器4から供給される速度信
号のリーディングエッジが到来すると、その時点の共通
カウンタ47のカウント値がラッチ54に取り込まれ、続い
て、補数器56と加算器57によって、ラッチ54に取り込ま
れたカウント値とレジスタ55に格納されているデータと
の減算が行なわれ、さらに、この減算結果から小数乗算
器43の出力データの減算が行なわれる。その後にラッチ
54に格納されたカウント値がレジスタ55に転送される。
以後、速度信号のリーディングエッジが到来するごとに
同じ動作が繰り返される。したがって、加算器57から
は、速度信号のリーディングエッジから次のリーディン
グエッジまでに、共通カウンタ47によってカウントされ
るクロックパルスのカウント値が得られることになり、
加算器59からは速度誤差データが得られることになる。Next, the operation of the speed error detection block 300 in FIG. 3 will be described. When the leading edge of the speed signal supplied from the FG signal amplifier 4 arrives, the count value of the common counter 47 at that time is taken into the latch 54, and subsequently, taken into the latch 54 by the complementer 56 and the adder 57. The subtraction of the counted value and the data stored in the register 55 is performed, and the output data of the decimal multiplier 43 is subtracted from the result of the subtraction. Then latch
The count value stored in 54 is transferred to register 55.
Thereafter, the same operation is repeated every time the leading edge of the speed signal arrives. Therefore, the count value of the clock pulse counted by the common counter 47 from the leading edge of the speed signal to the next leading edge is obtained from the adder 57,
Speed error data is obtained from the adder 59.
第3図に示したサーボ装置の主要部は、ソフトウェア
による処理を多く取り入れることによって仕様変更に対
する柔軟性をより高めることを意図して、位相差計測ブ
ロック100と速度誤差検出ブロック300を構成したもの
で、両ブロックの共通カウンタ47はマイクロプロセッサ
の周辺ハードウェアとして用意されるものの、各ブロッ
ク内のそれ以外の要素はすべてソフトウェア処理によっ
て実現される。すなわち、各加算器はマイクロプロセッ
サの加算命令によって実現され、レジスタやラッチはメ
モリ操作命令もしくはレジスタ操作命令によって実現さ
れ、各補数器は符号反転命令によって単独で実現される
ほか、減算命令によって乾数器と加算器を組み合わせた
演算器が実現される。また、位相差計測ブロック100を
構成するコントローラ53はマイクロプロセッサの比較命
令を用いて実現できる。The main part of the servo device shown in FIG. 3 is composed of a phase difference measurement block 100 and a speed error detection block 300 with the intention of increasing flexibility in changing specifications by incorporating a lot of software processing. Although the common counter 47 of both blocks is prepared as peripheral hardware of the microprocessor, all other elements in each block are realized by software processing. That is, each adder is realized by an addition instruction of a microprocessor, a register and a latch are realized by a memory operation instruction or a register operation instruction, each complementer is realized by a sign inversion instruction alone, and a dry number is calculated by a subtraction instruction. An arithmetic unit in which an adder and an adder are combined is realized. Further, the controller 53 constituting the phase difference measurement block 100 can be realized by using a comparison instruction of a microprocessor.
このように、第1図および第3図に示したサーボ装置
は、シリンダモータ1の回転位相信号と基準位相信号と
の位相差に応じた計測データをクロックパルスのカウン
ト値として出力する位相差計測ブロック100と、前記基
準位相信号の周期を生成するための基準データを前記位
相差計測ブロック100に供給する共通メモリ38と、前記
位相差計測ブロック100の出力データから、前記共通メ
モリ38より供給される基準データの半値データを減算し
て位相誤差を算出する位相誤差算出ブロック200と、前
記基準データとクロックパルスをもとにして前記シリン
ダモータ1の回転速度信号の繰り返し周期の基準値から
の誤差を算出する速度誤差検出ブロック300と、前記位
相誤差算出ブロック200と前記速度誤差検出ブロック300
の出力データをディジタルフィルタ45によって合成した
得られる誤差出力信号によって前記シリンダモータ1を
駆動するシリンダ駆動回路22を備えたことを特徴とする
ものである。As described above, the servo apparatus shown in FIGS. 1 and 3 outputs the phase difference measurement data corresponding to the phase difference between the rotation phase signal of the cylinder motor 1 and the reference phase signal as the count value of the clock pulse. Block 100, a common memory 38 that supplies reference data for generating a cycle of the reference phase signal to the phase difference measurement block 100, and output data of the phase difference measurement block 100, which is supplied from the common memory 38. A phase error calculation block 200 for calculating a phase error by subtracting half value data of the reference data, and an error from a reference value of a repetition period of the rotation speed signal of the cylinder motor 1 based on the reference data and the clock pulse. Speed error detection block 300 for calculating the phase error calculation block 200 and the speed error detection block 300
And a cylinder drive circuit 22 for driving the cylinder motor 1 with an error output signal obtained by synthesizing the output data by the digital filter 45.
また、第1図に示したサーボ装置では、クロックパル
スをカウントするシリンダ位相系カウンタ11と、前記シ
リンダ位相系カウンタ11が共通メモリ38から供給される
基準データに等しい個数のクロックパルスをカウントし
たことを検出して前記シリンダ位相系カウンタ11のカウ
ントサイクルを更新させるゼロ検出器39と、各カウント
サイクルの開始時点から回転位相信号の到来時点までの
前記シリンダ位相系カウンタ11のカウント量を計測デー
タとして保持するラッチ15によって位相差計測ブロック
が構成され、前記共通メモリ38から供給される基準デー
タを右シフトして半値データを得るシフタ40と、前記シ
フタ40の出力データと前記ラッチ15の出力データの差を
求める補数器41ならびに加算器42によって位相誤差算出
ブロック200を構成し、前記基準データに1よりも小さ
い小数を乗じる小数乗算器43と、回転速度信号の1周期
間のクロックパルスもカウントするシリンダ速度系カウ
ンタ12と、前記シリンダ速度系カウンタ12のカウント量
と前記小数乗算器43の出力データとの差データを保持す
るラッチ18によって速度誤差検出ブロック300を構成し
たものである。Further, in the servo device shown in FIG. 1, the cylinder phase counter 11 for counting clock pulses and the number of clock pulses equal to the reference data supplied from the common memory 38 are counted by the cylinder phase counter 11. And a zero detector 39 for detecting and updating the count cycle of the cylinder phase system counter 11, and the count amount of the cylinder phase system counter 11 from the start of each count cycle to the arrival of the rotation phase signal as measurement data. A phase difference measurement block is configured by the latch 15 that holds the data.The shifter 40 obtains half-value data by shifting the reference data supplied from the common memory 38 to the right, and the output data of the shifter 40 and the output data of the latch 15. A phase error calculation block 200 is constituted by the complementer 41 for obtaining the difference and the adder 42, and A decimal multiplier 43 for multiplying data by a decimal number smaller than 1, a cylinder speed system counter 12 for counting clock pulses during one cycle of the rotation speed signal, a count amount of the cylinder speed system counter 12 and the decimal multiplier 43 The speed error detection block 300 is constituted by the latch 18 which holds the difference data from the output data of the speed error detector 300.
さらに、第3図に示したサーボ装置では、クロックパ
ルスをカウントとする共通カウンタ47と、前記共通カウ
ンタ47のカウント値と共通メモリ38から供給される基準
データとを加算する加算器48と、前記加算器48の出力が
供給されるレジスタ49と、回転位相信号が到来するごと
に前記共通カウンタ47のカウント値を保持するラッチ50
と、前記レジスタ49と前記ラッチ50の出力データの差を
求める補数器51ならびに加算器52と、前記共通カウンタ
47のカウント値が前記加算器48の出力に一致した時点で
前記加算器48に加算動作を行なわせしめるコントローラ
53によって位相差計測ブロック100を構成している。ま
た、共通メモリ38から供給される基準データを右シフト
して半値データを得るシフタ40と、前記シフタ40の出力
データと位相差計測ブロック100の出力データの差を求
める補数器41ならびに加算器42によって位相誤差算出ブ
ロック200を構成し、前記基準データに1よりも小さい
小数を乗じる小数乗算器43と、回転速度信号が到来する
ごとに共通カウンタ47のカウント値を保持するラッチ54
と、前記回転速度信号が到来するごとに前記ラッチ54と
出力データを取り込むレジスタ55と、前記レジスタ55と
前記ラッチ54の出力データの差を求める補数器56ならび
に加算器57と、前記小数乗算器43と前記加算器57の出力
データの差を求める補数器58ならびに加算器59によって
速度誤差検出ブロックを構成している。Further, in the servo device shown in FIG. 3, a common counter 47 for counting clock pulses, an adder 48 for adding the count value of the common counter 47 and reference data supplied from a common memory 38, A register 49 to which the output of the adder 48 is supplied, and a latch 50 for holding the count value of the common counter 47 each time a rotation phase signal arrives
A complementer 51 and an adder 52 for calculating a difference between output data of the register 49 and the latch 50, and the common counter.
A controller that causes the adder 48 to perform an addition operation when the count value of 47 matches the output of the adder 48.
53 constitutes the phase difference measurement block 100. Further, a shifter 40 for shifting the reference data supplied from the common memory 38 to the right to obtain half-value data, a complementer 41 for obtaining a difference between the output data of the shifter 40 and the output data of the phase difference measurement block 100, and an adder 42 Constitutes a phase error calculation block 200, a decimal multiplier 43 for multiplying the reference data by a decimal number smaller than 1, and a latch 54 for holding a count value of a common counter 47 every time a rotation speed signal arrives.
A register 55 for taking in the output data with the latch 54 every time the rotation speed signal arrives, a complementer 56 for obtaining a difference between the output data of the register 55 and the output data of the latch 54, an adder 57, and the decimal multiplier A speed error detection block is constituted by the complementer 58 for obtaining the difference between the output data of the adder 57 and the output data of the adder 57 and the adder 59.
つぎに、第4図は第3図の位相差計測ブロック100と
速度誤差検出ブロック300の構成をより簡略化したもの
で、クロックパルスもカウントする共通カウンタ47と、
共通メモリ38から供給される基準データが一方の入力デ
ータとして供給される加算器66と、前記加算器66の出力
データを遅延させて前記加算器66の他方の入力データと
して供給するレジスタ49と、位相信号が到来するごとに
前記共通カウンタ47のカウント値を保持するラッチ50
と、前記レジスタ49と前記ラッチ50の出力データの差を
求める補数器51ならびに加算器52によって位相差計測ブ
ロック100が構成され、前記加算器52の出力データが位
相信号の基準値からの偏位量として出力される。また、
前記位相差計測ブロック100と、共通メモリ38からの基
準データの半値データを得るシフタ40と、この半値デー
タと前記加算器52の出力データの差を求める補数器41な
らびに加算器42によって位相誤差の検出が行なわれ、前
記加算器42の出力データが位相信号の位相誤差量として
出力される。Next, FIG. 4 shows a simplified configuration of the phase difference measurement block 100 and the speed error detection block 300 of FIG. 3, and a common counter 47 for counting clock pulses,
An adder 66 to which the reference data supplied from the common memory 38 is supplied as one input data, a register 49 for delaying the output data of the adder 66 and supplying the data as the other input data of the adder 66, A latch 50 for holding the count value of the common counter 47 every time a phase signal arrives
And a complementer 51 for calculating the difference between the output data of the register 49 and the latch 50 and an adder 52 constitute a phase difference measurement block 100, and the output data of the adder 52 deviates from the reference value of the phase signal. Output as a quantity. Also,
The phase difference measurement block 100, a shifter 40 for obtaining half value data of the reference data from the common memory 38, a complementer 41 for obtaining a difference between the half value data and the output data of the adder 52, and an adder 42 for calculating a phase error. Detection is performed, and the output data of the adder 42 is output as the phase error amount of the phase signal.
第4図の装置では、共通メモリ38から基準データが供
給される加算器のもう一方の加算データがレジスタ49か
ら供給されている点に大きな特徴がある。これは、第3
図の装置において、加算器48の出力データと共通カウン
タ47のカウント値が等しくなった時点でコトローラ53が
前記加算器48に対して加算指令信号を送出し、位相信号
のリーディングエッジが到来したときに加算結果がレジ
スタ49に取り込まれる。すなわち、前記コントローラ53
が加算指令信号を送出する時点のカウント値と、前記レ
ジスタ49の入力データは等しく、この入力データは位相
検出信号のリーディングエッジが到来した時点で前記レ
ジスタ49に格納されることを着目して、カウントデータ
の代わりに前記レジスタ49の出力データを加算器66の入
力データとして供給したものである。これによって、時
事刻々とその値が変化してマイクロプロセッサにとって
は処理の負担が大きいカウントデータを監視しながらの
加算処理を行なう必要がなくなるとともに、第4図に示
したように、位相信号が到来するごとに加算器52におい
て位相の偏位量の算出処理を実行し、続けて、加算器42
において位相誤差の算出を実行し、その後に加算器66に
加算処理を行なわせたうえでレジスタ49に加算結果を取
り込ませるように構成することによって、第3図のコン
トローラ53が不要となる。なお、第1図に示したような
遅延回路が用いられる場合には、第4図のコンパレータ
71から必要な信号を供給することもできる。The apparatus shown in FIG. 4 is characterized in that the other addition data of the adder to which the reference data is supplied from the common memory 38 is supplied from a register 49. This is the third
In the device shown in the figure, when the output data of the adder 48 and the count value of the common counter 47 become equal, the controller 53 sends an addition command signal to the adder 48, and the leading edge of the phase signal arrives. Is added to the register 49. That is, the controller 53
Focusing on the fact that the count value at the time of sending the addition command signal and the input data of the register 49 are equal, and this input data is stored in the register 49 when the leading edge of the phase detection signal arrives, The output data of the register 49 is supplied as input data of the adder 66 instead of the count data. This eliminates the need to perform the addition process while monitoring the count data, which changes the value every moment and the processing load on the microprocessor is large, and, as shown in FIG. Every time the adder 52 executes a process of calculating the amount of phase deviation,
The calculation of the phase error is performed in step (1), the adder 66 performs the addition processing, and then the register 49 is fetched the addition result, whereby the controller 53 in FIG. 3 becomes unnecessary. When the delay circuit shown in FIG. 1 is used, the comparator shown in FIG.
The necessary signals can also be supplied from 71.
また、第4図に示した速度誤差検出ブロック300は、
クロックパルスをカウントする共通カウンタ47と、速度
信号が到来するごとに前記共通カウンタ47のカウント値
を保持するラッチ54と、前記速度信号が到来するごとに
前記ラッチ54の保持データが転送されるレジスタ55と、
共通メモリ38から供給される基準データが一方の入力デ
ータとして供給され、前記レジスタ55の出力が他方の入
力データとして供給される加算器68と、前記加算器と前
記ラッチの出力データの差を求める補数器69ならびに加
算器70によって構成され、前記加算器70の出力データが
速度誤差量として出力される。この構成を採ることによ
って、第3図に示した速度誤差検出ブロック300よりも
補数器の数が削減されて1個となる。The speed error detection block 300 shown in FIG.
A common counter 47 for counting clock pulses, a latch 54 for holding a count value of the common counter 47 each time a speed signal arrives, and a register to which data held in the latch 54 is transferred each time the speed signal arrives 55,
Reference data supplied from the common memory 38 is supplied as one input data, and the output of the register 55 is supplied as the other input data, and the difference between the output data of the adder and the latch is obtained. It comprises a complementer 69 and an adder 70, and the output data of the adder 70 is output as a speed error amount. By employing this configuration, the number of complementers is reduced to one as compared with the speed error detection block 300 shown in FIG.
つぎに、第5図の実施例は第4図に示した速度誤差検
出ブロック300と同様の考え方に基づいて位相誤差の検
出部を簡略化したものであり、クロックパルスをカウン
トする共通カウンタ47と、共通メモリ38から供給される
基準データが一方の入力データとして供給される加算器
66と、前記加算器66の出力データを遅延させて前記加算
器66の他方の入力データとして供給するレジスタ49と、
位相信号が到来するごとに前記共通カウンタ47のカウン
トを保持するラッチ50と、前記レジスタ49と前記基準デ
ータの半値データとを加算する加算器72と、前記加算器
72と前記ラッチ50の出力データの差を求める補数器73な
らびに加算器74を備え、前記加算器74の出力データを位
相信号の位相誤差量として出力するように構成されてい
る。Next, the embodiment of FIG. 5 simplifies the phase error detection section based on the same concept as the speed error detection block 300 shown in FIG. 4, and includes a common counter 47 for counting clock pulses. An adder in which reference data supplied from the common memory 38 is supplied as one input data
66, a register 49 that delays the output data of the adder 66 and supplies it as the other input data of the adder 66,
A latch 50 for holding the count of the common counter 47 each time a phase signal arrives, an adder 72 for adding the register 49 and half value data of the reference data, and the adder
A compensator 73 for obtaining a difference between the output data of the latch 50 and the output data of the latch 50 and an adder 74 are provided, and the output data of the adder 74 is output as a phase error amount of a phase signal.
第5図に示した装置では、第4図の装置に比べて位相
誤差検出部を構成する複数器の数が1個削減される。In the apparatus shown in FIG. 5, the number of the plurality of devices constituting the phase error detecting section is reduced by one as compared with the apparatus shown in FIG.
つぎに、第6図は本発明の別の実施例におけるサーボ
装置のブロック図であり、シリンダモータ1の基準位相
信号を生成するための基準データが格納された共通メモ
リ38と、前記共通メモリ38より供給される基準データの
半値データがプリセットされるシリンダ位相系カウンタ
11と、前記半値データと前記基準データの最下位ビット
を加算する加算器75と、前記シリンダ位相系カウンタ11
のカウント値の前記加算器75の出力データを比較して両
者が一致したときに前記シリンダ位相系カウンタ11をプ
リセットするコンパレータ76と、前記シリンダモータ1
の回転位相信号の到来時点において前記シリンダ位相系
カウンタ11のカウント値を保持する第1のラッチ15と、
前記基準データとクロックパルスをもとにして前記シリ
ンダモータの回転速度信号の繰り返し周期の基準値から
の誤差を算出する速度誤差検出ブロック300と、前記ラ
ッチ15と前記速度誤差検出ブロック300の出力データか
らの出力データをディジタルフィルタ45によって合成し
て得られる誤差出力信号によって前記シリンダモータ1
を駆動するシリンダ駆動回路22を備えている。さらに、
前記共通メモリ38から供給される基準データに1よりも
小さい小数を乗じる小数乗算器43と、前記小数乗算器43
の出力データがプリセットされ、回転速度信号の1周期
間のクロックパルスをカウントするシリンダ速度系カウ
ンタ12と、前記シリンダ速度系カウンタ12のカウント量
と前記小数乗算器43の出力データとの差データを保持す
るラッチ18によって前記速度誤差検出ブロック300が構
成されている。なお、前記共通メモリ38から前記シリン
ダ位相系カウンタ11へのプリセットデータの供給は入力
データを右方向に論理シフトするシフタ77を介して行な
われ、前記加算器76への半値データの供給はシフタ78を
介して行なわれる。また、前記シリンダ位相系カウンタ
11と前記シリンダ速度系カウンタ12はいずれもダウンカ
ウント形式のカウンタであり、このため、前記シリンダ
位相系カウンタ11のカウントデータは補数器79を介して
前記コンパレータ76に供給されている。FIG. 6 is a block diagram of a servo device according to another embodiment of the present invention. The common memory 38 stores reference data for generating a reference phase signal of the cylinder motor 1, and the common memory 38. Cylinder phase counter that presets the half value data of the reference data supplied from
11, an adder 75 for adding the least significant bit of the half value data and the reference data, and the cylinder phase counter 11
The comparator 76 compares the output data of the adder 75 with the count value of
A first latch 15 for holding the count value of the cylinder phase system counter 11 at the time of arrival of the rotation phase signal of
A speed error detection block 300 for calculating an error from a reference value of a repetition period of the rotation speed signal of the cylinder motor based on the reference data and the clock pulse; and output data of the latch 15 and the speed error detection block 300. An output signal obtained by synthesizing output data from the digital filter 45 with the digital
And a cylinder drive circuit 22 for driving the motor. further,
A decimal multiplier 43 for multiplying the reference data supplied from the common memory 38 by a decimal number smaller than 1;
Output data of the cylinder speed system counter 12 for counting clock pulses during one cycle of the rotation speed signal, and difference data between the count amount of the cylinder speed system counter 12 and the output data of the decimal multiplier 43. The speed error detection block 300 is constituted by the latch 18 held. The supply of preset data from the common memory 38 to the cylinder phase counter 11 is performed via a shifter 77 that logically shifts input data to the right, and the supply of half-value data to the adder 76 is performed by a shifter 78. Is performed via Also, the cylinder phase system counter
The counter 11 and the cylinder speed counter 12 are both down-counting counters. Therefore, the count data of the cylinder phase counter 11 is supplied to the comparator 76 via a complementer 79.
第6図に示した装置では、シリンダ位相系がカウンタ
11のプリセットデータが共通メモリ38から供給される基
準データNpの半値データとなるように構成されている。
このため、第1図の装置と同じ周波数のクロックパルス
が供給されるものとすると、シリンダ位相系カウンタ11
のカウント値が[000……00]を通り過ぎて、カウント
オーバするが、そのカウント値を補数器79によって符号
反転したデータが加算器75の出力データに等しくなった
時点で、コンパレータ76によってプリセットが行なわれ
る。前記加算器75によって半値データに基準データのLS
Bを加算しているのはシフタ77及びシフタ78におけるビ
ット落ちを補償するためである。すなわち、基準データ
Npが偶数である場合には右シフトした結果は正確に2分
の1の値となるが、奇数である場合には右シフトするこ
とによってLSBの値が失われてしまう。このため、シフ
タ77とシフタ78のいずれかの出力にLSBを加算すること
によって両出力の和が常にNpに等しくなるように構成さ
れている。In the device shown in FIG. 6, the cylinder phase system is a counter.
The eleven preset data are configured to be half value data of the reference data Np supplied from the common memory 38.
Therefore, assuming that a clock pulse having the same frequency as that of the apparatus shown in FIG.
Counts over [000... 00] and counts over. When the data whose sign is inverted by the complementer 79 becomes equal to the output data of the adder 75, the comparator 76 resets the preset value. Done. The adder 75 converts the LS of the reference data into half value data.
The reason why B is added is to compensate for dropped bits in shifter 77 and shifter 78. That is, the reference data
If Np is even, the right-shifted result is exactly half the value, but if it is odd, the LSB value is lost by right-shifting. For this reason, the LSB is added to one of the outputs of the shifter 77 and the shifter 78 so that the sum of the two outputs is always equal to Np.
第7図に本発明の別の実施例として、位相系と速度系
にアップカウント形式のカウンタを用いた構成を示す。
第7図において、シリンダ位相系カウンタ80とシリンダ
速度系カウンタ81はいずれもアップカウンタで、前記シ
リンダ位相系カウンタ80にはシフタ77と補数器82を介し
て負のプリセットデータが供給されるから、前記シリン
ダ位相系カウンタ80は[00……00]から基準データNpの
半値データを減じたカウント値からアップカウントを始
めることになり、前記シリンダ速度系カウンタ81も小数
乗算器43および補数器83を介して負のプリセットデータ
が供給される。前記シリンダ位相系カウンタ80のカウン
ト値が増加して、そのカウント値に基準データのLSBを
加算したものが基準データの半値データに等しくなる
と、すなわち、加算器84の出力データがシフタ77の出力
データに等しくなると、コンパレータ76によってプリセ
ットが行なわれる。第6図の装置ではシフタ78の出力デ
ータに基準データのLSBを加算しているが、第7図の装
置ではシリンダ位相系カウンタ80のカウント値に基準デ
ータのLSBを加算することによって同じ効果を得てい
る。FIG. 7 shows another embodiment of the present invention in which an up-counting type counter is used for the phase system and the speed system.
In FIG. 7, the cylinder phase system counter 80 and the cylinder speed system counter 81 are both up counters, and negative preset data is supplied to the cylinder phase system counter 80 via a shifter 77 and a complementer 82. The cylinder phase system counter 80 starts counting up from a count value obtained by subtracting the half value data of the reference data Np from [00... 00], and the cylinder speed system counter 81 also controls the decimal multiplier 43 and the complementer 83. Negative preset data is supplied via the terminal. When the count value of the cylinder phase-based counter 80 increases and the value obtained by adding the LSB of the reference data to the count value becomes equal to the half value data of the reference data, that is, the output data of the adder 84 becomes the output data of the shifter 77. , The comparator 76 performs a preset. In the apparatus of FIG. 6, the LSB of the reference data is added to the output data of the shifter 78. In the apparatus of FIG. 7, the same effect is obtained by adding the LSB of the reference data to the count value of the cylinder phase counter 80. It has gained.
ところで、以上に示した実施例ではいずれもデータの
符号を反転するために補数器を用いたが、装置をハード
ウェア主体で構成する場合には補数器よりもインバータ
(論理反転器)の方が構成が簡単になる。第8図に示し
た実施例では、第7図の補数器82,83の代わりにインバ
ータ85,86を用いている。By the way, in each of the embodiments described above, a complementer is used to invert the sign of data. However, when the apparatus is mainly composed of hardware, an inverter (logical inverter) is more suitable than a complementer. The configuration is simplified. In the embodiment shown in FIG. 8, inverters 85 and 86 are used instead of the complementers 82 and 83 in FIG.
このように、第7図あるいは第8図の装置では、シリ
ンダモータの基準位相信号を生成するための基準データ
が格納された共通メモリ38と、前記共通メモリ38より供
給される基準データの半値データがプリセットされるシ
リンダ位相系カウンタ80と、前記シリンダ位相系カウン
タ80のカウント値と前記基準データの最下位ビットを加
算する加算器84と、前記半値データと前記加算器84の出
力データを比較して両者が一致したときに前記シリンダ
位相系カウンタ80をプリセットするコンパレータ76と、
シリンダモータの回転位相信号の到来時点において前記
シリンダ位相系カウンタ80のカウント値を保持するラッ
チ15と、前記基準データとクロックパルスをもとにして
前記シリンダモータの回転速度信号の繰り返し周期の基
準値からの誤差を算出する速度誤差検出ブロック300
と、前記ラッチ15と前記速度誤差検出ブロック300から
の出力データをディジタルフィルタ45によって合成して
得られる誤差出力信号によって前記シリンダモータ1を
駆動するシリンダ駆動回路22を備えている。As described above, in the apparatus shown in FIG. 7 or FIG. 8, the common memory 38 storing the reference data for generating the reference phase signal of the cylinder motor and the half value data of the reference data supplied from the common memory 38 are provided. Is preset, a cylinder phase system counter 80, an adder 84 that adds the count value of the cylinder phase system counter 80 and the least significant bit of the reference data, and compares the half value data and the output data of the adder 84. A comparator 76 that presets the cylinder phase counter 80 when the two match.
A latch 15 for holding the count value of the cylinder phase counter 80 at the arrival of the rotation phase signal of the cylinder motor, and a reference value for a repetition period of the rotation speed signal of the cylinder motor based on the reference data and the clock pulse. Speed error detection block 300 for calculating the error from the speed
And a cylinder drive circuit 22 for driving the cylinder motor 1 by an error output signal obtained by combining output data from the latch 15 and the speed error detection block 300 by a digital filter 45.
また、第7図の装置では、共通メモリ38より供給され
る基準データの半値データの符号を反転してシリンダ位
相系カウンタ80にプリセットするとともに、前記基準デ
ータ1よりも小さい小数を乗じる小数乗算器43と、前記
小数乗算器43の出力データの符号を反転したデータがプ
リセットされ、回転速度信号の1周期間のクロックパル
スをカウントするシリンダ速度系カウンタ81と、前記シ
リンダ速度系カウンタ81のカウント量と前記小数上算器
43の出力データとの差データを保持するラッチ18によっ
て速度誤差検出ブロック300を構成している。In the apparatus of FIG. 7, the sign of half value data of the reference data supplied from the common memory 38 is inverted and preset to the cylinder phase counter 80, and a decimal multiplier for multiplying a decimal smaller than the reference data 1 is provided. 43, data obtained by inverting the sign of the output data of the decimal multiplier 43, and a cylinder speed counter 81 for counting clock pulses during one cycle of the rotation speed signal; and a count amount of the cylinder speed counter 81. And the decimal upper calculator
The speed error detection block 300 is constituted by the latch 18 holding the difference data from the output data of 43.
さらに、第8図の装置では、共通メモリ38より供給さ
れる基準データの半値データの論理を反転してシリンダ
位相系カウンタ80にプリセットデータとして供給すると
ともに、前記基準データに1よりも小さい小数を乗じる
小数乗算器43と、前記小数乗算器43の出力データの論理
を反転したデータがプリセットされ、回転速度信号の1
周期間のクロックパルスをカウントするシリンダ速度系
カウンタ81と、前記シリンダ速度系カウンタ81のカウン
ト量と前記小数乗算器43の出力データとの差データを保
持するラッチ18によって速度誤差検出ブロック300を構
成している。Further, in the apparatus shown in FIG. 8, the logic of the half value data of the reference data supplied from the common memory 38 is inverted and supplied as preset data to the cylinder phase counter 80, and a decimal number smaller than 1 is added to the reference data. A decimal multiplier 43 to be multiplied and data obtained by inverting the logic of the output data of the decimal multiplier 43 are preset, and the rotation speed signal 1
A speed error detection block 300 is constituted by a cylinder speed system counter 81 that counts clock pulses during a period, and a latch 18 that holds difference data between the count amount of the cylinder speed system counter 81 and the output data of the decimal multiplier 43. doing.
発明の効果 以上の説明から明らかなように、本発明のサーボ装置
は第1図および第3図に実施例を示したように、シリン
ダモータ1のような回転体の回転位相信号と基準位相信
号との位相差に応じた計測データをクロックパルスのカ
ウント値として出力する位相差計測手段(位相差計測ブ
ロック100)と、前記基準位相信号の周期を生成するた
めの基準データを前記位相差計測手段に供給するメモリ
手段(共通メモリ38)と、前記位相差計測手段の出力デ
ータから前記メモリ手段より供給される基準データの2
分の1の大きさのデータを減算して位相誤差を算出する
位相誤差算出手段(位相誤差算出ブロック200)と、前
記基準データとクロックパルスをもとにして前記回転体
の回転速度信号の繰り返し周期の基準値からの誤差を算
出する速度誤差検出手段(速度誤差検出ブロック300)
と、前記位相誤差算出手段と前記速度誤差検出手段の出
力データを合成して得られる誤差出力信号によって前記
回転体を駆動する駆動手段(シリンダ駆動回路22)を備
えたことを特徴とするものであり、従来のシリンダ位相
系カウンタ(ダウンカウンタ)のリセットを行うために
機器の仕様毎のリセット値(0値を通り過ぎた所定の
値)で設計していたデコーダを不要にして、共通のメモ
リから供給される基準データと同数のクロックパルスの
カウントサイクルを有する基準位相信号を生成するよう
にし、さらに、位相誤差の検出を0値を基準にしなくと
も、基準データの半値データとの差をとることで位相誤
差検出を可能とし、また、従来の速度系カウンタで、共
通のメモリからデータの上位ビットをそのまま利用する
ために仕様毎に比率を整合させる様に設計していたコン
トローラ等の仕様変更を不要にすべく、基準データに1
より小さい小数を乗じる乗算器を設けて、速度誤差の算
出も基準データを用いて行うことが可能となる。その結
果、回転体の速度の切り換えのためのメモリからのデー
タ配分機構を従来以上に簡略化するとともに、メモリ内
のデータや乗算器の係数の変更のみで、仕様変更に対し
ても柔軟に対応できるシステムを実現することができ、
大なる効果を奏する。As is clear from the above description, the servo device of the present invention, as shown in the embodiment in FIGS. 1 and 3, has the rotational phase signal of the rotating body such as the cylinder motor 1 and the reference phase signal. Phase difference measurement means (phase difference measurement block 100) for outputting measurement data corresponding to the phase difference between the two as a count value of a clock pulse, and the phase difference measurement means for outputting reference data for generating a cycle of the reference phase signal. And reference data supplied from the memory means based on output data of the phase difference measuring means.
A phase error calculating means (phase error calculating block 200) for calculating a phase error by subtracting data of one-half size; and repeating a rotation speed signal of the rotating body based on the reference data and a clock pulse. Speed error detection means (speed error detection block 300) for calculating an error from the cycle reference value
And drive means (cylinder drive circuit 22) for driving the rotating body by an error output signal obtained by combining output data of the phase error calculation means and the speed error detection means. In order to reset a conventional cylinder phase counter (down counter), a decoder designed with a reset value for each device specification (a predetermined value that has passed 0) is not necessary, and a common memory is used. A reference phase signal having the same number of clock pulse count cycles as the supplied reference data is generated, and a difference between the reference data and the half value data of the reference data is obtained without detecting the phase error based on 0 value. To enable phase error detection, and use a conventional speed-based counter to use the upper bits of data from the common memory as is. In order to eliminate the need for specification changes such as a controller that has been designed to be matched, 1 in the reference data
By providing a multiplier for multiplying a smaller decimal number, the calculation of the speed error can be performed using the reference data. As a result, the mechanism for distributing data from memory for switching the speed of the rotating body is simplified more than before, and it is possible to flexibly respond to changes in specifications only by changing the data in the memory and the coefficients of the multiplier. System that can be realized,
It has a great effect.
また、本発明のサーボ装置は、第6図に実施例を示し
たように、回転体の基準位相信号を生成するための基準
データが格納されたメモリ手段(共通メモリ38)と、前
記メモリ手段より供給される基準データの2分の1の大
きさの半値データがプリセットされる第1のカウンタ
(シリンダ位相系カウンタ11)と、前記半値データと前
記基準データの最下位ビットを加算する加算器75と、前
記第1のカウンタのカウント値と前記加算器の出力デー
タを比較して両者が一致したときに前記第1のカウンタ
をプリセットするコンパレータ76と、前記回転体の回転
位相信号の到来時点において前記第1のカウンタのカウ
ント値を保持する第1のラッチ15と、前記基準データと
クロックパルスをもとにして前記回転体の回転速度信号
の繰り返し周期の基準値からの誤差を算出する速度誤差
検出手段(速度誤差検出ブロック300)と、前記第1の
ラッチと前記速度誤差検出手段の出力データを合成して
得られる誤差出力信号によって前記回転体を駆動する駆
動手段(シリンダ駆動回路22)を備えたことを特徴とす
るものであり、共通のメモリから供給される基準データ
の半値データから位相系のカウンタのプリセット値とカ
ウント終了値の生成が行なわれるとともに、速度誤差の
算出が行なわれるので、回転体の回転速度の切り換えの
ためのデータ分配機構を従来以上に簡略化するととも
に、仕様変更に対しても柔軟に対応できるシステムを実
現することができ、大なる効果を奏する。Further, as shown in the embodiment of FIG. 6, the servo device of the present invention includes a memory means (common memory 38) storing reference data for generating a reference phase signal of the rotating body, and the memory means. A first counter (cylinder phase counter 11) in which half-value data of half the size of the supplied reference data is preset, and an adder for adding the half-value data and the least significant bit of the reference data 75, a comparator 76 for comparing the count value of the first counter with the output data of the adder and presetting the first counter when they match, and an arrival time of the rotation phase signal of the rotating body. A first latch 15 for holding a count value of the first counter, and a reference value for a repetition period of a rotation speed signal of the rotating body based on the reference data and a clock pulse. A speed error detecting means (speed error detecting block 300) for calculating the error, and a drive for driving the rotating body by an error output signal obtained by combining output data of the first latch and the speed error detecting means. Means (cylinder drive circuit 22) for generating a preset value and a count end value of a phase-based counter from half value data of reference data supplied from a common memory, Since the speed error is calculated, the data distribution mechanism for switching the rotation speed of the rotating body can be simplified more than before, and a system that can flexibly respond to specification changes can be realized. It has an effect.
さらに、本発明のサーボ装置は、第7図および第8図
に実施例を示したように、回転体の基準位相信号を生成
するための基準データが格納されたメモリ手段(共通メ
モリ38)と、前記メモリ手段より供給される基準データ
の2分の1の大きさの半値データがプリセットされる第
1のカウンタ(シリンダ位相系カウンタ80)と、前記第
1のカウンタのカウント値と前記基準データの最下位ビ
ットを加算する加算器84と、前記半値データと前記加算
器の出力データを比較して両者が一致したときに前記第
のカウンタをプリセットするコンパレータ76と、回転体
の回転位相信号の到来時点において前記第1のカウンタ
のカウント値を保持する第1のラッチ15と、前記基準デ
ータとクロックパルスをもとにして前記回転体の回転速
度信号の繰り返し周期の基準値からの誤差を算出する速
度誤差検出手段(速度誤差検出ブロック300)と、前記
第1のラッチと前記速度誤差検出手段の出力データを合
成して得られる誤差出力信号によって前記回転体を駆動
する駆動手段(シリンダ駆動回路22)を備えたことを特
徴とするものであり、共通のメモリから供給される基準
データの半値データから位相系のカウンタのプリセット
値とカウント終了値の生成が行なわれるとともに、速度
誤差の算出が行なわれるので、回転体の回転速度の切り
換えのためのデータ分配機構を従来以上に簡略化すると
ともに、仕様変更に対しても柔軟に対応できるシステム
が実現でき、大なる効果を奏する。Further, as shown in the embodiment in FIGS. 7 and 8, the servo device of the present invention has a memory means (common memory 38) storing reference data for generating a reference phase signal of the rotating body. A first counter (cylinder phase counter 80) in which half-value data of half the size of the reference data supplied from the memory means is preset, a count value of the first counter and the reference data An adder 84 that adds the least significant bit of the adder, a comparator 76 that compares the half-value data and the output data of the adder and presets the second counter when they match, and an adder 84, A first latch 15 for holding a count value of the first counter at the time of arrival; The rotating body is driven by a speed error detecting means (speed error detecting block 300) for calculating an error from a reference value, and an error output signal obtained by combining output data of the first latch and the speed error detecting means. And a drive unit (cylinder drive circuit 22) for generating a preset value and a count end value of a phase counter from half value data of reference data supplied from a common memory. At the same time, since the speed error is calculated, a data distribution mechanism for switching the rotation speed of the rotating body can be simplified more than before, and a system that can flexibly cope with a change in specifications can be realized. It works.
また、本発明のサーボ装置は、第4図に実施例を示し
たように、クロックパルスをカウントするカウンタ(共
通カウンタ47)と、メモリ手段(共通メモリ38)から供
給される基準データが一方の入力データとして供給され
る加算器66と、前記加算器の出力データを遅延させて前
記加算器の他方の入力データとして供給するレジスタ49
と、位相信号が到来するごとに前記カウンタのカウント
値を保持するラッチ50と、前記レジスタと前記ラッチの
出力データの差を求める演算器(第4図の実施例におい
ては補数器51と加算器52によって構成されている。)
と、前記ラッチの動作タイミングの後に前記加算器に加
算動作を行なわせ、その後に前記レジスタに入力データ
の取り込を行なわせる順序手段(第4図の実施例におい
ては遅れ要素60、61、62、67によって構成されてい
る。)を備え、前記演算器の出力データを前記位相信号
の基準値からの偏位量として出力したことを特徴とする
ものであり、ハードウェアとして用意されるカウンタか
ら得られるカウント値をもとにして、位相信号の基準値
からの偏位量が加算動作と減算動作によって求められる
ので、位相信号の基準位相からの偏位量をソフトウェア
を主体にして計測することのできる装置を実現すること
ができ、大なる効果を奏する。As shown in the embodiment of FIG. 4, the servo device of the present invention has a counter (common counter 47) for counting clock pulses and one of the reference data supplied from the memory means (common memory 38). An adder 66 supplied as input data; and a register 49 for delaying output data of the adder and supplying the delayed data as the other input data of the adder.
A latch 50 for holding the count value of the counter each time a phase signal arrives; an arithmetic unit for calculating the difference between the output data of the register and the latch (in the embodiment of FIG. 4, a complementer 51 and an adder 52)
And means for causing the adder to perform an addition operation after the operation timing of the latch, and then to fetch input data into the register (the delay elements 60, 61, 62 in the embodiment of FIG. 4). , 67). The output data of the arithmetic unit is output as a deviation amount from a reference value of the phase signal. Since the amount of deviation of the phase signal from the reference value is obtained by adding and subtracting operations based on the obtained count value, the amount of deviation of the phase signal from the reference phase should be measured mainly by software. A device capable of performing the above-mentioned operations can be realized, and a great effect can be obtained.
さらに、本発明のサーボ装置は、第5図に実施例を示
したように、クロックパルスをカウントするカウンタ
(共通カウンタ47)と、メモリ手段(共通メモリ38)か
ら供給される基準データが一方の入力データとして供給
される第1の加算器66と、前記第1の加算器の出力デー
タを前記第1の加算器の他方の入力データとして供給す
るレジスタ49と、位相信号が到来するごとに前記カウン
タのカウント値を保持するラッチ50と、前記レジスタと
前記基準データの2分の1の大きさの半値データとを加
算する第2の加算器72と、前記第2の加算器と前記ラッ
チの出力データの差を求める演算器(第5図の実施例に
おいては補数器73と加算器74によって構成されてい
る。)と、前記ラッチの動作タイミングの後に前記演算
器を動作させ、続いて前記第1の加算器に加算動作を行
なわせ、さらには前記レジスタに入力データの取り込を
行なわせ、その後に前記第2の加算器に加算動作を行な
わせる順序手段(第5図の実施例においては遅れ要素6
0、62、67、さらにはレジスタ49と加算器72の間に挿入
された遅れ要素によって構成されている)を備え、前記
演算器の出力データを前記位相信号の位相誤差量として
出力したことを特徴とするものであり、ハードウェアと
して用意されるカウンタから得られるカウント値をもと
にして、位相信号の基準値からの偏位量が加算動作と減
算動作によって求められるので、位相信号の基準位相か
らの偏位量をソフトウェアを主体にして計測することの
できる装置を実現することができ、大なる効果を奏す
る。Further, as shown in the embodiment of FIG. 5, the servo device of the present invention has a counter (common counter 47) for counting clock pulses and one of the reference data supplied from the memory means (common memory 38). A first adder 66 supplied as input data, a register 49 for supplying output data of the first adder as the other input data of the first adder, and a register 49 for receiving a phase signal every time a phase signal arrives. A latch 50 for holding a count value of a counter, a second adder 72 for adding the register and half-value data having a half size of the reference data, and a latch 50 for the second adder and the latch. An arithmetic unit for obtaining a difference between output data (in the embodiment shown in FIG. 5, the arithmetic unit is constituted by a complementer 73 and an adder 74), and the arithmetic unit is operated after the operation timing of the latch. First Ordering means for causing an adder to perform an addition operation, further causing the register to take in input data, and then causing the second adder to perform an addition operation (a delay element in the embodiment of FIG. 5) 6
0, 62, 67, and a delay element inserted between the register 49 and the adder 72) to output the output data of the arithmetic unit as a phase error amount of the phase signal. Since the amount of deviation from the reference value of the phase signal is obtained by an addition operation and a subtraction operation based on the count value obtained from a counter prepared as hardware, the reference value of the phase signal is obtained. A device capable of measuring the amount of deviation from the phase mainly by software can be realized, and a great effect can be achieved.
本発明のサーボ装置は、第4図に実施例を示したよう
に、クロックパルスをカウントするカウンタ(共通カウ
ンタ47)と、速度信号が到来するごとに前記カウンタの
カウント値を保持するラッチ54と、前記速度信号が到来
するごとに前記ラッチの保持データが転送されるレジス
タ55と、メモリ手段(共通メモリ38)から供給される基
準データが一方の入力データとして供給され、前記レジ
スタの出力が他方の入力データとして供給される加算器
68と、前記加算器と前記ラッチの出力データの差を求め
る演算器(第4図の実施例においては補数器69と加算器
70によって構成されている)と、前記ラッチの動作タイ
ミングの後に前記演算器を動作させるとともに前記レジ
スタに入力データの取り込を行なわせ、その後に前記加
算器に加算動作を行なわせる順序手段(第4図の実施例
においては遅れ要素63、64、65によって構成されてい
る)を備え、前記演算器の出力データを速度誤差量とし
て出力したことを特徴とするものであり、ハードウェア
として用意されるカウンタから得られるカウント値をも
とにして、速度信号が到来したとき、前記演算器による
1回の演算動作によってただちに速度誤差の算出が行わ
れるので、速度信号の基準速度からの誤差を、ソフトウ
ェアを主体にして検出することのでき、大なる効果を奏
する。As shown in the embodiment of FIG. 4, the servo device of the present invention comprises a counter (common counter 47) for counting clock pulses, and a latch 54 for holding the count value of the counter every time a speed signal arrives. A register 55 to which data held by the latch is transferred each time the speed signal arrives, and reference data supplied from a memory means (common memory 38) are supplied as one input data, and an output of the register is supplied to the other. Adder supplied as input data for
68 and an arithmetic unit for calculating the difference between the output data of the adder and the latch (in the embodiment of FIG. 4, a complementer 69 and an adder
And an ordering means (operation 70) for operating the arithmetic unit after the operation timing of the latch, causing the register to take in input data, and then causing the adder to perform an addition operation. 4 is constituted by delay elements 63, 64, and 65), and the output data of the arithmetic unit is output as a speed error amount, and is prepared as hardware. When the speed signal arrives based on the count value obtained from the counter, the speed error is immediately calculated by one calculation operation by the arithmetic unit. The detection can be performed mainly by software, and a great effect is achieved.
第1図は本発明の一実施例を示すサーボ装置のブロック
図、第2図は第1図の装置の主要部の信号波形図、第3
図〜第8図はいずれも本発明の他の実施例を示すブロッ
ク図、第9図は従来例を示すブロック図である。 1……シリンダモータ、11,80……シリンダ位相系カウ
ンタ、12,81……シリンダ速度系カウンタ、15,50,54…
…ラッチ、22……シリンダ駆動回路、38……共通メモ
リ、43……小数乗算器、47……共通カウンタ、49,55…
…レジスタ、66,68,72,75,84……加算器、76……コンパ
レータ、100……位相差計測ブロック、200……位相誤差
算出ブロック、300……速度誤差検出ブロック。FIG. 1 is a block diagram of a servo device showing one embodiment of the present invention, FIG. 2 is a signal waveform diagram of a main part of the device of FIG.
8 are block diagrams showing another embodiment of the present invention, and FIG. 9 is a block diagram showing a conventional example. 1 ... Cylinder motor, 11,80 ... Cylinder phase system counter, 12,81 ... Cylinder speed system counter, 15,50,54 ...
... Latch, 22 ... Cylinder drive circuit, 38 ... Common memory, 43 ... Decimal multiplier, 47 ... Common counter, 49,55 ...
... registers, 66,68,72,75,84 adder, 76 comparator, 100 phase difference measurement block, 200 phase error calculation block, 300 speed error detection block.
Claims (9)
位相差に応じた計測データをクロックパルスのカウント
値として出力する位相差計測手段と、前記基準位相信号
の周期を生成するための基準データを前記位相差計測手
段に供給するメモリ手段と、前記位相差計測手段の出力
データから前記メモリ手段より供給される基準データの
2分の1の大きさのデータを減算して位相誤差を算出す
る位相誤差算出手段と、前記基準データとクロックパル
スをもとにして前記回転体の回転速度信号の繰り返し周
期の基準値からの誤差を算出する速度誤差検出手段と、
前記位相誤差算出手段と前記速度誤差検出手段の出力デ
ータを合成して得られる誤差出力信号によって前記回転
体を駆動する駆動手段とを備え、 前記位相差計測手段は、前記メモリ手段から供給される
基準データに等しい個数のクロックパルスをカウントし
たことを検出してカウントサイクルを更新させるゼロ検
出器を有し、各カウントサイクルの開始時点から回転位
相信号の到来時点までのカウント量を計測データとして
出力し、 前記速度誤差検出手段は、前記基準データに1よりも小
さい小数を乗じる乗算器を有し、回転速度信号の1周期
間のクロックパルスをカウントしたカウント量と前記乗
算器の出力データとの差データを出力するサーボ装置。1. A phase difference measuring means for outputting measurement data according to a phase difference between a rotation phase signal of a rotating body and a reference phase signal as a count value of a clock pulse, and for generating a period of the reference phase signal. Memory means for supplying reference data to the phase difference measuring means; and a phase error by subtracting half the data of the reference data supplied from the memory means from output data of the phase difference measuring means. Phase error calculating means for calculating, a speed error detecting means for calculating an error from a reference value of a repetition period of the rotation speed signal of the rotating body based on the reference data and the clock pulse,
Driving means for driving the rotating body by an error output signal obtained by combining output data of the phase error calculating means and the speed error detecting means, wherein the phase difference measuring means is supplied from the memory means It has a zero detector that updates the count cycle by detecting that the number of clock pulses equal to the reference data has been counted, and outputs the count amount from the start of each count cycle to the arrival of the rotation phase signal as measurement data. The speed error detecting means has a multiplier for multiplying the reference data by a decimal number smaller than 1, and calculates a difference between a count amount obtained by counting clock pulses during one cycle of the rotation speed signal and output data of the multiplier. Servo device that outputs difference data.
位相差に応じた計測データをクロックパルスのカウント
値として出力する位相差計測手段と、前記基準位相信号
の周期を生成するための基準データを前記位相差計測手
段に供給するメモリ手段と、前記位相差計測手段の出力
データから前記メモリ手段より供給される基準データの
2分の1の大きさのデータを減算して位相誤差を算出す
る位相誤差算出手段と、前記基準データとクロックパル
スをもとにして前記回転体の回転速度信号の繰り返し周
期の基準値からの誤差を算出する速度誤差検出手段と、
前記位相誤差算出手段と前記速度誤差検出手段の出力デ
ータを合成して得られる誤差出力信号によって前記回転
体を駆動する駆動手段とを備え、 前記位相差計測手段は、クロックパルスをカウントする
共通カウンタと、前記共通カウンタのカウント値とメモ
リ手段から供給される基準データとを加算する加算器
と、前記加算器の出力が供給される第1のレジスタと、
回転位相信号が到来するごとに前記共通カウンタのカウ
ント値を保持する第1のラッチと、前記第1のレジスタ
と前記第1のッラッチの出力データの差を求める第1の
演算器と、前記共通カウンタのカウント値が前記加算器
の出力に一致した時点で前記加算器に加算動作を行なわ
せしめるコントローラとを有するサーボ装置。2. A phase difference measuring means for outputting measurement data corresponding to a phase difference between a rotation phase signal of a rotator and a reference phase signal as a count value of a clock pulse, and for generating a cycle of the reference phase signal. Memory means for supplying reference data to the phase difference measuring means; and a phase error by subtracting half the data of the reference data supplied from the memory means from output data of the phase difference measuring means. Phase error calculating means for calculating, a speed error detecting means for calculating an error from a reference value of a repetition period of the rotation speed signal of the rotating body based on the reference data and the clock pulse,
A driving unit for driving the rotating body with an error output signal obtained by combining output data of the phase error calculation unit and the speed error detection unit, wherein the phase difference measurement unit is a common counter that counts clock pulses. An adder for adding a count value of the common counter and reference data supplied from a memory means, a first register to which an output of the adder is supplied;
A first latch for holding a count value of the common counter each time a rotation phase signal arrives, a first arithmetic unit for obtaining a difference between output data of the first register and the first latch, and A servo device that causes the adder to perform an addition operation when the count value of the counter matches the output of the adder.
も小さい小数を乗じる乗算器と、回転速度信号が到来す
るごとに共通カウンタのカウント値を保持する第2のラ
ッチと、前記回転速度信号が到来するごとに前記第2の
ラッチの出力データを取り込む第2のレジスタと、前記
第2のレジスタと前記第2のラッチの出力データの差を
求める第2の演算器と、前記乗算器と前記第2の演算器
の出力データの差を求める第3の演算器とを有する請求
項2記載のサーボ装置。3. A speed error detecting means, comprising: a multiplier for multiplying the reference data by a decimal number smaller than 1; a second latch for holding a count value of a common counter each time a rotation speed signal arrives; A second register for taking in output data of the second latch every time a signal arrives, a second computing unit for calculating a difference between the second register and the output data of the second latch, and the multiplier 3. The servo device according to claim 2, further comprising a third calculator for calculating a difference between the output data of the second calculator and the third calculator.
準データが格納されたメモリ手段と、前記メモリ手段よ
り供給される基準データの2分の1の大きさの半値デー
タがプリセットされる第1のカウンタと、前記半値デー
タと前記基準データの最下位ビットを加算する加算器
と、前記第1のカウンタのカウント値と前記加算器の出
力データを比較して両者が一致したときに前記第1のカ
ウンタをプリセットするコンパレータと、前記回転体の
回転位相信号の到来時点において前記第1のカウンタの
カウント値を保持する第1のラッチと、前記基準データ
とクロックパルスをもとにして前記回転体の回転速度信
号の繰り返し周期の基準値からの誤差を算出する速度誤
差検出手段と、前記第1のラッチと前記速度誤差検出手
段の出力データを合成して得られる誤差出力信号によっ
て前記回転体を駆動する駆動手段とを備え、 前記速度誤差検出手段は、メモリ手段から供給される基
準データに1よりも小さい小数を乗じる乗算器と、前記
乗算器の出力データがプリセットされ、回転速度信号の
1周期間のクロックパルスをカウントする第2のカウン
タと、前記第2のカウンタのカウント量と前記乗算器の
出力データとの差データを保持する第2のラッチとを有
するサーボ装置。4. A memory means for storing reference data for generating a reference phase signal of a rotating body, and half-value data having a half size of reference data supplied from said memory means are preset. A first counter, an adder for adding the least significant bit of the half-value data and the least significant bit of the reference data, and comparing the count value of the first counter with the output data of the adder, when the values match, A comparator for presetting a first counter, a first latch for holding a count value of the first counter when a rotation phase signal of the rotator arrives, and a first latch based on the reference data and a clock pulse. A speed error detecting means for calculating an error from a reference value of a repetition period of the rotation speed signal of the rotating body, and output data of the first latch and the speed error detecting means are combined. Driving means for driving the rotator by an error output signal obtained by the above-mentioned method, wherein the speed error detecting means multiplies reference data supplied from a memory means by a decimal number smaller than 1, and the multiplier And a second counter that counts clock pulses during one cycle of the rotation speed signal, and a second counter that holds difference data between the count amount of the second counter and the output data of the multiplier. And a servo device having a latch.
準データが格納されたメモリ手段と、前記メモリ手段よ
り供給される基準データの2分の1の大きさの半値デー
タが符号を反転してプリセットされる第1のカウンタ
と、前記第1のカウンタのカウント値と前記基準データ
の最下位ビットを加算する加算器と、前記半値データと
前記加算器の出力データを比較して両者が一致したとき
に前記第1のカウンタをプリセットするコンパレータ
と、回転体の回転位相信号の到来時点において前記第1
のカウンタのカウント値を保持する第1のラッチと、前
記基準データとクロックパルスをもとにして前記回転体
の回転速度信号の繰り返し周期の基準値からの誤差を算
出する速度誤差検出手段と、前記第1のラッチと前記速
度誤差検出手段の出力データを合成して得られる誤差出
力信号によって前記回転体を駆動する駆動手段とを備
え、 前記速度誤差検出手段は、メモリ手段より供給される前
記基準データに1よりも小さい小数を乗じる乗算器と、
前記乗算器の出力データの符号を反転したデータがプリ
セットされ、回転速度信号の1周期間のクロックパルス
をカウントする第2のカウンタと、前記第2のカウンタ
のカウント量と前記乗算器の出力データとの差データを
保持する第2のラッチとを有するサーボ装置。5. A memory means for storing reference data for generating a reference phase signal of a rotating body, and half-value data having a half size of the reference data supplied from said memory means inverting the sign. A first counter that is preset as a counter, an adder that adds the count value of the first counter and the least significant bit of the reference data, and compares the half-value data and the output data of the adder to determine A comparator for presetting the first counter when they coincide with each other;
A first latch that holds a count value of a counter of the above, speed error detection means that calculates an error from a reference value of a repetition period of a rotation speed signal of the rotating body based on the reference data and a clock pulse, A driving unit for driving the rotating body by an error output signal obtained by synthesizing output data of the first latch and the speed error detecting unit, wherein the speed error detecting unit is supplied from a memory unit. A multiplier for multiplying the reference data by a decimal number less than 1;
A second counter for counting clock pulses for one cycle of a rotation speed signal, wherein a data obtained by inverting the sign of the output data of the multiplier is preset; and a count amount of the second counter and output data of the multiplier. And a second latch for holding difference data from the second latch.
準データが格納されたメモリ手段と、前記メモリ手段よ
り供給される基準データの2分の1の大きさの半値デー
タが論理を反転してプリセットされる第1のカウンタ
と、前記第1のカウンタのカウント値と前記基準データ
の最下位ビットを加算する加算器と、前記半値データと
前記加算器の出力データを比較して両者が一致したとき
に前記第1のカウンタをプリセットするコンパレータ
と、回転体の回転位相信号の到来時点において前記第1
のカウンタのカウント値を保持する第1のラッチと、前
記基準データとクロックパルスをもとにして前記回転体
の回転速度信号の繰り返し周期の基準値からの誤差を算
出する速度誤差検出手段と、前記第1のラッチと前記速
度誤差検出手段の出力データを合成して得られる誤差出
力信号によって前記回転体を駆動する駆動手段とを備
え、 前記速度誤差検出手段は、メモリ手段より供給される前
記基準データに1よりも小さい小数を乗じる乗算器と、
前記乗算器の出力データの論理を反転したデータがプリ
セットされ、回転速度信号の1周期間のクロックパルス
をカウントする第2のカウンタと、前記第2のカウンタ
のカウント量と前記乗算器の出力データとの差データを
保持する第2のラッチとを有するサーボ装置。6. A memory means in which reference data for generating a reference phase signal of a rotating body is stored, and half-value data having a half size of reference data supplied from said memory means inverts logic. A first counter that is preset as a counter, an adder that adds the count value of the first counter and the least significant bit of the reference data, and compares the half-value data and the output data of the adder to determine A comparator for presetting the first counter when they coincide with each other;
A first latch that holds a count value of a counter of the above, speed error detection means that calculates an error from a reference value of a repetition period of a rotation speed signal of the rotating body based on the reference data and a clock pulse, A driving unit for driving the rotating body by an error output signal obtained by synthesizing output data of the first latch and the speed error detecting unit, wherein the speed error detecting unit is supplied from a memory unit. A multiplier for multiplying the reference data by a decimal number less than 1;
A second counter for counting clock pulses for one cycle of the rotation speed signal, wherein a data obtained by inverting the logic of the output data of the multiplier is preset; a count amount of the second counter and output data of the multiplier; And a second latch for holding difference data from the second latch.
位相差に応じた計測データをクロックパルスのカウント
値として出力する位相差計測手段と、前記基準位相信号
の周期を生成するための基準データを前記位相差計測手
段に供給するメモリ手段と、前記位相差計測手段の出力
データから前記メモリ手段より供給される基準データの
2分の1の大きさのデータを減算して位相誤差を算出す
る位相誤差算出手段と、前記基準データとクロックパル
スをもとにして前記回転体の回転速度信号の繰り返し周
期の基準値からの誤差を算出する速度誤差検出手段と、
前記位相誤差算出手段と前記速度誤差検出手段の出力デ
ータを合成して得られる誤差出力信号によって前記回転
体を駆動する駆動手段とを備え、 前記位相差計測手段は、クロックパルスをカウントする
カウンタと、前記メモリ手段から供給される基準データ
が一方の入力データとして供給される加算器と、前記加
算器の出力データを前記加算器の他方の入力データとし
て供給するレジスタと、前記回転体位相信号が到来する
ごとに前記カウンタのカウント値を保持するラッチと、
前記レジスタと前記ラッチの出力データの差を求める演
算器と、前記ラッチの動作タイミングの後に前記加算器
に加算動作を行なわせ、その後に前記レジスタに入力デ
ータの取り込を行なわせる順序手段とを備え、前記演算
器の出力データを前記位相信号の基準値からの偏位量と
して出力するサーボ装置。7. A phase difference measuring means for outputting measurement data corresponding to a phase difference between a rotation phase signal of a rotating body and a reference phase signal as a count value of a clock pulse, and for generating a period of the reference phase signal. Memory means for supplying reference data to the phase difference measuring means; and a phase error by subtracting half the data of the reference data supplied from the memory means from output data of the phase difference measuring means. Phase error calculating means for calculating, a speed error detecting means for calculating an error from a reference value of a repetition period of the rotation speed signal of the rotating body based on the reference data and the clock pulse,
A driving unit for driving the rotating body by an error output signal obtained by combining output data of the phase error calculation unit and the speed error detection unit, the phase difference measurement unit includes a counter for counting clock pulses, An adder to which reference data supplied from the memory means is supplied as one input data, a register to supply output data of the adder as the other input data of the adder, A latch for holding a count value of the counter each time it arrives;
An arithmetic unit for calculating a difference between the output data of the register and the latch; and an ordering means for causing the adder to perform an addition operation after the operation timing of the latch, and thereafter, to fetch input data to the register. A servo device for outputting output data of the arithmetic unit as a deviation amount from a reference value of the phase signal.
位相差に応じた計測データをクロックパルスのカウント
値とし、これに基づいて位相誤差を算出する位相誤差算
出手段と、前記基準位相信号の周期を生成するための基
準データを前記位相誤差算出手段に供給するメモリ手段
と、前記基準データとクロックパルスをもとにして前記
回転体の回転速度信号の繰り返し周期の基準値からの誤
差を算出する速度誤差検出手段と、前記位相誤差算出手
段と前記速度誤差検出手段の出力データを合成して得ら
れる誤差出力信号によって前記回転体を駆動する駆動手
段とを備え、 前記位相誤差算出手段は、クロックパルスをカウントす
るカウンタと、メモリ手段から供給される基準データが
一方の入力データとして供給される第1の加算器と、前
記第1の加算器の出力データを前記第1の加算器の他方
の入力データとして供給するレジスタと、前記回転体位
相信号が到来するごとに前記カウンタのカウント値を保
持するラッチと、前記レジスタと前記基準データの2分
の1の大きさの半値データとを加算する第2の加算器
と、前記第2の加算器と前記ラッチの出力データの差を
求める演算器と、前記ラッチの動作タイミングの後に前
記演算器を動作させ、続いて前記第1の加算器に加算動
作を行なわせ、さらには前記レジスタに入力データの取
り込を行なわせ、その後に前記第2の加算器に加算動作
を行なわせる順序手段とを備え、前記演算器の出力デー
タを前記位相信号の位相誤差量として出力するサーボ装
置。8. A phase error calculation means for calculating measurement data according to a phase difference between a rotation phase signal of a rotating body and a reference phase signal as a count value of a clock pulse, and calculating a phase error based on the count value. A memory means for supplying reference data for generating a signal cycle to the phase error calculating means; and an error from a reference value of a repetition cycle of the rotation speed signal of the rotating body based on the reference data and a clock pulse. Speed error detecting means for calculating the phase error calculating means, and driving means for driving the rotating body by an error output signal obtained by combining output data of the phase error calculating means and the speed error detecting means, the phase error calculating means A counter for counting clock pulses, a first adder to which reference data supplied from the memory means is supplied as one input data, A register for supplying output data of the adder 1 as the other input data of the first adder; a latch for holding a count value of the counter each time the rotating body phase signal arrives; A second adder for adding half-value data having half the size of the reference data, an arithmetic unit for obtaining a difference between the second adder and the output data of the latch, and an operation timing of the latch. Later, the arithmetic unit is operated, subsequently, the first adder performs an addition operation, furthermore, the register is fetched input data, and then the second adder performs the addition operation. A servo means for outputting output data of the arithmetic unit as a phase error amount of the phase signal.
される基準データに1よりも小さい小数を乗じる乗算器
と、クロックパルスをカウントするカウンタと、回転体
速度信号が到来するごとに前記カウンタのカウント値を
保持するラッチと、前記速度信号が到来するごとに前記
ラッチの保持データが転送されるレジスタと、前記乗算
器の出力が一方の入力データとして供給され前記レジス
タの出力が他方の入力データとして供給される加算器
と、前記加算器と前記ラッチの出力データの差を求める
演算器と、前記ラッチの動作タイミングの後に前記演算
器を動作させるとともに前記レジスタに入力データの取
り込を行なわせ、その後に前記加算器に加算動作を行な
わせる順序手段とを備え、前記演算器の出力データを速
度誤差量として出力する請求項7または8に記載のサー
ボ装置。9. A speed error detecting means, comprising: a multiplier for multiplying reference data supplied from a memory means by a decimal number less than 1; a counter for counting clock pulses; and a counter for each time a rotating body speed signal arrives. And a register to which the latched data is transferred each time the speed signal arrives, and that the output of the multiplier is supplied as one input data and the output of the register is the other input. An adder supplied as data, an arithmetic unit for obtaining a difference between the adder and the output data of the latch, and operating the arithmetic unit after the operation timing of the latch and fetching input data into the register Sequence means for causing the adder to perform an adding operation thereafter, and outputting the output data of the arithmetic unit as a speed error amount. The servo apparatus according to claim 7 or 8 that.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63263202A JP2811687B2 (en) | 1988-10-19 | 1988-10-19 | Servo device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63263202A JP2811687B2 (en) | 1988-10-19 | 1988-10-19 | Servo device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02111279A JPH02111279A (en) | 1990-04-24 |
| JP2811687B2 true JP2811687B2 (en) | 1998-10-15 |
Family
ID=17386199
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63263202A Expired - Fee Related JP2811687B2 (en) | 1988-10-19 | 1988-10-19 | Servo device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2811687B2 (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5840602A (en) * | 1981-09-04 | 1983-03-09 | Toshiba Corp | Digital servo system |
| JPS6084611A (en) * | 1983-10-17 | 1985-05-14 | Matsushita Electric Ind Co Ltd | Servo device |
| JPS6168616A (en) * | 1984-09-12 | 1986-04-09 | Matsushita Electric Ind Co Ltd | Servo device |
| JPS6194577A (en) * | 1984-10-12 | 1986-05-13 | Sanyo Electric Co Ltd | Digital servo device |
-
1988
- 1988-10-19 JP JP63263202A patent/JP2811687B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH02111279A (en) | 1990-04-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR900002002B1 (en) | Digital time difference measuring device | |
| JP2757505B2 (en) | Time axis correction device | |
| JP2811687B2 (en) | Servo device | |
| JPH0311012B2 (en) | ||
| JP2914725B2 (en) | Digital comb filter | |
| JP2638845B2 (en) | Servo device | |
| JPS61212179A (en) | Rotating body drive device | |
| JP2639925B2 (en) | Automatic phase reference cycle setting device | |
| JP3809235B2 (en) | Method and circuit for generating synchronization control signal for video recorder | |
| JP2680573B2 (en) | Automatic phase adjustment device | |
| JP2698280B2 (en) | Servo reference setting device | |
| JP2507352B2 (en) | Video system | |
| JP2751155B2 (en) | Rotation phase controller | |
| JP2557636B2 (en) | Rotation control device | |
| JP2652908B2 (en) | VTR control signal divider circuit | |
| JP2884589B2 (en) | Image output device | |
| JPH0352583A (en) | Controller for drum motor | |
| JPH0478053A (en) | Picture display permission signal generation circuit for video equipment | |
| JPS6168616A (en) | Servo device | |
| JPH04221452A (en) | Pattern generator for servo control device use and servo control device of vtr | |
| JPH0514282B2 (en) | ||
| JPS6235793A (en) | Reference signal generating circuit for magnetic recording and reproducing device | |
| JPH0793570B2 (en) | Capstan servo device | |
| JPH0498640A (en) | Recorder picture separation corrector | |
| JPS62144209A (en) | Digital phase comparison method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070807 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080807 Year of fee payment: 10 |
|
| LAPS | Cancellation because of no payment of annual fees |