JP2009251700A - Control unit and interrupt signal generation method - Google Patents

Control unit and interrupt signal generation method Download PDF

Info

Publication number
JP2009251700A
JP2009251700A JP2008095575A JP2008095575A JP2009251700A JP 2009251700 A JP2009251700 A JP 2009251700A JP 2008095575 A JP2008095575 A JP 2008095575A JP 2008095575 A JP2008095575 A JP 2008095575A JP 2009251700 A JP2009251700 A JP 2009251700A
Authority
JP
Japan
Prior art keywords
interrupt signal
timer circuit
timer
interrupt
count value
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.)
Pending
Application number
JP2008095575A
Other languages
Japanese (ja)
Inventor
Masanori Akaza
雅憲 赤座
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2008095575A priority Critical patent/JP2009251700A/en
Publication of JP2009251700A publication Critical patent/JP2009251700A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Bus Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a control unit for easily verifying whether the period of an interrupt signal is normal. <P>SOLUTION: A microcomputer 14 has a first timer circuit 51, a second timer circuit 53, and a third timer circuit 55, and executes interrupt processing by an interrupt signal outputted from the timer circuits. The microcomputer has: the first timer circuit 51 for sending a reference interrupt signal; a software processing section 14 for determining the processing timing of interrupt processing based on the reference interrupt signal sent from the first timer circuit 51 and outputting a send command of an interrupt signal that becomes processing timing to the second and third timer circuits 53, 55; and the second and third timer circuits 53, 55 for sending an interrupt signal to the software processing section 14 by receiving the send command of an interrupt signal. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、制御装置に関する。特に、車両に搭載される機器を制御する制御装置に関する。   The present invention relates to a control device. In particular, the present invention relates to a control device that controls equipment mounted on a vehicle.

車両に搭載される制御装置は、内部にCPUとメモリとを有するマイコンを搭載し、メモリに記録されたプログラムに従ってCPUが制御を行うことで、制御対象の機器を制御している。
マイコンには、ROM、RAM、リソースを有しOS(オペレーティングシステム)を搭載することができる比較的高価なものと、OSを搭載することができず、リソースが少ない安価なものとが存在する。
A control device mounted on a vehicle includes a microcomputer having a CPU and a memory therein, and controls the device to be controlled by the CPU performing control according to a program recorded in the memory.
There are relatively expensive microcomputers that have ROM, RAM, and resources and can be loaded with an OS (operating system), and those that cannot be loaded with an OS and have few resources.

例えば、マイコンでは、処理の同期をとるための同期信号を複数の周期で生成しているが、OSを搭載したマイコンでは、1msecの同期信号を生成するタスク、4msecの同期信号を生成するタスク、8msecの同期信号を生成するタスクといった具合に複数のタスクを生成して同期信号を生成する。このときタスクが参照するタイマはシステムタイマの1つである。
これに対して、OSを搭載していないマイコンでは、マイコン内にハードウェアとして設けられた複数のタイマを使用して、各タイマからの割り込み信号により同期処理を生成する。
For example, in a microcomputer, a synchronization signal for synchronizing processing is generated at a plurality of cycles, but in a microcomputer equipped with an OS, a task for generating a synchronization signal of 1 msec, a task for generating a synchronization signal of 4 msec, A plurality of tasks are generated, such as a task that generates a synchronization signal of 8 msec, and a synchronization signal is generated. At this time, the timer referred to by the task is one of the system timers.
On the other hand, a microcomputer not equipped with an OS uses a plurality of timers provided as hardware in the microcomputer, and generates a synchronization process by an interrupt signal from each timer.

特許文献1には、複数のタスクのプログラム量に比例してCPU使用時間を設定することで、タスクのプログラム量が大きい場合であっても処理効率の低下がないスケジューリング方式が開示されている。   Patent Document 1 discloses a scheduling method in which the CPU usage time is set in proportion to the program amount of a plurality of tasks so that the processing efficiency does not decrease even when the task program amount is large.

特開平8−328881号公報JP-A-8-328881

OSを搭載したマイコンでは、同期信号を生成するタスクが参照するタイマがシステムタイマの1つだけである。このシステムタイマに基づいて生成したパルスを、マイコンが制御装置内に設けたウォッチドックタイマに出力することで、マイコンの暴走(各タスクの周期異常)を検出することができる。
これに対し、OSを搭載していないマイコンでは、複数のタイマを設けて、それぞれのタイマからの割り込み信号をマイコンに入力する。
図1には、タイマ1、タイマ2、タイマ3の3つのタイマを示す。タイマ1は、1msecの間隔で割り込み信号をマイコンに出力し、タイマ2は、4msecの間隔で割り込み信号をマイコンに出力し、タイマ3は、8msecの間隔で割り込み信号をマイコンに出力している。
In a microcomputer equipped with an OS, only one system timer is referred to by a task that generates a synchronization signal. The microcomputer generates a pulse generated based on the system timer and outputs it to a watchdog timer provided in the control device, so that it is possible to detect a microcomputer runaway (period abnormality of each task).
In contrast, a microcomputer not equipped with an OS is provided with a plurality of timers, and interrupt signals from the respective timers are input to the microcomputer.
FIG. 1 shows three timers, timer 1, timer 2, and timer 3. Timer 1 outputs an interrupt signal to the microcomputer at an interval of 1 msec, timer 2 outputs an interrupt signal to the microcomputer at an interval of 4 msec, and timer 3 outputs an interrupt signal to the microcomputer at an interval of 8 msec.

マイコンは、割り込み信号の入力タイミングに合わせて割り込み処理を開始する。このため、1つのタイマから出力される割り込み信号の周期の異常はマイコンを監視するウォッチドックタイマで検出することができても、他のタイマから出力される割り込み信号の周期の異常は検出することができない。図1には、タイマ2のカウント値に異常が生じた場合を例示する。なお、タイマのカウント値に異常が生じる原因は、タイマにカウントさせるカウント値を記録したレジスタのレジスタ化けが主な原因である。レジスタ化けとは、静電気や電圧変動によってレジスタの記憶している値が不定値になってしまうことを言う。
また、特許文献1の開示技術は、OSを搭載したマイコンに関するものであり、OSを搭載していないマイコンにおける上述の問題を解決するものではない。
The microcomputer starts interrupt processing in accordance with the input timing of the interrupt signal. Therefore, even if an abnormality in the period of the interrupt signal output from one timer can be detected by the watchdog timer that monitors the microcomputer, an abnormality in the period of the interrupt signal output from another timer must be detected. I can't. FIG. 1 illustrates a case where an abnormality occurs in the count value of the timer 2. Note that the cause of the abnormality in the count value of the timer is mainly caused by register corruption of the register in which the count value to be counted by the timer is recorded. Register corruption means that a value stored in a register becomes an indefinite value due to static electricity or voltage fluctuation.
The disclosed technique of Patent Document 1 relates to a microcomputer equipped with an OS, and does not solve the above-described problem in a microcomputer not equipped with an OS.

本発明は上記事情に鑑みてなされたものであり、割り込み信号の周期が正常であるか否かの検証が容易な制御装置及び割り込み信号発生方法を提供することを目的とする   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a control device and an interrupt signal generation method that can easily verify whether or not the period of an interrupt signal is normal.

かかる目的を達成するために本発明の制御装置は、複数のタイマ回路を備え、該複数のタイマ回路から出力される割り込み信号により割り込み処理を実行する制御装置であって、基準となる割り込み信号を送出する一のタイマ回路と、前記一のタイマ回路から送出された前記基準となる割り込み信号に基づいて前記割り込み処理の処理タイミングを判定し、該処理タイミングとなると割り込み信号の送出命令を他のタイマ回路に出力する制御部と、前記割り込み信号の送出命令を受信して、前記制御部に前記割り込み信号を送出する前記他のタイマ回路とを有する構成を採用している。
本発明は、一つのタイマ回路から出力される割り込み信号を基準として、この基準となる割り込み信号をもとに割り込み処理の処理タイミングを計時する。このため、基準となる割り込み信号の周期が正常であるか否かだけを検証すれば、他のタイマ回路から出力される割り込み信号の周期が正常であるか否かを容易に判定することができる。
In order to achieve such an object, a control device according to the present invention includes a plurality of timer circuits, and executes interrupt processing in accordance with an interrupt signal output from the plurality of timer circuits. One timer circuit to be transmitted, and the processing timing of the interrupt processing is determined based on the reference interrupt signal transmitted from the one timer circuit, and when the processing timing is reached, an interrupt signal transmission instruction is transmitted to another timer circuit. A configuration having a control unit that outputs to the circuit and the other timer circuit that receives the interrupt signal transmission command and transmits the interrupt signal to the control unit is adopted.
The present invention measures the processing timing of interrupt processing based on an interrupt signal serving as a reference, using an interrupt signal output from one timer circuit as a reference. For this reason, it is possible to easily determine whether the period of the interrupt signal output from another timer circuit is normal or not by verifying whether or not the period of the reference interrupt signal is normal. .

上記制御装置において、前記制御部は、前記一のタイマ回路から前記基準となる割り込み信号を受信すると、該基準となる割り込み信号を監視手段に出力し、該監視手段に前記基準となる割り込み信号の周期を監視させる構成を採用している。
従って、一のタイマ回路から出力される割り込み信号の周期が正常であることを保証し、他のタイマ回路に正常なタイミングで割り込み信号を出力させることができる。
In the control apparatus, when the control unit receives the reference interrupt signal from the one timer circuit, the control unit outputs the reference interrupt signal to the monitoring unit, and the monitoring unit outputs the reference interrupt signal to the monitoring unit. A configuration for monitoring the cycle is adopted.
Therefore, it is possible to ensure that the cycle of the interrupt signal output from one timer circuit is normal, and to output an interrupt signal at a normal timing to another timer circuit.

上記制御装置において、前記制御部は、前記一のタイマ回路から前記割り込み信号を受信するごとにカウントアップする基本カウンタと、前記基本カウンタのカウント値をバックアップとして記憶するバックアップカウンタとを有する構成を採用している。
従って、基本カウンタにエラーが生じた際に、バックアップカウンタのカウント値で修復することができる。
In the control device, the control unit has a configuration including a basic counter that counts up each time the interrupt signal is received from the one timer circuit, and a backup counter that stores a count value of the basic counter as a backup. is doing.
Therefore, when an error occurs in the basic counter, it can be restored with the count value of the backup counter.

上記制御装置において、前記バックアップカウンタを複数有し、前記制御部は、前記複数のバックアップカウンタのカウント値のうち、最も多くのバックアップカウンタでカウントされたカウント値を選択して前記基本カウンタのカウント値と比較し、該基本カウンタのカウント値のエラーを検出する構成を採用している。従って、基本カウンタのエラーを検出し、基本カウンタにエラーが生じた場合に正常値に復旧させることができる。   In the control apparatus, the control unit includes a plurality of backup counters, and the control unit selects a count value counted by the most backup counters from the count values of the plurality of backup counters, and counts the basic counters. Compared to the above, a configuration for detecting an error in the count value of the basic counter is adopted. Therefore, it is possible to detect the error of the basic counter and restore it to a normal value when an error occurs in the basic counter.

上記制御装置においては、前記一のタイマ回路と前記他のタイマ回路との少なくとも一方から割り込み信号を入力して、前記割り込み処理としてエンジンを制御する制御信号を生成する構成を採用している。   The control device employs a configuration in which an interrupt signal is input from at least one of the one timer circuit and the other timer circuit, and a control signal for controlling the engine is generated as the interrupt processing.

本発明の割り込み信号発生方法は、複数のタイマ回路のうち、基準となる割り込み信号を送出する一のタイマ回路から前記基準となる割り込み信号を受信するステップと、前記基準となる割り込み信号に基づいて前記割り込み処理の処理タイミングを判定し、該処理タイミングとなると割り込み信号の送出命令を他のタイマ回路に出力するステップと、前記他のタイマ回路から送出される前記割り込み信号を受信して、前記割り込み処理を開始するステップとを有している。   An interrupt signal generation method according to the present invention includes a step of receiving the reference interrupt signal from one timer circuit that transmits a reference interrupt signal among a plurality of timer circuits, and the reference interrupt signal. Determining the processing timing of the interrupt processing, outputting an interrupt signal transmission command to another timer circuit when the processing timing is reached, receiving the interrupt signal transmitted from the other timer circuit, and receiving the interrupt signal And a step of starting the process.

本発明によれば、割り込み信号の周期が正常であるか否かの検証が容易になる。   According to the present invention, it is easy to verify whether or not the period of the interrupt signal is normal.

添付図面を参照しながら本発明の好適な実施例を説明する。   Preferred embodiments of the present invention will be described with reference to the accompanying drawings.

図2に、本発明の制御装置を燃料噴射量を制御する電子制御燃料噴射装置(以下、EFI−ECU(Electronic Fuel Injection-Electronic Control Unit)と表記する)10に適用した実施例の構成を示す。
図2に示すようにEFI−ECU10は、マイクロコンピュータ(以下、マイコンと略記する)14と、例えば、バッテリ(BAT)2の温度、電流、エンジンの回転数、車速、トランスミッションの状態などを示す各種センサ信号の信号レベルを所望のレベルに変換してマイコン14に出力する信号レベル変換器11と、マイコン10から出力されるウォッチドッククリア信号(以下、WDC信号と略記する)を入力して、マイコン10の暴走を監視するウォッチドックタイマ(以下、WDTと略記する)12と、マイコン14への電源供給を制御する電源回路13と、例えば、エンジンの点火タイミングや、燃料噴射量を制御する信号、CAN(Controller Area Network)用データをはじめとするマイコン14の出力信号を外部に出力する出力回路15とを有している。
FIG. 2 shows a configuration of an embodiment in which the control device of the present invention is applied to an electronically controlled fuel injection device (hereinafter referred to as EFI-ECU (Electronic Fuel Injection-Electronic Control Unit)) 10 that controls the fuel injection amount. .
As shown in FIG. 2, the EFI-ECU 10 includes a microcomputer (hereinafter abbreviated as “microcomputer”) 14 and various types of battery (BAT) 2 temperature, current, engine speed, vehicle speed, transmission state, and the like. A signal level converter 11 that converts the signal level of the sensor signal to a desired level and outputs it to the microcomputer 14 and a watchdog clear signal (hereinafter abbreviated as a WDC signal) output from the microcomputer 10 are input to the microcomputer. A watchdog timer (hereinafter abbreviated as WDT) 12 for monitoring 10 runaways, a power supply circuit 13 for controlling power supply to the microcomputer 14, for example, a signal for controlling the ignition timing of the engine and the fuel injection amount, Output that outputs the output signal of microcomputer 14 including CAN (Controller Area Network) data to the outside And a road 15.

WDT12は、ソフトウェア処理部20から出力されるWDC信号の信号レベルと周期を監視して、第1タイマ回路51が正常に基準時間を計時しているか否かを判定する。ソフトウェア処理部20は、第1タイマ回路51が基準時間を計時するごとに第1タイマ回路51から出力される割り込み信号を入力する。そして、この割り込み信号の入力タイミングに合わせてWDC信号の信号レベルを変化させる。なお、第1タイマ回路51の計時する基準時間については後述する。   The WDT 12 monitors the signal level and cycle of the WDC signal output from the software processing unit 20, and determines whether or not the first timer circuit 51 is measuring the reference time normally. The software processing unit 20 receives an interrupt signal output from the first timer circuit 51 every time the first timer circuit 51 measures the reference time. Then, the signal level of the WDC signal is changed in accordance with the input timing of the interrupt signal. The reference time counted by the first timer circuit 51 will be described later.

電源回路13とバッテリ2との間には、イグニッションキー(不図示)の操作により開閉されるイグニッションスイッチIGSWが設けられている。このイグニッションスイッチIGSWがオンされると、バッテリ2から供給される電圧が電源回路13で所定の電圧に調整されてマイコン14に供給され、マイコン14が起動する。   Between the power supply circuit 13 and the battery 2, an ignition switch IGSW that is opened and closed by an operation of an ignition key (not shown) is provided. When the ignition switch IGSW is turned on, the voltage supplied from the battery 2 is adjusted to a predetermined voltage by the power supply circuit 13 and supplied to the microcomputer 14, and the microcomputer 14 is activated.

マイコン14は、ソフトウェア制御によって実現されるソフトウェア処理部20と、所定周期ごとに割り込み信号をソフトウェア処理部20に出力する第1タイマ回路51、第2タイマ回路53、第3タイマ回路55と、第1タイマレジスタ52と、第2タイマレジスタ54と、第3タイマレジスタ56とを有している。
第1タイマレジスタ52には、第1タイマ回路51がカウントするインターバル時間がソフトウェア処理部20によって設定される。第1タイマ回路51は、第1タイマレジスタ52に設定されたインターバル時間をカウントすると、ソフトウェア処理部20に対して割り込み信号を出力する。同様に第2タイマ回路53、第3タイマ回路55は第2タイマレジスタ54、第3タイマレジスタ56に設定されたインターバル時間をカウントすると、ソフトウェア処理部20に対して割り込み信号を出力する。
なお、第1タイマレジスタ52に設定されるインターバル時間は、例えば1[msec]等の基準時間に設定されている。ソフトウェア処理部20は、1[msec]の基準時間ごとに第1タイマ回路51から割り込み信号を入力する。従って、ソフトウェア処理部20では、基準時間を計時することができる。
The microcomputer 14 includes a software processing unit 20 realized by software control, a first timer circuit 51, a second timer circuit 53, a third timer circuit 55 that output an interrupt signal to the software processing unit 20 at predetermined intervals, 1 timer register 52, second timer register 54, and third timer register 56.
In the first timer register 52, the software processor 20 sets an interval time counted by the first timer circuit 51. The first timer circuit 51 outputs an interrupt signal to the software processing unit 20 when the interval time set in the first timer register 52 is counted. Similarly, the second timer circuit 53 and the third timer circuit 55 output an interrupt signal to the software processing unit 20 when the interval time set in the second timer register 54 and the third timer register 56 is counted.
The interval time set in the first timer register 52 is set to a reference time such as 1 [msec], for example. The software processing unit 20 inputs an interrupt signal from the first timer circuit 51 every reference time of 1 [msec]. Therefore, the software processing unit 20 can measure the reference time.

ソフトウェア処理部20は、図3に示すハードウェアによって実現される。ECUによる制御処理を実現するためのプログラムや、後述するメモリの書込み制御のためのプログラムなどが格納されたROM32と、ROM32に格納されたプログラムを読み込んで実行する中央処理装置(CPU)31と、プログラムを実行する際に使用される一時的なデータを保存するRAM33と、データの入出力部34などから構成される。   The software processing unit 20 is realized by the hardware shown in FIG. A ROM 32 storing a program for realizing a control process by the ECU, a program for writing control of a memory to be described later, a central processing unit (CPU) 31 for reading and executing the program stored in the ROM 32, It comprises a RAM 33 for storing temporary data used when executing the program, a data input / output unit 34, and the like.

イグニッションスイッチIGSWがオンされると、マイコン14が起動してROM32に格納されたプログラムがCPU31により実行される。このプログラムによって、信号レベル変換器11からの信号等に基づいて所定の制御処理が行われる。また、この制御処理中に様々な制御データが学習され、これらの学習によって得られた制御データは、スタンバイRAM(不図示)に保存され、その後の制御処理に利用される。
また、ROM32に格納されたプログラムのCPU31による演算によって、図4に示すカウント値判定手段21、インターバル時間設定・タイマスタート手段22、割り込み処理手段23、カウンタインクリメント手段24、WDC信号出力手段25が構成される。これらの手段について図4を参照しながら説明する。
When the ignition switch IGSW is turned on, the microcomputer 14 is activated and the program stored in the ROM 32 is executed by the CPU 31. By this program, a predetermined control process is performed based on the signal from the signal level converter 11 and the like. Various control data is learned during the control process, and the control data obtained by the learning is stored in a standby RAM (not shown) and used for the subsequent control process.
Further, the count value determination means 21, the interval time setting / timer start means 22, the interrupt processing means 23, the counter increment means 24, and the WDC signal output means 25 shown in FIG. Is done. These means will be described with reference to FIG.

カウント値判定手段21は、カウンタインクリメント手段24でインクリメントされる内部カウンタ(基本カウンタ)331のカウント値を読み込み、このカウント値が所定値になっているか否かを判定する。判定の結果、内部カウンタ331のカウント値が所定値となっている場合には、インターバル時間設定・タイマスタート手段22にインターバル時間の設定と、タイマ回路にカウント開始を要求する。
例えば、第2タイマ回路53から割り込み信号を入力する周期を4[msec]とする場合について説明する。この場合、カウント値判定手段21は、内部カウンタのカウント値が4の倍数になっていると、第2タイマレジスタ54にインターバル時間の設定を要求する。インターバル時間設定・タイマスタート手段22は、カウント値判定手段21の要求に従って、第2タイマレジスタ54にインターバル時間を設定する。このときインターバル時間設定・タイマスタート手段22は、インターバル時間を第2タイマ回路53が計時可能な最短時間で設定する。そして、第2タイマ回路53のカウントをスタートさせる。
インターバル時間を最短時間で設定された第2タイマ回路53は、カウント開始と同時にソフトウェア処理部20の割り込み処理手段23に割り込み信号を出力する。ソフトウェア処理部20は、割り込み処理手段23に割り込み信号を入力することで、予め設定された割り込み処理を開始する。
The count value determination means 21 reads the count value of the internal counter (basic counter) 331 incremented by the counter increment means 24 and determines whether or not this count value is a predetermined value. If the count value of the internal counter 331 is a predetermined value as a result of the determination, the interval time setting / timer start means 22 is requested to set the interval time and the timer circuit is requested to start counting.
For example, the case where the cycle of inputting an interrupt signal from the second timer circuit 53 is 4 [msec] will be described. In this case, if the count value of the internal counter is a multiple of 4, the count value determination means 21 requests the second timer register 54 to set the interval time. The interval time setting / timer start means 22 sets the interval time in the second timer register 54 in accordance with the request of the count value determination means 21. At this time, the interval time setting / timer start means 22 sets the interval time as the shortest time that the second timer circuit 53 can measure. Then, the count of the second timer circuit 53 is started.
The second timer circuit 53 whose interval time is set to the shortest time outputs an interrupt signal to the interrupt processing means 23 of the software processing unit 20 simultaneously with the start of counting. The software processing unit 20 starts an interrupt process set in advance by inputting an interrupt signal to the interrupt processing unit 23.

同様に、例えば、第3タイマ回路55から割り込み信号を入力する周期を8[msec]とする場合について説明する。この場合、カウント値判定手段21は、内部カウンタの値が8の倍数になっていた場合に、第3タイマレジスタ56にインターバル時間の設定を要求する。インターバル時間設定・タイマスタート手段22は、カウント値判定手段21の要求に従って、第3タイマレジスタ56にインターバル時間を設定する。このときインターバル時間設定・タイマスタート手段22は、インターバル時間を第3タイマ回路55が計時可能な最短時間で設定する。そして、第3タイマ回路55のカウントをスタートさせる。
第3タイマ回路55は、カウント開始と同時にソフトウェア処理部20の割り込み処理手段23に割り込み信号を出力する。ソフトウェア処理部20は、割り込み処理手段23に割り込み信号を入力することで、予め設定された割り込み処理を開始する。
Similarly, for example, a case where the cycle of inputting an interrupt signal from the third timer circuit 55 is 8 [msec] will be described. In this case, the count value determination means 21 requests the third timer register 56 to set the interval time when the value of the internal counter is a multiple of 8. The interval time setting / timer start means 22 sets the interval time in the third timer register 56 in accordance with the request of the count value determination means 21. At this time, the interval time setting / timer start means 22 sets the interval time as the shortest time that the third timer circuit 55 can measure. Then, the count of the third timer circuit 55 is started.
The third timer circuit 55 outputs an interrupt signal to the interrupt processing means 23 of the software processing unit 20 simultaneously with the start of counting. The software processing unit 20 starts an interrupt process set in advance by inputting an interrupt signal to the interrupt processing unit 23.

割り込み処理手段23は、第1タイマ回路51、第2タイマ回路53、第3タイマ回路55から出力される割り込み信号を入力して、例えば、エンジンを制御するための割り込み処理を開始させる。
また、割り込み処理手段23は、第1タイマ回路51から割り込み信号を入力した場合に、カウンタインクリメント手段24に内部カウンタ(331)のインクリメントを要求する。
さらに割り込み処理手段23は、第1タイマ回路51から割り込み信号を入力した場合に、WDT12に出力するWDC信号の信号レベルを切り替えるようにWDC信号出力手段25に要求する。
The interrupt processing means 23 inputs interrupt signals output from the first timer circuit 51, the second timer circuit 53, and the third timer circuit 55, and starts an interrupt process for controlling the engine, for example.
The interrupt processing unit 23 requests the counter increment unit 24 to increment the internal counter (331) when an interrupt signal is input from the first timer circuit 51.
Furthermore, when an interrupt signal is input from the first timer circuit 51, the interrupt processing unit 23 requests the WDC signal output unit 25 to switch the signal level of the WDC signal output to the WDT 12.

第1タイマ回路51の第1タイマレジスタ52には、例えば、1[msec]等のソフトウェア処理部20が時間の計時に使用する基準時間を記録している。この基準時間を計時するごとに第1タイマ回路51は、ソフトウェア処理部20に割り込み信号を出力する。なお、割り込み処理手段23は、第1タイマ回路51から割り込み信号を入力するごとに、WDC信号出力手段25に、WDC信号の信号レベルを変化させる。
WDT12は、WDC信号の信号レベルの変化により、第1タイマ回路51が基準信号を正確に計測しているか否かを判定する。WDT12は、WDC信号が異常であると判定すると、リセット信号を出力してマイコン14をリセットする。
In the first timer register 52 of the first timer circuit 51, for example, a reference time used by the software processing unit 20 for measuring time, such as 1 [msec], is recorded. Each time the reference time is counted, the first timer circuit 51 outputs an interrupt signal to the software processing unit 20. The interrupt processing unit 23 causes the WDC signal output unit 25 to change the signal level of the WDC signal every time an interrupt signal is input from the first timer circuit 51.
The WDT 12 determines whether or not the first timer circuit 51 accurately measures the reference signal based on a change in the signal level of the WDC signal. When the WDT 12 determines that the WDC signal is abnormal, the WDT 12 outputs a reset signal to reset the microcomputer 14.

図5に示すフローチャートを参照しながらソフトウェア処理部20の処理手順を説明する。なお、このフローでは、第1タイマ回路51の計時するインターバル時間を1[msec]として説明する。また、第2タイマ回路53は、4mescごとに割り込み信号をソフトウェア処理部20に出力し、第3タイマ回路55は、8[msec]ごとに割り込み信号をソフトウェア処理部20に出力するものとする。但し、第1タイマ回路51の計時するインターバル時間は1[msec]に限定されるものではない。同様に、第2タイマ回路53が割り込み信号を出力するタイミングは、4mescに限定されるものではなく、第3タイマ回路55が割り込み信号を出力するタイミングも8msecに限定されるものではない。
ソフトウェア処理部20は、まず第1タイマ回路51から割り込み信号を入力することで、基準時間である1[msec]を計時する。基準時間を計時するとソフトウェア処理部20は、内部カウンタ331のカウント値を1インクリメントする(ステップS1)。次に、ソフトウェア処理部20は、WDC信号の信号レベルを変化させる。WDT12に出力するWDC信号の信号レベルを変更することで、第1タイマ回路51が正常に基準時間(1[msec])を計時しているか否かをWDT12に判定させる。
The processing procedure of the software processing unit 20 will be described with reference to the flowchart shown in FIG. In this flow, the interval time measured by the first timer circuit 51 is assumed to be 1 [msec]. The second timer circuit 53 outputs an interrupt signal to the software processing unit 20 every 4 msc, and the third timer circuit 55 outputs an interrupt signal to the software processing unit 20 every 8 [msec]. However, the interval time measured by the first timer circuit 51 is not limited to 1 [msec]. Similarly, the timing at which the second timer circuit 53 outputs the interrupt signal is not limited to 4 mesc, and the timing at which the third timer circuit 55 outputs the interrupt signal is not limited to 8 msec.
First, the software processing unit 20 inputs an interrupt signal from the first timer circuit 51 to measure 1 [msec] which is a reference time. When measuring the reference time, the software processing unit 20 increments the count value of the internal counter 331 by 1 (step S1). Next, the software processing unit 20 changes the signal level of the WDC signal. By changing the signal level of the WDC signal output to the WDT 12, the WDT 12 determines whether or not the first timer circuit 51 is measuring the reference time (1 [msec]) normally.

次に、ソフトウェア処理部20は内部カウンタ331のカウント値が4の倍数となったか否かを判定する(ステップS3)。内部カウンタ331のカウント値が4の倍数になると(ステップS3/YES)、ソフトウェア処理部20は、第2タイマ回路53のインターバル時間を計時可能な最短時間に設定して(ステップS4)、第2タイマ回路53をスタートさせる(ステップS5)。第2タイマ回路53は、インターバル時間を最短時間に設定されているので、計時開始と同時に割り込み信号をソフトウェア処理部20に出力する。第2タイマ回路53から割り込み信号を入力したソフトウェア処理部20は、割り込み信号の入力を開始タイミングとしてエジンン制御のための処理を開始する。   Next, the software processing unit 20 determines whether or not the count value of the internal counter 331 is a multiple of 4 (step S3). When the count value of the internal counter 331 becomes a multiple of 4 (step S3 / YES), the software processing unit 20 sets the interval time of the second timer circuit 53 to the shortest time that can be measured (step S4), and the second The timer circuit 53 is started (step S5). Since the second timer circuit 53 has the interval time set to the shortest time, the second timer circuit 53 outputs an interrupt signal to the software processing unit 20 simultaneously with the start of timing. The software processing unit 20 receiving the interrupt signal from the second timer circuit 53 starts processing for engine control with the input of the interrupt signal as a start timing.

次に、ソフトウェア処理部20は内部カウンタ331のカウント値が8の倍数となったか否かを判定する(ステップS6)。内部カウンタ331のカウント値が8の倍数になると(ステップS6/YES)、ソフトウェア処理部20は、第3タイマ回路55のインターバル時間を計時可能な最短時間に設定して(ステップS7)、第3タイマ回路55をスタートさせる(ステップS7)。第3タイマ回路55は、インターバル時間を最短時間に設定されているので、計時開始と同時に割り込み信号をソフトウェア処理部20に出力する。第3タイマ回路55から割り込み信号を入力したソフトウェア処理部20は、割り込み信号の入力を開始タイミングとしてエジンン制御のための処理を開始する。   Next, the software processing unit 20 determines whether or not the count value of the internal counter 331 is a multiple of 8 (step S6). When the count value of the internal counter 331 becomes a multiple of 8 (step S6 / YES), the software processing unit 20 sets the interval time of the third timer circuit 55 to the shortest time that can be measured (step S7), and the third The timer circuit 55 is started (step S7). The third timer circuit 55 outputs an interrupt signal to the software processing unit 20 at the same time as the start of timing because the interval time is set to the shortest time. The software processing unit 20 receiving the interrupt signal from the third timer circuit 55 starts processing for engine control with the input of the interrupt signal as a start timing.

次に、ソフトウェア処理部20は、イングニッションキーがオフされたか否かを判定する(ステップS9)。イグニッションキーがオフされていない場合には(ステップS9/NO)、ソフトウェア処理部20は、ステップS1に帰ってS1からの処理を繰り返す。また、イグニッションキーがオフされた場合には(ステップS9/YES)、ソフトウェア処理部20は、この処理を終了する。   Next, the software processing unit 20 determines whether or not the ignition key is turned off (step S9). If the ignition key is not turned off (step S9 / NO), the software processing unit 20 returns to step S1 and repeats the processing from S1. If the ignition key is turned off (step S9 / YES), the software processing unit 20 ends this process.

