JPH0527177B2 - - Google Patents

Info

Publication number
JPH0527177B2
JPH0527177B2 JP2034185A JP2034185A JPH0527177B2 JP H0527177 B2 JPH0527177 B2 JP H0527177B2 JP 2034185 A JP2034185 A JP 2034185A JP 2034185 A JP2034185 A JP 2034185A JP H0527177 B2 JPH0527177 B2 JP H0527177B2
Authority
JP
Japan
Prior art keywords
rotating drum
tape
time
filter
speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2034185A
Other languages
Japanese (ja)
Other versions
JPS61178762A (en
Inventor
Yoshiro Tsuchama
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2034185A priority Critical patent/JPS61178762A/en
Publication of JPS61178762A publication Critical patent/JPS61178762A/en
Publication of JPH0527177B2 publication Critical patent/JPH0527177B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 産業上の利用分野 本発明は磁気記録再生装置、特に回転ヘツド式
VTRにおけるヘツド回転制御とテープ送り制御
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to magnetic recording and reproducing devices, particularly rotary head type magnetic recording and reproducing devices.
This relates to head rotation control and tape feed control in a VTR.

従来の技術 従来、VTRにおけるヘツド回転制御及びテー
プ送り制御は、第9図に示すような方法をとつて
いる。第9図において、ヘツドドラムモータ80
に取付けられた回転検出器81(例えば周波数発
電器、以下FGと称す)より得られた回転検出信
号は、速度比較回路82に入力される。速度比較
回路82では、回転検出信号より速度誤差信号を
作成する。例えば、FG信号であれば、FGパルス
の周期と基準周期との差を求め、速度誤差とす
る。このようにして得られた速度誤差信号を補償
フイルタ83に入力し、フイルタ出力としてモー
タ駆動指令信号を得る。補償フイルタ83として
は、例えば第7図に示すような回路が用いられ
る。第7図に示す回路は、低周波の入力に対して
増幅度が大きく、このようなフイルタを含む制御
系は、低周波の外乱に対して大きく抑圧すること
ができるものになる。一方高周波の外乱に対して
は、もともとモータが機械的にあまり応答しない
ため問題は少ないので、このようなフイルタはよ
く使われている。このようにして得られたモータ
駆動指令信号は、モータ駆動回路84に入力さ
れ、ドラムモータ80を駆動する。以上がヘツド
回転制御方法である。
2. Description of the Related Art Conventionally, head rotation control and tape feeding control in a VTR has been performed using a method as shown in FIG. In FIG. 9, the head drum motor 80
A rotation detection signal obtained from a rotation detector 81 (for example, a frequency generator, hereinafter referred to as FG) attached to the motor is input to a speed comparison circuit 82. The speed comparison circuit 82 creates a speed error signal from the rotation detection signal. For example, in the case of an FG signal, the difference between the period of the FG pulse and the reference period is determined and used as the speed error. The speed error signal obtained in this manner is input to the compensation filter 83, and a motor drive command signal is obtained as a filter output. As the compensation filter 83, for example, a circuit as shown in FIG. 7 is used. The circuit shown in FIG. 7 has a large degree of amplification for low frequency inputs, and a control system including such a filter can greatly suppress low frequency disturbances. On the other hand, such filters are often used because the motor does not mechanically respond much to high-frequency disturbances, so there are few problems. The motor drive command signal obtained in this way is input to the motor drive circuit 84 and drives the drum motor 80. The above is the head rotation control method.

次にテープ送り制御の説明をする。磁気テープ
94はキヤプスタンモータ85により送り制御さ
れる。すなわち、キヤプスタンモータ85に取付
けられた回転検出器86より回転検出信号を得、
速度比較回路87で、速度誤差信号に変換する。
さらに加算器88において、得られた速度誤差信
号と、トラツキング誤差信号とを加算し、補償フ
イルタ89へ入力する。トラツキング誤差信号を
何算するのは、記録されたテープ上をベツドが記
録軌跡上を追従できるようにするためである。補
償フイルタ89の出力信号はモータ駆動回路90
に入力され、キヤプスタンモータ85を駆動す
る。
Next, tape feed control will be explained. The magnetic tape 94 is fed and controlled by a capstan motor 85. That is, a rotation detection signal is obtained from the rotation detector 86 attached to the capstan motor 85,
A speed comparison circuit 87 converts it into a speed error signal.
Further, an adder 88 adds the obtained speed error signal and tracking error signal and inputs the result to a compensation filter 89. The purpose of calculating the tracking error signal is to enable the bed to follow the recorded trajectory on the recorded tape. The output signal of the compensation filter 89 is sent to the motor drive circuit 90.
is input to drive the capstan motor 85.

トラツキング誤差を得る方法は、VTRの方式
により異なる。第9図では、ビデオヘツド91よ
り得られた再生信号より、トラツキング誤差作成
回路93によりトラツキング誤差を得るものを示
している。
The method of obtaining the tracking error differs depending on the VTR system. In FIG. 9, a tracking error is obtained from a reproduction signal obtained from a video head 91 by a tracking error generating circuit 93.

発明が解決しようとする問題点 さて、以上説明したVTRのモータ制御回路に
おいて、次のことが考えられる。まず、2つのモ
ータ制御を行なうにあたり、各モータはそれぞれ
の専用回路が必要である。すなわち、駆動回路は
別としても、専用の速度比較回路、専用の補償フ
イルタなどが必要である。
Problems to be Solved by the Invention The following problems can be considered in the VTR motor control circuit described above. First, in controlling two motors, each motor requires its own dedicated circuit. That is, apart from the drive circuit, a dedicated speed comparison circuit, a dedicated compensation filter, etc. are required.

また、VTRは多機能化が進んでおり、例えば、
スローモーシヨン再生、高速再生、逆転再生など
種々の特殊再生機能が必要とされている。この場
合、キヤプスタン回転速度を変えるのみでなく、
ヘツドドラムの回転数も変える必要がある。この
ため、速度比較回路87における速度基準値を数
多く設定しておく必要がある。また第9図におい
ては図示していないが、このような特殊再生指令
を発生するシーケンス制御回路(実際はマイクロ
コンピユータ)からの情報線(いわゆる制御信号
線)が多くなつてしまう可能性がある。
In addition, VTRs are becoming more and more multifunctional, for example,
Various special playback functions such as slow-motion playback, high-speed playback, and reverse playback are required. In this case, in addition to changing the capstan rotation speed,
It is also necessary to change the rotation speed of the head drum. Therefore, it is necessary to set a large number of speed reference values in the speed comparison circuit 87. Although not shown in FIG. 9, there is a possibility that the number of information lines (so-called control signal lines) from the sequence control circuit (actually a microcomputer) that generates such special reproduction commands will increase.

問題点を解決するための手段 本発明では、従来のこのような問題点を解決す
るために、マイクロコンピユータを用いてドラム
モータ制御、キヤプスタン制御を同一ハードウエ
アで時分割にて行なうものであり、ドラム回転パ
ルスに同期したフイルタ演算をドラム系、キヤプ
スタン系とで交互に処理するものである。
Means for Solving the Problems In the present invention, in order to solve these conventional problems, a microcomputer is used to perform drum motor control and capstan control on the same hardware in a time-sharing manner. Filter calculations synchronized with drum rotation pulses are processed alternately between the drum system and the capstan system.

作 用 ドラム回転パルス及びキヤプスタン回転パルス
をマイクロコンピユータの割込み端子に入力し、
それぞれパルス発生時に速度比較処理を行なう。
ドラム回転パルス検出に同期して、ドラムパルス
周期の整数分の1の周期をもつデイジタルフイル
タの動作クロツクを起動し、このクロツクに同期
して、ドラム制御用デイジタルフイルタとキヤプ
スタン制御用デイジタルフイルタの各演算を1回
おきに交互に実現する。これにより、特に精度を
要するドラムパルス処理とフイルタ演算を同時に
する必要がなくなり、ともに高精度の演算処理が
可能になる。
Operation Input the drum rotation pulse and capstan rotation pulse to the interrupt terminal of the microcomputer,
Speed comparison processing is performed when each pulse is generated.
In synchronization with the drum rotation pulse detection, a digital filter operation clock having a cycle that is an integer fraction of the drum pulse cycle is started, and in synchronization with this clock, each of the drum control digital filter and capstan control digital filter is activated. The calculations are performed alternately every other time. This eliminates the need to perform drum pulse processing and filter calculation, which require particularly high precision, at the same time, making it possible to perform high-precision calculation processing in both cases.

実施例 本発明の実施例として、ワンチツプマイクロコ
ンピユータを使うので、まず、第6図により、ワ
ンチツプマイクロコンピユータについて説明す
る。第6図は、マンチツプマイクロコンピユータ
の一例の内部構成図である。
Embodiment Since a one-chip microcomputer is used as an embodiment of the present invention, the one-chip microcomputer will first be described with reference to FIG. FIG. 6 is an internal configuration diagram of an example of a manchip microcomputer.

命令RON、データRAM、タイマカウンタ、外
部割込みインターフエース、ALU(Alithmetic
Logic Unit)、並列入出力ポートなどが1つのチ
ツプ上に構成されており、単独でコンピユータと
して動作できるものである。
Instruction RON, data RAM, timer counter, external interrupt interface, ALU (Alithmetic
Logic Unit), parallel input/output ports, etc. are configured on one chip, and it can operate as a computer independently.

次に第7図で示す補償フイルタをデイジタル化
することを説明する。デイジタル回路化するに
は、まず伝達関数のパルス伝達関数を求める。こ
れには、一般によく使われる双一次変換なる近似
方法を用いる。これは、アナログの伝達関数にお
いて S=2(1−Z-1)/τ(1+Z-1)なる変換式を用いて
、パルス伝 達関数H(Z)を求めるものである。なお、τはサン
プル周期である。例えば、第7図の伝達関数 G(S)=1+CR2S/CR1Sは、次のように近似される。
Next, digitizing the compensation filter shown in FIG. 7 will be explained. To create a digital circuit, first find the pulse transfer function of the transfer function. For this purpose, a commonly used approximation method called bilinear transformation is used. This is to obtain the pulse transfer function H (Z) using the conversion formula S=2(1-Z -1 )/τ(1+Z -1 ) in the analog transfer function. Note that τ is the sampling period. For example, the transfer function G (S) =1+CR 2 S/CR 1 S in FIG. 7 is approximated as follows.

H(Z)=τ+2CR2/2CR1−2CR2−τ/2CR1Z-1/1−Z-1 ここでa=τ+2CR2/2CR1、b=2CR2−τ/2CR1とお
け ばH(Z)は次のようになる。
H (Z) = τ+2CR 2 /2CR 1 -2CR 2 -τ/2CR 1 Z -1 /1-Z -1Here , if we set a=τ+2CR 2 /2CR 1 and b=2CR 2 -τ/2CR 1 , then H (Z) becomes as follows.

H(Z)=a−bZ-1/1−Z-1 これを回路図に変換したものが第8図であ。第
8図において、入力信号INは、1回前の加算値
Vと加算器70により加算され、その結果をUと
する。加算値U及びVはそれぞれ乗算器72,7
3に入力され、それぞれa倍、b倍されて加算器
74に入力される。加算器74により差を求め、
その結果がフイルタ出力となる。一方遅延回路7
1により1クロツク毎に加算値Uを遅延させてV
とするものである。
H (Z) = a-bZ -1 /1-Z -1 This is converted into a circuit diagram in Figure 8. In FIG. 8, the input signal IN is added to the previous addition value V by an adder 70, and the result is designated as U. The added values U and V are multipliers 72 and 7, respectively.
3, multiplied by a and b times, respectively, and input to an adder 74. The adder 74 calculates the difference,
The result becomes the filter output. On the other hand, delay circuit 7
1, the added value U is delayed every 1 clock and V
That is.

第1図は、本発明方法を用いた制御系の一実施
例の構成を示す回路図である。ドラムモータ4に
取付けられた回転検出器5により得られたFGパ
ルスをワンチツプマイクロコンピユータ(以下マ
イコンと略す)の外部割込み端子(INTA)に入
力する。マイコン1の内部では、外部割込みパル
スすなわちFGパルスの時刻を測定し、パルス周
期より回転速度を算出し、速度誤差を算出する。
すなわち速度比較処理を行なう。次に一定周期毎
に、ドラム回転速度誤差をもとに、フイルタ演算
を行ない、ドラムモータ駆動指令値を算出する。
ドラムモータ駆動指令値はDA変換器2及びモー
タ駆動回路3を経てヘツドドラムモータ4を駆動
する。
FIG. 1 is a circuit diagram showing the configuration of an embodiment of a control system using the method of the present invention. The FG pulse obtained by the rotation detector 5 attached to the drum motor 4 is input to an external interrupt terminal (INTA) of a one-chip microcomputer (hereinafter abbreviated as microcomputer). Inside the microcomputer 1, the time of the external interrupt pulse, ie, the FG pulse, is measured, the rotation speed is calculated from the pulse period, and the speed error is calculated.
That is, speed comparison processing is performed. Next, at regular intervals, a filter calculation is performed based on the drum rotational speed error to calculate a drum motor drive command value.
The drum motor drive command value drives the head drum motor 4 via the DA converter 2 and motor drive circuit 3.

また、キヤプスタンモータ8に取付けられた回
転検出器9により得られたFGパルスをマイコン
1の別の外部割込み端子(INTB)に入力する。
以下はドラムモータと同様、FGパルス周期より
速度誤差を算出する。次に得られたキヤプスタン
回転速度誤差に、AD変換器13により得られた
トラツキング誤差値を加算し、この値をもとに、
一定期間毎にフイルタ演算を行ない、キヤプスタ
ンモータ駆動指令値を算出する。このキヤプスタ
ンモータ駆動指令値はDA変換器6及びモータ駆
動回路7を経てキヤプスタンモータ8を駆動す
る。
Further, the FG pulse obtained by the rotation detector 9 attached to the capstan motor 8 is input to another external interrupt terminal (INTB) of the microcomputer 1.
In the following, the speed error is calculated from the FG pulse period, similar to the drum motor. Next, the tracking error value obtained by the AD converter 13 is added to the obtained capstan rotational speed error, and based on this value,
A filter calculation is performed at regular intervals to calculate a capstan motor drive command value. This capstan motor drive command value drives a capstan motor 8 via a DA converter 6 and a motor drive circuit 7.

第2図はINTA、すなわちドラムFGパルスを
検出した時の割込み処理のフローチヤートであ
る。まず、ブロツク20において、他の割込みを
禁止する。これは、割込み時の時刻を測定しよう
とする前に他の割込みが入つて、測定時刻が大き
くずれてしまうのを防ぐものである。次にブロツ
ク21でタイマカウンタAの値を読取りメモリ
TDに格納する。タイマカウンタAはあらかじめ、
動作させておく。(例えば電源投入時など。)次に
ブロツク22においてタイマBを起動する。タイ
マBの周期はデイジタルフイルタのサンプル周期
τの半分に設定する。本実施例ではτ=〓PDref
としている。PDrefは後述する基準パルス周期で
ある。次にブロツク23において他の割込みを許
可する。他の割込みとは、タイマB及びINTB割
込みである。次にブロツク24で、タイマBの割
込回数を示すレジスタ(又はメモリ)をクリアす
る。そしてブロツク25,26,27で速度比較
演算を行なう。まずずブロツク25において、今
回読取つた値TDと前回読取つた値TD′との差PD
なわちパルス周期を求める。そしてブロツク26
において、PDと基準周期PDrefとの差EDを求める。
この差EDは速度誤差値に対応するものである。
さらにブロツク27において、今回読取つた時刻
TDを前回の値TD′に転送する。これは次回のパル
ス検出時の準備である。破線で囲んだブロツク2
8はフイルタ演算処理である。この中で用いる変
数名VD,ED,UD,a,b,OUTDは第8図の回
路図に対応するものである。まずブロツク29は
第8図の加算器70に対応する処理であ。次にブ
ロツク30は、乗算器72,73及び加算器74
に対応する処理である。そしてブロツク31は遅
延回路71に対応する処理である。このようにし
てフイルタ演算を終えて、ブロツク32において
現在の割込み、すなわちINTAを再許可して、
INTAの割込処理を終了する。以上がINTAすな
わちドラムFGパルスを検出した場合の処理内容
である。
FIG. 2 is a flowchart of interrupt processing when INTA, that is, drum FG pulse, is detected. First, in block 20, other interrupts are prohibited. This is to prevent the measurement time from being significantly shifted due to another interruption occurring before the time at the time of the interruption is attempted to be measured. Next, block 21 reads the value of timer counter A and stores it in memory.
Store in T D. Timer counter A is set in advance.
Let it work. (For example, when the power is turned on.) Next, in block 22, timer B is started. The period of timer B is set to half the sampling period τ of the digital filter. In this example, τ=〓P Dref
It is said that P Dref is a reference pulse period which will be described later. Next, in block 23, other interrupts are enabled. Other interrupts are Timer B and INTB interrupts. Next, in block 24, a register (or memory) indicating the number of interrupts of timer B is cleared. Then, speed comparison calculations are performed in blocks 25, 26, and 27. First, in block 25, the difference P D between the currently read value T D and the previously read value T D ', that is, the pulse period is determined. and block 26
In this step, the difference E D between P D and the reference period P Dref is determined.
This difference E D corresponds to the speed error value.
Furthermore, in block 27, the time read this time is
Transfer T D to the previous value T D ′. This is preparation for the next pulse detection. Block 2 surrounded by a broken line
8 is a filter calculation process. The variable names V D , E D , U D , a, b, and OUT D used here correspond to the circuit diagram in FIG. 8. First, block 29 is a process corresponding to adder 70 in FIG. Next, block 30 includes multipliers 72, 73 and adder 74.
This is the process corresponding to. Block 31 is a process corresponding to delay circuit 71. After completing the filter operation in this way, block 32 re-enables the current interrupt, namely INTA, and
Ends INTA interrupt processing. The above is the processing content when INTA, that is, the drum FG pulse is detected.

第3図はINTBすなわちキヤプスタンFGパル
スを検出した場合を示すフローチヤートである。
まず、INTB割込みが発生すると、ブロツク40
において他の割込みを禁止する。他の割込みと
は、タイマBとINTAである。これは第2図のブ
ロツク20と同じ理由である。次にブロツク41
においタイマカウンタAの値を読取り、メモリ
TCに格納する。次にブロツク42において他の
割込みを許可する。そしてブロツク43,44及
び45において速度比較演算処理を行なう。すな
わち、ブロツク43において今回読取つた時刻
TCから前回の値TC′を引き、周期PC求める。次に
ブロツク44で周期PCと基準値PCrefとの差を求
め、速度誤差値ECを得る。そしてブロツク45
において今回読取つた値TCの内容を前回の値
TC′に移し、次回の準備を行なう。そしてブロツ
ク46において、現在の割込みすなわちINTBの
割込みを再許可して、INTBの割込み処理を終了
する。以上がキヤプスタンFGパルス検出時の処
理である。
FIG. 3 is a flowchart showing a case where INTB, that is, a capstan FG pulse is detected.
First, when an INTB interrupt occurs, block 40
Disable other interrupts. Other interrupts are Timer B and INTA. This is for the same reason as block 20 in FIG. Next block 41
Read the value of odor timer counter A and store it in memory.
Store in T C. Block 42 then enables other interrupts. Then, in blocks 43, 44 and 45, speed comparison calculation processing is performed. In other words, the time read this time in block 43
Subtract the previous value T C ' from T C to find the period P C. Next, in block 44, the difference between the period P C and the reference value P Cref is determined to obtain a speed error value E C. And block 45
The contents of the value T C read this time at the previous value
Move to T C ′ and prepare for next time. Then, in block 46, the current interrupt, that is, the INTB interrupt, is re-enabled and the INTB interrupt processing is terminated. The above is the process when detecting the capstan FG pulse.

第4図は、第2図のブロツク22で起動たタイ
マBの割込み処理のフローチヤートである。まず
ブロツク50において、タイマBの割込み回数を
示すレジスタ(又はメモリ)を+1する。次にブ
ロツク51でこの割込み回数が奇数か隅数かを調
べ、奇数であればブロツク57へ進み、隅数であ
ればブロツク52へ進む。ブロツク52はドラム
制御系の補償フイルタ演算である。この演算処理
内容は第2図のブロツク図28と同じであるので
省略する。このフイルタ処理終了後ブロツク56
へ進み、現在の割込み、すなわちタイマB割込み
を再許可して割込みを終了する。ブロツク51に
おいて割込み回数が奇数であればブロツク57へ
進む。ブロツク57において、キヤプスタン速度
誤差ECにAD変換器13より読取つたトラツキン
グ誤差を加算して新しい誤差信号ECTを得る。ブ
ロツ58はキヤプスタン制御系の補償フイルタ演
算である。ここで用いている変数VC,ECT,UC
a′,b′,OUTCは第8図の回路図に対応するもの
である。小文字及び′の記号によりドラム制御用
フイルタとは区別している。これは、マイコン3
におけるデータRAMのアドレスが異なることで
対応できる。フイルタ演算を終えるとブロツク6
2へ進み、割込み回数を示すレジスタ(又はメモ
リ)の内容が3以上かどうかを調べる。3以上で
あればそのまま割込み処理を終了し、3未満であ
ればブロツク56へ進み、タイマ割込みを再許可
して割込み処理を終了する。ブロツク62の判断
処理により、タイマB割込みが3回までしか連続
して発生しないようになる。以上、第4図に示す
処理により、割込み回数レジスタが1のときはキ
ヤプスタン制御用フイルタ、2のときはドラム制
御用フイルタ、3のときはキヤプスタン制御用フ
イルタの演算処理を行なう。また、割込み回数レ
ジスタが0のとき、すなわちINTA割込み発生時
にドラム制御用フイルタの演算処理を行なう。こ
れらによりドラム制御用フイルタとキヤプスタン
制御用フイルタの処理は交互に、1回おきに実行
される。また、INTA割込み発生時からタイマB
割込みの1回目までの時間、タイマB割込み発生
周期は等しく、さらにドラム制御状態においては
タイマBの周期はτ/2であり、またτ=1/2
PDrefであるので、タイマBの3回目の割込み発
生からINTA割込みの発生までの時間も等しくな
る。このため、フイルタ演算の周期は全てτとな
る。したがつて各フイルタは所定の性能のものと
なる。
FIG. 4 is a flowchart of the interrupt processing of timer B started in block 22 of FIG. First, in block 50, a register (or memory) indicating the number of interrupts of timer B is incremented by one. Next, in block 51, it is checked whether the number of interrupts is an odd number or a corner number, and if it is an odd number, the process goes to block 57, and if it is a corner number, the process goes to block 52. Block 52 is a compensation filter calculation for the drum control system. The content of this arithmetic processing is the same as that in the block diagram 28 of FIG. 2, so a description thereof will be omitted. After this filter processing is completed, block 56
, the current interrupt, ie, the timer B interrupt, is re-enabled and the interrupt is terminated. If the number of interrupts is an odd number in block 51, the process advances to block 57. In block 57, the tracking error read from the AD converter 13 is added to the capstan speed error E C to obtain a new error signal E CT . Block 58 is a compensating filter calculation for the capstan control system. The variables used here are V C , E CT , U C ,
a', b', and OUT C correspond to the circuit diagram in FIG. It is distinguished from the drum control filter by a lowercase letter and the symbol '. This is microcontroller 3
This can be handled by having different data RAM addresses. After completing the filter operation, block 6
Proceed to step 2 and check whether the contents of the register (or memory) indicating the number of interrupts is 3 or more. If it is 3 or more, the interrupt processing is directly terminated, and if it is less than 3, the process proceeds to block 56, where timer interrupts are re-enabled and the interrupt processing is terminated. The decision processing in block 62 ensures that timer B interrupts occur no more than three times in a row. As described above, by the processing shown in FIG. 4, when the interrupt count register is 1, the capstan control filter is operated, when it is 2, the drum control filter is operated, and when it is 3, the capstan control filter is operated. Further, when the interrupt count register is 0, that is, when an INTA interrupt occurs, arithmetic processing of the drum control filter is performed. As a result, the processes of the drum control filter and the capstan control filter are executed alternately every other time. Also, from the time the INTA interrupt occurs, timer B
The time until the first interrupt and the timer B interrupt generation cycle are equal, and in the drum control state, the cycle of timer B is τ/2, and τ=1/2
Since P Dref , the time from the occurrence of the third interrupt of timer B to the occurrence of the INTA interrupt is also equal. Therefore, the period of all filter calculations is τ. Therefore, each filter has a predetermined performance.

第5図は、第2図、第3図、第4図による処理
を実行している場合において、各処理の時間的推
移を示すタイミングチヤートである。ドラムFG
パルスが立上がるとマイコンはドラム速度比較処
理を行なう(矢印a1,a2,a3)。さらにド
ラム速度比較処理においてタイマBを起動させる
(矢印b1,b2)。速度比較処理が終了するとド
ラム制御系のフイルタ演算を実行する(矢印c
1,c2,c3)。また、タイマB割込みが発生
するとキヤプスタン制御系フイルタ演算、ドラム
制御系のフイルタ演算を交互に実行する(矢印d
1,d2,d3,d4,d5,d6)。一方、キ
ヤプスタンFGパルスが立上がるとキヤプスタン
速度比較処理を行なう(矢印e1,e3,e4に
対応する。矢印e2に関してはドラムFGと重な
つたため、少し遅れて処理を実行する。また矢印
e3はドラム系フイルタの実行を一旦中断して速
度比較処理を行ない、終了後再びフイルタ実行を
続けているものである)。
FIG. 5 is a timing chart showing the time course of each process when the processes shown in FIGS. 2, 3, and 4 are executed. drum FG
When the pulse rises, the microcomputer performs drum speed comparison processing (arrows a1, a2, a3). Furthermore, timer B is activated in the drum speed comparison process (arrows b1, b2). When the speed comparison process is completed, filter calculation for the drum control system is executed (arrow c
1, c2, c3). Also, when a timer B interrupt occurs, capstan control system filter calculations and drum control system filter calculations are executed alternately (arrow d
1, d2, d3, d4, d5, d6). On the other hand, when the capstan FG pulse rises, capstan speed comparison processing is performed (corresponding to arrows e1, e3, and e4. As for arrow e2, since it overlaps with drum FG, the processing is executed with a little delay. (The execution of the system filter is temporarily interrupted, speed comparison processing is performed, and the filter execution is continued again after completion.)

第5図を見てもわかるように、マイコン1にと
つて何も処理を行なつていない時間がある。した
がつて、この期間には他の仕事をすることが可能
になる。例えば、入力ポートからスイツチ情報な
どを読取り、速度基準値PDref,PCrefの変更を行
なうことや、モータを停止させるなどの処理、さ
らには、シーケンス制御処理を行なうことが可能
である。とくにこの場合、各種指令がマイコン1
内蔵のデータRAMに入つているので、制御の信
号線などが全く不要になり、複雑な処理、多機能
化への対応が極めて容易となる。
As can be seen from FIG. 5, there is a time when the microcomputer 1 does not perform any processing. Therefore, you will be able to do other work during this period. For example, it is possible to read switch information from the input port, change the speed reference values P Dref and P Cref , stop the motor, and perform sequence control processing. Especially in this case, various commands are sent to microcontroller 1.
Since it is stored in the built-in data RAM, there is no need for control signal lines, making it extremely easy to handle complex processing and multifunctionalization.

発明の効果 本発明によれば、2つのモータを共通の制御回
路を時分割処理して制御するこができ、ハードウ
エアの低減が実現できるものである。特に制御系
の目標値をその都度用意すればよく、このため、
種々の速度に制御することが容易に実現できるも
のである。
Effects of the Invention According to the present invention, it is possible to control two motors by using a common control circuit in a time-sharing manner, and the amount of hardware can be reduced. In particular, it is only necessary to prepare target values for the control system each time, and for this reason,
Control at various speeds can be easily realized.

また、時分割処理により、シーケンス制御処理
も同時に行なうことが可能であり、この場合は特
に回路が少なくなるのみでなく、従来の回路間の
信号線が不要になり、その効果は大きい。
Further, by time-sharing processing, it is possible to perform sequence control processing at the same time, and in this case, not only the number of circuits is particularly reduced, but also the conventional signal lines between circuits are no longer required, which has a great effect.

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

第1図は本発明方法を用いた制御系の一実施例
を示す回路図、第2図は同実施例におけるドラム
FGパルス検出時の処理手順を示すフローチヤー
ト、第3図は同実施例におけるキヤプスタンFG
パルス検出時の処理手順を示すフローチヤート、
第4図は同実施例におけるタイマB割込み発生時
の処理手順を示すフローチヤート、第5図は同実
施例における時分割処理の時間的推移を示すタイ
ミングチヤート、第6図は同実施例で用いる、ワ
ンチツプマイクロコンピユータの一例の内部構成
図、第7図は従来用いられてきたアナログフイル
タの回路図、第8図は第7図のフイルタをデイジ
タル回路に変換して得られる回路図、第9図は従
来のVTRにおけるモータ制御回路の構成図であ
る。 1……ワンチツプマイクロコンピユータ、2,
6……DA変換器、3,7……モータ駆動回路、
4……ヘツドドラムモータ、8……キヤプスタン
モータ、5,9……回転検出器、13……AD変
換器。
Fig. 1 is a circuit diagram showing an embodiment of a control system using the method of the present invention, and Fig. 2 is a drum diagram in the same embodiment.
A flowchart showing the processing procedure at the time of FG pulse detection, Figure 3 shows the capstan FG in the same example.
A flowchart showing the processing procedure when detecting a pulse,
FIG. 4 is a flowchart showing the processing procedure when a timer B interrupt occurs in the same embodiment, FIG. 5 is a timing chart showing the temporal transition of time-sharing processing in the same embodiment, and FIG. 6 is used in the same embodiment. , an internal configuration diagram of an example of a one-chip microcomputer, FIG. 7 is a circuit diagram of a conventionally used analog filter, FIG. 8 is a circuit diagram obtained by converting the filter in FIG. 7 into a digital circuit, and FIG. 9 is a circuit diagram of a conventionally used analog filter. The figure is a configuration diagram of a motor control circuit in a conventional VTR. 1...One-chip microcomputer, 2,
6...DA converter, 3,7...motor drive circuit,
4... Head drum motor, 8... Capstan motor, 5, 9... Rotation detector, 13... AD converter.

Claims (1)

【特許請求の範囲】[Claims] 1 磁気ヘツドを回転するドラム上に取付け、こ
の回転ドラム上に磁気テープを巻付け、前記磁気
テープを一定速度で移送することにより、情報信
号を不連続な記録トラツク群と磁気テープ上に記
録再生するように構成され、かつ前記回転ドラム
の回転検出手段とテープ移送検出手段を有する磁
気記録再生装置において、前記回転ドラムの回転
検出手段よりの出力信号の時刻を測定し、この時
刻の間隔をもつて前記回転ドラムの回転速度を算
出し、この算出値をもとにフイルタ演算を行な
い、回転ドラム駆動指令を得るとともに、前記テ
ープ移送検出手段よりの出力信号の時刻を測定
し、この時刻の間隔をもつて前記テープ移送速度
を算出し、この算出値をもとにフイルタ演算を行
ない、テープ移送手段駆動指令を得て、前記回転
ドラム回転速度とテープ移送速度とを時分割にて
制御する際に、前記回転ドラムの回転検出信号に
より、回転ドラム回転検出信号周期の整数分の1
の周期毎に、前記回転ドラム回転速度制御用フイ
ルタ演算と、前記テープ移送制御用フイルタ演算
とを交互に実行することを特徴とする磁気記録再
生装置の制御方法。
1. A magnetic head is mounted on a rotating drum, a magnetic tape is wound around the rotating drum, and the magnetic tape is transported at a constant speed to record and reproduce information signals onto a group of discontinuous recording tracks and onto the magnetic tape. In the magnetic recording and reproducing apparatus, the magnetic recording and reproducing apparatus is configured to detect the rotation of the rotating drum and has a tape transfer detecting means, in which the time of the output signal from the rotation detecting means of the rotating drum is measured, and an interval of this time is set. calculate the rotational speed of the rotating drum, perform filter calculation based on this calculated value to obtain a rotating drum drive command, measure the time of the output signal from the tape transfer detection means, and determine the interval between these times. to calculate the tape transport speed, perform a filter operation based on this calculated value, obtain a tape transport means drive command, and control the rotating drum rotation speed and tape transport speed in a time-sharing manner. Then, the rotation detection signal of the rotating drum is determined to be an integer fraction of the rotation detection signal period of the rotating drum.
1. A method of controlling a magnetic recording and reproducing apparatus, characterized in that the filter calculation for controlling the rotating drum rotation speed and the filter calculation for tape transfer control are executed alternately every cycle.
JP2034185A 1985-02-05 1985-02-05 Method for controlling magnetic recording and reproducing device Granted JPS61178762A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2034185A JPS61178762A (en) 1985-02-05 1985-02-05 Method for controlling magnetic recording and reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2034185A JPS61178762A (en) 1985-02-05 1985-02-05 Method for controlling magnetic recording and reproducing device

Publications (2)

Publication Number Publication Date
JPS61178762A JPS61178762A (en) 1986-08-11
JPH0527177B2 true JPH0527177B2 (en) 1993-04-20

Family

ID=12024433

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2034185A Granted JPS61178762A (en) 1985-02-05 1985-02-05 Method for controlling magnetic recording and reproducing device

Country Status (1)

Country Link
JP (1) JPS61178762A (en)

Also Published As

Publication number Publication date
JPS61178762A (en) 1986-08-11

Similar Documents

Publication Publication Date Title
US4804894A (en) Motor rotation servo control apparatus
JPH0527177B2 (en)
JPS6233356A (en) Method for controlling magnetic recording and reproducing device
JP2558649B2 (en) Recording speed discriminating device for magnetic tape
JP2538232B2 (en) Digital servo device
JPH01126182A (en) Rotational speed controller for motor
JPH0427017Y2 (en)
JPS61180590A (en) Speed controlling method for motor
JPH08126371A (en) Motor controller
JPS63193360A (en) Magnetic recording and reproducing device
JP3106445B2 (en) Multi pen recorder
US4731568A (en) Error signal generator
JPS61162855A (en) Control method of magnetic recording and reproducing device
JP3050876B2 (en) Motor rotation phase control device
JP2850545B2 (en) VTR capstan motor speed detection mechanism
JPH0341296Y2 (en)
JP2653199B2 (en) Magnetic tape playback device
JPS6352366A (en) Magnetic recording and reproducing device
JPS61172245A (en) Control method of magnetic recording and reproducing device
JPS63208107A (en) Automatic phase adjusting device
JPH067417B2 (en) Reel motor control circuit
JPH01312762A (en) Servo circuit for magnetic recording and reproducing device
JPH03113703A (en) Magnetic storage device
JPH01276979A (en) Magnetic recording and reproducing device
JPH01300456A (en) Magnetic recording and reproducing device