JPH0614636B2 - Sync timing generator - Google Patents
Sync timing generatorInfo
- Publication number
- JPH0614636B2 JPH0614636B2 JP60249737A JP24973785A JPH0614636B2 JP H0614636 B2 JPH0614636 B2 JP H0614636B2 JP 60249737 A JP60249737 A JP 60249737A JP 24973785 A JP24973785 A JP 24973785A JP H0614636 B2 JPH0614636 B2 JP H0614636B2
- Authority
- JP
- Japan
- Prior art keywords
- bit
- input data
- frequency division
- signal
- data
- 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
Links
- 230000001360 synchronised effect Effects 0.000 claims description 16
- 238000001514 detection method Methods 0.000 claims description 5
- 238000005070 sampling Methods 0.000 claims description 4
- 230000000737 periodic effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 1
Landscapes
- Manipulation Of Pulses (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Description
【発明の詳細な説明】 A.産業上の利用分野 本発明はデータ通信装置の受信部に用いる同期タイミン
グ発生回路に関するものである。Detailed Description of the Invention A. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a synchronization timing generation circuit used in a receiver of a data communication device.
B.発明の概要 本発明は、1ビットずつ時系列に入力される入力データ
の各ビットに同期した同期タイミング信号を発生する同
期タイミング発生回路において、 各ビットのデータをほぼ1ビット時間に亘ってサンプリ
ングし、さらにそのサンプル値をシフトレジスタに入力
して順次シフトさせ、該シフトレジスタの前半のステー
ジのサンプル値と後半のステージのサンプル値が不一致
であれば、1ビットの入力データ内に欠落部分やノイズ
が存在しなかったものと判定し、所定周期のクロック信
号を分周して同期タイミング信号を発生する分周カウン
タをリセットし、該分周カウンタの分周動作を入力デー
タの各ビットの入力タイミングに同期させるように構成
したことにより、 入力データに欠落部分があったり、ノイズが重畳してい
た場合に誤って同期タイミング信号が発生されてしまう
のを防止するようにしたものである。B. SUMMARY OF THE INVENTION According to the present invention, in a synchronization timing generation circuit for generating a synchronization timing signal synchronized with each bit of input data input bit by bit, data of each bit is sampled for about 1 bit time. Further, if the sample value of the first half stage of the shift register and the sample value of the second half stage of the shift register do not match, the sample value is input to the shift register and sequentially shifted, and a missing portion or noise is included in the 1-bit input data. Is determined to have not existed, the clock signal of a predetermined cycle is divided, and the frequency division counter that generates the synchronization timing signal is reset, and the frequency division operation of the frequency division counter is performed by the input timing of each bit of the input data. Since the input data has a missing part or noise is superimposed, In which synchronization timing signal is to be prevented from being generated I.
C.従来の技術 データを1ビットずつ時系列に送受するデータ通信にお
いては、各ビットのデータが変化する変化点に該データ
の読込みタイミングを設定すると、データが充分に安定
していないために読込み結果に誤りが生じる。C. 2. Description of the Related Art In data communication in which data is transmitted and received bit by bit in a time series, if the read timing of the data is set at a change point where the data of each bit changes, the data is not sufficiently stable and the read result is There is an error.
そこで、各ビットのほぼ中間のタイミングで読込むた
め、各ビットの入力タイミングに同期した同期タイミン
グ信号を発生する同期タイミング発生回路が従来から用
いられている。Therefore, in order to read at a timing substantially in the middle of each bit, a synchronization timing generation circuit that generates a synchronization timing signal synchronized with the input timing of each bit has been conventionally used.
第3図は、従来の同期タイミング発生回路の構成を示す
もので、D型フリップフロップ11、排他的論理和ゲート
12、分周カウンタ13とから成り、時系列の入力データD
は1ビットずつフリップフロップ11において例えば1ビ
ット時間幅の1/2の周期のクロック信号CLKによって
サンプリングされる。そして、そのサンプル値は排他的
論理和ゲート12において1/2クロック周期後の入力デー
タDと比較される。比較の結果、両者が異なるレベルで
あれば、入力データDに変化が生じたものと判定され、
分周カウンタ13がその判定結果の信号によってリセット
される。分周カウンタ13は、この間、クロック信号CL
Kを分周して各ビットの入力タイミングに同期した同期
タイミング信号を出力しているが、入力データDに変化
があったことによって排他的論理和ゲート12の出力信号
によってリセットされる。このことにより、分周カウン
タ13は新たな入力データの入力タイミングに同期してク
ロック信号CLKを分周するようになる。FIG. 3 shows the structure of a conventional synchronous timing generation circuit, which includes a D-type flip-flop 11 and an exclusive OR gate.
It consists of 12 and the frequency division counter 13, and the time series input data D
Is sampled bit by bit in the flip-flop 11, for example, by the clock signal CLK having a cycle of 1/2 of the 1-bit time width. Then, the sample value is compared with the input data D after 1/2 clock period in the exclusive OR gate 12. As a result of the comparison, if the two levels are different, it is determined that the input data D has changed,
The frequency division counter 13 is reset by the signal of the determination result. During this period, the frequency division counter 13 keeps the clock signal CL.
Although K is frequency-divided and a synchronization timing signal synchronized with the input timing of each bit is output, it is reset by the output signal of the exclusive OR gate 12 due to a change in the input data D. As a result, the frequency division counter 13 frequency-divides the clock signal CLK in synchronization with the input timing of new input data.
このように分周カウンタは入力データに変化がある都
度、リセットされるためにその出力信号である同期タイ
ミング信号は入力データの各ビットに同期したものとな
る。従って、この同期タイミング信号を用いて各ビット
のほぼ中間のタイミングで読込み用のタイミング信号を
発生することにより、時系列のデータを1ビットずつ誤
りなく読込むことができる。In this way, the frequency division counter is reset every time the input data changes, so that the synchronization timing signal as its output signal is synchronized with each bit of the input data. Therefore, by using this synchronization timing signal to generate a timing signal for reading at a timing almost in the middle of each bit, it is possible to read time-series data bit by bit without error.
D.発明が解決しようとする問題点 ところが、上記のような同期タイミング発生回路におい
ては、1/2クロック周期前の入力データと現在の入力デ
ータとを比較することによって入力データに変化が有っ
たか否かを検出しているため、1/2クロック周期前ある
いは現在時刻にノイズが重畳したり、データに部分的な
欠落が生じた場合には、入力データに変化があったもの
と判定されてしまう。このため、同期タイミング信号の
発生タイミングがずれてしまうという問題があった。D. The problem to be solved by the invention is that, in the above-described synchronization timing generation circuit, whether or not there is a change in the input data by comparing the input data 1/2 clock period before and the current input data. Therefore, if noise is superimposed 1/2 clock cycle before or at the current time, or if data is partially missing, it is determined that the input data has changed. . Therefore, there is a problem in that the generation timing of the synchronization timing signal is deviated.
E.問題点を解決するための手段 本発明は、入力データの1ビットの時間幅の1/n倍の周
期のクロック信号を発生するクロック発生器と、nステ
ージの記憶位置を有し、各ビットの入力データを前記ク
ロック信号によってサンプリングしながら各ステージに
順次シフトするシフトレジスタと、前記クロック信号を
分周して入力データの各ビットに同期した周期信号を発
生する分周カウンタと、前記シフトレジスタにおける前
半のステージのサンプル値と後半のステージのサンプル
値とを比較し、不一致であれば前記分周カウンタをリセ
ットし、該分周カウンタの分周動作を入力データの各ビ
ットの入力タイミングに同期させるデータ不一致検出回
路とから構成したものである。E. Means for Solving the Problems The present invention has a clock generator that generates a clock signal having a cycle of 1 / n times the time width of 1 bit of input data, and a storage location of n stages. A shift register for sequentially shifting each stage while sampling input data by the clock signal, a frequency dividing counter for dividing the clock signal to generate a periodic signal synchronized with each bit of the input data, and a shift register for the shift register. The sample value of the first half stage is compared with the sample value of the latter half stage, and if they do not match, the frequency division counter is reset and the frequency division operation of the frequency division counter is synchronized with the input timing of each bit of the input data. And a data mismatch detection circuit.
F.作用 各ビットの入力データはクロック信号によって1/nの周
期でサンプリングされ、シフトレジスタの各ステージに
順次シフトされる。この時、n/2ステージ分のシフトが
終った時点では、入力データにノイズや欠落がなければ
前半のステージと後半のステージのサンプル値は必ず不
一致となり、逆にノイズや欠落が有った場合にはいずれ
かのステージに一致するものが現われる。従って、いず
れかのステージに一致するものがあった場合には分周カ
ウンタをリセットさせないことにより、分周カウンタが
ノイズ等によって誤ったタイミングで同期タイミング信
号を発生するのを防止でき、前半のステージと後半のス
テージのサンプル値が一致する場合の正常な入力データ
に対してのみ分周カウンタの分周動作を同期させること
ができる。F. Function The input data of each bit is sampled at a cycle of 1 / n by the clock signal and sequentially shifted to each stage of the shift register. At this point, if the input data has no noise or missing at the end of the shift of n / 2 stages, the sample values of the first half stage and the second half stage will not always match, and conversely if there is noise or loss. Will appear to match any stage. Therefore, if there is a match in any of the stages, by not resetting the frequency division counter, it is possible to prevent the frequency division counter from generating the synchronization timing signal at an incorrect timing due to noise, etc. And the frequency division operation of the frequency division counter can be synchronized only with normal input data when the sample values of the latter half stage match.
G.実施例 第1図は本発明の一実施例を示す回路図であり、入力デ
ータRDの1ビットの時間幅の1/16倍の周期のクロック
信号CLKを発生するクロック発生器1と、16ステージ
の記憶位置を有し、各ビットの入力データRDを前記ク
ロック信号CLKによってサンプリングしながら各ステ
ージに順次シフトするシフトレジスタ2と、前記クロッ
ク信号CLKを16分周して入力データRDの各ビットに
同期した周期信号RTLを発生する分周カウンタ3と、
8個の排他的論理和ゲートG1〜G8と1個のナンドゲ
ートG9とを有し、シフトレジスタ2の前半のステージ
Q1〜Q8と後半のステージQ9〜Q16のサンプル値
を、Q1とQ8,Q2とQ9,Q3とQ10,…Q8とQ
16という具合に組合せて比較し、全て不一致であればナ
ンドゲートG9からリセット信号RSを出力し、分周カ
ウンタ3をリセットするデータ不一致検出回路4とから
構成されている。G. Embodiment 1 FIG. 1 is a circuit diagram showing an embodiment of the present invention, in which a clock generator 1 for generating a clock signal CLK having a cycle 1/16 times the time width of 1 bit of input data RD and 16 stages Shift register 2 for sequentially shifting each stage while sampling the input data RD of each bit by the clock signal CLK, and dividing the clock signal CLK by 16 to obtain each bit of the input data RD. A frequency dividing counter 3 for generating a synchronized periodic signal RTL,
The shift register 2 has eight exclusive OR gates G1 to G8 and one NAND gate G9, and the sample values of the first half stages Q1 to Q8 and the second half stages Q9 to Q16 of the shift register 2 are Q1 and Q8, Q2. Q9, Q3 and Q10, ... Q8 and Q
It is composed of a data mismatch detection circuit 4 which outputs a reset signal RS from the NAND gate G9 and resets the frequency division counter 3 when all 16 mismatches are compared and compared.
以上の構成において、クロック発生器1は第2図(a)に
示すように1ビットのデータ時間幅の1/16の周期のクロ
ック信号CLKを発生し、シフトレジスタ2および分周
カウンタ3のクロック入力に供給している。今、第2図
に(b)に示すようなタイミングt1において入力データR
Dが“1”に変化したとすると、この“1”の入力デー
タRDはクロック信号CLKの発生毎にサンプリングさ
れてシフトレジスタ2の第1ステージQ1を介して第16
ステージQ16に向けて順次シフトされる。In the above configuration, the clock generator 1 generates the clock signal CLK having a period of 1/16 of the 1-bit data time width as shown in FIG. 2 (a), and the clocks of the shift register 2 and the frequency dividing counter 3 are generated. Feeding the input. Now, at the timing t 1 as shown in FIG. 2B, the input data R
Assuming that D changes to "1", the input data RD of "1" is sampled every time the clock signal CLK is generated, and is sampled through the first stage Q1 of the shift register 2 to the 16th stage.
It is sequentially shifted toward stage Q16.
これにより、第1ステージQ1、第8ステージQ8、第
16ステージQ16の出力信号は第2図(c),(d),(e)に示
すように変化するが、データ不一致検出回路4において
はシフトレジスタ2の各ステージの信号が順次変化する
ことに伴い、排他的論理和ゲートG1〜G8の出力信号
C1〜C8も第2図(f)〜(m)に示すように1クロック周
期だけずれたタイミングで順次“1”に変化する。そし
て、丁度1ビットの時間幅の1/2に達した時刻t2におい
ては全ての排他的論理和ゲートG1〜G8の出力信号C
1〜C8は“1”となる。As a result, the first stage Q1, the eighth stage Q8, the
The output signal of the 16-stage Q16 changes as shown in FIGS. 2 (c), (d), and (e), but in the data mismatch detection circuit 4, the signal of each stage of the shift register 2 changes sequentially. As a result, the output signals C1 to C8 of the exclusive OR gates G1 to G8 also sequentially change to "1" at the timings shifted by one clock cycle as shown in FIGS. 2 (f) to (m). Then, at time t 2 has been reached exactly half of one bit time width output signals of all of the exclusive OR gates G1 to G8 C
1 to C8 are “1”.
すなわち、前半のステージQ1〜Q8の出力信号は全て
“1”、後半のステージQ9〜Q16の出力信号は全て
“0”となるため、その比較結果は全て不一致となる。
このため、信号C1〜C8は時刻t2のタイミングにおい
て全て“1”となる。That is, since the output signals of the first half stages Q1 to Q8 are all "1" and all the output signals of the second half stages Q9 to Q16 are "0", the comparison results are all inconsistent.
Therefore, the signal C1~C8 all at the timing of time t 2 becomes "1".
一方、分周カウンタ3はクロック信号CLKを分周し、
クロック信号CLKの16倍の周期(すなわち、1ビット
のデータ時間幅に等しい周期)の同期タイミング信号R
TLをインバータ5を介して出力している。しかし、デ
ータ不一致検出回路4において信号C1〜C8が全て
“1”となり、ナンドゲートG9の論理積条件が成立す
ると、このナンドゲートG9から出力されるリセット信
号RSによってリセットされる。すなわち、分周カウン
タ3の分周動作は、入力データRDが“1”に立上った
後の8クロック周期経過後に、リセット信号RSによっ
て強制的に同期化されるものとなる。On the other hand, the frequency division counter 3 frequency-divides the clock signal CLK,
A synchronization timing signal R having a cycle 16 times as long as the clock signal CLK (that is, a cycle equal to a 1-bit data time width)
The TL is output via the inverter 5. However, when the signals C1 to C8 are all set to "1" in the data mismatch detection circuit 4 and the logical product condition of the NAND gate G9 is satisfied, it is reset by the reset signal RS output from the NAND gate G9. That is, the frequency division operation of the frequency division counter 3 is forcibly synchronized by the reset signal RS after the lapse of 8 clock cycles after the input data RD rises to "1".
ところが、入力データRDにノイズが重畳したり、部分
的な欠落があった場合には、このようなノイズあるいは
欠落部分のサンプリングタイミングに対応したステージ
の信号が後半のステージの信号と一致するようになり、
ナンドゲートG9の論理積条件は成立しなくなる。この
ため、リセット信号RSも発生されず、分周カウンタ3
はその前のビットにおいて同期化されたタイミングで分
周動作を継続する。従って、入力データにノイズが重畳
したり、欠落部分が有っても分周カウンタ3が誤って同
期化されてしまうことはなくなり、第2図(u)に示すよ
うに所定周期で変化する同期タイミング信号RTLを出
力することができる。この場合、リセット信号RSを監
視することにより、ノイズが重畳したことが入力データ
に欠落部分が有ったことをも検出することができる。な
お、第2図(o)〜(t)は分周カウンタ3の各端子の波形
で、第2図(t)はキャリーである。However, when noise is superimposed on the input data RD or there is a partial missing, the signal of the stage corresponding to the sampling timing of such noise or the missing part is matched with the signal of the latter half stage. Becomes
The logical product condition of the NAND gate G9 is no longer satisfied. Therefore, the reset signal RS is not generated, and the frequency dividing counter 3
Continues the frequency division operation at the timing synchronized with the previous bit. Therefore, the frequency division counter 3 will not be erroneously synchronized even if noise is superimposed on the input data or if there is a missing portion, and synchronization that changes at a predetermined cycle as shown in FIG. 2 (u). The timing signal RTL can be output. In this case, by monitoring the reset signal RS, it is possible to detect that there is a missing portion in the input data due to the superposition of noise. 2 (o) to (t) are waveforms of the terminals of the frequency dividing counter 3, and FIG. 2 (t) is a carry.
H.発明の効果 以上説明したように本発明は、各ビットのデータをほぼ
1ビット時間に亘ってサンプリングし、さらにそのサン
プル値をシフトレジスタに入力して順次シフトさせ、該
シフトレジスタの前半のステージのサンプル値と後半の
ステージのサンプル値が不一致であれば、1ビットの入
力データ内に欠落部分やノイズが存在しなかったものと
判定し、所定周期のクロック信号を分周して同期タイミ
ング信号を発生する分周カウンタをリセットし、該分周
カウンタの分周動作を入力データの各ビットの入力タイ
ミングに同期させるようにしたため、入力データに欠落
部分があったり、ノイズが重畳していた場合に誤って同
期タイミング信号が発生されてしまうのを防止すること
ができる。従って、使用環境の悪い場所でのデータ通信
装置に適用すれば、信頼性を一段と向上させることが可
能になる。H. As described above, according to the present invention, the data of each bit is sampled for about 1 bit time, the sample value is input to the shift register and sequentially shifted, and the first half stage of the shift register is shifted. If the sample value and the sample value of the latter half stage do not match, it is determined that there is no missing portion or noise in the 1-bit input data, the clock signal of a predetermined cycle is divided, and the synchronization timing signal is obtained. Since the frequency division counter that is generated is reset and the frequency division operation of the frequency division counter is synchronized with the input timing of each bit of the input data, when there is a missing portion in the input data or noise is superimposed, It is possible to prevent the synchronization timing signal from being generated by mistake. Therefore, if it is applied to a data communication device in a place where the usage environment is bad, the reliability can be further improved.
第1図は本発明の一実施例を示すブロック図、第2図は
第1図の実施例における各部入出力信号のタイミング
図、第3図は従来の同期タイミング発生回路を示す構成
図である。 1……クロック発生器、2……シフトレジスタ、3……
分周カウンタ、4……データ不一致回路。FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a timing diagram of input / output signals of respective parts in the embodiment of FIG. 1, and FIG. 3 is a configuration diagram showing a conventional synchronization timing generating circuit. . 1 ... Clock generator, 2 ... Shift register, 3 ...
Frequency division counter, 4 ... Data mismatch circuit.
Claims (1)
タの各ビットに同期した同期タイミング信号を発生する
同期タイミング発生回路において、 入力データの1ビットの時間幅1/n倍の周期のクロッ
ク信号を発生するクロック発生器と、nステージの記憶
位置を有し、各ビットの入力データを前記クロック信号
によってサンプリングしながら各ステージに順次シフト
するシフトレジスタと、前記クロック信号を分周して入
力データの各ビットに同期した周期信号を発生する分周
カウンタと、前記シフトレジスタにおける前半のステー
ジのサンプル値と後半のステージのサンプル値とをそれ
ぞれ1ビットづつ比較し、不一致であれば前記分周カウ
ンタをリセットし、該分周カウンタの分周動作を入力デ
ータの各ビットの入力タイミングに同期させるデータ不
一致検出回路とを備える同期タイミング発生回路。1. A synchronization timing generation circuit for generating a synchronization timing signal synchronized with each bit of input data input time-sequentially bit by bit, wherein a clock having a cycle of 1 / n times the width of 1 bit of the input data. A clock generator that generates a signal, a shift register that has n stages of storage locations, sequentially shifts to each stage while sampling input data of each bit by the clock signal, and divides and inputs the clock signal. A frequency division counter that generates a periodic signal synchronized with each bit of data and a sample value of the first half stage and a sample value of the second half stage of the shift register are compared bit by bit, and if they do not match, the frequency division is performed. The counter is reset and the frequency division operation of the frequency division counter is synchronized with the input timing of each bit of input data. A synchronization timing generation circuit having a data mismatch detection circuit for synchronization.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60249737A JPH0614636B2 (en) | 1985-11-07 | 1985-11-07 | Sync timing generator |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60249737A JPH0614636B2 (en) | 1985-11-07 | 1985-11-07 | Sync timing generator |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62109443A JPS62109443A (en) | 1987-05-20 |
| JPH0614636B2 true JPH0614636B2 (en) | 1994-02-23 |
Family
ID=17197454
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60249737A Expired - Lifetime JPH0614636B2 (en) | 1985-11-07 | 1985-11-07 | Sync timing generator |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0614636B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5234814A (en) * | 1989-06-01 | 1993-08-10 | Du Pont Merck Pharmaceutical Company | Diagnostic assay for alzheimer's disease |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5923646A (en) * | 1982-07-29 | 1984-02-07 | Matsushita Electric Ind Co Ltd | bit clock playback device |
-
1985
- 1985-11-07 JP JP60249737A patent/JPH0614636B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62109443A (en) | 1987-05-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4100531A (en) | Bit error rate measurement above and below bit rate tracking threshold | |
| US4054747A (en) | Data buffer | |
| US5428648A (en) | Digital PLL circuit having signal edge position measurement | |
| US4646167A (en) | Time code decoder | |
| JPH0614636B2 (en) | Sync timing generator | |
| JP3125556B2 (en) | Multi-phase clock time measurement circuit | |
| JPH10327136A (en) | Bit synchronization method | |
| JP3227700B2 (en) | Information transmission method | |
| SU1251335A1 (en) | Device for detecting errors | |
| JPH0644756B2 (en) | Synchronous clock generation circuit | |
| JPH08139711A (en) | Asynchronous data receiving circuit | |
| JPH0431211B2 (en) | ||
| JPS5853257A (en) | Digital data receiving circuit | |
| JP2636349B2 (en) | Phase control circuit | |
| JP2536816Y2 (en) | Timing generation circuit | |
| JP2903548B2 (en) | Logic circuit diagnostic system | |
| SU668081A2 (en) | Device for synchronizing check and standard digital signals | |
| JPH10262038A (en) | Data storage device | |
| SU1116548A1 (en) | Device for detecting errors of regenerator | |
| JP2863161B2 (en) | Phase synchronous clock signal generator | |
| SU1483466A1 (en) | Piecewise linear interpolator | |
| JP2552909B2 (en) | Digital PLL circuit | |
| JP2606458Y2 (en) | Signal level monitoring circuit | |
| JP2956920B2 (en) | Mark rate 1/2 pattern regenerator | |
| JPS60200631A (en) | Code error detecting circuit |