このように本実施例は、第1タイマ回路51から出力される基準となる割り込み信号の周期が正常であるか否かを検証すれば、他のタイマ回路から出力される割り込み信号の周期が正常であるか否かを容易に判定することができる。
また、動作を保証された第1タイマ回路51の計時する基準時間に基づいてソフトウェア処理部20が所定周期を計時し、所定周期ごとに第2タイマ回路53、第3タイマ回路55に割り込み信号を出力させる。
従って、第2タイマ回路53、第3タイマ回路55の出力する割り込み信号の周期に異常が発生する割合を低減することができる。
As described above, in this embodiment, if it is verified whether or not the cycle of the reference interrupt signal output from the first timer circuit 51 is normal, the cycle of the interrupt signal output from another timer circuit is normal. It can be easily determined whether or not.
The software processing unit 20 measures a predetermined period based on the reference time counted by the first timer circuit 51 that is guaranteed to operate, and sends an interrupt signal to the second timer circuit 53 and the third timer circuit 55 every predetermined period. Output.
Therefore, it is possible to reduce the rate of occurrence of an abnormality in the period of the interrupt signal output from the second timer circuit 53 and the third timer circuit 55.

添付図面を参照しながら本発明の第2実施例について説明する。
第2実施例のEFI−ECU10について、図6を参照しながら説明する。第2実施例のソフトウェア処理部20は、図6に示すように比較手段26と、内部カウンタ復旧手段27とを新たに備える。また、RAM33には、内部カウンタ(本発明の基本カウンタに該当する)331以外に、第1バックアップカウンタ(本発明のバックアップカウンタに該当する)332、第2バックアップカウンタ(本発明のバックアップカウンタに該当する)333、第3バックアップカウンタ(本発明のバックアップカウンタに該当する)334の領域が形成されている。
第1バックアップカウンタ332〜第3バックアップカウンタ334は、バックアップ用に用意された領域である。比較手段26は、内部カウンタ331のカウント値にエラーが生じているか否かを、内部カウンタ331のカウント値と、第1バックアップカウンタ332〜第3バックアップカウンタ334のカウント値とを比較することで検出する。比較方法には、例えば、内部カウンタ331のカウント値と、第1バックアップカウンタ332〜第3バックアップカウンタ334のカウント値とがすべて一致しているか否かを判定してもよい。また、第1バックアップカウンタ332〜第3バックアップカウンタ334のカウント値のうち、同じ値が最も多く記憶されたカウント値を多数決で決定したカウント値とし、このカウント値と内部カウンタ331のカウント値とを比較してもよい。
A second embodiment of the present invention will be described with reference to the accompanying drawings.
The EFI-ECU 10 of the second embodiment will be described with reference to FIG. As shown in FIG. 6, the software processing unit 20 of the second embodiment newly includes a comparison unit 26 and an internal counter restoration unit 27. In addition to the internal counter (corresponding to the basic counter of the present invention) 331, the RAM 33 includes a first backup counter (corresponding to the backup counter of the present invention) 332, a second backup counter (corresponding to the backup counter of the present invention). 333) and a third backup counter (corresponding to the backup counter of the present invention) 334 are formed.
The first backup counter 332 to the third backup counter 334 are areas prepared for backup. The comparison means 26 detects whether an error has occurred in the count value of the internal counter 331 by comparing the count value of the internal counter 331 with the count values of the first backup counter 332 to the third backup counter 334. To do. As the comparison method, for example, it may be determined whether or not the count value of the internal counter 331 and the count values of the first backup counter 332 to the third backup counter 334 all match. Further, among the count values of the first backup counter 332 to the third backup counter 334, the count value in which the same value is stored most often is set as the count value determined by majority decision, and this count value and the count value of the internal counter 331 are You may compare.

図7には、第1バックアップカウンタ332〜第3バックアップカウンタ334の値と、内部カウンタのカウント値とが同じであった場合を示す。この場合、ソフトウェア処理部20は、内部カウンタのカウント値に異常が発生していないと判定して、内部カウンタ331のカウント値を用いて第2タイマ回路53、第3タイマ回路55の起動タイミングをカウントする。
また、図8には、第1バックアップカウンタ332〜第3バックアップカウンタ334の値と、内部カウンタのカウント値とが異なる場合を示す。比較手段26は、比較の結果、内部カウンタ331のカウント値にエラーが発生していると判定すると、内部カウンタ復旧手段27に内部カウンタ331の復旧を要求する。内部カウンタ復旧手段27は、第1バックアップカウンタ332〜第3バックアップカウンタ334のカウント値のうち、多数決で決定されたカウント値を内部カウンタ331のカウント値として書き込む。
FIG. 7 shows a case where the values of the first backup counter 332 to the third backup counter 334 are the same as the count value of the internal counter. In this case, the software processing unit 20 determines that no abnormality has occurred in the count value of the internal counter, and uses the count value of the internal counter 331 to determine the start timing of the second timer circuit 53 and the third timer circuit 55. Count.
FIG. 8 shows a case where the values of the first backup counter 332 to the third backup counter 334 are different from the count value of the internal counter. If the comparison unit 26 determines that an error has occurred in the count value of the internal counter 331 as a result of the comparison, the comparison unit 26 requests the internal counter recovery unit 27 to restore the internal counter 331. The internal counter recovery means 27 writes the count value determined by majority vote among the count values of the first backup counter 332 to the third backup counter 334 as the count value of the internal counter 331.

次に、図9に示すフローチャートを参照しながら本実施例の処理手順を説明する。
なお、ソフトウェア処理部20が第1タイマ回路51からの割り込み信号により、内部カウンタ331のカウント値をインクリメントし、WDC信号の信号レベルを変更するまでの手順は、実施例1と同一であるので説明を省略する。
Next, the processing procedure of the present embodiment will be described with reference to the flowchart shown in FIG.
The procedure from when the software processing unit 20 increments the count value of the internal counter 331 by the interrupt signal from the first timer circuit 51 and changes the signal level of the WDC signal is the same as in the first embodiment. Is omitted.

