JP2012073900A - Monitoring device and electronic control system - Google Patents

Monitoring device and electronic control system Download PDF

Info

Publication number
JP2012073900A
JP2012073900A JP2010219409A JP2010219409A JP2012073900A JP 2012073900 A JP2012073900 A JP 2012073900A JP 2010219409 A JP2010219409 A JP 2010219409A JP 2010219409 A JP2010219409 A JP 2010219409A JP 2012073900 A JP2012073900 A JP 2012073900A
Authority
JP
Japan
Prior art keywords
homework
answer
monitoring device
output
electronic control
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.)
Granted
Application number
JP2010219409A
Other languages
Japanese (ja)
Other versions
JP5683191B2 (en
Inventor
Chiharu Uchiyama
千春 内山
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 JP2010219409A priority Critical patent/JP5683191B2/en
Priority to DE201110083655 priority patent/DE102011083655A1/en
Publication of JP2012073900A publication Critical patent/JP2012073900A/en
Application granted granted Critical
Publication of JP5683191B2 publication Critical patent/JP5683191B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0736Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function
    • G06F11/0739Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function in a data processing system embedded in automotive or aircraft systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0715Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a system implementing multitasking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/28Error detection; Error correction; Monitoring by checking the correct order of processing

Abstract

PROBLEM TO BE SOLVED: To shorten the length of a time needed to determine an estimated abnormal state again with respect to a monitoring device and an electronic control system.SOLUTION: A monitoring device 20 of an electronic control system 1 puts the count value Tc of an incorrect answer counter 37 back to an initial value when an answer number Afrom a control processor 10 which corresponds to a homework number Qis a correct answer, and increments the count value Tc when the answer number is an incorrect answer. When the count value Tc reaches or exceeds a predetermined prescribed value Thc, it is determined that the control processor 10 is in the estimated abnormal state, and a reset signal re is output to restart the electronic control system 1 including the monitoring device 20 and control processor 10. The monitoring device 20 after being restarted as it is determined that the control processor is in the estimated abnormal state restarts outputting a homework number Qfrom the homework number Qhaving been output before the restarting.

Description

本発明は、負荷を制御する制御処理装置の状態を監視する監視装置、及び該監視装置と制御処理装置とを有した電子制御システムに関する。   The present invention relates to a monitoring device that monitors the state of a control processing device that controls a load, and an electronic control system that includes the monitoring device and the control processing device.

従来、負荷(例えば、モータ)を制御する制御処理装置と、その制御処理装置の状態を監視した結果、異常が生じていれば、制御処理装置の動作を禁止する監視装置とを備えた電子制御システムが知られている(例えば、特許文献1参照)。この種の電子制御システムでは、監視装置と制御処理装置との間で実行した情報通信に基づいて、制御処理装置の状態、即ち、制御処理装置における異常の有無を監視する。   Conventionally, an electronic control provided with a control processing device that controls a load (for example, a motor) and a monitoring device that prohibits the operation of the control processing device if an abnormality occurs as a result of monitoring the state of the control processing device. A system is known (see, for example, Patent Document 1). In this type of electronic control system, the state of the control processing device, that is, the presence or absence of an abnormality in the control processing device, is monitored based on information communication performed between the monitoring device and the control processing device.

具体的には、制御処理装置は、監視装置からの宿題番号を取得する毎に、その取得した宿題番号に対応する演算を実行し、その演算を実行した結果を表す情報である回答番号を出力する。   Specifically, each time the homework number is acquired from the monitoring device, the control processing device executes an operation corresponding to the acquired homework number and outputs an answer number that is information indicating the result of executing the operation. To do.

一方、監視装置は、制御処理装置からの回答番号が、当該監視装置からの宿題番号に対応する正しい回答(即ち、正答)であれば、予め規定された順序に沿って更新した新たな宿題番号を制御処理装置へと出力し、回答番号が誤答であれば、宿題番号を維持して同一の宿題番号を制御処理装置へと再度出力する。そして、制御処理装置からの回答番号が、規定回数連続して誤答であれば、制御処理装置に異常が生じている可能性があるもの(以下、推定異常状態とする)と判定して、リセット信号を出力し、電子制御システムを再起動する。このような処理を繰り返し実行した結果、設定回数連続して、同一の宿題番号に対して推定異常状態であれば、制御処理装置に異常が生じているもの(以下、異常確定とする)と判定して、制御処理装置へのリセット信号の出力を保持することで、制御処理装置が動作することを禁止する。   On the other hand, if the response number from the control processing device is a correct answer corresponding to the homework number from the monitoring device (that is, a correct answer), the monitoring device updates the new homework number according to a predetermined order. If the answer number is an incorrect answer, the homework number is maintained and the same homework number is output again to the control processor. Then, if the answer number from the control processing device is an incorrect answer for the specified number of times, it is determined that there is a possibility that the control processing device has an abnormality (hereinafter referred to as an estimated abnormal state), A reset signal is output and the electronic control system is restarted. As a result of repeatedly executing such processing, if the estimated abnormal state is detected for the same homework number continuously for the set number of times, it is determined that an abnormality has occurred in the control processing device (hereinafter referred to as “abnormal determination”). Thus, holding the output of the reset signal to the control processing device prohibits the operation of the control processing device.

特開2004−259137号公報JP 2004-259137 A

ところで、制御処理装置において、特定の宿題番号(以下、起因宿題番号と称す)の演算を実行する部位が故障している場合には、起因宿題番号に対応する回答番号は規定回数連続して誤答となり、特許文献1に記載の監視装置は、上述したリセット信号を出力する。このとき、再起動後の監視装置では、宿題番号を初期値から再出力するため、再び推定異常状態と判定するまで、ひいては、異常確定と判定するまでに、制御処理装置からの回答番号が正答となる宿題番号及びその宿題番号に対する回答番号を、繰り返し送受信するという問題がある。   By the way, in the control processing device, when the part that performs the operation of a specific homework number (hereinafter referred to as the cause homework number) is out of order, the answer number corresponding to the cause homework number is erroneously repeated the specified number of times. As a result, the monitoring device described in Patent Document 1 outputs the reset signal described above. At this time, since the monitoring device after restarting re-outputs the homework number from the initial value, the answer number from the control processing device is the correct answer until it is determined again as the estimated abnormal state, and thus until it is determined as abnormal. There is a problem that the homework number and the answer number corresponding to the homework number are repeatedly transmitted and received.

具体的には、特許文献1に記載の監視装置と制御処理装置との間での宿題番号、回答番号の送受信、及び回答番号の正誤が遷移した様子を、図7(A)に例示すると、監視装置では、初期値である宿題番号Q1から宿題番号Q3までの各宿題番号Qiに対する回答番号Aiは、正答であると判定する。しかし、起因宿題番号QM(ここでは、M=4)に対する回答番号A#は、規定回数(図中は、規定回数=3)連続して誤答であるため、推定異常状態であるものと判定して、リセット信号を出力する。その後、再起動された電子制御システムにおいては、初期値である宿題番号Q1から宿題番号Q3までの各宿題番号Qiに対する回答番号Aiを正答と判定した後、宿題番号QMに対する回答番号A#が規定回数連続して誤答となり、設定回数(図中は、設定回数=2)連続して推定異常状態となるため、異常確定と判定する。 Specifically, when the homework number between the monitoring device described in Patent Document 1 and the control processing device, the transmission / reception of the response number, and the state of the correctness of the response number are illustrated in FIG. In the monitoring apparatus, the answer number A i for each homework number Q i from the homework number Q 1 to the homework number Q 3 which is an initial value is determined to be a correct answer. However, since the answer number A # for the cause homework number Q M (here, M = 4) is an erroneous answer continuously for a specified number of times (in the figure, the specified number of times = 3), it is assumed that it is an estimated abnormal state. Determine and output a reset signal. Thereafter, the restart electronic control system, after determining the response number A i for each assignment number Q i from assignment number Q 1 is the initial value to the assignment number Q 3 and correct answers to assignment number Q M The number A # is erroneously answered continuously for the specified number of times, and the set number of times (in the figure, set number of times = 2) is continuously in the estimated abnormal state, so it is determined that the abnormality is confirmed.

したがって、特許文献1に記載の監視装置では、再起動された後に、宿題番号Qを初期値から順に再出力するため、推定異常状態と再度判定されるまでに要する処理量が多く、推定異常状態と再度判定するまでに要する時間長が長くなるという問題がある。   Therefore, in the monitoring apparatus described in Patent Document 1, since the homework number Q is re-output in order from the initial value after being restarted, a large amount of processing is required until it is determined again as the estimated abnormal state. There is a problem that the time length required to determine again becomes longer.

そこで、本発明は、電子制御システム及び監視装置において、推定異常状態と再度判定するまでに要する処理量を低減することを目的とする。   Therefore, an object of the present invention is to reduce the amount of processing required for re-determining an estimated abnormal state in an electronic control system and a monitoring device.

上記目的を達成するためになされた本発明は、制御処理装置との間で送受信した宿題番号及び回答番号に基づき制御処理装置の状態を監視する監視装置に関する。ただし、制御処理装置は、演算内容が予め対応付けられた宿題番号を取得すると、その取得した宿題番号に対応する演算を実行する演算実行手順、及び演算実行手順での演算結果を表す回答番号を生成して出力する回答出力手順とを実行するものである。   The present invention made to achieve the above object relates to a monitoring device that monitors the state of a control processing device based on a homework number and an answer number transmitted to and received from the control processing device. However, when the control processing device acquires the homework number in which the operation contents are associated in advance, the control execution procedure for executing the operation corresponding to the acquired homework number and the answer number indicating the operation result in the operation execution procedure are displayed. An answer output procedure that is generated and output is executed.

そして、本発明の監視装置では、宿題出力手段が、設定された宿題番号を出力し、その宿題番号に対する制御処理装置からの回答番号を取得すると、正誤判定手段が、宿題出力手段で出力した宿題番号に対して用意された答えに基づいて、回答番号の正誤を判定する。その判定の結果、回答番号が正答であれば、宿題更新手段が、宿題番号を、先に出力したものとは異なる宿題番号へと、予め規定された順序に従って変更して設定し、回答番号が誤答であれば、宿題番号を、先に出力した宿題番号に維持して設定する。   In the monitoring device of the present invention, when the homework output means outputs the set homework number and obtains the answer number from the control processing device for the homework number, the correctness determination means outputs the homework output by the homework output means. Whether the answer number is correct or not is determined based on the answer prepared for the number. As a result of the determination, if the answer number is a correct answer, the homework updating means changes the homework number to a different homework number from the one output earlier according to a predetermined order and sets the answer number. If it is an incorrect answer, the homework number is maintained and set to the homework number output earlier.

ただし、回答番号に対する正誤の判定の結果、同一の宿題番号に対する回答番号が、予め規定された規定回数連続して誤答である推定異常状態であれば、リセット手段が、該誤答に対応する宿題番号を、再起動されても記憶内容を保持する記憶部に格納すると共に、制御処理装置及び当該監視装置を再起動するリセット信号を出力する。このリセット信号の出力により、制御処理装置及び当該監視装置が再起動されると、番号再設定手段が、記憶部に格納されている宿題番号を設定して、宿題出力手段に出力させる。   However, as a result of determining whether the answer number is correct or not, if the answer number corresponding to the same homework number is an estimated abnormal state in which the answer number is continuously incorrect for a predetermined number of times, the reset means responds to the error answer. The homework number is stored in a storage unit that retains the stored contents even if it is restarted, and a reset signal for restarting the control processing device and the monitoring device is output. When the control processing device and the monitoring device are restarted by the output of the reset signal, the number resetting means sets the homework number stored in the storage unit and causes the homework output means to output it.

なお、ここで言う「再起動される」とは、監視装置に対しては、記憶部に格納された情報を除いて当該監視装置を初期状態へと戻すことでも良いし、当該監視装置を再度起動することでも良い。一方、制御処理装置に対する「再起動」とは、当該制御処理装置を再度起動することが好ましい。   Note that “restarted” as used herein may mean that the monitoring device is returned to the initial state except for the information stored in the storage unit, or the monitoring device is again connected. It may be activated. On the other hand, “restart” for the control processing device preferably restarts the control processing device again.

例えば、本発明の監視装置と制御処理装置との間での宿題番号、回答番号の送受信、及びその回答番号の正誤が推移した様子を、図7(B)に例示する。この図7(B)に示すように、本発明の監視装置では、宿題番号Q3までの回答番号A13に対しては、正答であるものと判定する。しかし、起因宿題番号である宿題番号Q4に対する回答番号A#は、規定回数(図中は、規定回数=3)連続して誤答であるため、宿題番号Q4を記憶部に記憶(即ち、推定異常状態と判定)して、制御処理装置及び監視装置を再起動する。その後、再起動された本発明の監視装置では、宿題番号Qの送信、及びその送信した宿題番号Qに対応する回答番号Aの正誤についての判定を、起因宿題番号Q4から再開する。 For example, FIG. 7B illustrates how homework numbers, transmission / reception of response numbers, and correctness of the response numbers change between the monitoring device and the control processing device of the present invention. As shown in FIG. 7B, the monitoring apparatus of the present invention determines that the answer numbers A 1 to 3 up to homework number Q 3 are correct answers. However, due the answer number A # assignment is a number for assignment number Q 4, the specified number of times (in the figure, the specified number of times = 3) for a wrong answer continuously, stored in the storage unit the assignment number Q 4 (i.e. The control processing device and the monitoring device are restarted. Thereafter, the monitoring device of the present invention is restarted, the transmission of the assignment number Q, and the judgment about the correctness of the answer number A corresponding to the transmitted assignment number Q, resumes from due assignment number Q 4.

したがって、本発明の監視装置によれば、本発明の監視装置及び制御処理装置を再起動した後に、初期値から起因宿題番号の一つ前までの宿題番号が再度出力されることを防止できる。この結果、本発明の監視装置によれば、推定異常状態と再度判定するまでに要する処理量を削減することができ、ひいては、推定異常状態と再度判定するまでに要する時間長を短縮することができる。   Therefore, according to the monitoring device of the present invention, after the monitoring device and the control processing device of the present invention are restarted, the homework numbers from the initial value to the previous homework number can be prevented from being output again. As a result, according to the monitoring apparatus of the present invention, it is possible to reduce the amount of processing required to re-determine the estimated abnormal state, and in turn reduce the length of time required to re-determine the estimated abnormal state. it can.

また、本発明におけるリセット手段は、宿題出力手段にて出力した宿題番号に対応する回答番号を、該宿題番号を出力してから、予め規定された規定時間以上未取得であれば、推定異常状態であるものとしても良い(請求項2)。   Further, the reset means in the present invention is the estimated abnormal state if the answer number corresponding to the homework number output by the homework output means is not acquired for a predetermined time or more after outputting the homework number. (Claim 2).

このような監視装置によれば、監視装置から出力した宿題番号に対して、制御出力装置から回答番号が出力されないような場合にも、再起動後の宿題番号の出力を、該宿題番号から再開できる。   According to such a monitoring device, even if the answer number is not output from the control output device for the homework number output from the monitoring device, the output of the homework number after the restart is resumed from the homework number. it can.

さらに、本発明の監視装置においては、同一の宿題番号への各回答番号に対する正誤判定手段での判定の結果、予め設定された設定回数連続して推定異常状態となると、動作禁止手段が、リセット手段によるリセット信号の出力を継続させても良い(請求項3)。   Furthermore, in the monitoring device of the present invention, when the result of determination by the correctness determination means for each answer number to the same homework number results in an estimated abnormal state continuously for a preset number of times, the operation prohibiting means is reset. The output of the reset signal by the means may be continued (Claim 3).

このような本発明の監視装置であれば、異常確定状態であるか否かを判定することができ、異常確定状態であれば、制御処理装置の動作を不能とすることができる。しかも、本発明の監視装置によれば、制御処理装置及び監視装置が再起動されると、起因宿題番号から宿題番号を再出力するため、異常確定と判定するまでに要する処理量、ひいては、異常確定と判定するまでに要する時間を短縮することができる。   With such a monitoring device of the present invention, it is possible to determine whether or not an abnormality has been established, and if the abnormality has been established, the operation of the control processing device can be disabled. Moreover, according to the monitoring device of the present invention, when the control processing device and the monitoring device are restarted, the homework number is re-output from the cause homework number. It is possible to reduce the time required to determine that it is confirmed.

ところで、本発明は、請求項1から請求項3のいずれか一項に記載の監視装置に加えて、制御処理装置を備えた電子制御システムとしてなされていても良い(請求項4)。
本発明が、このような電子制御システムとしてなされていても、請求項1〜請求項3に係る監視装置と同様の効果を得ることができる。
By the way, this invention may be made | formed as an electronic control system provided with the control processing apparatus in addition to the monitoring apparatus as described in any one of Claims 1-3.
Even if the present invention is configured as such an electronic control system, the same effects as the monitoring device according to claims 1 to 3 can be obtained.

さらに、本発明における制御処理装置、及び監視装置は、プログラムに定められた処理手順に従って処理を実行するコンピュータ、即ち、汎用のコンピュータ(マイクロコンピュータ)であっても良い(請求項5)。   Furthermore, the control processing device and the monitoring device according to the present invention may be a computer that executes processing according to a processing procedure defined in a program, that is, a general-purpose computer (microcomputer).

このようにすれば、プログラムに処理手順を追加したり、プログラムに定められた処理手順を変更したりすることで、監視装置の構成を容易に変更することができる。
なお、本発明の電子制御システムにおける監視装置は、宿題出力手段、正誤判定手段、宿題更新手段、リセット手段、及び番号再設定手段が、それぞれ、少なくとも一つ以上の回路素子を組み合わせることによって構成された専用の電子装置によって実現されていても良い。
In this way, the configuration of the monitoring device can be easily changed by adding a processing procedure to the program or changing the processing procedure defined in the program.
The monitoring device in the electronic control system of the present invention is configured by combining at least one or more circuit elements each of homework output means, correctness determination means, homework update means, reset means, and number resetting means. Alternatively, it may be realized by a dedicated electronic device.

このように、一つの機能を実現することに特化した専用の回路として監視装置を構成すれば、汎用のコンピュータに比べて、当該監視装置の製造費用を抑制することができる。
また、本発明における制御処理装置、及び監視装置は、それぞれ、一つの中央演算処理装置に設けられた互いに異なるプロセッサコア、即ち、いわゆるマルチコアプロセッサにおける各プロセッサコアを、制御処理装置、及び監視装置として機能させても良い(請求項6)。
Thus, if the monitoring device is configured as a dedicated circuit specialized for realizing one function, the manufacturing cost of the monitoring device can be reduced as compared with a general-purpose computer.
The control processing device and the monitoring device according to the present invention are different processor cores provided in one central processing unit, i.e., each processor core in a so-called multi-core processor as a control processing device and a monitoring device. You may make it function (Claim 6).

このようにすれば、プロセッサコアの状態を監視することができる。
さらに、本発明における制御処理装置及び監視装置は、それぞれ、自動車に搭載され、かつ自動車に設けられる機器を制御する電子制御ユニット(いわゆるECU(Electronic Control Unit))であっても良い(請求項7)。
In this way, the state of the processor core can be monitored.
Furthermore, each of the control processing device and the monitoring device in the present invention may be an electronic control unit (a so-called ECU (Electronic Control Unit)) that is mounted on a vehicle and controls equipment provided in the vehicle. ).

このようにすれば、電子制御ユニットの状態を監視することができる。   In this way, the state of the electronic control unit can be monitored.

本発明が適用された電子制御システムの概略構成を示すブロック図である。1 is a block diagram showing a schematic configuration of an electronic control system to which the present invention is applied. 第一実施形態における監視装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the monitoring apparatus in 1st embodiment. 第二実施形態における監視装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the monitoring apparatus in 2nd embodiment. 第二実施形態の監視装置が実行する監視処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the monitoring process which the monitoring apparatus of 2nd embodiment performs. 第二実施形態における電子制御システムの変形例を示すブロック図である。It is a block diagram which shows the modification of the electronic control system in 2nd embodiment. 第二実施形態における電子制御システムの変形例を示すブロック図である。It is a block diagram which shows the modification of the electronic control system in 2nd embodiment. 従来技術の課題及び本発明の効果を説明するための説明図である。It is explanatory drawing for demonstrating the subject of a prior art and the effect of this invention.

以下に本発明の実施形態を図面と共に説明する。
[第一実施形態]
〈電子制御システムの構成について〉
図1は、本発明が適用された電子制御システムの概略構成を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings.
[First embodiment]
<Configuration of electronic control system>
FIG. 1 is a block diagram showing a schematic configuration of an electronic control system to which the present invention is applied.

この電子制御システム1は、処理プログラムに従って各種処理を実行すると共に、負荷を制御する制御処理装置10と、制御処理装置10との間で送受信した信号に基づいて、制御処理装置10の状態を監視する監視装置20とを備えている。これら制御処理装置10と監視装置20とは、信号を送受信する専用のシリアスバスによって接続されており、電子制御システム1(制御処理装置10と監視装置20と)は、自動車に搭載して用いられる。   The electronic control system 1 executes various processes in accordance with a processing program, and monitors the state of the control processing apparatus 10 based on signals transmitted and received between the control processing apparatus 10 that controls the load and the control processing apparatus 10. Monitoring device 20. The control processing device 10 and the monitoring device 20 are connected by a dedicated serial bus that transmits and receives signals, and the electronic control system 1 (the control processing device 10 and the monitoring device 20) is used by being mounted on an automobile. .

なお、本実施形態において、負荷とは、自動車に搭載された各種機器を駆動する動力源として機能するアクチュエータであり、例えば、プリクラッシュセーフティシステムにおいて、シートベルトを巻き取るモータや、電動パワーステアリングシステムにおいて、ステアリングの回動を補助するモータ等が相当する。   In the present embodiment, the load is an actuator that functions as a power source for driving various devices mounted on the automobile. For example, in a pre-crash safety system, a motor that winds a seat belt or an electric power steering system Corresponds to a motor or the like for assisting the turning of the steering wheel.

このうち、制御処理装置10は、電源が切断されても内容を保持する必要のあるデータやプログラムを記憶するROM11と、処理途中で一時的に生じたデータを格納するRAM12と、ROM11やRAM12に記憶された処理プログラムを実行するCPU15と、これらを接続するバス(図示略)とを少なくとも備えた周知のマイクロコンピュータを中心に構成されている。   Among them, the control processing device 10 stores a ROM 11 for storing data and programs that need to retain contents even when the power is turned off, a RAM 12 for storing data temporarily generated during processing, and a ROM 11 and a RAM 12. A known microcomputer including at least a CPU 15 for executing a stored processing program and a bus (not shown) for connecting them is mainly configured.

さらに、CPU15は、ROM11やRAM12からの処理プログラムを読み出して解読する制御部16と、制御部16で解読した処理プログラムに従って各種演算を行う演算部17とを備えている。   Further, the CPU 15 includes a control unit 16 that reads and decodes a processing program from the ROM 11 or the RAM 12, and a calculation unit 17 that performs various calculations according to the processing program decoded by the control unit 16.

そして、ROM11には、負荷を制御する処理プログラムや、監視装置20からの信号に基づいて演算を実行する処理プログラムが格納されている。
つまり、電子制御システム1では、実行すべき演算内容を表す文字列(例えば、数字)である宿題番号Qiを含む宿題信号を、監視装置20から制御処理装置10へと出力する。すると、その宿題信号を取得した制御処理装置10は、その取得した宿題番号Qiに対応する演算(本発明における演算実行手順に相当)を実行して、演算結果を表す文字列(例えば、数字)である回答番号Aiを含む回答信号を生成して出力(本発明における回答出力手順に相当)する。これにより、回答信号を取得した監視装置20は、回答信号に含まれる回答番号Aiを、監視装置20自身が出力した宿題番号Qiに基づいて予め用意した「答え」(以下、正答番号aniと称す)に照合して、その回答番号Aiの正誤を判定する。そして、監視装置20は、正誤の判定の結果に基づいて、制御処理装置10に故障が生じている可能性がある推定異常状態であるものと判定すると、電子制御システム1を再起動し、制御処理装置10に故障が生じていることが確定的な異常確定状態であるものと判定すると、制御処理装置10の動作を禁止する。
The ROM 11 stores a processing program for controlling the load and a processing program for executing a calculation based on a signal from the monitoring device 20.
That is, in the electronic control system 1, the homework signal including the homework number Q i that is a character string (for example, a number) representing the operation content to be executed is output from the monitoring device 20 to the control processing device 10. Then, the control processing apparatus 10 that has acquired the homework signal executes a calculation (corresponding to the calculation execution procedure in the present invention) corresponding to the acquired homework number Q i and a character string (for example, a number) ) and it is to generate a reply signal including an answer number a i output (corresponding to the reply output procedure in the present invention). As a result, the monitoring device 20 that has acquired the answer signal sets the answer number A i included in the answer signal based on the homework number Q i output by the monitoring device 20 itself. by matching the referred to i), judges correctness of answers number a i. Then, if the monitoring device 20 determines that the control processing device 10 is in an estimated abnormal state where there is a possibility that a failure has occurred based on the result of the correctness / incorrectness determination, the monitoring device 20 restarts the electronic control system 1 and performs control. If it is determined that a failure has occurred in the processing apparatus 10 is a definite abnormality confirmation state, the operation of the control processing apparatus 10 is prohibited.

本実施形態における宿題信号は、宿題番号Qiに加えて、制御処理装置10が宿題信号自体を識別するためのヘッダ部を備えている。そのヘッダ部には、今回の宿題番号Qiを、先に出力した宿題番号Qiから更新したか否かを表す宿題更新情報が少なくとも含まれている。一方、回答信号は、回答番号Aiに加えて、監視装置20が回答信号自体を識別するためのヘッダ部を備えている。そのヘッダ部には、今回の回答番号Aiを、先に出力した回答番号Aiから更新したか否かを表す回答更新情報が少なくとも含まれている。
〈監視装置の構成について〉
次に、監視装置20の構成について、図2を用いて説明する。
In addition to the homework number Q i , the homework signal in the present embodiment includes a header portion for the control processing device 10 to identify the homework signal itself. Its header section, the current assignment number Q i, homework update information indicating whether to update the assignment number Q i outputted earlier contain at least. On the other hand, in addition to the answer number A i , the answer signal includes a header part for the monitoring device 20 to identify the answer signal itself. The header portion includes at least answer update information indicating whether or not the answer number A i of this time has been updated from the answer number A i output previously.
<About the configuration of the monitoring device>
Next, the configuration of the monitoring device 20 will be described with reference to FIG.

この監視装置20は、予め規定された条件を満たすと更新されるカウント値cnを宿題番号Qiとして生成する宿題番号カウンタ34と、宿題番号カウンタ34にて生成された宿題番号Qiを含む宿題信号を生成して出力すると共に、その出力した宿題信号に対する制御処理装置10からの回答信号を取得するシリアル通信部31とを備えている。 The monitoring device 20 includes a assignment number counter 34 generates a count value cn be updated with predefined conditions are satisfied as assignment number Q i, homework including assignment number Q i generated by the assignment number counter 34 A serial communication unit 31 that generates and outputs a signal and obtains an answer signal from the control processing apparatus 10 for the output homework signal.

さらに、監視装置20は、シリアル通信部31にて取得した回答信号を解析して、回答信号に含まれる回答番号Aiを分離する回答信号解析部32と、宿題番号カウンタ34のカウント値cnに基づいて宿題番号Qiに対応する正答番号aniを生成する正答番号生成部36と、その正答番号生成部36にて生成された正答番号ani、及び回答信号解析部32にて分離された回答番号Aiに基づいて、回答番号Aiが正答であるか誤答であるかを判定する正誤判定部33とを備えている。 Further, the monitoring device 20 analyzes the answer signal acquired by the serial communication unit 31 and separates the answer number A i included in the answer signal into the count value cn of the homework number counter 34. the correct number generator 36 for generating a correct number an, i corresponding to the assignment number Q i based, its generated by the correct answer number generator 36 the correct number an, i, and separated by the reply signal analyzer 32 based on the response number a i, answer number a i is a right or wrong decision unit 33 determines whether the wrong answer or a correct answer.

これと共に、監視装置20は、同一の宿題番号Qiに対する回答番号Aiが、予め規定された規定回数連続して誤答であれば、推定異常状態であるものと判定する誤答回数カウンタ37と、制御処理装置10からの回答番号Aiが更新されてからの経過時間を確認する更新計測タイマ38と、電子制御システム1を再起動するリセット生成部39とを備えている。 At the same time, the monitoring device 20, answer number A i for the same assignment number Q i is, if wrong answer continuously specified number of times defined in advance, erroneous answer counter 37 which determines that an estimated abnormal state And an update measurement timer 38 for confirming an elapsed time since the reply number A i from the control processing device 10 is updated, and a reset generation unit 39 for restarting the electronic control system 1.

なお、「電子制御システム1を再起動」のうち、制御処理装置10に対する「再起動」は、制御処理装置10への電力供給を遮断した後に再度起動することが好ましい。一方、監視装置20に対する「再起動」は、監視装置20を初期状態へと戻すことでも良いし、監視装置20への電力供給を遮断した後に再度起動することでも良い。   Of the “restarting the electronic control system 1”, the “restart” for the control processing device 10 is preferably restarted after the power supply to the control processing device 10 is cut off. On the other hand, the “restart” for the monitoring device 20 may be to return the monitoring device 20 to the initial state, or may be started again after the power supply to the monitoring device 20 is cut off.

ただし、監視装置20を構成するシリアル通信部31、回答信号解析部32、正誤判定部33、宿題番号カウンタ34、正答番号生成部36、誤答回数カウンタ37、更新計測タイマ38、リセット生成部39は、それぞれ、少なくとも一つの回路素子によって構成されている。   However, the serial communication unit 31, the response signal analysis unit 32, the correct / incorrect determination unit 33, the homework number counter 34, the correct answer number generation unit 36, the incorrect answer number counter 37, the update measurement timer 38, and the reset generation unit 39 that constitute the monitoring device 20. Are each constituted by at least one circuit element.

このうち、回答信号解析部32は、シリアル通信部31からの回答信号が、前回の信号とは異なるものであれば、信号状態がアクティブな状態に変化する回答更新信号rnを出力する。この回答更新信号rnがアクティブな状態に変化とは、前回の信号とは異なる新たな回答信号が取得される毎に、1クロックだけパルス状に変化することである。   Among these, the response signal analysis unit 32 outputs the response update signal rn that changes the signal state to the active state if the response signal from the serial communication unit 31 is different from the previous signal. The change of the answer update signal rn to the active state means that the answer update signal rn changes in a pulse shape by one clock every time a new answer signal different from the previous signal is acquired.

正誤判定部33は、回答更新信号rnの信号状態がアクティブな状態に変化すると、回答番号Aiと、正答番号aniとを比較照合することにより、回答番号Aiが正答であるか誤答であるかを判定する。そして、正誤判定部33は、判定の結果、回答番号Aiが正答であれば、正答信号rsの信号状態をアクティブな状態とし、回答番号Aiが誤答であれば、誤答信号esの信号状態をアクティブな状態とする。つまり、正誤判定部33から出力される正答信号rsまたは誤答信号esの信号状態は、いずれか一方のみがアクティブ状態となる。 When the signal state of the answer update signal rn changes to an active state, the correctness / incorrectness determination unit 33 compares the answer number A i with the answer number an i to determine whether the answer number A i is a correct answer. It is determined whether it is. If the answer number A i is a correct answer as a result of the determination, the correct / incorrect determination unit 33 sets the signal state of the correct answer signal rs to an active state. If the answer number A i is an incorrect answer, the correct answer signal es The signal state is made active. That is, only one of the signal states of the correct answer signal rs or the incorrect answer signal es output from the correct / incorrect determination unit 33 is in an active state.

誤答回数カウンタ37は、誤答信号esの信号状態がアクティブな状態に切り替わると、当該誤答回数カウンタ37のカウント値Tcを一つインクリメントし、正答信号rsの信号状態がアクティブな状態に切り替わると、カウント値Tcを初期値(ここでは、「0」)へと戻す。そして、誤答回数カウンタ37は、カウント値Tcが、規定回数に相当する値として予め規定された規定値Thc(本実施形態では、規定値Thcを「3」とする)以上となると、推定異常状態であるものと判定して、異常信号gsの信号状態をアクティブ状態とする。ただし、誤答回数カウンタ37からの異常信号gsの信号状態は、カウント値Tcが規定値Thc未満であれば、パッシブな状態である。   When the signal state of the wrong answer signal es is switched to an active state, the wrong answer number counter 37 increments the count value Tc of the wrong answer number counter 37 by one, and the signal state of the correct answer signal rs is switched to an active state. Then, the count value Tc is returned to the initial value (here, “0”). Then, when the count value Tc is equal to or greater than a specified value Thc that is defined in advance as a value corresponding to the specified number of times (in this embodiment, the specified value Thc is “3”), It is determined that the state is a state, and the signal state of the abnormal signal gs is set to the active state. However, the signal state of the abnormal signal gs from the erroneous answer counter 37 is a passive state if the count value Tc is less than the specified value Thc.

更新計測タイマ38は、回答更新信号rnの信号状態がアクティブな状態に変化するまでの時間長、即ち、信号状態がパッシブである時間長を計測し、その時間長が規定時間以上であれば、無更新信号urの信号状態をアクティブ状態とする。   The update measurement timer 38 measures a time length until the signal state of the answer update signal rn changes to an active state, that is, a time length in which the signal state is passive, and if the time length is equal to or longer than a predetermined time, The signal state of the non-update signal ur is set to the active state.

リセット生成部39は、異常信号gsまたは無更新信号urの信号状態がアクティブ状態であれば、更新計測タイマ38にて計測している時間長、及び誤答回数カウンタ37のカウント値Tcを初期値(即ち、時間長は、「0[sec]」、カウント値Tcは、「0」)へと戻す初期化信号inを出力する。これと共に、リセット生成部39は、異常信号gsまたは無更新信号urの信号状態がアクティブ状態であれば、電子制御システム1を再起動するリセット信号reを出力する。   If the signal state of the abnormal signal gs or the no-update signal ur is in the active state, the reset generation unit 39 sets the time length measured by the update measurement timer 38 and the count value Tc of the erroneous answer counter 37 to the initial value. (In other words, the initialization signal in is returned to a time length of “0 [sec]” and a count value Tc of “0”). At the same time, the reset generation unit 39 outputs a reset signal re for restarting the electronic control system 1 if the signal state of the abnormal signal gs or the no-update signal ur is active.

ただし、リセット生成部39は、同一の宿題番号Qiに対する回答番号Aiが、予め設定された設定回数(設定回数>規定値Thc)連続して誤答であれば、異常確定状態であるものと判定して、リセット信号reの出力を維持する。これにより、制御処理装置10は、動作することを禁止された状態となる。 However, those reset generator 39, answer number A i for the same assignment number Q i is, if a preset number of times (set number> specified value Thc) wrong answer continuously, an abnormal commit state And the output of the reset signal re is maintained. Thereby, the control processing apparatus 10 will be in the state where operation was prohibited.

宿題番号カウンタ34は、正答信号rsの信号状態がアクティブ状態となると、当該宿題番号カウンタ34のカウント値cn(即ち、次に出力する宿題番号Qi)を一つインクリメントし、誤答信号esの信号状態がアクティブ状態であれば、現時点でのカウント値cnを維持する。 When the signal state of the correct answer signal rs becomes active, the homework number counter 34 increments the count value cn of the homework number counter 34 (that is, the homework number Q i to be output next) by one, and the error answer signal es If the signal state is active, the current count value cn is maintained.

さらに、宿題番号カウンタ34は、情報を記憶する記憶領域35を備えている。
本実施形態の記憶領域35は、異常信号gsまたは無更新信号urの信号状態がアクティブ状態に切り替わると、その切り替わった時点でのカウント値cnが格納される。
The homework number counter 34 further includes a storage area 35 for storing information.
When the signal state of the abnormal signal gs or the non-update signal ur is switched to the active state, the storage area 35 of the present embodiment stores the count value cn at the time of switching.

この記憶領域35は、揮発性のメモリでも良いし、不揮発性のメモリでも良い。記憶領域35が揮発性のメモリとして構成されている場合、カウント値cnが記憶された記憶領域35には、監視装置20が再起動されても(または初期状態へと戻されても)記憶内容を保持する保持処理が実行される。   The storage area 35 may be a volatile memory or a non-volatile memory. When the storage area 35 is configured as a volatile memory, the storage contents 35 in which the count value cn is stored are stored even if the monitoring device 20 is restarted (or returned to the initial state). Is held.

よって、リセット生成部39からリセット信号reが出力されて、電子制御システム1が再起動されると、記憶領域35に記憶されている値を、宿題番号カウンタ34のカウント値cnとして設定する。   Therefore, when the reset signal re is output from the reset generation unit 39 and the electronic control system 1 is restarted, the value stored in the storage area 35 is set as the count value cn of the homework number counter 34.

なお、宿題番号カウンタ34は、記憶領域35を備えていなくとも良い。この場合、監視装置20が再起動される(または初期状態へと戻される)際に、カウント値cnが保持されるように、宿題番号カウンタ34に対して保持処理が実行される必要がある。   Note that the homework number counter 34 may not include the storage area 35. In this case, when the monitoring apparatus 20 is restarted (or returned to the initial state), the homework number counter 34 needs to be held so that the count value cn is held.

以上説明したように、電子制御システム1の監視装置20は、宿題番号Qiに対する制御処理装置10からの回答番号Aiが正答であれば、誤答回数カウンタ37のカウント値Tcをインクリメントすること無く維持し、誤答であれば、カウント値Tcをインクリメントする。そして、同一の宿題番号Qiに対する回答番号Aiが連続して誤答となり、カウント値Tcが予め規定された規定値Thc以上となると、推定異常状態であるものと判定して、電子制御システム1を再起動する。 As described above, the monitoring device 20 of the electronic control system 1, if the answer number A i is the correct answer from the control processor 10 to the assignment number Q i, incrementing the count value Tc of the wrong answer counter 37 If the answer is incorrect, the count value Tc is incremented. Then, it becomes incorrect answer answer number A i for the same assignment number Q i is continuously, the count value Tc is the predefined predetermined value Thc above, it is determined that what is estimated abnormal state, the electronic control system 1 is restarted.

このように推定異常状態であるものと判定されて再起動された(または初期状態へと戻された)後の監視装置20は、宿題番号Qiの出力を、その再起動前に出力していた宿題番号Qiから再開する。そして、同一の宿題番号Qiに対する回答番号Aiが設定回数連続して誤答であれば、異常確定状態であるものと判定して、リセット信号reの出力を維持する。
[第一実施形態の効果]
以上説明したように、本実施形態の電子制御システム1によれば、当該電子制御システム1を再起動した後に、再出力する宿題番号Qiを、前回、推定異常状態と判定される原因となった宿題番号(即ち、起因宿題番号)からとすることができる。
Thus, the monitoring device 20 after being determined to be in the estimated abnormal state and restarted (or returned to the initial state) outputs the output of the homework number Q i before the restart. resume from homework number Q i was. Then, if the wrong answer answer number A i is the set number continuously to the same assignment number Q i, and determines that an abnormal determined state, maintains the output of the reset signal re.
[Effect of the first embodiment]
As described above, according to the electronic control system 1 of the present embodiment, after the electronic control system 1 is restarted, the homework number Q i to be re-output becomes a cause that is determined to be an estimated abnormal state last time. The homework number (ie, the assigned homework number).

また、電子制御システム1によれば、監視装置20から出力した宿題番号Qiに対して、制御処理装置10からの回答番号Aiが規定時間以上未返答である場合にも、推定異常状態であるものと判定している。したがって、電子制御システム1によれば、このような推定異常状態に起因して電子制御システム1が再起動された場合にも、宿題番号Qiの出力を、未返答となっている宿題番号Qiから再開できる。 In addition, according to the electronic control system 1, even if the answer number A i from the control processing device 10 has not been answered for a predetermined time or more with respect to the homework number Q i output from the monitoring device 20, It is determined that there is something. Therefore, according to the electronic control system 1, even when the electronic control system 1 is restarted due to such an estimated abnormal state, the output of the homework number Q i is displayed as an unanswered homework number Q You can resume from i .

これらにより、電子制御システム1によれば、再起動された後に、初期値から起因宿題番号の一つ前までの宿題番号Qiが再度出力されることを防止できる。よって、電子制御システム1によれば、推定異常状態と再度判定するまでに要する処理量を削減することができ、ひいては、推定異常状態と再度判定するまでに要する時間長を短縮することができる。さらに言えば、異常確定状態と判定するまでに要する処理量を削減することができる。 Thus, according to the electronic control system 1, it is possible to prevent the homework number Q i from the initial value to the previous homework number from being output again after being restarted. Therefore, according to the electronic control system 1, it is possible to reduce the amount of processing required until the estimated abnormal state is determined again, and thus it is possible to reduce the length of time required to determine again the estimated abnormal state. Furthermore, it is possible to reduce the processing amount required to determine that the abnormality is confirmed.

なお、本実施形態における監視装置20は、制御処理装置10の状態を監視することに特化した専用回路として構成されているため、汎用のコンピュータを用いて監視装置20を構成する場合に比べて、当該監視装置20の製造コストを抑制することができる。
[第一実施形態と特許請求の範囲との対応関係]
本実施形態で用いた用語と、特許請求の範囲にて用いた用語との対応関係を説明する。
In addition, since the monitoring apparatus 20 in this embodiment is comprised as a dedicated circuit specialized in monitoring the state of the control processing apparatus 10, compared with the case where the monitoring apparatus 20 is comprised using a general purpose computer. The manufacturing cost of the monitoring device 20 can be suppressed.
[Correspondence Relationship Between First Embodiment and Claims]
The correspondence between terms used in the present embodiment and terms used in the claims will be described.

本実施形態の監視装置20におけるシリアル通信部31が、本発明の宿題出力手段に相当し、監視装置20における回答信号解析部32,正答番号生成部36,及び正誤判定部33が、本発明の正誤判定手段に相当する。さらに、監視装置20における宿題番号カウンタ34が、本発明の宿題更新手段及び番号再設定手段に相当し、監視装置20における更新計測タイマ38,誤答回数カウンタ37,及びリセット生成部39が、本発明のリセット手段に相当する。なお、監視装置20におけるリセット生成部39は、本発明の動作禁止手段にも相当する。
[第二実施形態]
次に、本発明の第二実施形態について、第一実施形態と同様、図1を参照しつつ説明する。
The serial communication unit 31 in the monitoring device 20 of the present embodiment corresponds to homework output means of the present invention, and the answer signal analysis unit 32, the correct answer number generation unit 36, and the correctness / incorrectness determination unit 33 in the monitoring device 20 are included in the present invention. This corresponds to correctness determination means. Furthermore, the homework number counter 34 in the monitoring device 20 corresponds to the homework update means and number resetting means of the present invention, and the update measurement timer 38, the erroneous answer number counter 37, and the reset generation unit 39 in the monitoring device 20 It corresponds to the reset means of the invention. The reset generation unit 39 in the monitoring device 20 corresponds to the operation prohibiting unit of the present invention.
[Second Embodiment]
Next, a second embodiment of the present invention will be described with reference to FIG. 1 as in the first embodiment.

本実施形態の電子制御システム5と、第一実施形態における電子制御システム1とでは、制御処理装置10の構成は同様であるものの、監視装置40の構成が異なる。このため、本実施形態においては、制御処理装置10を構成する各部には、第一実施形態と同一符号を付して説明を省略し、第一実施形態とは異なる監視装置40の構成を中心に説明する。   The electronic control system 5 according to the present embodiment and the electronic control system 1 according to the first embodiment have the same configuration of the control processing device 10, but the configuration of the monitoring device 40 is different. For this reason, in this embodiment, each part which comprises the control processing apparatus 10 attaches | subjects the same code | symbol as 1st embodiment, abbreviate | omits description, and focuses on the structure of the monitoring apparatus 40 different from 1st embodiment. Explained.

本実施形態の電子制御システム5は、制御処理装置10と、制御処理装置10との間で送受信した宿題信号及び回答信号に基づいて、制御処理装置10の状態を監視する監視装置40とを備えている。   The electronic control system 5 of this embodiment includes a control processing device 10 and a monitoring device 40 that monitors the state of the control processing device 10 based on homework signals and answer signals transmitted and received between the control processing devices 10. ing.

本実施形態の監視装置40は、図3に示すように、処理プログラムやデータを記憶する記憶部42と、記憶部42に記憶された処理プログラムを実行すると共に、その処理プログラムの実行途中に生じた情報を記憶するレジスタ46を有した制御部45と、これらを接続するバス(図示略)とを少なくとも備えた周知のマイクロコンピュータを中心に構成されている。本実施形態における記憶部42は、記憶内容を書き換え可能な不揮発性の記憶装置として構成されていても良いし、記憶内容を書き換え可能な揮発性の記憶装置として構成されていても良い。   As shown in FIG. 3, the monitoring device 40 according to the present embodiment executes a processing program stored in the storage unit 42 and a storage unit 42 that stores processing programs and data, and occurs during the execution of the processing program. The control unit 45 having a register 46 for storing the information and a bus (not shown) for connecting them is mainly configured with a known microcomputer. The storage unit 42 in the present embodiment may be configured as a non-volatile storage device that can rewrite the storage content, or may be configured as a volatile storage device that can rewrite the storage content.

すなわち、監視装置40は、宿題番号Qiを含む宿題信号を送信し、その送信した宿題信号に対する制御処理装置10からの回答信号に含まれる回答番号Aiの正誤を判定した結果に基づいて、制御処理装置10の状態を監視する監視処理を、処理プログラムに従って実行する。
〈監視処理の処理内容について〉
次に、監視装置40が実行する監視処理の処理手順について、図4に示すフローチャートを用いて説明する。
That is, the monitoring device 40 transmits a homework signal including the homework number Q i , and based on the result of determining the correctness of the response number A i included in the response signal from the control processing device 10 for the transmitted homework signal, A monitoring process for monitoring the state of the control processing device 10 is executed according to the processing program.
<About monitoring processing details>
Next, the processing procedure of the monitoring process executed by the monitoring device 40 will be described using the flowchart shown in FIG.

この監視処理は、電子制御システム5、即ち、監視装置40に対して電力供給される(本実施形態では、イグニッションスイッチがオンされる)と起動されるものである。
そして、監視処理は、起動されると、図4に示すように、まず、電子制御システム1を構成する各部が正常であるか否かを確認し、確認の結果、異常があれば、電子制御システム1の動作を禁止するイニシャル処理を実行する(S110)。
This monitoring process is started when electric power is supplied to the electronic control system 5, that is, the monitoring device 40 (in this embodiment, the ignition switch is turned on).
When the monitoring process is started, as shown in FIG. 4, first, it is confirmed whether or not each unit constituting the electronic control system 1 is normal. If there is an abnormality as a result of the confirmation, the electronic control is performed. An initial process for prohibiting the operation of the system 1 is executed (S110).

続いて、監視装置40が制御処理装置10の状態を監視した結果の履歴を表す履歴情報に、推定異常状態となったことを表す異常情報が含まれているか否かを判定する(S120)。なお、本実施形態における履歴情報には、連続して推定異常状態となった回数を表す異常回数Tcが少なくとも含まれている。そして、本実施形態のS120では、異常回数Tcが規定値Thc(本実施形態では、規定値Thcを「3」とする)以上であれば、異常情報が含まれているものと判定する。   Subsequently, it is determined whether or not the history information indicating the history of the result of monitoring the state of the control processing device 10 by the monitoring device 40 includes abnormal information indicating that the estimated abnormal state has been reached (S120). Note that the history information in the present embodiment includes at least the number of abnormal times Tc that represents the number of times that the estimated abnormal state has occurred continuously. In S120 of the present embodiment, if the number of abnormal times Tc is equal to or greater than a specified value Thc (in this embodiment, the specified value Thc is “3”), it is determined that abnormal information is included.

そのS120での判定の結果、履歴情報に異常情報が含まれていなければ(S120:NO)、次に出力する宿題番号Qiを初期値Q1に設定する(S130)。一方、履歴情報に異常情報が含まれていれば(S120:YES)、次に出力する宿題番号Qiを、監視装置40から前回出力した宿題番号(以下、前回値とする)Qiに設定する(S140)。 A result of the determination in the S120, if contains abnormal information in the history information (S120: NO), then sets the assignment number Q i to be output to the initial value Q 1 (S130). On the other hand, if the history information includes abnormality information (S120: YES), the homework number Q i to be output next is set to the homework number Qi previously output from the monitoring device 40 (hereinafter referred to as the previous value) Q i . (S140).

続いて、異常回数Tcをクリアして、初期値(ここでは、「0」)とする(S150)。そして、設定されている宿題番号Qiを含む宿題信号を生成して、その生成した宿題信号を、制御処理装置10へと出力する(S160)。その出力した宿題信号に対する回答信号を取得したか否かを判定し(S170)、判定の結果、回答信号を取得していなければ(S170:NO)、回答信号を取得するまで待機する。そして、回答信号を取得すると(S170:YES)、取得した回答信号に含まれる回答番号Aiを、予め用意した正答番号aniに照合して、回答番号Aiの正誤を判定する(S180)。 Subsequently, the number of abnormal times Tc is cleared to an initial value (here, “0”) (S150). Then, a homework signal including the set homework number Q i is generated, and the generated homework signal is output to the control processing device 10 (S160). It is determined whether or not an answer signal for the output homework signal has been acquired (S170). If the answer signal is not acquired as a result of the determination (S170: NO), the process waits until an answer signal is acquired. When the answer signal is acquired (S170: YES), the answer number A i included in the acquired answer signal is checked against the correct answer number an i prepared in advance to determine whether the answer number A i is correct (S180). .

