JPS62234446A - Data reception - Google Patents

Data reception

Info

Publication number
JPS62234446A
JPS62234446A JP61077666A JP7766686A JPS62234446A JP S62234446 A JPS62234446 A JP S62234446A JP 61077666 A JP61077666 A JP 61077666A JP 7766686 A JP7766686 A JP 7766686A JP S62234446 A JPS62234446 A JP S62234446A
Authority
JP
Japan
Prior art keywords
data
pattern
speed
latch circuit
data rate
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
JP61077666A
Other languages
Japanese (ja)
Inventor
Kazunari Arai
一成 新井
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP61077666A priority Critical patent/JPS62234446A/en
Publication of JPS62234446A publication Critical patent/JPS62234446A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a data speed at a high speed in simple constitution by sampling fast the data where a data pattern is known and the data speed is unknown after detecting the speed of the input start-stop synchronizing serial data and deciding the data speed from the obtained data pattern. CONSTITUTION:When the input data speed is unknown,and the input data pattern is known, a timing control part 4 is first set through a control register 6 in response to the expected maximum data speed. Then the start-stop synchronizing serial data is read in a normal procedure. Here a data comparing part 8 compares the data obtained by a data latch circuit 3 with a pattern registered in a standard pattern memory part 9. When the input data speed is coincident with the data speed set presently, the data speed can be fixed. If the input data speed is lower than the set data speed, the part 8 searches for a pattern of another data speed out of the part 9. Then the desired data speed is known when a coincident pattern is obtained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ送受信の速度合わせに利用する。[Detailed description of the invention] [Industrial application field] The present invention is used to adjust the speed of data transmission and reception.

特に、調歩同期直列データのデータ速度を検出する方式
に関する。
In particular, the present invention relates to a method for detecting the data rate of asynchronous serial data.

〔概 要〕〔overview〕

本発明は、入力された調歩同期直列データのデータ速度
を検出して受信するデータ受信方式において、 データパターンが既知で速度が未知のデータを高速にサ
ンプリングし、得られたパターンからデータ速度を決定
することにより、 簡単な構成で高速にデータ速度を求めるものである。
The present invention employs a data reception method that detects and receives the data rate of input asynchronous serial data, in which data with a known data pattern and unknown rate is sampled at high speed, and the data rate is determined from the obtained pattern. By doing so, high data speeds can be obtained with a simple configuration.

〔従来の技術〕[Conventional technology]

第5図は従来例データ速度検出回路の要部ブロック構成
図である。
FIG. 5 is a block diagram of a main part of a conventional data rate detection circuit.

従来のデータ速度検出回路では、調歩同期直列データを
、データ速度よりも十分に速いクロック(3倍以上の速
度)でサンプリングし、これをラッチ回路に保持し、こ
のラッチ回路の出力を読み出すことによって入力データ
の波形を知り、これからデータ速度を検出していた。
In conventional data rate detection circuits, asynchronous serial data is sampled using a clock that is sufficiently faster than the data rate (3 times faster than the data rate), held in a latch circuit, and read out the output of this latch circuit. The waveform of the input data was known and the data rate was detected from this.

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

このため従来のデータ受信回路は、調歩同期直列データ
を並列データに変換するための回路とは別にデータ速度
検出回路が必要となる欠点があった。
For this reason, the conventional data receiving circuit has the disadvantage that a data rate detection circuit is required in addition to a circuit for converting asynchronous serial data into parallel data.

本発明は、以上の問題点を解決し、簡単な回路構成でデ
ータ速度を検出できるデータ受信方式を提供することを
目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above problems and provide a data reception method that can detect data speed with a simple circuit configuration.

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

本発明のデータ受信方式は、入力された調歩直列データ
をサンプリングして保持するラッチ回路と、このランチ
回路の出力を取り込んで並列データに変換するシフトレ
ジスタと、上記ラッチ回路および上記シフトレジスタの
動作速度を設定するタイミング手段と、上記調歩直列デ
ータのデータ速度を検出して上記タイミング手段を制御
するデータ速度検出手段とを備えたデータ受信方式にお
いて、上記ラッチ回路および上記シフトレジスタは期待
される最高のデータ速度以上の速度で動作する構成であ
り、上記データ速度検出手段は、上記シフトレジスタに
蓄積されたデータのパターンのうちからデータ速度決定
用に入力された既知のデータパターンに対応するパター
ンをデータ速度に対応してあらかじめ登録された標準パ
ターンと比較して上記調歩直列データのデータ速度を検
出する手段を含むことを特徴とする。
The data reception method of the present invention includes a latch circuit that samples and holds input asynchronous serial data, a shift register that takes in the output of this launch circuit and converts it into parallel data, and operations of the latch circuit and the shift register. In a data receiving system comprising a timing means for setting a speed and a data speed detecting means for detecting a data speed of the asynchronous serial data and controlling the timing means, the latch circuit and the shift register are configured to provide the maximum expected speed. The data rate detecting means detects a pattern corresponding to a known data pattern input for data rate determination from among the data patterns accumulated in the shift register. The present invention is characterized in that it includes means for detecting the data speed of the start-stop serial data by comparing it with a standard pattern registered in advance corresponding to the data speed.

〔作 用〕[For production]

本発明のデータ受信方式は、データ速度を検出するため
に既知の入力データパターンを用いる。
The data reception scheme of the present invention uses a known input data pattern to detect data rate.

予想される最高のデータ速度以上の速度でこの人力デー
タパターンをサンプリングすると、データ速度により異
なる出力データパターンが得られる。
Sampling this human data pattern at a rate greater than or equal to the highest expected data rate will result in different output data patterns depending on the data rate.

したがって、このデータ速度と出力データパターンとの
対応をあらかじめ記憶しておき、これと比較してデータ
速度を知ることができる。
Therefore, the data rate can be known by storing the correspondence between the data rate and the output data pattern in advance and comparing it with this.

〔実施例〕〔Example〕

第1図は本発明データ受信回路のブロック構成図である
FIG. 1 is a block diagram of a data receiving circuit according to the present invention.

ラッチ回路1は伝送路を介してデータ送信回路に接続さ
れ、このデータ伝送回路から調歩同期直列データが入力
される。ラッチ回路1の出力はシフトレジスタ2とタイ
ミング制御部4とに接続される。シフトレジスタ2はデ
ータラッチ回路3に接続される。データラッチ回路3は
データバス7を介してデータ比較部8に接続される。デ
ータ比較部8はデータバス7を介して制御レジスタ6に
接続される。データ比較部8はさらに標準パターン記憶
部9に接続される。制御レジスタ6はタイミング制御部
4とクロック発生部5とに接続される。クロック発生部
5はタイミング制御部4に接続される。タイミング制御
部4は、ラッチ回路1と、シフトレジスタ2とに接続さ
れる。
The latch circuit 1 is connected to a data transmission circuit via a transmission line, and asynchronous serial data is input from this data transmission circuit. The output of the latch circuit 1 is connected to a shift register 2 and a timing control section 4. Shift register 2 is connected to data latch circuit 3. Data latch circuit 3 is connected to data comparator 8 via data bus 7 . Data comparator 8 is connected to control register 6 via data bus 7 . The data comparison section 8 is further connected to a standard pattern storage section 9. The control register 6 is connected to the timing control section 4 and the clock generation section 5. The clock generator 5 is connected to the timing controller 4. The timing control section 4 is connected to the latch circuit 1 and the shift register 2.

ラッチ回路lは、タイミング制御部4からのクロックに
よって入力データをサンプリングし、そのデータを保持
する。タイミング制御部4は、ラッチ回路lの出力を監
視してスタートビットを検出すると、あらかじめ定めら
れた時間間隔毎にラッチ回路1の出力をシフトレジスタ
2に取り込むように、シフトレジスタ2を制御する。シ
フトレジスタ2にあらかじめ定められた個数のデータを
取り込み終えると、タイミング制御部4によってシフト
レジスタ2内のデータが出力用のデータラッチ回路3に
送られる。データラッチ回路3に取り込まれたデータは
、データバス7を通じてデータ比較部8に送られる。制
御レジスタ6はデータバスを通じてデータ比較部8に接
続され、タイミング制御部4およびクロック発生部5を
データ比較部8の出力に基づいて制御できる。またシフ
トレジスタ2が定められた個数のデータを取り込み、こ
のデータをデータラッチ回路3に送ったときには、その
情報が制御レジスタ6を通じてデータ比較部8に通知さ
れる。標準パターン記憶部9には、ある既知のデータパ
ターンに対してあらかじめ期待される最高のデータ速度
で入力を行った場合の、期待されるすべてのデータ速度
に対応する出力データパターンが登録されている。デー
タ比較部8は、データラッチ回路3に出力されたデータ
と登録されたパターンとを比較し、一致する登録パター
ンを探す。
The latch circuit 1 samples input data using a clock from the timing control section 4 and holds the data. When the timing control section 4 monitors the output of the latch circuit 1 and detects a start bit, it controls the shift register 2 so that the output of the latch circuit 1 is taken into the shift register 2 at predetermined time intervals. When a predetermined number of data has been loaded into the shift register 2, the timing control unit 4 sends the data in the shift register 2 to the data latch circuit 3 for output. The data taken into the data latch circuit 3 is sent to the data comparator 8 via the data bus 7. The control register 6 is connected to the data comparison section 8 through a data bus, and can control the timing control section 4 and the clock generation section 5 based on the output of the data comparison section 8. Further, when the shift register 2 takes in a predetermined number of data and sends this data to the data latch circuit 3, the information is notified to the data comparator 8 through the control register 6. In the standard pattern storage unit 9, output data patterns corresponding to all expected data speeds are registered when a certain known data pattern is inputted at the highest data speed expected in advance. . The data comparison section 8 compares the data output to the data latch circuit 3 with the registered pattern, and searches for a matching registered pattern.

第2図に調歩同期直列データのパターンの一例を示す。FIG. 2 shows an example of a pattern of asynchronous serial data.

横方向が時間軸であり、左から右へ時間が増大する。ス
タートビットは「0」極性をもち、一定の時間間隔でb
0〜b、の8個のデータがあり、ストップビットは「1
」極性をもつものとする。b0〜b7はそれぞれrOJ
または「1」極性をもつ。
The horizontal direction is the time axis, and time increases from left to right. The start bit has a “0” polarity, and b
There are 8 data from 0 to b, and the stop bit is "1".
” shall have polarity. b0 to b7 are each rOJ
Or has "1" polarity.

入力されるデータ速度が既知であれば、上述の手順によ
って、データラッチ回路3には、入力されたデータが正
しく並列データに変換されて供給される。まず、タイミ
ング制御部4がスタートビットを検出すると、第2図の
上向き矢印に示されるサンプリング点において、データ
b。−b7をシフトレジスタ2に取り込む。ここで、タ
イミング制御部4によってシフトレジスタ2の内容すな
わちb0〜b7がデータランチ回路3に送られる。
If the input data rate is known, the input data is correctly converted into parallel data and supplied to the data latch circuit 3 by the above-described procedure. First, when the timing control unit 4 detects a start bit, data b is detected at the sampling point indicated by the upward arrow in FIG. -b7 is taken into shift register 2. Here, the timing control unit 4 sends the contents of the shift register 2, ie, b0 to b7, to the data launch circuit 3.

これにより、入力された直列のデータb0〜b。As a result, the input serial data b0 to b.

がデークラッチ回路3の出力として得られる。is obtained as the output of the day latch circuit 3.

これに対してデータ速度が未知の場合には、入力データ
のパターン(第2図のデータb。−b。
On the other hand, if the data rate is unknown, the input data pattern (data b.-b in FIG. 2).

のパターン)が既知であれば、次のような手順によりデ
ータ速度を検出することができる。
If the data rate (pattern) is known, the data rate can be detected by the following procedure.

まず、制御レジスタ6を通じて期待される最高速のデー
タ速度に合わせてタイミング制御部4を設定し、調歩同
期直列データを上述した通常の手順で読み込む。このと
きデータ比較部8が、データラッチ回路3に得られたデ
ータを標準パターン記憶部9に登録されている各パター
ンと比較する。
First, the timing control section 4 is set through the control register 6 in accordance with the expected highest data rate, and the asynchronous serial data is read in using the normal procedure described above. At this time, the data comparison section 8 compares the data obtained by the data latch circuit 3 with each pattern registered in the standard pattern storage section 9.