ソフトウェア処理部20は、WDC信号の信号レベルを変化させると、第1バックアップカウンタ332〜第3バックアップカウンタ334のカウント値を読み出す。そして、読み出したカウント値のうち同一の値の数が最も多いカウント値を多数決により決定する(ステップS14)。次に、ソフトウェア処理部20は、多数決により決定したバックアップカウンタのカウント値に[+1]して内部カウンタのカウント値と比較する。バックアップカウンタのカウント値+1と、内部カウンタのカウント値とが一致している場合には(ステップS14/NO)、ソフトウェア処理部20は、内部カウンタのカウント値にエラーが発生していないと判定する。この場合、このまま内部カウンタ331のカウント値を用いて以降の処理を行う。また、バックアップカウンタのカウント値+1と、内部カウンタのカウント値とが一致していない場合には(ステップS14/NO)、多数決により決定したバックアップカウンタのカウント値に[+1]した値を正常値として、内部カウンタ331に書き込む(ステップS15)。   When the signal level of the WDC signal is changed, the software processing unit 20 reads the count values of the first backup counter 332 to the third backup counter 334. Then, the count value having the largest number of identical values among the read count values is determined by majority vote (step S14). Next, the software processing unit 20 adds [+1] to the count value of the backup counter determined by the majority decision and compares it with the count value of the internal counter. If the count value of the backup counter + 1 matches the count value of the internal counter (step S14 / NO), the software processing unit 20 determines that no error has occurred in the count value of the internal counter. . In this case, the subsequent processing is performed using the count value of the internal counter 331 as it is. If the count value of the backup counter + 1 and the count value of the internal counter do not match (step S14 / NO), a value obtained by adding [+1] to the count value of the backup counter determined by majority decision is set as a normal value. Then, it writes in the internal counter 331 (step S15).

この後、ソフトウェア処理部20は上述した実施例1と同様に内部カウンタのカウント値が4倍数、8の倍数となっているか否かを判定して(ステップS16、又はステップS19)、カウント値が4倍数になっている場合には(ステップS16/YES)、第2タイマ回路53のインターバル時間を最短時間に設定し、第2タイマ回路53に割り込み信号を発生させる(ステップS18)。また、内部カウンタのカウント値が8の倍数になっている場合には(ステップS19/YES)、第3タイマ回路55のインターバル時間を最短時間に設定し(ステップS20)、第3タイマ回路55に割り込み信号を発生させる(ステップS21)。   Thereafter, the software processing unit 20 determines whether or not the count value of the internal counter is a multiple of 4 or a multiple of 8 as in the first embodiment (step S16 or step S19). When the number is four times (step S16 / YES), the interval time of the second timer circuit 53 is set to the shortest time, and an interrupt signal is generated in the second timer circuit 53 (step S18). If the count value of the internal counter is a multiple of 8 (step S19 / YES), the interval time of the third timer circuit 55 is set to the shortest time (step S20), and the third timer circuit 55 is set. An interrupt signal is generated (step S21).

このように本実施例は、内部カウンタのカウント値のエラーを検出することができる。また、検出したエラーを、バックアップカウンタに記憶したバックアップ値で簡単に復旧させることができる。   As described above, this embodiment can detect an error in the count value of the internal counter. Further, the detected error can be easily recovered with the backup value stored in the backup counter.

上述した実施例は本発明の好適な実施の例である。但し、これに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変形実施可能である。例えば、上述した実施例では、電子制御燃料噴射装置を例に説明しているが、車両の機器を制御する電子制御装置であれば、本発明を適用可能である。また、車両に搭載される電子制御装置以外であっても本発明を十分に適用可能である。   The embodiment described above is a preferred embodiment of the present invention. However, the present invention is not limited to this, and various modifications can be made without departing from the scope of the present invention. For example, in the above-described embodiments, the electronically controlled fuel injection device is described as an example. However, the present invention can be applied to any electronic control device that controls a vehicle device. Further, the present invention can be applied to a device other than an electronic control device mounted on a vehicle.

タイマ2の計時時間に異常が発生した場合を示す図である。It is a figure which shows the case where abnormality generate | occur | produces in the time measuring time of the timer. 実施例1のEFI−ECUの構成を示す図である。It is a figure which shows the structure of EFI-ECU of Example 1. FIG. マイコンのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of a microcomputer. 第1実施例のソフトウェア処理部の構成を示すブロック図である。It is a block diagram which shows the structure of the software processing part of 1st Example. 第1実施例のソフトウェア処理部の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the software process part of 1st Example. 第2実施例のソフトウェア処理部の構成を示す図である。It is a figure which shows the structure of the software processing part of 2nd Example. 内部カウンタのカウント値に異常が発生していない場合の処理概要を示す図である。It is a figure which shows the process outline | summary when abnormality has not generate | occur | produced in the count value of the internal counter. 内部カウンタのカウント値に異常が発生している場合の処理概要を示す図である。It is a figure which shows the process outline | summary in case abnormality has generate | occur | produced in the count value of the internal counter. 第2実施例のソフトウェア処理部の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the software process part of 2nd Example.

符号の説明Explanation of symbols

2 バッテリ
10 EFI−ECU
11 信号レベル変換器
12 WDT
13 電源回路
14 マイコン(制御手段)
15 出力回路
20 ソフトウェア処理部
21 カウント値判定手段
22 インターバル時間設定・タイマスタート手段
23 割り込み処理手段23
24 カウンタインクリメント手段
25 WDC信号出力手段
51 第1タイマ回路(一のタイマ回路)
52 第1タイマレジスタ
53 第2タイマ回路(他のタイマ回路)
54 第2タイマレジスタ
55 第3タイマ回路(第2タイマ回路)
56 第3タイマレジスタ
2 Battery 10 EFI-ECU
11 Signal level converter 12 WDT
13 Power supply circuit 14 Microcomputer (control means)
DESCRIPTION OF SYMBOLS 15 Output circuit 20 Software processing part 21 Count value determination means 22 Interval time setting and timer start means 23 Interrupt processing means 23
24 counter increment means 25 WDC signal output means 51 first timer circuit (one timer circuit)
52 First timer register 53 Second timer circuit (other timer circuit)
54 Second timer register 55 Third timer circuit (second timer circuit)
56 Third timer register

Claims (6)

複数のタイマ回路を備え、該複数のタイマ回路から出力される割り込み信号により割り込み処理を実行する制御装置であって、
基準となる割り込み信号を送出する一のタイマ回路と、
前記一のタイマ回路から送出された前記基準となる割り込み信号に基づいて前記割り込み処理の処理タイミングを判定し、該処理タイミングとなると割り込み信号の送出命令を他のタイマ回路に出力する制御部と、
前記割り込み信号の送出命令を受信して、前記制御部に前記割り込み信号を送出する前記他のタイマ回路と、
を有することを特徴とする制御装置。
A control device including a plurality of timer circuits and executing an interrupt process by an interrupt signal output from the plurality of timer circuits,
A timer circuit for sending a reference interrupt signal;
A control unit that determines a processing timing of the interrupt processing based on the reference interrupt signal transmitted from the one timer circuit, and outputs an interrupt signal transmission command to another timer circuit when the processing timing is reached;
The other timer circuit that receives the interrupt signal sending command and sends the interrupt signal to the control unit;
A control device comprising:
前記制御部は、前記一のタイマ回路から前記基準となる割り込み信号を受信すると、該基準となる割り込み信号を監視手段に出力し、該監視手段に前記基準となる割り込み信号の周期を監視させることを特徴とする請求項1記載の制御装置。   When the control unit receives the reference interrupt signal from the one timer circuit, the control unit outputs the reference interrupt signal to the monitoring unit, and causes the monitoring unit to monitor the cycle of the reference interrupt signal. The control device according to claim 1. 前記制御部は、前記一のタイマ回路から前記割り込み信号を受信するごとにカウントアップする基本カウンタと、前記基本カウンタのカウント値をバックアップとして記憶するバックアップカウンタとを有することを特徴とする請求項1又は2記載の制御装置。   2. The control unit according to claim 1, further comprising a basic counter that counts up each time the interrupt signal is received from the one timer circuit, and a backup counter that stores a count value of the basic counter as a backup. Or the control apparatus of 2. 前記バックアップカウンタを複数有し、
前記制御部は、前記複数のバックアップカウンタのカウント値のうち、最も多くのバックアップカウンタでカウントされたカウント値を選択して前記基本カウンタのカウント値と比較し、該基本カウンタのカウント値のエラーを検出することを特徴とする請求項3記載の制御装置。
A plurality of backup counters;
The control unit selects a count value counted by the largest number of backup counters from the count values of the plurality of backup counters, compares the selected count value with the count value of the basic counter, and determines an error in the count value of the basic counter. The control device according to claim 3, wherein the control device is detected.
前記制御装置は、前記一のタイマ回路と前記他のタイマ回路との少なくとも一方から割り込み信号を入力して、前記割り込み処理としてエンジンを制御する制御信号を生成することを特徴とする請求項1から4のいずれか一項記載の制御装置。   The control device receives an interrupt signal from at least one of the one timer circuit and the other timer circuit, and generates a control signal for controlling the engine as the interrupt processing. The control device according to claim 4. 複数のタイマ回路のうち、基準となる割り込み信号を送出する一のタイマ回路から前記基準となる割り込み信号を受信するステップと、
前記基準となる割り込み信号に基づいて前記割り込み処理の処理タイミングを判定し、該処理タイミングとなると割り込み信号の送出命令を他のタイマ回路に出力するステップと、
前記他のタイマ回路から送出される前記割り込み信号を受信して、前記割り込み処理を開始するステップと、
を有することを特徴とする割り込み信号発生方法。
A step of receiving the reference interrupt signal from one timer circuit that transmits a reference interrupt signal among the plurality of timer circuits;
Determining the processing timing of the interrupt processing based on the reference interrupt signal, and outputting an interrupt signal sending instruction to another timer circuit when the processing timing is reached;
Receiving the interrupt signal sent from the other timer circuit, and starting the interrupt processing;
An interrupt signal generation method comprising:
JP2008095575A 2008-04-01 2008-04-01 Control unit and interrupt signal generation method Pending JP2009251700A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008095575A JP2009251700A (en) 2008-04-01 2008-04-01 Control unit and interrupt signal generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008095575A JP2009251700A (en) 2008-04-01 2008-04-01 Control unit and interrupt signal generation method

Publications (1)

Publication Number Publication Date
JP2009251700A true JP2009251700A (en) 2009-10-29

Family

ID=41312389

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008095575A Pending JP2009251700A (en) 2008-04-01 2008-04-01 Control unit and interrupt signal generation method

Country Status (1)

Country Link
JP (1) JP2009251700A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012190413A (en) * 2011-03-14 2012-10-04 Denso Wave Inc Controller for robot

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6349855A (en) * 1986-08-18 1988-03-02 Sansha Electric Mfg Co Ltd Detecting device for interruption cycle abnormality of cpu
JPH07121263A (en) * 1993-10-27 1995-05-12 Nec Corp Timer counter
JPH07191860A (en) * 1993-12-27 1995-07-28 Nec Corp Timer control method
JPH09212389A (en) * 1996-01-31 1997-08-15 Sumitomo Electric Ind Ltd Method and device for detecting abnormal state of computer system
JP2001263151A (en) * 2000-03-15 2001-09-26 Denso Corp Engine control device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6349855A (en) * 1986-08-18 1988-03-02 Sansha Electric Mfg Co Ltd Detecting device for interruption cycle abnormality of cpu
JPH07121263A (en) * 1993-10-27 1995-05-12 Nec Corp Timer counter
JPH07191860A (en) * 1993-12-27 1995-07-28 Nec Corp Timer control method
JPH09212389A (en) * 1996-01-31 1997-08-15 Sumitomo Electric Ind Ltd Method and device for detecting abnormal state of computer system
JP2001263151A (en) * 2000-03-15 2001-09-26 Denso Corp Engine control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012190413A (en) * 2011-03-14 2012-10-04 Denso Wave Inc Controller for robot

Similar Documents

Publication Publication Date Title
JP5739290B2 (en) Electronic control unit
JP5715257B2 (en) Method for monitoring at least two microcontrollers
EP0866389B1 (en) Replicated controller and fault recovery method thereof
US8311169B2 (en) Automatic frequency monitoring circuit, electronic device, automatic frequency monitoring method, and automatic frequency monitoring program
JP2016113968A (en) Vehicular control device and control method
JP2001200747A (en) Engine control device
CN102822805B (en) The method of the circulating continuancing time of monitoring routing unit and hardware data processing unit
KR20150004232A (en) Watchdog apparatus and the controlling method thereof
JP2007026028A (en) Device for detecting abnormality in microcomputer
JP2009251700A (en) Control unit and interrupt signal generation method
JP5844038B2 (en) Electronic control device and control method of electronic control device
JP5537140B2 (en) SAFETY CONTROL DEVICE AND SAFETY CONTROL PROGRAM
US20200065200A1 (en) Counter circuitry and methods
JP3991782B2 (en) Electronic control unit
CN116010158A (en) Verification device, verification system and chip device of configuration register
CN113917385A (en) Self-detection method and system for electric energy meter
JP3529994B2 (en) Verification circuit
CN113655707A (en) Voting control method and device for safety instrument system and electronic device
JP2010117746A (en) Measurement system
JP2008287643A (en) Monitoring device for electronic control unit
JPH03148719A (en) Power supply without power failure
US20190102557A1 (en) Control device and control method
JP5392058B2 (en) Processing apparatus and control method
JP5949576B2 (en) Load drive circuit
JP6984548B2 (en) Battery monitoring device

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20110322

Free format text: JAPANESE INTERMEDIATE CODE: A621

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120703

A977 Report on retrieval

Effective date: 20120704

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20121030