JPS6281143A - Synchronizing signal generating circuit by flag detection - Google Patents
Synchronizing signal generating circuit by flag detectionInfo
- Publication number
- JPS6281143A JPS6281143A JP60220836A JP22083685A JPS6281143A JP S6281143 A JPS6281143 A JP S6281143A JP 60220836 A JP60220836 A JP 60220836A JP 22083685 A JP22083685 A JP 22083685A JP S6281143 A JPS6281143 A JP S6281143A
- Authority
- JP
- Japan
- Prior art keywords
- output
- detection circuit
- circuit
- flag
- synchronizing signal
- 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
Links
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
【発明の詳細な説明】
(a)発明の技術分野
この発明は、データ通信の受信装置においてフラグ検出
による同期信号発生回路に関するものである。DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field of the Invention The present invention relates to a synchronization signal generation circuit based on flag detection in a data communication receiving device.
さらに詳しくいえば、この発明は連続する受信フラグの
個数に関係なく、常に一つ以上のフラグによって、同期
信号を出せるようにしたものである。More specifically, the present invention is such that the synchronization signal can always be output using one or more flags, regardless of the number of successive reception flags.
(bl従来技術と問題点
入力信号の中から特定パターンであるフラグを分離する
フラグ検出回路は、入力信号をビットごとにフラグ検出
回路に取り込み、あらかじめ設定したフラグパ、ターン
と比較してフラグを分離する。(bl Conventional technology and problems) A flag detection circuit that separates a specific pattern of flags from an input signal inputs the input signal bit by bit into the flag detection circuit, compares it with a preset flag pattern, and separates the flag. do.
しかし、従来技術では、フラグの数が複数の場合、デー
タとフラグの境界を検出するのに、フラグの検出回数を
カウントする必要があるため、フラグの数かあらかじめ
決められた入力信号に対してだけ同期信号を発生するこ
とができ、その他の場合は同期信号を発生することがで
きないという問題がある。However, in conventional technology, when there is a plurality of flags, it is necessary to count the number of flag detections in order to detect the boundary between data and flags. There is a problem in that a synchronizing signal can only be generated in one case, and a synchronizing signal cannot be generated in other cases.
(C)発明の目的
この発明は、データの前後にフラグをもつ人力データを
受信する場合に、フラグの数に関係なく同期信号を発生
することができる同期信号発生回路の提供を目的とする
。(C) Object of the Invention The object of the present invention is to provide a synchronization signal generation circuit that can generate a synchronization signal regardless of the number of flags when receiving human data having flags before and after the data.
(d)発明の実施例 まず、この発明による実施例の構成図を第1図に示す。(d) Examples of the invention First, a configuration diagram of an embodiment according to the present invention is shown in FIG.
第1図の1は検出回路、2は遅延回路、3は両端検出回
路、4は同期信号発生回路である。In FIG. 1, 1 is a detection circuit, 2 is a delay circuit, 3 is a both-end detection circuit, and 4 is a synchronization signal generation circuit.
検出回路1は受信データからフラグを検出する度に、1
ビット長のパルスを出力する。Each time the detection circuit 1 detects a flag from the received data, the detection circuit 1 outputs 1
Outputs a bit-length pulse.
遅延回路2は、検出回路1の出力パルスをフラグパター
ンのビット数だけ遅延させる。The delay circuit 2 delays the output pulse of the detection circuit 1 by the number of bits of the flag pattern.
両端検出回路3は検出回路1の出力と遅延回路2の出力
を論理的に照合して、検出回路1が出力する最初のパル
スを先端出力とし、遅延回路2が出力する最終のパルス
を後端出力として同期信号発生回路4に加える。The both-end detection circuit 3 logically compares the output of the detection circuit 1 and the output of the delay circuit 2, and sets the first pulse outputted by the detection circuit 1 as the leading edge output, and the final pulse outputted by the delay circuit 2 as the trailing edge output. It is added to the synchronization signal generation circuit 4 as an output.
同期信号発生回路4は両端検出回路3の先端出力をスタ
ートとし、後端出力をストップとする同期信号を出力す
る。The synchronizing signal generating circuit 4 outputs a synchronizing signal starting from the leading end output of the both ends detecting circuit 3 and stopping from the trailing end output.
次に、第1図の実施例のタイムチャートを第2図に示す
。Next, a time chart of the embodiment shown in FIG. 1 is shown in FIG.
第2図の(ア)〜(1j)はそれぞれ第1図の各部につ
けた符号に対応する部分の波形図である。(A) to (1j) in FIG. 2 are waveform diagrams of portions corresponding to the reference numerals assigned to each portion in FIG. 1, respectively.
第2図(ア)は受信データの波形を示しており、フラグ
が三つで、フラグのとノド数が8ビットの場合である。FIG. 2(A) shows the waveform of received data, in the case where there are three flags and the number of flag nodes is 8 bits.
第2図(イ)は検出回路1の出力パルスの波形であり、
Plは検出回路1が出力する先端出力である。FIG. 2(a) shows the waveform of the output pulse of the detection circuit 1,
Pl is the tip output output from the detection circuit 1.
第2図(つ)は遅延回路2の出力であり、第2図(イ)
をそれぞれフラグのビット数である8ピントだけ遅延さ
せたパルスでアル。Figure 2 (A) is the output of the delay circuit 2, and Figure 2 (A) is the output of the delay circuit 2.
are each delayed by 8 pins, which is the number of flag bits.
第2図(つ)のP2は遅延回路2で遅延されたパルスの
中の後端出力である。P2 in FIG. 2 is the rear end output of the pulse delayed by the delay circuit 2.
第2図(1)と第2図(1)は両端検出回路3の出力で
あり、それぞれ第2図(イ)の先端出力P1と第2図(
つ)の後端出力P2に対応するパルスである。Figure 2 (1) and Figure 2 (1) are the outputs of the both ends detection circuit 3, and the tip output P1 in Figure 2 (A) and Figure 2 (
This is a pulse corresponding to the rear end output P2 (1).
第2図(h)は同期信号発生回路4の出力波形であり、
第2図(I)のパルスの立上りをスタートとL、W2図
(オ)のパルスの立上りをストップとする信号になる。FIG. 2(h) shows the output waveform of the synchronization signal generation circuit 4,
The rising edge of the pulse shown in FIG. 2 (I) is the start signal, and the signal L is the rising edge of the pulse shown in FIG. 2 (E) as the stop signal.
次に、第1図の実施例の回路図を第3図に示す。Next, a circuit diagram of the embodiment shown in FIG. 1 is shown in FIG.
第3図の検出回路lは8ビットのシフトレジスタ、反転
増幅器および8人力のアンドゲートで構成されており、
アンドゲートは受信データがrolllllloJの場
合に1ビット長のパルスを出力する。The detection circuit l shown in Fig. 3 is composed of an 8-bit shift register, an inverting amplifier, and an 8-manufactured AND gate.
The AND gate outputs a 1-bit long pulse when the received data is rolllllloJ.
遅延回路2は8ビットのシフトレジスタで構成されてお
り、シフトレジスタは検出回路1のアンドゲートの出力
を8ビット遅延させる。The delay circuit 2 is composed of an 8-bit shift register, and the shift register delays the output of the AND gate of the detection circuit 1 by 8 bits.
両端検出回路3は二つの反転増幅器と二つのアンドゲー
トで構成されており、二つのアンドゲートはそれぞれ検
出回路1の先端出力P1と遅延回路2が出力する最終の
後端出力P2を出力する。The both-end detection circuit 3 is composed of two inverting amplifiers and two AND gates, and the two AND gates output the front end output P1 of the detection circuit 1 and the final rear end output P2 output from the delay circuit 2, respectively.
同期信号発生回路4はフリップフロップで構成されてお
り、フリップフロップは両端検出回路3の二つのアンド
ゲートの出力でセットまたはリセットされて同期信号を
出力する。The synchronization signal generation circuit 4 is composed of a flip-flop, and the flip-flop is set or reset by the output of two AND gates of the both-end detection circuit 3 and outputs a synchronization signal.
次に、第3図の実施例のタイムチャートを第4図に示す
。Next, a time chart of the embodiment shown in FIG. 3 is shown in FIG.
第4図(ア)は受信データであり、フラグのパターンが
rollllllo」の場合の波形である。FIG. 4(A) shows received data, and shows a waveform when the flag pattern is "rollllllo".
第4図(イ)〜第4図(力)は第2図(イ)〜第2図(
力)と同じ波形になる。Figure 4 (a) - Figure 4 (force) are shown in Figure 2 (a) - Figure 2 (
force) has the same waveform.
(d)発明の効果
この発明によれば、フラグ数が1つ以上のすべての場合
に対してフラグ検出回路で検出された先端出力P1と遅
延回路で遅延された後端出力P2から同期信号をつくる
ようにしているので、簡単にフラグを検出することがで
きるとともに、データに対して時間的に早(到達するリ
ーディ/グフラグとデータに対して時間的に遅く到達す
るトレイリングフラグの個数が異なる場合でも同期信号
を発生することができる。(d) Effect of the Invention According to this invention, in all cases where the number of flags is one or more, a synchronization signal is generated from the leading end output P1 detected by the flag detection circuit and the trailing end output P2 delayed by the delay circuit. This makes it easy to detect flags, and the number of leading/leading flags that arrive earlier than the data is different from the number of trailing flags that arrive later than the data. A synchronization signal can be generated even if
第1図はこの発明による実施例の構成図、第2図は第1
図の実施例のタイムチャート、第3図は第1図の実施例
の回路図、
第4図は第3図の実施例のタイムチャート。
1・・・・・・検出回路、2・・・・・・遅延回路、3
・・・・・・両端検出回路、4・・・・・・同期信号発
生回路。
代理人 弁理士 小 俣 欽 司
#I 1 図
第 2 図
C力)FIG. 1 is a configuration diagram of an embodiment according to the present invention, and FIG.
3 is a circuit diagram of the embodiment shown in FIG. 1, and FIG. 4 is a time chart of the embodiment shown in FIG. 3. 1...Detection circuit, 2...Delay circuit, 3
...Both ends detection circuit, 4...Synchronization signal generation circuit. Agent Patent Attorney Kin Tsukasa Komata #I 1 Figure 2 Figure C)
Claims (1)
パルスを出力するフラグ検出回路と、前記フラグ検出回
路の出力を前記フラグのビット数だけ遅延させる遅延回
路と、 前記フラグ検出回路の出力と前記遅延回路の出力を入力
とし、前記フラグ検出回路の最初の出力を先端出力とし
、前記フラグによる前記遅延回路の最終出力を後端出力
とする両端検出回路と、前記両端検出回路の出力を入力
とし、前記先端出力をスタートとし、前記後端出力をス
トップとして同期信号を発生する信号発生回路とを備え
ることを特徴とするフラグによる同期信号発生回路。[Scope of Claims] 1. A flag detection circuit that detects a flag from received data and outputs a 1-bit length pulse; and a delay circuit that delays the output of the flag detection circuit by the number of bits of the flag; a both-end detection circuit which receives the output of the flag detection circuit and the output of the delay circuit as input, has a first output of the flag detection circuit as a leading end output, and has a final output of the delay circuit based on the flag as a trailing end output; 1. A flag-based synchronization signal generation circuit, comprising: a signal generation circuit which takes the output of the detection circuit as an input, uses the leading end output as a start, and uses the trailing end output as a stop to generate a synchronizing signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60220836A JPS6281143A (en) | 1985-10-03 | 1985-10-03 | Synchronizing signal generating circuit by flag detection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60220836A JPS6281143A (en) | 1985-10-03 | 1985-10-03 | Synchronizing signal generating circuit by flag detection |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6281143A true JPS6281143A (en) | 1987-04-14 |
JPH03819B2 JPH03819B2 (en) | 1991-01-09 |
Family
ID=16757302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60220836A Granted JPS6281143A (en) | 1985-10-03 | 1985-10-03 | Synchronizing signal generating circuit by flag detection |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6281143A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0369225A (en) * | 1989-08-08 | 1991-03-25 | Ricoh Co Ltd | Data part detection circuit device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5945788B2 (en) | 2014-05-29 | 2016-07-05 | パナソニックIpマネジメント株式会社 | 3D shape measuring device |
-
1985
- 1985-10-03 JP JP60220836A patent/JPS6281143A/en active Granted
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0369225A (en) * | 1989-08-08 | 1991-03-25 | Ricoh Co Ltd | Data part detection circuit device |
Also Published As
Publication number | Publication date |
---|---|
JPH03819B2 (en) | 1991-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6323706B1 (en) | Apparatus and method for edge based duty cycle conversion | |
US6097323A (en) | Serial/parallel converter using holding and latch flip-flops | |
US4636656A (en) | Circuit for selectively extending a cycle of a clock signal | |
JPH073942B2 (en) | Output circuit for selectively generating positive and negative edge pulses | |
JPS6281143A (en) | Synchronizing signal generating circuit by flag detection | |
US3577128A (en) | Synchronizing clock system | |
JP3669823B2 (en) | Serial-parallel conversion circuit | |
US10536165B1 (en) | Programmable bit alignment at serial-to-parallel stage of SerDes | |
JP2722582B2 (en) | Glitch detection circuit | |
JPH01215113A (en) | Pulse signal detection circuit | |
JP3052848B2 (en) | Frame synchronization protection circuit | |
JP2674810B2 (en) | Multiplexed N-unit coincidence protection circuit | |
JP3316882B2 (en) | Pattern match / mismatch detection circuit | |
KR100186298B1 (en) | Address transition detecting circuit of memory device | |
JP3412927B2 (en) | Frame synchronization circuit | |
EP0851626A3 (en) | Sync detect circuit | |
JP3110387B2 (en) | Multi-frame synchronization detector | |
SU1050102A1 (en) | Pulse shaper | |
JP2621668B2 (en) | Frame synchronization circuit | |
JP3027877B2 (en) | Frame synchronization detection circuit | |
JP2538786B2 (en) | Clear pulse generation method | |
KR970064047A (en) | Tandem Connection Data Link Processing Unit | |
KR0129373Y1 (en) | Frame loss detecting circuit | |
KR880008541A (en) | Synchronous Pattern Detection Circuit | |
JPH0738544A (en) | Clock changing circuit |