そのS180での判定の結果、回答番号Aiが正答であれば(S190:YES)、次に出力する宿題番号Qiを、前回値から予め規定された規定順序に沿ってインクリメントした宿題番号Qiに設定する(S200)。さらに、異常回数Tcをクリアして初期値とし(S210)、その後、S160へと戻り、S200で設定した宿題番号Qiを含む宿題信号を生成して出力する。つまり、監視処理では、制御処理装置10に故障などの異常が生じていなければ、規定順序に沿って宿題番号Qiを順次更新した宿題信号を送信して、制御処理装置10の監視を繰り返す。 As a result of the determination in S180, if the answer number A i is a correct answer (S190: YES), the homework number Q i that is output next is incremented in accordance with a pre-defined order from the previous value. i is set (S200). Moreover, clear the abnormality frequency Tc and the initial value (S210), then returns to S160, and generates and outputs an assignment signal including assignment number Q i set in S200. That is, in the monitoring process, if there is no abnormality such as a failure in the control processing device 10, a homework signal in which the homework numbers Q i are sequentially updated in accordance with the prescribed order is transmitted, and monitoring of the control processing device 10 is repeated.

一方、S180での判定の結果、回答番号Aiが誤答であれば(S190:NO)、異常回数Tcを一つインクリメントする(S220)。続いて、異常回数Tcが規定値Thc以上であるか否かを判定する(S230)。その判定の結果、異常回数Tcが規定値Thc未満であれば(S230:NO)、次に出力する宿題番号Qiを、今回出力した宿題番号Qi(即ち、出力値)に維持(設定)する(S240)。その後、S160へと戻り、S240で設定した宿題番号Qiを含む宿題信号を生成して出力する。 On the other hand, if the answer number A i is an incorrect answer as a result of the determination in S180 (S190: NO), the number of abnormal times Tc is incremented by one (S220). Subsequently, it is determined whether or not the number of abnormal times Tc is equal to or greater than a specified value Thc (S230). If the number of abnormal times Tc is less than the prescribed value Thc as a result of the determination (S230: NO), the homework number Q i to be output next is maintained (set) at the homework number Q i (that is, the output value) output this time. (S240). Thereafter, the process returns to S160, and a homework signal including the homework number Q i set in S240 is generated and output.

なお、S230での判定の結果、異常回数Tcが規定値Thc以上であれば(S230:YES)、推定異常状態であるものと判定して、電子制御システム5の再起動に備えた準備を実行した後に、リセット信号reを出力して電子制御システム5を再起動する異常処理を実行する(S250)。   As a result of the determination in S230, if the number of abnormal times Tc is equal to or greater than the specified value Thc (S230: YES), it is determined that the estimated abnormal state is present, and preparations for restarting the electronic control system 5 are executed. After that, an abnormal process for outputting the reset signal re and restarting the electronic control system 5 is executed (S250).

なお、本実施形態で言う「電子制御システム5の再起動」のうち、制御処理装置10に対する「再起動」は、制御処理装置10への電力供給を遮断した後に再度起動することである。一方、監視装置40に対する「再起動」は、監視装置40を初期状態へと戻すことでも良いし、監視装置40への電力供給を遮断した後に再度起動することでも良い。   Of the “reactivation of the electronic control system 5” referred to in the present embodiment, the “reactivation” for the control processing device 10 is to restart after the power supply to the control processing device 10 is cut off. On the other hand, the “restart” for the monitoring device 40 may be to return the monitoring device 40 to the initial state, or may be started again after the power supply to the monitoring device 40 is cut off.

そして、本実施形態の異常処理では、再起動に備えた準備として、今サイクルのS160にて出力した宿題信号に含まれる宿題番号Qi及び異常回数Tcが記憶されたレジスタ46に対し、監視装置40が再起動されても(または初期状態へと戻されても)記憶内容を保持する記憶保持処理が実行される。これにより、宿題番号Qi及び異常回数Tcは、電子制御システム5への電力供給が遮断されても、その値が保持される。 In the abnormality processing of this embodiment, as a preparation for restarting, a monitoring device is used for the register 46 in which the homework number Q i and the number of abnormal times Tc included in the homework signal output in S160 of the current cycle are stored. Even if 40 is restarted (or returned to the initial state), a memory holding process for holding the memory contents is executed. Thereby, even if the power supply to the electronic control system 5 is interrupted, the values of the homework number Q i and the number of abnormal times Tc are maintained.

その後、電子制御システム5が再起動されると、監視装置40は、監視処理を起動して、S110からの各ステップを再度実行する。なお、監視装置40に対する「再起動」が監視装置40を初期状態へと戻すことである場合、監視処理を2回目以降に起動するタイミングは、監視装置40が初期状態へと戻される毎であっても良い。   Thereafter, when the electronic control system 5 is restarted, the monitoring device 40 starts the monitoring process and executes each step from S110 again. When the “restart” for the monitoring device 40 is to return the monitoring device 40 to the initial state, the timing of starting the monitoring process after the second time is every time the monitoring device 40 is returned to the initial state. May be.

なお、本実施形態の異常処理では、同一の宿題番号Qiに対する回答番号Aiに起因して推定異常状態であるものとの判定が、予め設定された設定回数連続していれば、異常確定状態であるものと判定して、リセット信号reの出力を保持し続ける(即ち、継続する)。これにより、制御処理装置10が動作することを禁止する。 In the abnormality processing of the present embodiment, the determination of what is estimated abnormal state due to the answer number A i for the same assignment number Q i, if the consecutive predetermined number of times set in advance, the abnormality confirmation The state is determined to be in a state, and the output of the reset signal re is continuously held (that is, continued). This prohibits the control processing device 10 from operating.

つまり、本実施形態の監視処理では、制御処理装置10からの回答番号Aiが正答であれば、異常回数Tcをインクリメントすること無く維持し、回答番号Aiが誤答であれば、異常回数Tcをインクリメントする。そして、同一の宿題番号Qiに対する誤答が続き、異常回数Tcが規定値Thc以上となると、推定異常状態と判定して、監視装置40及び制御処理装置10を含む電子制御システム1を再起動する。 That is, in the monitoring process of the present embodiment, if the answer number A i from the control processing device 10 is a correct answer, the abnormality number Tc is maintained without being incremented, and if the answer number A i is an incorrect answer, the number of abnormalities is maintained. Increment Tc. If the wrong answer to the same homework number Q i continues and the number of abnormal times Tc becomes equal to or greater than the specified value Thc, it is determined as an estimated abnormal state and the electronic control system 1 including the monitoring device 40 and the control processing device 10 is restarted To do.

なお、本実施形態の監視装置40からの宿題番号Qiは、通常、初期値(i=1)から最高値(i=max)までを、予め規定された規定順序で変更しながら出力されるが、推定異常状態と判定されて再起動されると、前回値Qiから出力を再開する。そして、監視装置40では、同一の宿題番号Qiに対する回答番号Aiが設定回数連続して誤答であれば、異常確定状態であるものと判定して、リセット信号reの出力を保持する。
[第二実施形態の効果]
以上説明したように、本実施形態の電子制御システム5によれば、第一実施形態の電子制御システム1と同様、初期値から起因宿題番号の一つ前までの宿題番号Qiが再度出力されることを防止できる。これにより、電子制御システム5によれば、推定異常状態と再度判定するまでに要する処理量を削減することができ、ひいては、推定異常状態と再度判定するまでに要する時間長を短縮することができる。さらに言えば、異常確定状態と判定するまでに要する処理量を削減することができる。
Note that the homework number Q i from the monitoring device 40 of the present embodiment is normally output while changing from an initial value (i = 1) to a maximum value (i = max) in a predetermined order. However, when it is determined that the estimated abnormal state is detected and the system is restarted, the output is restarted from the previous value Q i . Then, the monitoring device 40, if the wrong answer answer number A i is the set number continuously to the same assignment number Q i, and determines that an abnormal determined state, holds the output of the reset signal re.
[Effects of Second Embodiment]
As described above, according to the electronic control system 5 of the present embodiment, as in the electronic control system 1 of the first embodiment, the homework number Q i from the initial value to the previous homework number is output again. Can be prevented. Thereby, according to the electronic control system 5, it is possible to reduce the amount of processing required to re-determine the estimated abnormal state, and to shorten the length of time required to re-determine the estimated abnormal state. . Furthermore, it is possible to reduce the processing amount required to determine that the abnormality is confirmed.

特に、本実施形態の電子制御システム5では、監視装置40が、汎用のマクロコンピュータによって構成されているため、プログラムに処理手順を追加したり、プログラムに定められた処理手順を変更したりすることで、監視装置40の構成を容易に変更することができる。
[第二実施形態と特許請求の範囲との対応関係]
本実施形態で用いた用語と、特許請求の範囲にて用いた用語との対応関係を説明する。
In particular, in the electronic control system 5 of the present embodiment, the monitoring device 40 is configured by a general-purpose macro computer, so that a processing procedure is added to the program or a processing procedure defined in the program is changed. Thus, the configuration of the monitoring device 40 can be easily changed.
[Correspondence between Second Embodiment and Claims]
The correspondence between terms used in the present embodiment and terms used in the claims will be described.

本実施形態の監視処理におけるS160が、本発明の宿題出力手段に相当し、監視処理におけるS180が、本発明の正誤判定手段に相当し、監視処理におけるS190,S200,及びS240が、本発明の宿題更新手段に相当する。さらに、監視処理におけるS230及びS250が、本発明のリセット手段に相当し、監視処理におけるS140が、本発明の番号再設定手段に相当する。なお、監視処理におけるS250は、本発明の動作禁止手段にも相当する。
[その他の実施形態]
以上、本発明の実施形態について説明したが、本発明は上記実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において、様々な態様にて実施することが可能である。
S160 in the monitoring process of the present embodiment corresponds to homework output means of the present invention, S180 in the monitoring process corresponds to correctness determination means of the present invention, and S190, S200, and S240 in the monitoring process correspond to the present invention. It corresponds to homework update means. Further, S230 and S250 in the monitoring process correspond to the reset unit of the present invention, and S140 in the monitoring process corresponds to the number resetting unit of the present invention. Note that S250 in the monitoring process also corresponds to the operation prohibiting means of the present invention.
[Other Embodiments]
As mentioned above, although embodiment of this invention was described, this invention is not limited to the said embodiment, In the range which does not deviate from the summary of this invention, it is possible to implement in various aspects.

例えば、第一実施形態の電子制御システム1の監視装置20には、制御処理装置10に対して宿題信号の出力を開始する前に、監視装置20自身の動作状態を診断する自己診断部が設けられていても良い。このような自己診断部は、監視装置20を構成する各部に対して、動作確認に必要な信号を出力するように構成されていることが好ましい。   For example, the monitoring device 20 of the electronic control system 1 of the first embodiment is provided with a self-diagnosis unit that diagnoses the operating state of the monitoring device 20 itself before starting to output homework signals to the control processing device 10. It may be done. Such a self-diagnosis unit is preferably configured to output signals necessary for operation confirmation to each unit constituting the monitoring device 20.

第二実施形態の電子制御システム5の変形例として、図5に示す電子制御システム50が考えられる。この電子制御システム50は、例えば、少なくとも2つのプロセッサコア55A,Bを備えた中央演算処理装置として構成され、一方のプロセッサコア55Aが制御処理装置10として機能し、他方のプロセッサコア55Bが監視装置40として機能するように構成されていることが好ましい。   As a modification of the electronic control system 5 of the second embodiment, an electronic control system 50 shown in FIG. 5 can be considered. The electronic control system 50 is configured as, for example, a central processing unit including at least two processor cores 55A and 55B. One processor core 55A functions as the control processing device 10, and the other processor core 55B is a monitoring device. It is preferably configured to function as 40.

ただし、このような電子制御システム50におけるプロセッサコア55A,Bは、処理プログラムを記憶する記憶部56A,Bと、記憶部56A,Bに記憶された処理プログラムを読み出して解読する制御部58A,Bと、制御部58A,Bで解読した処理プログラムに従って各種演算を行う演算部59A,Bと、処理プログラムの実行途中に生じた情報を格納するレジスタ57A,Bとを少なくとも備えている必要がある。   However, the processor cores 55A and B in such an electronic control system 50 include storage units 56A and B that store processing programs, and control units 58A and B that read and decode the processing programs stored in the storage units 56A and 56B. In addition, it is necessary to include at least arithmetic units 59A and B that perform various arithmetic operations according to the processing program decoded by the control units 58A and B, and registers 57A and B that store information generated during the execution of the processing program.

さらに、プロセッサコア55Bは、第二実施形態で説明した監視処理を実行する必要がある。この場合、プロセッサコア55Bが実行する監視処理における異常処理では、宿題番号Qi及び異常回数Tcが記憶されたレジスタ57Bに対して、プロセッサコア55Bが再起動されても(または初期状態へと戻されても)記憶内容を保持する記憶保持処理が実行される必要がある。 Furthermore, the processor core 55B needs to execute the monitoring process described in the second embodiment. In this case, in the abnormal processing in the monitoring processing executed by the processor core 55B, even if the processor core 55B is restarted (or returned to the initial state) with respect to the register 57B in which the homework number Q i and the number of abnormal times Tc are stored. A memory holding process for holding the memory contents needs to be executed.

なお、電子制御システム50においては、プロセッサコア55A,Bそれぞれに、記憶部56A,Bが設けられていなくとも良く、電子制御システム50に1つの記憶部56が設けられていても良い。   In the electronic control system 50, the storage units 56 </ b> A and B may not be provided in the processor cores 55 </ b> A and B, respectively, and one storage unit 56 may be provided in the electronic control system 50.

さらに、第二実施形態の電子制御システム5に関する他の変形例として、図6に示す電子制御システム80が考えられる。この電子制御システム80は、例えば、少なくとも2つの電子制御ユニット(いわゆるECU(electronic control unit))60,70を備え、一方の電子制御ユニット60が制御処理装置10として機能し、他方の電子制御ユニット70が監視装置40として機能するように構成されていることが好ましい。   Furthermore, as another modification example regarding the electronic control system 5 of the second embodiment, an electronic control system 80 shown in FIG. 6 can be considered. The electronic control system 80 includes, for example, at least two electronic control units (so-called ECUs (Electronic Control Units)) 60 and 70, and one electronic control unit 60 functions as the control processing device 10, and the other electronic control unit. 70 is preferably configured to function as the monitoring device 40.

ただし、このような電子制御システム80における電子制御ユニット60,70は、処理プログラムやデータを記憶する記憶部62,72と、記憶部62,72に記憶された処理プログラムに基づく処理を実行する処理部65,75と、これらを接続するバス(図示略)とを少なくとも備えている必要がある。そして、処理部65,75は、処理プログラムを読み出して解読する制御部63,73と、制御部63,73で解読した処理プログラムに従って各種演算を行う演算部64,74と、処理プログラムの実行途中に生じた情報を保持するレジスタ66,76とを有していることが好ましい。なお、記憶部62,72は、記憶内容を書き換え可能な不揮発性の記憶装置として構成されていても良いし、記憶内容を書き換え可能な揮発性の記憶装置として構成されていても良い。   However, the electronic control units 60 and 70 in such an electronic control system 80 have storage units 62 and 72 that store processing programs and data, and processing that executes processing based on the processing programs stored in the storage units 62 and 72. It is necessary to include at least the parts 65 and 75 and a bus (not shown) for connecting them. And the process parts 65 and 75 are the control parts 63 and 73 which read and decode a process program, the calculation parts 64 and 74 which perform various calculations according to the process program decoded by the control parts 63 and 73, and the execution of a process program It is preferable to have registers 66 and 76 for holding information generated in the above. Note that the storage units 62 and 72 may be configured as a nonvolatile storage device capable of rewriting stored contents, or may be configured as a volatile storage device capable of rewriting stored contents.

さらに、処理部75は、第二実施形態で説明した監視処理を実行する必要がある。この場合、処理部75が実行する監視処理における異常処理では、宿題番号Qi及び異常回数Tcが記憶されたレジスタ76に対し、電子制御ユニット70が再起動されても(または初期状態へと戻されても)記憶内容を保持する記憶保持処理を実行する必要がある。 Furthermore, the processing unit 75 needs to execute the monitoring process described in the second embodiment. In this case, in the abnormality process in the monitoring process executed by the processing unit 75, even if the electronic control unit 70 is restarted (or returned to the initial state) with respect to the register 76 in which the homework number Q i and the abnormality number Tc are stored. It is necessary to execute a memory holding process for holding the memory contents.

このように監視処理を実行する電子制御ユニット60,70は、動作状態を監視するモードを備えており、そのモードに切り替えられた後に、処理部75が監視処理を実行することが好ましい。   Thus, it is preferable that the electronic control units 60 and 70 that execute the monitoring process have a mode for monitoring the operation state, and the processing unit 75 executes the monitoring process after switching to the mode.

ところで、上記第二実施形態では、推定異常状態と判定された後に、監視装置40が再出力する宿題番号Qを前回値Qiとするために、推定異常状態となると、宿題番号Qi及び異常回数Tcが記憶されたレジスタ46に対して記憶保持処理を実行していた。しかしながら、推定異常状態と判定された後に、監視装置40が再出力する宿題番号Qを前回値Qiとする方法は、これに限るものではなく、例えば、推定異常状態となると、宿題番号Qi及び異常回数Tcを、記憶部42に記憶しても良い。 By the way, in the second embodiment, since the homework number Q re-outputted by the monitoring device 40 after the determination of the estimated abnormal state is set to the previous value Q i , the homework number Q i and the abnormal The storage holding process was executed for the register 46 in which the number of times Tc was stored. However, the method of setting the homework number Q re-outputted by the monitoring apparatus 40 after the determination of the estimated abnormal state as the previous value Q i is not limited to this. For example, when the estimated abnormal state occurs, the homework number Q i The abnormality count Tc may be stored in the storage unit 42.

なお、第二実施形態における監視処理では、同一の宿題番号Qiに対する制御処理装置10からの回答番号Aiが、規定値Thc以上連続して誤答であることを、異常処理(即ち、S250)を実行する条件としていたが、異常処理を実行する条件は、これに限るものではない。例えば、宿題番号Qiに対して、制御処理装置10からの回答番号Aiが規定時間以上未返答であることを、異常処理を実行する条件としても良い。 In the monitoring process according to the second embodiment, it is determined that the answer number A i from the control processing device 10 for the same homework number Q i is an erroneous answer continuously over the specified value Thc (ie, S250). However, the condition for executing the abnormal process is not limited to this. For example, the condition that the answer number A i from the control processing device 10 has not been answered for a predetermined time or more with respect to the homework number Q i may be set as a condition for executing the abnormality process.

1,5,50,80…電子制御システム 10…制御処理装置 11…ROM 12…RAM 15…CPU 16…制御部 17…演算部 20…監視装置 31…シリアル通信部 32…回答信号解析部 33…正誤判定部 34…宿題番号カウンタ 35…記憶領域 36…正答番号生成部 37…誤答回数カウンタ 38…更新計測タイマ 39…リセット生成部 40…監視装置 42…記憶部 45…制御部 46…レジスタ 55A,B…プロセッサコア 56A,B…記憶部 57A,B…レジスタ 58A,B…制御部 59A,B…演算部 60,70…電子制御ユニット 62,72…記憶部 63,73…制御部 64,74…演算部 65,75…処理部 66,76…レジスタ   DESCRIPTION OF SYMBOLS 1, 5, 50, 80 ... Electronic control system 10 ... Control processing apparatus 11 ... ROM 12 ... RAM 15 ... CPU 16 ... Control part 17 ... Calculation part 20 ... Monitoring apparatus 31 ... Serial communication part 32 ... Reply signal analysis part 33 ... Correct / incorrect determination unit 34 ... homework number counter 35 ... storage area 36 ... correct answer number generation unit 37 ... incorrect answer number counter 38 ... update measurement timer 39 ... reset generation unit 40 ... monitoring device 42 ... storage unit 45 ... control unit 46 ... register 55A , B ... processor core 56A, B ... storage unit 57A, B ... register 58A, B ... control unit 59A, B ... calculation unit 60, 70 ... electronic control unit 62, 72 ... storage unit 63, 73 ... control unit 64, 74 ... Calculation unit 65,75 ... Processing unit 66,76 ... Register

Claims (7)

演算内容が予め対応付けられた宿題番号を取得すると、その取得した宿題番号に対応する演算を実行する演算実行手順、及び前記演算実行手順での演算結果を表す回答番号を生成して出力する回答出力手順とを実行する制御処理装置との間で送受信した前記宿題番号及び前記回答番号に基づき前記制御処理装置の状態を監視する監視装置であって、
設定された前記宿題番号を出力する宿題出力手段と、
前記宿題出力手段で出力した宿題番号に対して用意された答えに基づいて、前記制御処理装置からの回答番号の正誤を判定する正誤判定手段と、
前記正誤判定手段での判定の結果、前記回答番号が正答であれば、前記宿題番号を、先に出力したものとは異なる宿題番号へと、予め規定された順序に従って変更して設定し、前記回答番号が誤答であれば、前記宿題番号を、先に出力した宿題番号に維持して設定する宿題更新手段と、
前記正誤判定手段での判定の結果、同一の宿題番号に対する回答番号が、予め規定された規定回数連続して誤答である推定異常状態であれば、該誤答に対応する宿題番号を、再起動されても記憶内容を保持する記憶部に格納すると共に、前記制御処理装置及び当該監視装置を再起動するリセット信号を出力するリセット手段と、
前記リセット手段にてリセット信号が出力され、前記制御処理装置及び当該監視装置が再起動されると、前記記憶部に格納された宿題番号を設定して、前記宿題出力手段に出力させる番号再設定手段と
を備えることを特徴とする監視装置。
When the homework number associated with the operation content is acquired in advance, the operation execution procedure for executing the operation corresponding to the acquired homework number, and the answer for generating and outputting the answer number indicating the operation result in the operation execution procedure A monitoring device that monitors the status of the control processing device based on the homework number and the answer number transmitted to and received from the control processing device that executes the output procedure,
Homework output means for outputting the set homework number;
Based on the answer prepared for the homework number output by the homework output means, correctness determination means for determining the correctness of the answer number from the control processing device,
As a result of the determination by the correctness determination means, if the answer number is a correct answer, the homework number is changed and set to a homework number different from that previously output according to a predetermined order, If the answer number is an incorrect answer, the homework update means for maintaining and setting the homework number to the homework number output earlier;
As a result of the determination by the correctness / incorrectness determination means, if the answer number for the same homework number is an estimated abnormal state that is an erroneous answer continuously for a predetermined number of times, the homework number corresponding to the incorrect answer is A reset unit that stores a stored content even when activated, and outputs a reset signal for restarting the control processing device and the monitoring device;
When the reset signal is output by the reset means and the control processing device and the monitoring device are restarted, the homework number stored in the storage unit is set, and the number is reset to be output to the homework output means And a monitoring device.
前記リセット手段は、
前記宿題出力手段にて出力した宿題番号に対応する回答番号を、該宿題番号を出力してから、予め規定された規定時間以上未取得であれば、前記推定異常状態であるものとすることを特徴とする請求項1に記載の監視装置。
The reset means includes
If the answer number corresponding to the homework number output by the homework output means is not acquired for a predetermined time or more after the homework number is output, the estimated abnormal state is assumed. The monitoring device according to claim 1, characterized in that:
同一の宿題番号への各回答番号に対する前記正誤判定手段での判定の結果、予め設定された設定回数連続して前記推定異常状態となると、前記リセット手段による前記リセット信号の出力を継続させる動作禁止手段
を備えることを特徴とする請求項1または請求項2に記載の監視装置。
As a result of determination by the correct / incorrect determination means for each answer number to the same homework number, when the estimated abnormal state is continuously set a predetermined number of times, the operation of prohibiting the reset means from continuing to output the reset signal is prohibited. The monitoring apparatus according to claim 1, further comprising: means.
請求項1から請求項3のいずれか一項に記載の監視装置と、
前記制御処理装置と
を備えることを特徴とする電子制御システム。
The monitoring device according to any one of claims 1 to 3,
An electronic control system comprising the control processing device.
前記制御処理装置、及び前記監視装置は、それぞれ、
プログラムに定められた処理手順に従って処理を実行するコンピュータであることを特徴とする請求項4に記載の電子制御システム。
The control processing device and the monitoring device are respectively
The electronic control system according to claim 4, wherein the electronic control system is a computer that executes processing according to a processing procedure defined in a program.
前記制御処理装置、及び前記監視装置は、それぞれ、
一つの中央演算処理装置に設けられた互いに異なるプロセッサコアであることを特徴とする請求項4に記載の電子制御システム。
The control processing device and the monitoring device are respectively
The electronic control system according to claim 4, wherein the processor cores are different from each other provided in one central processing unit.
前記制御処理装置、及び前記監視装置は、それぞれ、
自動車に搭載され、かつ自動車に設けられる機器を制御する電子制御ユニットであることを特徴とする請求項4に記載の電子制御システム。
The control processing device and the monitoring device are respectively
The electronic control system according to claim 4, wherein the electronic control system is an electronic control unit that is mounted on an automobile and controls equipment provided in the automobile.
JP2010219409A 2010-09-29 2010-09-29 Monitoring device and electronic control system Active JP5683191B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2010219409A JP5683191B2 (en) 2010-09-29 2010-09-29 Monitoring device and electronic control system
DE201110083655 DE102011083655A1 (en) 2010-09-29 2011-09-28 Monitoring device of electronic control system for controlling electric motor, determines error event origin task number on detecting incorrect response number and restarts system operation from error event origin task number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010219409A JP5683191B2 (en) 2010-09-29 2010-09-29 Monitoring device and electronic control system

Publications (2)

Publication Number Publication Date
JP2012073900A true JP2012073900A (en) 2012-04-12
JP5683191B2 JP5683191B2 (en) 2015-03-11

Family

ID=45804883

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010219409A Active JP5683191B2 (en) 2010-09-29 2010-09-29 Monitoring device and electronic control system

Country Status (2)

Country Link
JP (1) JP5683191B2 (en)
DE (1) DE102011083655A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015093559A (en) * 2013-11-12 2015-05-18 日立オートモティブシステムズ株式会社 Onboard device
KR20190029995A (en) * 2017-09-13 2019-03-21 현대자동차주식회사 Apparatus and method for enhancing reliability of watchdog timer controlling central processing unit for use in vehicle
CN114427738A (en) * 2022-01-18 2022-05-03 海信(山东)空调有限公司 Motor control method, air conditioner and computer storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01312638A (en) * 1988-06-13 1989-12-18 Fuji Electric Co Ltd Retry controller for abnormality supervisory of micro processor
JPH0553852A (en) * 1991-08-28 1993-03-05 Matsushita Electric Ind Co Ltd Testing device
JP2000293408A (en) * 1999-04-08 2000-10-20 Meidensha Corp Reset counting process system for process system
JP2004086451A (en) * 2002-08-26 2004-03-18 Matsushita Electric Ind Co Ltd Semiconductor integrated circuit
JP2004259137A (en) * 2003-02-27 2004-09-16 Denso Corp Electronic control device
JP2007028118A (en) * 2005-07-15 2007-02-01 Hitachi Ltd Failure judging method of node device
JP2009252104A (en) * 2008-04-09 2009-10-29 Denso Corp Monitoring device and electronic control device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01312638A (en) * 1988-06-13 1989-12-18 Fuji Electric Co Ltd Retry controller for abnormality supervisory of micro processor
JPH0553852A (en) * 1991-08-28 1993-03-05 Matsushita Electric Ind Co Ltd Testing device
JP2000293408A (en) * 1999-04-08 2000-10-20 Meidensha Corp Reset counting process system for process system
JP2004086451A (en) * 2002-08-26 2004-03-18 Matsushita Electric Ind Co Ltd Semiconductor integrated circuit
JP2004259137A (en) * 2003-02-27 2004-09-16 Denso Corp Electronic control device
JP2007028118A (en) * 2005-07-15 2007-02-01 Hitachi Ltd Failure judging method of node device
JP2009252104A (en) * 2008-04-09 2009-10-29 Denso Corp Monitoring device and electronic control device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015093559A (en) * 2013-11-12 2015-05-18 日立オートモティブシステムズ株式会社 Onboard device
KR20190029995A (en) * 2017-09-13 2019-03-21 현대자동차주식회사 Apparatus and method for enhancing reliability of watchdog timer controlling central processing unit for use in vehicle
KR102355424B1 (en) 2017-09-13 2022-01-26 현대자동차주식회사 Apparatus and method for enhancing reliability of watchdog timer controlling central processing unit for use in vehicle
CN114427738A (en) * 2022-01-18 2022-05-03 海信(山东)空调有限公司 Motor control method, air conditioner and computer storage medium

Also Published As

Publication number Publication date
DE102011083655A1 (en) 2012-03-29
JP5683191B2 (en) 2015-03-11

Similar Documents

Publication Publication Date Title
JP6754743B2 (en) In-vehicle electronic control unit and its abnormal processing method
WO2014091666A1 (en) Onboard electronic control device
US9690269B2 (en) Controller and process monitoring method including monitoring of process execution sequence
JP2010285001A (en) Electronic control system and functional agency method
JP2018132957A (en) Control unit and control program updating method
JP5683191B2 (en) Monitoring device and electronic control system
CN108427564B (en) Controller and control program update method
US7428660B2 (en) Starting control method, duplex platform system, and information processor
JP5582748B2 (en) Electronic control device for vehicle
JP2008055980A (en) Electronic control device for automobile
JP5960632B2 (en) Electronic control device for vehicle
JP2006259935A (en) Computation device with computation abnormality determination function
JP5533777B2 (en) Program group
JP6380141B2 (en) Electronic control unit
WO2019064644A1 (en) Electronic control device and control program verification method
JP2002149437A (en) Method for restarting software
US20130055017A1 (en) Device and method for restoring information in a main storage unit
US10514970B2 (en) Method of ensuring operation of calculator
JP6344036B2 (en) Information processing apparatus for vehicle
JP2002108724A (en) Data checking method for rom
JP6660902B2 (en) Automotive electronic control unit
JP2020035503A (en) Automobile electronic control device
JP7189839B2 (en) electronic controller
JP4800280B2 (en) Electronic control unit
JP2007226527A (en) Controller and watchdog timer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120307

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130717

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130730

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20131022

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150113

R150 Certificate of patent or registration of utility model

Ref document number: 5683191

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

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