JPS5814107B2 - Received data detection method in data transmission - Google Patents
Received data detection method in data transmissionInfo
- Publication number
- JPS5814107B2 JPS5814107B2 JP53102864A JP10286478A JPS5814107B2 JP S5814107 B2 JPS5814107 B2 JP S5814107B2 JP 53102864 A JP53102864 A JP 53102864A JP 10286478 A JP10286478 A JP 10286478A JP S5814107 B2 JPS5814107 B2 JP S5814107B2
- Authority
- JP
- Japan
- Prior art keywords
- counter
- received data
- polarity
- data
- gate
- 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
Links
Landscapes
- Dc Digital Transmission (AREA)
Description
【発明の詳細な説明】
本発明は、データ伝送において受信データを正しく検出
するための受信データ検出方法に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a received data detection method for correctly detecting received data in data transmission.
直列伝送方式で送受信を正しく行うには、受信側のデー
タサンプリング動作と送信側のデータ送信タイミングを
合わせる必要がある。In order to perform transmission and reception correctly in a serial transmission system, it is necessary to match the data sampling operation on the receiving side and the data transmission timing on the transmitting side.
もし、これらの動作をそれぞれ独立に行えば、いかに高
精度であっても送受信の間にごく微少の誤差が存在する
。If these operations are performed independently, there will be a very small error between transmission and reception, no matter how high the accuracy.
この誤差は時間と共に蓄積され、最初合っていた受信側
のデータサンプリングの動作は時刻によるずれが生じる
ようになる。This error accumulates over time, and the initially consistent data sampling operation on the receiving side begins to deviate from time to time.
このデータサンプリング動作のタイミングがずれると情
報は正しく受信できなくなる。If the timing of this data sampling operation is shifted, information cannot be received correctly.
この送受信間のずれを防ぐには受信側のデータサンプリ
ング動作と送信側のデータ送信動作とのタイミングを合
わせることが必要になる。To prevent this lag between transmission and reception, it is necessary to match the timing of the data sampling operation on the receiving side and the data transmission operation on the transmitting side.
つまり受信側と送信側との同期をとる必要がある。In other words, it is necessary to synchronize the receiving side and the sending side.
この同期方式には部分同期方式と連続同期方式がある。This synchronization method includes a partial synchronization method and a continuous synchronization method.
部分同期方式で最も良く使われている方式に調歩同期式
がある。The most commonly used partial synchronization method is the start-stop synchronization method.
調歩同期式は無通信状態ではストップ極性が連続してお
り、データの伝送が開始されるときにスタート極性が先
行し、伝送が開始されたことを知らせる。In the asynchronous type, the stop polarity is continuous in a non-communication state, and when data transmission is started, the start polarity precedes it, indicating that the transmission has started.
従って受信側ではストップ極性からスタート極性に変化
したことを検出し、データサンプリングのタイミング機
能を起動し、ストップ極性に達するとタイミング機能を
停止する。Therefore, the receiving side detects the change from stop polarity to start polarity, starts the data sampling timing function, and stops the timing function when the stop polarity is reached.
この方式は1キャラクタ毎にスタート極性とストップ極
性を付加するため、これらの分だけ連続同期伝送方式に
比べて伝送効率が下るという欠点がある。Since this method adds a start polarity and a stop polarity to each character, it has the disadvantage that the transmission efficiency is lower than that of the continuous synchronous transmission method.
一方、連続同期方式は、送信側からのデータとこのデー
タのビット境界を示すタイミングクロツクとを合わせて
伝送する方式で、タイミング線をデータ線と別に設ける
必要がある。On the other hand, the continuous synchronization method is a method in which data from the transmitting side and a timing clock indicating the bit boundaries of this data are transmitted together, and it is necessary to provide a timing line separately from the data line.
さらに部分同期方式より高価で複雑な装置(MODEM
等)を使用しなければならない等の欠点がある。In addition, the device (MODEM) is more expensive and complicated than the partial synchronization method.
etc.) have to be used.
従って本発明は従来の技術の上記欠点を改善するもので
、その目的は伝送効率のよい連続同期方式の受信におい
て、前述のようなタイミング線および高価な装置等を必
要とせず、かつ受信データに混入した雑音に影響されに
くく、受信データの極性変化を検出して受信データを正
しくサンプリングするためのクロツクを発生するデータ
伝送における簡単な受信データ検出方法を提供すること
にある。Therefore, the present invention is intended to improve the above-mentioned drawbacks of the prior art, and its purpose is to eliminate the need for timing lines and expensive equipment as described above in continuous synchronization reception with good transmission efficiency, and to provide It is an object of the present invention to provide a simple method for detecting received data in data transmission, which is not easily affected by mixed noise and generates a clock for correctly sampling the received data by detecting a change in the polarity of the received data.
この目的を達成するための本発明の特徴は、データ伝送
における2進受信データの検出方法において、通信速度
のN倍(Nは自然数)のクロツクによって歩進動作する
N進のカウンタをもうけ、受信データの極性が変化した
瞬間のカウンタの内容に対応する定数Akを記憶し、カ
ウンタの内容がN十Akにまで歩進されたとき該カウン
タをクリアして次のデータのための歩進動作を開始させ
、カウンタがクリアされた瞬間に受信データピットをサ
ンプリングするごとき方法にある。A feature of the present invention for achieving this object is that, in a method for detecting binary received data in data transmission, an N-ary counter is provided that is incremented by a clock that is N times the communication speed (N is a natural number), and A constant Ak corresponding to the contents of the counter at the moment when the polarity of data changes is stored, and when the contents of the counter are incremented to N0Ak, the counter is cleared and the increment operation for the next data is performed. The method is to sample the received data pit at the moment the counter is cleared.
以下図面により受施例を説明する。Examples will be described below with reference to the drawings.
第1図は本発明による受信データ検出装置のブロック図
の一実施例を示したもので、1は受信データ入力、2は
通信速度の32倍のクロツク入力、3はクロック入力2
に対応してカウントアップする6ビット構成の純2進カ
ウンタ、4,5,6,7,8.9はカウンタ3を構成す
るJ−K型フリツプフロツプ、10,11,12,13
はカウンタ3を構成するアンドゲート、14,15,1
6,17,18,19はクロツク入力2をそれぞれ1/
2 , 1/4 , 1/8 , 1/16 , 1/
3 2 , 1/64分周した出力、20はカウンタ3
の出力14,15,16,17,18,19をデコード
する回路、21,22,23,24,25はカウンタ3
のカウント値がそれぞれ「30」,「31」j「32」
j「33」,「34」のとき゛1″になる出力、26は
クロツク入力2の極性を反転する否定ゲート、27は受
信データ入力1の極性変化を検出するためのD型フリツ
プフロツプ、28は受信データ入力の極性変化を検出す
るためのエクスクルーシブオアゲート(排他的論理和)
、29は受信データ入力1の極性変化を検出したとき゛
1″になる出力、30.31,は受信データ入力1の極
性が変化したときのカウンタ3の出力18,17の状態
を記憶するD型フリツプフロツプ、32は受信データ入
力1の極性が変化したことを記憶するD型フリツプフロ
ツプ、33は後述する表の機能を実現する演算回路で、
34は受信データ入力1の極性が変化したときカウンタ
3のカウント値が「0」から「7」でカウンタ3のカウ
ントイ直が「30」になったとき“1”を出力するアン
ドゲート、35は受信データ入力1の,極性が変化した
ときカウンタ3のカウント値が「8」から「15」でカ
ウンタ3のカウント値が「31」になったとき“1”を
出力するアンドゲ一ト、36は受信データ入力1の極性
に変化がなくカウンタ3のカウント値が「32」になっ
たとき゜′1″を出力・するアンドゲート、37は受信
データ入力1の極性が変化したときのカウンタ3のカウ
ント値が「16」から「24」でカウンタ3のカウント
値が「33」になったとき“1”を出力するアンドゲー
ト、38は受信データ入力1の極性が変化したときのカ
ウンタ3のカウント値か「24」から「31」でカウン
ク3のカウント値が「34」になったとき“1”を出力
するアンドゲート、39はアンドゲート出力34,35
,36,37,38の論理和をとるオアゲート、40は
オアゲート39の出力、41はカウンタ3のカウント値
力げ16」以上のとき“1”を出力するオアゲート、4
2は受信データサンプリング用クロツク出力である。FIG. 1 shows an embodiment of a block diagram of a received data detection device according to the present invention, where 1 is a received data input, 2 is a clock input 32 times the communication speed, and 3 is a clock input 2.
4, 5, 6, 7, 8.9 are J-K type flip-flops forming counter 3; 10, 11, 12, 13;
is an AND gate that constitutes counter 3, 14, 15, 1
6, 17, 18, and 19 are clock input 2, respectively.
2, 1/4, 1/8, 1/16, 1/
3 2, 1/64 divided output, 20 is counter 3
The circuit decoding the outputs 14, 15, 16, 17, 18, 19, 21, 22, 23, 24, 25 are the counters 3
The count values of ``30'', ``31'' and ``32'' are respectively
26 is a negative gate that inverts the polarity of clock input 2, 27 is a D-type flip-flop for detecting the polarity change of received data input 1, and 28 is a receiving circuit. Exclusive OR gate for detecting polarity changes in data input
, 29 is an output that becomes "1" when a change in polarity of received data input 1 is detected, and 30.31 is a D type that stores the state of outputs 18 and 17 of counter 3 when the polarity of received data input 1 changes. A flip-flop 32 is a D-type flip-flop that stores the change in polarity of the received data input 1, and 33 is an arithmetic circuit that realizes the functions shown in the table below.
34 is an AND gate that outputs "1" when the count value of counter 3 changes from "0" to "7" and the count value of counter 3 reaches "30" when the polarity of received data input 1 changes; 35 is an AND gate of reception data input 1, which outputs "1" when the count value of counter 3 changes from "8" to "15" and becomes "31" when the polarity changes, 36 is an AND gate that outputs ゜'1'' when the polarity of received data input 1 does not change and the count value of counter 3 becomes "32", and 37 is an AND gate that outputs ゜'1'' when the polarity of received data input 1 changes. An AND gate that outputs "1" when the count value of counter 3 becomes "33" from "16" to "24", and 38 is the count of counter 3 when the polarity of received data input 1 changes. The AND gate outputs "1" when the count value of Count 3 reaches "34" from "24" to "31", 39 is the AND gate output 34, 35
, 36, 37, and 38; 40 is the output of the OR gate 39; 41 is an OR gate that outputs "1" when the count value of the counter 3 is 16'' or more;
2 is a clock output for sampling received data.
次に本実施例の動作を説明する。Next, the operation of this embodiment will be explained.
下表に受信データ入力1の極性が変化した瞬間のカウン
タ3のカウント値(CNT)と、このカウント値に対応
した定数(Ak)と受信データサンプリング用クロツク
の1周期時間との関係を示す。The table below shows the relationship between the count value (CNT) of the counter 3 at the moment when the polarity of the received data input 1 changes, the constant (Ak) corresponding to this count value, and one cycle time of the received data sampling clock.
いま、第2図Aにおける受信データ入力1が43の時点
(カウンタ3の内容は4)で受信データ入力1の極性が
変化したとき、カウンタ3の内容及びサンプル出力42
は同図Bに示すごとくなる。Now, when the polarity of received data input 1 changes at the time when received data input 1 is 43 in FIG. 2A (the content of counter 3 is 4), the content of counter 3 and the sample output 42
is as shown in Figure B.
このときクロツク入力2の立下りで出力29が″1”に
なりフリツプフロツプ30,31.32にそれぞれ“0
”,“0”,“1”を記憶し、カウンタ3のカウントイ
直が「30」になったとき出力40が“1”になり(A
k=−2)、カウンタ3の全フリップフロツプがクリア
されて、受信データサンプリング用クロツク出力42は
“0″になる(第2図の44参照)。At this time, when the clock input 2 falls, the output 29 becomes "1" and the flip-flops 30, 31, and 32 are set to "0".
”, “0”, and “1” are stored, and when the count value of counter 3 reaches “30”, the output 40 becomes “1” (A
k=-2), all flip-flops of the counter 3 are cleared and the received data sampling clock output 42 becomes "0" (see 44 in FIG. 2).
よって受信データサンプリング用クロツク出力42は1
周期がクロツク入力2の30倍のパルスとなる。Therefore, the clock output 42 for sampling received data is 1.
The period becomes a pulse 30 times that of clock input 2.
このときフリツプフロツプ30,31.32もクリアさ
れるため出力40は”0″になり第1図の回路は再び初
期の状態にもどり動作を開始する。At this time, the flip-flops 30, 31, and 32 are also cleared, so the output 40 becomes "0" and the circuit of FIG. 1 returns to its initial state and starts operating again.
受信データの1パルスの幅は,カウンタ3のほゞ32ク
ロツクに等しいので、次のサイクルで受信データの極性
が変化する瞬間のカウンタ3の内容はほゞ6であり、さ
らに次のサイクルでは8となる。The width of one pulse of the received data is approximately equal to 32 clocks of the counter 3, so the content of the counter 3 at the moment when the polarity of the received data changes in the next cycle is approximately 6, and in the next cycle it is 8. becomes.
更に後続の各サイクルでは極性変化の瞬間のカウンタの
内容は9〜15となる。Furthermore, in each subsequent cycle, the contents of the counter at the moment of polarity change will be 9-15.
このイ直が16となると、Ak=+1となるので、次の
サイクルでのカウンタ3の値は15となる。When the number of squares becomes 16, Ak=+1, so the value of counter 3 becomes 15 in the next cycle.
つまり定常状態では、極性変化の瞬間のカウンタ3の内
容は15〜16の近傍である。That is, in a steady state, the content of the counter 3 at the moment of polarity change is around 15-16.
従ってカウンタ3がクリアされる瞬間(第2図の44の
タイミング)にサンプリングすれば、受信データのパル
スのほゾ中央値を正しく受信することが出来る。Therefore, by sampling at the moment when the counter 3 is cleared (timing 44 in FIG. 2), the median value of the pulses of the received data can be correctly received.
又第2図Aの45の時点で受信データ入力変化したとき
のカウンタ3の内容及びサンプル出力42は同図Cに示
すごとくなる。Further, when the received data input changes at time 45 in FIG. 2A, the contents of the counter 3 and the sample output 42 become as shown in FIG. 2C.
このとき、フリツプフロツプ30,31.32にそれぞ
れ“1”,“0”,“1”を記憶し、カウンタ3のカウ
ント値が「33」になったとき出力40はカウンタ3の
全フリツプフロツプおよびフリツプフロツプ30,31
.32をクリアし、受信データサンプリング用クロツク
出力42は1周期がクロツク入力2の33倍のパルスが
出力される(Ak=+1)。At this time, "1", "0", and "1" are stored in the flip-flops 30, 31, and 32, respectively, and when the count value of the counter 3 reaches "33", the output 40 is stored in all the flip-flops of the counter 3 and the flip-flops 30 and 32. ,31
.. 32 is cleared, and the received data sampling clock output 42 outputs a pulse whose period is 33 times that of the clock input 2 (Ak=+1).
このときも、受信データの極性が変化した瞬間における
カウンタ3の内容は、サイクルの進行につれて15〜1
6に収欽する。At this time as well, the contents of the counter 3 at the moment when the polarity of the received data changes will vary from 15 to 1 as the cycle progresses.
6.
従ってカウンタ3がクリアされる瞬間に受信データをサ
ンプリングすれば受信パルスの中央をサンプリングする
ことが出来る。Therefore, if the received data is sampled at the moment when the counter 3 is cleared, the center of the received pulse can be sampled.
又受信データ入力1が変化しなかった場合(第2図の4
6参照)のカウンタ3及びサンプル出力を第2図Dに示
す。Also, if received data input 1 does not change (4 in Figure 2)
FIG. 2D shows the counter 3 and sample output of the counter 3 (see 6).
カウンタ3のカウント値が「32」のとき(Ak=0)
出力40はカウンタ3の全フリツプフロツプをクリアし
、受信データサンプリング用クロツク出力42は1周期
がクロツク入力2の32倍のパルスが出力される。When the count value of counter 3 is “32” (Ak=0)
The output 40 clears all the flip-flops of the counter 3, and the received data sampling clock output 42 outputs a pulse whose period is 32 times that of the clock input 2.
このときもカウンタ3がクリアされる瞬間に受信データ
の中央値をサンプリングする。At this time as well, the median value of the received data is sampled at the moment when the counter 3 is cleared.
従って、受信データサンプリング用クロツク出力42の
立下り時点で(カウンク3がクリアされる瞬間)受信デ
ータ入力1をサンプリングすれば、いずれの場合も受信
データを正しく受信することができる。Therefore, if the reception data input 1 is sampled at the falling edge of the reception data sampling clock output 42 (at the moment when the count 3 is cleared), the reception data can be correctly received in any case.
以上説明したように、本発明のデータ伝送における受信
データ検出方法は、受信データの極性変化を検出し、こ
のときのカウンタの値によって受信データを正しくサン
プリングするので、伝送効率の方い連続同期方式が適用
でき、しかもデータ線とは別のタイミング線を設ける必
要がなく、高価な装置を必要としない。As explained above, the received data detection method in data transmission of the present invention detects a change in the polarity of received data and samples the received data correctly based on the counter value at this time, so the continuous synchronization method is more efficient in transmission. can be applied, and there is no need to provide a timing line separate from the data line, and no expensive equipment is required.
また受信データに混入した雑音に影響されにくく、しか
も簡単な回路構成で実現できる等の利点がある。It also has the advantage of being less susceptible to noise mixed in received data and can be realized with a simple circuit configuration.
第1図は本発明による受信データ検出装置の一実施例の
ブロック図、第2図は第1図の装置の動作説明図である
。
1……受信データ入力、2……クロツク入力、3……6
ビットカウンク、4,5,6,7,8,9……J−K型
フリツプフロツプ、10,11,12,13……アンド
ゲート、20……デコーダ、26……否定ゲート、27
,30,31,32……D型フリツプフリップ、28…
…エクスクルーシブオアゲート、33……演算回路、3
4,35,36,37,38……アンドゲート、39,
41……オアゲート、42……受信データサンプリング
用クロツク出力。FIG. 1 is a block diagram of an embodiment of a received data detection device according to the present invention, and FIG. 2 is an explanatory diagram of the operation of the device shown in FIG. 1...Receive data input, 2...Clock input, 3...6
Bit count, 4, 5, 6, 7, 8, 9...J-K type flip-flop, 10, 11, 12, 13...AND gate, 20...Decoder, 26...Negation gate, 27
, 30, 31, 32...D type flip flip, 28...
...Exclusive OR gate, 33... Arithmetic circuit, 3
4, 35, 36, 37, 38...and gate, 39,
41...OR gate, 42...Clock output for sampling received data.
Claims (1)
いて、通信速度のN倍(Nは自然数)のクロツクによっ
て歩進動作するN進のカウンタをもうけ、受信データの
極性が変化した場合その瞬間のカウンタの内容に対応す
る定数Akを記憶し、カウンタの内容がN+Akにまで
歩進されたとき該カウンタをクリアして次のデータのた
めの歩進動作を開始させ、カウンタがクリアされた瞬間
に受信データピットをサンプリングすることを特徴とす
る、データ伝送における受信データ検出方法。1. In a method of detecting binary received data in data transmission, an N-ary counter is provided that is incremented by a clock that is N times the communication speed (N is a natural number), and when the polarity of the received data changes, the value of the counter at that moment is A constant Ak corresponding to the content is memorized, and when the content of the counter is incremented to N+Ak, the counter is cleared and the increment operation for the next data is started, and the moment the counter is cleared, the received data is A method for detecting received data in data transmission, characterized by sampling pits.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53102864A JPS5814107B2 (en) | 1978-08-25 | 1978-08-25 | Received data detection method in data transmission |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53102864A JPS5814107B2 (en) | 1978-08-25 | 1978-08-25 | Received data detection method in data transmission |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5530224A JPS5530224A (en) | 1980-03-04 |
| JPS5814107B2 true JPS5814107B2 (en) | 1983-03-17 |
Family
ID=14338770
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP53102864A Expired JPS5814107B2 (en) | 1978-08-25 | 1978-08-25 | Received data detection method in data transmission |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5814107B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58131054U (en) * | 1982-02-26 | 1983-09-05 | 株式会社ミノグル−ブ | Emulsion coating bucket in screen printing plate making machine |
| JPH0521079Y2 (en) * | 1987-11-20 | 1993-05-31 | ||
| JPH03123338U (en) * | 1990-03-27 | 1991-12-16 |
-
1978
- 1978-08-25 JP JP53102864A patent/JPS5814107B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5530224A (en) | 1980-03-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| GB1560107A (en) | Timing recovery circuit for a differentially coherent phase modulated data transmission system | |
| KR880003238A (en) | Clock player | |
| JPS61296843A (en) | Signal/noise ratio exponent generation apparatus and method for coding digital data | |
| US4740998A (en) | Clock recovery circuit and method | |
| JPS5814107B2 (en) | Received data detection method in data transmission | |
| JP2948245B2 (en) | Transmission / reception synchronization device for communication network station | |
| JPH0644756B2 (en) | Synchronous clock generation circuit | |
| JP2627890B2 (en) | Decoding circuit | |
| GB1504973A (en) | Apparatus and method for converting an asynchronous binary input signal into a binary output signal having transitions synchronous with a clock signal | |
| JPH0453081Y2 (en) | ||
| JP2764590B2 (en) | Signal repeater | |
| JPS6255745B2 (en) | ||
| JPH0323714Y2 (en) | ||
| JPH0623082Y2 (en) | Serial signal receiving circuit | |
| KR950002305B1 (en) | Synchronous clock generation circuit by received data | |
| JPH04145566A (en) | Serial transferring circuit | |
| JP3107968B2 (en) | NRZ-RZ signal conversion circuit | |
| JPS6037857A (en) | Fm transmission system | |
| GB1575893A (en) | Data sync aquisition in an asynchronous binary address decder | |
| JPH07112193B2 (en) | Serial data transfer device | |
| JP2590935B2 (en) | Digital transmission data recovery circuit | |
| JPS5980047A (en) | Biphase code demodulator | |
| KR950001927B1 (en) | Circuit for detecting digital data synchronous signal | |
| JPS6059415A (en) | Clock-off detecting circuit | |
| JPS57207461A (en) | Demodulation circuit for digital data |