JPH07122959B2 - Digital I/O Interface - Google Patents
Digital I/O InterfaceInfo
- Publication number
- JPH07122959B2 JPH07122959B2 JP2250996A JP25099690A JPH07122959B2 JP H07122959 B2 JPH07122959 B2 JP H07122959B2 JP 2250996 A JP2250996 A JP 2250996A JP 25099690 A JP25099690 A JP 25099690A JP H07122959 B2 JPH07122959 B2 JP H07122959B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- synchronization
- master clock
- frequency
- pattern
- 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
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Description
【発明の詳細な説明】 <産業上の利用分野> 本発明は、ディジタルI/Oインターフェイスに係り、特
には、ディジタルシステムにおけるサンプリング信号の
周波数判別と周波数切換えのための技術に関する。Description: FIELD OF THEINVENTION The present invention relates to a digital I/O interface, and more particularly to a technique for frequency discrimination and frequency switching of sampling signals in a digital system.
<従来の技術> 例えばDAT(ディジタルオーディオテープレコーダ)に
おいてダビングを行う場合、CD(コンパクトディスク)
や他のDATなどの信号源より入力したディジタル入力信
号を記録側DATに伝送するに際しては、信号源のサンプ
リング周波数と同一のサンプリング周波数のもとでディ
ジタル入力信号を伝送し記録する必要がある。<Prior Art> For example, when dubbing with a DAT (Digital Audio Tape Recorder),
When transmitting a digital input signal input from a signal source such as another DAT to a recording DAT, the digital input signal must be transmitted and recorded at the same sampling frequency as the signal source.
ところが、サンプリング周波数は記録媒体によって異な
り、DATのテープでは48KHz、32KHz、44.1KHzが用いら
れ、CDでは44.1KHzが用いられる。このため、記録側DAT
においては、記録媒体によってディジタル入力信号のサ
ンプリング周波数が変わるたびに、それに対応したサン
プリング周波数を設定する必要がある。However, the sampling frequency differs depending on the recording medium. DAT tapes use 48KHz, 32KHz, and 44.1KHz, while CDs use 44.1KHz.
In the case of the digital input signal sampling frequency change, it is necessary to set a corresponding sampling frequency every time the sampling frequency of the digital input signal changes depending on the recording medium.
このような機能を有するディジタルI/Oインターフェイ
スの従来例を第5図に示す。A conventional example of a digital I/O interface having such functions is shown in FIG.
同図において、2はPLL(Phase Locked Loop)回路、4
は復調回路、6は同期検出回路、8は同期エラー検出回
路、10はマイクロコンピュータ、12は発振周波数切換回
路、14a,14bは発振周波数が互いに異なる第1および第
2の振動子(水晶発振子など)である。In the figure, 2 is a PLL (Phase Locked Loop) circuit, 4
denotes a demodulation circuit, 6 a synchronization detection circuit, 8 a synchronization error detection circuit, 10 a microcomputer, 12 an oscillation frequency switching circuit, and 14a and 14b first and second oscillators (such as crystal oscillators) having mutually different oscillation frequencies.
PLL回路2はVCO(電圧制御発振回路)を内蔵しており、
このVCOには、第1または第2の振動子14a,14bのうちい
ずれか一方が発振周波数切換回路12における切換スイッ
チを介して接続される。PLL circuit 2 has a built-in VCO (voltage controlled oscillator).
Either the first or second oscillator 14 a, 14 b is connected to this VCO via a change-over switch in the oscillation frequency change-over circuit 12 .
VCOは、第1の振動子14aに接続されているときは、その
発振周波数に基づいて決定された12.288MHz(これは第
1のサンプリング周波数Fs1である48KHzの逓倍周波数に
相当する)の第1のマスタクロック信号MC1を発振出力
し、第2の振動子14bに接続されているときは、その発
振周波数に基づいて決定された8.192MHz(これは第2の
サンプリング周波数Fs2である32KHzの逓倍周波数に相当
する)の第2のマスタクロック信号MC2を発振出力し、
各々を信号ラインl1を介して復調回路4と同期検出回路
6とに出力する。When the VCO is connected to the first oscillator 14a, it oscillates and outputs a first master clock signal MC1 of 12.288 MHz (corresponding to a multiplied frequency of the first sampling frequency Fs1 , which is 48 KHz) determined based on the oscillation frequency of the first oscillator 14a , and when the VCO is connected to the second oscillator 14b, it oscillates and outputs a second master clock signal MC2 of 8.192 MHz (corresponding to a multiplied frequency of the second sampling frequency Fs2, which is 32 KHz) determined based on the oscillation frequency of the first oscillator 14a.
Each of these is output to the demodulation circuit 4 and the synchronization detection circuit 6 via a signal line l1.
復調回路4は、分周回路と演算回路とを内蔵している。The demodulation circuit 4 includes a frequency division circuit and an arithmetic circuit.
分周回路は、PLL回路2から入力した第1または第2の
マスタクロック信号MC1,MC2を各々分周して、その周波
数が第1または第2のサンプリングFs1,Fs2と等しくな
るべき第1または第2の分周マスタクロック信号に変換
する。The frequency divider circuit divides the first or second master clock signal MC1 , MC2 input from the PLL circuit 2, and converts it into a first or second divided master clock signal whose frequency should be equal to the first or second sampling frequency Fs1 , Fs2 .
演算回路は、分周回路から第1または第2の分周マスタ
クロック信号を入力するとともに、図示しない信号源よ
り信号ラインl2を介してディジタル入力信号DSを入力
し、第1の分周マスタクロック信号の周波数をディジタ
ル入力信号DSに含まれる第1のサンプリング周波数Fs1
と比較し、あるいは、第2の分周マスタクロック信号の
周波数を第2のサンプリング周波数Fs2と比較し、各々
の周波数差に対応した誤差信号ERを信号ラインl3を介し
てPLL回路2のVCOにフィードバックする。The arithmetic circuit inputs the first or second frequency-divided master clock signal from the frequency divider circuit, and also inputs a digital input signal DS from a signal source (not shown) via a signal line l2, and calculates the frequency of the first frequency-divided master clock signal to be equal to the first sampling frequency Fs1
Alternatively, the frequency of the second frequency-divided master clock signal is compared with the second sampling frequency Fs2 , and an error signal ER corresponding to each frequency difference is fed back to the VCO of the PLL circuit 2 via a signal line l3.
PLL回路2は、フィードバックされた誤差信号ERに基づ
いてVCOが発振する第1または第2のマスタクロック信
号MC1,MC2の周波数をディジタル入力信号DSの第1また
は第2のサンプリング周波数Fs1,Fs2に各々正確に対応
した一定周波数に自己保持する。すなわち、第1または
第2の分周マスタクロック信号の周波数がそれぞれ第1
または第2のサンプリング周波数Fs1,Fs2に正確に一致
するように第1または第2のマスタクロック信号MC1,MC
2の周波数を決定する。The PLL circuit 2 automatically holds the frequency of the first or second master clock signal MC1 , MC2 oscillated by the VCO based on the fed back error signal ER at a constant frequency that accurately corresponds to the first or second sampling frequency Fs1 , Fs2 of the digital input signal DS.
Alternatively, the first or second master clock signal MC 1 , MC 2 may be set to exactly match the second sampling frequency Fs 1 , Fs 2 .
Determine the frequency of 2 .
以下、説明を簡略化するため、第1または第2のマスタ
クロック信号MC1,MC2を総称するときはマスタクロック
信号MCと記載し、第1または第2のサンプリング周波数
Fs1,Fs2を総称するときはサンプリング周波数Fsと記載
する。In the following, for the sake of simplicity, the first and second master clock signals MC1 and MC2 will be collectively referred to as the master clock signal MC, and the first and second sampling frequencies
When Fs 1 and Fs 2 are collectively referred to, they are referred to as the sampling frequency Fs.
復調回路4は、ディジタル入力信号DSを復調し、その復
調ディジタル信号DS′を信号ラインl4を介して同期検出
回路6に出力する。同期検出回路6は、PLL回路2から
入力したマスタクロック信号MCに基づいて復調ディジタ
ル信号DS′に含まれている同期パターンを検出し、予め
特殊なパターンとして定められている3種類の基準の同
期パターンのいずれかと一致するときには、第4図に示
すように同期信号SYNを負のパルスの状態で信号ラインl
5を介して図示しない記録側DATにおける記録系に出力す
るとともに同期エラー検出回路8にも出力する。The demodulation circuit 4 demodulates the digital input signal DS and outputs the demodulated digital signal DS' to the synchronization detection circuit 6 via the signal line 14. The synchronization detection circuit 6 detects the synchronization pattern contained in the demodulated digital signal DS' based on the master clock signal MC input from the PLL circuit 2, and when it matches any of three reference synchronization patterns that are determined in advance as special patterns, it outputs the synchronization signal SYN in the form of a negative pulse on the signal line 14 as shown in FIG.
The signal is outputted via signal line 5 to a recording system in a recording DAT (not shown) and also to a synchronous error detection circuit 8.
ディジタル入力信号DSが有する同期パターンを判定する
ための基準の同期パターンは、基準周期をT(=1/Fs)
として、パターン要素“1T",“2T"および“3T"を適切に
組み合わせたものである。すなわち、第2図(a)〜
(c)に示すように、それぞれ交互に“H",“L"を繰り
返す状態の「3T,1T,1T,3T」のパターンと、「3T,2T,1T,
2T」のパターンと、「3T,3T,1T,1T」のパターンとの3
種類のみである。The reference sync pattern for determining the sync pattern of the digital input signal DS has a reference period of T (=1/Fs).
As a result, the pattern elements "1T", "2T" and "3T" are appropriately combined.
As shown in (c), there are two patterns: "3T, 1T, 1T, 3T" in which "H" and "L" are alternately repeated, and "3T, 2T, 1T,
There are three patterns: "2T" and "3T, 3T, 1T, 1T".
There are only a few types.
これに対して、ディジタル入力信号DSのデータパターン
は、“1T"と“2T"とをさまざまに組み合わせたものとな
っている。In contrast, the data patterns of the digital input signal DS are various combinations of "1T" and "2T".
マスタクロック信号MCの周波数がディジタル入力信号DS
のサンプリング周波数Fsに対応しているとき、詳しく
は、PLL回路2が第1のマスタクロック信号MC1を出力し
ている状態で第1のサンプリング周波数Fs1のディジタ
ル入力信号DSを入力したとき、あるいは、PLL回路2が
第2のマスタクロック信号MC2を出力している状態で第
2のサンプリング周波数Fs2のディジタル入力信号DSを
入力したとき、同期パターンの検出が所定通りに行われ
るため、第4図(a)に示すように同期検出回路6から
一定周期で同期信号SYNが出力される。The frequency of the master clock signal MC is the digital input signal DS
When the PLL circuit 2 corresponds to the sampling frequency Fs of the first sampling frequency Fs1, more specifically, when a digital input signal DS of the first sampling frequency Fs1 is input while the PLL circuit 2 is outputting the first master clock signal MC1 , or when a digital input signal DS of the second sampling frequency Fs2 is input while the PLL circuit 2 is outputting the second master clock signal MC2, the detection of the synchronization pattern is performed as specified, and the synchronization signal SYN is output from the synchronization detection circuit 6 at a constant cycle, as shown in FIG. 4(a).
しかし、マスタクロック信号MCの周波数がサンプリング
周波数Fsに対応していないとき、すなわち、PLL回路2
が第1のマスタクロック信号MC1を出力している状態で
第2のサンプリング周波数Fs2のディジタル入力信号DS
を入力したとき、あるいは、PLL回路2が第2のマスタ
クロック信号MC2を出力している状態で第1のサンプリ
ング周波数Fs1のディジタル入力信号DSを入力したとき
には、同期パターンの検出が正常に行われなくなり、第
4図(b)に示すように同期検出回路6から出力される
同期信号SYNに抜けが生じたり周期が乱れたりする。However, when the frequency of the master clock signal MC does not correspond to the sampling frequency Fs, i.e., when the PLL circuit 2
is outputting a first master clock signal MC1 , a digital input signal DS
or when a digital input signal DS of the first sampling frequency Fs1 is input while the PLL circuit 2 is outputting the second master clock signal MC2 , the detection of the synchronization pattern cannot be performed normally, and the synchronization signal SYN output from the synchronization detection circuit 6 will have missing bits or its period will be disrupted, as shown in FIG. 4(b).
同期エラー検出回路8は、同期信号SYNをカウントして
おり、上記のような抜けや周期乱れのために一定時間内
に所定数の同期信号SYNが検出されないとき、換言すれ
ば、同期エラーを検出したときには、信号ラインl6を介
してマイクロコンピュータ10に対してマスタクロック信
号周波数を切り換えるべきことを要求する切換要求信号
REQを出力する。The synchronization error detection circuit 8 counts the synchronization signals SYN, and when a predetermined number of synchronization signals SYN are not detected within a certain time due to the above-mentioned dropout or periodic disturbance, in other words, when a synchronization error is detected, a switching request signal is sent to the microcomputer 10 via a signal line 16 to request that the master clock signal frequency be switched.
Output REQ.
マイクロコンピュータ10は、同期エラー検出回路8から
の切換要求信号REQを認識すると、信号ラインl7を介し
て発振周波数切換回路12に対し切換制御信号CCを出力す
る。発振周波数切換回路12は、切換制御信号CCを入力す
ると、切換スイッチを動作させて、PLL回路2に対し現
在接続されている振動子に代えて他方の振動子を接続す
る状態に切り換える。When the microcomputer 10 recognizes the switching request signal REQ from the synchronization error detection circuit 8, it outputs a switching control signal CC to the oscillation frequency switching circuit 12 via the signal line 17. When the switching control signal CC is input, the oscillation frequency switching circuit 12 operates the changeover switch to switch to a state in which the other oscillator is connected to the PLL circuit 2 in place of the oscillator currently connected to the PLL circuit 2.
すなわち、信号源がサンプリング周波数の異なるものと
切り換えられたためにディジタル入力信号DSが第1のサ
ンプリング周波数Fs1(48KHz)に変化したにもかかわら
ず、PLL回路2が第2のサンプリング周波数Fs2(32KH
z)に対応した第2の振動子14bに接続されたままで第2
のマスタクロック信号MC2を出力し続けている結果、前
記の切換要求信号REQおよび切換制御信号CCが出力され
たときには、発振周波数切換回路12は第1のサンプリン
グ周波数Fs1に対応した第1の振動子14aをPLL回路2に
接続する状態に切り換える。That is, even though the digital input signal DS has changed to the first sampling frequency Fs 1 (48 KHz) because the signal source has been switched to one with a different sampling frequency, the PLL circuit 2 continues to operate at the second sampling frequency Fs 2 (32 KHz).
z) while still connected to the second transducer 14b corresponding to the second
As a result of continuing to output the master clock signal MC2 , when the switching request signal REQ and the switching control signal CC are output, the oscillation frequency switching circuit 12 switches to a state in which the first oscillator 14a corresponding to the first sampling frequency Fs1 is connected to the PLL circuit 2.
逆に、ディジタル入力信号DSが第2のサンプリング周波
数Fs2(32KHz)に変化したにもかかわらず、PLL回路2
が第1のサンプリング周波数Fs1(48KHz)に対応した第
1の振動子14aに接続されたままで第1のマスタクロッ
ク信号MC1を出力し続けている結果、前記の切換要求信
号REQおよび切換制御信号CCが出力されたときには、発
振周波数切換回路12は第2のサンプリング周波数Fs2に
対応した第2の振動子14bをPLL回路2に接続する状態に
切り換える。Conversely, even though the digital input signal DS has changed to the second sampling frequency Fs 2 (32 KHz), the PLL circuit 2
As a result of the switching request signal REQ and the switching control signal CC being output while the oscillation frequency switching circuit 12 remains connected to the first oscillator 14a corresponding to the first sampling frequency Fs1 (48 KHz) and continues to output the first master clock signal MC1, the oscillation frequency switching circuit 12 switches to a state in which the second oscillator 14b corresponding to the second sampling frequency Fs2 is connected to the PLL circuit 2.
このような振動子14a,14bの切り換えによって、マスタ
クロック信号MCが信号源切り換え後のディジタル入力信
号DSのサンプリング周波数Fsに同調したものとなり、同
期信号SYNの検出が正常に行われることになる。By switching the oscillators 14a and 14b in this way, the master clock signal MC is synchronized with the sampling frequency Fs of the digital input signal DS after the signal source has been switched, and the synchronization signal SYN is detected normally.
以上のように、従来のディジタルI/Oインターフェイス
においては、信号源のサンプリング周波数Fsが変化した
ときには、その変化に伴って発生する同期信号SYNの抜
けや周期乱れを検出し、その検出結果に基づいてマスタ
クロック信号MCの周波数を変化後のサンプリング周波数
Fsに対応したものに自動的に切り換えるようにしてあ
る。As described above, in a conventional digital I/O interface, when the sampling frequency Fs of the signal source changes, the missing or periodic disturbance of the synchronization signal SYN that occurs with the change is detected, and the frequency of the master clock signal MC is changed based on the detection result.
It is set to automatically switch to the one corresponding to Fs.
<発明が解決しようとする課題> しかしながら、従来のディジタルI/Oインターフェイス
では、信号源のサンプリング周波数が第2のサンプリン
グ周波数Fs2(32KHz)から第1のサンプリング周波数Fs
1(48KHz)に変化する場合には問題がないのであるが、
第1のサンプリング周波数Fs1(48KHz)から第2のサン
プリング周波数Fs2(32KHz)に変化した初期段階におい
ては、次のような不具合が発生するおそれがあることが
判った。<Problems to be Solved by the Invention> However, in the conventional digital I/O interface, the sampling frequency of the signal source is changed from the second sampling frequency Fs 2 (32 KHz) to the first sampling frequency Fs
1 (48KHz), there is no problem.
It has been found that in the initial stage of changing from the first sampling frequency Fs 1 (48 KHz) to the second sampling frequency Fs 2 (32 KHz), the following problems may occur.
第1のサンプリング周波数Fs1(48KHz)をもつ信号源か
ら第2のサンプリング周波数Fs2(32KHz)をもつ信号源
に変化した初期段階においては、PLL回路2から出力さ
れるマスタクロック信号MCは瞬時に第1のマスタクロッ
ク信号MC1から第2のマスタクロック信号MC2に切り換わ
るものではなく、依然として第1のマスタクロック信号
MC1を出力している状態にある。In the initial stage of changing from a signal source having a first sampling frequency Fs 1 (48 KHz) to a signal source having a second sampling frequency Fs 2 (32 KHz), the master clock signal MC output from the PLL circuit 2 does not instantly switch from the first master clock signal MC 1 to the second master clock signal MC 2 , but still remains the first master clock signal.
MC 1 is being output.
このような状態では、通常であれば、すでに詳述したよ
うに同期信号SYNの抜けや周期乱れが生じ第2のマスタ
クロック信号MC2への切り換えが行われるのであるが、
パターン要素“2T"と“1T"との組み合わせからなるデー
タパターンの組み合わせ状態によっては、その切り換え
が行われなくなる場合がある。In such a state, normally, as already described in detail, the synchronization signal SYN would be lost or its period would be disrupted, and a switch would be made to the second master clock signal MC2 .
Depending on the combination state of the data pattern consisting of a combination of the pattern elements "2T" and "1T", the switching may not be performed.
それは、第3図(a)に示すように、相互に“H",“L"
を繰り返す状態でのデータパターン「2T,2T,1T,1T」の
場合である。As shown in Figure 3(a), the two are mutually "H" and "L".
This is the case of a data pattern of "2T, 2T, 1T, 1T" where the above is repeated.
すなわち、同期検出回路6において、変化後の32KHzの
“2T"および“1T"を、切り換え前の48KHzに対応した第
1のマスタクロック信号MC1に基づいて判別すると、48/
32=1.5倍であることから、32KHzでの“2T"は“3T"と判
別される。また、32KHzでの“1T"は“1.5T"となるが、
これを判別処理では“1T"か“2T"と判別する。つまり、
変化後の32KHzでのデータパターン「2T,2T,1T,1T」は、
切り換え前の48KHzのもとでは、「3T,3T,1T,1T」または
「3T,3T,2T,2T」と判別する。That is, in the synchronization detection circuit 6, when the "2T" and "1T" of 32KHz after the change are discriminated based on the first master clock signal MC1 corresponding to 48KHz before the change, the result is 48/
Since 32 = 1.5 times, "2T" at 32KHz is recognized as "3T". Also, "1T" at 32KHz is recognized as "1.5T",
In the discrimination process, this is judged as either "1T" or "2T".
The data pattern at 32KHz after the change is "2T, 2T, 1T, 1T".
Before the switch, at 48KHz, it would distinguish between "3T, 3T, 1T, 1T" or "3T, 3T, 2T, 2T".
このうち、後者のデータパターン「3T,3T,2T,2T」の場
合は問題がないのであるが、第3図(b)に示す前者の
データパターン「3T,3T,1T,1T」の場合には、3種類の
基準の同期パターンのなかにこのデータパターンと同一
パターンのもの(第2図(c))が存在しているため
に、同期検出回路6では、32KHzでのデータパターン「2
T,2T,1T,1T」を48KHzでの同期パターン「3T,3T,1T,1T」
と誤判定してしまい、同期検出回路6から記録側DATの
記録系および同期エラー検出回路8に対して同期信号SY
Nをあたかも正常なものとして出力してしまうことにな
る。Of these, there is no problem with the latter data pattern "3T, 3T, 2T, 2T", but in the case of the former data pattern "3T, 3T, 1T, 1T" shown in FIG. 3(b), the same pattern as this data pattern (FIG. 2(c)) exists among the three types of reference sync patterns, so the sync detection circuit 6 detects the 32KHz data pattern "2
T, 2T, 1T, 1T" to a 48KHz sync pattern of "3T, 3T, 1T, 1T"
The synchronization detection circuit 6 erroneously judges that the synchronization signal SY
This will result in N being output as if it were normal.
そして、このようなデータパターン「2T,2T,1T,1T」が
繰り返し入力され、一定時間内の同期信号SYNのカウン
ト数が所定数に達する状態が続いた場合には、同期エラ
ー検出回路8によるマイクロコンピュータ10に対する切
換要求信号REQの出力が行われず、したがって、発振周
波数切換回路12の切換え動作も行われず、PLL回路2に
は第1のサンプリング周波数Fs1(48KHz)に対応した第
1の振動子14aが接続されたままとなり、PLL回路2は第
1のマスタクロック信号MC1を出力し続けることにな
る。If this data pattern "2T, 2T, 1T, 1T" is repeatedly input and the count number of synchronization signals SYN within a certain period of time continues to reach a predetermined number, the synchronization error detection circuit 8 will not output a switching request signal REQ to the microcomputer 10, and therefore the oscillation frequency switching circuit 12 will not perform a switching operation, the first oscillator 14a corresponding to the first sampling frequency Fs1 (48KHz) will remain connected to the PLL circuit 2, and the PLL circuit 2 will continue to output the first master clock signal MC1 .
このように、信号源が第1のサンプリング周波数Fs1(4
8KHz)のものから第2のサンプリング周波数Fs2(32KH
z)のものに変化したにもかかわらず、PLL回路2からの
マスタクロック信号MCは第1のサンプリング周波数Fs1
(48KHz)に対応した第1のマスタクロック信号MC1のま
まとなるため、記録系に対しては、同期パターンのタイ
ミングではなくデータパターンのタイミングで同期信号
SYNが出力されることとなり、ディジタル入力信号DSの
記録が全くでたらめなものとなってしまう。In this way, the signal source has a first sampling frequency Fs 1 (4
8KHz) to the second sampling frequency Fs 2 (32KH
z), the master clock signal MC from the PLL circuit 2 remains at the first sampling frequency Fs 1
Since the first master clock signal MC1 corresponding to the synchronous synchronous pattern (48KHz) remains the same, the synchronous signal is sent to the recording system at the timing of the data pattern, not at the timing of the synchronous pattern.
SYN will be output, and the recording of the digital input signal DS will become completely random.
本発明は、このような事情に鑑みて創案されたものであ
って、信号源がサンプリング周波数の異なるものに変化
したとき、その変化を確実に検出して、マスタクロック
信号を変化後のサンプリング周波数に的確にマッチング
した周波数に切り換えることができるようにすることを
目的とする。The present invention has been devised in view of the above circumstances, and has as its object to reliably detect, when the signal source changes to one with a different sampling frequency, the change and to switch the master clock signal to a frequency that accurately matches the changed sampling frequency.
<課題を解決するための手段> 本発明は、このような目的を達成するために、次のよう
な構成をとる。<Means for Solving the Problems> In order to achieve the above object, the present invention has the following configuration.
すなわち、本発明は、サンプリング周波数を異にする複
数の信号源から時間をおいて個別的に入力されるディジ
タル入力信号の各サンプリング周波数に対応した周波数
のマスタクロック信号を個別的に生成する手段と、前記
マスタクロック信号に基づいて前記ディジタル入力信号
に含まれる同期パターンが基準の同期パターンと一致す
るかどうかを判別し一致するときに同期信号を抽出する
手段と、信号源の変化に伴うサンプリング周波数の変化
によって同期信号の抽出が異常となったときにマスタク
ロック信号の周波数を変化後のサンプリング周波数に対
応した状態に切り換える手段とを備えたディジタルI/O
インターフェイスにおいて、前記ディジタル入力信号に
含まれる同期パターンに前記基準の同期パターンを構成
するパターン要素以外のパターン要素が存在するかどう
かを判別しその存在を判別したときに前記マスタクロッ
ク信号の周波数を切り換える手段を備えたことを特徴と
するものである。That is, the present invention provides a digital I/O device comprising: means for individually generating master clock signals having frequencies corresponding to the sampling frequencies of digital input signals inputted separately at intervals from a plurality of signal sources having different sampling frequencies; means for determining whether a synchronization pattern included in the digital input signal matches a reference synchronization pattern based on the master clock signal and extracting a synchronization signal when they match; and means for switching the frequency of the master clock signal to a state corresponding to the sampling frequency after the change when extraction of the synchronization signal becomes abnormal due to a change in the sampling frequency accompanying a change in the signal source.
The interface is characterized by comprising a means for determining whether or not a synchronization pattern contained in the digital input signal includes pattern elements other than the pattern elements constituting the reference synchronization pattern, and for switching the frequency of the master clock signal when the presence of such pattern elements is determined.
<作用> 本発明の上記構成による作用は、次のとおりである。<Function> The above-described configuration of the present invention provides the following functions.
ディジタル入力信号のサンプリング周波数が変化した結
果、ディジタル入力信号に含まれる同期パターンが基準
の同期パターンと一致せず同期信号の検出が異常となっ
たときには、従来例と同様に、変化後のサンプリング周
波数に対応するようにマスタクロック信号の周波数を自
動的に切り換える。When a change in the sampling frequency of a digital input signal results in the synchronization pattern contained in the digital input signal not matching the reference synchronization pattern and detection of the synchronization signal becomes abnormal, the frequency of the master clock signal is automatically switched so as to correspond to the changed sampling frequency, as in the conventional example.
そして、サンプリング周波数の変化直後において、マス
タクロック信号の周波数がまだ切り換えられていない状
態で、変化後のディジタル入力信号に含まれるデータパ
ターンが切り換え前のマスタクロック信号の周波数にマ
ッチングしたために、そのデータパターンを、変化後の
ディジタル入力信号に含まれ基準の同期パターンと一致
する同期パターンと誤って判定した場合であっても、デ
ィジタル入力信号に含まれる同期パターンに基準のパタ
ーン要素以外のパターン要素が存在することの判別を通
じて、前記同様にマスタクロック信号の周波数を変化後
のサンプリング周波数に対応した状態に自動的に切り換
えることができる。Then, immediately after the sampling frequency is changed, when the frequency of the master clock signal has not yet been switched, the data pattern contained in the changed digital input signal matches the frequency of the master clock signal before the switch, and the data pattern is erroneously determined to be a synchronization pattern contained in the changed digital input signal and matching the reference synchronization pattern. Even if this data pattern is erroneously determined to be a synchronization pattern that matches the reference synchronization pattern contained in the changed digital input signal, the frequency of the master clock signal can be automatically switched to a state corresponding to the changed sampling frequency in the same manner as described above by determining that the synchronization pattern contained in the digital input signal contains pattern elements other than the reference pattern elements.
<実施例> 以下、本発明の実施例を図面に基づいて詳細に説明す
る。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
第1図は本発明の一実施例に係るディジタルI/Oインタ
ーフェイスの電気的構成を示すブロック線図である。FIG. 1 is a block diagram showing the electrical configuration of a digital I/O interface according to an embodiment of the present invention.
2はVCOを内蔵したPLL回路、4は分周回路および演算回
路を内蔵した復調回路、6は同期検出回路、8は同期エ
ラー検出回路、10はマイクロコンピュータ、12は切換ス
イッチを有する発振周波数切換回路、14aは第1の振動
子(水晶発振子)、14bは第2の振動子、l1〜l7は各信
号ライン、MC1は第1のマスタクロック信号、MC2は第2
のマスタクロック信号、DSはディジタル入力信号、Fs1
は第1のサンプリング周波数、Fs2は第2のサンプリン
グ周波数、DS′は復調ディジタル信号、SYNは同期信
号、REQは切換要求信号、CCは切換制御信号であり、そ
れらの構成ならびに動作については従来例と同様である
ので、符号名称のみを記載し、説明を省略する。2 is a PLL circuit with a built-in VCO, 4 is a demodulation circuit with a built-in divider circuit and arithmetic circuit, 6 is a synchronization detection circuit, 8 is a synchronization error detection circuit, 10 is a microcomputer, 12 is an oscillation frequency switching circuit having a change-over switch, 14a is a first oscillator (crystal oscillator), 14b is a second oscillator, l1 to l7 are each signal line, MC1 is a first master clock signal, MC2 is a second master clock signal,
is the master clock signal, DS is the digital input signal, Fs is the
is the first sampling frequency, Fs2 is the second sampling frequency, DS' is the demodulated digital signal, SYN is the synchronization signal, REQ is the switching request signal, and CC is the switching control signal. Since the configurations and operations of these are the same as those of the conventional example, only the symbol names are listed and the explanations are omitted.
本実施例において、従来例と異なっている構成は、復調
回路4と同期エラー検出回路8との間に不正同期検出回
路16を介在させた点である。The present embodiment differs from the prior art in that an incorrect synchronization detection circuit 16 is interposed between the demodulation circuit 4 and the synchronization error detection circuit 8.
この不正同期検出回路16は、ディジタル入力信号DSに含
まれる同期パターンに基準の同期パターンを構成してい
るパターン要素“1T",“2T"および“3T"以外のパターン
要素が存在するかどうかを、PLL回路2から信号ラインl
1を介して入力したマスタクロック信号MCに基づいて判
別し、それが存在するときは不正同期信号IJUを信号ラ
インl8を介して同期エラー検出回路8に出力するもので
ある。This false synchronization detection circuit 16 detects whether the synchronization pattern included in the digital input signal DS contains pattern elements other than the pattern elements "1T", "2T" and "3T" constituting the reference synchronization pattern, and transmits the signal line 1 from the PLL circuit 2 to the
The determination is made based on the master clock signal MC input via line 1, and if an incorrect synchronization signal is present, an incorrect synchronization signal IJU is output to a synchronization error detection circuit 8 via a signal line 18.
前出の<解決すべき課題>の項で述べたように、第1の
サンプリング周波数Fs1(48KHz)から第2のサンプリン
グ周波数Fs2(32KHz)に変化した初期段階においては、
未だPLL回路2からのマスタクロック信号MCが第2のマ
スタクロック信号MC2に切り換わっていないために、同
期検出回路6において、第3図に示すように、ディジタ
ル入力信号DSに含まれるデータパターン「2T,2T,1T,1
T」が切り換え前の48KHzに対応した第1のマスタクロッ
ク信号MC1のもとで「3T,3T,1T,1T」となり、これが3種
類の基準の同期パターンの1つとして誤判定され、同期
信号SYNが同期エラー検出回路8に出力されることがあ
る。As mentioned above in the section "Problems to be solved", in the initial stage of changing from the first sampling frequency Fs1 (48KHz) to the second sampling frequency Fs2 (32KHz),
Since the master clock signal MC from the PLL circuit 2 has not yet been switched to the second master clock signal MC2 , the synchronization detection circuit 6 detects the data pattern "2T, 2T, 1T, 1" contained in the digital input signal DS as shown in FIG.
In this case, under the first master clock signal MC1 corresponding to 48 kHz before the changeover, "3T, 3T, 1T, 1T" becomes "3T, 3T, 1T, 1T", which may be erroneously determined as one of the three reference synchronization patterns, and the synchronization signal SYN is output to the synchronization error detection circuit 8.
そして、この場合には、同期信号SYNの抜けや周期乱れ
を原因とする切換要求信号REQはマイクロコンピュータ1
0に対して出力されない。In this case, the switch request signal REQ caused by the missing or periodic disturbance of the synchronous signal SYN is not transmitted to the microcomputer 1.
No output for 0.
しかし、データパターン「2T,2T,1T,1T」が「3T,3T,1T,
1T」となるとき、第2図(c)の同期パターン「3T,3T,
1T,1T」は、同図(d)のように「4T,4T,1T,1T」とな
る。ところが、このようなパターン「4T,4T,1T,1T」に
おけるパターン要素“4T“は、正常な同期検出が行われ
ているときには本来存在しないものである。However, the data pattern "2T,2T,1T,1T" becomes "3T,3T,1T,
When the synchronization pattern becomes "3T, 3T, 1T" in Fig. 2(c),
In the pattern "4T, 4T, 1T, 1T," the pattern element "4T" does not actually exist when normal synchronization detection is being performed.
不正同期検出回路16は、この本来は存在しないパターン
要素“4T"を検出すると、信号ラインl8を介して同期エ
ラー検出回路8に対して不正同期信号IJUを出力し、同
期エラー検出回路8は、この不正同期信号IJUに基づい
てマイクロコンピュータ10に対し切換要求信号REQを出
力する。When the false synchronization detection circuit 16 detects this pattern element "4T" which does not actually exist, it outputs an false synchronization signal IJU to the synchronization error detection circuit 8 via the signal line 18, and the synchronization error detection circuit 8 outputs a switch request signal REQ to the microcomputer 10 based on this false synchronization signal IJU.
その結果、マイクロコンピュータ10から発振周波数切換
回路12に対して切換制御信号CCが出力され、発振周波数
切換回路12は、切換スイッチを動作して現在接続されて
いる第1の振動子14aに代えて第2の振動子14bをPLL回
路2に接続し、PLL回路2から第2のサンプリング周波
数Fs2(32KHz)に対応した第2のマスタクロック信号MC
2を出力させる。これによって、所期通りの周波数のも
とで同期信号SYNが抽出されることになるため、この同
期信号SYNに基づいてディジタル入力信号DSを正確に記
録することができるようになる。As a result, the microcomputer 10 outputs a switching control signal CC to the oscillation frequency switching circuit 12, and the oscillation frequency switching circuit 12 operates the change-over switch to connect the second oscillator 14b to the PLL circuit 2 in place of the currently connected first oscillator 14a, and outputs a second master clock signal MC corresponding to the second sampling frequency Fs2 (32 KHz) from the PLL circuit 2.
2. As a result, the synchronization signal SYN is extracted at the desired frequency, and the digital input signal DS can be accurately recorded based on this synchronization signal SYN.
<発明の効果> 本発明によれば、次の効果が発揮される。Effects of the Invention According to the present invention, the following effects are achieved.
信号源の変化に伴うディジタル入力信号のサンプリング
周波数の変化直後において、マスタクロック信号の周波
数がまだ切り換えられていない状態で、変化後のディジ
タル入力信号に含まれるデータパターンが切り換え前の
マスタクロック信号の周波数にマッチングしたために、
そのデータパターンを、変化後のディジタル入力信号に
含まれ基準の同期パターンと一致するものとして誤判定
した場合であっても、ディジタル入力信号に含まれる同
期パターンに基準のパターン要素以外のパターン要素が
存在することの判別を通じて、マスタクロック信号の周
波数を変化後のサンプリング周波数に対応した状態に自
動的に切り換えることができる。Immediately after the sampling frequency of the digital input signal changes due to a change in the signal source, the data pattern included in the digital input signal after the change matches the frequency of the master clock signal before the change, when the frequency of the master clock signal has not yet been switched.
Even if the data pattern is erroneously determined to match the reference synchronization pattern contained in the changed digital input signal, the frequency of the master clock signal can be automatically switched to a state corresponding to the changed sampling frequency by determining that the synchronization pattern contained in the digital input signal contains pattern elements other than the reference pattern elements.
そして、その結果として、所期通りの周波数のもとで同
期信号が正しく抽出されることになり、この同期信号に
基づいてディジタル入力信号を正確に記録することがで
きる。As a result, the sync signal is correctly extracted at the desired frequency, and the digital input signal can be accurately recorded based on this sync signal.
第1図は本発明の一実施例に係るディジタルI/Oインタ
ーフェイスの電気的構成を示すブロック線図である。第
2図ないし第4図は実施例と従来例とに共通に使用され
る波形図で、第2図は同期パターンの波形図、第3図は
データパターンの波形図、第4図は同期信号の波形図で
ある。第5図は従来例に係るディジタルI/Oインターフ
ェイスの電気的構成を示すブロック線図である。 2……マスタクロック信号の生成手段としてのPLL回
路、4……復調回路、6……同期信号の抽出手段として
の同期検出回路、8……同期信号の抽出異常を判定した
ときのマスタクロック信号周波数の切換手段の一要素と
しての同期エラー検出回路、10……前記切換手段の一要
素としてのマイクロコンピュータ、12……前記切換手段
の一要素としての発振周波数切換回路、14a……第1の
振動子、14b……第2の振動子、16……基準のパターン
要素以外のパターン要素を判定したときにマスタクロッ
ク信号周波数を切り換える手段としての不正同期検出回
路、MC1,MC2……マスタクロック信号、DS……ディジタ
ル入力信号、Fs1,Fs2……サンプリング周波数、SYN……
同期信号、REQ……切換要求信号、CC……切換制御信
号、IJU……不正同期信号 Fig. 1 is a block diagram showing the electrical configuration of a digital I/O interface according to an embodiment of the present invention. Figs. 2 to 4 are waveform diagrams commonly used in the embodiment and the conventional example, where Fig. 2 is a waveform diagram of a sync pattern, Fig. 3 is a waveform diagram of a data pattern, and Fig. 4 is a waveform diagram of a sync signal. Fig. 5 is a block diagram showing the electrical configuration of a digital I/O interface according to the conventional example. 2: PLL circuit as a means for generating a master clock signal; 4: demodulation circuit; 6: synchronization detection circuit as a means for extracting a synchronization signal; 8: synchronization error detection circuit as an element of a means for switching a master clock signal frequency when an abnormality in the extraction of a synchronization signal is detected; 10: microcomputer as an element of the switching means; 12: oscillation frequency switching circuit as an element of the switching means; 14a: first oscillator; 14b: second oscillator; 16: false synchronization detection circuit as a means for switching a master clock signal frequency when a pattern element other than a reference pattern element is detected; MC1 , MC2 : master clock signal; DS: digital input signal; Fs1 , Fs2 : sampling frequency; SYN:
Synchronization signal, REQ...switching request signal, CC...switching control signal, IJU...incorrect synchronization signal
Claims (1)
源から時間をおいて個別的に入力されるディジタル入力
信号の各サンプリング周波数に対応した周波数のマスタ
クロック信号を個別的に生成する手段と、 前記マスタクロック信号に基づいて前記ディジタル入力
信号に含まれる同期パターンが基準の同期パターンと一
致するかどうかを判別し一致するときに同期信号を抽出
する手段と、 信号源の変化に伴うサンプリング周波数の変化によって
同期信号の抽出が異常となったときにマスタクロック信
号の周波数を変化後のサンプリング周波数に対応した状
態に切り換える手段 とを備えたディジタルI/Oインターフェイスにおいて、 前記ディジタル入力信号に含まれる同期パターンに前記
基準の同期パターンを構成するパターン要素以外のパタ
ーン要素が存在するかどうかを判別しその存在を判別し
たときに前記マスタクロック信号の周波数を切り換える
手段 を備えたことを特徴とするディジタルI/Oインターフェ
イス。[Claim 1] A digital I/O interface comprising: means for individually generating master clock signals of frequencies corresponding to the respective sampling frequencies of digital input signals which are individually input at intervals from a plurality of signal sources having different sampling frequencies; means for determining based on the master clock signal whether a synchronization pattern contained in the digital input signal matches a reference synchronization pattern and extracting a synchronization signal when they match; and means for switching the frequency of the master clock signal to a state corresponding to the changed sampling frequency when an abnormality occurs in the extraction of the synchronization signal due to a change in the sampling frequency accompanying a change in the signal source, said digital I/O interface further comprising means for determining whether the synchronization pattern contained in the digital input signal contains pattern elements other than the pattern elements which constitute the reference synchronization pattern, and for switching the frequency of the master clock signal when the presence of such pattern elements is determined.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2250996A JPH07122959B2 (en) | 1990-09-19 | 1990-09-19 | Digital I/O Interface |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2250996A JPH07122959B2 (en) | 1990-09-19 | 1990-09-19 | Digital I/O Interface |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH04129067A JPH04129067A (en) | 1992-04-30 |
| JPH07122959B2 true JPH07122959B2 (en) | 1995-12-25 |
Family
ID=17216103
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2250996A Expired - Fee Related JPH07122959B2 (en) | 1990-09-19 | 1990-09-19 | Digital I/O Interface |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07122959B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE19632248C1 (en) * | 1996-08-09 | 1997-12-04 | Siemens Ag | Display device with signal sampling |
-
1990
- 1990-09-19 JP JP2250996A patent/JPH07122959B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH04129067A (en) | 1992-04-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5442612A (en) | Digital signal reproduction devices, integrated circuits for use therewith, and digital signal reproduction methods | |
| JPH07122959B2 (en) | Digital I/O Interface | |
| JPH0324818B2 (en) | ||
| JP2578693B2 (en) | Interface circuit | |
| JP2795008B2 (en) | Input clock cutoff circuit method for phase-locked oscillation circuit | |
| JPH0352699B2 (en) | ||
| JPS63157363A (en) | Signal discriminating circuit | |
| JPH04119737A (en) | Data demodulation circuit | |
| JP2833033B2 (en) | PLL device | |
| JPH0734540Y2 (en) | Digital audio interface circuit with oscillation stop circuit | |
| JPH03190336A (en) | Transmission and reception synchronizing circuit system | |
| JPS63122066A (en) | clock synchronization circuit | |
| JPH0247653Y2 (en) | ||
| JPH0434228B2 (en) | ||
| JPH04334127A (en) | Phase locked loop circuit | |
| JPH0738554A (en) | Burst signal phase control circuit | |
| JPH05300008A (en) | Pll circuit | |
| JPH03259463A (en) | Phase synchronizing circuit in magnetic recording and reproducing device | |
| JPH09284265A (en) | Data transmission system and its receiver | |
| JPH08331189A (en) | Clock phase synchronization circuit | |
| JPS6316935B2 (en) | ||
| JPH02301223A (en) | PLL circuit | |
| JPH04105435A (en) | Data demodulator | |
| JPS6024752A (en) | Synchronous loop switch type carrier regenerative synchronous circuit | |
| JPS60182058A (en) | Synchronism discriminating circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |