JPH0620198B2 - Timing generation circuit - Google Patents
Timing generation circuitInfo
- Publication number
- JPH0620198B2 JPH0620198B2 JP63287752A JP28775288A JPH0620198B2 JP H0620198 B2 JPH0620198 B2 JP H0620198B2 JP 63287752 A JP63287752 A JP 63287752A JP 28775288 A JP28775288 A JP 28775288A JP H0620198 B2 JPH0620198 B2 JP H0620198B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- phase
- timing
- forced synchronization
- circuit
- 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
- 238000001514 detection method Methods 0.000 claims description 44
- 230000000630 rising effect Effects 0.000 claims description 19
- 230000005540 biological transmission Effects 0.000 description 18
- 238000003708 edge detection Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 11
- 230000001360 synchronised effect Effects 0.000 description 11
- 238000005070 sampling Methods 0.000 description 8
- 230000003111 delayed effect Effects 0.000 description 7
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 7
- 238000000034 method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、受信データを識別する為のタイミング信号を
生成するタイミング生成回路に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a timing generation circuit that generates a timing signal for identifying received data.
受信データの“1”,“0”を識別する為に、多点サン
プリングと単点サンプリングとがあり、調歩同期式のデ
ータ端末に於いては、データ速度に比較して高速のクロ
ック信号を用いた多点サンプリングにより受信データの
識別が行われる。又同期式のデータ端末に於いては、デ
ータ速度と同一のクロック信号を用いて、受信データの
1ビットの中央でサンプリングする単点サンプリングが
採用されている。この単点サンプリングに於いては、受
信データの位相に同期したタイミング信号が必要であ
る。There are multi-point sampling and single-point sampling in order to distinguish "1" and "0" of the received data. In an asynchronous data terminal, a clock signal faster than the data rate is used. The received data is identified by the multipoint sampling. Further, in the synchronous type data terminal, single point sampling in which the same clock signal as the data rate is used and sampling is performed at the center of one bit of the received data is adopted. In this single-point sampling, a timing signal synchronized with the phase of received data is required.
同期式の例えばHDLC手順を使用するデータ端末装置
は、同期式の回線終端装置に接続され、この回線終端装
置からの送信及び受信のタイミング信号に基づいてデー
タの送信及び受信を行うものである。又比較的低速の非
同期伝送方式或いは多点サンプリングを行う比較的低速
の同期伝送方式に於ける回線終端装置は、前述のタイミ
ング信号を生成する機能を有しないので、同期式のデー
タ端末装置を接続してデータ伝送を行う場合に、タイミ
ング生成回路を設けることになる。A data terminal device using a synchronous type HDLC procedure, for example, is connected to a synchronous line terminating device and transmits and receives data based on transmission and reception timing signals from this line terminating device. Further, since the line terminating device in the relatively low speed asynchronous transmission system or the relatively low speed synchronous transmission system which performs multipoint sampling does not have the function of generating the above-mentioned timing signal, the synchronous data terminal device is connected. Therefore, a timing generation circuit is provided when performing data transmission.
第4図は親局30と複数の子局40とを非同期回線で接
続し、ポーリング方式によりデータ伝送を行う場合の伝
送システムの説明図であり、31,41は同期式のデー
タ端末装置、32,42,52はタイミング生成部、3
3,43,53は非同期式の回線終端装置、34,3
5,44,45,54,55はインタフェース部、3
6,46,56は送信タイミング信号発生回路、37,
47,57は受信タイミング信号生成回路、51は回線
切替回路である。又SDは送信データ、STは送信タイ
ミング信号、RDは受信データ、RTは受信タイミング
信号である。FIG. 4 is an explanatory diagram of a transmission system in which a master station 30 and a plurality of slave stations 40 are connected by an asynchronous line and data transmission is performed by a polling method. Reference numerals 31 and 41 denote synchronous data terminal devices, and 32. , 42, 52 are timing generation units, 3
3, 43, 53 are asynchronous line terminators, 34, 3
5,44,45,54,55 are interface parts, 3
6, 46 and 56 are transmission timing signal generation circuits, 37,
47 and 57 are reception timing signal generation circuits, and 51 is a line switching circuit. SD is transmission data, ST is a transmission timing signal, RD is reception data, and RT is a reception timing signal.
親局30及び各子局40に於いては、非同期式の回線終
端装置33,43,53に受信タイミング信号の生成機
能がないので、タイミング生成部32,42,52を設
け、送信タイミング信号発生回路36,46,56から
の送信タイミング信号STに基づいてデータの送信を行
い、又受信タイミング信号生成回路37,47,57に
於いて受信データから生成した受信タイミング信号RT
に基づいて受信データRDの受信処理を行うものであ
る。又回線終端装置53を介して他の子局が接続され
る。In the master station 30 and each slave station 40, since the asynchronous line terminators 33, 43, 53 do not have the function of generating reception timing signals, the timing generators 32, 42, 52 are provided to generate transmission timing signals. Data is transmitted based on the transmission timing signal ST from the circuits 36, 46 and 56, and the reception timing signal RT is generated from the reception data in the reception timing signal generation circuits 37, 47 and 57.
The reception processing of the reception data RD is performed based on the above. Further, another slave station is connected via the line terminating device 53.
親局30から複数の子局40を順次呼出す呼出信号が送
出され、この呼出信号により指定された子局40は、送
信データが存在する場合に、回線切替回路51を制御し
て、データ端末装置41を上り回路に切替接続する。又
送信タイミング信号発生回路46からの送信タイミング
信号STがインタフェース部44を介してデータ端末装
置41に加えられ、その送信タイミング信号STに従っ
て送信データSDが送出される。A calling signal for sequentially calling a plurality of child stations 40 is transmitted from the parent station 30, and the child station 40 designated by the calling signal controls the line switching circuit 51 to transmit the data terminal device when transmission data exists. 41 is switched and connected to the upstream circuit. Further, the transmission timing signal ST from the transmission timing signal generation circuit 46 is applied to the data terminal device 41 via the interface section 44, and the transmission data SD is transmitted in accordance with the transmission timing signal ST.
又親局30の受信タイミング信号生成回路37は、各子
局40から上り回線を介して伝送された応答信号から受
信タイミング信号RTを生成するものであり、インタフ
ェース部34を介して、この受信タイミング信号RTと
受信データRDとがデータ端末装置31に転送される。
又子局40の受信タイミング信号生成回路47は、親局
30から下り回線を介して伝送された信号から受信タイ
ミング信号RTを生成するものであり、インタフェース
部44に於いてデータの再生中継を行うと共に、受信タ
イミング信号RTと再生されたデータRDとがデータ端
末装置41に転送される。又受信タイミング信号生成回
路57は、下位の子局から上り回線を介して伝送された
信号から受信タイミング信号を生成し、インタフェース
部54に於いてデータの再生中継を行うものである。The reception timing signal generation circuit 37 of the master station 30 generates a reception timing signal RT from the response signal transmitted from each slave station 40 via the uplink, and the reception timing signal RT is generated via the interface section 34. The signal RT and the reception data RD are transferred to the data terminal device 31.
The reception timing signal generation circuit 47 of the slave station 40 generates the reception timing signal RT from the signal transmitted from the master station 30 through the downlink, and reproduces and relays data in the interface section 44. At the same time, the reception timing signal RT and the reproduced data RD are transferred to the data terminal device 41. Further, the reception timing signal generation circuit 57 generates a reception timing signal from the signal transmitted from the lower child station via the uplink, and reproduces and relays the data in the interface section 54.
第5図は親局と子局との間で伝送される信号のフォーマ
ットの説明図であり、(A)は親局30から子局40へ
送出する呼出信号、(B)は親局30が受信する子局4
0からの応答信号を示し、Fは例えば“0111111
0”のフラグ、Aはアドレス情報、Cは制御情報、Iは
データ、FCSはフレームチェックシーケンスである。FIG. 5 is an explanatory diagram of a format of a signal transmitted between the master station and the slave station. (A) is a call signal transmitted from the master station 30 to the slave station 40, and (B) is the master station 30. Slave station 4 to receive
0 indicates a response signal from 0, and F is “0111111”, for example.
0 "flag, A is address information, C is control information, I is data, and FCS is a frame check sequence.
親局30からは、アドレス情報Aによって子局40を指
定した呼出信号が送出され、又フィルイン信号としてフ
ラグFが用いられる。又子局40は、呼出信号のアドレ
ス情報Aによって指定された時に、複数の先頭のフラグ
F群と、1個の後尾のフラグFとに挟まれて、アドレス
情報Aと制御情報CとデータIとフレームチェックシー
ケンスFCSとからなる応答信号を送出する。そして、
各子局40からの応答信号が無い時は、オールマーク
(オール“1”)となっている。From the master station 30, a call signal designating the slave station 40 by the address information A is transmitted, and the flag F is used as a fill-in signal. When the slave station 40 is designated by the address information A of the calling signal, the slave station 40 is sandwiched by a plurality of leading flag groups F and one trailing flag F, and the address information A, the control information C, and the data I. And a frame check sequence FCS. And
When there is no response signal from each slave station 40, all marks (all "1") are displayed.
親局30からは、少なくともフラグFのように“0”と
“1”とに変化する信号が送出されるから、タイミング
信号の生成は比較的容易である。Since the master station 30 sends at least a signal that changes between "0" and "1" like the flag F, the generation of the timing signal is relatively easy.
しかし、親局30に於ける子局40からの受信信号は、
連続する“1”の後に、応答信号の先頭にフラグFが複
数個付加されているから、このフラグFを基にタイミン
グ信号を生成し、その後のアドレス情報A等を識別する
必要がある。However, the received signal from the slave station 40 in the master station 30 is
Since a plurality of flags F are added to the beginning of the response signal after the continuous "1", it is necessary to generate a timing signal based on this flag F and identify the subsequent address information A and the like.
第6図は前述の応答信号等からタイミング信号を生成す
る為の従来例のブロック図を示す。同図に於いて、61
はフリップフロップ、62は立上り検出回路、63は立
下り検出回路、64はオア回路、65,66はアンド回
路、67,68は積分回路、69,70は比較回路、7
1は可変分周回路、72は基本クロック発生器、73は
入力端子、74はデータの出力端子、75はタイミング
信号の出力端子である。FIG. 6 shows a block diagram of a conventional example for generating a timing signal from the above-mentioned response signal and the like. In the figure, 61
Is a flip-flop, 62 is a rising detection circuit, 63 is a falling detection circuit, 64 is an OR circuit, 65 and 66 are AND circuits, 67 and 68 are integrating circuits, 69 and 70 are comparing circuits, 7
1 is a variable frequency dividing circuit, 72 is a basic clock generator, 73 is an input terminal, 74 is a data output terminal, and 75 is a timing signal output terminal.
受信データは、入力端子73からフリップフロップ61
のデータ端子Dと、立上り及び立下り検出回路62,6
3に加えられ、基本クロック発生器72の基本クロック
信号は、可変分周回路71により分周されてタイミング
信号として出力され、出力端子75から出力されると共
に、フリップフロップ61のクロック端子CKに加えら
れる。このタイミング信号は、データの中心位置でフリ
ップフロップ61のクロック端子CKに加えられるよう
に制御される。The received data is transferred from the input terminal 73 to the flip-flop 61.
Data terminal D and rising and falling detection circuits 62, 6
3, the basic clock signal of the basic clock generator 72 is frequency-divided by the variable frequency dividing circuit 71 and output as a timing signal, which is output from the output terminal 75 and added to the clock terminal CK of the flip-flop 61. To be This timing signal is controlled so as to be applied to the clock terminal CK of the flip-flop 61 at the central position of the data.
第7図は従来例の動作説明図であり、(1)〜(14)は第6
図の各部の同一符号の信号(1)〜(14)の一例の波形を示
す。入力端子73に加えられる受信データ(1)は、立上
り検出回路62と立下り検出回路63とに加えられ、立
上り検出信号(2)と立下り検出信号(3)とはオア回路64
を介してエッジ検出信号(4)となる。又可変分周回路7
1からの遅れ位相信号(5)と進み位相信号(6)とは、出力
端子75から出力されるタイミング信号(13)の立上りか
ら1/4ビット分のパルス幅の遅れ位相及び1/4ビッ
ト分のパルス幅の進み位相を示すものであって、アンド
回路65,66に加えられる。FIG. 7 is a diagram for explaining the operation of the conventional example, and (1) to (14) are the sixth.
The waveforms of an example of signals (1) to (14) having the same reference numerals in each part of the figure are shown. The received data (1) applied to the input terminal 73 is applied to the rising edge detection circuit 62 and the falling edge detection circuit 63, and the rising edge detection signal (2) and the falling edge detection signal (3) are combined with the OR circuit 64.
And becomes the edge detection signal (4). Variable frequency divider 7
The delayed phase signal (5) and the advanced phase signal (6) from 1 are the delayed phase of the pulse width of 1/4 bit and the 1/4 bit from the rising of the timing signal (13) output from the output terminal 75. It shows the lead phase of the pulse width of minute and is added to the AND circuits 65 and 66.
例えば、時刻t1,t2,t3に於ける立上り検出信号
(2)が遅れ位相信号(5)のパルス幅内に出力されると、ア
ンド回路65から遅れ位相検出信号(7)が積分回路67
に加えられる。積分回路67は遅れ位相検出信号(7)を
積分して積分出力信号(9)を比較回路69に加えること
になり、例えば、時刻2に積分出力信号(9)が一定の閾
値以上になると、位相遅れ補正信号(1)が“1”とな
り、閾値以下となると“0”となる。この位相遅れ補正
信号(11)が“1”の期間に、可変分周回路71に於ける
分周比が制御されて、タイミング信号(13)の位相が遅れ
ることになる。For example, a rising edge detection signal at time t1, t2, t3
When (2) is output within the pulse width of the delay phase signal (5), the AND circuit 65 outputs the delay phase detection signal (7) to the integrating circuit 67.
Added to. The integrating circuit 67 integrates the delayed phase detection signal (7) and adds the integrated output signal (9) to the comparison circuit 69. For example, at time 2, when the integrated output signal (9) exceeds a certain threshold value, The phase delay correction signal (1) becomes "1" and becomes "0" when it becomes less than the threshold value. While the phase delay correction signal (11) is "1", the frequency division ratio in the variable frequency dividing circuit 71 is controlled and the phase of the timing signal (13) is delayed.
又時刻t5,t6,t7に於ける立下り検出信号(3)が
進み位相信号(6)のパルス幅内に出力されると、アンド
回路66から進み位相検出信号(8)が出力されて積分回
路68に加えられ、積分出力信号(10)は比較回路70に
加えられる。例えば、時刻t6に積分出力信号(10)が一
定の閾値以上となると、位相進み補正信号(12)が“1”
となり、閾値以下となると“0”となる。この位相進み
補正信号(12)が“1”の期間に、可変分周回路71に於
ける分周比が制御されて、タイミング信号(13)の位相が
進むことになる。When the falling detection signal (3) at times t5, t6, and t7 is output within the pulse width of the advance phase signal (6), the AND circuit 66 outputs the advance phase detection signal (8) and integrates it. Applied to circuit 68, the integrated output signal (10) is applied to comparison circuit 70. For example, at time t6, when the integrated output signal (10) exceeds a certain threshold value, the phase advance correction signal (12) becomes "1".
And becomes "0" when it becomes less than or equal to the threshold value. While the phase advance correction signal (12) is "1", the frequency division ratio in the variable frequency dividing circuit 71 is controlled and the phase of the timing signal (13) advances.
従って、フリップフロップ61のクロック端子CKに位
相が制御されたタイミング信号(13)が加えられ、そのデ
ータ端子Dに加えられた受信信号(1)は、端子Qから出
力端子74に再生データ信号(14)として出力される。Therefore, the phase-controlled timing signal (13) is applied to the clock terminal CK of the flip-flop 61, and the received signal (1) applied to the data terminal D thereof is reproduced from the terminal Q to the output terminal 74 by the reproduced data signal ( It is output as 14).
前述の従来例のタイミング生成回路は、位相遅れ検出信
号(7)又は位相進み検出信号(8)を積分し、その積分出力
信号(9)又は(10)が一定の閾値以上であるか否かにより
タイミング信号の位相を制御するものであるから、受信
データ(1)に位相同期したタイミング信号を生成するま
でに、或る程度の時間が必要である。従って、第5図の
(B)に示す応答信号のように、オール“1”の後のフ
ラグFによって直ちに最適位相のタイミング信号を生成
することは不可能であった。その為、フラグFを複数繰
り返し伝送する方式が採用されている。The above-described conventional timing generation circuit integrates the phase delay detection signal (7) or the phase advance detection signal (8), and determines whether the integrated output signal (9) or (10) is equal to or more than a certain threshold value. Since the phase of the timing signal is controlled by the above, a certain amount of time is required until the timing signal phase-synchronized with the received data (1) is generated. Therefore, like the response signal shown in FIG. 5B, it is impossible to immediately generate the timing signal of the optimum phase by the flag F after all "1". Therefore, a method of repeatedly transmitting a plurality of flags F is adopted.
本発明は、所定ビット数以上連続してマーク又はスペー
スの後の変化点を検出することにより、タイミング信号
の位相を強制的に最適化し、同期引込みの高速化を図る
ことを目的とするものである。An object of the present invention is to forcibly optimize the phase of a timing signal by detecting a change point after a mark or space continuously for a predetermined number of bits or more, and to speed up synchronization pull-in. is there.
〔課題を解決するための手段〕 本発明のタイミング生成回路は、第1図を参照して説明
すると、受信データの立上りと立下りとを検出した検出
信号を出力する変化点検出部1と、この変化点検出部1
の検出信号と、タイミング信号に対する位相遅れ信号と
位相進み信号とを基に、このタイミング信号の位相の遅
れ進みを判別した判別信号を出力する位相判別部2と、
この位相判別部2からの判別信号に従って基本クロック
信号の分周比を制御して、タイミング信号の位相の微調
整を行うと共に、強制同期補正信号により受信データの
1/2ビット位置に強制的に最初のタイミング信号を出
力する可変分周回路3と、受信データが所定ビット数以
上連続してマーク又はスペースで、且つ変化点検出部1
からの立下り又は立上り検出信号が加えられた時に強制
同期信号を出力する強制同期制御部4と、この強制同期
制御部4からの強制同期信号がタイミング信号の所定の
位相範囲内の時に、可変分周回路3に加える強制同期補
正信号を出力する強制同期判定部5とを備えたものであ
る。[Means for Solving the Problem] The timing generation circuit of the present invention will be described with reference to FIG. 1. The change point detection unit 1 outputs a detection signal which detects a rising edge and a falling edge of received data. This change point detection unit 1
A phase discriminating unit 2 for outputting a discriminating signal for discriminating the phase lag / advance of the timing signal based on the detection signal, the phase lag signal and the phase lead signal with respect to the timing signal,
The frequency division ratio of the basic clock signal is controlled according to the discrimination signal from the phase discrimination unit 2 to finely adjust the phase of the timing signal, and the forced synchronization correction signal is used to force the 1/2 bit position of the received data. The variable frequency dividing circuit 3 that outputs the first timing signal, and the received data is a mark or space continuously for a predetermined number of bits or more, and the change point detection unit 1
When a falling or rising detection signal is applied, the forced synchronization control unit 4 outputs a forced synchronization signal, and when the forced synchronization signal from the forced synchronization control unit 4 is within a predetermined phase range of the timing signal, the variable It is provided with a forced synchronization determination unit 5 that outputs a forced synchronization correction signal to be applied to the frequency dividing circuit 3.
変化点検出部1による立上り検出信号と立下り検出信号
との位相と、出力されるタイミング信号の位相の関係を
位相判別部2で判別し、タイミング信号が遅れ位相であ
るか進み位相であるかを判別し、それに対応した判別信
号を可変分周回路3に加えて、可変分周回路3の分周比
を制御することにより、タイミング信号の位相を微調整
する。The phase discriminating unit 2 discriminates the relationship between the phases of the rising edge detecting signal and the falling edge detecting signal by the change point detecting section 1 and the phase of the timing signal to be output, and determines whether the timing signal is the lagging phase or the leading phase. Is determined and the determination signal corresponding thereto is applied to the variable frequency dividing circuit 3 to control the frequency division ratio of the variable frequency dividing circuit 3 to finely adjust the phase of the timing signal.
又オールマーク等の所定ビット数以上連続したマークの
後にスペースが到来した時、或いは所定ビット数連続し
たスペースの後にマークが到来した時に、強制同期制御
部4から強制同期信号を出力する。この強制同期信号が
タイミング信号の所定の位相範囲である時のみ、即ち、
タイミング信号の立上りの前後の或る範囲内の時のみ、
可変分周回路3に強制同期補正信号を加えて、この強制
同期補正信号から1/2ビットの位置に最初のタイミン
グ信号を出力するように強制制御する。それによって、
受信データのほぼ中央にタイミング信号が出力され、受
信データの再生を直ちに行うことが可能となる。Further, when a space arrives after a mark having a predetermined number of bits or more, such as an all mark, or when a mark arrives after a space having a predetermined number of bits, the compulsory synchronization control unit 4 outputs a compulsory synchronization signal. Only when this forced synchronization signal is within the predetermined phase range of the timing signal, that is,
Only within a certain range before and after the rise of the timing signal,
A forcible synchronization correction signal is added to the variable frequency dividing circuit 3, and forcible control is performed so that the first timing signal is output from the forcible synchronization correction signal to the 1/2 bit position. Thereby,
A timing signal is output at approximately the center of the received data, and the received data can be immediately reproduced.
以下図面を参照して本発明の実施例について詳細に説明
する。Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
第2図は本発明の実施例のブロック図であり、11はD
型のフリップフロップ、12は立上り検出回路、13は
立下り検出回路、14はオア回路、15,16はアンド
回路、17,18はJ−K型のフリップフロップ、19
は強制同期制御回路、20,21,22はアンド回路、
23はオア回路、24は可変分周回路、25は基本クロ
ック発生器である。立上り検出回路12と立下り検出回
路13とにより変化点検出部1が構成され、アンド回路
15,16とフリップフロップ17,18とにより位相
判別部2が構成され、強制同期制御回路19とアンド回
路20とにより強制同期制御部4が構成され、アンド回
路21,22とオア回路23とにより強制同期判定部5
が構成されている。FIG. 2 is a block diagram of an embodiment of the present invention, 11 is D
Flip-flop, 12 is a rising detection circuit, 13 is a falling detection circuit, 14 is an OR circuit, 15 and 16 are AND circuits, 17 and 18 are JK type flip-flops, 19
Is a forced synchronization control circuit, 20, 21, 22 are AND circuits,
Reference numeral 23 is an OR circuit, 24 is a variable frequency dividing circuit, and 25 is a basic clock generator. The rising edge detection circuit 12 and the falling edge detection circuit 13 form a change point detection unit 1, the AND circuits 15 and 16 and the flip-flops 17 and 18 form a phase determination unit 2, and the forced synchronization control circuit 19 and the AND circuit. 20 configures the forced synchronization control unit 4, and the AND circuits 21 and 22 and the OR circuit 23 configure the forced synchronization determination unit 5.
Is configured.
この実施例は、6個のマーク(“1”)連続の後のスペ
ース(“0”)への変化を検出することにより強制同期
化を行う場合を示す。その為、強制同期制御回路19
は、受信データaの“1”をカウントアップし、“0”
によりクリアするカウンタを備え、“1”の受信データ
aが連続して6個以上入力されると、強制同期検出信号
kが出力される。そして、立下り検出信号cのタイミン
グにアンド回路20から強制同期信号lが出力される。This embodiment shows a case where forced synchronization is performed by detecting a change to a space ("0") after a series of six marks ("1"). Therefore, the forced synchronization control circuit 19
Counts up “1” of the received data a and outputs “0”
A counter for clearing is provided, and when six or more pieces of the reception data a of "1" are continuously input, the forced synchronization detection signal k is output. Then, the AND circuit 20 outputs the forced synchronization signal 1 at the timing of the falling detection signal c.
又可変分周回路24からタイミング信号oの立上りの前
後1/4ビットの範囲のパルス幅の遅れ位相信号eと進
み位相信号fとがアンド回路21,22に加えられてい
るから、強制同期信号lがこの遅れ位相信号e又は進み
位相信号fのパルス幅の範囲内の場合に、オア回路23
を介して強制同期補正信号mが可変分周回路24に加え
られて強制同期化が行われる。Also, since the delay phase signal e and the lead phase signal f having a pulse width in the range of 1/4 bit before and after the rise of the timing signal o are added to the AND circuits 21 and 22 from the variable frequency dividing circuit 24, the forced synchronization signal is generated. When l is within the range of the pulse width of the delayed phase signal e or the advanced phase signal f, the OR circuit 23
The forcible synchronization correction signal m is applied to the variable frequency dividing circuit 24 via the forcible synchronization.
又立上り検出回路12からの立上り検出信号bと、立下
り検出回路13からの立下り検出信号cとは、オア回路
14を介してエッジ検出信号dとなり、遅れ位相信号e
のパルス幅内の時に、アンド回路15から位相遅れ検出
信号gがフリップフロップ17のJ端子に加えられ、又
進み位相信号fのパルス幅内の時に、アンド回路16か
ら位相進み検出信号hがフリップフロップ18のJ端子
に加えられる。又フリップフロップ17,18のK端子
に、可変分周回路24からのキャリ信号nが加えられ、
このキャリ信号nのタイミングに位相遅れ検出信号gが
加えられた時に、位相遅れ補正信号iが可変分周回路2
4に加えられて、タイミング信号の位相を遅らせるよう
に微調整が行われる。又キャリ信号nのタイミングに位
相進み検出信号hが加えられた時に、位相進み補正信号
jが可変分周回路24に加えられて、タイミング信号の
位相を進ませるように微調整が行われる。Further, the rising detection signal b from the rising detection circuit 12 and the falling detection signal c from the falling detection circuit 13 become an edge detection signal d via the OR circuit 14, and the delayed phase signal e
The AND circuit 15 applies the phase lag detection signal g to the J terminal of the flip-flop 17 within the pulse width of, and the AND circuit 16 outputs the phase advance detection signal h during the pulse width of the lead phase signal f. Pin 18 J terminal. Further, the carry signal n from the variable frequency dividing circuit 24 is added to the K terminals of the flip-flops 17 and 18,
When the phase delay detection signal g is added to the timing of the carry signal n, the phase delay correction signal i is changed to the variable frequency dividing circuit 2
In addition to 4, the fine adjustment is performed so as to delay the phase of the timing signal. Further, when the phase advance detection signal h is added to the timing of the carry signal n, the phase advance correction signal j is added to the variable frequency dividing circuit 24, and fine adjustment is performed so as to advance the phase of the timing signal.
第3図は本発明の実施例の動作説明図であり、(a)〜(p)
は、第2図の各部の信号a〜pの一例を示し、受信デー
タaが(a)に示す場合、立上り検出信号b及び立下り検
出信号cは、それぞれ(b),(c)に示すものとなる。従っ
て、オア回路14からのエッジ検出信号dは(d)に示す
ものとなる。FIG. 3 is a diagram for explaining the operation of the embodiment of the present invention, in which (a) to (p)
Shows an example of the signals a to p of each part in FIG. 2, and when the received data a is shown in (a), the rising detection signal b and the falling detection signal c are shown in (b) and (c), respectively. Will be things. Therefore, the edge detection signal d from the OR circuit 14 is as shown in (d).
又位相遅れ信号eと位相進み信号fとは、(e),(f)に示
すように、(o)のタイミング信号oの立上り位相の前後
の1/4のパルス幅を有するものである。又強制同期制
御回路19のカウンタ(図示せず)により受信のデータ
aの“1”を連続6個カウントした例えば時刻T1に、
強制同期検出信号kが(k)に示すように“1”となり、
時刻T2に受信データaが“0”となると、立下り検出
信号cが(c)に示すように出力されると共に、強制同期
制御回路19のカウンタがクリアされるから、強制同期
検出信号kも“0”となる。Further, the phase delay signal e and the phase advance signal f have a pulse width of 1/4 before and after the rising phase of the timing signal o of (o) as shown in (e) and (f). Further, for example, at time T1 when six "1" s of the received data a are continuously counted by the counter (not shown) of the forced synchronization control circuit 19,
The forced synchronization detection signal k becomes "1" as shown in (k),
When the received data a becomes "0" at time T2, the fall detection signal c is output as shown in (c) and the counter of the forced synchronization control circuit 19 is cleared, so that the forced synchronization detection signal k is also output. It becomes "0".
この時、強制同期検出信号kが“0”に立下る直前の
“1”の期間に立下り検出信号cが出力されるから、ア
ンド回路20から強制同期信号lが(l)に示すように
出力される。この強制同期信号lが例えば、遅れ位相信
号eのパルス幅内に出力されることにより、アンド回路
21とオア回路23とを介して強制同期補正信号mが
(m)に示すように出力され、可変分周回路24からのタ
イミング信号oは、(o)に示すように、強制的に時刻T
3のタイミングで立上るように制御される。即ち、強制
同期補正信号mのタイミングから1/2ビットの状態に
立上るタイミング信号となり、それ以降はビット周期の
タイミング信号oとなる。At this time, since the fall detection signal c is output in the period of "1" immediately before the fall of the forced synchronization detection signal k to "0", the AND circuit 20 outputs the forced synchronization signal l as shown by (1). Is output. By outputting the forced synchronization signal l within the pulse width of the delay phase signal e, for example, the forced synchronization correction signal m is transmitted via the AND circuit 21 and the OR circuit 23.
As shown in (o), the timing signal o output from the variable frequency divider 24 is output as shown in (m), and the timing signal o is forcibly forced to the time T.
It is controlled to rise at the timing of 3. That is, it becomes a timing signal that rises to a 1/2 bit state from the timing of the forced synchronization correction signal m, and thereafter becomes a timing signal o of a bit period.
従って、第5図の(B)の応答信号のように、オール
“1”の連続の後に、指定子局からのデータが到来した
場合に、直ちにそのデータに同期したタイミング信号o
を出力することができる。従って、1個のフラグFが先
頭に付加されている受信データについても、正しく受信
識別することが可能となる。Therefore, as shown in the response signal of FIG. 5B, when data from the designated slave station arrives after all "1" s are continuous, the timing signal o synchronized with the data immediately.
Can be output. Therefore, it is possible to correctly identify the received data even if the received data has one flag F added to the head.
又時刻T4に於いて遅れ位相信号eのパルス幅内にエッ
ジ検出信号dが出力されると、位相遅れ検出信号gが
(g)に示すように出力されてフリップフロップ17のJ
端子に加えられ、フリップフロップ17のQ端子からの
位相遅れ補正信号iは(i)に示すように“1”となる。
又可変分周回路24からのキャリ信号nは、(n)に示す
ように、タイミング信号oの立下りのタイミングで出力
されるから、フリップフロップ17のQ端子からの位相
遅れ補正信号iは時刻T5に於いて“0”となる。この
位相遅れ補正信号iによって、可変分周回路24の分周
比が制御されて、タイミング信号oの位相が遅れるよう
に微調整される。When the edge detection signal d is output within the pulse width of the delay phase signal e at time T4, the phase delay detection signal g becomes
As shown in (g), J of flip-flop 17 is output.
The phase delay correction signal i applied to the Q terminal of the flip-flop 17 becomes "1" as shown in (i).
Further, as shown in (n), the carry signal n from the variable frequency dividing circuit 24 is output at the falling timing of the timing signal o, so that the phase delay correction signal i from the Q terminal of the flip-flop 17 is timed. It becomes "0" at T5. The frequency division correction signal i controls the frequency division ratio of the variable frequency division circuit 24, and the phase of the timing signal o is finely adjusted to be delayed.
又時刻T6に於いて進み位相信号fのパルス幅内にエッ
ジ検出信号dが出力されると、位相進み検出信号hが
(h)に示すように出力されて、フリップフロップ18の
J端子に加えられ、フリップフロップ18のQ端子から
の位相進み補正信号jが(j)に示すように“1”とな
り、次の時刻T7のキャリ信号nにより“0”となる。
この位相進み補正信号jにより、可変分周回路24の分
周比が制御されて、タイミング信号oの位相が進むよう
に微調整される。When the edge detection signal d is output within the pulse width of the lead phase signal f at time T6, the phase lead detection signal h becomes
It is output as shown in (h) and added to the J terminal of the flip-flop 18, and the phase advance correction signal j from the Q terminal of the flip-flop 18 becomes "1" as shown in (j), and the next time It becomes "0" by the carry signal n of T7.
The phase advance correction signal j controls the frequency division ratio of the variable frequency divider circuit 24, and is finely adjusted so that the phase of the timing signal o advances.
前述のように制御されたタイミング信号oがフリップフ
ロップ11のクロック端子CKに加えられるから、フリ
ップフロップ11のデータ端子Dに加えられる受信デー
タaは、Q端子から(p)に示す再生データpとして出力
される。即ち、連続マークの後のスペースへの立下り検
出により、直ちに所定の位相関係のタイミング信号を出
力することができる。Since the timing signal o controlled as described above is applied to the clock terminal CK of the flip-flop 11, the received data a applied to the data terminal D of the flip-flop 11 is reproduced data p shown in (p) from the Q terminal. Is output. That is, the timing signal having a predetermined phase relationship can be immediately output upon detection of the trailing edge to the space after the continuous mark.
本発明は、前述の実施例にのみ限定されるものではな
く、各部のゲート回路等は、他の論理構成とすることも
可能である。又所定連続ビット数を6とした場合を示す
ものであるが、フラグFのビット構成等を考慮して、他
の数値とすることも勿論可能である。The present invention is not limited to the above-described embodiments, and the gate circuits and the like of each unit may have other logical configurations. Although the case where the predetermined number of consecutive bits is 6 is shown, it is of course possible to use other values in consideration of the bit configuration of the flag F and the like.
以上説明したように、本発明は、基本クロック信号を可
変分周回路3により分周してタイミング信号を出力する
タイミング生成回路に於いて、強制同期制御部4と強制
同期判定部5とを設け、受信データが所定ビット数以上
連続してマーク又はスペースで、変化点検出部1により
受信データの立下り又は立上りを検出した時に、強制同
期信号を出力し、この強制同期信号が、タイミング信号
の所定の位相範囲内の時に、強制同期補正信号を可変分
周回路3に加えて、1/2ビット位置に最初のタイミン
グ信号が出力されるように強制制御するものである。従
って、単点サンプリングを可能とするタイミング信号を
直ちに生成することができるから、受信データに高速同
期化したタイミング信号を生成することができる。As described above, the present invention provides the forced synchronization control unit 4 and the forced synchronization determination unit 5 in the timing generation circuit that outputs the timing signal by dividing the basic clock signal by the variable frequency dividing circuit 3. , The reception data is a mark or a space continuously for a predetermined number of bits or more, and when the falling point or the rising edge of the reception data is detected by the change point detection unit 1, a forced synchronization signal is output, and this forced synchronization signal is a timing signal. When within the predetermined phase range, the forced synchronization correction signal is added to the variable frequency dividing circuit 3 and forced control is performed so that the first timing signal is output at the 1/2 bit position. Therefore, it is possible to immediately generate a timing signal that enables single-point sampling, and thus it is possible to generate a timing signal that is synchronized with the received data at high speed.
又所定ビット数以上連続して例えば“1”となる同期フ
ラグ或いは応答信号等を検出し、そして、立上り検出信
号が加えられた時に、強制同期信号を出力し、更に、こ
の強制同期信号がタイミング信号の所定の位相範囲であ
る時に、可変分周回路3に強制同期補正信号を加えて強
制同期化するもので、ノイズによる影響を受けることな
く、且つ強制同期化によるタイミング信号の位相変化を
所定範囲内に限定できるから、タイミング信号の同期化
を高速且つ安定に行うことができる利点がある。Also, a synchronization flag or response signal that becomes "1" continuously for a predetermined number of bits or more is detected, and when a rising edge detection signal is added, a forced synchronization signal is output, and further, this forced synchronization signal is timed. When the signal is in a predetermined phase range, the variable frequency divider circuit 3 is forcedly synchronized by adding a forcible synchronization correction signal, so that the phase change of the timing signal due to the forcible synchronization is predetermined without being affected by noise. Since it can be limited within the range, there is an advantage that the timing signals can be synchronized at high speed and stably.
第1図は本発明の原理説明図、第2図は本発明の実施例
のブロック図、第3図は本発明の実施例の動作説明図、
第4図は伝送システムの説明図、第5図は伝送フォーマ
ットの説明図、第6図は従来例のブロック図、第7図は
従来例の動作説明図である。 1は変化点検出部、2は位相判別部、3は可変分周回
路、4は強制同期制御部、5は強制同期判定部である。1 is an explanatory view of the principle of the present invention, FIG. 2 is a block diagram of an embodiment of the present invention, FIG. 3 is an operation explanatory view of the embodiment of the present invention,
FIG. 4 is an explanatory diagram of a transmission system, FIG. 5 is an explanatory diagram of a transmission format, FIG. 6 is a block diagram of a conventional example, and FIG. 7 is an operation explanatory diagram of a conventional example. Reference numeral 1 is a change point detection unit, 2 is a phase determination unit, 3 is a variable frequency dividing circuit, 4 is a forced synchronization control unit, and 5 is a forced synchronization determination unit.
Claims (1)
検出信号を出力する変化点検出部(1)と、 該変化点検出部(1)の検出信号と、タイミング信号に
対する位相遅れ信号と位相進み信号とを基に、該タイミ
ング信号の位相の遅れ進みを判別した判別信号を出力す
る位相判別部(2)と、 該位相判別部(2)からの判別信号に従って基本クロッ
ク信号の分周比を制御して、前記タイミング信号の位相
の微調整を行うと共に、強制同期補正信号により前記受
信データの1/2ビット位置に強制的に最初のタイミン
グ信号を出力する可変分周回路(3)と、 前記受信データのマーク(又はスペース)が所定ビット
数以上連続したことを検出し、且つ前記変化点検出部
(1)から立下り(又は立上り)検出信号が加えられた
時に強制同期信号を出力する強制同期制御部(4)と、 該強制同期制御部(4)からの強制同期信号が前記タイ
ミング信号の所定の位相範囲内の時に、前記強制同期補
正信号を前記可変分周回路(3)に加える強制同期判定
部(5)とを備えた ことを特徴とするタイミング生成回路。1. A change point detecting section (1) for outputting a detection signal detecting rising and falling of received data, a detection signal of the changing point detecting section (1), and a phase delay signal with respect to a timing signal. A phase discrimination unit (2) that outputs a discrimination signal that discriminates the phase advance of the timing signal based on the phase advance signal, and frequency division of the basic clock signal according to the discrimination signal from the phase discrimination unit (2). A variable frequency dividing circuit (3) for controlling the ratio to finely adjust the phase of the timing signal and forcibly outputting the first timing signal to the 1/2 bit position of the received data by the forced synchronization correction signal. And a mark (or space) of the received data is detected to be continuous for a predetermined number of bits or more, and when a falling (or rising) detection signal is added from the change point detection unit (1), a forced synchronization signal The forced synchronization control unit (4) for outputting, and the forced synchronization correction signal when the forced synchronization signal from the forced synchronization control unit (4) is within a predetermined phase range of the timing signal. And a forced synchronization determination unit (5) added to the timing generation circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63287752A JPH0620198B2 (en) | 1988-11-16 | 1988-11-16 | Timing generation circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63287752A JPH0620198B2 (en) | 1988-11-16 | 1988-11-16 | Timing generation circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02135832A JPH02135832A (en) | 1990-05-24 |
| JPH0620198B2 true JPH0620198B2 (en) | 1994-03-16 |
Family
ID=17721303
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63287752A Expired - Lifetime JPH0620198B2 (en) | 1988-11-16 | 1988-11-16 | Timing generation circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0620198B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4629462B2 (en) * | 2005-03-08 | 2011-02-09 | 三菱電機株式会社 | Optimal phase identification circuit |
| JP4671867B2 (en) * | 2006-01-11 | 2011-04-20 | 大同信号株式会社 | Railway signal system transmission circuit |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS51134538A (en) * | 1975-05-16 | 1976-11-22 | Nec Corp | Bit synchronizing equipment with shift register |
| JPS63198432A (en) * | 1987-02-12 | 1988-08-17 | Matsushita Electric Ind Co Ltd | Synchronous clock generation circuit |
-
1988
- 1988-11-16 JP JP63287752A patent/JPH0620198B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH02135832A (en) | 1990-05-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0053623B1 (en) | Data multiplexing apparatus and method, and receiver for use therewith | |
| US4661965A (en) | Timing recovery circuit for manchester coded data | |
| US4606050A (en) | System for detecting and recovering a transmitted signal | |
| US4964117A (en) | Timing synchronizing circuit for baseband data signals | |
| JP2812665B2 (en) | Data collision detection circuit and detection method for communication network | |
| EP0419618A4 (en) | Bit synchronizer | |
| JPH10247903A (en) | Bit synchronization circuit | |
| JPH0620198B2 (en) | Timing generation circuit | |
| US5825834A (en) | Fast response system implementing a sampling clock for extracting stable clock information from a serial data stream with defined jitter characeristics and method therefor | |
| US4633487A (en) | Automatic phasing apparatus for synchronizing digital data and timing signals | |
| JPS5926136B2 (en) | clock regeneration circuit | |
| JPH06507769A (en) | Clock synchronization method and circuit | |
| JPS61127243A (en) | Bit phase synchronization circuit | |
| JP2702257B2 (en) | Bit phase synchronization circuit | |
| JP3148003B2 (en) | Receiving data playback device | |
| JPH06296184A (en) | Clock regenerating circuit | |
| JPH0834457B2 (en) | Receiving counter phase synchronization circuit for synchronous transmission system | |
| JP2748875B2 (en) | Clock extraction circuit | |
| US3820051A (en) | Adaptive threshold circuit employing nand gates interconnecting flip-flop circuit | |
| JPS6058616B2 (en) | Communication device | |
| JP3193122B2 (en) | Timing recovery circuit | |
| JPH08256181A (en) | Automatic gain reset circuit for burst communication | |
| JPH0438026A (en) | Reception data synchronizing circuit | |
| JPH0614526Y2 (en) | Clock extraction circuit of receiver | |
| JPH0738554A (en) | Burst signal phase control circuit |