JP2002106408A - Electronic controller for vehicle - Google Patents

Electronic controller for vehicle

Info

Publication number
JP2002106408A
JP2002106408A JP2000297905A JP2000297905A JP2002106408A JP 2002106408 A JP2002106408 A JP 2002106408A JP 2000297905 A JP2000297905 A JP 2000297905A JP 2000297905 A JP2000297905 A JP 2000297905A JP 2002106408 A JP2002106408 A JP 2002106408A
Authority
JP
Japan
Prior art keywords
vehicle
external device
electronic control
serial communication
signal
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.)
Pending
Application number
JP2000297905A
Other languages
Japanese (ja)
Inventor
Mutsuo Obara
睦生 小原
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.)
Suzuki Motor Corp
Original Assignee
Suzuki Motor Corp
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 Suzuki Motor Corp filed Critical Suzuki Motor Corp
Priority to JP2000297905A priority Critical patent/JP2002106408A/en
Publication of JP2002106408A publication Critical patent/JP2002106408A/en
Pending legal-status Critical Current

Links

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To detect a serial communication line being activated by an external device at a start of communication with the external device by means of a wake-up signal detecting means, transmit a power-start signal to a power supply circuit, and start an electronic controller for a vehicle. SOLUTION: The electronic controller for a vehicle comprises a central processing device, a ROM connected to the central processing device, an external device and a serial communication port. Furthermore, a connector part that can be connected to the external device, the serial communication line for connecting the serial communication port to the connector part, and a branched part at a halfway point of the serial communication line are respectively provided. The electronic controller detects that the serial communication line is activated by the external device after the external device is connected to the connector part by means of the wake-up signal detection means that is connected to the branched part and also the power supply circuit.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は車両用電子制御装
置に係り、特に車外の外部装置とシリアル通信可能なシ
リアル通信ポートを備える車両用電子制御装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic control unit for a vehicle, and more particularly to an electronic control unit for a vehicle having a serial communication port capable of serial communication with an external device outside the vehicle.

【0002】[0002]

【従来の技術】近年、車両の電子制御化が進んでおり、
電子的なエンジン制御用ECU(ECM:Engine
Control Module)、トランスミッショ
ン制御用ECU(TCM:Transmission
Control Module)、アンチロックブレー
キシステム(ABS)制御用ECU等の多くのECU
(エンジン・コントロール・ユニット)が車両に搭載さ
れている。
2. Description of the Related Art In recent years, electronic control of vehicles has been advanced.
Electronic engine control ECU (ECM: Engine)
Control Module), Transmission Control ECU (TCM: Transmission)
Many ECUs such as Control Module) and ECU for controlling antilock brake system (ABS)
(Engine control unit) is mounted on the vehicle.

【0003】そして、これらECUは、夫々対応する装
置に対して指令信号を送信することにより、各装置を適
正に制御している。
[0003] These ECUs appropriately control each device by transmitting a command signal to a corresponding device.

【0004】現在、その多くの車載用電子コントローラ
は、シリアル通信機能を装備しており、シリアル通信機
能を用いて外部装置とデータを送受信することで、市場
出荷後の故障診断、アッセンブリラインでの車載用電子
コントローラへのプログラム書き込み等が実施されてい
る。
At present, many of the on-vehicle electronic controllers are equipped with a serial communication function. By transmitting and receiving data to and from an external device using the serial communication function, a failure diagnosis after shipment from the market and an assembly line are required. Program writing to the on-vehicle electronic controller is performed.

【0005】シリアル通信の主要な用途は、車両に不具
合が発生した場合に、各ECUに格納されたデータを読
み出して不具合の原因を解明するという故障診断であ
る。現在、アメリカ合衆国、EU、日本等では、4輪車
と排気ガス関連の車載用電子コントローラ(主にEC
M、TCM)と外部車両故障診断装置(テスタ)とをシ
リアル通信で接続し、外部車両故障診断装置に、排気ガ
ス関連の故障診断データ(故障を特定するためのコード
等)を出力することを法規で義務づけしている。
[0005] The main use of serial communication is for failure diagnosis in which, when a failure occurs in a vehicle, data stored in each ECU is read out to clarify the cause of the failure. Currently, in the United States, EU, Japan, etc., four-wheeled vehicles and vehicle-mounted electronic controllers related to exhaust gas (mainly EC
M, TCM) and an external vehicle failure diagnostic device (tester) connected by serial communication, and outputting exhaust gas-related failure diagnostic data (such as a code for identifying a failure) to the external vehicle failure diagnostic device. Mandatory by law.

【0006】これらの規制により車両のシリアル通信機
能の設定が急速に普及した。一般には、法規で求められ
るデータの出力以外に、車両メーカが故障の特定に役立
つと判断した数多くのデータの出力が行われている。
[0006] Due to these restrictions, the setting of the serial communication function of the vehicle has rapidly spread. In general, in addition to the output of data required by regulations, a large number of data output by a vehicle maker that is determined to be useful for identifying a failure are output.

【0007】また、故障診断以外にも、車両メーカのア
ッセンブリラインで、車載用電子コントローラと外部プ
ログラム装置とをシリアル通信で接続し、外部プログラ
ム装置から車載用電子コントローラのソフトウエアと定
数とを、車載用電子コントローラに転送し、車載用電子
コントローラのメモリ(フラッシュROM、EEPRO
Mが用いられる)にソフトウエアや定数が書き込まれ
る。
In addition to the failure diagnosis, an on-board electronic controller and an external program device are connected by serial communication through an assembly line of a vehicle manufacturer, and the software and constants of the on-vehicle electronic controller are exchanged from the external program device. The data is transferred to the on-board electronic controller, and the on-board electronic controller memory (flash ROM, EEPROM
M is used) and software and constants are written.

【0008】これを実現するために、車載用電子コント
ローラには、外部プログラム装置と通信を実施して、車
載用電子コントローラ内のROM(フラッシュROM、
EEPROM)にソフトウエアや定数を書き込むため
の、最低限のプログラムは備えている必要がある。
In order to realize this, the on-vehicle electronic controller communicates with an external program device, and the ROM (flash ROM,
It is necessary to have a minimum program for writing software and constants to an EEPROM.

【0009】前記車両用電子制御装置としては、特開2
000−101655号公報に開示されるものがある。
この公報に開示される電子制御装置は、少なくとも1つ
のシリアル通信モジュールを有するマイクロコンピュー
タと、マイクロコンピュータとシリアル通信ラインを介
して接続される書換可能な不揮発性メモリと、不揮発性
メモリとシリアル通信ラインを介して並列に接続される
少なくとも1つの入出力モジュールと、不揮発性メモリ
に対する送信データを一時的に蓄えるバッファとを具備
し、マイクロコンピュータは入出力モジュールと所定の
タイミング毎に通信を行うとともに、入出力モジュール
と通信を実行していないタイミングにてバッファの内容
を確認し、バッファに送信データが蓄えられているとき
にはシリアル通信ラインを介して不揮発性メモリとの通
信を実行し、ECU(電子制御装置)の通常制御中にお
ける更新データを電源電圧の瞬断等に影響されず、余分
な時間を費やすことなくEEPROM(書換可能な)不
揮発性メモリに反映している。
The electronic control unit for a vehicle is disclosed in
000-101655.
An electronic control device disclosed in this publication includes a microcomputer having at least one serial communication module, a rewritable nonvolatile memory connected to the microcomputer via a serial communication line, a nonvolatile memory and a serial communication line. And at least one input / output module connected in parallel via the buffer, and a buffer for temporarily storing transmission data to the nonvolatile memory, the microcomputer communicates with the input / output module at a predetermined timing, The contents of the buffer are checked at the timing when communication with the input / output module is not executed, and when transmission data is stored in the buffer, communication with the non-volatile memory is performed via the serial communication line, and the ECU (electronic control) is executed. Update data during normal control of Without being affected by interruption or the like of the source voltage, (rewritable) EEPROM without spending extra time it reflects the non-volatile memory.

【0010】ここで、従来の車載用電子コントローラの
シリアル通信のハード構成について説明すると、図8に
おいて、404は車両用電子制御装置(「車載用電子コ
ントローラ」ともいう。なお、車両用電子制御装置とし
ては、ECMやTCM等がある)、406は外部装置、
408は車両用電子制御装置404と外部装置406と
を連結するコネクタ部(「連結装置」ともいう)、41
0は車載用センサ、412は燃料噴射弁等のアクチュエ
ータ、414は他の制御装置(「コントローラ」ともい
う)、416は電源(「バッテリ」ともいう)、418
はイグニション(「IG」ともいう)スイッチである。
[0010] Here, the hardware configuration of serial communication of the conventional on-vehicle electronic controller will be described. In FIG. 8, reference numeral 404 denotes a vehicular electronic control device (also referred to as an "on-vehicle electronic controller". , 406 are external devices,
Reference numeral 408 denotes a connector unit (also referred to as a “connection device”) for connecting the vehicle electronic control device 404 and the external device 406;
Reference numeral 0 denotes an on-vehicle sensor; 412, an actuator such as a fuel injection valve; 414, another control device (also referred to as a "controller"); 416, a power supply (also referred to as a "battery");
Is an ignition (also referred to as "IG") switch.

【0011】前記車両に搭載される車両用電子制御装置
404には、外部装置406との間でシリアル通信によ
ってデータ通信を行うシリアル通信ポートである第1通
信ポート404Aと、後述する入力処理回路404Eか
らの信号に基づいて目的の制御に対する最適制御量を演
算し、この演算結果に基づいた制御信号を出力する中央
処理装置であるCPU404Bと、制御用のプログラム
やデータを格納するブロック書き換え可能なROM(工
場でプログラムする場合は、フラッシュメモリやEEP
ROM)404Cと、CPU404Bが演算を行うため
のデータを保存するRAM404Dと、車載用センサ4
10からの信号を入力して波形処理する入力処理回路4
04Eと、CPU404Bからの制御信号を受けてアク
チュエータ412を駆動する出力制御回路404Fと、
他の制御装置414との通信を行うための第2通信ポー
ト404Gと、電源供給回路404Hとが設けられてい
る。
The vehicle electronic control unit 404 mounted on the vehicle includes a first communication port 404A which is a serial communication port for performing data communication with an external device 406 by serial communication, and an input processing circuit 404E described later. CPU 404B, which is a central processing unit for calculating an optimal control amount for target control based on signals from the CPU and outputting a control signal based on the calculation result, and a block rewritable ROM for storing control programs and data (If programmed at the factory, flash memory or EEP
ROM) 404C, a RAM 404D for storing data for the CPU 404B to perform calculations, and the onboard sensor 4
Input processing circuit 4 for inputting signals from 10 and processing the waveform
04E, an output control circuit 404F that receives a control signal from the CPU 404B and drives the actuator 412,
A second communication port 404G for performing communication with another control device 414 and a power supply circuit 404H are provided.

【0012】また、外部装置406には、車両用電子制
御装置404との間でデータ通信を行う図示しない外部
装置側通信ポートや外部装置側CPU(図示せず)、車
両用電子制御装置404への新しいプログラムやデータ
のファイルが保存された記憶媒体(図示せず)、外部装
置側ROM(図示せず)、外部装置側RAM(図示せ
ず)等が設けられている。
The external device 406 includes an external device communication port (not shown) for performing data communication with the vehicle electronic control device 404, an external device CPU (not shown), and the vehicle electronic control device 404. A storage medium (not shown) in which a new program or data file is stored, an external device side ROM (not shown), an external device side RAM (not shown), and the like are provided.

【0013】前記コネクタ部408は、車両側第1コネ
クタ部408−1と外部装置側第2コネクタ部408−
2とからなり、前記シリアル通信ポートである第1通信
ポート404Aと車両側第1コネクタ部408−1とを
接続する第1シリアル通信ライン(「第1シリアル通信
信号ライン」ともいう)420を設けるとともに、外部
装置406の図示しない外部装置側通信ポートと外部装
置側第2コネクタ部408−2とを接続する第2シリア
ル通信ライン(「第2シリアル通信信号ライン」ともい
う)422を設け、車両用電子制御装置404に外部装
置406を接続可能とするものである。
The connector section 408 includes a first connector section 408-1 on the vehicle side and a second connector section 408- on the external device side.
A first serial communication line (also referred to as a "first serial communication signal line") 420 for connecting the first communication port 404A, which is the serial communication port, to the vehicle-side first connector unit 408-1. In addition, a second serial communication line (also referred to as “second serial communication signal line”) 422 for connecting an external device side communication port (not shown) of the external device 406 and the external device side second connector unit 408-2 is provided. An external device 406 can be connected to the electronic control unit 404.

【0014】更に、車両用電子制御装置404の前記電
源供給回路404Hには、図8に示す如く、車両側に位
置する電源416とイグニションスイッチ418とを接
続して設ける。そして、電源416は、電源ライン42
4とグランドライン426とにより、前記コネクタ部4
08を介して外部装置406に接続される。
Further, as shown in FIG. 8, a power supply 416 and an ignition switch 418 located on the vehicle side are provided in the power supply circuit 404H of the electronic control unit 404 for the vehicle. The power supply 416 is connected to the power supply line 42.
4 and the ground line 426, the connector portion 4
08 to the external device 406.

【0015】そして、実際の信号が伝わる第1、第2シ
リアル通信ライン420、422と、グランドライン4
26との2本があれば、シリアル通信は可能であるが、
一般的には車両から外部装置406へ電源を供給するた
めの電源ライン424が設けられる場合が多い。
Then, the first and second serial communication lines 420 and 422 through which actual signals are transmitted, and the ground line 4
If you have two, you can use serial communication,
Generally, a power supply line 424 for supplying power from the vehicle to the external device 406 is often provided.

【0016】また、電源供給回路404Hには、電源4
16から電源が供給されており、イグニションスイッチ
のOFF時には、バックアップRAM等の一部回路のみ
に電源を供給しているが、CPUや通信ポートには電源
を供給していないため、システムは休眠状態となってい
る。しかし、イグニションスイッチのON信号が入る
と、車載用電子コントローラの全デバイスに電源が供給
され、車両用電子制御装置404を起動する。
The power supply circuit 404H includes a power supply 4
When the ignition switch is turned off, the power is supplied only to some circuits such as the backup RAM, but the power is not supplied to the CPU and the communication port. It has become. However, when the ON signal of the ignition switch is turned on, power is supplied to all devices of the vehicle-mounted electronic controller, and the vehicle electronic control device 404 is activated.

【0017】アッセンブリラインでプログラムする場合
に、ROMはフラッシュROMが用いられ、その一部に
はプログラムする場合に最低限必要なプログラムのみが
既にプログラムされており、通信でエンジン制御のプロ
グラムを残りのROMエリアにダウンロードしている。
When programming by the assembly line, a flash ROM is used as the ROM, and only a minimum necessary program for programming is already programmed in a part of the ROM, and the engine control program is communicated with the remaining program. Downloaded to ROM area.

【0018】[0018]

【発明が解決しようとする課題】ところで、従来、車載
用電子コントローラが外部装置と通信して情報のやり取
りをする場合において、車両のイグニションスイッチを
ONして車載用電子コントローラを立ち上げ、所望の通
信を実施した後に、車両のイグニションスイッチをOF
Fする必要がある。
Conventionally, when an on-vehicle electronic controller communicates with an external device to exchange information, an ignition switch of a vehicle is turned on to start up the on-vehicle electronic controller, and a desired electronic controller is started. After performing communication, set the ignition switch of the vehicle to OF
F is needed.

【0019】そして、この方式で、例えば工場で車載用
電子コントローラへのプログラムの書き込みを、シリア
ル通信を用いて実施する場合、以下の不都合がある。 (1)イグニションスイッチのON・OFFを実施する
工数がかかる。 (2)前記車載用電子コントローラ以外のコントローラ
や電動システムも、イグニションスイッチのON時に起
動されてしまう。つまり、工場においては、まだ製造過
程であり、起動されては不具合(故障等)の生じるもの
が、多数存在する場合がある。しかも、同一製造機種で
あっても、個々の車両で組付・不具合状態は異なる場合
が多い。そして、イグニションスイッチのON時の起動
は、チェックシートなどの確認などの十分な配慮を必要
とする。このため、車載用電子コントローラへのプログ
ラムの書き込みは、製造工程の最終工程に限られてい
た。
In this method, for example, when a program is written to an on-vehicle electronic controller at a factory using serial communication, the following inconveniences arise. (1) It takes a lot of time to perform ON / OFF of the ignition switch. (2) Controllers and electric systems other than the on-vehicle electronic controller are also activated when the ignition switch is turned on. That is, in a factory, there are many cases in which a manufacturing process is still in progress and a failure (such as a failure) occurs when the system is started. In addition, even in the case of the same production model, there are many cases where the assembling / defective state is different in each vehicle. When the ignition switch is turned on, sufficient consideration such as checking a check sheet or the like is required. For this reason, the writing of the program to the in-vehicle electronic controller has been limited to the final step of the manufacturing process.

【0020】また、この方式においては、例えば市場で
不具合が発生した車両にテスタを接続して故障診断を行
う場合には、以下の不都合がある。 (1)車載用電子コントローラのデータを収集するに
は、イグニションスイッチをONする必要があった。こ
の場合、エンジン始動から停止までのデータしか取るこ
とができなかった。つまり、始動でのエンジン不調不具
合の多くは、起動時に発生しており、エンジン始動前の
状態についても調査する必要があるものである。
Further, in this system, for example, when a failure is diagnosed by connecting a tester to a vehicle having a problem in the market, there are the following disadvantages. (1) In order to collect data of the on-vehicle electronic controller, it was necessary to turn on an ignition switch. In this case, only data from the start to the stop of the engine could be obtained. That is, most of the engine malfunctions at the time of starting occur at the time of starting, and it is necessary to investigate the state before the engine is started.

【0021】[0021]

【課題を解決するための手段】そこで、この発明は、上
述不都合を除去するために、中央処理装置と、この中央
処理装置に接続されたROMと、車外の外部装置とシリ
アル通信可能なシリアル通信ポートとを備えた車両用電
子制御装置において、前記外部装置と接続可能なコネク
タ部を設け、前記シリアル通信ポートとコネクタ部とを
接続するシリアル通信ラインを設け、このシリアル通信
ラインの途中に分岐部を設け、この分岐部に接続され、
且つ電源供給回路に接続されるウェークアップ信号検出
手段を設け、前記外部装置をコネクタ部に接続した後に
は、外部装置がシリアル通信ラインをアクティブにした
ことを前記ウェークアップ信号検出手段により検出する
構成としたことを特徴とする。
SUMMARY OF THE INVENTION In order to eliminate the above-mentioned disadvantages, the present invention provides a central processing unit, a ROM connected to the central processing unit, and a serial communication capable of serial communication with an external device outside the vehicle. An electronic control device for a vehicle having a port, a connector portion connectable to the external device, a serial communication line connecting the serial communication port and the connector portion, and a branch portion in the middle of the serial communication line. Is connected to this branch,
And a wake-up signal detection unit connected to a power supply circuit, and after the external device is connected to the connector unit, the wake-up signal detection unit detects that the external device has activated the serial communication line. It is characterized by the following.

【0022】[0022]

【発明の実施の形態】上述の如く発明したことにより、
外部装置をコネクタ部に接続した後には、外部装置がシ
リアル通信ラインをアクティブにしたことをウェークア
ップ信号検出手段により検出し、電源供給回路に電源起
動信号を送信し、車両用電子制御装置を起動させること
を可能としている。
BEST MODE FOR CARRYING OUT THE INVENTION
After connecting the external device to the connector unit, the wake-up signal detection unit detects that the external device has activated the serial communication line, transmits a power supply start signal to the power supply circuit, and starts the vehicle electronic control device. It is possible.

【0023】[0023]

【実施例】以下図面に基づいてこの発明の実施例を詳細
に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings.

【0024】図1〜図7はこの発明の実施例を示すもの
である。図2及び図3において、2は車両、4は車両用
電子制御装置(「車載用電子コントローラ」ともいう。
なお、車両用電子制御装置としては、ECMやTCM等
がある)、6は外部装置、8は車両用電子制御装置4と
外部装置6とを連結するコネクタ部(「連結装置」とも
いう)、10は車載用センサ、12は燃料噴射弁等のア
クチュエータ、14は他の制御装置(「コントローラ」
ともいう)、16は電源(「バッテリ」ともいう)、1
8はイグニション(「IG」ともいう)スイッチであ
る。
FIGS. 1 to 7 show an embodiment of the present invention. 2 and 3, reference numeral 2 denotes a vehicle, and reference numeral 4 denotes a vehicle electronic control device (also referred to as “vehicle electronic controller”).
In addition, as the vehicle electronic control device, there are ECM, TCM, etc.), 6 is an external device, 8 is a connector unit (also referred to as a “connection device”) for connecting the vehicle electronic control device 4 and the external device 6, 10 is a vehicle sensor, 12 is an actuator such as a fuel injection valve, and 14 is another control device (“controller”).
, 16 is a power source (also called “battery”), 1
Reference numeral 8 denotes an ignition (also referred to as "IG") switch.

【0025】前記車両2に搭載される車両用電子制御装
置4には、外部装置6との間でシリアル通信によってデ
ータ通信を行うシリアル通信ポートである第1通信ポー
ト4Aと、後述する入力処理回路4Eからの信号に基づ
いて目的の制御に対する最適制御量を演算し、この演算
結果に基づいた制御信号を出力する中央処理装置である
CPU4Bと、制御用のプログラムやデータを格納する
ブロック書き換え可能なROM(工場でプログラムする
場合は、フラッシュメモリやEEPROM)4Cと、C
PU4Bが演算を行うためのデータを保存するRAM4
Dと、車載用センサ10からの信号を入力して波形処理
する入力処理回路4Eと、CPU4Bからの制御信号を
受けてアクチュエータ12を駆動する出力制御回路4F
と、他の制御装置14との通信を行うための第2通信ポ
ート4Gと、電源供給回路4Hとが設けられている。
The vehicle electronic control unit 4 mounted on the vehicle 2 includes a first communication port 4A which is a serial communication port for performing data communication with an external device 6 by serial communication, and an input processing circuit described later. CPU 4B, which is a central processing unit that calculates an optimal control amount for the target control based on the signal from 4E, and outputs a control signal based on the calculation result, and a block rewritable block that stores control programs and data. ROM (flash memory or EEPROM if programmed at the factory) 4C
RAM4 for storing data for PU4B to perform calculations
D, an input processing circuit 4E for inputting a signal from the in-vehicle sensor 10 to perform waveform processing, and an output control circuit 4F for driving the actuator 12 in response to a control signal from the CPU 4B.
, A second communication port 4G for performing communication with another control device 14, and a power supply circuit 4H.

【0026】また、外部装置6には、車両用電子制御装
置4との間でデータ通信を行う図示しない外部装置側通
信ポートや外部装置側CPU(図示せず)、車両用電子
制御装置4への新しいプログラムやデータのファイルが
保存された記憶媒体(図示せず)、外部装置側ROM
(図示せず)、外部装置側RAM(図示せず)等が設け
られている。
The external device 6 includes an external device communication port (not shown) for performing data communication with the vehicle electronic control device 4, an external device CPU (not shown), and the vehicle electronic control device 4. Storage medium (not shown) in which new program and data files are stored, external device ROM
(Not shown), an external device-side RAM (not shown), and the like.

【0027】前記コネクタ部8は、車両側第1コネクタ
部8−1と外部装置側第2コネクタ部8−2とからな
り、前記シリアル通信ポートである第1通信ポート4A
と車両側第1コネクタ部8−1とを接続する第1シリア
ル通信ライン(「第1シリアル通信信号ライン」ともい
う)20を設けるとともに、外部装置6の図示しない外
部装置側通信ポートと外部装置側第2コネクタ部8−2
とを接続する第2シリアル通信ライン(「第2シリアル
通信信号ライン」ともいう)22を設け、車両用電子制
御装置4に外部装置6を接続可能とするものである。
The connector section 8 comprises a first connector section 8-1 on the vehicle side and a second connector section 8-2 on the external device, and the first communication port 4A which is the serial communication port.
A first serial communication line (also referred to as a “first serial communication signal line”) 20 for connecting the external device 6 to the vehicle-side first connector section 8-1, and an external device-side communication port (not shown) of the external device 6 and the external device Side second connector section 8-2
And a second serial communication line (also referred to as a “second serial communication signal line”) 22 for connecting the external device 6 to the vehicle electronic control device 4.

【0028】更に、車両用電子制御装置4の前記電源供
給回路4Hには、図3に示す如く、車両2側に位置する
電源16とイグニションスイッチ18とを接続して設け
る。そして、電源16は、電源ライン24とグランドラ
イン26とにより、前記コネクタ部8を介して外部装置
6に接続されるものである。
Further, as shown in FIG. 3, a power supply 16 located on the vehicle 2 side and an ignition switch 18 are connected and provided in the power supply circuit 4H of the electronic control unit 4 for a vehicle. The power supply 16 is connected to the external device 6 via the power supply line 24 and the ground line 26 via the connector unit 8.

【0029】このとき、前記車両側第1コネクタ部8−
1とを接続する第1シリアル通信ライン20の途中に分
岐部28を設け、この分岐部28に接続され、且つ電源
供給回路4Hに接続されるウェークアップ信号検出手段
30を設け、前記外部装置6をコネクタ部8に接続した
後には、外部装置6が第1、第2シリアル通信ライン2
0、22をアクティブにしたことを前記ウェークアップ
信号検出手段30により検出する構成とする。
At this time, the vehicle-side first connector portion 8-
A wake-up signal detecting means 30 connected to the branch section 28 and connected to the power supply circuit 4H. After being connected to the connector section 8, the external device 6 connects the first and second serial communication lines 2 to each other.
The wake-up signal detecting means 30 detects that 0 and 22 have been activated.

【0030】詳述すれば、前記電源供給回路4Hには、
電源16から電源が供給されており、イグニションスイ
ッチ18がOFF、且つウェークアップ信号検出手段3
0からの起動要求信号がOFFの場合には、バックアッ
プRAM等の一部回路のみに電源を供給しているが、シ
リアル通信ポートである第1通信ポート4AやCPU4
Bに電源を供給していないため、システムは休眠状態と
なっている。
More specifically, the power supply circuit 4H includes:
Power is supplied from the power supply 16, the ignition switch 18 is turned off, and the wake-up signal detecting means 3 is turned on.
When the start request signal from 0 is OFF, power is supplied only to some circuits such as the backup RAM, but the first communication port 4A which is a serial communication port and the CPU 4
Since power is not supplied to B, the system is in a sleep state.

【0031】当然に、イグニションスイッチ18のON
信号が入力されると、前記車両2に搭載される車両用電
子制御装置4の全デバイスに電源が供給され、車両用電
子制御装置4を起動し、シリアル通信機能も稼働する
が、これ以外にも、イグニションスイッチ18がOFF
であっても、外部装置6が第1、第2シリアル通信ライ
ン20、22をアクティブ(グランドレベルとの電位差
が一定値以上となった状態)となった場合に、前記ウェ
ークアップ信号検出手段30は、グランドレベルとの第
1、第2シリアル通信ライン20、22の電位差を検出
し、前記電源供給回路4Hへの起動要求信号をONとし
て、車両用電子制御装置4の全デバイスに電源を供給
し、車両用電子制御装置4を起動する。
Naturally, the ignition switch 18 is turned on.
When a signal is input, power is supplied to all the devices of the vehicle electronic control device 4 mounted on the vehicle 2 to activate the vehicle electronic control device 4 and also operate the serial communication function. The ignition switch 18 is OFF
However, when the external device 6 activates the first and second serial communication lines 20 and 22 (the state in which the potential difference from the ground level becomes a certain value or more), the wake-up signal detection means 30 , The potential difference between the first and second serial communication lines 20 and 22 with respect to the ground level is detected, and a start request signal to the power supply circuit 4H is turned on to supply power to all devices of the vehicle electronic control device 4. Then, the vehicle electronic control unit 4 is started.

【0032】また、前記イグニションスイッチ18のO
FF時に、ウェークアップ信号検出手段30は、信号を
検出した後に、所定時間内に通信コマンドが送信されな
かった時、つまり通信の終了から一定時間後に前記電源
供給回路4Hへの起動要求信号をOFFとし、電源供給
を制限し、車両用電子制御装置4を停止、すなわち電源
供給を停止するものである。
Also, when the ignition switch 18
At the time of FF, the wake-up signal detecting means 30 turns off the start request signal to the power supply circuit 4H when a communication command is not transmitted within a predetermined time after detecting the signal, that is, after a fixed time from the end of communication. The power supply is restricted, and the vehicle electronic control unit 4 is stopped, that is, the power supply is stopped.

【0033】ここで、テスタから信号がこない状態の通
信ラインの電位例(図4参照)とテスタから信号が送信
された状態の通信ラインの電位例(図5参照)とについ
て説明する。
Here, a description will be given of an example of the potential of a communication line in a state where a signal does not come from a tester (see FIG. 4) and an example of a potential of a communication line in a state where a signal is transmitted from a tester (see FIG. 5).

【0034】図4のテスタから信号がこない状態の通信
ラインの電位例においては、通信休止状態を0V(LO
W)としたが、システムによっては通信休止状態の電圧
が0Vでない(HIGH)の場合、あるいは負電位の場
合がある。しかし、いずれにしても通信休止状態では電
位の変化がない。
In the example of the potential of the communication line where no signal comes from the tester shown in FIG.
However, depending on the system, the voltage in the communication pause state may not be 0 V (HIGH) or may be negative. However, in any case, the potential does not change in the communication pause state.

【0035】また、図5のテスタから信号が送信された
状態の通信ラインの電位例においては、通信休止状態を
0V(LOW)からの最初の電位変化を、前記ウェーク
アップ信号検出手段30が検出し、電源供給回路4Hへ
の起動要求信号をONとする。再度、通信休止状態を0
V(LOW)が所定時間継続した後には、電源供給回路
4Hへの起動要求信号をOFFとする。
In the example of the potential of the communication line in the state where the signal is transmitted from the tester in FIG. 5, the wake-up signal detecting means 30 detects the first potential change from 0 V (LOW) in the communication pause state. Then, the activation request signal to the power supply circuit 4H is turned ON. Again, set the communication pause state to 0
After V (LOW) has continued for a predetermined time, the activation request signal to the power supply circuit 4H is turned off.

【0036】なお、前記外部装置6としては、故障診断
装置によって構成することが可能である。
The external device 6 can be constituted by a failure diagnosis device.

【0037】前記外部装置6を故障診断装置によって構
成すると、外部装置6は、故障診断のために用いられ、
主に車両2から通信ラインを介して送信されるデータの
表示、保存をする機能を有することとなる。
When the external device 6 is constituted by a failure diagnosis device, the external device 6 is used for failure diagnosis,
It has a function of displaying and storing data mainly transmitted from the vehicle 2 via the communication line.

【0038】そして、電源は、内蔵電池の場合もある
が、ほとんどの場合、車両側第1コネクタ部8−1の電
源ライン24から電源が供給される。
The power source may be a built-in battery, but in most cases, power is supplied from the power supply line 24 of the first connector 8-1 on the vehicle side.

【0039】この場合、特にイグニションスイッチ18
がOFF時でも、データの収集・保存することが可能で
あることが最大のメリットとなり、そのため、エンジン
停止(オルタネータ非発電時)でも、前記外部装置6で
ある故障診断装置による電力消耗を防止するため、エン
ジン停止のデータ収集では通信時のみ外部装置6である
故障診断装置の全機能をONとするタイマ起動を備える
ことが好ましい(エンジン停止中のデータ収集はエンジ
ン稼働中ほど頻繁である必要はない)。
In this case, in particular, the ignition switch 18
The greatest advantage is that data can be collected and stored even when the power is OFF, and therefore, even when the engine is stopped (when the alternator is not generating power), power consumption by the failure diagnosis device that is the external device 6 is prevented. Therefore, it is preferable that the data collection of the engine stop be provided with a timer start that turns on all the functions of the failure diagnosis device that is the external device 6 only at the time of communication (the data collection while the engine is stopped needs to be more frequent as the engine is running). Absent).

