JPS62133841A - Asynchronizing serial system data communication system - Google Patents

Asynchronizing serial system data communication system

Info

Publication number
JPS62133841A
JPS62133841A JP60273395A JP27339585A JPS62133841A JP S62133841 A JPS62133841 A JP S62133841A JP 60273395 A JP60273395 A JP 60273395A JP 27339585 A JP27339585 A JP 27339585A JP S62133841 A JPS62133841 A JP S62133841A
Authority
JP
Japan
Prior art keywords
clock
data
circuit
outputs
sampling
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
JP60273395A
Other languages
Japanese (ja)
Inventor
Masao Nishi
西 正生
Atsuo Takeda
武田 淳男
Naoyuki Motomura
元村 直行
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Manufacturing 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 Yaskawa Electric Manufacturing Co Ltd filed Critical Yaskawa Electric Manufacturing Co Ltd
Priority to JP60273395A priority Critical patent/JPS62133841A/en
Publication of JPS62133841A publication Critical patent/JPS62133841A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

PURPOSE:To attain sure data recognition by selecting an in-phase or an antiphase clock in the timing between the data transmission data of a clock having the same frequency as the data transmission speed to use a sampling clock. CONSTITUTION:DFFs 3, 4 use a clock 22 as a clock input CLK and input data 21 and delayed data 21 by a delay element 1 as a data input D. DFFs 5, 6 use an inverted clock 23 the input CLK and the data 21 and the delayed data 21 by the element 1 as the input D. An RSFF 9 outputs a clock selection signal 24 or 25, an AND circuit 10 outputs a clock 22 when the signal 24 is outputted and an AND circuit 11 outputs a clock 23 when the signal 25 is outputted. An AND circuit 11 outputs a clock 23 when the signal 25 is outputted. An OR circuit 12 outputs the clock 22 or 23 outputted from the circuits 10, 11 as a sampling clock 26 to prevent malfunction thereby applying sure data transmission.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は非同期直列方式データ通信システムに関する。[Detailed description of the invention] [Industrial application field] The present invention relates to an asynchronous serial data communication system.

〔従来の技術〕[Conventional technology]

第4図は従来の非同期直列方式データ通信システムにお
けるデータ伝送速度と読取サンプリング基本クロックの
周波数が同一の場合のタイミング図である。
FIG. 4 is a timing diagram when the data transmission speed and the frequency of the read sampling basic clock are the same in a conventional asynchronous serial data communication system.

同図(a)は正常動作のタイミング図で、伝送データが
安定している時にサンプリングクロックの読取立上りエ
ツジがきている。この場合は、読取り誤動作は起こらず
、正常な伝送ができる。しかし、一般に伝送データは任
意に伝送されてくるため、同図(b)に示すように、伝
送データの変化とサンプリングクロックの読取エツジが
同時の場合、伝送データが確定していないため、 O″
か”l”のどちらに判断されるかわからない。
FIG. 4(a) is a timing diagram of normal operation, in which the rising edge of the sampling clock read occurs when the transmitted data is stable. In this case, reading errors do not occur and normal transmission can be performed. However, since the transmission data is generally transmitted arbitrarily, as shown in Figure (b), if the change in the transmission data and the reading edge of the sampling clock are at the same time, the transmission data is not determined, so O''
I don't know whether it will be judged as "l" or "l".

このような伝送データの変化をサンプリングクロックの
読取エツジが同時のきわどいタイミング場合の読取誤動
作の防止および伝送データ読取の確定性確保のため、従
来は、データ伝送速度より高い周波数のサンプリングク
ロックを使用していた。
Conventionally, a sampling clock with a frequency higher than the data transmission speed is used to prevent reading errors and ensure the certainty of reading the transmitted data when the reading edges of the sampling clock coincide with such changes in the transmitted data at critical timing. was.

第4図は従来での基本クロック周波数が伝送速度の8倍
の場合のタイミング図である。
FIG. 4 is a timing diagram in the case where the conventional basic clock frequency is eight times the transmission speed.

伝送データの1ビツトデータ時間幅と基本クロック(周
期t%I)を8分周したクロック周期は同一であり、正
常な場合は、8分周クロックの立上りエツジのサンプリ
ングデータ(図中、丸で囲んだ数字)が伝送データとし
て読取られる。伝送データの変化と基本クロックの変化
が同時におこるようなきわどいタイミング時には、誤動
作防止対策として、前、後のどちらかの基本クロック立
上りエツジ時のデータを伝送データとして認識する。
The 1-bit data time width of the transmission data and the clock period obtained by dividing the basic clock (period t%I) by 8 are the same, and in a normal case, the sampling data at the rising edge of the 8-divided clock (circled in the figure) is the same. The enclosed numbers) are read as the transmitted data. At critical timings when a change in transmission data and a change in the basic clock occur at the same time, data at the rising edge of either the previous or subsequent basic clock is recognized as the transmission data as a measure to prevent malfunction.

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

上述した従来の方式では、データ伝送の高速性指向から
伝送速度が高くなる(データ1ビツトの時間幅が短くな
る)と、データ認識、誤動作防止に必要な8倍以上の基
本クロックの供給が高周波になりすぎて困難になる。
In the conventional method described above, as the transmission speed increases (the time width of one data bit becomes shorter) due to the desire for high-speed data transmission, the supply of the basic clock that is 8 times or more required for data recognition and malfunction prevention becomes high frequency. It becomes too difficult.

たとえば、 10Mbpsのデータ伝送速度を実現しよ
うとすれば、80MHz以上の基本クロックを与えなけ
ればならず、簡単な電子回路では実現は無理である。
For example, in order to achieve a data transmission rate of 10 Mbps, a basic clock of 80 MHz or higher must be provided, which is impossible to achieve with a simple electronic circuit.

本発明の目的は、高周波の基本クロックを必要とせすに
、きわどいタイミング時の誤動作が防止され確実にデー
タの認識が可能な非同期直列方式データ通信システムを
提供することである。
An object of the present invention is to provide an asynchronous serial data communication system that can prevent malfunctions at critical timings and can reliably recognize data, even though it requires a high-frequency basic clock.

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

本発明の非同期直列方式データ通信システムは、データ
伝送速度と同一周波数のクロックの、伝送データが変化
してからの最初の立上りまたは立下りエツジまでの時間
がある一定の時間内にあることを検出すると検出信号を
出力するタイミング検出回路と、前記検出信号が出力さ
れない場合には前記クロックを同相のクロックを、出力
された場合には前記クロックと逆相のクロックを前記伝
送データをサンプリングするサンプリングクロックとし
て選択するクロック選択回路を備えたことを特徴とする
The asynchronous serial data communication system of the present invention detects that the time from a change in transmitted data to the first rising or falling edge of a clock having the same frequency as the data transmission rate is within a certain period of time. Then, a timing detection circuit that outputs a detection signal, and a sampling clock that samples the transmission data by using a clock that has the same phase as the clock when the detection signal is not output, and a clock that has the opposite phase to the clock when the detection signal is output. The present invention is characterized in that it includes a clock selection circuit that selects a clock.

〔作用〕[Effect]

データ伝送速度と同一周波数のクロックを使用すると、
1ビツト伝送データ内にクロックとその逆相のクロック
(クロック)の立上り(立下り)エツジが合わせて2回
ある。クロックの立上り(立下り)エツジがタイミング
検出回路の検出時間(これは1ビツト伝送データ時間幅
の0〜%に設定する)にきた場合、このエツジはすてら
れグロックの立上り(立下り)エツジがサンプリングエ
ツジとなる。
Using a clock with the same frequency as the data transmission rate
There are a total of two rising (falling) edges of a clock and its opposite phase clock (clock) in 1-bit transmission data. When the rising (falling) edge of the clock comes within the detection time of the timing detection circuit (this is set to 0 to % of the 1-bit transmission data time width), this edge is discarded and the rising (falling) edge of the clock becomes the sampling edge.

これにより、サンプリングエツジが常に1ビツト伝送デ
ータ時間幅の%〜%の区間に確保されるので、誤動作(
誤読取)がおこるきわどいタイミングが防止される。
As a result, the sampling edge is always secured in the interval between % and % of the 1-bit transmission data time width, which prevents malfunctions.
This prevents the critical timing of misreading.

なお、検出時間内にサンプリングエツジが入ったことを
検出するために、伝送データに1ビツト″l”が先行し
なければならないが、これはプロトコルの設定の仕方で
あり、問題はない。
Note that in order to detect that a sampling edge has entered within the detection time, one bit "l" must precede the transmitted data, but this is due to the way the protocol is set and there is no problem.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の非同期直列方式データ通信システムの
一実施例の要部を示すブロック図、第2図、第3図はそ
のタイムチャートである。
FIG. 1 is a block diagram showing essential parts of an embodiment of an asynchronous serial data communication system according to the present invention, and FIGS. 2 and 3 are time charts thereof.

遅延素子1には検出時間Tが設定される。インバータ2
はクロック22を反転してクロック23を出力する。D
フリップフロップ3.4はクロック22をクロック入力
CLK、入力データ21および遅延素子1による遅延さ
れた入力データ21をデータ人力りとし、排他的論理和
回路7はDフリップフロップ3,4の非反転出力Qを入
力し、これらはクロック22が検出時間T内に入ったこ
とを検出する。Dフリップフロップ5,6はクロック2
3をクロック人力CLK、入力データ21および遅延素
子lによる遅延された入力データ21をデータ入力りと
し、排他的論理和回路8はDフリップフロップ5.6の
非反転出力Qを入力し、これらは死5フd23が検出時
間T内に入ったことを検出する。RSフリップフロップ
9は各検出信号がセット入力S、リセット人力Rに入力
し、クロック選択信号24あるいはクロック選択信号2
5を出力する、論理積回路10はクロック選択信号24
が出力されるとりロック22を出力し、論理積回路11
はクロック選択信号25が出力されるとクロック23を
出力する。論理和回路12は論理積回路10.11から
出力されたクロック22またはクロック23をサンプリ
ングクロック26として出力する。
A detection time T is set in the delay element 1. Inverter 2
outputs a clock 23 by inverting the clock 22. D
The flip-flop 3.4 uses the clock 22 as the clock input CLK, the input data 21 and the input data 21 delayed by the delay element 1 as data input, and the exclusive OR circuit 7 uses the non-inverting output of the D flip-flops 3 and 4. Q and these detect that the clock 22 enters within the detection time T. D flip-flops 5 and 6 are clock 2
3 is the clock CLK, the input data 21 and the input data 21 delayed by the delay element 1 are used as data inputs, and the exclusive OR circuit 8 inputs the non-inverting output Q of the D flip-flop 5.6. It is detected that death 5f d23 has entered within the detection time T. The RS flip-flop 9 inputs each detection signal to the set input S and the reset input R, and outputs the clock selection signal 24 or the clock selection signal 2.
5, the AND circuit 10 outputs the clock selection signal 24
is output from the lock 22, and the AND circuit 11
outputs the clock 23 when the clock selection signal 25 is output. The OR circuit 12 outputs the clock 22 or the clock 23 output from the AND circuit 10.11 as a sampling clock 26.

なお、伝送データの入力ラインは伝送データのない静止
状態では”0”であり、伝送開始は必ず1ビツト ”l
”が先行する。
Note that the transmission data input line is "0" in a static state with no transmission data, and the transmission start is always 1 bit "l".
” precedes.

次に、本実施例の動作を第2図、第3図のタイムチャー
トを参照して説明する。
Next, the operation of this embodiment will be explained with reference to the time charts of FIGS. 2 and 3.

(1)クロック22の立上りサンプリングエツジが入力
データ21のほぼ中央付近にある場合(第2図)。
(1) When the rising sampling edge of the clock 22 is located approximately at the center of the input data 21 (FIG. 2).

この場合、排他的論理和回路7の出力が”■”、排他的
論理回路8の出力が”0”であるので、クロック選択信
号24が”l” (真)、クロック選択信号25が?′
0″ (偽)で、サンプリングクロック26としてクロ
ック22が選択される。
In this case, the output of the exclusive OR circuit 7 is "■" and the output of the exclusive logic circuit 8 is "0", so the clock selection signal 24 is "l" (true) and the clock selection signal 25 is "?". ′
0'' (false), clock 22 is selected as sampling clock 26.

(2)クロック22の立上りサンプリングエツジが検出
時間T内に入った場合(第3図)。
(2) When the rising sampling edge of the clock 22 falls within the detection time T (FIG. 3).

この場合、刊他的論理和回路7の出力が”0”、排他的
論理和回路8の出力が”1”となるので、クロック選択
信号24が”0” (偽)、クロック選択信号25が”
1″ (真)で、サンプリングのロック26としてクロ
ック23が選択される。
In this case, the output of the exclusive OR circuit 7 is "0" and the output of the exclusive OR circuit 8 is "1", so the clock selection signal 24 is "0" (false) and the clock selection signal 25 is ”
1'' (true), the clock 23 is selected as the lock 26 for sampling.

すなわち、クロック22の立上りサンプリングエツジが
検出時間T内に入っても、サンブリンククロック26の
サンプリングエツジは検出時間T外にあるので、入力デ
ータ21の読取り誤動作は発生しない。
That is, even if the rising sampling edge of the clock 22 falls within the detection time T, the sampling edge of the sampling clock 26 falls outside the detection time T, so no malfunction in reading the input data 21 occurs.

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

以上説明したように本発明は、データ伝送速度と同一周
波数のクロックを用い、クロックのサンプリングエツジ
が伝送データの変化時から設定された面間内にきた場合
には前記クロックの逆相のクロックをサンプリングクロ
ックとすることにより、高周波のクロックを必要とせず
に、きわどいタイミングでの誤動作が防止され、確実な
データ伝送が可能となる効果がある。
As explained above, the present invention uses a clock with the same frequency as the data transmission speed, and when the sampling edge of the clock comes within the set interval from the time of change of the transmitted data, a clock with the opposite phase of the clock is used. Using a sampling clock has the effect of preventing malfunctions at critical timings and enabling reliable data transmission without requiring a high-frequency clock.

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

第1図は本発明の非同期直列方式データ通信システムの
一実施例の要部を示すブロック図、第2図、第3図は第
1図の回路のタイムチャート、第4図は従来の非同期直
列方式データ通信システムにおいてデータ伝送速度と読
取サンプリング基本クロックの周波数が同じ場合のタイ
ムチャート、第5図は読取サンプリング基本クロックの
周波数が伝送速度の8倍の場合のタイムチャートである
。 l・・・遅延素子、    2・・・インバータ、3.
4,5.6・・・Dフリップフロップ、7.8・・・排
他的論理和回路、 9・・・RSフリップフロップ、 10、11・・・論理積回路、12・・・論理和回路、
21・・・入力データ、   22・・・クロック、2
3・・・クロック、24・・・クロック選択信号、25
・・・クロック選択信号、 26・・・サンプリングクロック。 特許出願人 株式会社安川電機製作所 代  理  人 若   林     忠菟3図
FIG. 1 is a block diagram showing essential parts of an embodiment of the asynchronous serial data communication system of the present invention, FIGS. 2 and 3 are time charts of the circuit in FIG. 1, and FIG. 4 is a conventional asynchronous serial data communication system. FIG. 5 is a time chart when the frequency of the read sampling basic clock is eight times the transmission speed. l...delay element, 2...inverter, 3.
4, 5.6... D flip-flop, 7.8... Exclusive OR circuit, 9... RS flip-flop, 10, 11... AND circuit, 12... OR circuit,
21...Input data, 22...Clock, 2
3... Clock, 24... Clock selection signal, 25
... Clock selection signal, 26... Sampling clock. Patent applicant: Yaskawa Electric Co., Ltd. Representative: Tadayoshi Wakabayashi Figure 3

Claims (1)

【特許請求の範囲】 非同期直列方式データ通信システムにおいて、データ伝
送速度と同一周波数のクロックの、伝送データが変化し
てからの最初の立上りまたは立下りエッジまでの時間が
ある一定の時間内にあることを検出すると検出信号を出
力するタイミング検出回路と、 前記検出信号が出力されない場合には前記クロックと同
相のクロックを、出力された場合には前記クロックと逆
相のクロックを前記伝送データをサンプリングするサン
プリングクロックとして選択するクロック選択回路を備
えたことを特徴とする非同期直列方式データ通信システ
ム。
[Claims] In an asynchronous serial data communication system, the time from when the transmitted data changes to the first rising or falling edge of a clock having the same frequency as the data transmission rate is within a certain period of time. a timing detection circuit that outputs a detection signal when the detection signal is detected; and a timing detection circuit that samples the transmission data using a clock that is in phase with the clock when the detection signal is not output, and a clock that is in opposite phase to the clock when the detection signal is output. An asynchronous serial data communication system characterized by comprising a clock selection circuit for selecting a sampling clock to be used.
JP60273395A 1985-12-06 1985-12-06 Asynchronizing serial system data communication system Pending JPS62133841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60273395A JPS62133841A (en) 1985-12-06 1985-12-06 Asynchronizing serial system data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60273395A JPS62133841A (en) 1985-12-06 1985-12-06 Asynchronizing serial system data communication system

Publications (1)

Publication Number Publication Date
JPS62133841A true JPS62133841A (en) 1987-06-17

Family

ID=17527300

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60273395A Pending JPS62133841A (en) 1985-12-06 1985-12-06 Asynchronizing serial system data communication system

Country Status (1)

Country Link
JP (1) JPS62133841A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10485914B2 (en) 2010-07-07 2019-11-26 Deka Products Limited Partnership Medical treatment system and methods using a plurality of fluid lines
US11364329B2 (en) 2008-01-23 2022-06-21 Deka Products Limited Partnership Medical treatment system and methods using a plurality of fluid lines

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11364329B2 (en) 2008-01-23 2022-06-21 Deka Products Limited Partnership Medical treatment system and methods using a plurality of fluid lines
US10485914B2 (en) 2010-07-07 2019-11-26 Deka Products Limited Partnership Medical treatment system and methods using a plurality of fluid lines
US11033670B2 (en) 2010-07-07 2021-06-15 Deka Products Limited Partnership Medical treatment system and methods using a plurality of fluid lines

Similar Documents

Publication Publication Date Title
JP3467975B2 (en) Phase detection circuit
US4636656A (en) Circuit for selectively extending a cycle of a clock signal
KR910014713A (en) Time measuring circuit and method for measuring time between two asynchronous pulses
US6087867A (en) Transaction control circuit for synchronizing transactions across asynchronous clock domains
JPS62245814A (en) Pulse circuit
JPH04134269A (en) Glitch sensing device
JPS62133841A (en) Asynchronizing serial system data communication system
US6205192B1 (en) Clock input control circuit
EP0243075A2 (en) Frequency multiplying circuit
US6295300B1 (en) Circuit and method for symmetric asynchronous interface
JP2864779B2 (en) Pulse input circuit
JP2002026704A (en) Clock fault detector and its method
US6470459B1 (en) Half-word synchronization method for internal clock
JPH0370314A (en) Clock interrupt detection circuit
JPS62133840A (en) Asynchronizing system data communication system
JP3039474B2 (en) Asynchronous pulse signal retiming circuit
JPS617718A (en) Noise eliminating circuit
JP2606458Y2 (en) Signal level monitoring circuit
JP2973613B2 (en) Programmable counter
JPH01194709A (en) Phase discrimination circuit
JPH01265740A (en) Bit synchronization system
JPH0653951A (en) Method and apparatus for interfacing of serial data signal
JP3456912B2 (en) Data interface circuit
KR930004098B1 (en) Sensor circuit of digital alarm displaying signal
JPS63166313A (en) Synchronizing edge detection circuit