JP7003456B2 - Diagnostic device - Google Patents

Diagnostic device Download PDF

Info

Publication number
JP7003456B2
JP7003456B2 JP2017119542A JP2017119542A JP7003456B2 JP 7003456 B2 JP7003456 B2 JP 7003456B2 JP 2017119542 A JP2017119542 A JP 2017119542A JP 2017119542 A JP2017119542 A JP 2017119542A JP 7003456 B2 JP7003456 B2 JP 7003456B2
Authority
JP
Japan
Prior art keywords
diagnostic
diagnosis
result
information
determination
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
JP2017119542A
Other languages
Japanese (ja)
Other versions
JP2019003535A (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 JP2017119542A priority Critical patent/JP7003456B2/en
Publication of JP2019003535A publication Critical patent/JP2019003535A/en
Application granted granted Critical
Publication of JP7003456B2 publication Critical patent/JP7003456B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Description

本発明は、診断装置に関する。 The present invention relates to a diagnostic device.

車両においては、各部に配置されたセンサや計器等からダイアグ情報を取得し、これらをダイアグ情報収集システムにおいて集積して全体の管理をする診断装置がある。近年では、車両内の各部品の電動化が進んだことで、車両全体ではなく部品個々においても自己診断が行われるようになってきた。 In a vehicle, there is a diagnostic device that acquires diagnostic information from sensors, instruments, etc. arranged in each part, collects these in a diagnostic information collection system, and manages the whole. In recent years, with the progress of electrification of each part in a vehicle, self-diagnosis has come to be performed not only for the entire vehicle but also for each part.

この場合、診断処理を行う各ダイアグ判定SWC(Software Component)で判定された正常か異常かの自己診断結果は、ダイアグ情報収集システムのように、自己診断結果を集約し管理するシステム(ダイアグマネージャ)に通知される。ダイアグマネージャの中では、集約した情報を元に診断状態(正常/異常の確定、正常/異常の判定中、未診断)の判定を行い、その結果に基づいて必要なシステムアクションの決定を行っている。 In this case, the self-diagnosis result of normality or abnormality determined by each diagnostic judgment SWC (Software Component) that performs diagnostic processing is a system (diagnosis manager) that aggregates and manages the self-diagnosis result like a diagnostic information collection system. Will be notified to. In the diagnostic manager, the diagnostic status (normal / abnormal confirmed, normal / abnormal determination, undiagnosed) is determined based on the aggregated information, and the necessary system action is determined based on the result. There is.

しかしながら、上記システムにおいては、各ダイアグ判定SWCが診断した結果の情報については、周期毎にダイアグマネージャ側で情報を収集して関数をコールするので、ダイアグ判定SWCが多いとダイアグマネージャの処理負荷が大きくなり、処理能力が低下したり、他の処理に割り当てるだけの余裕がなくなったりする不具合がある。 However, in the above system, as for the information of the result diagnosed by each diagnosis SWC, the information is collected on the diagnosis manager side every cycle and the function is called. Therefore, if the diagnosis SWC is large, the processing load of the diagnosis manager becomes heavy. There is a problem that it becomes large, the processing capacity is reduced, and there is no room for allocation to other processing.

特開2014-172534号公報Japanese Unexamined Patent Publication No. 2014-172534

本発明は、上記事情を考慮してなされたもので、その目的は、複数の診断処理部が診断した結果の診断情報を診断情報管理部で受信する場合に、処理負荷を軽減して診断情報管理部で収集処理をすることができるようにした診断装置を提供することにある。 The present invention has been made in consideration of the above circumstances, and an object of the present invention is to reduce the processing load and perform diagnostic information when the diagnostic information management unit receives diagnostic information as a result of diagnosis by a plurality of diagnostic processing units. The purpose is to provide a diagnostic device capable of collecting and processing in the management unit.

請求項1に記載の診断装置は、外部の診断部から入力されるデータにより診断処理を実施する複数の診断処理部と、前記複数の診断処理部の診断情報を収集管理する診断情報管理部と、前記診断情報管理部により管理する診断情報を記憶する記憶部とを備える。前記診断情報管理部は、前記複数の診断処理部から収集した前記診断情報に基づいて診断状態を判定し、その診断状態の診断結果が確定したときに、その確定したときの診断結果を前記記憶部に記憶させるようになっている。前記複数の診断処理部は、前記診断処理により判定した診断情報について、前記記憶部に記憶された前記確定したときの診断結果に基づいて、当該診断情報を前記診断情報管理部に送信するか否かを判断する。 The diagnostic apparatus according to claim 1 includes a plurality of diagnostic processing units that perform diagnostic processing using data input from an external diagnostic unit, and a diagnostic information management unit that collects and manages diagnostic information of the plurality of diagnostic processing units. , A storage unit for storing diagnostic information managed by the diagnostic information management unit is provided. The diagnostic information management unit determines a diagnostic state based on the diagnostic information collected from the plurality of diagnostic processing units, and when the diagnostic result of the diagnostic state is confirmed, the diagnostic result at the time of the determination is stored. It is designed to be memorized in the department. Whether or not the plurality of diagnostic processing units transmit the diagnostic information determined by the diagnostic processing to the diagnostic information management unit based on the diagnosis result at the time of determination stored in the storage unit. To judge.

上記構成を採用することにより、各診断処理部においては、診断処理により判定した診断情報について、診断情報管理部によって記憶された診断情報を読み出して照合するとで、診断情報管理部に送信する必要があるか否かを判断することができ、これによって、送信する必要がない場合にはこれを送信することを省略することができる。この結果、診断情報管理部においては、診断処理部からすべての診断情報のうち受信が必要なものが送信されるようになり、処理負担が軽減されるようになる。 By adopting the above configuration, each diagnostic processing unit needs to read and collate the diagnostic information stored by the diagnostic information management unit with respect to the diagnostic information determined by the diagnostic processing, and send it to the diagnostic information management unit. It is possible to determine whether or not there is, and thereby it is possible to omit transmitting this when it is not necessary to transmit it. As a result, in the diagnostic information management unit, all the diagnostic information that needs to be received is transmitted from the diagnostic processing unit, and the processing load is reduced.

一実施形態を示す全体のブロック構成図Overall block configuration diagram showing one embodiment ダイアグ判定SWCの自己診断処理の流れ図Flow chart of self-diagnosis processing of diagnostic judgment SWC ダイアグマネージャの管理処理の流れ図Flow chart of the management process of Diag Manager 作用説明図Operation explanatory diagram

以下、本発明の一実施形態について、図1~図4を参照して説明する。
図1は全体のブロック構成を示すもので、車両に設けられるダイアグシステムの概略的構成である。ダイアグシステムを構成する診断装置1は、内部にCPU、記憶部としてのメモリや入出力インターフェースなどを備えている。また、CPUは内部に記憶されたプログラムに基づいて診断処理を実行する。図1では、診断装置1の構成を、機能ブロックとして示している。
Hereinafter, an embodiment of the present invention will be described with reference to FIGS. 1 to 4.
FIG. 1 shows the entire block configuration, and is a schematic configuration of a diagnostic system provided in a vehicle. The diagnostic device 1 constituting the diagnostic system includes a CPU, a memory as a storage unit, an input / output interface, and the like inside. In addition, the CPU executes diagnostic processing based on the program stored internally. In FIG. 1, the configuration of the diagnostic device 1 is shown as a functional block.

診断装置1の機能ブロック構成について説明する。診断機能を備えた診断処理部として、複数個例えば4つのダイアグ判定SWC(Software Component)2~5を備えている。ダイアグ判定SWC2~5には、例えば車両の各部に配置されるセンサ20~40や、故障診断用の計器50等から検出信号を受ける。 The functional block configuration of the diagnostic apparatus 1 will be described. As a diagnostic processing unit having a diagnostic function, a plurality of, for example, four diagnostic determination SWCs (Software Components) 2 to 5 are provided. The diagnostic determination SWCs 2 to 5 receive detection signals from, for example, sensors 20 to 40 arranged in each part of the vehicle, an instrument 50 for failure diagnosis, and the like.

ダイアグ判定SWC2は、診断部2aおよび送信判定部2bを機能として備えている。診断部2aは、それぞれがセンサ20~40あるいは計器50から受ける検出信号に基づいて、予め設定された条件の範囲内に有るか否かを判断して状態を診断する。送信判定部2bは、診断部2aで診断された結果を送信するか否かを、後述するようにして判断する。他のダイアグ判定SWC3~5も同様の機能を備えている。 The diagnosis determination SWC2 includes a diagnosis unit 2a and a transmission determination unit 2b as functions. The diagnosis unit 2a determines whether or not each of them is within the range of preset conditions based on the detection signals received from the sensors 20 to 40 or the instrument 50, and diagnoses the state. The transmission determination unit 2b determines whether or not to transmit the result diagnosed by the diagnosis unit 2a as described later. Other diagnostic determination SWCs 3 to 5 have the same function.

診断情報管理部としてのダイアグマネージャ6は、機能としてカウンタ処理部6a、診断状態判定部6bおよびシステムアクション決定部6cを備えている。カウンタ処理部6aは、ダイアグ判定SWC2~5から送信される診断結果の受信回数などをカウントする。診断状態判定部6bは、受信した診断情報に基づいて診断状態を判定し、必要に応じて診断状態記憶RAM(Random Access Memory)7に記憶させる。診断状態記憶RAM7は、車両の電源がオン状態すなわちイグニッションオン(IGON)状態で、新たな書き込みおよび読み出しが可能であるが、電源がオフ状態では記憶された情報は消去された状態となる。 The diagnostic information management unit 6 includes a counter processing unit 6a, a diagnosis state determination unit 6b, and a system action determination unit 6c as functions. The counter processing unit 6a counts the number of times the diagnosis result transmitted from the diagnostic determination SWCs 2 to 5 is received. The diagnosis state determination unit 6b determines the diagnosis state based on the received diagnosis information, and stores it in the diagnosis state storage RAM (Random Access Memory) 7 as needed. The diagnostic state storage RAM 7 can be newly written and read when the power of the vehicle is on, that is, when the ignition is on (IGON), but when the power is off, the stored information is erased.

また、故障などの情報を不揮発性メモリであるEEPROM8に記憶させる。EEPROM8は、電源がオン状態で書き込みおよび読み出しが可能であり、電源がオフ状態になっても書き込まれた情報は保持されている。システムアクション決定部6cは、診断結果に基づいて判定した診断状態により、外部に動作させるべき制御司令を出力することが必要な場合には、これを決定して他の制御回路60~90等に制御司令を出力する。 Further, information such as a failure is stored in the EEPROM 8 which is a non-volatile memory. The EEPROM 8 can be written and read while the power is on, and the written information is retained even when the power is turned off. When it is necessary for the system action determination unit 6c to output a control command to be operated to the outside based on the diagnosis state determined based on the diagnosis result, the system action determination unit 6c determines this and sends it to other control circuits 60 to 90 or the like. Output control command.

次に、上記構成の作用について、図2から図4も参照して説明する。
図2は4つのダイアグ診断SWC2~5のそれぞれが実施する診断処理の概略的な流れを示すものである。各ダイアグ診断SWC2~5は、制御対象に付随して設けられたセンサ20~40や計器50などが検出している状態を検出信号として所定タイミングで取り込んでいる。
Next, the operation of the above configuration will be described with reference to FIGS. 2 to 4.
FIG. 2 shows a schematic flow of diagnostic processing performed by each of the four diagnostic SWCs 2 to 5. Each of the diagnostic SWCs 2 to 5 captures the state detected by the sensors 20 to 40 and the instrument 50 provided along with the controlled object as a detection signal at a predetermined timing.

各ダイアグ診断SWC2~5は、センサ20~40や計器50から検出信号を取り込むと、ステップA1で、検出信号の値に基づいて制御対象の状態を診断して判定する。制御対象の状態は、検出信号の値が正常状態に対応するものであるか、あるいは異常状態に対応するものであるかを判定することで得られる。 When the detection signals are taken from the sensors 20 to 40 and the instrument 50, the diagnosis SWCs 2 to 5 diagnose and determine the state of the controlled object based on the value of the detection signal in step A1. The state to be controlled is obtained by determining whether the value of the detection signal corresponds to the normal state or the abnormal state.

次に、各ダイアグ診断SWC2~5は、ステップA2で、診断状態記憶RAM7から内部に記憶されている過去の診断状態の情報を読み出す。診断状態記憶RAM7に記憶されている診断状態の情報は、後述するようにダイアグマネージャ6により書き込まれる情報であり、複数回の診断情報に基づいて診断状態が「正常」あるいは「異常」として確定した情報であるかどうかの情報として前回までの情報が記憶されている。 Next, in step A2, each diagnosis SWC2 to 5 reads out the information of the past diagnosis state stored internally from the diagnosis state storage RAM 7. The diagnostic status information stored in the diagnostic status storage RAM 7 is information written by the diagnostic manager 6 as described later, and the diagnostic status is determined as "normal" or "abnormal" based on the diagnostic information a plurality of times. The information up to the previous time is stored as information as to whether or not it is information.

各ダイアグ判定SWC2~5は、ステップA3で、自己が制御対象としているセンサ20~40あるいは計器50の検出信号に基づいて判定した結果が「正常」であった場合で、且つ診断状態記憶RAM7から読み出した情報が「正常確定」である場合に、YESと判断して診断処理を終了する。これは、前回までの診断結果から、「正常確定」の状態である場合には、今回の診断情報が「正常」であることは継続的に正常状態の診断であったことから、ダイアグマネージャ6に結果を通知する必要がないとして省略するのである。これによって、毎回必ずダイアグマネージャ6に通知することを回避してダイアグマネージャ6の処理負荷を軽減している。 Each diagnosis judgment SWC2 to 5 is performed in step A3 when the result of judgment based on the detection signal of the sensor 20 to 40 or the instrument 50 to be controlled by itself is "normal", and from the diagnosis state storage RAM 7. If the read information is "normally confirmed", it is determined as YES and the diagnostic process is terminated. This is because, from the diagnosis results up to the previous time, when the state is "normally confirmed", the fact that the current diagnosis information is "normal" is a continuous diagnosis of the normal state. It is omitted because it is not necessary to notify the result to. As a result, the processing load of the diagnostic manager 6 is reduced by avoiding notifying the diagnostic manager 6 every time.

ステップA3でNOの場合には、各ダイアグ診断SWC2~5は、ステップA4に進む。各ダイアグ診断SWC2~5は、制御対象としているセンサ20~40あるいは計器50から判定した診断情報が「異常」であった場合で、且つ診断状態記憶RAM7から読み出した情報が「異常確定」である場合に、YESと判断して診断処理を終了する。この場合についても上述同様に、前回までの診断結果から、「異常確定」であって且つ今回の診断情報が「異常」であることは継続的に異常状態の診断であったことから、ダイアグマネージャ6に結果を通知する必要がないとして省略するのである。これによって、毎回必ずダイアグマネージャ6に通知するという処理を止めることでダイアグマネージャ6において関数コールが発生する処理負荷を軽減している。 If NO in step A3, each diagnostic SWC2-5 proceeds to step A4. In each of the diagnostic SWCs 2 to 5, the diagnostic information determined from the sensors 20 to 40 or the instrument 50 to be controlled is "abnormal", and the information read from the diagnostic state storage RAM 7 is "abnormal confirmation". In that case, it is determined as YES and the diagnostic process is terminated. In this case as well, from the diagnosis results up to the previous time, the fact that the diagnosis information is "abnormal" and the diagnosis information this time is "abnormal" is a continuous diagnosis of the abnormal state. It is omitted because it is not necessary to notify 6 of the result. As a result, the processing load in which the function call is generated in the diagnostic manager 6 is reduced by stopping the processing of notifying the diagnostic manager 6 every time.

各ダイアグ診断SWC2~5は、ステップA4でNOの場合には、ステップA5に進み、診断結果をダイアグマネージャ6に通知した後、診断処理を終了する。つまり、前回までに得られている「正常確定」あるいは「異常確定」の状態から異なる「異常」あるいは「正常」が診断状態として判定された場合に通知をするのである。これにより、診断状態に変化が生じたことがダイアグマネージャ6に通知され、ダイアグマネージャ6においては、通知された診断情報についての処理を実施することになる。 If NO in step A4, each diagnosis SWC2 to 5 proceeds to step A5, notifies the diagnosis result to the diagnosis manager 6, and then ends the diagnosis process. That is, a notification is given when an "abnormality" or "normality" different from the "normally confirmed" or "abnormality confirmed" state obtained up to the previous time is determined as a diagnostic state. As a result, the diagnostic manager 6 is notified that the diagnostic status has changed, and the diagnostic manager 6 performs processing on the notified diagnostic information.

次に、図3を参照して、ダイアグマネージャ6の作用について説明する。ダイアグマネージャ6は、ダイアグ判定SWC2~5から診断結果が入力されると、ステップB1で、入力された診断結果について正常な状態で診断されたものであるか否かを判定する。ここでは、ダイアグマネージャ6は、入力された診断結果に対して、ダイアグマスクフラグが設定されているか否かを判断し、設定されている場合にはNOと判断して処理を終了する。一方、ダイアグマネージャ6は、ダイアグマスクフラグが設定されていない場合には、YESと判断してステップB3に進む。 Next, the operation of the diagnostic manager 6 will be described with reference to FIG. When the diagnosis result is input from the diagnosis determination SWC2 to 5, the diagnosis manager 6 determines in step B1 whether or not the input diagnosis result is diagnosed in a normal state. Here, the diagnostic manager 6 determines whether or not the diagnostic mask flag is set for the input diagnosis result, and if it is set, determines NO and ends the process. On the other hand, if the diagnostic mask flag is not set, the diagnostic manager 6 determines YES and proceeds to step B3.

ダイアグマスクフラグは、後述するステップB7で判断される結果に基づいて設定されるもので、ダイアグマネージャ6に入力された診断結果が誤っている可能性が高いため、ダイアグマネージャ6においては、診断状態を判定するのに適さない診断結果であったと判断することで、誤判定を防止するとともに、無駄に診断処理を実行しないようにしたものである。 The diagnostic mask flag is set based on the result determined in step B7, which will be described later. Since there is a high possibility that the diagnostic result input to the diagnostic manager 6 is incorrect, the diagnostic status in the diagnostic manager 6 is high. By determining that the diagnostic result is not suitable for determining the above, erroneous determination is prevented and the diagnostic process is not executed unnecessarily.

ダイアグマネージャ6は、ステップB2でYESと判断した場合には、ステップB3に進み、ダイアグカウンタ処理を実行する。ダイアグカウンタ処理は、ダイアグ判定SWC2~5から入力される診断結果が「異常」である場合にこれをカウントアップし、「正常」である場合にこれをカウントダウンするカウント処理である。ダイアグマネージャ6は、ダイアグ判定SWC2~5のそれぞれに対応してカウント処理を行っている。 If the diagnostic manager 6 determines YES in step B2, the diagnostic manager 6 proceeds to step B3 and executes the diagnostic counter processing. The diagnosis counter process is a count process that counts up when the diagnosis result input from the diagnosis determination SWCs 2 to 5 is "abnormal" and counts down when the diagnosis result is "normal". The diagnosis manager 6 performs counting processing corresponding to each of the diagnosis determination SWCs 2 to 5.

次に、ダイアグマネージャ6は、ステップB4で、レディネスカウンタ処理を実行する。レディネスカウンタ処理は、ダイアグ判定SWC2~5から診断結果が入力される毎にカウントアップするカウント処理である。 Next, the diagnostic manager 6 executes readiness counter processing in step B4. The readiness counter process is a count process that counts up each time a diagnosis result is input from the diagnostic determination SWCs 2 to 5.

ダイアグマネージャ6は、次のステップB5において、上記のダイアグカウンタ処理およびレディネスカウンタ処理のカウント値に基づいて、診断状態の判定処理を行う。この判定処理では、ダイアグマネージャ6は、正常状態あるいは異常状態の「確定」をすることができるか否かを判断する。 In the next step B5, the diagnosis manager 6 performs a diagnosis state determination process based on the count values of the diagnosis counter process and the readiness counter process described above. In this determination process, the diagnostic manager 6 determines whether or not the normal state or the abnormal state can be "determined".

ダイアグマネージャ6は、例えば、診断結果が正常判定をするものである場合に、誤診断を回避するために、この正常判定結果が連続して4回入力されると、正常状態であることを確定する判定を行う。また、同様にしてダイアグマネージャ6は、診断結果が異常判定をするものである場合に、この異常判定結果が連続して4回入力されると、異常状態であることを確定する判定を行う。 For example, when the diagnosis result is a normal judgment, the diagnostic manager 6 determines that the normal state is obtained when the normal judgment result is input four times in succession in order to avoid a misdiagnosis. Make a judgment. Further, similarly, when the diagnosis result is an abnormality determination, the diagnosis manager 6 makes a determination to confirm that the abnormality is in the abnormal state when the abnormality determination result is input four times in succession.

ダイアグマネージャ6は、次のステップB6に進むと、診断結果が「正常判定確定」あるいは「異常判定確定」である場合に、ダイアグ判定SWC2~5のうちの対応するものについて、確定情報を診断情報記憶RAM7に記憶させる。診断情報記憶RAM7に記憶された情報は、前述したダイアグ判定SWC2~5による診断処理のステップA2で読み出して診断処理結果をダイアグマネージャ6に通知するか否かの判断を行う情報となるものである。 When the diagnosis result proceeds to the next step B6 and the diagnosis result is "normal judgment confirmed" or "abnormal judgment confirmed", the diagnosis manager 6 obtains confirmation information for the corresponding ones of the diagnosis judgment SWCs 2 to 5. It is stored in the storage RAM 7. The information stored in the diagnostic information storage RAM 7 is information that is read out in step A2 of the diagnostic processing by the diagnostic determination SWC2 to 5 described above to determine whether or not to notify the diagnostic processing result to the diagnostic manager 6. ..

ダイアグマネージャ6は、次のステップB7では、ダイアグマスクフラグの設定処理を行う。前述したステップB1の処理で説明したように、ステップB5での診断状態の判定で「異常判定確定」であった場合に、その診断対象が異常状態であることが確定したのであるから、その診断対象から得られた診断結果は正常なものとして扱うことができない。 In the next step B7, the diagnostic manager 6 performs a diagnosis mask flag setting process. As described in the process of step B1 described above, when the diagnosis state is determined in step B5 to be "abnormality determination confirmed", it is determined that the diagnosis target is an abnormal state. Therefore, the diagnosis is made. The diagnostic results obtained from the subject cannot be treated as normal.

例えば、ダイアグ判定SWC2による診断結果の状態判定で「異常状態確定」であった場合には、その診断対象であるセンサ20が異常状態であることとなる。この場合には、センサ20による診断結果が過電圧検出などの異常を検出していても、その検出結果に基づいて判定をすることができないことになる。したがって、そのような場合に、ダイアグマネージャ6は、ダイアグマスクフラグを設定することで診断結果がダイアグ判定SWC2から入力されても診断対象が正常でないとして診断状態の判定の処理を実施せず、終了するように設定するのである。この結果、無駄な診断処理を実施することで処理負荷が増大するのを回避することができる。 For example, when the state determination of the diagnosis result by the diagnosis determination SWC2 is "abnormal state confirmed", the sensor 20 to be diagnosed is in the abnormal state. In this case, even if the diagnosis result by the sensor 20 detects an abnormality such as overvoltage detection, the determination cannot be made based on the detection result. Therefore, in such a case, the diagnosis manager 6 does not perform the process of determining the diagnosis state because the diagnosis target is not normal even if the diagnosis result is input from the diagnosis determination SWC2 by setting the diagnosis mask flag, and ends. It is set to do. As a result, it is possible to avoid an increase in the processing load due to unnecessary diagnostic processing.

次に、ダイアグマネージャ6は、ステップB8に進み、ステップB5で得られた診断状態の結果から、システムに対する処置が必要な場合には、システムアクション決定部6cに必要な情報を出力する。これにより、システムアクション決定部6cは、車両に設けられた各部の制御回路60~90のうちの対応するものに対して制御司令を出力する。この結果、制御回路60~90のうちの対応するものにより、故障部位に対応した処置動作が制御実施されるようになる。 Next, the diagnostic manager 6 proceeds to step B8, and outputs necessary information to the system action determination unit 6c from the result of the diagnostic state obtained in step B5 when a treatment for the system is required. As a result, the system action determination unit 6c outputs a control command to the corresponding one of the control circuits 60 to 90 of each unit provided in the vehicle. As a result, the corresponding one of the control circuits 60 to 90 controls the treatment operation corresponding to the faulty part.

次に、ダイアグマネージャ6は、ステップB9に進んで、故障状態が判定された診断対象について、FFDフラグ処理を設定する。FFDフラグとは、フリーズ・フレーム・データを取得するか否かを設定するもので、診断対象が故障していることが確定した場合には、故障解析に必要となる各部のデータを取得するように指示するためのフラグである。 Next, the diagnostic manager 6 proceeds to step B9 and sets the FFD flag processing for the diagnosis target for which the failure state is determined. The FFD flag sets whether or not to acquire freeze frame data, and when it is determined that the diagnosis target has failed, the data of each part required for failure analysis should be acquired. It is a flag to instruct.

フリーズ・フレーム・データ取得が必要である場合には、ダイアグマネージャ6は、FFDフラグを設定する。また、この設定により取得されるフリーズ・フレーム・データは、電源を落とした後でも読み取ることができるように、ダイアグマネージャ6は、EEPROM8に記憶させる。この後、ダイアグマネージャ6は、診断結果の処理を終了する。 If freeze frame data acquisition is required, the diagnostic manager 6 sets the FFD flag. Further, the diagnostic manager 6 stores the freeze frame data acquired by this setting in the EEPROM 8 so that the freeze frame data can be read even after the power is turned off. After this, the diagnostic manager 6 ends the processing of the diagnosis result.

次に、図4を参照して、上記した実施形態の動作において、本実施形態の効果となるダイアグマネージャ6の処理負荷が軽減されていることについて説明する。図4では、本実施形態での処理状況のタイムチャートを(A)、(B)で示し、従来相当の比較例の処理状況のタイムチャートを(a)、(b)で示している。 Next, with reference to FIG. 4, it will be described that in the operation of the above-described embodiment, the processing load of the diagnostic manager 6 which is the effect of the present embodiment is reduced. In FIG. 4, the time charts of the processing status in the present embodiment are shown by (A) and (B), and the time charts of the processing status of the comparative example corresponding to the conventional case are shown by (a) and (b).

車両においては、イグニッションがオンされると(IGON時)、上記した診断装置1により、各部の動作が正常であるか否かの診断処理を開始する。図4(A)に示しているように、各ダイアグ判定SWC2~5は、自己が診断するセンサ20~40、計器50などの診断情報を所定周期で取得する。各時刻t1からt4までの間、ダイアグ判定SWC2~5により「正常判定」がなされた場合に、まだ診断状態記憶RAM7には診断状態情報が確定した情報が書き込まれていないので、その都度ダイアグマネージャ6に診断結果を通知している。 In the vehicle, when the ignition is turned on (during IGON), the above-mentioned diagnostic device 1 starts a diagnostic process of whether or not the operation of each part is normal. As shown in FIG. 4A, each diagnosis determination SWC2 to 5 acquires diagnostic information such as sensors 20 to 40 and an instrument 50 to be diagnosed by itself at a predetermined cycle. When "normal judgment" is made by the diagnosis judgment SWC2 to 5 from each time t1 to t4, the information in which the diagnosis state information is confirmed has not yet been written in the diagnosis state storage RAM 7, so that the diagnosis state manager is used each time. The diagnosis result is notified to 6.

ダイアグマネージャ6は、診断結果が入力される毎に前述した診断結果の判定処理を実施している。そして、時刻t1からt4までの4回に渡って正常判定が得られた場合には、ダイアグマネージャ6は、前述したようにステップB5で正常状態の「確定」の判定をする。この判定結果は、診断状態記憶RAM7に記憶される。 The diagnosis manager 6 performs the above-mentioned diagnosis result determination process every time a diagnosis result is input. Then, when the normality determination is obtained four times from the time t1 to t4, the diagnostic manager 6 determines that the normal state is "determined" in step B5 as described above. This determination result is stored in the diagnostic state storage RAM 7.

これにより、ダイアグ判定SWC2~5の該当するものにおいては、時刻t5以降の診断処理の結果が正常判定であった場合には、診断状態記憶RAM7から読み出した診断状態情報が「正常状態の確定」であるから、診断結果をダイアグマネージャ6に通知することなく診断処理を終了する。 As a result, in the case of the diagnosis judgment SWC2 to 5, when the result of the diagnosis processing after the time t5 is a normal judgment, the diagnosis state information read from the diagnosis state storage RAM 7 is "determined of the normal state". Therefore, the diagnostic process is terminated without notifying the diagnostic manager 6 of the diagnostic result.

これにより、ダイアグマネージャ6は、図4(A)に示すように、時刻t5以降の各周期タイミングt5~t12において、対応するダイアグ判定SWC2~5から診断結果の通知が送られないので、図中白抜き矢印で示す部分において診断結果の判定処理を実施しない状態となり、関数コールが発生することがなくなり、処理負荷が軽減されるようになる。これに対して、従来方式の比較例では、ダイアグマネージャは、図4(a)に示すように、毎回診断結果の判定処理を実施しているので、処理負荷が軽減されることがない。 As a result, as shown in FIG. 4A, the diagnosis result notification is not sent from the corresponding diagnosis determination SWC2 to 5 at each cycle timing t5 to t12 after the time t5, and thus the diagnosis result is not sent in the figure. In the portion indicated by the white arrow, the diagnosis result determination process is not executed, the function call does not occur, and the processing load is reduced. On the other hand, in the comparative example of the conventional method, as shown in FIG. 4A, the diagnostic manager performs the diagnosis processing of the diagnosis result every time, so that the processing load is not reduced.

上記の効果は、診断結果が異常状態確定の場合においても同様である。すなわち、図4(B)に示すように、時刻t1aの正常判定の通知に基づいたダイアグマネージャ6による判定で、「正常確定」を判定した場合の以降の状態の変化が発生した場合で説明する。時刻t2a以降では、ダイアグ判定SWC2~5の対応するものにおいては、同じ正常判定の診断結果が得られている場合にはダイアグマネージャ6に通知しないので、ダイアグマネージャ6は、診断結果の判定処理を行わない。 The above effect is the same even when the diagnosis result is confirmed as an abnormal state. That is, as shown in FIG. 4B, the case where the subsequent change in the state occurs when the "normal confirmation" is determined in the determination by the diagnostic manager 6 based on the notification of the normal determination at time t1a will be described. .. After the time t2a, in the corresponding ones of the diagnosis judgment SWC2 to 5, if the diagnosis result of the same normal judgment is obtained, the diagnosis result 6 is not notified, so that the diagnosis result judgment processing is performed by the diagnosis manager 6. Not performed.

この後、時刻t4aでダイアグ判定SWC2~5の対応するものが診断結果として異常判定を行った場合には、診断状態記憶RAM7から読み出した診断状態情報が「正常状態の確定」であるから、診断結果と異なるのでダイアグマネージャ6に診断結果を通知するようになる。また、以後、異常判定が続く場合には、ダイアグ判定SWC2~5の対応するものがその都度診断結果をダイアグマネージャ6に通知する。 After that, when the corresponding ones of the diagnosis judgment SWC2 to 5 perform the abnormality judgment as the diagnosis result at the time t4a, the diagnosis state information read from the diagnosis state storage RAM 7 is "confirmation of the normal state", so that the diagnosis is made. Since the result is different, the diagnosis result is notified to the diagnostic manager 6. Further, if the abnormality determination continues thereafter, the corresponding ones of the diagnosis determination SWC2 to 5 notify the diagnosis result to the diagnosis manager 6 each time.

この結果、ダイアグマネージャ6は、診断結果が通知される毎に診断結果の判定処理を実施し、時刻t8aで異常状態の確定を判定する。これにより、以後の診断処理においては、ダイアグ判定SWC2~5の対応するものは、診断結果が異常判定であった場合には、診断状態記憶RAM7から読み出した診断状態情報と同じ結果であることから、診断結果をダイアグマネージャ6に通知しなくなる。 As a result, the diagnostic manager 6 executes the diagnosis result determination process every time the diagnosis result is notified, and determines the determination of the abnormal state at the time t8a. As a result, in the subsequent diagnostic processing, the corresponding diagnostic status SWC2 to 5 have the same result as the diagnostic status information read from the diagnostic status storage RAM 7 when the diagnostic result is an abnormality determination. , The diagnosis result is not notified to the diagnostic manager 6.

この結果、ダイアグマネージャ6は、図4(B)に示すように、時刻t9a以降の各周期タイミングt9a~t12aにおいて、対応するダイアグ判定SWC2~5から診断結果の通知が送られないので、図中白抜き矢印で示す部分において診断結果の判定処理を実施しない状態となり、処理負荷が軽減されるようになる。これに対して、従来方式の比較例では、ダイアグマネージャは、図4(b)に示すように、毎回診断結果の判定処理を実施しているので、処理負荷が軽減されることがない。 As a result, as shown in FIG. 4B, the diagnosis result notification is not sent from the corresponding diagnosis determination SWCs 2 to 5 at each cycle timing t9a to t12a after the time t9a, and thus the diagnosis result is not sent in the figure. In the portion indicated by the white arrow, the diagnosis result determination process is not performed, and the processing load is reduced. On the other hand, in the comparative example of the conventional method, as shown in FIG. 4 (b), the diagnosis manager performs the determination process of the diagnosis result every time, so that the processing load is not reduced.

このような本実施形態によれば、診断状態記憶RAM7を設けて、ダイアグマネージャ6により診断結果の状態判定が確定したときにこれを診断状態記憶RAM7に記憶させるようにした。そして、以後のダイアグ判定SWC2~5の診断処理においては、診断結果が得られたときに診断状態記憶RAM7から情報を読み出して一致しているときにはダイアグマネージャ6に通知しないようにした。 According to the present embodiment as described above, the diagnostic state storage RAM 7 is provided, and when the state determination of the diagnosis result is confirmed by the diagnostic manager 6, the diagnosis state storage RAM 7 is stored. Then, in the subsequent diagnostic processing of the diagnostic states SWC2 to 5, when the diagnostic result is obtained, the information is read from the diagnostic state storage RAM 7 and when they match, the diagnostic manager 6 is not notified.

これにより、ダイアグマネージャ6は、診断結果が変化したときにダイアグ判定SWC2~5から診断情報が通知されるようになり、周期毎に毎回診断結果の判定処理をすることがなくなり、全体としてダイアグマネージャ6の処理負担が軽減される。 As a result, the diagnostic manager 6 will be notified of the diagnostic information from the diagnostic determination SWCs 2 to 5 when the diagnostic result changes, and will not perform the diagnostic result determination process every cycle, and the diagnostic manager as a whole will not perform the diagnostic information determination process. The processing load of 6 is reduced.

この結果、診断装置1を構成するダイアグマネージャ6の機能における処理負担が軽減されることで、全体としてCPUによる他の処理を実行するのを妨げることを抑制することができる。 As a result, the processing load on the function of the diagnostic manager 6 constituting the diagnostic apparatus 1 is reduced, and it is possible to suppress the prevention of the CPU from executing other processing as a whole.

また、ダイアグマネージャ6による処理負担が軽減されることで、CPUの処理能力が同じであっても、他の処理の実行を増加させたり、ダイアグ判定SWCの数を増加させることができる。 Further, by reducing the processing load by the diagnostic manager 6, it is possible to increase the execution of other processing or increase the number of diagnostic SWCs even if the processing power of the CPU is the same.

(他の実施形態)
なお、本発明は、上述した実施形態のみに限定されるものではなく、その要旨を逸脱しない範囲で種々の実施形態に適用可能であり、例えば、以下のように変形または拡張することができる。
(Other embodiments)
The present invention is not limited to the above-described embodiment, and can be applied to various embodiments without departing from the gist thereof, and can be modified or extended as follows, for example.

ダイアグマネージャ6による判定結果の「確定」のための回数は、適宜の回数に設定することができる。また、正常状態と異常状態とで確定するための回数を異なる回数に設定することができる。 The number of times for "determining" the determination result by the diagnostic manager 6 can be set to an appropriate number of times. In addition, the number of times for determining the normal state and the abnormal state can be set to different times.

ダイアグ判定SWCの設定個数は、診断装置1のCPUの処理能力に応じて適宜設定することができる。
本開示は、実施例に準拠して記述されたが、本開示は当該実施例や構造に限定されるものではないと理解される。本開示は、様々な変形例や均等範囲内の変形をも包含する。加えて、様々な組み合わせや形態、さらには、それらに一要素のみ、それ以上、あるいはそれ以下、を含む他の組み合わせや形態をも、本開示の範疇や思想範囲に入るものである。
The number of diagnostic determination SWCs to be set can be appropriately set according to the processing capacity of the CPU of the diagnostic apparatus 1.
The present disclosure has been described in accordance with the examples, but it is understood that the present disclosure is not limited to the examples and structures. The present disclosure also includes various variations and variations within a uniform range. In addition, various combinations and forms, as well as other combinations and forms that include only one element, more, or less, are within the scope and scope of the present disclosure.

図面中、1は診断処理装置、2~5はダイアグ判定SWC(診断処理部)、6はダイアグマネージャ(診断情報管理部)、7は診断状態記憶RAM(記憶部)、8はEEPROM、60~90は制御回路である。 In the drawings, 1 is a diagnostic processing device, 2 to 5 is a diagnostic processing unit, 6 is a diagnostic information management unit, 7 is a diagnostic state storage RAM (storage unit), 8 is EEPROM, 60 to 60. Reference numeral 90 is a control circuit.

Claims (3)

外部の診断部(20~50)から入力されるデータにより診断処理を実施する複数の診断処理部(2~5)と、
前記複数の診断処理部の診断情報を収集管理する診断情報管理部(6)と、
前記診断情報管理部により管理する診断情報を記憶する記憶部(7)とを備え、
前記診断情報管理部は、前記複数の診断処理部から収集した前記診断情報に基づいて診断状態を判定し、その診断状態の診断結果が確定したときに、その確定したときの診断結果を前記記憶部に記憶させるようになっており、
前記複数の診断処理部は、前記診断処理により判定した診断情報について、前記記憶部に記憶された前記確定したときの診断結果に基づいて、当該診断情報を前記診断情報管理部に送信するか否かを判断する診断装置。
A plurality of diagnostic processing units (2 to 5) that perform diagnostic processing based on data input from external diagnostic units (20 to 50), and
The diagnostic information management unit (6) that collects and manages the diagnostic information of the plurality of diagnostic processing units, and
A storage unit (7) for storing diagnostic information managed by the diagnostic information management unit is provided.
The diagnostic information management unit determines a diagnostic state based on the diagnostic information collected from the plurality of diagnostic processing units, and when the diagnostic result of the diagnostic state is confirmed, the diagnostic result at the time of the determination is stored. It is designed to be memorized in the department,
Whether or not the plurality of diagnostic processing units transmit the diagnostic information determined by the diagnostic processing to the diagnostic information management unit based on the diagnosis result at the time of determination stored in the storage unit. A diagnostic device that determines whether or not.
前記複数の診断処理部は、前記判定した診断情報が正常判定であるときに、前記記憶部から読み出した前記確定したときの診断結果が正常判定を確定したものである場合に、前記判定した診断情報の前記診断情報管理部への送信を省略する請求項1に記載の診断装置。 When the determined diagnostic information is a normal determination, the plurality of diagnostic processing units read the diagnostic information from the storage unit when the confirmed diagnosis result confirms the normal determination. The diagnostic device according to claim 1, wherein transmission of information to the diagnostic information management unit is omitted. 前記複数の診断処理部は、前記判定した診断情報が異常判定であるときに、前記記憶部から読み出した前記確定したときの診断結果が異常判定を確定したものである場合に、前記判定した診断情報の前記診断情報管理部への送信を省略する請求項1または2に記載の診断装置。 When the determined diagnostic information is an abnormality determination, the plurality of diagnostic processing units read the diagnosis from the storage unit when the confirmed diagnosis result confirms the abnormality determination. The diagnostic device according to claim 1 or 2, wherein transmission of information to the diagnostic information management unit is omitted.
JP2017119542A 2017-06-19 2017-06-19 Diagnostic device Active JP7003456B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017119542A JP7003456B2 (en) 2017-06-19 2017-06-19 Diagnostic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017119542A JP7003456B2 (en) 2017-06-19 2017-06-19 Diagnostic device

Publications (2)

Publication Number Publication Date
JP2019003535A JP2019003535A (en) 2019-01-10
JP7003456B2 true JP7003456B2 (en) 2022-01-20

Family

ID=65005967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017119542A Active JP7003456B2 (en) 2017-06-19 2017-06-19 Diagnostic device

Country Status (1)

Country Link
JP (1) JP7003456B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000097810A (en) 1998-09-18 2000-04-07 Denso Corp Vehicular control device equipped with self-diagnosis device
JP2014172534A (en) 2013-03-11 2014-09-22 Denso Corp Diagnostic information collection system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0836416A (en) * 1994-07-25 1996-02-06 Hitachi Ltd Diagnosis method for distributed controller
JPH11296206A (en) * 1998-04-08 1999-10-29 Toshiba Corp Power generating operation system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000097810A (en) 1998-09-18 2000-04-07 Denso Corp Vehicular control device equipped with self-diagnosis device
JP2014172534A (en) 2013-03-11 2014-09-22 Denso Corp Diagnostic information collection system

Also Published As

Publication number Publication date
JP2019003535A (en) 2019-01-10

Similar Documents

Publication Publication Date Title
TW201715245A (en) Semiconductor device and diagnostic test method
JP6899699B2 (en) Anomaly detection device and abnormality detection method
JP2009104246A (en) Programmable controller and abnormal circumstances restoration method therefor
JP7003456B2 (en) Diagnostic device
JP6502211B2 (en) Vehicle control device
JP6869743B2 (en) Electronic control device for automobiles
JP6081239B2 (en) Control device abnormality monitoring apparatus and abnormality monitoring method
JP5627414B2 (en) Action log collection system and program
JP4820679B2 (en) Electronic control device for vehicle
US11726853B2 (en) Electronic control device
JP7504222B2 (en) In-vehicle control systems
JP2020116972A (en) Electronic control device
JP5494039B2 (en) Memory diagnostic method and control device for power conversion device
JP2007181061A (en) Electronic controller, can system and method for diagnosing failure of can system
JP2007028037A (en) Apparatus for coping with fault detection and diagnosis, system for coping with fault detection and diagnosis, and method for coping with fault detection and diagnosis
WO2022113155A1 (en) Vehicular onboard control system
JP6501703B2 (en) In-vehicle controller
JP7176444B2 (en) VEHICLE ELECTRONIC CONTROLLER, DEMAND DEVICE, AND FAULT DETECTION SYSTEM
JP4613019B2 (en) Computer system
JP2023170679A (en) On-vehicle device, program and information processing method
JPH02179552A (en) Trouble diagnosing method for electronic controller for vehicle
JP7335088B2 (en) Contact input diagnostic device
JP6813963B2 (en) Operating status recording system and operating status recording method
JP2023122184A (en) electronic controller
JP2006335150A (en) On-vehicle electronic control system, failure diagnosing method thereof, and on-vehicle electronic control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210518

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210712

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: 20211130

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211213