JPS6146642A - Reception data sampling pulse generating circuit for serial data transmitter - Google Patents

Reception data sampling pulse generating circuit for serial data transmitter

Info

Publication number
JPS6146642A
JPS6146642A JP59167524A JP16752484A JPS6146642A JP S6146642 A JPS6146642 A JP S6146642A JP 59167524 A JP59167524 A JP 59167524A JP 16752484 A JP16752484 A JP 16752484A JP S6146642 A JPS6146642 A JP S6146642A
Authority
JP
Japan
Prior art keywords
input
terminal
reference clock
data
preset
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
JP59167524A
Other languages
Japanese (ja)
Other versions
JPH0316054B2 (en
Inventor
Tsuneyuki Kitajima
恒之 北島
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.)
Toyo Communication Equipment Co Ltd
Original Assignee
Toyo Communication Equipment 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 Toyo Communication Equipment Co Ltd filed Critical Toyo Communication Equipment Co Ltd
Priority to JP59167524A priority Critical patent/JPS6146642A/en
Publication of JPS6146642A publication Critical patent/JPS6146642A/en
Publication of JPH0316054B2 publication Critical patent/JPH0316054B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information
    • H04L7/033Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop
    • H04L7/0331Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop with a digital phase-locked loop [PLL] processing binary samples, e.g. add/subtract logic for correction of receiver clock

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Dc Digital Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To attain ease of detection of a synchrorous word at the reception side and to prevent the deterioration of transmission efficiency of a data by generating a pulse sampling accurately a serial reception data at the center of each bit length at all times. CONSTITUTION:When a serial reception data is inputted to a terminal D1 of a D FF circuit 1a of a differentiation circuit 1, an output from a terminal Q1 is inputted to a terminal D2 of other D FF circuit 1b and an EXNOR 1c, and an output of the EXNOR 1c is inputted to a LOAD terminal of a hexadecimal counter 3. The hexadecimal counter 3 counts a reference clock inputted to the CLK terminal, the count is set to output terminals QA-QD, and when a preset start input is inputted to the LOAD terminal, a numeral inputted to preset input terminals A-D in this case is preset. An adder 6 inputs a sum of numerals inputted two sets of input terminals A1-A4, B1-B4 from output terminals SIGMA1-SIGMA4 to the preset input terminals A-D of the hexadecimal counter 3, and an RC signal is outputted from the counter 3 as the sampling pulse.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はサイクリ、クディジタル情報伝送装置(以下O
DTと記す)等のNRZ(Nonr@turn to 
Z@ro )信号を用いた直列データ伝送装置において
、直列2値信号符号列として受信された入力データを正
確にサンプリングすることができるように、入力データ
のON10 F F変化点ごとに、入力データとサンプ
リングパルスの同期のズレを検出して1段階づつにこれ
を補正し、常に入力データの中心部においてこれをサン
プリングすることができるようにした直列データ伝送装
置用受信データサンプリングパルス発生回路に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a cyclic, digital information transmission device (hereinafter referred to as O
NRZ (Nonr@turn to
In a serial data transmission device using a Z@ro ) signal, in order to accurately sample the input data received as a serial binary signal code string, the input data is The present invention relates to a received data sampling pulse generation circuit for a serial data transmission device, which detects a synchronization deviation between a sampling pulse and a sampling pulse, corrects the deviation step by step, and always samples input data at the center thereof.

〔従来の技術〕[Conventional technology]

直列伝送データを受信し、これを並列伝送データに変換
する際には、受信側においてサンプリングパルスを発生
し、これにより受信データのサンプリングを行うのが通
例である。第2図は従来の直列受信データのサンプリン
グ法の概要を示し、横軸は時間軸、受信信号は同図((
)に示すように1ビット当りの0又は1の持続時間を相
等しくする直列2進符号列として入力する。
When receiving serially transmitted data and converting it into parallelly transmitted data, it is customary to generate sampling pulses on the receiving side and sample the received data using these pulses. Figure 2 shows an overview of the conventional sampling method for serially received data, where the horizontal axis is the time axis and the received signal is shown in the figure ((
) is input as a serial binary code string in which the duration of 0 or 1 per bit is equal.

サンプリングパルスは入力信号と一同期するように受信
側において一定周期をもって発生され、パルス幅は入力
データの1ビット当りの持続時間に較べ極めて短かく、
理想的には入力信号と完全に同期し、各パルスは各入力
データの(時間軸上の)中心部に位置する(第2図(ロ
))。第2図(ハ)は仲)のサンプリングパルスにより
抽出されたサンプリングデータ列を示し、その情報内容
は入力データのそれに等しい(この場合においては1,
0,1.0・・・・・・)。
The sampling pulse is generated at a fixed period on the receiving side so as to be synchronized with the input signal, and the pulse width is extremely short compared to the duration of one bit of input data.
Ideally, it is perfectly synchronized with the input signal, and each pulse is located at the center (on the time axis) of each input data (FIG. 2 (b)). Figure 2 (C) shows the sampling data string extracted by the sampling pulse of Naka), whose information content is equal to that of the input data (in this case, 1,
0, 1.0...).

第3図は、直列受信データ及びサンプリングパルスの同
期維持のために従来より使用されてきたフレーム同期方
式の要点を示すもので、同図(イ)に示すように直列デ
ータはlフレームを単位として伝送され、1フレームは
その先頭部に配置され、特定のパターンを有する同期ワ
ード及びそれに引続いて順次配列された情報ワードナ1
.す21す3.・・・・・・ΦNにより構成され、また
各情報ワードは前述した通り所定ビット数の2進符号列
である(同図に))。受信側では伝送データ(直列受信
データ)の中に一定周期間隔で配列された同期ワードを
検出するごとにパルス状のタイミング信号を発生し、サ
ンプリングパルス(同図(ハ))の位相はそれを基準に
して修正され、この位相関係は次のフレームの同期タイ
ミング信号が再び発生されるまで持続される。第3図に
)は−例として情報ワードΦ2を拡大し、入力データ列
がに)のサンプリングパルスによりサンプルされる経過
を説明したものであり、第2図の場合と同様、入力デー
タと同一の情報内容を有するサンプリングデータ列(こ
の場合では1,0,1.1)が得られることがわかる。
Figure 3 shows the main points of the frame synchronization method that has traditionally been used to maintain synchronization between serially received data and sampling pulses. A synchronization word with a specific pattern is placed at the beginning of the frame, followed by an information word 1 arranged in sequence.
.. S21S3. . On the receiving side, a pulse-like timing signal is generated every time a synchronization word arranged at a fixed periodic interval is detected in the transmission data (serial reception data), and the phase of the sampling pulse ((c) in the same figure) is determined by the timing signal. The reference is corrected and this phase relationship is maintained until the next frame's synchronization timing signal is generated again. In Fig. 3), as an example, the information word Φ2 is enlarged and the input data sequence is sampled by the sampling pulse of It can be seen that a sampling data sequence (1, 0, 1.1 in this case) with information content is obtained.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、このフレーム同期方式に関しては従来エリ次の
欠点が指摘されている。
However, the following drawbacks have been pointed out in the past regarding this frame synchronization method.

(1)受信データとサンプリングパルスの同期修正は同
期ワード受信時にしか行われない。このため伝送側(送
信側)送信データ発生回路のクロック及び受信側サンプ
リングパルスの周波数の精度が低い場合、又は1フレー
ム内の情報ワード数が多い場合には 97プリ/グ同期
のズレが次第に増加する恐れがある。
(1) Synchronization correction of received data and sampling pulses is performed only when a synchronization word is received. Therefore, if the accuracy of the clock of the transmission data generation circuit on the transmission side (sending side) and the frequency of the sampling pulse on the receiving side is low, or if the number of information words in one frame is large, the deviation in 97 pre/g synchronization will gradually increase. There is a risk that

以上の理由により送信側の送信データ発生回路及び受信
側のサンプリングパルス発生回路には極めて高い周波数
精度が要求され、技術的困難及び経済的不利益金招きや
すい。
For the above reasons, extremely high frequency accuracy is required of the transmission data generating circuit on the transmitting side and the sampling pulse generating circuit on the receiving side, which tends to cause technical difficulties and economic disadvantages.

(2)一旦、両者間の同期が崩れると、途中でこJ’L
を補正する:=P段を欠くために、次の同期ワードが検
出さ扛るまでの全受信データがエラーデータとなる。
(2) Once the synchronization between the two is broken, J'L
Correct: = Since the P stage is missing, all received data until the next synchronization word is detected becomes error data.

このため、伝送線路の特性が劣る場合(波形ヒズミ、レ
ベル変動等)や周囲雑音が著しい場合には、受信側にお
ける同期ワードの検出が困難となりデータの伝送効率が
著しく低下する。
Therefore, if the characteristics of the transmission line are poor (waveform distortion, level fluctuations, etc.) or if there is significant ambient noise, it becomes difficult to detect the synchronization word on the receiving side, resulting in a significant drop in data transmission efficiency.

〔問題点を解決するための手段及び作用〕本発明は以上
に鑑みてなされたものであり、直列受信データを常に各
ビット長の中心部において正確にサンプルすることがで
きるように。
[Means and operations for solving the problem] The present invention has been made in view of the above, and is designed to enable serially received data to always be sampled accurately at the center of each bit length.

受信側において受信データ1ビツト長の一n (nは正の整数)の周期を有する基準クロ、クパルス(
以下基準クロックと略記する)を発生させ、受信データ
のON10 F F変化点ごどに基準クロックと直列受
(Mデータ間の位相のズレを検より得られるサンプリン
グパルスが出力される時点を両者間の同期ズレが修正さ
れる方向に1基準クロック周期づつ調整するよりにした
直列データ伝送装置用受信データサンプリングパルス発
生回路を提供するものである。
On the receiving side, the standard clock pulse (
Generates a reference clock (hereinafter abbreviated as the reference clock), and detects the point in time at which a sampling pulse obtained by detecting the phase shift between the reference clock and the serial reception (detects the phase difference between the M data) is output at each ON10FF change point of the received data. The present invention provides a received data sampling pulse generation circuit for a serial data transmission device, which adjusts the reference clock period by one reference clock period in a direction that corrects the synchronization deviation.

以下、本発明の直列データ伝送装置用受信データサンプ
リングパルス発生回路について詳細に説明する。
Hereinafter, a received data sampling pulse generation circuit for a serial data transmission device according to the present invention will be explained in detail.

〔実施例〕〔Example〕

第1図は本発明の一実施例を示し、直列受信データのO
N10 F F変化点ごとに(換言すれば、1又は0の
データ・ビ、l・の先端部の到来を感知するごとに)同
一の持続時間及び極性を有するパルス(以下、受信(M
号変化点検出信号と記す)を発生する微分回路11直列
受信データの1と、ト長(この持続時間をTで表示する
)の例えば1/16 (すなわち1/16 T )を周
期とする基準クロックパルスを発生する基準クロック発
生回路2、前記基準クロ、りを計数(分周)して全桁の
計数が完了すると同時にリップルキャリア信号(桁上げ
信号、以下RO信号と記す)を発生する16進カウンタ
3.16進カウンタ3の刻々の計数値に一定の演算(詳
細は後述する)を施してこれを後述の16進カウンタの
プリセット入力端子へ向けて送出する役割を果すインバ
ータ(反転器)4、否定論理積回路(以下NANDと記
す)5及び加算器6により構成される。
FIG. 1 shows an embodiment of the present invention, in which serially received data is
N10 F At every F change point (in other words, every time the arrival of the leading edge of a data bit of 1 or 0 is sensed), a pulse (hereinafter referred to as reception (M
1 of the serially received data of the differentiating circuit 11 that generates the signal change point detection signal (hereinafter referred to as a signal change point detection signal), and a standard whose period is, for example, 1/16 (i.e., 1/16 T) of the T length (this duration is expressed as T). A reference clock generation circuit 2 that generates clock pulses, counts (divides) the reference clock pulses, and generates a ripple carrier signal (carry signal, hereinafter referred to as RO signal) at the same time as counting of all digits is completed 16 Decimal counter 3. An inverter (inverter) that performs a certain operation (details will be described later) on the constantly counted value of the hexadecimal counter 3 and sends it to the preset input terminal of the hexadecimal counter, which will be described later. 4, a NAND circuit (hereinafter referred to as NAND) 5 and an adder 6.

また、微分回路1は2箇のD型フリップフロ、プ回路1
a、1b及び排他的否定論理和回路(以下EXNORと
記す)lcにより構成され、・D1*D1及びQl 、
Qsは夫々、これらフリップフロップ回路の入力端子及
び出力端子、OLKは基準クロックが入力するクロック
端子である。直列受信データはD型フリップフロ。
In addition, the differentiator circuit 1 includes two D-type flip-flops, and a flip-flop circuit 1.
a, 1b and an exclusive NOR circuit (hereinafter referred to as EXNOR) lc, ・D1*D1 and Ql,
Qs is an input terminal and an output terminal of these flip-flop circuits, respectively, and OLK is a clock terminal to which a reference clock is input. Serial reception data is D-type flip-flow.

プ回路l&のD1端子に入力し、同Qs端子は他のD型
フリップフロップ回路1bのD1端子及びE)G’JO
R1eの一方の入力端子に接続される。
The Qs terminal is input to the D1 terminal of another D-type flip-flop circuit 1b and E) G'JO.
Connected to one input terminal of R1e.

D型7リツプフロツプ回路1bの出力端子QsはEXN
OR1cの他の入力端子に接続される。後述する通シ、
E)GJOR1eの出力(微分回路1の出力)が1/1
6Tの時間幅の受信データ変化点検出信号で、16進カ
ウンタ3のLOAD端子に入力する。
The output terminal Qs of the D-type 7 lip-flop circuit 1b is EXN.
Connected to the other input terminal of OR1c. The notice mentioned below,
E) Output of GJOR1e (output of differential circuit 1) is 1/1
The reception data change point detection signal with a time width of 6T is input to the LOAD terminal of the hexadecimal counter 3.

16進カウンタ3は同OLK端子(クロック入力端子)
に入力する基準クロックを計数し、その計数値は同出力
端子QA、 Q、  、 Qc、Q。
Hexadecimal counter 3 is the same OLK terminal (clock input terminal)
The reference clocks input to the output terminals QA, Q, , Qc, and Q are counted.

にセットされる。また、同カウンタ3はプリセ、ト機能
を有し、プリセット起動入力(この場合は微分回路1よ
り入力する受体データ変化点検出信号)が同LOAD端
子に入力すると、そのときにプリセット入力端子A、B
、O,Dに入力する数1直がプリセットされる。なお、
プリセット起動入力中は16進カウンタ3は一時的に計
数機能を喪失する。また、同カウンタ3から出力される
RO信号が直列受信データを処理するサンプリングパル
スとして機能する。
is set to In addition, the counter 3 has a preset function, and when the preset start input (in this case, the receptor data change point detection signal input from the differentiator circuit 1) is input to the LOAD terminal, the preset input terminal A , B
, O, and D are preset. In addition,
During the preset activation input, the hexadecimal counter 3 temporarily loses its counting function. Further, the RO signal output from the counter 3 functions as a sampling pulse for processing serially received data.

加算器6は2411の入力端子A I  + A 2 
 + A ll5A4とB1  r B2  # B9
  * B4及び1組の出力端子Σ1 、B2 、B8
 、B4を有する。A1+ARm A!  r A4に
は16進カウンタの出力端子Q、 、 Q、 、 Qc
、 QDが直接的且つ並列的に接続される。B1  e
 B2  e B*  m B4のうち、BIB、はイ
ンバータ4又はNAND 5を経由して16進カウンタ
3の出力端子QA 、Qll−Qc 、Qnに接続され
、また% B8  a B4は接地されている。
Adder 6 has 2411 input terminals A I + A 2
+ A ll5A4 and B1 r B2 # B9
*B4 and one set of output terminals Σ1, B2, B8
, B4. A1+ARM A! r A4 has hexadecimal counter output terminals Q, , Q, , Qc
, QDs are connected directly and in parallel. B1 e
Of B2 e B * m B4, BIB is connected to the output terminals QA, Qll-Qc, and Qn of the hexadecimal counter 3 via the inverter 4 or NAND 5, and % B8 a B4 is grounded.

出力端子Σ1 、B2 、Σ1.Σ4には入力端子A1
  e A2  h 1g  + A4及び同B1+B
l*B3 、B4に入力する数値の和が出力され、その
数値は16進カウンタ3のプリセット入力端子A、B、
0.Dに並列2進符号列として入力する。
Output terminals Σ1, B2, Σ1. Σ4 has input terminal A1
e A2 h 1g + A4 and B1 + B
The sum of the numbers input to l*B3 and B4 is output, and that number is sent to the preset input terminals A, B, and hexadecimal counter 3.
0. Input D as a parallel binary code string.

以上の構成において、最初に微分回路1の動作について
説明する。第4図は同回路各部の動作を説明するタイミ
ングチャートで、(イ)は直列受信データ(フリップフ
ロップ1aのD1端子の入力レベル)、(ロ)はフリッ
プフロップla。
In the above configuration, the operation of the differentiating circuit 1 will be explained first. FIG. 4 is a timing chart illustrating the operation of each part of the circuit, in which (a) shows the serially received data (the input level of the D1 terminal of the flip-flop 1a), and (b) shows the flip-flop la.

1bのOLK端子に入力する基準フロック、(ハ)、に
)は夫々フリップフロップla、Ibの出力端子Qs、
Qsの出力レベル、(ハ)はFIXNOR1cの出カッ
ベルを示す。第4図(イ)(ロ)に示す通り、受信デー
タの先端部((イ)の図形の左縁部)と基準クロックは
一般には時間的に一致しないので、DlがL (0)か
らH(1)へ移行してもQlは直ちにはHへ移行せず、
次のクロックが入力するときにHへ移行する(同図(ハ
))。その後基準クロックが入力し、DlがHを持続す
る限り、QlのレベルはHを持続する。DlがHからL
へ移行するときはQlは直ちにはLへ移行せず、次の基
準クロックが入力するときLとなる(同図Pつ右縁部)
。一方、Ql (すなわちB2 )がLからHへ移行し
ても(同図(ハ)左縁部)、Qlは直ちにはLからHに
移行せず、次の基準クロックが入力するときにHとなる
(同図に)右縁部)。
The reference blocks (c) and 2) input to the OLK terminal of 1b are the output terminals of flip-flops la and Ib, Qs and Ib, respectively.
The output level of Qs (c) indicates the output level of FIXNOR1c. As shown in Figure 4 (a) and (b), the leading edge of the received data (the left edge of the figure in (a)) and the reference clock generally do not match in time, so Dl changes from L (0) to H. Even if it shifts to (1), Ql does not immediately shift to H,
When the next clock is input, it shifts to H ((c) in the same figure). Thereafter, the reference clock is input and as long as Dl remains high, the level of Ql remains high. Dl goes from H to L
When transitioning to , Ql does not immediately transition to L, but becomes L when the next reference clock is input (P right edge in the same figure)
. On the other hand, even if Ql (i.e., B2) transitions from L to H (left edge in Figure 3(C)), Ql does not immediately transition from L to H, and becomes H when the next reference clock is input. (right edge (as shown in the same figure)).

同様にQlはQlよシも1基準クロツク遅れてHよfi
Lへ移行する(同図(ハ)、に)右縁部)。また、EX
NOR1cは、その性質上、その入力端子の双方がHま
たはLの場合に限fiHを出力し、その一方が■(、他
方がLのとぎはLを出力する。
Similarly, Ql is delayed by one reference clock and H is fi.
Shift to L (right edge of the same figure (c)). Also, EX
Due to its nature, the NOR1c outputs fiH only when both of its input terminals are H or L, and outputs L when one of them is ■(, and the other is L).

Ql及びQ2が夫々EXNOR1cの入力端子に接続さ
れていること、及び第4図(ハ)、に)から明らかな通
り、EXNOTL 1 cの出力は同図(ホ)に示すよ
うになシ、直列受信データのON10 F F変化点よ
シ1基準りロック巾以内の((1/16 T )遅れに
てHからLへ移行し、1/16Tの間この値を接続した
後Hへ復帰する。このようにEXNORlcが一時的に
Lとなる状態が前述の受信データ変化点検出信号である
As is clear from the fact that Ql and Q2 are connected to the input terminals of EXNOR1c, respectively, and from Figure 4 (C) and (2), the output of EXNOTL1c is connected in series as shown in Figure 4 (E). It shifts from H to L with a delay of (1/16 T) within the lock width from the ON10 FF change point of the received data, and returns to H after connecting this value for 1/16 T. This state in which EXNORlc temporarily becomes L is the above-mentioned received data change point detection signal.

(n) 次に16進カウンタ3はOLK端子に入力する基準クロ
ックを計数し、その計数値は出力端子Q A 、 Q 
B −Q c 、Q nに刻々とセットされ、更に加算
器60入力端子に並列2進符号列として入力する。次に
他の一組の入力端子B! 。
(n) Next, the hexadecimal counter 3 counts the reference clock input to the OLK terminal, and the counted value is sent to the output terminals Q A, Q
B −Q c and Q n are set every moment, and further inputted to the input terminal of the adder 60 as a parallel binary code string. Next, another set of input terminals B! .

Bm  t Bl  + B4に人力する数値について
説明する。0,1,2,3.・・・14.15の10進
第1表 法表示を2進符号で表示したものが第1表である。この
表から明らかな通シ、16進カウンタの計数値がθ〜7
の場合にはQA e Qs e QoeQDの最上桁(
Q、)は常に0(匂であ如、従ってこの値はインバータ
4によシ反転され、1@とじて加算器6のB2端子及び
NAND Bの入力端子の一つに入力する。NAND 
5は、同回路の性質上、3入力端子が全てLの場合にの
みHな出力し、他の如何なるデータの組み合せが入力し
ても常にLを出力する。従ってこの場合はBlの入力(
NAND 5の出力)は常に0■であシ、また前述した
通’)、Bsの入力がlσ◇であることから入力端子B
1  * B1  e Bl  + B4にセットされ
る数は2進法表示で0010 (10進法表示で2)で
ある。このため加算器6の出力端子Σ凰 −Σ3 、Σ
8 、Σ4からはQA−QlltQc、QDの計数値に
2を加算した数値が出力され、16進カウンタ3のプリ
セット入力端子A、B、O,Dに入力する。
The numerical value manually input to Bm t Bl + B4 will be explained. 0, 1, 2, 3. ...The first decimal table of 14.15 is expressed in binary code in the first table. It is clear from this table that the count value of the hexadecimal counter is θ~7
In this case, the most significant digit of QA e Qs e QoeQD (
Q, ) is always 0 (input), so this value is inverted by the inverter 4 and input as 1 to the B2 terminal of the adder 6 and one of the input terminals of NAND B.
5, due to the nature of the circuit, outputs H only when all three input terminals are L, and always outputs L no matter what other combination of data is input. Therefore, in this case, the input of Bl (
The output of NAND 5) is always 0■, and since the input of Bs is lσ◇, the input terminal B
The number set in 1*B1 e Bl + B4 is 0010 in binary notation (2 in decimal notation). Therefore, the output terminals of adder 6 Σ凰 −Σ3 , Σ
8 and Σ4 output a value obtained by adding 2 to the count value of QA-QlltQc and QD, and input it to preset input terminals A, B, O, and D of the hexadecimal counter 3.

16進カウンタ6の出力が8又は9の場合には、第1表
から明らかな通シ、最上桁QDは1◇めとなシ、加算器
60入力端子B、及びNAND50入力端子の一つにL
(0)が入力する。また、この場合Q B −Q cは
共に0■であることから、NAND 5の3入力端子は
全てLとなシ、加算器60入力端子B皿には1α◇が入
力する。従って、入力端子B1  *B2 1B3 3
B4には0001(10進法表示で1)がセットされる
。このため加算器6の出力端子Σ1 、Σ2 、Σ3 
、Σ4からは16進カウンタの計数値(QA、Q、。
When the output of the hexadecimal counter 6 is 8 or 9, as is clear from Table 1, the highest digit QD is 1◇, the adder 60 input terminal B, and one of the NAND 50 input terminals. L
(0) is input. Further, in this case, since Q B -Q c are both 0■, all three input terminals of the NAND 5 are at L, and 1α◇ is input to the input terminal B of the adder 60. Therefore, input terminal B1 *B2 1B3 3
0001 (1 in decimal notation) is set in B4. Therefore, the output terminals Σ1, Σ2, Σ3 of the adder 6
, Σ4, the count value of the hexadecimal counter (QA, Q, .

Qc 、Q Dの数値)に1を加算した値が出力され、
この数値は同プリセット入力端子A 、 B 、O。
The value obtained by adding 1 to the values of Qc and QD is output,
This value is the same for the same preset input terminals A, B, and O.

Dに入力する。同様の考索により、16進カウンタ3の
計数値が10〜15のときは加算器60入力端子Bl 
 @ B21 Bs  I B4に入力する数値はoo
oo (全桁L)となj5.16進カウンタ3のQ、、
Q、B、Qc、QDの数値がそのまま同プリセット入力
端子A、B、O,Dに入力する。16進カウンタ3の計
数値及びプリセット入力端子、加JI”Jr 6の入出
力端子の数値の相互関係←括し′″CC長示ものがN1
2表である。
Enter in D. By similar consideration, when the count value of the hexadecimal counter 3 is 10 to 15, the adder 60 input terminal Bl
@ B21 Bs I The number to enter in B4 is oo
oo (all digits L) j5.Q of hexadecimal counter 3,,
The numerical values of Q, B, Qc, and QD are input as they are to the same preset input terminals A, B, O, and D. Interrelationship between the count value of hexadecimal counter 3, the preset input terminal, and the input/output terminal value of addition JI"Jr 6 ←"CC length indicator is N1
There are two tables.

16進カウンタ3のプリセット制御入力端子r14) LOADがHである限り、同プリセット入力端子A、B
、O,Dに入力するデータは全て無視されるが、同T、
OAD端子にプリセット起動入力(この場合では受信デ
ータ変化点検出信号が入力し、この端子が一時的にLと
なる)が入力した場合、その時点にプリセット入力端子
A、B。
Preset control input terminal r14 of hexadecimal counter 3) As long as LOAD is H, the same preset input terminals A and B
, O, D are all ignored, but the same T,
When a preset activation input (in this case, a reception data change point detection signal is input and this terminal temporarily becomes L) is input to the OAD terminal, the preset input terminals A and B are input at that point.

0、Dに入力していたデータによJ)16進カウンタ3
がプリセットされ、事後該カウンタの基準クロックの計
数はこの数値を超点として行われる。
J) Hexadecimal counter 3 according to the data input to 0 and D
is preset, and the counting of the reference clock of the counter is then performed using this value as the super point.

以上の検討から明らかな通シ、16進カウンタ3がプリ
セットされるタイミング(換舊すれば受信データの各ビ
ットの先頭部の到来が感知されるタイミング)によシ、
16進カウンタ3は次の王道)の態様で動作する。
It is clear from the above discussion that depending on the timing at which the hexadecimal counter 3 is preset (in other words, the timing at which the arrival of the beginning of each bit of received data is detected),
The hexadecimal counter 3 operates in the following manner.

(1)計数値がθ〜7のときにプリセットされる場合、
この場合は16進カウンタ3は「前回の計数+2」の値
にプリセットされる。これは通常の基準クロックによる
歩進よシも+l余分に計数されることであシ、通常の計
数完了(count ul) )よシも1基準クロック
分早いタイミングでRO倍信号サンプリングパルス)が
16進カウンタ3よ多出力される。
(1) When preset when the count value is between θ and 7,
In this case, the hexadecimal counter 3 is preset to the value of "previous count + 2". This is because the increment by the normal reference clock is counted +l extra, and even if the normal counting is completed (count ul), the RO multiplied signal sampling pulse) is 16 times earlier by one reference clock. Numerous outputs are output from the decimal counter 3.

