JPWO2019082647A1 - Vehicle control device - Google Patents

Vehicle control device Download PDF

Info

Publication number
JPWO2019082647A1
JPWO2019082647A1 JP2019550964A JP2019550964A JPWO2019082647A1 JP WO2019082647 A1 JPWO2019082647 A1 JP WO2019082647A1 JP 2019550964 A JP2019550964 A JP 2019550964A JP 2019550964 A JP2019550964 A JP 2019550964A JP WO2019082647 A1 JPWO2019082647 A1 JP WO2019082647A1
Authority
JP
Japan
Prior art keywords
cpu
microcomputer
current value
control device
vehicle 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
JP2019550964A
Other languages
Japanese (ja)
Other versions
JP6807467B2 (en
Inventor
文博 大澤
文博 大澤
啓人 栗原
啓人 栗原
暢紀 長濱
暢紀 長濱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Astemo Ltd
Original Assignee
Hitachi Automotive Systems 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 Hitachi Automotive Systems Ltd filed Critical Hitachi Automotive Systems Ltd
Publication of JPWO2019082647A1 publication Critical patent/JPWO2019082647A1/en
Application granted granted Critical
Publication of JP6807467B2 publication Critical patent/JP6807467B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/02Ensuring safety in case of control system failures, e.g. by diagnosing, circumventing or fixing failures

Abstract

CPUの異常発生時において、故障していない正常なCPUを特定し、故障していない正常なCPUを有効利用して、運転性能を維持することが可能な車両制御装置を提供することにある。そのため、車両制御装置は、メインCPUとサブCPUとを有するマイクロコンピュータと、電源部と、前記電源部と前記メインCPUとを接続する第1接続線と、前記電源部と前記サブCPUとを接続する第2接続線と、 前記第1接続線に流れる電流値と前記第2接続線に流れる電流値とを検出する電流検出部と、を有する。前記マクロコンピュータは、前記第1接続線と前記第2接続線の一方に流れる前記電流値が設定値より大きく、かつ、前記第1接続線と前記第2接続線の他方に流れる前記電流値が前記設定値以下の場合、前記他方に接続される前記メインCPU、又は前記サブCPUを用いて運転を継続する。It is an object of the present invention to provide a vehicle control device capable of identifying a normal CPU that has not failed and effectively using the normal CPU that has not failed to maintain driving performance when an abnormality occurs in the CPU. Therefore, the vehicle control device connects a microcomputer having a main CPU and a sub CPU, a power supply unit, a first connection line connecting the power supply unit and the main CPU, and the power supply unit and the sub CPU. And a current detection unit that detects a current value flowing in the first connection line and a current value flowing in the second connection line. In the macro computer, the current value flowing through one of the first connection line and the second connection line is larger than a set value, and the current value flowing through the other of the first connection line and the second connection line is When it is less than or equal to the set value, the operation is continued using the main CPU or the sub CPU connected to the other.

Description

本発明は、車両が搭載する機器を制御する車両制御装置に関する。 The present invention relates to a vehicle control device that controls devices installed in a vehicle.

車両が搭載している機器を制御する車両制御装置(ECU:Electronic Control Unit)は、制御演算を実施するマイクロコンピュータを備える。マイクロコンピュータは、一般的に、CPU(中央処理装置:Central Processing Unit)、不揮発性メモリであるROM(Read Only Memory)、揮発性メモリであるRAM(Random Access Memory)などを備える。CPUは、RAM、ROMに格納された情報を演算、制御するための演算装置である。CPUが故障すると、マイクロコンピュータは正しい演算を実施することができず、不具合が生じる。その為、車両制御装置はCPUを診断する機能を備えている。 A vehicle control device (ECU: Electronic Control Unit) that controls a device mounted on a vehicle includes a microcomputer that performs a control calculation. The microcomputer generally includes a CPU (Central Processing Unit: Central Processing Unit), a ROM (Read Only Memory) that is a non-volatile memory, a RAM (Random Access Memory) that is a volatile memory, and the like. The CPU is a computing device for computing and controlling the information stored in the RAM and ROM. If the CPU fails, the microcomputer cannot carry out the correct calculation, resulting in a malfunction. Therefore, the vehicle control device has a function of diagnosing the CPU.

複数のマイクロコンピュータを用いて、相互にCPUの異常を診断する手法や、マイクロコンピュータに内蔵された複数のCPUを用いて、各CPUの出力結果を照合し、その一致性から異常を診断する手法、いわゆるロックステップ方式などが一般的に存在する。 A method of mutually diagnosing an abnormality of CPUs using a plurality of microcomputers, or a method of collating output results of each CPU using a plurality of CPUs incorporated in a microcomputer and diagnosing an abnormality from the matching. The so-called lockstep method and the like generally exist.

特開2003−97344号公報(特許文献1)は、制御CPUの故障診断手法を記載している。同文献において、制御CPUと監視CPUとを備え、制御CPUと監視CPUとは、相互に通信し、正常状態であることを確認している。 Japanese Patent Laying-Open No. 2003-97344 (Patent Document 1) describes a failure diagnosis method for the control CPU. In this document, a control CPU and a monitoring CPU are provided, and the control CPU and the monitoring CPU communicate with each other to confirm that they are in a normal state.

特開2000−172521号公報(特許文献2)は、複数CPUに同じ入力を与えたとき、出力結果を照合して異常を検知する手法が記載されている。 Japanese Patent Laying-Open No. 2000-172521 (Patent Document 2) describes a method of detecting an abnormality by collating output results when the same input is given to a plurality of CPUs.

上記のように、コンピュータもしくはCPUに異常が発生した場合、自動車が危険な状態に陥らないようにフェールセーフ処理を実施する。フェールセーフ処理の一例を以下に記載する。たとえば、自動変速機の制御装置のCPUが故障した場合、自動変速機の変速制御を実現するアクチュエータが正しく動作せず、意図しない変速が発生することを防止するため、自動変速機の制御装置は、アクチュエータを固定させ、自動変速機の変速比を一定に維持させるというフェールセーフ処理を実施するものがある。 As described above, when an abnormality occurs in the computer or the CPU, the fail safe process is performed so that the automobile does not fall into a dangerous state. An example of fail-safe processing is described below. For example, when the CPU of the control device of the automatic transmission fails, the control device of the automatic transmission must be operated in order to prevent an unintended shift from occurring because the actuator that implements the shift control of the automatic transmission does not operate properly. There is a fail-safe process in which the actuator is fixed and the gear ratio of the automatic transmission is kept constant.

特開2003−97344号公報JP, 2003-97344, A 特開2000−172521号公報JP-A-2000-172521

特許文献1、2に記載のCPU故障診断方法は、CPUが完全に故障した状態でないと、CPUの故障と判断できないという課題がある。また、どちらのCPUが故障したかを検知することは困難であるという課題もある。また、CPU故障が発生した場合、故障していないマイクロコンピュータまたはCPUを有しているにも関わらず、フェールセーフ処理に移行するため、車両全体としては通常走行できるポテンシャルを残しているにも関わらず、運転性能を低下させてしまうという課題もある。 The CPU failure diagnosis methods described in Patent Documents 1 and 2 have a problem that it cannot be determined that the CPU is in failure unless the CPU is completely in failure. There is also a problem that it is difficult to detect which CPU has failed. In addition, when a CPU failure occurs, even though the microcomputer or the CPU is not in failure, the process shifts to the fail-safe processing, so that the vehicle as a whole has the potential to run normally. However, there is also a problem that the driving performance is deteriorated.

本発明の目的は、CPUの異常発生時において、故障していない正常なCPUを特定し、故障していない正常なCPUを有効利用して、運転性能を維持することが可能な車両制御装置を提供することにある。 An object of the present invention is to provide a vehicle control device capable of identifying a normal CPU that has not failed and effectively using the normal CPU that has not failed to maintain driving performance when an abnormality occurs in the CPU. To provide.

その他の課題と新規な特徴は、本明細書の記述および添付図面から明らかになるであろう。 Other problems and novel features will be apparent from the description of the present specification and the accompanying drawings.

本発明のうち代表的なものの概要を簡単に説明すれば下記の通りである。 The outline of a typical one of the present invention will be briefly described as follows.

すなわち、車両制御装置は、メインCPUとサブCPUとを有するマイクロコンピュータと、電源部と、前記電源部と前記メインCPUとを接続する第1接続線と、前記電源部と前記サブCPUとを接続する第2接続線と、前記第1接続線に流れる電流値と前記第2接続線に流れる電流値とを検出する電流検出部と、を有する。前記マクロコンピュータは、前記第1接続線と前記第2接続線の一方に流れる前記電流値が設定値より大きく、かつ、前記第1接続線と前記第2接続線の他方に流れる前記電流値が前記設定値以下の場合、前記他方に接続される前記メインCPU、又は前記サブCPUを用いて運転を継続する。 That is, the vehicle control device connects a microcomputer having a main CPU and a sub CPU, a power supply unit, a first connection line connecting the power supply unit and the main CPU, and the power supply unit and the sub CPU. And a current detection unit that detects a current value flowing through the first connection line and a current value flowing through the second connection line. In the macro computer, the current value flowing through one of the first connection line and the second connection line is larger than a set value, and the current value flowing through the other of the first connection line and the second connection line is When it is less than the set value, the main CPU or the sub CPU connected to the other is used to continue the operation.

本発明に係る車両制御装置によれば、CPUの異常発生時においても、故障していない正常なCPUを有効利用して、運転性能を維持することが可能である。 According to the vehicle control device of the present invention, it is possible to maintain the driving performance by effectively utilizing the normal CPU that has not failed even when an abnormality occurs in the CPU.

実施例1に係る車両制御装置システムを示す図である。FIG. 1 is a diagram showing a vehicle control device system according to a first embodiment. マイクロコンピュータの概念的な構成例を示す図である。It is a figure which shows the conceptual structural example of a microcomputer. 電源供給部の概念的な構成例を示す図である。It is a figure which shows the conceptual structural example of a power supply part. 電流測定部の構成を説明するための図である。It is a figure for demonstrating the structure of a current measuring part. リーク電流の増加を説明するための図である。It is a figure for demonstrating the increase of a leak current. リーク電流の増加分の補正方法を説明するための図である。It is a figure for demonstrating the correction method of the increase of the leak current. ROM114、ROM124のアドレス空間の構成例を示す図である。It is a figure which shows the structural example of the address space of ROM114 and ROM124. 実施例1に係る故障ポテンシャル診断手順の一例を示すフローチャートである。5 is a flowchart showing an example of a failure potential diagnosis procedure according to the first embodiment. 実施例1に係る故障ポテンシャル診断手順の一例を示すフローチャートである。5 is a flowchart showing an example of a failure potential diagnosis procedure according to the first embodiment. 実施例1に係る故障ポテンシャル診断の実施タイミングを説明する図である。FIG. 6 is a diagram illustrating a timing of performing a failure potential diagnosis according to the first embodiment. 変形例1に係る故障ポテンシャル診断の実施タイミングを説明する図である。FIG. 8 is a diagram illustrating a timing of performing a failure potential diagnosis according to Modification Example 1. 変形例2に係る故障ポテンシャル診断の実施タイミングを説明する図である。It is a figure explaining the implementation timing of the failure potential diagnosis which concerns on the modification 2. 変形例3に係る故障ポテンシャル診断の実施タイミングを説明する図である。It is a figure explaining the implementation timing of the failure potential diagnosis which concerns on the modification 3. 実施例1に係る制御手順を説明する図である。FIG. 6 is a diagram illustrating a control procedure according to the first embodiment. 実施例2に係る車両制御装置システムを示す図である。It is a figure which shows the vehicle control apparatus system which concerns on Example 2. 実施例2に係る制御手順を説明する図である。FIG. 8 is a diagram illustrating a control procedure according to the second embodiment. 実施例2に係る制御タスクの割り当て変更の一例を説明する図である。FIG. 11 is a diagram illustrating an example of changing control task allocation according to the second embodiment. 実施例3に係る車両制御装置システムを示す図である。It is a figure which shows the vehicle control apparatus system which concerns on Example 3. 実施例3に係る制御手順を説明する図である。FIG. 8 is a diagram illustrating a control procedure according to a third embodiment.

以下、本発明の課題について、詳細に説明する。 Hereinafter, the problems of the present invention will be described in detail.

車両制御装置のマイクロコンピュータが備えるCPUは、半導体製造工程において混入した異物により隣接するトランジスタや配線がショートすることや、長期使用によるトランジスタ劣化不良などが原因となって、車両制御装置の動作状態によらずに故障する可能性がある。 The CPU provided in the microcomputer of the vehicle control device may cause an operation state of the vehicle control device to be deteriorated due to short-circuiting of adjacent transistors and wiring due to foreign substances mixed in the semiconductor manufacturing process or transistor deterioration due to long-term use. There is a possibility of failure without depending.

一般的に知られているCPUの故障モードとしては、例えば、以下のものがある。これらの故障モードが1つでも発生した場合、故障したCPUは正しく演算処理を実行することが不可能となる。
(故障その1)CPU内部の演算回路出力が「0」または「1」に固定される。
(故障その2)CPU内部の演算回路出力が本来の正しい演算結果と異なる結果を示す。
Commonly known CPU failure modes include, for example, the following. When even one of these failure modes occurs, the failed CPU cannot execute the arithmetic processing correctly.
(Fault 1) The arithmetic circuit output inside the CPU is fixed to "0" or "1".
(Fault 2) The output of the arithmetic circuit inside the CPU is different from the original correct arithmetic result.

一般的なCPU故障診断方法は、CPUを構成するトランジスタが完全に故障し、CPU演算結果が本来あるべき演算結果と異なる値を出力するように至った場合は、CPUの故障を検知することができる。言い換えると、一般的なCPU故障診断方法は、CPUが完全に故障した状態でないと、CPUの故障と判断できないという課題がある。 A general CPU failure diagnosis method can detect a failure of the CPU when a transistor forming the CPU completely fails and the CPU operation result outputs a value different from the originally expected operation result. it can. In other words, the general CPU failure diagnosis method has a problem that it cannot be determined that the CPU is in failure unless the CPU is completely in failure.

従って、CPUが完全に故障する前の不安定な状態や、CPU故障診断においてCPU故障が確定する前の状態においては、CPUの出力結果は通常時と同様に使用されるため、CPUの誤演算結果が使用される恐れがある。例えば、アクチュエータに誤指示をする、また、他ユニットに誤情報を送信するなどにより、車両が意図しない挙動となるリスクがある。また、一般的なCPU故障診断方法でCPU故障状態を診断した場合、車両が安全な状態となるようなフェールセーフ制御が実施され、一般的には車両の運転性能が低下した状態となる、または車両が走行できない状態となる。 Therefore, in the unstable state before the CPU completely fails, or in the state before the CPU failure is determined in the CPU failure diagnosis, the output result of the CPU is used in the same manner as the normal time, so that the CPU miscalculates. Results may be used. For example, there is a risk that the vehicle will behave unintentionally by giving an erroneous instruction to the actuator or sending erroneous information to another unit. Further, when a CPU failure state is diagnosed by a general CPU failure diagnosis method, fail-safe control is performed so that the vehicle is in a safe state, and generally the driving performance of the vehicle is lowered, or The vehicle cannot run.

また、一般的なCPU故障診断方法は、完全に故障していないものの、将来、故障となるポテンシャルを持つCPUの検出はできないという課題がある。 In addition, a general CPU failure diagnosis method has a problem that a CPU having a potential to become a failure in the future cannot be detected although it is not completely failed.

CPUを構成するトランジスタに異物が付着し、それが何らかの原因で移動し、隣接するトランジスタ間に異物が付着すると、その隣接するトランジスタが短絡し、CPUの故障を引き起こす場合がある。ただし、トランジスタ間の短絡状態によっては、短絡によって生じる電位変動が判定閾値に至らない程度にとどまる場合がある。この場合、トランジスタ間に短絡故障が生じていたとしても、一般的なCPU故障診断方法では、このような故障を検出することは困難である。同様の現象はトランジスタの経年劣化によっても発生することが知られている。 If a foreign substance adheres to a transistor forming a CPU and moves due to some cause, and the foreign substance adheres between adjacent transistors, the adjacent transistors may be short-circuited, causing a failure of the CPU. However, depending on the short-circuit state between the transistors, there are cases where the potential fluctuation caused by the short-circuit does not reach the determination threshold. In this case, even if a short-circuit failure has occurred between the transistors, it is difficult to detect such a failure with a general CPU failure diagnosis method. It is known that a similar phenomenon occurs due to aged deterioration of a transistor.

このようなトランジスタの短絡故障を放置すると、短絡状態が進行し、トランジスタ間が完全に短絡し、CPUの故障として診断されることになると想定される。このように、将来CPUの故障として顕出する潜在的な故障ポテンシャルは、できる限り早い時点で検出することが望ましい。 If such a short-circuit fault of the transistor is left as it is, it is assumed that the short-circuit state progresses, the transistors are completely short-circuited, and the CPU is diagnosed as a fault. As described above, it is desirable to detect a potential failure potential that will appear as a failure of the CPU in the future, as early as possible.

また、一般的なCPU故障診断方法は、複数のCPUを使用し、同じ入力信号を与えたときの出力値を比較するロックステップ方式により故障を診断している。このロックステップ方式の場合、どちらかのCPUに故障が発生しても検知することは可能であるが、どちらのCPUが故障したかを検知することは困難であるという課題がある。 Further, a general CPU failure diagnosis method uses a plurality of CPUs and diagnoses a failure by a lock-step method in which output values when the same input signal is applied are compared. In the case of this lockstep method, it is possible to detect even if a failure occurs in either CPU, but there is a problem that it is difficult to detect which CPU has failed.

同様に、複数のマイクロコンピュータを使用してお互いに情報を送受信して、情報の中身から診断するマイクロコンピュータの相互監視方法においても、CPU故障により送信情報が破壊される、または、受信情報を誤演算するなどの故障が存在するため、どちらのCPUが故障したかを判断することは困難である。 Similarly, in a mutual monitoring method for microcomputers that transmits and receives information to and from each other using a plurality of microcomputers and diagnoses the contents of the information, the transmitted information is destroyed due to a CPU failure, or the received information is erroneously received. Since there is a failure such as calculation, it is difficult to determine which CPU has failed.

上記のように、一般的なCPU故障診断では、故障したCPUを特定することが困難である。また、一般的には、複数のCPUのうち1つでもCPU故障を検知した場合は、フェールセーフ処理に移行する方式を取る。つまり、故障していないマイクロコンピュータまたはCPUを有しているにも関わらず、フェールセーフ処理に移行するため、車両全体としては通常走行できるポテンシャルを残しているにも関わらず、運転性能を低下させてしまっているのが現状である。 As described above, it is difficult to identify the faulty CPU by general CPU fault diagnosis. Further, generally, when even one of the plurality of CPUs detects a CPU failure, a method of shifting to a fail-safe process is adopted. In other words, even though the microcomputer or the CPU is not in failure, the process shifts to the fail-safe process, so that the driving performance is deteriorated even though the vehicle as a whole has the potential to run normally. This is the current situation.

<実施形態>
次に、本発明の実施形態について説明する。
<Embodiment>
Next, an embodiment of the present invention will be described.

本発明の実施形態では、マイクロコンピュータに内蔵されるCPUにおいて、製造時に混入した異物や経年劣化よって生じるCPUの故障ポテンシャルを判断することにより、CPUの故障を、できる限り早期の段階で検出することができる。また、CPUの故障発生時、または、CPUの異常発生時において、故障していない正常なCPUを特定することが可能であり、故障していない正常なCPUを有効利用することで、運転性能を維持可能な車両制御装置(100)を提供することが出来る。 In the embodiment of the present invention, in the CPU built in the microcomputer, the failure of the CPU is detected at the earliest possible stage by determining the failure potential of the CPU caused by foreign matter mixed in during manufacturing or deterioration over time. You can In addition, when a CPU failure occurs or when a CPU abnormality occurs, it is possible to identify a normal CPU that has not failed, and by effectively using a normal CPU that has not failed, operating performance can be improved. A maintainable vehicle controller (100) can be provided.

本発明の実施形態において、CPU(111、112、121、122)は、CPUの故障の原因となるトランジスタの短絡や経年劣化によって、CPUに電源を供給している電源供給ライン(接続線:L1、L2、L3、L4)を流れる電流(リーク電流)が増加していく特徴に着目する。CPUのリーク電流の値を電流測定部(電流検出部:150、160、152、162)を利用して検出および測定し、測定されたリーク電流の値ないし量からトランジスタの劣化状態を判断することができる。つまり、CPUの故障ポテンシャルを判断することができる。 In the embodiment of the present invention, the CPU (111, 112, 121, 122) supplies power to the CPU due to a short circuit of a transistor that causes a failure of the CPU or deterioration over time (connection line: L1). , L2, L3, L4), the current (leakage current) flowing increases. To detect and measure the leak current value of the CPU using a current measuring unit (current detecting unit: 150, 160, 152, 162), and determine the deterioration state of the transistor from the measured leak current value or amount. You can That is, the failure potential of the CPU can be determined.

ただし、CPUが駆動状態のときにおいて、CPUの電源供給ラインを流れる電流はCPUのリーク電流成分とCPUの駆動電流成分とを含んでおり、ここからCPUの駆動電流成分を除いて、CPUのリーク電流成分のみを測定する必要がある。ここで、CPUの動作状態を、CPUが駆動していない状態(非演算状態)、いわゆる、スタンバイ状態とすると、CPUの駆動電流成分をゼロとすることが可能である。さらに、スタンバイ状態のCPUとは別に、駆動状態のCPUを用いて、スタンバイ状態のCPUに流れる電流を測定する。この電流を故障ポテンシャル診断用のCPUリーク電流(Ileak2)として扱う。このように、故障ポテンシャル診断のために、被測定CPUをスタンバイ状態とし、測定用CPUを駆動状態とする。 However, when the CPU is in a driving state, the current flowing through the power supply line of the CPU includes a CPU leakage current component and a CPU driving current component. Only the current component needs to be measured. Here, when the operating state of the CPU is a state in which the CPU is not driven (non-calculation state), that is, a so-called standby state, the drive current component of the CPU can be zero. Further, the current flowing through the CPU in the standby state is measured by using the CPU in the driven state separately from the CPU in the standby state. This current is treated as a CPU leak current (Ileak2) for failure potential diagnosis. In this way, the CPU to be measured is placed in the standby state and the measurement CPU is placed in the driven state for the failure potential diagnosis.

さらに、故障ポテンシャル診断用のCPUリーク電流(Ileak2)は、マイクロコンピュータまたはCPUの製造ばらつきと、マイクロコンピュータまたはCPUの温度変化によるばらつきを含んでいるため、これらリーク電流のばらつき要素を排除して、トランジスタ劣化によるCPUリーク電流の増加分のみを抽出する必要がある。このため、測定した故障ポテンシャル診断用のCPUリーク電流の値の補正が必要となる。マイクロコンピュータまたはCPUの製造ばらつきによるリーク電流ばらつきの補正と、温度変化によるリーク電流ばらつきの2つを補正する。 Further, since the CPU leak current (Ileak2) for fault potential diagnosis includes the manufacturing variation of the microcomputer or the CPU and the variation due to the temperature change of the microcomputer or the CPU, these variation elements of the leak current are eliminated, It is necessary to extract only the increase in CPU leakage current due to transistor deterioration. Therefore, it is necessary to correct the measured CPU leak current value for failure potential diagnosis. Two of the leakage current variation due to the manufacturing variation of the microcomputer or the CPU and the leakage current variation due to the temperature change are corrected.

マイクロコンピュータまたはCPUの製造ばらつきによるリーク電流ばらつきを補正する方法として、マイクロコンピュータまたはCPU製造時に故障ポテンシャル診断用のCPUリーク電流値(Ileak1)を計測し、マイクロコンピュータの記憶領域(ROM:114、124)にCPU製造時のリーク電流値として記憶させる。現在の故障ポテンシャル診断用のCPUリーク電流値(Ileak2)からマイクロコンピュータまたはCPU製造時のリーク電流値(Ileak1)を減算することで、マイクロコンピュータまたはCPU製造時から現在に至るまでのリーク電流の増加分(ΔIleak)を抽出することができる。これを温度補正前のCPUリーク電流の増加量とする。また、故障ポテンシャル診断用のCPUリーク電流値(Ileak1)は、マイクロコンピュータまたはCPUの製造時でなく、車両制御装置の製造時に故障ポテンシャル診断用のCPUリーク電流を計測し、記憶してもよい。 As a method of correcting the leakage current variation due to the manufacturing variation of the microcomputer or CPU, the CPU leakage current value (Ileak1) for failure potential diagnosis is measured at the time of manufacturing the microcomputer or CPU, and the storage area (ROM: 114, 124) of the microcomputer is measured. ) Is stored as a leak current value when the CPU is manufactured. By subtracting the leak current value (Ileak1) at the time of manufacturing the microcomputer or CPU from the current CPU leak current value (Ileak2) for failure potential diagnosis, the increase of the leak current from the time of manufacturing the microcomputer or CPU to the present Minutes (ΔIleak) can be extracted. This is the amount of increase in the CPU leak current before temperature correction. Further, the CPU leak current value for fault potential diagnosis (Ileak1) may be measured and stored as the CPU leak current for fault potential diagnosis at the time of manufacturing the vehicle control device, not at the time of manufacturing the microcomputer or the CPU.

次に、温度によるリーク電流の変化を補正する。一般的にCPUのリーク電流とCPUの温度は相関関係をもつことが知られている。よって、あらかじめCPUの温度とCPUのリーク電流の相関マップ(TCM)を用意することができる。マイクロコンピュータまたはCPUの温度は、マイクロコンピュータに内蔵している温度センサ(TSEN:115,125)により測定することができる。若しくは、車両用制御装置(1)の基板上に配した温度センサからの温度情報から推定しても良い。測定したCPUの温度と、CPUリーク電流温度変化マップ(TCM)から、温度によるCPUリーク電流の変化量を算出することができる。 Next, the change in leak current due to temperature is corrected. It is generally known that the CPU leakage current and the CPU temperature have a correlation. Therefore, a correlation map (TCM) of the CPU temperature and the CPU leakage current can be prepared in advance. The temperature of the microcomputer or the CPU can be measured by a temperature sensor (TSEN:115, 125) built in the microcomputer. Alternatively, it may be estimated from temperature information from a temperature sensor arranged on the substrate of the vehicle control device (1). From the measured CPU temperature and the CPU leak current temperature change map (TCM), the change amount of the CPU leak current due to the temperature can be calculated.

前記温度補正前のCPUリーク電流増加量(ΔIleak)と前記温度によるCPUリーク電流変化量(Icv)を用いて、温度補正後のCPUリーク電流増加量(ΔIleakc)を算出することができる。前記温度補正後のCPUリーク電流の増加量(ΔIleakc)が、あらかじめ規定した故障ポテンシャルを有すると判断する電流の増加量の判定閾値(TH)よりも大きいとき、CPUは、完全に故障していないものの、将来、故障となるポテンシャルを有していると判断できる。判定閾値は、設定値ないし所定値と見做すことが出来る。 The CPU leak current increase amount (ΔIleakc) after temperature correction can be calculated using the CPU leak current increase amount (ΔIleak) before temperature correction and the CPU leak current change amount (Icv) depending on the temperature. When the increase amount (ΔIleakc) of the CPU leak current after the temperature correction is larger than the determination threshold value (TH) of the increase amount of the current which is determined to have the failure potential defined in advance, the CPU is not completely failed. However, it can be judged that there is a potential for failure in the future. The determination threshold can be regarded as a set value or a predetermined value.

リーク電流の測定とCPU故障ポテンシャル診断は任意のタイミングで実施することができるが、少なくとも1つのCPUをスタンバイ状態とするために、車両制御装置の起動時またはシャットダウン時に実施することが有効である。また、起動時毎やシャットダウン毎に、診断するCPUの組み合わせを変えてもよい(図9A、図9B,図9C,図9D)。 The leak current measurement and the CPU failure potential diagnosis can be carried out at arbitrary timings, but it is effective to carry out at the time of starting or shutting down the vehicle control device in order to put at least one CPU in the standby state. Further, the combination of CPUs to be diagnosed may be changed each time the system is started up or every time it is shut down (FIGS. 9A, 9B, 9C, 9D).

実施形態に係る車両制御装置によれば、現時点ではCPUは正常に演算できるが将来的に故障する可能性がある状態を早期の段階で検出することができる。 According to the vehicle control device according to the embodiment, the CPU can normally perform calculation at the present time, but can detect a state in which there is a possibility of failure in the future at an early stage.

前述の通り、複数のマイクロコンピュータや複数のCPUを使用して故障を検知しているが、故障発生したことは検知可能であるが、故障したCPUを特定することができなかった。そのため、CPU故障発生時は、他に正常なCPUがあったとしても車両制御を縮退させて、車両制御用アクチュエータを停止させるなどのフェールセーフ処理が一般的に実行される。 As described above, although a failure is detected using a plurality of microcomputers and a plurality of CPUs, it is possible to detect that a failure has occurred, but the failed CPU could not be specified. Therefore, when a CPU failure occurs, a fail-safe process is generally executed such that the vehicle control is degenerated and the vehicle control actuator is stopped even if there is another normal CPU.

一方、実施形態によれば、CPUの故障ポテンシャル診断の結果から、故障したCPUを特定することができるので、CPUの故障発生時において、故障していない正常なCPUを使って、車両制御を縮退させることなく、車両の走行性能を維持することができる。 On the other hand, according to the embodiment, it is possible to identify the failed CPU from the result of the failure potential diagnosis of the CPU. Therefore, when the failure of the CPU occurs, the vehicle control is degenerated by using the normal CPU that has not failed. It is possible to maintain the running performance of the vehicle without causing it.

また、実施形態によれば、故障ポテンシャルが高いCPUが完全に故障する前に、故障ポテンシャルが高いCPUが受け持つ演算制御を他CPUに譲渡し、車両制御装置が持つ機能を縮退させることなく、自動車運転者にCPU故障を通知することができるため、安全かつスムーズに自動車を修理するための移動を行うことができる。 Further, according to the embodiment, before the CPU having the high failure potential completely fails, the arithmetic control which the CPU having the high failure potential transfers is transferred to another CPU without degrading the function of the vehicle control device. Since the driver can be notified of the CPU failure, it is possible to safely and smoothly move to repair the automobile.

また、実施形態によれば、CPUが完全に故障したとき、故障を検知するまでの故障検知ディレイ時間においても、正常なCPUを使用できるため、本来の運転性能を犠牲にすることが無く、エンジンやトランスミッション等のアクチュエータが急停止や誤作動し、車両が意図しない挙動をすることを防ぐことができる。 Further, according to the embodiment, when the CPU completely fails, the normal CPU can be used even during the failure detection delay time until the failure is detected, so that the original driving performance is not sacrificed and the engine is not sacrificed. It is possible to prevent an unintended behavior of the vehicle due to sudden stop or malfunction of an actuator such as a transmission or a transmission.

また、実施形態によれば、CPUが完全に故障する前に、あらかじめ故障ポテンシャルの高いCPUで演算するタスクを縮退させてCPU演算負荷を下げることで、CPUが完全に故障するまでの期間を延長することができる。 Further, according to the embodiment, before the CPU completely fails, the task to be calculated by the CPU having a high failure potential is degenerated in advance to reduce the CPU calculation load, thereby extending the period until the CPU completely fails. can do.

以下、実施例について、図面を用いて説明する。ただし、以下の説明において、同一構成要素には同一符号を付し繰り返しの説明を省略することがある。なお、図面は説明をより明確にするため、実際の態様に比べ、模式的に表される場合があるが、あくまで一例であって、本発明の解釈を限定するものではない。 Examples will be described below with reference to the drawings. However, in the following description, the same components may be assigned the same reference numerals and repeated description may be omitted. It should be noted that the drawings may be schematically illustrated in comparison with the actual embodiment for the sake of clarity, but they are merely examples and do not limit the interpretation of the present invention.

以下、実施例1について、図面を用いて説明する。 Hereinafter, Embodiment 1 will be described with reference to the drawings.

(車両制御装置システムの構成)
図1は、実施例1に係る車両制御装置システムを示す図である。車両制御装置システム1は、電子制御装置(ECU:Electronic Control Unit)である車両制御装置100を有する。車両制御装置100は、車両が搭載する車載機器(例えば、自動変速機、エンジンなど)を電子的に制御する装置である。車両制御装置100は、メインマイクロコンピュータ(MMC)110、サブマイクロコンピュータ(SMC)120、メイン電源部(MPSP)130、サブ電源部(SPSP)140、メインCPU電流測定部(MCM)150,152、サブCPU電流測定部(SMCM)160,162、温度センサ170、を備える。メインマイクロコンピュータ(MMC)110は第1マイクロコンピュータと、サブマイクロコンピュータ(SMC)120は第2マイクロコンピュータと、いうこともできる。
(Vehicle control device system configuration)
FIG. 1 is a diagram illustrating a vehicle control device system according to a first embodiment. The vehicle control device system 1 includes a vehicle control device 100 which is an electronic control unit (ECU: Electronic Control Unit). The vehicle control device 100 is a device that electronically controls an on-vehicle device (for example, an automatic transmission, an engine, etc.) mounted on a vehicle. The vehicle control device 100 includes a main microcomputer (MMC) 110, a sub microcomputer (SMC) 120, a main power supply unit (MPSP) 130, a sub power supply unit (SPSP) 140, main CPU current measurement units (MCM) 150 and 152, Sub CPU current measurement units (SMCM) 160, 162 and a temperature sensor 170 are provided. It can be said that the main microcomputer (MMC) 110 is a first microcomputer and the sub microcomputer (SMC) 120 is a second microcomputer.

メインマイクロコンピュータ110は、車両が搭載する車載機器を制御するマイクロコンピュータまたはマイクロコントローラである。メインマイクロコンピュータ110は、例えばアクチュエータ(ACU)202を制御することによって車載機器を制御する。また、表示装置(DISP)203を介してメッセージを表示することができる。メッセージは、例えば文字や画像などのメッセージ、ランプ点灯による通知など、任意の形態のものを用いることができる。 The main microcomputer 110 is a microcomputer or a microcontroller that controls an in-vehicle device mounted on the vehicle. The main microcomputer 110 controls the vehicle-mounted device by controlling the actuator (ACU) 202, for example. Also, a message can be displayed via the display device (DISP) 203. As the message, for example, a message such as a character or an image, a notification by lighting a lamp, or the like can be used in any form.

メインマイクロコンピュータ(MMC)110は、半導体集積回路装置であり、例えば、公知のCMOS半導体製造技術により、複数のCMOSトランジスタを単結晶シリコンの様な半導体チップ上に形成することにより、形成されている。メインマイクロコンピュータ(MMC)110は、メインCPU(MCPU:第1CPU)111、サブCPU(SCPU:第2CPU)112、揮発性メモリであるRAM(Random Access Memory)113、不揮発性メモリであるROM(Read Only Memory)114、メインマイクロコンピュータ110の温度を測定可能な温度センサ(TSEN)115、比較器(COMP)116、アナログデジタル変換回路(ADC)117、を備える。メインCPU111とサブCPU112は、車載機器を制御するために必要な制御演算を実施する演算装置である。RAM113は、メインCPU111とサブCPU112が使用するデータを一時的に格納する。ROM114は、メインCPU111とサブCPU112が実行する制御プログラムや、後述される診断処理グログラムなどを格納し、また、メインCPU111とサブCPU112が演算した情報やサブマイクロコンピュータ120やその他の車載機器から受信した情報を記憶することができる。比較器116は、メインCPU111とサブCPU112に同じ入力情報を与え、メインCPU111とサブCPU112の出力結果を照合する。メインCPU111とサブCPU112に異常が無ければ、比較器116の照合結果は一致する。比較器116の照合結果が不一致のとき、メインCPU111またはサブCPU112の異常を検知することができる。この構成は、一般的なロックステップ方式である。 The main microcomputer (MMC) 110 is a semiconductor integrated circuit device, and is formed, for example, by forming a plurality of CMOS transistors on a semiconductor chip such as single crystal silicon by a known CMOS semiconductor manufacturing technique. .. The main microcomputer (MMC) 110 includes a main CPU (MCPU: first CPU) 111, a sub CPU (SCPU: second CPU) 112, a volatile memory RAM (Random Access Memory) 113, and a nonvolatile memory ROM (Read). An only memory 114, a temperature sensor (TSEN) 115 capable of measuring the temperature of the main microcomputer 110, a comparator (COMP) 116, and an analog-digital conversion circuit (ADC) 117 are provided. The main CPU 111 and the sub CPU 112 are arithmetic units that perform control arithmetic necessary for controlling the in-vehicle device. The RAM 113 temporarily stores data used by the main CPU 111 and the sub CPU 112. The ROM 114 stores a control program executed by the main CPU 111 and the sub CPU 112, a diagnostic processing program to be described later, and the like, and receives information calculated by the main CPU 111 and the sub CPU 112 and the sub microcomputer 120 and other vehicle-mounted devices. Information can be stored. The comparator 116 gives the same input information to the main CPU 111 and the sub CPU 112, and collates the output results of the main CPU 111 and the sub CPU 112. If there is no abnormality in the main CPU 111 and the sub CPU 112, the comparison result of the comparator 116 will match. When the comparison result of the comparator 116 does not match, the abnormality of the main CPU 111 or the sub CPU 112 can be detected. This configuration is a general lockstep method.

メインCPU111とメイン電源部130との間に設けられた電源供給ライン(第1接続線)L1は、メインCPU111の駆動電流を測定するメイン電流測定部(電流検出部)150を備える。サブCPU112とメイン電源部130との間に設けられた電源供給ライン(第2接続線)L2は、サブCPU112の駆動電流を測定するサブ電流測定部(電流検出部)160を備える。後述されるサブマイクロコンピュータ120のアナログデジタル変換回路(ADC)127は、メイン電流測定部150とサブ電流測定部160と、計測用配線LM1,LM2を介して接続され、電源供給ライン(第1、第2接続線)L1,L2に流れるメインCPU111およびサブCPU112の駆動電流の電流値を測定する。 The power supply line (first connection line) L1 provided between the main CPU 111 and the main power supply unit 130 includes a main current measurement unit (current detection unit) 150 that measures the drive current of the main CPU 111. The power supply line (second connection line) L2 provided between the sub CPU 112 and the main power supply unit 130 includes a sub current measurement unit (current detection unit) 160 that measures the drive current of the sub CPU 112. An analog-to-digital conversion circuit (ADC) 127 of the sub-microcomputer 120, which will be described later, is connected to the main current measuring unit 150 and the sub-current measuring unit 160 via measurement wirings LM1 and LM2, and a power supply line (first, Second connection line) The current values of the drive currents of the main CPU 111 and the sub CPU 112 flowing in L1 and L2 are measured.

サブマイクロコンピュータ120は、メインマイクロコンピュータ110と同様の構成を備える。すなわち、サブマイクロコンピュータ(SMC)120は、半導体集積回路装置であり、例えば、公知のCMOS半導体製造技術により、複数のCMOSトランジスタを単結晶シリコンの様な半導体チップ上に形成することにより、形成されている。サブマイクロコンピュータ(SMC)120は、メインCPU(MCPU)121、サブCPU(SCPU)122、揮発性メモリであるRAM(Random Access Memory)123、不揮発性メモリであるROM(Read Only Memory)124、サブマイクロコンピュータ120の温度を測定可能な温度センサ(TSEN)125、比較器(COMP)126、アナログデジタル変換回路(ADC)127、を備える。メインCPU121とサブCPU122は、車載機器を制御するために必要な制御演算を実施する演算装置である。RAM123は、メインCPU121とサブCPU122が使用するデータを一時的に格納する。ROM124は、メインCPU121とサブCPU122が実行する制御プログラムや、後述される診断処理グログラムなどを格納し、また、メインCPU121とサブCPU122が演算した情報やメインマイクロコンピュータ110やその他の車載機器から受信した情報を記憶することができる。比較器126は、メインCPU121とサブCPU122に同じ入力情報を与え、メインCPU121とサブCPU122の出力結果を照合する。メインCPU121とサブCPU122に異常が無ければ比較器126の照合結果は一致する。比較器126の照合結果が不一致のとき、メインCPU121またはサブCPU122の異常を検知することができる。この構成は、一般的なロックステップ方式である。なお、サブマイクロコンピュータ120はメインマイクロコンピュータ110の機能異常を検知するのみに機能を限定してもよい。 The sub-microcomputer 120 has the same configuration as the main microcomputer 110. That is, the sub-microcomputer (SMC) 120 is a semiconductor integrated circuit device, and is formed by forming a plurality of CMOS transistors on a semiconductor chip such as single crystal silicon by a known CMOS semiconductor manufacturing technique, for example. ing. The sub-microcomputer (SMC) 120 includes a main CPU (MCPU) 121, a sub-CPU (SCPU) 122, a RAM (Random Access Memory) 123 that is a volatile memory, a ROM (Read Only Memory) 124 that is a non-volatile memory, and a sub-computer. A temperature sensor (TSEN) 125 capable of measuring the temperature of the microcomputer 120, a comparator (COMP) 126, and an analog-digital conversion circuit (ADC) 127 are provided. The main CPU 121 and the sub CPU 122 are arithmetic units that perform control arithmetic necessary for controlling the in-vehicle device. The RAM 123 temporarily stores data used by the main CPU 121 and the sub CPU 122. The ROM 124 stores a control program executed by the main CPU 121 and the sub CPU 122, a diagnostic processing program to be described later, and the like, and receives information calculated by the main CPU 121 and the sub CPU 122, the main microcomputer 110, and other in-vehicle devices. Information can be stored. The comparator 126 gives the same input information to the main CPU 121 and the sub CPU 122, and collates the output results of the main CPU 121 and the sub CPU 122. If there is no abnormality in the main CPU 121 and the sub CPU 122, the comparison result of the comparator 126 will match. When the comparison result of the comparator 126 does not match, the abnormality of the main CPU 121 or the sub CPU 122 can be detected. This configuration is a general lockstep method. The function of the sub-microcomputer 120 may be limited to only detecting the malfunction of the main microcomputer 110.

メインCPU121とサブ電源部140との間に設けられた電源供給ライン(第3接続線)L3は、メインCPU121の駆動電流を測定するメイン電流測定部(電流検出部)152を備える。サブCPU122とサブ電源部140との間に設けられた電源供給ライン(第4接続線)L4は、サブCPU122の駆動電流を測定するサブ電流測定部(電流検出部)162を備える。メインマイクロコンピュータ110のアナログデジタル変換回路(ADC)117は、メイン電流測定部152とサブ電流測定部162と、計測用配線LM3,LM4を介して接続され、電源供給ライン(第3、第4接続線)L3,L4に流れるメインCPU121およびサブCPU122の駆動電流の電流値を測定する。 The power supply line (third connection line) L3 provided between the main CPU 121 and the sub power supply unit 140 includes a main current measurement unit (current detection unit) 152 that measures the drive current of the main CPU 121. The power supply line (fourth connection line) L4 provided between the sub CPU 122 and the sub power supply unit 140 includes a sub current measurement unit (current detection unit) 162 that measures the drive current of the sub CPU 122. The analog-digital conversion circuit (ADC) 117 of the main microcomputer 110 is connected to the main current measuring unit 152 and the sub-current measuring unit 162 via the measurement wirings LM3 and LM4, and the power supply lines (third and fourth connection). Lines) The current values of the drive currents of the main CPU 121 and the sub CPU 122 flowing in L3 and L4 are measured.

サブマイクロコンピュータ120は、メイン電流測定部150とサブ電流測定部160からの電流値と温度センサ115からの温度情報を用いて、後述する手順により、メインマイクロコンピュータ110のメインCPU111およびサブCPU112の故障ポテンシャル診断を実施して、その診断結果をサブマイクロコンピュータ120のROM124等の記憶領域に格納する。サブマイクロコンピュータ120は、次回メインマイクロコンピュータ110の起動時に、診断結果の情報をメインマイクロコンピュータ110へ通知する。 The sub-microcomputer 120 uses the current values from the main current measuring unit 150 and the sub-current measuring unit 160 and the temperature information from the temperature sensor 115 to cause a failure of the main CPU 111 and the sub CPU 112 of the main microcomputer 110 according to the procedure described below. The potential diagnosis is performed, and the diagnosis result is stored in the storage area such as the ROM 124 of the sub-microcomputer 120. The sub-microcomputer 120 notifies the main microcomputer 110 of information on the diagnosis result when the main microcomputer 110 is activated next time.

一方、メインマイクロコンピュータ110は、メイン電流測定部152とサブ電流測定部162からの電流値と温度センサ125からの温度情報を用いて、後述する手順により、サブマイクロコンピュータ120のメインCPU121およびサブCPU122の故障ポテンシャル診断を実施して、その診断結果をメインマイクロコンピュータ110のROM114等の記憶領域に格納する。メインマイクロコンピュータ110は、次回サブマイクロコンピュータ120の起動時に、診断結果の情報をサブマイクロコンピュータ120へ通知する。 On the other hand, the main microcomputer 110 uses the current values from the main current measuring unit 152 and the sub-current measuring unit 162 and the temperature information from the temperature sensor 125 to perform a procedure to be described later, according to a procedure to be described later. The failure potential diagnosis is performed and the diagnosis result is stored in the storage area such as the ROM 114 of the main microcomputer 110. The main microcomputer 110 notifies the sub-microcomputer 120 of the diagnostic result information when the sub-microcomputer 120 is activated next time.

このように、サブマイクロコンピュータ120がメインマイクロコンピュータ110の故障ポテンシャル診断を実施し、メインマイクロコンピュータ110がサブマイクロコンピュータ120の故障ポテンシャル診断を実施する。この理由は、前述の通り、CPUが駆動状態ではCPUのリーク電流とCPUの駆動電流を切り分けることができないため、CPUが駆動していない状態、いわゆるCPUスタンバイ状態とし、さらに別の通常駆動中のマイクロコンピュータがスタンバイ状態のCPUの駆動電流を測定することで、CPUのリーク電流を正確に測定することを可能とするためである。 In this way, the sub-microcomputer 120 carries out the failure potential diagnosis of the main microcomputer 110, and the main microcomputer 110 carries out the failure potential diagnosis of the sub-microcomputer 120. The reason for this is that, as described above, the CPU leakage current and the CPU driving current cannot be separated when the CPU is in a driving state, so that the CPU is not driven, that is, a so-called CPU standby state. This is because the microcomputer measures the drive current of the CPU in the standby state so that the leak current of the CPU can be accurately measured.

車両制御装置100は、車両が搭載するバッテリ201から電力の供給を受ける。メイン電源部130は、バッテリ201から受け取った電圧を昇圧ないし降圧し、メインマイクロコンピュータ110に対して供給する。サブ電源部140も同様に、バッテリ201から受け取った電圧を昇圧ないし降圧し、サブマイクロコンピュータ120に対して供給する。メイン電源部130およびサブ電源部140は、電源信号(PS)200の受信に従って、メインマイクロコンピュータ110およびサブマイクロコンピュータ120のそれぞれへの電力供給を開始するように構成されている。 The vehicle control device 100 receives power supply from a battery 201 mounted on the vehicle. The main power supply unit 130 steps up or down the voltage received from the battery 201 and supplies it to the main microcomputer 110. Similarly, the sub power supply unit 140 steps up or down the voltage received from the battery 201 and supplies it to the sub microcomputer 120. The main power supply unit 130 and the sub power supply unit 140 are configured to start power supply to the main microcomputer 110 and the sub microcomputer 120, respectively, in response to the reception of the power supply signal (PS) 200.

メイン電源部130は、メインCPU111、サブCPU112、RAM113、ROM114のそれぞれに対して個別に電力を供給するように、内部的に回路が切り分けられている。これは、メインCPU111、サブCPU112に対して供給する駆動電流がRAM113やROM114の電流変動によって受ける影響を抑制するためである。また、サブメイン電源部140も同様に、メインCPU121、サブCPU122、RAM123、ROM124のそれぞれに対して個別に電力を供給するように、内部的に回路が切り分けられている。これは、メインCPU121、サブCPU122に対して供給する駆動電流がRAM123やROM124の電流変動によって受ける影響を抑制するためである。メイン電源部130およびサブメイン電源部140の構成は、図3を用いて、後で説明される。 The main power supply unit 130 is internally divided into circuits so as to individually supply power to the main CPU 111, the sub CPU 112, the RAM 113, and the ROM 114. This is to suppress the influence of the current fluctuations of the RAM 113 and the ROM 114 on the drive current supplied to the main CPU 111 and the sub CPU 112. Similarly, the sub main power supply unit 140 is also internally divided into circuits so as to individually supply electric power to the main CPU 121, the sub CPU 122, the RAM 123, and the ROM 124. This is to suppress the influence of the current fluctuations of the RAM 123 and the ROM 124 on the drive current supplied to the main CPU 121 and the sub CPU 122. The configurations of the main power supply unit 130 and the sub-main power supply unit 140 will be described later with reference to FIG.

(マイクロコンピュータの構成)
図2は、マイクロコンピュータMCの概念的な構成例を示す図である。マイクロコンピュータMCは、メインマイクロコンピュータ110およびメインマイクロコンピュータ120の構成を示している。マイクロコンピュータMCは、メインCPU(MCPU:111,121)、サブCPU(SCPU:112,121)、RAM(113,123)、ROM(114、124)および周辺回路PERIを含み、バスBUSにより相互に接続されている。周辺回路PERIは、例えば、温度センサTSEN(115,125),比較部COMP(116,126)、アナログデジタル変換回路ADC(117,127)、コントロールエリアネットワーク(Controller Area Network)インターフェイスCANIF、および、信号入出力ポートIOP等を有する。
(Microcomputer configuration)
FIG. 2 is a diagram showing a conceptual configuration example of the microcomputer MC. The microcomputer MC shows the configuration of the main microcomputer 110 and the main microcomputer 120. The microcomputer MC includes a main CPU (MCPU: 111, 121), a sub CPU (SCPU: 112, 121), a RAM (113, 123), a ROM (114, 124) and a peripheral circuit PERI, and they are mutually connected by a bus BUS. It is connected. The peripheral circuit PERI includes, for example, a temperature sensor TSEN (115, 125), a comparison unit COMP (116, 126), an analog-digital conversion circuit ADC (117, 127), a control area network (Controller Area Network) interface CANIF, and a signal. It has an input/output port IOP and the like.

マイクロコンピュータMCは、MCPUへ電源電圧Vdd1を供給するための外部端子VDD1,SCPUへ電源電圧Vdd2を供給するための外部端子VDD2、RAMへ電源電圧Vdd3を供給するための外部端子VDD3、ROMへ電源電圧Vdd4を供給するための外部端子VDD4、および、例えば、0(ゼロ)ボルトの様な接地電圧または基準電圧Vssが供給される基準電位端子VSSを有する。マイクロコンピュータMCは、さらに、アナログデジタル変換回路ADCへアナログ用電源電圧Avddおよびアナログ用基準電圧Avssを供給ための外部端子AVDDおよびAVSS、温度センサTSEN、比較部COMP、CANIFや信号入出力ポートIOP等の周辺回路PERIへ電源電圧Vdd5を供給するための外部端子VDD5等を有する。電源電圧Vdd1、Vdd2,Vdd3,Vdd4,Vdd5は、それぞれ異なる電源電圧とすることが出来る。 The microcomputer MC has an external terminal VDD1 for supplying the power supply voltage Vdd1 to the MCPU, an external terminal VDD2 for supplying the power supply voltage Vdd2 to the SCPU, an external terminal VDD3 for supplying the power supply voltage Vdd3 to the RAM, and a power supply to the ROM. It has an external terminal VDD4 for supplying a voltage Vdd4, and a reference potential terminal VSS to which a ground voltage such as 0 (zero) volt or a reference voltage Vss is supplied. The microcomputer MC further includes external terminals AVDD and AVSS for supplying the analog power supply voltage Avdd and the analog reference voltage Avss to the analog-digital conversion circuit ADC, the temperature sensor TSEN, the comparators COMP, CANIF, the signal input/output port IOP, and the like. It has an external terminal VDD5 and the like for supplying the power supply voltage Vdd5 to the peripheral circuit PERI. The power supply voltages Vdd1, Vdd2, Vdd3, Vdd4, and Vdd5 can be different power supply voltages.

図2に示されるように、アナログデジタル変換回路ADCは、アナログ信号入力端子AN0,AN1、AN2,AN3を有している。マイクロコンピュータMCが、メインマイクロコンピュータ110とされる場合、アナログ信号入力端子AN0,AN1は、LM3を介して、MCM152に接続され、アナログ信号入力端子AN2,AN3は、LM4を介して、SCM162に接続される。また、マイクロコンピュータMCが、メインマイクロコンピュータ120とされる場合、アナログ信号入力端子AN0,AN1は、LM1を介して、MCM150に接続され、アナログ信号入力端子AN2,AN3は、LM2を介して、SCM160に接続される。なお、アナログデジタル変換回路ADCは、アナログ信号入力端子AN0,AN1、AN2,AN3の他に、アナログ信号入力端子AN4−ANnを有してもよい。アナログ信号入力端子AN4−ANnは、他のアナログセンサ等の出力と接続することが可能である。 As shown in FIG. 2, the analog-digital conversion circuit ADC has analog signal input terminals AN0, AN1, AN2, AN3. When the microcomputer MC is the main microcomputer 110, the analog signal input terminals AN0 and AN1 are connected to the MCM152 via the LM3, and the analog signal input terminals AN2 and AN3 are connected to the SCM162 via the LM4. To be done. When the microcomputer MC is the main microcomputer 120, the analog signal input terminals AN0 and AN1 are connected to the MCM150 via LM1, and the analog signal input terminals AN2 and AN3 are connected to the SCM160 via LM2. Connected to. The analog-digital conversion circuit ADC may have analog signal input terminals AN4-ANn in addition to the analog signal input terminals AN0, AN1, AN2, AN3. The analog signal input terminals AN4-ANn can be connected to the outputs of other analog sensors or the like.

また、CANIFは、CANバスに接続することが可能な入出力端子CAN0を有する。CANバスには、CANプロトコルに基づくCAN通信が可能な電動パワーステリングEPSや他の電子制御ユニット(ECU)などを接続することが可能である。信号入出力ポートIOPは、デジタル信号の入出力を可能とするポート端子PD0−PDNを有する。 The CANIF also has an input/output terminal CAN0 that can be connected to the CAN bus. An electric power steering EPS or other electronic control unit (ECU) capable of CAN communication based on the CAN protocol can be connected to the CAN bus. The signal input/output port IOP has port terminals PD0-PDN that enable input/output of digital signals.

(電源供給部の構成)
図3は、電源供給部PSPの概念的な構成例を示す図である。電源供給部PSPは、メイン電源部(MPSP)130およびサブ電源部(SPSP)140の構成を示している。電源供給部PSPは、複数のレギュレータREG1−RG6を有する。レギュレータREG1は、MCPUへ電源電圧Vdd1を供給するための外部端子VDD1へ電源電圧を供給する。レギュレータREG2は、SCPUへ電源電圧Vdd2を供給するための外部端子VDD2へ電源電圧を供給する。レギュレータREG3は、RAMへ電源電圧Vdd3を供給するための外部端子VDD3へ電源電圧を供給する。レギュレータREG4は、ROMへ電源電圧Vdd4を供給するための外部端子VDD4へ電源電圧を供給する。レギュレータREG5は、周辺回路PERIへ電源電圧を供給するための外部端子VDD5へ電源電圧Vdd5を供給する。レギュレータREG6は、アナログデジタル変換回路ADCへアナログ用電源電圧Avddおよびアナログ用基準電圧Avssを供給ための外部端子AVDDおよびAVSSへアナログ用電源電圧Avddおよびアナログ用基準電圧Avssを供給する。複数のレギュレータREG1−RG6は、電源供給の開始を指示する電源信号200の受信に応答して、バッテリ(BAT)201から電圧を供給されて、各電源電圧Vdd1−Vdd5、Avdd、アナログ用電源電圧Avdd、およびアナログ用基準電圧Avssを生成する。
(Structure of power supply unit)
FIG. 3 is a diagram showing a conceptual configuration example of the power supply unit PSP. The power supply unit PSP shows the configuration of the main power supply unit (MPSP) 130 and the sub power supply unit (SPSP) 140. The power supply unit PSP has a plurality of regulators REG1-RG6. The regulator REG1 supplies the power supply voltage to the external terminal VDD1 for supplying the power supply voltage Vdd1 to the MCPU. The regulator REG2 supplies the power supply voltage to the external terminal VDD2 for supplying the power supply voltage Vdd2 to the SCPU. The regulator REG3 supplies the power supply voltage to the external terminal VDD3 for supplying the power supply voltage Vdd3 to the RAM. The regulator REG4 supplies the power supply voltage to the external terminal VDD4 for supplying the power supply voltage Vdd4 to the ROM. The regulator REG5 supplies the power supply voltage Vdd5 to the external terminal VDD5 for supplying the power supply voltage to the peripheral circuit PERI. The regulator REG6 supplies the analog power supply voltage Avdd and the analog reference voltage Avss to the external terminals AVDD and AVSS for supplying the analog power supply voltage Avdd and the analog reference voltage Avss to the analog-digital conversion circuit ADC. The plurality of regulators REG1 to RG6 are supplied with a voltage from the battery (BAT) 201 in response to the reception of the power supply signal 200 instructing the start of the power supply, and the power supply voltages Vdd1 to Vdd5, Avdd, and the analog power supply voltage are supplied. Avdd and the analog reference voltage Avss are generated.

このように、電源供給部PSP(130、140)は、メインCPU(MCPU:111,121)、サブCPU(SCPU:112,122)、RAM(113,123)、ROM(114、124)、周辺回路PERI、アナログデジタル変換回路ADC(117,127)のそれぞれに対して個別に電力を供給可能とするように、複数レギュレータREG1−RG6を有する。これは、前述の様に、メインCPU111、サブCPU112に対して供給する駆動電流がRAM(113,123)、ROM114(114、124)、周辺回路PERI、アナログデジタル変換回路ADC(117,127)の電流変動によって受ける影響を抑制する為である。 As described above, the power supply unit PSP (130, 140) includes the main CPU (MCPU: 111, 121), sub CPU (SCPU: 112, 122), RAM (113, 123), ROM (114, 124), peripherals. A plurality of regulators REG1 to RG6 are provided so that electric power can be individually supplied to each of the circuit PERI and the analog-digital conversion circuit ADC (117, 127). This is because the drive currents supplied to the main CPU 111 and the sub CPU 112 are the RAM (113, 123), the ROM 114 (114, 124), the peripheral circuit PERI, and the analog-digital conversion circuit ADC (117, 127) as described above. This is to suppress the effect of current fluctuations.

なお、図2および図3において、周辺回路PERIへ電源電圧の供給する外部端子VDD5、および周辺回路PERIの電源電圧を生成するレギュレータREG5は、さらに、複数の外部端子、および複数のレギュレータとされても良い。これにより、周辺回路PERIに含まれる各回路ないし各機能モジュールの電源電位の要求仕様に従う様に、電源電位を供給出来る。 2 and 3, the external terminal VDD5 that supplies the power supply voltage to the peripheral circuit PERI and the regulator REG5 that generates the power supply voltage of the peripheral circuit PERI are further defined as a plurality of external terminals and a plurality of regulators. Is also good. As a result, the power supply potential can be supplied so as to comply with the required specifications of the power supply potential of each circuit or each functional module included in the peripheral circuit PERI.

(電流測定部の構成)
図4は、電流測定部の構成を説明するための図である。図4には、電流測定部として、メイン電流測定部150の構成を例示的に示している。電流測定部150の構成は、電流測定部160,152,162の構成と同一であり、他の接続構成は図1から容易に理解されるので、電流測定部160,152,162の構成の説明は省略する。電源測定部150は、抵抗値Rsの抵抗素子R1を有する。抵抗素子R1は、メイン電源部130のレギュレータREG1の出力とメインマイクロコンピュータ110のメインCPU111の外部端子VDD1との間に設けられた電源供給ラインL1に直列に挿入されるように、設けられる。抵抗素子R1の両端のノードVRHおよびVRLは、LM1を介して、サブマイクロコンピュータ120に内蔵されたアナログデジタル変換回路127のアナログ入力端子AN0,AN1にそれぞれ接続される。同様な構成により、電流測定部160は、LM2を介して、サブマイクロコンピュータ120に内蔵されたアナログデジタル変換回路127のアナログ入力端子AN2,AN3にそれぞれ接続される。また、電流測定部152,162は、LM3およびLM4を介して、メインマイクロコンピュータ110に内蔵されたアナログデジタル変換回路117のアナログ入力端子AN0,AN1、および、AN2,AN3にそれぞれ接続される。
(Configuration of current measuring unit)
FIG. 4 is a diagram for explaining the configuration of the current measuring unit. FIG. 4 exemplarily shows the configuration of the main current measuring unit 150 as the current measuring unit. The configuration of the current measuring unit 150 is the same as the configuration of the current measuring units 160, 152, 162, and the other connection configurations can be easily understood from FIG. 1. Therefore, the configuration of the current measuring units 160, 152, 162 will be described. Is omitted. The power supply measuring unit 150 has a resistance element R1 having a resistance value Rs. The resistance element R1 is provided so as to be inserted in series in the power supply line L1 provided between the output of the regulator REG1 of the main power supply unit 130 and the external terminal VDD1 of the main CPU 111 of the main microcomputer 110. The nodes VRH and VRL at both ends of the resistance element R1 are connected to the analog input terminals AN0 and AN1 of the analog-digital conversion circuit 127 incorporated in the sub-microcomputer 120 via LM1. With the same configuration, the current measuring unit 160 is connected via the LM2 to the analog input terminals AN2 and AN3 of the analog-digital conversion circuit 127 built in the sub-microcomputer 120, respectively. The current measuring units 152 and 162 are connected to the analog input terminals AN0 and AN1 and AN2 and AN3 of the analog-digital conversion circuit 117 built in the main microcomputer 110 via the LM3 and LM4, respectively.

このような構成により、抵抗素子R1に流れるメインCPU111のリーク電流を含む駆動電流Isは、以下の式により求められる。
Is=Vs/Rs
ここで、Vsは、抵抗素子R1の両端のノードVRHとノードVRLとの間の電圧差に対応する電圧値である。
With such a configuration, the drive current Is including the leak current of the main CPU 111 flowing through the resistance element R1 is obtained by the following formula.
Is=Vs/Rs
Here, Vs is a voltage value corresponding to the voltage difference between the node VRH and the node VRL on both ends of the resistance element R1.

すなわち、ノードVRHとノードVRLとの間の電圧値Vsを、アナログデジタル変換回路127によって計測することにより、メインCPU111のリーク電流を含む駆動電流Isが求められる。 That is, the drive current Is including the leak current of the main CPU 111 is obtained by measuring the voltage value Vs between the node VRH and the node VRL by the analog-digital conversion circuit 127.

なお、メイン電源部130のレギュレータREG1の出力電圧値は、メインマイクロコンピュータ110のメインCPU111の基準動作電圧と、抵抗素子R1の抵抗値Rsと、抵抗素子R1に流れる駆動電流Isの最大電流値と、抵抗素子R1に流れる駆動電流Isによる電圧降下分(Vs)とを考慮し、メインマイクロコンピュータ110のメインCPU111の基準動作電圧を満足する様に、決めればよい。メイン電源部130のレギュレータREG2、サブ電源部140のレギュレータREG1,REG2のそれぞれの出力電圧値も、上記と同様の思想により、メインマイクロコンピュータ110のサブCPU112、サブマイクロコンピュータ120のメインCPU121、サブCPU122の各々の基準動作電圧を満足する様に、決定すればよい。 The output voltage value of the regulator REG1 of the main power supply unit 130 is the reference operating voltage of the main CPU 111 of the main microcomputer 110, the resistance value Rs of the resistance element R1, and the maximum current value of the drive current Is flowing through the resistance element R1. , And the voltage drop (Vs) due to the drive current Is flowing through the resistance element R1 may be taken into consideration so as to satisfy the reference operating voltage of the main CPU 111 of the main microcomputer 110. The output voltage values of the regulator REG2 of the main power supply unit 130 and the regulators REG1 and REG2 of the sub power supply unit 140 are also based on the same concept as described above, the sub CPU 112 of the main microcomputer 110, the main CPU 121 of the sub microcomputer 120, and the sub CPU 122. It may be determined so as to satisfy each of the reference operating voltages.

なお、上記では、マイクロコンピュータ110,120に内蔵されたアナログデジタル変換回路117、127を利用する例に関して説明したが、これに限定されない。アナログデジタル変換回路117、127の変換ビット数(例えば、10ビットや12ビット)より多い変換ビット数(例えば、100ビット)が必要な場合は、車両制御装置100に、変換ビット数の多い外付けの個別アナログデジタル変換回路を実装し、アナログデジタル変換回路117、127の代わりとして、その個別アナログデジタル変換回路を利用しても良い。リーク電流値の測定において、リーク電流値の値自体が小さいので、変換ビット数の多い個別アナログデジタル変換回路を用いれば、リーク電流値をより正確に計測することが出来る。 In the above description, the example in which the analog-digital conversion circuits 117 and 127 incorporated in the microcomputers 110 and 120 are used has been described, but the present invention is not limited to this. When a conversion bit number (for example, 100 bits) larger than the conversion bit numbers (for example, 10 bits or 12 bits) of the analog-digital conversion circuits 117 and 127 is required, the vehicle control device 100 is externally attached with a large conversion bit number. The individual analog-to-digital conversion circuit may be mounted and the individual analog-to-digital conversion circuit may be used instead of the analog-to-digital conversion circuits 117 and 127. In the measurement of the leak current value, the leak current value itself is small, so that the leak current value can be measured more accurately by using an individual analog-digital conversion circuit having a large number of conversion bits.

(リーク電流およびその補正)
図5は、リーク電流の増加を説明するための図である。メインマイクロコンピュータ110やサブマイクロコンピュータ120は、複数のCMOSトランジスタなどから構成されており、製造不良の顕在化や長期使用による経年劣化などの要因により、リーク電流が増加する場合がある。
(Leakage current and its correction)
FIG. 5 is a diagram for explaining an increase in leak current. The main microcomputer 110 and the sub-microcomputer 120 are composed of a plurality of CMOS transistors and the like, and the leak current may increase due to factors such as manifestation of manufacturing defects and deterioration over time due to long-term use.

図5において、縦軸はリーク電流値Ileakを示し、横軸は時間Timeを示す。一般的に、半導体集積回路装置の製造メーカは、半導体集積回路装置の出荷前に、出荷前検査を実施し、リーク電流を計測し、リーク電流Ileak1が所定の範囲内にある半導体集積回路装置を、正常品として出荷する。なお、図5において、リーク電流値Ileak1は、メインマイクロコンピュータ110やサブマイクロコンピュータ120の出荷前検査で計測したものを利用する例を説明するが、車両制御装置1の製造時にリーク電流値Ileak1を計測し、メインマイクロコンピュータ110やサブマイクロコンピュータ120のROM(114,124)に記憶させてもよい。 In FIG. 5, the vertical axis represents the leak current value Ileak, and the horizontal axis represents the time Time. Generally, a manufacturer of a semiconductor integrated circuit device performs a pre-shipment inspection before shipping the semiconductor integrated circuit device, measures a leak current, and selects a semiconductor integrated circuit device in which the leak current Ileak1 is within a predetermined range. , Shipped as a normal product. In FIG. 5, an example in which the leak current value Ileak1 is measured by a pre-shipment inspection of the main microcomputer 110 or the sub-microcomputer 120 will be described. However, the leak current value Ileak1 is set when the vehicle control device 1 is manufactured. It may be measured and stored in the ROM (114, 124) of the main microcomputer 110 or the sub-microcomputer 120.

時間T1には、出荷前検査時における正常品のリーク電流値Ileak1が示されており、時間T2には、長期使用によりリーク電流Ileakが増加した異常品のリーク電流値Ileak2が示される。時間T1において、正常品のリーク電流の範囲は、たとえは、最小値(0mA(ミリアンペア))と最大値(M mA)との間の範囲とされており、出荷前検査によって計測されたメインマイクロコンピュータ110またはサブマイクロコンピュータ120のリーク電流値Ileak1が、例えば、TmAであったとする。 At time T1, a leak current value Ileak1 of a normal product at the time of pre-shipment inspection is shown, and at time T2, a leak current value Ileak2 of an abnormal product whose leak current Ileak has increased due to long-term use is shown. At time T1, the range of the leak current of the normal product is, for example, a range between the minimum value (0 mA (milliampere)) and the maximum value (M mA), and the main micrometer measured by the pre-shipment inspection. It is assumed that the leak current value Ileak1 of the computer 110 or the sub-microcomputer 120 is TmA, for example.

時間T2において、メインマイクロコンピュータ110またはサブマイクロコンピュータ120のリーク電流値Ileak2がT+Y mAへ増加したものとする。すなわち、リーク電流IleakがYmA=ΔIleak=Ileak2―Ileak1の値だけ増加した状態である。 It is assumed that the leak current value Ileak2 of the main microcomputer 110 or the sub-microcomputer 120 has increased to T+Y mA at time T2. That is, the leak current Ileak is increased by the value of YmA=ΔIleak=Ileak2-Ileak1.

ΔIleakの値は、経年劣化以外に、メインマイクロコンピュータ110またはサブマイクロコンピュータ120におけるリーク電流の温度特性の変動と、メインマイクロコンピュータ110またはサブマイクロコンピュータ120の製造ばらつきによるリーク電流の変動と、が含まれている。そのため、リーク電流の増加量ΔIleakの値は補正する必要がある。 The value of ΔIleak includes, in addition to deterioration over time, variations in temperature characteristics of leakage current in the main microcomputer 110 or the sub-microcomputer 120, and variations in leakage current due to manufacturing variations in the main microcomputer 110 or the sub-microcomputer 120. Has been. Therefore, it is necessary to correct the value of the increase amount ΔIleak of the leak current.

図6は、リーク電流の増加分の補正方法を説明するための図である。リーク電流の増加量ΔIleakは、製造時のリーク電流値Ileak1と、計測時のリーク電流値Ileak2と、リーク電流値Ileak2の温度特性ないし温度依存性とを考慮して、補正される。リーク電流値Ileak2の温度特性ないし温度依存性は、メインマイクロコンピュータ110またはサブマイクロコンピュータ120の温度センサTSENにより計測された温度情報TMと、リーク電流の温度補正マップ(テーブル)TCMにより、補正される。温度補正マップ(テーブル)TCMは、メインマイクロコンピュータ110またはサブマイクロコンピュータ120のそれぞれで固有のものであり、例えば、半導体製造メーカから得ることが可能である。温度補正マップ(または温度補正テーブル)TCMは、各温度におけるリーク電流の補正電流値(Icv)が記述されている。 FIG. 6 is a diagram for explaining a method of correcting the increase in leak current. The increase amount ΔIleak of the leak current is corrected in consideration of the leak current value Ileak1 at the time of manufacturing, the leak current value Ileak2 at the time of measurement, and the temperature characteristic or temperature dependence of the leak current value Ileak2. The temperature characteristic or temperature dependence of the leak current value Ileak2 is corrected by the temperature information TM measured by the temperature sensor TSEN of the main microcomputer 110 or the sub microcomputer 120 and the temperature correction map (table) TCM of the leak current. .. The temperature correction map (table) TCM is unique to each of the main microcomputer 110 and the sub microcomputer 120, and can be obtained from, for example, a semiconductor manufacturer. The temperature correction map (or temperature correction table) TCM describes the correction current value (Icv) of the leak current at each temperature.

したがって、故障ポテンシャルの診断用として利用される補正されたリーク電流の増加量ΔIleakcは、次式で求められる。
ΔIleakc=Ileak2+Icv−Ileak1
ここで、Icvは、温度情報TMにおける温度補正マップ(テーブル)TCMに記載の補正電流値を示すものとする。
Therefore, the corrected increase amount ΔIleakc of the leak current used for diagnosing the failure potential is obtained by the following equation.
ΔIleakc=Ileak2+Icv-Ileak1
Here, Icv indicates a correction current value described in the temperature correction map (table) TCM in the temperature information TM.

これにより、リーク電流値の温度によるばらつきと、メインマイクロコンピュータ110またはサブマイクロコンピュータ120の製造ばらつきとが排除でき、経年劣化等によるリーク電流値の補正された増加量ΔIleakcを得ることができる。故障ポテンシャルの診断の際、この補正されたリーク電流の増加量ΔIleakcが、しきい値または所定値(TH)を超えたか否かにより、故障ポテンシャルの有無が判断される。このような構成により、CPU(111,112,121,122)が、完全に故障していないものの、将来、故障となるポテンシャルを有しているか否かを判断することが可能になる。しきい値または所定値(TH)は、設定値や規定値という事もできる。 As a result, variations in leak current value due to temperature and variations in manufacturing of the main microcomputer 110 or the sub-microcomputer 120 can be eliminated, and a corrected increase amount ΔIleakc of the leak current value due to deterioration over time can be obtained. When diagnosing the failure potential, the presence or absence of the failure potential is determined by whether or not the corrected increase amount ΔIleak of leak current exceeds a threshold value or a predetermined value (TH). With such a configuration, it is possible to determine whether or not the CPU (111, 112, 121, 122) has a potential to become a failure in the future although it is not completely failed. The threshold value or the predetermined value (TH) can be referred to as a set value or a specified value.

(ROM114、124のアドレス空間の構成例)
図7は、ROM114、ROM124のアドレス空間の構成例を示す図である。図7(A)は、ROM114のアドレス空間の構成例を示し、図7(B)はROM124のアドレス空間の構成例を示す。
(Configuration example of address space of ROM 114, 124)
FIG. 7 is a diagram showing a configuration example of the address spaces of the ROM 114 and the ROM 124. 7A shows a configuration example of the address space of the ROM 114, and FIG. 7B shows a configuration example of the address space of the ROM 124.

図7(A)に示すように、メインマイクロコンピュータ110のROM114のアドレス空間には、メインCPU111およびサブCPU112により実行されるプログラム、プログラム実行時に参照されるデータ、マップないしテーブル、演算結果のデータなどが格納される。ROM114は、例えば、第1アドレス空間ADSP1aと、第2アドレス空間ADSP2aと、を有する。 As shown in FIG. 7A, in the address space of the ROM 114 of the main microcomputer 110, programs executed by the main CPU 111 and the sub CPU 112, data referred to when the programs are executed, maps or tables, data of operation results, etc. Is stored. The ROM 114 has, for example, a first address space ADSP1a and a second address space ADSP2a.

第1アドレス空間ADSP1aには、制御プログラムCPROGおよび制御プログラムCPROGの実行時に参照される参照データ等が格納される。制御プログラムCPROGは、車両が搭載する車載機器(例えば、自動変速機、エンジンなど)を電子的に制御するための制御プログラムである。 The first address space ADSP1a stores a control program CPROG, reference data referred to when the control program CPROG is executed, and the like. The control program CPROG is a control program for electronically controlling in-vehicle devices (for example, an automatic transmission, an engine, etc.) mounted on the vehicle.

第2アドレス空間ADSP2aには、本発明に係る処理プログラムないしデータが格納されており、図8A,図8Bで説明される診断プログラムDPROG、図10で説明されるCPUの異常判断時に実行される制御プログラムCNTPROG、図6で説明されたリーク電流補正用の計算プログラムLCCPROGが格納される。第2アドレス空間ADSP2aには、さらに、メインマイクロコンピュータ110に関するリーク電流の温度補正マップ(テーブル)TCM、しきい値または所定値(TH)、リーク電流値Ileak1(110)、サブマイクロコンピュータ120のメインCPU121およびサブCPU122に関する計測されたリーク電流値Ileak2(121)、Ileak2(122)が、格納される。第2アドレス空間ADSP2aには、さらに、補正されたリーク電流の増加量ΔIleakc(121)、ΔIleakc(122)、サブマイクロコンピュータ120のメインCPU121およびサブCPU122に関する診断結果DResult(121)、DResult(122)、および、診断履歴を示す経験情報DHistが格納される。 The processing program or data according to the present invention is stored in the second address space ADSP2a, and the control is executed when the abnormality determination of the diagnostic program DPROG described in FIGS. 8A and 8B and the CPU described in FIG. The program CNTPROG and the calculation program LCCPROG for leak current correction described in FIG. 6 are stored. In the second address space ADSP2a, a temperature correction map (table) TCM of the leak current relating to the main microcomputer 110, a threshold value or a predetermined value (TH), a leak current value Ileak1 (110), a main of the sub-microcomputer 120 are further provided. The measured leak current values Ileak2 (121) and Ileak2 (122) regarding the CPU 121 and the sub CPU 122 are stored. In the second address space ADSP2a, the corrected leakage current increase amounts ΔIleakc (121) and ΔIleakc (122), the diagnostic results DRResult (121) and DRResult (122) regarding the main CPU 121 and the sub CPU 122 of the sub-microcomputer 120 are further included. , And experience information DHist indicating a diagnosis history are stored.

診断結果DResult(121)、DResult(122)は、診断プログラムDPROGによるサブマイクロコンピュータ120に関する診断の結果であり、サブマイクロコンピュータ120のメインCPU121およびサブCPU122の故障ポテンシャルの有無が格納される。経験情報DHistには、最後または先回診断されたメインマイクロコンピュータ110またはサブマイクロコンピュータ120のデータが格納される。 The diagnosis results DRResult (121) and DRResult (122) are the results of the diagnosis regarding the sub-microcomputer 120 by the diagnostic program DPROG, and the presence or absence of the failure potential of the main CPU 121 and the sub-CPU 122 of the sub-microcomputer 120 is stored. The experience information DHist stores the data of the main microcomputer 110 or the sub-microcomputer 120 that was diagnosed last time or last time.

図7(B)に示すように、サブマイクロコンピュータ120のROM124のアドレス空間には、メインCPU121およびサブCPU122により実行されるプログラム、プログラム実行時に参照されるデータ、マップないしテーブル、演算結果のデータなどが格納される。ROM124は、例えば、第1アドレス空間ADSP1bと、第2アドレス空間ADSP2bと、を有する。 As shown in FIG. 7B, in the address space of the ROM 124 of the sub-microcomputer 120, programs executed by the main CPU 121 and the sub-CPU 122, data referred to when the programs are executed, maps or tables, data of operation results, etc. Is stored. The ROM 124 has, for example, a first address space ADSP1b and a second address space ADSP2b.

第1アドレス空間ADSP1bには、制御プログラムCPROGおよび制御プログラムCPROGの実行時に参照される参照データ等が格納される。制御プログラムCPROGは、車両が搭載する車載機器(例えば、自動変速機、エンジンなど)を電子的に制御するための制御プログラムである。 The first address space ADSP1b stores a control program CPROG and reference data that is referred to when the control program CPROG is executed. The control program CPROG is a control program for electronically controlling in-vehicle devices (for example, an automatic transmission, an engine, etc.) mounted on the vehicle.

第2アドレス空間ADSP2bには、本発明に係る処理プログラムないしデータが格納されており、図8で説明される診断プログラムDPROG、図10で説明されるCPUの異常判断時に実行される制御プログラムCNTPROG、図6で説明されたリーク電流補正のための計算プログラムLCCPROGが格納される。第2アドレス空間ADSP2bには、さらに、サブマイクロコンピュータ120に関するリーク電流の温度補正マップ(テーブル)TCM、しきい値または所定値(TH)、リーク電流値Ileak1(120)、メインマイクロコンピュータ110のメインCPU111およびサブCPU112に関する計測されたリーク電流値Ileak2(111)、Ileak2(112)が、格納される。第2アドレス空間ADSP2bには、さらに、補正されたリーク電流の増加量ΔIleakc(111)、ΔIleakc(112)、メインマイクロコンピュータ110のメインCPU111およびサブCPU112に関する診断結果DResult(111)、DResult(112)、および、診断履歴を示す経験情報DHistが格納される。 A processing program or data according to the present invention is stored in the second address space ADSP2b, and a diagnostic program DPROG described with reference to FIG. 8 and a control program CNTPROG executed with a CPU abnormality determination described with reference to FIG. The calculation program LCCPROG for correcting the leak current described in FIG. 6 is stored. In the second address space ADSP2b, a temperature correction map (table) TCM of the leak current relating to the sub-microcomputer 120, a threshold value or a predetermined value (TH), a leak current value Ileak1 (120), a main microcomputer 110 main. The measured leak current values Ileak2(111) and Ileak2(112) for the CPU 111 and the sub CPU 112 are stored. In the second address space ADSP2b, the corrected leak current increase amounts ΔIleakc (111) and ΔIleakc (112), the diagnostic results DRResult (111) and DRResult (112) regarding the main CPU 111 and the sub CPU 112 of the main microcomputer 110 are further included. , And experience information DHist indicating a diagnosis history are stored.

診断結果DResult(111)、DResult(112)は、診断プログラムDPROGによるメインマイクロコンピュータ110に関する診断の結果であり、メインマイクロコンピュータ110のメインCPU111およびサブCPU112の故障ポテンシャルの有無が格納される。経験情報DHistには、最後または先回診断されたメインマイクロコンピュータ110またはサブマイクロコンピュータ120のデータが格納される。 The diagnosis results DRResult (111) and DRResult (112) are the results of the diagnosis regarding the main microcomputer 110 by the diagnosis program DPROG, and the presence or absence of the failure potential of the main CPU 111 and the sub CPU 112 of the main microcomputer 110 is stored. The experience information DHist stores the data of the main microcomputer 110 or the sub-microcomputer 120 that was diagnosed last time or last time.

なお、図7(A)、図7(B)では、計測されたリーク電流値Ileak2(111)、Ileak2(112)、Ileak2(121)、Ileak2(122)や、補正後のリーク電流の増加量ΔIleakc(111)、ΔIleakc(112)、ΔIleakc(121)、ΔIleakc(122)を、ROM114、124のアドレス空間に格納する例を示したが、これらの値は、ROM114、124のアドレス空間に格納せずに、診断時において、RAM113,123に一時的に格納することも可能である。 7A and 7B, the measured leak current values Ileak2 (111), Ileak2 (112), Ileak2 (121), and Ileak2 (122), and the increased amount of the leak current after correction. An example of storing ΔIleakc(111), ΔIleakc(112), ΔIleakc(121), and ΔIleakc(122) in the address spaces of the ROMs 114 and 124 has been shown, but these values should be stored in the address spaces of the ROMs 114 and 124. Instead, it can be temporarily stored in the RAMs 113 and 123 at the time of diagnosis.

(故障ポテンシャル診断手順の例)
図8A、図8Bは、実施例1に係るCPUの故障ポテンシャル診断手順の一例を示すフローチャートである。なお、図8Aの下側のAと、図8Bの上側のAとは接続される。図8A、図8Bは、車両制御装置100がシャットダウンするとき、メインマイクロコンピュータ110のメインCPU111とサブCPU112の故障ポテンシャルを、サブマイクロコンピュータ120を用いて、診断する手順を説明するフローチャートである。サブマイクロコンピュータ120のメインCPU121とサブCPU122の故障ポテンシャルを、メインマイクロコンピュータ110を用いて診断するフローチャートは、図8A,図8Bから容易に理解されると思われるので、その記載は省略される。以下、図8A、図8Bの各ステップについて説明する。
(Example of failure potential diagnosis procedure)
8A and 8B are flowcharts illustrating an example of the failure potential diagnosis procedure of the CPU according to the first embodiment. The lower A in FIG. 8A and the upper A in FIG. 8B are connected. 8A and 8B are flowcharts for explaining a procedure for diagnosing the failure potentials of the main CPU 111 and the sub CPU 112 of the main microcomputer 110 using the sub microcomputer 120 when the vehicle control device 100 shuts down. The flowchart for diagnosing the failure potentials of the main CPU 121 and the sub CPU 122 of the sub-microcomputer 120 by using the main microcomputer 110 seems to be easily understood from FIGS. 8A and 8B, and therefore the description thereof is omitted. Hereinafter, each step of FIGS. 8A and 8B will be described.

(ステップS100)
メインマイクロコンピュータ110及びサブマイクロコンピュータ120は、電源が投入されたことを示す電源信号200を受信すると、本フローチャートを開始する。本フローチャートを開始する時点において、メイン電源IC130とサブ電源IC140はそれぞれ電源信号200に従って電力供給を開始済みであるものとする。なお、このフローチャートは、図7の診断プログラムDPROGに対応するものである。
(Step S100)
When the main microcomputer 110 and the sub-microcomputer 120 receive the power signal 200 indicating that the power is turned on, this flowchart starts. At the time of starting this flowchart, it is assumed that the main power supply IC 130 and the sub power supply IC 140 have already started to supply power according to the power supply signal 200. It should be noted that this flowchart corresponds to the diagnostic program DPROG of FIG. 7.

(ステップS101)
メインマイクロコンピュータ110及びサブマイクロコンピュータ120は、それぞれの記憶領域(ROM114,124)からメインマイクロコンピュータ110及びサブマイクロコンピュータ120の製造時のリーク電流値(Ileak1)と、故障ポテンシャル実施経験情報(DHist)を読みだす。上記のリーク電流値(Ileak1)は、メインマイクロコンピュータ110及びサブマイクロコンピュータ120の製造時だけでなく、車両制御装置100の製造時に、メインマイクロコンピュータ110及びサブマイクロコンピュータ120のリーク電流を測定し、それぞれの記憶領域(ROM114,124)に記憶してもよい。
(Step S101)
The main microcomputer 110 and the sub-microcomputer 120 each have a leakage current value (Ileak1) at the time of manufacturing the main microcomputer 110 and the sub-microcomputer 120 from their respective storage areas (ROMs 114 and 124), and failure potential implementation experience information (DHist). Read out. The leak current value (Ileak1) is measured not only when the main microcomputer 110 and the sub-microcomputer 120 are manufactured, but also when the vehicle control device 100 is manufactured, and the leak currents of the main microcomputer 110 and the sub-microcomputer 120 are measured. They may be stored in the respective storage areas (ROM 114, 124).

(ステップS102)
メインマイクロコンピュータ110は故障ポテンシャル診断の実施条件が成立するまでは、本故障ポテンシャル診断は実施しない。故障ポテンシャル診断の実施条件は、電源信号200がオフされた後に実施されるセルフシャット処理が全て完了したことで条件成立とする。
(Step S102)
The main microcomputer 110 does not carry out this failure potential diagnosis until the conditions for carrying out the failure potential diagnosis are satisfied. The condition for executing the failure potential diagnosis is satisfied when all the self-shut processes executed after the power supply signal 200 is turned off are completed.

(ステップS103)
メインマイクロコンピュータ110は、ステップS101で読み出だしたメインマイクロコンピュータ110及びサブマイクロコンピュータ120の故障ポテンシャル実施経験情報から、今回の故障ポテンシャルの診断対象マイクロコンピュータを決定し、被測定マイクロコンピュータとする。たとえば、前回の故障ポテンシャル診断で、メインマイクロコンピュータ110内蔵のメインCPU111とサブCPU112の故障ポテンシャルを診断した場合、今回の故障ポテンシャル診断では、サブマイクロコンピュータ120内蔵のメインCPU121およびサブCPU122を診断対象とする。上記のように、本例では、セルフシャット処理実施毎に診断するマイクロコンピュータを切り替えているのは、診断対象マイクロコンピュータ内蔵のメインCPUおよびサブCPUを停止状態(スタンバイ状態)とする必要があるためである。詳細は、図9Aの説明にて記載する。本例では、被測定マイクロコンピュータをメインマイクロコンピュータ110として、メインマイクロコンピュータ110に内蔵されるメインCPU111とサブCPU112の故障ポテンシャルを診断するものとして記載する。
(Step S103)
The main microcomputer 110 determines a diagnostic target microcomputer of the current failure potential from the failure potential implementation experience information of the main microcomputer 110 and the sub-microcomputer 120 read out in step S101, and sets it as the measured microcomputer. For example, when the failure potential of the main CPU 111 and the sub CPU 112 built in the main microcomputer 110 is diagnosed in the previous failure potential diagnosis, the main CPU 121 and the sub CPU 122 built in the sub microcomputer 120 are targeted for diagnosis in this failure potential diagnosis. To do. As described above, in this example, the microcomputer to be diagnosed is switched every time the self-shut process is performed, because the main CPU and the sub CPU incorporated in the microcomputer to be diagnosed need to be in a stopped state (standby state). Is. Details will be described in the description of FIG. 9A. In this example, it is described that the measured microcomputer is the main microcomputer 110 and the failure potentials of the main CPU 111 and the sub CPU 112 incorporated in the main microcomputer 110 are diagnosed.

(ステップS104)
被測定マイクロコンピュータ110のメインCPU111及びサブCPU112の温度を推定するため、メインマイクロコンピュータ110に内蔵されている温度センサ115からメインマイクロコンピュータ110の温度を測定する。本例では、メインマイクロコンピュータ110に内蔵されている温度センサ115を使用しているが、温度センサは、車両制御装置100に搭載されている温度センサ170を使用してもよい。また、外界の温度状態や車両制御装置100の運転時間による推定温度値を使用してもよい。
(Step S104)
In order to estimate the temperatures of the main CPU 111 and the sub CPU 112 of the measured microcomputer 110, the temperature of the main microcomputer 110 is measured by the temperature sensor 115 built in the main microcomputer 110. In this example, the temperature sensor 115 built in the main microcomputer 110 is used, but the temperature sensor may be the temperature sensor 170 installed in the vehicle control device 100. Further, an estimated temperature value depending on the temperature condition of the outside world or the operating time of the vehicle control device 100 may be used.

(ステップS105)
被測定マイクロコンピュータ110のメインCPU111及びサブCPU112は、ステップS104で取得したメインマイクロコンピュータ110の温度情報から、温度によるCPU111,112のリーク電流Ileak2の値の変化を補正するために、リーク電流の温度補正マップTCMからリーク電流の温度補正値Icvを算出する。リーク電流の温度補正マップTCMは被測定マイクロコンピュータの種別毎に事前に規定する。リーク電流の温度補正マップTCMは、図7に示されるように、メインマイクロコンピュータ110及びサブマイクロコンピュータ120が備えるROM114,124にあらかじめ格納しておくことができる。
(Step S105)
The main CPU 111 and the sub CPU 112 of the measured microcomputer 110 use the temperature of the leak current Ileak2 to correct the change in the value of the leak current Ileak2 of the CPUs 111 and 112 based on the temperature information of the main microcomputer 110 acquired in step S104. The temperature correction value Icv of the leak current is calculated from the correction map TCM. The temperature correction map TCM of the leak current is defined in advance for each type of microcomputer under test. The temperature correction map TCM of the leak current can be stored in advance in the ROMs 114 and 124 included in the main microcomputer 110 and the sub-microcomputer 120, as shown in FIG.

(ステップS106)
ステップS105で算出したリーク電流の温度補正値Icvをサブマイクロコンピュータ120に通知する。
(Step S106)
The temperature correction value Icv of the leakage current calculated in step S105 is notified to the sub-microcomputer 120.

(ステップS107)
被測定マイクロコンピュータ110のメインCPU111及びサブCPU112を、停止状態(スタンバイ状態)に移行させ、以降の演算はサブマイクロコンピュータ120を使用してする。
(Step S107)
The main CPU 111 and the sub CPU 112 of the measured microcomputer 110 are shifted to a stopped state (standby state), and the subsequent calculation is performed using the sub microcomputer 120.

(ステップS108)
被測定マイクロコンピュータ110がスタンバイ状態モードに移行完了するまで待機する。移行完了の判定は規定時間、または被測定マイクロコンピュータ110の出力がOFFとなったことをもって判断する。
(Step S108)
The microcomputer under test 110 waits until the transition to the standby mode is completed. The determination of the completion of the transition is made when the output of the measured microcomputer 110 is turned off for a specified time.

(ステップS109)
サブマイクロコンピュータ120は、メイン電流測定部150及びサブ電流測定部160にて、被測定マイクロコンピュータ110のメインCPU111及びサブCPU112の現在のリーク電流値(Ileak2(111)、Ileak2(112))を計測する。
(Step S109)
The sub-microcomputer 120 measures the current leakage current values (Ileak2(111), Ileak2(112)) of the main CPU 111 and the sub-CPU 112 of the measured microcomputer 110 with the main current measuring unit 150 and the sub-current measuring unit 160. To do.

(ステップS110)
サブマイクロコンピュータ120は、メインCPU111及びサブCPU112それぞれについて、ステップS101で取得した製造時のリーク電流(Ileak1)とステップS109で取得した現在のリーク電流(Ileak2(111)、Ileak2(112))とステップS106で取得したリーク電流温度補正値(Icv)から診断用リーク電流値(ΔIleakc(111)、ΔIleakc(112))を算出する。すなわち、図7の計算プログラムLCCPROGが実行され、図6で説明されたリーク電流値の補正のための計算が実行される。
(Step S110)
For each of the main CPU 111 and the sub CPU 112, the sub-microcomputer 120 compares the manufacturing leak current (Ileak1) obtained in step S101 with the current leak current (Ileak2(111), Ileak2(112)) obtained in step S109 and The leak current values for diagnosis (ΔIleakc(111), ΔIleakc(112)) are calculated from the leak current temperature correction value (Icv) acquired in S106. That is, the calculation program LCCPROG in FIG. 7 is executed, and the calculation for correcting the leak current value described in FIG. 6 is executed.

(ステップS111)
サブマイクロコンピュータ120は、メインCPU111及びサブCPU112それぞれについて、診断用リーク電流値(ΔIleakc(111)、 ΔIleakc(112))が、しきい値(TH)以下であるか否かを判定する。メインCPU111及びサブCPU112どちらの診断用リーク電流値(ΔIleakc(111)、 ΔIleakc(112))も、しきい値(TH)を下回る場合は、メインCPU111及びサブCPU112は正常であると判断して、ステップS113に進む。診断用リーク電流値(ΔIleakc(111)、 ΔIleakc(112))がしきい値(HT)を上回る場合は、故障ポテンシャル有りとしてステップS112に進む。しきい値(TH)は、図7に示されるように、メインマイクロコンピュータ110及びサブマイクロコンピュータ120が備えるROM114,124などにあらかじめ格納しておくことができる。
(Step S111)
The sub-microcomputer 120 determines, for each of the main CPU 111 and the sub CPU 112, whether or not the diagnostic leak current values (ΔIleakc(111), ΔIleakc(112)) are equal to or less than a threshold value (TH). If the diagnostic leak current value (ΔIleakc(111), ΔIleakc(112)) of either the main CPU 111 or the sub CPU 112 is below the threshold value (TH), it is determined that the main CPU 111 and the sub CPU 112 are normal, It proceeds to step S113. If the diagnostic leak current values (ΔIleakc(111), ΔIleakc(112)) exceed the threshold value (HT), it is determined that there is a failure potential, and the process proceeds to step S112. The threshold value (TH) can be stored in advance in the ROMs 114 and 124 provided in the main microcomputer 110 and the sub-microcomputer 120, as shown in FIG.

(ステップS112)
サブマイクロコンピュータ120は、ステップS111にて故障ポテンシャル有りと判断した結果を、判断結果DResult(111)、DResult(112)として、サブマイクロコンピュータ120内の記憶領域(ROM124)に格納する。
(Step S112)
The sub-microcomputer 120 stores the results of the determination that there is a failure potential in step S111 in the storage area (ROM 124) in the sub-microcomputer 120 as the determination results DRResult (111) and DRResult (112).

(ステップS113)
サブマイクロコンピュータ120は、サブマイクロコンピュータ120内の記憶領域(ROM124)に、故障ポテンシャル診断の実施経験情報(DHist)を格納する。故障ポテンシャル実施経験情報(DHist)は、ステップS101で記憶領域(ROM114、124)から読み出され、ステップ103の故障ポテンシャル診断の対象マイクロコンピュータを決定する情報として使用する。
(Step S113)
The sub-microcomputer 120 stores execution experience information (DHist) for failure potential diagnosis in a storage area (ROM 124) in the sub-microcomputer 120. The failure potential implementation experience information (DHist) is read from the storage areas (ROMs 114 and 124) in step S101 and used as information for determining the target microcomputer for the failure potential diagnosis in step 103.

(故障ポテンシャル診断の実施タイミング)
図9Aは、実施例1に係る故障ポテンシャル診断の実施のタイミングを説明する図である。図9Aは、図8Aのステップ103で説明された様に、車両制御装置100のシャットダウン毎に、故障ポテンシャルの診断対象マイクロコンピュータが切り替えられることを説明する図である。すなわち、例えば、メインマイクロコンピュータ110およびサブマイクロコンピュータ120が通常制御を実施しており、その後、電源信号200がオフされたものとする。この場合、第1回目のシャットダウンとして、電源信号200がオフされた後にセルフシャット処理へ移行する。セルフシャット処理が実施され、セルフシャット処理が全て完了した後、メインマイクロコンピュータ110がスタンバイ状態とされて、駆動状態のサブマイクロコンピュータ120がスタンバイ状態のメインマイクロコンピュータ110に対して故障ポテンシャル診断を実施し、故障ポテンシャル診断の実施後に、メインマイクロコンピュータ110およびサブマイクロコンピュータ120がシャットオフされる。
(Timing of failure potential diagnosis)
FIG. 9A is a diagram illustrating a timing of performing the failure potential diagnosis according to the first embodiment. FIG. 9A is a diagram illustrating that, as described in step 103 of FIG. 8A, the diagnostic target microcomputer of the failure potential is switched every time the vehicle control device 100 is shut down. That is, for example, it is assumed that the main microcomputer 110 and the sub-microcomputer 120 are performing normal control, and then the power supply signal 200 is turned off. In this case, as the first shutdown, the self-shut process is performed after the power supply signal 200 is turned off. After the self-shut processing is executed and all the self-shut processing is completed, the main microcomputer 110 is put in the standby state, and the sub-microcomputer 120 in the driving state performs the failure potential diagnosis on the main microcomputer 110 in the standby state. After the failure potential diagnosis is performed, the main microcomputer 110 and the sub microcomputer 120 are shut off.

一方、例えば、2回目のシャットダウン時には、セルフシャット処理が全て完了した後、サブマイクロコンピュータ120がスタンバイ状態とされて、駆動状態のメインマイクロコンピュータ110がスタンバイ状態のサブマイクロコンピュータ120に対して故障ポテンシャル診断を実施し、故障ポテンシャル診断の実施後に、メインマイクロコンピュータ110およびサブマイクロコンピュータ120がシャットオフされる。 On the other hand, for example, at the time of the second shutdown, the sub-microcomputer 120 is put in the standby state after the self-shut processing is completely completed, and the main microcomputer 110 in the driving state has a failure potential with respect to the sub-microcomputer 120 in the standby state. After the diagnosis is performed and the failure potential diagnosis is performed, the main microcomputer 110 and the sub-microcomputer 120 are shut off.

以上の様に、シャットオフ毎に診断対象のマイクロコンピュータを切り替えることにより、メインマイクロコンピュータ110およびサブマイクロコンピュータ120の各々の故障ポテンシャル診断を、均一に行うことが可能である。 As described above, the failure potential diagnosis of each of the main microcomputer 110 and the sub-microcomputer 120 can be performed uniformly by switching the diagnosis target microcomputer for each shutoff.

(実施タイミングの変形例1)
図9Bは、故障ポテンシャル診断の実施タイミングの変形例1を説明する図である。図9Aでは、シャットオフ毎に診断対象のマイクロコンピュータを切り替える例を示した。
図9Bでは、電源信号200がオフされた後にセルフシャット処理へ移行し、その後、セルフシャット処理が実施され、セルフシャット処理が全て完了した後、メインマイクロコンピュータ110がスタンバイ状態とされて、サブマイクロコンピュータ120がスタンバイ状態のメインマイクロコンピュータ110に対して故障ポテンシャル診断を実施する。その後、サブマイクロコンピュータ120がスタンバイ状態とされて、メインマイクロコンピュータ110がスタンバイ状態のサブマイクロコンピュータ120に対して故障ポテンシャル診断を実施し、故障ポテンシャル診断を実施する。
(Modification 1 of implementation timing)
FIG. 9B is a diagram for explaining a modified example 1 of the execution timing of the failure potential diagnosis. FIG. 9A shows an example in which the microcomputer to be diagnosed is switched for each shutoff.
In FIG. 9B, after the power signal 200 is turned off, the self-shut process is performed, and then the self-shut process is performed. After all the self-shut processes are completed, the main microcomputer 110 is placed in the standby state and the sub-microcomputer The computer 120 performs the failure potential diagnosis on the main microcomputer 110 in the standby state. After that, the sub-microcomputer 120 is put in the standby state, and the main microcomputer 110 performs the failure potential diagnosis on the sub-microcomputer 120 in the standby state, and then performs the failure potential diagnosis.

このような故障ポテンシャル診断の実施タイミングでも、より短い時間間隔で、メインマイクロコンピュータ110およびサブマイクロコンピュータ120の両方の故障ポテンシャルの判断を行うことが可能である。 Even with such a timing of performing the failure potential diagnosis, it is possible to determine the failure potentials of both the main microcomputer 110 and the sub-microcomputer 120 at shorter time intervals.

(実施タイミングの変形例2)
図9Cは、故障ポテンシャル診断の実施タイミングの変形例2を説明する図である。図9Aおよび図9Bでは、電源信号200がオフされた後、故障ポテンシャル診断が実施される例を示した。図9Cでは、電源信号200がオンされた後、メインマイクロコンピュータ110およびサブマイクロコンピュータ120の起動毎に、故障ポテンシャルの診断対象のマイクロコンピュータが切り替えられ、故障ポテンシャル診断が実施される例を示している。すなわち、例えば、電源信号200が第1回目にオンされた後、サブマイクロコンピュータ120がスタンバイ状態とされて、駆動状態のメインマイクロコンピュータ110がスタンバイ状態のサブマイクロコンピュータ120に対して故障ポテンシャル診断を実施する。その後、メインマイクロコンピュータ110およびサブマイクロコンピュータ120がリセットされる。この例では、メインマイクロコンピュータ110は、サブマイクロコンピュータ120がリセットの完了まで待機(wait)状態とされ、その後、メインマイクロコンピュータ110およびサブマイクロコンピュータ120の同期がとられ、メインマイクロコンピュータ110およびサブマイクロコンピュータ120が通常制御に移行する。
(Modification 2 of implementation timing)
FIG. 9C is a diagram illustrating a second modification of the execution timing of the failure potential diagnosis. 9A and 9B show an example in which the failure potential diagnosis is performed after the power supply signal 200 is turned off. FIG. 9C shows an example in which after the power signal 200 is turned on, the target microcomputer for failure potential diagnosis is switched every time the main microcomputer 110 and the sub-microcomputer 120 are activated, and failure potential diagnosis is performed. There is. That is, for example, after the power supply signal 200 is turned on for the first time, the sub-microcomputer 120 is placed in the standby state, and the main microcomputer 110 in the driving state performs the failure potential diagnosis on the sub-microcomputer 120 in the standby state. carry out. After that, the main microcomputer 110 and the sub microcomputer 120 are reset. In this example, the main microcomputer 110 is placed in a wait state until the sub-microcomputer 120 completes the reset, and then the main microcomputer 110 and the sub-microcomputer 120 are synchronized, and the main microcomputer 110 and the sub-microcomputer 120 are synchronized. The microcomputer 120 shifts to normal control.

次に、図示されないが、電源信号200が第2回目にオンされた後、メインマイクロコンピュータ110がスタンバイ状態とされて、駆動状態のサブマイクロコンピュータ120がスタンバイ状態のメインマイクロコンピュータ110に対して故障ポテンシャル診断を実施する。その後、メインマイクロコンピュータ110およびサブマイクロコンピュータ120がリセットされ、メインマイクロコンピュータ110およびサブマイクロコンピュータ120の同期がとられ、メインマイクロコンピュータ110およびサブマイクロコンピュータ120が通常制御に移行する。 Next, although not shown in the figure, after the power signal 200 is turned on for the second time, the main microcomputer 110 is placed in a standby state, and the sub-microcomputer 120 in a drive state fails with respect to the main microcomputer 110 in a standby state. Conduct potential diagnosis. After that, the main microcomputer 110 and the sub-microcomputer 120 are reset, the main microcomputer 110 and the sub-microcomputer 120 are synchronized, and the main microcomputer 110 and the sub-microcomputer 120 shift to normal control.

このような故障ポテンシャル診断の実施タイミングでも、メインマイクロコンピュータ110およびサブマイクロコンピュータ120の故障ポテンシャルを診断することが出来る。 The failure potentials of the main microcomputer 110 and the sub-microcomputer 120 can be diagnosed even at the timing of performing such a failure potential diagnosis.

(実施タイミングの変形例3)
図9Dは、故障ポテンシャル診断の実施タイミングの変形例3を説明する図である。図9Cでは、メインマイクロコンピュータ110およびサブマイクロコンピュータ120の起動毎に、故障ポテンシャルの診断対象のマイクロコンピュータが切り替えられ、故障ポテンシャル診断が実施される例を示した。図9Dでは、メインマイクロコンピュータ110およびサブマイクロコンピュータ120の起動毎に、メインマイクロコンピュータ110およびサブマイクロコンピュータ120の両方の故障ポテンシャルを診断実施する例を示している。すなわち、電源信号200が第1回目にオンされた後、サブマイクロコンピュータ120がスタンバイ状態とされて、駆動状態のメインマイクロコンピュータ110がスタンバイ状態のサブマイクロコンピュータ120に対して故障ポテンシャル診断を実施し、故障ポテンシャル診断を実施する。その後、メインマイクロコンピュータ110およびサブマイクロコンピュータ120がリセットされ、メインマイクロコンピュータ110がスタンバイ状態とされて、駆動状態のサブマイクロコンピュータ120がスタンバイ状態のメインマイクロコンピュータ110に対して故障ポテンシャル診断を実施する。その後、メインマイクロコンピュータ110およびサブマイクロコンピュータ120の同期がとられ、メインマイクロコンピュータ110およびサブマイクロコンピュータ120が通常制御に移行する。
(Modification 3 of implementation timing)
FIG. 9D is a diagram illustrating a third modification of the execution timing of the failure potential diagnosis. In FIG. 9C, an example is shown in which each time the main microcomputer 110 and the sub-microcomputer 120 are activated, the microcomputer targeted for diagnosis of the failure potential is switched and the failure potential diagnosis is performed. FIG. 9D shows an example in which the failure potentials of both the main microcomputer 110 and the sub-microcomputer 120 are diagnosed each time the main microcomputer 110 and the sub-microcomputer 120 are activated. That is, after the power signal 200 is turned on for the first time, the sub-microcomputer 120 is placed in the standby state, and the main microcomputer 110 in the drive state performs the failure potential diagnosis on the sub-microcomputer 120 in the standby state. , Perform failure potential diagnosis. After that, the main microcomputer 110 and the sub-microcomputer 120 are reset, the main microcomputer 110 is set to the standby state, and the sub-microcomputer 120 in the driving state performs the failure potential diagnosis on the main microcomputer 110 in the standby state. .. After that, the main microcomputer 110 and the sub-microcomputer 120 are synchronized, and the main microcomputer 110 and the sub-microcomputer 120 shift to normal control.

