Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6911372B2 - In-vehicle electronic control device - Google Patents
[go: Go Back, main page]

JP6911372B2 - In-vehicle electronic control device - Google Patents

In-vehicle electronic control device Download PDF

Info

Publication number
JP6911372B2
JP6911372B2 JP2017026743A JP2017026743A JP6911372B2 JP 6911372 B2 JP6911372 B2 JP 6911372B2 JP 2017026743 A JP2017026743 A JP 2017026743A JP 2017026743 A JP2017026743 A JP 2017026743A JP 6911372 B2 JP6911372 B2 JP 6911372B2
Authority
JP
Japan
Prior art keywords
vehicle
unit
control
information
feature
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
JP2017026743A
Other languages
Japanese (ja)
Other versions
JP2018132976A (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 JP2017026743A priority Critical patent/JP6911372B2/en
Publication of JP2018132976A publication Critical patent/JP2018132976A/en
Application granted granted Critical
Publication of JP6911372B2 publication Critical patent/JP6911372B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

本開示は、車両制御を実行する車載電子制御装置が正常か異常かを診断する技術に関する。 The present disclosure relates to a technique for diagnosing whether an in-vehicle electronic control device that executes vehicle control is normal or abnormal.

車両制御を実行する車載電子制御装置が正常か異常かを診断する技術が種々知られている。例えば、特許文献1に記載されている車載電子制御装置によると、マイクロコンピュータのハードウェア部の各要素の異常を監視するハードウェア監視手段と、マイクロコンピュータのソフトウェア部の各要素の異常を監視するソフトウェア監視手段と、マイクロコンピュータの異常を外部から監視する外部監視手段とを備えている。 Various techniques for diagnosing whether an in-vehicle electronic control device that executes vehicle control is normal or abnormal are known. For example, according to the in-vehicle electronic control device described in Patent Document 1, a hardware monitoring means for monitoring an abnormality of each element of the hardware part of a microcomputer and an abnormality of each element of the software part of the microcomputer are monitored. It is equipped with software monitoring means and external monitoring means for externally monitoring abnormalities in the microcomputer.

特許文献1ではこのような構成を採用することにより、ハードウェア部とソフトウェア部とマイクロコンピュータとの異常の詳細を診断しようとしている。 Patent Document 1 attempts to diagnose the details of abnormalities between the hardware unit, the software unit, and the microcomputer by adopting such a configuration.

特開2013−12219号公報Japanese Unexamined Patent Publication No. 2013-12219

特許文献1に記載の技術のように、マイクロコンピュータのハードウェア部と、マイクロコンピュータのソフトウェア部と、マイクロコンピュータとをそれぞれ監視する監視手段を備える場合、監視手段を実現する構成が複雑になるという問題がある。 When a monitoring means for monitoring the hardware part of the microcomputer, the software part of the microcomputer, and the microcomputer is provided as in the technique described in Patent Document 1, the configuration for realizing the monitoring means becomes complicated. There's a problem.

本開示は、車載電子制御装置が正常か異常かを簡単な構成で診断する技術を提供する。 The present disclosure provides a technique for diagnosing whether an in-vehicle electronic control device is normal or abnormal with a simple configuration.

本開示の一態様は、制御部(54、S400、S404)と、特徴取得部(56、S420)と、診断部(60、S430〜S440)とを備えている。
制御部は、ハードウェアとソフトウェアとにより車両制御を実行する。特徴取得部は、制御部のハードウェアとソフトウェアとが協働して実行する車両制御の特徴を表す少なくとも一つの特徴情報を取得する。診断部は、特徴取得部が取得する特徴情報に基づいて制御部が正常か異常かを診断する。
One aspect of the present disclosure includes a control unit (54, S400, S404), a feature acquisition unit (56, S420), and a diagnostic unit (60, S430-S440).
The control unit executes vehicle control by hardware and software. The feature acquisition unit acquires at least one feature information representing the feature of the vehicle control executed in cooperation with the hardware and software of the control unit. The diagnosis unit diagnoses whether the control unit is normal or abnormal based on the feature information acquired by the feature acquisition unit.

この構成によれば、制御部のハードウェアとソフトウェアとが協働して実行する車両制御の特徴を表す特徴情報に基づいて、制御部が正常か異常かを診断するので、制御部のハードウェアとソフトウェアとのそれぞれを異なる診断部で分けて診断する必要がない。したがって、車両制御を実行する車載電子制御装置が正常か異常かを簡単な構成で診断できる。 According to this configuration, it is diagnosed whether the control unit is normal or abnormal based on the feature information representing the characteristics of the vehicle control executed in cooperation with the hardware and software of the control unit. Therefore, the hardware of the control unit is used. It is not necessary to diagnose each of the software and the software separately by different diagnostic units. Therefore, it is possible to diagnose whether the in-vehicle electronic control device that executes vehicle control is normal or abnormal with a simple configuration.

尚、この欄および特許請求の範囲に記載した括弧内の符号は、一つの態様として後述する実施形態に記載の具体的手段との対応関係を示すものであって、本開示の技術的範囲を限定するものではない。 In addition, the reference numerals in parentheses described in this column and the scope of claims indicate the correspondence with the specific means described in the embodiment described later as one embodiment, and the technical scope of the present disclosure is defined. It is not limited.

本実施形態の車載電子制御装置を示すハードウェアブロック図。The hardware block diagram which shows the in-vehicle electronic control apparatus of this embodiment. 本実施形態の車載電子制御装置を示す機能ブロック図。The functional block diagram which shows the in-vehicle electronic control apparatus of this embodiment. 特徴情報の一覧を示す説明図。Explanatory drawing which shows a list of feature information. 統計情報の一例を示す説明図。Explanatory drawing which shows an example of statistical information. 車両制御のメイン処理を示すフローチャート。A flowchart showing the main processing of vehicle control. 車両制御診断処理を示すフローチャート。A flowchart showing a vehicle control diagnosis process. 統計生成処理を示すフローチャート。A flowchart showing the statistics generation process. 診断処理を示すフローチャート。A flowchart showing a diagnostic process.

以下、本開示の実施形態を図に基づいて説明する。
[1.構成]
図1に示すECU10は車両に搭載され、車両制御を実行する。ECUはElectronic Control Unitの略である。ECU10が実行する車両制御は、例えば、車両のトルク制御、制動制御、操舵制御等である。
Hereinafter, embodiments of the present disclosure will be described with reference to the drawings.
[1. Constitution]
The ECU 10 shown in FIG. 1 is mounted on a vehicle and executes vehicle control. ECU is an abbreviation for Electronic Control Unit. The vehicle control executed by the ECU 10 is, for example, vehicle torque control, braking control, steering control, and the like.

ECU10は、ハードウェア構成として、CPU22と、CPU以外のFPU等の演算ユニット24と、PMU26と、キャッシュメモリ28と、RAM、ROM、フラッシュメモリ等の非遷移的実体的記録媒体である半導体メモリ30と、バス40とを備えるマイクロコンピュータ20を搭載している。 As a hardware configuration, the ECU 10 includes a CPU 22, an arithmetic unit 24 such as an FPU other than the CPU, a PMU 26, a cache memory 28, and a semiconductor memory 30 which is a non-transitional substantive recording medium such as a RAM, a ROM, and a flash memory. And a microcomputer 20 including a bus 40.

FPUはFloating Point Unitの略であり、PMUはProcessing Monitor Unitの略である。半導体メモリをメモリとも言う。マイクロコンピュータをマイコンとも言う。ECU10に搭載されるマイコン20は、1個に限らず複数であってもよい。 FPU is an abbreviation for Floating Point Unit, and PMU is an abbreviation for Processing Monitor Unit. Semiconductor memory is also called memory. A microcomputer is also called a microcomputer. The number of microcomputers 20 mounted on the ECU 10 is not limited to one, and may be plural.

図2に示すように、ECU10は、CPU22がメモリ30に記憶されているソフトウェアとして、OSとBSWと制御ソフトウェアと統計生成ソフトウェアと診断ソフトウェアとを実行することで実現される機能として、OS部50とBSW部52と制御部54と統計生成部58と診断部60とを備えている。OSはOperating Systemの略であり、BSWはBasic Softwareの略である。 As shown in FIG. 2, the ECU 10 has the OS unit 50 as a function realized by executing the OS, the BSW, the control software, the statistics generation software, and the diagnostic software as the software in which the CPU 22 is stored in the memory 30. The BSW unit 52, the control unit 54, the statistics generation unit 58, and the diagnosis unit 60 are provided. OS is an abbreviation for Operating System, and BSW is an abbreviation for Basic Software.

さらに、ECU10は、PMU26により実現される機能として特徴取得部56を備えている。本実施形態では、特徴取得部56としての機能を専用のハードウェアであるPMU26で実現するが、ハードウェアとソフトウェアとにより実現してもよい。 Further, the ECU 10 includes a feature acquisition unit 56 as a function realized by the PMU 26. In the present embodiment, the function as the feature acquisition unit 56 is realized by the dedicated hardware PMU26, but it may be realized by the hardware and software.

制御部54は、センサ群2から取得する車両の走行状態を示すセンサ値に基づいて、制御対象4である車両の各種アクチュエータに対する制御量を算出し、車両に対する車両制御を実行する。 The control unit 54 calculates the control amount for various actuators of the vehicle, which is the control target 4, based on the sensor value indicating the running state of the vehicle acquired from the sensor group 2, and executes the vehicle control for the vehicle.

特徴取得部56は、制御部54のハードウェアとソフトウェアとが協働して実行する車両制御を監視し、車両制御の特徴を表す特徴情報を取得する。
図3に示すように、本実施形態の特徴取得部56は、制御部54が実行する車両制御のタスク毎に、特徴情報として実行サイクル数、全実行命令数、条件分岐命令での分岐回数、L1データキャッシュのヒット率、L1命令キャッシュのヒット率、L2データキャッシュのヒット率、L2命令キャッシュのヒット率、条件分岐命令で分岐先の命令を処理する処理率、などを取得する。これらの特徴情報は、車両制御の性能を診断するための情報である。
The feature acquisition unit 56 monitors the vehicle control executed in cooperation with the hardware and software of the control unit 54, and acquires the feature information representing the feature of the vehicle control.
As shown in FIG. 3, the feature acquisition unit 56 of the present embodiment has, as feature information, the number of execution cycles, the total number of execution instructions, the number of branches in the conditional branch instruction, for each vehicle control task executed by the control unit 54. The hit rate of the L1 data cache, the hit rate of the L1 instruction cache, the hit rate of the L2 data cache, the hit rate of the L2 instruction cache, the processing rate of processing the instruction of the branch destination by the conditional branch instruction, and the like are acquired. These feature information are information for diagnosing the performance of vehicle control.

特徴取得部56は、タスク毎以外にも、関数毎または命令毎または所定時間毎に上記の特徴情報または上記以外の特徴情報を取得してもよい。
統計生成部58は、特徴取得部56がタスク毎に取得する特徴情報から、同じタスクについて、特徴情報毎にこれまで取得した特徴情報の平均を統計情報として生成する。統計生成部58が生成する統計情報は、特徴情報の平均に限らず、標準偏差等の他の統計情報であってもよい。図4には、特徴情報の例として実行サイクルについて、タスクA、タスクBのように同じタスク毎に、統計情報を生成した例が示されている。
The feature acquisition unit 56 may acquire the above-mentioned feature information or other feature information for each function, each instruction, or a predetermined time in addition to each task.
The statistics generation unit 58 generates the average of the feature information acquired so far for each feature information for the same task as statistical information from the feature information acquired by the feature acquisition unit 56 for each task. The statistical information generated by the statistical generation unit 58 is not limited to the average of the feature information, but may be other statistical information such as the standard deviation. FIG. 4 shows an example in which statistical information is generated for each of the same tasks such as task A and task B for the execution cycle as an example of the feature information.

診断部60は、統計生成部58が生成する統計情報と診断情報とを比較し、制御部54正常か異常かを診断する。診断情報は、予め制御部54による車両制御を評価して、制御部54が正常に車両制御を実行している場合に生成される統計情報の正常範囲を示している。 The diagnosis unit 60 compares the statistical information generated by the statistical generation unit 58 with the diagnostic information, and diagnoses whether the control unit 54 is normal or abnormal. The diagnostic information indicates a normal range of statistical information generated when the vehicle control by the control unit 54 is evaluated in advance and the control unit 54 normally executes the vehicle control.

[2.処理]
ECU10が実行する各処理について、以下に説明する。
(1)メイン処理
ECU10は、図5のメイン処理を常時実行する。S400において制御部54は、車両制御を実行するために、センサ群2から車両の走行状態を示すセンサ値を取得する。制御部54は、センサ群2から取得するセンサ値に基づいて、制御対象4である車両の各種アクチュエータに対する制御量を設定する。
[2. process]
Each process executed by the ECU 10 will be described below.
(1) Main processing The ECU 10 constantly executes the main processing shown in FIG. In S400, the control unit 54 acquires a sensor value indicating the running state of the vehicle from the sensor group 2 in order to execute the vehicle control. The control unit 54 sets the control amount for various actuators of the vehicle, which is the control target 4, based on the sensor value acquired from the sensor group 2.

S402において特徴取得部56と統計生成部58と診断部60とは、S400において制御部54が設定した車両制御の制御量に基づいて、制御部54が正常か異常か、つまり車両制御が正常に実行されるか否かを診断する車両制御診断処理を実行する。S402で実行される車両制御診断処理の詳細は後述する。 In S402, the feature acquisition unit 56, the statistics generation unit 58, and the diagnosis unit 60 determine whether the control unit 54 is normal or abnormal, that is, the vehicle control is normal, based on the control amount of the vehicle control set by the control unit 54 in S400. The vehicle control diagnostic process for diagnosing whether or not to be executed is executed. Details of the vehicle control diagnosis process executed in S402 will be described later.

S404において制御部54は、S402の診断結果に応じた制御量で車両制御を実行する。S402における診断結果が車両制御の停止になることもある。
(2)車両制御診断処理
図6に示す車両制御診断処理は、図5のメイン処理のS402において実行される。S410において特徴取得部56は、図5のS400において制御部54が設定する車両制御の制御量の特徴を表す特徴情報を取得し、統計生成部58は特徴情報の統計情報を生成する。S410の処理の詳細は後述する。
In S404, the control unit 54 executes vehicle control with a controlled amount according to the diagnosis result of S402. The diagnosis result in S402 may be a stop of vehicle control.
(2) Vehicle Control Diagnosis Process The vehicle control diagnosis process shown in FIG. 6 is executed in S402 of the main process of FIG. In S410, the feature acquisition unit 56 acquires the feature information representing the feature of the control amount of the vehicle control set by the control unit 54 in S400 of FIG. 5, and the statistics generation unit 58 generates the statistical information of the feature information. Details of the processing of S410 will be described later.

S412において診断部60は、S410において生成された統計情報に基づいて、車両制御が正常に実行されるか否かを診断する。S412の処理の詳細は後述する。
(3)統計生成処理
図7に示す統計生成処理は、図6の車両制御診断処理のS410において実行される。S420において特徴取得部56は、現在実行されているタスクを監視し、前述した特徴情報のそれぞれを制御部54から取得する。
In S412, the diagnosis unit 60 diagnoses whether or not vehicle control is normally executed based on the statistical information generated in S410. Details of the processing of S412 will be described later.
(3) Statistics Generation Process The statistics generation process shown in FIG. 7 is executed in S410 of the vehicle control diagnosis process of FIG. In S420, the feature acquisition unit 56 monitors the currently executed task and acquires each of the above-mentioned feature information from the control unit 54.

S422において統計生成部58は、ソフトウェアのアドレス情報を示すマップファイルと現在のプログラムカウンタとを比較して、異なるタスクに処理が遷移したか否かを判定する。S422の判定がNoであり、タスクが遷移していない場合、本処理は終了する。 In S422, the statistics generation unit 58 compares the map file indicating the address information of the software with the current program counter, and determines whether or not the process has transitioned to a different task. If the determination in S422 is No and the task has not transitioned, this process ends.

S422の判定がYesであり、タスクが遷移した場合、S424において統計生成部58は、今まで実行していたタスクも含め、これまで実行された同じタスクの特徴情報の平均を図4に示すように算出し、今まで実行していたタスクに対応するメモリの格納先に格納する。S426において統計生成部58は、統計情報の格納先をこれから実行される遷移先のタスクのための領域に設定する。 When the determination in S422 is Yes and the task transitions, the statistic generator 58 in S424 shows the average of the feature information of the same task executed so far, including the task executed so far, as shown in FIG. And store it in the memory storage destination corresponding to the task that was being executed so far. In S426, the statistics generation unit 58 sets the storage destination of the statistical information in the area for the task of the transition destination to be executed from now on.

(4)診断処理
図8に示す診断処理は、図6の車両制御診断処理のS412において実行される。
S430において診断部60は、ソフトウェアのアドレス情報を示すマップファイルと現在のプログラムカウンタとを比較して、異なるタスクに処理が遷移したか否かを判定する。S430の判定がNoであり、タスクが遷移していない場合、本処理は終了する。
(4) Diagnostic processing The diagnostic processing shown in FIG. 8 is executed in S412 of the vehicle control diagnostic processing of FIG.
In S430, the diagnostic unit 60 compares the map file indicating the address information of the software with the current program counter, and determines whether or not the process has transitioned to a different task. If the determination in S430 is No and the task has not changed, this process ends.

S430の判定がYesであり、タスクが遷移した場合、S432において診断部60は、今まで実行されていたタスクの診断情報を取得する。前述したように、診断情報は、予め制御部54による車両制御を評価して、制御部54が正常に車両制御を実行している場合に統計生成部58が生成する統計情報の正常範囲を示している。診断情報は、各タスクに対応するメモリの領域に記憶されている。 If the determination in S430 is Yes and the task transitions, the diagnostic unit 60 in S432 acquires the diagnostic information of the task that has been executed so far. As described above, the diagnostic information indicates the normal range of the statistical information generated by the statistical generation unit 58 when the vehicle control by the control unit 54 is evaluated in advance and the control unit 54 normally executes the vehicle control. ing. The diagnostic information is stored in the memory area corresponding to each task.

S434において診断部60は、今まで実行されていたタスクの統計情報が、S432で取得した診断情報が示す正常範囲内であるか否かを判定する。
S434の判定がYesであり、統計情報が正常範囲内であれば、診断部60は、制御部54はタスクを正常に実行しており、制御部54が通常の車両制御を継続可能と診断し、本処理を終了する。この場合、図5のS404において制御部54は、S400で算出した制御量で通常の車両制御を実行する。
In S434, the diagnostic unit 60 determines whether or not the statistical information of the tasks that have been executed so far is within the normal range indicated by the diagnostic information acquired in S432.
If the determination in S434 is Yes and the statistical information is within the normal range, the diagnostic unit 60 diagnoses that the control unit 54 is executing the task normally and the control unit 54 can continue normal vehicle control. , End this process. In this case, in S404 of FIG. 5, the control unit 54 executes normal vehicle control with the control amount calculated in S400.

S434の判定がNoであり、診断情報が示す正常範囲から統計情報が外れており異常な場合、S436において診断部60は、統計情報の異常が車両制御の継続を許容できる許容範囲内であるか否かを判定する。 If the determination in S434 is No and the statistical information is out of the normal range indicated by the diagnostic information and is abnormal, the diagnostic unit 60 in S436 determines whether the abnormality in the statistical information is within the permissible range that allows the continuation of vehicle control. Judge whether or not.

許容範囲は、例えば、センサ群2のセンサ値が変化したり、センサ信号にノイズが生じたり、水温等の車両の走行環境が変化するために、統計情報は正常範囲から外れるが、車両制御を制限すれば車両の走行を継続できる程度の異常を許容するために設定されている。 The permissible range is, for example, because the sensor value of the sensor group 2 changes, noise occurs in the sensor signal, the driving environment of the vehicle such as the water temperature changes, and the statistical information deviates from the normal range. It is set to allow abnormalities to the extent that the vehicle can continue to run if restricted.

S436の判定がYesであり、統計情報の異常が車両制御を継続できる許容範囲内であれば、S438において診断部60は、フェール制御として、通常の車両制御ではなく制限された車両制御であれば制御部54が継続可能であると診断する。この場合、S438において診断部60は、フェール制御を制御部54に指令する。 If the determination in S436 is Yes and the abnormality in the statistical information is within the permissible range in which vehicle control can be continued, the diagnostic unit 60 in S438 determines that the fail control is limited vehicle control instead of normal vehicle control. The control unit 54 diagnoses that it can be continued. In this case, in S438, the diagnostic unit 60 commands the control unit 54 to control the fail.

S436の判定がNoであり、統計情報の異常が車両制御を継続できる許容範囲から外れている場合、S440において統計生成部58は、ECU10をリセットし、車両を停止させる。統計情報の異常が許容範囲から外れるのは、例えば、車両制御を実行するマイクロコンピュータのメモリの異常、データバスの異常など、マイクロコンピュータが故障した場合である。 If the determination in S436 is No and the abnormality in the statistical information is out of the permissible range in which vehicle control can be continued, the statistics generation unit 58 resets the ECU 10 in S440 to stop the vehicle. Anomalies in statistical information are out of the permissible range when a microcomputer fails, for example, an anomaly in the memory of a microcomputer that executes vehicle control, an anomaly in a data bus, or the like.

尚、S436の判定がYesになり、制御部54がフェール制御を開始しても、S436の判定がYesになり統計情報が正常範囲内に戻れば、制御部54は通常の車両制御に戻ってもよい。 Even if the determination of S436 becomes Yes and the control unit 54 starts the fail control, if the determination of S436 becomes Yes and the statistical information returns to the normal range, the control unit 54 returns to the normal vehicle control. May be good.

[3.効果]
以上説明した上記実施形態では、以下の効果を得ることができる。
(1)制御部54のハードウェアとソフトウェアとが協働して実行する車両制御の特徴を表す特徴情報をタスク毎に取得し、取得した特徴情報に基づいて同じタスク毎に平均値等の統計情報を生成し、統計情報に基づいて制御部54が正常か異常かを診断する。
[3. effect]
In the above-described embodiment described above, the following effects can be obtained.
(1) Feature information representing the characteristics of vehicle control executed in collaboration with the hardware and software of the control unit 54 is acquired for each task, and statistics such as an average value for each task are obtained based on the acquired feature information. Information is generated, and whether the control unit 54 is normal or abnormal is diagnosed based on the statistical information.

これにより、制御部54のハードウェアとソフトウェアとのそれぞれを異なる診断部で分けて診断する必要がない。したがって、制御部54が正常か異常かを簡単な構成で診断できる。 As a result, it is not necessary to separately diagnose the hardware and software of the control unit 54 by different diagnostic units. Therefore, it is possible to diagnose whether the control unit 54 is normal or abnormal with a simple configuration.

(2)車両制御を実行するタスク毎に特徴情報を取得し、特徴情報の平均等の統計情報をタスク毎に生成することにより、車両制御を実行するタスクのように、実行順序が決まっておらず実行タイミングが不定期あっても、タスク毎に統計的に意味のある統計情報を生成できる。 (2) By acquiring feature information for each task that executes vehicle control and generating statistical information such as the average of feature information for each task, the execution order is determined like the task that executes vehicle control. Even if the execution timing is irregular, statistically meaningful statistical information can be generated for each task.

(3)ECU10が備えるマイクロコンピュータ内の診断部60により、マイクロコンピュータにより実現される制御部54が正常か異常かを診断する。これにより、マイクロコンピュータの外部に制御部54が正常か異常かを診断する診断部を設置する必要がない。 (3) The diagnostic unit 60 in the microcomputer included in the ECU 10 diagnoses whether the control unit 54 realized by the microcomputer is normal or abnormal. As a result, it is not necessary to install a diagnostic unit for diagnosing whether the control unit 54 is normal or abnormal outside the microcomputer.

以上説明した上記実施形態において、ECU10が車載電子制御装置に対応し、制御部54が制御部に対応し、特徴取得部56が特徴取得部に対応し、統計生成部58が統計生成部に対応し、診断部60が診断部に対応する。 In the above-described embodiment, the ECU 10 corresponds to the in-vehicle electronic control device, the control unit 54 corresponds to the control unit, the feature acquisition unit 56 corresponds to the feature acquisition unit, and the statistics generation unit 58 corresponds to the statistics generation unit. Then, the diagnostic unit 60 corresponds to the diagnostic unit.

また、S400、S404が制御部の処理に対応し、S420が特徴取得部の処理に対応し、S422〜S426が統計生成部の処理に対応し、S430〜S440が診断部の処理に対応する。 Further, S400 and S404 correspond to the processing of the control unit, S420 corresponds to the processing of the feature acquisition unit, S422 to S426 correspond to the processing of the statistics generation unit, and S430 to S440 correspond to the processing of the diagnosis unit.

[4.他の実施形態]
(1)上記実施形態では、診断情報は、制御部54による車両制御を評価して予め設定されていた。この場合、例えばECU10のハードウェアの構成、ソフトウェアの構成が変化すると統計情報が変化するので、制御部54の診断情報も変化する。したがって、ECU10のそれぞれの構成毎に、予め診断情報は設定される。
[4. Other embodiments]
(1) In the above embodiment, the diagnostic information is preset by evaluating the vehicle control by the control unit 54. In this case, for example, when the hardware configuration or software configuration of the ECU 10 changes, the statistical information changes, so that the diagnostic information of the control unit 54 also changes. Therefore, diagnostic information is set in advance for each configuration of the ECU 10.

これに対し、車両制御を実行しながらECU10が診断情報を設定してもよい。例えば、タスク毎に取得する特徴情報の個数が統計的に意味のある統計情報を生成できる回数以上になると、取得した特徴情報に基づいて、ECU10が統計情報の正常範囲を示す診断情報を設定してもよい。この場合、ECU10は、一旦設定した診断情報を変更せずに使用してもよいし、特徴情報を所定回数取得する毎に新たに診断情報を設定してもよい。 On the other hand, the ECU 10 may set the diagnostic information while executing the vehicle control. For example, when the number of feature information acquired for each task exceeds the number of times that statistically meaningful statistical information can be generated, the ECU 10 sets diagnostic information indicating the normal range of the statistical information based on the acquired feature information. You may. In this case, the ECU 10 may use the once set diagnostic information without changing it, or may newly set the diagnostic information every time the feature information is acquired a predetermined number of times.

(2)上記実施形態では、特徴情報について平均等の統計情報を算出し、統計情報に基づいて制御部54が正常か異常かを診断した。これに対し、タスクが実行される毎に、タスクの特徴情報が予め設定された最小値から最大値までの正常範囲内か否かにより、制御部54が正常か異常かを診断してもよい。 (2) In the above embodiment, statistical information such as an average is calculated for the feature information, and whether the control unit 54 is normal or abnormal is diagnosed based on the statistical information. On the other hand, each time the task is executed, the control unit 54 may diagnose whether the control unit 54 is normal or abnormal depending on whether the feature information of the task is within the normal range from the preset minimum value to the maximum value. ..

ただし、特徴情報は、制御部54がセンサ群2から入力する車両の走行状態を表すセンサ値の変化、センサ信号に生じるノイズ、水温等の車両の走行環境の変化により、正常範囲から外れることがある。そこで、1回だけでなく、連続して所定回数以上、正常範囲から外れるか、合計で所定回数以上、正常範囲から外れる場合に異常と診断することが望ましい。 However, the feature information may deviate from the normal range due to a change in the sensor value indicating the running state of the vehicle input from the sensor group 2 by the control unit 54, a noise generated in the sensor signal, a change in the running environment of the vehicle such as water temperature, and the like. be. Therefore, it is desirable to diagnose an abnormality not only once but continuously out of the normal range a predetermined number of times or more, or when the total number of times deviates from the normal range more than a predetermined number of times.

(3)同じタスクが実行される毎に該当するタスクの記憶領域として、例えばリングバッファに特徴情報を記憶しておき、これまで記憶されている特徴情報と今回の特徴情報とを比較して、制御部54による車両制御が正常か異常かを診断してもよい。 (3) Each time the same task is executed, feature information is stored in a ring buffer as a storage area for the corresponding task, and the feature information stored so far is compared with the feature information of this time. It may be diagnosed whether the vehicle control by the control unit 54 is normal or abnormal.

例えば、今回実行されたタスクの特徴情報が、これまで記憶されている特徴情報の最小値から最大値までの正常範囲から所定値以上外れている場合、制御部54が異常であると診断してもよい。この場合、1回だけでなく、連続して所定回数以上異常になるか、合計で所定回数以上異常になると、異常であると決定することが望ましい。 For example, if the feature information of the task executed this time deviates from the normal range from the minimum value to the maximum value of the feature information stored so far by a predetermined value or more, the control unit 54 diagnoses that it is abnormal. May be good. In this case, it is desirable to determine that it is abnormal when it becomes abnormal not only once but continuously a predetermined number of times or more, or when it becomes abnormal more than a predetermined number of times in total.

尚、これまで記憶されている特徴情報の最小値から最大値までの正常範囲から所定値以上外れていると判定された特徴情報は、該当するタスクの記憶領域には記憶されない。
これまで記憶されている特徴情報と今回の特徴情報とを比較する代わりに、例えば、これまで記憶されている特徴情報の前半部分と後半部分とに分けて比較してもよい。この場合、前半部分と後半部分とのいずれか一方の特徴情報と今回の特徴情報との比較で、連続して所定回数以上異常になるか、合計で所定回数以上異常になると、異常であると決定する。
The feature information determined to deviate from the normal range from the minimum value to the maximum value of the feature information stored so far by a predetermined value or more is not stored in the storage area of the corresponding task.
Instead of comparing the feature information stored so far with the feature information of this time, for example, the first half portion and the second half portion of the feature information stored so far may be compared separately. In this case, when the feature information of either the first half part or the second half part is compared with the feature information of this time, it is considered abnormal if it becomes abnormal more than a predetermined number of times in succession or if it becomes abnormal more than a predetermined number of times in total. decide.

(4)上記実施形態では、制御部54が実行する車両制御として、車両のトルク制御、制動制御、操舵制御等を例示した。これ以外にも、車両制御の特徴を表す特徴情報に基づいて制御部54が正常か異常かを診断するのであれば、車内の温度制御、空調制御、音響制御等を車両制御としてもよい。 (4) In the above embodiment, vehicle torque control, braking control, steering control, and the like are exemplified as vehicle control executed by the control unit 54. In addition to this, if the control unit 54 diagnoses whether the control unit 54 is normal or abnormal based on the feature information representing the feature of the vehicle control, the temperature control, the air conditioning control, the acoustic control, etc. in the vehicle may be used as the vehicle control.

(5)上記実施形態における一つの構成要素が有する複数の機能を複数の構成要素によって実現したり、一つの構成要素が有する一つの機能を複数の構成要素によって実現したりしてもよい。また、複数の構成要素が有する複数の機能を一つの構成要素によって実現したり、複数の構成要素によって実現される一つの機能を一つの構成要素によって実現したりしてもよい。また、上記実施形態の構成の一部を省略してもよい。また、上記実施形態の構成の少なくとも一部を、他の上記実施形態の構成に対して付加又は置換してもよい。尚、特許請求の範囲に記載した文言のみによって特定される技術思想に含まれるあらゆる態様が本開示の実施形態である。 (5) A plurality of functions possessed by one component in the above embodiment may be realized by a plurality of components, or one function possessed by one component may be realized by a plurality of components. Further, a plurality of functions possessed by the plurality of components may be realized by one component, or one function realized by the plurality of components may be realized by one component. Further, a part of the configuration of the above embodiment may be omitted. In addition, at least a part of the configuration of the above embodiment may be added or replaced with the configuration of the other above embodiment. It should be noted that all aspects included in the technical idea specified only by the wording described in the claims are embodiments of the present disclosure.

(6)上述した車載電子制御装置10の他、当該車載電子制御装置10を構成要素とする車両制御システム、当該車載電子制御装置10としてコンピュータを機能させるための車両制御プログラム、この車両制御プログラムを記録した記録媒体、車両制御方法など、種々の形態で本開示を実現することもできる。 (6) In addition to the in-vehicle electronic control device 10 described above, a vehicle control system having the in-vehicle electronic control device 10 as a component, a vehicle control program for operating a computer as the in-vehicle electronic control device 10, and this vehicle control program are provided. The present disclosure can also be realized in various forms such as a recording recording medium for recording and a vehicle control method.

10:ECU(車載電子制御装置)、54:制御部、56:特徴取得部、58:統計生成部、60:診断部 10: ECU (vehicle-mounted electronic control unit), 54: control unit, 56: feature acquisition unit, 58: statistics generation unit, 60: diagnostic unit

Claims (4)

ハードウェアとソフトウェアとにより車両制御を実行するように構成された制御部(54、S400、S404)と、
前記制御部の前記ハードウェアと前記ソフトウェアとが協働して実行する前記車両制御の特徴を表す少なくとも一つの特徴情報を取得するように構成された特徴取得部(56、S420)と、
前記特徴取得部が取得する前記特徴情報の統計情報を生成するように構成された統計生成部(58、S422〜S426)と、
前記特徴取得部が取得する前記特徴情報の個数が、前記統計生成部が前記統計情報を生成できる所定個数以上になると、取得した前記特徴情報に基づいて前記統計情報の正常範囲を示す診断情報を設定し、前記統計情報と前記診断情報とを比較して前記制御部が正常か異常かを診断するように構成された診断部(60、S430〜S440)と、
を備える車載電子制御装置(10)。
Control units (54, S400, S404) configured to execute vehicle control by hardware and software, and
A feature acquisition unit (56, S420) configured to acquire at least one feature information representing the feature of the vehicle control executed in collaboration with the hardware of the control unit and the software.
A statistics generation unit (58, S422-S426) configured to generate statistical information of the feature information acquired by the feature acquisition unit, and
When the number of the feature information acquired by the feature acquisition unit exceeds a predetermined number that the statistics generation unit can generate the statistical information, diagnostic information indicating a normal range of the statistical information is provided based on the acquired feature information. A diagnostic unit (60, S430-S440) configured to set and compare the statistical information with the diagnostic information to diagnose whether the control unit is normal or abnormal.
An in-vehicle electronic control device (10).
請求項1に記載の車載電子制御装置において、
前記特徴取得部は、前記車両制御の性能を診断するための前記特徴情報を取得する、
車載電子制御装置。
In the in-vehicle electronic control device according to claim 1,
The feature acquisition unit acquires the feature information for diagnosing the performance of the vehicle control.
In-vehicle electronic control device.
請求項1または2に記載の車載電子制御装置において、
前記特徴取得部は、前記制御部が実行する前記車両制御のタスク毎に前記特徴情報を取得する、
車載電子制御装置。
In the in-vehicle electronic control device according to claim 1 or 2.
The feature acquisition unit acquires the feature information for each vehicle control task executed by the control unit.
In-vehicle electronic control device.
請求項1から3のいずれか1項に記載の車載電子制御装置において、
前記診断部は、前記統計情報が正常範囲内であれば、前記制御部が通常の前記車両制御を継続可能と診断し、前記統計情報が前記正常範囲から外れているが許容範囲内であれば、制限された前記車両制御を前記制御部が継続可能と診断し、前記特徴情報が許容範囲から外れていれば、前記制御部に前記車両制御を停止させる、
車載電子制御装置。
In the in-vehicle electronic control device according to any one of claims 1 to 3.
If the statistical information is within the normal range, the diagnostic unit diagnoses that the control unit can continue normal vehicle control, and if the statistical information is out of the normal range but within the permissible range. , The control unit diagnoses that the restricted vehicle control can be continued, and if the feature information is out of the permissible range, the control unit stops the vehicle control.
In-vehicle electronic control device.
JP2017026743A 2017-02-16 2017-02-16 In-vehicle electronic control device Active JP6911372B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017026743A JP6911372B2 (en) 2017-02-16 2017-02-16 In-vehicle electronic control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017026743A JP6911372B2 (en) 2017-02-16 2017-02-16 In-vehicle electronic control device

Publications (2)

Publication Number Publication Date
JP2018132976A JP2018132976A (en) 2018-08-23
JP6911372B2 true JP6911372B2 (en) 2021-07-28

Family

ID=63248453

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017026743A Active JP6911372B2 (en) 2017-02-16 2017-02-16 In-vehicle electronic control device

Country Status (1)

Country Link
JP (1) JP6911372B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4590550A (en) * 1983-06-29 1986-05-20 International Business Machines Corporation Internally distributed monitoring system
JPH01312638A (en) * 1988-06-13 1989-12-18 Fuji Electric Co Ltd Retry controller for abnormality supervisory of micro processor
JP2005071068A (en) * 2003-08-25 2005-03-17 Renesas Technology Corp Storage device
JP2009003686A (en) * 2007-06-21 2009-01-08 Honda Motor Co Ltd Software operation analysis device, software operation analysis method, and software operation analysis program
JP2009031047A (en) * 2007-07-25 2009-02-12 Hitachi Ltd Vehicle evaluation system
JP2012058171A (en) * 2010-09-13 2012-03-22 Hitachi Ltd Moving object abnormality detection system and moving object
JP5853691B2 (en) * 2011-12-28 2016-02-09 アイシン・エィ・ダブリュ株式会社 Vehicle control apparatus and method

Also Published As

Publication number Publication date
JP2018132976A (en) 2018-08-23

Similar Documents

Publication Publication Date Title
CN102741818A (en) Failure diagnostic system, electronic control unit for vehicle, failure diagnostic method
JP5733429B2 (en) Information processing apparatus and information processing method
JP6075262B2 (en) Control device
CN107783495B (en) Unit control system
JP6911372B2 (en) In-vehicle electronic control device
JP6167871B2 (en) Engine control device
JP6274947B2 (en) Abnormality diagnosis method for microprocessor of in-vehicle control device
JP2017102633A (en) Information processing device and semiconductor integrated circuit device
JP6381850B1 (en) Failure diagnosis apparatus and failure diagnosis method
JP5842783B2 (en) Vehicle control device
US20180011776A1 (en) Lightweight trace based measurement systems and methods
JP7621905B2 (en) Computer, diagnostic system and generation method
JP5226653B2 (en) In-vehicle control device
JP7504222B2 (en) In-vehicle control systems
JP6094387B2 (en) Control device
JP2003294129A (en) Vehicle electronic control unit
JP2016126692A (en) Electronic control unit
US7406624B2 (en) Method for responding to a control module failure
JP4820679B2 (en) Electronic control device for vehicle
JP7070206B2 (en) In-vehicle control device
JP6533489B2 (en) Vehicle controller
JP4328969B2 (en) Diagnosis method of control device
JP4422076B2 (en) Data processing device, electronic control unit, and automobile
JP6647188B2 (en) Transmission control device
JP2001175494A (en) System and method for doubly diagnosing normality of arithmetic processing of microprocessor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190423

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200318

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200407

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201124

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210621

R151 Written notification of patent or utility model registration

Ref document number: 6911372

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250