JP2011134025A - Processor and control method - Google Patents

Processor and control method Download PDF

Info

Publication number
JP2011134025A
JP2011134025A JP2009291585A JP2009291585A JP2011134025A JP 2011134025 A JP2011134025 A JP 2011134025A JP 2009291585 A JP2009291585 A JP 2009291585A JP 2009291585 A JP2009291585 A JP 2009291585A JP 2011134025 A JP2011134025 A JP 2011134025A
Authority
JP
Japan
Prior art keywords
signal
output
processing
processing unit
unit
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
JP2009291585A
Other languages
Japanese (ja)
Other versions
JP5392058B2 (en
Inventor
Tetsuya Taguchi
哲也 田口
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.)
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sumitomo Wiring Systems Ltd, AutoNetworks Technologies Ltd, Sumitomo Electric Industries Ltd filed Critical Sumitomo Wiring Systems Ltd
Priority to JP2009291585A priority Critical patent/JP5392058B2/en
Publication of JP2011134025A publication Critical patent/JP2011134025A/en
Application granted granted Critical
Publication of JP5392058B2 publication Critical patent/JP5392058B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Safety Devices In Control Systems (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a processor and a control method for, when a main operation part fails, seamlessly selecting another processing part to control a control target while ensuring safety. <P>SOLUTION: When a CPU 20 of a main microcomputer 2 executes a program stored in a memory 21, an output value to be output from the CPU 20 is successively stored in a memory 31 of a sub-microcomputer 3. A monitoring circuit 32 of the sub-microcomputer 3 determines whether the CPU 20 is in normal operation or not, based on a reception cycle of a WD pulse to be successively output from the CPU 20, and when determining that the CPU 20 fails, outputs a reset signal to the CPU 20 of the main microcomputer 2. A CPU 30 of the sub-microcomputer 3 sets the self-output terminal to an output port, and outputs a value stored in the memory 31, and output from the main microcomputer 2 just before the CPU 20 fails, to a driving circuit 4. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、CPU(Central Processing Unit)を用いる処理装置に関し、特に、CPUの動作状態に異常が発生した場合に外部へ出力する信号を制御することができる処理装置及び制御方法に関する。   The present invention relates to a processing apparatus using a CPU (Central Processing Unit), and more particularly to a processing apparatus and a control method capable of controlling a signal output to the outside when an abnormality occurs in the operation state of the CPU.

内蔵する記憶部に記憶されたプログラムを実行させて多様な動作を実現させることができるマイクロコンピュータ(以下、マイコンという)を用いて、機器を制御する制御装置が多用されている。特に車両の分野では、マイコンを用いるECU(Electronic Control Unit)が複数接続される制御システムを利用し、相互に連携してアクチュエータを電気的に制御する構成へ移行しつつある。例えば、パワーウインドの開閉制御、盗難防止のためのハンドルロックの制御などは、モータ及びリレーを組み合わせ、モータの回転制御にて行なわれており、CPUがモータ及びリレーの制御を行なっている。   2. Description of the Related Art Control devices that control devices using a microcomputer (hereinafter referred to as a microcomputer) that can execute various programs by executing a program stored in a built-in storage unit are widely used. Particularly in the field of vehicles, a control system in which a plurality of ECUs (Electronic Control Units) using microcomputers are connected is being used to shift to a configuration in which actuators are electrically controlled in cooperation with each other. For example, power window opening / closing control, handle lock control for theft prevention, etc. are performed by combining motors and relays and motor rotation control, and the CPU controls the motors and relays.

マイコンを用いた処理では、処理が予期していない状況となった場合、又は異常な信号がマイコンに入力された場合などに、マイコンが正常な動作を維持することができなくなる場合がある。車両の分野では、異常な動作が継続することは安全のためにもできるだけ回避できなければならない。このため、マイコンから周期的にウォッチドッグパルス(以下、WD(Watch Dog)パルス)が出力されるようにし、マイコンの動作を監視する監視装置にて当該ウォッチドッグパルスを監視し、WDパルスの出力状態に基づいてマイコンの動作が正常であるか否かを判断するようにした構成が一般的となりつつある。   In the processing using the microcomputer, the microcomputer may not be able to maintain normal operation when the processing becomes an unexpected situation or when an abnormal signal is input to the microcomputer. In the field of vehicles, it must be possible to avoid abnormal operation as much as possible for safety. For this reason, a watchdog pulse (hereinafter referred to as a WD (Watch Dog) pulse) is periodically output from the microcomputer, the watchdog pulse is monitored by a monitoring device that monitors the operation of the microcomputer, and the WD pulse is output. A configuration in which it is determined whether or not the operation of the microcomputer is normal based on the state is becoming common.

また、特許文献1には、メインマイコン及びサブマイコンを用い、サブマイコンがメインマイコンからのWDパルスにてメインマイコンの動作を監視し、メインマイコンの動作に異常が生じた場合に、サブマイコンによる制御に切り替える技術が提案されている。   In Patent Document 1, a main microcomputer and a sub microcomputer are used. The sub microcomputer monitors the operation of the main microcomputer with a WD pulse from the main microcomputer, and when an abnormality occurs in the operation of the main microcomputer, the sub microcomputer Techniques for switching to control have been proposed.

特許第3817855号公報Japanese Patent No. 3817855

しかしながら、特許文献1に開示されている技術では、メインマイコンの動作に異常が生じ、メインマイコンによる制御からサブマイコンによる制御に切り替わる際に、サブマイコンは予め設定されたフェイルセーフ値を制御対象に出力する構成である。即ち、サブマイコンは、メインマイコンの動作に異常が生じる直前におけるメインマイコンの動作状態を考慮せずに予め設定されたフェイルセーフ値を出力するので、メインマイコンに異常が生じた状況に応じた出力値を出力させることはできない。従って、メインマイコンに異常が生じる直前のメインマイコンからの出力値とフェイルセーフ値とが相異する場合、メインマイコンによる制御からサブマイコンによる制御への切り替えをシームレスに行なえない状況が生じる。また、フェイルセーフ値を出力しておくことが必ずしも好ましいとは限らない。できれば異常が発生した時点の直前での制御状態が維持されることが望ましい場合がある。しかしながら、特許文献1に開示されている技術では、サブマイコンがフェイルセーフ値に基づいて制御対象を制御するので、適切な制御を行なえない可能性がある。   However, in the technique disclosed in Patent Document 1, when the operation of the main microcomputer is abnormal and the control by the main microcomputer is switched to the control by the sub microcomputer, the sub microcomputer sets the fail-safe value set in advance as a control target. It is the structure which outputs. In other words, the sub-microcomputer outputs a fail-safe value set in advance without considering the operation state of the main microcomputer immediately before the operation of the main microcomputer occurs. The value cannot be output. Therefore, when the output value from the main microcomputer immediately before the abnormality occurs in the main microcomputer and the fail safe value are different, there is a situation in which switching from the control by the main microcomputer to the control by the sub microcomputer cannot be performed seamlessly. Moreover, it is not always preferable to output the fail safe value. If possible, it may be desirable to maintain the control state immediately before the point of occurrence of the abnormality. However, in the technique disclosed in Patent Document 1, since the sub-microcomputer controls the control target based on the fail safe value, there is a possibility that appropriate control cannot be performed.

本発明は斯かる事情に鑑みてなされたものであり、その目的とするところは、メインで動作する処理部の動作に異常が発生した場合に、安全性を確保しつつ、異なる処理部による制御対象の制御への切り替えをシームレスに行なうことができる処理装置及び制御方法を提供することにある。   The present invention has been made in view of such circumstances, and an object of the present invention is to control by different processing units while ensuring safety when an abnormality occurs in the operation of the main processing unit. It is an object of the present invention to provide a processing apparatus and a control method capable of seamlessly switching to target control.

本発明に係る処理装置は、信号処理を実行する複数の処理部と、一の処理部から周期的に出力される信号に基づいて前記一の処理部の動作の異常を検出する異常検出部とを備える処理装置において、前記一の処理部が信号処理を実行することによって出力する信号を保持する保持部と、前記異常検出部が前記一の処理部の動作の異常を検出した場合に、前記一の処理部が信号処理を実行することによる信号の出力を停止させる出力停止部とを備え、他の処理部は、前記出力停止部が前記一の処理部からの信号の出力を停止させた場合に、前記異常検出部が前記一の処理部の動作の異常を検出する前に前記保持部が保持していた信号を外部へ出力するようにしてあることを特徴とする。   The processing apparatus according to the present invention includes a plurality of processing units that perform signal processing, an abnormality detection unit that detects an abnormality in the operation of the one processing unit based on a signal periodically output from the one processing unit, In the processing apparatus comprising: a holding unit that holds a signal output when the one processing unit executes signal processing; and the abnormality detection unit detects an abnormality in the operation of the one processing unit, An output stop unit that stops output of a signal when one processing unit executes signal processing, and the other processing unit stops output of a signal from the one processing unit. In this case, a signal held by the holding unit before the abnormality detecting unit detects an abnormal operation of the one processing unit is output to the outside.

本発明に係る処理装置は、前記保持部は、前記一の処理部から出力される信号を所定時間に亘って蓄積するようにしてあり、前記他の処理部は、前記異常検出部が前記一の処理部の動作の異常を検出する前の所定時間に亘って前記保持部が蓄積した信号に基づく信号を外部へ出力するようにしてあることを特徴とする。   In the processing apparatus according to the present invention, the holding unit accumulates signals output from the one processing unit over a predetermined time, and the other processing unit includes the abnormality detecting unit. A signal based on the signal accumulated in the holding unit is output to the outside for a predetermined time before detecting an abnormal operation of the processing unit.

本発明に係る処理装置は、複数の制御状態のそれぞれに応じた信号処理を実行する複数の処理部と、一の処理部から周期的に出力される信号に基づいて前記一の処理部の動作の異常を検出する異常検出部とを備える処理装置において、前記一の処理部が実行中の信号処理の制御状態を保持する保持部と、前記異常検出部が前記一の処理部の動作の異常を検出した場合に、前記一の処理部が信号処理を実行することによる信号の出力を停止させる出力停止部とを備え、他の処理部は、前記出力停止部が前記一の処理部からの信号の出力を停止させた場合に、前記異常検出部が前記一の処理部の動作の異常を検出する前に前記保持部が保持していた制御状態に応じた信号処理を実行するようにしてあることを特徴とする。   The processing apparatus according to the present invention includes a plurality of processing units that perform signal processing corresponding to each of a plurality of control states, and an operation of the one processing unit based on a signal periodically output from the one processing unit. A processing unit including an abnormality detection unit that detects an abnormality in the first processing unit, a holding unit that holds a control state of signal processing being performed by the one processing unit, and an abnormality in the operation of the one processing unit. An output stop unit that stops the output of a signal when the one processing unit executes signal processing, and the other processing unit has the output stop unit from the one processing unit. When output of the signal is stopped, the abnormality detection unit executes signal processing corresponding to the control state held by the holding unit before detecting the abnormality of the operation of the one processing unit. It is characterized by being.

本発明に係る処理装置は、前記保持部は、前記一の処理部が実行中の信号処理の制御状態を所定時間に亘って蓄積するようにしてあり、前記他の処理部は、前記異常検出部が前記一の処理部の動作の異常を検出する前の所定時間に亘って前記保持部が蓄積した制御状態に基づく制御状態に応じた信号処理を実行するようにしてあることを特徴とする。   In the processing device according to the present invention, the holding unit accumulates a control state of the signal processing being executed by the one processing unit over a predetermined time, and the other processing unit is configured to detect the abnormality. The signal processing unit is configured to perform signal processing according to a control state based on a control state accumulated by the holding unit over a predetermined time before detecting an abnormality in the operation of the one processing unit. .

本発明に係る制御方法は、信号処理を実行する複数の処理部と、一の処理部から周期的に出力される信号に基づいて前記一の処理部の動作の異常を検出する異常検出部とを備える処理装置で、前記一の処理部が信号処理を実行することによって出力される信号を外部へ出力する際の制御方法において、前記一の処理部が信号処理を実行することによって出力される信号を保持するステップと、前記異常検出部が前記一の処理部の動作の異常を検出した場合に、前記一の処理部が信号処理を実行することによる信号の出力を停止させるステップと、他の処理部が、前記一の処理部からの信号の出力が停止された場合に、前記異常検出部が前記一の処理部の動作の異常を検出する前に保持していた信号を外部へ出力するステップとを含むことを特徴とする。   A control method according to the present invention includes: a plurality of processing units that perform signal processing; an abnormality detection unit that detects an abnormality in the operation of the one processing unit based on a signal periodically output from the one processing unit; In the control method for outputting a signal output by executing the signal processing by the one processing unit to the outside in the processing apparatus, the output is performed by the one processing unit executing the signal processing. A step of holding a signal, a step of stopping output of a signal when the one processing unit executes signal processing when the abnormality detecting unit detects an abnormality in the operation of the one processing unit, and When the output of the signal from the one processing unit is stopped, the processing unit outputs the signal held by the abnormality detection unit before detecting the abnormal operation of the one processing unit to the outside And including a step to To.

本発明に係る制御方法は、複数の制御状態のそれぞれに応じた信号処理を実行する複数の処理部と、一の処理部から周期的に出力される信号に基づいて前記一の処理部の動作の異常を検出する異常検出部とを備える処理装置で、前記一の処理部が信号処理を実行することによって出力される信号を外部へ出力する際の制御方法において、前記一の処理部が実行中の信号処理の制御状態を保持するステップと、前記異常検出部が前記一の処理部の動作の異常を検出した場合に、前記一の処理部が信号処理を実行することによる信号の出力を停止させるステップと、他の処理部が、前記一の処理部からの信号の出力を停止された場合に、前記異常検出部が前記一の処理部の動作の異常を検出する前に保持していた制御状態に応じた信号処理を実行するステップとを含むことを特徴とする。   The control method according to the present invention includes a plurality of processing units that perform signal processing corresponding to each of a plurality of control states, and an operation of the one processing unit based on a signal periodically output from the one processing unit. In the control device when the signal output by the one processing unit executing signal processing is output to the outside, the processing unit includes an abnormality detecting unit that detects an abnormality in the first processing unit. Holding the control state of the signal processing in the middle, and when the abnormality detection unit detects an abnormality in the operation of the one processing unit, the signal output by the one processing unit executing the signal processing is performed. A step of stopping, and when the other processing unit stops outputting the signal from the one processing unit, the abnormality detecting unit holds before detecting an abnormality in the operation of the one processing unit. Signal processing according to the control state Characterized in that it comprises the steps that.

本発明によれば、信号処理を実行する処理部を複数備え、メインで動作する一の処理部が信号処理を実行することによって出力される信号を保持部が保持しておく。そして、一の処理部の動作に異常が生じた場合に、一の処理部からの信号の出力を停止させ、他の処理部が、一の処理部の動作に異常が生じる前に保持部が保持していた信号を出力する。よって、メインで動作する一の処理部の動作に異常が発生した場合に、異常が発生する前の指令状態(一の処理部からの出力信号)が維持されたまま、異なる処理部による制御にシームレスに移行できる。   According to the present invention, a plurality of processing units that perform signal processing are provided, and the holding unit holds a signal that is output when one processing unit that operates mainly performs signal processing. Then, when an abnormality occurs in the operation of one processing unit, the output of the signal from the one processing unit is stopped, and the other processing unit operates before the abnormality occurs in the operation of the one processing unit. The held signal is output. Therefore, when an abnormality occurs in the operation of one processing unit operating in the main, control by a different processing unit is performed while the command state (output signal from one processing unit) before the occurrence of the abnormality is maintained. Seamless transition.

本発明によれば、保持部が、メインで動作する一の処理部から出力される信号を所定時間に亘って蓄積し、一の処理部の動作に異常が発生した場合に、異常が発生する前の所定時間に亘って保持部が蓄積した信号に基づく信号を外部へ出力する。よって、メインで動作する一の処理部の動作に異常が発生した場合に、異常が発生する前に所定時間継続していた指令状態(一の処理部からの出力信号)に基づいて制御対象が制御されるので、安全性を確保しつつ制御対象を制御できる。   According to the present invention, when the holding unit accumulates a signal output from one processing unit operating in the main over a predetermined time and an abnormality occurs in the operation of the one processing unit, an abnormality occurs. A signal based on the signal accumulated in the holding unit over the previous predetermined time is output to the outside. Therefore, when an abnormality occurs in the operation of one processing unit operating in the main, the control target is determined based on the command state (output signal from one processing unit) that has continued for a predetermined time before the abnormality occurs. Since it is controlled, it is possible to control the controlled object while ensuring safety.

本発明によれば、複数の制御状態のそれぞれに応じた信号処理を実行する処理部を複数備え、メインで動作する一の処理部が実行中の信号処理の制御状態を保持部が保持しておく。そして、一の処理部の動作に異常が生じた場合に、一の処理部からの信号の出力を停止させ、他の処理部が、一の処理部の動作に異常が生じる前に保持部が保持していた制御状態に応じた信号処理を実行する。よって、メインで動作する一の処理部の動作に異常が発生した場合に、異常が発生する前の一の処理部の制御状態が保持され、同一の制御状態に基づいて信号処理が行なわれるので、異なる処理部による制御をシームレスに移行できる。   According to the present invention, a plurality of processing units that execute signal processing corresponding to each of a plurality of control states are provided, and the holding unit holds the control state of the signal processing being performed by one processing unit that operates in the main. deep. Then, when an abnormality occurs in the operation of one processing unit, the output of the signal from the one processing unit is stopped, and the other processing unit operates before the abnormality occurs in the operation of the one processing unit. The signal processing according to the control state that has been held is executed. Therefore, when an abnormality occurs in the operation of one processing unit operating in the main, the control state of the one processing unit before the abnormality occurs is retained, and signal processing is performed based on the same control state. The control by different processing units can be seamlessly transferred.

本発明によれば、保持部が、メインで動作する一の処理部が実行中の信号処理の制御状態を所定時間に亘って蓄積し、一の処理部の動作に異常が発生した場合に、異常が発生する前の所定時間に亘って保持部が蓄積した制御状態に基づく制御状態に応じた信号処理を実行する。よって、メインで動作する一の処理部の動作に異常が発生した場合に、異常が発生する前に所定時間継続していた制御状態に応じた信号処理によって制御対象が制御されるので、安全性を確保しつつ制御対象を制御できる。   According to the present invention, when the holding unit accumulates the control state of the signal processing being executed by the one processing unit operating in the main over a predetermined time, and an abnormality occurs in the operation of the one processing unit, The signal processing according to the control state based on the control state accumulated by the holding unit over a predetermined time before the occurrence of abnormality is executed. Therefore, when an abnormality occurs in the operation of one processing unit that operates in the main, the controlled object is controlled by signal processing corresponding to the control state that has continued for a predetermined time before the abnormality occurs, so safety is ensured. The controlled object can be controlled while ensuring the above.

本発明では、メインで動作する一の処理部の動作に異常が発生した場合に、異常が発生する前の指令状態(一の処理部からの出力信号)によって制御対象が制御されるので、安全性を確保しつつ、異なる処理部による制御をシームレスに移行できる。   In the present invention, when an abnormality occurs in the operation of one processing unit operating in the main, the controlled object is controlled by the command state (output signal from one processing unit) before the abnormality occurs. The control by different processing units can be seamlessly transferred while ensuring the performance.

実施の形態1におけるECUの構成を示す構成図である。FIG. 2 is a configuration diagram showing a configuration of an ECU in the first embodiment. ECUの動作を説明するためのタイムチャートである。It is a time chart for demonstrating operation | movement of ECU. 実施の形態1におけるECUのサブマイコンが行なう処理の手順を示すフローチャートである。4 is a flowchart showing a procedure of processing performed by a sub microcomputer of the ECU according to the first embodiment. 実施の形態2におけるECUの構成を示す構成図である。FIG. 6 is a configuration diagram showing a configuration of an ECU in a second embodiment. 制御仕様テーブルの格納内容を示す模式図である。It is a schematic diagram which shows the storage content of a control specification table. 実施の形態2のECUの動作を説明するためのタイムチャートである。6 is a time chart for explaining the operation of the ECU according to the second embodiment. 実施の形態2におけるECUのサブマイコンが行なう処理の手順を示すフローチャートである。6 is a flowchart showing a procedure of processing performed by a sub-microcomputer of the ECU according to the second embodiment.

以下、本発明をその実施の形態を示す図面に基づいて具体的に説明する。以下に示す実施の形態では、本発明に係る処理装置を車両に搭載されるECUに適用する場合を例に説明する。   Hereinafter, the present invention will be specifically described with reference to the drawings showing embodiments thereof. In the embodiment described below, a case where the processing apparatus according to the present invention is applied to an ECU mounted on a vehicle will be described as an example.

(実施の形態1)
図1は、実施の形態1におけるECUの構成を示す構成図である。ECU1は、例えば車両に搭載される車載機器への電源分配、又はバッテリ及びオルタネータにおける充放電の制御処理などを含む信号処理を行なう電源マネージメントECUである。ECU1は、自身に接続されるセンサ、又は各種スイッチなどの機器から取得される測定値、又は計算値、制御値などの各種物理量に基づき、オルタネータなどの制御対象へ制御信号を出力する処理装置である。
(Embodiment 1)
FIG. 1 is a configuration diagram showing the configuration of the ECU according to the first embodiment. The ECU 1 is a power management ECU that performs signal processing including, for example, power distribution to in-vehicle devices mounted on a vehicle or charge / discharge control processing in a battery and an alternator. The ECU 1 is a processing device that outputs a control signal to a control target such as an alternator based on various physical quantities such as a measured value or a calculated value or a control value acquired from a device connected to itself or a device such as various switches. is there.

ECU1は、メインマイコン2、サブマイコン3、駆動回路4などを含む。ECU1のメインマイコン2は、ECU1全体の制御処理を行なうCPU(コア)20、電源マネージメントECUとしての動作を実現するためのプログラムが記憶されるメモリ21などを備える。メインマイコン2のCPU20は、メモリ21に記憶されているプログラムを読み出して実行することにより、電源マネージメントECUとしての動作を実現する。CPU20は、メモリ21に記憶されているプログラムを実行した場合、例えば外部のオルタネータ(制御対象)などに出力すべき信号を駆動回路4を介して出力する。   The ECU 1 includes a main microcomputer 2, a sub microcomputer 3, a drive circuit 4, and the like. The main microcomputer 2 of the ECU 1 includes a CPU (core) 20 that performs control processing of the entire ECU 1, a memory 21 that stores a program for realizing an operation as a power management ECU, and the like. The CPU 20 of the main microcomputer 2 implements an operation as a power management ECU by reading and executing a program stored in the memory 21. When executing a program stored in the memory 21, the CPU 20 outputs a signal to be output to, for example, an external alternator (control target) via the drive circuit 4.

また、CPU20は、リセット(RESET)信号が入力される端子を備え、リセット信号が入力された場合、電源マネージメントECUとして動作している際に信号を出力する出力端子を入力ポートに設定する。即ち、CPU20は、リセット信号が入力された場合、出力端子からの信号の出力を禁止する。更に、CPU20は、予め設定されたウォッチドッグ(WD)パルス出力周期を計測するウォッチドッグ(WD)タイマを内蔵し、自身の動作が正常であることを示すためのWDパルスをWDタイマが計測するWDパルス出力周期毎に生成してサブマイコン3へ出力するようにしてある。   Further, the CPU 20 includes a terminal to which a reset (RESET) signal is input. When the reset signal is input, the CPU 20 sets an output terminal that outputs a signal when operating as a power management ECU as an input port. That is, when the reset signal is input, the CPU 20 prohibits the output of the signal from the output terminal. Further, the CPU 20 has a built-in watchdog (WD) timer for measuring a preset watchdog (WD) pulse output period, and the WD timer measures a WD pulse for indicating that its own operation is normal. It is generated every WD pulse output period and output to the sub-microcomputer 3.

メモリ21は、EEPROM(Electronically Erasable Programmable Read Only Memory)、フラッシュメモリなどであり、電源マネージメントECUとしての動作を実現するためのプログラムと共に、制御用の情報を記憶している。   The memory 21 is an EEPROM (Electronically Erasable Programmable Read Only Memory), a flash memory, or the like, and stores control information together with a program for realizing an operation as a power management ECU.

サブマイコン3は、メインマイコン2と同様に、ECU1全体の制御処理を行なうCPU(コア)30、電源マネージメントECUとしての動作を実現するためのプログラムが記憶されるメモリ31を備え、更に、メインマイコン2(CPU20)の動作を監視する監視回路32を備える。サブマイコン3のCPU30も、メモリ31に記憶されているプログラムを読み出して実行することにより、電源マネージメントECUとしての動作を実現し、例えば外部のオルタネータ(制御対象)に出力すべき信号を駆動回路4を介して出力する。なお、サブマイコン3のCPU30は、後述するように監視回路32がメインマイコン2の動作の異常を検出した場合に動作を開始する。サブマイコン3のCPU30は、動作を開始した場合、自身の出力端子を入力ポートの設定から出力ポートの設定に切り替える。   Similar to the main microcomputer 2, the sub-microcomputer 3 includes a CPU (core) 30 that performs control processing of the ECU 1 as a whole, and a memory 31 that stores a program for realizing an operation as a power management ECU. 2 (CPU 20) is provided. The CPU 30 of the sub-microcomputer 3 also reads out and executes the program stored in the memory 31, thereby realizing an operation as a power management ECU. For example, the drive circuit 4 outputs a signal to be output to an external alternator (control target). Output via. Note that the CPU 30 of the sub-microcomputer 3 starts the operation when the monitoring circuit 32 detects an abnormality in the operation of the main microcomputer 2 as will be described later. When starting the operation, the CPU 30 of the sub-microcomputer 3 switches its output terminal from the input port setting to the output port setting.

監視回路32は、メインマイコン2のCPU20から周期的に出力されるWDパルスを監視する。具体的には、監視回路32は、CPU20からのWDパルスの信号を受け付ける端子を有する回路を含み、当該回路にてWDパルスのエッジの立ち上がりを検出した場合に、WDパルスとして検出する。監視回路32は、CPU20から周期的に出力されるべきWDパルスを監視し、WDパルスを直近で検出してからの経過時間を測定し、所定の周期(予め設定されているWDパルス出力周期)でWDパルスを受信している場合には、CPU20は正常と判断する。一方、監視回路32は、WDパルスを直近で検出してからの経過時間が、WDパルス出力周期よりも長い経過時間となった場合には、CPU20は異常と判断する。   The monitoring circuit 32 monitors WD pulses periodically output from the CPU 20 of the main microcomputer 2. Specifically, the monitoring circuit 32 includes a circuit having a terminal for receiving a WD pulse signal from the CPU 20, and detects the rising edge of the WD pulse as the WD pulse in the circuit. The monitoring circuit 32 monitors a WD pulse to be periodically output from the CPU 20, measures an elapsed time since the most recent detection of the WD pulse, and has a predetermined cycle (a preset WD pulse output cycle). When the WD pulse is received, the CPU 20 determines that it is normal. On the other hand, when the elapsed time since the most recent detection of the WD pulse is longer than the WD pulse output cycle, the monitoring circuit 32 determines that the CPU 20 is abnormal.

詳細には、監視回路32は、WDパルスを直近で検出してから、WDパルス出力周期を経過してもWDパルスを受信できない場合に、CPU20にて異常が発生していると判断する。監視回路32は、CPU20に異常が発生していると判断した場合、CPU30に動作を開始するように指示し、リセット信号をCPU20へ出力する。このとき監視回路32は、異常と判断する根拠の現象(例えばWD監視時間が経過してもWDパルスを検出できないなど)を所定の複数回検出した場合に初めてCPU20の動作を異常であると判断してもよい。また、WDパルスを直近で検出してからの経過時間が、WDパルス出力周期よりも短い経過時間となった場合にも、CPU20が異常であると判断してもよい。   Specifically, the monitoring circuit 32 determines that an abnormality has occurred in the CPU 20 when the WD pulse cannot be received even after the WD pulse output period has elapsed since the most recent detection of the WD pulse. When the monitoring circuit 32 determines that an abnormality has occurred in the CPU 20, the monitoring circuit 32 instructs the CPU 30 to start the operation, and outputs a reset signal to the CPU 20. At this time, the monitoring circuit 32 determines that the operation of the CPU 20 is abnormal for the first time only when a phenomenon (for example, a WD pulse cannot be detected even after the WD monitoring time elapses) is detected a predetermined number of times. May be. Alternatively, the CPU 20 may determine that an abnormality has occurred even when the elapsed time since the most recent detection of the WD pulse is shorter than the WD pulse output period.

サブマイコン3のメモリ31も、EEPROM、フラッシュメモリなどであり、電源マネージメントECUとしての動作を実現するためのプログラムと共に、制御用の情報を記憶している。また、サブマイコン3のメモリ31は、メインマイコン2のCPU20から出力されて駆動回路4に入力された信号を、駆動回路4から出力される際に記憶する。   The memory 31 of the sub-microcomputer 3 is also an EEPROM, a flash memory or the like, and stores control information together with a program for realizing an operation as a power management ECU. The memory 31 of the sub-microcomputer 3 stores a signal output from the CPU 20 of the main microcomputer 2 and input to the drive circuit 4 when output from the drive circuit 4.

駆動回路4には、メインマイコン2(CPU20)又はサブマイコン3(CPU30)から出力された信号が入力され、所定のタイミングで外部の制御対象へ出力する。なお、駆動回路4には、メインマイコン2(CPU20)が正常に動作している場合にはメインマイコン2のCPU20からの信号が、メインマイコン2(CPU20)に異常が発生している場合にはサブマイコン3のCPU30からの信号が入力される。   A signal output from the main microcomputer 2 (CPU 20) or the sub microcomputer 3 (CPU 30) is input to the drive circuit 4, and is output to an external control target at a predetermined timing. In the drive circuit 4, when the main microcomputer 2 (CPU 20) is operating normally, a signal from the CPU 20 of the main microcomputer 2 is detected, and when an abnormality occurs in the main microcomputer 2 (CPU 20). A signal from the CPU 30 of the sub-microcomputer 3 is input.

本実施の形態1のECU1では、サブマイコン3の監視回路32が、メインマイコン2のCPU20からのWDパルスに基づいてCPU20が正常に動作しているか否かを判断する。そして、CPU20に異常が発生していると判断した場合、監視回路32は、CPU30に電源マネージメントECUの動作を開始させるように指示すると共に、リセット信号をCPU20へ出力する。電源マネージメントECUの動作の開始を指示されたCPU30は、メモリ31に記憶してあるプログラムを実行して電源マネージメントECUとしての動作を開始する。   In the ECU 1 of the first embodiment, the monitoring circuit 32 of the sub-microcomputer 3 determines whether or not the CPU 20 is operating normally based on the WD pulse from the CPU 20 of the main microcomputer 2. If it is determined that an abnormality has occurred in the CPU 20, the monitoring circuit 32 instructs the CPU 30 to start the operation of the power management ECU and outputs a reset signal to the CPU 20. The CPU 30 instructed to start the operation of the power management ECU executes the program stored in the memory 31 and starts the operation as the power management ECU.

このときサブマイコン3のCPU30は、電源マネージメントECUとして動作している際に信号を出力する出力端子を出力ポートに設定し、メインマイコン2のCPU20は、サブマイコン3の監視回路32からリセット信号を受信した場合、自身の出力端子を入力ポートに設定する。これにより、駆動回路4に入力される信号が、メインマイコン2からの信号から、サブマイコン3からの信号に切り替えられる。   At this time, the CPU 30 of the sub-microcomputer 3 sets an output terminal that outputs a signal when operating as a power management ECU to the output port, and the CPU 20 of the main microcomputer 2 receives a reset signal from the monitoring circuit 32 of the sub-microcomputer 3. If received, set its own output terminal as an input port. As a result, the signal input to the drive circuit 4 is switched from the signal from the main microcomputer 2 to the signal from the sub-microcomputer 3.

サブマイコン3のCPU30は、監視回路32がCPU20の異常を検出する直前に、メモリ31が駆動回路4から取得して格納したCPU20からの出力値を読み出し、自身の出力信号として駆動回路4へ出力する。これにより、メインマイコン2に異常が発生した場合に、異常が発生する直前のメインマイコン2からの出力信号が、サブマイコン3から駆動回路4を介して制御対象へ出力される。従って、メインマイコン2に異常が発生する前の指令状態が維持されるので、安全性を確保しつつ、メインマイコン2による制御からサブマイコン3による制御へシームレスに移行できる。   The CPU 30 of the sub-microcomputer 3 reads the output value from the CPU 20 that the memory 31 has acquired from the drive circuit 4 and stored immediately before the monitoring circuit 32 detects the abnormality of the CPU 20 and outputs it to the drive circuit 4 as its own output signal. To do. As a result, when an abnormality occurs in the main microcomputer 2, the output signal from the main microcomputer 2 immediately before the abnormality occurs is output from the sub-microcomputer 3 to the controlled object via the drive circuit 4. Therefore, since the command state before the abnormality occurs in the main microcomputer 2 is maintained, it is possible to seamlessly shift from the control by the main microcomputer 2 to the control by the sub-microcomputer 3 while ensuring safety.

図2はECU2の動作を説明するためのタイムチャートである。図2には、横軸を時間軸として上から順に、メインマイコン2から出力される出力1,出力2、サブマイコン3から出力される出力1,出力2を示している。なお、図2に示したタイムチャートは、メインマイコン2及びサブマイコン3からそれぞれ2つの出力値が出力される例を示す。   FIG. 2 is a time chart for explaining the operation of the ECU 2. FIG. 2 shows outputs 1 and 2 output from the main microcomputer 2 and outputs 1 and 2 output from the sub-microcomputer 3 in order from the top with the horizontal axis as the time axis. 2 shows an example in which two output values are output from the main microcomputer 2 and the sub microcomputer 3, respectively.

本実施の形態1のECU1において、メインマイコン2のCPU20は、メインマイコン2に異常が発生するまでの間は、メモリ21に記憶されたプログラムを実行した結果の出力信号を適宜出力する。そして、メインマイコン2に異常が発生した後は、メインマイコン2のCPU20の出力端子は入力ポートに設定されるので、CPU20は出力信号を出力しない。   In the ECU 1 according to the first embodiment, the CPU 20 of the main microcomputer 2 appropriately outputs an output signal as a result of executing the program stored in the memory 21 until an abnormality occurs in the main microcomputer 2. After the abnormality occurs in the main microcomputer 2, the output terminal of the CPU 20 of the main microcomputer 2 is set as an input port, so the CPU 20 does not output an output signal.

一方、サブマイコン3のCPU30の出力端子は、メインマイコン2に異常が発生するまでの間は入力ポートに設定されているので、CPU30は出力信号を出力しない。そして、メインマイコン2に異常が発生した後は、サブマイコン3のCPU30は、メインマイコン2に異常が発生する直前のCPU20の出力信号を出力する。具体的には、メインマイコン2に異常が発生する直前において、メインマイコン2は、出力1としてOFF(0)の値の信号を出力し、出力2としてON(1)の値の信号を出力していた。従って、メインマイコン2に異常が発生した以降において、サブマイコン3は、出力1としてOFF(0)の値の信号を出力し、出力2としてON(1)の値の信号を出力する。   On the other hand, since the output terminal of the CPU 30 of the sub-microcomputer 3 is set as an input port until an abnormality occurs in the main microcomputer 2, the CPU 30 does not output an output signal. Then, after an abnormality occurs in the main microcomputer 2, the CPU 30 of the sub-microcomputer 3 outputs an output signal of the CPU 20 immediately before the abnormality occurs in the main microcomputer 2. Specifically, immediately before an abnormality occurs in the main microcomputer 2, the main microcomputer 2 outputs a signal having an OFF (0) value as the output 1 and outputs a signal having an ON (1) value as the output 2. It was. Therefore, after an abnormality occurs in the main microcomputer 2, the sub-microcomputer 3 outputs an OFF (0) value signal as the output 1 and an ON (1) value signal as the output 2.

上述したように、メインマイコン2に異常が発生した場合に、その直前にメインマイコン2から駆動回路4へ出力されていた信号が、サブマイコン3から駆動回路4へ出力されるので、メインマイコン2に異常が発生する前の制御対象の制御状態を維持できる。よって、安全性を確保しつつ、メインマイコン2による制御からサブマイコン3による制御へシームレスに移行できる。   As described above, when an abnormality occurs in the main microcomputer 2, the signal output from the main microcomputer 2 to the drive circuit 4 immediately before that is output from the sub-microcomputer 3 to the drive circuit 4. It is possible to maintain the control state of the controlled object before the abnormality occurs. Therefore, it is possible to seamlessly shift from the control by the main microcomputer 2 to the control by the sub-microcomputer 3 while ensuring safety.

上述したように構成されるECU1において、監視回路3が行なう動作についてフローチャートを参照して説明する。図3は、実施の形態1におけるECU1のサブマイコン3が行なう処理の手順を示すフローチャートである。   An operation performed by the monitoring circuit 3 in the ECU 1 configured as described above will be described with reference to a flowchart. FIG. 3 is a flowchart showing a procedure of processing performed by the sub-microcomputer 3 of the ECU 1 in the first embodiment.

サブマイコン3のCPU30は、メインマイコン2のCPU20からの出力信号を駆動回路4を介して取得する都度、メモリ31に格納する(S1)。一方、サブマイコン3の監視回路32は、メインマイコン2のCPU20から受信するWDパルス出力周期のデータ(WDパルス)を受信する都度、WDパルスの受信状態を監視する(S2)。ここでは、監視回路32は、CPU20からWDパルスを受信する間隔を監視する。   Each time the CPU 30 of the sub-microcomputer 3 acquires the output signal from the CPU 20 of the main microcomputer 2 via the drive circuit 4, it stores it in the memory 31 (S1). On the other hand, every time the monitoring circuit 32 of the sub-microcomputer 3 receives the data (WD pulse) of the WD pulse output period received from the CPU 20 of the main microcomputer 2, it monitors the reception state of the WD pulse (S2). Here, the monitoring circuit 32 monitors the interval at which WD pulses are received from the CPU 20.

監視回路32は、CPU20からのWDパルスの受信間隔に基づいて、メインマイコン2(CPU20)が異常であるか否かを判断する(S3)。なお、監視回路32は、CPU20からのWDパルスの受信間隔が、予め設定されたWDパルス出力周期よりも所定時間以上短い場合又は所定時間以上長い場合に、CPU20(メインマイコン2)が異常であると判断する。   The monitoring circuit 32 determines whether or not the main microcomputer 2 (CPU 20) is abnormal based on the reception interval of the WD pulse from the CPU 20 (S3). The monitoring circuit 32 indicates that the CPU 20 (main microcomputer 2) is abnormal when the reception interval of the WD pulse from the CPU 20 is shorter than the preset WD pulse output period by a predetermined time or longer than the predetermined time. Judge.

監視回路32によってメインマイコン2が正常であると判断された場合(S3:NO)、サブマイコン3は、ステップS1に処理を戻し、メインマイコン2のCPU20からの出力信号のメモリ31への格納と、メインマイコン2のCPU20からのWDパルスの受信状態の監視とを継続する。監視回路32によってメインマイコン2が異常であると判断された場合(S3:YES)、監視回路32は、リセット信号をCPU20へ出力する(S4)。   When the monitoring circuit 32 determines that the main microcomputer 2 is normal (S3: NO), the sub-microcomputer 3 returns the process to step S1 and stores the output signal from the CPU 20 of the main microcomputer 2 in the memory 31. The monitoring of the reception state of the WD pulse from the CPU 20 of the main microcomputer 2 is continued. When the monitoring circuit 32 determines that the main microcomputer 2 is abnormal (S3: YES), the monitoring circuit 32 outputs a reset signal to the CPU 20 (S4).

また、監視回路32は、CPU30に、電源マネージメントECUの動作を開始するように指示し、CPU30は、自身の出力端子を出力ポートに設定する(S5)。なお、メインマイコン2のCPU20は、サブマイコン3の監視回路32からリセット信号を取得した場合、出力端子を入力ポートに設定する。CPU30は、メモリ31に格納してある出力値、即ち、監視回路23がメインマイコン2の異常を検出する直前にCPU20から出力された出力値を読み出し、駆動回路4へ出力し(S6)、処理を終了する。   The monitoring circuit 32 instructs the CPU 30 to start the operation of the power management ECU, and the CPU 30 sets its own output terminal as an output port (S5). When the CPU 20 of the main microcomputer 2 acquires a reset signal from the monitoring circuit 32 of the sub microcomputer 3, the CPU 20 sets the output terminal as an input port. The CPU 30 reads the output value stored in the memory 31, that is, the output value output from the CPU 20 immediately before the monitoring circuit 23 detects the abnormality of the main microcomputer 2, and outputs the output value to the drive circuit 4 (S6). Exit.

これにより、ECU1は、メインマイコン2に異常が発生した場合であっても、その直前にメインマイコン2が制御対象へ出力していた出力値を、サブマイコン3によって出力できる。従って、メインマイコン2に異常が発生した場合であっても、メインマイコン2による制御からサブマイコン3による制御へシームレスに処理を移行できると共に、制御対象を安全に制御できる。   As a result, even when an abnormality occurs in the main microcomputer 2, the ECU 1 can output the output value that the main microcomputer 2 has output to the control object immediately before the sub microcomputer 3. Therefore, even when an abnormality occurs in the main microcomputer 2, the process can be seamlessly shifted from the control by the main microcomputer 2 to the control by the sub-microcomputer 3, and the controlled object can be controlled safely.

本実施の形態1のECU1では、メインマイコン2に異常が生じ、メインマイコン2による制御対象の制御からサブマイコン3による制御対象の制御に切り替わった後は、異常が発生する直前のメインマイコン2からの出力値に固定される。従って、上述した構成に更に、メインマイコン2に異常が発生した後にサブマイコン3から出力される出力値を、サブマイコン3のメモリ31に格納してある出力値とするのか、例えば、ドライバによる入力操作によって入力された値とするのかを切り替える構成を備えてもよい。   In the ECU 1 according to the first embodiment, after an abnormality occurs in the main microcomputer 2 and the control of the control target by the main microcomputer 2 is switched to the control of the control target by the sub microcomputer 3, the main microcomputer 2 immediately before the occurrence of the abnormality The output value is fixed. Accordingly, in addition to the above-described configuration, whether the output value output from the sub-microcomputer 3 after an abnormality has occurred in the main microcomputer 2 is the output value stored in the memory 31 of the sub-microcomputer 3, for example, input by a driver You may provide the structure which switches whether it is set as the value input by operation.

本実施の形態1のECU1では、メインマイコン2に異常が生じた場合に、サブマイコン3のCPU30が、サブマイコン3のメモリ31に格納してある、異常が発生する直前のメインマイコン2からの出力値のみに基づいて制御対象を制御していた。このほかに、例えば、サブマイコン3のメモリ31に、メインマイコン2(CPU20)からの出力信号を所定時間に亘って蓄積しておき、メインマイコン2に異常が生じた場合に、メモリ31に蓄積された信号に基づいて、サブマイコン3のCPU30が制御対象へ出力する信号を決定してもよい。   In the ECU 1 according to the first embodiment, when an abnormality occurs in the main microcomputer 2, the CPU 30 of the sub-microcomputer 3 stores the memory 31 of the sub-microcomputer 3 from the main microcomputer 2 immediately before the abnormality occurs. The controlled object is controlled based only on the output value. In addition to this, for example, the output signal from the main microcomputer 2 (CPU 20) is stored in the memory 31 of the sub-microcomputer 3 for a predetermined time, and is stored in the memory 31 when an abnormality occurs in the main microcomputer 2. Based on the signal, the signal output from the CPU 30 of the sub-microcomputer 3 to the control target may be determined.

例えば、メインマイコン2に異常が生じる直前の10分間において、CPU20が、出力1としてOFF(0)の値の信号を出力し、出力2としてON(1)の値の信号を出力していたとする。この場合、サブマイコン3のCPU30は、出力1としてOFF(0)の値の信号を出力し、出力2としてON(1)の値の信号を出力すればよい。このように、メインマイコン2に異常が生じる直前のCPU20からの出力値だけでなく、長期的(所定期間)にCPU20から出力されていた出力値に基づいて、サブマイコン3が制御対象へ出力する信号を決定することにより、より安全性を確保して制御対象を制御できる。   For example, it is assumed that the CPU 20 outputs an OFF (0) value signal as an output 1 and an ON (1) value signal as an output 2 for 10 minutes immediately before an abnormality occurs in the main microcomputer 2. . In this case, the CPU 30 of the sub-microcomputer 3 may output an OFF (0) value signal as the output 1 and an ON (1) value signal as the output 2. In this way, the sub-microcomputer 3 outputs to the control target based on the output value output from the CPU 20 over a long period (predetermined period) as well as the output value from the CPU 20 immediately before the abnormality occurs in the main microcomputer 2. By determining the signal, it is possible to secure the safety and control the controlled object.

(実施の形態2)
図4は、実施の形態2におけるECUの構成を示す構成図である。本実施の形態2のECU1は、上述した実施の形態1のECU1と同様の構成を有するので、同様の構成については同一の符号を付して説明を省略する。
(Embodiment 2)
FIG. 4 is a configuration diagram showing the configuration of the ECU according to the second embodiment. Since the ECU 1 of the second embodiment has the same configuration as the ECU 1 of the first embodiment described above, the same reference numerals are given to the same configurations, and description thereof is omitted.

本実施の形態2のECU1は、図1に示した構成のほかに、サブマイコン3のメモリ31に、図5に示すような制御仕様テーブル33を予め記憶している。図5は制御仕様テーブル33の格納内容を示す模式図である。制御仕様テーブル33には、ECU1が所定の制御対象を制御する際の制御状態(制御モード)毎に、出力値(ON=1、OFF=0)が格納されている。   In addition to the configuration shown in FIG. 1, the ECU 1 of the second embodiment stores a control specification table 33 as shown in FIG. 5 in the memory 31 of the sub-microcomputer 3 in advance. FIG. 5 is a schematic diagram showing the contents stored in the control specification table 33. The control specification table 33 stores output values (ON = 1, OFF = 0) for each control state (control mode) when the ECU 1 controls a predetermined control target.

なお、図5に示した制御仕様テーブル33では、制御状態として、通常状態、電源カット状態1、電源カット状態2の3つの制御状態が登録されている。しかし、このような構成に限らず、ECU1が行なうべき処理内容に応じた数の制御状態毎に出力値が格納されればよい。また、図5に示した制御仕様テーブル33では、出力値として2つの出力値(出力1、出力2)が格納されているが、ECU1が行なうべき処理内容に応じた数の出力値が格納されることになる。   In the control specification table 33 shown in FIG. 5, three control states of a normal state, a power cut state 1 and a power cut state 2 are registered as control states. However, the present invention is not limited to such a configuration, and an output value may be stored for each number of control states corresponding to the processing content to be performed by the ECU 1. Further, in the control specification table 33 shown in FIG. 5, two output values (output 1 and output 2) are stored as output values, but the number of output values corresponding to the processing content to be performed by the ECU 1 is stored. Will be.

本実施の形態2のECU1において、メインマイコン2のCPU20は、車両の動作状態及び他のECUの動作状態に基づいて現在の制御状態を把握している。そして、CPU20は、現在の制御状態に対応するプログラムをメモリ21から読み出して実行することにより、外部のオルタネータ(制御対象)に対して現在の制御状態に応じた制御処理を行なう。また、CPU20は、現在の制御状態が変更される都度、現在の制御状態をサブマイコン3に通知し、サブマイコン3のメモリ31に格納させる。即ち、上述した実施の形態1では、サブマイコン3のメモリ31には、メインマイコン2のCPU20からの出力信号が逐次格納されていたが、本実施の形態2では、ECU1における現在の制御状態が逐次格納される。   In the ECU 1 of the second embodiment, the CPU 20 of the main microcomputer 2 grasps the current control state based on the operation state of the vehicle and the operation states of other ECUs. Then, the CPU 20 reads out a program corresponding to the current control state from the memory 21 and executes it, thereby performing control processing according to the current control state on the external alternator (control target). Further, every time the current control state is changed, the CPU 20 notifies the current control state to the sub-microcomputer 3 and stores it in the memory 31 of the sub-microcomputer 3. That is, in the first embodiment described above, the output signal from the CPU 20 of the main microcomputer 2 is sequentially stored in the memory 31 of the sub-microcomputer 3, but in the second embodiment, the current control state in the ECU 1 is Stored sequentially.

また、本実施の形態2のECU1において、サブマイコン3のCPU30は、監視回路32がCPU20の異常を検出した場合、監視回路32がCPU20の異常を検出する直前に、メモリ31がメインマイコン2から取得して格納した制御状態を読み出す。そして、CPU30は、メモリ31から読み出した制御状態に対応する出力値を制御仕様テーブル33から読み出し、自身の出力信号として駆動回路4へ出力する。   In the ECU 1 according to the second embodiment, when the monitoring circuit 32 detects an abnormality of the CPU 20, the CPU 30 of the sub-microcomputer 3 stores the memory 31 from the main microcomputer 2 immediately before the monitoring circuit 32 detects the abnormality of the CPU 20. Read the acquired control status. Then, the CPU 30 reads the output value corresponding to the control state read from the memory 31 from the control specification table 33 and outputs it to the drive circuit 4 as its own output signal.

これにより、メインマイコン2に異常が発生した場合に、異常が発生する直前のメインマイコン2における制御状態が保持され、この制御状態に応じた出力値によってサブマイコン3が制御対象を制御する。従って、メインマイコン2に異常が発生する前の指令状態が維持されるので、安全性を確保しつつ、メインマイコン2による制御からサブマイコン3による制御へシームレスに移行できる。   Thereby, when an abnormality occurs in the main microcomputer 2, the control state in the main microcomputer 2 immediately before the abnormality occurs is held, and the sub-microcomputer 3 controls the control target by the output value corresponding to this control state. Therefore, since the command state before the abnormality occurs in the main microcomputer 2 is maintained, it is possible to seamlessly shift from the control by the main microcomputer 2 to the control by the sub-microcomputer 3 while ensuring safety.

図6は実施の形態2のECU2の動作を説明するためのタイムチャートである。図6には、横軸を時間軸として上から順に、メインマイコン2の状態(制御状態)、メインマイコン2から出力される出力1,出力2、サブマイコン3の状態(制御状態)、サブマイコン3から出力される出力1,出力2を示している。なお、図6に示したタイムチャートは、メインマイコン2及びサブマイコン3からそれぞれ2つの出力値が出力される例を示す。   FIG. 6 is a time chart for explaining the operation of the ECU 2 according to the second embodiment. FIG. 6 shows the state of the main microcomputer 2 (control state), the outputs 1 and 2 output from the main microcomputer 2, the state of the sub microcomputer 3 (control state), the sub microcomputer in order from the top with the horizontal axis as the time axis. 3 shows output 1 and output 2 output from 3. The time chart shown in FIG. 6 shows an example in which two output values are output from the main microcomputer 2 and the sub-microcomputer 3, respectively.

本実施の形態2のECU1において、メインマイコン2のCPU20は、メインマイコン2に異常が発生するまでの間は、適宜変更される制御状態に応じて、メモリ21に記憶されたプログラムを実行し、その結果の出力信号を適宜出力する。図6に示した例では、通常状態から電源カット状態1に制御状態が切り替えられており、CPU20は、そのときどきの制御状態に応じた処理を行なって出力1,2としての出力信号を出力する。なお、メインマイコン2に異常が発生するまでの間、サブマイコン3はメインマイコン2からのWDパルスに基づくメインマイコン2の監視状態となっており、サブマイコン3のCPU30の出力端子は入力ポートに設定されている。   In the ECU 1 of the second embodiment, the CPU 20 of the main microcomputer 2 executes the program stored in the memory 21 according to the control state that is appropriately changed until an abnormality occurs in the main microcomputer 2, The resulting output signal is output as appropriate. In the example shown in FIG. 6, the control state is switched from the normal state to the power cut state 1, and the CPU 20 performs processing according to the control state at that time and outputs output signals as outputs 1 and 2. . Until the abnormality occurs in the main microcomputer 2, the sub microcomputer 3 is in the monitoring state of the main microcomputer 2 based on the WD pulse from the main microcomputer 2, and the output terminal of the CPU 30 of the sub microcomputer 3 is connected to the input port. Is set.

一方、メインマイコン2に異常が発生した後は、メインマイコン2のCPU20の出力端子は入力ポートに設定され、サブマイコン3における制御状態として、メインマイコン2に異常が発生する直前のメインマイコン2における制御状態(図6では電源カット状態1)が引き継がれる。そして、サブマイコン3のCPU30は、電源カット状態1に対応する出力値を制御仕様テーブル33から読み出し、出力1としてOFF(0)の値の信号を出力し、出力2としてON(1)の値の信号を出力する。   On the other hand, after an abnormality occurs in the main microcomputer 2, the output terminal of the CPU 20 of the main microcomputer 2 is set as an input port, and as a control state in the sub microcomputer 3, the main microcomputer 2 immediately before the abnormality occurs in the main microcomputer 2. The control state (power supply cut state 1 in FIG. 6) is taken over. Then, the CPU 30 of the sub-microcomputer 3 reads an output value corresponding to the power cut state 1 from the control specification table 33, outputs an OFF (0) value signal as the output 1, and an ON (1) value as the output 2. The signal is output.

上述したように、メインマイコン2に異常が発生した場合に、その直前のメインマイコン2による制御対象の制御状態を維持できる。よって、安全性を確保しつつ、メインマイコン2による制御からサブマイコン3による制御へシームレスに移行できる。   As described above, when an abnormality occurs in the main microcomputer 2, the control state of the control target by the main microcomputer 2 immediately before that can be maintained. Therefore, it is possible to seamlessly shift from the control by the main microcomputer 2 to the control by the sub-microcomputer 3 while ensuring safety.

上述したように構成されるECU1において、監視回路3が行なう動作についてフローチャートを参照して説明する。図7は、実施の形態2におけるECU1のサブマイコン3が行なう処理の手順を示すフローチャートである。   An operation performed by the monitoring circuit 3 in the ECU 1 configured as described above will be described with reference to a flowchart. FIG. 7 is a flowchart showing a procedure of processing performed by the sub-microcomputer 3 of the ECU 1 in the second embodiment.

サブマイコン3のCPU30は、メインマイコン2のCPU20から、メインマイコン2における現在の制御状態を取得する都度、メモリ31に格納する(S11)。一方、サブマイコン3の監視回路32は、メインマイコン2のCPU20から受信するWDパルス出力周期のデータ(WDパルス)を受信する都度、WDパルスの受信状態を監視する(S12)。ここでは、監視回路32は、CPU20からWDパルスを受信する間隔を監視する。   The CPU 30 of the sub-microcomputer 3 stores the current control state in the main microcomputer 2 from the CPU 20 of the main microcomputer 2 in the memory 31 (S11). On the other hand, each time the monitoring circuit 32 of the sub-microcomputer 3 receives the data (WD pulse) of the WD pulse output period received from the CPU 20 of the main microcomputer 2, it monitors the reception state of the WD pulse (S12). Here, the monitoring circuit 32 monitors the interval at which WD pulses are received from the CPU 20.

監視回路32は、CPU20からのWDパルスの受信間隔に基づいて、メインマイコン2(CPU20)が異常であるか否かを判断する(S13)。なお、監視回路32は、CPU20からのWDパルスの受信間隔が、予め設定されたWDパルス出力周期よりも所定時間以上短い場合又は所定時間以上長い場合に、CPU20(メインマイコン2)が異常であると判断する。   The monitoring circuit 32 determines whether or not the main microcomputer 2 (CPU 20) is abnormal based on the reception interval of the WD pulse from the CPU 20 (S13). The monitoring circuit 32 indicates that the CPU 20 (main microcomputer 2) is abnormal when the reception interval of the WD pulse from the CPU 20 is shorter than the preset WD pulse output period by a predetermined time or longer than the predetermined time. Judge.

監視回路32によってメインマイコン2が正常であると判断された場合(S13:NO)、サブマイコン3は、ステップS11に処理を戻し、メインマイコン2における現在の制御状態のメモリ31への格納と、メインマイコン2のCPU20からのWDパルスの受信状態の監視とを継続する。監視回路32によってメインマイコン2が異常であると判断された場合(S13:YES)、監視回路32は、リセット信号をメインマイコン2のCPU20へ出力する。(S14)   When the monitoring circuit 32 determines that the main microcomputer 2 is normal (S13: NO), the sub-microcomputer 3 returns the process to step S11, stores the current control state in the main microcomputer 2 in the memory 31, The monitoring of the reception state of the WD pulse from the CPU 20 of the main microcomputer 2 is continued. When the monitoring circuit 32 determines that the main microcomputer 2 is abnormal (S13: YES), the monitoring circuit 32 outputs a reset signal to the CPU 20 of the main microcomputer 2. (S14)

また、監視回路32は、CPU30に、電源マネージメントECUの動作の開始を指示し、CPU30は、自身の出力端子を出力ポートに設定する(S15)。なお、メインマイコン2のCPU20は、サブマイコン3の監視回路32からリセット信号を取得した場合、出力端子を入力ポートに設定する。CPU30は、メモリ31に格納してある制御状態、即ち、監視回路23がメインマイコン2の異常を検出する直前の制御状態を読み出し(S16)、読み出した制御状態に対応する出力値を制御仕様テーブル33から読み出して駆動回路4へ出力し(S17)、処理を終了する。   The monitoring circuit 32 instructs the CPU 30 to start the operation of the power management ECU, and the CPU 30 sets its own output terminal as an output port (S15). When the CPU 20 of the main microcomputer 2 acquires a reset signal from the monitoring circuit 32 of the sub microcomputer 3, the CPU 20 sets the output terminal as an input port. The CPU 30 reads the control state stored in the memory 31, that is, the control state immediately before the monitoring circuit 23 detects the abnormality of the main microcomputer 2 (S16), and outputs the output value corresponding to the read control state to the control specification table. 33 is read out and output to the drive circuit 4 (S17), and the process is terminated.

これにより、ECU1は、メインマイコン2に異常が発生した場合であっても、サブマイコン3により、その直前のメインマイコン2における制御状態に基づく処理によって制御対象を制御できる。従って、メインマイコン2に異常が発生した場合であっても、メインマイコン2による制御からサブマイコン3による制御へシームレスに処理を移行できると共に、制御対象を安全に制御できる。   Thereby, even if it is a case where abnormality has generate | occur | produced in the main microcomputer 2, ECU1 can control a control object by the process based on the control state in the main microcomputer 2 immediately before by the submicrocomputer 3. FIG. Therefore, even when an abnormality occurs in the main microcomputer 2, the process can be seamlessly shifted from the control by the main microcomputer 2 to the control by the sub-microcomputer 3, and the controlled object can be controlled safely.

本実施の形態2のECU1では、メインマイコン2に異常が生じ、メインマイコン2による制御対象の制御からサブマイコン3による制御対象の制御に切り替わった後は、異常が発生する直前のメインマイコン2の制御状態に対応する出力値に固定される。従って、上述した構成に更に、メインマイコン2に異常が発生した後にサブマイコン3から出力される出力値を、制御仕様テーブル33で規定された出力値とするのか、例えば、ドライバによる入力操作によって入力された値とするのかを切り替える構成を備えてもよい。   In the ECU 1 according to the second embodiment, after an abnormality occurs in the main microcomputer 2 and the control of the control object by the main microcomputer 2 is switched to the control of the control object by the sub-microcomputer 3, the main microcomputer 2 immediately before the abnormality occurs is switched. The output value corresponding to the control state is fixed. Therefore, in addition to the above-described configuration, whether the output value output from the sub-microcomputer 3 after an abnormality has occurred in the main microcomputer 2 is set to the output value defined in the control specification table 33, for example, input by an input operation by a driver You may provide the structure which switches whether it is set as the set value.

本実施の形態2のECU1では、メインマイコン2に異常が生じた場合に、サブマイコン3のCPU30が、サブマイコン3のメモリ31に格納してある、異常が発生する直前のメインマイコン2の制御状態のみに基づいて制御対象を制御していた。このほかに、例えば、サブマイコン3のメモリ31に、メインマイコン2(CPU20)における制御状態を所定時間に亘って蓄積しておき、メインマイコン2に異常が生じた場合に、メモリ31に蓄積された制御状態に基づいて、サブマイコン3のCPU30が制御対象を制御する際の制御状態を決定してもよい。   In the ECU 1 according to the second embodiment, when an abnormality occurs in the main microcomputer 2, the CPU 30 of the sub-microcomputer 3 stores the control of the main microcomputer 2 immediately before the abnormality occurs, which is stored in the memory 31 of the sub-microcomputer 3. The controlled object was controlled based only on the state. In addition, for example, the control state in the main microcomputer 2 (CPU 20) is accumulated for a predetermined time in the memory 31 of the sub-microcomputer 3, and when an abnormality occurs in the main microcomputer 2, it is accumulated in the memory 31. Based on the control state, the control state when the CPU 30 of the sub-microcomputer 3 controls the control target may be determined.

例えば、メインマイコン2に異常が生じる直前の10分間において、メインマイコン2における制御状態が通常状態であった場合、メインマイコン2に異常が生じた後も通常状態に基づく処理によって制御対象を制御することが好ましい場合が多い。従って、この場合、サブマイコン3のCPU30は、通常状態に対応する出力値を出力すればよい。このように、メインマイコン2に異常が生じる直前のメインマイコン2における制御状態だけでなく、長期的(所定期間)に継続した制御状態に基づいて、サブマイコン3が制御対象を制御することにより、より安全性を確保して制御対象を制御できる。   For example, if the control state in the main microcomputer 2 is in the normal state for 10 minutes immediately before the abnormality occurs in the main microcomputer 2, the control target is controlled by processing based on the normal state even after the abnormality occurs in the main microcomputer 2. It is often preferable. Therefore, in this case, the CPU 30 of the sub-microcomputer 3 may output an output value corresponding to the normal state. As described above, the sub-microcomputer 3 controls the control target based not only on the control state in the main microcomputer 2 immediately before the abnormality occurs in the main microcomputer 2 but also on the control state continued for a long time (predetermined period). It is possible to control the controlled object while ensuring more safety.

上述した実施の形態1,2では、CPU20からの出力信号又はメインマイコン2における制御状態をサブマイコン3のメモリ31に格納させる構成であった。このほかに、例えば、サブマイコン3とは別途にEEPROMなどのメモリを設け、CPU20からの出力信号又はメインマイコン2における制御状態をこのメモリに格納させる構成としてもよい。この場合、サブマイコン3のCPU30は、監視回路32によってメインマイコン2の異常が検出された場合に、外部のメモリからCPU20からの出力信号又はメインマイコン2における制御状態を読み取ればよい。   In the first and second embodiments described above, the output signal from the CPU 20 or the control state in the main microcomputer 2 is stored in the memory 31 of the sub-microcomputer 3. In addition, for example, a memory such as an EEPROM may be provided separately from the sub-microcomputer 3, and an output signal from the CPU 20 or a control state in the main microcomputer 2 may be stored in this memory. In this case, when the monitoring circuit 32 detects an abnormality of the main microcomputer 2, the CPU 30 of the sub-microcomputer 3 may read the output signal from the CPU 20 or the control state in the main microcomputer 2 from an external memory.

上述した実施の形態1,2では、ECU1が2つのマイコン2,3を備える構成であった。しかし、本願の処理装置は、このような構成に限定されず、ECU1に3つ以上のマイコンを搭載することによって、より安定した処理が可能となる。   In the first and second embodiments described above, the ECU 1 has two microcomputers 2 and 3. However, the processing apparatus of the present application is not limited to such a configuration, and more stable processing can be performed by mounting three or more microcomputers in the ECU 1.

なお、開示された実施の形態は、全ての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上述の説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内での全ての変更が含まれることが意図される。   The disclosed embodiments should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

1 ECU(処理装置)
2 メインマイコン
20 CPU(処理部)
3 サブマイコン
30 CPU(処理部)
31 メモリ(保持部)
32 監視回路(異常検出部、出力停止部)
1 ECU (Processor)
2 Main microcomputer 20 CPU (Processor)
3 Sub-microcomputer 30 CPU (Processor)
31 Memory (holding unit)
32 Monitoring circuit (abnormality detection unit, output stop unit)

Claims (6)

信号処理を実行する複数の処理部と、一の処理部から周期的に出力される信号に基づいて前記一の処理部の動作の異常を検出する異常検出部とを備える処理装置において、
前記一の処理部が信号処理を実行することによって出力する信号を保持する保持部と、
前記異常検出部が前記一の処理部の動作の異常を検出した場合に、前記一の処理部が信号処理を実行することによる信号の出力を停止させる出力停止部とを備え、
他の処理部は、前記出力停止部が前記一の処理部からの信号の出力を停止させた場合に、前記異常検出部が前記一の処理部の動作の異常を検出する前に前記保持部が保持していた信号を外部へ出力するようにしてあることを特徴とする処理装置。
In a processing apparatus comprising: a plurality of processing units that perform signal processing; and an abnormality detection unit that detects an abnormal operation of the one processing unit based on a signal periodically output from the one processing unit.
A holding unit that holds a signal output by the one processing unit executing signal processing;
An output stop unit that stops output of a signal when the one processing unit executes signal processing when the abnormality detecting unit detects an abnormality in operation of the one processing unit;
When the output stop unit stops the output of the signal from the one processing unit, the other processing unit has the holding unit before the abnormality detection unit detects an abnormality in the operation of the one processing unit. The processing apparatus is characterized in that the signal held by is output to the outside.
前記保持部は、前記一の処理部から出力される信号を所定時間に亘って蓄積するようにしてあり、
前記他の処理部は、前記異常検出部が前記一の処理部の動作の異常を検出する前の所定時間に亘って前記保持部が蓄積した信号に基づく信号を外部へ出力するようにしてあることを特徴とする請求項1に記載の処理装置。
The holding unit is configured to accumulate a signal output from the one processing unit over a predetermined time,
The other processing unit is configured to output a signal based on a signal accumulated by the holding unit over a predetermined time before the abnormality detection unit detects an abnormality in the operation of the one processing unit. The processing apparatus according to claim 1.
複数の制御状態のそれぞれに応じた信号処理を実行する複数の処理部と、一の処理部から周期的に出力される信号に基づいて前記一の処理部の動作の異常を検出する異常検出部とを備える処理装置において、
前記一の処理部が実行中の信号処理の制御状態を保持する保持部と、
前記異常検出部が前記一の処理部の動作の異常を検出した場合に、前記一の処理部が信号処理を実行することによる信号の出力を停止させる出力停止部とを備え、
他の処理部は、前記出力停止部が前記一の処理部からの信号の出力を停止させた場合に、前記異常検出部が前記一の処理部の動作の異常を検出する前に前記保持部が保持していた制御状態に応じた信号処理を実行するようにしてあることを特徴とする処理装置。
A plurality of processing units that perform signal processing corresponding to each of a plurality of control states, and an abnormality detection unit that detects an abnormality in the operation of the one processing unit based on a signal periodically output from the one processing unit A processing apparatus comprising:
A holding unit for holding a control state of the signal processing being executed by the one processing unit;
An output stop unit that stops output of a signal when the one processing unit executes signal processing when the abnormality detecting unit detects an abnormality in operation of the one processing unit;
When the output stop unit stops the output of the signal from the one processing unit, the other processing unit has the holding unit before the abnormality detection unit detects an abnormality in the operation of the one processing unit. A processing apparatus is characterized in that signal processing corresponding to a control state held by the computer is executed.
前記保持部は、前記一の処理部が実行中の信号処理の制御状態を所定時間に亘って蓄積するようにしてあり、
前記他の処理部は、前記異常検出部が前記一の処理部の動作の異常を検出する前の所定時間に亘って前記保持部が蓄積した制御状態に基づく制御状態に応じた信号処理を実行するようにしてあることを特徴とする請求項3に記載の処理装置。
The holding unit accumulates the control state of the signal processing being executed by the one processing unit over a predetermined time,
The other processing unit performs signal processing according to a control state based on a control state accumulated by the holding unit for a predetermined time before the abnormality detection unit detects an abnormality in the operation of the one processing unit. The processing apparatus according to claim 3, wherein the processing apparatus is configured as described above.
信号処理を実行する複数の処理部と、一の処理部から周期的に出力される信号に基づいて前記一の処理部の動作の異常を検出する異常検出部とを備える処理装置で、前記一の処理部が信号処理を実行することによって出力される信号を外部へ出力する際の制御方法において、
前記一の処理部が信号処理を実行することによって出力される信号を保持するステップと、
前記異常検出部が前記一の処理部の動作の異常を検出した場合に、前記一の処理部が信号処理を実行することによる信号の出力を停止させるステップと、
他の処理部が、前記一の処理部からの信号の出力が停止された場合に、前記異常検出部が前記一の処理部の動作の異常を検出する前に保持していた信号を外部へ出力するステップと
を含むことを特徴とする制御方法。
A processing apparatus comprising: a plurality of processing units that perform signal processing; and an abnormality detection unit that detects an abnormality in operation of the one processing unit based on a signal periodically output from the one processing unit. In the control method when outputting the signal output by the processing unit of the signal processing to the outside,
Holding the signal output by the one processing unit performing signal processing;
When the abnormality detection unit detects an abnormality in the operation of the one processing unit, the step of stopping the output of the signal by the one processing unit executing signal processing;
When the output of the signal from the one processing unit is stopped by another processing unit, the signal held before the abnormality detection unit detects an abnormality in the operation of the one processing unit to the outside And a step of outputting.
複数の制御状態のそれぞれに応じた信号処理を実行する複数の処理部と、一の処理部から周期的に出力される信号に基づいて前記一の処理部の動作の異常を検出する異常検出部とを備える処理装置で、前記一の処理部が信号処理を実行することによって出力される信号を外部へ出力する際の制御方法において、
前記一の処理部が実行中の信号処理の制御状態を保持するステップと、
前記異常検出部が前記一の処理部の動作の異常を検出した場合に、前記一の処理部が信号処理を実行することによる信号の出力を停止させるステップと、
他の処理部が、前記一の処理部からの信号の出力を停止された場合に、前記異常検出部が前記一の処理部の動作の異常を検出する前に保持していた制御状態に応じた信号処理を実行するステップと
を含むことを特徴とする制御方法。
A plurality of processing units that perform signal processing corresponding to each of a plurality of control states, and an abnormality detection unit that detects an abnormality in the operation of the one processing unit based on a signal periodically output from the one processing unit In a control method for outputting a signal output by executing the signal processing by the one processing unit to the outside,
Holding the control state of the signal processing being executed by the one processing unit;
When the abnormality detection unit detects an abnormality in the operation of the one processing unit, the step of stopping the output of the signal by the one processing unit executing signal processing;
Depending on the control state held by the abnormality detection unit before detecting an abnormality in the operation of the one processing unit when the output of the signal from the one processing unit is stopped by another processing unit And a step of executing the signal processing.
JP2009291585A 2009-12-23 2009-12-23 Processing apparatus and control method Expired - Fee Related JP5392058B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009291585A JP5392058B2 (en) 2009-12-23 2009-12-23 Processing apparatus and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009291585A JP5392058B2 (en) 2009-12-23 2009-12-23 Processing apparatus and control method

Publications (2)

Publication Number Publication Date
JP2011134025A true JP2011134025A (en) 2011-07-07
JP5392058B2 JP5392058B2 (en) 2014-01-22

Family

ID=44346701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009291585A Expired - Fee Related JP5392058B2 (en) 2009-12-23 2009-12-23 Processing apparatus and control method

Country Status (1)

Country Link
JP (1) JP5392058B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019109746A (en) * 2017-12-19 2019-07-04 日立オートモティブシステムズ株式会社 Automobile electronic controller

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05163998A (en) * 1991-12-17 1993-06-29 Nippondenso Co Ltd Backup control device for processor
JPH0728507A (en) * 1993-06-25 1995-01-31 Nippondenso Co Ltd Microcomputer system
JPH09330106A (en) * 1996-06-10 1997-12-22 Toshiba Corp Control system with backup function
JPH1063530A (en) * 1996-08-22 1998-03-06 Toshiba Corp Redundant type system
JPH1173203A (en) * 1997-08-29 1999-03-16 Denso Corp Electronic control unit
JP2000259201A (en) * 1999-03-05 2000-09-22 Toshiba Corp Analog output device and control system using the same
JP2001175494A (en) * 1999-12-14 2001-06-29 Nec Corp System and method for doubly diagnosing normality of arithmetic processing of microprocessor
JP2002059854A (en) * 2000-08-14 2002-02-26 Nsk Ltd Control device for electric power steering device
JP2003214233A (en) * 2002-01-28 2003-07-30 Denso Corp Electronic control device for vehicle
JP2003222053A (en) * 2002-01-30 2003-08-08 Denso Corp Electronic control unit for vehicle
JP2008223692A (en) * 2007-03-14 2008-09-25 Denso Corp Electronic control device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05163998A (en) * 1991-12-17 1993-06-29 Nippondenso Co Ltd Backup control device for processor
JPH0728507A (en) * 1993-06-25 1995-01-31 Nippondenso Co Ltd Microcomputer system
JPH09330106A (en) * 1996-06-10 1997-12-22 Toshiba Corp Control system with backup function
JPH1063530A (en) * 1996-08-22 1998-03-06 Toshiba Corp Redundant type system
JPH1173203A (en) * 1997-08-29 1999-03-16 Denso Corp Electronic control unit
JP2000259201A (en) * 1999-03-05 2000-09-22 Toshiba Corp Analog output device and control system using the same
JP2001175494A (en) * 1999-12-14 2001-06-29 Nec Corp System and method for doubly diagnosing normality of arithmetic processing of microprocessor
JP2002059854A (en) * 2000-08-14 2002-02-26 Nsk Ltd Control device for electric power steering device
JP2003214233A (en) * 2002-01-28 2003-07-30 Denso Corp Electronic control device for vehicle
JP2003222053A (en) * 2002-01-30 2003-08-08 Denso Corp Electronic control unit for vehicle
JP2008223692A (en) * 2007-03-14 2008-09-25 Denso Corp Electronic control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019109746A (en) * 2017-12-19 2019-07-04 日立オートモティブシステムズ株式会社 Automobile electronic controller

Also Published As

Publication number Publication date
JP5392058B2 (en) 2014-01-22

Similar Documents

Publication Publication Date Title
JP6754743B2 (en) In-vehicle electronic control unit and its abnormal processing method
JP6311828B2 (en) Control device and control method for in-vehicle electronic device
JP5846342B1 (en) Control device and control method for in-vehicle electronic device
WO2013137425A1 (en) Circuit for monitoring abnormalities in ecu
JP4665846B2 (en) Microcomputer and electronic control device
JP5861438B2 (en) Control device and process monitoring method
US10710521B2 (en) Abnormality monitoring device and electric power steering device using same
JP6323296B2 (en) Control device
JP5555472B2 (en) Electronic control system for vehicles
JP5582748B2 (en) Electronic control device for vehicle
JP5392058B2 (en) Processing apparatus and control method
JP2008055980A (en) Electronic control device for automobile
JP5960632B2 (en) Electronic control device for vehicle
JP6311693B2 (en) Control device and control method for in-vehicle electronic device
RU2015136871A (en) DEVICE AND METHOD FOR DETECTING UNAUTHORIZED MANIPULATIONS BY THE SYSTEM STATE OF THE NUCLEAR INSTALLATION CONTROL AND REGULATION UNIT
JP4812699B2 (en) Power control device
JP2020050319A (en) Power supply monitoring device, power supply control system and power supply monitoring method
JP2015112962A (en) Information processing apparatus
JP2002041493A (en) Microcomputer
JP5625349B2 (en) Processing apparatus and control method
JP7230756B2 (en) Vehicle electronic control unit
JP2004034854A (en) Electronic control device
JP7359118B2 (en) electronic control unit
US20230398955A1 (en) In-vehicle use control system
JP6447268B2 (en) Electronic control unit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121015

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130911

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130917

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130930

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees