JP3107968B2 - NRZ-RZ signal conversion circuit - Google Patents
NRZ-RZ signal conversion circuitInfo
- Publication number
- JP3107968B2 JP3107968B2 JP06101694A JP10169494A JP3107968B2 JP 3107968 B2 JP3107968 B2 JP 3107968B2 JP 06101694 A JP06101694 A JP 06101694A JP 10169494 A JP10169494 A JP 10169494A JP 3107968 B2 JP3107968 B2 JP 3107968B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- output
- nrz
- clock signal
- input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Dc Digital Transmission (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、非同期デジタル通信の
復調回路に使用される、NRZ信号をRZ信号に変換す
る変換回路に関し、特に、安定したRZ信号への変換を
可能にしたものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a conversion circuit for converting an NRZ signal into an RZ signal used in a demodulation circuit for asynchronous digital communication, and more particularly, to a conversion circuit capable of stably converting an RZ signal into an RZ signal. .
【0002】[0002]
【従来の技術】無線通信では、伝送符号として、変調し
たときに高調波成分が少なく所要帯域幅の点で有利であ
るNRZ(Nonreturn to Zero)信号が使用され、一方、
ベースバンド信号の伝送では同期の取り易さ等の点から
RZ(Return to Zero)符号が広く使用されている。そ
のため受信機の復調回路では、NRZ信号をRZ信号に
変換するための操作が必要になる。2. Description of the Related Art In a radio communication, an NRZ (Nonreturn to Zero) signal, which has a small harmonic component and is advantageous in terms of a required bandwidth when modulated, is used as a transmission code.
In transmission of a baseband signal, an RZ (Return to Zero) code is widely used from the viewpoint of easy synchronization. Therefore, in the demodulation circuit of the receiver, an operation for converting the NRZ signal into the RZ signal is required.
【0003】従来のNRZ−RZ信号変換回路は、図4
に示すように、ジッタを含むNRZ信号8が入力したと
き、クロック信号10の1クロック分だけ遅延させて出力
するDフリップフロップ13と、NRZ信号8の立上りを
検出する2入力ANDゲート14と、カウンタ16のロード
信号を出力する2入力NORゲート15と、ロードされた
値からカウントアップを開始する4ビットローダブルカ
ウンタ16と、NRZ信号のデータ1に対応して、カウン
タ16が途中の数値をカウントしてから最上位の数値をカ
ウントするまでの間だけ信号レベルを反転させ、RZ信
号12を出力するDフリップフロップ17とを備えている。A conventional NRZ-RZ signal conversion circuit is shown in FIG.
As shown in FIG. 5, when the NRZ signal 8 including jitter is input, a D flip-flop 13 that outputs the signal delayed by one clock of the clock signal 10, a two-input AND gate 14 that detects the rising of the NRZ signal 8, A two-input NOR gate 15 that outputs a load signal of the counter 16, a 4-bit loadable counter 16 that starts counting up from the loaded value, and a counter 16 that outputs a middle value corresponding to the data 1 of the NRZ signal. A D flip-flop 17 for inverting the signal level only after counting and counting the highest numerical value and outputting the RZ signal 12 is provided.
【0004】このジッタを含むNRZ信号8とは、非同
期通信の信号から復調されたNRZ信号であり、クロッ
ク信号10の1〜2周期ほどの時間的伸縮を含んだ状態で
クロック信号10に同期している。これに対して、同期通
信の信号を復調したNRZ信号は、クロック信号10の8
周期の間隔を1単位とする信号となり、時間的伸縮を一
切含まない。The NRZ signal 8 including the jitter is an NRZ signal demodulated from a signal of asynchronous communication, and is synchronized with the clock signal 10 in a state including a temporal expansion or contraction of about one to two cycles of the clock signal 10. ing. On the other hand, the NRZ signal obtained by demodulating the signal of the synchronous communication is 8
The signal has a cycle interval of one unit, and does not include any temporal expansion or contraction.
【0005】ジッタを含むNRZ信号8は、定常状態で
はLOWを示し、このときには4ビットローダブルカウ
ンタ16のリセット信号9もLOWの状態にある。ジッタ
を含むNRZ信号8が入力すると、このデータは必ず1
から始まるので、2入力ANDゲート14の一方の入力が
HIGHになる。2入力ANDゲート14の他方に入力す
るDフリップフロップ13の出力NQは、次のクロック信
号10がDフリップフロップ13に入力するまではHIGH
を維持するので、2入力ANDゲート14は、クロック信
号の1周期の間、ジッタを含むNRZ信号8の始めの立
ち上がりを検出してHIGHを出力する。それと同時に
リセット信号9がHIGHになり、ローダブルカウンタ
16の動作が始まる。The NRZ signal 8 including jitter indicates LOW in a steady state, and at this time, the reset signal 9 of the 4-bit loadable counter 16 is also LOW. When an NRZ signal 8 including jitter is input, this data must be 1
, One of the inputs of the two-input AND gate 14 becomes HIGH. The output NQ of the D flip-flop 13 input to the other of the two-input AND gate 14 is HIGH until the next clock signal 10 is input to the D flip-flop 13.
Is maintained, the two-input AND gate 14 detects the first rising edge of the NRZ signal 8 including the jitter during one cycle of the clock signal and outputs HIGH. At the same time, the reset signal 9 becomes HIGH and the loadable counter
Operation 16 starts.
【0006】このときのローダブルカウンタ16のRCO
はLOWの状態にある。2入力NORゲート15の出力
は、今までのHIGHの状態が、ジッタを含むNRZ信
号8の立ち上がりが検出されたことにより、クロック信
号10の1周期の間LOWになり、またHIGHに戻る。
従って、ローダブルカウンタ16のLOAD端子への入力
が1周期間LOWになるので、ローダブルカウンタ16の
出力には(Q3 ,Q2 ,Q1 ,Q0 )=(1,0,0,
0)がロードされる。The RCO of the loadable counter 16 at this time is
Is in a LOW state. The output of the two-input NOR gate 15 changes from the HIGH state so far to LOW for one cycle of the clock signal 10 due to the detection of the rise of the NRZ signal 8 including jitter, and returns to HIGH.
Therefore, the input to the LOAD terminal of the loadable counter 16 becomes LOW for one cycle, and the output of the loadable counter 16 includes (Q 3 , Q 2 , Q 1 , Q 0 ) = (1, 0, 0,
0) is loaded.
【0007】ローダブルカウンタ16は、ロードされた値
から始めて、クロック信号10の立上がりエッヂで、順次
(1,0,0,1)(1,0,1,0)(1,0,1,
1)(1,1,0,0)(1,1,0,1)(1,1,
1,0)(1,1,1,1)とカウントアップする。こ
のとき(1,0,0,0)(1,0,0,1)(1,
0,1,0)(1,0,1,1)まではローダブルカウ
ンタ16の出力Q2 がLOWであり、Dフリップフロップ
17のCLK端子への入力がLOWのままであるため、D
フリップフロップ17のNQ出力はHIGHの状態であ
る。ローダブルカウンタ16のカウントが(Q3 ,Q2 ,
Q1 ,Q0 )=(1,1,0,0)になると、出力Q2
が始めてHIGHになり、Dフリップフロップ17はロー
ダブルカウンタ16の出力Q2 の立上がりエッヂで、ジッ
タを含むNRZ信号8をサンプルし、Dフリップフロッ
プ17の出力がHIGHからLOWに変化する。このタイ
ミングは、基本的にクロック信号10の8周期間を信号の
単位としているNRZ信号の中心をサンプルしているこ
とになる。The loadable counter 16 starts from the loaded value and sequentially (1, 0, 0, 1) (1, 0, 1, 0) (1, 0, 1, 1) at the rising edge of the clock signal 10.
1) (1,1,0,0) (1,1,0,1) (1,1,
(1,0) (1,1,1,1). At this time, (1, 0, 0, 0) (1, 0, 0, 1) (1,
0,1,0) (1,0,1,1) until the output Q 2 of the loadable counter 16 LOW, D flip-flop
Since the input to the CLK terminal 17 remains LOW, D
The NQ output of the flip-flop 17 is HIGH. When the count of the loadable counter 16 is (Q 3 , Q 2 ,
When Q 1 , Q 0 ) = ( 1 , 1 , 0 , 0 ), the output Q 2
Becomes HIGH is started, D flip-flop 17 at the rising edge output Q 2 of the loadable counter 16 samples the NRZ signal 8 including jitter, the output of the D flip-flop 17 changes from HIGH to LOW. This timing basically samples the center of the NRZ signal whose signal unit is eight periods of the clock signal 10.
【0008】ローダブルカウンタ16は、さらにクロック
信号10の立上がりエッヂでカウントアップを続け、(Q
3 ,Q2 ,Q1 ,Q0 )=(1,1,1,1)まで数え
ると同時にRCOを、クロック信号10の1周期の間、L
OWからHIGHに変える。このRCO出力は2入力N
ORゲート15に入力する。このとき、ジッタを含むNR
Z信号8は、次のデータが1の場合でも0の場合でも、
LOWからHIGHに変化することはないため、2入力
ANDゲート14の出力はLOWの状態を維持している。
そのため、2入力NORゲート15は、RCO出力によ
り、今までのHIGHの状態から、クロック信号10の1
周期の間だけLOWになり、またHIGHに戻る。The loadable counter 16 continues counting up at the rising edge of the clock signal 10, and (Q
3 , Q 2 , Q 1 , Q 0 ) = ( 1 , 1 , 1 , 1 ), and at the same time, the RCO is set to L for one cycle of the clock signal 10.
Change from OW to HIGH. This RCO output is a 2-input N
Input to OR gate 15. At this time, NR including jitter
The Z signal 8 indicates whether the next data is 1 or 0,
Since there is no change from LOW to HIGH, the output of the two-input AND gate 14 maintains the LOW state.
Therefore, the two-input NOR gate 15 changes the high level of the clock signal 10 from the high level by the RCO output.
It goes LOW only during the period and returns to HIGH.
【0009】この2入力NORゲート15の出力がローダ
ブルカウンタ16のLOAD端子に加わり、ローダブルカ
ウンタ16の出力に(Q3 ,Q2 ,Q1 ,Q0 )=(1,
0,0,0)がロードされる。即ち、ローダブルカウン
タ16の出力(Q3 ,Q2 ,Q1 ,Q0 )は(1,1,
1,1)の次が(1,0,0,0)になる。The output of the two-input NOR gate 15 is applied to the LOAD terminal of the loadable counter 16, and (Q 3 , Q 2 , Q 1 , Q 0 ) = (1,
(0,0,0) is loaded. That is, the outputs (Q 3 , Q 2 , Q 1 , Q 0 ) of the loadable counter 16 are (1, 1, 1).
(1,1) is replaced by (1,0,0,0).
【0010】また、Dフリップフロップ17の出力は,2
入力NORゲート15の出力がLOWになることによって
非同期リセットが掛かり、出力はHIGHに戻る。The output of the D flip-flop 17 is 2
When the output of the input NOR gate 15 becomes LOW, an asynchronous reset is applied, and the output returns to HIGH.
【0011】続いて、ローダブルカウンタ16は、先程と
同様に、クロック信号10の立上がりエッヂでカウントア
ップし、Dフリップフロップ17は、ローダブルカウンタ
16の出力Q2 がHIGHになった時点で、ジッタを含む
NRZ信号8の中心をサンプルする。サンプルしたデー
タが0、つまりLOWであれば、Dフリップフロップ17
の出力はHIGHのままであり、サンプルしたデータが
1、つまりHIGHであればDフリップフロップ17の出
力はLOWになる。ローダブルカウンタ16は、さらにカ
ウントアップを続け、最上位数までカウントするとRC
Oがクロック信号10の1周期間HIGHになり、2入力
NORゲート15の出力がクロック信号10の1周期間LO
Wになる。そのため、Dフリップフロップ17は非同期リ
セットされ、出力がHIGHの状態になる。こうした一
連の動作により、Dフリップフロップ17からはRZ信号
12が出力される。Subsequently, the loadable counter 16 counts up at the rising edge of the clock signal 10 as before, and the D flip-flop 17
16 when the output Q 2 becomes HIGH, samples the center of the NRZ signal 8 including jitter. If the sampled data is 0, that is, LOW, the D flip-flop 17
Output remains HIGH, and if the sampled data is 1, that is, HIGH, the output of the D flip-flop 17 becomes LOW. The loadable counter 16 continues counting up, and when counting to the highest number, RC
O becomes HIGH for one cycle of the clock signal 10, and the output of the two-input NOR gate 15 becomes LO for one cycle of the clock signal 10.
W. Therefore, the D flip-flop 17 is asynchronously reset, and the output becomes HIGH. By such a series of operations, the D flip-flop 17 outputs the RZ signal.
12 is output.
【0012】ローダブルカウンタ16の出力(Q3 ,Q
2 ,Q1 ,Q0 )は、基本的には(1,0,0,0)か
ら(1,1,1,1)にカウントアップされ、(1,
1,1,1)の次に(1,0,0,0)がロードされ
る。しかし、Dフリップフロップ13と2入力ANDゲー
ト14とが、ジッタを含むNRZ信号8の立上がりを検出
した場合には、直ちに2入力NORゲート15からローダ
ブルカウンタ16のLOAD端子にクロック信号10の1周
期間LOWの信号が入力され、(1,0,0,0)がロ
ードされる。つまり、ローダブルカウンタ16は、その出
力(Q3 ,Q2 ,Q1,Q0 )がどのような状態にあっ
ても、NRZ信号8が入力したときには、出力を(1,
0,0,0)に戻すことができる。そのために、入力し
たNRZ信号8がジッタを含んでいる場合でも、クロッ
ク信号10に対して同期を取りながらRZ信号に変換する
ことが可能となる。The output of the loadable counter 16 (Q 3 , Q
2 , Q 1 , Q 0 ) are basically counted up from ( 1 , 0 , 0 , 0 ) to (1, 1, 1, 1), and (1, 1, 1, 1)
After (1,1,1), (1,0,0,0) is loaded. However, when the D flip-flop 13 and the two-input AND gate 14 detect the rise of the NRZ signal 8 including jitter, the two-input NOR gate 15 immediately sends the clock signal 10 to the LOAD terminal of the loadable counter 16. A LOW signal is input during the period, and (1, 0, 0, 0) is loaded. That is, regardless of the state of the output (Q 3 , Q 2 , Q 1 , Q 0 ), when the NRZ signal 8 is input, the loadable counter 16 outputs the output (1,
(0,0,0). Therefore, even when the input NRZ signal 8 includes jitter, it can be converted into an RZ signal while synchronizing with the clock signal 10.
【0013】[0013]
【発明が解決しようとする課題】しかし、従来のNRZ
−RZ信号変換回路では、クロック信号を受入れていな
いDフリップフロップ17からRZ信号を取出しており、
また、RZ信号12のLOWからHIGHへの立上がりを
Dフリップフロップ17のリセット信号で制御している。
そのため、得られるRZ信号12はクロック信号10に対し
て非同期となり、信号変換の動作に安定性を欠いたり、
信号の遅延が発生したりする。その結果、この変換回路
では、高速通信ができなかったり、厳しい車載環境で誤
動作を招く等の問題点を有していた。However, the conventional NRZ
-The RZ signal conversion circuit extracts the RZ signal from the D flip-flop 17 which does not receive the clock signal,
The rise of the RZ signal 12 from LOW to HIGH is controlled by the reset signal of the D flip-flop 17.
Therefore, the obtained RZ signal 12 becomes asynchronous with respect to the clock signal 10, and the operation of signal conversion lacks stability,
Or a signal delay occurs. As a result, this conversion circuit has a problem that high-speed communication cannot be performed or a malfunction occurs in a severe vehicle environment.
【0014】本発明は、こうした従来の問題点を解決す
るものであり、ジッタを含むNRZ信号を、クロック信
号に完全に同期したRZ信号に変換することができる、
安定した高速動作が可能なNRZ−RZ信号変換回路を
提供することを目的としている。The present invention solves such a conventional problem, and can convert an NRZ signal including jitter into an RZ signal completely synchronized with a clock signal.
An object of the present invention is to provide an NRZ-RZ signal conversion circuit capable of performing stable high-speed operation.
【0015】[0015]
【課題を解決するための手段】そこで、本発明では、ジ
ッタを含むNRZ信号とクロック信号とを入力とし、N
RZ信号の立上がり微分信号をクロック信号に同期して
出力する立ち上がり微分回路と、この立ち上がり微分信
号とクロック信号とを入力とし、立ち上がり微分信号に
よりクロック信号に同期してリセットし、クロック信号
に同期してカウントアップするn進カウンタと、このn
進カウンタの出力を入力とし、n進カウンタの出力のデ
コード信号を出力するデコーダと、デコーダの出力とN
RZ信号とを入力とする2入力ANDゲートと、2入力
ANDゲートの出力とクロック信号とを入力とするDフ
リップフロップと、このDフリップフロップの出力とク
ロック信号とを入力とし、クロック信号に同期したRZ
信号を出力するシーケンサとによってNRZ−RZ信号
変換回路を構成している。Therefore, according to the present invention, an NRZ signal including jitter and a clock signal are input and
A rising differential circuit that outputs a rising differential signal of the RZ signal in synchronization with the clock signal, and receives the rising differential signal and the clock signal as inputs, resets the synchronous differential signal in synchronization with the clock signal, and synchronizes with the clock signal. An n-ary counter that counts up
A decoder which receives an output of a binary counter as an input and outputs a decoded signal of an output of an n-ary counter,
A two-input AND gate receiving the RZ signal, a D flip-flop receiving the output of the two-input AND gate and the clock signal, and receiving the output of the D flip-flop and the clock signal as input and synchronizing with the clock signal RZ
An NRZ-RZ signal conversion circuit is constituted by a sequencer that outputs a signal.
【0016】[0016]
【作用】そのため、NRZ信号が立ち上がると、立上が
り微分回路の出力を受けたn進カウンタがクロック信号
に同期してカウントアップを始め、カウント数が所定数
に達したとき、デコーダがデコード信号を2入力AND
ゲートに出力する。2入力ANDゲートは、デコード信
号を用いてサンプル用信号を出力し、Dフリップフロッ
プがこの2入力ANDゲートの出力をクロック信号に同
期させる。Dフリップフロップの出力はシーケンサに入
り、シーケンサは、Dフリップフロップの出力があった
後、プログラムに設定されたクロック信号の周期の間だ
け、出力信号を反転する。そのため、シーケンサから
は、クロック信号に完全に同期するRZ信号が出力され
る。Therefore, when the NRZ signal rises, the n-ary counter receiving the output of the rising differentiating circuit starts counting up in synchronization with the clock signal, and when the count reaches a predetermined number, the decoder changes the decode signal to two. Input AND
Output to the gate. The two-input AND gate outputs a signal for sampling using the decode signal, and the D flip-flop synchronizes the output of the two-input AND gate with the clock signal. The output of the D flip-flop enters the sequencer, and the sequencer inverts the output signal for the period of the clock signal set in the program after the output of the D flip-flop. Therefore, the sequencer outputs an RZ signal completely synchronized with the clock signal.
【0017】[0017]
【実施例】本発明の実施例におけるNRZ−RZ信号変
換回路は、図1に示すように、クロック信号10に同期し
てジッタを含むNRZ信号8の立上がり微分信号7を出
力する立上がり微分回路1と、リセット信号9によりク
ロック信号10に非同期でリセットされ、ジッタを含むN
RZ信号8の立上がり微分信号7によりクロック信号10
に同期してリセットされる8進カウンタ2と、8進カウ
ンタ2の出力をデコードするデコーダ3と、ジッタを含
むNRZ信号8のサンプル用信号を生成する2入力AN
Dゲート4と、2入力ANDゲート4の出力をクロック
信号10に同期させるDフリップフロップ5と、Dフリッ
プフロップ5の出力を受けてクロック信号10に同期した
RZ信号11を出力するようにプログラムに従って動作す
るシーケンサ6とを備えている。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS As shown in FIG. 1, an NRZ-RZ signal conversion circuit according to an embodiment of the present invention comprises a rising differential circuit 1 for outputting a rising differential signal 7 of an NRZ signal 8 including jitter in synchronization with a clock signal 10. , Reset asynchronously with the clock signal 10 by the reset signal 9,
The clock signal 10 is generated by the rising differential signal 7 of the RZ signal 8.
Octal counter 2 reset in synchronism with the above, a decoder 3 for decoding the output of the octal counter 2, and a two-input AN for generating a signal for sampling the NRZ signal 8 including jitter
A D-gate 4, a D-flip-flop 5 for synchronizing the output of the two-input AND gate 4 with the clock signal 10, and a program for receiving the output of the D-flip-flop 5 and outputting an RZ signal 11 synchronized with the clock signal 10 And an operating sequencer 6.
【0018】次に実施例のNRZ−RZ信号変換回路の
動作について説明する。図2は、実施例の変換回路の各
部のタイミングチャートを示している。この図におい
て、NRZ信号8(b)の実線は、NRZ信号がクロッ
ク信号10(a)に同期している場合を示しており、ま
た、点線は、クロック信号10の1〜2周期程度の時間的
伸縮を含んでクロック信号10に同期している「ジッタを
含んだNRZ信号」を示している。同期通信の信号をN
RZ信号に復調した場合は実線ようになり、クロック信
号10の8周期間隔が信号の単位となる。Next, the operation of the NRZ-RZ signal conversion circuit of the embodiment will be described. FIG. 2 shows a timing chart of each part of the conversion circuit of the embodiment. In this figure, the solid line of the NRZ signal 8 (b) shows the case where the NRZ signal is synchronized with the clock signal 10 (a), and the dotted line shows the time of about 1 to 2 periods of the clock signal 10. The “NRZ signal including jitter” which is synchronized with the clock signal 10 including the expansion and contraction is shown. Synchronous communication signal N
When demodulated to an RZ signal, it becomes a solid line, and the unit of the signal is eight periods of the clock signal 10.
【0019】ジッタを含むNRZ信号8の入力タイミン
グ(b)に対して、リセット信号9は図2のiのように
入力し、8進カウンタ2を動作させる。8進カウンタ2
の出力は、ジッタを含まないNRZ信号の場合を図2の
d1に、ジッタを含むNRZ信号の場合を図2のd2に
示している。いずれの場合も、立上り微分回路の出力信
号7(c)の次のクロック信号aに合わせて0からのカ
ウントが開始される。ジッタを含まないNRZ信号の場
合は、0から7までのカウントが規則正しく繰返される
が、ジッタを含むNRZ信号8では、立上り微分回路の
出力信号7(c)の時間的位置が実線からずれるため、
それに連れてカウント数が不規則になっている。At the input timing (b) of the NRZ signal 8 including the jitter, the reset signal 9 is input as shown in FIG. Octal counter 2
2 shows the case of an NRZ signal containing no jitter in d1 of FIG. 2 and the case of an NRZ signal containing jitter in d2 of FIG. In any case, counting from 0 is started in accordance with the clock signal a following the output signal 7 (c) of the rising differentiating circuit. In the case of an NRZ signal containing no jitter, the count from 0 to 7 is repeated regularly, but in the case of an NRZ signal 8 containing jitter, the time position of the output signal 7 (c) of the rising differentiating circuit deviates from the solid line.
The count number is irregular accordingly.
【0020】デコーダ3は、8進カウンタ2の出力を受
け、8進カウンタ2の出力が3のときに、HIGHを出
力(図2e)する。The decoder 3 receives the output of the octal counter 2 and outputs HIGH (FIG. 2e) when the output of the octal counter 2 is 3.
【0021】2入力ANDゲート4は、デコーダ3の出
力(e)とジッタを含むNRZ信号8(b)とを入力
し、デコーダ3の出力がHIGHで且つNRZ信号8の
データが1のときにだけ、クロック信号10の1周期間H
IGHの信号(図2f)を出力する。NRZ信号がジッ
タを含む場合は点線のようになる。この2入力ANDゲ
ート4は、デコーダ3の出力を使ってジッタを含むNR
Z信号8をサンプルしている。The two-input AND gate 4 inputs the output (e) of the decoder 3 and the NRZ signal 8 (b) including jitter. When the output of the decoder 3 is HIGH and the data of the NRZ signal 8 is 1, Only for one cycle of the clock signal 10
An IGH signal (FIG. 2f) is output. If the NRZ signal contains jitter, it becomes like a dotted line. The two-input AND gate 4 uses the output of the decoder 3 to output an NR including jitter.
The Z signal 8 is sampled.
【0022】Dフリップフロップ5は、2入力ANDゲ
ート4の出力とクロック信号10とを受け入れて、2入力
ANDゲート4の出力をクロック信号10に同期させて、
図2gの信号を出力する。The D flip-flop 5 receives the output of the two-input AND gate 4 and the clock signal 10, synchronizes the output of the two-input AND gate 4 with the clock signal 10,
The signal of FIG. 2g is output.
【0023】シーケンサ6は、プログラムに従って、図
3に示す状態遷移図に基づく動作を行なう。つまり、D
フリップフロップ5の出力(図2g)がクロック信号10
の1周期間に亙ってLOWのときは、RZ信号としてH
IGHを出力する。一方、Dフリップフロップ5の出力
がクロック信号10の1周期間に亙ってHIGHのとき
は、クロック信号10に同期したRZ信号の出力をLOW
に変え、これをクロック信号10の4周期間に亙って続
け、その後HIGH出力に戻る。The sequencer 6 performs an operation based on the state transition diagram shown in FIG. 3 according to a program. That is, D
The output of flip-flop 5 (FIG. 2g) is clock signal 10
Is LOW for one cycle of H.
Outputs IGH. On the other hand, when the output of the D flip-flop 5 is HIGH for one period of the clock signal 10, the output of the RZ signal synchronized with the clock signal 10 is changed to LOW.
And this continues for four periods of the clock signal 10 before returning to a HIGH output.
【0024】このシーケンサ6の出力を図2hに示して
いる。この出力は、クロック信号10に完全に同期したR
Z信号出力11となる。The output of the sequencer 6 is shown in FIG. This output is R
This becomes the Z signal output 11.
【0025】このように、実施例のNRZ−RZ信号変
換回路では、ジッタを含むNRZ信号のデータ1が入力
したとき、それに対応して、シーケンサ6からクロック
信号10の4周期間に亙ってLOWとなるRZ信号11を出
力しており、クロック信号に完全に同期したRZ信号に
変換することができる。この変換は、クロック信号に完
全に同期しているため、動作が安定しており、また、遅
延を伴わなうことがなく高速動作が可能になる。As described above, in the NRZ-RZ signal conversion circuit of the embodiment, when the data 1 of the NRZ signal including the jitter is input, the data is transmitted over the four periods of the clock signal 10 from the sequencer 6 correspondingly. Since the RZ signal 11 which becomes LOW is output, it can be converted into an RZ signal completely synchronized with the clock signal. Since this conversion is completely synchronized with the clock signal, the operation is stable, and high-speed operation can be performed without delay.
【0026】なお、実施例では、ジッタを含むNRZ信
号の基本周期をクロック信号の8周期間としているた
め、8進カウンタ、つまりn=8のn進カウンタを用
い、デコーダでは、カウンタ出力の3に合わせて信号を
出力し、また、シーケンサでは、NRZ信号のデータ1
に対応して、クロック信号の4周期間だけLOWになる
RZ信号を出力するようにプログラムを設定している。In the embodiment, since the basic period of the NRZ signal including jitter is set to be equal to eight periods of the clock signal, an octal counter, that is, an n-ary counter of n = 8 is used. Is output according to the NRZ signal.
, The program is set so as to output an RZ signal which becomes LOW only for four cycles of the clock signal.
【0027】しかし、ジッタを含むNRZ信号の基本周
期は、nを任意の整数として、クロック信号のn周期間
とすることができる。この場合には、カウンタにn進カ
ウンタを用い、デコーダからは、n進カウンタの出力が
n/2−1またはn/2±0.5(この値が整数となる
いずれか一方)の数値の時にデコード信号を出力させ、
また、シーケンサは、NRZ信号のデータ1に対応し
て、クロック信号のn/2またはn/2±0.5(この
値が整数となるいずれか一方)の数値の周期間に亙って
出力を反転するようにプログラムする。However, the basic period of the NRZ signal including the jitter can be between n periods of the clock signal, where n is an arbitrary integer. In this case, an n-ary counter is used as the counter, and the output of the n-ary counter from the decoder is n / 2−1 or n / 2 ± 0.5 (one of which is an integer). Sometimes output the decode signal,
In addition, the sequencer outputs the clock signal over the period of the numerical value of n / 2 or n / 2 ± 0.5 (one of which is an integer) corresponding to the data 1 of the NRZ signal. Is programmed to be inverted.
【0028】[0028]
【発明の効果】以上の実施例の説明から明らかなよう
に、本発明のNRZ−RZ信号変換回路は、ジッタを含
むNRZ信号からRZ信号を生成する場合に、クロック
信号に完全に同期したRZ信号を出力することができる
ため、変換動作が安定しており、遅延の発生も避けられ
る。そのため、高速通信が可能であり、また、厳しい車
載環境などにおいても安定した動作を行なうことができ
る。As is apparent from the above description of the embodiment, the NRZ-RZ signal conversion circuit of the present invention, when generating an RZ signal from an NRZ signal containing jitter, is capable of generating an RZ signal completely synchronized with a clock signal. Since a signal can be output, the conversion operation is stable and a delay can be avoided. Therefore, high-speed communication is possible, and stable operation can be performed even in a severe vehicle environment.
【0029】また、本発明の回路を、FPGA等のユー
ザが自由に書込むことが可能な論理回路にプログラムし
て利用する場合にも、本発明のNRZ−RZ信号変換回
路はクロック信号に同期して動作するため、各デバイス
特有の遅延に依存することがない。そのため、回路構成
に変更を加える必要がなく、どのようなデバイスにも対
応可能である。The NRZ-RZ signal conversion circuit according to the present invention is also synchronized with a clock signal when the circuit according to the present invention is programmed and used in a logic circuit such as an FPGA which can be freely written by a user. It does not depend on the delay specific to each device. Therefore, there is no need to change the circuit configuration, and any device can be supported.
【図1】本発明のNRZ−RZ信号変換回路の一実施例
を示すブロック図、FIG. 1 is a block diagram showing one embodiment of an NRZ-RZ signal conversion circuit according to the present invention;
【図2】実施例のNRZ−RZ信号変換回路におけるタ
イミングチャート、FIG. 2 is a timing chart in the NRZ-RZ signal conversion circuit of the embodiment;
【図3】実施例のNRZ−RZ信号変換回路に使用する
シーケンサの状態遷移図、FIG. 3 is a state transition diagram of a sequencer used in the NRZ-RZ signal conversion circuit according to the embodiment;
【図4】従来のNRZ−RZ信号変換回路を示すブロッ
ク図である。FIG. 4 is a block diagram showing a conventional NRZ-RZ signal conversion circuit.
1 立上がり微分回路 2 8進カウンタ 3 デコーダ 4、14 2入力ANDゲート 5、13 Dフリップフロップ 6 シーケンサ 7 立上がり微分信号 8 ジッタを含むNRZ信号 9 リセット信号 10 クロック信号 11 クロック信号に同期したRZ信号 12 RZ信号 13 Dフリップフロップ 15 2入力NORゲート 16 4ビットローダブルカウンタ 17 リセット端子付きDフリップフロップ REFERENCE SIGNS LIST 1 rising differential circuit 2 octal counter 3 decoder 4, 14 2 input AND gate 5, 13 D flip-flop 6 sequencer 7 rising differential signal 8 NRZ signal including jitter 9 reset signal 10 clock signal 11 RZ signal synchronized with clock signal 12 RZ signal 13 D flip-flop 15 2-input NOR gate 16 4-bit loadable counter 17 D flip-flop with reset terminal
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H03M 5/06 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H03M 5/06
Claims (1)
換回路において、 ジッタを含むNRZ信号とクロック信号とを入力とし、
前記NRZ信号の立上がり微分信号を前記クロック信号
に同期して出力する立ち上がり微分回路と、 前記立ち上がり微分信号と前記クロック信号とを入力と
し、前記立ち上がり微分信号により前記クロック信号に
同期してリセットし、前記クロック信号に同期してカウ
ントアップするn進カウンタと、 前記n進カウンタの出力を入力とし、前記n進カウンタ
の出力のデコード信号を出力するデコーダと、 前記デコーダの出力と前記NRZ信号とを入力とする2
入力ANDゲートと、 前記2入力ANDゲートの出力と前記クロック信号とを
入力とするDフリップフロップと、 前記Dフリップフロップの出力と前記クロック信号とを
入力とし、前記クロック信号に同期したRZ信号を出力
するシーケンサとを備えることを特徴とするNRZ−R
Z信号変換回路。1. A signal conversion circuit for converting an NRZ signal into an RZ signal, comprising: an input of an NRZ signal including jitter and a clock signal;
A rising differential circuit for outputting a rising differential signal of the NRZ signal in synchronization with the clock signal; and receiving the rising differential signal and the clock signal as inputs, resetting the rising differential signal in synchronization with the clock signal, An n-ary counter that counts up in synchronization with the clock signal, a decoder that receives an output of the n-ary counter as an input, and outputs a decode signal of the output of the n-ary counter, and outputs the output of the decoder and the NRZ signal. Input 2
An input AND gate; a D flip-flop that receives the output of the two-input AND gate and the clock signal; and an RZ signal that receives the output of the D flip-flop and the clock signal and is synchronized with the clock signal. NRZ-R comprising a sequencer for outputting
Z signal conversion circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP06101694A JP3107968B2 (en) | 1994-04-18 | 1994-04-18 | NRZ-RZ signal conversion circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP06101694A JP3107968B2 (en) | 1994-04-18 | 1994-04-18 | NRZ-RZ signal conversion circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH07288472A JPH07288472A (en) | 1995-10-31 |
JP3107968B2 true JP3107968B2 (en) | 2000-11-13 |
Family
ID=14307446
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP06101694A Expired - Fee Related JP3107968B2 (en) | 1994-04-18 | 1994-04-18 | NRZ-RZ signal conversion circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3107968B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5197200B2 (en) * | 2008-07-08 | 2013-05-15 | 富士通テン株式会社 | Data communication device |
-
1994
- 1994-04-18 JP JP06101694A patent/JP3107968B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH07288472A (en) | 1995-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5923190A (en) | Phase detector having a sampling circuit | |
US6163584A (en) | Synchronization element for converting an asynchronous pulse signal into a synchronous pulse signal | |
JP2771354B2 (en) | Demodulator | |
JP3107968B2 (en) | NRZ-RZ signal conversion circuit | |
JP2572984B2 (en) | Phase coherent demodulator | |
US5235596A (en) | Circuit arrangement for generating synchronization signals in a transmission of data | |
JPH1168861A (en) | Simultaneous bidirectional transmission / reception method and simultaneous bidirectional transmission / reception circuit | |
KR100333717B1 (en) | Clock generator using edge detection of input signal | |
JPH0323714Y2 (en) | ||
JPH04227164A (en) | Vertical synchronizing signal separation circuit | |
KR19990024395A (en) | Manchester signal detection and synchronization clock recovery | |
JP3487228B2 (en) | Manchester encoder | |
JPS5980047A (en) | Biphase code demodulator | |
JP2973613B2 (en) | Programmable counter | |
KR0152227B1 (en) | Signal recovering apparatus | |
JP3440666B2 (en) | Clock extraction circuit and decoding circuit | |
Nienhaus et al. | A digital phase lock loop for VLSI telecommunication applications | |
KR910009093B1 (en) | Coded Mark Inverting Coding Circuit | |
JPH0272719A (en) | Split phase decoding circuit | |
JPS63299626A (en) | Frame phase synchronizing adjusting device | |
JPH0558299B2 (en) | ||
JPH0574255B2 (en) | ||
JP2003018139A (en) | Clock regeneration circuit | |
KR920007373A (en) | Frame Synchronization Circuit and Method in Mobile Radiotelephone System | |
JPH0758888B2 (en) | Signal loss detection circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080908 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080908 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090908 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090908 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100908 Year of fee payment: 10 |
|
LAPS | Cancellation because of no payment of annual fees |