JPH0556699B2 - - Google Patents

Info

Publication number
JPH0556699B2
JPH0556699B2 JP62064963A JP6496387A JPH0556699B2 JP H0556699 B2 JPH0556699 B2 JP H0556699B2 JP 62064963 A JP62064963 A JP 62064963A JP 6496387 A JP6496387 A JP 6496387A JP H0556699 B2 JPH0556699 B2 JP H0556699B2
Authority
JP
Japan
Prior art keywords
counter
state
synchronization
circuit
synchronous
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP62064963A
Other languages
Japanese (ja)
Other versions
JPS63232536A (en
Inventor
Kohiro Takigawa
Ikuo Iizuka
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.)
Mitsubishi Electric Corp
Nippon Telegraph and Telephone Corp
Original Assignee
Mitsubishi Electric Corp
Nippon Telegraph and Telephone Corp
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 Mitsubishi Electric Corp, Nippon Telegraph and Telephone Corp filed Critical Mitsubishi Electric Corp
Priority to JP62064963A priority Critical patent/JPS63232536A/en
Publication of JPS63232536A publication Critical patent/JPS63232536A/en
Publication of JPH0556699B2 publication Critical patent/JPH0556699B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】[Detailed description of the invention]

〔産業上の利用分野〕 この発明は、デイジタル通信装置に接続される
1本の信号線中を直列伝送される情報の同期をと
るための同期回路に関し、特に同期保護回路を具
備しないリセツトカウンタ形式の同期回路に関す
るものである。 〔従来の技術〕 第3図は従来のリセツトカウンタ形式の同期回
路を示す電気回路図であり、この第3図におい
て、1はクロツクTを受けるカウンタ、2は同期
信号Ssを「1」入力端で受けカウンタ1の桁上
げパルスを「0」入力端で受けこれらの信号を二
者択一で選択してカウンタ1のリセツト入力端に
出力を供給するカウンタ動作切換回路としてのセ
レクタ、7はカウンタ1の桁上げパルスと同期信
号とが入力される排他的論理和ゲート(EX−
ORゲート)、8はカウンタ1の桁上げパルスと
クロツクTの反転信号とが入力されるANDゲ
ート、6はクロツク端にANDゲート8の出力を
受けデータ入力端で排他的論理和ゲート7の出力
を受ける立上りエツジタイプのDフリツプフロツ
プである。なお、フリツプフロツプ6の正論理出
力端がセレクタ2の選択制御入力端に接続されて
いる。また、このフリツプフロツプ6からは同期
状態を示す信号S1も出力されるようになつてい
る。 次に動作について説明する。第4図は例えば周
期が4の同期回路各部の波形を示すタイムチヤー
トであり、カウンタ1に第4図aで示すようなク
ロツクTが加えられると、カウンタ1は第4図b
に示すような数値の状態をとり、周期4で第4図
cに示すような桁上げパルスを出力する。 今、時刻t0までは同期がとれているとすると、
第4図dに示す同期信号と第4図cに示す桁上げ
パルスとは一致し、第4図eに示す排他的論理和
ゲート7の出力波形と第4図gに示すフリツプフ
ロツプ6の出力波形は論理「0」を示し、セレク
タ2は「0」入力端に入力されている桁上げパル
ス〔第4図c参照〕をカウンタ1に出力する。こ
れにより同期状態では、カウンタ1は自己ループ
で歩進している。即ちカウンタ1は自走動作状態
にある。 次に、第4図dに示す同期信号に時刻t0からt1
の間にスリツプ等が発生して、同期はずれが発生
したとすると、時刻t2で第4図cに示す桁上げパ
ルスと第4図dに示す同期信号とが不一致となる
ため、排他的論理和ゲート7の出力が論理「1」
になる。これにより第4図cに示す桁上げパルス
とクロツクとの論理積をとつたANDゲート8
の出力波形〔第4図f参照〕で、フリツプフロツ
プ6に同期はずれ状態が記憶される。この状態で
セレクタ2の入力は〔1〕入力端が選択され、第
4図dに示す同期信号がカウンタ1に出力され
て、時刻t3で位相が規整され、即ちカウンタ1が
同期信号による規整動作状態になつて、同期状態
に復帰する。なお、セレクタ2の出力を示すと、
第4図hのようになる。 〔発明が解決しようとする問題点〕 しかしながら、従来の同期回路では、信号線が
断となつた場合、同期信号が論理0に固定する
と、同期状態信号S1は1周期に1回だけ同期はず
れを示し、残りを同期状態と誤つて示す。逆に同
期信号が論理1に固定しても同期状態と同期はず
れ状態を繰返し、この間に誤つたデータが受信さ
れてしまうおそれがある。 この発明は上記のような問題点を解消するため
になされたもので、同期信号の異常を1周期以内
に検出できる同期回路を得ることを目的とする。 〔問題点を解決するための手段〕 この発明に係る同期回路は、カウンタと、該カ
ウンタを自走動作状態にしたり同期信号による規
整動作状態にしたりするカウンタ動作切換回路と
をそなえ、上記同期信号を1周期分記憶するシフ
トレジスタを設けるとともに、上記カウンタの状
態と上記シフトレジスタの状態とを入力して同期
状態でとりうる入力パターン集合と非同期状態で
とりうる入力パターン集合とに対して出力論理値
が異なる同期判定回路が設け、且つ、該同期判定
回路の出力を記憶して上記カウンタ動作切換回路
を制御するフリツプフロツプを設けたものであ
る。すなわちこの発明に係る同期回路は、従来の
同期回路に、同期信号列を過去1周期分記憶する
シフトレジスタと同期判定回路とを付加したもの
である。 〔作用〕 この発明における同期回路では、同期判定回路
へはカウンタの状態とシフトレジスタの状態とが
入力されており、同期状態では例えば「0」出力
がフリツプフロツプへ入力されている。これによ
りフリツプフロツプはカウンタを自走動作状態に
すべくカウンタ動作切換回路を制御する。次に非
同期状態になると、同期判定回路から例えば
「1」出力がフリツプフロツプへ入力される。こ
れによりフリツプフロツプはカウンタを同期信号
による規整動作状態にすべくカウンタ動作切換回
路を制御する。 〔発明の実施例〕 以下、この発明の一実施例を図について説明す
る。第1図において、1はクロツクTを入力され
るカウンタ、2は同期信号Ssを「1」入力端で
受けカウンタ1の桁上げパルスを「0」入力端で
受けこれらの信号を二者択一で選択しカウンタ1
のリセツト入力端に出力することによりカウンタ
1を自走動作状態にしたり同期信号による規整動
作状態にしたりするカウンタ動作切換回路として
のセレクタ、3は同期信号Ssの周期より1だけ
短く設定されたクロツクTと同期信号Ssとを受
けることにより同期信号Ssを1周期分記憶する
シフトレジスタ、4はカウンタ1の状態を示す出
力とシフトレジスタ3の並列出力と同期信号Ss
とが入力される同期判定回路であるが、この同期
判定回路4は論理ゲート等を組合せて構成され、
上記のようにカウンタ1の状態とシフトレジスタ
3の状態と同期信号Ssとを受けて同期状態でと
りうる入力パターン集合と非同期状態でとりうる
入力パターン集合とに対して出力論理値が異なる
ように構成されている。 なお、同期信号Ss、シフトレジスタ3の状態、
カウンタ1の状態に応じた同期判定回路4の出力
例(真理表)を示すと次表のようになる。
[Industrial Application Field] The present invention relates to a synchronization circuit for synchronizing information serially transmitted in a single signal line connected to a digital communication device, and in particular to a reset counter type that does not include a synchronization protection circuit. This relates to a synchronous circuit. [Prior Art] Fig. 3 is an electrical circuit diagram showing a conventional reset counter type synchronization circuit. A selector as a counter operation switching circuit receives the carry pulse of the counter 1 at the "0" input terminal, selects one of these signals, and supplies an output to the reset input terminal of the counter 1. 7 is a counter. Exclusive OR gate (EX-
8 is an AND gate into which the carry pulse of counter 1 and the inverted signal of clock T are input; 6 is an AND gate that receives the output of AND gate 8 at the clock end, and the output of exclusive OR gate 7 at the data input end. It is a rising edge type D flip-flop that receives Note that the positive logic output terminal of the flip-flop 6 is connected to the selection control input terminal of the selector 2. The flip-flop 6 also outputs a signal S1 indicating the synchronization state. Next, the operation will be explained. FIG. 4 is a time chart showing waveforms of various parts of a synchronous circuit with a period of 4, for example. When a clock T as shown in FIG. 4a is applied to counter 1, counter 1 is
It assumes a numerical state as shown in FIG. 4, and outputs a carry pulse as shown in FIG. 4c at cycle 4. Now, assuming that synchronization is achieved up to time t 0 ,
The synchronization signal shown in FIG. 4d and the carry pulse shown in FIG. 4c match, and the output waveform of the exclusive OR gate 7 shown in FIG. 4e and the output waveform of the flip-flop 6 shown in FIG. 4g indicates a logic "0", and the selector 2 outputs the carry pulse (see FIG. 4c) inputted to the "0" input terminal to the counter 1. As a result, in the synchronous state, the counter 1 increments in a self-loop. That is, the counter 1 is in a free running state. Next, the synchronization signal shown in FIG. 4d is applied from time t 0 to t 1
If a slip or the like occurs during the synchronization, the carry pulse shown in Fig. 4c and the synchronization signal shown in Fig. 4d do not match at time t2 , so the exclusive logic The output of sum gate 7 is logic “1”
become. As a result, the AND gate 8 which performs the logical product of the carry pulse and the clock shown in FIG.
An out-of-synchronization state is stored in the flip-flop 6 with the output waveform (see FIG. 4f). In this state, the [1] input terminal of the selector 2 is selected, and the synchronizing signal shown in FIG. 4d is output to the counter 1, and the phase is regulated at time t3 . It becomes operational and returns to the synchronized state. In addition, the output of selector 2 is shown as follows:
The result will be as shown in Figure 4h. [Problem to be solved by the invention] However, in the conventional synchronous circuit, when the signal line is disconnected and the synchronous signal is fixed to logic 0, the synchronous state signal S1 goes out of synchronization only once in one cycle. , and the rest are incorrectly shown as being in sync. Conversely, even if the synchronization signal is fixed at logic 1, the synchronization state and the out-of-synchronization state are repeated, and there is a risk that erroneous data may be received during this period. The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a synchronization circuit that can detect an abnormality in a synchronization signal within one cycle. [Means for Solving the Problems] A synchronous circuit according to the present invention includes a counter and a counter operation switching circuit that puts the counter in a free-running operation state or puts it in a regulated operation state according to a synchronous signal. A shift register is provided to store one cycle of , and the state of the counter and the state of the shift register are input to generate an output logic for a set of input patterns that can be taken in a synchronous state and a set of input patterns that can be taken in an asynchronous state. A synchronization determination circuit having different values is provided, and a flip-flop is provided for storing the output of the synchronization determination circuit and controlling the counter operation switching circuit. That is, the synchronous circuit according to the present invention is a conventional synchronous circuit added with a shift register that stores a synchronous signal sequence for one past cycle and a synchronization determination circuit. [Operation] In the synchronous circuit according to the present invention, the state of the counter and the state of the shift register are input to the synchronization determination circuit, and in the synchronous state, for example, a "0" output is input to the flip-flop. As a result, the flip-flop controls the counter operation switching circuit to put the counter in a free running state. Next, when an asynchronous state occurs, an output of, for example, "1" is input from the synchronization determination circuit to the flip-flop. As a result, the flip-flop controls the counter operation switching circuit in order to bring the counter into the normal operation state according to the synchronization signal. [Embodiment of the Invention] An embodiment of the invention will be described below with reference to the drawings. In Figure 1, 1 is a counter that receives the clock T, and 2 receives the synchronizing signal Ss at the ``1'' input terminal, receives the carry pulse of counter 1 at the ``0'' input terminal, and selects between these signals. Select counter 1 with
A selector serves as a counter operation switching circuit that outputs to the reset input terminal of the counter 1 to put the counter 1 into a free-running operation state or a regulated operation state by a synchronization signal, and 3 is a clock set to be shorter by 1 than the period of the synchronization signal Ss. A shift register that stores one period of the synchronization signal Ss by receiving T and the synchronization signal Ss, 4 is an output indicating the state of the counter 1, a parallel output of the shift register 3, and the synchronization signal Ss
This synchronization determination circuit 4 is configured by combining logic gates, etc.
As mentioned above, in response to the state of counter 1, the state of shift register 3, and the synchronization signal Ss, the output logic value is set to be different for the set of input patterns that can be taken in the synchronous state and the set of input patterns that can be taken in the asynchronous state. It is configured. In addition, the synchronization signal Ss, the state of shift register 3,
An example of the output (truth table) of the synchronization determination circuit 4 according to the state of the counter 1 is shown in the following table.

〔発明の効果〕〔Effect of the invention〕

以上のようにこの発明によれば、同期判定回路
を設けて、同期・非同期状態をカウンタの状態と
シフトレジスタからの1周期分の同期信号列との
パターンで判定するようにしたので、同期異常を
1周期以内に検出することができ、これにより同
期誤りに対するデータの誤りをなくすことができ
る効果がある。
As described above, according to the present invention, a synchronization determination circuit is provided and the synchronization/asynchronous state is determined based on the pattern of the counter state and one cycle of synchronization signal string from the shift register, so that synchronization abnormality is detected. can be detected within one cycle, which has the effect of eliminating data errors due to synchronization errors.

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

第1図はこの発明の一実施例による同期回路を
示す電気回路図、第2図はこの発明の動作を説明
するためのタイムチヤートであり、第3図は従来
の同期回路を示す電気回路図、第4図は従来の同
期回路の動作を説明するタイムチヤートである。 図において、1……カウンタ、2……セレク
タ、3……シフトレジスタ、4……同期判定回
路、5……フリツプフロツプ。なお、図中、同一
符号は同一、又は相当部分を示す。
Fig. 1 is an electric circuit diagram showing a synchronous circuit according to an embodiment of the present invention, Fig. 2 is a time chart for explaining the operation of the invention, and Fig. 3 is an electric circuit diagram showing a conventional synchronous circuit. , FIG. 4 is a time chart explaining the operation of a conventional synchronous circuit. In the figure, 1...Counter, 2...Selector, 3...Shift register, 4...Synchronization determination circuit, 5...Flip-flop. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 1 カウンタと、該カウンタを自走動作状態にし
たり同期信号による規整動作状態にしたりするカ
ウンタ動作切換回路とをそなえ、上記同期信号を
1周期分記憶するシフトレジスタが設けられると
ともに、上記カウンタの状態と上記シフトレジス
タの状態とを入力して同期状態でとりうる入力パ
ターン集合と非同期状態でとりうる入力パターン
集合とに対して出力論理値が異なる同期判定回路
が設けられ、且つ、該同期判定回路の出力を記憶
して上記カウンタ動作切換回路を制御するフリツ
プフロツプが設けられたことを特徴とする同期回
路。
1 includes a counter and a counter operation switching circuit that puts the counter into a free-running operation state or puts it into a regulated operation state using a synchronization signal, and is provided with a shift register that stores one cycle of the synchronization signal; and the state of the shift register, a synchronization determination circuit having different output logical values for a set of input patterns that can be taken in a synchronous state and a set of input patterns that can be taken in an asynchronous state is provided, and the synchronization determination circuit A synchronous circuit characterized in that a flip-flop is provided for storing the output of the circuit and controlling the counter operation switching circuit.
JP62064963A 1987-03-19 1987-03-19 Synchronous circuit Granted JPS63232536A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62064963A JPS63232536A (en) 1987-03-19 1987-03-19 Synchronous circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62064963A JPS63232536A (en) 1987-03-19 1987-03-19 Synchronous circuit

Publications (2)

Publication Number Publication Date
JPS63232536A JPS63232536A (en) 1988-09-28
JPH0556699B2 true JPH0556699B2 (en) 1993-08-20

Family

ID=13273208

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62064963A Granted JPS63232536A (en) 1987-03-19 1987-03-19 Synchronous circuit

Country Status (1)

Country Link
JP (1) JPS63232536A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030064524A (en) * 2002-01-28 2003-08-02 엘지이노텍 주식회사 Timing synchronous circuit of data sending

Also Published As

Publication number Publication date
JPS63232536A (en) 1988-09-28

Similar Documents

Publication Publication Date Title
US5233638A (en) Timer input control circuit and counter control circuit
JP2641276B2 (en) Two-stage synchronizer
CA1120120A (en) Frame search control for digital transmission system
JPH0556699B2 (en)
US4149258A (en) Digital filter system having filters synchronized by the same clock signal
JPS6386630A (en) Frame synchronization system in parallel transmission line
US4741005A (en) Counter circuit having flip-flops for synchronizing carry signals between stages
JP2617575B2 (en) Data rate conversion circuit
JP3048504B2 (en) Signal detection circuit and frame synchronization circuit
JPH0221824Y2 (en)
JPH0370314A (en) Clock interrupt detection circuit
JPS6253539A (en) Frame synchronizing system
JPH0637857A (en) Serial data receiving circuit
JPS61101139A (en) Synchronizing signal detector
JPS6141426B2 (en)
KR0172459B1 (en) Method and device for reproducing clock signal
SU536609A1 (en) Device for dividing pulse frequency with discrete control
JP2876747B2 (en) Frame synchronization circuit
JPS62122434A (en) Frame signal synchronization detecting circuit
JPS6465944A (en) Multiframe synchronization circuit
JPH0134491B2 (en)
JP2575221B2 (en) PLL circuit
JP3006000B2 (en) Asynchronous error pulse multiplexing circuit
JP2917583B2 (en) Staff synchronization circuit
JPS60200631A (en) Code error detecting circuit