JP3298290B2 - Multiplex communication device - Google Patents

Multiplex communication device

Info

Publication number
JP3298290B2
JP3298290B2 JP03487294A JP3487294A JP3298290B2 JP 3298290 B2 JP3298290 B2 JP 3298290B2 JP 03487294 A JP03487294 A JP 03487294A JP 3487294 A JP3487294 A JP 3487294A JP 3298290 B2 JP3298290 B2 JP 3298290B2
Authority
JP
Japan
Prior art keywords
voltage
error
communication
power supply
common power
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 - Fee Related
Application number
JP03487294A
Other languages
Japanese (ja)
Other versions
JPH07245786A (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 JP03487294A priority Critical patent/JP3298290B2/en
Publication of JPH07245786A publication Critical patent/JPH07245786A/en
Application granted granted Critical
Publication of JP3298290B2 publication Critical patent/JP3298290B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数の制御ユニット間
に設置された多重伝送線を介して各種情報の授受を行う
多重通信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiplex communication apparatus for transmitting and receiving various information via a multiplex transmission line provided between a plurality of control units.

【0002】[0002]

【従来の技術】親局制御ユニットと車両の各所に配置さ
れた複数の子局制御ユニットとの間で多重伝送線を介し
て通信を行う多重通信装置が知られている(例えば、特
開平5−236563号公報参照)。この種の多重通信
装置では、親局制御ユニットと複数の子局制御ユニット
のそれぞれにマイクロコンピューターを備え、各子局制
御ユニットに接続された操作部材の操作情報などを多重
伝送線を介して親局制御ユニットへ伝送し、親局制御ユ
ニットではその操作情報に基づいて対応する端末装置の
駆動を決定し、その端末装置が接続された子局制御ユニ
ットへ多重伝送線を介して駆動情報を伝送している。
2. Description of the Related Art A multiplex communication apparatus is known which performs communication via a multiplex transmission line between a master station control unit and a plurality of slave station control units arranged in various parts of a vehicle (see, for example, Japanese Patent Application Laid-Open No. Hei 5 (1993)). -236563). In this type of multiplex communication apparatus, a microcomputer is provided in each of the master station control unit and the plurality of slave station control units, and operation information of operation members connected to each slave station control unit is mastered via a multiplex transmission line. The master station control unit determines the drive of the corresponding terminal device based on the operation information, and transmits the drive information to the slave station control unit to which the terminal device is connected via a multiplex transmission line. are doing.

【0003】また、親局制御ユニットと子局制御ユニッ
トとの交信は予め定めた順序で行い、通信先の子局制御
ユニットから応答がない時はその子局との通信エラーを
記録し、記録された通信エラーを外部に接続される故障
診断装置などの情報として活用している。
Communication between the master station control unit and the slave station control unit is performed in a predetermined order. When there is no response from the slave station control unit of the communication destination, a communication error with the slave station is recorded and recorded. The communication error is utilized as information on a failure diagnosis device connected to the outside.

【0004】[0004]

【発明が解決しようとする課題】ところで、マイクロコ
ンピューターはいわゆるパワーオン・リセット機能を有
しており、電源端子Vccへ供給される電源電圧がリセッ
トレベルVrs以下になると自動的にリセットされ、ふた
たび電源電圧がリセットレベルVrsを超えると動作を開
始する。このリセットレベルVrsは素子のばらつきなど
によりマイクロコンピューターごとに異なり、そのため
に同一の電源から複数の制御ユニットへ電源を供給する
場合でも、マイクロコンピューターごとにリセットタイ
ミングが数msecも異なることがある。
Incidentally, the microcomputer has a so-called power-on reset function. When the power supply voltage supplied to the power supply terminal Vcc falls below the reset level Vrs, the microcomputer is automatically reset, and the power supply is reset again. The operation starts when the voltage exceeds the reset level Vrs. The reset level Vrs differs from microcomputer to microcomputer due to variations in elements, and therefore, even when power is supplied from the same power supply to a plurality of control units, the reset timing may differ by several milliseconds from microcomputer to microcomputer.

【0005】このため、車両のクランキング時や電源の
故障時にバッテリー電圧が低下すると、リセットレベル
Vrsのばらつきによってリセットされるマイクロコンピ
ューターとリセットされないマイクロコンピューターと
が存在することになる。このような時は、リセットされ
なかったマイクロコンピューターを有する制御ユニット
からリセットされたマイクロコンピューターを有する制
御ユニットへの送信が行われても、リセットされた制御
ユニットから応答がないので、リセットされなかった制
御ユニットはリセットされた制御ユニットとの通信エラ
ーを記録することになる。通常、車両のクランキングは
何回も行われ、短時間で終了するものであるから、この
ような時には実際に通信異常になっても通信エラーの記
録を避けたい。
[0005] For this reason, when the battery voltage is lowered at the time of cranking of the vehicle or at the time of failure of the power supply, there are microcomputers which are reset due to the variation of the reset level Vrs and microcomputers which are not reset. In such a case, even if the transmission from the control unit having the microcomputer that was not reset to the control unit having the microcomputer that was reset was performed, there was no response from the reset control unit. The control unit will record a communication error with the reset control unit. Usually, the cranking of the vehicle is performed many times and is completed in a short time. In such a case, it is desired to avoid recording the communication error even if the communication actually becomes abnormal.

【0006】しかしながら、従来の多重通信装置では、
クランキングなどによる電源電圧の低下に起因した通信
異常と、通信回路、マイクロコンピューター、制御回路
などの故障に起因した本来の通信異常との区別ができな
いので、クランキングなどによる電源電圧の低下時にも
通信エラーを記録してしまうという問題がある。
However, in a conventional multiplex communication device,
It is not possible to distinguish between a communication error caused by a drop in power supply voltage due to cranking, etc., and an original communication error caused by a failure in a communication circuit, microcomputer, control circuit, etc. There is a problem that a communication error is recorded.

【0007】本発明の目的は、クランキングなどによる
電源電圧の低下時に発生する通信異常を通信エラーとし
て認識しないようにした多重通信装置を提供することに
ある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a multiplex communication apparatus which does not recognize a communication error that occurs when a power supply voltage drops due to cranking or the like as a communication error.

【0008】[0008]

【課題を解決するための手段】一実施例を示す図1に対
応づけて本発明を説明すると、請求項1の発明は、共通
電源BATの電圧が固有の値まで低下すると自動的にリ
セットする演算制御回路CPU1、CPU2、CPU
3、・・をそれぞれに有する複数の制御ユニットCTR
1、CTR2、CTR3、・・を備え、それらが共通の
多重伝送線LLを介して相互に通信を行う多重通信装置
に適用される。そして、共通電源BATの電圧Vbが各
演算制御回路CPU1、CPU2、CPU3、・・の固
有値よりも高い所定値以下に低下したことを検出する電
圧低下検出回路(R1、C1、D1、CPU1)と、制
御ユニット間の通信で通信異常が発生した時はいったん
暫定エラーとして記録し、その後、所定時間通信異常が
解消しない時は暫定エラーを通信エラーに切り換える通
信異常検出回路CPU1、CPU2、CPU3、・・
と、通信異常検出回路CPU1、CPU2、CPU3、
・・により暫定エラーが記録されている時に、電圧低下
検出回路により共通電源BATの電圧Vbが所定値以下
に低下したことが検出されると暫定エラーを解除する暫
定エラー解除回路CPU1、CPU2、CPU3、・・
とを各制御ユニットCTR1、CTR2、CTR3、・
・に備え、これにより、上記目的を達成する。また、請
求項2の多重通信装置の電圧低下検出回路は、共通電源
BATの電圧Vbが上昇した時は出力電圧Vcが遅れて
上昇し、共通電源BATの電圧Vbが低下した時は出力
電圧Vcがほぼ同時に低下する遅延回路(R1、C1、
D1)を有し、この遅延回路の出力電圧Vcが予め設定
された値以下の時は共通電源BATの電圧Vbが所定値
以下であると判定するようにしたものである。さらに、
請求項3の発明は、共通電源BATに接続されるマイク
ロコンピューターCPU1、CPU2、CPU3、・・
をそれぞれに有する複数の制御ユニットCTR1、CT
R2、CTR3、・・を備え、それらが共通の多重伝送
線LLを介して相互に通信を行う多重通信装置に適用さ
れる。そして、共通電源BATの電圧Vbが上昇した時
は出力電圧Vcが遅れて上昇し、共通電源BATの電圧
Vbが低下した時は出力電圧Vcがほぼ同時に低下する
遅延回路(R1、C1、D1)を備え、マイクロコンピ
ューターCPU1、CPU2、CPU3、・・によっ
て、制御ユニットCRT1、CTR2、CTR3、・・
間の通信で通信異常が発生した時はいったん暫定エラー
として記録し、遅延回路(R1、C1、D1)の出力電
圧Vcが予め設定された値以下になると暫定エラーを解
除することにより、上記目的を達成する。請求項4の多
重通信装置は、マイクロコンピューターCPU1、CP
U2、CPU3、・・によって、暫定エラーを記録して
から所定時間が経過した時に、通信異常が解消されず暫
定エラーが記録されたままであれば暫定エラーを通信エ
ラーに切り換えるようにしたものである。
The present invention will be described with reference to FIG. 1 showing an embodiment. The present invention automatically resets when the voltage of the common power supply BAT drops to a specific value. Arithmetic control circuits CPU1, CPU2, CPU
A plurality of control units CTR each having:
, And CTR2, CTR3,... Are applied to a multiplex communication apparatus that communicates with each other via a common multiplex transmission line LL. A voltage drop detection circuit (R1, C1, D1, CPU1) for detecting that the voltage Vb of the common power supply BAT has dropped below a predetermined value higher than the eigenvalue of each of the arithmetic and control circuits CPU1, CPU2, CPU3,. When a communication error occurs during communication between the control units, the communication error is temporarily recorded as a temporary error, and thereafter, when the communication error does not clear for a predetermined time, the temporary error is switched to a communication error, and the communication error detection circuits CPU1, CPU2, CPU3,.・
And communication abnormality detection circuits CPU1, CPU2, CPU3,
When the provisional error is recorded and the voltage drop detection circuit detects that the voltage Vb of the common power supply BAT has dropped below a predetermined value, the provisional error release circuits CPU1, CPU2, and CPU3 release the provisional error. , ...
To each of the control units CTR1, CTR2, CTR3,.
In this way, the above object is achieved. The voltage drop detection circuit of the multiplex communication apparatus according to the second aspect of the present invention is configured such that when the voltage Vb of the common power supply BAT increases, the output voltage Vc increases with a delay, and when the voltage Vb of the common power supply BAT decreases, the output voltage Vc decreases. (R1, C1,...)
D1), and when the output voltage Vc of the delay circuit is lower than a preset value, it is determined that the voltage Vb of the common power supply BAT is lower than a predetermined value. further,
The invention according to claim 3 is a microcomputer which is connected to a common power supply BAT.
Control units CTR1, CT each having
Are applied to a multiplex communication device which includes R2, CTR3,... Which communicate with each other via a common multiplex transmission line LL. When the voltage Vb of the common power supply BAT increases, the output voltage Vc increases with a delay, and when the voltage Vb of the common power supply BAT decreases, the output voltage Vc decreases almost at the same time (R1, C1, D1). , And control units CRT1, CTR2, CTR3,... By microcomputers CPU1, CPU2, CPU3,.
When a communication error occurs in the communication between the devices, the error is temporarily recorded as a provisional error, and when the output voltage Vc of the delay circuit (R1, C1, D1) falls below a preset value, the provisional error is released. To achieve. The multiplex communication apparatus according to claim 4, wherein the microcomputers CPU1, CP
U2, CPU3,..., When a predetermined time has elapsed since the recording of the provisional error, if the communication error is not resolved and the provisional error is still recorded, the provisional error is switched to the communication error. .

【0009】[0009]

【作用】請求項1の多重通信装置では、制御ユニット間
の通信で通信異常が発生したらいったん暫定エラーとし
て記録し、その後、所定時間通信異常が解消しない時は
暫定エラーを通信エラーに切り換える。この暫定エラー
が記録されている時に、共通電源の電圧Vbが所定値以
下に低下したことが検出されると暫定エラーを解除す
る。演算制御回路は電源電圧Vbがリセットレベルまで
低下すると自動的にリセットする。このリセットレベル
は各演算制御回路ごとに異なる固有の値であり、電源電
圧Vbが低下するとリセットレベルのばらつきによって
リセットされる演算制御回路とリセットされない演算制
御回路とが存在する。このような時は、リセットされな
かった演算制御回路を有する制御ユニットとリセットさ
れた演算制御回路を有する制御ユニットとの間で通信異
常が発生する。しかし、この通信異常が電源電圧Vbの
低下のために発生したことを認識できるので、このよう
な通信異常を通信エラーとして認識しないようにするこ
とができる。また請求項2の多重通信装置では、遅延回
路の出力電圧Vcが設定値以下の時は共通電源の電圧V
bが所定値以下であると判定する。共通電源の電圧Vb
が演算制御回路の固有値よりも低下すると、その演算制
御回路はリセットする。共通電源の電圧Vbがふたたび
上昇して所定値よりも高い値に復帰すると、演算制御回
路は動作を開始する。この時、遅延回路の出力電圧Vc
は遅れて上昇するので、いったんリセットしふたたび動
作を開始した演算制御回路でも、遅延回路の出力電圧V
cの値が設定値以下であれば共通電源の電圧Vbが所定
値以下に低下していたことを認識できる。さらに請求項
3の多重通信装置では、共通電源BATの電圧Vbを遅
延回路を介して入力するとともに、制御ユニット間の通
信で通信異常が発生した時はいったん暫定エラーとして
記録し、遅延回路の出力電圧Vcが予め設定された値以
下になると暫定エラーを解除する。マイクロコンピュー
ターは電源電圧Vbがリセットレベルまで低下すると自
動的にリセットする。このリセットレベルは各マイクロ
コンピューターごとに異なる固有の値であり、電源電圧
Vbが低下するとリセットレベルのばらつきによってリ
セットされるマイクロコンピューターとリセットされな
いマイクロコンピューターとが存在する。このような時
は、リセットされなかったマイクロコンピューターを有
する制御ユニットとリセットされたマイクロコンピュー
ターを有する制御ユニットとの間で通信異常が発生す
る。しかし、この通信異常が電源電圧Vbの低下のため
に発生したことを認識できるので、このような通信異常
を通信エラーとして認識しないようにすることができ
る。請求項4の多重通信装置では、暫定エラーが記録さ
れてから所定時間が経過した時に、通信異常が解消され
ず暫定エラーが記録されたままであれば暫定エラーを通
信エラーに切り換える。これにより、通信回路、マイク
ロコンピューター、制御回路などの故障に起因した本来
の通信エラーと、電源電圧の低下に起因した通信エラー
との区別が明確になされ、本来の通信エラーに対しての
み適切なエラー処理を行うことができる。
In the multiplex communication apparatus according to the first aspect, if a communication error occurs in the communication between the control units, it is temporarily recorded as a temporary error, and thereafter, if the communication error does not disappear for a predetermined time, the temporary error is switched to the communication error. When the provisional error is recorded, if it is detected that the voltage Vb of the common power supply has dropped below a predetermined value, the provisional error is released. The arithmetic control circuit automatically resets when the power supply voltage Vb drops to the reset level. This reset level is a unique value that differs for each arithmetic control circuit, and there are arithmetic control circuits that are reset due to variations in the reset level when the power supply voltage Vb decreases, and arithmetic control circuits that are not reset. In such a case, communication abnormality occurs between the control unit having the arithmetic control circuit that has not been reset and the control unit having the reset arithmetic control circuit. However, since it is possible to recognize that this communication abnormality has occurred due to the decrease in the power supply voltage Vb, it is possible to prevent such a communication abnormality from being recognized as a communication error. In the multiplex communication apparatus according to the second aspect, when the output voltage Vc of the delay circuit is equal to or less than the set value, the voltage V
It is determined that b is equal to or less than a predetermined value. Common power supply voltage Vb
Is lower than the eigenvalue of the arithmetic control circuit, the arithmetic control circuit is reset. When the voltage Vb of the common power supply rises again and returns to a value higher than the predetermined value, the arithmetic control circuit starts operating. At this time, the output voltage Vc of the delay circuit
Rises with a delay, so that even if the arithmetic and control circuit resets and starts operating again, the output voltage V
If the value of c is equal to or less than the set value, it can be recognized that the voltage Vb of the common power supply has decreased to a predetermined value or less. Further, in the multiplex communication apparatus according to the third aspect, the voltage Vb of the common power supply BAT is input via the delay circuit, and when a communication abnormality occurs in the communication between the control units, the communication is temporarily recorded as a temporary error, and the output of the delay circuit is output. When the voltage Vc falls below a preset value, the provisional error is released. The microcomputer automatically resets when the power supply voltage Vb drops to the reset level. This reset level is a unique value that differs for each microcomputer, and there are microcomputers that are reset due to variations in the reset level when the power supply voltage Vb decreases, and microcomputers that are not reset. In such a case, communication abnormality occurs between the control unit having the microcomputer that has not been reset and the control unit having the microcomputer that has been reset. However, since it is possible to recognize that this communication abnormality has occurred due to the decrease in the power supply voltage Vb, it is possible to prevent such a communication abnormality from being recognized as a communication error. In the multiplex communication apparatus according to the fourth aspect, when a predetermined time has elapsed after the provisional error is recorded, the provisional error is switched to the communication error if the communication abnormality is not resolved and the provisional error is still recorded. This clarifies the distinction between communication errors caused by failures in communication circuits, microcomputers, control circuits, etc., and communication errors caused by a drop in power supply voltage. Error handling can be performed.

【0010】なお、本発明の構成を説明する上記課題を
解決するための手段および作用の項では、本発明を分り
やすくするために実施例の図を用いたが、これにより本
発明が実施例に限定されるものではない。
In the means and means for solving the above-mentioned problems which explain the constitution of the present invention, the drawings of the embodiments are used to facilitate understanding of the present invention. However, the present invention is not limited to this.

【0011】[0011]

【実施例】本発明の多重通信装置を車両に応用して各種
車載機器を制御するようにした一実施例を説明する。図
1はその実施例の構成を示す機能ブロック図である。車
両の運転席の近傍に配置された親局制御ユニット(以
下、単に親局と呼ぶ)CTR1には、多重伝送線LLを
介して車両の各所に配置された複数の子局制御ユニット
(以下、単に子局と呼ぶ)CTR2、CTR3、・・が
接続される。親局CTR1は、マイクロコンピューター
(以下、CPUと呼ぶ)1と、インタフェース回路IF
1と、通信制御プログラムなどを格納したROMと、通
信時の暫定エラーおよび通信エラーを記録する電池バッ
クアップのRAMと、電源回路PS1を備える。CPU
1は子局CTR2、CTR3、・・とそれぞれのインタ
フェース回路IF1、IF2、IF3、・・を介して通
信を行い、子局から受信された操作部材の操作情報に基
づいて対応する端末機器の駆動を決定し、その端末機器
が接続された子局へ駆動情報を送信する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the multiplex communication apparatus of the present invention is applied to a vehicle to control various on-vehicle devices will be described. FIG. 1 is a functional block diagram showing the configuration of the embodiment. A master station control unit (hereinafter, simply referred to as master station) CTR1 arranged near the driver's seat of the vehicle has a plurality of slave station control units (hereinafter, referred to as master stations) arranged at various parts of the vehicle via a multiplex transmission line LL. CTR2, CTR3,... Are simply connected. The master station CTR1 includes a microcomputer (hereinafter referred to as a CPU) 1 and an interface circuit IF.
1, a ROM storing a communication control program and the like, a battery backup RAM for recording provisional errors and communication errors during communication, and a power supply circuit PS1. CPU
1 communicates with the slave stations CTR2, CTR3,... Via the respective interface circuits IF1, IF2, IF3,... And drives the corresponding terminal equipment based on the operation information of the operation members received from the slave station. Is determined, and the drive information is transmitted to the slave station to which the terminal device is connected.

【0012】CPU1の電源端子Vccには、バッテリー
BATから端子TB1と電源回路PS1を介して電源を
供給する。通常、車載バッテリーBATの端子電圧は1
2Vであるため、電源回路PS1によってバッテリー電
圧Vbを所定の電圧に降圧してCPU1へ供給する。ま
た、CPU1のCOM端子は端子TB2を介してバッテ
リーBATの接地ラインへ接続する。さらに、親局CT
R1の端子TB1とTB2の間に抵抗器R1とコンデン
サーC1とが直列に接続された遅延回路を接続するとと
もに、抵抗器R1にダイオードD1を図示の方向に並列
に接続し、さらに抵抗器R1とコンデンサーC1の接続
点をCPU1のAD端子へ接続する。このAD端子はC
PU1に内蔵されるADコンバーターの入力端子であ
る。
Power is supplied to the power supply terminal Vcc of the CPU 1 from the battery BAT via the terminal TB1 and the power supply circuit PS1. Normally, the terminal voltage of the on-board battery BAT is 1
Since the voltage is 2 V, the battery voltage Vb is reduced to a predetermined voltage by the power supply circuit PS1 and supplied to the CPU 1. Further, the COM terminal of the CPU 1 is connected to the ground line of the battery BAT via the terminal TB2. In addition, the master station CT
A delay circuit in which a resistor R1 and a capacitor C1 are connected in series is connected between terminals TB1 and TB2 of R1, and a diode D1 is connected to the resistor R1 in parallel in the direction shown in the drawing. The connection point of the capacitor C1 is connected to the AD terminal of the CPU1. This AD terminal is C
This is an input terminal of an AD converter built in PU1.

【0013】図2および図3は車両のクランキング時の
バッテリー電圧Vbとコンデンサーの端子電圧Vcの時
間変化を示す図であり、図2はバッテリー電圧VbがC
PUのリセットレベルVrs以下に低下した時を示し、図
3はバッテリー電圧VbがリセットレベルVrsよりも高
く、所定の電圧Vo(ここで、Vo>Vrs)よりも低い
電圧に低下した時を示す。車両のクランキング時はバッ
テリーBATから多くの電力がスターターに供給される
ので、端子電圧Vbが低下する。エンジンが始動しスタ
ーターへの通電が停止されると、バッテリー端子電圧V
bはほぼもとの電圧レベルまで回復する。コンデンサー
C1はバッテリーBATから抵抗器R1を介して電力が
供給され充電されているので、定常時にはコンデンサー
端子電圧Vcはバッテリー電圧Vbにほぼ等しい。クラ
ンキング時にバッテリー端子電圧Vbが低下すると、コ
ンデンサーC1はダイオードD1を介して放電し、コン
デンサー端子電圧Vcはバッテリー電圧Vbとほぼ同様
に低下する。バッテリー電圧Vbはクランキングの開始
時点で急激に低下するが、その後は多少、振動しながら
徐々に上昇する。この時、バッテリー電圧Vbの上昇に
ともなってふたたびコンデンサーC1の充電が開始さ
れ、図中に破線で示すようにコンデンサーC1の容量と
抵抗器R1の抵抗値によって決る時定数にしたがってコ
ンデンサー端子電圧Vcが上昇する。図2の時刻t2で
クランキングが停止されると、バッテリー電圧Vbは急
激にほぼもとのレベルに回復するが、コンデンサーC1
は抵抗器R1を介して充電されるのでその端子電圧Vc
は上記時定数にしたがって破線に沿って上昇する。
FIG. 2 and FIG. 3 are diagrams showing the time change of the battery voltage Vb and the terminal voltage Vc of the capacitor at the time of cranking of the vehicle. FIG.
FIG. 3 shows the case where the battery voltage Vb is lower than the reset level Vrs and lower than a predetermined voltage Vo (here, Vo> Vrs). During cranking of the vehicle, a large amount of power is supplied from the battery BAT to the starter, so that the terminal voltage Vb decreases. When the engine starts and power to the starter is stopped, the battery terminal voltage V
b recovers to almost the original voltage level. Since the capacitor C1 is charged by being supplied with power from the battery BAT via the resistor R1, the capacitor terminal voltage Vc is substantially equal to the battery voltage Vb in a steady state. When the battery terminal voltage Vb decreases during cranking, the capacitor C1 discharges via the diode D1, and the capacitor terminal voltage Vc decreases almost in the same manner as the battery voltage Vb. The battery voltage Vb drops sharply at the start of cranking, but thereafter gradually rises with some oscillation. At this time, the charging of the capacitor C1 is started again with the rise of the battery voltage Vb, and the capacitor terminal voltage Vc is changed according to the time constant determined by the capacitance of the capacitor C1 and the resistance value of the resistor R1 as shown by a broken line in the figure. To rise. When the cranking is stopped at time t2 in FIG. 2, the battery voltage Vb suddenly recovers to almost the original level, but the capacitor C1
Is charged via the resistor R1, so that its terminal voltage Vc
Rises along the broken line according to the above time constant.

【0014】バッテリー電圧Vbが所定電圧Voを超え
てもとのレベルに回復した時刻t2からCPUは動作を
再開する。したがって、動作を再開したCPUによっ
て、コンデンサー端子電圧Vcが所定電圧Voを超える
時刻t3までにコンデンサー端子電圧Vcと所定電圧V
oとを比較し、コンデンサー端子電圧Vcが所定電圧V
oよりも低ければ、クランキングにともなうバッテリー
電圧Vbの低下によりCPUがリセットされていたこと
を認識できる。
The CPU resumes its operation from time t2 when the battery voltage Vb exceeds the predetermined voltage Vo and recovers to the original level. Therefore, by the CPU that has resumed operation, the capacitor terminal voltage Vc and the predetermined voltage Vc are not changed until time t3 when the capacitor terminal voltage Vc exceeds the predetermined voltage Vo.
o, the capacitor terminal voltage Vc becomes the predetermined voltage V
If it is lower than o, it can be recognized that the CPU has been reset due to a decrease in the battery voltage Vb due to cranking.

【0015】バッテリー端子電圧Vbがリセットレベル
Vrsまで低下しない場合も、図3に示すように、クラン
キング開始時刻t5でコンデンサー端子電圧Vcはバッ
テリー電圧Vbとほぼ同時に急激に低下する。クランキ
ング終了時刻t6でバッテリー電圧Vbは急激にほぼも
とのレベルまで回復するが、コンデンサー端子電圧Vc
は上記時定数にしたがって破線に沿って上昇する。この
場合は、CPUはリセットされていないので、時刻t5
からコンデンサー端子電圧Vcが所定電圧Voを超える
時刻t7までの間にコンデンサー端子電圧Vcと所定電
圧Voとを比較し、コンデンサー端子電圧Vcが所定電
圧Voよりも低ければ、クランキングにともなってバッ
テリー電圧Vbが低下したことを認識できる。
Even when the battery terminal voltage Vb does not drop to the reset level Vrs, as shown in FIG. 3, at the cranking start time t5, the capacitor terminal voltage Vc drops sharply almost simultaneously with the battery voltage Vb. At the cranking end time t6, the battery voltage Vb rapidly recovers to almost the original level, but the capacitor terminal voltage Vc
Rises along the broken line according to the above time constant. In this case, since the CPU has not been reset, time t5
Between time t7 and when the capacitor terminal voltage Vc exceeds the predetermined voltage Vo, the capacitor terminal voltage Vc is compared with the predetermined voltage Vo. If the capacitor terminal voltage Vc is lower than the predetermined voltage Vo, the battery voltage is increased with cranking. It can be recognized that Vb has decreased.

【0016】CPU1は、通信先の子局から応答がない
時はいったんその子局との暫定的な通信エラー(以下、
暫定エラーと呼ぶ)を電池バックアンプのRAMに記録
する。その後、所定の時間が経過してもその子局から応
答がない時は暫定エラーを通信エラーに変更し、予め決
められたエラー処理を行う。暫定エラーが記録されてい
る時にコンデンサー端子電圧Vcが所定電圧Voよりも
低いことが検出されたら、CPU1はクランキングによ
るバッテリー電圧Vbの低下が原因で子局との暫定エラ
ーが発生したと判断し、RAMに記録されている暫定エ
ラーを解除する。
When there is no response from the slave station of the communication destination, the CPU 1 temporarily sets a provisional communication error with the slave station (hereinafter, referred to as a temporary error).
(Referred to as a provisional error) in the RAM of the battery-back amplifier. Thereafter, if there is no response from the slave station even after a predetermined time has elapsed, the provisional error is changed to a communication error, and predetermined error processing is performed. When the provisional error is recorded and the capacitor terminal voltage Vc is detected to be lower than the predetermined voltage Vo, the CPU 1 determines that a provisional error with the slave station has occurred due to a decrease in the battery voltage Vb due to cranking. Then, the provisional error recorded in the RAM is released.

【0017】子局制御ユニットCTR2は車両の運転席
の近くに設置され、CPU2、インタフェース回路IF
2などの親局CTR1と同様な機器を備えている。な
お、図示を省略するが、この子局CTR2は親局CTR
1と同様な電源供給回路を備えており、バッテリーBA
TからCPU2へ電力が供給される。この子局CTR2
には、メーター照明用ランプなどを点消灯するためのス
モールランプスイッチ、ヘッドランプを点消灯するため
にヘッドランプスイッチ、ターンシグナルランプを点消
灯するためのターンシグナルスイッチなどが接続され
る。子局制御ユニットCTR3は車両の運転席の近くに
設置され、CPU3、インタフェース回路IF3などの
親局CTR1と同様な機器を備えている。なお、図示を
省略するが、この子局CTR3は親局CTR1と同様な
電源供給回路を備えており、バッテリーBATからCP
U3へ電力が供給される。この子局CTR3には、助手
席のウインドウを開閉するためのスイッチ、後席左右の
ウインドウを開閉するためのスイッチ、ドアロック用ス
イッチなどが接続されている。なお、車両には以上の子
局の他に各種の子局制御ユニットが多重伝送線LLを介
して親局CTR1と接続されているが、それらの子局に
関しては説明を省略する。
The slave station control unit CTR2 is installed near the driver's seat of the vehicle, and includes a CPU 2 and an interface circuit IF.
2 and similar devices to the master station CTR1. Although not shown, the slave station CTR2 is the master station CTR.
1 is provided with the same power supply circuit as the battery BA.
Power is supplied from T to the CPU 2. This slave station CTR2
Are connected to a small lamp switch for turning on and off a lamp for meter illumination, a head lamp switch for turning on and off a head lamp, a turn signal switch for turning on and off a turn signal lamp, and the like. The slave station control unit CTR3 is installed near the driver's seat of the vehicle, and includes the same devices as the master station CTR1, such as the CPU 3 and the interface circuit IF3. Although not shown, the slave station CTR3 has a power supply circuit similar to that of the master station CTR1.
Power is supplied to U3. A switch for opening and closing the window of the passenger seat, a switch for opening and closing the left and right windows of the rear seat, a door lock switch, and the like are connected to the slave station CTR3. Note that, in addition to the above-mentioned slave stations, various slave station control units are connected to the vehicle via the multiplex transmission line LL with the master station CTR1, but the description of these slave stations will be omitted.

【0018】図4および図5は、親局CTR1のCPU
1で実行される制御プログラムを示すフローチャートで
ある。これらのフローチャートにより、実施例の動作を
説明する。親局制御ユニットCTR1にバッテリーから
電源が供給され、CPU1の端子Vccに所定の電圧が供
給されると、CPU1は所定のリセットシーケンスを実
行した後、図4に示す通信制御プログラムの実行を開始
する。ステップS1において、子局CTR2へ駆動情報
などを送信した後、ステップS2へ進んで子局CTR2
からの応答を待つ。子局CTR2からの応答があればス
テップS8へ進み、なければステップS3へ進む。ステ
ップS8では子局CTR2から送られたスイッチ類の操
作情報に基づいて対応する端末機器の駆動を決定し、ス
テップS9へ進んで子局CTR3へ駆動情報などの送信
を行う。
FIGS. 4 and 5 show the CPU of the master station CTR1.
3 is a flowchart showing a control program executed in Step 1. The operation of the embodiment will be described with reference to these flowcharts. When power is supplied from the battery to the master station control unit CTR1 and a predetermined voltage is supplied to the terminal Vcc of the CPU1, the CPU1 executes a predetermined reset sequence and then starts executing the communication control program shown in FIG. . In step S1, after transmitting the driving information and the like to the slave station CTR2, the process proceeds to step S2 and proceeds to the slave station CTR2.
Wait for a response from. If there is a response from the slave station CTR2, the process proceeds to step S8; otherwise, the process proceeds to step S3. In step S8, the operation of the corresponding terminal device is determined based on the operation information of the switches transmitted from the slave station CTR2, and the process proceeds to step S9 to transmit the drive information and the like to the slave station CTR3.

【0019】ステップS2で子局CTR2からの応答が
なかった時は、ステップS3で電池バックアップのRA
Mに暫定エラーを記録してステップS4へ進み、CPU
1に内蔵されるタイマーをスタートさせる。続くステッ
プS5で後述するタイマー割り込みルーチンにより暫定
エラーが解除されたか否かを判別し、解除されたらステ
ップS1へ戻ってふたたび子局CTR1へ送信を行い、
暫定エラーが解除されていなければステップS6へ進
む。ステップS6で、タイマーの設定時間T1が経過し
たか否かを判別し、T1時間が経過したらステップS7
へ進み、そうでなければステップS1へ戻る。暫定エラ
ーが記録されてから、タイマー割り込みルーチンにより
解除されることなく設定時間T1が経過した時は、ステ
ップS7で暫定エラーを通信エラーに変更し、所定の通
信エラー処理を行ってステップS9へ進む。なお、ステ
ップS9以降の子局CTR3、・・に対する通信処理は
上述した子局CTR2に対する処理と同様であるので、
説明を省略する。
If there is no response from the slave station CTR2 in step S2, the battery backup RA is returned in step S3.
A provisional error is recorded in M, and the process proceeds to step S4, where the CPU
1. Start the timer built in 1. In a succeeding step S5, it is determined whether or not the provisional error has been released by a timer interrupt routine described later, and if the provisional error has been released, the process returns to step S1 to transmit to the slave station CTR1 again.
If the provisional error has not been cleared, the process proceeds to step S6. In step S6, it is determined whether or not the set time T1 of the timer has elapsed.
Otherwise, return to step S1. If the set time T1 has elapsed without being canceled by the timer interrupt routine after the recording of the provisional error, the provisional error is changed to a communication error in step S7, a predetermined communication error process is performed, and the process proceeds to step S9. . Since the communication processing for the slave stations CTR3,... After step S9 is the same as the processing for the slave station CTR2 described above,
Description is omitted.

【0020】CPU1には所定時間、例えば10mse
cごとにタイマー割り込みが発生し、CPU1は図5に
示すタイマー割り込みルーチンを実行する。ステップS
21で、コンデンサー端子電圧Vcが所定電圧Voより
も低いか否かを判別し、Vc<VoであればステップS
22へ進み、そうでなければリターンする。ステップS
22では、電池バックアップのRAMに暫定エラーが記
録されているか否かを判別し、記録されていればステッ
プS23へ進み、そうでなければリターンする。暫定エ
ラーが記録されている時にコンデンサー端子電圧Vcが
所定電圧Voよりも低いことが検出されたら、クランキ
ングによるバッテリー電圧Vbの低下が原因で子局との
暫定エラーが発生したと判断し、ステップS23でRA
Mに記録されている暫定エラーを解除してリターンす
る。
The CPU 1 has a predetermined time, for example, 10 msec.
A timer interrupt occurs for each c, and the CPU 1 executes a timer interrupt routine shown in FIG. Step S
At 21, it is determined whether or not the capacitor terminal voltage Vc is lower than a predetermined voltage Vo.
Proceed to 22, otherwise return. Step S
At 22, it is determined whether or not a provisional error is recorded in the battery backup RAM, and if so, the process proceeds to step S23, otherwise returns. If the provisional error is recorded and it is detected that the capacitor terminal voltage Vc is lower than the predetermined voltage Vo, it is determined that a provisional error with the slave station has occurred due to a decrease in the battery voltage Vb due to the cranking. RA in S23
The provisional error recorded in M is canceled and the routine returns.