【0040】このとき、車両用電子制御装置4は、外部
装置6である故障診断装置から要求された指定のデータ
を出力するものである。
At this time, the vehicle electronic control unit 4 outputs the specified data requested by the failure diagnosis device which is the external device 6.

【0041】そして、車両用電子制御装置4へのプログ
ラムは、以下の手順で実施される。 (1)車両側第1コネクタ部8−1に外部装置6である
故障診断装置の外部装置側第2コネクタ部8−2を接続
する。 (2)外部装置6である故障診断装置の診断データ収集
・保存プログラムを立ち上げる。 (3)その後、作業者は、所定日数またはデータが一杯
になり、その表示・警報があるまでこのシステムを放置
しておく。
The program for the vehicle electronic control unit 4 is executed in the following procedure. (1) The external device-side second connector 8-2 of the failure diagnosis device, which is the external device 6, is connected to the vehicle-side first connector 8-1. (2) Start up a diagnostic data collection / storing program for the failure diagnostic device, which is the external device 6. (3) Thereafter, the operator leaves the system until the predetermined number of days or data is full and there is a display / alarm thereof.

【0042】また、前記外部装置6としては、プログラ
ム書き込み装置によって構成することが可能である。
The external device 6 can be constituted by a program writing device.

【0043】前記外部装置6をプログラム書き込み装置
によって構成すると、外部装置6は、アッセンブリライ
ンに設置される製造装置となる。
When the external device 6 is constituted by a program writing device, the external device 6 is a manufacturing device installed on an assembly line.

【0044】そして、接続されていない場合でも、いつ
も通信初期化信号を出力して応答があるまで繰り返すシ
ステムや車両側第1コネクタ部8−1を経由して、車両
2側から供給される電源ライン24の電位を検出して通
信初期化信号を出力するシステム等がある。
Even when not connected, a power supply supplied from the vehicle 2 via a system that constantly outputs a communication initialization signal and repeats until there is a response or the vehicle-side first connector 8-1. There is a system that detects the potential of the line 24 and outputs a communication initialization signal.

【0045】アッセンブリラインには、いろいろな機種
が流れており、機種毎にプログラムすべきソフトウエア
と定数とが異なる。どのソフトウエアと定数とを選択す
るかは、アッセンブリラインのシステムで異なり、車両
2に張られた機種を特定できるバーコードをバーコード
リーダで読み取って、その情報を前記外部装置6である
プログラム書き込み装置に送信して、ソフトウエアと定
数とを決定したり、車両用電子制御装置4の車両ハーネ
ス側に機種特有の接続を施し、車両用電子制御装置4が
その接続状態を認識して機種と特定し、その情報を車両
用電子制御装置4から外部装置6であるプログラム書き
込み装置へ送信し、ソフトウエアと定数とを決定する等
の方法がある。
Various types of models are flowing in the assembly line, and software to be programmed and constants are different for each type. Which software and constant to select depends on the assembly line system. A bar code that can identify the model attached to the vehicle 2 is read by a bar code reader, and the information is written in the external device 6 as a program writing program. To the device to determine software and constants, or to make a model-specific connection on the vehicle harness side of the vehicle electronic control unit 4, and the vehicle electronic control unit 4 recognizes the connection state and There is a method of specifying the information, transmitting the information from the vehicle electronic control device 4 to the program writing device which is the external device 6, and determining software and constants.

【0046】このとき、アッセンブリラインでプログラ
ムされる車両用電子制御装置4には、その車両用電子制
御装置4が適用可能な機種全てソフトウエアと定数とが
プログラムされており、アッセンブリラインでは、どの
ソフトウエアと定数とがプログラムを選択するかを制御
するデータ部分のみプログラムするシステムやプログラ
ムに最低限必要な通信等のソフトウエアと定数のみがプ
ログラムされており、ほとんどのシフトウエアと定数と
は、アッセンブリラインでプログラムすることを前提と
したシステムがある。なお、プログラムされるデバイス
には、フラッシュROMやEEPROMが用いられる。
At this time, software and constants are programmed in the vehicle electronic control device 4 programmed in the assembly line for all models to which the vehicle electronic control device 4 can be applied. Only software and constants, such as communication and the minimum required for programs, are programmed, and only shift data and constants are programmed. There are systems that are premised on being programmed on an assembly line. Note that a flash ROM or an EEPROM is used as a device to be programmed.

【0047】次に、図1の制御用フローチャートに沿っ
て作用を説明する。
Next, the operation will be described with reference to the control flowchart of FIG.

【0048】先ず、前記ウェークアップ信号検出手段3
0において、第1、第2シリアル通信ライン20、22
の電位が”H”であることを検出したか否の判断(10
2)が行われ、この判断(102)がNOの場合には、
ウェークアップ信号検出手段30において、第1、第2
シリアル通信ライン20、22の電位が”L”であるこ
とを検出したか否の判断(104)に移行し、判断(1
02)がYESの場合には、電源供給回路4Hは車両用
電子制御装置4の全デバイスに電源を供給して車両用電
子制御装置4を起動し(106)、判断(102)に戻
る。
First, the wake-up signal detecting means 3
0, the first and second serial communication lines 20, 22
To determine whether or not the potential of the “H” is “H” (10
2) is performed, and if this determination (102) is NO,
In the wake-up signal detection means 30, the first and second
The process proceeds to the judgment (104) as to whether or not the potential of the serial communication lines 20 and 22 is "L", and the judgment (1
If 02) is YES, the power supply circuit 4H supplies power to all the devices of the vehicle electronic control device 4, activates the vehicle electronic control device 4 (106), and returns to the determination (102).

【0049】上述のウェークアップ信号検出手段30に
おいて、第1、第2シリアル通信ライン20、22の電
位が”L”であることを検出したか否の判断(104)
がNOの場合には、そのまま判断(102)に戻り、判
断(104)がYESの場合には、電源供給回路4Hは
車両用電子制御装置4の各デバイスへの電源供給を停止
し(108)、判断(102)に戻る。
It is determined whether or not the wake-up signal detecting means 30 detects that the potentials of the first and second serial communication lines 20 and 22 are "L" (104).
Is NO, the process directly returns to the determination (102), and if the determination (104) is YES, the power supply circuit 4H stops power supply to each device of the vehicle electronic control unit 4 (108). Returning to the determination (102).

【0050】また、前記外部装置6を故障診断装置によ
って構成した際には、イグニションスイッチ18のOF
F時に、図6に示す如く、外部装置6である故障診断装
置がタイマ起動され(202)、この外部装置6である
故障診断装置からウェークアップ用信号が車両用電子制
御装置4へ送信される(204)。この時点では、まだ
通信は成立しない。
When the external device 6 is constituted by a failure diagnosis device, the ON / OFF of the ignition switch 18
At the time of F, as shown in FIG. 6, the failure diagnosis device as the external device 6 is started by a timer (202), and a wake-up signal is transmitted from the failure diagnosis device as the external device 6 to the vehicle electronic control device 4 (FIG. 6). 204). At this point, communication has not yet been established.

【0051】前記ウェークアップ信号検出手段30は、
第1、第2シリアル通信ライン20、22のウェークア
ップ信号(電位差)を検出し、電源供給回路4Hへの起
動要求信号をONとして、車両用電子制御装置4の全デ
バイスに電源が供給され、車両用電子制御装置4がO
N、つまり起動する(206)。
The wake-up signal detecting means 30 comprises:
A wake-up signal (potential difference) of the first and second serial communication lines 20 and 22 is detected, a start request signal to the power supply circuit 4H is turned on, and power is supplied to all the devices of the vehicle electronic control device 4, and Electronic control unit 4 is O
N, that is, start (206).

【0052】この時点で車両用電子制御装置4の通信ポ
ートの機能が起動される。
At this point, the function of the communication port of the vehicle electronic control unit 4 is activated.

【0053】また、前記外部装置6である故障診断装置
は、再度、通信初期化信号を車両用電子制御装置4へ送
信し、この車両用電子制御装置4は、通信が成立したこ
とを前記外部装置6である故障診断装置に通知するため
に、通信初期化信号に対して応答を返す。
Further, the failure diagnosis device, which is the external device 6, transmits a communication initialization signal to the vehicle electronic control device 4 again, and the vehicle electronic control device 4 confirms that the communication has been established. A response is returned to the communication initialization signal in order to notify the failure diagnosis device which is the device 6.

【0054】そして、前記外部装置6である故障診断装
置は、車両用電子制御装置4に所望のデータ、つまり診
断データを要求し、車両用電子制御装置4から診断デー
タを受信したら、外部装置6である故障診断装置内に記
録する(208)。
The failure diagnostic device, which is the external device 6, requests the vehicle electronic control device 4 for desired data, that is, diagnostic data, and receives the diagnostic data from the vehicle electronic control device 4; (208).

【0055】更に、外部装置6である故障診断装置は、
要求したデータの収集・保存が完了したら、通信休止状
態(”L”)且つ主要機能のOFF状態(パワーセーブ
のため)に移行する(210)。
Further, the failure diagnosis device which is the external device 6 includes:
When the collection and storage of the requested data is completed, the state shifts to the communication pause state ("L") and the OFF state of the main function (for power saving) (210).

【0056】前記ウェークアップ信号検出手段30は、
通信の終了から一定時間以上”L”となったことを検出
し、電源供給回路4Hへの起動要求信号をOFFとし
て、電源供給を制限し、車両用電子制御装置4内の各デ
バイスへの電源供給を停止して車両用電子制御装置4を
停止する(212)。
The wake-up signal detecting means 30 comprises:
Detecting that the signal has become “L” for a certain period of time from the end of communication, turning off a start request signal to the power supply circuit 4H, restricting power supply, and supplying power to each device in the electronic control unit 4 for a vehicle. The supply is stopped to stop the vehicle electronic control unit 4 (212).

【0057】前記外部装置6である故障診断装置と車両
用電子制御装置4の上述したパワーセーブ機能によりエ
ンジン停止中の状態でも長期に渡って各種データ(外気
温、水温などの各種センサ情報)を収集・保存可能とな
る。
Various data (various sensor information such as outside air temperature, water temperature, etc.) can be stored over a long period of time even when the engine is stopped by the above-mentioned power saving function of the failure diagnosis device which is the external device 6 and the above-mentioned power saving function of the vehicle electronic control device 4. It can be collected and stored.

【0058】更にまた、前記外部装置6をプログラム書
き込み装置によって構成した際には、図7に示す如く、
アッセンブリラインでプログラム工程に入った車両2の
車両側第1コネクタ部8−1に外部装置6をプログラム
書き込み装置の外部装置側第2コネクタ部8−2を接続
する(302)。
Further, when the external device 6 is constituted by a program writing device, as shown in FIG.
The external device 6 is connected to the vehicle-side first connector portion 8-1 of the vehicle 2 which has entered the programming process on the assembly line, and the external device-side second connector portion 8-2 of the program writing device is connected (302).

【0059】すると、外部装置6であるプログラム書き
込み装置から車両用電子制御装置4へウェークアップ用
信号が送信される(304)。この時点では、まだ通信
は成立していない。
Then, a wake-up signal is transmitted from the program writing device, which is the external device 6, to the vehicle electronic control device 4 (304). At this point, communication has not been established yet.

【0060】前記ウェークアップ信号検出手段30は、
第1、第2シリアル通信ライン20、22のウェークア
ップ信号(電位差)を検出し、電源供給回路4Hへの起
動要求信号をONとして、車両用電子制御装置4の全デ
バイスに電源が供給され、車両用電子制御装置4がO
N、つまり起動する(306)。
The wake-up signal detecting means 30
A wake-up signal (potential difference) of the first and second serial communication lines 20 and 22 is detected, a start request signal to the power supply circuit 4H is turned on, and power is supplied to all the devices of the vehicle electronic control device 4, and Electronic control unit 4 is O
N, that is, start (306).

【0061】この時点で車両用電子制御装置4の通信ポ
ートの機能が起動される。
At this point, the function of the communication port of the vehicle electronic control unit 4 is activated.

【0062】また、前記外部装置6であるプログラム書
き込み装置は、再度、通信初期化信号を車両用電子制御
装置4へ送信し、この車両用電子制御装置4は、通信が
成立したことを前記外部装置6であるプログラム書き込
み装置に通知するために、通信初期化信号に対して応答
を返す。
The program writing device, which is the external device 6, transmits a communication initialization signal to the vehicle electronic control device 4 again, and the vehicle electronic control device 4 confirms that communication has been established. In order to notify the program writing device which is the device 6, a response is returned to the communication initialization signal.

【0063】この時点で、外部装置6であるプログラム
書き込み装置は、車両用電子制御装置4にコントローラ
識別番号を要求する(308)。
At this point, the program writing device, which is the external device 6, requests the vehicle electronic control device 4 for a controller identification number (308).

【0064】そして、前記外部装置6であるプログラム
書き込み装置は、車両用電子制御装置4にコントローラ
識別番号に適合したプログラムと定数とを送信し、車両
用電子制御装置4は、内部のフラッシュROMやEEP
ROMに書き込む(310)。
The program writing device, which is the external device 6, transmits a program and a constant corresponding to the controller identification number to the vehicle electronic control device 4, and the vehicle electronic control device 4 transmits the program to the internal flash ROM or the like. EEP
Write to the ROM (310).

【0065】書き込みが完了したら、車両2側または外
部装置6であるプログラム書き込み装置側で認識サイン
(ランプ点灯、ブザー警報)を出す(312)。
When the writing is completed, a recognition sign (lamp lighting, buzzer alarm) is issued on the vehicle 2 side or the program writing device side which is the external device 6 (312).

【0066】なお、作業者が外部装置側第2コネクタ部
8−2を抜き、通信休止状態となり、その後に通信ライ
ンが通信の終了から一定時間以上”L”となった場合に
は、前記ウェークアップ信号検出手段30は、電源供給
回路4Hへの起動要求信号をOFFとして、電源供給を
制限し、車両用電子制御装置4内の各デバイスへの電源
供給を停止して車両用電子制御装置4を停止する(31
4)。
When the worker disconnects the second connector 8-2 on the external device side and enters a communication pause state, and thereafter the communication line becomes "L" for a certain period of time after the end of the communication, the wake-up is performed. The signal detection unit 30 turns off the start request signal to the power supply circuit 4H, restricts the power supply, stops the power supply to each device in the vehicle electronic control device 4, and turns off the vehicle electronic control device 4. Stop (31
4).

【0067】これにより、1つの車両用電子制御装置4
と外部装置6との通信開始時において、外部装置6が第
1、第2シリアル通信ライン20、22をアクティブに
したことを、ウェークアップ信号検出手段30によって
検出することで、電源供給回路4Hに電源起動信号を送
信し、前記車両用電子制御装置4を起動させることが可
能となり、1つの車両用電子制御装置4の電源を入れる
ためだけに、イグニションスイッチ18をONする必要
がないので、外部装置6と通信状態にある1つの車両用
電子制御装置4を除く、他の車載コントローラが起動さ
れることがなく、実用上有利である。
Thus, one vehicle electronic control unit 4
When communication between the external device 6 and the external device 6 is started, the wake-up signal detecting means 30 detects that the external device 6 has activated the first and second serial communication lines 20 and 22, so that the power supply circuit 4 </ b> H is powered. A start signal can be transmitted to start the vehicle electronic control unit 4, and it is not necessary to turn on the ignition switch 18 just to turn on the power of one vehicle electronic control unit 4. Except for one vehicle electronic control unit 4 that is in communication with the vehicle 6, no other vehicle-mounted controller is activated, which is practically advantageous.

【0068】また、前記イグニションスイッチ18のO
FF時に、ウェークアップ信号検出手段30は、信号を
検出した後に、所定時間内に通信コマンドが送信されな
かった時、つまり通信の終了から一定時間後に前記電源
供給回路4Hへの起動要求信号をOFFとし、電源供給
を制限し、車両用電子制御装置4を停止、すなわち電源
供給を停止することにより、バッテリ上がりを確実に防
止することができ、商品力の向上に貢献し得るものであ
る。
Also, when the ignition switch 18
At the time of FF, the wake-up signal detecting means 30 turns off the start request signal to the power supply circuit 4H when a communication command is not transmitted within a predetermined time after detecting the signal, that is, after a fixed time from the end of communication. By limiting the power supply and stopping the vehicle electronic control unit 4, that is, stopping the power supply, it is possible to reliably prevent the battery from running down, and to contribute to the improvement of the product power.

【0069】更に、前記外部装置6を、故障診断装置に
よって構成すれば、エンジン停止時においても、外部装
置6である故障診断装置によって、車両用電子制御装置
4の故障診断及びデータの収集をすることができ、故障
原因の早期発見と解決、更には信頼性の向上に貢献し得
るとともに、エンジン不調の多くは、エンジン始動前の
車両用電子制御装置4の起動時に発生しているが、この
車両用電子制御装置4の起動時から故障診断可能なた
め、従来、診断不可能であったこの車両用電子制御装置
4の起動時からエンジン始動時までの状態を診断可能と
なり、実用上有利である。
Furthermore, if the external device 6 is constituted by a failure diagnosis device, even when the engine is stopped, the failure diagnosis device, which is the external device 6, diagnoses the failure of the vehicle electronic control unit 4 and collects data. This can contribute to the early detection and resolution of the cause of the failure, and further to the improvement of reliability. In addition, most of the engine malfunctions occur when the vehicle electronic control unit 4 is started before the engine is started. Since the failure diagnosis can be performed from the start of the vehicle electronic control device 4, the state from the start of the vehicle electronic control device 4 to the start of the engine, which was conventionally impossible to diagnose, can be diagnosed, which is practically advantageous. is there.

【0070】更にまた、前記外部装置6を、プログラム
書き込み装置によって構成すれば、車両用電子制御装置
4にプログラムを書き込むために必要であった、車両用
電子制御装置4起動のための前記イグニションスイッチ
18のON・OFFする工程が削減可能であるととも
に、前記ウェークアップ信号検出手段30を備えていれ
ば、工場の製造工程のどこでもプログラムを書き込むこ
とが可能となり、製造工程レイアウト上の自由度が増
加、すなわち、最適な位置での書き込みが可能であり、
しかもプログラムの書き込みが必要な1つの車両用電子
制御装置4のみ起動させることができ、前記イグニショ
ンスイッチ18のONによる起動時に起こる、組付途中
で、システムが未完成の他のコントローラにも起動信号
が送信されてしまうという不具合を防止することがで
き、組付性の向上や故障率の低減に貢献し得る。
Further, if the external device 6 is constituted by a program writing device, the ignition switch for starting the vehicle electronic control device 4 which is necessary for writing a program in the vehicle electronic control device 4 is required. 18 can be reduced, and if the wake-up signal detecting means 30 is provided, a program can be written anywhere in the manufacturing process of the factory, and the degree of freedom in manufacturing process layout increases. That is, writing at the optimal position is possible,
In addition, only one vehicle electronic control unit 4 that needs to write a program can be started. When the ignition switch 18 is turned on, the system is not assembled. Can be prevented from being transmitted, which can contribute to an improvement in assemblability and a reduction in the failure rate.

【0071】なお、この発明は上述実施例に限定される
ものではなく、種々の応用改変が可能である。
Note that the present invention is not limited to the above-described embodiment, and various application modifications are possible.

【0072】例えば、この発明の実施例においては、車
両用電子制御装置にインプット機能、つまり外部装置に
よって書き込まれる機能のみを有する構成としたが、前
記車両用電子制御装置に、データのインプット機能のみ
でなく、アウトプット機能をも付加する特別構成とする
ことも可能である。
For example, in the embodiment of the present invention, the electronic control unit for a vehicle has only an input function, that is, a function written only by an external device. However, the electronic control unit for a vehicle has only a data input function. In addition, a special configuration may be adopted in which an output function is also added.

【0073】すなわち、前記車両用電子制御装置は、外
部装置によるデータのインプット機能を有するととも
に、他の車両用電子制御装置へのデータ送信機能である
アウトプット機能をも有するものである。
That is, the electronic control unit for a vehicle has a function of inputting data from an external device and also has an output function of transmitting data to another electronic control unit for a vehicle.

【0074】さすれば、外部装置がなくとも、アウトプ
ット機能を有する同種の車両があれば、他の車両用電子
制御装置へのデータ送信が可能となり、書き込み作業を
容易に行うことができるとともに、学習制御した後のデ
ータをアウトプットすれば、仕様を揃えることができ、
しかも緊急避難時にも対処でき、実用上有利である。
In this case, even if there is no external device, if there is a vehicle of the same type having an output function, data transmission to another vehicle electronic control device becomes possible, and writing work can be performed easily. , If the data after learning control is output, the specifications can be aligned,
Moreover, it can cope with emergency evacuation, which is practically advantageous.

【0075】また、アウトプット機能とともに、表示機
能を付加すれば、車両間のデータ比較を行い、故障部分
を前記表示機能によって表示し、迅速且つ確実な故障診
断を行うことも可能である。
If a display function is added in addition to the output function, it is possible to compare data between vehicles, display a faulty part by the display function, and perform quick and reliable fault diagnosis.

【0076】[0076]

【発明の効果】以上詳細に説明した如くこの本発明によ
れば、中央処理装置と、この中央処理装置に接続された
ROMと、車外の外部装置とシリアル通信可能なシリア
ル通信ポートとを備えた車両用電子制御装置において、
外部装置と接続可能なコネクタ部を設け、シリアル通信
ポートとコネクタ部とを接続するシリアル通信ラインを
設け、このシリアル通信ラインの途中に分岐部を設け、
この分岐部に接続され、且つ電源供給回路に接続される
ウェークアップ信号検出手段を設け、外部装置をコネク
タ部に接続した後には、外部装置がシリアル通信ライン
をアクティブにしたことをウェークアップ信号検出手段
により検出する構成としたので、1つの車両用電子制御
装置と外部装置との通信開始時において、外部装置がシ
リアル通信ラインをアクティブにしたことを、ウェーク
アップ信号検出手段によって検出することで、電源供給
回路に電源起動信号を送信し、前記車両用電子制御装置
を起動させることが可能となり、1つの車両用電子制御
装置の電源を入れるためだけに、イグニションスイッチ
をONする必要がないので、外部装置と通信状態にある
1つの車両用電子制御装置を除く、他の車載コントロー
ラが起動されることがなく、実用上有利である。
As described above in detail, according to the present invention, there is provided a central processing unit, a ROM connected to the central processing unit, and a serial communication port capable of serial communication with an external device outside the vehicle. In a vehicle electronic control device,
Provide a connector unit that can be connected to an external device, provide a serial communication line that connects the serial communication port and the connector unit, provide a branch part in the middle of this serial communication line,
A wake-up signal detection unit connected to the branch unit and connected to the power supply circuit is provided, and after the external device is connected to the connector unit, it is determined by the wake-up signal detection unit that the external device has activated the serial communication line. The wake-up signal detecting means detects that the external device has activated the serial communication line at the start of communication between one vehicle electronic control device and the external device. It is possible to start the vehicle electronic control unit by transmitting a power supply start signal to the vehicle electronic control unit, and it is not necessary to turn on the ignition switch only to turn on the power supply of one vehicle electronic control unit. Except for one vehicle electronic control unit in communication, other on-board controllers are started. No, which is advantageous in practical use.

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

【図1】この発明の実施例を示す車両用電子制御装置の
制御用フローチャートである。
FIG. 1 is a control flowchart of a vehicle electronic control device according to an embodiment of the present invention.

【図2】車両の概略左側面図である。FIG. 2 is a schematic left side view of the vehicle.

【図3】車両用電子制御装置のシリアル通信のハード構
成図である。
FIG. 3 is a hardware configuration diagram of serial communication of the vehicle electronic control device;

【図4】テスタから信号がこない状態の通信ラインの電
位例を示す図である。
FIG. 4 is a diagram showing an example of a potential of a communication line in a state where no signal comes from a tester.

【図5】テスタから信号が送信された状態の通信ライン
の電位例を示す図である。
FIG. 5 is a diagram illustrating an example of a potential of a communication line in a state where a signal is transmitted from a tester.

【図6】外部装置を故障診断装置によって構成した際の
フローチャートである。
FIG. 6 is a flowchart when an external device is configured by a failure diagnosis device.

【図7】外部装置をプログラム書き込み装置によって構
成した際のフローチャートである。
FIG. 7 is a flowchart when an external device is configured by a program writing device.

【図8】この発明の従来技術を示す車両用電子制御装置
のシリアル通信のハード構成図である。
FIG. 8 is a hardware configuration diagram of serial communication of a vehicle electronic control device according to the prior art of the present invention.

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

2 車両 4 車両用電子制御装置 4A 第1通信ポート 4B CPU 4C ROM 4D RAM 4E 入力処理回路 4F 出力制御回路 4G 第2通信ポート 4H 電源供給回路 6 外部装置 8 コネクタ部 8−1 車両側第1コネクタ部 8−2 外部装置側第2コネクタ部 10 車載用センサ 12 アクチュエータ 14 他の制御装置(「コントローラ」ともいう) 16 電源(「バッテリ」ともいう) 18 イグニション(「IG」ともいう)スイッチ 20 第1シリアル通信ライン(「第1シリアル通信信
号ライン」ともいう) 22 第2シリアル通信ライン(「第2シリアル通信信
号ライン」ともいう) 24 電源ライン 26 グランドライン 28 分岐部 30 ウェークアップ信号検出手段
Reference Signs List 2 vehicle 4 vehicle electronic control unit 4A first communication port 4B CPU 4C ROM 4D RAM 4E input processing circuit 4F output control circuit 4G second communication port 4H power supply circuit 6 external device 8 connector section 8-1 vehicle-side first connector Part 8-2 External device side second connector part 10 In-vehicle sensor 12 Actuator 14 Other control device (also referred to as "controller") 16 Power supply (also referred to as "battery") 18 Ignition (also referred to as "IG") switch 20 1 serial communication line (also referred to as “first serial communication signal line”) 22 second serial communication line (also referred to as “second serial communication signal line”) 24 power supply line 26 ground line 28 branching unit 30 wake-up signal detecting means

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 中央処理装置と、この中央処理装置に接
続されたROMと、車外の外部装置とシリアル通信可能
なシリアル通信ポートとを備えた車両用電子制御装置に
おいて、前記外部装置と接続可能なコネクタ部を設け、
前記シリアル通信ポートとコネクタ部とを接続するシリ
アル通信ラインを設け、このシリアル通信ラインの途中
に分岐部を設け、この分岐部に接続され、且つ電源供給
回路に接続されるウェークアップ信号検出手段を設け、
前記外部装置をコネクタ部に接続した後には、外部装置
がシリアル通信ラインをアクティブにしたことを前記ウ
ェークアップ信号検出手段により検出する構成としたこ
とを特徴とする車両用電子制御装置。
An electronic control unit for a vehicle, comprising: a central processing unit; a ROM connected to the central processing unit; and a serial communication port capable of serial communication with an external device outside the vehicle. A connector part,
A serial communication line for connecting the serial communication port and the connector is provided, a branch is provided in the middle of the serial communication line, and a wake-up signal detecting means connected to the branch and connected to a power supply circuit is provided. ,
An electronic control unit for a vehicle, wherein after the external device is connected to the connector section, the wake-up signal detecting means detects that the external device has activated the serial communication line.
【請求項2】 前記ウェークアップ信号検出手段は、信
号を検出した後に、所定時間内に通信コマンドが送信さ
れなかった時には、電源供給を停止する請求項1に記載
の車両用電子制御装置。
2. The vehicular electronic control device according to claim 1, wherein the wake-up signal detection means stops power supply when a communication command is not transmitted within a predetermined time after detecting the signal.
【請求項3】 前記外部装置は、故障診断装置からなる
請求項1および請求項2に記載の車両用電子制御装置。
3. The electronic control unit for a vehicle according to claim 1, wherein the external device comprises a failure diagnosis device.
【請求項4】 前記外部装置は、プログラム書き込み装
置からなる請求項1および請求項2に記載の車両用電子
制御装置。
4. The electronic control unit for a vehicle according to claim 1, wherein said external device comprises a program writing device.
【請求項5】 前記車両用電子制御装置は、データのイ
ンプット機能のみでなく、アウトプット機能をも有する
請求項1に記載の車両用電子制御装置。
5. The vehicle electronic control device according to claim 1, wherein the vehicle electronic control device has not only a data input function but also an output function.
JP2000297905A 2000-09-29 2000-09-29 Electronic controller for vehicle Pending JP2002106408A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000297905A JP2002106408A (en) 2000-09-29 2000-09-29 Electronic controller for vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000297905A JP2002106408A (en) 2000-09-29 2000-09-29 Electronic controller for vehicle

Publications (1)

Publication Number Publication Date
JP2002106408A true JP2002106408A (en) 2002-04-10

Family

ID=18779944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000297905A Pending JP2002106408A (en) 2000-09-29 2000-09-29 Electronic controller for vehicle

Country Status (1)

Country Link
JP (1) JP2002106408A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7263416B2 (en) 2002-12-17 2007-08-28 Hitachi, Ltd. Electrical control unit for an automobile
JP2009060242A (en) * 2007-08-30 2009-03-19 Fujitsu Microelectronics Ltd Data transmission circuit and control method thereof
JP2013015088A (en) * 2011-07-05 2013-01-24 Tekutomu:Kk Apparatus for acquiring vehicle information
JP2021032119A (en) * 2019-08-22 2021-03-01 株式会社Subaru Server device, vehicle, and vehicle abnormality determination system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7263416B2 (en) 2002-12-17 2007-08-28 Hitachi, Ltd. Electrical control unit for an automobile
US7480549B2 (en) 2002-12-17 2009-01-20 Hitachi, Ltd. Electrical control unit for an automobile
JP2009060242A (en) * 2007-08-30 2009-03-19 Fujitsu Microelectronics Ltd Data transmission circuit and control method thereof
JP2013015088A (en) * 2011-07-05 2013-01-24 Tekutomu:Kk Apparatus for acquiring vehicle information
JP2021032119A (en) * 2019-08-22 2021-03-01 株式会社Subaru Server device, vehicle, and vehicle abnormality determination system
JP7382174B2 (en) 2019-08-22 2023-11-16 株式会社Subaru Server device, vehicle, and vehicle abnormality determination system

Similar Documents

Publication Publication Date Title
US5737711A (en) Diagnosis system for motor vehicle
US8406951B2 (en) Electronic control system for vehicles
US7231285B2 (en) Data recording apparatus and data recording method
US5467277A (en) Apparatus and method for automobile control using a control characteristic which can be adjusted by the driver
US6957136B2 (en) Apparatus for rewriting a memory in a vehicle mounted ECU through communications
US6195602B1 (en) Vehicle communication system and method for vehicles capable of automatic storing of vehicle identification code
US6898499B2 (en) Control system
JP4509602B2 (en) Operator side system and mode file identification method
US7424351B2 (en) Control unit and data transmitting method
EP2020497B1 (en) Electronic control unit
JP2005240770A (en) Data recording apparatus and data recording method
JP2002106408A (en) Electronic controller for vehicle
JP2004302944A (en) Control system for vehicle
JP2007062632A (en) Electronic control unit and storing method of data for abnormality generated time storage
JPH11280536A (en) Electronic control device and electronic control system
JPH08247011A (en) Electronic control device for automobile
JP3220005B2 (en) Fault diagnosis device
JP2002187505A (en) On-vehicle system
JP2008118400A (en) Controller for automobile
JP2816312B2 (en) Fault diagnosis device
EP1569175A2 (en) Data recording apparatus and data recording method
JP5177079B2 (en) In-vehicle control device
JP4998816B2 (en) Electronic controller program rewriting system
JPH08136411A (en) Failure diagnostic equipment
JP2014221608A (en) Electronic control device for vehicle