JPH06101720B2 - Vehicle communication device - Google Patents
Vehicle communication deviceInfo
- Publication number
- JPH06101720B2 JPH06101720B2 JP19400786A JP19400786A JPH06101720B2 JP H06101720 B2 JPH06101720 B2 JP H06101720B2 JP 19400786 A JP19400786 A JP 19400786A JP 19400786 A JP19400786 A JP 19400786A JP H06101720 B2 JPH06101720 B2 JP H06101720B2
- Authority
- JP
- Japan
- Prior art keywords
- communication
- output
- circuit
- channel
- data
- 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
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.
(従来の技術) 従来のこの種の車両用多重通信装置としては、例えば第
8図に示すようなものがある(U.S.P.第4370561号、参
照)。(Prior Art) As a conventional multiplex communication device for a vehicle of this type, for example, there is one shown in FIG. 8 (see USP No. 4370561).
第8図において、10は車両電源、20は回路保護器、30は
電源線、40は多重化同期装置、50は通信線、60は送信装
置、70は受信装置である。同期装置40は、第9図Aに示
すようなパルスを常時発振している発振器41と、カウン
タと論理ゲートで構成される同期波形生成回路42と、該
回路42に基づいて3−ステート出力を行なうドライバ43
と、から構成され、第9図Bに示す如き波形を連続的に
通信線50に送出している。In FIG. 8, 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, and 70 is a receiving device. The synchronizer 40 includes an oscillator 41 that constantly oscillates pulses as shown in FIG. 9A, a synchronous waveform generation circuit 42 including a counter and a logic gate, and a 3-state output based on the circuit 42. Driver 43
, And the waveform as shown in FIG. 9B is continuously transmitted to the communication line 50.
ここで、第9図Bに示す4000はマスター同期区間(スタ
ートマーカ)であり、送・受信装置60,70はこれに後続
するチャネルパルス4001(負パルス)をカウントするこ
とにより、通信チャネルを検知する(第9図D、参
照)。また、第9図Bに示す4002は前述のチャネルパル
ス4001に続く通信区間で、この区間では同期装置40の出
力はフローティング状態となっている。更に、この通信
区間4002が経過すると再び“Hi"レベルを出力し、チャ
ネルインターバル4003を生成する。Here, 4000 shown in FIG. 9B is a master synchronization section (start marker), and the transmission / reception devices 60 and 70 detect the communication channel by counting the channel pulse 4001 (negative pulse) following this. (See FIG. 9D). Also, 4002 shown in FIG. 9B is a communication section following the above-mentioned channel pulse 4001, and in this section, the output of the synchronizer 40 is in a floating state. Further, when this communication section 4002 elapses, the "Hi" level is output again, and the channel interval 4003 is generated.
送信装置60は、発振器61、フィルタ62、送信制御装置6
3、チャネルカウンタ64、チャネルデコーダ65、アンド
回路66、データセレクタ67およびドライバ68から構成さ
れている。カウンタと論理ゲートとから構成される送信
制御装置63は、送信線50に現われる電圧レベルを入力フ
ィルタ62を通して常時監視し、チャネルパルス4001の検
出と同時に発振器61を所定時間発振させる(第9図C、
参照)。また、送信制御装置63は、これらのチャネルパ
ルス数をチャネルカウンタ64にカウントさせ、通信チャ
ネル(第9図D、参照)を検出すると同時に、通信区間
4002を検出し、区間中出力を行なう。チャネルデコーダ
65はデータ入力69の各々に対応した所定のチャネルが出
現したとき出力し、この出力は通信区間4002の出力と共
にアンド回路66に入力される。データセレクタ67は、デ
ータ入力69の各々に対応したアンド回路66から出力があ
る時のみデータ入力69と出力ドライバ68を選択接続し、
通信線50にデータ(第9図E、参照)を送出する。The transmitter 60 includes an oscillator 61, a filter 62, and a transmission controller 6
3, a channel counter 64, a channel decoder 65, an AND circuit 66, a data selector 67 and a driver 68. The transmission controller 63 composed of a counter and a logic gate constantly monitors the voltage level appearing on the transmission line 50 through the input filter 62 and causes the oscillator 61 to oscillate for a predetermined time at the same time when the channel pulse 4001 is detected (Fig. 9C). ,
reference). Further, the transmission control device 63 causes the channel counter 64 to count the number of these channel pulses, detects the communication channel (see FIG. 9D), and simultaneously
4002 is detected and output during the section. Channel decoder
65 outputs when a predetermined channel corresponding to each of the data inputs 69 appears, and this output is input to the AND circuit 66 together with the output of the communication section 4002. The data selector 67 selectively connects the data input 69 and the output driver 68 only when there is an output from the AND circuit 66 corresponding to each of the data inputs 69,
The data (see FIG. 9E) is transmitted to the communication line 50.
一方、受信装置70は発振器71、フィルタ72、受信制御装
置73、チャネルカウンタ74、チンネルデコーダ75、アン
ド回路76およびラッチ回路77から構成されており、これ
らのうち71〜75は前記送信装置60の(61〜65)と基本的
に同一である。ただし、受信制御装置73は通信区間(第
9図B4002)の出力の代りにデータ読込みパルス(第9
図F4004)を出力するようにしている。ラッチ回路77
は、各々に対応する所定のチャネルが出現したとき、通
信線50上に現われる送信データ(第9図E4002)を前記
読込みパルス(第9図E4004)によりラッチする。な
お、チャネルカウンタ64,74はスタートマーカ(第9図B
4000)の検出時に送信制御装置63、受信制御装置73でリ
セットされる。On the other hand, the receiving device 70 includes an oscillator 71, a filter 72, a reception control device 73, a channel counter 74, a channel decoder 75, an AND circuit 76 and a latch circuit 77, of which 71 to 75 are the transmitting device 60. (61-65) is basically the same. However, the reception control device 73 does not output the data in the communication section (Fig.
Figure F4004) is output. Latch circuit 77
Latches the transmission data (E4002 in FIG. 9) appearing on the communication line 50 by the read pulse (E4004 in FIG. 9) when a predetermined channel corresponding to each appears. The channel counters 64 and 74 are start markers (see FIG. 9B).
4000) is detected and reset by the transmission control device 63 and the reception control device 73.
以上のように、同一の通信線50上に構成した複数の通信
チャネルを介して通信データを送出することができる。As described above, communication data can be sent out via a plurality of communication channels configured on the same communication line 50.
(この発明が解決しようとする問題点) しかしながら、このような従来の多重通信装置にあって
は、通信チャネル区間を順次カウントすると共に受信デ
ータも順次ラッチ出力するようになっていたため、通信
線に瞬断、短絡(スライトショート)が生じると、スタ
ートマーカ中やチャネルインターバル中にチャネルパル
スが生じたり本来の負パルスが欠落したりすることにな
るので、チャネルカウンタが誤カウントし、該カウント
された誤データが次回のスタートマーカおよび後続する
チャネル区間が正常復帰するまで、ラッチされたままと
なる。このような誤伝送は装置の出力(負荷)の誤動作
を招くという問題点があった。(Problems to be solved by the present invention) However, in such a conventional multiplex communication device, since the communication channel section is sequentially counted and the received data is also sequentially latched and output, the communication line is connected to the communication line. If a momentary interruption or a short circuit (slight short) occurs, a channel pulse will occur during the start marker or during the channel interval, or the original negative pulse will be missing, so the channel counter will be erroneously counted and counted. The erroneous data remains latched until the next start marker and the subsequent channel section are restored to normal. Such erroneous transmission causes a problem in that the output (load) of the device malfunctions.
(問題点を解決するための手段) この発明はこのような従来の問題点に鑑みてなされたも
のであって、最終出力用の2次ラッチ回路を設定すると
共に、スタートマーカ間のチャネルパルス数が所定数で
あるか否かをチェックする回路を設定し、チャネルパル
ス数が所定値であるときにのみ、1次ラッチのデータを
2次ラッチ回路に書込むことにより、誤伝送を防止し
て、確実で正確なデータ伝送が可能な通信装置を提供す
ることを目的としている。(Means for Solving Problems) The present invention has been made in view of such problems in the related art, and sets a secondary latch circuit for final output and sets the number of channel pulses between start markers. Is set to a predetermined number, and the data in the primary latch is written to the secondary latch circuit only when the number of channel pulses is a predetermined value to prevent erroneous transmission. It is an object of the present invention to provide a communication device capable of reliable and accurate data transmission.
この目的を達成するために、この発明は、データ通信を
行なう1本の通信線と、所定の出力波形パターンを有す
るマスター同期区間とこれに連続するチャネル区間とを
交互に発生する通信同期装置と、前記マスター同期区間
に連続して発生する所定数の同期クロックパルス数を順
次カウントすることにより前記チャネル区間を指定して
外部入力に応じた通信データを前記信号線に供給する送
信装置と、前記信号線より前記チャネル区間が指定され
たとき通信データを受信してラッチ出力する受信装置
と、を備えた車両用通信装置において、前記受信装置内
に、前記同期クロックパルス数をカウントしてカウント
した同期クロックパルス数が前記所定値に一致するか否
かを判別するパルス数チェック回路と、一致したとき、
該クロックパルスに同期して受信される通信データを出
力し、一致しないとき通信データを棄却し、前回の通信
データを保持、出力するラッチ回路と、を設けている。In order to achieve this object, the present invention provides a communication line for performing data communication, a communication synchronization device for alternately generating a master synchronization section having a predetermined output waveform pattern and a channel section continuous thereto. A transmitter for supplying communication data corresponding to an external input to the signal line by designating the channel section by sequentially counting a predetermined number of synchronization clock pulses successively generated in the master synchronization section, In a vehicle communication device including a receiving device that receives and latches communication data when the channel section is designated from a signal line, in the receiving device, the number of synchronization clock pulses is counted and counted. A pulse number check circuit for determining whether or not the number of synchronous clock pulses matches the predetermined value, and when they match,
A latch circuit that outputs the communication data received in synchronization with the clock pulse, discards the communication data when they do not match, and holds and outputs the previous communication data is provided.
(作用) このような構成を有するこの発明においては、同期クロ
ックパルス数が所定値に一致しないときは、通信線に瞬
断、ショートが発生して誤カウントが行なわれたと判断
して、該クロックパルスに同期して受信される誤データ
を棄却するようにしたため、確実で正確なデータ伝送を
行なうことができる。その結果、装置の信頼性を一層高
めることができる。(Operation) In the present invention having such a configuration, when the number of synchronization clock pulses does not match the predetermined value, it is determined that the communication line is momentarily cut or short-circuited and an erroneous counting is performed, Since the erroneous data received in synchronization with the pulse is rejected, reliable and accurate data transmission can be performed. As a result, the reliability of the device can be further enhanced.
(実施例) 以下、この発明の実施例を図面に基づいて説明する。Embodiment An embodiment of the present invention will be described below with reference to the drawings.
第1図及び第2図はこの発明の第1実施例を示す図であ
る。1 and 2 are views showing a first embodiment of the present invention.
第1図はこの発明の受信装置の回路ブロック図を示した
もので、従来例と同一部分についてはその説明を省略す
る。FIG. 1 shows a circuit block diagram of the receiving apparatus of the present invention, and the description of the same parts as those of the conventional example will be omitted.
まず、構成を説明すると、第1図において、78はパルス
数チェック回路であり、このパルス数チェック回路78に
は受信制御回路73からリセット信号が直接入力される。
パルス数チェック回路78はこのときのチャネルカウンタ
74の出力値nを読み込み、読み込み時の値nが予め設定
された所定のチャネルパルス数Nに等しいか否かを判定
する。パルス数チェック回路78は判定後リセット信号を
チャネルカウンタ74に出力するとともに、判定結果に応
じて2次ラッチ回路79のイネーブル端子Eにラッチパル
スを出力する。2次ラッチ回路79は1次ラッチ回路77の
次段に接続されており、1次ラッチ回路77のQ端子から
の出力は2次ラッチ回路79のD入力端子にそれぞれ入力
される。First, the configuration will be described. In FIG. 1, reference numeral 78 is a pulse number check circuit, and a reset signal is directly input from the reception control circuit 73 to the pulse number check circuit 78.
The pulse number check circuit 78 is the channel counter at this time.
The output value n of 74 is read, and it is determined whether the value n at the time of reading is equal to a preset number N of channel pulses. The pulse number check circuit 78 outputs a reset signal to the channel counter 74 after the determination, and also outputs a latch pulse to the enable terminal E of the secondary latch circuit 79 according to the determination result. The secondary latch circuit 79 is connected to the next stage of the primary latch circuit 77, and the output from the Q terminal of the primary latch circuit 77 is input to the D input terminal of the secondary latch circuit 79.
次に、第2図のフローチャートを参照しつつ作用を説明
する。Next, the operation will be described with reference to the flowchart of FIG.
まず、S1でチャネルカウンタ74の値nが予め設定された
所定値Nに一致したときは(n=N)、S2で2次ラッチ
回路78のイネーブル端子Eにラッチパルスを出力し、1
次ラッチ回路77のデータをラッチする。次に、S3でチャ
ネルカウンタ74をリセットし、待機状態に戻る。First, when the value n of the channel counter 74 matches the predetermined value N set in advance in S1 (n = N), a latch pulse is output to the enable terminal E of the secondary latch circuit 78 in S2, and 1
The data of the next latch circuit 77 is latched. Next, in S3, the channel counter 74 is reset and returns to the standby state.
一方、S1でチャネルカウンタ74の値nが所定値Nに一致
しないときは(n=N)、通信線50に瞬断、ショートが
生じた可能性があると判断して、1次ラッチの回路77の
データを2次ラッチ回路79に移さず(2次ラッチ回路79
は旧データを保持)、S3でチャネルカウンタ74をリセッ
トして、待機状態に戻る。On the other hand, when the value n of the channel counter 74 does not match the predetermined value N in S1 (n = N), it is determined that the communication line 50 may be momentarily disconnected or short-circuited, and the primary latch circuit is determined. The data of 77 is not transferred to the secondary latch circuit 79 (secondary latch circuit 79
Holds the old data), resets the channel counter 74 in S3, and returns to the standby state.
このように、瞬断、ショートが生じると、スタートマー
カ中やチャネルインターバル中にチャネルパルスが生じ
たり、本来の負パルスが欠落したりして、チャネルカウ
ンタ74が誤カウントし、誤データが受信されるが、この
ような場合でも本実施例においてはこれらの誤データを
棄却できるため、確実で正確なデータ伝送が可能とな
る。その結果、装置の信頼性を一層高めることができ
る。In this way, if a momentary interruption or short circuit occurs, a channel pulse will occur during the start marker or channel interval, or the original negative pulse will be missing, causing the channel counter 74 to count incorrectly and erroneous data to be received. However, even in such a case, since the erroneous data can be rejected in this embodiment, reliable and accurate data transmission becomes possible. As a result, the reliability of the device can be further enhanced.
次に、第3図および第4図はこの発明の第2実施例を示
す図である。Next, FIGS. 3 and 4 are diagrams showing a second embodiment of the present invention.
この実施例は、異常受信が2度以上連続した場合に2次
ラッチ回路79の出力をリセットしてフェールセーフ機能
を持たせた例である。This embodiment is an example in which the output of the secondary latch circuit 79 is reset to provide a fail-safe function when abnormal reception continues twice or more.
第3図は、この実施例の回路ブロック図を示す。この実
施例においては、パルス数チェック回路78はチャネルカ
ウンタ74の値nが所定Nと一致しないときの回数をカウ
ントする異常受信回数カウンタFとしての機能をも有し
ており、カウント数F≧2のとき、第2ラッチ回路79の
リセット端子Kにリセットパルスを出力する。その他の
構成は前記実施例と同様であり、その説明を省略する。FIG. 3 shows a circuit block diagram of this embodiment. In this embodiment, the pulse number check circuit 78 also has a function as an abnormal reception number counter F that counts the number of times when the value n of the channel counter 74 does not match the predetermined N, and the count number F ≧ 2. At this time, a reset pulse is output to the reset terminal K of the second latch circuit 79. The other structure is the same as that of the above-mentioned embodiment, and the description thereof is omitted.
次に、動作を説明する。Next, the operation will be described.
S11でn=Nのときは(正常受信時)、異常受信回数カ
ウンタFをクリアし(S12)、2次ラッチ回路79のイネ
ーブル端子Eにラッチパルスを出力し、1次ラッチ回路
77のデータをラッチする(S13)。When n = N in S11 (normal reception), the abnormal reception number counter F is cleared (S12), a latch pulse is output to the enable terminal E of the secondary latch circuit 79, and the primary latch circuit is output.
Latch 77 data (S13).
次に、チャネルカウンタ74をリセットし(S14)、待機
状態に戻る。S11でn≠Nのときは(異常受信)、Fを
インクリメントし(S15)、Fが2以上であるか否か判
定する(S16)。Next, the channel counter 74 is reset (S14) and returns to the standby state. When n ≠ N in S11 (abnormal reception), F is incremented (S15), and it is determined whether F is 2 or more (S16).
F<2のときはチャネルカウンタ74をリセットし(S1
4)、待機状態に戻る。When F <2, the channel counter 74 is reset (S1
4) Return to the standby state.
一方、F≧2のとき瞬断、ショートが頻繁に発生し、通
信状態が悪いと判断して、2次ラッチ回路79のリセット
端子Rにリセットパルスを出力し、2次ラッチ回路79を
リセットする(S17)。次にS14でチャネルカウンタ74を
リセットして、待機状態に戻る。On the other hand, when F ≧ 2, short breaks and short circuits frequently occur, it is determined that the communication state is bad, and a reset pulse is output to the reset terminal R of the secondary latch circuit 79 to reset the secondary latch circuit 79. (S17). Next, in step S14, the channel counter 74 is reset and returns to the standby state.
なお、カウント回数FがF≧2に限定されるものではな
いことは言うまでもない。したがって、この実施例にお
いては、一時的な受信異常(F<2)の時は前回のデー
タを保持し、受信異常が長時間(F≧2)続く場合、出
力リセットが行なわれてから、例えば駆動中の負荷が一
時停止したり出力負荷が一度駆動されたまま停止しな
い、といった不具合がなくなる。その結果、車両の安全
性を一層高めることができる。Needless to say, the number of counts F is not limited to F ≧ 2. Therefore, in this embodiment, when the reception abnormality is temporary (F <2), the previous data is held, and when the reception abnormality continues for a long time (F ≧ 2), for example, after the output reset, There is no problem that the load being driven is temporarily stopped or the output load is not stopped once being driven. As a result, the safety of the vehicle can be further enhanced.
次に、第5図〜第7図はこの発明の第3実施例を示す図
である。Next, FIGS. 5 to 7 are views showing a third embodiment of the present invention.
この実施例は、シフトレジスタに入力する入力信号をチ
ャタリング除去回路を用いて処理し、確実なチャタリン
グ除去と迅速なデータ反転を可能とした例である。This embodiment is an example in which an input signal input to a shift register is processed by using a chattering removal circuit, which enables reliable chattering removal and rapid data inversion.
第5図において、100は内部クロック発生器、200はn段
のシフトレジスタ、600は多数決回路である。内部クロ
ック発生器100に従って、シフトレジスタ200に順次入力
信号INを読み込み、多数決回路600ではシフトレジスタ2
00の各段の論理「0」、論理「1」の値の数を比較し、
より多い方の値を確定値として出力する。In FIG. 5, 100 is an internal clock generator, 200 is an n-stage shift register, and 600 is a majority circuit. According to the internal clock generator 100, the shift register 200 sequentially reads the input signal IN, and the majority circuit 600 shifts the shift register 2
Compare the number of logic "0" and logic "1" values in each stage of 00,
The larger value is output as the fixed value.
次に、前記多数決回路600の内部回路の構成方法を具体
的に説明する。Next, a method of forming the internal circuit of the majority circuit 600 will be specifically described.
第7図(a)の如き入力波形に対し、回路の電源をVDD
とすれば、cmos回路の場合、1/2VDDでレベル判定を行な
うから、シフトレジスタ200に入力される値は、第7図
(b)のような変化を示す。For the input waveform as shown in Fig. 7 (a), set the circuit power supply to V DD.
Then, in the case of the cmos circuit, the level determination is performed at 1 / 2V DD , so the value input to the shift register 200 shows a change as shown in FIG. 7 (b).
これに対して内部クロック発生器100が第7図(c)の
ようなクロックを発生し、“L"レベルから“H"レベルへ
の立ち上がりで入力ラッチおよびシフトを行なうと、シ
フトレジスタ200の第1段目b1の値は、第7図(d)の
ように変化する。On the other hand, when the internal clock generator 100 generates a clock as shown in FIG. 7 (c) and performs the input latch and shift at the rise from the "L" level to the "H" level, the shift register 200 The value of the first stage b1 changes as shown in FIG. 7 (d).
ここで、多数決回路600の出力を経時的に記述すると、
表1のようになる。したがって、t=t10のときより出
力“φ”から“1"に反転し、確定値となる。Here, describing the output of the majority circuit 600 over time,
It becomes like Table 1. Therefore, when t = t10, the output "φ" is inverted to "1" and becomes the definite value.
次に、n=3の場合の多数決回路600を説明すると、真
理値表は表2のようになり、その出力は、 OUT=▲▼b2b3+b1▲▼+b1b2▲▼+b1b2b
3となる。 Next, the majority decision circuit 600 for n = 3 will be described. The truth table is as shown in Table 2, and the output is OUT = ▲ ▼ b2b3 + b1 ▲ ▼ + b1b2 ▲ ▼ + b1b2b.
It becomes 3.
ここで、b1b2b3+b1b2b3=b1b2b3である。Here, b1b2b3 + b1b2b3 = b1b2b3.
したがって、出力OUTは次のようになる。Therefore, the output OUT is as follows.
OUT=▲▼b2b3+b1▲▼b3+b1b2▲▼+b1b
2b3+b1b2b3 =b1b2(b3+▲▼)+b3(▲▼b2+b1▲▼
+b1b2) =b1b2+b3(▲▼b2+b1b2+b1▲▼+b1b2) =b1b2+b3(b2+b1) よって、n=3の多数決回路600は、第6図600の内部回
路のようになる。OUT = ▲ ▼ b2b3 + b1 ▲ ▼ b3 + b1b2 ▲ ▼ + b1b
2b3 + b1b2b3 = b1b2 (b3 + ▲ ▼) + b3 (▲ ▼ b2 + b1 ▲ ▼
+ B1b2) = b1b2 + b3 (▲ ▼ b2 + b1b2 + b1 ▲ ▼ + b1b2) = b1b2 + b3 (b2 + b1) Therefore, the majority circuit 600 of n = 3 becomes like the internal circuit of FIG.
この回路600を従来回路(n=2の場合)と比較する
と、n=2の場合は表3に示すようにt=t11より出力O
UTは“φ”から“1"に反転して確定値となり、本回路60
0の方が、内部クロック1サイクル(=T)分だけ応答
が速い。 When this circuit 600 is compared with the conventional circuit (when n = 2), when n = 2, as shown in Table 3, the output O from t = t11
UT is inverted from "φ" to "1" to become a fixed value, and this circuit 60
When 0, the response is faster by one internal clock cycle (= T).
一般的に、チャタリングは“φ",“1"を繰り返しなが
ら、徐々に“φ”より“1"の出現頻度が増してくる、と
いう性質があるため、本多数決回路600はチャタリング
除去上極めて有効である。 In general, chattering has a property that the appearance frequency of "1" gradually increases from "φ" while repeating "φ" and "1". Therefore, the majority circuit 600 is extremely effective in eliminating chattering. Is.
以上のように、この実施例では、シフトレジスタ200に
入力された値の“φ",“1"の数を比較し、より数の多い
方の値を確定値としたため、確実なチャタリンク除去
と、迅速なデータ反転が可能である。As described above, in this embodiment, the numbers of “φ” and “1” of the values input to the shift register 200 are compared, and the one with the larger number is set as the definite value. And, quick data inversion is possible.
(発明の効果) 以上説明してきたように、この発明によれば、最終出力
用の2次ラッチ回路をもう1段設定すると共に、スター
トマーカ間のチャネルパルス数が所定数であるか否かを
チェックする回路を設定し、チャネルパルスが所定値で
あるときにのみ、1次ラッチのデータを2次ラッチ回路
に書き込むようにしたため、通信線に瞬間切断・ショー
トが生じたとき、チャネルカウンタが誤カウントして、
誤データが受信された場合、確実にこれらのデータを棄
却できるので、確実で正確なデータ転送を行なうことが
できる。(Effects of the Invention) As described above, according to the present invention, the secondary latch circuit for final output is set to another stage, and whether the number of channel pulses between start markers is a predetermined number or not. Since the circuit to be checked is set and the data of the primary latch is written to the secondary latch circuit only when the channel pulse has a predetermined value, the channel counter is erroneous when the communication line is momentarily disconnected or short-circuited. Count,
When erroneous data is received, these data can be reliably rejected, so that reliable and accurate data transfer can be performed.
また、他の実施例では異常受信が連続的に続く場合に
は、ラッチ出力をリセットするようにしたため、駆動中
の負荷が一時停止をしたり、出力負荷が一度駆動された
まま停止としないという不具合がなくなり、車両の安全
性を充分確保することができる。Further, in another embodiment, when abnormal reception continues, the latch output is reset, so that the load being driven is not temporarily stopped or the output load is not stopped once it is driven. There are no problems and the safety of the vehicle can be sufficiently ensured.
更に、他の実施例ではチャタリング除去回路を用いるよ
うにしたため、確実なチャタリング除去と迅速なデータ
反転が可能となる。Furthermore, since the chattering removal circuit is used in the other embodiments, reliable chattering removal and quick data inversion can be achieved.
第1図はこの発明の第1実施例を示す回路ブロック図、
第2図はその動作を説明するためのフローチャート、第
3図はこの発明の第2実施例を示す回路ブロック図、第
4図はその動作を説明するためのフローチャート、第5
図および第6図はこの発明の第3実施例を示す各回路ブ
ロック図、第7図はそのタイミングチャート、第8図は
従来例を示す回路ブロック図、第9図はそのタイミング
チャートである。 40……同期装置、 50……通信線、 60……送信装置、 70:受信装置、 78……パルス数チェック回路、 79……第2ラッチ回路。FIG. 1 is a circuit block diagram showing a first embodiment of the present invention,
2 is a flow chart for explaining the operation, FIG. 3 is a circuit block diagram showing a second embodiment of the present invention, FIG. 4 is a flow chart for explaining the operation, and FIG.
6 and 6 are circuit block diagrams showing a third embodiment of the present invention, FIG. 7 is a timing chart thereof, FIG. 8 is a circuit block diagram showing a conventional example, and FIG. 9 is a timing chart thereof. 40 …… Synchronizer, 50 …… Communication line, 60 …… Transmitter, 70: Receiver, 78 …… Pulse number check circuit, 79 …… Second latch circuit.
Claims (2)
の出力波形パターンを有するマスター同期区間とこれに
連続するチャネル区間とを交互に発生する通信同期装置
と、前記マスター同期区間に連続して発生する所定数の
同期クロックパルス数を順次カウントすることにより前
記チャネル区間を指定して外部入力に応じた通信データ
を前記信号線に供給する送信装置と、前記信号線より前
記チャネル区間が指定されたとき通信データを受信して
ラッチ出力する受信装置と、を備えた車両用通信装置に
おいて、 前記受信装置内に、前記同期クロックパルス数をカウン
トしてカウントした同期クロックパルス数が前記所定値
に一致するか否かを判別するパルス数チェック回路と、
一致したとき、該パルスに同期して受信される通信デー
タを出力し、一致しないとき該通信データを棄却して、
前回の通信データを保持、出力するラッチ回路と、を設
けたことを特徴とする車両用通信装置。Claim: What is claimed is: 1. A communication line for performing data communication, a communication synchronization device for alternately generating a master synchronization section having a predetermined output waveform pattern and a channel section continuous with the master synchronization section, and a communication synchronization apparatus continuous with the master synchronization section. By sequentially counting a predetermined number of synchronous clock pulses generated by the above, the transmitter for supplying the communication data corresponding to the external input to the signal line by sequentially counting the number of synchronization clock pulses, and the channel interval from the signal line. In a vehicular communication device comprising: a receiving device that receives communication data when specified and latches and outputs the same; in the receiving device, the number of synchronous clock pulses counted and counted is equal to the predetermined number. A pulse number check circuit that determines whether or not the values match,
When they match, the communication data received in synchronization with the pulse is output, and when they do not match, the communication data is rejected,
A vehicle communication device, comprising: a latch circuit that holds and outputs previous communication data.
定値と連続的に一致しないときは前記ラッチ回路の出力
をリセットするようにしたことを特徴とする前記特許請
求の範囲第1項記載の車両用通信装置。2. The output according to claim 1, wherein the output of the latch circuit is reset when the number of the synchronous clock pulses does not continuously match a predetermined value. Vehicle communication device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19400786A JPH06101720B2 (en) | 1986-08-21 | 1986-08-21 | Vehicle communication device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19400786A JPH06101720B2 (en) | 1986-08-21 | 1986-08-21 | Vehicle communication device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6351735A JPS6351735A (en) | 1988-03-04 |
| JPH06101720B2 true JPH06101720B2 (en) | 1994-12-12 |
Family
ID=16317415
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP19400786A Expired - Lifetime JPH06101720B2 (en) | 1986-08-21 | 1986-08-21 | Vehicle communication device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06101720B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0570045U (en) * | 1992-02-27 | 1993-09-21 | 日本精機株式会社 | Multiplexer |
-
1986
- 1986-08-21 JP JP19400786A patent/JPH06101720B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6351735A (en) | 1988-03-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111181555B (en) | PTP clock synchronization system and clock synchronization method | |
| EP0831621B1 (en) | Communication control apparatus | |
| US5003308A (en) | Serial data receiver with phase shift detection | |
| JPS616944A (en) | Frame synchronizing system | |
| US4887261A (en) | Method and arrangement for transmitting a digital signal with a low bit rate in a time section, provided for higher bit rates, of a time division multiplexed signal | |
| JPH06101720B2 (en) | Vehicle communication device | |
| JPH0149062B2 (en) | ||
| US5208840A (en) | Method and arrangement for detecting framing bit sequence in digital data communications system | |
| JP2506407B2 (en) | Clock synchronous data transmission system | |
| KR100212051B1 (en) | Apparatus and method for receiving data | |
| US5832033A (en) | Clock disturbance detection based on ratio of main clock and subclock periods | |
| JPH04323928A (en) | Frame synchronizing device | |
| SU1113790A1 (en) | Interface for linking computer with communication channels | |
| SU842791A1 (en) | Number comparing device | |
| JP3389679B2 (en) | Designated pattern data block counting circuit | |
| JPH0472424B2 (en) | ||
| KR100219596B1 (en) | Apparatus for discriminating state of transmission line | |
| JP2809202B2 (en) | Clock switching circuit and clock transfer device using the same | |
| JPS60235548A (en) | Transmission system of signal frame | |
| JP2816746B2 (en) | Serial data transmission system | |
| JPS59198042A (en) | Test system of reception and protection circuit for synchronizing signal | |
| JPS5813956B2 (en) | Data collection and transmission equipment | |
| JPH05260038A (en) | Block synchronous selection control circuit | |
| JPH0630479B2 (en) | Frame synchronization method | |
| JPS6115437A (en) | Start bit detection circuit of serial data reception system |