JP7579150B2 - Vehicle Electronic Control Unit - Google Patents
Vehicle Electronic Control Unit Download PDFInfo
- Publication number
- JP7579150B2 JP7579150B2 JP2021002961A JP2021002961A JP7579150B2 JP 7579150 B2 JP7579150 B2 JP 7579150B2 JP 2021002961 A JP2021002961 A JP 2021002961A JP 2021002961 A JP2021002961 A JP 2021002961A JP 7579150 B2 JP7579150 B2 JP 7579150B2
- Authority
- JP
- Japan
- Prior art keywords
- processor
- cpu
- electronic control
- clutch
- cutoff circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Debugging And Monitoring (AREA)
Description
本発明は、車両に搭載される電子制御装置に関する。 The present invention relates to an electronic control device mounted on a vehicle.
自動車などの車両に搭載される電子制御装置(ECU:Electric Control Unit)には、より高度な安全性が求められており、車両の機能安全に関して国際規格(ISO26262)も導入されている。このような機能安全要求を満たすことを目的とした技術の一例として、例えば、次のような技術が提案されている。当該技術では、複数のコアを有するマイクロコンピュータ(以下、マイコンという)を搭載した電子制御装置において、車両の原動機を通常走行モードで制御するための演算を行う第1コアと、当該第1コアと同一の演算を行う第2コアと、第1コア及び第2コアと異なる演算を行う第3コアとを有する。そして、第1コアによる演算結果と第2コアによる演算結果とが不一致である場合は、監視ICからのリセット信号によってマイコンのリセット処理を実行した後、通常走行モードよりも原動機の出力を抑制する退避走行モードで原動機を制御するための演算を第3コアによって行い、対象機器への制御信号の出力制御を監視ICによって行う。 Higher safety standards are required for electronic control units (ECUs: Electric Control Units) mounted on vehicles such as automobiles, and an international standard (ISO26262) has been introduced for the functional safety of vehicles. As an example of a technology aimed at meeting such functional safety requirements, the following technology has been proposed. In this technology, an electronic control device mounted with a microcomputer (hereinafter referred to as a microcomputer) having multiple cores has a first core that performs calculations to control the vehicle's prime mover in a normal driving mode, a second core that performs the same calculations as the first core, and a third core that performs calculations different from the first and second cores. If the calculation results by the first core and the second core do not match, a reset process of the microcomputer is executed by a reset signal from a monitoring IC, and then the third core performs calculations to control the prime mover in an evacuation driving mode in which the output of the prime mover is suppressed more than in the normal driving mode, and the monitoring IC controls the output of control signals to the target device.
しかし、外部からのリセット信号によってマイコンをリセットした場合、リセットを解除した後に故障したプロセッサが自動的に処理を再開してしまうことが考え得る。この場合、故障したプロセッサによる処理に起因する不具合が生じる可能性がある。 However, if the microcontroller is reset by an external reset signal, it is possible that the faulty processor will automatically resume processing after the reset is released. In this case, there is a possibility that a malfunction will occur due to the processing by the faulty processor.
そこで、本発明の1つの態様では、車両用電子制御装置が備えるマイコンのプロセッサにおいて故障が発生した場合に、機能安全要求を満たすべく、故障情報を正常に記録するとともに、より確実に車両を安全状態へ移行させることを可能にすることを目的とする。 Therefore, one aspect of the present invention aims to, in the event of a failure in the processor of a microcomputer in a vehicle electronic control device, properly record failure information in order to satisfy functional safety requirements, and to more reliably transition the vehicle to a safe state.
本発明の1つの態様では、複数のプロセッサ並びに電気的にデータを書き換え可能な不揮発性メモリを含んで構成されたマイクロコンピュータを備えた車両用電子制御装置において、前記複数のプロセッサが、車載機器に対する制御処理を行う第1プロセッサと、前記第1プロセッサの動作を監視する第2プロセッサと、を含む。そして、前記第2プロセッサは、前記第1プロセッサにおける故障を検出したときに、前記第1プロセッサの故障内容を示す故障情報を、前記第1プロセッサと前記第2プロセッサで共用する前記不揮発性メモリに書き込むとともに、前記第1プロセッサに対して停止要求を送信する。 In one aspect of the present invention, in a vehicle electronic control device having a microcomputer including a plurality of processors and a non-volatile memory capable of electrically rewriting data, the plurality of processors include a first processor that performs control processing for on-vehicle devices, and a second processor that monitors the operation of the first processor, and when the second processor detects a failure in the first processor, the second processor writes failure information indicating the content of the failure of the first processor to the non-volatile memory shared by the first and second processors , and transmits a stop request to the first processor.
本発明の1つの態様によれば、車両用電子制御装置が備えるマイコンのプロセッサにおいて故障が発生した場合に、故障情報が正常に記録されるともに、より確実に車両を安全状態へ移行させることが可能となる。 According to one aspect of the present invention, when a failure occurs in the processor of a microcomputer equipped in a vehicle electronic control device, the failure information is properly recorded and the vehicle can be more reliably transitioned to a safe state.
以下、添付された図面を参照し、本発明を実施するための実施形態の具体例について詳述する。なお、図面の一部においては、構成要素の符号のみを付し、名称の記載を省略している。 Specific examples of embodiments for carrying out the present invention will be described in detail below with reference to the attached drawings. Note that in some of the drawings, only the reference numerals of the components are given and the names are omitted.
[第1実施形態]
図1は、自動車などの車両に搭載される電子制御装置1並びに当該電子制御装置1による制御対象である車載装置及びその関連装置の構成例を示す。
[First embodiment]
FIG. 1 shows an example of the configuration of an electronic control unit 1 mounted on a vehicle such as an automobile, as well as on-board devices and related devices that are targets of control by the electronic control unit 1.
電子制御装置1は、TCU(Transmission Control Unit)であり、車両に搭載された変速機構であるトランスミッション2及びクラッチ3を電子制御する機能を有する。電子制御装置1は、クラッチ3を接続することにより、動力源の一例であるエンジン4からエンジン出力軸5を介して伝達されたトルクをトランスミッション入力軸6を介してトランスミッション2に伝達させる。より具体的には、クラッチ3は例えば摩擦式クラッチであり、電子制御装置1は、ソレノイドバルブ等の制御によってエンジン4側に接続されたディスク及びトランスミッション2側に接続されたディスクを接触させてクラッチ3を接続し、エンジン4からトランスミッション2に動力を伝達させる一方、両ディスクを離間させてクラッチ3を解放し、動力の伝達を遮断させる。そして、電子制御装置1は、車速やトルクに応じた変速比となるようトランスミッション2を制御し、トランスミッション出力軸7を介して出力されたトルクが、車輪駆動軸8を介して駆動輪9に伝達される。 The electronic control unit 1 is a TCU (Transmission Control Unit) and has a function of electronically controlling the transmission 2 and clutch 3, which are speed change mechanisms mounted on the vehicle. The electronic control unit 1 connects the clutch 3 to transmit torque transmitted from the engine 4, which is an example of a power source, via the engine output shaft 5 to the transmission 2 via the transmission input shaft 6. More specifically, the clutch 3 is, for example, a friction clutch, and the electronic control unit 1 connects the clutch 3 by contacting a disk connected to the engine 4 side and a disk connected to the transmission 2 side by controlling a solenoid valve or the like, thereby transmitting power from the engine 4 to the transmission 2, while separating the two disks to release the clutch 3 and cut off the transmission of power. The electronic control unit 1 then controls the transmission 2 to have a gear ratio according to the vehicle speed and torque, and the torque output via the transmission output shaft 7 is transmitted to the drive wheels 9 via the wheel drive shaft 8.
電子制御装置1は、マイコン10、P-RUN(プログラムラン)信号監視回路20及びカットオフ回路30を含んで構成され、トランスミッション2及びクラッチ3と接続されている。マイコン10は、図1に示すように、第1CPU11、第2CPU12、RAM13、ROM14、リセット回路15、ポート101~105及び内部バス111及び112を含む。 The electronic control device 1 includes a microcomputer 10, a P-RUN (program run) signal monitoring circuit 20, and a cutoff circuit 30, and is connected to a transmission 2 and a clutch 3. As shown in FIG. 1, the microcomputer 10 includes a first CPU 11, a second CPU 12, a RAM 13, a ROM 14, a reset circuit 15, ports 101 to 105, and internal buses 111 and 112.
第1CPU11及び第2CPU12は、プログラムに記述された命令セット(データの転送、演算、加工、制御、管理など)を実行するハードウェアであって、演算装置、命令や情報を格納するレジスタ、周辺回路などから構成されている。第1CPU11及び第2CPU12は、ROM14に格納されたプログラムをRAM13にロードして実行する。本実施形態において、マイコン10が正常に稼働しているときには、第1CPU11がトランスミッション2及びクラッチ3の電子制御処理を行い、第2CPU12は原則として、第1CPU11の監視及び第1CPU11に故障が発生した場合における故障対応処理を行う。 The first CPU 11 and the second CPU 12 are hardware that executes a set of instructions (such as data transfer, calculation, processing, control, and management) written in a program, and are composed of an arithmetic unit, registers that store instructions and information, peripheral circuits, etc. The first CPU 11 and the second CPU 12 load the program stored in the ROM 14 into the RAM 13 and execute it. In this embodiment, when the microcomputer 10 is operating normally, the first CPU 11 performs electronic control processing of the transmission 2 and clutch 3, and the second CPU 12 basically monitors the first CPU 11 and performs failure response processing in the event that a failure occurs in the first CPU 11.
また、本実施形態における第1CPU11及び第2CPU12は、例えば、ロックステップ方式等による診断や、アセンブラ命令の網羅実行等によって異常を検出するプロセッサ診断モジュールの実行や、各モジュールからのエラー信号に基づいてプロセッサの故障を検出し外部に通知することが可能なECM(Error Control Module)等によって、動作状態を自己診断して故障を検出することが可能である。なお、第1CPU11及び第2CPU12の故障は、後述するP-RUN信号監視回路20によっても検出可能である。 In addition, the first CPU 11 and the second CPU 12 in this embodiment can detect faults by self-diagnosing their operating states, for example, by executing a processor diagnostic module that detects abnormalities by diagnosis using a lock-step method or exhaustive execution of assembler instructions, or by using an ECM (Error Control Module) that can detect processor faults based on error signals from each module and notify the outside. Faults in the first CPU 11 and the second CPU 12 can also be detected by the P-RUN signal monitoring circuit 20 described below.
RAM13は、電源供給遮断によってデータが消失する揮発性メモリであり、第1CPU11及び第2CPU12が動作中に使用する一時的な記憶領域を提供する。 RAM 13 is a volatile memory in which data is lost when the power supply is cut off, and provides a temporary storage area for use by the first CPU 11 and the second CPU 12 during operation.
ROM14は、電気的にデータを書き換え可能な不揮発性メモリであり、例えば、フラッシュROMやEEPROMを含む。ROM14には、電子制御装置1を起動する際に動作する起動プログラムや車載機器を制御する制御プログラム、及び当該プログラムの処理において用いるパラメータ等のデータが格納される。また、ROM14には、後述する第2CPU12による故障対応処理により、第1CPU11の故障内容を示す故障情報が記憶される。 The ROM 14 is a non-volatile memory that allows data to be electrically rewritten, and includes, for example, a flash ROM or an EEPROM. The ROM 14 stores a startup program that runs when the electronic control unit 1 starts up, a control program that controls the in-vehicle devices, and data such as parameters used in the processing of the programs. The ROM 14 also stores failure information that indicates the nature of the failure of the first CPU 11 through a failure response process by the second CPU 12, which will be described later.
リセット回路15は、P-RUN信号監視回路20から受信するリセット信号に応じて、マイコン10のリセット(ハードウェアリセット)を行う。 The reset circuit 15 resets the microcontroller 10 (hardware reset) in response to the reset signal received from the P-RUN signal monitoring circuit 20.
ポート101~105は、マイコン10と周辺機器との間の情報の入出力に用いるインタフェースの端子である。電子制御装置1の通常の動作状態において、ポート101は、P-RUN監視回路20に対してP-RUN信号を送信する出力ポートとして機能する。ポート102は、P-RUN信号監視回路20からリセット信号を受信する入力ポートとして機能する。ポート103は、トランスミッション2に対する制御信号を送信する出力ポートとして機能する。ポート104は、クラッチ3に対して接続又は解放を行う制御信号を送信する出力ポートとして機能する。ポート105は、マイコン10からカットオフ回路30への信号を送信する出力ポートとして機能する。 Ports 101 to 105 are interface terminals used for inputting and outputting information between the microcomputer 10 and peripheral devices. In the normal operating state of the electronic control device 1, port 101 functions as an output port that transmits a P-RUN signal to the P-RUN monitoring circuit 20. Port 102 functions as an input port that receives a reset signal from the P-RUN signal monitoring circuit 20. Port 103 functions as an output port that transmits a control signal to the transmission 2. Port 104 functions as an output port that transmits a control signal to engage or disengage the clutch 3. Port 105 functions as an output port that transmits a signal from the microcomputer 10 to the cutoff circuit 30.
なお、本実施形態ではポート101~105のみについて図示及び説明しているが、マイコン10は、ポート101~105以外にも図示を省略した入出力(通信)インタフェースを備え、CAN(Controller Area Network)等で構成された車載ネットワークに接続して、各種センサや他の電子制御装置等の車載機器との通信を行っている。 In this embodiment, only ports 101 to 105 are illustrated and described, but the microcontroller 10 also has input/output (communication) interfaces (not illustrated) other than ports 101 to 105, and is connected to an in-vehicle network configured by a controller area network (CAN) or the like to communicate with in-vehicle devices such as various sensors and other electronic control devices.
内部バス111及び112は、各デバイス間でデータを通信するための経路であって、アドレスを転送するためのアドレスバス、データを転送するためのデータバス、アドレスバスやデータバスで実際に入出力を行うタイミングや制御情報を伝送するコントロールバスを含んでいる。なお、内部バス112は、カットオフ回路30に接続するポート105に接続されたバスであり、第2CPU12とは通信可能に接続される一方、第1CPU11とは接続されていない。 The internal buses 111 and 112 are paths for communicating data between devices, and include an address bus for transferring addresses, a data bus for transferring data, and a control bus for transmitting timing and control information for actual input/output on the address bus and data bus. Note that the internal bus 112 is a bus connected to the port 105 that connects to the cutoff circuit 30, and is communicatively connected to the second CPU 12, but is not connected to the first CPU 11.
P-RUN信号監視回路20は、マイコン10から受信するP-RUN信号に基づいて、マイコン10における動作異常を検出する。具体的には、P-RUN信号監視回路20は、内部にタイマを備え、第1CPU11及び第2CPU12からP-RUN信号を受信するごとにタイマを初期化する。そして、P-RUN信号が途絶えてタイマがオーバーフローすることにより、第1CPU11及び第2CPU12の故障を検出する。 The P-RUN signal monitoring circuit 20 detects operational abnormalities in the microcomputer 10 based on the P-RUN signal received from the microcomputer 10. Specifically, the P-RUN signal monitoring circuit 20 has an internal timer, and initializes the timer each time it receives a P-RUN signal from the first CPU 11 and the second CPU 12. When the P-RUN signal ceases and the timer overflows, it detects a failure in the first CPU 11 and the second CPU 12.
カットオフ回路30は、第1CPU11との通信経路を有さない電子回路であって、クラッチ3に対するマイコン10からの制御信号を遮断する(カットオフを実行する)ことによってクラッチ3を解放するように構成された電子回路である。これにより、エンジン4からの動力が駆動輪9に伝達しない状態となる。当該カットオフ回路40は、ハイレベルの入力信号を受信したときには、カットオフを実行することによりクラッチ3を解放させる一方、ローレベルの入力信号を受信したときには、カットオフを解除して、クラッチ3への制御信号の遮断を停止する。また、当該カットオフ回路40は、例えばプルアップ抵抗を内蔵した回路構成を有しており、カットオフ回路30への入力信号がないときには、プルアップによってハイレベルで駆動し、カットオフを実行する。なお、第1CPU11との通信経路を有さない構成とは、物理的に内部バスによる接続がなされていない構成のみならず、内部バス自体は接続されていても論理的に通信することができないように設定された構成も含む。 The cutoff circuit 30 is an electronic circuit that does not have a communication path with the first CPU 11, and is configured to release the clutch 3 by cutting off (executing cutoff) the control signal from the microcomputer 10 to the clutch 3. This results in a state in which power from the engine 4 is not transmitted to the drive wheels 9. When the cutoff circuit 40 receives a high-level input signal, it performs cutoff to release the clutch 3, while when it receives a low-level input signal, it cancels the cutoff and stops cutting off the control signal to the clutch 3. The cutoff circuit 40 has a circuit configuration that includes, for example, a pull-up resistor, and when there is no input signal to the cutoff circuit 30, it drives at a high level by pull-up and executes cutoff. Note that a configuration that does not have a communication path with the first CPU 11 includes not only a configuration that is not physically connected by an internal bus, but also a configuration in which the internal bus itself is connected but is set so that logical communication is not possible.
図2は、ROM14の記憶領域を示す図である。ROM14の記憶領域は、第1CPU11による制御処理に用いる記憶領域である制御処理領域141と、第2CPU12による故障対応処理に用いる記憶領域である故障対応処理領域142とに区分けされている。このように制御処理領域141と故障対応処理領域142とを分けることは必須ではないが、このような構成により、例えば、制御処理領域141において何らかの不具合が発生した場合においても、第2CPU12による故障対応処理を確実に行うことが可能である。なお、図示を省略するが、RAM13においても同様に、第1CPU11による制御処理に用いる記憶領域と第2CPU12による故障対応処理に用いる記憶領域とを区分けする構成としてもよい。 Figure 2 is a diagram showing the storage area of ROM 14. The storage area of ROM 14 is divided into a control processing area 141, which is a storage area used for control processing by the first CPU 11, and a fault response processing area 142, which is a storage area used for fault response processing by the second CPU 12. Although it is not necessary to separate the control processing area 141 and the fault response processing area 142 in this manner, this configuration makes it possible to reliably perform fault response processing by the second CPU 12, for example, even if some kind of malfunction occurs in the control processing area 141. Note that, although not shown in the figure, RAM 13 may also be similarly configured to separate the storage area used for control processing by the first CPU 11 and the storage area used for fault response processing by the second CPU 12.
次に、第1CPU11及び第2CPU12において実行される処理について、第2CPU12、第1CPU11の順に説明する。 Next, the processes executed by the first CPU 11 and the second CPU 12 will be explained in the order of the second CPU 12 and the first CPU 11.
図3は、第2CPU12で実行される処理を示すフローチャートである。
ステップ1001(図ではS1001と表記している)で、第2CPU12は、リセット実行回数のカウンタが所定閾値よりも小さいか否かを判定し、小さい場合にはステップ1002に進み(Yes)、そうでない場合にはステップ1009に進む(No)。
FIG. 3 is a flowchart showing the process executed by the second CPU 12.
In step 1001 (denoted as S1001 in the figure), the second CPU 12 determines whether the counter for the number of reset executions is smaller than a predetermined threshold value, and if it is smaller, proceeds to step 1002 (Yes), and if not, proceeds to step 1009 (No).
ステップ1002で、第2CPU12は、カットオフ回路30に接続するポート105のコントロールレジスタに、当該ポート105を出力ポートにするように値を設定し、ポート105を出力ポートにする。そして、第2CPU12は、ローレベルの信号をカットオフ回路30に対して送信する。その結果、カットオフ回路30において当該ローレベルの信号が入力され、カットオフ回路30はカットオフを解除する。これにより、クラッチ3への制御信号が遮断されている場合には、制御信号の遮断が停止される。 In step 1002, the second CPU 12 sets a value in the control register of the port 105 connected to the cutoff circuit 30 so that the port 105 becomes an output port, and the port 105 becomes an output port. The second CPU 12 then sends a low-level signal to the cutoff circuit 30. As a result, the low-level signal is input to the cutoff circuit 30, and the cutoff circuit 30 releases the cutoff. As a result, if the control signal to the clutch 3 is cut off, the cutoff of the control signal is stopped.
ステップ1003で、第2CPU12は、第1CPU11の動作状態を監視し、前述した診断方法により、第1CPU11の動作状態の診断結果を取得する。
ステップ1004で、第2CPU12は、ステップ1003で取得した第1CPU11の動作状態の診断結果に基づき、第1CPU11において故障が発生しているか否かを判定する。故障が発生している場合にはステップ1005に進み(Yes)、そうでない場合にはステップ1003に戻る(No)。なお、ステップ1002の処理は、当該ステップ1004の判定において、第1CPU11において故障が発生していない場合にのみ行うようにしてもよい。
In step 1003, the second CPU 12 monitors the operating state of the first CPU 11, and obtains the diagnosis result of the operating state of the first CPU 11 by the above-mentioned diagnosis method.
In step 1004, the second CPU 12 judges whether or not a failure has occurred in the first CPU 11 based on the diagnosis result of the operating state of the first CPU 11 acquired in step 1003. If a failure has occurred, the process proceeds to step 1005 (Yes), and if not, the process returns to step 1003 (No). Note that the process of step 1002 may be performed only when it is judged in step 1004 that no failure has occurred in the first CPU 11.
ステップ1005で、第2CPU12は、第1CPU11の故障情報をROM14の故障対応処理領域142に書き込む。なお、このとき、車両に搭載された警告灯を点灯させたり当該故障情報を車載モニタ等に表示したりすることにより、第1CPU11において故障が発生していることを外部に通知するようにしてもよい。
ステップ1006で、第2CPU12は、リセット実行回数のカウンタをインクリメントする。
In step 1005, the second CPU 12 writes the fault information of the first CPU 11 into the fault response processing area 142 of the ROM 14. At this time, the occurrence of a fault in the first CPU 11 may be notified to the outside by turning on a warning light mounted on the vehicle or displaying the fault information on an in-vehicle monitor or the like.
In step 1006, the second CPU 12 increments the counter for counting the number of times the reset has been executed.
ステップ1007で、第2CPU12は、マイコン10のソフトウェアリセットを実行する。ソフトウェアリセットによって、マイコン10において、RAM13のスタックや変数、各ポートのコントロールレジスタ等が初期化される。 In step 1007, the second CPU 12 executes a software reset of the microcomputer 10. The software reset initializes the stack and variables of the RAM 13, the control registers of each port, and the like in the microcomputer 10.
ステップ1008で、第2CPU12は、カットオフ回路30においてカットオフを実行させる。具体的には、ステップ1007においてソフトウェアリセットを行ったことにより、カットオフ回路30に接続するポート105のコントロールレジスタが初期化され、ポート105が入力ポートとなる。その結果、カットオフ回路30への信号が出力されなくなり、カットオフ回路30はプルアップによってハイレベルで駆動し、カットオフを実行する。これにより、クラッチ3が解放され、エンジン4からの動力の伝達が遮断される。 In step 1008, the second CPU 12 causes the cutoff circuit 30 to execute a cutoff. Specifically, by performing a software reset in step 1007, the control register of the port 105 connected to the cutoff circuit 30 is initialized, and the port 105 becomes an input port. As a result, no signal is output to the cutoff circuit 30, and the cutoff circuit 30 is driven at a high level by a pull-up, executing a cutoff. This releases the clutch 3, and the transmission of power from the engine 4 is interrupted.
ステップ1009で、第2CPU12は、第1CPU11に対して停止要求を送信する。
ステップ1010で、第2CPU12は、GST(General Scan Tool)等の外部の診断装置からの動作情報の出力要求に対して応答処理を実行する。より具体的には、第2CPU12は、例えば、ROM14に書き込んだ第1CPU11の故障情報を読み出して、GSTに対して出力する。なお、第2CPU12は、P-RUN信号監視回路20に対するP-RUN信号の送信も継続して行う。
In step 1009 , the second CPU 12 transmits a stop request to the first CPU 11 .
In step 1010, the second CPU 12 executes a response process to a request for output of operation information from an external diagnostic device such as a GST (General Scan Tool). More specifically, the second CPU 12 reads out, for example, the failure information of the first CPU 11 written in the ROM 14 and outputs it to the GST. The second CPU 12 also continues to transmit a P-RUN signal to the P-RUN signal monitoring circuit 20.
図4は、第1CPU11で実行される処理を示すフローチャートである。
ステップ1101で、第1CPU11は、電子制御装置1が正常時に実現する機能である変速機構の制御処理を実行する。第1CPU11は、当該制御処理を実行するとともに、前述した方法により故障の自己診断等も行う。第1CPU11は、当該制御処理の実行中にGSTからの動作情報の出力要求を受信したときには、当該要求に応答し、動作情報を出力する。また、第1CPU11は、P-RUN信号監視回路20に対するP-RUN信号の送信も継続して行う。
FIG. 4 is a flowchart showing the process executed by the first CPU 11.
In step 1101, the first CPU 11 executes the control process of the transmission mechanism, which is a function that the electronic control unit 1 realizes under normal conditions. The first CPU 11 executes this control process and also performs self-diagnosis of failures using the method described above. When the first CPU 11 receives a request to output operation information from the GST while executing this control process, it responds to the request and outputs the operation information. The first CPU 11 also continues to transmit a P-RUN signal to the P-RUN signal monitoring circuit 20.
ステップ1102で、第1CPU11は、第2CPU12から停止要求を受信したか否かを判定する。当該停止要求は、前述した第2CPU12による処理のステップ1009において送信されるものである。停止要求を受信した場合には、ステップ1103に進み(Yes)、そうでない場合には、ステップ1101に戻る(No)。 In step 1102, the first CPU 11 determines whether or not a stop request has been received from the second CPU 12. The stop request is the one sent in step 1009 of the processing by the second CPU 12 described above. If a stop request has been received, the process proceeds to step 1103 (Yes); if not, the process returns to step 1101 (No).
ステップ1103で、第1CPU11は、制御処理の実行を停止する。第1CPU11は、例えば停止(HALT)命令を実行することによって、停止状態(HALT状態)に移行することが可能である。 In step 1103, the first CPU 11 stops executing the control process. The first CPU 11 can transition to a halted state (HALT state) by, for example, executing a halt command.
このような第1実施形態によれば、電子制御装置1のマイコン10において制御処理を実行している第1CPU11において故障が検出されたときに、正常に動作している第2CPU12が第1CPU11の故障情報をROM14に記録する。これにより、故障が発生している第1CPU11自体によって故障情報を記録する場合と比較して、第1CPU11の故障情報を確実に記録することができる。その結果、GSTの端末等による正確な故障情報の読み出しが可能となる。また、異常が発生していない第2CPU12から第1CPU11に対して停止要求を送信することで、第1CPU11において停止命令が実行され、第1CPU11の動作を停止させることができる。 According to this first embodiment, when a fault is detected in the first CPU 11 executing control processing in the microcomputer 10 of the electronic control device 1, the second CPU 12, which is operating normally, records fault information of the first CPU 11 in the ROM 14. This allows the fault information of the first CPU 11 to be recorded more reliably than when the faulty first CPU 11 itself records the fault information. As a result, it becomes possible to read accurate fault information by a GST terminal or the like. In addition, by sending a stop request from the second CPU 12, which is not experiencing any abnormality, to the first CPU 11, a stop command is executed in the first CPU 11, and the operation of the first CPU 11 can be stopped.
また、本実施形態によれば、第2CPU12からカットオフ回路30においてカットオフが実行させる方法の一例として、ソフトウェアリセットをかけることで、カットオフ回路30がハイレベルで駆動してカットオフが実行され、クラッチ3が解放されて、エンジン4からの動力の伝達が遮断される。これにより、急加速や急減速のリスクを低減し、車両を安全状態へ移行させることが可能となる。 In addition, according to this embodiment, as an example of a method for causing the second CPU 12 to execute a cutoff in the cutoff circuit 30, a software reset is performed, which drives the cutoff circuit 30 at a high level to execute a cutoff, releases the clutch 3, and cuts off the transmission of power from the engine 4. This reduces the risk of sudden acceleration or deceleration, and makes it possible to transition the vehicle to a safe state.
なお、本実施形態では、万が一第1CPU11の故障状況により第1CPU11において停止命令を実行しても正常に停止状態にならなかったとしても、第1CPU11からカットオフ回路30へ信号を送信することが不可能な構成であるため、カットオフ回路30に対してカットオフを解除させるなどの誤作動により安全状態への移行を阻害することはない。すなわち、本実施形態によれば、故障が発生した第1CPU11の停止に失敗したとしても、車両を安全状態に移行させることが可能である。 In this embodiment, even if the first CPU 11 does not normally enter a stopped state when it executes a stop command due to a fault in the first CPU 11, the first CPU 11 is configured not to be able to send a signal to the cutoff circuit 30, so there is no risk of the cutoff circuit 30 malfunctioning to release the cutoff, preventing the vehicle from entering a safe state. In other words, according to this embodiment, even if the first CPU 11 fails to stop due to a fault, it is possible to transition the vehicle to a safe state.
また、第1CPU11が停止しなかった場合には、GSTに対する応答処理が、第1CPU11及び第2CPU12で重複してしまう場合がある。この場合、第1CPU11用の応答CANID及び第2CPU12用の応答CANIDを別々に割り振ることで、同一のCANIDで情報が重複して送信されることを防ぐ。このとき、GST側においては、第1CPU11及び第2CPU12の双方のCANIDを受信した場合、第2CPU12側のCANIDを優先して参照するように制御すればよい。 Furthermore, if the first CPU 11 does not stop, the response processing to the GST may overlap between the first CPU 11 and the second CPU 12. In this case, by separately allocating a response CANID for the first CPU 11 and a response CANID for the second CPU 12, duplicate information transmission with the same CANID is prevented. In this case, when the GST receives CANIDs from both the first CPU 11 and the second CPU 12, it is sufficient to control the GST to refer to the CANID from the second CPU 12 with priority.
さらに、本実施形態によれば、第2CPU12によるソフトウェアリセットを繰り返し実行し、リセット回数が所定の閾値以上になった場合にのみ、第1CPU11に停止要求を送信する。すなわち、本実施形態によれば、第1CPU11の動作異常が一時的でありリセットにより復旧可能である場合には、クラッチ3を再度接続して通常の制御を継続して行うことができる。その一方で、リセットを所定回数行っても故障状態から復旧できない場合には、クラッチ3の解放を維持して安全状態へ移行し、第1CPU11を停止させる。このとき、リセット回数の閾値を、機能安全要求における時間制限を考慮して設定しておくことで、当該時間制限内に車両の走行を安全状態に移行させることが可能となる。 Furthermore, according to this embodiment, the second CPU 12 repeatedly executes a software reset, and only when the number of resets reaches or exceeds a predetermined threshold value, a stop request is sent to the first CPU 11. That is, according to this embodiment, if the operational abnormality of the first CPU 11 is temporary and can be recovered by resetting, the clutch 3 can be reconnected and normal control can be continued. On the other hand, if recovery from the failure state cannot be achieved even after performing the reset a predetermined number of times, the clutch 3 is kept released, the system transitions to a safe state, and the first CPU 11 is stopped. At this time, by setting the threshold value for the number of resets in consideration of the time limit in the functional safety requirement, it is possible to transition the vehicle's running to a safe state within that time limit.
なお、第2CPU12によるソフトウェアリセットの代わりに、P-RUN監視回路20によって第1CPU11の異常を検出し、P-RUN監視回路20からリセット回路15に対してリセット命令を送信して、リセット回路15によってマイコン10のハードウェアリセットを行ってもよい。このようにハードウェアリセットを行った場合においても、カットオフ回路30に接続するポート105のコントロールレジスタが初期化され、ポート105が入力ポートとなる。その結果、カットオフ回路30への信号が出力されなくなり、カットオフ回路40はプルアップによってハイレベルで駆動し、カットオフを実行する。これにより、ソフトウェアリセットを行った場合と同様に、クラッチ3が解放され、エンジン4からの動力の伝達が遮断される。 Instead of a software reset by the second CPU 12, the P-RUN monitoring circuit 20 may detect an abnormality in the first CPU 11, and the P-RUN monitoring circuit 20 may send a reset command to the reset circuit 15, causing the reset circuit 15 to perform a hardware reset of the microcomputer 10. Even when a hardware reset is performed in this way, the control register of the port 105 connected to the cutoff circuit 30 is initialized, and the port 105 becomes an input port. As a result, no signal is output to the cutoff circuit 30, and the cutoff circuit 40 is driven at a high level by a pull-up, executing a cutoff. This causes the clutch 3 to be released, and the transmission of power from the engine 4 to be cut off, just as when a software reset is performed.
ここで、例えば、CPUの動作を監視する機能を、監視用のサブマイコンによって行う構成も考え得る。しかし、本実施形態では、前述したような構成を有することにより、サブマイコンを設けなくても、監視やリセットを行うことが可能であり、電子制御装置の構成をより簡略化することができる。なお、サブマイコンを設ける構成では、サブマイコンにおいてCPUのクロックを診断するためのパルス信号を供給する構成が一般的に用いられるが、本実施形態のようにサブマイコンを含まない構成でも、マイコン10においてパルス発信子やASIC(Application Specific Integrated Circuit)等を設けることによって当該機能を実現することができる。 Here, for example, a configuration in which the function of monitoring the operation of the CPU is performed by a monitoring sub-microcomputer is conceivable. However, in this embodiment, by having the configuration as described above, it is possible to perform monitoring and resetting without providing a sub-microcomputer, and the configuration of the electronic control device can be further simplified. Note that in a configuration in which a sub-microcomputer is provided, a configuration in which a pulse signal is supplied to the sub-microcomputer to diagnose the CPU clock is generally used, but even in a configuration that does not include a sub-microcomputer as in this embodiment, the function can be realized by providing a pulse transmitter, ASIC (Application Specific Integrated Circuit), etc. in the microcomputer 10.
ここで、機能安全要求の観点から、本実施形態の電子制御装置1の構成において、第1CPU11以外の箇所において故障が生じた場合の安全性について説明する。
まず、内部バス111においてアドレスバスやデータバスにおいて断線等が発生した場合、結果として第1CPU11及び第2CPU12の両方が正常に動作することが困難となり得る。しかし、この場合、第1CPU11及び第2CPU12のいずれからもP-RUN信号が正常に送信されなくなり、P-RUN信号監視回路20においてCPU異常を検出することが可能である。その結果、前述したように、リセット回路15によってマイコン10のリセットが行われ、カットオフ回路30によってカットオフが実行されてクラッチ3が解放されることとなり、車両を安全状態に移行させることができる。このため、SPFM値(Single Point Fault Metric)は基準を満たすものと考えられる。なお、内部バス112において断線等が発生しても、第1CPU11による通常の制御処理に支障は生じない。
Here, from the viewpoint of functional safety requirements, safety in the case where a failure occurs in a portion other than the first CPU 11 in the configuration of the electronic control device 1 of this embodiment will be described.
First, if a break occurs in the address bus or data bus in the internal bus 111, it may become difficult for both the first CPU 11 and the second CPU 12 to operate normally. However, in this case, the P-RUN signal is not normally transmitted from either the first CPU 11 or the second CPU 12, and the P-RUN signal monitoring circuit 20 can detect a CPU abnormality. As a result, as described above, the reset circuit 15 resets the microcomputer 10, and the cutoff circuit 30 executes cutoff to release the clutch 3, so that the vehicle can be moved to a safe state. For this reason, the SPFM value (Single Point Fault Metric) is considered to meet the criteria. Even if a break occurs in the internal bus 112, the normal control processing by the first CPU 11 is not hindered.
また、電子制御装置1の電源供給が遮断された場合においても、そもそも電子制御装置1の動作自体が停止されてクラッチ3が解放されるため、安全状態への移行に問題はない。 In addition, even if the power supply to the electronic control device 1 is cut off, the operation of the electronic control device 1 itself is stopped and the clutch 3 is released, so there is no problem with transitioning to a safe state.
さらに、RAM13やROM14において異常が発生した場合においても、前述の図2で示したように、第1CPU11によって通常の制御処理に用いる制御処理領域141と、第2CPU12によって故障対応処理に用いる故障対応処理領域142とを分けることにより、SPFM値の低下を抑制することが可能である。具体的には、制御処理領域141において異常が発生したとしても、第2CPU12による故障対応処理に影響はないため、故障対応処理を実行することが可能である。また、故障対応処理領域142において異常が発生した場合にも、少なくとも第1CPU11が正常に動作していれば、安全性に影響はない。この場合、故障対応処理領域142の異常については、当該異常が発生したことを外部に通知したり、ROM14の正常な領域や外部の記憶装置に記憶したりするようにすればよい。 Furthermore, even if an abnormality occurs in the RAM 13 or ROM 14, it is possible to suppress the decrease in the SPFM value by separating the control processing area 141 used for normal control processing by the first CPU 11 from the fault handling processing area 142 used for fault handling processing by the second CPU 12, as shown in FIG. 2 above. Specifically, even if an abnormality occurs in the control processing area 141, it does not affect the fault handling processing by the second CPU 12, so it is possible to execute the fault handling processing. Furthermore, even if an abnormality occurs in the fault handling processing area 142, there is no impact on safety as long as at least the first CPU 11 is operating normally. In this case, the occurrence of the abnormality in the fault handling processing area 142 may be notified to the outside, or may be stored in a normal area of the ROM 14 or an external storage device.
なお、第2CPU12において故障が発生した場合にも、少なくとも第1CPU11が正常に動作していれば、安全性に影響はない。このため、クラッチ3の解放を行う必要はなく、車両に搭載された警告灯を点灯させたり故障情報を車載モニタ等に表示したりすることにより、第2CPU12において故障が発生していることを外部に通知したり、故障情報をROM14の正常な領域や外部の記憶装置に記憶したりするようにすればよい。 Even if a failure occurs in the second CPU 12, as long as at least the first CPU 11 is operating normally, there is no impact on safety. For this reason, there is no need to release the clutch 3, and it is sufficient to notify the outside world that a failure has occurred in the second CPU 12 by turning on a warning light mounted on the vehicle or displaying failure information on an in-vehicle monitor, or to store the failure information in a normal area of the ROM 14 or in an external storage device.
このように、本実施形態の電子制御装置1の構成によれば、第1CPU11以外の箇所において故障が生じた場合においても、SPFM値の基準を満たすことは可能であり、機能安全要求は担保されている。 In this way, with the configuration of the electronic control device 1 of this embodiment, even if a failure occurs in a location other than the first CPU 11, it is possible to meet the SPFM value standard, and functional safety requirements are guaranteed.
なお、本実施形態におけるマイコン10では2つのCPUを備えた構成としているが、CPUの数はこれに限定されるものではない。例えば、マイコン10において3つ以上のCPUを備えた場合において、1つのCPUの故障が発生した場合には、他のCPUのうちの1つが故障対応処理を行うようにすればよい。 In the present embodiment, the microcomputer 10 is configured to have two CPUs, but the number of CPUs is not limited to this. For example, if the microcomputer 10 has three or more CPUs, when a failure occurs in one CPU, one of the other CPUs can perform failure response processing.
また、本実施形態における第1CPU11及び第2CPU12は、プロセッサの一態様に過ぎない。本実施形態では、第1CPU11において故障が発生した場合に第2CPU12が故障対応処理を行っているが、例えば、1つのCPU内において複数のCPUコアを備えた構成において、1つのCPUコアの故障が検出された際には、他のCPUコアが故障対応処理を実行するようにしてもよい。 In addition, the first CPU 11 and the second CPU 12 in this embodiment are merely one aspect of a processor. In this embodiment, when a failure occurs in the first CPU 11, the second CPU 12 performs failure response processing. However, for example, in a configuration with multiple CPU cores in one CPU, when a failure is detected in one CPU core, the other CPU core may perform the failure response processing.
また、本実施形態の電子制御措置1の制御対象とする車載機器は変速機構であるが、これに限定されるものではない。少なくとも、制御処理を行うCPUにおいて故障が検出されたときに、正常に動作している他の監視側のCPUが、制御処理を行うCPUの故障情報をROMに書き込んだり、監視側のCPUから制御処理を行うCPUに対して停止命令を送信する構成については、他の制御対象装置(例えば、エンジンの燃料噴射弁や点火プラグ等や、ブレーキ機構など)を制御する電子制御装置においても適用可能である。 In addition, the in-vehicle device to be controlled by the electronic control device 1 of this embodiment is a transmission mechanism, but is not limited to this. At least, the configuration in which, when a fault is detected in the CPU performing the control process, another monitoring CPU that is operating normally writes fault information of the CPU performing the control process to ROM, or sends a stop command from the monitoring CPU to the CPU performing the control process, can also be applied to electronic control devices that control other devices to be controlled (for example, engine fuel injection valves, spark plugs, etc., brake mechanisms, etc.).
[第2実施形態]
次に、第2実施形態について説明する。第2実施形態の説明では、第1実施形態と同様の内容については原則として説明を省略する。
まず、第2実施形態における電子制御装置1の物理的構成については図1で示した第1実施形態の構成と同様であるため、図示及び説明を省略する。
[Second embodiment]
Next, a second embodiment will be described. In the description of the second embodiment, the description of the same contents as those of the first embodiment will be omitted in principle.
First, the physical configuration of the electronic control unit 1 in the second embodiment is similar to that of the first embodiment shown in FIG. 1, and therefore will not be illustrated or described.
次に、第1CPU11及び第2CPU12において実行される処理について説明する。
図4は、第2実施形態において第2CPU12で実行される処理を示すフローチャートである。
Next, the processes executed by the first CPU 11 and the second CPU 12 will be described.
FIG. 4 is a flowchart showing the process executed by the second CPU 12 in the second embodiment.
ステップ1201で、第2CPU12は、カットオフ回路30に接続するポート105のコントロールレジスタに、当該ポート105を出力ポートにするように値を設定し、ポート105を出力ポートにする。そして、第2CPU12は、ローレベルの信号をカットオフ回路40に対して送信する。その結果、カットオフ回路30において当該ローレベルの信号が入力され、カットオフ回路30はカットオフを解除する。これにより、クラッチ3への制御信号が遮断されている場合には、制御信号の遮断が停止される。 In step 1201, the second CPU 12 sets a value in the control register of the port 105 connected to the cutoff circuit 30 so that the port 105 becomes an output port, and the port 105 becomes an output port. The second CPU 12 then sends a low-level signal to the cutoff circuit 40. As a result, the low-level signal is input to the cutoff circuit 30, and the cutoff circuit 30 releases the cutoff. As a result, if the control signal to the clutch 3 is cut off, the cutoff of the control signal is stopped.
ステップ1202で、第2CPU12は、第1CPU11の動作状態を監視し、前述した診断方法により、第1CPU11の動作状態の診断結果を取得する。
ステップ1203で、第2CPU12は、ステップ1202で取得した第1CPU11の動作状態の診断結果に基づき、第1CPU11において故障が発生しているか否かを判定する。故障が発生している場合にはステップ1204に進み(Yes)、そうでない場合にはステップ1202に戻る(No)。
In step 1202, the second CPU 12 monitors the operating state of the first CPU 11, and obtains the diagnosis result of the operating state of the first CPU 11 by the above-mentioned diagnosis method.
In step 1203, the second CPU 12 judges whether or not a failure has occurred in the first CPU 11 based on the diagnosis result of the operating state of the first CPU 11 acquired in step 1202. If a failure has occurred, the process proceeds to step 1204 (Yes), and if not, the process returns to step 1202 (No).
ステップ1204で、第2CPU12は、第1CPU11の故障情報をROM14の故障対応処理領域142に書き込む。
ステップ1205で、第2CPU12は、ハイレベルの信号をカットオフ回路30に対して送信する。その結果、カットオフ回路30において当該ハイレベルの信号が入力され、カットオフ回路30はカットオフを実行する。これにより、クラッチ3が解放され、エンジン4からの動力の伝達が遮断される。
In step 1204 , the second CPU 12 writes the failure information of the first CPU 11 into the failure handling processing area 142 of the ROM 14 .
In step 1205, the second CPU 12 transmits a high-level signal to the cutoff circuit 30. As a result, the high-level signal is input to the cutoff circuit 30, and the cutoff circuit 30 executes cutoff. This causes the clutch 3 to be released, and the transmission of power from the engine 4 is interrupted.
ステップ1206で、第2CPU12は、第1CPU11に対して停止要求を送信する。
ステップ1207で、第2CPU12は、GST等の外部の診断装置からの動作情報の出力要求に対して応答処理を実行する。より具体的には、第2CPU12は、例えば、ROM14に書き込んだ第1CPU11の故障情報を読み出して、GSTに対して出力する。なお、第2CPU12は、P-RUN信号監視回路20に対するP-RUN信号の送信も継続して行う。
In step 1206 , the second CPU 12 transmits a stop request to the first CPU 11 .
In step 1207, the second CPU 12 executes a response process to a request for output of operation information from an external diagnostic device such as a GST. More specifically, the second CPU 12 reads out the failure information of the first CPU 11 written in the ROM 14, for example, and outputs it to the GST. The second CPU 12 also continues to transmit a P-RUN signal to the P-RUN signal monitoring circuit 20.
第2実施形態において第1CPU11で実行される処理については、第1実施形態と同様であるため、図示及び説明を省略する。なお、第2実施形態では、第1CPU11は、ステップ1102の判定において、前述の第2CPU12による処理のステップ1206において送信された停止要求を受信したか否かについて判定を行う。 The processing executed by the first CPU 11 in the second embodiment is similar to that in the first embodiment, and therefore illustrations and explanations are omitted. Note that in the second embodiment, the first CPU 11 determines in step 1102 whether or not it has received the stop request transmitted in step 1206 of the processing by the second CPU 12 described above.
このような第2実施形態では、第1実施形態と異なり、第1CPU11において故障が検出されたときに、マイコン10に対してソフトウェアリセットをかけるのではなく、第2CPU12がハイレベルの信号をカットオフ回路30に対して送信することで、カットオフ回路30においてカットオフが実行されてクラッチ3が解放され、エンジン4からの動力の伝達が遮断される。これにより、第1実施形態と同様に、急加速や急減速のリスクを低減し、車両を安全状態へ移行させることが可能となる。 In the second embodiment, unlike the first embodiment, when a fault is detected in the first CPU 11, instead of applying a software reset to the microcomputer 10, the second CPU 12 sends a high-level signal to the cutoff circuit 30, which executes a cutoff in the cutoff circuit 30, disengages the clutch 3, and interrupts the transmission of power from the engine 4. This reduces the risk of sudden acceleration or deceleration, and makes it possible to transition the vehicle to a safe state, just like in the first embodiment.
その他の第2実施形態における効果や変形例については、第1実施形態と同様であるため、説明を省略する。 Other effects and variations of the second embodiment are similar to those of the first embodiment, so a description will be omitted.
[その他]
以上説明した本発明の実施形態は、本発明の技術的範囲で考え得る実施態様の一部に過ぎず、本発明の例示として開示されるものであって、本発明の技術的範囲を制限するものではない。また、各実施形態における機能的構成及び物理的構成は、前述の態様に限定されるものではなく、例えば、各機能や物理的資源を統合して実装したり、逆に、さらに分散して実装したり、さらには、構成の一部について他の構成の追加、削除、置換等をすることも可能である。
[others]
The above-described embodiments of the present invention are merely some of the possible implementations within the technical scope of the present invention, and are disclosed as examples of the present invention, and do not limit the technical scope of the present invention. Furthermore, the functional configurations and physical configurations in each embodiment are not limited to the above-described aspects, and for example, each function or physical resource can be integrated and implemented, or conversely, can be further distributed and implemented, and further, some of the configurations can be added, deleted, or replaced with other configurations.
1…電子制御装置、2…トランスミッション、3…クラッチ、10…マイコン、11…第1CPU、12…第2CPU、13…RAM、14…ROM、15…リセット回路、101~105…ポート、20…P-RUN監視回路、30…カットオフ回路 1...Electronic control device, 2...Transmission, 3...Clutch, 10...Microcomputer, 11...First CPU, 12...Second CPU, 13...RAM, 14...ROM, 15...Reset circuit, 101-105...Ports, 20...P-RUN monitoring circuit, 30...Cutoff circuit
Claims (7)
前記複数のプロセッサは、
車載機器に対する制御処理を行う第1プロセッサと、
前記第1プロセッサの動作を監視する第2プロセッサと、を含み、
前記第2プロセッサは、前記第1プロセッサにおける故障を検出したときに、前記第1プロセッサの故障内容を示す故障情報を、前記第1プロセッサと前記第2プロセッサで共用する前記不揮発性メモリに書き込むとともに、前記第1プロセッサに対して停止要求を送信する、
車両用電子制御装置。 A vehicle electronic control device including a microcomputer including a plurality of processors and a non-volatile memory capable of electrically rewriting data,
The plurality of processors include:
A first processor for performing control processing for an in-vehicle device;
a second processor that monitors the operation of the first processor;
when the second processor detects a failure in the first processor, the second processor writes failure information indicating the details of the failure in the first processor into the non-volatile memory shared by the first processor and the second processor , and transmits a stop request to the first processor.
Electronic control device for vehicles.
前記複数のプロセッサは、
車載機器に対する制御処理を行う第1プロセッサと、
前記第1プロセッサの動作を監視する第2プロセッサと、を含み、
前記第2プロセッサは、前記第1プロセッサにおける故障を検出したときに、前記第1プロセッサの故障内容を示す故障情報を前記不揮発性メモリに書き込むとともに、前記第1プロセッサに対して停止要求を送信し、
前記車載機器が変速機構であり、
前記第1プロセッサとの通信経路を有さない電子回路であって、前記変速機構のクラッチに対する前記マイクロコンピュータからの制御信号を遮断することによって前記クラッチを解放するように構成されたカットオフ回路をさらに備え、
前記第2プロセッサは、前記第1プロセッサにおける故障を検出したときに、前記カットオフ回路を駆動させて前記クラッチを解放させる、車両用電子制御装置。 A vehicle electronic control device including a microcomputer including a plurality of processors and a non-volatile memory capable of electrically rewriting data,
The plurality of processors include :
A first processor for performing control processing for an in-vehicle device;
a second processor that monitors the operation of the first processor;
when the second processor detects a failure in the first processor, the second processor writes failure information indicating a failure content of the first processor into the non-volatile memory and transmits a stop request to the first processor;
the in-vehicle device is a transmission mechanism,
a cutoff circuit, which is an electronic circuit having no communication path with the first processor, configured to cut off a control signal from the microcomputer to a clutch of the transmission mechanism to thereby release the clutch;
The second processor activates the cutoff circuit to release the clutch when a fault is detected in the first processor.
前記第2プロセッサは、前記第1プロセッサにおける故障を検出したときに、前記マイクロコンピュータのソフトウェアリセットを実行し、前記マイクロコンピュータから前記電子回路へ接続するポートを入力ポートにして前記カットオフ回路に対する入力信号を遮断することで、前記カットオフ回路をハイレベルで駆動させて前記クラッチを解放させる、請求項2記載の車両用電子制御装置。 The cutoff circuit is configured to drive the clutch high by a pull-up when there is no input signal, and to release the clutch;
3. The electronic control device for a vehicle according to claim 2, wherein, when the second processor detects a fault in the first processor, it executes a software reset of the microcomputer, and makes a port connecting the microcomputer to the electronic circuit an input port to cut off an input signal to the cutoff circuit, thereby driving the cutoff circuit at a high level to release the clutch.
前記第2プロセッサは、前記第1プロセッサにおける故障を検出したときに、前記カットオフ回路に対してハイレベルの信号を送信することで、前記カットオフ回路を駆動させて前記クラッチを解放させる、請求項2~4のいずれか1項に記載の車両用電子制御装置。 the cutoff circuit is configured to disengage the clutch when there is a high level input signal;
5. The electronic control device for a vehicle according to claim 2, wherein when the second processor detects a fault in the first processor, the second processor sends a high-level signal to the cutoff circuit to drive the cutoff circuit and release the clutch.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021002961A JP7579150B2 (en) | 2021-01-12 | 2021-01-12 | Vehicle Electronic Control Unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021002961A JP7579150B2 (en) | 2021-01-12 | 2021-01-12 | Vehicle Electronic Control Unit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022108108A JP2022108108A (en) | 2022-07-25 |
| JP7579150B2 true JP7579150B2 (en) | 2024-11-07 |
Family
ID=82556199
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021002961A Active JP7579150B2 (en) | 2021-01-12 | 2021-01-12 | Vehicle Electronic Control Unit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7579150B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6926481B2 (en) * | 2017-01-13 | 2021-08-25 | 株式会社三洋物産 | Pachinko machine |
| JP6953720B2 (en) * | 2017-01-13 | 2021-10-27 | 株式会社三洋物産 | Pachinko machine |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009282566A (en) | 2008-05-19 | 2009-12-03 | Fujitsu Ten Ltd | Electronic control device |
| JP2017102545A (en) | 2015-11-30 | 2017-06-08 | 株式会社デンソー | Electronic control unit |
| JP2018067239A (en) | 2016-10-21 | 2018-04-26 | 株式会社デンソー | Electronic control device |
| JP2019057187A (en) | 2017-09-22 | 2019-04-11 | 日立オートモティブシステムズ株式会社 | On-vehicle electronic control device and its abnormality processing method |
| JP2020052479A (en) | 2018-09-25 | 2020-04-02 | 三菱電機株式会社 | Vehicle controller and vehicle control method |
-
2021
- 2021-01-12 JP JP2021002961A patent/JP7579150B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009282566A (en) | 2008-05-19 | 2009-12-03 | Fujitsu Ten Ltd | Electronic control device |
| JP2017102545A (en) | 2015-11-30 | 2017-06-08 | 株式会社デンソー | Electronic control unit |
| JP2018067239A (en) | 2016-10-21 | 2018-04-26 | 株式会社デンソー | Electronic control device |
| JP2019057187A (en) | 2017-09-22 | 2019-04-11 | 日立オートモティブシステムズ株式会社 | On-vehicle electronic control device and its abnormality processing method |
| JP2020052479A (en) | 2018-09-25 | 2020-04-02 | 三菱電機株式会社 | Vehicle controller and vehicle control method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022108108A (en) | 2022-07-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6714611B2 (en) | Method and apparatus for providing redundancy in a vehicle electronic control system | |
| US9434379B2 (en) | Semiconductor circuit and method in a safety concept for use in a motor vehicle | |
| CN100422951C (en) | Method and device for controlling a work process in a vehicle | |
| JP7579150B2 (en) | Vehicle Electronic Control Unit | |
| JP2001063492A (en) | Electronic control unit for vehicle safety control unit | |
| CN110678375A (en) | Vehicle control device and vehicle control system | |
| JP6140448B2 (en) | Monitoring concept in control equipment | |
| EP2191373A2 (en) | System for providing fault tolerance for at least one micro controller unit | |
| JP5094777B2 (en) | In-vehicle electronic control unit | |
| JP2019111866A (en) | Automatic operation system | |
| JP2011032903A (en) | Control device of vehicle | |
| JP2021013135A (en) | Electronic control device for vehicle | |
| CN105313880B (en) | Motor vehicle with at least two drive actuators and increased fail safety | |
| JP6465003B2 (en) | Electronic control unit | |
| JP4007038B2 (en) | Electronic control device for vehicle | |
| KR100711850B1 (en) | Electronic control system and method having microcomputer monitoring prohibiting function | |
| JP3830837B2 (en) | In-vehicle electronic control circuit with sensor self-diagnosis signal proper processing function | |
| JP6681304B2 (en) | Vehicle control device and vehicle internal combustion engine control device | |
| JP7504222B2 (en) | In-vehicle control systems | |
| JP5223512B2 (en) | Vehicle abnormality analysis system, vehicle abnormality analysis method, and vehicle failure analysis device | |
| CN116062025A (en) | Redundant backup system of steer-by-wire device, control method thereof, and vehicle | |
| CN115520267A (en) | Fault response method and fault response system for steering control system | |
| TWM643881U (en) | Safety comparison device based on a service-oriented architecture | |
| CN119283866B (en) | Vehicle engine torque control methods, devices, and storage media | |
| JPH04240997A (en) | Control method for on-vehicle electronic device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230705 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240430 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240507 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240704 |
|
| 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: 20241001 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20241025 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7579150 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |