JPH07245786A - Multiple communication equipment - Google Patents

Multiple communication equipment

Info

Publication number
JPH07245786A
JPH07245786A JP3487294A JP3487294A JPH07245786A JP H07245786 A JPH07245786 A JP H07245786A JP 3487294 A JP3487294 A JP 3487294A JP 3487294 A JP3487294 A JP 3487294A JP H07245786 A JPH07245786 A JP H07245786A
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.)
Granted
Application number
JP3487294A
Other languages
Japanese (ja)
Other versions
JP3298290B2 (en
Inventor
Shigeki Imada
茂樹 今田
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

Abstract

PURPOSE:To prevent a communication fault caused when a power supply voltage drops due to cranking or the like from being recognized to be a communication error by releasing a tentative error when a voltage of a common power supply drops to a prescribed voltage or below while the tentative error is recorded. CONSTITUTION:Tentative error release circuits CPU1, CPU2,... releasing a tentative error when it is detected that a voltage Vb of a common power supply BAT drops to 7 a prescribed voltage or below with a voltage drop detection circuit while communication fault detection circuits CPU1, CPU2,... record a tentative error/are provided to control units CTR1, CTR2,... respectively. When a communication fault takes place among the control units CTR1, CTR2,... it is recorded as a tentative error and when the communication fault does not disappear for a prescribed time, the tentative error is revised into a communication error. Furthermore, when it is detected that the voltage Vb of the common power supply BAT is decreased to be a prescribed voltage or below while communication fault detection circuits CPU1, CPU2,... record a tentative error, the tentative error is released.

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 device for transmitting / receiving various kinds of information via multiplex transmission lines installed between a plurality of control units.

【0002】[0002]

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

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

【0004】[0004]

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

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

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

【0007】本発明の目的は、クランキングなどによる
電源電圧の低下時に発生する通信異常を通信エラーとし
て認識しないようにした多重通信装置を提供することに
ある。
It is an object of the present invention to provide a multiplex communication device in which a communication abnormality that occurs when the power supply voltage is lowered due to cranking or the like is not recognized 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、・・によって、暫定エラーを記録して
から所定時間が経過した時に、通信異常が解消されず暫
定エラーが記録されたままであれば暫定エラーを通信エ
ラーに切り換えるようにしたものである。
When the present invention is described with reference to FIG. 1 showing an embodiment, the invention of claim 1 is automatically reset when the voltage of the common power source BAT drops to a specific value. Arithmetic control circuit CPU1, CPU2, CPU
A plurality of control units CTR each having 3, ...
, CTR2, CTR3, ..., Which are applied to a multiplex communication device which communicates with each other via a common multiplex transmission line LL. And 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 specific value of each of the arithmetic control circuits CPU1, CPU2, CPU3 ,. When a communication error occurs in the communication between the control units, it is temporarily recorded as a temporary error, and when the communication error is not resolved for a predetermined time, the temporary error is switched to a communication error. Communication error detection circuits CPU1, CPU2, CPU3 ,.・
And the communication abnormality detection circuits CPU1, CPU2, CPU3,
When the voltage drop detection circuit detects that the voltage Vb of the common power supply BAT has dropped to a predetermined value or less while the provisional error is recorded by, the provisional error release circuits CPU1, CPU2, CPU3 that release the provisional error , ...
And control units CTR1, CTR2, CTR3 ,.
・ Prepare for and achieve the above objectives. Further, in the voltage drop detection circuit of the multiplex communication device according to claim 2, when the voltage Vb of the common power supply BAT rises, the output voltage Vc rises with a delay, and when the voltage Vb of the common power supply BAT drops, the output voltage Vc. Delay circuit (R1, C1,
D1), and when the output voltage Vc of the delay circuit is less than or equal to a preset value, it is determined that the voltage Vb of the common power supply BAT is less than or equal to a predetermined value. further,
According to the invention of claim 3, the microcomputers CPU1, CPU2, CPU3, ... Connected to the common power source BAT.
Control units CTR1 and CT each having
The present invention is applied to a multiplex communication device including R2, CTR3, ..., Which communicate with each other via a common multiplex transmission line LL. Then, when the voltage Vb of the common power source BAT rises, the output voltage Vc increases with a delay, and when the voltage Vb of the common power source BAT decreases, the output voltage Vc decreases almost at the same time (R1, C1, D1). , And the control units CRT1, CTR2, CTR3, ... By the microcomputers CPU1, CPU2, CPU3 ,.
When a communication error occurs during communication between the terminals, it is temporarily recorded as a temporary error, and when the output voltage Vc of the delay circuit (R1, C1, D1) becomes less than or equal to a preset value, the temporary error is canceled, thereby To achieve. The multiplex communication device according to claim 4 is a microcomputer CPU1, CP
The U2, the CPU 3, ... Switch the provisional error to the communication error if the communication error is not resolved and the provisional error remains recorded when a predetermined time has elapsed after recording the provisional 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 device according to the first aspect, when a communication error occurs in the communication between the control units, it is temporarily recorded as a temporary error, and when the communication error is not eliminated for a predetermined time, the temporary error is switched to the communication error. When it is detected that the voltage Vb of the common power supply has dropped to a predetermined value or less while the temporary error is recorded, the temporary error is canceled. 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 operation control circuit, and there are operation control circuits that are reset due to variations in the reset level and operation control circuits that are not reset when the power supply voltage Vb decreases. In such a case, a communication abnormality occurs between the control unit having the arithmetic control circuit that has not been reset and the control unit having the arithmetic control circuit that has been reset. However, since it can be recognized that this communication abnormality has occurred due to the decrease in the power supply voltage Vb, it is possible to prevent such communication abnormality from being recognized as a communication error. Further, in the multiplex communication device according to claim 2, when the output voltage Vc of the delay circuit is equal to or less than the set value, the voltage V of the common power source
It is determined that b is less than or equal to 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 the operation. At this time, the output voltage Vc of the delay circuit
Rises with a delay, the output voltage V of the delay circuit is delayed even in the arithmetic and control circuit that has been reset and then started its operation again.
If the value of c is less than or equal to the set value, it can be recognized that the voltage Vb of the common power supply has dropped to less than or equal to the predetermined value. Further, in the multiplex communication device according to claim 3, the voltage Vb of the common power supply BAT is input through the delay circuit, and when a communication error occurs in the communication between the control units, it is temporarily recorded as a temporary error and the output of the delay circuit. When the voltage Vc becomes equal to or lower than 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 and microcomputers that are not reset when the power supply voltage Vb decreases. In such a case, a communication error 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 can be recognized that this communication abnormality has occurred due to the decrease in the power supply voltage Vb, it is possible to prevent such communication abnormality from being recognized as a communication error. In the multiplex communication device according to the fourth aspect, when a predetermined time has elapsed after the provisional error was recorded, if the communication error is not resolved and the provisional error remains recorded, the provisional error is switched to the communication error. This makes it possible to clearly distinguish between an original communication error caused by a failure of the communication circuit, the microcomputer, the control circuit, etc. and a communication error caused by the decrease of the power supply voltage, and it is appropriate only for the original communication error. Error handling can be performed.

【0010】なお、本発明の構成を説明する上記課題を
解決するための手段および作用の項では、本発明を分り
やすくするために実施例の図を用いたが、これにより本
発明が実施例に限定されるものではない。
Incidentally, in the section of means and action for solving the above problems for explaining the constitution of the present invention, the drawings of the embodiments are used for the purpose of making the present invention easy to understand. It is not limited to.

【0011】[0011]

【実施例】本発明の多重通信装置を車両に応用して各種
車載機器を制御するようにした一実施例を説明する。図
1はその実施例の構成を示す機能ブロック図である。車
両の運転席の近傍に配置された親局制御ユニット(以
下、単に親局と呼ぶ)CTR1には、多重伝送線LLを
介して車両の各所に配置された複数の子局制御ユニット
(以下、単に子局と呼ぶ)CTR2、CTR3、・・が
接続される。親局CTR1は、マイクロコンピューター
(以下、CPUと呼ぶ)1と、インタフェース回路IF
1と、通信制御プログラムなどを格納したROMと、通
信時の暫定エラーおよび通信エラーを記録する電池バッ
クアップのRAMと、電源回路PS1を備える。CPU
1は子局CTR2、CTR3、・・とそれぞれのインタ
フェース回路IF1、IF2、IF3、・・を介して通
信を行い、子局から受信された操作部材の操作情報に基
づいて対応する端末機器の駆動を決定し、その端末機器
が接続された子局へ駆動情報を送信する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the multiplex communication device of the present invention is applied to a vehicle to control various in-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 a master station) CTR1 arranged near the driver's seat of the vehicle includes a plurality of slave station control units (hereinafter, referred to as a master station) arranged at various places of the vehicle through the multiplex transmission line LL. CTR2, CTR3, ..., which are simply called slave stations, are connected. The master station CTR1 includes a microcomputer (hereinafter referred to as CPU) 1 and an interface circuit IF.
1, a ROM that stores a communication control program, a battery backup RAM that records a temporary error and a communication error during communication, and a power supply circuit PS1. CPU
1 communicates with the slave stations CTR2, CTR3, ... Via their respective interface circuits IF1, IF2, IF3, ..., And drives corresponding terminal devices based on the operation information of the operating members received from the slave stations. Then, 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 CPU1 from the battery BAT via the terminal TB1 and the power supply circuit PS1. Normally, the terminal voltage of the in-vehicle battery BAT is 1.
Since it is 2V, the battery voltage Vb is stepped down to a predetermined voltage by the power supply circuit PS1 and supplied to the CPU1. Further, the COM terminal of the CPU1 is connected to the ground line of the battery BAT via the terminal TB2. Furthermore, 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 in parallel to the resistor R1 in the direction shown in the drawing, and further connected to the resistor R1. The connection point of the condenser C1 is connected to the AD terminal of the CPU1. This AD terminal is C
It is an input terminal of the 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 views showing the changes over time in the battery voltage Vb and the capacitor terminal voltage Vc during cranking of the vehicle, and FIG. 2 shows the battery voltage Vb being C
FIG. 3 shows the time when the voltage drops below the reset level Vrs of the PU, and FIG. 3 shows the time when the battery voltage Vb drops below the predetermined level Vo (here Vo> Vrs) which is higher than the reset level Vrs. When the vehicle is cranking, a large amount of electric power is supplied from the battery BAT to the starter, so that the terminal voltage Vb drops. When the engine starts and the power supply to the starter is stopped, the battery terminal voltage V
b is almost restored to the original voltage level. Since the capacitor C1 is charged by being supplied with electric 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 drops during cranking, the capacitor C1 is discharged through the diode D1 and the capacitor terminal voltage Vc drops almost in the same manner as the battery voltage Vb. The battery voltage Vb sharply decreases at the start of cranking, but thereafter gradually increases while vibrating to some extent. 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 the broken line in the figure. To rise. When the cranking is stopped at time t2 in FIG. 2, the battery voltage Vb rapidly recovers to almost the original level, but the capacitor C1
Is charged via the resistor R1, 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 restarts its operation at time t2 when the battery voltage Vb recovers to the original level when it exceeds the predetermined voltage Vo. Therefore, by the CPU that has restarted the operation, the capacitor terminal voltage Vc and the predetermined voltage Vc are exceeded by the time t3 when the capacitor terminal voltage Vc exceeds the predetermined voltage Vo.
Compared with o, the capacitor terminal voltage Vc is the predetermined voltage V
If it is lower than o, it can be recognized that the CPU has been reset due to the decrease in the battery voltage Vb accompanying the cranking.

