JPH089471A - Mobile communication system - Google Patents

Mobile communication system

Info

Publication number
JPH089471A
JPH089471A JP6142018A JP14201894A JPH089471A JP H089471 A JPH089471 A JP H089471A JP 6142018 A JP6142018 A JP 6142018A JP 14201894 A JP14201894 A JP 14201894A JP H089471 A JPH089471 A JP H089471A
Authority
JP
Japan
Prior art keywords
communication
interruption
time
restoration
vehicle
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
JP6142018A
Other languages
Japanese (ja)
Other versions
JP3351104B2 (en
Inventor
Masayuki Kobayashi
正幸 小林
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.)
Denso Corp
Original Assignee
NipponDenso 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 NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP14201894A priority Critical patent/JP3351104B2/en
Publication of JPH089471A publication Critical patent/JPH089471A/en
Application granted granted Critical
Publication of JP3351104B2 publication Critical patent/JP3351104B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To suitably interrupt and recover communication when any abnormality is generated in communication due to any temporary noise or the like. CONSTITUTION:Various kinds of ECU 1 to 4 are connected by a common communication line 5. For example, the ECU 1 for engine is provided with a CPU 6 for calculating operating state data or various control data and a communication control circuit 10 for controlling communication to the communication line 5. The communication control circuit 10 is provided with a control logic part 15, driver 16, receiver 17 and opening/closing circuit 18. When any abnormality is generated in communication, the control logic part 15 interrupts communication by 'opening' the opening/closing circuit 18. On the other hand, the CPU 6 sets the recovery time of communication corresponding to the number of times of interruption of communication, 'closes' the opening/closing circuit 18 at that recovery time and recovers the communication from the interrupted state. When the number of times of interruption reaches the specified number of times, the recovery operation with the interruption is stopped.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、車両通信システムに
係り、詳しくは、通信制御機能を備えた複数の車載制御
装置を共通の通信回線により接続した車両通信システム
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle communication system, and more particularly to a vehicle communication system in which a plurality of vehicle-mounted control devices having a communication control function are connected by a common communication line.

【0002】[0002]

【従来の技術】この種の車両通信システムでは、通信制
御機能を備えた複数の車載制御装置が共通の通信回線に
て接続され、この通信回線を介して各種演算データ等の
データ通信が盛んに行われる。そして、通信回線等に異
常が発生すると、通信を一定時間だけ中断した後、復帰
させるようにしている。また、異常発生時における復帰
処理には初期化処理等、多大な演算負荷を要するため、
一回の走行中に通信異常による通信の中断回数が所定の
規定回数に達すると、それ以降の通信の復帰動作を停止
するようにしている。そして、通信の復帰停止後には、
通信による受信データの代わりにある一定値による制御
が行われる。
2. Description of the Related Art In a vehicle communication system of this type, a plurality of vehicle-mounted control devices having a communication control function are connected by a common communication line, and data communication such as various calculation data is actively carried out through this communication line. Done. Then, when an abnormality occurs in the communication line or the like, the communication is interrupted for a predetermined time and then restored. In addition, since the restoration process when an abnormality occurs requires a large calculation load such as initialization process,
When the number of times communication is interrupted due to a communication error reaches a predetermined number of times during one run, the subsequent recovery operation of communication is stopped. And after the communication is stopped,
Control is performed by a certain value instead of the data received by communication.

【0003】[0003]

【発明が解決しようとする課題】ところが、車両通信シ
ステムでは、例えば車両走行中に送電線や放送局等から
の強い電磁波を受けるとノイズによる通信異常が発生
し、この場合、従来のように一定時間の通信中断を所定
の規定回数だけ行う通信システムでは一時的な電磁波障
害であっても中断回数が直ぐに規定回数に達してしま
う。つまり、車両が電磁波区域から離れて通信異常(電
磁ノイズ)が解消されたにもかかわらず、通信が復帰で
きないという事態を招く。
However, in a vehicle communication system, for example, when a strong electromagnetic wave from a power transmission line or a broadcasting station is received while a vehicle is traveling, a communication abnormality occurs due to noise. In a communication system in which communication is interrupted for a predetermined number of times, the number of times of interruption immediately reaches the specified number even if there is a temporary electromagnetic interference. In other words, even if the vehicle is separated from the electromagnetic wave area and the communication abnormality (electromagnetic noise) is eliminated, the communication cannot be restored.

【0004】また、通信回線がドア等に挟まれて一時的
にショートした場合にも、中断回数が直ぐに規定回数に
達することで、ショートが解消されたにもかかわらず通
信の復帰がなされないことになる。
Further, even if the communication line is sandwiched between doors or the like and temporarily short-circuited, the number of interruptions immediately reaches the specified number, so that communication is not restored even though the short-circuit is eliminated. become.

【0005】この発明は、上記問題に着目してなされた
ものであって、その目的とするところは、一時的なノイ
ズ等による通信の異常発生時において通信の中断及び復
帰を適正に行うことができる車両通信システムを提供す
ることにある。
The present invention has been made in view of the above problems, and an object thereof is to appropriately perform interruption and restoration of communication when communication abnormality occurs due to temporary noise or the like. An object of the present invention is to provide a vehicle communication system.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に記載の発明は、通信制御機能を備えた複
数の車載制御装置が共通の通信回線により接続され、通
信の異常発生時には通信を一時的に中断した後に復帰さ
せ、通信の中断回数が所定の規定回数に達すると前記復
帰動作を停止するようにした通信システムにおいて、通
信の中断回数に応じて、前記中断から復帰までに要する
時間を変化させる手段を備えたことを要旨としている。
In order to achieve the above object, the invention according to claim 1 is characterized in that a plurality of vehicle-mounted control devices having a communication control function are connected by a common communication line, and a communication abnormality occurs. In a communication system in which communication is temporarily interrupted and then restored, and the restoration operation is stopped when the number of communication interruptions reaches a prescribed number of times, from the interruption to the restoration depending on the number of communication interruptions. The gist is to have a means to change the time required for.

