JP3250323B2 - Vehicle diagnostic system - Google Patents

Vehicle diagnostic system

Info

Publication number
JP3250323B2
JP3250323B2 JP16103693A JP16103693A JP3250323B2 JP 3250323 B2 JP3250323 B2 JP 3250323B2 JP 16103693 A JP16103693 A JP 16103693A JP 16103693 A JP16103693 A JP 16103693A JP 3250323 B2 JP3250323 B2 JP 3250323B2
Authority
JP
Japan
Prior art keywords
vehicle
transmission
control device
recording device
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.)
Expired - Fee Related
Application number
JP16103693A
Other languages
Japanese (ja)
Other versions
JPH0720929A (en
Inventor
岩井  明史
克巳 鷹羽
浩和 小黒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP16103693A priority Critical patent/JP3250323B2/en
Publication of JPH0720929A publication Critical patent/JPH0720929A/en
Application granted granted Critical
Publication of JP3250323B2 publication Critical patent/JP3250323B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、車両の状態を記録装置
に記憶し、この記録装置の記憶情報により車両の状態を
診断する車両用診断システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a diagnostic system for a vehicle, which stores the state of a vehicle in a recording device and diagnoses the state of the vehicle based on information stored in the recording device.

【0002】[0002]

【従来技術】従来、車載の燃料噴射制御等を行う制御装
置(ECU)に接続し、制御装置からの各種の車両情報
を記録装置(データレコーダ)に記憶して、この記憶情
報により車両の異常状態等を解析する車両用診断システ
ムがある。例えば、図1に示される車両用診断システム
の構成によると、記録装置にはコネクタを介して車載バ
ッテリ、制御装置からのデータ線、アースがそれぞれ入
力される。
2. Description of the Related Art Conventionally, a vehicle is connected to a control device (ECU) for controlling fuel injection and the like, and various types of vehicle information from the control device are stored in a recording device (data recorder). There is a vehicle diagnostic system that analyzes the state and the like. For example, according to the configuration of the vehicle diagnostic system shown in FIG. 1, the vehicle-mounted battery, the data line from the control device, and the ground are input to the recording device via the connector.

【0003】[0003]

【発明が解決しようとする課題】前述の制御装置に記録
装置を接続した車両用診断システムにおいては、イグニ
ッションスイッチ(以下、IGSWと称する)がオフ状
態となっても、記録装置は、そのIGSWの状態を検出
することができないため、車両運転時での通常の処理を
実行する。このため、記録装置はIGSWオフ後も車両
が運転状態となっているときの消費電力が供給されるの
で、車載バッテリが消耗してしまうという問題がある。
In a vehicle diagnostic system in which a recording device is connected to the above-described control device, even if an ignition switch (hereinafter, referred to as IGSW) is turned off, the recording device does not operate the IGSW. Since the state cannot be detected, normal processing during vehicle operation is executed. For this reason, the recording device is supplied with the power consumption when the vehicle is in the driving state even after the IGSW is turned off, so that there is a problem that the vehicle-mounted battery is consumed.

【0004】本発明は、上記問題点に鑑み、車両が非運
転状態となったときに、記録装置は消費電力を車両運転
状態のときに比べて少ない消費電力となるように制御
し、さらに、その後再び車両が運転状態となると、記録
装置を確実に通常の制御へ戻すことができる車両用診断
システムを提供することを目的とする。
The present invention has been made in view of the above problems, and when the vehicle is in a non-driving state, the recording device controls the power consumption to be smaller than when the vehicle is in a driving state. An object of the present invention is to provide a vehicle diagnostic system that can surely return the recording device to normal control when the vehicle is again driven.

【0005】[0005]

【課題を解決するための手段】本発明は上記目的を達成
するために、電源部と、車両の状態を制御する制御装置
と、前記制御装置に送受信可能に接続され、この制御装
置の前記車両状態情報を記憶し、前記車両が非運転状態
となるとき、前記電源部から供給される消費電力を運転
状態のときに比べて少ない消費電力となるように制御す
るとともに、前記車両が非運転状態から運転状態となる
とき、前記制御装置から送信されるウェイクアップ信号
によって前記小消費電力制御から通常制御に戻される記
録装置と、前記制御装置から前記記録装置へ送信される
種々の前記車両状態情報を記憶する送信バッファと、前
記送信バッファに記憶される前記情報数をカウントする
カウンタと、前記車両が非運転状態から運転状態になっ
たと検出されたとき、前記カウンタに予め設定された所
定値を設定し、この所定値に対応して前記ウェイクアッ
プ信号を前記送受信バッファに記憶させ、この信号を前
記記録装置へ送信する設定手段とを備えることを特徴と
する車両診断システムという技術的手段を採用する。
In order to achieve the above object, the present invention provides a power supply unit, a control device for controlling a state of a vehicle, and a control unit connected to the control device so as to be able to transmit and receive data. When state information is stored, when the vehicle is in a non-driving state, power consumption supplied from the power supply unit is controlled to be smaller than in the driving state, and the vehicle is in a non-driving state. A recording device that is returned from the low power consumption control to the normal control by a wake-up signal transmitted from the control device when the vehicle enters the driving state, and various vehicle state information transmitted from the control device to the recording device. A transmission buffer that stores the information, a counter that counts the number of pieces of information stored in the transmission buffer, and when it is detected that the vehicle has changed from a non-driving state to a driving state. Setting means for setting a predetermined value preset in the counter, storing the wake-up signal in the transmission / reception buffer corresponding to the predetermined value, and transmitting the signal to the recording device. Technical means called a vehicle diagnosis system is adopted.

【0006】[0006]

【作用】以上に述べた本発明の車両用診断システムの構
成によると、制御装置に送受信可能に接続され、制御装
置の車両状態情報を記憶する記録装置は、車両が非運転
状態になると、電源部から供給される消費電力を運転状
態のときに比べて少ない消費電力となるように制御す
る。そして、車両が非運転状態から運転状態となると、
制御装置から送信されるウェイクアップ信号によって、
上記小消費電力制御から通常制御に戻される。また、送
信バッファは、記録装置へ送信される種々の車両状態情
報を記憶し、カウンタはこの情報数をカウントする。
According to the above-described configuration of the vehicle diagnostic system of the present invention, the recording device which is connected to the control device so as to be able to transmit and receive and stores the vehicle state information of the control device is provided when the vehicle enters the non-driving state. The power consumption supplied from the unit is controlled so as to be smaller than that in the operation state. And when the vehicle changes from the non-driving state to the driving state,
By the wake-up signal transmitted from the control device,
The control is returned from the small power consumption control to the normal control. The transmission buffer stores various vehicle state information transmitted to the recording device, and the counter counts the number of the information.

【0007】ここで上述の如く、記録装置は車両が非運
転状態になると、通常制御時に比べて少ない消費電力で
駆動される。このため、電源部の消費電力の消耗が低減
される。そして、車両が非運転状態から運転状態となっ
たとき、設定手段によって、上記カウンタには予め設定
された所定値が設定される。すると、この所定値に対応
して送信バッファにウェイクアップ信号が記憶され、こ
の信号が記録装置へ送信される。これにより、車両が非
運転状態から運転状態となったときに、記録装置は確実
に通常制御へ戻される。
As described above, when the vehicle is in the non-operation state, the recording apparatus is driven with less power consumption than in the normal control. Therefore, power consumption of the power supply unit is reduced. When the vehicle changes from the non-driving state to the driving state, a predetermined value is set in the counter by the setting means. Then, a wake-up signal is stored in the transmission buffer corresponding to the predetermined value, and this signal is transmitted to the recording device. Thus, when the vehicle changes from the non-driving state to the driving state, the recording device is reliably returned to the normal control.

【0008】[0008]

【実施例】以下、本発明の車両用診断システムの実施例
を説明する。図1は制御装置(ECU)100と記録装
置(データレコーダ)200からなる車両用診断システ
ムに関する構成図である。制御装置100には各種の車
両状態を検出する複数のセンサからの情報が入力される
と共に、これらの車両情報に基づいて車両を制御するた
めの各種アクチュエータを駆動する駆動信号を出力す
る。また、制御装置100には車載バッテリ110より
電源電圧が直接入力されると共に、車載バッテリ110
よりイグニッションスイッチ(以下、IGSWと称す
る)120を介して電源電圧が入力される。さらに、制
御装置100は記録装置200との間でデータを相互通
信するための通信端子を有している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a vehicle diagnostic system according to the present invention will be described below. FIG. 1 is a configuration diagram of a vehicle diagnostic system including a control device (ECU) 100 and a recording device (data recorder) 200. The control device 100 receives information from a plurality of sensors for detecting various vehicle states and outputs drive signals for driving various actuators for controlling the vehicle based on the vehicle information. Further, the control device 100 is directly supplied with the power supply voltage from the vehicle-mounted battery 110,
A power supply voltage is input via an ignition switch (hereinafter, referred to as IGSW) 120. Further, the control device 100 has a communication terminal for mutually communicating data with the recording device 200.

【0009】記録装置200は診断コネクタ150を介
して車載バッテリ110、制御装置100の通信端子、
アースが接続されている。図2は記録装置200の構成
図である。210は記録装置200の各種制御を処理・
実行するCPUである。220は制御装置100の通信
端子と接続され、制御装置100と記録装置200との
間で実行されるデータ通信を司る通信ICである。23
0は車載バッテリ110から供給される電源電圧を記録
装置200内のCPU210,通信IC220,ICカ
ードメモリ240に電源を供給する電源部である。記録
手段としてのICカードメモリ240は制御装置100
からの各種の車両情報を記憶するものである。
The recording device 200 is connected to a vehicle-mounted battery 110 via a diagnostic connector 150, a communication terminal of the control device 100,
Earth is connected. FIG. 2 is a configuration diagram of the recording device 200. 210 processes various controls of the recording device 200
The CPU to execute. A communication IC 220 is connected to a communication terminal of the control device 100 and controls data communication executed between the control device 100 and the recording device 200. 23
Reference numeral 0 denotes a power supply unit that supplies a power supply voltage supplied from the vehicle-mounted battery 110 to the CPU 210, the communication IC 220, and the IC card memory 240 in the recording device 200. The IC card memory 240 as recording means is provided in the control device 100.
This stores various vehicle information from the vehicle.

【0010】次に、記録装置200での処理を図3に基
づいて説明する。図3は記録装置200における制御装
置100からの各種の車両情報を受信して記憶手段であ
るICカードメモリ240に記憶すると共に、IGSW
120のオフ状態を検出してパワーセーブ動作を行う処
理を示すフローチャートである。なお、この処理は所定
周期毎に起動される。
Next, processing in the recording apparatus 200 will be described with reference to FIG. FIG. 3 shows a case where various types of vehicle information from the control device 100 in the recording device 200 are received and stored in the IC card memory 240 as storage means.
9 is a flowchart illustrating a process for detecting a power-off operation by detecting an off-state of the power supply 120; This process is started at predetermined intervals.

【0011】ステップ500で制御装置100へ車両情
報の送信要求を送信する。ここで、車両情報としては異
常検出情報、冷却水温、O2 センサF/B情報、車速、
エンジン回転数、吸気温等である。ステップ510で、
ステップ500で制御装置100に送信した送信要求に
対する応答信号の有無を検出する。応答信号があった場
合はステップ520、530の通常処理を行う。ステッ
プ520で制御装置100からの応答信号を受信すし、
ステップ530で応答信号を解析し、ICカードメモリ
240に記憶する。この通常処理によりICカードメモ
リ240には車両情報が所定周期毎に記憶される。
In step 500, a request for transmitting vehicle information is transmitted to control device 100. Here, the vehicle information includes abnormality detection information, cooling water temperature, O2 sensor F / B information, vehicle speed,
The engine speed, intake air temperature, etc. At step 510,
At step 500, the presence or absence of a response signal to the transmission request transmitted to control device 100 is detected. If there is a response signal, normal processing of steps 520 and 530 is performed. At step 520, a response signal from the control device 100 is received,
At step 530, the response signal is analyzed and stored in the IC card memory 240. By this normal processing, vehicle information is stored in the IC card memory 240 at predetermined intervals.

【0012】一方、ステップ510で応答信号が無かっ
た場合はステップ540でIGSW120がオフ状態で
有るか否かを推定する。詳細には、送信要求に対して制
御装置100からの応答が無い状態が所定回以上連続し
た時(タイムアウト)、IGSW120がオフ状態で有
ると推定する。タイムアウトでない場合は、再度制御装
置100に送信要求を送信するためにステップ500に
進む。
On the other hand, if there is no response signal in step 510, it is estimated in step 540 whether or not the IGSW 120 is off. Specifically, when the state where there is no response from the control device 100 to the transmission request continues for a predetermined number of times (timeout), it is estimated that the IGSW 120 is in the off state. If not, the process proceeds to step 500 in order to transmit the transmission request to the control device 100 again.

【0013】そして、ステップ540でタイムアウトで
ある場合はステップ560へ進み、通常の処理時よりも
少ない消費電力が供給されるように記録装置200を制
御するパワーセーブ動作処理を行う。このパワーセーブ
動作は、例えば、ICカードへの電力供給を電源部23
0をコントロールすることにより停止させ、電力の消耗
をセーブする状態である。そして、CPU210はこの
状態に入るとウェイクアップ信号が受信されるまでステ
ップ560、570を繰り返す。
If a timeout has occurred in step 540, the process proceeds to step 560, in which a power saving operation process for controlling the recording apparatus 200 to supply less power than during normal processing is performed. This power saving operation is performed, for example, by supplying power to the IC card by the power supply unit 23.
In this state, the power is stopped by controlling 0 to save power consumption. Then, when entering this state, the CPU 210 repeats steps 560 and 570 until a wake-up signal is received.

【0014】次に、ステップ550で制御装置100か
ら記録装置200へ送られるウェイクアップ信号が受信
されたか否かを検出する。なお、このウェイクアップ信
号は、IGSW120がオンとなり制御装置100が通
常制御を実行すると、記録装置200へ送信される。そ
して、記録装置200はウェイクアップ信号を受信する
と、パワーセーブ動作状態から通常制御状態に戻され
る。
Next, at step 550, it is detected whether or not a wake-up signal sent from the control device 100 to the recording device 200 has been received. The wake-up signal is transmitted to the recording device 200 when the IGSW 120 is turned on and the control device 100 executes the normal control. Then, upon receiving the wake-up signal, the recording apparatus 200 returns from the power save operation state to the normal control state.

【0015】そこで、ステップ550でウェイクアップ
信号を受信した場合は、IGSW120がオン状態とな
り、制御装置100が通常制御を行っているため、通常
処理へ戻るためにステップ500へ進む。一方、ウェイ
クアップ信号を受信しなかった場合はステップ560へ
進み、パワーセーブ動作を実行する。このように記録装
置200は、ステップ540でタイムアウトが検出さ
れ、IGSW120がオフとなったと検出されるとパワ
ーセーブ動作のモードとなるように制御する。これによ
り、IGSW120オフ後に記録装置200が通常の制
御を行ってバッテリ110が消耗してしまうといった不
具合を防止できる。
Therefore, when the wake-up signal is received in step 550, the IGSW 120 is turned on and the control device 100 performs the normal control. Therefore, the process proceeds to step 500 to return to the normal processing. On the other hand, if the wake-up signal has not been received, the process proceeds to step 560 to execute a power save operation. As described above, when the timeout is detected in step 540 and the IGSW 120 is detected to be turned off, the recording apparatus 200 performs control so as to enter the power save operation mode. Thus, it is possible to prevent the recording device 200 from performing a normal control after the IGSW 120 is turned off and the battery 110 is consumed.

【0016】次に、図4のフローチャートによりIGS
W120がオンされた時の制御装置100のイニシャル
ルーチンを説明する。このルーチンは、IGSW120
がオンされたタイミングで起動され、ステップ600で
nDATAに予め設定された所定値である$FFをセッ
トし本処理を終了する。
Next, according to the flowchart of FIG.
An initial routine of the control device 100 when W120 is turned on will be described. This routine is executed by the IGSW 120
Is started at the timing when is turned on, and in step 600, $ DATA, which is a predetermined value set in advance to nDATA, is set, and this processing ends.

【0017】ここで、nDATAは記録装置200との
間で送受信を行う送受信バッファRBUF〔11〕のメ
ッセージ長を示す。この送受信バッファRBUF〔1
1〕、nDATAの説明をする。送受信バッファRBU
F〔11〕は、図8(a)に示すような11バイトバッ
ファであり、このRBUF〔11〕の各バイトにデータ
がRBUF〔1〕、RBUF〔2〕・・・の順に書き込
まれる。そして、この書き込まれたRBUF〔11〕の
バイト数、すなわち送受信バッファRBUF〔11〕の
メッセージ長が上記nDATAに保持される。例えば、
図8(b)ではnDATA=5である。
Here, nDATA indicates the message length of the transmission / reception buffer RBUF [11] for transmitting / receiving data to / from the recording device 200. This transmission / reception buffer RBUF [1
1], nDATA will be described. Transmit / receive buffer RBU
F [11] is an 11-byte buffer as shown in FIG. 8 (a), and data is written to each byte of this RBUF [11] in the order of RBUF [1], RBUF [2],. Then, the number of bytes of the written RBUF [11], that is, the message length of the transmission / reception buffer RBUF [11] is held in the nDATA. For example,
In FIG. 8B, nDATA = 5.

【0018】また、図5は制御装置100での記録装置
200とのデータの送受信処理を示すフローチャートで
ある。ステップ700でnDATAが0か否かを検出す
る。nDATAが0でない、即ち送信データがある場合
はステップ710へ進む。ステップ710でnDATA
が$FFか否かを検出する。nDATAが$FFでない
場合はステップ770へ進む。一方、nDATAが$F
Fである、即ち記録装置200に対してウェイクアップ
信号を送信するタイミングである場合はステップ720
へ進む。ステップ720で送受信バッファRBUF〔1
1〕にウェイクアップ信号をセットし、ステップ770
へ進む。
FIG. 5 is a flowchart showing a process of transmitting and receiving data to and from the recording device 200 in the control device 100. In step 700, it is detected whether or not nDATA is 0. If nDATA is not 0, that is, if there is transmission data, the process proceeds to step 710. NDATA at step 710
Is $ FF or not. If nDATA is not $ FF, the process proceeds to step 770. On the other hand, nDATA is $ F
F, that is, when it is time to transmit a wake-up signal to the recording device 200, step 720
Proceed to. In step 720, the transmission / reception buffer RBUF [1
1], a wake-up signal is set, and step 770 is set.
Proceed to.

【0019】nDATAが0、即ち送信データがない場
合はステップ730へ進む。ステップ730で記録装置
200からの送信信号を処理する受信ルーチンを実行す
る(詳細は後述)。ステップ740にてnDATAが0
か否かを検出する。nDATAが0、即ち記録装置20
0からの送信信号がない場合は本処理を終了する。一
方、nDATAが0でない、即ち記録装置200からの
送信信号がある場合は、ステップ750、760にて送
信信号に対する応答処理を行う。ステップ750で送受
信バッファRBUF〔11〕に記憶されている送信信号
より記録装置200からの送信要求の内容を解析する。
ステップ760で送信要求に対応した応答信号を送受信
バッファRBUF〔11〕にセットすると共に応答信号
のメッセージ長をnDATAにセットし、ステップ77
0に進む。
If nDATA is 0, that is, if there is no transmission data, the process proceeds to step 730. In step 730, a reception routine for processing a transmission signal from the recording device 200 is executed (details will be described later). NDATA is 0 in step 740
Is detected. nDATA is 0, that is, the recording device 20
If there is no transmission signal from 0, this processing ends. On the other hand, if nDATA is not 0, that is, if there is a transmission signal from the recording apparatus 200, a response process to the transmission signal is performed in steps 750 and 760. In step 750, the content of the transmission request from the recording device 200 is analyzed based on the transmission signal stored in the transmission / reception buffer RBUF [11].
In step 760, a response signal corresponding to the transmission request is set in the transmission / reception buffer RBUF [11], and the message length of the response signal is set in nDATA.
Go to 0.

【0020】ステップ770で送受信バッファRBUF
〔11〕にセットされている送信要求に対応した応答信
号、またはウェイクアップ信号を記録装置200に送信
する送信ルーティンを実行する(詳細は後述)。図6は
図5のステップ730の受信ルーティンの処理を示すフ
ローチャートである。
At step 770, the transmission / reception buffer RBUF
A transmission routine for transmitting a response signal corresponding to the transmission request set in [11] or a wake-up signal to the recording device 200 is executed (details will be described later). FIG. 6 is a flowchart showing the processing of the reception routine in step 730 of FIG.

【0021】ステップ800で受信データのメッセージ
長を検出するための変数kを0にセットする。ステップ
810にて受信データの有無を検出する。受信データが
無い場合はステップ850へ進む。受信データが有る場
合はステップ820〜840にて受信データを送受信バ
ッファRBUF〔11〕にセットする処理を実行する。
ステップ820で変数kに1を加算する。ステップ83
0で送受信バッファRBUF〔k〕に受信データを1バ
イト取込む。ステップ840で受信データがエンドか否
かを検出する。受信データがエンドでない場合はステッ
プ820へ進み、ステップ820〜840の処理を再度
実行する。一方、受信データがエンドである場合はステ
ップ850へ進む。
In step 800, a variable k for detecting the message length of the received data is set to 0. At step 810, the presence or absence of received data is detected. If there is no received data, the process proceeds to step 850. If there is received data, a process of setting the received data in the transmission / reception buffer RBUF [11] is executed in steps 820 to 840.
At step 820, 1 is added to the variable k. Step 83
At 0, one byte of received data is taken into the transmission / reception buffer RBUF [k]. At step 840, it is detected whether or not the received data is end. If the received data is not the end, the process proceeds to step 820, and the processes of steps 820 to 840 are executed again. On the other hand, if the received data is end, the process proceeds to step 850.

【0022】ステップ850で変数kを受信データのメ
ッセージ長としてnDATAにセットする。図7は図5
のステップ770の送信ルーティンの処理を示すフロー
チャートである。ステップ900でnDATAが0か否
かを検出する。nDATAが0、即ち記録装置200へ
の送信データが無い場合は本処理を終了する。一方、n
DATAが0でない、即ち送信データが有る場合はステ
ップ910〜960の送信処理を実行する。
At step 850, the variable k is set to nDATA as the message length of the received data. FIG. 7 shows FIG.
36 is a flowchart showing processing of a transmission routine in step 770 of FIG. At step 900, whether or not nDATA is 0 is detected. If nDATA is 0, that is, if there is no data to be transmitted to the recording device 200, this process ends. On the other hand, n
If DATA is not 0, that is, if there is transmission data, the transmission processing of steps 910 to 960 is executed.

【0023】ステップ910で今回の制御タイミングで
送受信バッファRBUF〔11〕に出力したバイト数を
管理するための変数kを0にセットする。ステップ92
0で通信バスの状態を検出する。通信バスがビジー状態
でデータの送信が不可能な場合は、今回の制御タイミン
グでの送信を中止し、ステップ960へ進む。一方、通
信バスがビジー状態でなくデータの送信が可能な場合は
ステップ930〜950で送信データを1バイトづつ記
録装置200へ送信する。
In step 910, a variable k for managing the number of bytes output to the transmission / reception buffer RBUF [11] at the current control timing is set to 0. Step 92
When 0, the state of the communication bus is detected. If data cannot be transmitted while the communication bus is busy, transmission at the current control timing is stopped, and the process proceeds to step 960. On the other hand, if the communication bus is not busy and data transmission is possible, the transmission data is transmitted to the recording device 200 byte by byte in steps 930 to 950.

【0024】まず、ステップ930で変数kに1を加算
する。そして、ステップ940で送受信バッファRBU
F〔k〕に記憶されている送信データを1バイト、記録
装置200へ送信する。次に、ステップ950で変数k
とnDATAとを比較する。変数kがnDATAより小
さい、即ち送受信バッファRBUF〔11〕に送信デー
タがまだ存在している場合は、ステップ920へ進んで
ステップ920〜950の処理を再度実行する。一方、
変数kがnDATAより大きい、即ち送受信バッファR
BUF〔11〕に送信データを全て送信した場合はステ
ップ960へ進む。
First, at step 930, 1 is added to the variable k. Then, in step 940, the transmission / reception buffer RBU
One byte of the transmission data stored in F [k] is transmitted to the recording device 200. Next, at step 950, the variable k
And nDATA. If the variable k is smaller than nDATA, that is, if the transmission data still exists in the transmission / reception buffer RBUF [11], the process proceeds to step 920 to execute the processes of steps 920 to 950 again. on the other hand,
The variable k is larger than nDATA, that is, the transmission / reception buffer R
If all the transmission data has been transmitted to BUF [11], the process proceeds to step 960.

【0025】そして、ステップ960でnDATAから
変数kを減算した値をnDATAにセットする。この処
理により、送受信バッファRBUF〔11〕の送信デー
タが全て送信された時はnDATAは0となる。また、
ステップ920にて送信処理を途中で中止した場合は、
未送信のメッセージ長がnDATAにセットされる。以
上で述べたように、記録装置200をパワーセーブ動作
状態から通常制御状態へ戻すとき、すなわち、IGSW
120がオンとなって記録装置200に対してウェイク
アップ信号が送信されるタイミングであるとき、図6の
ステップ710において、nDATAが所定値である$
FFに設定される。ここで、上述の図8(a)のように
送受信バッファRBUF〔11〕のバイト数は11であ
るため、通常時におけるnDATAの最大メッセージ長
は11となる。したがって、nDATAへは通常時では
$FFという値が取り込まれることはない。
Then, in step 960, a value obtained by subtracting the variable k from nDATA is set in nDATA. By this processing, when all the transmission data of the transmission / reception buffer RBUF [11] has been transmitted, nDATA becomes 0. Also,
If the transmission process is stopped halfway in step 920,
The untransmitted message length is set in nDATA. As described above, when returning the recording apparatus 200 from the power save operation state to the normal control state, that is, the IGSW
When it is the timing at which the wake-up signal is transmitted to the recording apparatus 200 after the signal 120 is turned on, in step 710 of FIG. 6, nDATA is a predetermined value.
Set to FF. Here, since the number of bytes in the transmission / reception buffer RBUF [11] is 11 as shown in FIG. 8A, the maximum message length of nDATA in normal time is 11. Therefore, a value of $ FF is not normally taken into nDATA.

【0026】このため、記録装置200に対してウェイ
クアップ信号が送信されるタイミングとなったときに、
通常制御時では設定されない所定値$FFがnDATA
に設定されることにより、IGSW120がオン状態と
なり、車両が運転状態となったときに、確実に記録装置
200をパワーセーブ動作状態から通常制御状態へ復帰
させることができる。
Therefore, when it is time to transmit a wake-up signal to the recording device 200,
The predetermined value $ FF which is not set during normal control is nDATA
When the IGSW 120 is turned on and the vehicle is driven, the recording apparatus 200 can be reliably returned from the power save operation state to the normal control state.

【0027】また、IGSW120オンによりウェイク
アップ信号が送信されるため、ウェイクアップ信号を送
信するタイミングを規定するために特別なハード構成が
記録装置200に必要とされることはない。また、ウェ
イクアップ信号を送信したか否かを示すためのフラグを
通常の送受信処理で使用しているRAM値(nDAT
A)で兼用しているため、ウェイクアップ信号を送信す
るためのRAMは増加しない。
Since the wake-up signal is transmitted when the IGSW 120 is turned on, no special hardware configuration is required for the recording apparatus 200 to define the timing for transmitting the wake-up signal. Further, a flag for indicating whether or not the wake-up signal has been transmitted has a RAM value (nDATAT) used in normal transmission / reception processing.
Since RAM is also used in A), the number of RAMs for transmitting the wake-up signal does not increase.

