JPH0624355B2 - Data receiver - Google Patents

Data receiver

Info

Publication number
JPH0624355B2
JPH0624355B2 JP63245571A JP24557188A JPH0624355B2 JP H0624355 B2 JPH0624355 B2 JP H0624355B2 JP 63245571 A JP63245571 A JP 63245571A JP 24557188 A JP24557188 A JP 24557188A JP H0624355 B2 JPH0624355 B2 JP H0624355B2
Authority
JP
Japan
Prior art keywords
bit
sampling
data
stop
pattern
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
Application number
JP63245571A
Other languages
Japanese (ja)
Other versions
JPH0292125A (en
Inventor
正孝 村田
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP63245571A priority Critical patent/JPH0624355B2/en
Publication of JPH0292125A publication Critical patent/JPH0292125A/en
Publication of JPH0624355B2 publication Critical patent/JPH0624355B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 〔概要〕 調歩歪に応じたタイミングでデータのサンプリングを行
うデータ受信装置に関し, 調歩歪の歪度が50%を越えるような場合もデータ信号
を正しく受信することを目的とし, 調歩式伝送された受信データにおけるスタートビット及
びストップビットについて,前記伝送の速度より高速で
サンプリングしてこれらのサンプリングパターンを得る
手段と,前記スタートビット及びストップビットの夫々
のレファレンスパターンを格納する手段と,前記サンプ
リングパターンと夫々のレファレンスパターンとを比較
する手段と,前記の両者の比較の結果に応じてクロック
の変化タイミングを指示する手段と,前記指示に従った
変化タイミングのクロックを形成する手段と,前記受信
データ信号について,前記クロックを用いてその変化タ
イミングでサンプリングしてデータを得る手段とを備え
るように構成する。
DETAILED DESCRIPTION OF THE INVENTION [Outline] A data receiving apparatus for sampling data at a timing according to the start-stop distortion, and an object thereof is to correctly receive a data signal even when the start-stop distortion has a skewness of more than 50%. And stores the start bit and the stop bit in the start-stop transmission received data at a speed higher than the transmission speed to obtain these sampling patterns, and the reference pattern of each of the start bit and the stop bit. Means, means for comparing the sampling pattern with each reference pattern, means for instructing a change timing of a clock according to a result of the comparison between the both, and a clock having a change timing according to the instruction. Means and the received data signal, the clock And means for obtaining data by sampling at the change timing.

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

本発明はデータ受信装置に関し,更に詳しくは,調歩歪
に応じたタイミングでデータのサンプリングを行うデー
タ受信装置に関する。
The present invention relates to a data receiving device, and more particularly to a data receiving device that samples data at a timing according to start-stop distortion.

データ伝送においては,伝送路の影響により信号に歪を
生じる。調歩式伝送の場合には,この歪は調歩歪といわ
れる。
In data transmission, signal distortion occurs due to the influence of the transmission path. In the case of start-stop transmission, this distortion is called start-stop distortion.

〔従来の技術〕[Conventional technology]

調歩式伝送では,一般に独立した受信タイミング信号は
存在しない。そこでデータ受信装置において,受信した
データ信号のみに基づいて,その信号変化点から所定の
時間経過したタイミングで受信したデータ信号をサンプ
リングしている。
In asynchronous transmission, there is generally no independent reception timing signal. Therefore, in the data receiving device, the received data signal is sampled based on only the received data signal at the timing when a predetermined time has elapsed from the signal change point.

例えば,第5図に示す如きデータ信号Dのデータ伝送を
行うとする。この伝送速度(例えば300bps)は予め知る
ことができるので,データ受信装置は伝送速度の例えば
8倍の速度(周波数)のクロックCLKを独自に形成す
る。
For example, assume that data transmission of the data signal D as shown in FIG. 5 is performed. Since this transmission rate (for example, 300 bps) can be known in advance, the data receiving device uniquely forms the clock CLK having a rate (frequency) that is, for example, eight times the transmission rate.

調歩歪のない状態でデータ信号Dのデータ伝送が行われ
ると,その受信データ信号RD1はデータ信号Dと同様
の波形となる。データ受信装置は,受信データ信号RD
1が“1”から“0”に変化すると,その変化した点
(信号変化点)から4クロック後に受信データ信号RD
1をサンプリングし,以後8クロック毎にサンプリング
をくり返す。これにより,例えば「01…」というシリ
アルデータを得る。
When the data transmission of the data signal D is performed without the start-stop distortion, the received data signal RD1 has the same waveform as the data signal D. The data receiving device receives the received data signal RD.
When 1 changes from "1" to "0", the received data signal RD is 4 clocks after the changed point (signal change point).
1 is sampled and thereafter sampling is repeated every 8 clocks. Thereby, for example, serial data "01 ..." Is obtained.

このようにすることによって,受信データ信号RD1の
サンプリングを各ビットの略中央で行うことができるよ
うにしている。また,伝送速度に対して十分高速な(8
倍,16倍,32倍,…)クロックCLKを形成して使
用することにより,調歩歪に対するマージンを向上する
ようにしている。
By doing so, the sampling of the reception data signal RD1 can be performed at the approximate center of each bit. In addition, it is sufficiently faster than the transmission speed (8
Double, 16 times, 32 times, ...) By forming and using the clock CLK, the margin for the start-up distortion is improved.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

前述の従来技術によれば,伝送速度に対して十分高速な
クロックCLKを使用したとしても,調歩歪が50%未
満までしか正しく受信することはできない。
According to the above-mentioned conventional technique, even if the clock CLK that is sufficiently higher than the transmission rate is used, the start-up distortion can be correctly received only up to less than 50%.

例えば,データ信号Dのデータ伝送を行ったところ調歩
歪によりその受信データ信号が第5図図示のRD2の如
くになったとする。この調歩歪は“1”レベル幅を広く
する(“0”レベル幅を狭くする)歪であり,その歪度
は50%を越えている。この場合,信号変化点から4ク
ロック後のサンプリングの結果は,本来“0”であるべ
きなのに“1”が検出されてしまう。
For example, it is assumed that when data transmission of the data signal D is performed, the received data signal becomes RD2 shown in FIG. 5 due to start-stop distortion. This start-up distortion is a distortion that widens the "1" level width (narrows the "0" level width), and its skewness exceeds 50%. In this case, the result of sampling 4 clocks after the signal change point should be "0" although "1" should be detected.

また,データ信号Dの受信データ信号が調歩歪により第
5図図示のRD3の如くになったとする。この調歩歪は
“0”レベル幅を広くする(“1”レベル幅を狭くす
る)歪であり,その歪度は50%を越えている。この場
合,信号変化点から12クロック後のサンプリングの結
果は,本来“1”であるべきなのに“0”が検出されて
しまう。
It is also assumed that the received data signal of the data signal D becomes like RD3 shown in FIG. 5 due to the start-stop distortion. This start-up distortion is a distortion that widens the "0" level width (narrows the "1" level width), and its skewness exceeds 50%. In this case, the sampling result after 12 clocks from the signal change point should be "1", but "0" is detected.

このように従来技術によれば,調歩歪の歪度が不定であ
るにも拘らず,サンプリングの位置(タイミング)が各
ビットの略中央に実質的に固定されてしまっていたため
に,歪度が50%を越えると正しく受信することができ
ないという問題があった。
As described above, according to the conventional technique, although the skewness of the start-and-stop distortion is indefinite, the sampling position (timing) is substantially fixed at the approximate center of each bit, so that the skewness is There was a problem that it could not be received correctly when it exceeded 50%.

本発明は,調歩歪の歪度が50%を越えるような場合で
もデータ信号を正しく受信することが可能なデータ受信
装置を提供することを目的とする。
An object of the present invention is to provide a data receiving device capable of correctly receiving a data signal even when the skewness of the start-stop distortion exceeds 50%.

〔課題を解決するための手段〕[Means for Solving the Problems]

第1図は本発明の原理構成図であり,本発明によるデー
タ受信装置を示している。
FIG. 1 is a block diagram of the principle of the present invention, showing a data receiving apparatus according to the present invention.

第1図において,1はサンプリング回路,2はレジス
タ,3はパターン比較回路,4はタイミングジェネレー
タ,5はクロックジェネレータ,6は変換回路である。
In FIG. 1, 1 is a sampling circuit, 2 is a register, 3 is a pattern comparison circuit, 4 is a timing generator, 5 is a clock generator, and 6 is a conversion circuit.

受信データ信号RDは,データ送信装置から伝送路を介
して調歩式伝送され,当該データ受信装置で受信された
ものである。調歩式伝送においては,一般にデータ信号
は,1ビットの“0”からなるスタートビットと,1,
1.5又は2ビットの“1”からなるストップビット
と,スタートビットとストップビットに囲まれた任意の
ビット数(nビット)のデータビットとで構成される。
従って,受信データ信号RDはスタートビット及びスト
ップビットを含み,調歩歪が存在する場合,その“0”
レベル幅及び“1”レベル幅は歪度に応じて変化する。
The received data signal RD is transmitted in an asynchronous manner from the data transmitting device via the transmission path and received by the data receiving device. In start-stop transmission, a data signal is generally a start bit consisting of 1 bit "0",
It consists of 1.5 or 2 stop bits consisting of "1", and a start bit and an arbitrary number of data bits (n bits) surrounded by the stop bits.
Therefore, the reception data signal RD includes a start bit and a stop bit, and if start-stop distortion is present, it is "0".
The level width and the "1" level width change according to the skewness.

サンプリング回路1は,受信データ信号RDの少なくと
もスタートビット及びストップビットについて,当該受
信データ信号RDの伝送の速度より高速でサンプリング
して,これらのサンプリングパターンを得る手段であ
る。伝送速度は予め知ることができるので,サンプリン
グは伝送速度の8倍,16倍,32倍,…の速度のうち
のいずれかの予め定められた速度で行われる。
The sampling circuit 1 is means for sampling at least the start bit and the stop bit of the reception data signal RD at a speed higher than the transmission speed of the reception data signal RD to obtain these sampling patterns. Since the transmission rate can be known in advance, sampling is performed at a predetermined rate of 8 times, 16 times, 32 times, ... Of the transmission rate.

レジスタ2は,スタートビット及びストップビットのレ
ファレンスパターンを格納(記憶)する手段である。レ
ファレンスパターンは,調歩歪が存在しない場合のサン
プリングパターンを示すものであり,前記予め定められ
た速度でのサンプリングに対応するパターンとされる。
The register 2 is means for storing (memorizing) the reference pattern of the start bit and the stop bit. The reference pattern shows a sampling pattern when there is no start-stop distortion, and is a pattern corresponding to the sampling at the predetermined speed.

パターン比較回路3は,スタートビット及びストップビ
ットの各々について,そのサンプリングパターンとレフ
ァレンスパターンとを比較し,その結果として調歩歪の
有無,種別及び歪度を知る手段である。
The pattern comparison circuit 3 is a means for comparing the sampling pattern and the reference pattern for each of the start bit and the stop bit, and as a result, knowing the presence / absence, the type and the skewness of the start / stop distortion.

タイミングジェネレータ4は,パターン比較回路3での
比較の結果に応じて,後述するクロックCLKの変化タ
イミングを指示する手段である。変化タイミングは,例
えば,クロックCLKが“1”から“0”に変化するタ
イミングであり,受信データ信号RDのデータビットの
サンプリングのタイミングとして用いられる。
The timing generator 4 is means for instructing a change timing of a clock CLK, which will be described later, according to the result of comparison in the pattern comparison circuit 3. The change timing is, for example, the timing at which the clock CLK changes from “1” to “0”, and is used as the sampling timing of the data bit of the reception data signal RD.

クロックジェネレータ5は,タイミングジェネレータ4
からの指示に従った変化タイミングを有するクロックC
LKを形成する手段である。このクロックCLKは,受
信データ信号RDの伝送速度と同一の速度(周期)を持
つものとされる。
The clock generator 5 is the timing generator 4
Clock C with change timing according to instructions from
It is a means for forming LK. The clock CLK has the same speed (cycle) as the transmission speed of the received data signal RD.

変換回路6は,受信データ信号RDについて,クロック
ジェネレータ5からのクロックCLKを用いて,その
“1”から“0”への変化タイミングでサンプリングし
てデータを得る手段である。このサンプリングは特に受
信データ信号RDのデータビットについて行われる。変
換回路6は,このサンプリングによって得たnビットの
シリアルデータをnビットのパラレルデータに変換(シ
リアル−パラレル変換)して,送出する。
The conversion circuit 6 is means for obtaining the data by sampling the received data signal RD using the clock CLK from the clock generator 5 at the change timing from "1" to "0". This sampling is performed especially for the data bits of the received data signal RD. The conversion circuit 6 converts the n-bit serial data obtained by this sampling into n-bit parallel data (serial-parallel conversion) and sends it out.

〔作用〕[Action]

第2図は本発明の作用説明図であり,スタートビット及
びストップビットが各々1ビットの“0”及び1ビット
の“1”からなり,サンプリング回路1におけるサンプ
リングが伝送速度の8倍の速度で行われる場合を示して
いる。即ち,当該サンプリングは,受信データ信号RD
の伝送速度と同一の速度のクロックCLKの8倍の周波
数のクロック×8CLK(第2図(D))を用いて行わ
れる。
FIG. 2 is a diagram for explaining the operation of the present invention, in which the start bit and the stop bit each consist of 1 bit of “0” and 1 bit of “1”, and the sampling in the sampling circuit 1 is performed at a speed eight times the transmission speed. It shows the case where it is performed. That is, the sampling is performed on the received data signal RD.
This is performed by using a clock having a frequency eight times as high as the clock CLK having the same transmission speed as that of (8) .times.8 CLK (FIG. 2 (D)).

(1) 調歩歪が存在しない(第2図(A)の)場合 サンプリング回路1は,受信データ信号RDのスタート
ビット及びストップビットについて,クロック×8CL
Kを用いて,その“1”から“0”への変化タイミング
毎にサンプリングすることによって,8つのサンプルか
らなるサンプリングパターン「00000000」及び「111111
11」を得る。一方,レジスタ2は,サンプリングパター
ンに対応するように,8つのサンプルからなるスタート
ビット及びストップビットのレファレンスパターン「00
000000」及び「11111111」を格納する。
(1) When there is no start-up distortion (in FIG. 2 (A)) The sampling circuit 1 clocks 8 CL for the start bit and stop bit of the received data signal RD.
Sampling patterns "00000000" and "111111" consisting of eight samples are obtained by sampling every change timing from "1" to "0" using K.
Get 11 ". On the other hand, the register 2 has a reference pattern "00" of the start bit and the stop bit consisting of eight samples so as to correspond to the sampling pattern.
"000000" and "11111111" are stored.

従って,パターン比較回路3は,サンプリングパターン
とレファレンスパターンとが一致するので,調歩歪が無
いことを知る。
Therefore, the pattern comparison circuit 3 knows that there is no start-up distortion because the sampling pattern and the reference pattern match.

この比較の結果を受けたタイミングジェネレータ4は,
変化タイミングを指示するための信号を送出する。これ
を受けたクロックジェネレータ5は,第2図(A)図示
の如き,変化タイミングが当該クロックの周期の略中央
にある(デューティが50%である)ようなクロックC
LKを形成する。
The timing generator 4 receiving the result of this comparison
A signal for instructing the change timing is sent. Receiving this, the clock generator 5, as shown in FIG. 2 (A), has a clock C whose change timing is approximately in the center of the cycle of the clock (duty is 50%).
Form LK.

(2) 調歩歪が存在する(第2図(B)及び(C)の)
場合 第2図(B)の場合,スタートビット及びストップビッ
トのサンプリングパターンは各々「00001111」及び「11
111111」となる。従って,ストップビットの2つのパタ
ーンは一致するものの,スタートビットはサンプリング
パターンに“1”が含まれるので不一致となる。このこ
とから,パターン比較回路3は,“1”レベル幅を広げ
る調歩歪が存在し,その歪度はスタートビットのサンプ
リングパターン中の“1”の数から約50 (4/8)%であ
ることを知る。この結果,第2図(A)のクロックCL
Kよりも変化タイミングがt1だけ速いクロックCLK
が形成される。
(2) Autism distortion is present (in Fig. 2 (B) and (C))
Case In the case of FIG. 2B, the sampling patterns of the start bit and the stop bit are “00001111” and “11”, respectively.
It becomes 111111 ". Therefore, although the two patterns of the stop bit match, the start bit does not match because the sampling pattern includes "1". From this fact, the pattern comparison circuit 3 has a start-up distortion that widens the "1" level width, and the distortion degree is about 50 (4/8)% from the number of "1" s in the start bit sampling pattern. To know that. As a result, the clock CL of FIG.
Clock CLK whose change timing is faster than K by t1
Is formed.

一方,第2図(C)の場合,パターン比較回路3は,ス
トップビットのサンプリングパターンに“0”が含まれ
不一致となるので,“0”レベル幅を広げる調歩歪が存
在し,その歪度は約25%であることを知る。この結
果,第2図(A)のクロックCLKよりも変化タイミン
グがt2だけ遅いクロックCLKが形成される。
On the other hand, in the case of FIG. 2 (C), since the pattern comparison circuit 3 does not match because the sampling pattern of the stop bit includes "0", there is an asymmetrical distortion that widens the "0" level width, and the distortion degree thereof. Find out about 25%. As a result, a clock CLK whose change timing is later than the clock CLK of FIG. 2A by t2 is formed.

なお,タイミングジェネレータ4が送出する信号は,実
際は後述するテーブルを参照することによって形成され
る。
The signal sent by the timing generator 4 is actually formed by referring to a table described later.

以上のように調歩歪の有無,種別及び歪度に応じた変化
タイミングのクロックCLKを形成し,これをサンプリ
ングのタイミングとして用いることによって,変換回路
6は,受信データ信号RDのデータビットのサンプリン
グを調歩歪による“1”及び“0”レベル幅の変化に対
応して(各ビットの中央に固定されることなく),常に
各レベルの期間の中央において行うことができる。従っ
て,調歩歪が変動して50%を越えるような場合でも正
しいデータを得ることができる。
As described above, the conversion circuit 6 samples the data bits of the reception data signal RD by forming the clock CLK having the change timing according to the presence / absence of the asymmetrical distortion, the type, and the skewness, and using this as the sampling timing. Corresponding to changes in the "1" and "0" level widths due to start-stop distortion (not fixed to the center of each bit), it can always be performed in the center of the period of each level. Therefore, correct data can be obtained even when the start-stop distortion varies and exceeds 50%.

なお,調歩歪が50%以下の場合であっても,本発明に
よれば,十分にデータが確定したタイミングでデータの
サンプリングを行い得るので,確実に正しいデータを得
ることができ,データ伝送の高信頼化に有効である。
Even when the start-stop distortion is 50% or less, according to the present invention, the data can be sampled at the timing when the data is sufficiently determined, so that the correct data can be surely obtained and the data transmission can be performed. Effective for high reliability.

〔実施例〕〔Example〕

第3図は実施例構成図であり,データ受信装置を示して
いる。
FIG. 3 is a block diagram of an embodiment, showing a data receiving device.

第3図において,7はレシーバ,8は同期化回路,9は
スタート検出回路,31はパターン比較及びクロックタ
イミング指示信号作成回路(以下,指示回路)でありパ
ターン比較回路3とタイミングジェネレータ4とに対応
するもの,51はクロックジェネレータ,52は分周回
路であり,クロックジェネレータ51と共にクロックジ
ェネレータ5に対応するものである。
In FIG. 3, 7 is a receiver, 8 is a synchronization circuit, 9 is a start detection circuit, 31 is a pattern comparison and clock timing instruction signal generation circuit (hereinafter, instruction circuit), which is used for the pattern comparison circuit 3 and the timing generator 4. Reference numeral 51 is a clock generator, reference numeral 52 is a frequency dividing circuit, which corresponds to the clock generator 5 together with the clock generator 51.

データ送信装置から伝送されたデータ信号RD′は,受
信装置のレシーバ7で受信され,フリップ・フロップ回
路からなる同期化回路8においてクロック×8CLKで
同期化されて受信データ信号RDとされる。ここで,1
つのデータ信号RD′は,1ビットの“0”からなるス
タートビットと,1ビットの“1”からなるストップビ
ットと,これらに囲まれた4ビットのデータビットとの
6ビットで構成される。また,クロック×8CLKは,
データ受信装置側で独自に形成されるクロックであり,
データ信号RD′の伝送速度の8倍の速度(周波数)と
される。
The data signal RD 'transmitted from the data transmitting device is received by the receiver 7 of the receiving device, and is synchronized with the clock x8 CLK in the synchronizing circuit 8 including a flip-flop circuit to be the received data signal RD. Where 1
Each data signal RD 'is composed of 6 bits including a start bit composed of 1 bit "0", a stop bit composed of 1 bit "1", and 4 data bits surrounded by these. Also, the clock × 8 CLK is
A clock that is uniquely formed on the data receiving device side.
The transmission rate of the data signal RD 'is eight times (frequency).

スタート検出回路9は,受信データ信号RDのスタート
ビットの開始を検出する。即ち,受信データ信号RDが
6ビット時間(スタートビット+データビット+ストッ
プビット分)以上“1”を持続した状態(マーク状態)
の後に,最初に“1”から“0”へ変化するタイミング
をスタートビットの開始として検出し,データ取込開始
信号を送出する。
The start detection circuit 9 detects the start of the start bit of the reception data signal RD. That is, the received data signal RD is kept at "1" for 6 bit time (start bit + data bit + stop bit) (mark state)
After that, the timing of first changing from "1" to "0" is detected as the start of the start bit, and the data fetching start signal is transmitted.

データ取込開始信号を受けたシフトレジスタからなるサ
ンプリング回路(以下,シフトレジスタ)1は,1つの
受信データ信号RDを取り込む。この時,クロック×8
CLKがサンプリング及びシフトのためのクロックとし
て用いられる。即ち,シフトレジスタ1は,クロック×
8CLKの“1”から“0”への変化タイミング毎に受
信データ信号RDをサンプリングし,クロック×8CL
Kに同期してシフトする。この結果,シフトレジスタ1
には,48(=8×6)の状態(ビット)が取り込まれ
る。
A sampling circuit (hereinafter referred to as a shift register) 1 including a shift register that receives a data capture start signal captures one reception data signal RD. At this time, clock × 8
CLK is used as a clock for sampling and shifting. That is, the shift register 1 has a clock ×
The received data signal RD is sampled at each change timing of 8CLK from "1" to "0", and clock x 8CL
Shift in synchronization with K. As a result, the shift register 1
A state (bits) of 48 (= 8 × 6) is fetched in.

このサンプリングの終了後,指示回路31は,シフトレ
ジスタ1の最初の8ビット及び最後の8ビットを各々ス
タートビット及びストップビットのサンプリングパター
ンとして取り込むと共に,レジスタ2からこれらのレフ
ァレンスパターンを取り込む。そして,指示回路31
は,2つのパターンを比較して,調歩歪の有無,種別及
び歪度を知り,これに応じた変化タイミング指示信号を
形成する。
After the end of this sampling, the instruction circuit 31 fetches the first 8 bits and the last 8 bits of the shift register 1 as sampling patterns of the start bit and the stop bit, respectively, and fetches these reference patterns from the register 2. Then, the instruction circuit 31
Compares the two patterns to know the presence / absence of the asymmetrical distortion, the type, and the skewness, and forms a change timing instruction signal corresponding to this.

分周回路52は,基本的にはクロック×8CLK(第2
図(D)参照)を1/8 に分周してデューティ50%のク
ロックCLK(第2図(A)参照)を形成する。そし
て,分周回路52は変化タイミング指示信号を受けて,
これに応じてクロックCLKの“1”から“0”への変
化タインミング(デューティ)をそのままとするか又は
変更する(第2図(B)及び(C)参照)。
The frequency dividing circuit 52 is basically a clock × 8 CLK (second clock
(See FIG. 2D) is divided into 1/8 to form a clock CLK with a duty of 50% (see FIG. 2A). Then, the frequency dividing circuit 52 receives the change timing instruction signal,
In response to this, the change timing (duty) of the clock CLK from "1" to "0" is left unchanged or changed (see FIGS. 2B and 2C).

ここで,第2図(A)ないし(C)からも明らかなよう
に,受信データ信号RDの歪度又はサンプリングパター
ンとクロックCLKの変化タイミング又はデューティと
の間には,一定の関係が存在する。そこで,この関係を
予め求めて第4図に図示の如く,サンプリングパターン
とこれに対応する変化タイミングのクロックCLKを示
すテーブルを作成し,メモリ(図示せず)に格納してお
く。指示回路31は,サンプリングパターンを用いてテ
ーブルを参照し,当該サンプリングパターンに対応する
クロックCLKを知り,これに基づいてタイミング変化
指示信号を形成する。
Here, as is clear from FIGS. 2A to 2C, there is a fixed relationship between the skewness or sampling pattern of the received data signal RD and the change timing or duty of the clock CLK. . Therefore, by preliminarily obtaining this relationship, as shown in FIG. 4, a table showing the sampling pattern and the clock CLK of the change timing corresponding thereto is created and stored in the memory (not shown). The instruction circuit 31 refers to the table using the sampling pattern, knows the clock CLK corresponding to the sampling pattern, and forms the timing change instruction signal based on this.

このテーブルにおいて,「▽」はクロックCLKの変化
タイミング即ち受信データ信号RDのサンプリングタイ
ミングを示す。このテーブルから判るように,前記関係
は,例えば「スタートビットの8個のサンプル中に1個
の“1”が存在する時にはクロックCLKの“1”レベ
ル幅がデューティ50%の際の“1”レベル幅から1/8
だけ狭くされる」と考えることができる。
In this table, “∇” indicates the change timing of the clock CLK, that is, the sampling timing of the received data signal RD. As can be seen from this table, the relationship is, for example, "when there is one" 1 "in the eight samples of the start bit, the" 1 "level width of the clock CLK is" 1 "when the duty is 50%. Level width from 1/8
It will be narrowed only. "

なお,図示していないが,このテーブルは予想される全
てのサンプリングパターンについて,即ち,スタートビ
ットが「00000000」から「01111111」まで及びストップ
ビットが「11111111」から「00000001」までの場合につ
いて,各々対応するクロックCLKを示すようにされ
る。
Although not shown, this table shows all expected sampling patterns, that is, the start bits from “00000000” to “01111111” and the stop bits from “11111111” to “00000001”. The corresponding clock CLK is shown.

クロックCLKを受けた変換回路6は,受信データ信号
RDのデータビットのサンプリングを行う。これによ
り,4ビットのシリアルデータを正しく得ることができ
る。変換回路6は,4ビットのシリアルデータを4ビッ
トのパラレルデータに変換して,データとして送出す
る。
Upon receiving the clock CLK, the conversion circuit 6 samples the data bits of the reception data signal RD. As a result, 4-bit serial data can be obtained correctly. The conversion circuit 6 converts 4-bit serial data into 4-bit parallel data and sends it out as data.

〔発明の効果〕〔The invention's effect〕

以上説明したように,本発明によれば,調歩式伝送され
たデータ信号を受信するデータ受信装置において,調歩
歪の有無,種別及び歪度を知ることによってこれに応じ
たタイミングでデータのサンプリングを行うことができ
るので,調歩歪が50%を越えるような場合でも正しい
データを得ることができ,伝送路の品質に依らずにデー
タ伝送の信頼性を高めることができる。
As described above, according to the present invention, in a data receiving device that receives a data signal transmitted in an asynchronous manner, by knowing the presence / absence, type, and skewness of the asymmetrical distortion, data sampling is performed at a timing corresponding to this. Since it can be performed, correct data can be obtained even when the start-up distortion exceeds 50%, and the reliability of data transmission can be improved regardless of the quality of the transmission path.

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

第1図は本発明の原理構成図, 第2図は本発明の作用説明図, 第3図は実施例構成図, 第4図はテーブルを示す図, 第5図は従来技術説明図。 1はサンプリング回路,2はレジスタ,3はパターン比
較回路,4はタイミングジェネレータ,5はクロックジ
ェネレータ,6は変換回路である。
FIG. 1 is a block diagram showing the principle of the present invention, FIG. 2 is a diagram explaining the operation of the present invention, FIG. 3 is a block diagram showing an embodiment, FIG. 4 is a table showing a table, and FIG. Reference numeral 1 is a sampling circuit, 2 is a register, 3 is a pattern comparison circuit, 4 is a timing generator, 5 is a clock generator, and 6 is a conversion circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】調歩式伝送が行われるデータ伝送に用いら
れるデータ受信装置において, 調歩式伝送された受信データ信号における予め定められ
た論理値をもつ所定ビット幅のスタートビットと,当該
受信データにおける予め定められた論理値をもつ所定ビ
ット幅のストップビットとについて,前記伝送の速度よ
りも高速なサンプリングクロックでサンプリングして,
これらのサンプリングパターンを得る手段(1)と, 受信データに歪がない場合に前記スタートビットを前記
サンプリングクロックでサンプリングした際に得られる
べきパターンであるスタートビットレファレンスパター
ンと,受信データに歪がない場合に前記ストップビット
を前記サンプリングクロックでサンプリングした際に得
られるべきパターンであるストップビットレファレンス
パターンを格納する手段(2)と, 前記スタートビットをサンプリングしたサンプリングパ
ターンと前記スタートビットレファレンスパターンとを
比較し,かつ前記ストップビットをサンプリングしたサ
ンプリングパターンと前記ストップビットレファレンス
パターンとを比較するパターン比較回路(3)と, 前記スタートビットレファレンスパターンに対する比較
結果と,前記ストップビットレファレンスパターンに対
する比較結果との両者にもとづいて,前記受信データ信
号におけるデータビットを判定するタイミングを指示す
る手段(4)と, 前記指示に従った変化タイミングのクロックを形成する
手段(5)と, 前記受信データ信号について,前記クロックを用いて前
記データビットを判定してデータを得る手段(6)とを
備えた ことを特徴とするデータ受信装置。
1. A data receiving device used for data transmission in which start-stop transmission is performed, wherein a start bit having a predetermined bit width having a predetermined logical value in a start-transmitted reception data signal, and the reception data in the reception data. For a stop bit having a predetermined bit width having a predetermined logical value, sampling is performed with a sampling clock faster than the transmission speed,
A means (1) for obtaining these sampling patterns, a start bit reference pattern which is a pattern to be obtained when the start bit is sampled by the sampling clock when the received data is not distorted, and the received data is not distorted In this case, a means (2) for storing a stop bit reference pattern, which is a pattern to be obtained when the stop bit is sampled by the sampling clock, and a sampling pattern obtained by sampling the start bit and the start bit reference pattern are compared. And a pattern comparison circuit (3) for comparing a sampling pattern obtained by sampling the stop bit with the stop bit reference pattern, and the start bit reference pattern Means (4) for instructing the timing for determining the data bit in the received data signal based on both the comparison result for the stop bit reference pattern and the comparison result for the stop bit reference pattern, and a clock with a change timing according to the instruction. A data receiving apparatus comprising: means (5) for forming; and means (6) for determining the data bit of the received data signal by using the clock to obtain the data.
JP63245571A 1988-09-29 1988-09-29 Data receiver Expired - Lifetime JPH0624355B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63245571A JPH0624355B2 (en) 1988-09-29 1988-09-29 Data receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63245571A JPH0624355B2 (en) 1988-09-29 1988-09-29 Data receiver

Publications (2)

Publication Number Publication Date
JPH0292125A JPH0292125A (en) 1990-03-30
JPH0624355B2 true JPH0624355B2 (en) 1994-03-30

Family

ID=17135700

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63245571A Expired - Lifetime JPH0624355B2 (en) 1988-09-29 1988-09-29 Data receiver

Country Status (1)

Country Link
JP (1) JPH0624355B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5923646A (en) * 1982-07-29 1984-02-07 Matsushita Electric Ind Co Ltd bit clock playback device
JPS6146642A (en) * 1984-08-10 1986-03-06 Toyo Commun Equip Co Ltd Reception data sampling pulse generating circuit for serial data transmitter
JPS63207234A (en) * 1987-02-23 1988-08-26 Fujitsu Ltd Synchronizing data transmitting system

Also Published As

Publication number Publication date
JPH0292125A (en) 1990-03-30

Similar Documents

Publication Publication Date Title
US7406100B2 (en) Bi-directional single wire interface
US8027421B2 (en) Serial digital data communication interface for transmitting data bits each having a width of multiple clock cycles
CN102594741A (en) Communication circuit and method of adjusting sampling clock signal
JPH0624355B2 (en) Data receiver
US4964142A (en) Receiver synchronization in encoder/decoder
JP2000196570A (en) Data transmission equipment
JP2003134098A (en) Serial receiver
JP2010213204A (en) Data transmitting/receiving method
JP3006426B2 (en) FM multiplex encoder
JPS60211558A (en) Data transfer system
US7526017B2 (en) Transmitting device, receiving device, transmission system, and transmission method
JPS6025934B2 (en) Synchronous control method
JP2679474B2 (en) Data synchronization detection method
JP2000232371A (en) Serial/parallel conversion circuit
JPH08139711A (en) Asynchronous data receiving circuit
JP2751673B2 (en) Bit error rate measurement equipment for digital communication systems
KR200229125Y1 (en) A device of byte clock generator for i/o board
JPH1198200A (en) Asynchronous serial data transmission / reception method, transmission device, reception device, and transmission / reception device
JP2000261421A (en) Clock and data recovery circuit
JPH01146442A (en) Video data transmission system
JPH0522277A (en) Synchronous circuit
JP2002271306A (en) Series signal receiving circuit
SU1239878A2 (en) Cycle synchronizing device
JP2009094665A (en) Transmitter circuit
JP2012147494A (en) Transmission circuit