【0007】請求項2に記載の発明は、通信の中断回数
が多くなるほど、前記中断から復帰までに要する時間を
長くするようにしている。請求項3に記載の発明は、通
信制御機能を備えた複数の車載制御装置が共通の通信回
線により接続され、通信の異常発生時には通信を一時的
に中断した後に復帰させ、通信の中断回数が所定の規定
回数に達すると前記復帰動作を停止するようにした通信
システムにおいて、通信の復帰から次の中断までの時間
に応じて、前記中断から復帰までに要する時間を変化さ
せる手段を備えたことを要旨としている。
According to the second aspect of the present invention, the longer the communication is interrupted, the longer the time required for the recovery from the interruption. According to a third aspect of the present invention, a plurality of vehicle-mounted control devices having a communication control function are connected by a common communication line, and when a communication abnormality occurs, the communication is temporarily interrupted and then restored, and In a communication system in which the restoration operation is stopped when a predetermined number of times is reached, a means for changing the time required for the restoration from the interruption according to the time from the restoration of communication to the next interruption is provided. Is the gist.

【0008】請求項4に記載の発明は、通信の復帰から
次の中断までの時間が長くなるほど、前記中断から復帰
までに要する時間を長くするようにしている。
According to the fourth aspect of the invention, the longer the time from the restoration of communication to the next interruption, the longer the time required from the interruption to the restoration.

【0009】[0009]

【作用】請求項1に記載の発明によれば、通信の異常発
生時には通信を一時的に中断した後に復帰させ、通信の
中断回数が所定の規定回数に達すると復帰動作を停止す
る。このとき、通信の中断回数に応じて、中断から復帰
までに要する時間を変化させる。つまり、電磁波障害
等、一時的な通信異常により通信の中断及び復帰動作が
行われる場合にも、中断回数が規定回数に達するまでの
時間が適正に調整され、従来のように不用意に通信の復
帰ができなくなることが抑制される。
According to the first aspect of the invention, when the communication is abnormal, the communication is temporarily interrupted and then restored, and when the number of interrupted communications reaches a predetermined number of times, the return operation is stopped. At this time, the time required from interruption to restoration is changed according to the number of times of interruption of communication. In other words, even when communication is interrupted and restored due to a temporary communication error such as electromagnetic interference, the time until the number of interruptions reaches the specified number is properly adjusted, and careless communication is required as in the past. It is possible to suppress the inability to return.

【0010】請求項2に記載の発明によれば、通信の中
断回数が大きくなるほど、前記中断から復帰までの時間
が長くなる。請求項3に記載の発明によれば、通信の異
常発生時には通信を一時的に中断した後に復帰させ、通
信の中断回数が所定の規定回数に達すると復帰動作を停
止する。このとき、通信の復帰から次の中断までの時間
に応じて、中断から復帰までに要する時間を変化させ
る。つまり、請求項1の作用と同様に、電磁波障害等、
一時的な通信異常により通信の中断及び復帰動作が行わ
れる場合にも、中断回数が規定回数に達するまでの時間
が適正に調整され、従来のように不用意に通信の復帰が
できなくなることが抑制される。
According to the second aspect of the invention, the larger the number of interruptions of communication, the longer the time from the interruption to the restoration. According to the third aspect of the invention, when the communication is abnormal, the communication is temporarily interrupted and then restored, and when the number of interrupted communications reaches a predetermined prescribed number, the return operation is stopped. At this time, the time required from the interruption to the restoration is changed according to the time from the restoration of the communication to the next interruption. That is, similar to the operation of claim 1, electromagnetic interference,
Even when communication is interrupted and restored due to a temporary communication error, the time until the number of interruptions reaches the specified number is properly adjusted, and it is impossible to unintentionally restore communication as in the past. Suppressed.

【0011】請求項4に記載の発明によれば、通信の復
帰から次の中断までの時間が長くなるほど、中断から復
帰までの時間が長くなる。
According to the invention described in claim 4, the longer the time from the restoration of communication to the next interruption, the longer the duration from the interruption to the restoration.

【0012】[0012]

【実施例】【Example】

(第1実施例)以下、この発明の車両通信システムを具
体化した第1実施例を図面に従って説明する。
(First Embodiment) A first embodiment of the vehicle communication system of the present invention will be described below with reference to the drawings.

【0013】図1は、本実施例における車両通信システ
ムの概要を示している。同図に示すように、車両(自動
車)には車両電子制御を行うための複数の車載制御装置
が搭載されている。具体的には、エンジン用電子制御装
置(エンジン用ECU)1,自動変速機用電子制御装置
(AT用ECU)2,メータ用電子制御装置(メータ用
ECU)3,アンチロックブレーキシステム用電子制御
装置(ABS用ECU)4が搭載されている。各ECU
1〜4は共通の通信回線5により接続され、通信回線5
を介して相互間の通信が可能となっている。
FIG. 1 shows an outline of a vehicle communication system in this embodiment. As shown in the figure, a vehicle (automobile) is equipped with a plurality of vehicle-mounted control devices for performing electronic vehicle control. Specifically, electronic control unit for engine (ECU for engine) 1, electronic control unit for automatic transmission (ECU for AT) 2, electronic control unit for meter (ECU for meter) 3, electronic control for antilock brake system A device (ABS ECU) 4 is mounted. Each ECU
1 to 4 are connected by a common communication line 5, and the communication line 5
It is possible to communicate with each other via.

【0014】ここで、ECU1〜4の構成について、エ
ンジン用ECU1を例にして詳しく説明する。エンジン
用ECU1において、ワンチップマイクロコンピュータ
からなるCPU6、入力インターフェース7及び出力イ
ンターフェース8は、バス9により接続されている。C
PU6には、制御プログラムを記憶したり演算データを
一時的に記憶したりするメモリ6aが設けられている。
入力インターフェース7には、アクセルペダル位置セン
サやエンジン回転角センサ等からなるセンサ群12、及
びスタータスイッチ等からなるスイッチ群13が接続さ
れている。また、出力インターフェース8には、スロッ
トル開度位置を制御するDCモータ等からなるアクチュ
エータ群14が接続されている。
Here, the configuration of the ECUs 1 to 4 will be described in detail by taking the engine ECU 1 as an example. In the engine ECU 1, the CPU 6, which is a one-chip microcomputer, the input interface 7, and the output interface 8 are connected by a bus 9. C
The PU 6 is provided with a memory 6a that stores a control program and temporarily stores calculation data.
The input interface 7 is connected to a sensor group 12 including an accelerator pedal position sensor and an engine rotation angle sensor, and a switch group 13 including a starter switch. Further, the output interface 8 is connected to an actuator group 14 including a DC motor for controlling the throttle opening position.

【0015】そして、CPU6は、センサ群12及びス
イッチ群13からの検出信号に基づいて、各種演算デー
タ(エンジン回転数データやアクセルペダル位置データ
等)を演算すると共に、エンジンの状態を最適に制御す
べくアクチュエータ群(スロットル駆動用DCモータ)
14を制御する。
Then, the CPU 6 calculates various calculation data (engine speed data, accelerator pedal position data, etc.) based on the detection signals from the sensor group 12 and the switch group 13, and optimally controls the state of the engine. Actuator group (DC motor for throttle drive)
Control 14.

【0016】また、通信回線5の制御を司る通信制御回
路10は、制御ロジック部15、レシーバ16、ドライ
バ17及び開閉回路18を備えている。制御ロジック部
15は、CPU6から転送された送信データや他のEC
Uから受信した受信データを蓄積すると共に、通信回線
5の監視等を行う。制御ロジック部15及びCPU6は
データ転送線11にて接続されており、このデータ転送
線11を介して、CPU6から制御ロジック部15への
送信データの転送が行われると共に、制御ロジック部1
5からCPU6への受信データの受け渡しが行われる。
The communication control circuit 10 that controls the communication line 5 includes a control logic unit 15, a receiver 16, a driver 17, and an opening / closing circuit 18. The control logic unit 15 uses the transmission data transferred from the CPU 6 and other ECs.
Received data received from U is accumulated, and the communication line 5 is monitored. The control logic unit 15 and the CPU 6 are connected by a data transfer line 11, and transmission data is transferred from the CPU 6 to the control logic unit 15 via the data transfer line 11 and the control logic unit 1
The received data is transferred from 5 to the CPU 6.

【0017】また、レシーバ16は通信回線5からの信
号を受信し、ドライバ17は通信回線5へ信号を送信す
る。開閉回路18は、制御ロジック部15又はCPU6
からの指令に従い、制御ロジック部15と通信回線5と
の間の通信路を「開」又は「閉」に切り換えるものであ
る。つまり、通信異常が発生すると、制御ロジック部1
5からの指令により開閉回路18が開かれ、通信が中断
される。また、所定時間の通信の中断後、CPU6から
の指令により開閉回路18が閉じられ、通信が復帰され
る。
Further, the receiver 16 receives a signal from the communication line 5, and the driver 17 transmits a signal to the communication line 5. The open / close circuit 18 includes the control logic unit 15 or the CPU 6.
The communication path between the control logic unit 15 and the communication line 5 is switched to "open" or "closed" in accordance with a command from the. That is, when a communication abnormality occurs, the control logic unit 1
The open / close circuit 18 is opened in response to a command from 5, and communication is interrupted. After the communication is interrupted for a predetermined time, the switching circuit 18 is closed by the command from the CPU 6 and the communication is restored.

【0018】なお、他のECU2〜4についても、上記
エンジン用ECU1とほぼ同様の構成を有しており、各
々にCPUや通信制御回路等を備え、センサ群やスイッ
チ群からの検出信号に基づいて各種アクチュエータ群を
制御する。そして、各ECU1〜4は相互間で、各種制
御量の演算に必要なデータの受け渡しを行う。例えば、
エンジン用ECU1にて演算されたエンジン回転数デー
タは通信回線5を経てメータ用ECU3に送信され、メ
ータ用ECU3にてタコメータの駆動に用いられる。ま
た、AT用ECU2からの車速データは通信回線5を経
てエンジン用ECU1に送信され、エンジン用ECU1
にてスロットル制御に用いられる。
The other ECUs 2 to 4 also have substantially the same configuration as the engine ECU 1, each of which is provided with a CPU, a communication control circuit, etc., and is based on a detection signal from a sensor group or a switch group. Control various actuator groups. Then, each of the ECUs 1 to 4 exchanges data necessary for calculating various control amounts with each other. For example,
The engine speed data calculated by the engine ECU 1 is transmitted to the meter ECU 3 via the communication line 5 and used by the meter ECU 3 to drive the tachometer. Further, the vehicle speed data from the AT ECU 2 is transmitted to the engine ECU 1 through the communication line 5, and the engine ECU 1
Used for throttle control.

【0019】一方、図2は通信回線5を伝送される通信
フレームのフォーマットを示しており、本通信システム
では図示の如く構成されるフレームが各ECU1〜4間
で受け渡される。なお、同フレームにおいて、「SOF
(スタートオブフレーム)」は当該フレームの先頭を示
す部分であり、それに続く「Data」は送信データの
内容が組み込まれるデータフィールドを示す部分であ
る。また、「CRC」はCRC(サイクリック冗長性検
査)法を用いてデータ伝送やデータ記録におけるエラー
検出を行う部分であり、「EOF(エンドオブフレー
ム)」はフレームの末尾を示す部分である。
On the other hand, FIG. 2 shows a format of a communication frame transmitted through the communication line 5. In this communication system, a frame configured as shown in the figure is transferred between the ECUs 1 to 4. In the same frame, "SOF
"(Start of frame)" is a portion indicating the beginning of the frame, and "Data" following it is a portion indicating a data field in which the content of the transmission data is incorporated. Further, "CRC" is a portion for performing error detection in data transmission and data recording using a CRC (cyclic redundancy check) method, and "EOF (end of frame)" is a portion for indicating the end of the frame.

【0020】以下、上記の如く構成される車両通信シス
テムの作用について、図3〜図5を用いて説明する。図
3は、通信状態の異常(送信データのエラー)を検出し
て通信を中断させるための処理ルーチンを示すフローチ
ャートであり、同ルーチンは通信制御回路10内の制御
ロジック部15により実行される。図4は、通信の中断
から復帰までに要する時間(復帰時間TF とする)を設
定するための処理ルーチンを示すフローチャートであ
り、同ルーチンはCPU6により実行される。
The operation of the vehicle communication system configured as described above will be described below with reference to FIGS. FIG. 3 is a flowchart showing a processing routine for interrupting communication by detecting an abnormality in the communication state (transmission data error), and this routine is executed by the control logic unit 15 in the communication control circuit 10. FIG. 4 is a flowchart showing a processing routine for setting the time required from the interruption of communication to the restoration (referred to as restoration time TF), which is executed by the CPU 6.

【0021】さて、図3のルーチンが起動すると、制御
ロジック部15はステップ100で直前に通信の復帰命
令があったか否かを判別する。この復帰命令は通信が中
断状態から復帰した際に発せられるものであって、ステ
ップ100が肯定判別された場合、制御ロジック部15
はステップ190に移行してエラーカウンタCerr を
「0」にクリアし、ステップ100が否定判別された場
合、ステップ110に移行する。ここで、エラーカウン
タCerr は送信データの異常状態を表すカウンタであ
る。
Now, when the routine of FIG. 3 is activated, the control logic unit 15 determines in step 100 whether or not there was a communication return instruction immediately before. This return command is issued when the communication returns from the interrupted state, and when step 100 is affirmed, the control logic unit 15
Shifts to step 190 to clear the error counter Cerr to "0", and when negative determination is made in step 100, shifts to step 110. Here, the error counter Cerr is a counter indicating an abnormal state of transmission data.

【0022】また、制御ロジック部15は、ステップ1
10〜160で送信データの通信状態を判定すると共
に、その判定結果に応じてエラーカウンタCerr をカウ
ントアップ或いはダウンさせる。詳しくは、制御ロジッ
ク部15は、ステップ110で送出時の送信ビットと受
け取ったビットとが不一致であるか否かを判別し、不一
致の場合、ステップ120に移行する。この場合、制御
ロジック部15は、ステップ120でエラーカウンタC
err を「8」カウントアップした後、ステップ170に
移行する。また、制御ロジック部15は、ステップ13
0で受信フレームのCRCエラーを判別し、CRCエラ
ーの場合、ステップ140に移行する。この場合、制御
ロジック部15は、ステップ140でエラーカウンタC
err を「4」カウントアップした後、ステップ170に
移行する。なお、ステップ110,130のエラー判別
は上記方法に限定されるものではない。
Further, the control logic unit 15 executes the step 1
The communication state of the transmission data is determined at 10 to 160, and the error counter Cerr is counted up or down according to the determination result. Specifically, the control logic unit 15 determines whether or not the transmission bit at the time of transmission and the received bit do not match in step 110, and if they do not match, the process proceeds to step 120. In this case, the control logic unit 15 determines the error counter C in step 120.
After counting up err by “8”, the process proceeds to step 170. In addition, the control logic unit 15 executes step 13
When the CRC error is 0, the CRC error of the received frame is discriminated. In this case, the control logic unit 15 determines the error counter C in step 140.
After counting up err by “4”, the process proceeds to step 170. The error determination in steps 110 and 130 is not limited to the above method.

【0023】さらに、制御ロジック部15は、ステップ
150でフレームデータが正常であるか否かを判別し、
正常であればステップ160に移行する。この場合、制
御ロジック部15は、ステップ160でエラーカウンタ
Cerr を「16」カウントダウンした後、ステップ17
0に移行する。また、ステップ110,130,150
が共に否定判別された場合には、エラーカウンタCerr
のカウントアップ或いはダウンを行わずにステップ17
0に移行する。これは、制御ロジック部15と通信回線
5との通信路が切り離され、通信が中断されている場合
に相当する。
Further, the control logic unit 15 determines in step 150 whether the frame data is normal,
If it is normal, the process proceeds to step 160. In this case, the control logic unit 15 counts down the error counter Cerr by “16” in step 160, and then executes step 17
Move to 0. In addition, steps 110, 130, 150
If both are negative, the error counter Cerr
Step 17 without counting up or down
Move to 0. This corresponds to the case where the communication path between the control logic unit 15 and the communication line 5 is disconnected and the communication is interrupted.

【0024】その後、制御ロジック部15はステップ1
70で、エラーカウンタCerr が「256」以上である
か否かを判別する。そして、Cerr <256であれば、
制御ロジック部15はそのままステップ100にリター
ンし、Cerr ≧256であれば、ステップ180で開閉
回路18を「開」にして通信を中断させた後、ステップ
100にリターンする。
Thereafter, the control logic unit 15 executes step 1
At 70, it is determined whether the error counter Cerr is "256" or more. Then, if Cerr <256,
The control logic unit 15 directly returns to step 100, and if Cerr ≧ 256, the open / close circuit 18 is opened in step 180 to interrupt communication, and then the process returns to step 100.

【0025】この図3の処理では、エラー条件毎に重み
付けられてエラーカウンタCerr がカウントアップ又は
ダウンされる。これにより、ランダム的に発生する短時
間のノイズに起因する通信エラーについて、その場合の
通信の中断が防止される。
In the process of FIG. 3, the error counter Cerr is counted up or down by weighting it for each error condition. As a result, with respect to a communication error caused by randomly generated noise for a short time, interruption of communication in that case is prevented.

【0026】一方、図4のルーチンにおいて、CPU6
は、ステップ200で通信の復帰動作が必要であるか否
かを判断し、必要でなければそのまま本ルーチンを終了
する。このとき、前回の通信中断に伴う復帰処理(後続
のステップ210〜240の処理)が既になされていれ
ば、ステップ200は肯定判別される。また、復帰動作
が必要であれば、CPU6は、ステップ210で中断回
数カウンタCF を「1」カウントアップする。ここで、
中断回数カウンタCF は、車両の1回の走行中における
通信の中断回数をカウントするものであり、IGSWの
オンにより初期化(CF =0)されるようになってい
る。
On the other hand, in the routine of FIG. 4, the CPU 6
Determines in step 200 whether or not a communication recovery operation is necessary, and if not, terminates this routine as it is. At this time, if the restoration process (the processes of subsequent steps 210 to 240) accompanying the previous communication interruption has already been performed, the affirmative determination is made in step 200. If the returning operation is necessary, the CPU 6 increments the interruption number counter CF by "1" in step 210. here,
The interruption counter CF counts the number of interruptions of communication during one traveling of the vehicle, and is initialized (CF = 0) when the IGSW is turned on.

【0027】その後、CPU6は、ステップ220で中
断回数カウンタCF が所定の規定回数(本実施例では、
16回)を越えているか否かを判別する。そして、CF
≦16であれば、CPU6はステップ230で中断回数
カウンタCF に応じて復帰時間TF を算出する(TF =
CF ・16)。ここで、復帰時間TF は、中断回数カウ
ンタCF の値に対して16msの重み付けがなされる。
さらに、CPU6は、続くステップ240で上記の如く
求めた復帰時間TF をレジスタにセットする。その後、
CPU6は、レジスタに設定された復帰時間TF が経過
するタイミングで開閉回路18を「閉」にする。
Thereafter, in step 220, the CPU 6 sets the interruption counter CF to a predetermined prescribed number (in the present embodiment,
16 times) is determined. And CF
If ≤16, the CPU 6 calculates the recovery time TF according to the interruption number counter CF in step 230 (TF =
CF 16). Here, the restoration time TF is weighted by 16 ms with respect to the value of the interruption counter CF.
Further, the CPU 6 sets the return time TF obtained as described above in the register in the following step 240. afterwards,
The CPU 6 closes the open / close circuit 18 at the timing when the recovery time TF set in the register elapses.

【0028】また、ステップ220でCF >16であれ
ば、CPU6はそのまま本ルーチンを終了する。即ち、
CF >16の場合には、ステップ230,240が実施
されないため開閉回路18が「開」状態で保持され、以
後、通信の復帰動作が止められる。
If CF> 16 in step 220, the CPU 6 ends this routine. That is,
When CF> 16, steps 230 and 240 are not executed, so that the switching circuit 18 is held in the "open" state, and thereafter the communication recovery operation is stopped.

【0029】図5は、ノイズに伴う通信の中断及び復帰
動作を示したタイミングチャートであり、図5(a)は
本実施例の通信システムの動作を、図5(b)は従来の
通信システムの動作を示している。図5の時間t1〜t
2はノイズの発生期間を示している。なお、図5におい
て、開閉回路18の「閉」から「開」の動作が通信の中
断を示し、「開」から「閉」の動作が通信の復帰を示し
ている。
FIG. 5 is a timing chart showing the interruption and restoration operations of communication due to noise. FIG. 5 (a) shows the operation of the communication system of this embodiment and FIG. 5 (b) shows the conventional communication system. Shows the operation of. Time t1 to t in FIG.
Reference numeral 2 indicates a noise generation period. In FIG. 5, the operation of the switching circuit 18 from “closed” to “open” indicates interruption of communication, and the operation of “open” to “closed” indicates restoration of communication.

【0030】先ず図5(a)を用いて本実施例について
説明する。時間t1にてノイズが発生すると、エラーカ
ウンタCerr がカウントアップされ、Cerr ≧256と
なるタイミングで開閉回路18が「開」となり、通信が
中断される。このとき、中断回数カウンタCF が「0」
から「1」に変更され、復帰時間TF1(=16ms)が
設定される。なお、図5の復帰時間TF には中断回数カ
ウンタCF に対応する添字を付している。
First, this embodiment will be described with reference to FIG. When noise occurs at time t1, the error counter Cerr is counted up, and at the timing when Cerr ≧ 256, the open / close circuit 18 is opened and communication is interrupted. At this time, the interruption counter CF is "0".
Is changed from "1" to "1", and the recovery time TF1 (= 16 ms) is set. The recovery time TF in FIG. 5 is provided with a subscript corresponding to the interruption number counter CF.

【0031】そして、復帰時間TF1の経過後、開閉回路
18が「閉」になり、通信が復帰される。しかし、この
通信の復帰時にもノイズが発生しているため、再びCer
r ≧256となるタイミングで開閉回路18が「開」と
なり、通信が中断される。このとき、中断回数カウンタ
CF が「1」から「2」に変更されて、復帰時間TF2
(=32ms)が設定される。
Then, after the recovery time TF1 has elapsed, the switching circuit 18 is "closed" and communication is restored. However, since noise is generated even when this communication is restored, Cer
At the timing of r ≧ 256, the switching circuit 18 becomes “open” and the communication is interrupted. At this time, the interruption counter CF is changed from "1" to "2", and the recovery time TF2 is changed.
(= 32 ms) is set.

【0032】その後、ノイズが継続的に発生しているた
め、時間t2に達するまで、通信の中断及び復帰動作が
繰り返し実施される。即ち、中断回数カウンタCF の
「2」から「3」への変更と共に復帰時間TF3(=48
ms)の設定が行われ、さらに、中断回数カウンタCF
の「3」から「4」への変更と共に復帰時間TF4(=6
4ms)の設定が行われる。
After that, since noise is continuously generated, communication interruption and restoration operations are repeatedly performed until time t2 is reached. That is, the interruption time counter CF is changed from "2" to "3", and the recovery time TF3 (= 48).
ms) is set, and the interruption counter CF
Change from "3" to "4" and return time TF4 (= 6
4 ms) is set.

【0033】一方、図5(b)の従来例では、時間t1
のノイズ発生に伴い、図5(a)と同様に通信が中断さ
れ、中断回数カウンタCF が「0」から「1」に変更さ
れると共に、復帰時間TF1’(=16ms)が設定され
る。そして、復帰時間TF1’の経過後、通信が復帰され
る。以後、時間t2に達するまで、通信の中断毎に一定
時間(16ms)の復帰時間TF2’〜TF7’が設定さ
れ、中断及び復帰動作が繰り返し実施される。この場
合、復帰時間TF1’〜TF7’は全て同じ時間(16m
s)で設定されている。従って、時間t1〜t2におい
て、図5(a)では中断回数カウンタCF が「4」まで
カウントされたのに対し、図5(b)では中断回数カウ
ンタCF が「7」までカウントされる。
On the other hand, in the conventional example of FIG. 5B, time t1
5A, the communication is interrupted, the interruption frequency counter CF is changed from "0" to "1", and the recovery time TF1 '(= 16 ms) is set. Then, the communication is restored after the lapse of the restoration time TF1 '. After that, until the time t2 is reached, a restoration time TF2 'to TF7' of a fixed time (16 ms) is set for each interruption of communication, and the interruption and restoration operations are repeatedly performed. In this case, the return time TF1 'to TF7' are all the same time (16m
s) is set. Therefore, at times t1 to t2, the interruption number counter CF is counted up to "4" in FIG. 5A, whereas the interruption number counter CF is counted up to "7" in FIG. 5B.

【0034】なお、時間t2以後もノイズが継続的に発
生したとすれば、従来例では256msで中断回数カウ
ンタCF が規定回数(16回)に達するのに対し、本実
施例では、最短でも2176msで中断回数カウンタC
F が規定回数(16回)に達することになる。
If the noise is continuously generated after the time t2, the interruption number counter CF reaches the specified number (16 times) in 256 ms in the conventional example, whereas it is 2176 ms in the shortest in this embodiment. And the interruption counter C
F will reach the specified number of times (16 times).

【0035】そして、上記詳述した本実施例の車両通信
システムによれば、以下に示す効果を発揮することがで
きる。即ち、電磁波障害により通信回線5にノイズが重
畳した場合や通信回線5がドアに挟まってショートした
場合等、一時的な通信異常により通信の中断及び復帰動
作が行われる場合にも、中断回数が規定回数に達するま
での時間が適正に調整される。従って、従来のように不
用意に通信の復帰ができなくなることが抑制される。ま
た、中断回数が規定回数に達するまでの時間が長くなる
ため、長時間のノイズ等にも適正に対処することができ
る。さらに、ノイズ発生時に割り込み発生する復帰処理
回数が少なくなるため、CPU6のソフトウェア処理負
荷が低減され、車両制御への影響を少なくすることがで
きる。 (第2実施例)次に本発明の第2実施例について、上記
第1実施例との相違点を中心に説明する。上記第1実施
例では、復帰時間TF を中断回数カウンタCF の値に正
比例させて変化させた。これに対し、第2実施例では、
通信回線5の状態(復帰から次の中断までにかかる時
間)に合わせて変化させている。
According to the vehicle communication system of this embodiment described in detail above, the following effects can be exhibited. That is, even when noise is superimposed on the communication line 5 due to electromagnetic interference or when the communication line 5 is shorted by being sandwiched between doors, the number of interruptions is reduced even when the communication is interrupted and restored due to a temporary communication error. The time to reach the specified number of times is properly adjusted. Therefore, it is possible to prevent the communication from being unintentionally unable to be restored as in the conventional case. Further, since it takes a long time for the number of interruptions to reach the specified number, it is possible to properly deal with long-term noise and the like. Furthermore, since the number of restoration processes that generate an interrupt when noise occurs is reduced, the software processing load on the CPU 6 is reduced, and the influence on vehicle control can be reduced. (Second Embodiment) Next, a second embodiment of the present invention will be described focusing on the differences from the first embodiment. In the first embodiment, the recovery time TF is changed in direct proportion to the value of the interruption frequency counter CF. On the other hand, in the second embodiment,
It is changed according to the state of the communication line 5 (the time required from the restoration to the next interruption).

【0036】図6は第2実施例における復帰時間TF の
設定ルーチンを示しており、同ルーチンは第1実施例の
図4のルーチンに相当する。なお、図6においてステッ
プ300〜320は、図4のステップ200〜220と
同じ処理であり、ここでは、ステップ320でのCF ≦
16の判定処理に続く、ステップ330〜350を説明
する。
FIG. 6 shows a routine for setting the recovery time TF in the second embodiment, and this routine corresponds to the routine in FIG. 4 of the first embodiment. Note that steps 300 to 320 in FIG. 6 are the same processes as steps 200 to 220 in FIG. 4, and here, CF ≦≦ in step 320.
Steps 330 to 350 following the determination process of 16 will be described.

【0037】つまり、CPU6は、ステップ330で通
信の復帰から次の中断までに要した所要時間TS を計測
し、続くステップ340で前記所要時間TS を反映させ
た復帰時間TF を算出する(TF =TS ・16)。ここ
で、通信の復帰から次の中断までに要した所要時間TS
は、図3のルーチンにて示すエラーカウンタCerr が所
定値(Cerr ≧256)に達するまでの時間に相当す
る。従って、所要時間TS に応じて復帰時間TF を長く
することで、断線等により通信異常の状態が変化しない
場合には中断回数カウンタCF のカウントが早くなり、
断続的に通信異常の状態が変化する場合には中断回数カ
ウンタCF のカウントが遅くなる。また、CPU6は、
続くステップ350で上記復帰時間TF をレジスタにセ
ットする。そして、CPU6はレジスタに設定された復
帰時間TF が経過した時、開閉回路18を「閉」にして
通信を復帰させる。
That is, the CPU 6 measures the required time TS from the restoration of communication to the next interruption in step 330, and calculates the restoration time TF reflecting the required time TS in the following step 340 (TF = TS 16). Here, the required time TS from the restoration of communication to the next interruption
Corresponds to the time until the error counter Cerr shown in the routine of FIG. 3 reaches a predetermined value (Cerr ≧ 256). Therefore, by lengthening the recovery time TF according to the required time TS, the count of the interruption counter CF becomes faster when the state of communication abnormality does not change due to disconnection or the like.
When the communication error state changes intermittently, the count of the interruption frequency counter CF is delayed. Further, the CPU 6
In the following step 350, the return time TF is set in the register. When the recovery time TF set in the register has elapsed, the CPU 6 closes the open / close circuit 18 to restore communication.

【0038】この第2実施例では、通信異常の状態に応
じた復帰時間TF の設定が可能となり、通信の復帰処理
を適正に行うことができる。このように、前述の第1実
施例と同様に本発明の目的を達成することができる。
In the second embodiment, the restoration time TF can be set according to the state of communication abnormality, and the restoration processing of communication can be properly performed. In this way, the object of the present invention can be achieved as in the case of the first embodiment described above.

【0039】なお、本発明は上記実施例の他に、次の様
態にて具体化することができる。上記第1実施例では中
断回数カウンタCF の値に比例させて復帰時間TF を設
定し、第2実施例では復帰から中断までの所要時間TS
に比例させて復帰時間TF を設定したが、これを変更し
てもよい。例えば、中断回数カウンタCF や所要時間T
S に対する復帰時間TF の変化量を新たに設定したりす
ることも可能である。また、上記2つの条件(中断回数
カウンタCF の値,所要時間TS )を合わせて復帰時間
TF を設定するようにしてもよい。
The present invention can be embodied in the following modes other than the above embodiment. In the first embodiment, the return time TF is set in proportion to the value of the interruption counter CF, and in the second embodiment, the required time TS from the return to the interruption is set.
Although the recovery time TF is set in proportion to, it may be changed. For example, the interruption counter CF and the required time T
It is also possible to newly set the amount of change in the recovery time TF with respect to S. The recovery time TF may be set by combining the above two conditions (the value of the interruption counter CF and the required time TS).

【0040】[0040]

【発明の効果】請求項1〜4に記載の発明によれば、一
時的なノイズ等による通信の異常発生時において通信の
中断及び復帰を適正に行うことができるという優れた効
果を発揮する。
According to the invention described in claims 1 to 4, the excellent effect that the communication can be properly interrupted and restored when the communication is abnormal due to a temporary noise or the like is exhibited.

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

【図1】実施例における車両通信システムを示す構成図
である。
FIG. 1 is a configuration diagram illustrating a vehicle communication system according to an embodiment.

【図2】通信フレームのフォーマットを示す構成図であ
る。
FIG. 2 is a configuration diagram showing a format of a communication frame.

【図3】第1実施例において、制御ロジック部が実行す
る通信中断の処理ルーチンを示すフローチャートであ
る。
FIG. 3 is a flowchart showing a communication interruption processing routine executed by a control logic unit in the first embodiment.

【図4】第1実施例において、CPUが実行する通信の
復帰時間設定ルーチンを示すフローチャートである。
FIG. 4 is a flowchart showing a communication recovery time setting routine executed by a CPU in the first embodiment.

【図5】第1実施例における作用を説明するためのタイ
ミングチャートであり、(a)は本実施例の通信システ
ムの動作を、図5(b)は従来の通信システムの動作を
示している。
5A and 5B are timing charts for explaining the operation in the first embodiment, FIG. 5A shows the operation of the communication system of the present embodiment, and FIG. 5B shows the operation of the conventional communication system. .

【図6】第2実施例において、CPUが実行する通信の
復帰時間設定ルーチンを示すフローチャートである。
FIG. 6 is a flowchart showing a communication recovery time setting routine executed by a CPU in the second embodiment.

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

1…車載制御装置としてのエンジン用ECU、2…車載
制御装置としてのAT用ECU、3…車載制御装置とし
てのメータ用ECU、4…車載制御装置としてのABS
用ECU、5…通信回線、6…CPU。
DESCRIPTION OF SYMBOLS 1 ... Engine ECU as an in-vehicle control device, 2 ... AT ECU as an in-vehicle control device, 3 ... Meter ECU as an in-vehicle control device, 4 ... ABS as an in-vehicle control device
ECU, 5 ... communication line, 6 ... CPU.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 B60R 16/02 K H04L 12/40 29/14 H04Q 9/02 B ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location B60R 16/02 K H04L 12/40 29/14 H04Q 9/02 B

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 通信制御機能を備えた複数の車載制御装
置が共通の通信回線により接続され、通信の異常発生時
には通信を一時的に中断した後に復帰させ、通信の中断
回数が所定の規定回数に達すると前記復帰動作を停止す
るようにした通信システムにおいて、 通信の中断回数に応じて、前記中断から復帰までに要す
る時間を変化させる手段を備えたことを特徴とする車両
通信システム。
1. A plurality of vehicle-mounted control devices having a communication control function are connected by a common communication line, and when a communication abnormality occurs, the communication is temporarily interrupted and then restored, and the communication interrupt frequency is a prescribed number of times. In the communication system in which the return operation is stopped when the time reaches, the vehicle communication system is provided with means for changing the time required from the interruption to the restoration according to the number of interruptions of the communication.
【請求項2】 通信の中断回数が多くなるほど、前記中
断から復帰までに要する時間を長くする請求項1に記載
の車両通信システム。
2. The vehicle communication system according to claim 1, wherein the time required for the recovery from the interruption is extended as the number of interruptions of the communication increases.
【請求項3】 通信制御機能を備えた複数の車載制御装
置が共通の通信回線により接続され、通信の異常発生時
には通信を一時的に中断した後に復帰させ、通信の中断
回数が所定の規定回数に達すると前記復帰動作を停止す
るようにした通信システムにおいて、 通信の復帰から次の中断までの時間に応じて、前記中断
から復帰までに要する時間を変化させる手段を備えたこ
とを特徴とする車両通信システム。
3. A plurality of vehicle-mounted control devices having a communication control function are connected by a common communication line, and when a communication error occurs, the communication is temporarily interrupted and then restored, and the communication interrupt frequency is a prescribed number of times. In the communication system in which the restoration operation is stopped when the number of times reaches, the means for changing the time required from the interruption to the restoration according to the time from the restoration of the communication to the next interruption is provided. Vehicle communication system.
【請求項4】 通信の復帰から次の中断までの時間が長
くなるほど、前記中断から復帰までに要する時間を長く
する請求項3に記載の車両通信システム。
4. The vehicle communication system according to claim 3, wherein the longer the time from the restoration of communication to the next interruption, the longer the time required from the interruption to the restoration.
JP14201894A 1994-06-23 1994-06-23 Vehicle communication system Expired - Fee Related JP3351104B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14201894A JP3351104B2 (en) 1994-06-23 1994-06-23 Vehicle communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14201894A JP3351104B2 (en) 1994-06-23 1994-06-23 Vehicle communication system

Publications (2)

Publication Number Publication Date
JPH089471A true JPH089471A (en) 1996-01-12
JP3351104B2 JP3351104B2 (en) 2002-11-25

Family

ID=15305462

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14201894A Expired - Fee Related JP3351104B2 (en) 1994-06-23 1994-06-23 Vehicle communication system

Country Status (1)

Country Link
JP (1) JP3351104B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009109166A (en) * 2007-11-01 2009-05-21 Panasonic Corp Remote controller control device of water heater
JP2009257676A (en) * 2008-04-17 2009-11-05 Panasonic Corp Remote controller control device for water heater
JP2011526110A (en) * 2008-06-27 2011-09-29 エアバス・オペレイションズ・ゲーエムベーハー Fault node detection method
DE102013216530A1 (en) 2012-09-18 2014-03-20 Hitachi Automotive Systems, Ltd. VEHICLE CONTROL UNIT AND VEHICLE CONTROL SYSTEM
US20160341272A1 (en) * 2014-02-06 2016-11-24 Kyb Corporation Shock absorber

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009109166A (en) * 2007-11-01 2009-05-21 Panasonic Corp Remote controller control device of water heater
JP2009257676A (en) * 2008-04-17 2009-11-05 Panasonic Corp Remote controller control device for water heater
JP2011526110A (en) * 2008-06-27 2011-09-29 エアバス・オペレイションズ・ゲーエムベーハー Fault node detection method
DE102013216530A1 (en) 2012-09-18 2014-03-20 Hitachi Automotive Systems, Ltd. VEHICLE CONTROL UNIT AND VEHICLE CONTROL SYSTEM
JP2014058210A (en) * 2012-09-18 2014-04-03 Hitachi Automotive Systems Ltd Vehicle control device and vehicle control system
US20160341272A1 (en) * 2014-02-06 2016-11-24 Kyb Corporation Shock absorber

Also Published As

Publication number Publication date
JP3351104B2 (en) 2002-11-25

Similar Documents

Publication Publication Date Title
US9164574B2 (en) Switching a control device in a vehicle network to sleep mode when velocity is above a threshold and switching to an operating mode after a number of received messages
US7349479B2 (en) Communications system of two-wire line enhancing fail-safe performance
EP2309677B1 (en) Wake up detector for a bus transceiver
US10484425B2 (en) Controller area network frame override
JP2002251215A (en) System for controlling and/or monitoring composite controller and method for the same
JP2002158668A (en) Abnormality detector of network system for vehicle
JP3486990B2 (en) Serial communication device
JPH0566079B2 (en)
EP1712424B1 (en) Vehicle control apparatus
JPH089471A (en) Mobile communication system
JP3628042B2 (en) Multiple communication method
JP3179037B2 (en) Vehicle communication network system
JP2007142694A (en) Lin communication apparatus and lin communication control method
JP2001344013A (en) Diagnostic method for failure of on-vehicle equipment
JP2001197154A (en) Compound controller
JPH04240997A (en) Control method for on-vehicle electronic device
JP3401360B2 (en) Multiplex transmission equipment
JP3598989B2 (en) Pulse generating circuit, method for preventing malfunction thereof, and communication device
JP2002314556A (en) Vehicle control system
JP3896860B2 (en) COMMUNICATION DEVICE AND VEHICLE ELECTRONIC CONTROL DEVICE
JP3221259B2 (en) Bus type duplex transmission equipment
JP3383463B2 (en) Multiplex transmission system
CN115016426A (en) fail-safe system, method, storage and automobile
JP3402062B2 (en) Multiplex communication controller
JP3347230B2 (en) Data transmission control device

Legal Events

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