JP2992306B2 - Line disconnection detection circuit - Google Patents

Line disconnection detection circuit

Info

Publication number
JP2992306B2
JP2992306B2 JP2093366A JP9336690A JP2992306B2 JP 2992306 B2 JP2992306 B2 JP 2992306B2 JP 2093366 A JP2093366 A JP 2093366A JP 9336690 A JP9336690 A JP 9336690A JP 2992306 B2 JP2992306 B2 JP 2992306B2
Authority
JP
Japan
Prior art keywords
control signal
output
signal
input
line disconnection
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
Application number
JP2093366A
Other languages
Japanese (ja)
Other versions
JPH03291035A (en
Inventor
裕二 ▲吉▼谷
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2093366A priority Critical patent/JP2992306B2/en
Publication of JPH03291035A publication Critical patent/JPH03291035A/en
Application granted granted Critical
Publication of JP2992306B2 publication Critical patent/JP2992306B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)
  • Monitoring And Testing Of Transmission In General (AREA)
  • Dc Digital Transmission (AREA)

Description

【発明の詳細な説明】 〔概 要〕 音声コーデック等の復号化器を有する装置において、
復号化器の入力側の回線断を検出するようにした回線断
検出回路に関し、 クロック断による回線断検出と複数の伝送速度への対
応を目的とし、 回線を介して入力されるデータの同期を取るための第
1の制御信号を、回線から抽出したクロックに基づいて
微分する微分手段と、データを復号化処理する際に使用
され、第1の制御信号と周期が等しく互いに非同期の関
係にあり、回線が断しても出力され続ける第2の制御信
号を受けて、微分出力の周期監視に使用される第3の制
御信号を生成する信号生成手段と、微分手段の微分出力
の周期を第3の制御信号に基づいて監視し、この周期が
正常でない場合に回線断検出を行う周期監視手段とを備
えるように構成する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] In an apparatus having a decoder such as an audio codec,
A line disconnection detection circuit that detects a line disconnection on the input side of the decoder.The purpose of this circuit is to detect line disconnection due to clock disconnection and to cope with multiple transmission speeds, and to synchronize data input via the line. A differentiating means for differentiating a first control signal to be taken based on a clock extracted from a line, and a first control signal which is used when decoding data and has an equal cycle and an asynchronous relationship with the first control signal. A signal generating means for receiving a second control signal which is continuously output even when the line is disconnected and generating a third control signal used for monitoring the cycle of the differential output; And a period monitoring means for monitoring based on the control signal of No. 3 and detecting a line disconnection when the period is not normal.

〔産業上の利用分野〕[Industrial applications]

本発明は、音声コーデック等の復号化器を有する装置
において、復号化器の入力側の回線断を検出するように
した回線断検出回路に関するものである。
The present invention relates to a line disconnection detection circuit for detecting a line disconnection on the input side of a decoder in an apparatus having a decoder such as an audio codec.

〔従来の技術〕[Conventional technology]

音声コーデックでは、回線断によって復号化器側への
クロックやデータの同期をとるための復号化データ制御
信号の入力が停止すると、復号化器の出力音声が発振し
てしまい、その音声の受信側で耳障りとなるため、回線
断が発生した場合には強制的に無音処理すなわちミュー
ティング処理を行っていた。
In an audio codec, when the input of a decoded data control signal for synchronizing clocks and data to the decoder side is stopped due to line disconnection, the output sound of the decoder oscillates, and the audio receiving side receives the sound. Therefore, when a line disconnection occurs, silence processing, that is, muting processing is forcibly performed.

第5図に、音声コーデックの構成を示す。図におい
て、511は音声コーデックを、521は符号化器を、531は
復号化器を、541は回線断検出回路を、551はアンドゲー
トを、561はアナログ−ディジタル変換回路(A/D回路)
を、571はディジタル−アナログ変換回路(D/A回路)を
それぞれ示している。
FIG. 5 shows the configuration of the audio codec. In the figure, 511 is a voice codec, 521 is an encoder, 531 is a decoder, 541 is a line disconnection detection circuit, 551 is an AND gate, and 561 is an analog-digital conversion circuit (A / D circuit).
571 indicates a digital-analog conversion circuit (D / A circuit).

音声コーデック511は、例えばテレビ会議システムに
おいて、マイクロフォン(図示せず)から入力される音
声アナログ信号をディジタルデータに変換した後に回線
側に送出すると共に、回線側から入力されたディジタル
データを音声アナログ信号に変換してスピーカ(図示せ
ず)に供給するものである。
The audio codec 511 converts, for example, a voice analog signal input from a microphone (not shown) to digital data in a video conference system and sends the digital data to the line side, and also converts the digital data input from the line side into an audio analog signal. And supplies it to a speaker (not shown).

符号化器521は、A/D回路561から入力される音声デー
タを適応差分符号化等の高能率符号化方式によって符号
化するものである。回線側から入力される符号化データ
制御信号によって符号化データの先頭位置の同期がとら
れ、回線側から入力されるクロックに各ビットが同期し
た符号化データが出力される。
The encoder 521 encodes audio data input from the A / D circuit 561 by a high-efficiency encoding method such as adaptive differential encoding. The head position of the encoded data is synchronized by the encoded data control signal input from the line side, and the encoded data in which each bit is synchronized with the clock input from the line side is output.

また、復号化器531は、符号化器521とは反対に回線側
から入力される復号化データを復号化するものであり、
回線側から入力される復号化データ制御信号によって復
号化データの先頭位置を認識し、回線側から入力される
クロックに同期して復号化データの各ビットを取り込ん
で復号化処理を行う。復号化されたデータは、更にアン
ドゲート551及びD/A回路571を介して音声コーデック511
から出力される。
Also, the decoder 531 is for decoding the decoded data input from the line side opposite to the encoder 521,
The head position of the decoded data is recognized by the decoded data control signal input from the line side, and each bit of the decoded data is fetched in synchronization with a clock input from the line side to perform a decoding process. The decoded data is further transmitted to an audio codec 511 via an AND gate 551 and a D / A circuit 571.
Output from

更に、回線断検出回路541は、復号化器531に入力され
る復号化データ制御信号及びクロックに基づいて回線断
検出を行うものであり、回線断を検出するとアンドゲー
ト551に入力する信号の論理を“0"(回線断検出信号)
にして、符号化器531から出力されるデータを強制的に
“0"に置き換えて、出力音声のミューティング処理を行
う。
Further, the line disconnection detection circuit 541 performs line disconnection detection based on the decoded data control signal and the clock input to the decoder 531. When the line disconnection is detected, the logic of the signal input to the AND gate 551 is detected. To “0” (line disconnection detection signal)
Then, the data output from the encoder 531 is forcibly replaced with “0” and the muting process of the output sound is performed.

第6図に回線断検出回路541の詳細な構成を、第7図
にその動作タイミングを示す。第6図において、611は
微分回路を、613及び631はフリップフロップ(FF)を、
615はナンドゲートを、621はカウンタをそれぞれ示して
いる。
FIG. 6 shows a detailed configuration of the line disconnection detection circuit 541, and FIG. 7 shows its operation timing. In FIG. 6, 611 is a differentiating circuit, 613 and 631 are flip-flops (FF),
615 indicates a NAND gate, and 621 indicates a counter.

微分回路611は、定期的に(例えば125μsの周期で)
入力される復号化データ制御信号をクロックによって微
分するものであり、その微分出力をロードパルスとして
カウンタ621に入力する(第7図(a),(b),
(c))。カウンタ621は、クロックに同期した計数動
作を行うものであり、ロードパルスが入力されると所定
の初期値設定がなされ、復号化データ制御信号の周期に
等しい所定時間後に回線断検出クロックを出力する(第
7図(d))。フリップフロップ631は、入力端子Dに
入力される復号化データ制御信号を回線断検出クロック
の立上がりに同期して取り込むものである(第7図
(e))。復号化データ制御信号が正常に入力され、か
つ、クロックが正常なタイミングで入力されて回線断検
出クロックが正常な間隔で作成されている場合には、こ
のフリップフロップ631の出力信号の論理は“1"の状態
を維持し、回線断が発生した場合にはこの論理が“0"に
変更されて回線断検出信号が出力される。
The differentiating circuit 611 periodically (eg, at a cycle of 125 μs)
The input decoded data control signal is differentiated by a clock, and the differentiated output is input to the counter 621 as a load pulse (FIGS. 7A, 7B, and 7C).
(C)). The counter 621 performs a counting operation in synchronization with a clock. When a load pulse is input, a predetermined initial value is set, and a line disconnection detection clock is output after a predetermined time equal to the cycle of the decoded data control signal. (FIG. 7 (d)). The flip-flop 631 takes in the decoded data control signal input to the input terminal D in synchronization with the rise of the line disconnection detection clock (FIG. 7 (e)). When the decoded data control signal is input normally and the clock is input at normal timing and the line disconnection detection clock is generated at normal intervals, the logic of the output signal of the flip-flop 631 is “ The state of "1" is maintained, and when a line disconnection occurs, this logic is changed to "0" and a line disconnection detection signal is output.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

ところで、上述した従来方式にあっては、回線断によ
ってクロックのみが供給されず回線断検出クロックが作
成されない場合には、フリップフロップ631において回
線断以前の状態を保つことになり、クロック断による回
線断検出ができないという問題点があった。
By the way, in the conventional method described above, when only the clock is not supplied due to the line disconnection and the line disconnection detection clock is not generated, the state before the line disconnection is maintained in the flip-flop 631, There is a problem that disconnection cannot be detected.

また、回線断検出クロックの出力タイミングは、ロー
ドパルスによって取り込むカウンタ621の初期値によっ
て決定されるため、回線側の伝送速度が変更され復号化
データ制御信号の周期が変わるとその都度上述した初期
値を変更する必要があり、複数の伝送速度に対応できな
いという問題点があった。従って、複数の伝送速度に対
応しようとすると、伝送速度のそれぞれ対応したカウン
タを備えるか、あるいは伝送速度のそれぞれに対応した
初期値の切り換え回路を追加しなければならなかった。
Further, the output timing of the line disconnection detection clock is determined by the initial value of the counter 621 captured by the load pulse. Therefore, when the transmission speed on the line side is changed and the period of the decoded data control signal is changed, the above-described initial value is used each time. Therefore, there is a problem that it is not possible to cope with a plurality of transmission speeds. Therefore, in order to cope with a plurality of transmission speeds, it is necessary to provide a counter corresponding to each transmission speed, or to add an initial value switching circuit corresponding to each transmission speed.

本発明は、このような点にかんがみて創作されたもの
であり、クロック断による回線断検出が可能で、かつ複
数の伝送速度に対応可能な回線断検出回路を提供するこ
とを目的としている。
The present invention has been made in view of such a point, and an object of the present invention is to provide a line disconnection detection circuit which can detect a line disconnection due to a clock disconnection and can cope with a plurality of transmission speeds.

〔課題を解決するための手段〕[Means for solving the problem]

第1図は、本発明の回線断検出回路の原理ブロック図
である。
FIG. 1 is a block diagram showing the principle of a line disconnection detection circuit according to the present invention.

図において、微分手段111は、回線を介して入力され
るデータの同期を取るための第1の制御信号を、回線か
ら抽出したクロックに基づいて微分する。
In the figure, a differentiator 111 differentiates a first control signal for synchronizing data input via a line based on a clock extracted from the line.

信号生成手段121は、データを復号化処理する際に使
用され、第1の制御信号と同期が等しく互いに非同期の
関係にあり、回線が断しても出力され続ける第2の制御
信号を受けて、微分出力の周期監視に使用される第3の
制御信号を生成する。
The signal generation means 121 is used when decoding data, and receives a second control signal which has the same synchronization as the first control signal and has an asynchronous relationship with each other, and is continuously output even if the line is disconnected. , A third control signal used for monitoring the cycle of the differential output.

周期監視手段131は、微分手段111の微分出力の周期を
第3の制御信号に基づいて監視し、この周期が正常でな
い場合に回線断検出を行う。
The cycle monitoring means 131 monitors the cycle of the differential output of the differentiating means 111 based on the third control signal, and if the cycle is not normal, detects line disconnection.

従って、全体として、第1の制御信号及びクロックの
少なくとも一方が入力されないときに回線断検出を行う
ように構成されている。
Therefore, as a whole, when at least one of the first control signal and the clock is not input, the line disconnection is detected.

〔作 用〕(Operation)

微分手段111によって第1の制御信号をクロックで微
分すると、第1の制御信号に周期が等しい微分出力が得
られる。また、信号生成手段121によって、データの復
号化処理の際に使用される第2の制御信号に基づいて第
3の制御信号が生成される。この第2の制御信号は、復
号化処理におけるデータの周期をとるための制御信号で
上述した第1の制御信号とは周期が等しく互いに非同期
の関係にあり、例えば装置内クロックを分周して得られ
るものである。第3の制御信号は、微分手段111の微分
出力の周期を監視するために使用されるものであり、例
えば第2の制御信号の位相をずらしたり、あるいは何の
操作も加えずに周期監視手段131に送られる。この第2
の制御信号は復号化処理に使用される信号であり、回線
断にかかわらず入力される。
When the first control signal is differentiated by the clock by the differentiating means 111, a differentiated output having a period equal to the first control signal is obtained. Further, a third control signal is generated by the signal generation unit 121 based on the second control signal used in the data decoding process. The second control signal is a control signal for determining a data cycle in the decoding process, and has a cycle equal to the first control signal and is asynchronous with each other. For example, the second control signal is obtained by dividing a clock in the apparatus. It is obtained. The third control signal is used to monitor the cycle of the differential output of the differentiating means 111. For example, the third control signal shifts the phase of the second control signal or does not perform any operation. Sent to 131. This second
Is a signal used for the decoding process, and is input regardless of line disconnection.

周期監視手段131は、第3の制御信号に基づいて微分
手段111の微分出力の周期を監視しており、回線断によ
って第1の制御信号及びクロックの少なくとも一方が入
力されない場合には上述した周期が正常でなくなるの
で、回線断として検出する。
The cycle monitoring means 131 monitors the cycle of the differential output of the differentiating means 111 based on the third control signal, and when at least one of the first control signal and the clock is not input due to the line disconnection, the cycle monitoring means 131 described above. Is not normal, so it is detected as line disconnection.

本発明にあっては、復号化処理に使用される第2の制
御信号に基づいて、第1の制御信号をクロックで微分し
た信号の周期を監視しており、クロック断が生じた場合
にも回線断検出が可能となる。
According to the present invention, the period of a signal obtained by differentiating the first control signal with a clock is monitored based on the second control signal used for the decoding process. Line disconnection detection becomes possible.

また、復号化処理に使用される第2の制御信号の周期
は伝送速度に対応しているため、特に構成を変えること
なく複数の伝送速度に対応することができる。
Further, since the cycle of the second control signal used for the decoding process corresponds to the transmission rate, it is possible to correspond to a plurality of transmission rates without particularly changing the configuration.

〔実施例〕〔Example〕

以下、図面に基づいて本発明の実施例について詳細に
説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第2図は、本発明の一実施例における回線断検出回路
の構成を示す。
FIG. 2 shows a configuration of a line disconnection detection circuit in one embodiment of the present invention.

同図に示した回線断検出回路は、微分回路211と制御
信号生成回路221とアクセス周期検出回路241とを備えて
いる。
The line disconnection detection circuit shown in FIG. 11 includes a differentiating circuit 211, a control signal generation circuit 221, and an access cycle detection circuit 241.

微分回路211は、フリップフロップ(FF)213及びナン
ドゲート215で構成されており、復号化データ制御信号
をクロックによって微分するためのものである。
The differentiating circuit 211 includes a flip-flop (FF) 213 and a NAND gate 215, and is for differentiating the decoded data control signal by a clock.

フリップフロップ213は、入力端子Dに復号化データ
制御信号が、クロック端子にクロックがそれぞれ入力さ
れており、クロックに同期して復号化データ制御信号を
取り込んでいる。また、ナンドゲート215は、一方の入
力端子に復号化データ制御信号が、他方の入力端子にフ
リップフロップ213の出力端子からの反転出力がそれ
ぞれ入力されており、2入力の論理積を反転した信号を
制御パルスとして出力する。
The flip-flop 213 receives a decoded data control signal at an input terminal D and a clock at a clock terminal, and takes in the decoded data control signal in synchronization with the clock. The NAND gate 215 has one input terminal to which the decoded data control signal is input and the other input terminal to which the inverted output from the output terminal of the flip-flop 213 is input, and outputs a signal obtained by inverting the logical product of two inputs. Output as a control pulse.

また、制御信号生成回路221は、パルス生成部(PG)2
23,2つのアンドゲート225,227,セット−リセット型フリ
ップフロップ(RS−FF)229,セレクタ231及びインバー
タ233で構成されており、入力された復号化器制御信号
の位相状態に応じてその正転信号あるいは反転信号を生
成して出力するためのものである。
The control signal generation circuit 221 includes a pulse generation unit (PG) 2
23, two AND gates 225 and 227, a set-reset type flip-flop (RS-FF) 229, a selector 231 and an inverter 233, and the non-inverted signal thereof according to the phase state of the inputted decoder control signal. Alternatively, it is for generating and outputting an inverted signal.

ここで、「復号化器制御信号」とは、復号化器におけ
る復号化処理のタイミングをとるための信号であり、例
えば装置内クロックを分周して得られるものである。従
って、復号化器制御信号と回線側から送られてくる復号
化データ制御信号は、同速度で互いに非同期の関係にあ
る。また、この復号化器制御信号は、例えば第5図に示
した音声コーデック内においては復号化器531内部で、
あるいは他の制御部(図示せず)等によって発生される
ものであり、回線断によって復号化データ制御信号やク
ロックの供給が中断された場合でも制御化器制御信号の
供給は継続される。
Here, the "decoder control signal" is a signal for setting the timing of the decoding process in the decoder, and is obtained by, for example, dividing the clock in the device. Therefore, the decoder control signal and the decoded data control signal transmitted from the line side are asynchronous with each other at the same speed. Also, this decoder control signal is, for example, inside the decoder 531 in the audio codec shown in FIG.
Alternatively, the control signal is generated by another control unit (not shown) or the like, and the supply of the control controller control signal is continued even when the supply of the decoded data control signal or the clock is interrupted due to the line disconnection.

パルス生成部223は、復号化器制御信号の立上がりを
禁止領域に含む信号を第1出力端子から出力し、立ち下
がりを禁止領域に含む信号を第2出力端子から出力する
ものである。
The pulse generator 223 outputs a signal including the rising edge of the decoder control signal in the prohibited area from the first output terminal, and outputs a signal including the falling edge in the prohibited area from the second output terminal.

アンドゲート225は、一方の入力端子にパルス生成部2
23の第1出力端子から出力される信号が、他方の入力端
子に微分回路211から出力される制御パルスがそれぞれ
入力され、これらの論理積出力をRS−FF229のセット端
子Sに入力する。アンドゲート227は、一方の入力端子
にパルス生成部223の第2出力端子から出力される信号
が、他方の入力端子に微分回路211から出力される制御
パルスがそれぞれ入力され、これらの論理積出力をRS−
FF229のリセット端子Rに入力する。
The AND gate 225 has a pulse generator 2 at one input terminal.
The signal output from the first output terminal 23 is input to the other input terminal, and the control pulse output from the differentiating circuit 211 is input to the other input terminal. The logical product of these signals is input to the set terminal S of the RS-FF229. The AND gate 227 receives a signal output from the second output terminal of the pulse generation unit 223 at one input terminal and a control pulse output from the differentiating circuit 211 at the other input terminal. To RS−
Input to the reset terminal R of FF229.

セレクタ231は、RS−FF229の出力端子Qから出力され
る信号の論理に従って2入力の何れか一方を選択して出
力する。この信号の論理が“1"である場合は復号化器制
御信号をインバータ233で反転した信号を選択し、論理
が“0"である場合は復号化器制御信号そのものを選択す
る。
The selector 231 selects and outputs one of the two inputs according to the logic of the signal output from the output terminal Q of the RS-FF229. When the logic of this signal is "1", a signal obtained by inverting the decoder control signal by the inverter 233 is selected, and when the logic is "0", the decoder control signal itself is selected.

更に、アクセス周期検出回路241は、3つのフリップ
フロップ243,245,249及び排他的論理和ゲート247で構成
されており、微分回路211から出力される制御パルスの
周期が正常であることを検出し、正常でない場合に回線
断検出信号を出力するためのものである。
Further, the access cycle detection circuit 241 is composed of three flip-flops 243, 245, 249 and an exclusive OR gate 247, and detects that the cycle of the control pulse output from the differentiation circuit 211 is normal. To output a line disconnection detection signal to the

フリップフロップ243は、クロック端子に微分回路211
からの制御パルスが、入力端子Dに自身の出力端子の
出力がそれぞれ入力されており、制御パルスを2分周し
た信号を出力端子Qから出力する。フリップフロップ24
5は、クロック端子に制御信号生成回路221内のセレクタ
231の出力信号が、入力端子Dに自身の出力端子の出
力がそれぞれ入力されており、セレクタ231の出力を2
分周した信号を出力端子Qから出力する。排他的論理和
ゲート247は、これら2つの分周出力の排他的論理和を
求めて出力する。
The flip-flop 243 has a differentiator 211 connected to the clock terminal.
, The output of its own output terminal is input to the input terminal D, and a signal obtained by dividing the control pulse by two is output from the output terminal Q. Flip-flops24
5 is a selector connected to the clock terminal in the control signal generation circuit 221.
The output signal of the selector 231 is input to the input terminal D of the output signal of the selector 231.
The frequency-divided signal is output from the output terminal Q. The exclusive OR gate 247 calculates and outputs an exclusive OR of these two frequency-divided outputs.

フリップフロップ249は、入力端子Dに排他的論理和
ゲート247の出力が、クロック端子に制御信号生成回路2
21内のセレクタ231の出力信号がそれぞれ入力されてお
り、出力端子からの反転出力を回線断検出信号として
出力する。また、この反転出力はフリップフロップ243,
245の各リセット端子Rに反転入力されており、反転出
力の論理が“0"になるとフリップフロップ243,245がリ
セットされるようになっている。
In the flip-flop 249, the output of the exclusive OR gate 247 is provided at the input terminal D, and the control signal generation circuit 2 is provided at the clock terminal.
The output signal of the selector 231 in the circuit 21 is input, and the inverted output from the output terminal is output as a line disconnection detection signal. Also, this inverted output is supplied to the flip-flop 243,
The flip-flops 243 and 245 are reset when the logic of the inverted output becomes "0".

次に、上述した本発明実施例の動作を発明する。 Next, the operation of the above-described embodiment of the present invention will be invented.

第3図に、微分回路211及び制御信号生成回路221の動
作タイミングを示す。また、第4図にアクセス周期検出
回路241の動作タイミングを示す。復号化データ制御信
号は、クロックに同期した復号化データ(シリアルデー
タ)の8ビットに1回の割合で出力されるものとする。
FIG. 3 shows operation timings of the differentiating circuit 211 and the control signal generating circuit 221. FIG. 4 shows the operation timing of the access cycle detection circuit 241. It is assumed that the decoded data control signal is output once every eight bits of the decoded data (serial data) synchronized with the clock.

以下、第2図〜第4図を参照する。 Hereinafter, FIG. 2 to FIG. 4 will be referred to.

微分回路211は、復号化データ制御信号が入力された
ときにクロックの半周期分の微分信号を出力しており、
この微分信号が制御パルス(負論理)として出力される
(第3図(a),(b),(c))。
The differentiating circuit 211 outputs a differentiated signal for a half cycle of the clock when the decoded data control signal is input,
This differential signal is output as a control pulse (negative logic) (FIGS. 3 (a), (b), (c)).

制御信号生成回路221は、入力される復号化器制御信
号の反転信号及び正転信号を生成し、復号化データ制御
信号の出力タイミングに立上がりのタイミングが一致し
ない方の信号を選択して出力する。
The control signal generation circuit 221 generates an inverted signal and a non-inverted signal of the input decoder control signal, and selects and outputs a signal whose rising timing does not match the output timing of the decoded data control signal. .

具体的には、上述した正転信号の立上がり時に所定幅
を有するパルスをパルス発生部223の第1出力端子から
アンドゲート225に入力し、このとき同期に制御パルス
が出力された場合にはRS−FF229をセットして、セレク
タ231に論理“1"の信号を入力する(第3図(d),
(e),(g),(h))。このとき、セレクタ231は
インバータ233を介した復号化器制御信号の反転信号を
選択する(第3図(i),(k))。反対に、上述した
反転信号の立上がり時に所定幅を有するパルスをパルス
発生部223の第2出力端子からアンドゲート227に入力
し、このとき同時に制御パルスが出力された場合にはRS
−FF229をリセットして、セレクタ231に論理“0"の信号
を入力する(第3図(d),(f),(g),
(h))。このとき、セレクタ231は復号化器制御信号
そのもの(正転信号)を選択する(第3図(j),
(k))。
Specifically, a pulse having a predetermined width is input from the first output terminal of the pulse generator 223 to the AND gate 225 at the time of the rise of the normal rotation signal, and when a control pulse is output synchronously at this time, RS -FF229 is set, and a signal of logic "1" is input to the selector 231 (FIG. 3 (d),
(E), (g), (h)). At this time, the selector 231 selects an inverted signal of the decoder control signal via the inverter 233 (FIGS. 3 (i) and 3 (k)). Conversely, a pulse having a predetermined width is input from the second output terminal of the pulse generator 223 to the AND gate 227 at the time of the rise of the above-mentioned inverted signal.
-FF229 is reset and a signal of logic "0" is input to the selector 231 (FIGS. 3 (d), (f), (g),
(H)). At this time, the selector 231 selects the decoder control signal itself (forward signal) (FIG. 3 (j),
(K)).

微分回路211から出力される制御パルスは、アクセス
周期検出回路241内のフリップフロップ243で2分周され
た後、排他的論理和ゲート247の一方の入力端子に入力
される(第4図(a),(b))。また、制御信号生成
回路221内のセレクタ231から出力される信号は、アクセ
ス周期検出回路241内のフリップフロップ245で2分周さ
れた後、排他的論理和ゲート247の他方の入力端子に入
力される(第4図(c),(d))。
The control pulse output from the differentiating circuit 211 is divided into two by the flip-flop 243 in the access period detecting circuit 241 and then input to one input terminal of the exclusive OR gate 247 (FIG. 4 (a) ), (B)). Further, the signal output from the selector 231 in the control signal generation circuit 221 is frequency-divided by 2 in the flip-flop 245 in the access cycle detection circuit 241 and then input to the other input terminal of the exclusive OR gate 247. (FIGS. 4 (c) and (d)).

これら2つの分周出力は同じ周期で論理の反転を繰り
返しており、排他的論理和ゲート247からは制御パルス
の立上がりを境として論理が“1"から“0"に変化し、セ
レクタ231の出力信号の立上がりを境として論理が“0"
から“1"に変化する排他的論理和出力が得られる(第4
図(e))。
These two frequency-divided outputs repeat the logic inversion at the same cycle. The logic of the exclusive OR gate 247 changes from “1” to “0” at the rising edge of the control pulse, and the output of the selector 231 is output. Logic is “0” at the rising edge of the signal
The exclusive OR output that changes from "1" to "1" is obtained (fourth
Figure (e).

フリップフロップ249は、セレクタ231の出力信号の立
上がりに同期してこの排他的論理和出力(セレクタ231
の出力信号の立上がり前の“0")を取り込み、出力端子
から反転出力“1"を出力する(第4図(f))。一
方、回線断により復号化データ制御信号あるいはクロッ
クの何れかが入力されない状態が発生すると、微分回路
211から出力される制御パルスの出力が停止するのでフ
リップフロップ243による分周動作も停止し、セレクタ2
31の出力信号の立上がりのみを境として交互に論理が反
転する排他的論理和出力が得られるようになる。このと
き、フリップフロップ249は論理が“0"に変化する前の
排他的論理和出力“1"を取り込み、出力端子から論理
“0"の回線断検出信号を出力する(第4図(f))。
The flip-flop 249 outputs the exclusive OR output (selector 231) in synchronization with the rise of the output signal of the selector 231.
("0") before the output signal rises, and outputs an inverted output "1" from the output terminal (FIG. 4 (f)). On the other hand, when a state occurs in which either the decoded data control signal or the clock is not input due to a line disconnection, the differentiating circuit
Since the output of the control pulse output from 211 stops, the frequency division operation by flip-flop 243 also stops, and selector 2
An exclusive OR output in which the logic is alternately inverted only at the rising edge of the output signal at 31 is obtained. At this time, the flip-flop 249 takes in the exclusive OR output “1” before the logic changes to “0”, and outputs a line disconnection detection signal of logic “0” from the output terminal (FIG. 4 (f)). ).

このように、微分回路211は復号化データ制御信号を
クロックで微分し、微分出力である制御パルスをアクセ
ス周期検出回路241に入力しており、制御信号生成回路2
21は復号化器制御信号をそのままあるいは反転してアク
セス周期検出回路241に入力している。アクセス周期検
出回路241は、2入力のそれぞれを別々に2分周した後
排他的論理和を求め、更にフリップフロップ249に取り
込むことにより微分回路211から出力された制御パルス
の周期が正常であることを検出している。この周期が正
常でない場合は回線断検出信号を出力する。
As described above, the differentiating circuit 211 differentiates the decoded data control signal with the clock, and inputs the control pulse, which is the differential output, to the access cycle detecting circuit 241.
Numeral 21 inputs the decoder control signal to the access cycle detection circuit 241 as it is or after inverting it. The access cycle detection circuit 241 separately divides each of the two inputs into two, calculates the exclusive OR, and takes in the flip-flop 249 to confirm that the cycle of the control pulse output from the differentiation circuit 211 is normal. Has been detected. If this cycle is not normal, a line disconnection detection signal is output.

従って、クロックのみが入力されない状態が発生した
場合にも微分回路211から出力される制御パルスの周期
が正常でなくなるので、クロック断による回路断検出が
可能になる。また、伝送速度が変更になると、復号化デ
ータ制御信号のタイミングと共に復号化器制御信号のタ
イミングも変わるので、特に構成回路を変更することな
く、複数の伝送速度に対応することができる。
Therefore, even when a state where only the clock is not input occurs, the cycle of the control pulse output from the differentiating circuit 211 is not normal, so that it is possible to detect a circuit break due to a clock break. Further, when the transmission rate changes, the timing of the decoder control signal changes along with the timing of the decoded data control signal, so that it is possible to cope with a plurality of transmission rates without particularly changing the constituent circuits.

なお、上述した本発明実施例にあっては、音声コーデ
ックに使用する回線断検出回路を考えたが、復号化処理
のみを行う装置に使用するものであってもよい。
In the above-described embodiment of the present invention, the line disconnection detection circuit used for the audio codec is considered. However, the line disconnection detection circuit may be used for an apparatus that performs only the decoding process.

〔発明の効果〕〔The invention's effect〕

上述したように、本発明によれば、復号化処理に使用
される第2の制御信号に基づいて、第1の制御信号をク
ロックで微分した信号の周期を監視しており、クロック
断が生じた場合にも回線断検出が可能となる。また、復
号化処理に使用される第2の制御信号の周期は伝送速度
に対応しているため、特に構成を変えることなく複数の
伝送速度に対応することができる。
As described above, according to the present invention, the period of the signal obtained by differentiating the first control signal with the clock is monitored based on the second control signal used for the decoding process. In this case, line disconnection can be detected. Further, since the cycle of the second control signal used for the decoding process corresponds to the transmission rate, it is possible to correspond to a plurality of transmission rates without particularly changing the configuration.

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

第1図は本発明の回線断検出回路の原理ブロック図、 第2図は本発明の一実施例による回線断検出回路の構成
図、 第3図は一実施例の微分回路及び制御信号生成回路の動
作タイミング図、 第4図は一実施例のアクセス周期検出回路の動作タイミ
ング図、 第5図は音声コーデックの構成図、 第6図は従来の回線断検出回路の構成図、 第7図は従来例の動作タイミング図である。 図において、 111は微分手段、 121は信号生成手段、 131は周期監視手段、 211は微分回路、 213,243,245,249はフリップフロップ(FF)、 215はナンドゲート、 221は制御信号生成回路、 223はパルス生成部(PG)、 225,227はアンドゲート、 229はRS型フリップフロップ(RS−FF)、 231はセレクタ、 233はインバータ、 241はアクセス周期検出回路、 247は排他的論理和ゲートである。
FIG. 1 is a block diagram showing the principle of a line disconnection detection circuit according to the present invention, FIG. 2 is a block diagram of a line disconnection detection circuit according to an embodiment of the present invention, and FIG. FIG. 4 is an operation timing diagram of an access cycle detection circuit of one embodiment, FIG. 5 is a configuration diagram of a voice codec, FIG. 6 is a configuration diagram of a conventional line disconnection detection circuit, and FIG. FIG. 11 is an operation timing chart of a conventional example. In the figure, 111 is differentiating means, 121 is signal generating means, 131 is cycle monitoring means, 211 is differentiating circuits, 213, 243, 245, 249 are flip-flops (FF), 215 is a NAND gate, 221 is a control signal generating circuit, and 223 is a pulse generating unit ( PG), 225 and 227 are AND gates, 229 is an RS flip-flop (RS-FF), 231 is a selector, 233 is an inverter, 241 is an access period detection circuit, and 247 is an exclusive OR gate.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】回線を介して入力されるデータの同期を取
るための第1の制御信号を、前記回線から抽出したクロ
ックに基づいて微分する微分手段と、 前記データを復号化処理する際に使用され、前記第1の
制御信号と周期が等しく互いに非同期の関係にあり、回
線が断しても出力され続ける第2の制御信号を受けて、
前記微分出力の周期監視に使用される第3の制御信号を
生成する信号生成手段と、 前記微分手段の微分出力の周期を前記第3の制御信号に
基づいて監視し、この周期が正常でない場合に回線断検
出を行う周期監視手段と、 を備えるように構成したことを特徴とする回線断検出回
路。
1. A differentiating means for differentiating a first control signal for synchronizing data input via a line based on a clock extracted from the line, and a decoding unit for decoding the data. Receiving a second control signal that is used and has the same cycle as the first control signal and is asynchronous with each other, and is continuously output even when the line is disconnected;
A signal generating means for generating a third control signal used for monitoring the cycle of the differential output; and monitoring the cycle of the differential output of the differentiating means based on the third control signal. A line disconnection detection circuit, comprising: a period monitoring means for detecting a line disconnection.
JP2093366A 1990-04-09 1990-04-09 Line disconnection detection circuit Expired - Fee Related JP2992306B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2093366A JP2992306B2 (en) 1990-04-09 1990-04-09 Line disconnection detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2093366A JP2992306B2 (en) 1990-04-09 1990-04-09 Line disconnection detection circuit

Publications (2)

Publication Number Publication Date
JPH03291035A JPH03291035A (en) 1991-12-20
JP2992306B2 true JP2992306B2 (en) 1999-12-20

Family

ID=14080294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2093366A Expired - Fee Related JP2992306B2 (en) 1990-04-09 1990-04-09 Line disconnection detection circuit

Country Status (1)

Country Link
JP (1) JP2992306B2 (en)

Also Published As

Publication number Publication date
JPH03291035A (en) 1991-12-20

Similar Documents

Publication Publication Date Title
JPS6147021B2 (en)
JP2992306B2 (en) Line disconnection detection circuit
JPH1098457A (en) Synchronization device and method for digital audio signal
JPH0194723A (en) Frequency-dividing device for digital signal
KR0143124B1 (en) Video signal generator to be possible of timing control
JPH04326219A (en) Pointer processing circuit
KR0172459B1 (en) Method and device for reproducing clock signal
JPH0834457B2 (en) Receiving counter phase synchronization circuit for synchronous transmission system
JP3408131B2 (en) Horizontal sync signal detection circuit
JP3063291B2 (en) Line monitoring circuit
JP2000260131A (en) Method and circuit for protecting detection of synchronizing signal
JP2889435B2 (en) Horizontal sync signal detector
JPH0233238A (en) Reception clock recovery circuit for start-stop synchronization data
JPH04255171A (en) Reference signal generating circuit
JPS61224740A (en) Stuff synchronizing system
JPH0522277A (en) Synchronizing circuit
JPS62213337A (en) Frame synchronizing protection system
JPH03117027A (en) Detecting circuit for normal phase error abnormality
JPS62279748A (en) Bit buffer circuit
JPS6043248A (en) Reference signal generator
JP2003018137A (en) Asynchronous detector circuit
JPH05268201A (en) Clock changing circuit
JPH08102732A (en) Frame synchronization circuit
JPH0315861B2 (en)
JPH0258943A (en) Synchronizing circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees