Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0716180B2 - Vehicle communication device - Google Patents
[go: Go Back, main page]

JPH0716180B2 - Vehicle communication device - Google Patents

Vehicle communication device

Info

Publication number
JPH0716180B2
JPH0716180B2 JP21812486A JP21812486A JPH0716180B2 JP H0716180 B2 JPH0716180 B2 JP H0716180B2 JP 21812486 A JP21812486 A JP 21812486A JP 21812486 A JP21812486 A JP 21812486A JP H0716180 B2 JPH0716180 B2 JP H0716180B2
Authority
JP
Japan
Prior art keywords
output
data
level
signal
communication 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.)
Expired - Lifetime
Application number
JP21812486A
Other languages
Japanese (ja)
Other versions
JPS6374337A (en
Inventor
憲幸 阿部
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 JP21812486A priority Critical patent/JPH0716180B2/en
Publication of JPS6374337A publication Critical patent/JPS6374337A/en
Publication of JPH0716180B2 publication Critical patent/JPH0716180B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)
  • Selective Calling Equipment (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、データ伝送の信頼性の向上を図った車両用
通信装置に関する。
Description: TECHNICAL FIELD The present invention relates to a vehicular communication device that improves reliability of data transmission.

(従来の技術) 従来の多重通信装置としては、例えば第6図に示すよう
なものがある(U.S.P.4370561号、参照)。
(Prior Art) As a conventional multiplex communication device, for example, there is one as shown in FIG. 6 (see USP4370561).

第6図において、10は車両電源、20は回路保護器、30は
電源線、40は多重化同期装置、50は通信線、60は送信装
置、61〜63はスイッチ、70は受信装置、71,73はリレ
ー、72,74は負荷である。
In FIG. 6, 10 is a vehicle power supply, 20 is a circuit protector, 30 is a power supply line, 40 is a multiplexing and synchronizing device, 50 is a communication line, 60 is a transmitting device, 61 to 63 are switches, 70 is a receiving device, 71 , 73 are relays, and 72, 74 are loads.

同期装置40は第7図(a)に示すような同期信号を通信
線50に出力している。第7図(a)に示す100はマスタ
ー同期区間であり、送・受信装置60,70はこれに後続す
る負パルス101をカウントすることにより、送・受信チ
ャンネルを検出する(第7図(b))。第7図(a)の
200は負パルス101に続くデータ送出区間であり、この
間、同期装置40の出力はフローティング状態となってい
る(第7図(a),(c)、参照)。送信装置60は前記
負パルス101で順次指定される送信チャネルが所定チャ
ネルになったとき、このチャネルに対応するスイッチ
(例えば、スイッチ61)の入力に応じて、前記送出区間
200の期間中に“H"レベルまたは“L"レベルにてデータ
を通信線50に出力する。
The synchronizer 40 outputs a synchronization signal as shown in FIG. 7 (a) to the communication line 50. Reference numeral 100 shown in FIG. 7 (a) is a master synchronization section, and the transmitter / receivers 60, 70 detect the transmitter / receiver channel by counting the negative pulse 101 following this (FIG. 7 (b). )). Figure 7 (a)
200 is a data transmission section following the negative pulse 101, and during this period, the output of the synchronizer 40 is in a floating state (see FIGS. 7A and 7C). When the transmission channel sequentially designated by the negative pulse 101 becomes a predetermined channel, the transmission device 60 responds to an input of a switch (for example, a switch 61) corresponding to the channel to output the transmission section.
Data is output to the communication line 50 at "H" level or "L" level during the period of 200.

一方、受信装置70も送信装置60と同様に所定チャネルを
検出し、前記送出区間200の期間中に通信線50上の電圧
レベルを第7図(d)に示すタイミングパルス400にて
ラッチする。ラッチ出力に応じリレー(例えばリレー7
1)がONし、負荷72を駆動する。なお、送出区間200の
後、同期装置40は第7図(a)中に示す“H"レベルの区
間300の信号を出力する。このようにして、通信線50上
に複数の通信チャネルを構成すると同時に、データ通信
を同一線上で行なうことができる。
On the other hand, the receiving device 70 also detects a predetermined channel similarly to the transmitting device 60, and latches the voltage level on the communication line 50 by the timing pulse 400 shown in FIG. 7 (d) during the sending period 200. Depending on the latch output, relay (eg relay 7
1) turns on and drives the load 72. After the sending section 200, the synchronizer 40 outputs the signal of the "H" level section 300 shown in FIG. 7 (a). In this way, it is possible to configure a plurality of communication channels on the communication line 50 and simultaneously perform data communication on the same line.

(この発明が解決しようとする問題点) しかしながら、このような従来の多重通信装置にあって
は、同期装置の出力が3ステート出力となっていたた
め、送信装置および受信装置のそれぞれに、同期装置の
出力のフローティング区間を正確に判断する手段が必要
であり、そのための付属回路や高精度で高価な発振器が
必要とされ、このため、回路構成が複雑となり、コスト
が上昇するという問題点があった。また、同期装置の出
力フローティング区間、すなわちデータ送出区間中に、
送信装置のデータ出力がわずかでもズレを生じたとき、
同期装置の出力と、送信装置の出力が衝突したり、通信
線上の信号に同期装置の出力のフローティング状態があ
らわれて、信号が不定レベルとなり、チャネルの読み誤
りを起こしたりして、確実なデータ通信を行なうことが
できず、信頼性に欠けるという問題点もあった。
(Problems to be Solved by the Invention) However, in such a conventional multiplex communication device, since the output of the synchronization device is a 3-state output, the synchronization device is provided to each of the transmission device and the reception device. It is necessary to have a means for accurately determining the floating section of the output of the device, and an attached circuit for that purpose and a high-precision and expensive oscillator are required.Therefore, there is a problem that the circuit configuration becomes complicated and the cost increases. It was Also, during the output floating section of the synchronizer, that is, during the data transmission section,
When the data output of the transmitter has a slight deviation,
If the output of the synchronizer collides with the output of the transmitter, or the signal on the communication line shows a floating state of the output of the synchronizer, the signal becomes an undefined level, and a channel reading error occurs, resulting in reliable data. There was also a problem that communication was not possible and reliability was poor.

さらに、送信装置の出力がCMOS出力であるため、同一チ
ャネル上にアクセスできるスイッチは唯一つであり、デ
ータ衝突は許されない。したがって、同一の装置に対す
るコントロールスイッチがそれぞれ離れた2箇所にある
ような場合(例えば、車両内でのラジオ操作スイッチ
等)、これら2個所からの信号のワイヤードORをとるこ
とはできず、それぞれのスイッチに対してチャネルを用
意し、データ伝送を行ない、受信側でそれぞれの信号を
受信した後に、ORをとるという作業を行なう必要があ
り、伝送効率が悪いという問題点もあった。
Furthermore, since the output of the transmitter is a CMOS output, only one switch can access on the same channel and data collision is not allowed. Therefore, if the control switches for the same device are located at two separate locations (for example, a radio operation switch in a vehicle), it is not possible to take the wired OR of the signals from these two locations, and There is also a problem that transmission efficiency is poor because it is necessary to prepare a channel for the switch, perform data transmission, and perform OR operation after receiving each signal on the receiving side.

(問題点を解決するための手段) この発明は、このような従来の問題点に鑑みてなされた
ものであって、同期装置と送信装置の各出力をオープン
ドレイン出力とし、同期装置はマスター同期区間信号の
みを出力し、送信装置は、通信線上のレベルにより送信
データの出力状態を監視して通信チャネルを検出するこ
とにより、回路構成が簡単でコストが安く、しかもデー
タ伝送の信頼性と伝送効率に優れた車両用通信装置を提
供することを目的としている。
(Means for Solving Problems) The present invention has been made in view of the above-mentioned conventional problems, in which each output of the synchronization device and the transmission device is an open drain output, and the synchronization device is a master synchronization device. Only the section signal is output, and the transmission device monitors the output state of the transmission data according to the level on the communication line to detect the communication channel, so that the circuit configuration is simple and the cost is low, and the reliability and transmission of data transmission are possible. An object of the present invention is to provide a highly efficient vehicle communication device.

この目的を達成するために、この発明は、データ通信を
行なう一本の通信線と、通信の開始を示すマスター同期
信号をオープンドレイントランジスタを介して前記通信
線に送出する同期装置と、通信データを1ビット毎にそ
のレベルを判別して所定ビット数に達するまで前記通信
線にオープンドレイントランジスタを介して送出する送
信装置と、前記通信線に接続され、該送信装置から送信
される通信データを1ビット毎に所定ビット数に達する
まで受信して、負荷を駆動する受信装置と、を備えてい
る。
To achieve this object, the present invention provides a single communication line for performing data communication, a synchronization device for transmitting a master synchronization signal indicating the start of communication to the communication line via an open drain transistor, and communication data. Is transmitted to the communication line through an open drain transistor until the level is determined for each bit, and communication data transmitted from the transmission device is connected to the communication line. A receiving device that drives the load by receiving each bit until a predetermined number of bits is reached.

(作用) このような構成を有するこの発明においては、各送信装
置は同期装置のマスター同期信号で起動し、データを1
ビット送出するごとにそのレベルを監視して、全ての送
信装置が1ビット出力し終ったことを確認した後に、次
のビットを出力する。この場合、データ出力に時間のズ
レが生じても1ビット出力ごとに補正が行なわれ、デー
タの誤伝送を起こすことはない。また、従来のようにフ
ローティング区間を正確に検出する回路や精度の高い発
振器を必要としないので、回路構成が簡単となり、コス
トを低減することができる。さらに、効率的にワイヤー
ドORを実現できるので、伝送効率を高めることもでき
る。
(Operation) In the present invention having such a configuration, each transmission device is activated by the master synchronization signal of the synchronization device, and the data is transmitted by 1
The level is monitored every time a bit is transmitted, and after confirming that all transmitting devices have finished outputting one bit, the next bit is output. In this case, even if there is a time lag in data output, correction is performed for each 1-bit output, and erroneous data transmission does not occur. Further, unlike the conventional case, a circuit for accurately detecting the floating section and a highly accurate oscillator are not required, so that the circuit configuration becomes simple and the cost can be reduced. Furthermore, since wired OR can be realized efficiently, transmission efficiency can be improved.

(実施例) 以下、この発明の実施例を図面に基づいて説明する。Embodiment An embodiment of the present invention will be described below with reference to the drawings.

第1図〜第6図はこの発明の、実施例を示す図である。1 to 6 are views showing an embodiment of the present invention.

まず構成を説明すると、第1図において、500は装置電
源、510は回路保護器、700は電源線、710は通信線であ
る。
First, the configuration will be described. In FIG. 1, reference numeral 500 is a device power supply, 510 is a circuit protector, 700 is a power supply line, and 710 is a communication line.

570は同期装置であり、この同期装置570は発振器571
と、分周器572と、マスター同期信号発生器573と、オー
プンドレイントランジスタ574と、から構成されてお
り、電源回路520を介して装置電源500からの電源が供給
される。
570 is a synchronizer, and this synchronizer 570 is an oscillator 571.
And a frequency divider 572, a master synchronization signal generator 573, and an open drain transistor 574, and power is supplied from the device power supply 500 via a power supply circuit 520.

580は送信装置であり、この送信装置580は、起動回路58
1と、発振器582と、分周器583と、カウンタ584と、デー
タ信号発生器585と、パラレル/シリアル変換器(以
下、P/S変換器という)586と、オープンドレイン出力ト
ランジスタ587と、から構成されており、電源回路550を
介して装置電源500から電源が供給されるとともにスイ
ッチ群588からのスイッチ信号が入力される。なお、送
信装置580として第1図では1つのみ示したが、同様の
ものが1つ以上電源線700と通信線710に接続されてい
る。また、550ではプルアップ抵抗を示す。
Reference numeral 580 denotes a transmitter, and the transmitter 580 is a starter circuit 58.
1, an oscillator 582, a frequency divider 583, a counter 584, a data signal generator 585, a parallel / serial converter (hereinafter referred to as P / S converter) 586, and an open drain output transistor 587. Power is supplied from the device power supply 500 via the power supply circuit 550, and a switch signal from the switch group 588 is input. Although only one transmitter 580 is shown in FIG. 1, one or more similar transmitters 580 are connected to the power supply line 700 and the communication line 710. Also, 550 shows pull-up resistance.

前記送信装置580の起動回路581は、第2図に示すよう
に、データエンド検出回路5810とRSフリップフロップ58
11,5814と、アンド回路5813,5817と、立上り同期ワンシ
ョットバイブレータ5812と、周期カウンタ5815と、イン
バータ5816と、から構成されている。
As shown in FIG. 2, the starting circuit 581 of the transmitter 580 includes a data end detecting circuit 5810 and an RS flip-flop 58.
11, 5814, AND circuits 5813 and 5817, a rising synchronous one-shot vibrator 5812, a cycle counter 5815, and an inverter 5816.

ここで、再び第1図に戻って、590は受信装置であり、
この受信装置590は、立上りワンショットバイブレータ5
91と、カウンタ592と、立下り同期ワンショットバイブ
レータ593と、データエンド回路594と、アンド回路595,
598と、シリアル/パラレル変換器(以下、S/P変換器と
いう)596と、ラッチ回路597と、から構成されており、
その出力はリレー600,601を介して負荷610,611を駆動す
るようになっている。なお、540は電源回路を、560はプ
ルアップ抵抗を、それぞれ示す。
Here, returning to FIG. 1 again, 590 is a receiving device,
This receiver 590 is equipped with a rising one-shot vibrator 5
91, a counter 592, a falling synchronous one-shot vibrator 593, a data end circuit 594, an AND circuit 595,
598, a serial / parallel converter (hereinafter referred to as S / P converter) 596, and a latch circuit 597,
The output drives the loads 610 and 611 via the relays 600 and 601. 540 is a power supply circuit, and 560 is a pull-up resistor.

次に作用を説明する。Next, the operation will be described.

まず第1図の同期装置570の動作から説明する。同期装
置570は、発振器571の出力と、該発振器571の出力を分
周する分周器572の出力とを、マスター同期信号発生器5
73により合成することで、第3図(A)に示すような周
期Tのマスター同期パルス信号を発生する。このとき、
同期装置570の出力はオープンドレイントランジスタ574
を介して通信線710上に送出されるため、出力レベルは
ハイインピーダンスHZまたは、Lowレベルをとる。
First, the operation of the synchronizer 570 of FIG. 1 will be described. The synchronizer 570 outputs the output of the oscillator 571 and the output of the frequency divider 572 that divides the output of the oscillator 571 to the master synchronization signal generator 5
By synthesizing by 73, a master synchronizing pulse signal having a period T as shown in FIG. 3 (A) is generated. At this time,
The output of the synchronizer 570 is an open drain transistor 574.
Since it is transmitted to the communication line 710 via the, the output level is high impedance HZ or Low level.

次に、送信装置580の起動回路581の動作を説明する。デ
ータエンド検出回路5810は、通信線710のレベルを監視
し、通信線710のハイレベル時間τHが所定時間τDを
超えると、(τH≧τD)(第4図(A))、“H"レベ
ル信号を出力し(第4図(B))、RSフリップフロップ
5811をセットする(第4図(C))。なお通信線710の
レベルが“L"レベルとなると、該データエンド検出回路
5810の出力は“L"レベルとなる。また、該データエンド
検出回路5810の出力は、P/S変換器586をラッチするラッ
チ信号およびカウンタ584をリセットするリセット信号
となる。立上り同期ワンショット5812は、通信線710上
の信号(マスター同期信号)の立上りに同期してパルス
を発生し(第4図(D))、前記RSフリップフロップ58
11の出力と、該ワンショット5812の出力とが入力するア
ンド回路5813の出力信号が“H"レベルの時(第4図中、
時刻t1)、リセット優先のRS−フリップフロップ5814が
セットされ(第4図(E))、RSフリップフロップ5811
はリセットされる。RSフリップフロップ5814の出力が
“H"レベルとなるのは、τH≧τDとなった後、すなわ
ちデータ送信の休止後、最初の立上り信号(マスター同
期信号)を検出したときであり、これは、データ送信の
開始を意味する。また、ワンショット5812の出力パルス
は、データ1ビットの周期を計測する周期カウンタ5815
をリセットするリセット信号となる。
Next, the operation of the starting circuit 581 of the transmitting device 580 will be described. The data end detection circuit 5810 monitors the level of the communication line 710, and when the high level time τH of the communication line 710 exceeds a predetermined time τD (τH ≧ τD) (FIG. 4 (A)), “H” level. Outputs a signal (Fig. 4 (B)) and RS flip-flop
Set the 5811 (Fig. 4 (C)). When the level of the communication line 710 becomes “L” level, the data end detection circuit
The 5810 output goes low. The output of the data end detection circuit 5810 becomes a latch signal for latching the P / S converter 586 and a reset signal for resetting the counter 584. The rising synchronization one-shot 5812 generates a pulse in synchronization with the rising of the signal (master synchronizing signal) on the communication line 710 (FIG. 4 (D)), and the RS flip-flop 58
When the output signal of the AND circuit 5813 input to the output of 11 and the output of the one-shot 5812 is at "H" level (in FIG. 4,
At time t1), the reset-priority RS flip-flop 5814 is set (FIG. 4 (E)), and the RS flip-flop 5811 is set.
Is reset. The output of the RS flip-flop 5814 becomes the “H” level after τH ≧ τD, that is, when the first rising signal (master synchronization signal) is detected after the suspension of data transmission. It means the start of data transmission. The output pulse of the one-shot 5812 is a cycle counter 5815 that measures the cycle of 1-bit data.
It becomes a reset signal for resetting.

周期カウンタ5815の出力は、インバータ5816を介してア
ンド回路5817の一方に入力され、他方の入力として前記
RSフリップフロップ5814の出力が与えられているので、
アンド回路5817の出力(発振器582に対するSTART/STOP
信号)は、第4図(G)に示すように、時刻t1で“H"レ
ベルとなる。このとき、発振器582は発振を始めデータ
送出を行なう。
The output of the cycle counter 5815 is input to one of the AND circuits 5817 via the inverter 5816, and the other is input as the input.
Since the output of the RS flip-flop 5814 is given,
Output of AND circuit 5817 (START / STOP for oscillator 582
Signal) becomes "H" level at time t1, as shown in FIG. At this time, the oscillator 582 starts oscillation and transmits data.

周波数カウンタ5815は、発振器582の出力パルスと計数
し、データ1ビット時間tB(第4図(A))を検出する
と、すなわちデータ1ビットの出力が終った時、その出
力を“H"レベルとする。
When the frequency counter 5815 counts the output pulse of the oscillator 582 and detects the data 1 bit time tB (FIG. 4 (A)), that is, when the output of the data 1 bit ends, the output is set to the “H” level. To do.

このとき、アンド回路5817の出力は“L"レベルとなり、
発振器582は一時停止する。そして、通信線710のレベル
が立上ると、ワンショットマルチバイブレータ5812はパ
ルス信号を出力するので、周期カウンタ5815は再びリセ
ットされ、アンド回路5817の出力は“H"レベルとなり、
再び発振器582は発振を始め次のビットデータの送出を
行なう。
At this time, the output of the AND circuit 5817 becomes "L" level,
The oscillator 582 is suspended. Then, when the level of the communication line 710 rises, the one-shot multivibrator 5812 outputs a pulse signal, so the period counter 5815 is reset again, and the output of the AND circuit 5817 becomes the “H” level,
The oscillator 582 starts oscillating again and transmits the next bit data.

以下、同様に、1ビットずつ送出し、所定ビット数の出
力が終了すると第4図(E)の時刻tnで前記カウンタ58
4の出力により、RSフリップフロップ5814はリセットさ
れ、初期状態に戻る。
In the same manner, the counter 58 is sent out bit by bit, and when the output of the predetermined number of bits is completed, the counter 58 at the time tn in FIG.
The output of 4 resets the RS flip-flop 5814 and returns to the initial state.

次に、送信装置580の動作を説明する。なお、第3図に
おいて、Tx−1は第1の送信装置,Tx−2は第2の送信
装置とする。
Next, the operation of the transmission device 580 will be described. In FIG. 3, Tx-1 is the first transmitting device and Tx-2 is the second transmitting device.

前述したように、起動回路581は、通信線710のハイレベ
ル時間τHが所定時間τDを超えるとき(τH≧τ
D)、スイッチ群588からの入力信号をP/S変換器586に
取り込みラッチし、また、同時にカウンタ584をリセッ
トする。また、起動回路581は、信号線710のレベルを監
視し、前記同期装置570の出力するマスター同期信号
(第4図、時刻t0〜t1)の立上り時(第4図、時刻t
1)、発振器587を起動させデータの送出を開始する。
As described above, the starting circuit 581 causes the high level time τH of the communication line 710 to exceed the predetermined time τD (τH ≧ τ).
D), the input signal from the switch group 588 is taken into the P / S converter 586 and latched, and at the same time, the counter 584 is reset. Further, the starting circuit 581 monitors the level of the signal line 710 and rises the master synchronization signal (FIG. 4, time t0 to t1) output from the synchronizer 570 (FIG. 4, time t).
1) Start the oscillator 587 and start sending data.

送出されるデータは、P/S変換器586にラッチされた入力
データに対応して、第5図(a),(b)に示すような
波形を有し、オープンドレイントランジスタ587を介し
て通信線710に出力される。
The transmitted data has a waveform as shown in FIGS. 5A and 5B corresponding to the input data latched in the P / S converter 586 and communicates via the open drain transistor 587. Output on line 710.

P/S変換器586は、入力データラッチ後はシフトレジスタ
として動作し、後述するタイミングで、ラッチデータを
1ビットずつ、第1図において右方向へシフトする。
The P / S converter 586 operates as a shift register after the input data is latched, and shifts the latched data bit by bit to the right in FIG. 1 at a timing described later.

データ信号発生器585は、P/S変換器586よりシフトされ
たデータの値に基づき、発振器582の出力と分周器583の
出力とを合成して、前記5図(a),(b)に示す波形
信号を反転した形の信号を発生する。
The data signal generator 585 synthesizes the output of the oscillator 582 and the output of the frequency divider 583 on the basis of the value of the data shifted by the P / S converter 586, and the above-mentioned FIG. 5 (a), (b). Generates a signal in the inverted form of the waveform signal shown in FIG.

該データ信号発生器585によって発生された信号は、出
力トランジスタ587によって通信線710上に送出され、第
5図(a),(b)に示す波形信号となる。
The signal generated by the data signal generator 585 is transmitted onto the communication line 710 by the output transistor 587 and becomes the waveform signal shown in FIGS. 5 (a) and 5 (b).

起動回路581は、発振器582の出力により、第5図
(a),(b)に示すデータの1ビット長tBを測定し、
データの1ビット分の出力が終ると発振器582を一時停
止させる。
The starting circuit 581 measures the 1-bit length tB of the data shown in FIGS. 5A and 5B from the output of the oscillator 582,
When the output of one bit of data is completed, the oscillator 582 is suspended.

次に第3図(B),(C)に示すように、時刻t1〜t2に
おいて、送信装置Tx−1はデータ“1"、送信装置Tx−2
はデータ“0"を出力した場合、通信線710上には、両者
の出力のワイヤードORがとられ、第3図(D)に示すよ
うに、データ“0"が現れる。
Next, as shown in FIGS. 3B and 3C, at time t1 to t2, the transmitting device Tx-1 has data "1" and transmitting device Tx-2.
When the data "0" is output, the wired OR of both outputs is taken on the communication line 710, and the data "0" appears as shown in FIG. 3 (D).

各送信装置(Tx−1),(Tx−2)のP/S変換器586は、
データ信号発生器585の出力信号の立下り(すなわち、
第5図(a),(b)に示す信号の立上り)によってラ
ッチデータをシフトし、次の出力値をデータ信号発生器
585に与える。
The P / S converter 586 of each transmitter (Tx-1), (Tx-2) is
The falling edge of the output signal of the data signal generator 585 (ie,
The latch data is shifted by the rising edge of the signal shown in FIGS. 5A and 5B, and the next output value is output to the data signal generator.
Give to 585.

起動回路581は、通信線710のレベルを監視し続け、該レ
ベルが“H"レベルとなったことを検出すると、再び発振
器571が起動され、データ信号発生器585は、次ビットの
データ信号を発生する。
The start-up circuit 581 continues to monitor the level of the communication line 710, and when detecting that the level has become “H” level, the oscillator 571 is started again, and the data signal generator 585 outputs the data signal of the next bit. Occur.

このように、各送信装置(Tx−1),(Tx−2)は、デ
ータを1ビット送出するごとに、一時送信出力を停止
し、各出力のワイヤードORがとられた通信線のレベル監
視を行なうことで、全ての送信装置が1ビット出力し終
ったことを確認した後、次ビットを出力する。したがっ
て、各送信装置(Tx−1),(Tx−2)の発振器の周波
数にばらつきがあり、例えば第3図(B),(C)に示
すようにデータ出力がΔt1,Δt2で示す時間のずれを生
じた場合でも、1ビット出力ごとにずれの補正が行なわ
れ、送信ビット数が増加しても、タイミングずれによ
り、送信の誤伝送を起こすことなく、各送信装置(Tx−
1),(Tx−2)の各出力のワイヤードOR信号を生成す
ることができる。
In this way, each transmission device (Tx-1), (Tx-2) stops the temporary transmission output every time it sends out 1 bit of data, and monitors the level of the communication line where the wired OR of each output is taken. Then, after confirming that all the transmitting devices have finished outputting 1 bit, the next bit is output. Therefore, there are variations in the frequencies of the oscillators of the transmitters (Tx-1) and (Tx-2). For example, as shown in FIGS. Even if a shift occurs, the shift is corrected for each 1-bit output, and even if the number of transmission bits increases, the timing shift does not cause erroneous transmission of transmission, and each transmitter (Tx-
The wired OR signal of each output of 1) and (Tx-2) can be generated.

カウンタ584は、データ信号発生器585が出力するパルス
数を計数し、所定ビット数の出力を終えたことを検出す
ると、起動回路581を停止し、データ送信を終了させ
る。
The counter 584 counts the number of pulses output from the data signal generator 585, and when detecting that the output of a predetermined number of bits is completed, stops the starting circuit 581 and ends the data transmission.

以後、送信装置(Tx−1),(Tx−2)は同期装置570
の出力によるマスター同期信号を受け、前述の動作を繰
り返し行なう。
After that, the transmitters (Tx-1) and (Tx-2) are the synchronizers 570.
In response to the master synchronization signal from the output of, the above operation is repeated.

次に、受信装置590の動作を説明する。受信装置590は、
プルアップ抵抗560を介して通信線710に接続されてい
る。立上り同期ワンショットバイブレータ591の出力
と、カウンタ592の第1の出力とは、ともにアンド回路5
98に入力される。ここで、カウンタ592は、通信線710上
のパルスの立上りを計数し、後述の所定数のパルスが入
力されるまで前記第1の“H"レベル信号を出力してい
る。したがって、アンド回路598の出力は第3図に
(E)に示すように、幅τRのパルス(受信クロック)
となって、S/P変換器596へ与えられる。S/P変換器596
は、例えばシフトレジスタとして動作し、アンド回路59
8の出力の立下りでシフト動作を行ない、通信線710のレ
ベルを読み込む。このとき、通信線710の信号がデータ
“0"のパルス(幅tB0<τR)であれば、S/P変換器596
は、“L"レベルとして読み込み、データ“1"のパルス
(幅tB1>τR)であれば、“H"レベルとして読み込
む。ここで、送受信されるデータを(n−1)ビットと
すると、カウンタ592は、第3図において時刻tn−1で
(n−1)ビット目の受信を行ない、前記第1の出力を
“L"レベルとし、S/P変換器596への受信クロックの供給
を停止する。また、カウンタ592の第2の出力は、時刻t
nでカウント値がnとなると“H"レベルとなり、この出
力はアンド回路595の一方に入力される。
Next, the operation of receiving apparatus 590 will be described. The receiver 590 is
It is connected to the communication line 710 via a pull-up resistor 560. The output of the rising synchronous one-shot vibrator 591 and the first output of the counter 592 are both AND circuits.
Entered in 98. Here, the counter 592 counts the rising edges of the pulses on the communication line 710, and outputs the first “H” level signal until a predetermined number of pulses described later are input. Therefore, the output of the AND circuit 598 is a pulse (reception clock) having a width τR, as shown in FIG.
And given to the S / P converter 596. S / P converter 596
Operates as a shift register, for example, and circuit 59
The shift operation is performed at the falling edge of the output of 8 and the level of the communication line 710 is read. At this time, if the signal of the communication line 710 is a pulse of data “0” (width tB0 <τR), the S / P converter 596
Is read as "L" level, and if the pulse of data "1" (width tB1> τR) is read as "H" level. Here, if the data to be transmitted and received is (n-1) bits, the counter 592 receives the (n-1) th bit at time tn-1 in FIG. 3 and outputs the first output as "L". "Set to level and stop receiving clock supply to S / P converter 596. The second output of the counter 592 is the time t
When the count value becomes n at n, it becomes "H" level, and this output is input to one side of the AND circuit 595.

一方、データエンド検出回路594は、通信線710のレベル
を監視し、“H"レベルの時間τHが所定の時間τDに対
して、τH≧τDとなると、“H"レベルを出力し、この
出力はアンド回路595の他方に入力される。このとき、
アンド回路595の出力は、第3図(F)に示すように
“H"レベルとなり、出力ラッチ回路597にラッチ信号と
して与えられ、S/P変換器596の出力は、出力ラッチ回路
597でラッチされる。こうして、負荷駆動用リレー600,6
01は出力ラッチ回路597の出力により作動して、負荷61
0,611を駆動する。また、このとき、通信線710上の信号
の立上り数がビット数nとが等しくない場合、カウンタ
592の出力は“L"レベルとなり、前記ラッチ信号を発生
させず、通信の誤伝送が生じたものと判断して、その時
の通信データは破棄される。データエンド検出回路594
の出力は、続いて通信線710上にあらわれるマスター同
期信号によってリセットされて、“L"レベルとなる。立
下り同期ワンショットバイブレータ593は、前記データ
エンド検出回路594の出力の立下りによってパルス信号
を発生し、カウンタ592をリセットする。以後、受信装
置590は、同様の受信動作を繰り返す。
On the other hand, the data end detection circuit 594 monitors the level of the communication line 710, and outputs the “H” level when the “H” level time τH becomes τH ≧ τD with respect to the predetermined time τD, and this output Is input to the other of the AND circuit 595. At this time,
The output of the AND circuit 595 becomes "H" level as shown in FIG. 3 (F) and is given to the output latch circuit 597 as a latch signal, and the output of the S / P converter 596 is the output latch circuit.
Latched in 597. In this way, the load drive relay 600,6
01 operates by the output of the output latch circuit 597, and the load 61
Drive 0,611. At this time, if the number of rising edges of the signal on the communication line 710 is not equal to the number of bits n, the counter
The output of 592 becomes the "L" level, the latch signal is not generated, and it is determined that communication transmission error has occurred, and the communication data at that time is discarded. Data end detection circuit 594
Then, the output of is reset by the master synchronizing signal appearing on the communication line 710 and becomes the “L” level. The falling synchronization one-shot vibrator 593 generates a pulse signal when the output of the data end detection circuit 594 falls and resets the counter 592. After that, the receiving device 590 repeats the same receiving operation.

以上のように、この実施例においては、同期装置570は
マスター同期信号を発生させるだけであり、従来のよう
にフローティング区間を正確に判別する回路や高精度で
高価な発振器が不要となるので、回路構成を簡略化する
ことができ、コストを低減することができる。また、デ
ータは不定レベルとなることがなく、データの時間のず
れを補正できるので、チャネルを正しく検出することが
でき、確実で信頼性の高いデータ伝送を行なうことがで
きる。さらに、複数個の送信装置の出力のワイヤードOR
をとる操作が効率的に実現できるので、伝送効率を高め
ることができる。
As described above, in this embodiment, the synchronizing device 570 only generates the master synchronizing signal, and the circuit for accurately discriminating the floating section and the high-precision and expensive oscillator as in the conventional art are not required. The circuit configuration can be simplified and the cost can be reduced. In addition, since the data does not reach an indefinite level and the time shift of the data can be corrected, the channel can be correctly detected, and reliable and reliable data transmission can be performed. In addition, the wired OR of the outputs of multiple transmitters
Since the operation of taking can be efficiently realized, the transmission efficiency can be improved.

(発明の効果) 以上説明してきたように、この発明によれば、同期装置
および送信装置の出力をオープンドレイン出力とし、ま
た、同期装置はマスター同期区間のみを指示するものと
し、さらに送信装置は、通信線のレベルにより送信デー
タの出力状態を監視して通信チャネルを検出するように
したため、同期装置および送信装置が備える発振器は低
精度、安価なもので良く、またフローティング区間を検
出する回路が必要とされないので、装置を簡単化するこ
とができ、コストを低減することができる。
(Effects of the Invention) As described above, according to the present invention, the outputs of the synchronizer and the transmitter are open drain outputs, and the synchronizer directs only the master synchronization section. Since the output state of the transmission data is monitored by the level of the communication line to detect the communication channel, the oscillator provided in the synchronizer and the transmitter may be of low accuracy and low cost, and the circuit that detects the floating section may be used. Since it is not required, the device can be simplified and the cost can be reduced.

また、通信データの時間ずれを補正することができ、デ
ータの不定レベルの発生を防止することができるので、
確実で信頼性の高いデータ伝送を行なうことができる。
さらに、複数個の送信装置の出力のワイヤードORをとる
操作を効率的かつ簡素に実現することができ、伝送効率
を高めることができる。
In addition, it is possible to correct the time lag of communication data and prevent the occurrence of an undefined level of data.
Reliable and reliable data transmission can be performed.
Further, the operation of taking the wired OR of the outputs of the plurality of transmitters can be realized efficiently and simply, and the transmission efficiency can be improved.

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

第1図はこの発明の一実施例を示す全体構成図、第2図
はその起動回路のブロック図、第3図は全体動作を説明
するためのタイミングチャート、第4図は起動回路の動
作を説明するためのタイミングチャート、第5図
(a),(b)はデータの出力波形を示す図、第6図は
従来例を示す回路ブロック図、第7図はそのタイミング
チャートである。 570……同期装置、 574,587……オープンドレイントランジスタ、 580……送信装置、 590……受信装置、 710……通信線。
FIG. 1 is an overall configuration diagram showing an embodiment of the present invention, FIG. 2 is a block diagram of its starting circuit, FIG. 3 is a timing chart for explaining the overall operation, and FIG. 4 is an operation of the starting circuit. 5 (a) and 5 (b) are diagrams showing data output waveforms, FIG. 6 is a circuit block diagram showing a conventional example, and FIG. 7 is its timing chart. 570 ... Synchronizer, 574,587 ... Open drain transistor, 580 ... Transmitter, 590 ... Receiver, 710 ... Communication line.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】データ通信を行なう一本の通信線と、通信
の開始を示すマスター同期信号をオープンドレイントラ
ンジスタを介して前記通信線に送出する同期装置と、通
信データを1ビット毎にそのレベルを判別して所定ビッ
ト数に達するまで前記通信線にオープンドレイントラン
ジスタを介して送出する送信装置と、前記通信線に接続
され、該送信装置から送信される通信データを1ビット
毎に所定ビット数に達するまで受信して、負荷を駆動す
る受信装置と、を備えたことを特徴とする車両用通信装
置。
1. A communication line for performing data communication, a synchronization device for sending a master synchronization signal indicating the start of communication to the communication line through an open drain transistor, and communication data level for each bit. And a transmission device that sends the data to the communication line through an open drain transistor until the number of bits reaches a predetermined number, and communication data that is connected to the communication line and is transmitted from the transmission device has a predetermined number of bits for each bit. And a receiving device for driving the load, the receiving device until receiving the signal.
JP21812486A 1986-09-18 1986-09-18 Vehicle communication device Expired - Lifetime JPH0716180B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21812486A JPH0716180B2 (en) 1986-09-18 1986-09-18 Vehicle communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21812486A JPH0716180B2 (en) 1986-09-18 1986-09-18 Vehicle communication device

Publications (2)

Publication Number Publication Date
JPS6374337A JPS6374337A (en) 1988-04-04
JPH0716180B2 true JPH0716180B2 (en) 1995-02-22

Family

ID=16715007

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21812486A Expired - Lifetime JPH0716180B2 (en) 1986-09-18 1986-09-18 Vehicle communication device

Country Status (1)

Country Link
JP (1) JPH0716180B2 (en)

Also Published As

Publication number Publication date
JPS6374337A (en) 1988-04-04

Similar Documents

Publication Publication Date Title
JP3898694B2 (en) Serial data transmission device
CN111181555A (en) PTP clock synchronization system and clock synchronization method
US7116739B1 (en) Auto baud system and method and single pin communication interface
JPH0983608A (en) Time synchronizer
JPH0716180B2 (en) Vehicle communication device
EP0261596B1 (en) System for transmitting and receiving data in a time-division multiplex mode applicable to a vehicle
JPH0551215B2 (en)
JPS63202149A (en) Synchronizing transmission system
JP2766838B2 (en) Time data receiving device
SU1533012A1 (en) Device for transmission of signals of initial synchronization
JPH0621999A (en) Serial communication equipment
KR100240248B1 (en) Serial data transceiver and data transmission and reception method
JPH04268829A (en) Data transmitting method
US20240388418A1 (en) Control and monitoring signal transmission system
SU1553999A1 (en) Device for telemetering
JP2001077800A (en) Serial transmission transmission/reception circuit
JP2570183B2 (en) Serial communication circuit
JPH05102956A (en) Frame synchronization detecting device in asynchronous serial communication
SU414611A1 (en)
JP2766837B2 (en) Time data transmission device
JPH065278B2 (en) Distance measuring device
SU1443200A1 (en) Demodulator of phase-manipulated signals
JPS6122783B2 (en)
JPS6255329B2 (en)
JPS648505B2 (en)