(実施タイミングの変形例4)
故障ポテンシャル診断の実施タイミングとしては、図9Cに示された実施タイミングと、図9Aに示された実施タイミングと、を組み合わせでもよい。すなわち、起動時(電源信号200がオン)に、メインマイクロコンピュータ110およびサブマイクロコンピュータ120の一方の故障ポテンシャル診断を実施し、シャットオフ時(電源信号200がオフ)に、メインマイクロコンピュータ110およびサブマイクロコンピュータ120の他方の故障ポテンシャル診断を実施する。起動毎またはシャットオフ時毎に、診断対象のマイクロコンピュータが切り替えされる。
(Modification 4 of implementation timing)
The execution timing of the failure potential diagnosis may be a combination of the execution timing shown in FIG. 9C and the execution timing shown in FIG. 9A. That is, the failure potential diagnosis of one of the main microcomputer 110 and the sub-microcomputer 120 is performed at the time of startup (the power supply signal 200 is on), and at the time of shut-off (the power supply signal 200 is off). The other failure potential diagnosis of the microcomputer 120 is performed. The microcomputer to be diagnosed is switched each time the system is started up or shut off.

なお、図9Bと図9Dとを組み合わせて、故障ポテンシャル診断を実施しても、もちろんよい。 Of course, the failure potential diagnosis may be performed by combining FIG. 9B and FIG. 9D.

(故障ポテンシャル診断結果を用いた制御手順)
図10は、実施例1に係る制御手順を説明する図である。図10は、車両制御装置100において、メインCPU111とサブCPU112の出力が比較器116で照合不一致となったとき、故障ポテンシャル診断結果を利用して、故障していないCPU情報を使用するための手段を説明するフローチャートの一例である。このフローチャートは、図7の制御プログラムCNTPROGに対応するものである。
(Control procedure using failure potential diagnosis result)
FIG. 10 is a diagram illustrating a control procedure according to the first embodiment. FIG. 10 shows means for using CPU information that is not in failure by using the failure potential diagnosis result when the outputs of the main CPU 111 and the sub CPU 112 in the vehicle control device 100 are mismatched by the comparator 116. 2 is an example of a flowchart illustrating This flowchart corresponds to the control program CNTPROG in FIG.

(ステップS300)
メインマイクロコンピュータ110及びサブマイクロコンピュータ120は、電源が投入されたことを示す電源信号200を受信すると、本フローチャートを開始する。本フローチャートを開始する時点において、メイン電源IC130とサブ電源IC140はそれぞれ電源信号200に従って電力供給を開始済みであるものとする。以下は、一例として、メインマイクロコンピュータ110の動作について記載する。なお、図1において説明された様に、サブマイクロコンピュータ120は、メインマイクロコンピュータ110の起動時に、診断結果(DResult(111)、DResult(112))の情報をメインマイクロコンピュータ110へ通知しており、また、メインマイクロコンピュータ110は、サブマイクロコンピュータ120の起動時に、診断結果(DResult(121)、DResult(122))の情報をサブマイクロコンピュータ120へ通知しているものとする。
(Step S300)
When the main microcomputer 110 and the sub-microcomputer 120 receive the power signal 200 indicating that the power is turned on, this flowchart starts. At the time of starting this flowchart, it is assumed that the main power supply IC 130 and the sub power supply IC 140 have already started to supply power according to the power supply signal 200. The operation of the main microcomputer 110 will be described below as an example. As described with reference to FIG. 1, the sub-microcomputer 120 notifies the main microcomputer 110 of the information of the diagnosis result (DRresult (111), DRresult (112)) when the main microcomputer 110 is activated. Also, it is assumed that the main microcomputer 110 notifies the sub-microcomputer 120 of the diagnostic result (DRresult (121), DRresult (122)) information when the sub-microcomputer 120 is activated.

(ステップS301)
メインマイクロコンピュータ110は、メインCPU111及びサブCPU112と、それぞれの出力結果を比較する比較器116を備えており、比較器116での照合結果が一致するか否かを判定する。比較器116の照合結果が一致する場合は、CPU故障無しとしてステップS302に進む。比較器116の照合結果が不一致の場合は、CPU故障有りとしてステップS303に進む。
(Step S301)
The main microcomputer 110 includes a main CPU 111 and a sub CPU 112, and a comparator 116 that compares the output results of the main CPU 111 and the sub CPU 112, and determines whether the comparison results of the comparator 116 match. If the comparison results of the comparator 116 match, it is determined that there is no CPU failure and the process proceeds to step S302. If the comparison result of the comparator 116 does not match, it is determined that there is a CPU failure and the process proceeds to step S303.

(ステップS302)
メインマイクロコンピュータ110は、メインCPU111及びサブCPU112に故障が無いと判定し、メインCPU111の出力信号を使用する。または、サブCPU112の出力値を使用してもよい。
(Step S302)
The main microcomputer 110 determines that there is no failure in the main CPU 111 and the sub CPU 112, and uses the output signal of the main CPU 111. Alternatively, the output value of the sub CPU 112 may be used.

(ステップS303)
メインマイクロコンピュータ110は、ステップS112で格納したメインCPU111の故障ポテンシャル診断結果(DResult(111))が、正常か否かを判定する。メインCPU111の故障ポテンシャル診断結果(DResult(111))が正常の場合、ステップS304に進む。メインCPU111の故障ポテンシャル診断結果(DResult(111))が異常の場合は、ステップS307に進む。
(Step S303)
The main microcomputer 110 determines whether or not the failure potential diagnostic result (DRResult(111)) of the main CPU 111 stored in step S112 is normal. When the failure potential diagnosis result (DRResult(111)) of the main CPU 111 is normal, the process proceeds to step S304. If the failure potential diagnosis result (DRResult(111)) of the main CPU 111 is abnormal, the process proceeds to step S307.

(ステップS304)
メインマイクロコンピュータ110は、ステップS112で格納したサブCPU112の故障ポテンシャル診断結果(DResult(112))が、正常か否かを判定する。
サブCPU112の故障ポテンシャル診断結果(DResult(112))が正常の場合、ステップS305に進む。サブCPU112の故障ポテンシャル診断結果(DResult(112))が異常の場合は、ステップS306に進む。
(Step S304)
The main microcomputer 110 determines whether or not the failure potential diagnosis result (DRResult (112)) of the sub CPU 112 stored in step S112 is normal.
When the failure potential diagnosis result (DRResult (112)) of the sub CPU 112 is normal, the process proceeds to step S305. When the failure potential diagnosis result (DRResult (112)) of the sub CPU 112 is abnormal, the process proceeds to step S306.

(ステップS305)
メインマイクロコンピュータ110は、メインCPU111及びサブCPU112以外に故障があると判断し、車両制御用アクチュエータ202を停止させるなどのフェールセーフ処理に移行する。
(Step S305)
The main microcomputer 110 determines that there is a failure other than the main CPU 111 and the sub CPU 112, and shifts to fail-safe processing such as stopping the vehicle control actuator 202.

(ステップS306)
メインマイクロコンピュータ110は、サブCPU112に故障があるものの、メインCPU111は正常であると判断し、メインCPU111の出力信号を使用して通常処理(車両の通常制御の動作)を継続する。
(Step S306)
The main microcomputer 110 determines that the main CPU 111 is normal although the sub CPU 112 has a failure, and uses the output signal of the main CPU 111 to continue normal processing (operation of normal vehicle control).

(ステップS307)
ステップS307はステップS304と同様の判定を実施する。サブCPU112の故障ポテンシャル診断結果(DResult(112))が正常の場合、ステップS308に進む。サブCPU112の故障ポテンシャル診断結果(DResult(112))が異常の場合は、ステップS309に進む。
(Step S307)
In step S307, the same determination as in step S304 is performed. When the failure potential diagnosis result (DRResult (112)) of the sub CPU 112 is normal, the process proceeds to step S308. If the failure potential diagnosis result (DRResult(112)) of the sub CPU 112 is abnormal, the process proceeds to step S309.

(ステップS308)
メインマイクロコンピュータ110は、メインCPU111に故障があるものの、サブCPU112は正常であると判断し、サブCPU112の出力信号を使用して通常処理(車両の通常制御の動作)を継続する。
(Step S308)
The main microcomputer 110 determines that the sub CPU 112 is normal although the main CPU 111 has a failure, and uses the output signal of the sub CPU 112 to continue normal processing (operation of normal control of the vehicle).

(ステップS309)
メインマイクロコンピュータ110は、メインCPU111及びサブCPU112どちらにも故障ポテンシャルがあると判断し、車両制御用アクチュエータ202を停止させるなどのフェールセーフ処理に移行する。
(Step S309)
The main microcomputer 110 determines that both the main CPU 111 and the sub CPU 112 have a failure potential, and shifts to fail-safe processing such as stopping the vehicle control actuator 202.

(ステップS310)
メインマイクロコンピュータ110は、比較器116の照合不一致の情報を、CPU故障情報として、他ユニットに通知する。また、ステップS305またはステップS309に移行したときのみ、CPU故障情報を他ユニットに通知するとしてもよい。
(Step S310)
The main microcomputer 110 notifies the other unit of the mismatch information of the comparator 116 as CPU failure information. Further, the CPU failure information may be notified to other units only when the process proceeds to step S305 or step S309.

以上により、CPUの故障発生時、または、CPUの異常発生時において、故障していない正常なCPUを特定することが可能であり、また、故障していない正常なCPUを有効利用することで、運転性能を維持可能な車両制御装置100を提供することが出来る。 As described above, it is possible to identify a normal CPU that does not fail when a CPU failure occurs or when a CPU abnormality occurs, and by effectively using a normal CPU that does not fail, It is possible to provide the vehicle control device 100 capable of maintaining driving performance.

実施例1によれば、マイクロコンピュータ(110,120)に内蔵されるCPU(111,112,121,122)において、製造時に混入した異物や経年劣化よって生じるCPUの故障ポテンシャルを判断することにより、CPUの故障を、できる限り早期の段階で検出することができる。また、CPUの故障発生時、または、CPUの異常発生時において、故障していない正常なCPUを特定することが可能であり、故障していない正常なCPUを有効利用することで、運転性能を維持可能な車両制御装置100を提供することが出来る。 According to the first embodiment, in the CPUs (111, 112, 121, 122) built in the microcomputers (110, 120), by determining the failure potential of the CPUs caused by foreign substances mixed in during manufacturing or aged deterioration, CPU failures can be detected as early as possible. In addition, when a CPU failure occurs or when a CPU abnormality occurs, it is possible to identify a normal CPU that has not failed, and by effectively using a normal CPU that has not failed, operating performance can be improved. It is possible to provide the maintainable vehicle control device 100.

実施例1によれば、CPU(111、112、121、122)に電源を供給している電源供給ライン(接続線:L1、L2、L3、L4)を流れるCPUの電流(リーク電流)の値が、電流測定部(電流検出部:150、160、152、162)を利用して検出および測定される。これにより、測定されたリーク電流の値ないし量からトランジスタの劣化状態を判断することができる。つまり、測定されたリーク電流の値ないし量によって、CPUの故障ポテンシャルを判断することができる。 According to the first embodiment, the value of the current (leakage current) of the CPU flowing through the power supply lines (connection lines: L1, L2, L3, L4) that supply power to the CPUs (111, 112, 121, 122). Is detected and measured using the current measurement unit (current detection unit: 150, 160, 152, 162). Thus, the deterioration state of the transistor can be determined from the measured value or amount of leak current. That is, the failure potential of the CPU can be determined based on the measured value or amount of leak current.

実施例1において、CPUの電流(リーク電流)の値の測定は、駆動状態のCPUを用いて、スタンバイ状態のCPUに電源を供給している電源供給ラインに流れる電流を測定する。CPUが駆動状態のときにおいて、CPUの電源供給ラインを流れる電流はCPUのリーク電流成分とCPUの駆動電流成分とを含んでいる。被測定CPUをスタンバイ状態とすることにより、CPUの駆動電流成分を除いて、CPUのリーク電流成分(Ileak2)のみを測定することが出来る。 In the first embodiment, the value of the current (leakage current) of the CPU is measured by using the CPU in the driving state and measuring the current flowing in the power supply line that supplies the power to the CPU in the standby state. When the CPU is in a driving state, the current flowing through the power supply line of the CPU includes a leak current component of the CPU and a drive current component of the CPU. By setting the measured CPU to the standby state, it is possible to measure only the leak current component (Ileak2) of the CPU, excluding the drive current component of the CPU.

故障ポテンシャル診断用のCPUリーク電流(Ileak2)は、マイクロコンピュータまたはCPUの製造ばらつきと、マイクロコンピュータまたはCPUの温度変化によるばらつきと、を含んでいる。これらリーク電流のばらつき要素を排除して、トランジスタ劣化によるCPUリーク電流の増加分のみを抽出するため、測定した故障ポテンシャル診断用のCPUリーク電流の値の補正を行う。補正の対象は、マイクロコンピュータまたはCPUの製造ばらつきによるリーク電流ばらつきの補正と、温度変化によるリーク電流ばらつきの補正との2つの補正である。 The CPU leak current (Ileak2) for failure potential diagnosis includes manufacturing variation of the microcomputer or CPU and variation due to temperature change of the microcomputer or CPU. In order to eliminate the variation element of the leak current and to extract only the increase of the CPU leak current due to the transistor deterioration, the value of the measured CPU leak current for the failure potential diagnosis is corrected. The correction targets are two corrections: correction of leakage current variation due to manufacturing variation of the microcomputer or CPU, and correction of leakage current variation due to temperature change.

マイクロコンピュータまたはCPUの製造ばらつきによるリーク電流ばらつきを補正する方法は、マイクロコンピュータまたはCPU製造時に故障ポテンシャル診断用のCPUリーク電流値(Ileak1)を計測し、マイクロコンピュータの記憶領域(ROM:114、124)にCPU製造時のリーク電流値として記憶させる。現在の故障ポテンシャル診断用のCPUリーク電流値(Ileak2)からマイクロコンピュータまたはCPU製造時のリーク電流値(Ileak1)を減算することで、マイクロコンピュータまたはCPU製造時から現在に至るまでのリーク電流の増加分(ΔIleak)を抽出することができる。 A method of correcting a leak current variation due to a manufacturing variation of a microcomputer or a CPU measures a CPU leakage current value (Ileak1) for failure potential diagnosis at the time of manufacturing a microcomputer or a CPU, and stores it in a storage area (ROM: 114, 124) of the microcomputer. ) Is stored as a leak current value when the CPU is manufactured. By subtracting the leak current value (Ileak1) at the time of manufacturing the microcomputer or CPU from the current CPU leak current value (Ileak2) for failure potential diagnosis, the increase of the leak current from the time of manufacturing the microcomputer or CPU to the present Minutes (ΔIleak) can be extracted.

温度によるリーク電流の変化の補正は、あらかじめCPUの温度とCPUのリーク電流の相関マップ(TCM)を用意することで、可能である。マイクロコンピュータまたはCPUの温度は、マイクロコンピュータに内蔵している温度センサ(TSEN:115,125)によりマイクロコンピュータまたはCPUの温度の測定し、測定したCPUの温度とCPUリーク電流の相関マップないし温度変化マップ(TCM)から、温度によるCPUリーク電流の変化量(Icv)を算出する。 The change in the leak current due to the temperature can be corrected by preparing a correlation map (TCM) of the temperature of the CPU and the leak current of the CPU in advance. The temperature of the microcomputer or the CPU is measured by the temperature sensor (TSEN: 115, 125) built in the microcomputer, and the temperature of the microcomputer or the CPU is measured, and the correlation map of the measured CPU temperature and the CPU leakage current or the temperature change. From the map (TCM), the change amount (Icv) of the CPU leak current depending on the temperature is calculated.

温度補正前のCPUリーク電流増加量(ΔIleak)と、相関マップ(TCM)を利用した温度によるCPUリーク電流の変化量(Icv)とを用いて、温度補正後のCPUリーク電流増加量(ΔIleakc)が算出される。温度補正後のCPUリーク電流の増加量(ΔIleakc)が、あらかじめ規定した故障ポテンシャルを有すると判断する電流の増加量(ΔIleakc)の判定閾値(TH)よりも大きい場合、CPUは、完全に故障していないものの、将来、故障となるポテンシャルを有していると判断する。 The CPU leak current increase amount (ΔIleakc) after the temperature correction is performed by using the CPU leak current increase amount (ΔIleak) before the temperature correction and the change amount (Icv) of the CPU leak current due to the temperature using the correlation map (TCM). Is calculated. When the increase amount (ΔIleakc) of the CPU leakage current after the temperature correction is larger than the determination threshold value (TH) of the increase amount (ΔIleakc) of the current which is determined to have the predetermined failure potential, the CPU completely fails. Although it has not, it is judged that it has the potential for failure in the future.

これにより、現時点ではCPUは正常に演算できるが将来的に故障する可能性がある状態を早期の段階で検出することができる。すなわち、CPUの故障ポテンシャル診断の結果から、故障したCPUを特定することができるので、CPUの故障発生時において、故障していない正常なCPUを使って、車両制御を縮退させることなく、車両の走行性能を維持することができる。 As a result, the CPU can normally operate at the present time, but can detect a state in which there is a possibility of failure in the future at an early stage. That is, since the faulty CPU can be identified from the result of the fault potential diagnosis of the CPU, when a fault occurs in the CPU, the normal CPU that is not faulty is used to degenerate the vehicle control without degrading the vehicle control. The running performance can be maintained.

リーク電流の測定とCPU故障ポテンシャル診断は、少なくとも1つのCPUをスタンバイ状態とするために、車両制御装置の起動時またはシャットダウン時に実施することが有効である。また、起動時毎やシャットダウン毎に、診断するCPUの組み合わせを変えてもよい(図9A、図9B,図9C,図9Dを参照)。 It is effective to measure the leak current and diagnose the CPU failure potential at the time of starting or shutting down the vehicle control device in order to put at least one CPU in the standby state. Further, the combination of CPUs to be diagnosed may be changed each time the system is started up or shut down (see FIGS. 9A, 9B, 9C, and 9D).

図11は、実施例2に係る車両制御装置システムを示す図である。図11に示される車両制御装置システム1aは、図1と同様に、電子制御装置(ECU:Electronic Control Unit)である車両制御装置100aを有する。車両制御装置100aは、車両が搭載する車載機器(例えば、自動変速機、エンジンなど)を電子的に制御する装置である。図11の車両制御装置100aは、図1の車両制御装置100と比較して、メインマイクロコンピュータ110内の比較器116およびサブマイクロコンピュータ120内の比較器126を排除した構成となっている。車両制御装置100aのメインマイクロコンピュータ110は、メインCPU111とサブCPU112で別の制御を同時実行する並列処理型の方式とする。上記以外は車両制御装置100と同じため、その説明は省略する。 FIG. 11 is a diagram illustrating the vehicle control device system according to the second embodiment. The vehicle control device system 1a shown in FIG. 11 includes a vehicle control device 100a which is an electronic control unit (ECU: Electronic Control Unit) as in FIG. The vehicle control device 100a is a device that electronically controls in-vehicle devices (for example, an automatic transmission, an engine, etc.) mounted on a vehicle. The vehicle control device 100a of FIG. 11 is different from the vehicle control device 100 of FIG. 1 in that the comparator 116 in the main microcomputer 110 and the comparator 126 in the sub-microcomputer 120 are eliminated. The main microcomputer 110 of the vehicle control device 100a is of a parallel processing type in which the main CPU 111 and the sub CPU 112 simultaneously execute different controls. Other than the above, the description is omitted because it is the same as the vehicle control device 100.

図12は、実施例2に係る制御手順を説明する図である。実施例2の制御手順では、車両制御装置100aにおいて、故障ポテンシャル診断の結果が正常か否かを判定し、異常時は本来実施していた制御機能を縮退させる。これにより、完全にCPUが故障するまでの期間を延長させるとともに、完全にCPUが故障しても、車両制御装置100aが本来もつ機能を維持させることが出来る。 FIG. 12 is a diagram illustrating a control procedure according to the second embodiment. In the control procedure of the second embodiment, in the vehicle control device 100a, it is determined whether or not the result of the failure potential diagnosis is normal, and when abnormal, the control function originally executed is degenerated. As a result, it is possible to extend the period until the CPU completely fails, and to maintain the original function of the vehicle control device 100a even if the CPU completely fails.

(ステップS400)
メインマイクロコンピュータ110及びサブマイクロコンピュータ120は、電源が投入されたことを示す電源信号200を受信すると、本フローチャートを開始する。本フローチャートを開始する時点において、メイン電源IC130とサブ電源IC140はそれぞれ電源信号200に従って電力供給を開始済みであるものとする。以下は、一例として、メインマイクロコンピュータ110の動作について記載する。また、故障ポテンシャル診断は、前述通りであり、同様のため、その説明は省略する。
(Step S400)
When the main microcomputer 110 and the sub-microcomputer 120 receive the power signal 200 indicating that the power is turned on, this flowchart starts. At the time of starting this flowchart, it is assumed that the main power supply IC 130 and the sub power supply IC 140 have already started to supply power according to the power supply signal 200. The operation of the main microcomputer 110 will be described below as an example. The failure potential diagnosis is the same as described above, and the description thereof is omitted because it is the same.

(ステップS401)
メインマイクロコンピュータ110は、メインCPU111及びサブCPU112の故障ポテンシャル診断の実施経験(DHist)があるか否かを判定する。故障ポテンシャル診断の実施経験(DHist)が無い場合は、制御終了し、実施経験(DHist)がある場合は、ステップS402に進む。
(Step S401)
The main microcomputer 110 determines whether or not the main CPU 111 and the sub CPU 112 have experience (DHist) in performing a failure potential diagnosis. If there is no experience (DHist) in performing the failure potential diagnosis, the control ends, and if there is experience (DHist), the process proceeds to step S402.

(ステップS402)
メインマイクロコンピュータ110は、メインCPU111の故障ポテンシャル診断結果(DRsult(111))が正常か否かを判定する。メインCPU111の故障ポテンシャル診断結果(DRsult(111))が正常の場合、ステップS403に進む。故障ポテンシャル診断結果(DRsult(111))が異常の場合、ステップS407へ進む。
(Step S402)
The main microcomputer 110 determines whether or not the failure potential diagnosis result (DRsult(111)) of the main CPU 111 is normal. When the failure potential diagnosis result (DRsult(111)) of the main CPU 111 is normal, the process proceeds to step S403. When the failure potential diagnosis result (DRsult(111)) is abnormal, the process proceeds to step S407.

(ステップS403)
メインマイクロコンピュータ110は、サブCPU112の故障ポテンシャル診断結果(DRsult(112))が正常か否かを判定する。サブCPU112の故障ポテンシャル診断結果(DRsult(112))が正常の場合、ステップS404に進む。故障ポテンシャル診断結果(DRsult(112))が異常の場合、ステップS405へ進む。
(Step S403)
The main microcomputer 110 determines whether or not the failure potential diagnosis result (DRsult (112)) of the sub CPU 112 is normal. When the failure potential diagnosis result (DRsult(112)) of the sub CPU 112 is normal, the process proceeds to step S404. When the failure potential diagnosis result (DRsult (112)) is abnormal, the process proceeds to step S405.

(ステップS404)
メインマイクロコンピュータ110は、メインCPU111及びサブCPU112のどちらにも故障ポテンシャルが無いと判断し、通常タスク動作設定に従う通常動作を継続させる。
(Step S404)
The main microcomputer 110 determines that neither the main CPU 111 nor the sub CPU 112 has a failure potential, and continues the normal operation according to the normal task operation setting.

(ステップS405、ステップS406)
メインマイクロコンピュータ110は、メインCPU111に故障ポテンシャル無し、サブCPU112に故障ポテンシャル有りと判断する。そして、サブCPU112の制御タスクに割り当てられていた機能(タスクD)を縮小し、サブCPU112の演算負荷を低下させる。これにより、サブCPU112が完全に故障するまでの時間を延長させる。同時に、ステップS406で、メインCPU111の制御タスクに割り当てられていた機能(タスクD)を拡張させる。結果として、メインCPU111とサブCPU112の演算の分担割合が変化するものの、車両制御装置100aのトータルで演算される制御タスクは変わらない状況を作り出すことが可能となる。ただし、メインCPU111の演算負荷限界を超える機能は、メインCPU111に割り当てることはできないことから、メインCPU111に割り当てる機能と、サブCPU112から縮小させる機能は、あらかじめ決定しておく必要がある。図13に、サブCPU112の故障ポテンシャルが高いことを検知したときの制御タスクの割り当て変更の一例を示す、詳細は図13の説明に記す。
(Step S405, Step S406)
The main microcomputer 110 determines that the main CPU 111 has no failure potential and the sub CPU 112 has a failure potential. Then, the function (task D) assigned to the control task of the sub CPU 112 is reduced, and the calculation load of the sub CPU 112 is reduced. This extends the time until the sub CPU 112 completely fails. At the same time, in step S406, the function (task D) assigned to the control task of the main CPU 111 is expanded. As a result, it is possible to create a situation in which the control task calculated by the total of the vehicle control device 100a does not change, although the share of calculation of the main CPU 111 and the sub CPU 112 changes. However, since the function exceeding the calculation load limit of the main CPU 111 cannot be assigned to the main CPU 111, the function assigned to the main CPU 111 and the function to be reduced by the sub CPU 112 must be determined in advance. FIG. 13 shows an example of changing the allocation of the control task when it is detected that the failure potential of the sub CPU 112 is high. The details will be described in the description of FIG.

(ステップS407)
ステップS403と同様のため省略する。
(Step S407)
Since it is the same as step S403, description thereof will be omitted.

(ステップS408、ステップS409)
ステップS405、ステップS406と同様の手段とし、メインCPU111の制御タスクの機能(タスク)を縮小し、サブCPU112の制御タスクの機能(タスク)を拡張させる。
(Steps S408 and S409)
By using the same means as in steps S405 and S406, the function (task) of the control task of the main CPU 111 is reduced and the function (task) of the control task of the sub CPU 112 is expanded.

(ステップS410)
メインマイクロコンピュータ110は、メインCPU111及びサブCPU112のどちらにも故障ポテンシャルがあると判断し、通常タスク動作設定に従う通常動作を継続させる。なお、ここでいう通常タスク動作設定とは、タスク変更を実施しない通常動作のためのタスク設定の意味合いである。
(Step S410)
The main microcomputer 110 determines that both the main CPU 111 and the sub CPU 112 have a failure potential, and continues the normal operation according to the normal task operation setting. The normal task operation setting mentioned here means the task setting for the normal operation that does not change the task.

(制御タスクの割り当て変更の一例)
図13は、実施例2に係る制御タスクの割り当て変更の一例を説明する図である。図13は、サブCPU112の故障ポテンシャルが高いことを検知したときの制御タスクの割り当て変更の一例である。図12の故障ポテンシャル診断によって、メインCPU111及びサブCPU112に故障ポテンシャルが無く、CPUが正常な状態では、図13の(A)に示す様に、メインCPU111は、定時処理としてタスクAとタスクBを実行し、空き時間でバックグラウンドジョブ(以下、BGJ)1を実行する。一方、サブCPU112は定時処理としてタスクCとタスクDを実行し、空き時間でBGJ2を実行する。
(Example of changing control task assignment)
FIG. 13 is a schematic diagram illustrating an example of changing the assignment of control tasks according to the second embodiment. FIG. 13 is an example of changing the assignment of control tasks when it is detected that the failure potential of the sub CPU 112 is high. When there is no failure potential in the main CPU 111 and the sub CPU 112 according to the failure potential diagnosis in FIG. 12 and the CPU is in a normal state, the main CPU 111 performs task A and task B as scheduled processing, as shown in FIG. The background job (hereinafter, BGJ) 1 is executed in the idle time. On the other hand, the sub CPU 112 executes task C and task D as the regular processing, and executes BGJ2 in the idle time.

ここで、図12の故障ポテンシャル診断によって、サブCPU112に故障ポテンシャル有りと判定された場合、図13の(B)に示す様に、サブCPU112のタスクDをメインCPU111に割り当てるという一例を示している。メインCPU111は、タスクAとタスクBと拡張されたタスクDとを実行し、空き時間でバックグラウンドジョブ(以下、BGJ)1を実行する。一方、サブCPU112はタスクCを実行し、空き時間でBGJ2を実行する。すなわち、サブCPU112で実行されていたタスクDが、メインCPU111へ譲渡された状態である。 Here, when it is determined by the failure potential diagnosis in FIG. 12 that the sub CPU 112 has a failure potential, an example is shown in which the task D of the sub CPU 112 is assigned to the main CPU 111, as shown in FIG. 13B. .. The main CPU 111 executes the task A, the task B, and the extended task D, and executes the background job (hereinafter, BGJ) 1 in the idle time. On the other hand, the sub CPU 112 executes task C and executes BGJ2 in the idle time. That is, the task D being executed by the sub CPU 112 is transferred to the main CPU 111.

図12の故障ポテンシャル診断は電源信号200がオフされた後に実施され、タスク割り当て変更は車両のキーオンにより車両制御装置100aが起動した際に実施される。このため、通常制御中のタスク割り当て変更による制御の急変による車両挙動への影響は無い。 The failure potential diagnosis of FIG. 12 is performed after the power supply signal 200 is turned off, and the task assignment change is performed when the vehicle control device 100a is activated by key-on of the vehicle. Therefore, there is no influence on the vehicle behavior due to a sudden change in control due to a task assignment change during normal control.

また、サブCPU112は、タスクDの機能をメインCPU111に割り当てて、演算負荷を下げたとはいえ、故障ポテンシャルが高い状態であることは変わらない。サブCPU112が完全に故障した際は、タスクC機能、BGJ2は失われることになるため、予め失われても車両走行に影響のない機能を割り当てるのが良い。この場合、サブCPU112が完全に故障したとしても、車両は安全に走行を継続することができるからである。 Further, although the sub CPU 112 allocates the function of task D to the main CPU 111 to reduce the calculation load, it still has a high failure potential. When the sub CPU 112 completely fails, the task C function and the BGJ2 are lost. Therefore, it is preferable to assign a function that does not affect the vehicle running even if the sub CPU 112 is lost in advance. In this case, even if the sub CPU 112 completely fails, the vehicle can continue traveling safely.

なお、図13の(A)のタスク実行状態から、図13の(B)のタスク実行状態からへ変更する場合には、図13の(A)のタスク実行状態を定義する通常タスク動作設定と、図13の(B)のタスク実行状態を定義する異常時タスク動作設定1とを、例えば、メインマイクロコンピュータ110のROM114の記憶領域に格納する。メインCPU111及びサブCPU112に故障ポテンシャルが無く、CPU111,112が正常な状態では、通常タスク動作設定を実行する様にする。一方、サブCPU112に故障ポテンシャルが有ると判定された場合、通常タスク動作設定から、異常時タスク動作設定へ変更する。この通常タスク動作設定から異常時タスク動作設定1への変更は、前述の様に、車両のキーオンにより車両制御装置100aが起動した際に変更するようにする。 When changing from the task execution state of FIG. 13A to the task execution state of FIG. 13B, the normal task operation setting that defines the task execution state of FIG. The abnormal task operation setting 1 defining the task execution state of FIG. 13B is stored in the storage area of the ROM 114 of the main microcomputer 110, for example. When the main CPU 111 and the sub CPU 112 have no failure potential and the CPUs 111 and 112 are in a normal state, the normal task operation setting is executed. On the other hand, when it is determined that the sub CPU 112 has a failure potential, the normal task operation setting is changed to the abnormal task operation setting. As described above, the change from the normal task operation setting to the abnormal task operation setting 1 is performed when the vehicle control device 100a is activated by key-on of the vehicle.

なお、メインCPU111に故障ポテンシャルが有ると判定された場合には、上記と同様な思想により、例えば、メインCPU111で実行されていたタスクBを、サブCPU112へ譲渡する様な、タスクの変更を行うことが出来る。この場合、メインCPU111に故障ポテンシャルが有ると判定された場合に利用される異常時タスク動作設定2を、通常タスク動作設定、異常時タスク動作設定1の他に、設ければよい。この異常時タスク動作設定2は、メインマイクロコンピュータ110のROM114の記憶領域に、通常タスク動作設定、異常時タスク動作設定1とともに格納すればよい。 When it is determined that the main CPU 111 has a failure potential, the task is changed such that, for example, the task B executed by the main CPU 111 is transferred to the sub CPU 112 according to the same idea as described above. You can In this case, the abnormal task operation setting 2 used when it is determined that the main CPU 111 has a failure potential may be provided in addition to the normal task operation setting and the abnormal task operation setting 1. The abnormal task operation setting 2 may be stored in the storage area of the ROM 114 of the main microcomputer 110 together with the normal task operation setting and the abnormal task operation setting 1.

実施例2によれば、故障ポテンシャルが高いCPU(112)が完全に故障する前に、故障ポテンシャルが高いCPU(112)が受け持つ演算制御(タスクD)を他のCPU(111)に譲渡し、車両制御装置(100a)が持つ機能を縮退させることなく、自動車の運転者にCPU故障を通知することができるため、安全かつスムーズに自動車を修理するための移動を行うことができる。 According to the second embodiment, before the CPU (112) with a high failure potential completely fails, the arithmetic control (task D) that the CPU (112) with a high failure potential takes charge of is transferred to another CPU (111). Since the driver of the vehicle can be notified of the CPU failure without degrading the function of the vehicle control device (100a), the vehicle can be safely and smoothly moved for repair.

また、実施例2によれば、CPU(112)が完全に故障したとき、故障を検知するまでの故障検知ディレイ時間においても、正常なCPU(111)を使用できる。このため、車両制御装置(100a)の有する本来の運転性能を犠牲にすることが無く、エンジンやトランスミッション等のアクチュエータが急停止や誤作動し、車両が意図しない挙動をすることを防ぐことができる。 According to the second embodiment, when the CPU (112) completely fails, the normal CPU (111) can be used even in the failure detection delay time until the failure is detected. Therefore, the original driving performance of the vehicle control device (100a) is not sacrificed, and it is possible to prevent actuators such as the engine and the transmission from suddenly stopping or malfunctioning and causing the vehicle to behave unintentionally. ..

また、実施例2によれば、CPU(112)が完全に故障する前に、あらかじめ故障ポテンシャルの高いCPU(112)で演算するタスク(D)を縮退させる。これにより、CPU(112)の演算負荷を下げることかできので、CPU(112)が完全に故障するまでの期間を延長することができる。 According to the second embodiment, the task (D) calculated by the CPU (112) having a high failure potential is degenerated before the CPU (112) completely fails. As a result, the calculation load of the CPU (112) can be reduced, and the period until the CPU (112) completely fails can be extended.

図14は、実施例3に係る車両制御装置システムを示す図である。図14に示される車両制御装置システム1bは、図1と同様に、電子制御装置(ECU:Electronic Control Unit)である車両制御装置100bを有する。車両制御装置100bは、車両が搭載する車載機器(例えば、自動変速機、エンジンなど)を電子的に制御する装置である。図14の車両制御装置100bは、図1の車両制御装置100と比較して、メインマイクロコンピュータ110はCPU111のみ有し、サブマイクロコンピュータ120はCPU121のみ有する。この変更に伴い、電流測定部SCM160,162が削除されている。また、メインマイクロコンピュータ110内の比較器116およびサブマイクロコンピュータ120内の比較器126が削除されている。比較器116,126の代わりとして、比較器としての機能を有する信号照合部COMPbが、メインマイクロコンピュータ110およびサブマイクロコンピュータ120とは別の半導体集積回路装置として、車両制御装置100bに設けられる。他の構成は、実施例1と同様であり、その説明は省略される。 FIG. 14 is a diagram illustrating a vehicle control device system according to the third embodiment. The vehicle control device system 1b shown in FIG. 14 includes a vehicle control device 100b which is an electronic control unit (ECU) as in FIG. The vehicle control device 100b is a device that electronically controls in-vehicle devices (for example, an automatic transmission, an engine, etc.) mounted on the vehicle. In the vehicle control device 100b of FIG. 14, as compared with the vehicle control device 100 of FIG. 1, the main microcomputer 110 has only the CPU 111, and the sub-microcomputer 120 has only the CPU 121. Due to this change, the current measuring units SCM160 and 162 are deleted. Further, the comparator 116 in the main microcomputer 110 and the comparator 126 in the sub microcomputer 120 are deleted. Instead of the comparators 116 and 126, a signal matching unit COMPb having a function as a comparator is provided in the vehicle control device 100b as a semiconductor integrated circuit device different from the main microcomputer 110 and the sub-microcomputer 120. Other configurations are similar to those of the first embodiment, and the description thereof will be omitted.

信号照合部COMPbは、メインマイクロコンピュータ(第1マイクロコンピュータ)110またはCPU(第1CPU)111の出力信号Smmcとサブマイクロコンピュータ(第2マイクロコンピュータ)120またはCPU(第2CPU)121の出力信号Ssmcとが一致しているか否かを比較する。出力信号Smmcと出力信号Ssmcとが一致の場合、例えば、メインマイクロコンピュータ110の出力信号Smmcが利用されて、信号照合部COMPbは、信号照合部COMPbに接続されるアクチュエータ(ACU)202や信号照合部COMPbにCANバス(CAN bus)を介して接続される表示装置203および電動パワーステアリング装置(EPS)204を駆動する。 The signal matching unit COMPb includes an output signal Smmc of the main microcomputer (first microcomputer) 110 or the CPU (first CPU) 111 and an output signal Ssmc of the sub microcomputer (second microcomputer) 120 or the CPU (second CPU) 121. Are compared to see if they match. When the output signal Smmc and the output signal Ssmc are the same, for example, the output signal Smmc of the main microcomputer 110 is used, and the signal matching unit COMPb connects the actuator (ACU) 202 and the signal matching unit connected to the signal matching unit COMPb. A display device 203 and an electric power steering device (EPS) 204, which are connected to the section COMPb via a CAN bus, are driven.

信号照合部COMPbは、また、メインマイクロコンピュータ110から故障ポテンシャルの診断結果DResult(121)とサブマイクロコンピュータ120から故障ポテンシャルの診断結果DResult(111)とを受けるようにされており、これら診断信号DResult(121)、DResult(111)に従って、図15で説明される故障ポテンシャル診断結果を用いた制御手順が実行される。 The signal matching unit COMPb is also adapted to receive the failure potential diagnosis result DRResult (121) from the main microcomputer 110 and the failure potential diagnosis result DRResult (111) from the sub-microcomputer 120, and these diagnosis signals DRResult are received. According to (121) and DRResult (111), the control procedure using the failure potential diagnosis result described in FIG. 15 is executed.

図15は、実施例3に係る制御手順を説明する図である。以下、図15を用いて、実施例3の制御手順を説明する。 FIG. 15 is a diagram illustrating a control procedure according to the third embodiment. The control procedure of the third embodiment will be described below with reference to FIG.

(ステップS500)
メインマイクロコンピュータ110及びサブマイクロコンピュータ120は、電源が投入されたことを示す電源信号200を受信すると、本フローチャートを開始する。本フローチャートを開始する時点において、メイン電源IC130とサブ電源IC140はそれぞれ電源信号200に従って電力供給を開始済みであるものとする。
(Step S500)
When the main microcomputer 110 and the sub-microcomputer 120 receive the power signal 200 indicating that the power is turned on, this flowchart starts. At the time of starting this flowchart, it is assumed that the main power supply IC 130 and the sub power supply IC 140 have already started to supply power according to the power supply signal 200.

(ステップS501)
信号照合部COMPbは、メインマイクロコンピュータ110の出力信号Smmcとサブマイクロコンピュータ120の出力信号Ssmcとが一致しているか否かを比較し、照合結果が一致するか否かを判定する。信号照合部COMPbの照合結果が一致する場合(YES)は、CPU故障無しとしてステップS502に進む。信号照合部COMPbの照合結果が不一致(NO)の場合は、CPU故障有りとしてステップS503に進む。
(Step S501)
The signal matching unit COMPb compares whether or not the output signal Smmc of the main microcomputer 110 and the output signal Ssmc of the sub-microcomputer 120 match, and determines whether or not the matching results match. If the verification results of the signal verification unit COMPb match (YES), it is determined that there is no CPU failure, and the process proceeds to step S502. If the verification result of the signal verification unit COMPb does not match (NO), it is determined that there is a CPU failure, and the process proceeds to step S503.

(ステップS502)
信号照合部COMPbは、メインマイクロコンピュータ110のCPU111に故障が無いと判定し、メインマイクロコンピュータ110の出力信号Smmcをそのまま使用する。または、サブマイクロコンピュータ120のCPU121に故障が無いと判定し、サブマイクロコンピュータ120の出力信号Ssmcを使用してもよい。
(Step S502)
The signal matching unit COMPb determines that the CPU 111 of the main microcomputer 110 has no failure and uses the output signal Smc of the main microcomputer 110 as it is. Alternatively, it may be determined that the CPU 121 of the sub-microcomputer 120 has no failure and the output signal Ssmc of the sub-microcomputer 120 may be used.

(ステップS503)
信号照合部COMPbは、ステップS112で格納したCPU111の故障ポテンシャル診断結果(DResult(111))が、正常か否かを判定する。CPU111の故障ポテンシャル診断結果(DResult(111))が正常の場合、ステップS504に進む。CPU111の故障ポテンシャル診断結果(DResult(111))が異常の場合は、ステップS507に進む。
(Step S503)
The signal matching unit COMPb determines whether or not the failure potential diagnosis result (DRresult(111)) of the CPU 111 stored in step S112 is normal. When the failure potential diagnosis result (DRResult(111)) of the CPU 111 is normal, the process proceeds to step S504. If the failure potential diagnosis result (DRResult(111)) of the CPU 111 is abnormal, the process proceeds to step S507.

(ステップS504)
信号照合部COMPbは、ステップS112で格納したサブマイクロコンピュータ120のCPU121の故障ポテンシャル診断結果(DResult(121))が、正常か否かを判定する。CPU121の故障ポテンシャル診断結果(DResult(121))が正常の場合、ステップS505に進む。CPU121の故障ポテンシャル診断結果(DResult(121))が異常の場合は、ステップS506に進む。
(Step S504)
The signal matching unit COMPb determines whether or not the failure potential diagnosis result (DRresult(121)) of the CPU 121 of the sub-microcomputer 120 stored in step S112 is normal. When the failure potential diagnosis result (DRResult(121)) of the CPU 121 is normal, the process proceeds to step S505. If the failure potential diagnosis result (DRResult(121)) of the CPU 121 is abnormal, the process proceeds to step S506.

(ステップS505)
メインマイクロコンピュータ110のCPU111及びサブマイクロコンピュータ120のCPU121以外に故障があると判断し、車両制御用アクチュエータ202を停止させるなどのフェールセーフ処理に移行する。
(Step S505)
It is determined that there is a failure other than the CPU 111 of the main microcomputer 110 and the CPU 121 of the sub-microcomputer 120, and the process proceeds to a fail-safe process such as stopping the vehicle control actuator 202.

(ステップS506)
信号照合部COMPbは、サブマイクロコンピュータ120のCPU121に故障があるものの、メインマイクロコンピュータ110のCPU111は正常であると判断し、メインマイクロコンピュータ110の出力信号Smmcを使用して通常処理(車両の通常制御の動作)を継続する。
(Step S506)
The signal matching unit COMPb determines that the CPU 111 of the main microcomputer 110 is normal although the CPU 121 of the sub-microcomputer 120 has a failure, and uses the output signal Smc of the main microcomputer 110 for normal processing (normal for the vehicle). Control operation).

(ステップS507)
ステップS507はステップS504と同様の判定を実施する。CPU121の故障ポテンシャル診断結果(DResult(121))が正常の場合、ステップS508に進む。CPU121の故障ポテンシャル診断結果(DResult(121))が異常の場合は、ステップS509に進む。
(Step S507)
In step S507, the same determination as in step S504 is performed. When the failure potential diagnosis result (DRResult(121)) of the CPU 121 is normal, the process proceeds to step S508. When the failure potential diagnosis result (DRResult(121)) of the CPU 121 is abnormal, the process proceeds to step S509.

(ステップS508)
信号照合部COMPbは、メインマイクロコンピュータ110のCPU111に故障があるものの、サブマイクロコンピュータ120のCPU121は正常であると判断し、メインマイクロコンピュータ110の出力信号Sscmを使用して通常処理(車両の通常制御の動作)を継続する。
(Step S508)
The signal matching unit COMPb determines that the CPU 121 of the sub-microcomputer 120 is normal although the CPU 111 of the main microcomputer 110 has a failure, and uses the output signal Sscm of the main microcomputer 110 for normal processing (normal for the vehicle). Control operation).

(ステップS509)
信号照合部COMPbは、メインマイクロコンピュータ110のCPU111及びサブマイクロコンピュータ120のCPU121どちらにも故障ポテンシャルがあると判断し、車両制御用アクチュエータ202を停止させるなどの安全状態に遷移し、フェールセーフ処理に移行する。
(Step S509)
The signal matching unit COMPb determines that both the CPU 111 of the main microcomputer 110 and the CPU 121 of the sub microcomputer 120 have a failure potential, transitions to a safe state such as stopping the vehicle control actuator 202, and performs fail-safe processing. Transition.

なお、信号照合部COMPbは、照合不一致の情報をCPU故障情報として、他ユニットに通知しても良い。また、ステップS505またはステップS509に移行したときのみ、CPU故障情報を他ユニットに通知するとしてもよい。 The signal matching unit COMPb may notify other units of the mismatch information as the CPU failure information. The CPU failure information may be notified to other units only when the process proceeds to step S505 or step S509.

実施例3によれば、実施例1と同様な効果を得る事が可能であり、現時点ではCPUは正常に演算できるが将来的に故障する可能性がある状態を早期の段階で検出することができる。 According to the third embodiment, it is possible to obtain the same effect as that of the first embodiment, and it is possible to detect the state in which the CPU can normally operate at the present time but may possibly fail in the future at an early stage. it can.

CPU故障ポテンシャル診断の結果から、故障したCPUを特定することができるので、CPUの故障発生時やCPUの異常発生時において、故障していない正常なCPUを有効に利用して、車両制御を縮退させることなく、運転性能を維持可能な車両制御装置(100b)を提供することが出来る。 Since the failed CPU can be identified from the result of the CPU failure potential diagnosis, the vehicle control can be degenerated by effectively using the normal CPU that has not failed when the CPU fails or the CPU fails. It is possible to provide the vehicle control device (100b) that can maintain the driving performance without performing the operation.

以上、本発明者によってなされた発明を実施例に基づき具体的に説明したが、本発明は、上記実施形態および実施例に限定されるものではなく、種々変更可能であることはいうまでもない。 Although the invention made by the present inventor has been specifically described based on the examples, the present invention is not limited to the above-described embodiments and examples, and it goes without saying that various modifications can be made. ..

100:車両制御装置110:メインマイクロコンピュータ(MMC)111:メインCPU(MCPU)112:サブCPU(SCPU)113:RAM114:ROM115:温度センサ(TSEN)116:比較器(COMP)120:サブマイクロコンピュータ(SMC)130:メイン電源IC(MPSP)140:サブ電源IC(SPSP)150:メインCPU電流測定部(MCM)160:サブCPU電流測定部(SCM)200:電源信号(PS)201:バッテリ(BAT)202:アクチュエータ(ACU)203:表示装置(DISP)L1,L2,L3,L4:接続線 100: Vehicle control device 110: Main microcomputer (MMC) 111: Main CPU (MCPU) 112: Sub CPU (SCPU) 113: RAM 114: ROM 115: Temperature sensor (TSEN) 116: Comparator (COMP) 120: Sub microcomputer (SMC) 130: Main power supply IC (MPSP) 140: Sub power supply IC (SPSP) 150: Main CPU current measurement unit (MCM) 160: Sub CPU current measurement unit (SCM) 200: Power supply signal (PS) 201: Battery ( BAT) 202: Actuator (ACU) 203: Display device (DISP) L1, L2, L3, L4: Connection line

Claims (17)

メインCPUとサブCPUとを有するマイクロコンピュータと、
電源部と、
前記電源部と前記メインCPUとを接続する第1接続線と、
前記電源部と前記サブCPUとを接続する第2接続線と、
前記第1接続線に流れる電流値と前記第2接続線に流れる電流値とを検出する電流検出部と、を有し、
前記マイクロコンピュータは、前記第1接続線と前記第2接続線の一方に流れる前記電流値が設定値より大きく、かつ、前記第1接続線と前記第2接続線の他方に流れる前記電流値が前記設定値以下の場合、前記他方に接続される前記メインCPU、又は前記サブCPUを用いて運転を継続する、車両制御装置。
A microcomputer having a main CPU and a sub CPU;
Power supply part,
A first connection line connecting the power supply unit and the main CPU;
A second connection line connecting the power supply unit and the sub CPU;
A current detector that detects a current value flowing in the first connection line and a current value flowing in the second connection line,
In the microcomputer, the current value flowing in one of the first connection line and the second connection line is larger than a set value, and the current value flowing in the other of the first connection line and the second connection line is A vehicle control device that continues driving using the main CPU or the sub CPU connected to the other when the value is equal to or less than the set value.
請求項1の車両制御装置において、
前記マイクロコンピュータは、前記メインCPUからの出力信号と前記サブCPUからの出力信号とを比較する比較部と、を有し、
前記マイクロコンピュータは、前記比較部の比較結果が不一致の場合、前記メインCPUおよび前記サブCPUのうち、前記電流値が前記設定値以下の前記メインCPU又は前記サブCPUを用いて車両の運転を継続する、車両制御装置。
The vehicle control device according to claim 1,
The microcomputer has a comparison unit that compares an output signal from the main CPU with an output signal from the sub CPU.
When the comparison result of the comparison unit does not match, the microcomputer continues the driving of the vehicle by using the main CPU or the sub CPU whose current value is the set value or less among the main CPU and the sub CPU. A vehicle control device.
請求項1の車両制御装置において、
前記電流値は、リーク電流値である、車両制御装置。
The vehicle control device according to claim 1,
The vehicle control device, wherein the current value is a leak current value.
請求項3の車両制御装置において、
温度センサを有し、
前記リーク電流値は、前記温度センサからの温度情報と前記マイクロコンピュータの製造時のリーク電流値とにより、補正されたリーク電流値である、車両制御装置。
The vehicle control device according to claim 3,
Has a temperature sensor,
The vehicle control device, wherein the leak current value is a leak current value corrected by temperature information from the temperature sensor and a leak current value at the time of manufacturing the microcomputer.
請求項4の車両制御装置において、
前記電流検出部は、前記マイクロコンピュータがスタンバイ状態とされる時、前記電流値を検出し、
前記補正されたリーク電流値は、前記電流値と、前記温度情報と、リーク電流と温度との相関を表す温度補正マップと、前記マイクロコンピュータの製造時のリーク電流値と、により算出される、車両制御装置。
The vehicle control device according to claim 4,
The current detector detects the current value when the microcomputer is in a standby state,
The corrected leak current value is calculated by the current value, the temperature information, a temperature correction map representing a correlation between the leak current and temperature, and a leak current value at the time of manufacturing the microcomputer, Vehicle control device.
メインCPUとサブCPUとを有するマイクロコンピュータと、
電源部と、
前記電源部と前記メインCPUとを接続する第1接続線と、
前記電源部と前記サブCPUとを接続する第2接続線と、
前記第1接続線に流れる電流値と前記第2接続線に流れる電流値とを検出する電流検出部と、を有し、
前記マイクロコンピュータは、前記第1接続線と前記第2接続線の一方に流れる前記電流値が設定値より大きく、かつ、前記第1接続線と前記第2接続線の他方の接続線を流れる前記電流値が前記設定値以下の場合、前記他方の接続線に接続される前記メインCPU、又は前記サブCPUに割り当てる機能を変更する、車両制御装置。
A microcomputer having a main CPU and a sub CPU;
Power supply part,
A first connection line connecting the power supply unit and the main CPU;
A second connection line connecting the power supply unit and the sub CPU;
A current detector that detects a current value flowing in the first connection line and a current value flowing in the second connection line,
In the microcomputer, the current value flowing in one of the first connecting line and the second connecting line is larger than a set value, and the other connecting line of the first connecting line and the second connecting line flows. A vehicle control device that changes a function assigned to the main CPU or the sub CPU connected to the other connection line when the current value is equal to or less than the set value.
第1CPUと、
第2CPUと、
前記第1CPUからの出力信号と前記第2CPUからの出力信号とを比較する比較部と、
を含み、
前記第1CPUのリーク電流値と前記第2CPUのリーク電流値とを、しきい値と比較し、前記第1CPUおよび前記第2CPUの故障ポテンシャルを判断し、
前記比較部の比較結果が不一致の場合、前記第1CPUおよび前記第2CPUのうち、前記故障ポテンシャルの低い前記第1CPUまたは前記第2CPUを用いて、車両の運転を継続させる、車両制御装置。
A first CPU,
A second CPU,
A comparison unit that compares an output signal from the first CPU with an output signal from the second CPU;
Including
Comparing the leakage current value of the first CPU and the leakage current value of the second CPU with a threshold value to determine the failure potential of the first CPU and the second CPU,
A vehicle control device for continuing driving of a vehicle using the first CPU or the second CPU having the lower failure potential out of the first CPU and the second CPU when the comparison result of the comparison unit does not match.
請求項7の車両制御装置において、
前記第1CPU、前記第2CPU、および、前記比較部を内蔵するマイクロコンピュータと、
電源部と、
前記電源部と前記第1CPUとを接続する第1接続線と、
前記電源部と前記第2CPUとを接続する第2接続線と、
前記第1接続線に流れる電流値と前記第2接続線に流れる電流値とを検出する電流測定部と、
温度センサと、を有する、車両制御装置。
The vehicle control device according to claim 7,
A microcomputer that includes the first CPU, the second CPU, and the comparison unit;
Power supply part,
A first connection line connecting the power supply unit and the first CPU;
A second connection line connecting the power supply unit and the second CPU;
A current measuring unit that detects a current value flowing in the first connection line and a current value flowing in the second connection line;
A vehicle control device having a temperature sensor.
請求項8の車両制御装置において、
前記第1CPUのリーク電流値と前記第2CPUのリーク電流値とは、前記電流測定部により測定された前記電流値を、前記マイクロコンピュータの製造時のリーク電流値と、前記温度センサからの温度情報と、リーク電流と温度との相関を表す温度補正マップとにより、補正されたリーク電流値である、車両制御装置。
The vehicle control device according to claim 8,
For the leak current value of the first CPU and the leak current value of the second CPU, the current value measured by the current measuring unit is the leak current value at the time of manufacturing the microcomputer, and the temperature information from the temperature sensor. And a temperature correction map representing a correlation between the leak current and the temperature, the vehicle control device having the leak current value corrected.
請求項9の車両制御装置において、
前記電流測定部は、前記マイクロコンピュータがスタンバイ状態とされる時、前記電流値を検出する、車両制御装置。
The vehicle control device according to claim 9,
The vehicle control device, wherein the current measuring unit detects the current value when the microcomputer is in a standby state.
請求項7の車両制御装置において、
前記第1CPUを内蔵する第1マイクロコンピュータと、
前記第2CPUを内蔵する第2マイクロコンピュータと、
電源部と、
前記電源部と前記第1CPUとを接続する第1接続線と、
前記電源部と前記第2CPUとを接続する第2接続線と、
前記第1接続線に流れる第1電流値を検出する第1電流測定部と、
前記第2接続線に流れる第2電流値と検出する第2電流測定部と、
温度センサと、を有する、車両制御装置。
The vehicle control device according to claim 7,
A first microcomputer including the first CPU;
A second microcomputer including the second CPU;
Power supply part,
A first connection line connecting the power supply unit and the first CPU;
A second connection line connecting the power supply unit and the second CPU;
A first current measuring unit that detects a first current value flowing through the first connection line;
A second current measuring unit for detecting a second current value flowing through the second connection line;
A vehicle control device having a temperature sensor.
請求項11の車両制御装置において、
前記第1CPUのリーク電流値は、前記第1電流値を、前記第1マイクロコンピュータの製造時のリーク電流値と、前記温度センサからの温度情報と、リーク電流と温度との相関を表す温度補正マップとにより、補正されたリーク電流値であり、
前記第2CPUのリーク電流値は、前記第2電流値を、前記第2マイクロコンピュータの製造時のリーク電流値と、前記温度センサからの温度情報と、リーク電流と温度との相関を表す温度補正マップとにより、補正されたリーク電流値である、車両制御装置。
The vehicle control device according to claim 11,
The leak current value of the first CPU is obtained by correcting the first current value, the leak current value at the time of manufacturing the first microcomputer, the temperature information from the temperature sensor, and the temperature correction indicating the correlation between the leak current and the temperature. It is the leak current value corrected by the map and
The leak current value of the second CPU is obtained by correcting the second current value, the leak current value at the time of manufacturing the second microcomputer, the temperature information from the temperature sensor, and the temperature correction indicating the correlation between the leak current and the temperature. The vehicle control device, which is a leak current value corrected by the map.
請求項12の車両制御装置において、
前記第1マイクロコンピュータは、前記第2電流測定部に接続された第1アナログデジタル変換回路を有し、
前記第2マイクロコンピュータは、前記第1電流測定部に接続された第2アナログデジタル変換回路を有する、車両制御装置。
The vehicle control device according to claim 12,
The first microcomputer has a first analog-digital conversion circuit connected to the second current measuring unit,
The vehicle control device, wherein the second microcomputer has a second analog-digital conversion circuit connected to the first current measuring unit.
請求項13の車両制御装置において、
前記第1アナログデジタル変換回路は、前記第2マイクロコンピュータがスタンバイ状態のとき、前記第2電流測定部を用いて、前記第2電流値を計測し、
前記第2アナログデジタル変換回路は、前記第1マイクロコンピュータがスタンバイ状態のとき、前記第1電流測定部を用いて、前記第1電流値を計測する、車両制御装置。
The vehicle control device according to claim 13,
The first analog-to-digital conversion circuit measures the second current value using the second current measuring unit when the second microcomputer is in a standby state,
The vehicle control device, wherein the second analog-digital conversion circuit measures the first current value using the first current measuring unit when the first microcomputer is in a standby state.
請求項14の車両制御装置において、
前記第1マイクロコンピュータと前記第2マイクロコンピュータの一方がスタンバイ状態とされ、前記第1マイクロコンピュータと前記第2マイクロコンピュータの他方が起動状態とされ、
前記起動状態とされた前記第1マイクロコンピュータまたは前記第2マイクロコンピュータにより、前記スタンバイ状態とされた前記第1マイクロコンピュータの前記第1電流値または前記第2マイクロコンピュータの前記第2電流値が計測される、車両制御装置。
The vehicle control device according to claim 14,
One of the first microcomputer and the second microcomputer is in a standby state, and the other of the first microcomputer and the second microcomputer is in an activated state,
The first current value of the first microcomputer or the second current value of the second microcomputer in the standby state is measured by the first microcomputer or the second microcomputer in the activated state. The vehicle control device.
請求項15の車両制御装置において、
前記スタンバイ状態とされた前記第1マイクロコンピュータの前記第1電流値または前記第2マイクロコンピュータの前記第2電流値の計測は、前記第1マイクロコンピュータおよび前記第2マイクロコンピュータがセルフシャット処理を完了した後、行われる、車両制御装置。
The vehicle control device according to claim 15,
In the measurement of the first current value of the first microcomputer or the second current value of the second microcomputer in the standby state, the first microcomputer and the second microcomputer complete self-shut processing. After that, the vehicle control device is performed.
請求項16の車両制御装置において、
前記セルフシャット処理毎に、前記第1マイクロコンピュータと前記第2マイクロコンピュータの前記スタンバイ状態および前記起動状態が切り替えられる、車両制御装置。
The vehicle control device according to claim 16,
A vehicle control device in which the standby state and the activation state of the first microcomputer and the second microcomputer are switched for each self-shut process.
JP2019550964A 2017-10-24 2018-10-10 Vehicle control device Active JP6807467B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2017205116 2017-10-24
JP2017205116 2017-10-24
PCT/JP2018/037657 WO2019082647A1 (en) 2017-10-24 2018-10-10 Vehicle control device

Publications (2)

Publication Number Publication Date
JPWO2019082647A1 true JPWO2019082647A1 (en) 2020-08-06
JP6807467B2 JP6807467B2 (en) 2021-01-06

Family

ID=66246924

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019550964A Active JP6807467B2 (en) 2017-10-24 2018-10-10 Vehicle control device

Country Status (2)

Country Link
JP (1) JP6807467B2 (en)
WO (1) WO2019082647A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102019113139A1 (en) 2019-05-17 2020-11-19 Knorr-Bremse Systeme für Nutzfahrzeuge GmbH Device and method for current control of an actuator
KR102191169B1 (en) * 2019-11-26 2020-12-16 주식회사 오비고 Method for preventing possible malfunctions of dcu occuring during autonomous driving by referring to ads using outputs of heterogeneous dcus and method using the same
US20240075956A1 (en) * 2019-12-04 2024-03-07 Mitsubishi Electric Corporation Vehicle control device
KR102537986B1 (en) * 2021-11-19 2023-05-31 주식회사 모베이스전자 Redundancy control system for autonomous vehicles

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007125950A (en) * 2005-11-02 2007-05-24 Toyota Motor Corp Power supply management system for electronic control device for vehicle
JP2012073748A (en) * 2010-09-28 2012-04-12 Denso Corp Control device
JP2015035073A (en) * 2013-08-08 2015-02-19 ルネサスエレクトロニクス株式会社 Semiconductor device and semiconductor device control method
JP2017134717A (en) * 2016-01-29 2017-08-03 矢崎総業株式会社 Power supply control system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007125950A (en) * 2005-11-02 2007-05-24 Toyota Motor Corp Power supply management system for electronic control device for vehicle
JP2012073748A (en) * 2010-09-28 2012-04-12 Denso Corp Control device
JP2015035073A (en) * 2013-08-08 2015-02-19 ルネサスエレクトロニクス株式会社 Semiconductor device and semiconductor device control method
JP2017134717A (en) * 2016-01-29 2017-08-03 矢崎総業株式会社 Power supply control system

Also Published As

Publication number Publication date
JP6807467B2 (en) 2021-01-06
WO2019082647A1 (en) 2019-05-02

Similar Documents

Publication Publication Date Title
JP6807467B2 (en) Vehicle control device
JP4670940B2 (en) Electronic safing system
US9207661B2 (en) Dual core architecture of a control module of an engine
US20170249224A1 (en) Semiconductor device
KR102071404B1 (en) Apparatus and Method for implementing fail safe in Battery Management System
JPWO2016203505A1 (en) Semiconductor device and diagnostic test method
JP2005086108A (en) Semiconductor integrated circuit
JP5582748B2 (en) Electronic control device for vehicle
JP4748181B2 (en) Semiconductor device test apparatus and test method
US20140025996A1 (en) Method for diagnosing a mechanism of untimely cut-offs of the power supply to a motor vehicle computer
US20170169630A1 (en) Diagnosis circuit, semiconductor device, on-vehicle electronic control unit, and diagnosis method by diagnosis circuit
JP4710386B2 (en) Power supply
US10310007B2 (en) Semiconductor apparatus and system
JP2020016511A (en) Semiconductor integrated circuit and rotation detector
JP2015098311A (en) Electronic control apparatus and software rewrite system
KR101887904B1 (en) An Apparatus And A Method For Detecting Short Circuit Of A Controller
US9797945B2 (en) Semiconductor device having circuitry for detecting abnormalities in a power supply wiring network
JP6716440B2 (en) Electronic control device for automobile and reset method for electronic control device for automobile
EP4145150B1 (en) On-chip checker for on-chip safety area
KR102238158B1 (en) Method for functional test of vehicle multi controller
WO2019207905A1 (en) Vehicle-mounted control device
EP4280217A2 (en) Defect detecting system of automotive apparatus
JP2009096338A (en) Control system
US20230168637A1 (en) Electronic control apparatus
JP4026924B2 (en) Electronic control unit for automobile

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200804

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200904

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201006

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201029

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20201124

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201207

R150 Certificate of patent or registration of utility model

Ref document number: 6807467

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250