【0015】バッテリー端子電圧Vbがリセットレベル
Vrsまで低下しない場合も、図3に示すように、クラン
キング開始時刻t5でコンデンサー端子電圧Vcはバッ
テリー電圧Vbとほぼ同時に急激に低下する。クランキ
ング終了時刻t6でバッテリー電圧Vbは急激にほぼも
とのレベルまで回復するが、コンデンサー端子電圧Vc
は上記時定数にしたがって破線に沿って上昇する。この
場合は、CPUはリセットされていないので、時刻t5
からコンデンサー端子電圧Vcが所定電圧Voを超える
時刻t7までの間にコンデンサー端子電圧Vcと所定電
圧Voとを比較し、コンデンサー端子電圧Vcが所定電
圧Voよりも低ければ、クランキングにともなってバッ
テリー電圧Vbが低下したことを認識できる。
Even if the battery terminal voltage Vb does not drop to the reset level Vrs, the capacitor terminal voltage Vc drops sharply at the same time as the battery voltage Vb at the cranking start time t5, as shown in FIG. 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, the time t5
To the time t7 at which the capacitor terminal voltage Vc exceeds the predetermined voltage Vo, the capacitor terminal voltage Vc and the predetermined voltage Vo are compared, and if the capacitor terminal voltage Vc is lower than the predetermined voltage Vo, the battery voltage is accompanied by cranking. It can be recognized that Vb has decreased.

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

【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 has a CPU 2 and an interface circuit IF.
The same equipment as the parent station CTR1 such as 2 is provided. Although illustration is omitted, this slave station CTR2 is the master station CTR.
It is equipped with a power supply circuit similar to that of 1, and the battery BA
Electric power is supplied from T to the CPU 2. This child station CTR2
A small lamp switch for turning on / off a meter lighting lamp, a headlamp switch for turning on / off a headlamp, and a turn signal switch for turning on / off a turn signal lamp are connected to the. 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, this slave station CTR3 is equipped with a power supply circuit similar to that of the master station CTR1.
Power is supplied to U3. The slave station CTR3 is connected with a switch for opening / closing the window of the passenger seat, a switch for opening / closing the windows on the left and right of the rear seat, a switch for door lock, and the like. In addition to the above slave stations, various slave station control units are connected to the master station CTR1 via the multiplex transmission line LL in the vehicle, 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へ駆動情報などの送信
を行う。
4 and 5 show the CPU of the master station CTR1.
3 is a flowchart showing a control program executed in 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 execution of the communication control program shown in FIG. . In step S1, after transmitting drive information and the like to the slave station CTR2, the process proceeds to step S2 and 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, and if not, the process proceeds to step S3. In step S8, the driving of the corresponding terminal device is determined based on the operation information of the switches sent from the child station CTR2, and the process proceeds to step S9 to send the driving information to the child 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に対する処理と同様であるので、
説明を省略する。
When there is no response from the slave station CTR2 in step S2, battery backup RA is performed in step S3.
The provisional error is recorded in M, the process proceeds to step S4, and the CPU
Start the timer built into 1. In a succeeding step S5, it is determined by a timer interrupt routine which will be described later whether or not the provisional error is released, and if released, the process returns to the step S1 and again transmits to the slave station CTR1.
If the provisional error has not been canceled, the process proceeds to step S6. In step S6, it is determined whether or not the set time T1 of the timer has elapsed, and when the time T1 has elapsed, step S7
Otherwise, return to step S1. After the provisional error is recorded, when the set time T1 has passed without being canceled by the timer interrupt routine, 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. . Note that the communication processing for the slave station CTR3, ... After step S9 is similar to the above-described processing for the slave station CTR2.
The 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 mse.
A timer interrupt occurs every c, and the CPU 1 executes the timer interrupt routine shown in FIG. Step S
At 21, it is determined whether the capacitor terminal voltage Vc is lower than the predetermined voltage Vo. If Vc <Vo, step S
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 it is recorded, the process proceeds to step S23, and if not, the process returns. If it is detected that the capacitor terminal voltage Vc is lower than the predetermined voltage Vo while the temporary error is recorded, it is determined that the temporary error with the slave station has occurred due to the decrease in the battery voltage Vb due to cranking, and the step RA in S23
Cancel the provisional error recorded in M and return.

【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, the battery voltage Vb drops due to cranking or the like, and the slave station CTR2 has a variation in the reset level Vrs of the CPU1 and the CPU2 as shown in FIG. If the master station CTR1 is reset and is not reset as shown in FIG. 3, the slave station CTR2 cannot respond to the transmission from the master station CTR1. Therefore, the master station CTR1 and the slave station C are not able to respond.
Communication with TR2 is disabled. The master station CTR1 temporarily records the temporary error for the slave station CTR2, but thereafter, when the timer interrupt routine is executed and it is detected that the capacitor voltage Vc is lower than the predetermined voltage Vo, the communication failure is caused by the battery due to cranking. The CPU 2 of the slave station CTR2 recognizes that the error has occurred because the CPU 2 of the slave station CTR2 has been reset with the decrease in the voltage Vb, and cancels the provisional error.

【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, the battery voltage Vb drops due to cranking or the like, and the reset levels Vrs of the CPU1 and CPU2 are generated.
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 of, the CPU1 of the master station CTR1 that resumes operation after the end of cranking starts from time t2. Before the time t3, the timer interrupt routine recognizes that the capacitor voltage Vc is lower than the predetermined voltage Vo, and as the battery voltage Vb decreases due to cranking or the like, the CPU 1 resets itself and the slave station CTR2. Recognize that communication has been interrupted.

【0023】上述した実施例では本発明の多重通信装置
を車両に応用して各種車載機器を制御する例を示した
が、本発明は車両以外のものにも適用できる。また、上
述した実施例では親局を中心にして各子局と交信する例
を示したが、各制御ユニットが上述した制御プログラム
を実行して他の制御ユニットと通信を行う場合にも本発
明を適用できる。さらに、上述した実施例ではクランキ
ングによるバッテリー電圧の低下を中心に説明したが、
本発明の多重通信装置はクランキング時に限定されず電
源回路などの故障による電源電圧の低下に対してもクラ
ンキン時と同様に動作する。
In the above-described embodiments, the multiplex communication device of the present invention is applied to a vehicle to control various in-vehicle devices, but the present invention can be applied to other than the vehicle. Further, in the above-described embodiment, an example of communicating with each slave station around the master station is shown, but the present invention is also applicable when each control unit executes the above-mentioned control program to communicate with another control unit. Can be applied. Furthermore, in the above-described embodiment, the description has been centered on the decrease in battery voltage due to cranking,
The multiplex communication apparatus of the present invention is not limited to the cranking operation, and operates in the same manner as the cranking even when the power supply voltage is lowered due to a failure of the 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 detection circuit, a communication abnormality detection circuit and a temporary error cancellation circuit, a resistor R1 and a capacitor C.
1 and the diode D1 respectively form a delay circuit.

【0025】[0025]

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

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

【図1】一実施例の構成を示す機能ブロック図。FIG. 1 is a functional block diagram showing the 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 during cranking.

【図3】クランキング時のバッテリー電圧Vbとコンデ
ンサー端子電圧Vcとの時間変化を示す図。
FIG. 3 is a diagram showing a time change of 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 showing 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 supply circuit C1 Capacitor R1 Resistor D1 Diode BAT Battery LL Multiple transmission line

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 共通電源の電圧が固有の値まで低下する
と自動的にリセットする演算制御回路をそれぞれに有す
る複数の制御ユニットを備え、それらが共通の多重伝送
線を介して相互に通信を行う多重通信装置において、 前記共通電源の電圧が前記各演算制御回路の固有値より
も高い所定値以下に低下したことを検出する電圧低下検
出回路と、 前記制御ユニット間の通信で通信異常が発生した時はい
ったん暫定エラーとして記録し、その後、所定時間通信
異常が解消しない時は前記暫定エラーを通信エラーに切
り換える通信異常検出回路と、 前記通信異常検出回路により前記暫定エラーが記録され
ている時に、前記電圧低下検出回路により前記共通電源
の電圧が前記所定値以下に低下したことが検出されると
前記暫定エラーを解除する暫定エラー解除回路とを前記
各制御ユニットに備えることを特徴とする多重通信装
置。
1. A plurality of control units each having an arithmetic and control circuit that automatically resets when the voltage of a common power source drops to a specific value, and these control units communicate with each other via a common multiplex transmission line. In a multiplex communication device, a voltage drop detection circuit that detects that the voltage of the common power supply has dropped below a predetermined value higher than the eigenvalue of each arithmetic control circuit, and when a communication error occurs in communication between the control units. Is temporarily recorded as a provisional error, and then, when the communication error is not eliminated 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 drops below the predetermined value, the provisional error is released. A multiplex communication device, characterized in that each control unit is provided with an error canceling circuit.
【請求項2】 請求項1に記載の多重通信装置におい
て、 前記電圧低下検出回路は、前記共通電源の電圧が上昇し
た時は出力電圧が遅れて上昇し、前記共通電源の電圧が
低下した時は出力電圧がほぼ同時に低下する遅延回路を
有し、この遅延回路の出力電圧が予め設定された値以下
の時は前記共通電源の電圧が前記所定値以下であると判
定することを特徴とする多重通信装置。
2. The multiplex communication device according to claim 1, wherein when the voltage of the common power supply rises, the output voltage delays and rises when the voltage of the common power supply rises, and when the voltage of the common power supply falls. Has a delay circuit in which the output voltage decreases almost at the same time, and when the output voltage of the delay circuit is less than or equal to a preset value, it is determined that the voltage of the common power source is less than or equal to the predetermined value. Multiplexer.
【請求項3】 共通電源に接続されるマイクロコンピュ
ーターをそれぞれに有する複数の制御ユニットを備え、
それらが共通の多重伝送線を介して相互に通信を行う多
重通信装置において、 前記共通電源の電圧が上昇した時は出力電圧が遅れて上
昇し、前記共通電源の電圧が低下した時は出力電圧がほ
ぼ同時に低下する遅延回路を備え、 前記マイクロコンピューターは、前記制御ユニット間の
通信で通信異常が発生した時はいったん暫定エラーとし
て記録し、前記遅延回路の出力電圧が予め設定された値
以下になると前記暫定エラーを解除することを特徴とす
る多重通信装置。
3. A plurality of control units each having a microcomputer connected to a common power source,
In a multiplex communication device in which they communicate with each other via a common multiplex transmission line, when the voltage of the common power supply rises, the output voltage rises with a delay, and when the voltage of the common power supply drops, the output voltage increases. Is provided at the same time, the microcomputer reduces the output voltage of the delay circuit to a preset value or less when the communication error occurs in the communication between the control units. In this case, the multiplex communication device is characterized in that the temporary error is released.
【請求項4】 請求項3に記載の多重通信装置におい
て、 前記マイクロコンピューターは、前記暫定エラーを記録
してから所定時間が経過した時に、前記通信異常が解消
されず前記暫定エラーが記録されたままであれば前記暫
定エラーを通信エラーに切り換えることを特徴とする多
重通信装置。
4. The multiplex communication apparatus according to claim 3, wherein the microcomputer does not eliminate the communication abnormality and records the temporary error when a predetermined time has elapsed after recording the temporary error. If so, the multiplex communication device is characterized in that the temporary error is switched to a communication error.
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 true JPH07245786A (en) 1995-09-19
JP3298290B2 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0936354A3 (en) * 1998-02-10 2001-08-08 DEUTZ Aktiengesellschaft Electronic control device
JP2013220705A (en) * 2012-04-16 2013-10-28 Denso Corp In-vehicle control system
JP2014048070A (en) * 2012-08-29 2014-03-17 Denso Corp Electronic control device
JP2014058210A (en) * 2012-09-18 2014-04-03 Hitachi Automotive Systems Ltd Vehicle control device and vehicle control system
JP2014084082A (en) * 2012-10-26 2014-05-12 Bosch Corp Control device
JP2014523830A (en) * 2011-07-07 2014-09-18 バイエリッシェ モートーレン ウエルケ アクチエンゲゼルシャフト Error documentation in the automatic vehicle error memory

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0936354A3 (en) * 1998-02-10 2001-08-08 DEUTZ Aktiengesellschaft Electronic control device
JP2014523830A (en) * 2011-07-07 2014-09-18 バイエリッシェ モートーレン ウエルケ アクチエンゲゼルシャフト Error documentation in the automatic vehicle error memory
US9501347B2 (en) 2011-07-07 2016-11-22 Bayerische Motoren Werke Aktiengesellschaft Documentation of faults in a fault memory of a motor vehicle
JP2013220705A (en) * 2012-04-16 2013-10-28 Denso Corp In-vehicle control system
JP2014048070A (en) * 2012-08-29 2014-03-17 Denso Corp Electronic control device
JP2014058210A (en) * 2012-09-18 2014-04-03 Hitachi Automotive Systems Ltd Vehicle control device and vehicle control system
JP2014084082A (en) * 2012-10-26 2014-05-12 Bosch Corp Control device

Also Published As

Publication number Publication date
JP3298290B2 (en) 2002-07-02

Similar Documents

Publication Publication Date Title
US9566920B2 (en) Circuit arrangement comprising a monitoring device
JP2006316639A (en) Main relay failure diagnosing method and electronic control device
GB2041581A (en) Elevator control system
JPH0858524A (en) Testing method for passive safety device of car
JP4630342B2 (en) Control device for ignition element of occupant protection means
US4979143A (en) Recovery from power-down mode
US7196431B2 (en) Device for prompting a controller
JP3298290B2 (en) Multiplex communication device
JP2999016B2 (en) Vehicle safety device control system
JP2004090787A (en) Communication error detecting method in bus system communication network
JP6683104B2 (en) Electronic control unit
WO2008136738A1 (en) Controlled shut down
JP2953244B2 (en) In-vehicle electronic control unit
KR102224076B1 (en) Apparatus for diagnosing reserving charging function of battery and method thereof
JP2988185B2 (en) Multiplex communication device
JPH03258140A (en) Backup system for intensive wiring system
JP3275315B2 (en) In-vehicle multiplex transmission system
JP6597456B2 (en) Electronic control unit
JP2022123551A (en) Power supply controller
JP3795188B2 (en) Data communication circuit
WO1998025206A1 (en) Computer monitor device
JP2866135B2 (en) Control system for vehicle safety equipment
JP2001078310A (en) Controller of electric vehicle and contactor control method
JPH1169663A (en) Driver of occupant protector
JP2002347569A (en) Ignition control device of occupant protecting device

Legal Events

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