【0001】
【発明の属する技術分野】
本発明は、車両の各制御ユニット間でデジタル信号を伝送する通信制御装置の改良に関するものである。
【0002】
【従来の技術】
従来、車両に搭載されるエンジン制御ユニットやトランスミッション制御ユニットをはじめ各種制御ユニットを共通の信号線に接続し、各制御ユニット間でデジタル信号を伝送し合う時分割多重通信システムがある。この通信システムにより、車両の配線を大幅に減らすことができる。
【0003】
【発明が解決しようとする課題】
しかしながら、このような従来の通信システムに接続可能な制御ユニットを、通信システムを持たない車両に搭載した場合、制御ユニットは信号線が断線したものと誤って自己診断し、車両の表示板等にエラー情報が表示されてしまう可能性があった(特開平10−157648号公報参照)。
【0004】
本発明は上記の問題点を鑑みてなされたものであり、車両の通信制御装置において、通信システムの有無を判断することを目的とする。
【0005】
【課題を解決するための手段】
第1の発明は、共通の信号線を介して複数の制御ユニットの間で情報を送受信する車両の通信システムに適用する。
【0006】
そして、制御ユニットの電源が入ってから所定時間が経過するまでの間に他の制御ユニットから送られる承認信号を受信したかどうかを判定する承認信号受信判定手段と、所定時間内に承認信号を受信しない場合に車両に通信システムを備えていないものと判断する通信システム非搭載車両判断手段とを備え、制御ユニットはこの判断結果を基にして車両に通信システムを備えている場合に対応した制御プログラムと車両に通信システムを備えていない場合に対応した制御プログラムとを切換える構成とした。
【0007】
第2の発明は、第1の発明において、車両に通信システムを備えていないと判断した場合に通信制御を中止するものとした。
【0008】
【発明の作用および効果】
第1の発明において、通信開始時に他の制御ユニットから送られる承認信号を所定時間内に受信しない場合に車両に通信システムを備えていないと判断することにより、制御ユニットを通信システムを搭載する車両としない車両で共通化することが可能となり、部品管理が容易になる。
【0009】
第2の発明において、通信システムに接続可能な制御ユニットを、通信システムを持たない車両に搭載した場合、制御ユニットが例えば信号線が断線したものと誤って自己診断することがなく、車両の表示板等にエラー情報が表示される等の不具合を解消できる。
【0010】
【発明の実施の形態】
以下、本発明の実施の形態を添付図面に基づいて説明する。
【0011】
図1に示すように、車両に搭載されるCAN(コントロールエリアネットワーク)通信システムは、信号線1に対してエンジン制御ユニット2とトランスミッション制御ユニット3をはじめ図示しないサービスブレーキ制御ユニット、排気ブレーキ制御ユニット、リターダ制御ユニット、多重情報表示板制御ユニット等が接続され、これらの制御ユニット2,3,…間で共通の信号線1を介して情報を送受信する。信号線1は情報を通信する一対の電線によって構成され、各電線の両端が終端抵抗4を介して結ばれており、車両の配線を大幅に減らすことができる。
【0012】
各制御ユニット2,3,…は、CPU、メモリ、I/O等で構成されるマイクロコンピュータを主体として構成され、各種センサによる運転状態の検出信号に応じて予め設定されたプログラムに基づいて各種アクチュエータを作動させる。
【0013】
例えば、エンジン制御ユニット2は、図示しないエンジン回転数センサやアクセル開度センサ等の運転状態検出信号をI/Oを介して入力し、これらの検出信号に応じて予め設定されたマップに基づき燃料噴射量を算出し、I/Oを介して図示しない燃料噴射ポンプに制御信号を出力して、エンジンの運転制御を行う。
【0014】
各制御ユニット2,3,…は、信号線1を介して相互に送受信されるデジタル信号の入出力装置としてCANチップ5を備える。CANチップ5はデータ通信のための回路を備え、通信の手順、通信異常の処理、データのフォーマット、データの種類、データの分解能、範囲等を設定する。
【0015】
例えば、エンジン制御ユニット2は、トランスミッションの変速作動時にトランスミッション制御ユニット3からエンジン回転数とエンジントルクの指令値をCANチップ5を介して入力し、変速が円滑に行われるようにエンジンの運転制御を行う。
【0016】
本発明は、CAN通信システムに接続可能な制御ユニット2,3,…を、CAN通信システムを持たない車両にも搭載できるようにするため、各制御ユニット2,3,…は、通信開始時に他の前記制御ユニット2,3,…から送られる承認信号を受信したかどうかを判定し、所定時間Tout1内にacknowlege(承認信号)を受信した場合に車両にCAN通信システムを備えているCANあり車両と判断して他の制御ユニット2,3,…と通信を行い、所定時間Tout1内にacknowlegeを受信しない場合に車両にCAN通信システムを備えていないCANなし車両と判断して他の制御ユニット2,3,…と通信を行わない構成とする。
【0017】
図2のフローチャートは上記通信システムの有無を判断するルーチンを示しており、エンジン制御ユニット2において一定周期毎に実行される。
【0018】
まず、ステップ1にて、イグニッションスイッチがONとなってエンジン制御ユニット2の電源が入ったことを判定する。
【0019】
続いて、ステップ2に進んで、CAN通信システムの有無の判断制御が終了していないことを判定する。
【0020】
続いて、ステップ3に進んで、エンジン制御ユニット2の電源が入ってからの経過時間T1をカウントする。
【0021】
続いて、ステップ4に進んで、他の制御ユニット2,3,…から返信されるacknowlegeを受信したかどうかを判定する。
【0022】
ここで、acknowlegeを受信しない場合、ステップ5に進んでカウントされた経過時間T1が所定値Tout1(例えば10秒)を超えたどうかを判定する。
【0023】
ここで、経過時間T1が所定値Tout1を超えた場合、ステップ6に進んで、車両にCAN通信システムを備えていないCAN無し車両と判断し、CAN通信制御プログラムを立ち上げるCANスイッチをOFF状態として、CAN通信制御を自己診断を含めて全て中止する。
【0024】
一方、ステップ4で、acknowlegeを受信した場合、ステップ8に進んで、車両にCAN通信システムを備えているCANあり車両と判断し、CAN通信制御プログラムを立ち上げるCANスイッチをON状態として、CAN通信制御を自己診断を含めて開始する。
【0025】
こうして、CAN無し車両またはCANあり車両の判断が行われると、ステップ7に進んで経過時間T1をクリアして、本ルーチンを終了する。
【0026】
以上のように構成されて、CAN通信システムに接続可能な制御ユニット2,3,…を、CAN通信システムを持たない車両に搭載した場合、制御ユニット2,3,…が信号線が断線したものと誤って自己診断することがなく、車両の表示板等にエラー情報が表示される等の不具合を解消できる。この結果、制御ユニット2,3,…をCANあり車両とCAN無し車両の両方に搭載することが可能となり、これら部品の管理が容易になる。
【図面の簡単な説明】
【図1】本発明の実施の形態を示すシステム図。
【図2】同じく制御内容を示すフローチャート。
【符号の説明】
1 CAN信号線
2 エンジン制御ユニット
3 トランスミッション制御ユニット
5 CANチップ[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an improvement in a communication control device for transmitting a digital signal between control units of a vehicle.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, there is a time division multiplex communication system in which various control units such as an engine control unit and a transmission control unit mounted on a vehicle are connected to a common signal line and digital signals are transmitted between the control units. With this communication system, the wiring of the vehicle can be significantly reduced.
[0003]
[Problems to be solved by the invention]
However, when a control unit that can be connected to such a conventional communication system is mounted on a vehicle that does not have a communication system, the control unit erroneously self-diagnoses that the signal line has been disconnected and displays it on the display panel of the vehicle. There was a possibility that error information would be displayed (see Japanese Patent Application Laid-Open No. 10-157648).
[0004]
The present invention has been made in view of the above problems, and has as its object to determine the presence or absence of a communication system in a vehicle communication control device.
[0005]
[Means for Solving the Problems]
The first invention is applied to a vehicle communication system that transmits and receives information between a plurality of control units via a common signal line.
[0006]
And an approval signal reception determining means for determining whether an approval signal sent from another control unit has been received before a predetermined time has elapsed since the power supply of the control unit was turned on , and an approval signal received within a predetermined time. A communication system non-equipped vehicle judging means for judging that the vehicle does not have a communication system when the vehicle does not receive the signal; and a control unit based on the judgment result, The configuration is such that a program and a control program corresponding to a case where the vehicle does not have a communication system are switched .
[0007]
According to a second aspect, in the first aspect, when it is determined that the vehicle does not include the communication system, the communication control is stopped.
[0008]
Function and Effect of the Invention
In the first invention, a vehicle equipped with a communication system is provided by determining that the vehicle does not have a communication system when an acknowledgment signal sent from another control unit is not received within a predetermined time at the start of communication. Can be shared by vehicles that do not use the same, and parts management becomes easy.
[0009]
In the second invention, when the control unit connectable to the communication system is mounted on a vehicle having no communication system, the control unit does not erroneously diagnose, for example, that the signal line is disconnected, and displays the vehicle. Problems such as display of error information on a board or the like can be solved.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
[0011]
As shown in FIG. 1, a CAN (control area network) communication system mounted on a vehicle includes an engine control unit 2 and a transmission control unit 3 including a signal line 1, a service brake control unit (not shown), and an exhaust brake control unit. , A retarder control unit, a multiplexed information display panel control unit, etc., are connected, and information is transmitted and received between these control units 2, 3,. The signal line 1 is constituted by a pair of electric wires for communicating information, and both ends of each electric wire are connected via the terminating resistor 4, so that the wiring of the vehicle can be greatly reduced.
[0012]
Each of the control units 2, 3,... Is mainly composed of a microcomputer including a CPU, a memory, an I / O, etc., and various types of control units 2, 3,. Activate the actuator.
[0013]
For example, the engine control unit 2 inputs operation state detection signals such as an engine speed sensor and an accelerator opening sensor (not shown) via an I / O, and based on a map preset according to these detection signals, the The injection amount is calculated, and a control signal is output to a fuel injection pump (not shown) via the I / O to control the operation of the engine.
[0014]
Each of the control units 2, 3,... Includes a CAN chip 5 as an input / output device for digital signals mutually transmitted and received via the signal line 1. The CAN chip 5 includes a circuit for data communication, and sets a communication procedure, a communication error process, a data format, a data type, a data resolution, a range, and the like.
[0015]
For example, the engine control unit 2 inputs an engine speed and an engine torque command value from the transmission control unit 3 via the CAN chip 5 from the transmission control unit 3 during a shift operation of the transmission, and controls the operation of the engine such that the shift is performed smoothly. Do.
[0016]
The present invention enables control units 2, 3,... That can be connected to a CAN communication system to be mounted on a vehicle that does not have a CAN communication system. Is determined whether an approval signal sent from the control unit 2, 3,... Is received, and when an acknowledge (approval signal) is received within a predetermined time Tout1, a vehicle with a CAN having a CAN communication system is provided in the vehicle. Communicate with the other control units 2, 3,..., And when no acknowledge is received within the predetermined time Tout1, it is determined that the vehicle is not equipped with the CAN communication system and the other control unit 2 is not provided. , 3,... Are not communicated.
[0017]
The flowchart of FIG. 2 shows a routine for determining the presence or absence of the communication system, and is executed by the engine control unit 2 at regular intervals.
[0018]
First, in step 1, it is determined that the ignition switch is turned on and the power of the engine control unit 2 is turned on.
[0019]
Subsequently, the process proceeds to step 2, where it is determined that the control for determining the presence or absence of the CAN communication system has not been completed.
[0020]
Subsequently, the routine proceeds to step 3, where the elapsed time T1 since the power of the engine control unit 2 is turned on is counted.
[0021]
Then, the process proceeds to step 4, where it is determined whether an acknowledgment returned from the other control units 2, 3,... Has been received.
[0022]
Here, if acknowledgment is not received, the process proceeds to step 5 to determine whether the counted elapsed time T1 exceeds a predetermined value Tout1 (for example, 10 seconds).
[0023]
Here, if the elapsed time T1 exceeds the predetermined value Tout1, the process proceeds to step 6, where it is determined that the vehicle has no CAN communication system without a CAN communication system, and the CAN switch for starting the CAN communication control program is turned off. , Cancel all CAN communication control including self-diagnosis.
[0024]
On the other hand, if acknowledgment is received in step 4, the process proceeds to step 8, where it is determined that the vehicle has a CAN communication system having a CAN communication system, the CAN switch for starting the CAN communication control program is turned on, and the CAN communication is started. Start control including self-diagnosis.
[0025]
When the vehicle without CAN or the vehicle with CAN is determined in this way, the routine proceeds to step 7, where the elapsed time T1 is cleared, and this routine ends.
[0026]
When the control units 2, 3,... Connectable to the CAN communication system are mounted on a vehicle having no CAN communication system, the control units 2, 3,. It is possible to eliminate such a problem that error information is displayed on a display panel or the like of a vehicle without erroneously performing self-diagnosis. As a result, the control units 2, 3,... Can be mounted on both the vehicle with CAN and the vehicle without CAN, and the management of these components becomes easy.
[Brief description of the drawings]
FIG. 1 is a system diagram showing an embodiment of the present invention.
FIG. 2 is a flowchart showing control contents.
[Explanation of symbols]
1 CAN signal line 2 Engine control unit 3 Transmission control unit 5 CAN chip