【0021】今、親局CTR1と子局CTR2との交信
中にクランキングなどによるバッテリー電圧Vbの低下
が発生し、CPU1とCPU2のリセットレベルVrsの
ばらつきにより子局CTR2が図2に示すようにリセッ
トされ、親局CTR1が図3に示すようにリセットされ
なかったとすると、親局CTR1からの送信に対して子
局CTR2は応答できないので、親局CTR1と子局C
TR2とは通信不能状態になる。親局CTR1はいった
ん子局CTR2に対する暫定エラーを記録するが、その
後、タイマー割り込みルーチンを実行してコンデンサー
電圧Vcが所定電圧Voよりも低いことが検出される
と、この通信不能はクランキングによるバッテリー電圧
Vbの低下にともなって子局CTR2のCPU2がリセ
ットしたために発生したと認識し、暫定エラーを解除す
る。
Now, during communication between the master station CTR1 and the slave station CTR2, a drop in the battery voltage Vb due to cranking or the like occurs, and the slave station CTR2 is changed as shown in FIG. If the master station CTR1 is reset and the master station CTR1 is not reset as shown in FIG. 3, the slave station CTR2 cannot respond to the transmission from the master station CTR1.
Communication with TR2 is disabled. Once the master station CTR1 records a provisional error for the slave station CTR2, and thereafter executes a timer interrupt routine and detects that the capacitor voltage Vc is lower than the predetermined voltage Vo, this communication failure is caused by cranking of the battery. The CPU 2 of the slave station CTR2 recognizes that the reset has occurred due to the decrease in the voltage Vb, and the provisional error is released.

【0022】一方、親局CTR1と子局CTR2との交
信中にクランキングなどによるバッテリー電圧Vbの低
下が発生し、CPU1とCPU2のリセットレベルVrs
のばらつきにより親局CTR1が図2に示すようにリセ
ットされ、子局CTR2が図3に示すようにリセットさ
れなかったとすると、クランキング終了後、動作を再開
した親局CTR1のCPU1は時刻t2から時刻t3ま
での間にタイマー割り込みルーチンによってコンデンサ
ー電圧Vcが所定電圧Voよりも低いことを認識に、ク
ランキングなどによるバッテリー電圧Vbの低下にとも
なって自身(CPU1)がリセットして子局CTR2と
の交信が中断したことを認識する。
On the other hand, during communication between the master station CTR1 and the slave station CTR2, a decrease in the battery voltage Vb due to cranking or the like occurs, and the reset level Vrs of the CPU1 and CPU2 is reduced.
Assuming that the master station CTR1 is reset as shown in FIG. 2 and the slave station CTR2 is not reset as shown in FIG. 3 due to the variation, the CPU 1 of the master station CTR1 that has resumed operation after cranking ends from time t2. Until the time t3, the timer interrupt routine recognizes that the capacitor voltage Vc is lower than the predetermined voltage Vo, and resets itself (CPU1) with a drop in the battery voltage Vb due to cranking or the like, and resets with the slave station CTR2. Recognize that communication has been interrupted.

【0023】上述した実施例では本発明の多重通信装置
を車両に応用して各種車載機器を制御する例を示した
が、本発明は車両以外のものにも適用できる。また、上
述した実施例では親局を中心にして各子局と交信する例
を示したが、各制御ユニットが上述した制御プログラム
を実行して他の制御ユニットと通信を行う場合にも本発
明を適用できる。さらに、上述した実施例ではクランキ
ングによるバッテリー電圧の低下を中心に説明したが、
本発明の多重通信装置はクランキング時に限定されず電
源回路などの故障による電源電圧の低下に対してもクラ
ンキン時と同様に動作する。
In the above-described embodiment, an example has been described in which the multiplex communication apparatus of the present invention is applied to a vehicle to control various on-vehicle devices. However, the present invention can be applied to devices other than the vehicle. Further, in the above-described embodiment, an example in which communication is performed with each slave station centering on the master station has been described. However, the present invention is also applicable to a case where each control unit executes the above-described control program and communicates with another control unit. Can be applied. Further, in the above-described embodiment, the description has been made focusing on the reduction of the battery voltage due to the cranking.
The multiplex communication apparatus of the present invention is not limited to the time of cranking and operates similarly to the time of cranking even when the power supply voltage drops due to a failure of a power supply circuit or the like.

【0024】以上の実施例の構成において、マイクロコ
ンピューターCPU1、CPU2、CPU3、・・が演
算制御回路、電圧低下検出回路、通信異常検出回路およ
び暫定エラー解除回路を、抵抗器R1、コンデンサーC
1およびダイオードD1が遅延回路をそれぞれ構成す
る。
In the configuration of the above embodiment, the microcomputers CPU1, CPU2, CPU3,... Are provided with an arithmetic control circuit, a voltage drop detecting circuit, a communication abnormality detecting circuit, and a provisional error canceling circuit.
1 and the diode D1 each constitute a delay circuit.

【0025】[0025]

【発明の効果】請求項1の発明によれば、制御ユニット
間の通信で通信異常が発生したらいったん暫定エラーと
して記録し、その後、所定時間通信異常が解消しない時
は暫定エラーを通信エラーに切り換え、暫定エラーが記
録されている時に共通電源の電圧が所定値以下に低下し
たことが検出されると暫定エラーを解除するようにし
た。演算制御回路は電源電圧がリセットレベルまで低下
すると自動的にリセットする。このリセットレベルは各
演算制御回路ごとに異なる固有の値であり、電源電圧が
低下すると演算制御回路のリセットレベルのばらつきに
よってリセットされる演算制御回路とリセットされない
演算制御回路とが存在し、リセットされなかった演算制
御回路を有する制御ユニットとリセットされた演算制御
回路を有する制御ユニットとの間で通信異常が発生す
る。しかし、この通信異常が電源電圧の低下のために発
生したことを認識できるので、このような通信異常を通
信エラーとして認識しないようにすることができる上
に、通信回路、マイクロコンピューター、制御回路など
の故障に起因した本来の通信エラーと、電源電圧の低下
に起因した通信エラーとの区別が明確になされ、本来の
通信エラーに対してのみ適切なエラー処理を行うことが
できる。さらに、車両に応用して各種車載機器を制御す
る場合には、車両のクランキング動作を認識できるの
で、クランキングの前から各制御ユニット間の通信を開
始し、途中でクランキング動作にともなう通信異常が発
生しても通信エラーとして認識しないようにでき、車両
に種々の新しい機能を付加することが可能になる。例え
ば、従来はクランキング時の通信異常による誤動作を防
止するために、クランキング後に作動させていた車両の
盗難防止機能もクランキング前から作動させておき、盗
難が検出されたらエンジン自体の始動を禁止することも
可能になる。また請求項2の発明によれば、遅延回路の
出力電圧が設定値以下の時は共通電源の電圧が所定値以
下であると判定するようにした。共通電源の電圧が演算
制御回路の固有値よりも低下すると、その演算制御回路
はリセットする。共通電源の電圧がふたたび上昇して所
定値よりも高い値に復帰すると、演算制御回路は動作を
開始する。この時、遅延回路の出力電圧は遅れて上昇す
るので、いったんリセットしふたたび動作を開始した演
算制御回路でも、遅延回路の出力電圧の値が設定値以下
であれば共通電源の電圧が所定値以下に低下していたこ
とを認識できる。さらに請求項3の発明によれば、共通
電源の電圧を遅延回路を介して入力するとともに、制御
ユニット間の通信で通信異常が発生した時はいったん暫
定エラーとして記録し、遅延回路の出力電圧が予め設定
された値以下になると暫定エラーを解除する。マイクロ
コンピューターは電源電圧がリセットレベルまで低下す
ると自動的にリセットする。このリセットレベルは各マ
イクロコンピューターごとに異なる固有の値であり、電
源電圧が低下するとリセットレベルのばらつきによって
リセットされるマイクロコンピューターとリセットされ
ないマイクロコンピューターとが存在する。このような
時は、リセットされなかったマイクロコンピューターを
有する制御ユニットとリセットされたマイクロコンピュ
ーターを有する制御ユニットとの間で通信異常が発生す
る。しかし、この通信異常が電源電圧の低下のために発
生したことを認識できるので、このような通信異常を通
信エラーとして認識しないようにすることができる。請
求項4の発明によれば、暫定エラーが記録されてから所
定時間が経過した時に、通信異常が解消されず暫定エラ
ーが記録されたままであれば暫定エラーを通信エラーに
切り換えるようにしたので、通信回路、マイクロコンピ
ューター、制御回路などの故障に起因した本来の通信エ
ラーと、電源電圧の低下に起因した通信エラーとの区別
が明確になされ、本来の通信エラーに対してのみ適切な
エラー処理を行うことができる。
According to the first aspect of the present invention, if a communication error occurs in communication between the control units, it is temporarily recorded as a temporary error, and thereafter, if the communication error does not disappear for a predetermined time, the temporary error is switched to a communication error. The provisional error is canceled when it is detected that the voltage of the common power supply drops below a predetermined value while the provisional error is recorded. The arithmetic control circuit automatically resets when the power supply voltage drops to the reset level. This reset level is a unique value that is different for each arithmetic control circuit, and there are an arithmetic control circuit that is reset due to a variation in the reset level of the arithmetic control circuit and a non-reset arithmetic control circuit when the power supply voltage decreases. A communication abnormality occurs between the control unit having the arithmetic control circuit and the control unit having the reset arithmetic control circuit. However, since it is possible to recognize that this communication error has occurred due to a drop in the power supply voltage, it is possible to prevent such a communication error from being recognized as a communication error, and to make a communication circuit, a microcomputer, a control circuit, etc. Thus, a distinction can be made between the original communication error caused by the failure and the communication error caused by the drop in the power supply voltage, and appropriate error processing can be performed only for the original communication error. Furthermore, when controlling various on-vehicle devices by applying to a vehicle, the cranking operation of the vehicle can be recognized, so communication between the control units is started before the cranking, and communication accompanying the cranking operation is performed halfway. Even if an abnormality occurs, it can be prevented from being recognized as a communication error, and various new functions can be added to the vehicle. For example, in order to prevent malfunctions due to communication errors during cranking, the anti-theft function of the vehicle that had been activated after cranking was also activated before cranking, and if theft was detected, the engine itself was started. It is also possible to prohibit. According to the second aspect of the invention, when the output voltage of the delay circuit is equal to or lower than the set value, it is determined that the voltage of the common power supply is equal to or lower than the predetermined value. When the voltage of the common power supply drops below the eigenvalue of the arithmetic control circuit, the arithmetic control circuit is reset. When the voltage of the common power supply rises again and returns to a value higher than the predetermined value, the arithmetic and control circuit starts operating. At this time, since the output voltage of the delay circuit rises with a delay, the voltage of the common power supply becomes equal to or less than a predetermined value even if the output voltage value of the delay circuit is equal to or less than the set value even in the arithmetic control circuit that has been reset and started again. Can be recognized. Further, according to the third aspect of the present invention, the voltage of the common power supply is input via the delay circuit, and when a communication abnormality occurs in the communication between the control units, it is temporarily recorded as a provisional error, and the output voltage of the delay circuit is reduced. When the value becomes equal to or less than a preset value, the provisional error is released. The microcomputer automatically resets when the power supply voltage drops to the reset level. This reset level is a unique value that differs for each microcomputer, and there are microcomputers that are reset due to variations in the reset level when the power supply voltage is reduced, and microcomputers that are not reset. In such a case, communication abnormality occurs between the control unit having the microcomputer that has not been reset and the control unit having the microcomputer that has been reset. However, since it is possible to recognize that this communication abnormality has occurred due to a decrease in the power supply voltage, it is possible to prevent such a communication abnormality from being recognized as a communication error. According to the invention of claim 4, when a predetermined time has elapsed after the provisional error is recorded, the provisional error is switched to the communication error if the communication error is not resolved and the provisional error is still recorded. The distinction between the original communication error caused by the failure of the communication circuit, microcomputer, control circuit, etc. and the communication error caused by the drop of the power supply voltage is clarified, and appropriate error processing is performed only for the original communication error. It can be carried out.

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

【図1】一実施例の構成を示す機能ブロック図。FIG. 1 is a functional block diagram showing a configuration of an embodiment.

【図2】クランキング時のバッテリー電圧Vbとコンデ
ンサー端子電圧Vcとの時間変化を示す図。
FIG. 2 is a diagram showing a time change of a battery voltage Vb and a capacitor terminal voltage Vc at the time of cranking.

【図3】クランキング時のバッテリー電圧Vbとコンデ
ンサー端子電圧Vcとの時間変化を示す図。
FIG. 3 is a diagram showing a time change between a battery voltage Vb and a capacitor terminal voltage Vc during cranking.

【図4】通信制御プログラムを示すフローチャート。FIG. 4 is a flowchart showing a communication control program.

【図5】タイマー割り込みルーチンを示すフローチャー
ト。
FIG. 5 is a flowchart illustrating a timer interrupt routine.

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