人力のデータ速度が現在設定されているデータ速度と一
致していれば、既知のデータパターンがそのまま出力デ
ータと一致するので、これによりデータ速度が決定され
る。また、入力のデータ速度が現在設定されているデー
タ速度より低ければ、出力データは既知パターンとは一
致しない。データ比較部8は、標準パターン記憶部9に
登録されている他のデータ速度のパターンを探し、一致
するパターンがあればそのデータ速度であることを知る
If the human data rate matches the currently set data rate, the known data pattern will directly match the output data, and the data rate will be determined based on this. Also, if the input data rate is lower than the currently set data rate, the output data will not match the known pattern. The data comparison section 8 searches for patterns of other data speeds registered in the standard pattern storage section 9, and if a matching pattern is found, it knows that the data speed is that one.

第3図および第4図はデータの一例を示し、これを参照
して上述のデータ速度検出手順を説明する。
3 and 4 show examples of data, with reference to which the above-described data rate detection procedure will be explained.

これらの図ではデータ速度が異なるrioiil 01
0Jのデータパターンを示す。入力される既知のデータ
パターンがrlollloloJの8個であるとすると
、データ速度が設定値の1/2であった場合には、デー
タラッチ回路3には第3図の左側のようにrolloo
lllJの8個のデータが得られる。データ比較部8は
、標準パターン記憶部9に登録されているパターンの中
からこのパターンに一致するものを探し、そのパターン
の登録されているデータ速度の2番目の登録パターンが
、出力される2番目の8個のデータ(第3図の右側のr
olloolllJ)と一致することを確認し、検出し
たデータ速度を外部に通知する。さらに、第4図のよう
にデータ速度が設定値の4倍であった場合には、最初の
8個のデータはrooolllloJとなり、2番目は
[01111111Jとなり、さらにいくつかのデータ
が続く。ただし第4図では既知パターン[101110
10Jの最初の部分だけを示す。データ比較部8は、こ
れらすべてのパターンを登録されたパターンと比較して
、−敗したデータ速度を外部に通知する。
These figures show rioiil 01 with different data rates.
The data pattern of 0J is shown. Assuming that the known data patterns to be input are 8 pieces of rlolloloJ, and the data rate is 1/2 of the set value, the data latch circuit 3 has 8 pieces of rlolloloJ as shown on the left side of FIG.
Eight pieces of data of lllJ are obtained. The data comparison unit 8 searches for a pattern matching this pattern among the patterns registered in the standard pattern storage unit 9, and the second registered pattern of the registered data rate of the pattern is outputted as the second registered pattern. 8th data (r on the right side of Figure 3)
olloollJ) and notifies the detected data rate to the outside. Furthermore, if the data rate is four times the set value as shown in FIG. 4, the first eight pieces of data will be rooolloJ, the second will be [01111111J, and some more data will follow. However, in Fig. 4, the known pattern [101110
Only the first part of 10J is shown. The data comparison unit 8 compares all these patterns with the registered patterns and notifies the outside of the data rate that has failed.

以上のようにして未知のデータ速度を検出することがで
きる。データ速度が決定されれば、検出されたデータ速
度に合わせてタイミング制御711部4を設定しなおす
ことにより、以降のデータを正常に受信することができ
る。
The unknown data rate can be detected in the above manner. Once the data rate is determined, subsequent data can be received normally by resetting the timing control section 4 in accordance with the detected data rate.

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

以上説明したように、本発明のデータ受信方式は、デー
タ速度検出回路を別に用意することなしに未知のデータ
速度を検出し、以降のデータを並列に変換することがで
きる。
As described above, the data reception method of the present invention can detect an unknown data rate without separately preparing a data rate detection circuit, and can convert subsequent data into parallel data.

本発明はデータ処理装置の間のデータ転送に用いて大き
な効果がある。
The present invention has great effects when used for data transfer between data processing devices.

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

第1図は本発明実施例データ受信回路のブロック構成図
。 第2図は調歩同期直列データの一例を示す図。 第3図はデータ速度検出の動作例を示す図。 第4図はデータ速度検出の動作例を示す図。 第5図は従来例データ速度検出回路の要部ブロック構成
図。 1・・・ラッチ回路、2・・・シフトレジスタ、3・・
・データラッチ回路、4・・・タイミング制御部、5・
・・クロック発生部、6・・・制御レジスタ、7・・・
データバス、8・・・データ比較部、9・・・標準パタ
ーン記憶部。
FIG. 1 is a block diagram of a data receiving circuit according to an embodiment of the present invention. FIG. 2 is a diagram showing an example of asynchronous serial data. FIG. 3 is a diagram showing an operation example of data rate detection. FIG. 4 is a diagram showing an operation example of data rate detection. FIG. 5 is a block diagram of a main part of a conventional data rate detection circuit. 1...Latch circuit, 2...Shift register, 3...
・Data latch circuit, 4...timing control section, 5.
...Clock generator, 6...Control register, 7...
Data bus, 8... Data comparison section, 9... Standard pattern storage section.

Claims (1)

【特許請求の範囲】[Claims] (1)入力された調歩直列データをサンプリングして保
持するラッチ回路と、 このラッチ回路の出力を取り込んで並列データに変換す
るシフトレジスタと、 上記ラッチ回路および上記シフトレジスタの動作速度を
設定するタイミング手段と、 上記調歩直列データのデータ速度を検出して上記タイミ
ング手段を制御するデータ速度検出手段と を備えたデータ受信方式において、 上記ラッチ回路および上記シフトレジスタは期待される
最高のデータ速度以上の速度で動作する構成であり、 上記データ速度検出手段は、上記シフトレジスタに蓄積
されたデータのパターンのうちからデータ速度決定用に
入力された既知のデータパターンに対応するパターンを
データ速度に対応してあらかじめ登録された標準パター
ンと比較して上記調歩直列データのデータ速度を検出す
る手段を含むことを特徴とするデータ受信方式。
(1) A latch circuit that samples and holds the input asynchronous serial data, a shift register that captures the output of this latch circuit and converts it into parallel data, and a timing for setting the operating speed of the latch circuit and shift register. and data rate detection means for detecting the data rate of the asynchronous serial data to control the timing means, wherein the latch circuit and the shift register are arranged to detect a data rate of the asynchronous serial data and control the timing means. The data rate detecting means detects a pattern corresponding to a known data pattern inputted for data rate determination from among the data patterns accumulated in the shift register to correspond to the data rate. A data receiving system comprising means for detecting a data speed of the start-stop serial data by comparing it with a standard pattern registered in advance.
JP61077666A 1986-04-04 1986-04-04 Data reception Pending JPS62234446A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61077666A JPS62234446A (en) 1986-04-04 1986-04-04 Data reception

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61077666A JPS62234446A (en) 1986-04-04 1986-04-04 Data reception

Publications (1)

Publication Number Publication Date
JPS62234446A true JPS62234446A (en) 1987-10-14

Family

ID=13640201

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61077666A Pending JPS62234446A (en) 1986-04-04 1986-04-04 Data reception

Country Status (1)

Country Link
JP (1) JPS62234446A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006141011A (en) * 2004-11-10 2006-06-01 Agilent Technol Inc Data communication device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006141011A (en) * 2004-11-10 2006-06-01 Agilent Technol Inc Data communication device

Similar Documents

Publication Publication Date Title
JPS63142742A (en) Method and apparatus for detecting expected bit pattern in successive bit stream
US4415968A (en) Digital data processing system with asynchronous sensing units
US5079696A (en) Apparatus for read handshake in high-speed asynchronous bus interface
JPS62234446A (en) Data reception
JPH02179046A (en) Signal encoding system
JPS63193642A (en) Receiving circuit for serial data
JPH05235916A (en) Data transfer device
KR0121161Y1 (en) Switching system in common parallel bus
JPH0630506B2 (en) Serial communication device
JPH04123160A (en) Receiving data processing system
JPH05158838A (en) Semiconductor device for controlling communication
JPS63197285A (en) Hybrid type interrupt processor
JP2708366B2 (en) Data processing system and auxiliary control device
JPH11205396A (en) Serial communication equipment
JPS61214633A (en) Synchronizing system for superframe
SU746895A1 (en) Device for synchronizing monitor and standard digital signals
JPS62269539A (en) Communication controller
JP2949118B1 (en) Encoder data output method for bus communication type encoder device
JPS6094561A (en) Transmission timing control system in serial interface
JPS61121632A (en) Serial transmitter
JPS60221860A (en) Data transferring system
JPS6286945A (en) Data communication system
JPH0621936A (en) Signal processing method
JPS61189025A (en) Serial-parallel converting system
JPH0662057A (en) Asynchronous data transmission system