JP2003348059A - Asynchronous data fetching device - Google Patents

Asynchronous data fetching device

Info

Publication number
JP2003348059A
JP2003348059A JP2002152855A JP2002152855A JP2003348059A JP 2003348059 A JP2003348059 A JP 2003348059A JP 2002152855 A JP2002152855 A JP 2002152855A JP 2002152855 A JP2002152855 A JP 2002152855A JP 2003348059 A JP2003348059 A JP 2003348059A
Authority
JP
Japan
Prior art keywords
data
asynchronous
synchronous
bit width
clock
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
JP2002152855A
Other languages
Japanese (ja)
Inventor
Shinichi Kawasumi
真一 川住
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.)
Toyo Communication Equipment Co Ltd
Original Assignee
Toyo Communication Equipment 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 Toyo Communication Equipment Co Ltd filed Critical Toyo Communication Equipment Co Ltd
Priority to JP2002152855A priority Critical patent/JP2003348059A/en
Publication of JP2003348059A publication Critical patent/JP2003348059A/en
Pending legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an asynchronous data fetching device dispensing with a local oscillator and effective in performing miniaturization by fetching asynchronous data by using a synchronous system clock to be supplied. <P>SOLUTION: The number of clocks to be counted by a counter 5 and bit width are determined and stored in a frequency table 6 by preliminarily associating the number of clocks with the bit width. Logical value outputs of F/F2 and F/F3 holding received data on the basis of the synchronous system clock are compared with each other by a comparator 4 and an identical logical continuation frequency monitoring part 7 detects the bit width from the counted value outputted by the counter 5 by referring to the frequency table 6 at a timing when the logical outputs are mismatched. The counter 5 is reset when the logical outputs are mismatched and counts the synchronous system clock again. A data fetching part 30 successively fetches pieces of data by fetching logical values to be outputted by F/F3 by the bit width by a bit width detection signal. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、非同期データ取込
装置に関し、特に、局部発振器を持たずに同期系から供
給されるクロックのみを用いて非同期データを取り込む
技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an asynchronous data capturing device, and more particularly to a technology for capturing asynchronous data using only a clock supplied from a synchronous system without a local oscillator.

【0002】[0002]

【従来の技術】非同期通信によるデータを、同期網を介
してデータ転送する場合がある。この場合、非同期系ク
ロックに基づき伝送されてきたデータを同期系クロック
に載せ変えて転送することになるが、その過程におい
て、非同期通信のデータを一旦取り込む作業が行なわれ
る。
2. Description of the Related Art Data transferred by asynchronous communication may be transferred via a synchronous network. In this case, the data transmitted based on the asynchronous system clock is transferred while being mounted on the synchronous system clock. In the process, an operation of once taking in the data of the asynchronous communication is performed.

【0003】図4は、非同期通信によるデータを、同期
網を介してデータ転送する場合のシステム構成例を示す
図である。この例では、非同期/同期IF部100が複
数の非同期シリアル通信を収容し、非同期系データを取
り込み、同期系クロックにデータを載せ換えて多重部2
00に渡す。そして、多重部200は、時分割多重した
多重化信号としてデータ転送を行なうものとする。この
とき非同期/同期IF部100が載せ換えるべき同期系
クロックは、多重部200から供給される。なお、ここ
では非同期通信にRS232Cを用いた場合を例に説明
する。
FIG. 4 is a diagram showing an example of a system configuration when data by asynchronous communication is transferred via a synchronous network. In this example, the asynchronous / synchronous IF unit 100 accommodates a plurality of asynchronous serial communications, fetches asynchronous data, replaces data with a synchronous clock, and
Pass to 00. The multiplexing section 200 performs data transfer as a multiplexed signal obtained by time division multiplexing. At this time, the synchronous system clock to be replaced by the asynchronous / synchronous IF unit 100 is supplied from the multiplexing unit 200. Here, a case where RS232C is used for asynchronous communication will be described as an example.

【0004】この非同期/同期IF部100は、動作ク
ロックを生成する局部発振器101と、該動作クロック
に基づいて演算処理動作するCPU102と、前記動作
クロックを分周し非同期通信の通信速度毎に対応した通
信速度クロックを生成する1/n分周器103と、前記
CPU102により制御されるROM104やRAM1
05などの周辺回路106を備えている。非同期/同期
IF部100は、このような構成においてソフトウェア
処理を行なうことで、非同期通信のデータを取り込み、
同期系クロックにデータを載せ換えていた。
The asynchronous / synchronous IF section 100 includes a local oscillator 101 for generating an operation clock, a CPU 102 for performing arithmetic processing based on the operation clock, and dividing the operation clock for each communication speed of asynchronous communication. 1 / n frequency divider 103 for generating a communication speed clock, and ROM 104 and RAM 1 controlled by CPU 102
05 is provided. The asynchronous / synchronous IF unit 100 captures data of asynchronous communication by performing software processing in such a configuration,
Data was transferred to the synchronous clock.

【0005】次に、上述した非同期/同期IF部100
を機能ブロック図に示し、その処理動作を説明する。図
5は、従来の非同期/同期IF部の構成例を示す機能ブ
ロック図である。同図に示すように、非同期/同期IF
部の構成は、受信した非同期データを取込むための非同
期データ取込装置と、取込んだデータを同期データに変
換するためのデータ変換装置とに大きく分けられる。こ
こで、入出力の各信号を以下のように仮定する。非同期
通信による受信データの通信速度は1200bpsとす
る。また、局部発振器が生成する動作クロックは2MH
zとし、これを分周して1200Hzの通信速度クロッ
クが生成されているものとする。また、外部より供給さ
れる同期系クロックは64kHzとする。非同期データ
取込装置からの出力は、非同期通信のデータを同期系ク
ロックの64kHzに載せ換えたものとする。この例に
示す非同期/同期IF部は、非同期通信の受信データを
動作クロックを用いて一定時間毎にサンプリング(情報
の抽出)することによりRS232Cフォーマットのス
タートビット(ST)を検出するスタートビット検出部
10と、前記スタートビット検出部10の検出タイミン
グに基づき前記通信速度クロックの位相を受信データ中
の各ビットの中間に位置するよう位相を合わせる位相変
換部20と、位相変換部20にて位相変換された通信速
度クロックに基づき前記スタートビット検出部10から
の受信データを取り込むデータ取込部30と、予め非同
期通信に係る設定パラメータを記憶したパラメータテー
ブル50を参照し、前記データ取込部30が取り込んだ
データについて設定されたパラメータ条件の照合確認を
行なう条件照合部40と、前記照合確認の結果が照合O
Kでパスすると同期系クロックに基づき取り込んだデー
タを順次出力する同期系出力部60とを備える。
Next, the above-mentioned asynchronous / synchronous IF section 100
Is shown in a functional block diagram, and the processing operation will be described. FIG. 5 is a functional block diagram showing a configuration example of a conventional asynchronous / synchronous IF unit. As shown in FIG.
The configuration of the unit can be broadly divided into an asynchronous data capturing device for capturing the received asynchronous data and a data converter for converting the captured data into synchronous data. Here, the input and output signals are assumed as follows. The communication speed of the received data by the asynchronous communication is 1200 bps. The operation clock generated by the local oscillator is 2 MHz.
It is assumed that a communication speed clock of 1200 Hz is generated by dividing this frequency. The synchronous clock supplied from outside is 64 kHz. The output from the asynchronous data acquisition device is assumed to be data obtained by replacing asynchronous communication data with a synchronous clock of 64 kHz. The asynchronous / synchronous IF unit shown in this example is a start bit detection unit that detects a start bit (ST) in the RS232C format by sampling (extracting information) reception data of asynchronous communication at regular time intervals using an operation clock. 10, a phase conversion unit 20 that adjusts the phase of the communication speed clock based on the detection timing of the start bit detection unit 10 so that the phase is located in the middle of each bit in the received data. The data capturing unit 30 that captures the received data from the start bit detecting unit 10 based on the communication speed clock and the parameter table 50 that previously stores setting parameters related to the asynchronous communication are referred to. Conditions for checking and confirming the parameter conditions set for the captured data A verification unit 40, the verification confirmation of the result collation O
And a synchronous output section 60 for sequentially outputting data fetched based on the synchronous clock when passing by K.

【0006】図6は、パラメータテーブル50に記憶す
る設定パラメータの例を示す図である。この例では、通
信速度、データビット長、パリティ、及びストップビッ
トについてRS232Cの設定項目を有し、ここでは通
信速度が1200bps、データビット長が8ビット、
パリティが奇数、ストップビットが1ビットに設定され
ているものとする。したがって、上述の条件照合部40
は、この設定パラメータに基づいてパリティチェック等
を行なうことになる。
FIG. 6 is a diagram showing an example of setting parameters stored in the parameter table 50. In this example, the communication speed, data bit length, parity, and stop bit have setting items of RS232C. Here, the communication speed is 1200 bps, the data bit length is 8 bits,
It is assumed that the parity is set to an odd number and the stop bit is set to 1 bit. Therefore, the above-described condition matching unit 40
Performs a parity check and the like based on this setting parameter.

【0007】次に、タイミングチャート図を用いて上述
の非同期データ取込装置の動作を説明する。図7は、従
来の非同期データ取込装置の動作を示すタイミングチャ
ート図であり、同図(a)は受信データを示し、(b)
は動作クロックを示し、(c)は位相変換された通信速
度クロックを示し、(d)はデータ取込部が取込んだデ
ータを示す。即ち、スタートビット検出部10は、12
00bpsの通信速度で到来する受信データ(a)を、
2MHzの動作クロック(b)のタイミング毎に順次サ
ンプリングして論理値を確認し、スタートビット(S
T)のビット位置を検出する。スタートビットが検出さ
れると、その検出タイミングに基づき位相変換部20が
1200Hzの通信速度クロックの位相をシフトしてず
らし、受信データ(a)の各ビットの先頭部に対し1/
2ビット分の位相がずれたタイミング、即ち、各ビット
のほぼ中央に合わせ込む。そして、データ取込部30は
受信データ(a)の各ビットを、位相変換された通信速
度クロック(c)のタイミングで順次取込むことによ
り、(d)の如くデータを取込むのである。
Next, the operation of the above asynchronous data acquisition device will be described with reference to a timing chart. FIG. 7 is a timing chart showing the operation of the conventional asynchronous data acquisition device, where FIG. 7A shows received data, and FIG.
Indicates an operation clock, (c) indicates a communication speed clock whose phase has been converted, and (d) indicates data captured by the data capturing unit. That is, the start bit detection unit 10
The received data (a) arriving at a communication speed of 00 bps is
Sampling is performed sequentially at each timing of the operation clock (b) of 2 MHz to confirm the logical value, and the start bit (S
The bit position of T) is detected. When the start bit is detected, the phase converter 20 shifts and shifts the phase of the communication speed clock of 1200 Hz based on the detection timing, and shifts the phase of the bit of the received data (a) by 1/1.
The timing is shifted to the timing at which the phase of two bits is shifted, that is, approximately at the center of each bit. Then, the data fetching unit 30 fetches data as shown in (d) by sequentially fetching each bit of the received data (a) at the timing of the phase-converted communication speed clock (c).

【0008】データ取込部30が取込んだデータは、次
の条件照合部40にてパラメータテーブル50に予め設
定されたパラメータ条件を満たしているか否かを確認す
る。こうして条件照合の後、パラメータ条件を満たして
いるデータは、同期系出力部60により64kHzの同
期系クロックに基づくクロックの載せ換えが行なわれ、
同期が図られたシリアル通信データとして出力される。
The data fetched by the data fetching unit 30 checks whether or not the next condition checking unit 40 satisfies parameter conditions set in the parameter table 50 in advance. After the condition matching, the data satisfying the parameter conditions is subjected to clock replacement based on the 64 kHz synchronous system clock by the synchronous system output unit 60.
It is output as synchronized serial communication data.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、上述し
た従来の非同期データ取込装置においては、以下に示す
ような問題点があった。つまり、動作クロックや通信速
度クロックといった複数のクロックを用いているため、
これを生成するための局部発振器や分周器といった回路
が必要となる。そのため、構成が複雑となり小型化が困
難となる問題点があった。
However, the above-mentioned conventional asynchronous data capturing apparatus has the following problems. In other words, since multiple clocks such as an operation clock and a communication speed clock are used,
Circuits such as a local oscillator and a frequency divider for generating this are required. Therefore, there has been a problem that the configuration is complicated and miniaturization is difficult.

【0010】本発明はこのような問題点を解決するため
になされたものであり、外部より供給される同期系クロ
ックを用いて非同期データを取込むことで局部発振器を
不用とし小型化に有効な非同期データ取込装置を提供す
ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and it is effective to reduce the size of a local oscillator by eliminating asynchronous data by using a synchronous system clock supplied from the outside. An object is to provide an asynchronous data capture device.

【0011】[0011]

【課題を解決するための手段】上記課題を解決するため
に本発明に係わる非同期データ取込装置の請求項1の発
明は、受信データを同期系クロックに基づき一時保持す
る第1のフリップフロップと、前記第1のフリップフロ
ップが保持するデータを同期系クロックに基づき一時保
持する第2のフリップフロップと、前記第1のフリップ
フロップの出力と第2のフリップフロップの出力とを比
較する比較器と、前記同期系クロックを計数し前記比較
器の不一致出力にてリセットされるカウンタと、受信デ
ータのビット幅と同期系クロックの計数値とを関連付け
たものを予め記憶した回数テーブルと、前記比較器が不
一致を出力したときに前記カウンタの計数値を前記回数
テーブルに照らしてビット幅を検出する同一論理継続回
数監視部と、前記第2のフリップフロップが保持する論
理を前記同一論理継続回数監視部が検出したビット幅に
割り当ててデータを取り込むデータ取込部とを備えたこ
とを特徴とする。
According to a first aspect of the present invention, there is provided an asynchronous data capturing apparatus, comprising: a first flip-flop for temporarily storing received data based on a synchronous clock; A second flip-flop that temporarily holds data held by the first flip-flop based on a synchronous clock, and a comparator that compares an output of the first flip-flop with an output of the second flip-flop. A counter that counts the synchronous clock and is reset by a non-coincidence output of the comparator; a count table pre-stored in which a bit width of received data is associated with a count value of the synchronous clock; The same logic continuation number monitoring unit that detects the bit width by comparing the count value of the counter with the number table when the mismatch is output, The logic 2 flip-flops for holding, characterized in that the same logical continuation count monitoring unit and a data acquisition unit for capturing the data assigned to the bit width detected.

【0012】[0012]

【発明の実施の形態】以下、図示した実施の形態例に基
づいて本発明を詳細に説明する。図1は本発明に係わる
非同期データ取込装置を非同期/同期IF部に適用した
ときの実施の形態例を示す機能ブロック図である。な
お、上述の図5に示したものと同様の機能ブロックにつ
いては同一の符号を付して、その説明を省略する。ま
た、設定パラメータなどの条件も従来例と同様とする。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail based on illustrated embodiments. FIG. 1 is a functional block diagram showing an embodiment in which the asynchronous data acquisition device according to the present invention is applied to an asynchronous / synchronous IF unit. Note that the same reference numerals are given to the same functional blocks as those shown in FIG. 5 described above, and description thereof will be omitted. Also, conditions such as setting parameters are the same as in the conventional example.

【0013】この例に示す非同期データ取込装置は、受
信データと外部から供給される同期系クロックを入力と
するデータ受信部1と、前記データ受信部1が出力する
受信データとビット幅検出信号とを入力とするデータ取
込部30とを備えている。その後段には、前記データ取
込部30が取込んだデータについてパラメータテーブル
50に予め記憶された設定パラメータの条件を満たすか
否かを照合確認する条件照合部40と、前記条件照合部
40を経たデータを同期系クロックに載せて順次出力す
る同期系出力部60とを備えたデータ変換装置が設けら
れている。
The asynchronous data capturing apparatus shown in this example has a data receiving section 1 which receives received data and a synchronous clock supplied from the outside, a receiving data output from the data receiving section 1 and a bit width detection signal. And a data capturing unit 30 which receives the data as input. In the subsequent stage, a condition matching unit 40 for checking whether or not the data acquired by the data acquiring unit 30 satisfies the conditions of the setting parameters stored in the parameter table 50 in advance, and the condition matching unit 40 There is provided a data converter having a synchronous output section 60 for sequentially outputting the passed data on a synchronous clock.

【0014】前記データ受信部1の構成について更に詳
しく説明する。データ受信部1は、外部から供給される
同期系クロックに基づくタイミングで受信データの論理
値を保持する第1のフリップフロップ(以下、第1F/
Fと略す)2と、前記第1F/F2が保持する論理値を
同期系クロックに基づくタイミングで保持する第2のフ
リップフロップ(以下、第2F/Fと略す)3と、第1
F/F2と第2F/F3とが保持する論理値出力を比較
する比較器4と、同期系クロックのクロック数を計数し
前記比較器4による出力が不一致となった時にリセット
するカウンタ5と、既知である同期系クロックの速度と
受信データの通信速度とを前提にし、カウンタ5が計数
するクロック数(回数)とビット幅とを予め対応付けて
定め記憶した回数テーブル6と、前記比較器4による出
力が不一致となったタイミングにおいてカウンタ5が出
力していた計数値を、前記回数テーブル6を参照してビ
ット幅を検出する同一論理継続回数監視部7とからな
る。
The configuration of the data receiving section 1 will be described in more detail. The data receiving unit 1 includes a first flip-flop (hereinafter, referred to as a first F / F) that holds a logical value of received data at a timing based on a synchronous clock supplied from the outside.
F) 2, a second flip-flop (hereinafter abbreviated as a second F / F) 3 for holding a logical value held by the first F / F 2 at a timing based on a synchronous clock, and a first flip-flop 3.
A comparator 4 for comparing the logical value output held by the F / F2 and the second F / F3, a counter 5 for counting the number of synchronous system clocks and resetting when the output from the comparator 4 does not match; The number of clocks (number of times) counted by the counter 5 and the bit width are preliminarily associated with each other on the premise of the known speed of the synchronous clock and the communication speed of the received data. The count value output from the counter 5 at the timing when the output of the counter 5 becomes inconsistent with the same logic continuation count monitoring unit 7 that detects the bit width by referring to the count table 6.

【0015】前記回数テーブル6に記憶するテーブルに
ついて、例を示して説明する。図2は、回数テーブルの
例を示す図であり、ここでは同期系クロックを64kH
z、受信データの通信速度を1200bpsとする。そ
して、通信速度が1200bpsのときの1ビット当た
りに64kHzの同期系クロックが何回入るかを割出
し、記憶しておくのである。つまり、64k/1200
≒53.33であるから、これに誤差範囲として±1ク
ロック分を考慮して設定する。これにより53±1回を
1ビット当たりのクロック数として定める。なお、ビッ
ト幅は一定であるから、2×53±1回なら2ビット
幅、3×53±1回なら3ビット幅というように定めて
おく。また、ビット幅が大きくなるに連れて誤差範囲も
大きくとるよう考慮する。
The table stored in the frequency table 6 will be described with reference to an example. FIG. 2 is a diagram showing an example of the number-of-times table.
z, the communication speed of the received data is 1200 bps. Then, the number of times the 64 kHz synchronous clock is input per bit when the communication speed is 1200 bps is determined and stored. That is, 64k / 1200
Since it is $ 53.33, it is set in consideration of ± 1 clock as an error range. Thus, 53 ± 1 times is determined as the number of clocks per bit. Since the bit width is constant, it is determined that the width is 2 bits for 2 × 53 ± 1 times and 3 bits for 3 × 53 ± 1 times. Also, it is considered that the error range is increased as the bit width increases.

【0016】次に、図3は本発明に係る非同期データ取
込装置の各信号例を示すタイミングチャート図である。
同図(a)は受信データを示し、(b)は同期系クロッ
クを示し、(c)はデータ受信部の出力によりビットが
確立されていくイメージを示し、(d)はデータ取込部
が取込んだデータを示す。このタイミングチャート図を
用いて本発明に係る非同期データ取込装置の動作を説明
する。即ち、第1F/F2と第2F/F3には同期系ク
ロックの1クロック分の時間差における論理値が順次シ
フトされ、比較器4は第1F/F2と第2F/F3の出
力を比較することで論理値の変化したタイミングを検出
する。受信データ(a)において最初の論理値変化はス
タートビット(ST)の先頭で発生するから、比較器4
の不一致出力によりカウンタ5はリセットされた後に、
同期系クロックの計数を開始する。ここで8ビットから
なるデータの1ビット目の論理値がスタートビットとは
反転した値の論理値であるとすれば、比較器4の出力は
1ビット目の先頭で再び不一致となる。この不一致のタ
イミングで同一論理継続回数監視部7はカウンタ5が計
数したクロック回数を回数テーブル6に照らし合わせ
る。スタートビットは1ビット幅であるからカウンタ5
が計数したクロック回数は53±1回の範囲内の値にな
るはずである。したがって、同一論理継続回数監視部7
は1ビット幅である旨のビット幅検出信号を出力する。
データ取込部30は、第2F/F3が保持している論理
値をビット幅検出信号に基づく1ビット幅として取込
む。
FIG. 3 is a timing chart showing an example of each signal of the asynchronous data acquisition device according to the present invention.
5A shows received data, FIG. 5B shows a synchronous clock, FIG. 5C shows an image in which bits are established by the output of the data receiving unit, and FIG. Indicates the acquired data. The operation of the asynchronous data acquisition device according to the present invention will be described with reference to the timing chart. That is, the logical value in the time difference of one clock of the synchronous clock is sequentially shifted to the first F / F2 and the second F / F3, and the comparator 4 compares the outputs of the first F / F2 and the second F / F3. The timing at which the logical value has changed is detected. In the received data (a), the first logical value change occurs at the head of the start bit (ST).
Counter 5 is reset by the mismatch output of
The counting of the synchronous clock is started. Here, assuming that the logical value of the first bit of the eight-bit data is a logical value inverted from the start bit, the output of the comparator 4 becomes inconsistent again at the head of the first bit. At the timing of the disagreement, the same logic continuation number monitoring unit 7 compares the number of clocks counted by the counter 5 with the number table 6. Since the start bit is 1 bit wide, the counter 5
Should be within the range of 53 ± 1. Therefore, the same logic continuation number monitoring unit 7
Outputs a bit width detection signal indicating that the width is one bit.
The data fetching unit 30 fetches the logical value held by the second F / F3 as a 1-bit width based on the bit width detection signal.

【0017】次に、例えばデータの1ビット目と2ビッ
ト目が同一の論理値で、3ビット目に論理値が反転する
場合にあっては、カウンタ5は1ビット目の先頭から計
数した同期系クロック数は3ビット目の先頭まで継続し
て計数することになる。同一論理継続回数監視部7は、
カウンタ5が計数したクロック回数を回数テーブル6に
照らし合わせ、105〜107回の範囲内の値であった
ならば、2ビット幅である旨のビット幅検出信号を出力
する。
Next, for example, when the first bit and the second bit of the data are the same logical value and the logical value is inverted to the third bit, the counter 5 counts from the head of the first bit. The number of system clocks is counted continuously up to the head of the third bit. The same logic continuation number monitoring unit 7
The number of clocks counted by the counter 5 is compared with the number of times table 6, and if the number is within the range of 105 to 107 times, a bit width detection signal indicating that the width is 2 bits is output.

【0018】このようにしてデータ取込部30は、スタ
ートビット(ST)からストップビット(SP)までを
取込む。そして、取込まれたデータは従来と同様に後段
の条件照合部40にてパラメータテーブル50の設定パ
ラメータに基づき照合確認がなされ、これを満たしてパ
スしたデータは、同期系出力部60により同期系クロッ
クに載せ換えられて出力される。
In this manner, the data fetch unit 30 fetches from the start bit (ST) to the stop bit (SP). The acquired data is subjected to collation confirmation based on the setting parameters of the parameter table 50 in the subsequent condition collation unit 40 in the same manner as in the prior art. The output is replaced by the clock.

【0019】以上のように構成した、本発明に係わる非
同期データ取込装置は、供給される同期系クロックのみ
を用いて、非同期データを取込むことができる。そのた
め、従来、必要としていた動作クロックや通信速度クロ
ックを生成するための構成部品(局部発振器や分周器)
を省いて小型化することが可能となる。
The asynchronous data capturing apparatus according to the present invention, configured as described above, can capture asynchronous data using only the supplied synchronous clock. Therefore, components (local oscillators and frequency dividers) for generating operation clocks and communication speed clocks that were conventionally required
Can be reduced and the size can be reduced.

【0020】[0020]

【発明の効果】以上のように本発明に係わる非同期デー
タ取込装置は、同期系クロックに基づくタイミングで受
信データの論理値を保持する第1F/F2(第1のフリ
ップフロップ)と、前記第1F/F2が保持する論理値
を同期系クロックに基づくタイミングで保持する第2F
/F3(第2のフリップフロップ)と、第1F/F2と
第2F/F3とが保持する論理値出力を比較する比較器
4と、同期系クロックのクロック数を計数し前記比較器
4による出力が不一致となった時にリセットするカウン
タ5と、既知である同期系クロックの速度と受信データ
の通信速度とを前提にし、カウンタ5が計数するクロッ
ク数(回数)とビット幅とを予め対応付けて定め記憶し
た回数テーブル6と、前記比較器4による出力が不一致
となったタイミングにおいてカウンタ5が出力していた
計数値を、前記回数テーブル6を参照してビット幅を検
出する同一論理継続回数監視部7とを有するデータ受信
部1を備えて構成し、供給される同期系クロックを用い
て非同期データを読み込むよう機能するので、従来必要
であった局部発振器や分周器を省くことができ、小型化
に極めて有効な非同期データ取込装置が実現できる。
As described above, the asynchronous data capturing apparatus according to the present invention comprises: a first F / F2 (first flip-flop) for holding a logical value of received data at a timing based on a synchronous clock; The second F that holds the logical value held by the 1F / F2 at a timing based on the synchronous clock
/ F3 (second flip-flop), a comparator 4 for comparing the logical value output held by the first F / F2 and the second F / F3, and counting the number of synchronous system clocks and outputting the same by the comparator 4. Is premised on the counter 5 that is reset when the values do not coincide with each other, and the known speed of the synchronous clock and the communication speed of the received data. The same logic continuation count monitoring that detects the bit width by referring to the count table 6 and the count value output by the counter 5 at the timing when the output from the comparator 4 does not match the determined count table 6 And a data receiving unit 1 having a unit 7 and a function of reading asynchronous data by using a supplied synchronous clock. It can be omitted and the divider, very effective asynchronous data capture device miniaturization can be achieved.

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

【図1】本発明に係る非同期データ取込装置の実施の形
態例を示す機能ブロック図である。
FIG. 1 is a functional block diagram showing an embodiment of an asynchronous data acquisition device according to the present invention.

【図2】本発明に係る非同期データ取込装置の回数テー
ブルの例を示す図である。
FIG. 2 is a diagram showing an example of a count table of the asynchronous data capture device according to the present invention.

【図3】本発明に係る非同期データ取込装置の各信号例
を示すタイミングチャート図である。
FIG. 3 is a timing chart showing each signal example of the asynchronous data acquisition device according to the present invention.

【図4】非同期通信によるデータを、同期網を介してデ
ータ転送する技術的背景を説明するのためのシステム構
成図である。
FIG. 4 is a system configuration diagram for explaining a technical background of transferring data by asynchronous communication via a synchronous network.

【図5】従来の非同期データ取込装置の構成例を示す機
能ブロック図である。
FIG. 5 is a functional block diagram showing a configuration example of a conventional asynchronous data capturing device.

【図6】パラメータテーブルに記憶する非同期通信の設
定パラメータの例を示す図である。
FIG. 6 is a diagram illustrating an example of asynchronous communication setting parameters stored in a parameter table.

【図7】従来の非同期データ取込装置の各信号例を示す
タイミングチャート図である。
FIG. 7 is a timing chart showing signal examples of a conventional asynchronous data acquisition device.

【符号の説明】[Explanation of symbols]

1・・・データ受信部 2・・・フリップフロップ(F/F) 3・・・フリップフロップ(F/F) 4・・・比較器 5・・・カウンタ 6・・・回数テーブル 7・・・同一論理継続回数監視部 10・・・スタートビット検出部 20・・・位相変換部 30・・・データ取込部 40・・・条件照合部 50・・・パラメータテーブル 60・・・同期系出力部 100・・・非同期/同期インタフェース(IF)部 101・・・局部発振器 102・・・CPU(Central Processing Unit) 103・・・分周器(1/n) 104・・・ROM(Read Only Memory) 105・・・RAM(Random Access Memory) 106・・・周辺回路 1 ... data receiving unit 2 ... Flip-flop (F / F) 3 ... Flip-flop (F / F) 4 ... Comparator 5 ... Counter 6 ... Count table 7 ... Same logic continuation number monitoring unit 10 Start bit detector 20: phase converter 30 ... data acquisition unit 40 ・ ・ ・ Condition matching unit 50: Parameter table 60 Synchronous output section 100: Asynchronous / synchronous interface (IF) unit 101 ... local oscillator 102: CPU (Central Processing Unit) 103 ... frequency divider (1 / n) 104 ・ ・ ・ ROM (Read Only Memory) 105: RAM (Random Access Memory) 106 ・ ・ ・ Peripheral circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】受信データを同期系クロックに基づき一時
保持する第1のフリップフロップと、前記第1のフリッ
プフロップが保持するデータを同期系クロックに基づき
一時保持する第2のフリップフロップと、前記第1のフ
リップフロップの出力と第2のフリップフロップの出力
とを比較する比較器と、前記同期系クロックを計数し前
記比較器の不一致出力にてリセットされるカウンタと、
受信データのビット幅と同期系クロックの計数値とを関
連付けたものを予め記憶した回数テーブルと、前記比較
器が不一致を出力したときに前記カウンタの計数値を前
記回数テーブルに照らしてビット幅を検出する同一論理
継続回数監視部と、前記第2のフリップフロップが保持
する論理を前記同一論理継続回数監視部が検出したビッ
ト幅に割り当ててデータを取り込むデータ取込部とを備
えたことを特徴とする非同期データ取込装置。
A first flip-flop for temporarily holding received data based on a synchronous system clock; a second flip-flop for temporarily holding data held by the first flip-flop based on a synchronous system clock; A comparator for comparing the output of the first flip-flop with the output of the second flip-flop; a counter for counting the synchronous clock and resetting with a mismatch output of the comparator;
A count table in which a bit width of the received data and a count value of the synchronous clock are stored in advance, and a bit count is set by comparing the count value of the counter with the count table when the comparator outputs a mismatch. A detecting unit for detecting the same logic continuation count, and a data fetching unit for fetching data by allocating the logic held by the second flip-flop to the bit width detected by the same logic continuation monitoring unit. Asynchronous data capture device.
JP2002152855A 2002-05-27 2002-05-27 Asynchronous data fetching device Pending JP2003348059A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002152855A JP2003348059A (en) 2002-05-27 2002-05-27 Asynchronous data fetching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002152855A JP2003348059A (en) 2002-05-27 2002-05-27 Asynchronous data fetching device

Publications (1)

Publication Number Publication Date
JP2003348059A true JP2003348059A (en) 2003-12-05

Family

ID=29770086

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002152855A Pending JP2003348059A (en) 2002-05-27 2002-05-27 Asynchronous data fetching device

Country Status (1)

Country Link
JP (1) JP2003348059A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8064547B2 (en) 2007-07-26 2011-11-22 Kabushiki Kaisha Toshiba Receiving apparatus and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8064547B2 (en) 2007-07-26 2011-11-22 Kabushiki Kaisha Toshiba Receiving apparatus and method

Similar Documents

Publication Publication Date Title
US8023602B2 (en) Serial data communication apparatus and methods of using a single line
US5612979A (en) Synchronous circuit
EP0735709B1 (en) Synchronizing circuit for use in a digital audio signal compressing/expanding system
JP2003348059A (en) Asynchronous data fetching device
JP2018137694A (en) Semiconductor device and data synchronization method
JPWO2004064351A1 (en) Asynchronous transmission method and circuit thereof
JP4719867B2 (en) Bit error insertion circuit for PN pattern generator
JPH04145566A (en) Serial transferring circuit
JPH08237232A (en) Data exchange circuit
JP3426191B2 (en) Circuit and method for demodulating an encoded data signal
US5684849A (en) Digital circuit for detecting coincidence of two successive words of incoming serial data and a method thereof
JP3110394B2 (en) FM multiplex decoder
JP3990064B2 (en) Path monitoring method and path monitoring circuit
JP2990094B2 (en) Frame synchronization circuit
JPH10222346A (en) Information processor
JPH09271000A (en) Data retrieval circuit for teletext
JP2010213204A (en) Data transmitting/receiving method
JP3179367B2 (en) Failure detection method for asynchronous data transfer equipment
JP2003018585A (en) Image transmission system, image transmitter and image receiver
JP2007336190A (en) Start-stop synchronous communication system, and start-stop synchronous communication method
JPH11355379A (en) Register data transfer system and register data transfer method
JP2008085740A (en) Data reception apparatus and reception method thereof
JPH09190333A (en) Signal conversion device
JPH03110627A (en) Data collating circuit
JPH05160810A (en) Code error monitoring circuit

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050719

A072 Dismissal of procedure

Free format text: JAPANESE INTERMEDIATE CODE: A072

Effective date: 20051025