JP6214254B2 - Vehicle control device - Google Patents

Vehicle control device Download PDF

Info

Publication number
JP6214254B2
JP6214254B2 JP2013147510A JP2013147510A JP6214254B2 JP 6214254 B2 JP6214254 B2 JP 6214254B2 JP 2013147510 A JP2013147510 A JP 2013147510A JP 2013147510 A JP2013147510 A JP 2013147510A JP 6214254 B2 JP6214254 B2 JP 6214254B2
Authority
JP
Japan
Prior art keywords
code
information
stored
cycle
diagnosis
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.)
Active
Application number
JP2013147510A
Other languages
Japanese (ja)
Other versions
JP2015020450A (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.)
Daihatsu Motor Co Ltd
Original Assignee
Daihatsu Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daihatsu Motor Co Ltd filed Critical Daihatsu Motor Co Ltd
Priority to JP2013147510A priority Critical patent/JP6214254B2/en
Publication of JP2015020450A publication Critical patent/JP2015020450A/en
Application granted granted Critical
Publication of JP6214254B2 publication Critical patent/JP6214254B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、車載ネットワーク上の複数のノードからのダイアグノーシス診断の結果を表わすダイアグ情報を順次受信して記憶し出力するサイクルを繰り返し行う車両用制御装置に関する。   The present invention relates to a vehicle control apparatus that repeatedly performs a cycle of sequentially receiving, storing, and outputting diagnosis information representing the results of diagnosis diagnosis from a plurality of nodes on an in-vehicle network.

従来、車載ネットワークであるCAN(Controller Area Network)の通信バスに接続されたノードである複数の制御用ECU(Electronic Control Unit)に対して、ダイアグノーシス診断を行い、各ノードのうちのいずれかに異常があれば、通信バスを介してそのノードから送信される異常内容を表わすダイアグコードを制御部が受信して一旦バッファに記憶しておき、所定のタイミングで液晶表示部等に表示するようにしたものがある(例えば、特許文献1参照)。   Conventionally, a diagnosis diagnosis is performed on a plurality of control ECUs (Electronic Control Units) connected to a communication bus of a CAN (Controller Area Network) which is an in-vehicle network, and one of the nodes is connected. If there is an abnormality, the control unit receives the diagnostic code transmitted from the node via the communication bus, temporarily stores it in the buffer, and displays it on the liquid crystal display unit or the like at a predetermined timing. (For example, refer to Patent Document 1).

この種の装置では、ダイアグコードをどのようにバッファに記憶させて表示させるかが課題となっており、具体的には、ノード(ECU)が多数ある場合に、液晶表示部の制御用ECUから、通信バスを介して一定時間毎に各部のECUに対してダイアグコードの送信を要求するダイアグノーシス診断を行い、異常である旨の通知があれば該当するECUから通信バスを介してダイアグコードが送信され、液晶表示部の制御用ECUがそのダイアグコードを受信すると、所定のバッファに受信したダイアグコードを順次記憶し、所定のダイアグ表示タイミングで液晶表示部に表示して使用者に報知するというサイクルを繰り返すことが行われている。   In this type of device, the problem is how to store the diag code in the buffer and display it. Specifically, when there are a large number of nodes (ECUs), the control ECU of the liquid crystal display unit The diagnostic diagnosis is performed to request the ECU of each part to transmit a diagnostic code at regular intervals via the communication bus, and if there is a notification that there is an abnormality, the diagnostic code is received from the corresponding ECU via the communication bus. When the control ECU of the liquid crystal display unit receives the diagnostic code, the received diagnostic code is sequentially stored in a predetermined buffer and displayed on the liquid crystal display unit at a predetermined diagnostic display timing to notify the user. The cycle is repeated.

特開2007−262934号公報(段落0014〜0028および図1〜図4参照)JP 2007-262934 A (see paragraphs 0014 to 0028 and FIGS. 1 to 4)

ところで、従来の装置には、バッファを1つだけ設け、各ノードからは原則としてコード番号の小さいダイアグコードから順次送信し、これを受信して1つのバッファに格納していくものがあるが、送信サイクルの途中において、各ノードがすでに送信したダイアグコードのコード番号よりも小さいダイアグコードが送信されることがある。   By the way, in the conventional apparatus, there is one in which only one buffer is provided, and in principle, each diag code is transmitted sequentially from a small code number, and is received and stored in one buffer. In the middle of the transmission cycle, a diag code smaller than the code number of the diag code already transmitted by each node may be transmitted.

このような場合に、バッファはコード番号の小さい順にデータ記憶していくため、バッファに現在記憶されている最も小さいコード番号のダイアグコードが、新たに受信されたダイアグコードに書き換えられてしまうため、バッファに記憶されているダイアグコードを液晶表示部等に表示するときに、書き換えられてしまった後のダイアグコードが表示されることになり、書き換え前に記憶保持されていたダイアグコードは表示されないという表示漏れ(出力漏れ)が生じるおそれがある。   In such a case, since the buffer stores data in ascending order of the code number, the diag code with the smallest code number currently stored in the buffer is rewritten to the newly received diag code. When the diag code stored in the buffer is displayed on the liquid crystal display or the like, the diag code after being rewritten is displayed, and the diag code stored and held before rewriting is not displayed. There is a risk of display leakage (output leakage).

また、バッファを2つ設け、まず一方のバッファに各ノードからのダイアグコードを順次記憶し、各ノードからのダイアグコードを一巡して1回のサイクルが終了して次のサイクルが始まる前に、一方のバッファから他方のバッファに記憶したダイアグコードを移し替え、一方のバッファは消去し、他方のバッファに記憶されているダイアグコードを液晶表示部に表示するものがあるが、この場合、1回のサイクルが終了するまでダイアグコードが表示されないため、今回のサイクルでダイアグコードが表示されずに次回以降のサイクルまでダイアグコードの表示が遅れ、使用者に違和感を与えるという不都合が生じる。   In addition, two buffers are provided, and diag codes from each node are sequentially stored in one buffer, and before one cycle is completed and the next cycle begins after a cycle of diag codes from each node. Some diag codes stored in one buffer are transferred from one buffer, one buffer is deleted, and the diag code stored in the other buffer is displayed on the liquid crystal display unit. Since the diag code is not displayed until the current cycle is completed, the diag code is not displayed in the current cycle, and the display of the diag code is delayed until the next and subsequent cycles, resulting in inconvenience to the user.

本発明は、車載ネットワーク上の複数のノードからのダイアグ情報を記憶して出力する場合に、ダイアグ情報の出力漏れや出力遅れなどを防止できるようにすることを目的とする。   SUMMARY OF THE INVENTION An object of the present invention is to prevent an omission of output of diag information, an output delay, and the like when diag information from a plurality of nodes on an in-vehicle network is stored and output.

上記した目的を達成するために、本発明の車両用制御装置は、車載ネットワーク上の複数のノードからのダイアグノーシス診断の結果を表わすダイアグ情報を順次受信して記憶し出力する処理を1サイクルとして繰り返し行う車両用制御装置において、前記各ノードからの前記ダイアグ情報を記憶する第1の記憶手段および第2の記憶手段と、前記第2の記憶手段に記憶された前記ダイアグ情報を出力する出力手段と、前記第1および第2の記憶手段の記憶を制御する制御手段とを備え、前記制御手段は、前記各ノードのうち特定のノードから前記ダイアグ情報とは別に予め定められたタイミングで送信される前記1サイクルに関するサイクル情報を初回に受信する前には、前記各ノードからの前記ダイアグ情報を前記第2の記憶手段に記憶させ、初回の前記サイクル情報の受信後には、前記各ノードからの前記ダイアグ情報を前記第1の記憶手段に記憶させ、前記サイクル情報の受信毎に前記第1の記憶手段の記憶情報を前記第2の記憶手段に更新記憶させることを特徴としている(請求項1)。 To achieve the above object, a vehicle control apparatus of the present invention sequentially receives and stores and processes the 1 cycle you outputs diagnostic information representative of the result of diagnosis diagnostics from a plurality of nodes on the vehicle network In the vehicular control apparatus that is repeatedly performed, the first storage unit and the second storage unit that store the diagnostic information from each node, and the output that outputs the diagnostic information stored in the second storage unit And control means for controlling the storage of the first and second storage means, wherein the control means transmits from a specific node among the nodes at a predetermined timing separately from the diagnosis information. before receiving the cycle information for the first time about the one cycle is to, store the diagnostic information from each node to the second storage means Was, after reception of the cycle information for the first time, the said diagnostic information from each node is stored in the first storage unit, the information stored in said first storage means for each of the reception of the cycle information first The second storage means is updated and stored (claim 1).

請求項1に係る発明によれば、複数のノードのうち特定のノードからダイアグ情報とは別に予め定められたタイミングで送信される1サイクルに関するサイクル情報を初回に受信する前には、制御手段の制御により、第2の記憶手段に各ノードからのダイアグ情報が記憶され、初回のサイクル情報の受信後には、制御手段の制御により、各ノードからのダイアグ情報が第1の記憶手段に記憶され、サイクル情報の受信毎に第1の記憶手段の記憶情報が第2の記憶手段に更新記憶される。 According to the first aspect of the present invention, before first receiving cycle information relating to one cycle transmitted at a predetermined timing separately from the diagnosis information from a specific node among the plurality of nodes , the control means By the control, the diagnosis information from each node is stored in the second storage means, and after receiving the first cycle information, the diagnosis information from each node is stored in the first storage means by the control of the control means, Every time the cycle information is received, the storage information of the first storage means is updated and stored in the second storage means.

そのため、各ノードからのダイアグ情報の多少に拘わらず、全てのダイアグ情報が第2の記憶手段に記憶され、しかも特定のノードからダイアグ情報とは別に予め定められたタイミングで送信される1サイクルに関するサイクル情報の受信毎に第1の記憶手段の記憶情報が第2の記憶手段に上書き記憶されるので、出力手段が第2の記憶手段に記憶されたダイアグ情報を出力するに当たって、従来のようなダイアグ情報の出力漏れや出力遅れの発生を防止することができ、例えば出力手段が使用者に対して表示出力する機能を有する場合には、ダイアグ情報が漏れや遅れなく表示されることになり、ダイアグノーシス診断における信頼性の向上に寄与することができる。 Therefore, regardless of the amount of diag information from each node, all the diag information is stored in the second storage means, and is related to one cycle transmitted at a predetermined timing separately from the diag information from a specific node. Each time the cycle information is received, the storage information of the first storage means is overwritten and stored in the second storage means. Therefore, when the output means outputs the diagnostic information stored in the second storage means, Diagnosis information output leakage and output delay can be prevented, for example, if the output means has a function to display and output to the user, the diagnosis information will be displayed without omission or delay, This can contribute to the improvement of reliability in diagnosis diagnosis.

