JP2000105976A - Digital audio interface signal demudulating circuit - Google Patents

Digital audio interface signal demudulating circuit

Info

Publication number
JP2000105976A
JP2000105976A JP10274054A JP27405498A JP2000105976A JP 2000105976 A JP2000105976 A JP 2000105976A JP 10274054 A JP10274054 A JP 10274054A JP 27405498 A JP27405498 A JP 27405498A JP 2000105976 A JP2000105976 A JP 2000105976A
Authority
JP
Japan
Prior art keywords
signal
detection signal
punching
digital audio
circuit
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.)
Granted
Application number
JP10274054A
Other languages
Japanese (ja)
Other versions
JP3668617B2 (en
Inventor
Koji Nakajima
康志 中嶋
Noriyuki Ema
則之 江間
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 JP27405498A priority Critical patent/JP3668617B2/en
Publication of JP2000105976A publication Critical patent/JP2000105976A/en
Application granted granted Critical
Publication of JP3668617B2 publication Critical patent/JP3668617B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide the circuit capable of demodulating a digital audio interface signal with a reference clock having a relatively low frequency and being not necessarily synchronized with a digital audio interface signal to be inputted without using a PLL(phase-locked loop). SOLUTION: This circuit is provided with an edge detecting circuit 1 performing the edge detection of the digital audio interface signal with both of positive edges and negative edges of the reference clock, a decision circuit 2 which obtaines a count value by the half clock of the reference clock from the output of the circuit 1 and which decides 1 to 3Ts by a table decision from this count value, a circuit 3 detecting preambles and a biphase demodulation circuit 4 performing a biphase demodulation from 1, 2Ts and the circuit can realize a demodulation circuit without using the PLL.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、デジタルオーディ
オ機器間でデータの伝送に使用されるデジタルオーディ
オインターフェース信号を受信し、デジタルオーディオ
信号を復調するデジタルオーディオインターフェース信
号復調回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital audio interface signal demodulation circuit for receiving a digital audio interface signal used for data transmission between digital audio devices and demodulating the digital audio signal.

【0002】[0002]

【従来の技術】コンパクトディスク(CD)、デジタル
オーディオテープレコーダ(DAT)、ミニディスク
(MD)などのデジタルオーディオ機器間でデジタルデ
ータの伝送を行う規格としてIEC-958「デジタル
オーディオインターフェース」がある。この規格の概要
について以下に説明する。
2. Description of the Related Art IEC-958 "Digital Audio Interface" is a standard for transmitting digital data between digital audio devices such as a compact disk (CD), a digital audio tape recorder (DAT), and a mini disk (MD). The outline of this standard is described below.

【0003】図9はデジタルオーディオインターフェー
ス規格の概要を示すタイミング図である。図はこの規格
のサブフレームと呼ばれるデータの単位の構成を示して
いる。各サブフレームは32ビットから構成され、その
内容は4ビットのプリアンブル、4ビットの予備ビッ
ト、20ビットのオーディオサンプル情報、4ビットの
付加情報からなる。付加情報はバリディティフラグV、
ユーザーズビットU、チャネルステータスC、パリティ
Pからなる。
FIG. 9 is a timing chart showing an outline of a digital audio interface standard. The figure shows the configuration of a data unit called a subframe of this standard. Each subframe is composed of 32 bits, and its contents are composed of a 4-bit preamble, 4-bit spare bits, 20-bit audio sample information, and 4-bit additional information. Additional information is a validity flag V,
It consists of user bits U, channel status C, and parity P.

【0004】CDやDATの1サンプルのオーディオデ
ータは左チャンネルと右チャンネルの2チャンネルから
なるので、チャネル1とチャネル2のサブフレーム2つ
が組になって1サンプルを構成し、この2つぶんのサブ
フレームの周期がちょうどサンプリング周波数分の1に
相当する。
[0004] Since one sample of audio data of a CD or DAT consists of two channels, a left channel and a right channel, two sub-frames of channel 1 and channel 2 form a set and constitute one sample. The frame period corresponds to exactly one sampling frequency.

【0005】プリアンブルは伝送時のサブフレームの同
期を示すためのもので、ユニークなパターンとするため
に3Tを先頭に含む変調を行い、B,M,Wの3種類の
パターンを用いて、それぞれ付加情報の同期のための1
92サンプルのブロックの先頭とチャネル1とチャネル
2とを示している。
[0005] The preamble is used to indicate the synchronization of subframes at the time of transmission. In order to obtain a unique pattern, modulation including 3T is performed at the beginning, and three types of patterns of B, M, and W are used. 1 for synchronization of additional information
The beginning of a block of 92 samples, channel 1 and channel 2 are shown.

【0006】オーディオサンプル情報、予備ビットおよ
び付加情報はバイフェーズマーク変調されており1Tと
2Tのみで構成されている。
The audio sample information, spare bits and additional information are bi-phase mark modulated, and are composed of only 1T and 2T.

【0007】この規格に基づく信号を受信する回路とし
て、特開平1−49177や特開平2−7720などの
デジタルオーディオインターフェース信号復調回路があ
る。
As a circuit for receiving a signal based on this standard, there is a digital audio interface signal demodulation circuit disclosed in JP-A-1-49177 or JP-A-2-7720.

【0008】このような従来のデジタルオーディオイン
ターフェース信号復調回路について以下に説明する。
[0008] Such a conventional digital audio interface signal demodulation circuit will be described below.

【0009】図10はデジタルオーディオインターフェ
ース信号を復調する従来の復調回路のブロック図であ
る。以下、図10にしたがってその動作を説明する。
FIG. 10 is a block diagram of a conventional demodulation circuit for demodulating a digital audio interface signal. The operation will be described below with reference to FIG.

【0010】101はプリアンブル検出回路である。デ
ジタルオーディオインターフェース信号s1001の中
の3T周期信号を検出しプリアンブル検出信号s100
2を出力する。
Reference numeral 101 denotes a preamble detection circuit. A 3T periodic signal in the digital audio interface signal s1001 is detected and a preamble detection signal s100 is detected.
2 is output.

【0011】102はPLL回路である。プリアンブル
検出信号s1002に位相がロックし、周波数が32倍
の同期クロックs1003を出力する。
Reference numeral 102 denotes a PLL circuit. The phase is locked to the preamble detection signal s1002, and a synchronous clock s1003 whose frequency is 32 times is output.

【0012】103はバイフェーズ復調回路である。同
期クロックs1003を用いてデジタルオーディオイン
ターフェース信号s1001のバイフェーズ復調を行
い、デジタルオーディオ信号s1004を出力する。
Reference numeral 103 denotes a biphase demodulation circuit. Bi-phase demodulation of the digital audio interface signal s1001 is performed using the synchronous clock s1003, and a digital audio signal s1004 is output.

【0013】図11は従来の復調回路の動作タイミング
図である。以下、図11にしたがって動作の詳細を説明
する。
FIG. 11 is an operation timing chart of the conventional demodulation circuit. Hereinafter, the operation will be described in detail with reference to FIG.

【0014】プリアンブル検出回路101は、デジタル
オーディオインターフェース信号s1001の最小反転
間隔より短い周期の基準クロックs1000で2.5T
以上の反転間隔を検出し、プリアンブル検出信号s10
02を出力する。
The preamble detection circuit 101 uses a reference clock s1000 having a period shorter than the minimum inversion interval of the digital audio interface signal s1001 for 2.5T.
By detecting the above inversion interval, the preamble detection signal s10
02 is output.

【0015】PLL回路102はVCOを用いてフェー
ズロックドループ(PLL)を構成し、VCOの32分
周とプリアンブル検出信号s1002とを位相比較して
32倍の周波数の同期クロックs1003を出力する。
The PLL circuit 102 forms a phase-locked loop (PLL) using a VCO, compares the frequency of the VCO divided by 32 with the phase of a preamble detection signal s1002, and outputs a synchronous clock s1003 having a 32 times frequency.

【0016】バイフェーズ復調回路は、同期クロックs
1003でデジタルオーディオインターフェース信号を
打ち抜いて、直前と異なるなら1、一致するなら0を出
力することでデジタルオーディオ信号s1004を出力
する。
The bi-phase demodulation circuit has a synchronous clock s
In step 1003, the digital audio interface signal is punched out, and if it is different from the immediately preceding one, 1 is output.

【0017】以上のように、プリアンブルを検出してア
ナログPLLを用いてデジタルオーディオインターフェ
ース信号に同期したクロックを生成することでバイフェ
ーズマーク信号の復調を行う。
As described above, the demodulation of the biphase mark signal is performed by detecting the preamble and using the analog PLL to generate a clock synchronized with the digital audio interface signal.

【0018】[0018]

【発明が解決しようとする課題】しかしながら、上記従
来のデジタルオーディオ信号復調回路では、同期クロッ
クを生成するためにPLLが必要であり、VCOやロー
パスフィルタなどのアナログ回路が含まれる。また、基
準クロックとPLLクロックと2つの非同期なクロック
が必要となるなどの課題があった。これらは、特にLS
I化時の安定性や信頼性の確保、小型化、テストの容易
性などに障害となっていた。
However, the conventional digital audio signal demodulation circuit requires a PLL to generate a synchronous clock, and includes analog circuits such as a VCO and a low-pass filter. There is also a problem that two asynchronous clocks, a reference clock and a PLL clock, are required. These are especially LS
This has been an obstacle to securing stability and reliability during I-ization, miniaturization, and ease of testing.

【0019】本発明は上記従来の課題を解決するもの
で、PLLを使わず、入力されるデジタルオーディオイ
ンターフェース信号とは必ずしも同期しない比較的低い
周波数の基準クロックで、デジタルオーディオインター
フェース信号を復調することのできる回路を提供するこ
とを目的とする。
An object of the present invention is to solve the above-mentioned conventional problems, and to demodulate a digital audio interface signal with a relatively low frequency reference clock which is not necessarily synchronized with an input digital audio interface signal without using a PLL. It is an object of the present invention to provide a circuit capable of performing the following.

【0020】[0020]

【課題を解決するための手段】この目的を達成するため
に本発明のデジタルオーディオインターフェース信号復
調回路は、基準クロックの正負両方のエッジでデジタル
オーディオインターフェース信号のエッジ検出を行い、
この出力から基準クロックの半クロックでのカウント値
を求め、このカウント値からテーブル判定によって復調
出力を得る構成とすることにより、PLLを使わずに低
い周波数の基準クロックだけで精度の高い復調を行うこ
とができる。
In order to achieve this object, a digital audio interface signal demodulation circuit of the present invention performs edge detection of a digital audio interface signal at both positive and negative edges of a reference clock.
A count value at a half clock of the reference clock is obtained from this output, and a demodulation output is obtained from this count value by table determination, thereby performing highly accurate demodulation using only a low frequency reference clock without using a PLL. be able to.

【0021】[0021]

【発明の実施の形態】本発明のデジタルオーディオイン
ターフェース信号復調回路は、前記デジタルオーディオ
インターフェース信号を入力し、入力信号の最小反転周
期の半分より短い周期でかつ入力信号とは必ずしも同期
しない基準クロックでデジタルオーディオインターフェ
ース信号を打ち抜いた第1の打ち抜き信号と、前記基準
クロックの反転クロックでデジタルオーディオインター
フェース信号を打ち抜きさらに基準クロックで打ち抜い
た第1の反転打ち抜き信号とを生成し、第1の打ち抜き
信号のエッジを検出してエッジ検出信号を出力し、第1
の打ち抜き信号と第1の反転打ち抜き信号との排他的論
理和をとった後半検出信号を出力するエッジ検出回路
と、前記エッジ検出信号と前記後半検出信号とを入力
し、エッジ検出信号が入力されるごとに前記基準クロッ
クでエッジ検出信号をカウントした値を求め、この値を
2倍した値に対し、後半検出信号が入力されていれば1
を加え、さらに直前の後半検出信号が入力されていれば
1を引いた半クロックカウント値を算出し、半クロック
カウント値を予め定めたテーブルと比較することで変調
周期の1T、2T、3Tの判定信号を出力する判定回路
と、前記判定信号を入力し、前記プリアンブルのパター
ンを検出してプリアンブル検出信号を出力するプリアン
ブル検出回路と、前記プリアンブル検出信号と判定信号
とを入力し、プリアンブル検出信号をタイミング基準に
して判定信号からデジタルオーディオ信号を復調して出
力するバイフェーズ復調回路とを有する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A digital audio interface signal demodulation circuit according to the present invention receives the digital audio interface signal and uses a reference clock that is shorter than half the minimum inversion period of the input signal and that is not necessarily synchronized with the input signal. A first punching signal obtained by punching the digital audio interface signal and a first inverted punching signal obtained by punching the digital audio interface signal using the inverted clock of the reference clock and further generating the first punched signal using the inverted clock, An edge is detected and an edge detection signal is output.
An edge detection circuit that outputs a second half detection signal obtained by performing an exclusive OR operation of the punching signal and the first inverted punching signal, and the edge detection signal and the second half detection signal that are input, and an edge detection signal is input. In each case, the value obtained by counting the edge detection signal with the reference clock is obtained.
Further, if the immediately preceding second half detection signal is input, a half clock count value is calculated by subtracting 1 and the half clock count value is compared with a predetermined table to obtain the modulation period 1T, 2T, 3T. A determination circuit that outputs a determination signal, a preamble detection circuit that receives the determination signal, detects the pattern of the preamble, and outputs a preamble detection signal, and receives the preamble detection signal and the determination signal, and receives a preamble detection signal And a bi-phase demodulation circuit that demodulates and outputs a digital audio signal from the determination signal with reference to the timing reference.

【0022】また、本発明のデジタルオーディオインタ
ーフェース信号復調回路は、前記デジタルオーディオイ
ンターフェース信号を入力し、前記基準クロックでデジ
タルオーディオインターフェース信号を打ち抜いた第1
の打ち抜き信号と、前記第1の打ち抜き信号をさらに前
記基準クロックで打ち抜いた第2の打ち抜き信号と、前
記基準クロックの反転クロックでデジタルオーディオイ
ンターフェース信号を打ち抜いてさらに基準クロックで
打ち抜いた第1の反転打ち抜き信号と、第1の反転打ち
抜き信号をさらに基準クロックで打ち抜いた第2の反転
打ち抜き信号とを生成し、第1の打ち抜き信号と第1の
反転打ち抜き信号と第2の打ち抜き信号とを加算して第
1のキャリー信号を求め、第1の反転打ち抜き信号と第
2の打ち抜き信号と第2の反転打ち抜き信号とを加算し
て第2のキャリー信号を求め、第1のキャリー信号のエ
ッジを検出してエッジ検出信号を出力し、第1のキャリ
ー信号と第2のキャリー信号との排他的論理和をとった
後半検出信号を出力するノイズ除去付きエッジ検出回路
と、前記エッジ検出信号と前記後半検出信号とを入力
し、エッジ検出信号が入力されるごとに前記基準クロッ
クでエッジ検出信号をカウントした値を求め、この値を
2倍した値に対し、後半検出信号が入力されていれば1
を加え、さらに直前の後半検出信号が入力されていれば
1を引いた半クロックカウント値を算出して求めた半ク
ロックカウント値を予め定めたテーブルと比較すること
で変調周期の1T、2T、3Tの判定信号を出力する判
定回路と、前記判定信号を入力し、前記プリアンブルの
パターンを検出してプリアンブル検出信号を出力するプ
リアンブル検出回路と、前記プリアンブル検出信号と判
定信号とを入力し、プリアンブル検出信号をタイミング
基準にして判定信号からデジタルオーディオ信号を復調
して出力するバイフェーズ復調回路とを有する。
Further, the digital audio interface signal demodulation circuit of the present invention, wherein the digital audio interface signal is inputted, and the first digital audio interface signal is punched out by the reference clock.
, A second punching signal obtained by further punching out the first punching signal with the reference clock, and a first inversion punching out a digital audio interface signal with the inverted clock of the reference clock and punching further with the reference clock A punch signal and a second inverted punch signal obtained by further punching the first inverted punch signal with a reference clock are generated, and the first punch signal, the first inverted punch signal, and the second punch signal are added. To obtain a first carry signal, add the first inverted punching signal, the second punched signal, and the second inverted punched signal to obtain a second carry signal, and detect an edge of the first carry signal. And outputs an edge detection signal, and outputs a second half detection signal obtained by taking an exclusive OR of the first carry signal and the second carry signal. The edge detection circuit with noise removal, the edge detection signal and the latter half detection signal are input, and every time the edge detection signal is input, a value obtained by counting the edge detection signal with the reference clock is obtained. If the second half detection signal is input to the multiplied value, 1
Further, if the immediately preceding second half detection signal is input, the half clock count value obtained by subtracting 1 from the calculated half clock count value is compared with a predetermined table to obtain the modulation period of 1T, 2T, A determination circuit that outputs a 3T determination signal, a preamble detection circuit that receives the determination signal, detects the preamble pattern, and outputs a preamble detection signal, and receives the preamble detection signal and the determination signal, A bi-phase demodulation circuit for demodulating and outputting a digital audio signal from the determination signal with the detection signal as a timing reference.

【0023】また、本発明のデジタルオーディオインタ
ーフェース信号復調回路は、前記デジタルオーディオイ
ンターフェース信号を入力し、入力信号の最小反転周波
数より高い周波数でかつ入力信号とは必ずしも同期しな
い基準クロックでデジタルオーディオインターフェース
信号を打ち抜いた第1の打ち抜き信号と、前記基準クロ
ックの反転クロックでデジタルオーディオインターフェ
ース信号を打ち抜きさらに基準クロックで打ち抜いた第
1の反転打ち抜き信号とを生成し、第1の打ち抜き信号
のエッジを検出してエッジ検出信号を出力し、第1の打
ち抜き信号と第1の反転打ち抜き信号との排他的論理和
をとった後半検出信号を出力するエッジ検出回路と、前
記エッジ検出信号を入力し、復調が必要な全てのサンプ
リング周波数の3T信号に相当するエッジ検出信号の信
号幅を検出し、各々の周期がサンプリング周波数の2倍
の周期かどうかによって、サンプリング周波数検出信号
を出力する周波数検出回路と、前記エッジ検出信号と前
記後半検出信号と前記サンプリング周波数検出信号とを
入力し、エッジ検出信号が入力されるごとに前記基準ク
ロックでエッジ検出信号をカウントした値を求め、この
値を2倍した値に対し、後半検出信号が入力されていれ
ば1を加え、さらに直前の後半検出信号が入力されてい
れば1を引いた半クロックカウント値を算出して求めた
半クロックカウント値を前記サンプリング周波数検出信
号で示されるサンプリング周波数ごとに予め定めたテー
ブルと比較することで変調周期の1T、2T、3Tの判
定信号を出力する判定回路と、前記判定信号を入力し、
前記プリアンブルのパターンを検出してプリアンブル検
出信号を出力するプリアンブル検出回路と、前記プリア
ンブル検出信号と判定信号とを入力し、プリアンブル検
出信号をタイミング基準にして判定信号からデジタルオ
ーディオ信号を復調して出力するバイフェーズ復調回路
とを有する。
Also, the digital audio interface signal demodulation circuit of the present invention receives the digital audio interface signal, and outputs the digital audio interface signal with a reference clock having a frequency higher than the minimum inversion frequency of the input signal and not necessarily synchronized with the input signal. And a first punched-out signal punched out of the reference clock and a digital audio interface signal punched out with the inverted clock of the reference clock, and a first inverted punched-out signal punched out with the reference clock are generated, and the edge of the first punched signal is detected. An edge detection circuit that outputs an edge detection signal, and outputs a second half detection signal obtained by performing an exclusive OR operation of the first punching signal and the first inverted punching signal; 3 of all required sampling frequencies A frequency detection circuit for detecting a signal width of an edge detection signal corresponding to a signal, and outputting a sampling frequency detection signal depending on whether each period is twice as long as the sampling frequency; And the sampling frequency detection signal are input. Each time the edge detection signal is input, a value obtained by counting the edge detection signal with the reference clock is obtained, and a second half detection signal is input for a value obtained by doubling this value. If the half-clock count value obtained by calculating the half-clock count value obtained by subtracting 1 from the immediately preceding second-half detection signal is subtracted for each sampling frequency indicated by the sampling frequency detection signal, A determination circuit that outputs a determination signal of the modulation period 1T, 2T, 3T by comparing with a predetermined table; Enter a constant signal,
A preamble detection circuit that detects the pattern of the preamble and outputs a preamble detection signal; and inputs the preamble detection signal and the determination signal, and demodulates and outputs a digital audio signal from the determination signal based on the preamble detection signal as a timing reference. And a bi-phase demodulation circuit.

【0024】また、本発明のデジタルオーディオインタ
ーフェース信号復調回路は、前記デジタルオーディオイ
ンターフェース信号を入力し、前記基準クロックでデジ
タルオーディオインターフェース信号を打ち抜いた第1
の打ち抜き信号と、前記第1の打ち抜き信号をさらに前
記基準クロックで打ち抜いた第2の打ち抜き信号と、前
記基準クロックの反転クロックでデジタルオーディオイ
ンターフェース信号を打ち抜いてさらに基準クロックで
打ち抜いた第1の反転打ち抜き信号と、第1の反転打ち
抜き信号をさらに基準クロックで打ち抜いた第2の反転
打ち抜き信号とを生成し、第1の打ち抜き信号と第1の
反転打ち抜き信号と第2の打ち抜き信号とを加算して第
1のキャリー信号を求め、第1の反転打ち抜き信号と第
2の打ち抜き信号と第2の反転打ち抜き信号とを加算し
て第2のキャリー信号を求め、第1のキャリー信号のエ
ッジを検出してエッジ検出信号を出力し、第1のキャリ
ー信号と第2のキャリー信号との排他的論理和をとった
後半検出信号を出力するノイズ除去付きエッジ検出回路
と、前記エッジ検出信号を入力し、復調が必要な全ての
サンプリング周波数の3T信号に相当するエッジ検出信
号の信号幅を検出し、各々の周期がサンプリング周波数
の2倍の周期かどうかによって、サンプリング周波数検
出信号を出力する周波数検出回路と、前記エッジ検出信
号と前記後半検出信号と前記サンプリング周波数検出信
号とを入力し、エッジ検出信号が入力されるごとに前記
基準クロックでエッジ検出信号をカウントした値を求
め、この値を2倍した値に対し、後半検出信号が入力さ
れていれば1を加え、さらに直前の後半検出信号が入力
されていれば1を引いた半クロックカウント値を算出し
て求めた半クロックカウント値を前記サンプリング周波
数検出信号で示されるサンプリング周波数ごとに予め定
めたテーブルと比較することで変調周期の1T、2T、
3Tの判定信号を出力する判定回路と、前記判定信号を
入力し、前記プリアンブルのパターンを検出してプリア
ンブル検出信号を出力するプリアンブル検出回路と、前
記プリアンブル検出信号と判定信号とを入力し、プリア
ンブル検出信号をタイミング基準にして判定信号からデ
ジタルオーディオ信号を復調して出力するバイフェーズ
復調回路とを有する。
Further, the digital audio interface signal demodulation circuit of the present invention, wherein the digital audio interface signal is inputted, and the first digital audio interface signal is punched out by the reference clock.
, A second punching signal obtained by further punching out the first punching signal with the reference clock, and a first inversion punching out a digital audio interface signal with the inverted clock of the reference clock and punching further with the reference clock A punch signal and a second inverted punch signal obtained by further punching the first inverted punch signal with a reference clock are generated, and the first punch signal, the first inverted punch signal, and the second punch signal are added. To obtain a first carry signal, add the first inverted punching signal, the second punched signal, and the second inverted punched signal to obtain a second carry signal, and detect an edge of the first carry signal. And outputs an edge detection signal, and outputs a second half detection signal obtained by taking an exclusive OR of the first carry signal and the second carry signal. An edge detection circuit with noise removal and the edge detection signal, and detects a signal width of an edge detection signal corresponding to a 3T signal of all sampling frequencies required for demodulation, and each cycle is twice the sampling frequency. A frequency detection circuit that outputs a sampling frequency detection signal depending on whether or not the cycle is a period, and the edge detection signal, the second half detection signal, and the sampling frequency detection signal are input, and the reference clock is input each time the edge detection signal is input. The value obtained by counting the edge detection signal is obtained, and 1 is added to a value obtained by doubling this value if the second half detection signal is input, and 1 is subtracted if the immediately preceding second half detection signal is input. The half clock count value obtained by calculating the half clock count value is used as the sampling frequency indicated by the sampling frequency detection signal. 1T modulation period by comparing with a predetermined table for each number, 2T,
A determination circuit that outputs a 3T determination signal, a preamble detection circuit that receives the determination signal, detects the pattern of the preamble, and outputs a preamble detection signal, and receives the preamble detection signal and the determination signal, A bi-phase demodulation circuit for demodulating and outputting a digital audio signal from the determination signal with the detection signal as a timing reference.

【0025】以下、本発明の実施の形態について、図面
を参照しながら説明する。 (実施の形態1)図1は本発明の一実施の形態における
デジタルオーディオインターフェース信号復調回路のブ
ロック図である。以下、図1にしたがってその動作を説
明する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. (Embodiment 1) FIG. 1 is a block diagram of a digital audio interface signal demodulation circuit according to an embodiment of the present invention. The operation will be described below with reference to FIG.

【0026】1はエッジ検出回路である。基準クロック
s100の正エッジでデジタルオーディオ信号s101
のエッジを検出したエッジ検出信号s102と、基準ク
ロックs100の後半にデジタルオーディオインターフ
ェース信号s101のエッジがあったことを示す後半検
出信号s103を出力する。
Reference numeral 1 denotes an edge detection circuit. Digital audio signal s101 at the positive edge of reference clock s100
Are output, and a second half detection signal s103 indicating that the edge of the digital audio interface signal s101 is present in the second half of the reference clock s100.

【0027】2は判定回路である。エッジ検出信号s1
02が入力されるごとに基準クロックs100でエッジ
検出信号の間隔をカウントした値を求め、この値を2倍
した値に対し、後半検出信号s103が入力されていれ
ば1を加え、さらに直前の後半検出信号が入力されてい
れば1を引いた半クロックカウント値を算出する。この
半クロックカウント値を予め定めたテーブル、例えば4
から9、あるいは10から15、あるいは16から22
と比較することでそれぞれ1T、2T、3Tを判定し、
判定信号s104を出力する。
Reference numeral 2 denotes a judgment circuit. Edge detection signal s1
Each time 02 is input, a value obtained by counting the interval of the edge detection signal with the reference clock s100 is obtained, and 1 is added to a value obtained by doubling this value if the second half detection signal s103 is input, and furthermore, If the second half detection signal is input, a half clock count value obtained by subtracting 1 is calculated. This half clock count value is stored in a predetermined table, for example, 4
To 9, or 10 to 15, or 16 to 22
1T, 2T, 3T are determined by comparing with
The judgment signal s104 is output.

【0028】3はプリアンブル検出回路である。1T、
2T、3Tの判定信号s104から、3113、331
1、3212の3種類のいずれかの判定信号列を検出す
るとプリアンブル検出信号s105を出力する。
Reference numeral 3 denotes a preamble detection circuit. 1T,
From the 2T and 3T determination signals s104 to 3113 and 331
When detecting any one of the three types of determination signal sequences, i.e., 1, 3212, it outputs a preamble detection signal s105.

【0029】4はバイフェーズ復調回路である。プリア
ンブル検出信号s105を基準にして、判定信号から2
Tが入力されると0を、1Tが連続して2回出力される
と1を出力することで、デジタルオーディオ信号s10
6を復調し出力する。
Reference numeral 4 denotes a biphase demodulation circuit. Based on the preamble detection signal s105, 2
By outputting 0 when T is input and outputting 1 when 1T is output twice in succession, the digital audio signal s10 is output.
6 is demodulated and output.

【0030】基準クロックはs100は、デジタルオー
ディオインターフェース信号s101の最小反転周期
(1T)の半分より高い任意の周波数でよい。例えば1
6.9344MHzのようなクロックを使うことができ
る。
The reference clock s100 may be any frequency higher than half the minimum inversion period (1T) of the digital audio interface signal s101. For example, 1
A clock such as 6.9344 MHz can be used.

【0031】図2はエッジ検出回路1の回路図の一例で
ある。
FIG. 2 is an example of a circuit diagram of the edge detection circuit 1.

【0032】デジタルオーディオインターフェース信号
s101を基準クロックs100の正エッジで打ち抜い
た信号をq1とし、基準クロックs100の負エッジで
打ち抜いた信号を正エッジで打ち直した信号をnq1と
すると、エッジ検出信号s102はq1とq1を正エッ
ジで打ち抜いた信号との排他的論理和で生成される。ま
た、後半検出信号s103はq1とnq1との排他的論
理和で生成される。
Assuming that a signal obtained by punching out the digital audio interface signal s101 at the positive edge of the reference clock s100 is q1 and a signal punched out at the negative edge of the reference clock s100 is nq1 and that the signal is nq1. It is generated by exclusive OR of q1 and a signal obtained by punching out q1 at the positive edge. The second half detection signal s103 is generated by an exclusive OR of q1 and nq1.

【0033】図3はエッジ検出回路1と判定回路2の動
作タイミング図である。以下、図3を参照しながら動作
の詳細を説明する。
FIG. 3 is an operation timing chart of the edge detection circuit 1 and the judgment circuit 2. Hereinafter, the operation will be described in detail with reference to FIG.

【0034】基準クロックs100に対し、デジタルオ
ーディオインターフェース信号s101が図のA、B、
C、D、Eのように基準クロックs100の半クロック
で数えてそれぞれ6、7、6、7、12のように入力さ
れたとする。エッジ検出回路1では基準信号s100の
正エッジで打ち抜いた信号と負エッジで打ち抜いて正エ
ッジで打ち抜きなおした信号はそれぞれq1とnq1の
ような波形になる。q1のエッジを検出したエッジ検出
信号s102は図のようにエッジごとに出力される。q
1とnq1の排他的論理和から求めた後半検出信号s1
03は図のB、Cのように基準クロックの後半に遷移が
ある場合に出力される。
With respect to the reference clock s100, the digital audio interface signal s101 is shown by A, B,
It is assumed that the input is performed as 6, 7, 6, 7, and 12 by counting at half the clock of the reference clock s100 like C, D, and E. In the edge detection circuit 1, a signal punched out at the positive edge of the reference signal s100 and a signal punched out at the negative edge and then punched out at the positive edge have waveforms such as q1 and nq1, respectively. The edge detection signal s102 that detects the edge of q1 is output for each edge as shown in the figure. q
2 and the latter half detection signal s1 obtained from the exclusive OR of nq1
03 is output when there is a transition in the latter half of the reference clock as in B and C in the figure.

【0035】判定回路2ではs102のエッジ間隔のカ
ウント値c(t)と後半検出信号s103の値p(t)
と前回の後半検出信号の値p(t−1)から、半クロッ
クカウント値n(t)は、次式で与えられる。
In the determination circuit 2, the count value c (t) of the edge interval of s102 and the value p (t) of the second half detection signal s103 are obtained.
The half clock count value n (t) is given by the following equation from the previous half-detection signal value p (t-1).

【0036】n(t) = −p(t−1) + 2×c
(t) + p(t) ただし、pは1または0。したがって、Aの入力に対し
ては、カウント値が3で後半検出信号s103は立って
いないためn=6。Bの入力に対しては、カウント値が
3で後半検出信号s103が今回立ったためn=7。C
の入力に対しては、カウント値が3で後半検出信号s1
03が両方立っているためn=6。同様に、Dはn=
7。Eはn=12となる。これらの値は、テーブル判定
によりそれぞれ1T、1T、1T、1T、2Tのように
判定信号s104として出力される。
N (t) =-p (t-1) + 2.times.c
(T) + p (t) where p is 1 or 0. Therefore, for the input of A, since the count value is 3 and the second half detection signal s103 is not raised, n = 6. For the input of B, the count value is 3 and the latter half detection signal s103 has now risen, so n = 7. C
, The count value is 3 and the latter half detection signal s1
Since both 03 are standing, n = 6. Similarly, D is n =
7. E becomes n = 12. These values are output as determination signals s104 as 1T, 1T, 1T, 1T, and 2T, respectively, by table determination.

【0037】図4はプリアンブル検出回路3とバイフェ
ーズ復調回路4の動作タイミング図である。以下、図4
を参照しながら動作の詳細を説明する。
FIG. 4 is an operation timing chart of the preamble detection circuit 3 and the biphase demodulation circuit 4. Hereinafter, FIG.
The details of the operation will be described with reference to FIG.

【0038】プリアンブル検出回路3は判定信号s10
4から、3113、3311、3212の3種類のいず
れかのプリアンブルのパターンを検出してプリアンブル
検出信号s105を出力する。プリアンブル検出信号s
105は、プリアンブルパターンを検出するとLレベル
になり、デジタルオーディオインターフェース信号の2
8ビット目を過ぎるとHレベルにすることで生成する。
L期間がバイフェーズマーク変調された部分になる。
The preamble detection circuit 3 outputs a judgment signal s10
4 to 3113, 3311, and 3212, and detects a preamble pattern of any of the three types, and outputs a preamble detection signal s105. Preamble detection signal s
When the preamble pattern is detected, the signal 105 goes to the L level, and the digital audio interface signal 2
After the 8th bit, it is generated by setting it to the H level.
The L period is a portion subjected to the biphase mark modulation.

【0039】バイフェーズ復調回路4は、プリアンブル
検出信号s105がLレベルになった所から、2Tなら
0を、1Tが2連続で1を出力することで復調データを
得る。この復調データからオーディオデータを分離して
デジタルオーディオ信号s106を出力する。
The bi-phase demodulation circuit 4 obtains demodulated data by outputting 0 for 2T and 1 for 1T two consecutive times from the point where the preamble detection signal s105 has become L level. The audio data is separated from the demodulated data to output a digital audio signal s106.

【0040】以上のように本発明によれば、基準クロッ
クの正負両方のエッジでデジタルオーディオインターフ
ェース信号のエッジ検出を行い、この出力から基準クロ
ックの半クロックでのカウント値を求め、このカウント
値からテーブル判定によって復調出力を得る構成とする
ことにより、PLLを使わずに低い周波数の基準クロッ
クだけで復調を行うことができる。(実施の形態2)図
5は本発明の一実施の形態におけるデジタルオーディオ
インターフェース信号復調回路のブロック図である。以
下、図5にしたがってその動作を説明する。
As described above, according to the present invention, the edge detection of the digital audio interface signal is performed at both the positive and negative edges of the reference clock, and the count value at the half clock of the reference clock is obtained from this output. With a configuration in which a demodulated output is obtained by table determination, demodulation can be performed using only a low-frequency reference clock without using a PLL. (Embodiment 2) FIG. 5 is a block diagram of a digital audio interface signal demodulation circuit according to an embodiment of the present invention. The operation will be described below with reference to FIG.

【0041】51はノイズ除去付きエッジ検出回路であ
る。基準クロックs100の正,負,正の3つのエッジ
でデジタルオーディオ信号s101のエッジを検出した
信号を多数決判定した信号のエッジを検出するエッジ検
出信号s102と、基準クロックs100の負,正,負
の3つのエッジでデジタルオーディオインターフェース
信号s101のエッジを検出した信号を多数決判定した
信号から、エッジ変化の中心が基準クロックs100の
後半であったことを示す後半検出信号s103を出力す
る。
Reference numeral 51 denotes an edge detection circuit with noise elimination. An edge detection signal s102 for detecting an edge of a signal obtained by majority decision of a signal obtained by detecting the edge of the digital audio signal s101 with three positive, negative and positive edges of the reference clock s100, and a negative, positive and negative of the reference clock s100. A second half detection signal s103 indicating that the center of the edge change is the second half of the reference clock s100 is output from the signal that has been determined by majority decision on the signal that has detected the edge of the digital audio interface signal s101 at three edges.

【0042】52は周波数検出回路である。復調が必要
な全てのサンプリング周波数、例えば32kHz、4
4.1kHz、48kHzのそれぞれの3T信号に相当
するエッジ検出信号の信号幅を検出し、各々の周期がサ
ンプリング周波数の2倍の周期かどうかによって、32
kHzか44.1kHzか48kHzかを検出しサンプ
リング周波数検出信号s107を出力する。
Reference numeral 52 denotes a frequency detection circuit. All sampling frequencies that require demodulation, e.g.
The signal width of the edge detection signal corresponding to each of the 3T signals of 4.1 kHz and 48 kHz is detected, and 32 bits are determined depending on whether each cycle is twice the sampling frequency.
It detects whether the frequency is kHz, 44.1 kHz or 48 kHz, and outputs a sampling frequency detection signal s107.

【0043】2は判定回路である。エッジ検出信号s1
02が入力されるごとに基準クロックs100でエッジ
検出信号の間隔をカウントした値を求め、この値を2倍
した値に対し、後半検出信号s103が入力されていれ
ば1を加え、さらに直前の後半検出信号が入力されてい
れば1を引いた半クロックカウント値を算出する。この
半クロックカウント値を、サンプリング周波数検出信号
s107の示すサンプリング周波数ごとに予め定めた判
定テーブルと比較することでそれぞれ1T、2T、3T
を判定し、判定信号s104を出力する。
Reference numeral 2 denotes a judgment circuit. Edge detection signal s1
Each time 02 is input, a value obtained by counting the interval of the edge detection signal with the reference clock s100 is obtained, and 1 is added to a value obtained by doubling this value if the second half detection signal s103 is input, and furthermore, If the second half detection signal is input, a half clock count value obtained by subtracting 1 is calculated. The half clock count value is compared with a predetermined determination table for each sampling frequency indicated by the sampling frequency detection signal s107, thereby obtaining 1T, 2T, and 3T, respectively.
And outputs a determination signal s104.

【0044】3はプリアンブル検出回路である。1T、
2T、3Tの判定信号s104から、3113、331
1、3212の3種類のいずれかの判定信号列を検出す
るとプリアンブル検出信号s105を出力する。
Reference numeral 3 denotes a preamble detection circuit. 1T,
From the 2T and 3T determination signals s104 to 3113 and 331
When detecting any one of the three types of determination signal sequences, i.e., 1, 3212, it outputs a preamble detection signal s105.

【0045】4はバイフェーズ復調回路である。プリア
ンブル検出信号s105を基準にして、判定信号から2
Tが入力されると0を、1Tが連続して2回出力される
と1を出力することで、デジタルオーディオ信号s10
6を復調し出力する。
4 is a bi-phase demodulation circuit. Based on the preamble detection signal s105, 2
By outputting 0 when T is input and outputting 1 when 1T is output twice in succession, the digital audio signal s10 is output.
6 is demodulated and output.

【0046】基準クロックはs100は、デジタルオー
ディオインターフェース信号s101の最小反転周期
(1T)の半分より高い任意の周波数でよい。例えば1
6.9344MHzのようなクロックを使うことができ
る。
The reference clock s100 may be any frequency higher than half the minimum inversion period (1T) of the digital audio interface signal s101. For example, 1
A clock such as 6.9344 MHz can be used.

【0047】図6はノイズ除去付きエッジ検出回路51
の回路図の一例である。
FIG. 6 shows an edge detection circuit 51 with noise elimination.
3 is an example of a circuit diagram of FIG.

【0048】デジタルオーディオインターフェース信号
s101を基準クロックs100の正エッジで打ち抜い
た信号をq1とし、これをさらに正エッジで打ち抜いた
信号をq2とする。また、基準クロックs100の負エ
ッジで打ち抜いた信号を正エッジで打ち直した信号をn
q1とし、これをさらに正エッジで打ち抜いた信号をn
q2とする。q1とnq1とq2とをフルアダーで加算
してキャリーc1を求め、nq1とq2とnq2とをフ
ルアダーで加算してキャリーc2を求める。エッジ検出
信号s102はc1とc1を正エッジで打ち抜いた信号
との排他的論理和で生成される。また、後半検出信号s
103はc1とc2との排他的論理和で生成される。
A signal obtained by punching out the digital audio interface signal s101 at the positive edge of the reference clock s100 is denoted by q1, and a signal punched out at the positive edge is denoted by q2. A signal punched out at the negative edge of the reference clock s100 is replaced by a signal
q1 and a signal punched out at the positive edge is denoted by n
q2. Carry c1 is obtained by adding q1, nq1, and q2 in a full adder, and carry c2 is obtained by adding nq1, q2, and nq2 in a full adder. The edge detection signal s102 is generated by an exclusive OR of c1 and a signal obtained by punching out c1 with a positive edge. Also, the second half detection signal s
103 is generated by the exclusive OR of c1 and c2.

【0049】図7はノイズ除去付きエッジ検出回路51
と判定回路2の動作タイミング図である。以下、図7を
参照しながら動作の詳細を説明する。
FIG. 7 shows an edge detection circuit 51 with noise elimination.
FIG. 5 is an operation timing chart of the determination circuit 2. Hereinafter, the details of the operation will be described with reference to FIG.

【0050】基準クロックs100に対し、デジタルオ
ーディオインターフェース信号s101が図のA、B、
C、D、Eのように入力されたとする。これはAとBお
よびCとDの間のエッジで信号のバタつきがあり、Eの
中央でヒゲ状のノイズが入っている場合の例である。
The digital audio interface signal s101 is compared with the reference clock s100 by A, B,
It is assumed that the input is like C, D, E. This is an example of a case where there is fluttering of a signal at an edge between A and B and between C and D, and a whisker-like noise is present at the center of E.

【0051】ノイズ除去付きエッジ検出回路51では基
準信号s100の正エッジで打ち抜いた信号と負エッジ
で打ち抜いて正エッジで打ち抜きなおした信号はそれぞ
れq1とnq1のような波形になる。q1およびnq1
をさらに正エッジで打ち抜いた信号はそれぞれq2とn
q2である。q1とnq1とq2とをフルアダーで加算
したキャリー出力c1は、3つの信号のどれか2つ以上
がHレベルの時Hになる多数決出力となっている。nq
1とq2とnq2とをフルアダーで加算したキャリー出
力c2も同様である。理解を助けるためにもう少し説明
を加えると、c1とc2は図7のデジタルオーディオイ
ンターフェース信号s101を基準クロックs100に
対して半クロック遅らせた時のq1とnq1と同じ波形
になっている。これはノイズ付きエッジ検出回路51の
上述の動作が基準クロックs100の半クロックずつ遅
れた3点での平均をとっていることに相当するため、ノ
イズがないエッジは半クロック遅れたところに平均が来
るためである。c1のエッジを検出したエッジ検出信号
s102は図のようにエッジごとに出力される。c1と
c2の排他的論理和から求めた後半検出信号s103は
図のA、D、Eのように3点の平均の遷移が基準クロッ
クの後半に来る場合に出力される。
In the edge detection circuit 51 with noise elimination, the signal punched out at the positive edge of the reference signal s100 and the signal punched out at the negative edge and repunched at the positive edge have waveforms such as q1 and nq1, respectively. q1 and nq1
Are further q2 and n
q2. The carry output c1 obtained by adding q1, nq1, and q2 by a full adder is a majority output that becomes H when any two or more of the three signals are at the H level. nq
The same applies to carry output c2 obtained by adding 1, q2, and nq2 in a full adder. In order to facilitate understanding, c1 and c2 have the same waveforms as q1 and nq1 when the digital audio interface signal s101 in FIG. 7 is delayed by half a clock with respect to the reference clock s100. This is equivalent to the above-mentioned operation of the edge detection circuit with noise 51 taking an average at three points delayed by half a clock of the reference clock s100. To come. The edge detection signal s102 that detects the edge of c1 is output for each edge as shown in the figure. The latter half detection signal s103 obtained from the exclusive OR of c1 and c2 is output when the average transition of three points comes in the latter half of the reference clock as shown in A, D, and E in the figure.

【0052】判定回路2ではs102のエッジ間隔のカ
ウント値c(t)と後半検出信号s103の値p(t)
と前回の後半検出信号の値p(t−1)から、半クロッ
クカウント値n(t)は、次式で与えられる。
In the judgment circuit 2, the count value c (t) of the edge interval of s102 and the value p (t) of the second half detection signal s103 are obtained.
The half clock count value n (t) is given by the following equation from the previous half-detection signal value p (t-1).

【0053】n(t) = −p(t−1) + 2×c
(t) + p(t) ただし、pは1または0。したがって、Aの入力に対し
ては、カウント値が3で後半検出信号s103は両方立
っているためn=6。Bの入力に対しては、カウント値
が4で後半検出信号s103が前回のみ立っていたため
n=7。Cの入力に対しては、カウント値が3で後半検
出信号s103が両方立っていないためn=6。同様
に、Dはn=7。Eはn=12となる。
N (t) = − p (t−1) + 2 × c
(T) + p (t) where p is 1 or 0. Therefore, for the input of A, since the count value is 3 and the second half detection signal s103 is both standing, n = 6. With respect to the input of B, n = 7 because the count value is 4 and the latter half detection signal s103 has been set only last time. For the input of C, n = 6 because the count value is 3 and the second half detection signal s103 does not rise. Similarly, D is n = 7. E becomes n = 12.

【0054】周波数検出回路52は、エッジ検出信号s
102から復調が必要な全てのサンプリング周波数の3
T信号に相当する信号幅を検出する。例えば、32kH
z用には11から15、44.1kHzと48kHz用
には8から10の信号幅を検出する。各々の周期がサン
プリング周波数の2倍の周期かどうかによって、32k
Hzか44.1kHzか48kHzかを検出しサンプリ
ング周波数検出信号s107を出力する。なお、3T信
号を検出するのに、判定回路2の半クロックカウント値
n(t)を用いる形態としてもよい。
The frequency detection circuit 52 generates an edge detection signal s
From 102, 3 of all sampling frequencies that need demodulation
A signal width corresponding to the T signal is detected. For example, 32 kHz
Signal widths of 11 to 15 for z, 8 to 10 for 44.1 kHz and 48 kHz are detected. 32k depending on whether each period is twice the sampling frequency
Hz, 44.1 kHz or 48 kHz, and outputs a sampling frequency detection signal s107. It should be noted that a half clock count value n (t) of the determination circuit 2 may be used to detect the 3T signal.

【0055】図8は判定回路2の判定テーブルの一例を
示す。図7で判定回路2で求めた半クロックカウント値
nは、周波数検出回路52から出力されるサンプリング
周波数検出信号s107にしたがって、図8の32kH
zから48kHzまでのいずれかのテーブルを用いて判
定される。例えば44.1kHzとすると、判定テーブ
ルによりそれぞれ1T、1T、1T、1T、2Tのよう
に判定され、判定信号s104として出力される。
FIG. 8 shows an example of the judgment table of the judgment circuit 2. The half clock count value n obtained by the determination circuit 2 in FIG. 7 is 32 kHz in FIG. 8 according to the sampling frequency detection signal s107 output from the frequency detection circuit 52.
The determination is made using any table from z to 48 kHz. For example, assuming that the frequency is 44.1 kHz, it is determined as 1T, 1T, 1T, 1T, 2T by the determination table, and is output as the determination signal s104.

【0056】プリアンブル検出回路3とバイフェーズ復
調回路4の動作は、実施の形態1と全くおなじである。
プリアンブル検出回路3は判定信号s104から、31
13、3311、3212の3種類のいずれかのプリア
ンブルのパターンを検出してプリアンブル検出信号s1
05を出力する。プリアンブル検出信号s105は、プ
リアンブルパターンを検出するとLレベルになり、デジ
タルオーディオインターフェース信号の28ビットを過
ぎるとHレベルにすることで生成する。L期間がバイフ
ェーズマーク変調された部分になる。
The operations of the preamble detection circuit 3 and the biphase demodulation circuit 4 are exactly the same as in the first embodiment.
The preamble detection circuit 3 determines from the determination signal s104 that
13, 3311, and 3212, and detects a preamble pattern of any of the three types to obtain a preamble detection signal s1.
05 is output. The preamble detection signal s105 is generated by going low when a preamble pattern is detected, and going high when 28 bits of the digital audio interface signal have passed. The L period is a portion subjected to the biphase mark modulation.

【0057】バイフェーズ復調回路4は、プリアンブル
検出信号s105がLレベルになった所から、2Tなら
0を、1Tが2連続で1を出力することで復調データを
得る。この復調データからオーディオデータを分離して
デジタルオーディオ信号s106を出力する。
The biphase demodulation circuit 4 obtains demodulated data by outputting 0 for 2T and 1 for 2T consecutively from the point where the preamble detection signal s105 becomes L level. The audio data is separated from the demodulated data to output a digital audio signal s106.

【0058】以上のように本発明によれば、エッジ検出
回路に加算回路を付加することにより、デジタルオーデ
ィオインターフェース信号のエッジや信号の途中に多少
のノイズがあっても、正しいデジタルオーディオ信号を
復調することができる。
As described above, according to the present invention, a correct digital audio signal can be demodulated by adding an addition circuit to the edge detection circuit, even if there is some noise in the edge of the digital audio interface signal or in the middle of the signal. can do.

【0059】また、本発明によれば、エッジ検出信号の
3Tの周期によって、判定テーブルを切り換えること
で、各種のサンプリング周波数のデジタルオーディオイ
ンターフェース信号の復調を行うことができる。また、
テーブルに幅を持たせたことで、デジタルオーディオ信
号の周波数偏差やデューティーずれに対する耐性も有し
ている。
Further, according to the present invention, the digital audio interface signals of various sampling frequencies can be demodulated by switching the judgment table in accordance with the 3T cycle of the edge detection signal. Also,
By providing the table with a width, the digital audio signal has resistance to frequency deviation and duty deviation.

【0060】[0060]

【発明の効果】以上のように本発明は、基準クロックの
正負両方のエッジを使ってデジタルオーディオインター
フェース信号のエッジ検出を行い、この出力から基準ク
ロックの半クロックでのカウント値を求め、このカウン
ト値からテーブル判定によって復調出力を得る構成とす
ることにより、PLLを使わずに低い周波数の基準クロ
ックだけで復調を行うことができる。
As described above, according to the present invention, the edge detection of the digital audio interface signal is performed using both the positive and negative edges of the reference clock, and the count value at the half clock of the reference clock is obtained from this output. By employing a configuration in which a demodulated output is obtained from a value by table determination, demodulation can be performed using only a low-frequency reference clock without using a PLL.

【0061】PLLやLPFなどのアナログ回路が不要
となることで、回路が小型化でき、動作が安定なデジタ
ルオーディオインターフェース信号復調回路を実現でき
る。
By eliminating the need for an analog circuit such as a PLL or LPF, the circuit can be downsized and a digital audio interface signal demodulation circuit with stable operation can be realized.

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

【図1】本発明の一実施の形態におけるデジタルオーデ
ィオインターフェース信号復調回路のブロック図。
FIG. 1 is a block diagram of a digital audio interface signal demodulation circuit according to an embodiment of the present invention.

【図2】エッジ検出回路1の回路図の一例を示す図。FIG. 2 is a diagram showing an example of a circuit diagram of an edge detection circuit 1.

【図3】エッジ検出回路1と判定回路2の動作タイミン
グ図。
FIG. 3 is an operation timing chart of an edge detection circuit 1 and a determination circuit 2.

【図4】プリアンブル検出回路3とバイフェーズ復調回
路4の動作タイミング図。
FIG. 4 is an operation timing chart of a preamble detection circuit 3 and a biphase demodulation circuit 4;

【図5】本発明の一実施の形態におけるデジタルオーデ
ィオインターフェース信号復調回路のブロック図。
FIG. 5 is a block diagram of a digital audio interface signal demodulation circuit according to one embodiment of the present invention.

【図6】ノイズ除去付きエッジ検出回路51の回路図の
一例を示す図。
FIG. 6 is a diagram showing an example of a circuit diagram of an edge detection circuit with noise removal 51;

【図7】ノイズ除去付きエッジ検出回路51と判定回路
2の動作タイミング図。
FIG. 7 is an operation timing chart of the edge detection circuit with noise elimination circuit 51 and the determination circuit 2;

【図8】判定回路2の判定テーブルの一例を示す図。FIG. 8 is a diagram illustrating an example of a determination table of a determination circuit 2.

【図9】デジタルオーディオインターフェース規格の概
要を示すタイミング図。
FIG. 9 is a timing chart showing an outline of a digital audio interface standard.

【図10】デジタルオーディオインターフェース信号を
復調する従来の復調回路のブロック図。
FIG. 10 is a block diagram of a conventional demodulation circuit for demodulating a digital audio interface signal.

【図11】従来の復調回路の動作タイミング図。FIG. 11 is an operation timing chart of a conventional demodulation circuit.

【符号の説明】[Explanation of symbols]

1 エッジ検出回路 2 判定回路 3 プリアンブル検出回路 4 バイフェーズ復調回路 51 ノイズ除去付きエッジ検出回路 52 周波数検出回路 DESCRIPTION OF SYMBOLS 1 Edge detection circuit 2 Judgment circuit 3 Preamble detection circuit 4 Biphase demodulation circuit 51 Edge detection circuit with noise removal 52 Frequency detection circuit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】デジタルオーディオ信号にプリアンブルび
付加情報を付加し、バイフェーズ変調して伝送されるデ
ジタルオーディオインターフェース信号の復調を行う復
調回路であって、 前記デジタルオーディオインターフェース信号を入力
し、入力信号の最小反転周期の半分より短い周期でかつ
入力信号とは必ずしも同期しない基準クロックでデジタ
ルオーディオインターフェース信号を打ち抜いた第1の
打ち抜き信号と、前記基準クロックの反転クロックでデ
ジタルオーディオインターフェース信号を打ち抜きさら
に基準クロックで打ち抜いた第1の反転打ち抜き信号と
を生成し、第1の打ち抜き信号のエッジを検出してエッ
ジ検出信号を出力し、第1の打ち抜き信号と第1の反転
打ち抜き信号との排他的論理和をとった後半検出信号を
出力するエッジ検出回路と、 前記エッジ検出信号と前記後半検出信号とを入力し、エ
ッジ検出信号が入力されるごとに前記基準クロックでエ
ッジ検出信号をカウントした値を求め、この値を2倍し
た値に対し、後半検出信号が入力されていれば1を加
え、さらに直前の後半検出信号が入力されていれば1を
引いた半クロックカウント値を算出し、半クロックカウ
ント値を予め定めたテーブルと比較することで変調周期
の1T、2T、3Tの判定信号を出力する判定回路と、 前記判定信号を入力し、前記プリアンブルのパターンを
検出してプリアンブル検出信号を出力するプリアンブル
検出回路と、 前記プリアンブル検出信号と判定信号とを入力し、プリ
アンブル検出信号をタイミング基準にして判定信号から
デジタルオーディオ信号を復調して出力するバイフェー
ズ復調回路とを有するデジタルオーディオインターフェ
ース信号復調回路。
1. A demodulation circuit for adding a preamble and additional information to a digital audio signal, demodulating a digital audio interface signal transmitted by bi-phase modulation, and receiving the digital audio interface signal. A first punched signal obtained by punching out a digital audio interface signal with a reference clock that is shorter than half of the minimum inversion period of the digital audio interface and that is not necessarily synchronized with an input signal; A first inverted punching signal punched by a clock is generated, an edge of the first punching signal is detected, an edge detection signal is output, and an exclusive logic of the first punching signal and the first inverted punching signal is generated. Output the second half detection signal The edge detection circuit to be input, the edge detection signal and the second half detection signal are input, a value obtained by counting the edge detection signal with the reference clock every time the edge detection signal is input, and this value is doubled. If the second half detection signal is input, 1 is added to the value, and if the immediately preceding second half detection signal is input, 1 is subtracted to calculate a half clock count value, and the half clock count value is set in a predetermined table. A determination circuit that outputs a determination signal of a modulation period of 1T, 2T, 3T by comparing with a preamble detection circuit that receives the determination signal, detects the pattern of the preamble, and outputs a preamble detection signal; A preamble detection signal and a determination signal are input, and a digital audio signal is demodulated from the determination signal with the preamble detection signal as a timing reference. Digital audio interface signal demodulating circuit and a biphase demodulation circuit to output.
【請求項2】デジタルオーディオ信号にプリアンブルび
付加情報を付加し、バイフェーズ変調して伝送されるデ
ジタルオーディオインターフェース信号の復調を行う復
調回路であって、 前記デジタルオーディオインターフェース信号を入力
し、前記基準クロックでデジタルオーディオインターフ
ェース信号を打ち抜いた第1の打ち抜き信号と、前記第
1の打ち抜き信号をさらに前記基準クロックで打ち抜い
た第2の打ち抜き信号と、前記基準クロックの反転クロ
ックでデジタルオーディオインターフェース信号を打ち
抜いてさらに基準クロックで打ち抜いた第1の反転打ち
抜き信号と、第1の反転打ち抜き信号をさらに基準クロ
ックで打ち抜いた第2の反転打ち抜き信号とを生成し、
第1の打ち抜き信号と第1の反転打ち抜き信号と第2の
打ち抜き信号とを加算して第1のキャリー信号を求め、
第1の反転打ち抜き信号と第2の打ち抜き信号と第2の
反転打ち抜き信号とを加算して第2のキャリー信号を求
め、第1のキャリー信号のエッジを検出してエッジ検出
信号を出力し、第1のキャリー信号と第2のキャリー信
号との排他的論理和をとった後半検出信号を出力するノ
イズ除去付きエッジ検出回路と、 前記エッジ検出信号と前記後半検出信号とを入力し、エ
ッジ検出信号が入力されるごとに前記基準クロックでエ
ッジ検出信号をカウントした値を求め、この値を2倍し
た値に対し、後半検出信号が入力されていれば1を加
え、さらに直前の後半検出信号が入力されていれば1を
引いた半クロックカウント値を算出して求めた半クロッ
クカウント値を予め定めたテーブルと比較することで変
調周期の1T、2T、3Tの判定信号を出力する判定回
路と、 前記判定信号を入力し、前記プリアンブルのパターンを
検出してプリアンブル検出信号を出力するプリアンブル
検出回路と、 前記プリアンブル検出信号と判定信号とを入力し、プリ
アンブル検出信号をタイミング基準にして判定信号から
デジタルオーディオ信号を復調して出力するバイフェー
ズ復調回路とを有するデジタルオーディオインターフェ
ース信号復調回路。
2. A demodulation circuit for adding a preamble and additional information to a digital audio signal, demodulating a digital audio interface signal transmitted by bi-phase modulation, and receiving the digital audio interface signal, A first punching signal obtained by punching a digital audio interface signal by a clock, a second punching signal obtained by punching the first punching signal by the reference clock, and a digital audio interface signal punched by an inverted clock of the reference clock. And generating a first inverted punching signal further punched by the reference clock and a second inverted punching signal further punched out of the first inverted punching signal by the reference clock,
Adding a first punching signal, a first inverted punching signal, and a second punching signal to obtain a first carry signal;
Adding a first inverted punching signal, a second punching signal, and a second inverted punching signal to obtain a second carry signal, detecting an edge of the first carry signal, and outputting an edge detection signal; An edge detection circuit with noise elimination that outputs a second half detection signal obtained by performing an exclusive OR operation of the first carry signal and the second carry signal; inputting the edge detection signal and the second half detection signal to detect an edge; Each time a signal is input, a value obtained by counting the edge detection signal with the reference clock is obtained, and 1 is added to a value obtained by doubling this value if a second half detection signal is input, and further, the immediately preceding second half detection signal is added. Is input, a half clock count value obtained by subtracting 1 is calculated, and the half clock count value obtained is compared with a predetermined table to output a determination signal of the modulation period 1T, 2T, 3T. A preamble detection circuit that inputs the judgment signal, detects the pattern of the preamble and outputs a preamble detection signal, and inputs the preamble detection signal and the judgment signal, and sets the preamble detection signal as a timing reference. And a bi-phase demodulation circuit for demodulating and outputting a digital audio signal from the determination signal.
【請求項3】デジタルオーディオ信号にプリアンブルび
付加情報を付加し、バイフェーズ変調して伝送されるデ
ジタルオーディオインターフェース信号の復調を行う復
調回路であって、 前記デジタルオーディオインターフェース信号を入力
し、入力信号の最小反転周波数より高い周波数でかつ入
力信号とは必ずしも同期しない基準クロックでデジタル
オーディオインターフェース信号を打ち抜いた第1の打
ち抜き信号と、前記基準クロックの反転クロックでデジ
タルオーディオインターフェース信号を打ち抜きさらに
基準クロックで打ち抜いた第1の反転打ち抜き信号とを
生成し、第1の打ち抜き信号のエッジを検出してエッジ
検出信号を出力し、第1の打ち抜き信号と第1の反転打
ち抜き信号との排他的論理和をとった後半検出信号を出
力するエッジ検出回路と、 前記エッジ検出信号を入力し、復調が必要な全てのサン
プリング周波数の3T信号に相当するエッジ検出信号の
信号幅を検出し、各々の周期がサンプリング周波数の2
倍の周期かどうかによって、サンプリング周波数検出信
号を出力する周波数検出回路と、 前記エッジ検出信号と前記後半検出信号と前記サンプリ
ング周波数検出信号とを入力し、エッジ検出信号が入力
されるごとに前記基準クロックでエッジ検出信号をカウ
ントした値を求め、この値を2倍した値に対し、後半検
出信号が入力されていれば1を加え、さらに直前の後半
検出信号が入力されていれば1を引いた半クロックカウ
ント値を算出して求めた半クロックカウント値を前記サ
ンプリング周波数検出信号で示されるサンプリング周波
数ごとに予め定めたテーブルと比較することで変調周期
の1T、2T、3Tの判定信号を出力する判定回路と、 前記判定信号を入力し、前記プリアンブルのパターンを
検出してプリアンブル検出信号を出力するプリアンブル
検出回路と、 前記プリアンブル検出信号と判定信号とを入力し、プリ
アンブル検出信号をタイミング基準にして判定信号から
デジタルオーディオ信号を復調して出力するバイフェー
ズ復調回路とを有するデジタルオーディオインターフェ
ース信号復調回路。
3. A demodulation circuit for adding a preamble and additional information to a digital audio signal, demodulating a digital audio interface signal transmitted by bi-phase modulation, and receiving the digital audio interface signal. A first punched signal obtained by punching a digital audio interface signal at a frequency higher than the minimum inversion frequency of the reference signal and not necessarily synchronized with the input signal, and a digital audio interface signal punched at the inverted clock of the reference clock and further with the reference clock. A first inverted punching signal that has been punched out is generated, an edge of the first punching signal is detected, an edge detection signal is output, and an exclusive OR of the first punching signal and the first inverted punching signal is calculated. Output second half detection signal And an edge detection circuit that receives the edge detection signal, detects a signal width of an edge detection signal corresponding to a 3T signal of all sampling frequencies that need demodulation, and sets each cycle to be equal to the sampling frequency of 2T.
A frequency detection circuit that outputs a sampling frequency detection signal depending on whether the period is doubled, and the edge detection signal, the second half detection signal, and the sampling frequency detection signal are input, and the reference is input each time the edge detection signal is input. The value obtained by counting the edge detection signal by the clock is obtained, and 1 is added to a value obtained by doubling this value if the second half detection signal is input, and 1 is subtracted if the immediately preceding second half detection signal is input. The half-clock count value obtained by calculating the half-clock count value is compared with a predetermined table for each sampling frequency indicated by the sampling frequency detection signal to output a determination signal for the modulation period 1T, 2T, 3T. A determination circuit for inputting the determination signal, detecting a pattern of the preamble and outputting a preamble detection signal A digital audio interface signal demodulation circuit comprising: a preamble detection circuit; a bi-phase demodulation circuit for receiving the preamble detection signal and the determination signal; circuit.
【請求項4】デジタルオーディオ信号にプリアンブルび
付加情報を付加し、バイフェーズ変調して伝送されるデ
ジタルオーディオインターフェース信号の復調を行う復
調回路であって、 前記デジタルオーディオインターフェース信号を入力
し、前記基準クロックでデジタルオーディオインターフ
ェース信号を打ち抜いた第1の打ち抜き信号と、前記第
1の打ち抜き信号をさらに前記基準クロックで打ち抜い
た第2の打ち抜き信号と、前記基準クロックの反転クロ
ックでデジタルオーディオインターフェース信号を打ち
抜いてさらに基準クロックで打ち抜いた第1の反転打ち
抜き信号と、第1の反転打ち抜き信号をさらに基準クロ
ックで打ち抜いた第2の反転打ち抜き信号とを生成し、
第1の打ち抜き信号と第1の反転打ち抜き信号と第2の
打ち抜き信号とを加算して第1のキャリー信号を求め、
第1の反転打ち抜き信号と第2の打ち抜き信号と第2の
反転打ち抜き信号とを加算して第2のキャリー信号を求
め、第1のキャリー信号のエッジを検出してエッジ検出
信号を出力し、第1のキャリー信号と第2のキャリー信
号との排他的論理和をとった後半検出信号を出力するノ
イズ除去付きエッジ検出回路と、 前記エッジ検出信号を入力し、復調が必要な全てのサン
プリング周波数の3T信号に相当するエッジ検出信号の
信号幅を検出し、各々の周期がサンプリング周波数の2
倍の周期かどうかによって、サンプリング周波数検出信
号を出力する周波数検出回路と、 前記エッジ検出信号と前記後半検出信号と前記サンプリ
ング周波数検出信号とを入力し、エッジ検出信号が入力
されるごとに前記基準クロックでエッジ検出信号をカウ
ントした値を求め、この値を2倍した値に対し、後半検
出信号が入力されていれば1を加え、さらに直前の後半
検出信号が入力されていれば1を引いた半クロックカウ
ント値を算出して求めた半クロックカウント値を前記サ
ンプリング周波数検出信号で示されるサンプリング周波
数ごとに予め定めたテーブルと比較することで変調周期
の1T、2T、3Tの判定信号を出力する判定回路と、 前記判定信号を入力し、前記プリアンブルのパターンを
検出してプリアンブル検出信号を出力するプリアンブル
検出回路と、 前記プリアンブル検出信号と判定信号とを入力し、プリ
アンブル検出信号をタイミング基準にして判定信号から
デジタルオーディオ信号を復調して出力するバイフェー
ズ復調回路とを有するデジタルオーディオインターフェ
ース信号復調回路。
4. A demodulation circuit for adding a preamble and additional information to a digital audio signal, demodulating a digital audio interface signal transmitted by bi-phase modulation, and receiving the digital audio interface signal, A first punching signal obtained by punching a digital audio interface signal by a clock, a second punching signal obtained by punching the first punching signal by the reference clock, and a digital audio interface signal punched by an inverted clock of the reference clock. And generating a first inverted punching signal further punched by the reference clock and a second inverted punching signal further punched out of the first inverted punching signal by the reference clock,
Adding a first punching signal, a first inverted punching signal, and a second punching signal to obtain a first carry signal;
Adding a first inverted punching signal, a second punching signal, and a second inverted punching signal to obtain a second carry signal, detecting an edge of the first carry signal, and outputting an edge detection signal; An edge detection circuit with noise elimination that outputs a second half detection signal obtained by performing an exclusive OR operation of the first carry signal and the second carry signal; and all the sampling frequencies for which the edge detection signal is input and demodulation is required. , The signal width of the edge detection signal corresponding to the 3T signal of
A frequency detection circuit that outputs a sampling frequency detection signal depending on whether the period is doubled, and the edge detection signal, the second half detection signal, and the sampling frequency detection signal are input, and each time the edge detection signal is input, the reference The value obtained by counting the edge detection signal by the clock is obtained, and 1 is added to a value obtained by doubling this value if the second half detection signal is input, and 1 is subtracted if the immediately preceding second half detection signal is input. By comparing the half clock count value obtained by calculating the calculated half clock count value with a predetermined table for each sampling frequency indicated by the sampling frequency detection signal, a determination signal of the modulation period 1T, 2T, 3T is output. A determination circuit for inputting the determination signal, detecting a pattern of the preamble and outputting a preamble detection signal A digital audio interface signal demodulation circuit comprising: a preamble detection circuit; a bi-phase demodulation circuit for receiving the preamble detection signal and the determination signal; circuit.
JP27405498A 1998-09-28 1998-09-28 Digital audio interface signal demodulation circuit Expired - Fee Related JP3668617B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27405498A JP3668617B2 (en) 1998-09-28 1998-09-28 Digital audio interface signal demodulation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27405498A JP3668617B2 (en) 1998-09-28 1998-09-28 Digital audio interface signal demodulation circuit

Publications (2)

Publication Number Publication Date
JP2000105976A true JP2000105976A (en) 2000-04-11
JP3668617B2 JP3668617B2 (en) 2005-07-06

Family

ID=17536334

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27405498A Expired - Fee Related JP3668617B2 (en) 1998-09-28 1998-09-28 Digital audio interface signal demodulation circuit

Country Status (1)

Country Link
JP (1) JP3668617B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005531214A (en) * 2002-06-21 2005-10-13 トムソン ライセンシング Broadcast router with serial digital audio data stream decoder
JP2008199205A (en) * 2007-02-09 2008-08-28 Yamaha Corp Transmission rate discrimination circuit and digital signal demodulator provided with the circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005531214A (en) * 2002-06-21 2005-10-13 トムソン ライセンシング Broadcast router with serial digital audio data stream decoder
US7747447B2 (en) 2002-06-21 2010-06-29 Thomson Licensing Broadcast router having a serial digital audio data stream decoder
JP2008199205A (en) * 2007-02-09 2008-08-28 Yamaha Corp Transmission rate discrimination circuit and digital signal demodulator provided with the circuit

Also Published As

Publication number Publication date
JP3668617B2 (en) 2005-07-06

Similar Documents

Publication Publication Date Title
EP1918929B1 (en) Frequency control apparatus, frequency control method, control program, information reproducting apparatus, and information reproducing method
JPH08317005A (en) Phase modulated signal demodulation system
JP3347667B2 (en) Manchester encoded data decoding device
JP2000049882A (en) Clock synchronization circuit
JP3108364B2 (en) Data demodulator
JP2000105976A (en) Digital audio interface signal demudulating circuit
US20030103428A1 (en) ATIP bit data generator and method for generating ATIP bit data in optical discs
JP3377669B2 (en) Sync detection method and sync detection circuit
JP4021113B2 (en) Digital audio interface signal demodulator
JP3462786B2 (en) Digital demodulator
JP3167341B2 (en) Continuous phase modulation signal demodulation circuit
US5311559A (en) Apparatus for correcting waveform distortion
CN100377219C (en) Demodulation device/method of optical disk dither signal and demodulation device/method thereof
JP2008541320A (en) Method and configuration for reproducing binary DC-free code from frequency modulated signal
JP2556125B2 (en) Data demodulator
JP3919593B2 (en) Clock reproduction apparatus, clock reproduction method and program
JP2922605B2 (en) Data demodulator
JP2008541320A5 (en)
KR100212065B1 (en) Symbol synchronizing circuit for fm digital data demodulation in amps system
JP4034131B2 (en) Digital PLL circuit
JP2000101554A (en) Sampling clock reproducing circuit
JPH01293738A (en) Demodulating circuit
JPH1188449A (en) Ask demodulating device
JPS60220649A (en) Code reproducing circuit
JP3162729B2 (en) Data recovery circuit

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050111

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050308

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050405

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050411

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080415

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090415

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100415

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110415

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees