JPH0338786B2 - - Google Patents

Info

Publication number
JPH0338786B2
JPH0338786B2 JP56199507A JP19950781A JPH0338786B2 JP H0338786 B2 JPH0338786 B2 JP H0338786B2 JP 56199507 A JP56199507 A JP 56199507A JP 19950781 A JP19950781 A JP 19950781A JP H0338786 B2 JPH0338786 B2 JP H0338786B2
Authority
JP
Japan
Prior art keywords
signal
input
circuit
output
outputs
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
JP56199507A
Other languages
Japanese (ja)
Other versions
JPS58101545A (en
Inventor
Yasuo Arai
Izumi Takashima
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP56199507A priority Critical patent/JPS58101545A/en
Publication of JPS58101545A publication Critical patent/JPS58101545A/en
Publication of JPH0338786B2 publication Critical patent/JPH0338786B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/04Speed or phase control by synchronisation signals
    • H04L7/08Speed or phase control by synchronisation signals the synchronisation signals recurring cyclically

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Dc Digital Transmission (AREA)

Description

【発明の詳細な説明】 本発明は、シリアルデータ受信回路に関するも
のであり、さらに詳細には、ノイズ除去を可能と
するシリアルデータ受信回路に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a serial data receiving circuit, and more particularly to a serial data receiving circuit that enables noise removal.

第1図は一線方式における直列伝送方式の結線
図で、第2図に従来の直列伝送方式における受信
回路のブロツク図を、第3図に同じくそのタイム
チヤートの一例を示す。図において、Tは送信
側、Rは受信側、Lは信号ライン、SRはシフト
レジスタ、C1,C2はカウンタ、Oは発振器、G
はゲートを示す。次にその動作を第3図のデータ
転送のタイムチヤートにより説明する。第3図に
おいてaは送信信号、bは受信側Rにおける読込
みタイミングであり、受信側Rにおいては論理レ
ベル“1”から“0”への変化をトリガし、カウ
ンタC1はカウンタを開始し、t0時間後カウンタC1
の出力で入力信号ラインをサンプリングし、再び
“0”の時、カウンタC2を起動し、カウンタC2
より以後2t0時間毎にサンプリングし、シフトレ
ジスタSRに読み込んでいた。この例では、第1
ビツトとして“1”を、第2ビツトとして“0”
を、以下“0”,“0”,“1”,“0”…となる。従
つて、受信側Rがスタートビツトの入力待ちの
時、データラインLにノイズがのつた場合、受信
側RはデータラインLの“1”から“0”への変
化に感動し、受信動作を開始してしまう。この様
なはつきりしたノイズが発生しない場合でも、信
号ラインの配線容量のために波形がなまり、シフ
トレジスタの開始位置の特定が困難であつた。
FIG. 1 is a connection diagram of a serial transmission system in a one-line system, FIG. 2 is a block diagram of a receiving circuit in a conventional serial transmission system, and FIG. 3 is an example of the time chart. In the figure, T is the transmitting side, R is the receiving side, L is the signal line, SR is the shift register, C 1 and C 2 are the counters, O is the oscillator, and G
indicates a gate. Next, the operation will be explained with reference to a data transfer time chart shown in FIG. In FIG. 3, a is the transmission signal, b is the read timing at the receiving side R, which triggers a change in logic level from "1" to "0" at the receiving side R, and the counter C1 starts counting, t 0 hours later counter C 1
The input signal line was sampled with the output of , and when it was "0" again, the counter C 2 was activated, and thereafter the counter C 2 sampled every 2t 0 hours and read it into the shift register SR. In this example, the first
“1” as the bit, “0” as the second bit
are hereinafter referred to as "0", "0", "1", "0", etc. Therefore, if noise appears on the data line L while the receiving side R is waiting for a start bit to be input, the receiving side R will be impressed by the change in the data line L from "1" to "0" and will not perform the receiving operation. It starts. Even when such severe noise does not occur, the waveform becomes dull due to the wiring capacitance of the signal line, making it difficult to identify the start position of the shift register.

この様なことのため、スタートビツトの検出位
置がずれると、これに伴いスタートビツトに続く
データビツトのサンプリング位置が狂つてしま
い、誤つたデータあるいは変化途中のデータを読
み取つてしまう。また、スタートビツトに続くデ
ータビツトのサンプリングも1ビツト当り、1回
のためサンプリング時にノイズが存在した場合、
誤データを読み込む危険が高いという欠点があつ
た。
For this reason, if the detection position of the start bit shifts, the sampling position of the data bits following the start bit will shift accordingly, resulting in reading incorrect data or data that is in the process of changing. Furthermore, since the data bits following the start bit are sampled once per bit, if noise is present during sampling,
The drawback was that there was a high risk of reading incorrect data.

本発明は、この様な従来の欠点を除去するもの
で、n個にサンプリングされたスタートビツトの
論理値がM個入力したときにスタート信号を出力
するスタート信号発生回路と、このスタート信号
に基づいて多数決値の読み込み信号を発生する読
み込み信号発生手段を有するものである。
The present invention eliminates such conventional drawbacks, and includes a start signal generation circuit that outputs a start signal when M logic values of n sampled start bits are input, and a start signal generation circuit that outputs a start signal when M logic values of n sampled start bits are input. The device has a read signal generating means for generating a read signal of the majority decided value.

これにより、ノイズによる誤動作又は誤読取り
を避ける様にしたものである。以下本発明の一実
施例を図面により詳細に説明する。
This is to avoid malfunctions or erroneous readings due to noise. An embodiment of the present invention will be described in detail below with reference to the drawings.

第4図は、本発明のシリアルデータ受信回路の
ブロツク図で、1はn段のシフトレジスタ3の入
力信号線、2は同じくそのクロツク信号線、4は
n本の入力を有し、“0”入力がM本(n≧M)
以上の時にOUT0に論理レベル“1”が出力さ
れ、多数決結果出力OUT1に上記n本の入力の多
数決結果が出力されるデコーダ、5は上記スター
ト信号出力OUT0から出力される論理レベル
“1”を分周開始の指示入力とし、クロツク信号
をカウントするn進カウンタ、6は発振器、7は
シフトレジスタ、8はANDゲートを示す。第5
図は第4図の各部のタイムチヤートで、aは入力
信号線1に入力されるシリアル信号の一例、bは
発振器6からのクロツク信号出力、cはデコーダ
4のOUT0の出力、dは同じくOUT1の出力、e
はゲート8の出力であり、f,g,hはシフトレ
ジスタ7のそれぞれ第1段、第2段、第3段の出
力である。
FIG. 4 is a block diagram of a serial data receiving circuit according to the present invention, in which 1 is an input signal line of an n-stage shift register 3, 2 is a clock signal line thereof, 4 is a block diagram having n inputs, and 4 has n inputs. ”M inputs (n≧M)
In the above case, the logic level "1" is output to OUT0, and the majority decision result of the n inputs is output to the majority decision output OUT1.The decoder 5 outputs the logic level "1" output from the start signal output OUT0. An n-ary counter is used as an instruction input to start frequency division and counts a clock signal, 6 is an oscillator, 7 is a shift register, and 8 is an AND gate. Fifth
The figure is a time chart of each part in Fig. 4, where a is an example of the serial signal input to the input signal line 1, b is the clock signal output from the oscillator 6, c is the output of OUT0 of the decoder 4, and d is also the output of OUT1. output, e
is the output of the gate 8, and f, g, h are the outputs of the first stage, second stage, and third stage of the shift register 7, respectively.

これを動作させるには、今仮に第5図aのよう
なシリアルデータを受信したとする。n段シフト
レジスタ3はこの信号aを周期t0/nのクロツク
信号bによりn回のサンプリングして読み込み、
q0〜qoのサンプリングデータを出力する。デコー
ダ4の出力OUT0は、出力波形cに示すようにサ
ンプリングデータq0〜qoの論理レベル“0”の数
がM以上となつたときに論理値“1”を出力し、
同じくOUT1は出力波形dに示すようにサンプリ
ングデータq0〜qoの多数決結果を出力する。n進
カウンタ5は、OUT0の出力波形中のC1のパルス
をスタート信号として起動し、クロツク信号のn
進カウントを始める。AND回路8はこのn進カ
ウンタの所定値出力とクロツク信号のAND論理
をとり出力波形eに示すような読み込み信号を発
生する。シフトレジスタ7はデコーダ4のOUT1
の多数決結果の出力と読み込み信号を入力し、多
数決結果の読み込み信号入力時点の論理レベルを
読み取り、それぞれ第1段、第2段、第3段の出
力として出力波形f,g,hを出力する。
To operate this, suppose that serial data as shown in FIG. 5a is received. The n-stage shift register 3 samples and reads this signal a n times using a clock signal b with a period t 0 /n.
Output sampling data from q 0 to q o . The output OUT0 of the decoder 4 outputs a logic value "1" when the number of logic level "0" in the sampling data q 0 to q o becomes M or more, as shown in the output waveform c,
Similarly, OUT1 outputs the majority decision result of the sampling data q 0 to q o as shown in the output waveform d. The n-ary counter 5 starts with the pulse of C1 in the output waveform of OUT0 as a start signal, and starts with the n-ary pulse of the clock signal.
Start counting. The AND circuit 8 performs an AND logic between the predetermined value output of the n-ary counter and the clock signal, and generates a read signal as shown in the output waveform e. Shift register 7 is OUT1 of decoder 4
Inputs the majority vote result output and read signal, reads the logic level at the time of input of the majority vote result read signal, and outputs output waveforms f, g, and h as outputs of the first, second, and third stages, respectively. .

これによりシフトレジスタ7には入力信号線1
に送られてきたデータが順序どおり、正しく記録
されることとなる。
As a result, the shift register 7 has input signal line 1.
The data sent to the system will be recorded in the correct order.

このように、最初に入力されるスタートビツト
の論理レベル“0”が時間t0のM/n以上シフト
レジスタ3に入力した時点でスタートビツトの検
出とするので、スタートビツトの変化点を知るこ
となく読み込み信号を発生することができる。従
つて、スタートビツトの信号がなまり、スタート
ビツトの開始点を検出できない場合でも読み込み
信号を発生できるのである。
In this way, the start bit is detected when the logic level "0" of the first input start bit is input to the shift register 3 for more than M/n of time t0 , so it is difficult to know the change point of the start bit. It is possible to generate a read signal without any need. Therefore, a read signal can be generated even if the start bit signal is distorted and the starting point of the start bit cannot be detected.

さらには、スタートビツト及びデータビツトに
ノイズがある場合に、デコーダのOUT0出力は、
論理レベル“0”の数がM以上入力しないかぎり
論理レベル“1”からなるスタート信号を発生さ
せないので、ノイズが少ない場合には比較的早い
タイミング時点での多数決結果をシフトレジスタ
7に読み取らせ、多い場合は比較的遅いタイミン
グ時点での多数決結果をシフトレジスタ7に読み
取らせることになる。これにより、ノイズの量に
より多数決区間を変動させることが可能となり、
ノイズに合わせた多数決をとることができるよう
になる。
Furthermore, if there is noise in the start bit and data bit, the decoder's OUT0 output will be
Since a start signal consisting of a logic level "1" is not generated unless the number of logic level "0"s is M or more input, if there is little noise, the shift register 7 is made to read the majority vote result at a relatively early timing. If there are many, the shift register 7 is made to read the majority vote result at a relatively late timing. This makes it possible to vary the majority interval depending on the amount of noise.
It will be possible to take a majority vote based on the noise.

この様に、t0時間毎、即ち入力ビツトの時間幅
にして、そのM/n以上がシフトレジスタ3に入
力される毎に、シフトレジスタ3の出力内容から
“0”,“1”判定を多数決で行つているので、信
号ライン1にノイズがのり、その瞬間の誤つたデ
ータを受信側で読み込んだとしてもノイズによる
誤データの読み込み回数とシフトレジスタ3中の
M/n以下の不要データの読み込み回数の和は、
そのシフトレジスタ中のM/nビツト以上で、ノ
イズの存在していなかつた時点で読み込んだデー
タの読み込み回数と大小比較され、読込みデータ
の判定において有効となり得ず、ノイズによる誤
データは無効となり、正しいデータを受信したこ
とになる。
In this way, every time t0 , that is, every time M/n or more of the input bit time width is input to the shift register 3, a "0" or "1" determination is made from the output contents of the shift register 3. Since this is done by majority vote, even if there is noise on signal line 1 and erroneous data at that moment is read on the receiving side, the number of erroneous data reads due to noise and the unnecessary data of M/n or less in shift register 3 will be reduced. The sum of the number of reads is
M/n bits or more in the shift register are compared in size with the number of times the data was read when there was no noise, and cannot be valid in determining the read data, and incorrect data due to noise is invalid. This means that you have received the correct data.

以上詳細に説明したように、本発明によればス
タートビツトの検出も入力したデータの論理レベ
ルの判定も過去一定時間の入力したデータの論理
レベルの積算個数から行つているので、ノイズが
受信データに混入した場合でも結果として除去さ
れる。従つてノイズに強い伝送方式を必要とする
ところに利用して大きな効果がある。
As explained in detail above, according to the present invention, the detection of the start bit and the determination of the logic level of the input data are performed based on the cumulative number of logic levels of the input data over a certain period of time in the past. Even if it gets mixed in, it will be removed as a result. Therefore, it can be used in places that require a transmission system that is resistant to noise and has great effects.

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

第1図は一線方式の直列伝送方式による結線
図、第2図は従来の直列伝送方式におけるシリア
ルデータ受信回路のブロツク図、第3図は同じく
そのタイムチヤートの一例を示す図、第4図は本
発明のシリアルデータ受信回路の一実施例を示す
受信回路のブロツク図、第5図は同じくその各部
のタイムチヤート例である。 1…入力信号線、2…クロツク信号線、3…n
段のシフトレジスタ、5…n進カウンタ、6…発
振器、7…シフトレジスタ、8…ゲート。
Figure 1 is a connection diagram for a one-line serial transmission system, Figure 2 is a block diagram of a serial data receiving circuit in a conventional serial transmission system, Figure 3 is a diagram showing an example of the time chart, and Figure 4 is a diagram showing an example of the time chart. FIG. 5 is a block diagram of a receiving circuit showing one embodiment of the serial data receiving circuit of the present invention, and is also an example of a time chart of each part thereof. 1...Input signal line, 2...Clock signal line, 3...n
stage shift register, 5...n-ary counter, 6... oscillator, 7... shift register, 8... gate.

Claims (1)

【特許請求の範囲】 1 所定の論理レベルからなるスタートビツト
と、該スタートビツトに引き続くデータビツトと
からなるシリアルデータが入力されるシリアルデ
ータ受信回路において、 前記シリアルデータを逐次入力し、該データの
論理レベルをクロツク信号によりn回サンプリン
グしてn個の信号を出力する第1のn段記憶回路
と、 前記記憶回路のn個の出力信号を入力し、前記
スタートビツトの論理値が前記サンプリング回数
nより少ないM個入力したときに所定の論理レベ
ルの信号を出力するスタート信号発生回路と、 前記記憶回路のn個の出力信号を入力し、前記
n個のサンプリングデータの多数決結果信号を出
力する多数決回路と、 前記スタート信号発生回路の出力信号を受けて
カウント動作を開始し、入力するクロツク信号に
応動しカウント信号を出力するn進カウンタと、 該カウンタの出力信号が所定の値であるときに
読み込み信号を発生する手段と、 前記多数決結果信号を前記読み込み信号発生回
路の出力信号で読み込む第2記憶回路とを有する
シリアルデータ受信回路。
[Claims] 1. In a serial data receiving circuit to which serial data consisting of a start bit having a predetermined logic level and data bits following the start bit is input, the serial data is sequentially input, and the serial data is a first n-stage storage circuit that samples the logic level n times using a clock signal and outputs n signals; and inputs the n output signals of the storage circuit, and the logic value of the start bit is determined by the number of sampling times. a start signal generation circuit that outputs a signal of a predetermined logic level when M fewer than n input signals are input; and a start signal generation circuit that receives n output signals of the storage circuit and outputs a majority result signal of the n sampling data. a majority circuit; an n-ary counter that starts counting upon receiving the output signal of the start signal generation circuit and outputs a count signal in response to an input clock signal; and when the output signal of the counter is a predetermined value; 1. A serial data receiving circuit comprising: means for generating a read signal at a time; and a second storage circuit for reading the majority vote result signal using an output signal of the read signal generating circuit.
JP56199507A 1981-12-12 1981-12-12 Serial transmission system Granted JPS58101545A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56199507A JPS58101545A (en) 1981-12-12 1981-12-12 Serial transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56199507A JPS58101545A (en) 1981-12-12 1981-12-12 Serial transmission system

Publications (2)

Publication Number Publication Date
JPS58101545A JPS58101545A (en) 1983-06-16
JPH0338786B2 true JPH0338786B2 (en) 1991-06-11

Family

ID=16408962

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56199507A Granted JPS58101545A (en) 1981-12-12 1981-12-12 Serial transmission system

Country Status (1)

Country Link
JP (1) JPS58101545A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61253957A (en) * 1985-05-07 1986-11-11 Toshiba Electron Syst Kk Digital signal transmission equipment
JPH0511592U (en) * 1991-07-18 1993-02-12 横河電機株式会社 Noise suppress circuit
WO2006070507A1 (en) * 2004-12-28 2006-07-06 Matsushita Electric Industrial Co., Ltd. Data receiving device and data receiving method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4997559A (en) * 1973-01-18 1974-09-14
JPS5025787A (en) * 1973-05-31 1975-03-18
JPS5253603A (en) * 1975-10-28 1977-04-30 Kokusai Denshin Denwa Co Ltd <Kdd> Code discrimination system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4997559A (en) * 1973-01-18 1974-09-14
JPS5025787A (en) * 1973-05-31 1975-03-18
JPS5253603A (en) * 1975-10-28 1977-04-30 Kokusai Denshin Denwa Co Ltd <Kdd> Code discrimination system

Also Published As

Publication number Publication date
JPS58101545A (en) 1983-06-16

Similar Documents

Publication Publication Date Title
KR950010770B1 (en) Error detect &amp; correction method of wide data transmition
JPH0338786B2 (en)
US5625505A (en) Method of and apparatus for regenerating partial-response record signal
JPS5930217A (en) Demodulator having error detection mechanism
JP2856939B2 (en) Data receiving method
EP0603851A2 (en) Duty discriminating circuit
US4868853A (en) Demodulation circuit for digital modulated signal
JPS5943860B2 (en) Frame synchronization signal detection circuit
JPS624960Y2 (en)
SU1667152A2 (en) Device for correcting the limiting level during playback of magnetically recorded binary sequences
JPH0623082Y2 (en) Serial signal receiving circuit
JP2792120B2 (en) Digital phase control circuit
SU531293A1 (en) Device for receiving discrete information
SU1179413A1 (en) Device for adaptive compressing of information
JPS6042957A (en) Detecting circuit of frame synchronizing signal
JP2834881B2 (en) Data judgment device
SU692103A1 (en) Apparatus for detecting inserts and omissions of information in data transmission systems
SU1001171A1 (en) Device for monitoring digital recording-reproducing channel
SU670958A2 (en) Telemetry information processing device
SU1714811A1 (en) Binary code-to-time period converter
SU1059559A1 (en) Device for implementing input of information from discrete-type transduers
SU1667121A1 (en) Data input device
SU1107336A2 (en) Vertical synchronization device
RU1795446C (en) Multichannel device for code comparison
JPS59123335A (en) Method for detecting bit synchronism