CTR1 親局制御ユニット CTR2、CTR3 子局制御ユニット CPU1、CPU2、CPU3 マイクロコンピュータ
ー IF1、IF2、IF3 インタフェース回路 PS1 電源回路 C1 コンデンサー R1 抵抗器 D1 ダイオード BAT バッテリー LL 多重伝送線
CTR1 Master station control unit CTR2, CTR3 Slave station control unit CPU1, CPU2, CPU3 Microcomputer IF1, IF2, IF3 Interface circuit PS1 Power circuit C1 Capacitor R1 Resistor D1 Diode BAT Battery LL Multiplex transmission line

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 共通電源の電圧が固有の値まで低下する
と自動的にリセットする演算制御回路をそれぞれに有す
る複数の制御ユニットを備え、それらが共通の多重伝送
線を介して相互に通信を行う多重通信装置において、 前記共通電源の電圧が前記各演算制御回路の固有値より
も高い所定値以下に低下したことを検出する電圧低下検
出回路と、 前記制御ユニット間の通信で通信異常が発生した時はい
ったん暫定エラーとして記録し、その後、所定時間通信
異常が解消しない時は前記暫定エラーを通信エラーに切
り換える通信異常検出回路と、 前記通信異常検出回路により前記暫定エラーが記録され
ている時に、前記電圧低下検出回路により前記共通電源
の電圧が前記所定値以下に低下したことが検出されると
前記暫定エラーを解除する暫定エラー解除回路とを前記
各制御ユニットに備えることを特徴とする多重通信装
置。
A plurality of control units each having an arithmetic and control circuit that automatically resets when the voltage of a common power supply drops to a specific value, and communicates with each other via a common multiplex transmission line. In the multiplex communication device, a voltage drop detection circuit that detects that the voltage of the common power supply has dropped below a predetermined value that is higher than a unique value of each of the arithmetic and control circuits, and when a communication abnormality occurs in communication between the control units. Is temporarily recorded as a provisional error, and thereafter, when the communication abnormality is not resolved for a predetermined time, a communication abnormality detection circuit that switches the provisional error to a communication error, and when the provisional error is recorded by the communication abnormality detection circuit, When the voltage drop detection circuit detects that the voltage of the common power supply has dropped below the predetermined value, the provisional error for canceling the provisional error is released. A multiplex communication device, wherein each of the control units is provided with an error canceling circuit.
【請求項2】 請求項1に記載の多重通信装置におい
て、 前記電圧低下検出回路は、前記共通電源の電圧が上昇し
た時は出力電圧が遅れて上昇し、前記共通電源の電圧が
低下した時は出力電圧がほぼ同時に低下する遅延回路を
有し、この遅延回路の出力電圧が予め設定された値以下
の時は前記共通電源の電圧が前記所定値以下であると判
定することを特徴とする多重通信装置。
2. The multiplex communication apparatus according to claim 1, wherein the voltage drop detection circuit is configured to output the voltage with a delay when the voltage of the common power supply rises and to decrease the voltage of the common power supply when the voltage of the common power supply rises. Has a delay circuit whose output voltage decreases almost simultaneously, and when the output voltage of the delay circuit is equal to or less than a preset value, it is determined that the voltage of the common power supply is equal to or less than the predetermined value. Multiplex communication device.
【請求項3】 共通電源に接続されるマイクロコンピュ
ーターをそれぞれに有する複数の制御ユニットを備え、
それらが共通の多重伝送線を介して相互に通信を行う多
重通信装置において、 前記共通電源の電圧が上昇した時は出力電圧が遅れて上
昇し、前記共通電源の電圧が低下した時は出力電圧がほ
ぼ同時に低下する遅延回路を備え、 前記マイクロコンピューターは、前記制御ユニット間の
通信で通信異常が発生した時はいったん暫定エラーとし
て記録し、前記遅延回路の出力電圧が予め設定された値
以下になると前記暫定エラーを解除することを特徴とす
る多重通信装置。
A plurality of control units each having a microcomputer connected to a common power supply;
In a multiplex communication device in which they communicate with each other via a common multiplex transmission line, the output voltage rises with a delay when the voltage of the common power supply increases, and the output voltage increases when the voltage of the common power supply decreases. The microcomputer, when a communication error occurs in the communication between the control units, temporarily records as a provisional error, the output voltage of the delay circuit is less than a preset value A multiplex communication device, wherein the provisional error is canceled when the multiplex communication device becomes available.
【請求項4】 請求項3に記載の多重通信装置におい
て、 前記マイクロコンピューターは、前記暫定エラーを記録
してから所定時間が経過した時に、前記通信異常が解消
されず前記暫定エラーが記録されたままであれば前記暫
定エラーを通信エラーに切り換えることを特徴とする多
重通信装置。
4. The multiplex communication apparatus according to claim 3, wherein the microcomputer is configured such that, when a predetermined time has elapsed since the recording of the provisional error, the communication abnormality is not resolved and the provisional error is recorded. A multiplex communication device, wherein the provisional error is switched to a communication error if it is not.
JP03487294A 1994-03-04 1994-03-04 Multiplex communication device Expired - Fee Related JP3298290B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03487294A JP3298290B2 (en) 1994-03-04 1994-03-04 Multiplex communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03487294A JP3298290B2 (en) 1994-03-04 1994-03-04 Multiplex communication device

Publications (2)

Publication Number Publication Date
JPH07245786A JPH07245786A (en) 1995-09-19
JP3298290B2 true JP3298290B2 (en) 2002-07-02

Family

ID=12426250

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03487294A Expired - Fee Related JP3298290B2 (en) 1994-03-04 1994-03-04 Multiplex communication device

Country Status (1)

Country Link
JP (1) JP3298290B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19805299A1 (en) * 1998-02-10 1999-08-12 Deutz Ag Electronic control device
DE102011078793A1 (en) * 2011-07-07 2013-01-10 Bayerische Motoren Werke Aktiengesellschaft Documentation of errors in a fault memory of a motor vehicle
JP5786787B2 (en) * 2012-04-16 2015-09-30 株式会社デンソー In-vehicle control system
JP6011162B2 (en) * 2012-08-29 2016-10-19 株式会社デンソー Electronic control unit
JP2014058210A (en) * 2012-09-18 2014-04-03 Hitachi Automotive Systems Ltd Vehicle control device and vehicle control system
JP6072507B2 (en) * 2012-10-26 2017-02-01 ボッシュ株式会社 Control device

Also Published As

Publication number Publication date
JPH07245786A (en) 1995-09-19

Similar Documents

Publication Publication Date Title
US5633537A (en) Multiplex transmission apparatus
US5357141A (en) Electronic device
JP2949998B2 (en) Communication device
US5790419A (en) Fail-safe system and method of operation
JP3298290B2 (en) Multiplex communication device
US7546192B2 (en) Multiplex communication system and car-passenger protection system using the same
WO2008136738A1 (en) Controlled shut down
JP6683104B2 (en) Electronic control unit
JP2953244B2 (en) In-vehicle electronic control unit
JP3714111B2 (en) Vehicle occupant protection system
JP2988185B2 (en) Multiplex communication device
JPH03258140A (en) Backup system for intensive wiring system
JP3895912B2 (en) Control unit and multiplex communication system
JP3275315B2 (en) In-vehicle multiplex transmission system
JPH10116106A (en) Switch on/off state detecting circuit
JP3795188B2 (en) Data communication circuit
JPH0797721B2 (en) Automotive antenna controller
JP3084984B2 (en) Airbag control device
JP3397496B2 (en) Multiplex transmission system
JP2866135B2 (en) Control system for vehicle safety equipment
JP2001078310A (en) Controller of electric vehicle and contactor control method
JPH1169663A (en) Driver of occupant protector
JPH0599061A (en) Controller for automobile
JP2002347569A (en) Ignition control device of occupant protecting device
JP2924620B2 (en) Vehicle failure diagnosis device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees