JPH07264250A - Serial data transmitter - Google Patents

Serial data transmitter

Info

Publication number
JPH07264250A
JPH07264250A JP6046686A JP4668694A JPH07264250A JP H07264250 A JPH07264250 A JP H07264250A JP 6046686 A JP6046686 A JP 6046686A JP 4668694 A JP4668694 A JP 4668694A JP H07264250 A JPH07264250 A JP H07264250A
Authority
JP
Japan
Prior art keywords
signal
clock signal
data
transmission
transmission line
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
JP6046686A
Other languages
Japanese (ja)
Inventor
Yoshinori Sato
義則 佐藤
Takashi Matsumoto
松本  孝
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP6046686A priority Critical patent/JPH07264250A/en
Priority to GB9504790A priority patent/GB2287622B/en
Priority to US08/405,053 priority patent/US5600634A/en
Priority to DE19509534A priority patent/DE19509534C2/en
Publication of JPH07264250A publication Critical patent/JPH07264250A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To transmit serial data by allowing a transmission controller not having an oscillating source to superimpose data onto a clock signal from a transmission controller having an oscillation source and taking the operating timing with the clock signal. CONSTITUTION:An oscillating source 11 is provided to only a master station 10 and an original oscillating signal is frequencydivided into a prescribed frequency signal by a frequency divider circuit 12 to generate a clock signal and a transmission reception circuit 13 sends/receives a data signal and provides an output of the clock signal to a transmission line 20. On the other hand, a transmission reception circuit 31 of a slave set 30 connecting to the transmission lien 20 and not having any oscillating source transmits data serially while superimposing the data onto the received clock signal. Then a clock extract section 32 in the slave station 30 extracts the clock signal from the received signal comprising superimppsed clock and data signals and all the processing operations are implemented for the slave station 30 by using the extracted clock signal. Thus, the semi-duplex serial data transmission is conducted by having only to provide the oscillating source to one station on a network.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、データ信号とクロック
信号とを一本の伝送線で伝送するシリアルデータ伝送装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial data transmission device for transmitting a data signal and a clock signal via a single transmission line.

【0002】[0002]

【従来の技術】クロック信号によりビット同期を取る同
期式シリアル伝送を行う場合、データ線とクロック線の
2回線が必要になる。しかし、長距離伝送や多局間伝送
の場合、回線数の多さはコストに大きな影響を与えるこ
とになるため、データ信号とクロック信号を1回線(一
本の伝送線)で送ることが望ましく、データ信号からク
ロック信号を抽出し、この抽出したクロック信号を用い
てデータ信号を復号化する自己同期の手法が必要とな
る。
2. Description of the Prior Art Two lines, a data line and a clock line, are required to perform synchronous serial transmission in which bit synchronization is achieved by a clock signal. However, in the case of long-distance transmission or multi-station transmission, the large number of lines has a great influence on the cost. Therefore, it is desirable to send the data signal and the clock signal by one line (one transmission line). , A self-synchronization method of extracting a clock signal from the data signal and decoding the data signal using the extracted clock signal is required.

【0003】従来の自己同期の手法としては、図11に示
すようなマンチェスタ符号の利用がよく知られている。
図10に示すNRZ符号はデジタルの符号として、最も簡
単かつ基本的な符号であるが、データに「0」が続いた
り「1」が続いたりした時にに信号に変化がなく、十分
なクロック情報が含まれていない。これに対してマンチ
ェスタ符号の場合、データ「0」の時はビットの中央で
立ち上がり、データ「1」の時はビットの中央で立ち下
がる符号で構成されており、ビットの中央に必ず立ち上
がりか立ち下がりがあり、毎ビットにクロック情報が含
まれている。
As a conventional method of self-synchronization, the use of Manchester code as shown in FIG. 11 is well known.
The NRZ code shown in FIG. 10 is the simplest and most basic code as a digital code, but there is no change in the signal when data is followed by "0" or "1", and sufficient clock information is available. Is not included. On the other hand, in the case of Manchester code, when the data is "0", it is composed of a code that rises at the center of the bit and when the data is "1", it is composed of a code that falls at the center of the bit. There is a drop, and clock information is included in each bit.

【0004】図12に、マンチェスタ符号からのクロック
成分の抽出回路の一例を示し、図13のタイミングチャー
トと共に説明する。図12において、伝送線から受信した
マンチェスタ符号によるデータ信号Aは、排他的論理和
回路1の一方の入力端に直接入力し、排他的論理和回路
1の他方の入力端に遅延回路2を介して遅延された信号
(遅延信号B)として入力する。排他的論理和回路1の
出力信号Cは、論理積回路3の一方の入力端に入力す
る。前記論理積回路3の他方の入力端には、モノマルチ
バイブレータ4の出力を否定した信号Dが入力する。そ
して、前記論理積回路3の出力信号Eが、クロック成分
として抽出される。また、前記出力信号Eを否定した信
号が、モノマルチバイブレータ4の入力へフィードバッ
クされている。尚、上記各信号A〜Eは、図13のA〜E
に対応している。
FIG. 12 shows an example of a circuit for extracting a clock component from Manchester code, which will be described with reference to the timing chart of FIG. In FIG. 12, the data signal A according to the Manchester code received from the transmission line is directly input to one input end of the exclusive OR circuit 1, and is input to the other input end of the exclusive OR circuit 1 via the delay circuit 2. Input as a delayed signal (delayed signal B). The output signal C of the exclusive OR circuit 1 is input to one input terminal of the AND circuit 3. A signal D negating the output of the monomultivibrator 4 is input to the other input terminal of the AND circuit 3. Then, the output signal E of the AND circuit 3 is extracted as a clock component. A signal obtained by negating the output signal E is fed back to the input of the mono-multivibrator 4. The signals A to E are the same as those in FIG.
It corresponds to.

【0005】図11に示すようなデータ値に対応したマン
チェスタ符号のデータ信号Aが受信されると、排他的論
理回路1は、直接入力するデータ信号Aと遅延回路2か
らの遅延信号Bのどちらか一方がHiレベルの時のみ
に、出力信号CがHi(ハイ)レベルとなる。一方、モ
ノマルチバイブレータ4には、論理積回路3の出力信号
Eの立ち下がりによりHiレベルの信号が入力し、これ
をトリガとして一定期間だけHiレベルの出力を発生す
る。従って、論理積回路3の他方の入力端には、モノマ
ルチバイブレータ4の出力が否定されて入力されている
ため、モノマルチバイブレータ4のHiレベル出力が終
了した時点から次にトリガされるまでの間、Hiレベル
となり、その間で、排他的論理和回路1の出力信号Cが
Hiレベルになれば、論理積回路3の出力がHiレベル
となる。このような動作によって図13のEで示すクロッ
ク成分が抽出される。こうして得られたクロック成分を
更に加工して、受信データのデコードに用いることにな
る。
When a Manchester coded data signal A corresponding to a data value as shown in FIG. 11 is received, the exclusive logic circuit 1 determines which of the data signal A directly input and the delay signal B from the delay circuit 2. The output signal C becomes Hi (high) level only when one of them is at Hi level. On the other hand, a Hi-level signal is input to the monomultivibrator 4 when the output signal E of the AND circuit 3 falls, and this is used as a trigger to generate a Hi-level output for a certain period. Therefore, since the output of the mono multivibrator 4 is negated and input to the other input terminal of the AND circuit 3, the output from the Hi level output of the mono multivibrator 4 is ended until the next trigger. During this period, the output signal C of the exclusive OR circuit 1 becomes Hi level during that period, and the output of the AND circuit 3 becomes Hi level. By such an operation, the clock component indicated by E in FIG. 13 is extracted. The clock component thus obtained is further processed and used for decoding the received data.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の自己同期手法においては、クロック成分は各
ビット毎に抽出できるものの、受信したデータ信号によ
ってクロック成分の発生タイミングが異なるため、その
ままデコードのタイミング信号として使用することはで
きず、各ビットの「0」/「1」を判定するタイミング
を生成するためには、発振子など時間の基準となるもの
が必要であった。
However, in such a conventional self-synchronization method, although the clock component can be extracted for each bit, the generation timing of the clock component differs depending on the received data signal, and therefore the decoding is performed as it is. It cannot be used as a timing signal, and an oscillator or the like that serves as a time reference is required to generate the timing for determining "0" / "1" of each bit.

【0007】また、クロック信号の抽出は、データ受信
時だけであり受信動作以外に使用できず、データを送信
するためにはクロック情報を生成する発振源を設ける必
要があり、その他の処理動作タイミングもこの発振源か
らの信号を基に行われていた。従って、従来の自己同期
システムを用いるシリアルデータ伝送装置では、ネット
ワークを構成する複数の局の各局毎に、それぞれ発振源
を設ける必要があり、コスト低減の妨げとなっていた。
Further, the clock signal is extracted only when receiving data and cannot be used for any purpose other than the receiving operation. In order to transmit data, it is necessary to provide an oscillation source for generating clock information, and other processing operation timings. Was also based on the signal from this oscillator. Therefore, in the conventional serial data transmission device using the self-synchronous system, it is necessary to provide an oscillation source for each of a plurality of stations forming the network, which is an obstacle to cost reduction.

【0008】本発明は上記の事情に鑑みなされたもの
で、伝送線によって互いに接続された複数の伝送制御装
置のうちの1つのみにクロック情報を発生する発振源を
持たせるだけでシリアルデータ伝送を可能とするシリア
ルデータ伝送装置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and serial data transmission is achieved by providing only one of a plurality of transmission control devices connected to each other by a transmission line with an oscillation source for generating clock information. It is an object of the present invention to provide a serial data transmission device that enables the above.

【0009】[0009]

【課題を解決するための手段】このため、本発明に係る
シリアルデータ伝送装置は、発振源と、該発振源の信号
を基に生成されるクロック信号を常時伝送線に出力する
クロック信号出力手段と、前記発振源の信号を基に生成
されるクロック信号に同期して前記クロック信号と等し
い周波数のデータ信号を前記伝送線上のクロック信号に
重畳させて出力するデータ信号出力手段と、前記伝送線
からの受信信号からデータ信号を抽出し、該抽出したデ
ータ信号を前記発振源の信号を基に生成されるクロック
信号に同期して処理する信号処理手段とを備えた1つの
第1の伝送制御装置と、前記伝送線上の信号を受信して
クロック信号を抽出するクロック信号抽出手段と、前記
伝送線上のクロック信号に重畳させてデータ信号を出力
するデータ信号出力手段と、前記伝送線からの受信信号
からデータ信号を抽出し、該抽出したデータ信号を前記
クロック信号抽出手段からの抽出クロック信号に同期し
て処理する信号処理手段とを備えた少なくとも1つの第
2の伝送制御装置とで構成した。
For this reason, the serial data transmission apparatus according to the present invention includes an oscillation source and a clock signal output means for constantly outputting a clock signal generated based on the signal of the oscillation source to the transmission line. A data signal output means for outputting a data signal having a frequency equal to that of the clock signal superimposed on the clock signal on the transmission line in synchronization with a clock signal generated based on the signal of the oscillation source; And a signal processing means for processing the extracted data signal in synchronism with a clock signal generated based on the signal of the oscillation source. A device, a clock signal extracting means for receiving a signal on the transmission line and extracting a clock signal, and a data signal output for outputting a data signal by superimposing it on the clock signal on the transmission line. And at least one signal processing means for extracting a data signal from the received signal from the transmission line and processing the extracted data signal in synchronization with the extracted clock signal from the clock signal extraction means. Two transmission control devices.

【0010】また、前記クロック信号出力手段は、前記
クロック信号に同期して前記伝送線の電位を高電位と低
電位とに交互に切り替えてクロック信号を伝送線に出力
する構成であり、前記データ信号出力手段は、伝送線が
高電位に状態にある時に、出力するデータに応じて伝送
線の電位を、前記高電位と、高電位と低電位との間の中
間電位とに切替えてデータをクロック信号に重畳させる
構成とした。
Further, the clock signal output means is configured to alternately switch the potential of the transmission line between a high potential and a low potential in synchronization with the clock signal and output the clock signal to the transmission line. The signal output means, when the transmission line is in a high potential state, switches the potential of the transmission line between the high potential and an intermediate potential between the high potential and the low potential according to the data to be output, and outputs the data. It is configured to be superimposed on the clock signal.

【0011】また、具体的には、前記クロック信号出力
手段は、伝送線をプルアップ抵抗を介して定電圧源に接
続し、伝送線とアースとの間に、前記クロック信号に同
期してON/OFFする第1のトランジスタを介装する
構成であり、前記データ信号出力手段は、伝送線とアー
スとの間に、前記第1のトランジスタと並列に、プルダ
ウン抵抗とデータ信号に応じてON/OFFする第2の
トランジスタとの直列回路を介装する構成とした。
More specifically, the clock signal output means connects the transmission line to a constant voltage source via a pull-up resistor, and turns on between the transmission line and ground in synchronization with the clock signal. The data signal output means is connected between the transmission line and the ground in parallel with the first transistor and turned on / off according to the pull-down resistor and the data signal. The configuration is such that a series circuit with the second transistor that is turned off is interposed.

【0012】また、前記受信信号の電位と予め設定した
前記中間電位と低電位の間の電位を持つ基準電位とを比
較する比較手段とを備えて、クロック信号抽出手段を構
成した。また、予め設定した所定の信号列を受信した時
にデータ送信開始を検知するデータ送信開始検知手段を
設け、該データ送信開始検知手段の検知信号に基づいて
前記信号列以後の信号をデータ信号として取り込む構成
とするとよい。
Further, the clock signal extracting means is constituted by including a comparing means for comparing the potential of the received signal with a reference potential having a preset potential between the intermediate potential and the low potential. Further, a data transmission start detecting means for detecting the start of data transmission when receiving a predetermined signal sequence set in advance is provided, and a signal after the signal sequence is taken in as a data signal based on the detection signal of the data transmission start detecting means. It is good to have a configuration.

【0013】また、本発明に係るシリアルデータ伝送装
置は、発振源と、該発振源の信号を基に生成されるクロ
ック信号を常時伝送線に出力するクロック信号出力手段
と、を備えた1つの第1の伝送制御装置と、前記伝送線
上の信号を受信しクロック信号を抽出するクロック信号
抽出手段と、前記伝送線上のクロック信号に重畳させて
データ信号を出力するデータ信号出力手段と、前記伝送
線からの受信信号からデータ信号を抽出し、該抽出した
データ信号を前記クロック信号抽出手段からの抽出クロ
ック信号に同期して処理する信号処理手段とを備えた複
数の第2の伝送制御装置とで構成するようにしてもよ
い。
Further, the serial data transmission device according to the present invention comprises one of an oscillation source and a clock signal output means for constantly outputting a clock signal generated based on the signal of the oscillation source to the transmission line. A first transmission control device; a clock signal extraction means for receiving a signal on the transmission line and extracting a clock signal; a data signal output means for superimposing a clock signal on the transmission line to output a data signal; A plurality of second transmission control devices each including a signal processing means for extracting a data signal from a received signal from the line and processing the extracted data signal in synchronization with the extracted clock signal from the clock signal extracting means; You may make it comprise.

【0014】[0014]

【作用】かかる構成によれば、発振源を持つ第1の伝送
制御装置側では、常時クロック情報を伝送線上に出力す
る。一方、発振源を持たない第2の伝送制御装置側で
は、伝送線上の信号から常時クロック信号の抽出を行
い、受信データの処理及びデータの送信等の全ての動作
のタイミングに、抽出クロック信号を用いる。また、第
1の伝送制御装置側のデータ送信動作は、自身の発振源
からのクロック情報でタイミングをとる。
According to this structure, the first transmission controller having the oscillation source always outputs the clock information on the transmission line. On the other hand, on the side of the second transmission control device having no oscillation source, the clock signal is constantly extracted from the signal on the transmission line, and the extracted clock signal is output at the timing of all operations such as processing of received data and transmission of data. To use. Further, the data transmission operation on the side of the first transmission control device is timed by the clock information from its own oscillation source.

【0015】更に、第1の伝送制御装置側が、クロック
信号の発振機能のみを有する場合は、第1の伝送制御装
置側が常時伝送線上に出力するクロック信号を、各第2
の伝送制御装置側で抽出し、この抽出クロック信号に基
づいて、第2の伝送制御装置同士で、データの送受信を
行う。
Furthermore, when the first transmission control device side has only the oscillation function of the clock signal, the first transmission control device side constantly outputs the clock signal to the second transmission line.
On the transmission control device side, and the second transmission control devices transmit and receive data based on the extracted clock signal.

【0016】[0016]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。図1に本発明に係るシリアルデータ伝送装置の第
1実施例のネットワーク構成を示す。図1において、第
1の伝送制御装置としての親局10は、1本の伝送線20に
より複数(本実施例では3つ)の第2の伝送制御装置と
しての子局30と接続されている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a network configuration of a first embodiment of a serial data transmission device according to the present invention. In FIG. 1, a master station 10 as a first transmission control device is connected to a plurality (three in this embodiment) slave stations 30 as second transmission control devices by one transmission line 20. .

【0017】前記親局10は、例えば水晶発振子等からな
る発振源11と、該発振源11からの原発振を所定の周波数
に分周してクロック(CLK)信号を生成する分周回路
12と、該分周回路12からのクロック信号に基づいて動作
する送受信回路13と、送受信回路13で受信した受信信号
からデータ信号を抽出してデコードするデコーダ14と、
デコーダ14からのデータ信号を取り入れて所定の処理動
作を行うと共に、子局30側に送信するデータ信号を前記
送受信回路13に出力する通信ICやマイクロコンピュー
タ等から構成される伝送制御部15とを備えて構成されて
いる。前記送受信回路13は、データ信号の送受信と共
に、クロック信号を伝送線20上に出力する。ここで、前
記送受信回路13がクロック信号出力手段及びデータ信号
出力手段に相当し、デコーダ14と伝送制御部15が信号処
理手段に相当する。
The master station 10 includes an oscillation source 11 composed of, for example, a crystal oscillator, and a frequency dividing circuit for dividing the original oscillation from the oscillation source 11 into a predetermined frequency to generate a clock (CLK) signal.
12, a transmission / reception circuit 13 that operates based on the clock signal from the frequency dividing circuit 12, and a decoder 14 that extracts and decodes a data signal from the reception signal received by the transmission / reception circuit 13.
A transmission control section 15 including a communication IC and a microcomputer that outputs the data signal to be transmitted to the slave station 30 to the transmission / reception circuit 13 while performing a predetermined processing operation by taking in the data signal from the decoder 14 It is equipped with. The transmission / reception circuit 13 outputs a clock signal onto the transmission line 20 while transmitting / receiving a data signal. Here, the transmission / reception circuit 13 corresponds to clock signal output means and data signal output means, and the decoder 14 and the transmission control unit 15 correspond to signal processing means.

【0018】一方、複数の子局30は、同じ構成であり、
伝送線30上の信号を受信し、また、子局30側からのデー
タ信号の送信を行う送受信回路31と、該送受信回路31で
受信したクロック信号とデータ信号の重畳した受信信号
からクロック信号を抽出するクロック信号抽出手段とし
てのクロック抽出部32と、受信信号からデータ信号を抽
出してデコードするデコーダ33と、前記クロック抽出部
32で抽出した抽出クロック信号に同期して、前記デコー
ダ33からのデータ信号を取り入れて処理すると共に、親
局10や他の子局30に送信するデータ信号を前記送受信回
路31に出力する親局10と同様の通信ICやマイクロコン
ピュータ等から構成される伝送制御部34とを備えて構成
されている。ここで、送受信回路31が第2の伝送制御装
置におけるデータ信号出力手段に相当し、伝送制御部34
とデコーダ33が第2の伝送制御装置における信号処理手
段に相当する。
On the other hand, the plurality of slave stations 30 have the same structure,
A clock signal is received from a transmission / reception circuit 31 that receives a signal on the transmission line 30 and that transmits a data signal from the slave station 30, and a reception signal in which the clock signal and the data signal received by the transmission / reception circuit 31 are superimposed. A clock extracting unit 32 as a clock signal extracting unit for extracting, a decoder 33 for extracting and decoding a data signal from a received signal, and the clock extracting unit
A master station that receives and processes the data signal from the decoder 33 in synchronization with the extracted clock signal extracted by 32 and outputs a data signal to be transmitted to the master station 10 or another slave station 30 to the transceiver circuit 31. The transmission control unit 34 is composed of the same communication IC as 10 and a microcomputer. Here, the transmission / reception circuit 31 corresponds to the data signal output means in the second transmission control device, and the transmission control unit 34
And the decoder 33 correspond to the signal processing means in the second transmission control device.

【0019】このように、本実施例のシリアルデータ伝
送システムでは、親局10のみがクロック信号生成のため
の発振源11を有し、子局30側は発振源を持たない構成と
なっている。次に、図2に親局10側に内蔵される送受信
回路13の一例を示す。図2において、伝送線20は、プル
アップ抵抗R1を介して定電圧Vddの定電圧源に接続さ
れている。また、伝送線20とアースとの間には、分周回
路12からのクロック信号(図中TX−CLKで示されて
いる)をインバータ41で反転した信号によりON/OF
Fする第1のトランジスタとしてのトランジスタTr1
が接続されている。更に、伝送線20とアースとの間に
は、前記トランジスタTr1に対して並列に第2のトラ
ンジスタとしてのトランジスタTr2と前記プルアップ
抵抗R1と同程度の抵抗値を有するプルダウン抵抗R2
の直列回路が接続している。前記トランジスタTr2
は、伝送制御部15からのNRZ符号のデータ信号(図中
TX−NRZで示されている)によってON/OFFす
る構成である。また、伝送線20から抵抗R3、コンデン
サC1で構成したフィルタを介して受信信号(図中RX
で示されている)が取り込まれ、デコーダ14に入力す
る。
As described above, in the serial data transmission system of this embodiment, only the master station 10 has the oscillation source 11 for generating the clock signal, and the slave station 30 side has no oscillation source. . Next, FIG. 2 shows an example of the transmission / reception circuit 13 built in the master station 10. In FIG. 2, the transmission line 20 is connected to a constant voltage source of constant voltage Vdd via a pull-up resistor R1. Further, a signal obtained by inverting a clock signal (shown by TX-CLK in the drawing) from the frequency dividing circuit 12 by an inverter 41 is provided between the transmission line 20 and the ground to turn ON / OF.
Transistor Tr1 as the first transistor for F
Are connected. Further, between the transmission line 20 and the ground, a transistor Tr2 as a second transistor in parallel with the transistor Tr1 and a pull-down resistor R2 having a resistance value similar to that of the pull-up resistor R1.
The series circuit of is connected. The transistor Tr2
Is configured to be turned on / off by a data signal (denoted by TX-NRZ in the drawing) of the NRZ code from the transmission control unit 15. In addition, a reception signal (RX in the figure) is transmitted from the transmission line 20 through a filter composed of a resistor R3 and a capacitor C1.
(Denoted by) is captured and input to the decoder 14.

【0020】一方、図3に子局30側に内蔵される送受信
回路31の一例を示す。子局30側の送受信回路31の構成
は、伝送制御部34からのデータ信号(図中TX−NRZ
で示されている)に基づいてON/OFFする第2のト
ランジスタとしてのトランジスタTr3とプルダウン抵
抗R4との直列回路が伝送線20とアースとの間に接続し
ている。また、伝送線20から抵抗R5、コンデンサC2
で構成したフィルタを介して受信信号(図中RXで示さ
れている)が取り込まれ、クロック抽出部32に入力す
る。
On the other hand, FIG. 3 shows an example of a transmission / reception circuit 31 built in the slave station 30 side. The configuration of the transmission / reception circuit 31 on the slave station 30 side is based on the data signal (TX-NRZ in the figure) from the transmission control unit 34.
A series circuit of a transistor Tr3 as a second transistor which is turned on / off based on the above) and a pull-down resistor R4 is connected between the transmission line 20 and the ground. In addition, from the transmission line 20 to the resistor R5 and the capacitor C2
The received signal (indicated by RX in the drawing) is taken in through the filter configured in (4) and input to the clock extraction unit 32.

【0021】この子局30側の送受信回路31は、親局10側
の送受信回路13に設けられている、クロック信号を伝送
線20に送信するためのプルアップ抵抗R1とトランジス
タTr1の回路部分を取り除いた構成となっている。図
4に、本実施例の伝送装置に適用する「0」と「1」の
2値のデータに対応する送信データの符号の一例を示
す。
The transmitter / receiver circuit 31 on the side of the slave station 30 includes a circuit portion of a pull-up resistor R1 and a transistor Tr1 for transmitting a clock signal to the transmission line 20, which is provided in the transmitter / receiver circuit 13 on the side of the master station 10. It has been removed. FIG. 4 shows an example of codes of transmission data corresponding to binary data of “0” and “1” applied to the transmission apparatus of this embodiment.

【0022】VH とVL (VH >VL >0)という2つ
の判定レベルを設け、VH 以上の電位を持つパルスを
「0」、VL 以上VH 未満の電位を持つパルスを「1」
と判定する。即ち、親局10側におけるデータ伝送を例に
して説明すると、伝送制御部15から論理値「0」のデー
タがトランジスタTr2のベースに入力した場合は、ト
ランジスタTr2がOFFとなり、伝送線20は高い定電
圧Vddとなる。一方、伝送制御部15から論理値「1」の
データがトランジスタTr2のベースに入力した場合
は、トランジスタTr2がONとなり、伝送線20の電位
は、定電圧Vddを抵抗R1と抵抗R2で分圧した中間の
電圧値となる。従って、前記VH を定電圧Vddと前記分
圧との間の値に設定し、前記VH を分圧値より低い値に
設定すれば、データ値を伝送線20上の電位に対応させて
符号化して伝送でき、受信側でデータの識別が可能とな
る。
Two determination levels of V H and V L (V H > V L > 0) are provided, a pulse having a potential of V H or more is “0”, and a pulse having a potential of V L or more and less than V H is set. "1"
To determine. That is, the data transmission on the master station 10 side will be described as an example. When data having a logical value “0” is input from the transmission control unit 15 to the base of the transistor Tr2, the transistor Tr2 is turned off and the transmission line 20 is high. It becomes the constant voltage Vdd. On the other hand, when the data of the logical value "1" is input from the transmission control unit 15 to the base of the transistor Tr2, the transistor Tr2 is turned on and the potential of the transmission line 20 divides the constant voltage Vdd by the resistors R1 and R2. It becomes an intermediate voltage value. Therefore, setting the V H to a value between the divided constant voltage Vdd, by setting the V H lower than the divided voltage value value, corresponding to the potential on the transmission line 20 the data values The data can be encoded and transmitted, and the data can be identified on the receiving side.

【0023】次に、図5は子局30のクロック抽出部とデ
コーダの回路の一例であり、図2や図3の送受信回路で
受信される受信信号RXをNRZ符号に変換するもので
ある。図5において、受信信号RXは、コンパレータC
mp1,Cmp2の非反転入力に入力されており、各コ
ンパレータCmp1,Cmp2の反転入力側には抵抗R
6,R7の分圧による電圧値VH と、抵抗R8,R9の
分圧による電圧値VLが、それぞれ基準値として入力さ
れている。ただし、VH 、VL は図4で説明した判定レ
ベルであり、VH >VL である。
Next, FIG. 5 shows an example of a circuit of the clock extraction unit and the decoder of the slave station 30, which converts the reception signal RX received by the transmission / reception circuit of FIGS. 2 and 3 into an NRZ code. In FIG. 5, the received signal RX is the comparator C
It is input to the non-inverting inputs of mp1 and Cmp2, and the resistor R is provided on the inverting input side of each comparator Cmp1 and Cmp2.
The voltage value V H resulting from the voltage division of 6, R7 and the voltage value V L resulting from the voltage division of the resistors R8 and R9 are respectively inputted as reference values. However, V H and V L are the determination levels described in FIG. 4, and V H > V L.

【0024】コンパレータCmp1の出力は遅延回路5
1に入力され、遅延回路51の出力はフリップフロップ
FF1のリセット端子に入力されている。また、コンパ
レータCmp2の出力は、受信信号RXが図4に示すよ
うなパルスからなっているため、データ値に関係なく一
定周期のパルスとなり、これが抽出クロック信号RX−
CLKとして取り込まれると同時にフリップフロップF
F1のクロック端子に入力されている。更に、フリップ
フロップFF1の入力端子には常時Hiレベルの信号が
入力されており、出力はフリップフロップFF2の入力
に接続されている。フリップフロップFF2のクロック
端子には抽出クロック信号RX−CLKが入力されてお
り、抽出クロック信号RX−CLKの立ち下がりで動作
し、出力はデコード後のNRZ符号のデータ信号RX−
NRZとして取り込まれる。
The output of the comparator Cmp1 is the delay circuit 5
1 and the output of the delay circuit 51 is input to the reset terminal of the flip-flop FF1. Further, the output of the comparator Cmp2 is a pulse having a constant cycle regardless of the data value because the received signal RX is composed of pulses as shown in FIG. 4, and this is the extracted clock signal RX-
Flip-flop F at the same time as CLK
It is input to the clock terminal of F1. Further, the Hi-level signal is always input to the input terminal of the flip-flop FF1, and the output is connected to the input of the flip-flop FF2. The extracted clock signal RX-CLK is input to the clock terminal of the flip-flop FF2, operates at the falling edge of the extracted clock signal RX-CLK, and outputs the decoded data signal RX- of the NRZ code.
Imported as NRZ.

【0025】従って、コンパレータCmp2が比較手段
に相当し、このコンパレータCmp2と抵抗R8,R9
でクロック抽出部32を構成しており、コンパレータCm
p1、抵抗R6,R7、遅延回路51、フリップフロッ
プFF1,FF2 でデコーダ32を構成している。尚、親
局10側のデコーダ14も、子局30のデコーダ32と同様の構
成である。そして、親局10側では、抵抗R8,R9及び
コンパレータCmp2で構成されるクロック抽出部32に
相当する回路部分は不要である。
Therefore, the comparator Cmp2 corresponds to the comparing means, and the comparator Cmp2 and the resistors R8 and R9 are included.
The clock extraction unit 32 is composed of a comparator Cm.
The decoder 32 is composed of p1, resistors R6 and R7, a delay circuit 51, and flip-flops FF1 and FF2. The decoder 14 on the master station 10 side also has the same configuration as the decoder 32 of the slave station 30. Then, on the side of the master station 10, the circuit portion corresponding to the clock extraction unit 32 composed of the resistors R8 and R9 and the comparator Cmp2 is unnecessary.

【0026】次に、図6のタイミングチャートを参照し
ながら動作を説明する。親局10の送受信回路13には、発
振源11の原発振を分周した図示のような同期のためのク
ロック信号TX−CLKが常時入力され、トランジスタ
Tr1がON/OFFする。トランジスタTr1がON
の時は、伝送線20は接地されて低電位となり、OFFの
時は定電圧源に接続されて略定電圧Vddと等しく高電圧
となる。従って、データ信号の有無に拘らず伝送線20上
には、クロック信号TX−CLKと同じ周波数のVL
上の電位を持つパルスが常時出力される。
Next, the operation will be described with reference to the timing chart of FIG. A clock signal TX-CLK for synchronization, as shown in the figure, obtained by dividing the original oscillation of the oscillation source 11 is constantly input to the transmission / reception circuit 13 of the master station 10, and the transistor Tr1 is turned on / off. Transistor Tr1 is ON
In the case of, the transmission line 20 is grounded and has a low potential, and in the case of OFF, it is connected to a constant voltage source and has a high voltage substantially equal to the constant voltage Vdd. Therefore, a pulse having a potential equal to or higher than V L and having the same frequency as the clock signal TX-CLK is always output on the transmission line 20 regardless of the presence or absence of a data signal.

【0027】親局10のデータ送信時は、クロック信号T
X−CLKの立ち下がりでデータを変化させるようなN
RZ符号のデータ信号TX−NRZが、送受信回路13の
トランジスタTr2のベースに与えられる。そして、ク
ロック信号TX−CLKがLo (ロー)レベルの時はト
ランジスタTr1はONとなり、伝送線20は接地される
ため、送信データ信号TX−NRZの状態、即ちトラン
ジスタTr2のON/OFFに関係なく、伝送線20上の
信号はLo レベルとなる。これに対し、同期クロック
(1001)がHi レベルの時は、トランジスタTr1
はOFFとなるため、送信データ信号TX−NRZの状
態により、伝送線20上の信号レベルは変化することにな
る。即ち、NRZ符号による送信データ信号TX−NR
Zが「0」即ちLo レベルの時、トランジスタTr2は
OFFとなり、プルアップ抵抗R1により伝送線20の出
力はVddに略等しくなる。また、送信データ信号TX−
NRZが「1」即ちHiレベルの時、トランジスタTr
2はONとなり、プルアップ抵抗R1とプルダウン抵抗
R2の分圧により、約1/2Vddの中間電位が伝送線に
出力される。
When transmitting data from the master station 10, the clock signal T
N that changes data at the falling edge of X-CLK
The data signal TX-NRZ of the RZ code is given to the base of the transistor Tr2 of the transmission / reception circuit 13. When the clock signal TX-CLK is at Lo (low) level, the transistor Tr1 is turned on and the transmission line 20 is grounded. Therefore, regardless of the state of the transmission data signal TX-NRZ, that is, ON / OFF of the transistor Tr2. The signal on the transmission line 20 becomes Lo level. On the other hand, when the synchronous clock (1001) is at the Hi level, the transistor Tr1
Is turned off, the signal level on the transmission line 20 changes depending on the state of the transmission data signal TX-NRZ. That is, the transmission data signal TX-NR by the NRZ code
When Z is "0", that is, Lo level, the transistor Tr2 is turned off, and the output of the transmission line 20 becomes substantially equal to Vdd due to the pull-up resistor R1. In addition, the transmission data signal TX-
When NRZ is "1", that is, Hi level, the transistor Tr
2 is turned on, and the intermediate potential of about 1/2 Vdd is output to the transmission line by the voltage division of the pull-up resistor R1 and the pull-down resistor R2.

【0028】図6の受信信号は、このようなデータ信号
がクロック信号に重畳された状態の時のものを示してい
る。伝送線20上からの受信信号RXを受信した子局30側
は、図5の回路によってクロック信号の抽出及び受信信
号のデコードを行う。受信信号RXは、コンパレータC
mp1,Cmp2にそれぞれ入力する。基準電位がVL
であるコンパレータCmp2からは、受信信号RXの電
位に関係なく、即ち受信データの値に関係なく一定周期
のパルスが出力し、これが抽出クロック信号RX−CL
Kとして受信データのサンプリングや内部の論理動作に
使用される。一方、コンパレータCmp1は基準電位が
H であるため、受信信号RXが高電位、即ち受信デー
タが「0」の時のみパルスが出力される。このコンパレ
ータCmp1の出力は遅延回路51を通して遅延されて
信号FとしてフリップフロップFF1のリセット端子に
入力される。このため、抽出クロック信号RX−CLK
の立ち上がりによりフリップフロップFF1の出力信号
GがHiレベルとなっても、受信データが「0」の時に
は一定の遅延時間後にLoレベルとなる。このフリップ
フロップFF1の出力信号Gを抽出クロック信号RX−
CLKの立ち下がりによりサンプリングするのがフリッ
プフロップFF2である。即ち、フリップフロップFF
2は、抽出クロック信号RX−CLKが立ち下がった時
の入力(信号G)状態に保持して出力する。このフリッ
プフロップFF2の出力が、デコード後のNRZ符号に
よる受信データ信号RX−NRZとなり、伝送制御部34
に取り込まれる。そして、抽出クロック信号RX−CL
Kは、上述したように、受信信号のデコードの他に、伝
送制御部34にも出力され、子局30側における制御動作、
送信動作等全ての論理動作に使用される。
The received signal shown in FIG. 6 is shown when such a data signal is superimposed on the clock signal. Upon receiving the reception signal RX from the transmission line 20, the slave station 30 side extracts the clock signal and decodes the reception signal by the circuit of FIG. The received signal RX is the comparator C
Input to mp1 and Cmp2, respectively. Reference potential is V L
The comparator Cmp2 outputs a pulse having a constant cycle regardless of the potential of the reception signal RX, that is, regardless of the value of the reception data, which is the extracted clock signal RX-CL.
It is used as K for sampling received data and for internal logic operation. On the other hand, since the reference potential of the comparator Cmp1 is V H , the pulse is output only when the reception signal RX has a high potential, that is, when the reception data is “0”. The output of the comparator Cmp1 is delayed by the delay circuit 51 and input as the signal F to the reset terminal of the flip-flop FF1. Therefore, the extracted clock signal RX-CLK
Even when the output signal G of the flip-flop FF1 becomes Hi level due to the rising of the signal, when the received data is "0", it becomes Lo level after a certain delay time. The output signal G of the flip-flop FF1 is extracted as a clock signal RX-
The flip-flop FF2 samples at the falling edge of CLK. That is, the flip-flop FF
2 holds and outputs the input (signal G) state when the extracted clock signal RX-CLK falls. The output of the flip-flop FF2 becomes the received data signal RX-NRZ by the NRZ code after decoding, and the transmission control unit 34
Is taken into. Then, the extracted clock signal RX-CL
As described above, K is also output to the transmission control unit 34 in addition to the decoding of the received signal, and the control operation on the slave station 30 side,
It is used for all logical operations such as transmission.

【0029】子局30から親局10への送信も、同期クロッ
ク信号TR−CLKの出力が依然として親局10側によっ
て行われること以外は全く同様の動作である。そして、
伝送信号の中間電位(データ値の「1」の時)は、親局
10側のプルアップ抵抗R1と子局30側のプルダウン抵抗
R4の分圧値で決まる。子局30側の送信動作では、図6
で示した親局10の送信データ信号TX−NRZと同様
に、抽出クロック信号RX−CLKの立ち下がりで送信
データを変化させることができる。ただし、親局10側は
発振源11を持っているため、受信信号RXからクロック
信号を抽出する必要はなく、自身が発生するクロック信
号TX−CLKを用いてデコーダ14、伝送制御部15を制
御している。
The transmission from the slave station 30 to the master station 10 is also the same operation except that the synchronization clock signal TR-CLK is still output by the master station 10. And
The intermediate potential of the transmission signal (when the data value is "1") is the master station.
It is determined by the voltage division value of the pull-up resistor R1 on the 10 side and the pull-down resistor R4 on the slave station 30 side. The transmission operation on the slave station 30 side is shown in FIG.
Similarly to the transmission data signal TX-NRZ of the master station 10 shown by, the transmission data can be changed at the falling edge of the extracted clock signal RX-CLK. However, since the master station 10 side has the oscillation source 11, it is not necessary to extract the clock signal from the received signal RX, and the decoder 14 and the transmission controller 15 are controlled using the clock signal TX-CLK generated by itself. is doing.

【0030】以上のように、親局10側のみに発振源11を
設けて常時伝送線20にクロック情報を出力し、伝送線20
によって接続された発振源を持たない子局30側では、そ
のクロック信号に重畳させてデータをシリアル伝送す
る。そして、発振源を持たない子局30では、伝送線20上
の信号からクロック情報を抽出し、抽出したクロックに
よって子局30側の全ての処理動作を行うようにしてい
る。従って、ネットワークを構成する複数の局のただ1
局だけに発振源を持たせるだけで済み、従来のように各
局全てに時間の基準とする発振源を持たせる構成に比べ
てコストを低減できるという効果を有する。
As described above, the oscillation source 11 is provided only on the master station 10 side, and clock information is constantly output to the transmission line 20.
On the side of the slave station 30 having no oscillation source connected by, the data is serially transmitted by being superimposed on the clock signal. In the slave station 30 having no oscillation source, clock information is extracted from the signal on the transmission line 20, and all processing operations on the slave station 30 side are performed by the extracted clock. Therefore, only one of the stations that make up the network
Only the station needs to have the oscillation source, and the cost can be reduced as compared with the conventional configuration in which all stations have the oscillation source as the time reference.

【0031】また、搬送波の振幅を変化させることによ
り伝送データとする手法だけに注目すれば、正弦波を搬
送波とするAM(振幅変調)を例に挙げることができ
る。しかし、AMでは搬送波と伝送データの間に同期関
係はないため、搬送波の周波数を伝送データの周波数よ
りも十分大きくする必要がある。また、正弦波を用いた
アナログ技術であることから回路も複雑になる。これに
対して、本実施例のものでは、搬送波を常時出力される
デジタル波形のクロックとし、伝送データをこのクロッ
クに同期した同じ周波数のデジタルデータとすること
で、簡単な回路構成で容易に同期を取って半2重の双方
向伝送を行うことができる。また、デジタル技術が中心
になっており、回路も簡単であるため集積化が容易であ
るという点でもAMとはその特徴が異なっている。
Further, if attention is paid only to the method of changing the amplitude of the carrier wave to obtain transmission data, AM (amplitude modulation) using a sine wave as a carrier wave can be taken as an example. However, in AM, since the carrier wave and the transmission data have no synchronous relationship, the frequency of the carrier wave needs to be sufficiently higher than the frequency of the transmission data. In addition, the circuit is complicated because it is an analog technology using a sine wave. On the other hand, in the present embodiment, the carrier wave is always used as the clock of the digital waveform and the transmission data is the digital data of the same frequency synchronized with this clock, so that the simple circuit configuration facilitates the synchronization. Therefore, it is possible to perform half-duplex bidirectional transmission. Further, the characteristics are different from the AM in that the digital technology is mainly used and the circuit is simple and therefore the integration is easy.

【0032】図7は、本発明のシリアルデータ伝送装置
に用いる符号に透過性を持たせた一例を示す。図の
(A)のように、通信の開始を表すSOM(Start
of Message)を「111」パルスとし、図
(B)に示すようにデータ「00」を「100」パル
ス、図(C)に示すようにデータ「01」を「110」
パルス、図(D)に示すようにデータ「10」を「10
1」パルス、図(E)に示すようにデータ「11」を
「011」というように3つのパルスで2ビットのデー
タを表現するようにする。
FIG. 7 shows an example in which the code used in the serial data transmission apparatus of the present invention has transparency. As shown in (A) of the figure, SOM (Start) indicating the start of communication
of Message) is “111” pulse, data “00” is “100” pulse as shown in FIG. (B), and data “01” is “110” as shown in FIG.
Pulse, data “10” as shown in FIG.
1 "pulse, data" 11 "as shown in FIG. 7E is represented by" 011 ", and 2-bit data is represented by three pulses.

【0033】このような符号を用いてデータ伝送する場
合は、データ送信時以外は、各局の送受信回路のトラン
ジスタTr2をOFFすることにしておけば、通信状態
にない時はVH レベルを越える「0」に相当する高電圧
のパルスのみが連続して伝送線20上に出力されているこ
とになり、「1」に相当する低電圧のパルスを連続3回
受信したときにSOMを検知し、後に続く信号を伝送デ
ータとして取り込むことができる。
[0033] When data is transmitted using such a code, except during the data transmission, if and to turn OFF the transistor Tr2 of each station transmitting and receiving circuit, when not in communication state exceeds V H level " Only the high voltage pulse corresponding to "0" is continuously output to the transmission line 20, and the SOM is detected when the low voltage pulse corresponding to "1" is received three times in succession, The subsequent signal can be captured as transmission data.

【0034】図8は、図7の符号を使用する場合の実施
例における各局の伝送制御部の構成の一例を示すもの
で、キャラクタコード化されたデータを検知する際によ
く用いられるものである。尚、ここでは、例えば、子局
30側の伝送制御部にこの回路を組み込んだ場合について
説明する。図5に示す回路構成のデコーダ33でNRZ符
号に変換されたデータ信号RX−NRZは、本実施例の
伝送制御部34′内のシフトレジスタ61により3ビット
のパラレルデータに変換される。この3ビットのデータ
が「111」となった時に、SOM検知回路62からS
OM検出信号が制御タイミング生成回路63に出力され
る。この出力が入力すると、制御タイミング生成回路6
3の動作が開始され、デコーダ33で抽出した抽出クロッ
ク信号RX−CLKを基に各種タイミング信号を生成し
て、各ラッチ64と制御回路65を制御して、その後の
シフトレジスタ61からの3ビットの受信データのラッ
チ及び制御が行われる。尚、親局10側では、抽出クロッ
ク信号RX−CLKの代わりに、、自身の発振源11の原
発振を分周して得られるクロック信号TX−CLKが使
用される他は、上述と同様である。
FIG. 8 shows an example of the configuration of the transmission control unit of each station in the embodiment in which the code of FIG. 7 is used, which is often used when detecting character coded data. . Here, for example,
A case where this circuit is incorporated in the transmission control unit on the side of 30 will be described. The data signal RX-NRZ converted into the NRZ code by the decoder 33 having the circuit configuration shown in FIG. 5 is converted into 3-bit parallel data by the shift register 61 in the transmission control unit 34 'of this embodiment. When this 3-bit data becomes “111”, the SOM detection circuit 62 outputs S
The OM detection signal is output to the control timing generation circuit 63. When this output is input, the control timing generation circuit 6
3 operation is started, various timing signals are generated based on the extracted clock signal RX-CLK extracted by the decoder 33, each latch 64 and the control circuit 65 are controlled, and then the three bits from the shift register 61 The received data is latched and controlled. The master station 10 is similar to the above except that the clock signal TX-CLK obtained by dividing the original oscillation of its own oscillation source 11 is used instead of the extracted clock signal RX-CLK. is there.

【0035】かかる構成によれば、伝送線20上のデータ
の有無が容易に判別ができ、コンテンション方式のよう
に各局が非同期で送信を行うような手順も採用すること
が可能になる。尚、EOM(End of Messa
ge)等を設けてデータの終了を示すようにすることも
可能であることは言うまでもない。
According to this structure, it is possible to easily determine the presence or absence of data on the transmission line 20, and it is also possible to adopt a procedure in which each station performs transmission asynchronously like the contention system. In addition, EOM (End of Messa
It goes without saying that it is also possible to provide the end of data by providing ge) or the like.

【0036】図9に本発明の更に別の実施例を示す。図
9に示す実施例は、クロックの出力を専門に行う局70を
第1の伝送制御装置として1つ設け、この局70を伝送線
20によって複数のデータ伝送を行う第2の伝送制御装置
としての局80に接続する構成としたものである。局70
は、発振源11と、分周回路12と、送信回路13′のみを備
える構成であり、前記発振源11と分周回路12は図1に示
す実施例と同様のものである。また、前記送信回路13′
は、クロック信号の送信のみの機能を有すればよく、図
2に示す回路のトランジスタTr1と、インバータ41
と、伝送線20を定電圧Vddにプルアップするための抵抗
R1だけを備え、その他のトランジスタTr2、抵抗R
2,R3、コンデンサC1等の構成要素は不要となる。
FIG. 9 shows still another embodiment of the present invention. In the embodiment shown in FIG. 9, one station 70 specialized for clock output is provided as a first transmission control device, and this station 70 is used as a transmission line.
The configuration is such that 20 is connected to a station 80 as a second transmission control device for transmitting a plurality of data. Bureau 70
Is a configuration including only an oscillation source 11, a frequency dividing circuit 12, and a transmitting circuit 13 '. The oscillation source 11 and the frequency dividing circuit 12 are the same as those in the embodiment shown in FIG. Also, the transmitter circuit 13 '
Need only have a function of transmitting a clock signal, and the transistor Tr1 of the circuit shown in FIG.
And a resistor R1 for pulling up the transmission line 20 to a constant voltage Vdd, and other transistors Tr2 and R
The components such as 2, R3 and the capacitor C1 are unnecessary.

【0037】また、データ伝送する各局80は、全て発振
源を持たない図1に示す子局30と同様な構成であり説明
を省略する。この実施例では、局70から常時クロック信
号が伝送線20上に出力され、このクロック信号に重畳さ
せて、他の各局80間でデータ伝送を行う。各局80は、伝
送線20上の信号からクロック情報を前述と同様に抽出し
て、局内の各動作のタイミングをとる。即ち、局70がク
ロック信号の出力機能だけでデータの伝送機能を備えて
いないことが異なるだけで、その他の局80の動作は、上
述した各実施例と同様である。
Further, each station 80 for transmitting data has the same structure as the slave station 30 shown in FIG. In this embodiment, the station 70 constantly outputs a clock signal onto the transmission line 20, superimposes the clock signal on this clock signal, and performs data transmission between the other stations 80. Each station 80 extracts clock information from the signal on the transmission line 20 in the same manner as described above, and takes timing of each operation in the station. That is, the station 70 is the same as in the above-described embodiments except that the station 70 has only a clock signal output function and does not have a data transmission function.

【0038】[0038]

【発明の効果】以上説明したように本発明によれば、発
振源を持つただ1つの第1の伝送制御装置にから伝送線
上に常時クロック情報を出力し、伝送線によって接続さ
れた発振源を持たない他の第2の伝送制御装置側が、そ
のクロック信号にデータを重畳することによりシリアル
データ伝送を行い、第2の伝送制御装置側は、伝送線上
の信号からクロックを抽出し、抽出したクロック信号を
用いて装置内の全ての動作のタイミングをとる構成とし
たので、発振源をネットワーク上の1局に設けるだけで
半2重のシリアルデータ伝送が可能となり、従来の自己
同期によりシリアルデータ伝送する方式のものに比べて
コストを低減できるという効果を有する。
As described above, according to the present invention, the clock information is constantly output on the transmission line from the only first transmission control device having the oscillation source, and the oscillation source connected by the transmission line is controlled. The other second transmission control device side, which does not have it, performs serial data transmission by superimposing data on the clock signal, and the second transmission control device side extracts the clock from the signal on the transmission line and extracts the clock. Since the configuration is such that all the operations in the device are timed using signals, half-duplex serial data transmission is possible by only providing an oscillation source in one station on the network, and serial data transmission by conventional self-synchronization. It has an effect that the cost can be reduced as compared with that of the system.

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

【図1】本発明に係るシリアルデータ伝送装置の第1実
施例の構成図
FIG. 1 is a configuration diagram of a first embodiment of a serial data transmission device according to the present invention.

【図2】同上第1実施例の親局の送受信回路の回路図FIG. 2 is a circuit diagram of a transmitter / receiver circuit of a master station according to the first embodiment.

【図3】同上第1実施例の子局の送受信回路の回路図FIG. 3 is a circuit diagram of a transmitter / receiver circuit of the slave station according to the first embodiment.

【図4】同上第1実施例に適用する符号の例を示す図FIG. 4 is a diagram showing an example of codes applied to the first embodiment.

【図5】同上第1実施例の子局のクロック抽出部とデー
コダを示す回路図
FIG. 5 is a circuit diagram showing a clock extraction unit and a decoder of the slave station according to the first embodiment.

【図6】同上第1実施例の動作を説明するためのタイミ
ングチャート
FIG. 6 is a timing chart for explaining the operation of the first embodiment.

【図7】データ符号に透過性を持たせる符号化の例を示
す図
FIG. 7 is a diagram showing an example of encoding for making a data code transparent.

【図8】本発明に係るシリアルデータ伝送装置の別の実
施例の要部の回路図
FIG. 8 is a circuit diagram of a main part of another embodiment of the serial data transmission device according to the present invention.

【図9】本発明に係るシリアルデータ伝送装置の更に別
の実施例の全体構成図
FIG. 9 is an overall configuration diagram of still another embodiment of the serial data transmission device according to the present invention.

【図10】NRZ符号を示す図FIG. 10 is a diagram showing an NRZ code.

【図11】マンチェスタ符号を示す図FIG. 11 is a diagram showing Manchester codes.

【図12】従来の自己同期方式のクロック抽出回路図FIG. 12 is a conventional self-synchronous clock extraction circuit diagram.

【図13】図12の回路の動作を説明するためのタイミング
チャート
13 is a timing chart for explaining the operation of the circuit of FIG.

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

10 親局(第1の伝送制御装置) 11 発振源 13 送受信回路 13′ 送信回路 14 デコーダ 15 伝送制御部 20 伝送線 30 子局(第2の伝送制御装置) 31 送受信回路 32 クロック抽出部 33 デコーダ 34 伝送制御部 10 Master station (first transmission control device) 11 Oscillation source 13 Transmission / reception circuit 13 'Transmission circuit 14 Decoder 15 Transmission control unit 20 Transmission line 30 Substation (second transmission control device) 31 Transmission / reception circuit 32 Clock extraction unit 33 Decoder 34 Transmission control unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 発振源と、 該発振源の信号を基に生成されるクロック信号を常時伝
送線に出力するクロック信号出力手段と前記発振源の信
号を基に生成されるクロック信号に同期して前記クロッ
ク信号と等しい周波数のデータ信号を前記伝送線上のク
ロック信号に重畳させて出力するデータ信号出力手段
と、 前記伝送線からの受信信号からデータ信号を抽出し、該
抽出したデータ信号を前記発振源の信号を基に生成され
るクロック信号に同期して処理する信号処理手段と、 を備えた1つの第1の伝送制御装置と、 前記伝送線上の信号を受信してクロック信号を抽出する
クロック信号抽出手段と、 前記伝送線上のクロック信号に重畳させてデータ信号を
出力するデータ信号出力手段と、 前記伝送線からの受信信号からデータ信号を抽出し、該
抽出したデータ信号を前記クロック信号抽出手段からの
抽出クロック信号に同期して処理する信号処理手段と、 を備えた少なくとも1つの第2の伝送制御装置と、 で構成されるシリアルデータ伝送装置。
1. An oscillation source, clock signal output means for constantly outputting a clock signal generated based on the signal of the oscillation source to a transmission line, and a clock signal generated based on the signal of the oscillation source. And a data signal output means for outputting a data signal having the same frequency as the clock signal by superimposing it on the clock signal on the transmission line, and extracting the data signal from the received signal from the transmission line, and extracting the extracted data signal. A signal processing means for processing in synchronization with a clock signal generated based on the signal of the oscillation source; and a first transmission control device, and a signal on the transmission line to receive and extract a clock signal. Clock signal extracting means, data signal outputting means for outputting a data signal by superimposing it on the clock signal on the transmission line, and extracting a data signal from a received signal from the transmission line, A serial data transmission device comprising: at least one second transmission control device comprising: a signal processing means for processing the extracted data signal in synchronization with the extracted clock signal from the clock signal extraction means.
【請求項2】 前記クロック信号出力手段は、前記クロ
ック信号に同期して前記伝送線の電位を高電位と低電位
とに交互に切り替えてクロック信号を伝送線に出力する
構成であり、前記データ信号出力手段は、伝送線が高電
位に状態にある時に、出力するデータに応じて伝送線の
電位を、前記高電位と、高電位と低電位との間の中間電
位とに切替えてデータをクロック信号に重畳させる構成
である請求項1記載のシリアルデータ伝送装置。
2. The clock signal output means is configured to alternately switch the electric potential of the transmission line between a high electric potential and a low electric potential in synchronization with the clock signal and output the clock signal to the transmission line. The signal output means, when the transmission line is in a high potential state, switches the potential of the transmission line between the high potential and an intermediate potential between the high potential and the low potential according to the data to be output, and outputs the data. The serial data transmission device according to claim 1, wherein the serial data transmission device is configured to be superimposed on a clock signal.
【請求項3】 前記クロック信号出力手段は、伝送線を
プルアップ抵抗を介して定電圧源に接続し、伝送線とア
ースとの間に、前記クロック信号に同期してON/OF
Fする第1のトランジスタを介装する構成であり、前記
データ信号出力手段は、伝送線とアースとの間に、前記
第1のトランジスタと並列に、プルダウン抵抗とデータ
信号に応じてON/OFFする第2のトランジスタとの
直列回路を介装する構成である請求項2記載のシリアル
データ伝送装置。
3. The clock signal output means connects the transmission line to a constant voltage source via a pull-up resistor, and turns on / off in synchronization with the clock signal between the transmission line and ground.
The data signal output means is ON / OFF between the transmission line and the ground in parallel with the first transistor in accordance with the pull-down resistor and the data signal. 3. The serial data transmission device according to claim 2, wherein the serial data transmission device has a configuration in which a series circuit with the second transistor is interposed.
【請求項4】 前記受信信号の電位と予め設定した前記
中間電位と低電位の間の電位を持つ基準電位とを比較す
る比較手段とを備えて、クロック信号抽出手段を構成し
た請求項2又は3記載のシリアルデータ伝送装置。
4. The clock signal extracting means is provided with a comparing means for comparing the potential of the received signal with a reference potential having a preset potential between the intermediate potential and the low potential. 3. The serial data transmission device described in 3.
【請求項5】 予め設定した所定の信号列を受信した時
にデータ送信開始を検知するデータ送信開始検知手段を
設け、該データ送信開始検知手段の検知信号に基づいて
前記信号列以後の信号をデータ信号として取り込む構成
とする請求項1〜4のいずれか1つに記載のシリアルデ
ータ伝送装置。
5. A data transmission start detection means for detecting the start of data transmission when a preset predetermined signal stream is received, and the data of the signals after the signal stream is data based on the detection signal of the data transmission start detection means. The serial data transmission device according to claim 1, wherein the serial data transmission device is configured to be captured as a signal.
【請求項6】 発振源と、 該発振源の信号を基に生成されるクロック信号を常時伝
送線に出力するクロック信号出力手段とを備えた1つの
第1の伝送制御装置と、 前記伝送線上の信号を受信しクロック信号を抽出するク
ロック信号抽出手段と、 前記伝送線上のクロック信号に重畳させてデータ信号を
出力するデータ信号出力手段と、 前記伝送線からの受信信号からデータ信号を抽出し、該
抽出したデータ信号を前記クロック信号抽出手段からの
抽出クロック信号に同期して処理する信号処理手段と、 を備えた複数の第2の伝送制御装置と、 で構成されるシリアルデータ伝送装置。
6. A first transmission control device comprising: an oscillation source; and a clock signal output means for constantly outputting a clock signal generated based on the signal of the oscillation source to a transmission line; Clock signal extracting means for receiving the signal of (1) and extracting a clock signal, data signal outputting means for outputting a data signal by superimposing it on the clock signal on the transmission line, and extracting a data signal from the reception signal from the transmission line. A plurality of second transmission control devices each including: a signal processing unit that processes the extracted data signal in synchronization with the extracted clock signal from the clock signal extracting unit;
JP6046686A 1994-03-17 1994-03-17 Serial data transmitter Pending JPH07264250A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP6046686A JPH07264250A (en) 1994-03-17 1994-03-17 Serial data transmitter
GB9504790A GB2287622B (en) 1994-03-17 1995-03-09 Multiplex serial data communication circuit network and method and motor control system and method using multiplex serial data communication circuit network
US08/405,053 US5600634A (en) 1994-03-17 1995-03-15 Multiplex serial data communication circuit network with superposed clock and data signals
DE19509534A DE19509534C2 (en) 1994-03-17 1995-03-16 Multiplex communication network for serial data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6046686A JPH07264250A (en) 1994-03-17 1994-03-17 Serial data transmitter

Publications (1)

Publication Number Publication Date
JPH07264250A true JPH07264250A (en) 1995-10-13

Family

ID=12754268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6046686A Pending JPH07264250A (en) 1994-03-17 1994-03-17 Serial data transmitter

Country Status (1)

Country Link
JP (1) JPH07264250A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000027466A (en) * 1998-10-28 2000-05-15 구자홍 Bi-directional communication equipment
EP1037371A3 (en) * 1999-03-16 2002-07-24 Denso Corporation Motor drive control with low current limitation value
JP2009123035A (en) * 2007-11-16 2009-06-04 Hitachi Ltd Semiconductor device
JP2009195602A (en) * 2008-02-25 2009-09-03 Fujinon Corp Electronic communication system and endoscope system
JP2009267624A (en) * 2008-04-23 2009-11-12 Sony Corp Information processing apparatus and signal transmission method
US7664168B2 (en) 2004-11-09 2010-02-16 Canon Kabushiki Kaisha Data carrier device, data carrier driving device, data communication system using data carrier driving device and data communication method
JP2010041095A (en) * 2008-07-31 2010-02-18 Sony Corp Information processing device and signal processing method
JP2010041094A (en) * 2008-07-31 2010-02-18 Sony Corp Information processing device, signal processing method, and signal transmission method
JP2010062863A (en) * 2008-09-03 2010-03-18 Sony Corp Information processing apparatus and signal determination method
JP2010062762A (en) * 2008-09-02 2010-03-18 Sony Corp Information processing apparatus, decoding processing method, and signal transmission method
JP2010114574A (en) * 2008-11-05 2010-05-20 Sony Corp Information processing apparatus and full duplex transmission method
US7734940B2 (en) 2006-04-18 2010-06-08 Canon Kabushiki Kaisha Data communication device has data signal generation circuit and transmission circuit on basis of reference voltage and received signal
JP2010130218A (en) * 2008-11-26 2010-06-10 Sony Corp Signal transmission system, interface device, and signal transmission method
WO2011125214A1 (en) * 2010-04-09 2011-10-13 トヨタ自動車株式会社 Vehicle, communication system, and communication device
WO2011125215A1 (en) * 2010-04-09 2011-10-13 トヨタ自動車株式会社 Communication device, communication system, and vehicle
JP4859272B2 (en) * 1997-11-25 2012-01-25 コンティネンタル・テーベス・アクチエンゲゼルシヤフト・ウント・コンパニー・オッフェネ・ハンデルスゲゼルシヤフト Method and apparatus for decoding received signals for encoding and transmitting data
JP2012169953A (en) * 2011-02-16 2012-09-06 Mitsumi Electric Co Ltd Communication method, communication system, and device thereof
JP2012169746A (en) * 2011-02-10 2012-09-06 Mitsumi Electric Co Ltd Communication system and device thereof
WO2016203529A1 (en) * 2015-06-15 2016-12-22 富士電機株式会社 Data communication system, data communication device and sensor device

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4859272B2 (en) * 1997-11-25 2012-01-25 コンティネンタル・テーベス・アクチエンゲゼルシヤフト・ウント・コンパニー・オッフェネ・ハンデルスゲゼルシヤフト Method and apparatus for decoding received signals for encoding and transmitting data
KR20000027466A (en) * 1998-10-28 2000-05-15 구자홍 Bi-directional communication equipment
EP1037371A3 (en) * 1999-03-16 2002-07-24 Denso Corporation Motor drive control with low current limitation value
US7664168B2 (en) 2004-11-09 2010-02-16 Canon Kabushiki Kaisha Data carrier device, data carrier driving device, data communication system using data carrier driving device and data communication method
US7734940B2 (en) 2006-04-18 2010-06-08 Canon Kabushiki Kaisha Data communication device has data signal generation circuit and transmission circuit on basis of reference voltage and received signal
JP2009123035A (en) * 2007-11-16 2009-06-04 Hitachi Ltd Semiconductor device
JP2009195602A (en) * 2008-02-25 2009-09-03 Fujinon Corp Electronic communication system and endoscope system
JP2009267624A (en) * 2008-04-23 2009-11-12 Sony Corp Information processing apparatus and signal transmission method
JP2010041095A (en) * 2008-07-31 2010-02-18 Sony Corp Information processing device and signal processing method
JP2010041094A (en) * 2008-07-31 2010-02-18 Sony Corp Information processing device, signal processing method, and signal transmission method
JP2010062762A (en) * 2008-09-02 2010-03-18 Sony Corp Information processing apparatus, decoding processing method, and signal transmission method
JP2010062863A (en) * 2008-09-03 2010-03-18 Sony Corp Information processing apparatus and signal determination method
JP2010114574A (en) * 2008-11-05 2010-05-20 Sony Corp Information processing apparatus and full duplex transmission method
JP2010130218A (en) * 2008-11-26 2010-06-10 Sony Corp Signal transmission system, interface device, and signal transmission method
JP4692610B2 (en) * 2008-11-26 2011-06-01 ソニー株式会社 Signal transmission system, interface device, and signal transmission method
US8533375B2 (en) 2008-11-26 2013-09-10 Sony Corporation Signal transmission system, interface device, and signal transmission method for superimposing a data signal on an electric power line
WO2011125214A1 (en) * 2010-04-09 2011-10-13 トヨタ自動車株式会社 Vehicle, communication system, and communication device
US8768533B2 (en) 2010-04-09 2014-07-01 Toyota Jidosha Kabushiki Kaisha Vehicle, communication system, and communication device
US8772961B2 (en) 2010-04-09 2014-07-08 Toyota Jidosha Kabushiki Kaisha Communication device, communication system, and vehicle
CN102282036A (en) * 2010-04-09 2011-12-14 丰田自动车株式会社 Vehicle, communication system, and communication device
WO2011125215A1 (en) * 2010-04-09 2011-10-13 トヨタ自動車株式会社 Communication device, communication system, and vehicle
JP5327326B2 (en) * 2010-04-09 2013-10-30 トヨタ自動車株式会社 Vehicle, communication system and communication device
JP5413504B2 (en) * 2010-04-09 2014-02-12 トヨタ自動車株式会社 COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND VEHICLE
JP2012169746A (en) * 2011-02-10 2012-09-06 Mitsumi Electric Co Ltd Communication system and device thereof
JP2012169953A (en) * 2011-02-16 2012-09-06 Mitsumi Electric Co Ltd Communication method, communication system, and device thereof
WO2016203529A1 (en) * 2015-06-15 2016-12-22 富士電機株式会社 Data communication system, data communication device and sensor device
JPWO2016203529A1 (en) * 2015-06-15 2017-06-29 富士電機株式会社 Data communication system, data communication apparatus, and sensor apparatus
US10200186B2 (en) 2015-06-15 2019-02-05 Fuji Electric Co., Ltd. Data communication system, data communication apparatus, and sensor apparatus
US10644866B2 (en) 2015-06-15 2020-05-05 Fuji Electric Co., Ltd. Data communication system, data communication apparatus, and sensor apparatus
US10841071B2 (en) 2015-06-15 2020-11-17 Fuji Electric Co., Ltd. Data communication system, data communication apparatus, and sensor apparatus

Similar Documents

Publication Publication Date Title
JPH07264250A (en) Serial data transmitter
EP0059724B1 (en) Self-clocking data transmission system
US4613973A (en) Digital data decoder and method
US4759040A (en) Digital synchronizing circuit
US4675545A (en) Wave shaping apparatus for eliminating pulse width distortion
US4099163A (en) Method and apparatus for digital data transmission in television receiver remote control systems
US4763338A (en) Synchronous signal decoder
US6970527B2 (en) Transmitting circuit and method thereof, receiving circuit and method thereof, and data communication apparatus
JP3277948B2 (en) Digital signal receiver
JPH02274139A (en) Data transmission system
JPH0514337A (en) Digital signal transmission and reception circuit
GB2147477A (en) Data transmitter, data receiver and data transmission system
JP2000013451A (en) Reception equipment for optical data
JPH0669914A (en) Clock extraction circuit
JP3270572B2 (en) Frame signal transmission system
KR100489518B1 (en) Error prevention device of wireless communication
KR870001713A (en) Synchronization Digital Data Communication Network
KR19990024395A (en) Manchester signal detection and synchronization clock recovery
JPH07162401A (en) Communication equipment
JPS5980047A (en) Biphase code demodulator
JP2000295108A (en) Signal processing unit
JPH08331189A (en) Clock phase synchronization circuit
JPH02264533A (en) Data transmission system
JPH0497633A (en) Serial data receiver
JPH02226932A (en) Receiver for cmi code