【0028】[0028]

【発明の効果】以上に述べた本発明の車両用診断システ
ムの構成および作用によると、記録装置は、車両が非運
転状態となると通常制御時よりも少ない消費電力が供給
されるように制御する。このとき、車両が運転状態とな
ると、設定手段によりカウンタに所定値が設定され、こ
の所定値に対応するウェイクアップ信号が送信バッファ
に記憶されるとともに、上記信号が記録装置へ送信され
る。これにより、車両が運転状態となったときに、記録
装置を確実に通常制御へ戻すことができる。
According to the configuration and operation of the vehicle diagnostic system of the present invention described above, the recording device controls the vehicle so that when the vehicle is in a non-driving state, less power is consumed than during normal control. . At this time, when the vehicle enters the driving state, a predetermined value is set in the counter by the setting means, a wake-up signal corresponding to the predetermined value is stored in the transmission buffer, and the signal is transmitted to the recording device. This makes it possible to reliably return the recording device to the normal control when the vehicle enters the driving state.

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

【図1】本実施例の車両用診断システムの構成図であ
る。
FIG. 1 is a configuration diagram of a vehicle diagnostic system according to an embodiment.

【図2】記録装置の構成図である。FIG. 2 is a configuration diagram of a recording apparatus.

【図3】記録装置での各種処理を示すフローチャートで
ある。
FIG. 3 is a flowchart illustrating various processes in the recording apparatus.

