JPH0396026A - Synchronizing word detection system - Google Patents

Synchronizing word detection system

Info

Publication number
JPH0396026A
JPH0396026A JP1233606A JP23360689A JPH0396026A JP H0396026 A JPH0396026 A JP H0396026A JP 1233606 A JP1233606 A JP 1233606A JP 23360689 A JP23360689 A JP 23360689A JP H0396026 A JPH0396026 A JP H0396026A
Authority
JP
Japan
Prior art keywords
data
word
synchronization word
received data
output
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.)
Pending
Application number
JP1233606A
Other languages
Japanese (ja)
Inventor
Akira Baba
暁 馬場
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1233606A priority Critical patent/JPH0396026A/en
Publication of JPH0396026A publication Critical patent/JPH0396026A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To detect a synchronization word by both the hardware and the software by storing a reception data even in the case of a synchronization word to an input buffer register similarly in the case of a data word and recognizing the data with a central processing unit according to a synchronization word reception status. CONSTITUTION:Even when a reception data is a synchronization word, the reception data is set to an IBR(input buffer register) 18 so as to allow a central processing unit 19 to read the data similary in the case of a data word. Moreover, a synchronizing word detection circuit 15 decides whether the data set in the IBR 18 is a data word or a synchronization word and outputs the decision result as a synchronization word reception status output from a reception status generating circuit 21. Thus, the hardware decision result of the data set to the IBR 18 is recognized by the CPU 19.

Description

【発明の詳細な説明】 〔概 要〕 同期ワードとデータワードを含むデータからの同期ワー
ドの検出方式に関し、 同期ワードの検出をハードウェアとソフトウェアの両方
で行うことを可能にする回路構戒にすることにより、同
期ワード検出の高信頼化を図ることを目的とし、 受信データの1フレームを1同期ワードとnデータワー
ドから構或し、該受信データをクロツクにより直列デー
タから並列データに変換する処理を行う直列一並列変換
回路と、前記直列一並列変換回路の出力を記憶するイン
プソトバソファレジスタと、前記インプットバッファレ
ジスタの記憶データの読みだし制御を行う中央処理装置
を備えた回路において、 前記受信データの変化を検出する受信データ変化検出回
路と、前記受信データの中の同期ワードを検出する同期
ワード検出回路と、前記同期ワード検出回路と受信デー
タ変化検出回路(12)の両出力のAND積出力がある
場合は、該AND積出力にリセソトされて前記受信デー
タに同期した前記クロックを出力し、また前記同期ワー
ド検出回路の出力のない場合は、受信データに同期する
ことをせず前回に同期を行ったままのクロソクを出力す
るボーレートクロソク発生回路と、前記同期ワード検出
回路の出力の立ち下がり時間を検出する立ち下がり検出
回路と、前記ボーレートク口ツタ発生回路の出力をカウ
ントして所定のタイミングにおいて前記インプットバッ
ファレジスタに受信データをラッチさせるラッチパルス
を出力し、かつ前記立ち下がり検出回路の出力によりリ
セソトされる動作をするビットカウンタと、前記同期ワ
ード検出回路とビソトカウンタの両出力から同期ワード
受信ステータスを出力する受信ステータス発生回路とか
らなり、受信データが同期ワードであった場合でも、デ
ータワードと同様に前記インプソトバソファレジスタに
記憶させ、そのデータの中央処理装置からの認識を同期
ワード受信ステータスにより可能なるように構或する。
[Detailed Description of the Invention] [Summary] Regarding a method for detecting a synchronization word from data including a synchronization word and a data word, we have developed a circuit structure that enables detection of a synchronization word using both hardware and software. In order to improve the reliability of synchronization word detection, one frame of received data is composed of one synchronization word and n data words. A circuit comprising a serial-to-parallel conversion circuit for processing, an input buffer register for storing the output of the series-to-parallel conversion circuit, and a central processing unit for controlling readout of data stored in the input buffer register, the circuit comprising: A received data change detection circuit that detects a change in received data, a sync word detection circuit that detects a sync word in the received data, and an AND of both outputs of the sync word detection circuit and the received data change detection circuit (12). If there is a product output, the clock is reset to the AND product output and synchronized with the received data, and if there is no output from the synchronization word detection circuit, it is not synchronized with the received data and the clock is output. A baud rate cross signal generation circuit that outputs a cross signal that remains synchronized with the synchronization word detection circuit, a fall detection circuit that detects the fall time of the output of the synchronization word detection circuit, and a fall detection circuit that counts the output of the baud rate crosstalk generation circuit. a bit counter that outputs a latch pulse that causes the input buffer register to latch the received data at a predetermined timing, and is reset by the output of the falling edge detection circuit; and both outputs of the synchronization word detection circuit and the bit counter. and a reception status generation circuit that outputs a synchronous word reception status from the synchronous word, and even if the received data is a synchronous word, it is stored in the impossator register in the same way as a data word, and the data is recognized by the central processing unit. is made possible by the synchronization word reception status.

〔産業上の利用分野〕[Industrial application field]

本発明は、同期ワードとデータワードを含むデータから
の同期ワードの検出方法に関する。
The present invention relates to a method for detecting a synchronization word from data including a synchronization word and a data word.

〔従来の技術〕[Conventional technology]

第4図は従来の一実施例の回路構或を示す図である。図
中、31は発振器、32は受信データ変化検出回路、3
3はボーレートクロック発生回路、34はAND回路、
35は同期ワード検出回路、36はビソトカウンタ、3
7は直列一並列変換回路、38はインプットバッファレ
ジスタ(以下IBRと称す)、39は中央処理装置(以
下CPUと称す)である。
FIG. 4 is a diagram showing a circuit structure of a conventional embodiment. In the figure, 31 is an oscillator, 32 is a received data change detection circuit, 3
3 is a baud rate clock generation circuit, 34 is an AND circuit,
35 is a synchronization word detection circuit, 36 is a bisoto counter, 3
7 is a serial-to-parallel conversion circuit, 38 is an input buffer register (hereinafter referred to as IBR), and 39 is a central processing unit (hereinafter referred to as CPU).

なお第5図と第6図は従来回路でのタイムチャートの例
を示す図あり、第5図は同期ワードとデータワード間の
同期タイムチャート、また第6図は例えばデータワード
とデータワード間の同期のタイムチャートである。
Note that FIGS. 5 and 6 are diagrams showing examples of time charts in conventional circuits. FIG. 5 is a synchronization time chart between a synchronization word and a data word, and FIG. This is a synchronization time chart.

まず第4図と第5図により同期ワードとデータワードの
間の同期について説明する。受信データ(a)は、1個
の同期ワードとn個のデータワードのデータヮード1、
データワード2・・・データワードnより構成されたデ
ータである。これらの受信データ(a)は、常にボーレ
ートクロソク(blに制御され直列一並列変換回路37
で受信されている。
First, synchronization between a synchronization word and a data word will be explained with reference to FIGS. 4 and 5. Received data (a) includes data word 1 of one synchronization word and n data words;
Data word 2: data composed of data word n. These received data (a) are always controlled by the baud rate crosslink (bl) and are sent to the serial-to-parallel converter circuit 37.
It has been received in

受信データ変化検出回路32では、この受信データfa
tを発振器3lからの出力と比較して受信データ(a)
が゜1゛か゛0゜かの変化検出を行い、データ変化検出
結果(C)を出力してAND回路34に加える。
In the received data change detection circuit 32, this received data fa
Compare t with the output from the oscillator 3l to obtain the received data (a)
The data change detection result (C) is outputted and added to the AND circuit 34.

また一方、同期ワード検出回路35において、人力した
受信データ(alから同期ワードが検出された場合には
、例えば16ビット構成のビット同期許可信号(d)が
前記AND回路34に出力される。従ってAND回路3
4では、前記出力(C)と出力(d)の論理積を取られ
てリセント信号+114)を出力してボーレートクロソ
ク発生回路33をリセットし、ボーレートクロソク(b
lを直列一並列変換回路37に対して出力する。
On the other hand, when the synchronization word detection circuit 35 detects a synchronization word from the manually inputted received data (al), a bit synchronization permission signal (d) of, for example, 16 bits is output to the AND circuit 34. AND circuit 3
In step 4, the output (C) and the output (d) are ANDed and a recent signal +114) is output to reset the baud rate cross signal generator 33, and the baud rate cross signal (b
l is output to the series-to-parallel conversion circuit 37.

従ってポーレートクロック発生回路33からのポーレー
トクロック(blは、受信データ!8)との間で同期が
とれた出力である。なお同期ワード検出回路35は、受
信データ(a)より半周期を遅れた同期ワード検出結果
(f)を出力してビットカウンタ36をリセソトしてい
る。このためにビソトカウンタ36からのIBRラッチ
パルス(幻の出力はなく、従って直列一並列変換回路3
7から出力される受信データ(alのなかの同期ワード
はIBR38にはラッチされない。
Therefore, the output is synchronized with the porate clock (bl is received data!8) from the porate clock generation circuit 33. Note that the synchronization word detection circuit 35 resets the bit counter 36 by outputting a synchronization word detection result (f) that is delayed by a half cycle from the received data (a). For this purpose, the IBR latch pulse from the bisoto counter 36 (there is no phantom output, and therefore the series-to-parallel converter circuit 3
The synchronization word in the received data (al) output from the IBR 38 is not latched.

次ぎに第4図と第6図により、例えば同期ワードlとデ
ータワード2の場合の同期を説明する。
Next, synchronization in the case of synchronization word 1 and data word 2, for example, will be explained with reference to FIGS. 4 and 6.

受信データ変化検出回路32では、受信データ(alを
発振器3lからの出力と比較し変化検出を行ってデータ
変化検出結果(C)を出力するが、受信データ(a)に
は同期ワードを含んでいないため、同期ワード検出回路
35からのビット同期許可信号(dlが出力されず、従
ってAND回路34からのリセソト信号telの出力は
ない。その為にボーレートクロック発生回路33はリセ
ットされず、従ってボーレートクロック発生回路33の
ボーレートクロック(blは、受信データ(alとの間
で同期は取らない。つまりデータワードの受信時には同
期を取らない。なおこの場合、同期ワード検出結果(f
)によりビットカウンタ36をリセットしないためにI
BRラッチパルス(OはIBR38に対して出力し、直
列一並列変換回路37からのデータワード1がIBR3
8にランチされる。
The received data change detection circuit 32 compares the received data (al) with the output from the oscillator 3l to detect changes and outputs a data change detection result (C), but the received data (a) does not include a synchronization word. Therefore, the bit synchronization permission signal (dl) from the synchronization word detection circuit 35 is not output, and therefore the reset signal tel is not output from the AND circuit 34. Therefore, the baud rate clock generation circuit 33 is not reset, and therefore the baud rate The baud rate clock (bl) of the clock generation circuit 33 is not synchronized with the received data (al). In other words, it is not synchronized when receiving the data word.
) in order not to reset the bit counter 36 by I
BR latch pulse (O is output to IBR38, data word 1 from series-to-parallel conversion circuit 37 is output to IBR3
Lunch will be served at 8.

即ち上記したように、同期ワードの受信時は受信データ
(a)をIBR38にセットする事はない。つまり同期
ワードであると判断された場合は、IBR38に受信デ
ータ(a)をセソトするためのIBRラッチパルス(幻
の発生を抑える機能をハードウエアのみで行っており、
このため例えばCPU39のIBR38への読みだしが
誤動作をした場合に同期ワードの誤検出を行う可能性が
あり、従って同期ワード検出の高信頼化の方法が必要に
なる。
That is, as described above, when receiving the synchronization word, the received data (a) is not set in the IBR 38. In other words, if it is determined that it is a synchronization word, the IBR latch pulse is used to seset the received data (a) to the IBR38 (the function to suppress the occurrence of phantoms is performed only by hardware,
For this reason, for example, if the reading from the IBR 38 by the CPU 39 malfunctions, there is a possibility that the synchronization word will be erroneously detected, and therefore a method for increasing the reliability of synchronization word detection is required.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従って受信したワードが、データワードであるか同期ワ
ードであるかをハードウエアで識別し、データワードの
みをIBR38にセットしかつ同期ワードをIBR38
にセントしていなかったため、IBR38の内容を読み
だしするCPU39のソフトウェアは同期ワードの検出
を行うことができないという問題が生じていた。
Therefore, the hardware identifies whether the received word is a data word or a synchronization word, sets only the data word in the IBR38, and sets the synchronization word in the IBR38.
, the software of the CPU 39 that reads the contents of the IBR 38 cannot detect the synchronization word.

本発明は、同期ワードの検出をハードウェアとソフトウ
エアの両方で行うことを可能にする回路構戊にすること
により、同期ワード検出の高信頼化を図ることを目的と
する。
An object of the present invention is to improve the reliability of synchronization word detection by providing a circuit structure that allows synchronization word detection to be performed using both hardware and software.

〔課題を解決するための手段〕[Means to solve the problem]

本発明では、受信データの1フレームをl同期ワードと
nデータワードから構成し、該受信データをクロックに
より直列データから並列データに変換する処理を行う直
列一並列変換回路17と、前記直列一並列変換回路17
の出力を記憶するインプットバッファレジスタ18と、
前記インプットバッファレジスタ18の記憶データの読
みだし制御を行う中央処理装置19を備えた回路におい
て、前記受信データの変化を検出する受信データ変化検
出回路12と、前記受信データの中の同期ワードを検出
する同期ワード検出回路15と、前記同期ワード検出回
路15と受信データ変化検出回路12の両出力のAND
積出力がある場合は、該AND積出力にリセットされて
前記受信データに同朋した前記クロックを出力し、また
前記同期ワード検出回路15の出力のない場合は、受信
データに同期することをせず前回に同期を行ったままの
クロックを出力するボーレートクロソク発生回路13と
、前記同期ワード検出回路15の出力の立ち下がり時間
を検出する立ち下がり検出回路20と、前記ボーレート
クロック発生回路13の出力をカウントして所定のタイ
ミングにおいて前記インプットバッファレジスタ18に
受信データをラッチさせるラッチパルスを出力し、かつ
前記立ち下がり検出回路20の出力によりリセントされ
る動作をするビソトカウンタ16と、前記同期ワード検
出回路15とビットカウンタ16の両出力から同期ワー
ド受信ステータスを出力する受信ステータス発生回路2
lとからなり、受信データが同期ワードであった場合で
も、データワードと同様に前記インプットバッファレジ
スタ18に記憶させ、そのデータの中央処理装置からの
認識を同期ワード受信ステータスにより可能なるように
構成するものである。
In the present invention, one frame of received data is composed of l synchronization words and n data words, and a series-to-parallel conversion circuit 17 that converts the received data from serial data to parallel data using a clock; Conversion circuit 17
an input buffer register 18 that stores the output of
In a circuit including a central processing unit 19 that controls reading of data stored in the input buffer register 18, a received data change detection circuit 12 detects a change in the received data, and a synchronization word in the received data is detected. AND of the outputs of the synchronization word detection circuit 15 and the received data change detection circuit 12.
If there is a product output, it is reset to the AND product output and outputs the clock that is synchronized with the received data, and if there is no output from the synchronization word detection circuit 15, it does not synchronize with the received data. A baud rate clock generation circuit 13 that outputs the same clock as previously synchronized, a falling detection circuit 20 that detects the falling time of the output of the synchronization word detection circuit 15, and the output of the baud rate clock generation circuit 13. a synchronous word detection circuit; Reception status generation circuit 2 outputs the synchronization word reception status from both outputs of bit counter 15 and bit counter 16.
Even if the received data is a synchronous word, it is stored in the input buffer register 18 in the same way as a data word, and the data can be recognized by the central processing unit based on the synchronous word reception status. It is something to do.

〔作 用〕[For production]

本発明では第1図の回路構成において、同期ワード受信
時でもデータワード受信時と同様に、受信データをビッ
トカウンタ16からのIBRラッチパターンによりIB
R18にセットする回路構或にし、更に該IBR18ヘ
セフトされたデータが同期ワードであるかデータワード
であるかを受信ステータス発生回路21で判断し、同期
ワードの受信時のみ同期ワードステータス信号を発生さ
せて中央処理装置l9へ送出するようにしている。
In the present invention, in the circuit configuration shown in FIG. 1, when receiving a synchronization word, similarly to when receiving a data word, the received data is transferred to the IBR by the IBR latch pattern from the bit counter 16.
A circuit structure is used to set the IBR18 to R18, and a reception status generating circuit 21 determines whether the data stolen to the IBR18 is a sync word or a data word, and generates a sync word status signal only when a sync word is received. The data is then sent to the central processing unit l9.

従って、中央処理装置19のソフトウエアは、同期ワー
ドステータス信号により前記IBR1Bを確認する事で
同期ワードの検定を行う事が可能になり、更に同期ワー
ドステータス信号によってハードウェアとソフトウェア
の同期ワード検出の判定照合が可能となるため、ハード
ウェアとソフトウエアの二重化による同期ワード検出の
高信頼化を可能にしている。
Therefore, the software of the central processing unit 19 can verify the sync word by checking the IBR1B using the sync word status signal, and further check the sync word detection between hardware and software using the sync word status signal. Since judgment verification is possible, high reliability of synchronization word detection is made possible by duplication of hardware and software.

〔実 施 例〕〔Example〕

第1図は本発明の回路構戒を示す図である。図中、ll
は発振器、12は受信データ変化検出回路、13はボー
レートクロック発生回路、l4はAND回路、15は同
期ワード検出回路、16はビットカウンタ、17は直列
一並列変換回路、18はIBR,19はCPUであり、
ここまでの回路は第4図〜第6図と同一機能である。ま
た20と21は本発明の回路部分であり、20は立ち下
がり検出回路、2lは受信ステータス発生回路である。
FIG. 1 is a diagram showing the circuit structure of the present invention. In the figure, ll
is an oscillator, 12 is a received data change detection circuit, 13 is a baud rate clock generation circuit, l4 is an AND circuit, 15 is a synchronization word detection circuit, 16 is a bit counter, 17 is a series-to-parallel conversion circuit, 18 is an IBR, and 19 is a CPU. and
The circuits up to this point have the same functions as those in FIGS. 4 to 6. Further, 20 and 21 are circuit parts of the present invention, 20 is a falling detection circuit, and 2l is a reception status generation circuit.

なお第2図と第3図は従来回路でのタイムチャートの例
を示す図あり、第2図は同期ワードとデータワードの間
の同期タイムチャート、また第3図はデータワードとデ
ータワードとの間の同期タイムチャートである。
Note that Figures 2 and 3 are diagrams showing examples of time charts in conventional circuits. Figure 2 is a synchronization time chart between a synchronization word and a data word, and Figure 3 is a synchronization time chart between a data word and a data word. This is a synchronization time chart between

まず第1図と第2図により同期ワードとデータワードと
の間の同期について説明する。受信データ(a)は従来
例の通り、1個の同期ワードとn個のデータワードであ
るデータワード1、データワード2・・・データワード
nにより構或されたデータである.この受信データ(a
)は、常にポーレートクロック(C)に制御されて直列
一並列変換回路17で受信されている. 受信データ変化検出回路12では、この受信データ(a
lを発振器1lの出力と比較して受信データ(a)が“
l゛ レベルか“0′ レベルかの変化検出を行い、得
られた該データ変化検出結果+d)をAND回路l4に
加える。また一方、同期ワード検出回路15において人
力した受信データ(a)から同期ワードが検出された場
合は、例えば16ビット横或のビット同期許可信号(Q
)が前記AND回路l4に出力される。
First, synchronization between a synchronization word and a data word will be explained with reference to FIGS. 1 and 2. As in the conventional example, the received data (a) is data composed of one synchronization word and n data words, data word 1, data word 2, . . . data word n. This received data (a
) is always received by the serial-to-parallel conversion circuit 17 under the control of the porate clock (C). The received data change detection circuit 12 detects this received data (a
Compare l with the output of oscillator 1l and find out that the received data (a) is “
A change is detected between the l゛ level and the "0' level, and the obtained data change detection result +d) is added to the AND circuit l4. On the other hand, the synchronization word detection circuit 15 detects synchronization from the manually generated received data (a). If a word is detected, a bit synchronization enable signal (Q
) is output to the AND circuit l4.

従ってAND回路l4では、前記出力(dlと出力(I
l!)の論理積を取ってリセット信号(f)が出力され
てボーレートクロック発生回路13をリセットし、ボー
レートクロフク発生回路13からは受信データ(a)に
同期したボーレートクロンク(C)が出力される。従っ
て受信データ(alとボーレートクロック発生回路13
のボーレートクロフク(C)との間の同期がとれる。
Therefore, in the AND circuit l4, the output (dl) and the output (I
l! ), a reset signal (f) is output and the baud rate clock generation circuit 13 is reset, and the baud rate clock generation circuit 13 outputs a baud rate clock (C) synchronized with the received data (a). . Therefore, the received data (al and baud rate clock generation circuit 13
baud rate clock (C) can be synchronized.

また同期ワード検出回路15からは受信データ(a)か
ら半周期を遅延した同期ワード検出結果(川が出力され
る.この同期ワード検出結果(g)は立ち下がり検出回
路20に人力し、同期ワード検出結果(g)の立ち下が
りタイミングにおいて立ち下がり検出結果(h)を出力
する。なお受信データ(a)の立ち下がりのタイミング
にビソトカウンタ16から出力されるIBRラッチパル
ス(1)が出力され、このIBRラッチパルス(1)が
出力された後のタイミングにおいて立ち下がり検出結果
(hlでリセントされるため、同期ワードはIBR1B
ヘラッチされるようになる。
In addition, the synchronous word detection circuit 15 outputs the synchronous word detection result (river) delayed by half a cycle from the received data (a). This synchronous word detection result (g) is manually inputted to the falling edge detection circuit 20, A falling detection result (h) is output at the falling timing of the detection result (g).The IBR latch pulse (1) output from the bisoto counter 16 is output at the falling timing of the received data (a). Since the fall detection result (hl) is reset at the timing after the IBR latch pulse (1) is output, the synchronization word is IBR1B
Becomes latched.

なおIBRラッチパルス(41の出力時には、受信ステ
ータス発生回路2lは同期ワード検出結果(g)をラッ
チして“Low’から゛旧gh ’に転ずる同期ワード
受信ステータス山)をCPU19に対して出力する。
Note that when outputting IBR latch pulse 41, the reception status generation circuit 2l latches the synchronization word detection result (g) and outputs the synchronization word reception status mountain that changes from "Low" to "old gh") to the CPU 19. .

次ぎに第1図と第3図により、例えば同期ワードlとデ
ータワード2の間の同期を説明する。
The synchronization between, for example, the synchronization word I and the data word 2 will now be explained with reference to FIGS. 1 and 3. FIG.

受信データ変化検出回路12では、この受信データ(a
)と発振器11の出力を比較して受信データ(a)の変
化検出を行い、該データ変化検出結果(d)を出力して
AND回路l4に加える。また一方、同期ワード検出回
路15では、人力した受信データfa)に同期ワードが
含まれず同期データのみであるためビソト同期許可信号
(e)の出力はない。このためにAND回路l4では、
前記出力(dlと出力(e)の論理積をとったリセット
信号(f)が出力されない。従ってボーレートクロック
発生回路13をリセットされず、従って受信データ(a
)とボーレートクロック発生回路13のボーレートクロ
ソク(C)との間の同期をとらない。つまりデータワー
ドの受信時は同期をとらない。なお同期ワード検出回路
15からの同期ワード検出結果(幻を発振器11からの
出力とともに立ち下がり検出回路20に入力して該立ち
下がり検出回路20をリセットしているが、同期ワード
検出回路15からの同期ワード検出結果(g)がないた
め立ち下がり検出回路20からの立ち下がり検出結果(
hlの出力もなく、このためにビントカウンタ16はセ
ットされずIBRラッチパルス(1)を出力する。従っ
てビットカウンタ16からはIBRラソチパルス(1)
は■BR18に入力し、直列一並列変換回路17からの
データワードを前記第2図に示したような同期ワードと
データワードの場合と同様にII3R18にラッチする
.なおIBRラッチパルス(1)が出力されるのは同期
ワードが同期ワード検出回路I5で検出されない場合で
あり、この時は受信ステータス発生回路2lから出力さ
れる同期ワード受信ステータス(blは、“旧gh ’
から“Low’に転じ、その出力を停止する。
The received data change detection circuit 12 detects this received data (a
) and the output of the oscillator 11 to detect a change in the received data (a), and output the data change detection result (d) and add it to the AND circuit l4. On the other hand, the synchronization word detection circuit 15 does not output the bisoto synchronization permission signal (e) because the manually generated received data fa) does not include a synchronization word and is only synchronization data. For this reason, in the AND circuit l4,
The reset signal (f) obtained by ANDing the output (dl and the output (e)) is not output. Therefore, the baud rate clock generation circuit 13 is not reset, and the received data (a
) and the baud rate clock (C) of the baud rate clock generation circuit 13 are not synchronized. In other words, there is no synchronization when receiving data words. Note that the synchronous word detection result (phantom) from the synchronous word detection circuit 15 is input to the falling edge detection circuit 20 together with the output from the oscillator 11 to reset the falling edge detection circuit 20. Since there is no synchronization word detection result (g), the falling detection result from the falling detection circuit 20 (
There is no output of hl, so the bint counter 16 is not set and outputs an IBR latch pulse (1). Therefore, from the bit counter 16, the IBR laser pulse (1)
is input to the BR18, and the data word from the serial-to-parallel conversion circuit 17 is latched into the II3R18 in the same way as in the case of the synchronization word and data word as shown in FIG. Note that the IBR latch pulse (1) is output when the synchronization word is not detected by the synchronization word detection circuit I5, and in this case, the synchronization word reception status (bl is "old") output from the reception status generation circuit 2l. gh'
to "Low" and stops its output.

上記したように本発明では、受信データ(a)が同期ワ
ードでも、データワードと同様に中央処理装置l9が読
めるように受信データ(alをIBR18にセントし、
さらに同期ワード検出回路15においてIBR1Bにセ
ットされたデータがデータワードであるのか同期ワード
であるのかを判定し、その結果を判定結果として受信ス
テータス発生回路21より同期ワード受信ステータス出
力として出力することにより、IBR1Bにセソトされ
たデータのハード判定結果をCPUl9による認識を可
能としている。このようにする事により、CPU19の
ソフトはIBRlBを読みとる事で同期ワード検出が可
能となり、ハードの同期ワード検出結果である同期ワー
ド受信ステータスとCPUのソフトウエアでの同期ワー
ド検出結果と照合することが可能となり、同期ワード検
出の二重化を行えるので同期ワード検出の高信頼化がで
きる。
As described above, in the present invention, even if the received data (a) is a synchronous word, the received data (al) is sent to the IBR 18 so that the central processing unit 19 can read it in the same way as a data word.
Further, the synchronization word detection circuit 15 determines whether the data set in IBR1B is a data word or a synchronization word, and the result is output as a determination result from the reception status generation circuit 21 as a synchronization word reception status output. , it is possible for the CPU 19 to recognize the hardware determination results of the data stored in the IBR1B. By doing this, the software of the CPU 19 can detect the synchronization word by reading IBRlB, and compare the synchronization word reception status, which is the result of the detection of the hardware, with the result of the detection of the synchronization word by the CPU software. Since the synchronization word detection can be performed redundantly, the reliability of the synchronization word detection can be increased.

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

以上の説明から明らかなように本発明によれば、同期ワ
ード検出をハードウェアとソフトウエアの両方で行える
為、同期ワード検出の高信頼化に貢献することができる
As is clear from the above description, according to the present invention, since synchronization word detection can be performed using both hardware and software, it is possible to contribute to high reliability of synchronization word detection.

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

第l図は本発明の回路構成を示す図、 第2図は本発明の回路でのタイムチャートの一例を示す
図、 第3図は本発明の回路でのタイムチャートの他の例を示
す図、 第4図は従来の一実施例の回路構成を示す図、第5図は
従来回路でのタイムチャートの一例を示す図、 第6図は従来回路でのタイムチャートの他の例を示す図
、 を示す図、 である。 図において、 12は受信データ変化検出回路、 13はボーレートクロック発生回路、 15は同期ワード検出回路、 16はビットカウンタ、 17は直列一並列変換回路、 18はインプットバッファレジスタ、 l9は中央処理装置、(C P U) 20は立ち下がり検出回路、 21は受信ステータス発生回路、 を示す。 (IBR) オ4杏FJF4 A団fトz丙グイムチャートのイ亡の
刑をネT図1!3g1 iQl 同Iηワート データ7−F:1 デ゜−77ーl−″2 テ“一77− H’n 同期7−1−” 不発gRり凹鍔譬.の7イム千ヤートの一例e木f口第 4 図 ねシ未回シト?.074X子ヤートハ−σ」を木す囚(
el
Figure 1 is a diagram showing the circuit configuration of the present invention. Figure 2 is a diagram showing an example of a time chart in the circuit of the present invention. Figure 3 is a diagram showing another example of a time chart in the circuit of the present invention. , Fig. 4 is a diagram showing a circuit configuration of a conventional example, Fig. 5 is a diagram showing an example of a time chart in the conventional circuit, and Fig. 6 is a diagram showing another example of a time chart in the conventional circuit. , is a diagram showing , . In the figure, 12 is a received data change detection circuit, 13 is a baud rate clock generation circuit, 15 is a synchronization word detection circuit, 16 is a bit counter, 17 is a serial-to-parallel conversion circuit, 18 is an input buffer register, l9 is a central processing unit, (CPU) 20 is a falling detection circuit, and 21 is a reception status generation circuit. (IBR) O 4 An FJF 4 A group f to z Hei Guim chart's death sentence T figure 1! H'n synchronization 7-1-" An example of 7 im thousand yats of unexploded gR recessed tsuba parable.
el

Claims (1)

【特許請求の範囲】[Claims] 受信データの1フレームを1同期ワードとnデータワー
ドから構成し、該受信データをクロックにより直列デー
タから並列データに変換する処理を行う直列−並列変換
回路(17)と、前記直列−並列変換回路(17)の出
力を記憶するインプットバッファレジスタ(18)と、
前記インプットバッファレジスタ(18)の記憶データ
の読みだし制御を行う中央処理装置(19)を備えた回
路において、前記受信データの変化を検出する受信デー
タ変化検出回路(12)と、前記受信データの中の同期
ワードを検出する同期ワード検出回路(15)と、前記
同期ワード検出回路(15)と受信データ変化検出回路
(12)の両出力のAND積出力がある場合は、該AN
D積出力にリセットされて前記受信データに同期した前
記クロックを出力し、また前記同期ワード検出回路(1
5)の出力のない場合は、受信データに同期することを
せず前回に同期を行ったままのクロックを出力するボー
レートクロック発生回路(13)と、前記同期ワード検
出回路(15)の出力の立ち下がり時間を検出する立ち
下がり検出回路(20)と、前記ボーレートクロック発
生回路(13)の出力をカウントして所定のタイミング
において前記インプットバッファレジスタ(18)に受
信データをラッチさせるラッチパルスを出力し、かつ前
記立ち下がり検出回路(20)の出力によりリセットさ
れる動作をするビットカウンタ(16)と、前記同期ワ
ード検出回路(15)とビットカウンタ(16)の両出
力から同期ワード受信ステータスを出力する受信ステー
タス発生回路(21)とからなり、受信データが同期ワ
ードであった場合でも、データワードと同様に前記イン
プットバッファレジスタ(18)に記憶させ、そのデー
タの中央処理装置からの認識を同期ワード受信ステータ
スにより可能にした事を特徴とする同期ワード検出方式
a serial-to-parallel conversion circuit (17) that configures one frame of received data from one synchronization word and n data words, and converts the received data from serial data to parallel data using a clock; and the serial-to-parallel conversion circuit. an input buffer register (18) that stores the output of (17);
The circuit includes a central processing unit (19) that controls reading of data stored in the input buffer register (18), and includes a received data change detection circuit (12) that detects a change in the received data; If there is an AND product output of the synchronization word detection circuit (15) that detects the synchronization word in the AN, and the output of both the synchronization word detection circuit (15) and the received data change detection circuit (12), the AN
The clock is reset to the D product output and synchronized with the received data, and the synchronization word detection circuit (1
If there is no output of 5), the baud rate clock generation circuit (13) outputs the previously synchronized clock without synchronizing with the received data, and the output of the synchronization word detection circuit (15). A fall detection circuit (20) that detects the fall time and the output of the baud rate clock generation circuit (13) are counted and a latch pulse is outputted at a predetermined timing to cause the input buffer register (18) to latch the received data. and a bit counter (16) that operates to be reset by the output of the falling edge detection circuit (20), and a synchronization word reception status from both outputs of the synchronization word detection circuit (15) and the bit counter (16). Even if the received data is a synchronous word, it is stored in the input buffer register (18) in the same way as a data word, and the data is recognized by the central processing unit. A synchronization word detection method characterized by being made possible by the synchronization word reception status.
JP1233606A 1989-09-07 1989-09-07 Synchronizing word detection system Pending JPH0396026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1233606A JPH0396026A (en) 1989-09-07 1989-09-07 Synchronizing word detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1233606A JPH0396026A (en) 1989-09-07 1989-09-07 Synchronizing word detection system

Publications (1)

Publication Number Publication Date
JPH0396026A true JPH0396026A (en) 1991-04-22

Family

ID=16957685

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1233606A Pending JPH0396026A (en) 1989-09-07 1989-09-07 Synchronizing word detection system

Country Status (1)

Country Link
JP (1) JPH0396026A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016010147A (en) * 2014-06-26 2016-01-18 ドクトル・ヨハネス・ハイデンハイン・ゲゼルシヤフト・ミツト・ベシユレンクテル・ハフツングDr. Johannes Heidenhain Gesellschaft Mitbeschrankter Haftung Device and method for generating with trigger signal by position measuring unit and position measuring unit for the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016010147A (en) * 2014-06-26 2016-01-18 ドクトル・ヨハネス・ハイデンハイン・ゲゼルシヤフト・ミツト・ベシユレンクテル・ハフツングDr. Johannes Heidenhain Gesellschaft Mitbeschrankter Haftung Device and method for generating with trigger signal by position measuring unit and position measuring unit for the same

Similar Documents

Publication Publication Date Title
JP2549492B2 (en) Video signal odd / even field detector
JP2637800B2 (en) Synchronous malfunction detection
JPH0396026A (en) Synchronizing word detection system
JPH10247899A (en) Serial transmission method and synchronization error detection method therefor
JP2502030B2 (en) Synchronizer for a synchronous data processing system.
JP3412927B2 (en) Frame synchronization circuit
JPS58123261A (en) Frame synchronism detecting circuit
JP2576273B2 (en) Synchronous protection circuit
JP3063291B2 (en) Line monitoring circuit
JP2806854B2 (en) Bus synchronization check device
KR0120533B1 (en) Multiplex analog component
JP4719867B2 (en) Bit error insertion circuit for PN pattern generator
JPH03178236A (en) Single frame synchronization detection protective-system
JPH01233849A (en) Timing system
JPH065832B2 (en) Receive synchronization circuit
JP2874444B2 (en) Line monitoring circuit
JP2591850B2 (en) Frame synchronization circuit
JPS63275074A (en) Detector for data transfer abnormality of data recorder
JP3163999B2 (en) Clock selection circuit and phase synchronization circuit using the same
JPH08191296A (en) Synchronizing circuit
JP2003174433A (en) Bi-phase data error detecting circuit
JPH0535501A (en) Interruption signal control circuit
JPH0425240A (en) Burst signal monitoring circuit
JPH0983503A (en) Frame synchronizing device
JPS5896327A (en) Interface circuit