本発明に係る車両用制御装置の一実施形態のブロック図である。It is a block diagram of one embodiment of a control device for vehicles concerning the present invention. 図1の一部のブロック図である。FIG. 2 is a partial block diagram of FIG. 1. 図1の動作説明図である。It is operation | movement explanatory drawing of FIG. 図1の動作説明図である。It is operation | movement explanatory drawing of FIG.

つぎに、本発明の一実施形態について、図1ないし図4を参照して説明する。   Next, an embodiment of the present invention will be described with reference to FIGS.

図1はダイアグノーシス診断が可能な車両用制御装置のブロック構成を示し、本発明における出力手段である図示省略の液晶表示器(以下、LCDという)を制御するLCDECU1を備え、このLCDECU1は7セグメントの数字による速度表示や走行距離表示、外気温度表示、シフトレバーの位置表示、ガソリン残量を示すフューエルゲージ、時計表示等、各種の情報を表示するインストルメントパネルに配置されたLCDの表示関する制御を司る。   FIG. 1 shows a block configuration of a vehicle control apparatus capable of diagnosing diagnosis, and includes an LCD ECU 1 for controlling a liquid crystal display (not shown) as output means in the present invention. The LCD ECU 1 has 7 segments. Controls related to LCD display on the instrument panel that displays various information such as speed display, mileage display, outside air temperature display, shift lever position display, fuel gauge indicating gasoline remaining amount, clock display, etc. To manage.

さらに、図1に示すように、エンジンの燃料噴射に関する制御を行うEFI(Electronic Fuel lnjection)ECU2a、無段変速に関する制御を行うCVT(Continuously Variable Transmission)ECU2b,アンチロックブレーキシステムに関する制御を行うABS(Antilock Brake System)ECU2c、電動パワーステアリングに関する制御を行うEPS(Electric Power Steering)ECU2d、エアバッグに関する制御を行うABG(Air Bag)ECU2e、エネルギー回生システムに関する制御を行うERS(Energy Recovery System)ECU2f、衝突被害軽減ブレーキなどのPCS(Pre Crash Safety System)ECU2gを備え、これら7個のECU2a〜2gが例えば150msの時間毎に、順次CANの通信バス3を介してLCDECU1との間でデータの送受信を行う。   Further, as shown in FIG. 1, an EFI (Electronic Fuel Connection) ECU 2a that performs control related to fuel injection of the engine, a CVT (Continuously Variable Transmission) ECU 2b that performs control related to continuously variable transmission, and an ABS (Control that controls the anti-lock brake system). Antilock Brake System) ECU 2c, EPS (Electric Power Steering) ECU 2d for controlling electric power steering, ABG (Air Bag) ECU 2e for controlling airbag, ERS (Energy Recovery ECU 2) for controlling energy regeneration system PCS (Pre Cra) It includes a h Safety System) ECU2g, every time these seven ECU2a~2g for example 150 ms, to transmit and receive data to and from the LCDECU1 successively through the communication bus 3 of CAN.

すなわち、図1では、優先順位を示す識別番号などのノードIDの小さい順に通信ノードである各ECU2a〜2gが配置されており、まずLCDECU1から最もノード識別番号の小さいEFIECU2aに対してダイアグコードの送信要求が発せられ、この要求に応じて、EFIECU2aから送信すべきダイアグコードがあれば通信バス3を介してLCDECU1にダイアグコードが送信され、続いて150ms後に、次にノード識別番号の小さいCVTECU2bに対してダイアグコードの送信要求が発せられ、この要求に応じて、CVTECU2bから送信すべきダイアグコードがあれば通信バス3を介してLCDECU1にダイアグコードが送信され、以下同様にして最後のPCSECU2gからダイアグコードおよび1サイクルの終了を示すサイクル終了コード(本発明における「所定情報」に相当)が送信されて合計900msにわたる1サイクル分の通信が行われ、このような通信サイクルが繰り返し行われる。   That is, in FIG. 1, the ECUs 2a to 2g, which are communication nodes, are arranged in ascending order of node IDs such as identification numbers indicating the priority order. First, the diag code is transmitted from the LCD ECU 1 to the EFI ECU 2a having the smallest node identification number. In response to this request, if there is a diagnostic code to be transmitted from the EFIECU 2a, the diagnostic code is transmitted to the LCD ECU 1 via the communication bus 3, and then 150 ms later, to the CVTECU 2b having the next smallest node identification number In response to this request, if there is a diagnostic code to be transmitted from the CVTECU 2b, the diagnostic code is transmitted to the LCD ECU 1 via the communication bus 3, and then the last PCSECU 2g performs the same diagnostic code. And one cycle Cycle end code indicating the end (corresponding to the "predetermined information" in the present invention) is carried out one cycle of the communication over a total 900ms is sent, such communication cycle is repeated.

一方、キーを使用せずに車両のドアやトランクの施錠、開錠を行うキーフリーシステムの制御を行うキーフリーECU4が設けられ、このキーフリーECU4とLCDECU1とはLIN(Local Interconnect Network)の通信バス5を介して通信が行われ、LIN通信はCAN通信ほど高いデータ伝送速度が求められない場合に採用されるものであり、キーフリーECU4とLCDECU1とは、上記したCAN通信の場合の150msという通信周期よりも短い例えば80msの周期で通信を行う。   On the other hand, a key-free ECU 4 for controlling a key-free system that locks and unlocks the doors and trunks of a vehicle without using a key is provided. The key-free ECU 4 and the LCD ECU 1 communicate with each other through LIN (Local Interconnect Network). Communication is performed via the bus 5, and LIN communication is employed when a data transmission rate as high as CAN communication is not required. The key-free ECU 4 and the LCD ECU 1 are 150 ms in the case of the CAN communication described above. Communication is performed at a cycle of, for example, 80 ms, which is shorter than the communication cycle.

そして、オンボードダイアグノーシス(OBD:On−board diagnostics)と称されるコンピュータの自己故障診断機能が車両に搭載されており、図2に示すように、例えば車両のメンテナンス時に、プルアップ抵抗R1を介して電源+BおよびIG電源にプルアップされたLCDECU1に内蔵のMPU1aのT端子に限流抵抗R2を介して接続されたLCDECU1の端子tにOBDコネクタCを接続し、整備士がOBDコネクタCを操作して端子tを短絡(アース)することによって、ダイアグノーシス診断であるT端子処理が実行される。   A vehicle self-diagnosis function called on-board diagnostics (OBD) is installed in the vehicle. As shown in FIG. 2, for example, during vehicle maintenance, the pull-up resistor R1 is set. The OBD connector C is connected to the terminal t of the LCD ECU 1 connected via the current limiting resistor R2 to the T terminal of the MPU 1a built in the LCD ECU 1 pulled up to the power source + B and the IG power source, and the mechanic connects the OBD connector C. By operating and short-circuiting (grounding) the terminal t, a T terminal process which is a diagnosis diagnosis is executed.

ここで、PCSECU2gを除く各ECU2a〜2fは、ダイアグノーシス診断の結果をLCDに設けられたLEDランプなどのインジケータの点滅パターンによりダイアグコードを区別して表示することが可能であり、PCSECU2gは、キーフリーECU4およびLCDECU1自身とともにLCDの予め設定された表示領域にダイアグコード(例えば、異常内容に応じた数字)を表示するようになっている。   Here, the ECUs 2a to 2f except for the PCSECU 2g can display the diagnosis result by distinguishing the diagnosis code by the blinking pattern of an indicator such as an LED lamp provided on the LCD. The PCSECU 2g Together with the ECU 4 and the LCD ECU 1 itself, a diagnosis code (for example, a number corresponding to the abnormality content) is displayed in a preset display area of the LCD.

とりわけ、PCSECU2gから送信可能なプリクラッシュダイアグコードは19個(19種類)あり、最初にダイアグコード出力条件が成立してから上記した1サイクル周期である900ms後に1回目の送信要求を受けて150msの間に1番目のダイアグコードの送信が可能になり、最初にダイアグコード出力条件が成立してから1950ms(900ms+150ms+900ms)後に2回目の送信要求を受けて150msの間に2番目のダイアグコードの送信が可能になる。そして、以後同様にして、最初にダイアグコード出力条件が成立してから11400ms後に11回目の送信要求を受けてから、11番目のダイアグコードが送信可能になり、さらに同様にして、最初にダイアグコード出力条件が成立してから19800ms後に19回目の送信要求を受けてから、19番目のダイアグコードが送信可能になる。   In particular, there are 19 (19 types) pre-crash diag codes that can be transmitted from the PCSECU 2g, and after the first diag code output condition is satisfied, the first transmission request is received after 900 ms, which is one cycle period described above. In the meantime, the first diag code can be transmitted, and after the first diag code output condition is satisfied, the second transmission request is received in 150 ms in response to the second transmission request 1950 ms (900 ms + 150 ms + 900 ms). It becomes possible. Thereafter, in the same manner, the eleventh diag code can be transmitted after receiving the eleventh transmission request 11400 ms after the first diag code output condition is established. The 19th diagnosis code can be transmitted after receiving the 19th transmission request 19800 ms after the output condition is established.

ところで、LCDによるダイアグコードの表示処理は、次のようにして行われる。すなわち、図3(a)に示すように、イグニッションキーのオン、端子tの短絡など予め定められた所定のダイアグコード出力条件が成立している間、同図(b)に示すように、条件成立から例えば4000msの無表示状態を経た後、まずLCDECU1自身のメータダイアグコードが所定の時間(例えば、2000ms)LCDに表示され、その後2000msの間隔をあけて、キーフリーECU4からのキーフリーダイアグコードが所定の時間(2000ms)LCDに表示され、さらに2000msの間隔をあけて、つまりダイアグコード出力条件が成立してから12000ms経過して始めてPCSECU2gからのプリクラッシュダイアグコードが所定の時間(2000ms)LCDに表示される状態になる。   By the way, the display process of the diag code by the LCD is performed as follows. That is, as shown in FIG. 3A, while predetermined diag code output conditions such as the ignition key being turned on and the terminal t being short-circuited are satisfied, After a non-display state of, for example, 4000 ms from the establishment, first, the meter diagnostic code of the LCD ECU 1 itself is displayed on the LCD for a predetermined time (for example, 2000 ms), and then the key-free diagnostic code from the key-free ECU 4 at an interval of 2000 ms. Is displayed on the LCD for a predetermined time (2000 ms), and the pre-crash diag code from the PCSECU 2g is displayed for a predetermined time (2000 ms) after an interval of 2000 ms, that is, after 12,000 ms has passed after the diag code output condition is satisfied. Will be displayed.

そうすると、図3(a)に示すように、最初にダイアグコード出力条件が成立してから、12000msを経過するときには、PCSECU2gは11個(11種類)のダイアグコードを送信できる状態にあるが、12番目以降のダイアグコードは、PCSECU2gがLCDECU1から次以降の要求フレームを受けるまで待たなければならない。   Then, as shown in FIG. 3A, when 12000 ms elapses after the diag code output condition is first established, the PCSECU 2g can send 11 (11 types) diag codes. The second and subsequent diag codes must wait until the PCSECU 2g receives the next and subsequent request frames from the LCD ECU 1.

以上を踏まえて、図2に示すように、LCDECU1に、LCDにダイアグコード表示するノードであるLCDECU1、PCSECU2gおよびキーフリーECU4からのダイアグコードを記憶する第1の記憶手段および第2の記憶手段としての第1バッファ1bおよび第2バッファ1cが設けられている。   Based on the above, as shown in FIG. 2, the LCD ECU 1 has first and second storage means for storing the diagnosis codes from the LCD ECU 1, the PCSECU 2g, and the key-free ECU 4, which are nodes that display the diagnosis code on the LCD. The first buffer 1b and the second buffer 1c are provided.

そして、本発明における制御手段としてMPU1aにより、所定のノードであるPCSECU2gから送信される予め定められた所定情報であるサイクル終了コードを初回に受信する前には、PCSECU2gからのダイアグコード(ダイアグ情報)が第1バッファ1bおよび第2バッファ1cに記憶され、初回のサイクル終了コードを受信すると、MPU1aに内蔵の所定のエンドフラグに“1”がセットされる。   The MPU 1a as the control means in the present invention receives a diag code (diag information) from the PCSECU 2g before receiving the cycle end code which is predetermined predetermined information transmitted from the PCSECU 2g as a predetermined node for the first time. Are stored in the first buffer 1b and the second buffer 1c, and when the first cycle end code is received, "1" is set to a predetermined end flag built in the MPU 1a.

その後、MPU1aによるLCDの制御により、第2バッファ1cに記憶されたダイアグコードが順次LCDに表示され。そして、エンドフラグが“1”であれば、第1バッファ1bの記憶データが消去されるとともに、PCSECU2gからのダイアグコードが第1バッファ1bにのみ記憶され、次以降のサイクル終了情報の受信毎に第1バッファ1bの記憶情報が第2バッファ1cに上書き(更新記憶)されるようになっている。 Thereafter, the control of the LCD by MPU1a, diagnosis code stored in the second buffer 1c still appears sequentially on the LCD. If the end flag is “1”, the data stored in the first buffer 1b is erased, and the diagnostic code from the PCSECU 2g is stored only in the first buffer 1b. The information stored in the first buffer 1b is overwritten (updated) in the second buffer 1c.

より詳細には、例えば図4(a)、(b)に示すように、イグニッションキー(IG)がオンされ、LCDECU1のMPU1aのT端子が短絡(アース)されることにより、予め定められた所定のダイアグコード出力条件が成立したと判断されると、LCDECU1からノードIDの小さい順に各ECU2a〜2gに対してダイアグコードの送信要求が発せられる。   More specifically, for example, as shown in FIGS. 4A and 4B, the ignition key (IG) is turned on, and the T terminal of the MPU 1a of the LCD ECU 1 is short-circuited (grounded), whereby a predetermined predetermined value is obtained. If it is determined that the diag code output condition is established, the LCD ECU 1 issues a diag code transmission request to the ECUs 2a to 2g in ascending order of the node ID.

そして、LCDECU1からの送信要求に応えて、PCSECU2gから図4(c)に示すような「11」のダイアグコードが送信されると、初回のサイクル終了情報の受信前であるから、同図(g)、(h)に示すように、PCSECU2gからの「11」のダイアグコードが第1バッファ1bおよび第2バッファ1cの両方に記憶される。   Then, in response to a transmission request from the LCD ECU 1, when a diagnosis code of “11” as shown in FIG. 4C is transmitted from the PCSECU 2g, it is before the reception of the first cycle end information. ) And (h), the diagnostic code “11” from the PCSECU 2g is stored in both the first buffer 1b and the second buffer 1c.

また、PCSECU2gからは、「11」のダイアグコードとともに、1サイクルの終了を示すサイクル終了コード(所定情報)および異常の有無を含むデータが送信され、PCSECU2gから、例えば1サイクルの未終了を表わす図4(d)中の「0」、および、「11」のダイアグコードで表わされる異常ありを表わす同図(e)中の「1」のコードが送信される。   The PCSECU 2g transmits a cycle end code (predetermined information) indicating the end of one cycle and data including the presence / absence of an abnormality together with a diagnosis code “11”. The PCSECU 2g represents, for example, that one cycle has not ended. The codes “0” in 4 (d) and the codes “1” in FIG. 5 (e) representing the presence of an abnormality represented by the diagnosis code “11” are transmitted.

続いて、PCSECU2gから、図4(c)に示すような「12」のダイアグコードとともに、1サイクルの未終了を表わす同図(d)中の「0」、および、「12」のダイアグコードで表わされる異常ありを表わす同図(e)中の「1」が送信され、MPU1aにより、同図(g)、(h)に示すように、PCSECU2gからの先の「11」のダイアグコードに続いて「12」のダイアグコードが第1バッファ1bおよび第2バッファ1cの両方に記憶される。   Subsequently, from the PCSECU 2g, with a diagnosis code of “12” as shown in FIG. 4C, a diagnosis code of “0” and “12” in FIG. “1” in the same figure (e) indicating the presence of an abnormality is transmitted, and the MPU 1a follows the previous “11” diag code from the PCSECU 2g as shown in the same figure (g) and (h). The diagnostic code “12” is stored in both the first buffer 1b and the second buffer 1c.

さらに、PCSECU2gから、図4(c)に示すような「13」のダイアグコードとともに、1サイクルの終了を表わす同図(d)中の「1」、および、「13」のダイアグコードで表わされる異常ありを表わす同図(e)中の「1」が送信され、同図(g)、(h)に示すように、PCSECU2gからの先の「11」、「12」のダイアグコードに続いて「13」のダイアグコードが第1バッファ1bおよび第2バッファ1cの両方に記憶される。   Further, the PCSECU 2g is represented by “1” and “13” diag codes in FIG. 4D together with “13” diag codes as shown in FIG. 4C. "1" in the same figure (e) representing the presence of abnormality is transmitted, and as shown in the same figure (g) and (h), following the previous "11" and "12" diagnostic codes from the PCSECU 2g. The diagnostic code “13” is stored in both the first buffer 1b and the second buffer 1c.

このとき、例えば図4(i)に示すように、まずLCDECU1自身のダイアグコードが図外のLCDに表示され、LINの通信バス5を介して受信したキーフリーECU4からのキーフリーダイアグコードがLCDに表示され、その後第2バッファ1cに記憶されたPCSECU2gからの「11」、「12」のPCSダイアグコードがLCDに表示され、「13」のダイアグコードが受信されて第2バッファ1cに記憶されれば、「13」のPCSダイアグコードがLCDに表示される。   At this time, for example, as shown in FIG. 4 (i), the diag code of the LCD ECU 1 itself is first displayed on the LCD not shown, and the key free diag code received from the key free ECU 4 via the LIN communication bus 5 is displayed on the LCD. The PCS diagnostic codes “11” and “12” from the PCSECU 2g stored in the second buffer 1c are then displayed on the LCD, and the diagnostic code “13” is received and stored in the second buffer 1c. Then, the PCS diagnostic code “13” is displayed on the LCD.

ところで、図4(d)に示す1サイクルの終了を表わす「1」のコードをLCDECU1が受信すると、初回のサイクル終了コードを受信したことになり、これに伴い同図(f)に示すように、MPU1aに内蔵のエンドフラグに“1”がセットされ、エンドフラグのセットによって、同図(g)に示すように、第1バッファ1bの記憶データが消去される。なお、同図(g)中の四角内の空白はデータが消去されたことを表している。   By the way, when the LCD ECU 1 receives the code “1” representing the end of one cycle shown in FIG. 4D, it means that the first cycle end code has been received. As a result, as shown in FIG. , “1” is set to the end flag built in the MPU 1a, and the data stored in the first buffer 1b is erased by setting the end flag, as shown in FIG. Note that the blank in the square in FIG. 5G indicates that the data has been erased.

その後、PCSECU2gから、図4(b)に示すような先の「11」よりもダイアグコード番号の小さい「10」のダイアグコードとともに、1サイクルの未終了を表わす同図(d)中の「0」、および、「10」のダイアグコードで表わされる異常ありを表わす同図(e)中の「1」のコードを含むデータが送信されると、初回のサイクル終了コードを受信してエンドフラグがセットされた後は、PCSECU2gから「10」のダイアグコードが、MPU1aにより消去済みの第1バッファ1bにのみ新たに記憶される一方、第2バッファ1cが書き換えられることはない。   Thereafter, the PCSECU 2g, together with the diagnosis code “10” having a smaller diagnosis code number than the previous “11” as shown in FIG. 4B, “0” in FIG. When the data including the code “1” in FIG. 5 (e) indicating the presence of abnormality represented by the diagnosis code “10” is transmitted, the first cycle end code is received and the end flag is set. After the setting, the diagnostic code “10” from the PCSECU 2g is newly stored only in the first buffer 1b which has been erased by the MPU 1a, while the second buffer 1c is not rewritten.

続いて、PCSECU2gから、図4(b)に示すような「15」のダイアグコードとともに、2回目の1サイクルの終了を表わす同図(d)中の「1」、および、「15」のダイアグコードで表わされる異常ありを表わす同図(e)中の「1」のコードを含むデータが送信されると、同図(g)に示すように、先の「10」のダイアグコードに続いて「15」のダイアグコードが第1バッファ1bに記憶される。   Subsequently, from the PCSECU 2g, a diagnosis code “15” as shown in FIG. 4B and a diagnosis code “1” and “15” in FIG. When data including the code “1” in FIG. 8 (e) indicating the presence of an abnormality represented by a code is transmitted, as shown in FIG. 10 (g), following the above “10” diagnostic code. The diagnostic code “15” is stored in the first buffer 1b.

さらに、2回目のサイクル終了コードの受信によって、図4(g)に示す第1バッファ1bに記憶された「10」および「15」のダイアグコードが、同図(h)に示すように、MPU1aにより第2バッファ1cに更新記憶(上書き)されるとともに、同図(g)に示すように、第1バッファ1bの記憶データが消去され、同図(i)に示すように、第2バッファ1cに記憶されたPCSECU2gからの「10」、「15」のPCSダイアグコードがLCDに表示されることになる。その後、PCSECU2gから所定情報であるサイクル終了コードを受信する毎に、このような第1バッファ1bの記憶データの第2バッファ1cへの上書きと、第1バッファ1bの消去とが繰り返される。   Further, by receiving the second cycle end code, the diagnosis codes “10” and “15” stored in the first buffer 1b shown in FIG. 4G are changed to MPU1a as shown in FIG. Thus, the second buffer 1c is updated and stored (overwritten), and the stored data in the first buffer 1b is erased as shown in FIG. 5G, and the second buffer 1c is deleted as shown in FIG. PCS diagnostic codes “10” and “15” stored in the PCSECU 2g are displayed on the LCD. Thereafter, every time a cycle end code, which is predetermined information, is received from the PCSECU 2g, such overwriting of the data stored in the first buffer 1b to the second buffer 1c and erasure of the first buffer 1b are repeated.

このように、PCSECU2gからの予め定められた所定情報であるサイクル終了コードを初回に受信する前には、LCDECU1のMPU1a(制御手段)の制御により、第1および第2バッファ1b,1cの両方にPCSECU2gからのダイアグコード(ダイアグ情報)が記憶され、初回のサイクル終了コードの受信後には、MPU1aの制御により、PCSECU2gからのダイアグコードが第1バッファ1bにのみ記憶され、2回目以降のサイクル終了コードの受信毎に第1バッファ1bの記憶データが第2バッファ1cに更新記憶(上書き)される。   As described above, before receiving the cycle end code, which is predetermined predetermined information, from the PCSECU 2g for the first time, the MPU 1a (control means) of the LCD ECU 1 controls both the first and second buffers 1b and 1c. The diagnostic code (diagnostic information) from the PCSECU 2g is stored, and after the first cycle end code is received, the diagnostic code from the PCSECU 2g is stored only in the first buffer 1b under the control of the MPU 1a, and the second and subsequent cycle end codes are stored. Is received and updated (overwritten) in the second buffer 1c.

したがって、上記した実施形態によれば、PCSECU2gからのダイアグコードの多少に拘わらず、PCSECU2gが送信可能な全てのダイアグコードが第2バッファ1cに記憶され、しかもサイクル終了コードの受信毎に第1バッファ1bの記憶データが第2バッファ1cに上書きされるため、LCDが第2バッファ1cに記憶されたダイアグコードを表示するに当たって、従来のように、途中でダイアグコード番号の小さいダイアグコードを受信したときに、先に記憶したダイアグコードを上書きしてしまうことによる記憶データの消失によるダイアグコードの出力漏れの発生や、1回のサイクルが終了するまでダイアグコードの表示を待つことによる表示遅れ(出力遅れ)の発生を防止することができ、整備士(使用者)に対してダイアグコードを表示する場合において、ダイアグコードが漏れや遅れなく表示されることになり、ダイアグノーシス診断における信頼性の向上に寄与することが可能になる。   Therefore, according to the above-described embodiment, all the diag codes that can be transmitted by the PCSECU 2g are stored in the second buffer 1c regardless of the number of diag codes from the PCSECU 2g, and the first buffer is received every time the cycle end code is received. Since the stored data of 1b is overwritten in the second buffer 1c, when a diag code having a small diag code number is received during the display of the diag code stored in the second buffer 1c, as in the prior art. In addition, diag code output leakage due to loss of stored data due to overwriting of previously stored diag code, or display delay (output delay) due to waiting for display of diag code until one cycle is completed ) Can be prevented for mechanics (users) In the case of displaying Iagukodo, will be diagnostic code is displayed leakage and without delay, it is possible to contribute to improving the reliability of diagnosis diagnosis.

なお、本発明は上記した実施形態に限定されるものではなく、その趣旨を逸脱しない限りにおいて上述したもの以外に種々の変更を行なうことが可能である。   The present invention is not limited to the above-described embodiment, and various modifications other than those described above can be made without departing from the spirit of the present invention.

たとえば、上記した実施形態では、本発明における「所定のノード」をPCSECU2gとして説明したが、「所定のノード」はこれに限るものではない。また、上記した実施形態では、本発明における「所定情報」をPCSECU2gからの1サイクルの終了を表わすサイクル終了コードとした場合について説明したが、「所定情報」はこれに限定されるものではない。   For example, in the above-described embodiment, the “predetermined node” in the present invention has been described as the PCSECU 2g, but the “predetermined node” is not limited to this. In the above-described embodiment, the case where the “predetermined information” in the present invention is a cycle end code indicating the end of one cycle from the PCSECU 2g has been described, but the “predetermined information” is not limited to this.

また、上記した実施形態では、所定情報であるサイクル終了コードを初回に受信する前には、LCDECU1のMPU1aの制御により、第1および第2バッファ1b,1cの両方にPCSECU2gからのダイアグコード(ダイアグ情報)を記憶するようにした場合について説明したが、サイクル終了コードを初回に受信する前には、第2バッファ1cのみにダイアグコード(ダイアグ情報)を記憶するようにしてもよい。   Further, in the above-described embodiment, before receiving the cycle end code as the predetermined information for the first time, the diagnosis code (diagnostic) from the PCSECU 2g is applied to both the first and second buffers 1b and 1c by the control of the MPU 1a of the LCD ECU 1. (Information) is stored, but before receiving the cycle end code for the first time, the diag code (diag information) may be stored only in the second buffer 1c.

1 …LCDECU
1a …MPU(制御手段)
1b …第1バッファ(第1の記憶手段)
1c …第2バッファ(第2の記憶手段)
2g …PCSECU(ノード)
3 …通信バス
1 ... LCD ECU
1a: MPU (control means)
1b... First buffer (first storage means)
1c ... second buffer (second storage means)
2g ... PCSECU (node)
3 ... Communication bus

Claims (1)

車載ネットワーク上の複数のノードからのダイアグノーシス診断の結果を表わすダイアグ情報を順次受信して記憶し出力する処理を1サイクルとして繰り返し行う車両用制御装置において、
前記各ノードからの前記ダイアグ情報を記憶する第1の記憶手段および第2の記憶手段と、
前記第2の記憶手段に記憶された前記ダイアグ情報を出力する出力手段と、
前記第1および第2の記憶手段の記憶を制御する制御手段とを備え、
前記制御手段は、
前記各ノードのうち特定のノードから前記ダイアグ情報とは別に予め定められたタイミングで送信される前記1サイクルに関するサイクル情報を初回に受信する前には、前記各ノードからの前記ダイアグ情報を前記第2の記憶手段に記憶させ、
初回の前記サイクル情報の受信後には、前記各ノードからの前記ダイアグ情報を前記第1の記憶手段に記憶させ、前記サイクル情報の受信毎に前記第1の記憶手段の記憶情報を前記第2の記憶手段に更新記憶させることを特徴とする車両用制御装置。
In the vehicle control device repeatedly performs the process you store diagnostic information sequentially received and output as one cycle representing the result of the diagnosis diagnostics from a plurality of nodes on the vehicle network,
First storage means and second storage means for storing the diagnosis information from each node;
Output means for outputting the diagnosis information stored in the second storage means;
Control means for controlling storage of the first and second storage means,
The control means includes
Before receiving the first cycle information related to the one cycle transmitted at a predetermined timing separately from the diagnosis information from a specific node among the nodes, the diagnosis information from the nodes is received as the first information. 2 is stored in the storage means,
After receiving the cycle information for the first time, the diagnosis information from each node is stored in the first storage means, and the storage information in the first storage means is stored in the second storage every time the cycle information is received. A control apparatus for a vehicle, wherein the storage means is updated and stored.
JP2013147510A 2013-07-16 2013-07-16 Vehicle control device Active JP6214254B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013147510A JP6214254B2 (en) 2013-07-16 2013-07-16 Vehicle control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013147510A JP6214254B2 (en) 2013-07-16 2013-07-16 Vehicle control device

Publications (2)

Publication Number Publication Date
JP2015020450A JP2015020450A (en) 2015-02-02
JP6214254B2 true JP6214254B2 (en) 2017-10-18

Family

ID=52485326

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013147510A Active JP6214254B2 (en) 2013-07-16 2013-07-16 Vehicle control device

Country Status (1)

Country Link
JP (1) JP6214254B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02147448A (en) * 1988-11-29 1990-06-06 Furukawa Electric Co Ltd:The Trouble shooting device for car
JP3419060B2 (en) * 1994-02-08 2003-06-23 株式会社デンソー Diagnostic device for vehicles
JPH0865309A (en) * 1994-08-19 1996-03-08 Hitachi Ltd Reception control method for broadcast communication and broadcast communication controller
KR100974705B1 (en) * 2007-12-13 2010-08-06 현대자동차주식회사 Fault information processing system and method for vehicle

Also Published As

Publication number Publication date
JP2015020450A (en) 2015-02-02

Similar Documents

Publication Publication Date Title
CN104516347B (en) Vehicle location and fault diagnosis system and method
CN102043680B (en) Method and system for refreshing ECU (Electronic Control Unit) embedded software and downloading program
JP3762957B2 (en) Total mileage alteration prevention system and method
JP2019519825A5 (en)
CA3048511C (en) Method and system of vehicle diagnostics
US20090082912A1 (en) System and methods for controlling vehicular functions
US20140324248A1 (en) Telematics for a towed vehicle
CN103197666A (en) General-type handheld automobile fault diagnostic instrument
KR100696889B1 (en) inner vehicle communication system and gateway
KR101866725B1 (en) Communication method of electronic device in vehicle and vehicle having the same
JP6214254B2 (en) Vehicle control device
CN202110528U (en) ECU (electrical conversion unit) embedded type software refreshing and downloading programming system
CN102681526A (en) CAN (controller area network) bus system and fault diagnosis method thereof
EP2789127A1 (en) Self -learning automotive data logger identifying automotive messages transmitted over a can bus connecting automotive electronic control units
CN113011852A (en) Vehicle maintenance reminding method and device, vehicle-mounted equipment and storage medium
CN210941352U (en) Upgrading system of vehicle-mounted full liquid crystal instrument and vehicle with same
JPH11175331A (en) Rom rewritting method for lan system for vehicle, and on-vehicle controller
JP2004302944A (en) Control system for vehicle
WO2014118845A1 (en) On-board display system
KR101459953B1 (en) System for restoring driving information of vehicle
CN107391215A (en) The system that a kind of ECU embedded softwares refresh and download programming
JP2014213759A (en) Display device for vehicle
CN111492641B (en) Method and control unit for communication with a vehicle
CN111610771B (en) Vehicle data flow testing system and method
CN110120904A (en) Entire car controller local area network message demarcates monitoring device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160621

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170302

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170314

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170427

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170919

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170919

R150 Certificate of patent or registration of utility model

Ref document number: 6214254

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250