(2)計数値が8又は9のときにプリセットされる場合
、この場合は16進カウンタ3は「前回の計数値+1」
の値にプリセットされる。
(2) If the count value is preset when it is 8 or 9, in this case hexadecimal counter 3 is "previous count value + 1"
is preset to the value of

例えば計数値が「8」のと籾にプリセットされた場合は
、プリセット後7基準クロック後に全桁の計数が完了し
てRO倍信号16進カウンタ3より出力される。
For example, when the count value is preset to "8" and paddy, counting of all digits is completed after 7 reference clocks after the preset, and the RO multiplication signal is output from the hexadecimal counter 3.

(3)計数値がlθ〜15のときにプリセットされる場
合、この場合は16進カウンタ3は「「前回計数値十〇
」にプリセットされ、これは通常の歩進を1回省略した
ことに等しく、従って数計完了及びRO倍信号発生は通
常の場合に較べ1基準クロック分遅れることになる。
(3) When the count value is preset when lθ~15, in this case, the hexadecimal counter 3 is preset to ``previous count value 10'', which is equivalent to omitting one normal step. Therefore, the completion of counting and the generation of the RO multiplication signal are delayed by one reference clock compared to the normal case.

次に本回路による同期ズレの補正機能について説明する
。いま各受信データ(1又0)が到来し、受信データ変
化点検出信号が微分回路lから出力され、プリセット起
動入力として、16進カウンタ3のLOAD端子に入力
し、16進カウンタがプリセットされたものとする。こ
のときの計数値(出力端子QAIQ、、Qc、QDの数
値)が「8」であったとすれば、前述した通り事後7回
の計数によシ計数が完了してRO倍信号出力され、これ
がサンプリングパルスとして機能する。受信データの1
ビツト長は16基準クロツクに相当し、サンプリングパ
ルスがデータ・ビット・の前縁から7基準クロツク後に
発生するため受信データは略々中央部においてサンプル
されたことになる。
Next, the function of correcting synchronization deviation by this circuit will be explained. Now, each received data (1 or 0) has arrived, and a received data change point detection signal is output from the differentiating circuit l, inputted to the LOAD terminal of the hexadecimal counter 3 as a preset start input, and the hexadecimal counter is preset. shall be taken as a thing. If the counted value at this time (the numerical value of the output terminals QAIQ, , Qc, QD) is "8", the counting is completed after 7 countings as described above, and the RO multiplied signal is output. Functions as a sampling pulse. Received data 1
The bit length corresponds to 16 reference clocks, and since the sampling pulse occurs 7 reference clocks after the leading edge of the data bit, the received data is sampled approximately at the center.

次に、第5図(イ)に示すように16進カウンタ3の計
数値が「3−1のときにデータ変化点検出信号が検出さ
れたものとする。この場合は前記(1)の場合(計数筐
=1〜7)゛に相当し、16進カウンタ3は[−5」に
プリセットされる。受信データ変化点検出信号か検出さ
れるのは第3回目の基準クロック以後から第4回目の基
準クロックの間であシ、同信号がプリセット起動入力と
してLOAD端子に入力するときは(T、OADが■、
となる期間中は)、前述した通り、16進カウンタ3は
一時的に計数機能を喪失するので第4回目の基準クロッ
クは計数されない。事後の計数はカウンタにプリセット
された「5」を起点として行われるため、通常の場合に
較ぺ1クロック分早く計数が完了し、Re信号が出力さ
れる。この場合は両者が同期した状態に較べ位相関係は
受信データの方が進み(換言すれば基準クロックの方が
遅れ)の状態にあり、この、データ変化点検出からRe
信号(サンプリングパルス)が出力されるまでの時間を
短縮させる操作は基準クロックの遅れ位相を1基準クロ
ツク分だけ修正する方向に作用する。
Next, as shown in FIG. 5(a), it is assumed that the data change point detection signal is detected when the count value of the hexadecimal counter 3 is 3-1.In this case, in the case of (1) above (counting box=1 to 7)", and the hexadecimal counter 3 is preset to "-5". The received data change point detection signal is detected between the third reference clock and the fourth reference clock, and when this signal is input to the LOAD terminal as a preset start input, (T, OAD ■,
During this period), as mentioned above, the hexadecimal counter 3 temporarily loses its counting function, so the fourth reference clock is not counted. Since the subsequent counting is performed starting from "5" preset in the counter, the counting is normally completed one clock earlier than usual, and the Re signal is output. In this case, compared to the state where both are synchronized, the received data is in a state where the received data is ahead (in other words, the reference clock is behind), and from this data change point detection, Re
The operation of shortening the time until the signal (sampling pulse) is output acts in the direction of correcting the delayed phase of the reference clock by one reference clock.

また、第5図(ロ)に示すように16進カウンタ3の計
数値が112」のときにデータ変化点検出信号が検出さ
れたときは前記(3)の場合(計数値=・10〜15)
に相当し、16進カウンタ3は[−12Jにプリセット
される。事後の計数は「12」を起点として行われ、通
常の場合に較べ1基準クロツク分遅れて計数が完了し、
Re信号が出力される。この場合、位相関係は基準クロ
ックが進んだ状態にあるためデータ変化点検出からRe
信号(サンプリングパレス)が出力されるまでの時間を
遅延させる操作は基準クロックパルスの進み位相を1基
準クロツク分だけ修正する方向に作用する。
In addition, as shown in FIG. 5(b), when the data change point detection signal is detected when the count value of the hexadecimal counter 3 is 112'', in the case of (3) above (count value = 10 to 15 )
, and the hex counter 3 is preset to [-12J. The subsequent counting is performed starting from "12", and the counting is completed one reference clock later than in the normal case.
A Re signal is output. In this case, the phase relationship is such that the reference clock is advanced, so Re
The operation of delaying the time until the signal (sampling pulse) is output acts in the direction of correcting the leading phase of the reference clock pulse by one reference clock.

以上の処理は受信データ変化点ごとに行なわれるため、
当初サンプリングパルスと受信データが非同期で6.て
も(サンプリングパルスが受信データの中央部からズし
ていても)同変化点ごとに1基準クロツク幅(1/16
T)づつこれが修正され、数回の繰シ返しく両者のズレ
が最大の場合でも高々8回の繰シ返し)により両者の位
相関係を完全に同期させることができる。また−1本回
路では受信データ変化点ごとの位相修正量が僅少である
ため、受信データの歪等によシジッターが発生した場合
においても平均的に同期引込みが発生しない利点がある
The above processing is performed for each received data change point, so
Initially, the sampling pulse and received data were asynchronous and 6. Even if the sampling pulse deviates from the center of the received data, one reference clock width (1/16
T) This is corrected by repeating this several times (even if the deviation between the two is maximum, repeating it eight times at most), the phase relationship between the two can be completely synchronized. Furthermore, in the -1 circuit, since the amount of phase correction for each point of change in the received data is small, there is an advantage that synchronization pull-in does not occur on average even when sijitter occurs due to distortion of the received data.

なお、本実施例では、基準:2巴ツクの間隔を1ビツト
長のl/16に定め、基準クロックを分局するカウンタ
として16進カウンタが使用されているが、基準クロッ
ク間隔を1ビツト長の1/2” (nは正の整数)、基
準クロックを分周するカウンタを2n進カウンタとして
も同等差支えない。また、サンプリングな各受信データ
の中心部において行う場合について説明したが、カウン
タの計数値に加算する数値を変更することにより、受信
データのビット幅内の所望の位置においてサンプリング
を行うことも可能である。
In this embodiment, the reference clock interval is set to 1/16 of 1 bit length, and a hexadecimal counter is used as a counter for dividing the reference clock. 1/2" (n is a positive integer), and the counter that divides the reference clock can be used as a 2n counter.Also, although we have explained the case where sampling is performed at the center of each received data, the calculation of the counter By changing the numerical value to be added to the numerical value, it is also possible to perform sampling at a desired position within the bit width of the received data.

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

以上説明した通り、本発明の直列データ伝送装置用受信
データサンプリングパルス発生回路によれば、受信デー
タの1ビツト長の1/2n(nは正の整数)周期を有す
る基準クロックを受信側において発生し、受信データの
ON10 F F変化点ごとに該基準クロックと直列受
信データの同期のズレを検出し、該基準クロックを1/
2nに分周することにより得られるサンプリングパルス
が発生される時点を前記同期ズレが修正される方向に1
基準クロツクづつ調整するようにしたため、数回の繰り
返しによシ両者間の同期のズレが自動的に修正され、事
後常に各受信データの1ビツト長の中心部において正確
に受信データをサンプルすることができるようになった
As explained above, according to the received data sampling pulse generation circuit for a serial data transmission device of the present invention, a reference clock having a cycle of 1/2n (n is a positive integer) of 1 bit length of received data is generated on the receiving side. Then, at each ON10FF change point of the received data, the synchronization difference between the reference clock and the serially received data is detected, and the reference clock is changed by 1/1.
The time point at which the sampling pulse obtained by dividing the frequency by 2n is generated is set by 1 in the direction in which the synchronization difference is corrected.
Since the reference clock is adjusted one by one, the synchronization gap between the two is automatically corrected by repeating several times, and it is possible to always accurately sample the received data at the center of the 1-bit length of each received data after the fact. Now you can.

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

鋳1図・・・本発明の一実施例を示す説明図。第2図・
・・直列受信データのサンプリング法の概要を説明する
図。第3図・・・従来のフレーム同期方式の原理を説明
する図。第4図・・・微分回路の動作を説明するタイミ
ングチャート。第5図・・・本実施例における同期ズレ
修正の機能を説明する図。 符号表 1・・・微分回路、 la、lb・・・同り型フリップ
フロップ回路、  lc・・・同EXNOIt回路、2
・・・基準クロック発生回路、  3・・・16進カウ
ンタ、4・・・インバータ、  5・・・3人力NAN
D回路、6・・・加算器。
Figure 1: An explanatory diagram showing an embodiment of the present invention. Figure 2・
... A diagram illustrating an overview of a sampling method for serially received data. FIG. 3: A diagram explaining the principle of the conventional frame synchronization method. FIG. 4: A timing chart explaining the operation of the differentiating circuit. FIG. 5: A diagram illustrating the function of correcting synchronization deviation in this embodiment. Code table 1... Differential circuit, la, lb... Same type flip-flop circuit, lc... Same EXNOIt circuit, 2
・・・Reference clock generation circuit, 3... Hexadecimal counter, 4... Inverter, 5... 3-manpower NAN
D circuit, 6...adder.

Claims (1)

【特許請求の範囲】 持続時間が等しい「1」および「0」の2値の符号列よ
り成る直列受信データをサンプリングするパルスを発生
する直列受信データサンプリングパルス発生回路におい
て、 前記直列受信データの1ビット長の1/2^nの周期を
有する基準クロックパルスを発生する手段と、 前記直列受信データの各ビットの値が変化したとき前記
基準クロックパルスと前記直列受信データとの位相の進
遅を検出する手段と、 前記位相の進遅に応じて前記サンプリングパルスの発生
タイミングを前記基準クロックパルスの所定のパルス数
に対応した時間だけ調整する手段とを設けたことを特徴
とする直列データ伝送装置用受信データサンプリングパ
ルス発生回路。
[Scope of Claims] A serial reception data sampling pulse generation circuit that generates a pulse for sampling serial reception data consisting of a binary code string of "1" and "0" having equal durations, comprising: 1 of the serial reception data. means for generating a reference clock pulse having a period of 1/2^n of a bit length; and means for determining the phase advance or lag between the reference clock pulse and the serially received data when the value of each bit of the serially received data changes. A serial data transmission device comprising: a means for detecting; and a means for adjusting the generation timing of the sampling pulse by a time corresponding to a predetermined number of pulses of the reference clock pulse according to the advance or lag of the phase. Receive data sampling pulse generation circuit.
JP59167524A 1984-08-10 1984-08-10 Reception data sampling pulse generating circuit for serial data transmitter Granted JPS6146642A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59167524A JPS6146642A (en) 1984-08-10 1984-08-10 Reception data sampling pulse generating circuit for serial data transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59167524A JPS6146642A (en) 1984-08-10 1984-08-10 Reception data sampling pulse generating circuit for serial data transmitter

Publications (2)

Publication Number Publication Date
JPS6146642A true JPS6146642A (en) 1986-03-06
JPH0316054B2 JPH0316054B2 (en) 1991-03-04

Family

ID=15851291

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59167524A Granted JPS6146642A (en) 1984-08-10 1984-08-10 Reception data sampling pulse generating circuit for serial data transmitter

Country Status (1)

Country Link
JP (1) JPS6146642A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0261428A2 (en) * 1986-08-27 1988-03-30 Nec Corporation Clock recovering device
JPH0292125A (en) * 1988-09-29 1990-03-30 Pfu Ltd Data receiver
JPH03123338U (en) * 1990-03-27 1991-12-16

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58220534A (en) * 1982-06-17 1983-12-22 Shinko Electric Co Ltd Synchronizing pulse extracting circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58220534A (en) * 1982-06-17 1983-12-22 Shinko Electric Co Ltd Synchronizing pulse extracting circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0261428A2 (en) * 1986-08-27 1988-03-30 Nec Corporation Clock recovering device
JPH0292125A (en) * 1988-09-29 1990-03-30 Pfu Ltd Data receiver
JPH03123338U (en) * 1990-03-27 1991-12-16

Also Published As

Publication number Publication date
JPH0316054B2 (en) 1991-03-04

Similar Documents

Publication Publication Date Title
AU600871B2 (en) Clock recovering device
CA1308448C (en) Method of and circuit arrangement for recovering a bit clock from a received digital communication signal
US5550878A (en) Phase comparator
JPS62145924A (en) Digital phase-locking loop circuit
JPS6146642A (en) Reception data sampling pulse generating circuit for serial data transmitter
EP0094956B1 (en) A method of bringing an oscillator into phase with an incoming signal and an apparatus for carrying out the method
JPS5895447A (en) Clock regenerating circuit
JP2002319928A (en) Circuit and method for deciding central phase
JP2001230824A (en) Data reception system
JPH07229979A (en) Multiphase clock time measuring circuit
JP3513399B2 (en) Variable timing device using serial data
JP2712725B2 (en) Latching device for parallel digital signals
JPH10135796A (en) External synchronization method and circuit
JP3742092B2 (en) Center phase judgment circuit and its center phase judgment method
JPH0537508A (en) Pulse width distortion correction circuit for start-stop signal
JPS61199348A (en) Asynchronism detection circuit
JP2523820B2 (en) Phase synchronization circuit
JP2690990B2 (en) counter
CN112332834A (en) Correction method and device for avoiding metastable state of time-to-digital converter of laser radar
JPH03202910A (en) Synchronizing circuit
JPH03204251A (en) Clock synchronizing circuit
JPH05268200A (en) Clock replacement circuit
JPS62281534A (en) Circuit for detecting correlation between frame synchronizing patterns circuit
JPH04282927A (en) Reception synchronization circuit
JPS6359236A (en) Bit synchronizing circuit