【図4】制御装置のイニシャルルーチンを示すフローチ
ャートである。
FIG. 4 is a flowchart illustrating an initial routine of a control device.

【図5】制御装置での記録装置との送、受信処理を示す
フローチャートである。
FIG. 5 is a flowchart illustrating a process of sending and receiving data to and from a recording device in the control device.

【図6】受信ルーチンを示すフローチャートである。FIG. 6 is a flowchart showing a reception routine.

【図7】送信ルーチンを示すフローチャートである。FIG. 7 is a flowchart showing a transmission routine.

【図8】送受信バッファおよびnDATAを説明する図
である。
FIG. 8 is a diagram illustrating a transmission / reception buffer and nDATA.

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

100 制御装置 110 バッテリ 120 イグニッションスイッチ 150 診断コネクタ 200 記録装置 REFERENCE SIGNS LIST 100 control device 110 battery 120 ignition switch 150 diagnostic connector 200 recording device

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭58−210340(JP,A) 特開 昭63−138817(JP,A) 実開 昭62−141769(JP,U) (58)調査した分野(Int.Cl.7,DB名) G05B 23/02 B60R 16/02 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-58-210340 (JP, A) JP-A-63-138817 (JP, A) Jpn. Field (Int.Cl. 7 , DB name) G05B 23/02 B60R 16/02

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 電源部と、 車両の状態を制御する制御装置と、 前記制御装置に送受信可能に接続され、この制御装置の
前記車両状態情報を記憶し、前記車両が非運転状態とな
るとき、前記電源部から供給される消費電力を運転状態
のときに比べて少ない消費電力となるように制御すると
ともに、前記車両が非運転状態から運転状態となると
き、前記制御装置から送信されるウェイクアップ信号に
よって前記小消費電力制御から通常制御に戻される記録
装置と、 前記制御装置から前記記録装置へ送信される種々の前記
車両状態情報を記憶する送信バッファと、 前記送信バッファに記憶される前記情報数をカウントす
るカウンタと、 前記車両が非運転状態から運転状態になったと検出され
たとき、前記カウンタに予め設定された所定値を設定
し、この所定値に対応して前記ウェイクアップ信号を前
記送受信バッファに記憶させ、この信号を前記記録装置
へ送信する設定手段とを備えることを特徴とする車両診
断システム。
1. A power supply unit, a control device for controlling a state of a vehicle, and connected to the control device so as to be able to transmit and receive, and storing the vehicle state information of the control device when the vehicle enters a non-driving state. Controlling the power consumption supplied from the power supply unit to be smaller than that in the driving state, and transmitting the wake transmitted from the control device when the vehicle changes from the non-driving state to the driving state. A recording device that is returned from the small power consumption control to the normal control by an up signal; a transmission buffer that stores various vehicle state information transmitted from the control device to the recording device; and a transmission buffer that is stored in the transmission buffer. A counter for counting the number of information; and setting a predetermined value to the counter when the vehicle is detected to have changed from a non-driving state to a driving state. Vehicle diagnostic system comprising: a setting means this corresponding to a predetermined value is stored the wake-up signal to the transmission and reception buffer, and transmits the signal to the recording device.
JP16103693A 1993-06-30 1993-06-30 Vehicle diagnostic system Expired - Fee Related JP3250323B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16103693A JP3250323B2 (en) 1993-06-30 1993-06-30 Vehicle diagnostic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16103693A JP3250323B2 (en) 1993-06-30 1993-06-30 Vehicle diagnostic system

