JPS63125029A - Start-stop synchronizing signal generation circuit - Google Patents

Start-stop synchronizing signal generation circuit

Info

Publication number
JPS63125029A
JPS63125029A JP61272085A JP27208586A JPS63125029A JP S63125029 A JPS63125029 A JP S63125029A JP 61272085 A JP61272085 A JP 61272085A JP 27208586 A JP27208586 A JP 27208586A JP S63125029 A JPS63125029 A JP S63125029A
Authority
JP
Japan
Prior art keywords
bit
stop
preamble
data
generation 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.)
Pending
Application number
JP61272085A
Other languages
Japanese (ja)
Inventor
Toshihiro Yabe
矢部 敏寛
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 JP61272085A priority Critical patent/JPS63125029A/en
Publication of JPS63125029A publication Critical patent/JPS63125029A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)
  • Communication Control (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To easily execute data communication even if a clock frequency and a data length are not previously set between a transmission side and a reception side by inserting a preamble bit including clock components one bit before the start bit and the stop bit of a start-stop synchronizing signal. CONSTITUTION:A preamble bit generation means 15 is provided in a start-stop synchronizing signal generation circuit so as to insert the preamble bit including the clock components one bit before the start bit and the stop bit. Since the reception side can easily decide the clock frequency and the data length by detecting the preamble bit, the data communication can be possible even if they are not previously set on the transmission side and the reception side. Thus the communication between equipments whose data lengths are different can be easily executed.

Description

【発明の詳細な説明】 〔概要〕 調歩同期信号発生回路において、調歩同期信号のスター
トビットとストップビットの1ビット前にクロック成分
を含んだプリアンブルビットを挿入することにより、予
め送信側と受信側との間でクロック周波数とデータ長を
設定しなくても容易にデータ通信ができる様にしたもの
である。
[Detailed Description of the Invention] [Summary] In the asynchronous signal generation circuit, by inserting a preamble bit containing a clock component one bit before the start bit and stop bit of the asynchronous signal, the transmission side and the receiving side can be This allows data communication to be easily performed between the computer and the computer without setting the clock frequency and data length.

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

本発明は調歩同期信号発生回路の改良に関するものであ
る。
The present invention relates to an improvement of an asynchronous signal generating circuit.

一般に、調歩同期信号は例えばパーソナルコンピュータ
等でデータ通信を行う場合に使用されるが、予め送信側
と受信側とでクロック周波数とデータ長の設定をしなく
ても相互の通信ができる様にすることが望ましい。
Generally, start-stop synchronization signals are used for data communication between personal computers, etc., but they enable mutual communication without having to set the clock frequency and data length between the sending and receiving sides in advance. This is desirable.

〔従来の技術〕[Conventional technology]

第4図は従来例を用いた調歩同期通信装置のブロック図
で、第4図(a)は従来例の調歩同期信号発生回路、第
4図(b)は第4図(a)に対する受信回路を、第5図
は第4図の動作説明図を示す。尚、第5図の左側の数字
は第4図中の同じ数字の部分の波形を示す。以下、第5
図を参照しながら第4図の動作を説明する。
FIG. 4 is a block diagram of an asynchronous communication device using a conventional example. FIG. 4(a) is an asynchronous signal generating circuit of the conventional example, and FIG. 4(b) is a receiving circuit for FIG. 4(a). FIG. 5 shows an explanatory diagram of the operation of FIG. 4. Note that the numbers on the left side of FIG. 5 indicate the waveforms of the portions with the same numbers in FIG. Below, the fifth
The operation shown in FIG. 4 will be explained with reference to the drawings.

先ず、調歩同期方式で通信する為に第4図(alのカウ
ンタ2を起動する。そこで、カウンタは発振器1からの
周波数2foの出力のカウントを開始し、そのカウント
値がデコーダ3でデコーダされて第1の所定値になると
、デコーダ3からの出力でセレクタ5はデータの始まり
を示すLレベルのスタートビットSTをセレクトしてD
タイプフリップフロ・ノブ(以下、 D−FFと省略す
る)6を介して出力する。これにより、セレクタの動作
によって生じた幅の狭いパルス(通称ヒゲ)が除去され
る。
First, in order to communicate using the start-stop synchronization method, the counter 2 in FIG. When the first predetermined value is reached, the selector 5 uses the output from the decoder 3 to select the L level start bit ST indicating the start of data and
It is output via a type flip-flow knob (hereinafter abbreviated as D-FF) 6. As a result, narrow pulses (commonly known as whiskers) caused by the operation of the selector are removed.

次に、第2の所定値でクロック周波数f、に同期したデ
ータ発生器4からのデータが、第3の所定値でこのデー
タの終わりを示す11 レベルのストップピッ)SPが
逐次セレクトされて第5図−■に示す様なデータ1単位
の調歩同期信号が送出されるが、これを繰り返すことに
よりデータが受信側に送られる。
Next, the data from the data generator 4 synchronized with the clock frequency f, at a second predetermined value, is successively selected by an 11 level stop pixel (SP) indicating the end of this data at a third predetermined value. The start-stop synchronization signal for one unit of data as shown in Figure 5-■ is sent out, and by repeating this, the data is sent to the receiving side.

さて、第4図山)の受信回路では、受信した調歩同期信
号は高速クロック発生器8からの高速クロックを用いて
D−FF 7でサンプリングされ、送信側とほぼ同一の
調歩同期信号が得られる(第5図−〇、■参照)。
Now, in the receiving circuit shown in Fig. 4, the received asynchronous signal is sampled by the D-FF 7 using the high-speed clock from the high-speed clock generator 8, and an asynchronous signal that is almost the same as that on the transmitting side is obtained. (See Figure 5-○, ■).

そして、D−FF7の端子Qの出力はアンド回路13と
立下り検出器IOに加えられ、後者で第5図−〇に示す
様な立下り検出信号が得られるが、これは調歩同期信号
の始まりを示す。
Then, the output of the terminal Q of the D-FF7 is applied to the AND circuit 13 and the falling detector IO, and the latter produces a falling detection signal as shown in Figure 5-0, which is an asynchronous signal. Indicates the beginning.

この検出出力はリセットセットFF(以下、R5−FF
と省略する)111 n分周器9.データ長カウンタ1
2に加えられるが、第5図−■に示す様にR5−FFは
セットされ、@子QがIK レベルになってアンド回路
13はオンになるので、ここに加えられた調歩同期信号
がD−FF14を介して出力さる。
This detection output is the reset set FF (hereinafter referred to as R5-FF).
) 111 n frequency divider 9. Data length counter 1
However, as shown in Fig. 5-■, R5-FF is set, the @ child Q becomes the IK level, and the AND circuit 13 is turned on, so the asynchronous signal added here becomes D. - Output via FF14.

一方、立下り検出器はR5−PFの出力でリセットされ
ると共に、n分周器9は高速クロックを予め設定された
分周比に従って分周するが、この時。
On the other hand, the fall detector is reset by the output of R5-PF, and the n frequency divider 9 divides the high speed clock according to a preset frequency division ratio.

分周されたパルスの立上りが調歩同期信号の真中に(る
様になっている。
The rising edge of the frequency-divided pulse is placed in the middle of the asynchronous signal.

又、データ長カウンタ12は予め設定されたカウント数
をカウントしたら出力が送出される様になっているので
、立下り検出器10の出力でn分周器9の出力をカウン
トし始め、所定数をカウントしたら第5図−■に示す様
に出力をR5−FF tiに送出して、この5R−FF
をリセットする(第5図−■参照)。そこで、アンド回
路13がオフになり第5図−〇に示す様にデータ1単位
が取出せる。
Furthermore, since the data length counter 12 is configured to send out an output after counting a preset number of counts, it starts counting the output of the n frequency divider 9 with the output of the falling edge detector 10, After counting, the output is sent to R5-FF ti as shown in Figure 5-■, and this 5R-FF
(See Figure 5-■). Then, the AND circuit 13 is turned off and one unit of data can be extracted as shown in FIG. 5--.

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

しかし、上記の様にデータ通信を始めるに当たって送信
側と受信側で予めクロック周波数(即ち。
However, as mentioned above, before starting data communication, the transmitting and receiving sides have to set the clock frequency (i.e.

分周比)とデータ長とを設定しておかなければならない
と云う問題点がある。この為、操作が面倒になる。
There is a problem in that the frequency division ratio) and data length must be set in advance. This makes operation cumbersome.

〔問題点を解決する為の手段〕[Means for solving problems]

上記の問題点は第1図に示す調歩同期信号発生回路によ
り解決される。
The above problem is solved by the asynchronous signal generating circuit shown in FIG.

15はクロック成分を含むプリアンブルビットを発生す
るプリアンブルビット発生手段で、この手段により調歩
同期信号中のスタートビットとストップビットの1ビッ
ト前にプリアンブルビットが挿入された信号が発生され
る。
Reference numeral 15 denotes a preamble bit generating means for generating a preamble bit containing a clock component, and this means generates a signal in which a preamble bit is inserted one bit before the start bit and stop bit in the asynchronous signal.

〔作用〕[Effect]

本発明は調歩同期信号発生回路にプリアンブルビット発
生手段15を設けてスタートビットとストップビットの
1ビット前にクロック成分を含んだプリアップルビット
を挿入する様にした。
In the present invention, a preamble bit generating means 15 is provided in the asynchronous signal generating circuit to insert a preamble bit containing a clock component one bit before the start bit and stop bit.

そこで、受信側ではこのプリアンブルビットを検出する
ことによりクロック周波数及びデータ長を容易に判定で
きるので、これらを予め送受信側で設定しておかなくて
もデータ通信が可能となる。
Therefore, since the receiving side can easily determine the clock frequency and data length by detecting this preamble bit, data communication is possible without having to set these in advance on the transmitting and receiving sides.

〔実施例〕〔Example〕

第2図は本発明の実施例を用いた調歩同期通信装置のブ
ロック図で、第2図(a)は本発明の実施例の調歩同期
信号発生回路、第2図(b)は第2図(a)に対する受
信回路を、第3図は第2図の動作説明図を示す。尚、全
図を通じて同一符号は同一対象物を示す。以下、第3図
を参照して第2図の動作を説明する。
FIG. 2 is a block diagram of an asynchronous communication device using an embodiment of the present invention, FIG. 2(a) is an asynchronous signal generation circuit of the embodiment of the present invention, and FIG. FIG. 3 shows the receiving circuit for (a), and FIG. 3 is an explanatory diagram of the operation of FIG. Note that the same reference numerals indicate the same objects throughout the figures. The operation shown in FIG. 2 will be explained below with reference to FIG.

先ず、第2図(a)の調歩同期信号発生回路はカウンタ
161.デコーダ162を用いてセレクタ171を制御
して調歩同期信号中のスタートビットST及びストップ
ビットSPの1ビット前にプリアンブルビット発生器1
51から送出される周波数HaのプリアンブルビットP
RE−1及びPRl−2を1ビット挿入し、D−FF6
を介して第3図−■に示す様な信号を外部に送出する。
First, the asynchronous signal generating circuit of FIG. 2(a) uses the counter 161. By controlling the selector 171 using the decoder 162, the preamble bit generator 1 is generated one bit before the start bit ST and stop bit SP in the asynchronous signal.
Preamble bit P of frequency Ha transmitted from 51
Insert 1 bit of RE-1 and PRl-2, D-FF6
A signal as shown in Fig. 3-■ is sent to the outside via the

ここで、クロック周波数はfoとする。Here, the clock frequency is assumed to be fo.

次に、第2図(blの受信回路では受信したプリアンブ
ルビットが挿入された調歩同期信号を高速クロック発生
器19からの高速クロックを用いてD−FF18でサン
プリングした後、立下り検出器10及び立上り検出器2
0で立上り及び立下りを検出し、これをビットカウント
イネーブル検出器(以下、 BCEと省略する)22に
加える(第3図−■〜■参照)。そこで、ここからプリ
アンブルビットPRE−1の立下りと立上りの間隔に等
しいパルスが出力されるがこれは2クロック周期を示す
(第3図−■参照)。
Next, in the receiving circuit shown in FIG. Rise detector 2
The rising and falling edges are detected at 0 and added to the bit count enable detector (hereinafter abbreviated as BCE) 22 (see FIG. 3--). Therefore, a pulse equal to the interval between the falling edge and the rising edge of the preamble bit PRE-1 is outputted from here, which indicates a two-clock period (see FIG. 3--).

この出力はアップカウンタ24に加えられるので。Since this output is added to the up counter 24.

カウンタ24はこの出力の間だけ高速クロックをカウン
トし、そのカウント値をラッチ回路25に加えてラッチ
した後、このラッチした値をダウンカウンタ26にロー
ド値として加える。
The counter 24 counts the high-speed clock only during this output, and after adding the count value to the latch circuit 25 and latching it, the latched value is added to the down counter 26 as a load value.

尚、この時のカウント値のランチ及びロードは微分回路
23の出力により行われる。
Note that launching and loading of the count value at this time is performed by the output of the differentiating circuit 23.

そこで、ダウンカウンタ26はロートイ直からカウント
ダウンしてOになるとデコーダからロードパルス2がオ
ア回路27を介してダウンカウンタに加えられるので、
ラッチ回路にラッチされたカウント値が再びダウンカウ
ンタにロードされ、上記と同じカウントダウン動作が繰
り返えされる。
Therefore, the down counter 26 counts down directly from the low toy and when it reaches O, the load pulse 2 is applied from the decoder to the down counter via the OR circuit 27.
The count value latched by the latch circuit is loaded into the down counter again, and the same countdown operation as described above is repeated.

又、デコーダ28からの第3図−■に示す0検出出力2
は2分周器30で2分周され、第3図−■に示す様な周
波数r0のクロックが自動的に再生される。
Also, the 0 detection output 2 shown in FIG. 3-■ from the decoder 28
is divided by two by a frequency divider 30, and a clock having a frequency r0 as shown in FIG. 3-2 is automatically reproduced.

次に、データ長を決める為にストップビットSPの1ビ
ット前に挿入したプリアンブルビット(以下、 PRE
−2と省略する)の立下りの検出が必要であるが、この
為に第3図−■に示す様にデータの真中にある幅の窓を
開ける。
Next, a preamble bit (hereinafter referred to as PRE) is inserted one bit before the stop bit SP to determine the data length.
It is necessary to detect the falling edge of (abbreviated as -2), and for this purpose, a window with a width in the middle of the data is opened as shown in FIG.

これは、データの場合は真中の状態は変化しないが、 
PRE−2の場合は真中で立下りがあるので、窓の部分
で立下りがあるか否かを検出すればデータの立下りをP
RE−2と誤って検出することがない。
This means that in the case of data, the state in the middle does not change, but
In the case of PRE-2, there is a falling edge in the middle, so if you detect whether or not there is a falling edge in the window, you can detect the falling edge of the data in PRE-2.
It will not be mistakenly detected as RE-2.

これらの窓はデコーダ28の内部で0検出出力を1つお
きに取出しその前後の値をデコードすることにより第3
図−■に示す様なパルスを作り、それをPER−2検出
器21に加える。
These windows are created by extracting every other 0 detection output inside the decoder 28 and decoding the values before and after it.
Create a pulse as shown in Figure-■ and apply it to the PER-2 detector 21.

そこで、PRE−2検出器はこのパルスが来た時に立下
り検出器10の出力が入力すれば、 PRE!−2の立
下り検出と判定する(第3図−[相]参照)。
Therefore, if the output of the falling detector 10 is input to the PRE-2 detector when this pulse comes, PRE! -2 falling edge is detected (see Figure 3 - [Phase]).

尚、このPRE−2検出器は立下り検出器10からの最
初の出力でHレベルの信号を送出し、PRI!−2の立
下り検出でLレベルの信号に変化させた信号を有効ビッ
トとして外部に送出すると共に、これがアンド回路29
に加えられるので、■レベルの信号の間だけD−FF 
1Bより出力される調歩同期信号はアンド回路29を通
過し、D−FFで打ち直されて第2図−■に示す調歩同
期信号が出力される。
Incidentally, this PRE-2 detector sends out an H level signal at the first output from the falling edge detector 10, and PRI! -2 is detected, the signal changed to an L level signal is sent to the outside as a valid bit, and this is sent to the AND circuit 29.
Since it is added to the D-FF only during the ■ level signal.
The start-stop synchronization signal output from 1B passes through the AND circuit 29, is re-inputted by the D-FF, and the start-stop synchronization signal shown in FIG. 2-2 is output.

即ち、プリアンブルビットPER−1及びPER−2を
調歩同期信号のスタートビット及びストップビ。
That is, the preamble bits PER-1 and PER-2 are used as the start bit and stop bit of the asynchronous signal.

トの1ビット前に付加することにより、クロック周波数
及びデータ長を予め設定しなくても容易にデータ通信が
可能となるので、異種データ長(5゜6.7.8単位等
)の機器間での通信が容易に行える。
By adding 1 bit before the data length, data communication can be easily performed without setting the clock frequency and data length in advance. Communication can be done easily.

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

以上詳細に説明した様に本発明によれば予め。 According to the present invention, as described above in detail.

クロック周波数及びデータ長を予め設定しな(でも、容
易にデータ通信が可能になると云う効果がある。これに
より、異種データ長の機器間での通信が容易に行える。
Even if the clock frequency and data length are not set in advance, the effect is that data communication can be easily performed. This allows easy communication between devices with different data lengths.

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

第1°図は本発明の原理ブロック図、 置のブロック図、 ツタ図、 第5図は第4図の動作説明図を示す。 図において、 15はプリアンブルビット発生手段、 16は制御器、 17はセレクタを示す。 未発間の岸J里ブ亡・・・り閣 茅 1  図 OOO■■■OO■■■■ 斧4園 Figure 1 is a block diagram of the principle of the present invention. block diagram of the ivy diagram, FIG. 5 shows an explanatory diagram of the operation of FIG. 4. In the figure, 15 is a preamble bit generating means; 16 is a controller; 17 indicates a selector. Unexploded Kishi J-ribu dead... Kaya 1 diagram OOO■■■OO■■■■ ax 4 garden

Claims (1)

【特許請求の範囲】 入力するスタートビット、データ及びストップビットを
制御器(16)の出力で駆動されたセレクタ(17)で
セレクトして、スタートビット、データ、ストップビッ
トの順に配列して調歩同期信号を発生する調歩同期信号
発生回路において、 クロック成分を含むプリアンブルビットを発生するプリ
アンブルビット発生手段(15)を設け、該調歩同期信
号中のスタートビットとストップビットの1ビット前に
該プリアンブルビットを挿入したことを特徴とする調歩
同期信号発生回路。
[Claims] Start-stop synchronization is performed by selecting input start bits, data, and stop bits with a selector (17) driven by the output of a controller (16), and arranging the start bit, data, and stop bit in this order. In the asynchronous signal generation circuit that generates the signal, a preamble bit generating means (15) that generates a preamble bit including a clock component is provided, and the preamble bit is inserted one bit before the start bit and stop bit in the asynchronous signal. An astop synchronization signal generation circuit characterized by the insertion of an asynchronous signal generator.
JP61272085A 1986-11-14 1986-11-14 Start-stop synchronizing signal generation circuit Pending JPS63125029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61272085A JPS63125029A (en) 1986-11-14 1986-11-14 Start-stop synchronizing signal generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61272085A JPS63125029A (en) 1986-11-14 1986-11-14 Start-stop synchronizing signal generation circuit

Publications (1)

Publication Number Publication Date
JPS63125029A true JPS63125029A (en) 1988-05-28

Family

ID=17508875

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61272085A Pending JPS63125029A (en) 1986-11-14 1986-11-14 Start-stop synchronizing signal generation circuit

Country Status (1)

Country Link
JP (1) JPS63125029A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002009376A1 (en) * 2000-07-25 2002-01-31 Hitachi, Ltd. Data transmission device, data transfer system and method
JP2007185977A (en) * 2006-01-11 2007-07-26 Daido Signal Co Ltd Transmission circuit for railway signal system
WO2020217697A1 (en) * 2019-04-24 2020-10-29 オムロン株式会社 Serial data communication device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002009376A1 (en) * 2000-07-25 2002-01-31 Hitachi, Ltd. Data transmission device, data transfer system and method
US7515157B2 (en) 2000-07-25 2009-04-07 Elpida Memory, Inc. Data transmission device, data transfer system and method
JP2007185977A (en) * 2006-01-11 2007-07-26 Daido Signal Co Ltd Transmission circuit for railway signal system
WO2020217697A1 (en) * 2019-04-24 2020-10-29 オムロン株式会社 Serial data communication device
JP2020182082A (en) * 2019-04-24 2020-11-05 オムロン株式会社 Serial data communication device
CN113557688A (en) * 2019-04-24 2021-10-26 欧姆龙株式会社 Serial data communication device
US11960432B2 (en) 2019-04-24 2024-04-16 Omron Corporation Serial data communication device and serial data communication method

Similar Documents

Publication Publication Date Title
GB2109206A (en) Data transmission system utilising power line of 3-phase alternating current
JPS62501044A (en) clock recovery circuit
JPS63125029A (en) Start-stop synchronizing signal generation circuit
JPH0149062B2 (en)
JP2948245B2 (en) Transmission / reception synchronization device for communication network station
US4809303A (en) Dynamic speed shifter for fiber optic work station
JPH01143435A (en) Data transmission equipment
US6115548A (en) Method and apparatus for interfacing data signal and associated clock signal to circuit controlled by local clock signal
SU1282317A2 (en) Device for synchronizing pulses
JPS62183634A (en) Data transmission equipment
SU1739491A1 (en) Phase synchronizer
JPS6255745B2 (en)
SU1734199A1 (en) Pulse timing device
KR100241059B1 (en) Data transmission circuit
KR860002915A (en) Digital transmission system
JPH0637743A (en) Serial data receiver
SU1665516A1 (en) Device for asynchronous delta-modulated signals relaying
JPH07212413A (en) Reception circuit for asynchronous data
SU1356253A1 (en) Device for receiving signals with relative phase-shift keying
SU604176A1 (en) Start-stop receiving arrangement
SU1555893A1 (en) Device for transmission of discrete information
SU1467782A1 (en) Device for transmitting binary signals
KR950002305B1 (en) Synchronous clock generating circuit by receiving data
JPS63146540A (en) Start-stop synchronization system signal transmission equipment
JPS5980047A (en) Biphase code demodulator