Publications (2)

Publication Number Publication Date
JPH0720929A JPH0720929A (en) 1995-01-24
JP3250323B2 true JP3250323B2 (en) 2002-01-28

Family

ID=15727381

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16103693A Expired - Fee Related JP3250323B2 (en) 1993-06-30 1993-06-30 Vehicle diagnostic system

Country Status (1)

Country Link
JP (1) JP3250323B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5936097B2 (en) * 2011-07-05 2016-06-15 株式会社テクトム Vehicle information acquisition device

Also Published As

Publication number Publication date
JPH0720929A (en) 1995-01-24

Similar Documents

Publication Publication Date Title
EP0773650B1 (en) Multiplex distributed communication system having high sleep mode responsiveness
US6907329B2 (en) Method and device for activating and/or deactivating distributed control units
EP0631213B1 (en) Vehicle diagnosis system
US5832397A (en) Integrated wiring systems for a vehicle control system
JP3138709B2 (en) Self-diagnosis method and device for electronic control unit for vehicle
US5737711A (en) Diagnosis system for motor vehicle
JP3099663B2 (en) Communications system
JP3430579B2 (en) Abnormality detection device for vehicle communication system
JP2003058285A (en) Control system
JP2002108835A (en) On-vehicle electronic controller
CN112929194A (en) Vehicle information processing method and system and computer readable medium
CN112660103B (en) Vehicle control mode determination method and device and whole vehicle control system
JP3250323B2 (en) Vehicle diagnostic system
JP4509603B2 (en) Control unit and data transmission method
JP3491358B2 (en) Power cut-off detection device
JP2004302944A (en) Control system for vehicle
JP3799797B2 (en) Diagnostic equipment for vehicles
CN113253701B (en) Vehicle remote diagnosis system and method
JP3752009B2 (en) Electronic control device for vehicle
JPH0638276A (en) Multiplex transmitter
CN216424316U (en) Control system for reducing automobile quiescent current
JPH05155295A (en) Method for controlling electronic control system for vehicle
JP7482245B2 (en) Electronic control device and wake-up circuit diagnostic method
JP3354070B2 (en) Vehicle multiplex communication device
JPH0834300A (en) Display unit for vehicle

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011016

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071116

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101116

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees