JP2017110558A - Electronic control device - Google Patents

Electronic control device Download PDF

Info

Publication number
JP2017110558A
JP2017110558A JP2015245461A JP2015245461A JP2017110558A JP 2017110558 A JP2017110558 A JP 2017110558A JP 2015245461 A JP2015245461 A JP 2015245461A JP 2015245461 A JP2015245461 A JP 2015245461A JP 2017110558 A JP2017110558 A JP 2017110558A
Authority
JP
Japan
Prior art keywords
unit
control unit
abnormality
rotation
rotation angle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015245461A
Other languages
Japanese (ja)
Other versions
JP6565660B2 (en
Inventor
健太郎 奈良
Kentaro Nara
健太郎 奈良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2015245461A priority Critical patent/JP6565660B2/en
Publication of JP2017110558A publication Critical patent/JP2017110558A/en
Application granted granted Critical
Publication of JP6565660B2 publication Critical patent/JP6565660B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an electronic control device which prevents rotation synchronization processing from being performed on the basis of a sensor signal in which an abnormality occurs.SOLUTION: An electronic control device 100 comprises a plurality of control units. The control units each have an information creation unit, a communication unit and a synchronization processing unit. The information creation unit creates rotation angle information on the basis of a sensor signal from a rotation angle sensor 210. The synchronization processing unit performs rotation synchronization processing on the basis of the rotation angle information. At least one control unit has an abnormality determination unit which determines whether or not an abnormality has occurred in the sensor signal on wires. The abnormality determination unit performs determination by comparing several pieces of rotation angle information of the control units with each other. A synchronization processing unit of the abnormality control unit, which is the control unit for which it has been determined that an abnormality occurs in the sensor signal, interrupts the rotation synchronization processing based on the rotation angle information created by the information creation unit of the abnormality control unit.SELECTED DRAWING: Figure 1

Description

この明細書における発明は、回転体の回転状態を検出する回転角センサと電気的に接続され、回転角センサからのセンサ信号に基づき制御対象を制御する電子制御装置に関する。   The invention in this specification relates to an electronic control device that is electrically connected to a rotation angle sensor that detects a rotation state of a rotating body and controls a control target based on a sensor signal from the rotation angle sensor.

従来、特許文献1に記載のように、エンジン(制御対象)の制御装置であるECU(電子制御装置)に搭載されたマイクロコントローラが知られている。マイクロコントローラは、クランク角(回転角度)に応じてエンジンの制御を行う。マイクロコントローラは、複数のプロセッサ(制御部)を備えている。各プロセッサには、クランク角同期信号(センサ信号)が入力される。各プロセッサは、クランク角に応じたクランク角同期処理(回転同期処理)を行う。   Conventionally, as described in Patent Document 1, a microcontroller mounted on an ECU (electronic control device) that is a control device for an engine (control target) is known. The microcontroller controls the engine according to the crank angle (rotation angle). The microcontroller includes a plurality of processors (control units). A crank angle synchronization signal (sensor signal) is input to each processor. Each processor performs crank angle synchronization processing (rotation synchronization processing) according to the crank angle.

特開2010−196619号公報JP 2010-196619 A

各プロセッサには、互いに異なる配線を介して、クランク角同期信号が入力されている。この構成では、配線が断線したり、配線にノイズが混入することで、一方のプロセッサに入力されるクランク角同期信号に異常が生じる場合がある。この場合、クランク角同期信号に異常が生じているプロセッサでは、異常が生じたクランク角同期信号に基づきクランク角同期処理を行うこととなる。すなわち、クランク角同期信号に異常が生じているプロセッサでは、正常な処理を行うことが困難となる虞がある。   A crank angle synchronization signal is input to each processor via different wirings. In this configuration, when the wiring is disconnected or noise is mixed in the wiring, an abnormality may occur in the crank angle synchronization signal input to one processor. In this case, a processor in which an abnormality has occurred in the crank angle synchronization signal performs crank angle synchronization processing based on the crank angle synchronization signal in which the abnormality has occurred. In other words, it may be difficult for a processor having an abnormality in the crank angle synchronization signal to perform normal processing.

本発明はこのような課題に鑑みてなされたものであり、異常が生じているセンサ信号に基づき回転同期処理が行われるのを抑制する電子制御装置を提供することを目的とする。   The present invention has been made in view of such problems, and an object thereof is to provide an electronic control device that suppresses rotation synchronization processing based on a sensor signal in which an abnormality has occurred.

本発明は、上記目的を達成するために以下の技術的手段を採用する。なお、括弧内の符号は、ひとつの態様として下記の実施形態における具体的手段との対応関係を示すものであって、技術的範囲を限定するものではない。   The present invention employs the following technical means to achieve the above object. In addition, the code | symbol in parenthesis shows the correspondence with the specific means in the following embodiment as one aspect | mode, and does not limit a technical range.

本発明のひとつは、回転体(200)の回転状態を検出する回転角センサ(210)と電気的に接続され、回転角センサからのセンサ信号に基づき制御対象を制御する電子制御装置であって、
互いに異なる配線(222,224,226)からセンサ信号が入力され、回転体の回転角度に応じた回転同期処理を行うとともに、互いに通信可能に接続された複数の制御部(10,30,50)を備え、
各制御部は、センサ信号に基づいて回転角度を示す回転角度情報を生成する情報生成部(12,32)と、他の制御部と通信を行う通信部(22,40)と、回転角度情報に基づき回転同期処理を行う同期処理部(38,18)と、を有し、
少なくとも1つの制御部は、少なくとも対応する配線において、センサ信号に異常が生じたか否かを判定する異常判定部(20,42)を有し、
異常判定部が設けられた制御部において通信部は、他の制御部の通信部から回転角度情報を受信し、
異常判定部は、回転角度情報同士を比較することでセンサ信号についての判定を行い、
センサ信号に異常が生じていると判定された制御部である異常制御部の同期処理部は、異常制御部の情報生成部が生成した回転角度情報に基づく回転同期処理を中止する。
One aspect of the present invention is an electronic control device that is electrically connected to a rotation angle sensor (210) that detects a rotation state of the rotating body (200) and controls a control target based on a sensor signal from the rotation angle sensor. ,
Sensor signals are input from different wirings (222, 224, 226) to perform rotation synchronization processing according to the rotation angle of the rotating body, and a plurality of control units (10, 30, 50) connected to be communicable with each other. With
Each control unit includes an information generation unit (12, 32) that generates rotation angle information indicating a rotation angle based on the sensor signal, a communication unit (22, 40) that communicates with another control unit, and rotation angle information. And a synchronization processing unit (38, 18) for performing rotation synchronization processing based on
The at least one control unit includes an abnormality determination unit (20, 42) that determines whether an abnormality has occurred in the sensor signal in at least the corresponding wiring,
In the control unit provided with the abnormality determination unit, the communication unit receives the rotation angle information from the communication unit of the other control unit,
The abnormality determination unit determines the sensor signal by comparing the rotation angle information with each other,
The synchronization processing unit of the abnormality control unit, which is a control unit determined to have an abnormality in the sensor signal, stops the rotation synchronization processing based on the rotation angle information generated by the information generation unit of the abnormality control unit.

上記構成において、同期処理部は、異常制御部の情報生成部が生成した回転角度情報に基づく回転同期処理を行わない。すなわち、同期処理部は、異常が生じているセンサ信号に応じて生成された回転角度情報に基づく回転同期処理を行わない。よって、電子制御装置では、異常が生じているセンサ信号に基づき回転同期処理が行われるのを抑制することができる。   In the above configuration, the synchronization processing unit does not perform the rotation synchronization process based on the rotation angle information generated by the information generation unit of the abnormality control unit. That is, the synchronization processing unit does not perform the rotation synchronization process based on the rotation angle information generated according to the sensor signal in which an abnormality has occurred. Therefore, the electronic control device can suppress the rotation synchronization process from being performed based on the sensor signal in which an abnormality has occurred.

第1実施形態に係る電子制御装置の概略構成を示すブロック図である。It is a block diagram showing a schematic structure of an electronic control unit concerning a 1st embodiment. センサ信号及びタイミング値を示すタイミングチャートである。It is a timing chart which shows a sensor signal and a timing value. フェールセーフ処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a fail safe process. フェールセーフ処理を説明するためのタイミングチャートである。It is a timing chart for demonstrating a fail safe process. 第1変形例に係る電子制御装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the electronic controller which concerns on a 1st modification. 第2変形例に係る電子制御装置において、フェールセーフ処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a fail safe process in the electronic control apparatus which concerns on a 2nd modification. 第3変形例に係る電子制御装置において、フェールセーフ処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a fail safe process in the electronic control apparatus which concerns on a 3rd modification. 第4変形例に係る電子制御装置において、フェールセーフ処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a fail safe process in the electronic control apparatus which concerns on a 4th modification.

図面を参照して説明する。なお、複数の実施形態において、共通乃至関連する要素には同一の符号を付与するものとする。   This will be described with reference to the drawings. In a plurality of embodiments, common or related elements are given the same reference numerals.

(第1実施形態)
先ず、図1及び図2に基づき、電子制御装置100の概略構成について説明する。
(First embodiment)
First, based on FIG.1 and FIG.2, schematic structure of the electronic control apparatus 100 is demonstrated.

図1に示すように、電子制御装置100は、回転体200の回転角度に応じて、制御対象を制御するものである。本実施形態において、電子制御装置100は、車両用のECUである。また、電子制御装置100の制御対象は、車両のエンジンである。すなわち、電子制御装置100は、エンジンECUである。   As shown in FIG. 1, the electronic control device 100 controls a control target according to the rotation angle of the rotating body 200. In the present embodiment, the electronic control device 100 is an ECU for a vehicle. The control target of the electronic control device 100 is a vehicle engine. That is, the electronic control unit 100 is an engine ECU.

本実施形態において、回転体200は、クランクシャフトと、クランクシャフトに設けられた被検出部材と、を有している。被検出部材は、クランクシャフトの回転に伴って周期的に磁束の向きを変化させるものである。クランクシャフトは、クランク軸と称することもできる。回転体200の回転角度は、クランク角度とも称するができる。クランク角度は、エンジンにおけるシリンダ内のピストンの位置を示している。本実施形態では、エンジンの1サイクルの間に、ピストンがシリンダ内を2往復するとともに、クランクシャフトが2回転、すなわち720°回転する。被検出部材は、例えば、クランクシャフトの外周に形成された複数の凸部である。   In the present embodiment, the rotator 200 includes a crankshaft and a member to be detected provided on the crankshaft. The detected member periodically changes the direction of the magnetic flux as the crankshaft rotates. The crankshaft can also be referred to as a crankshaft. The rotation angle of the rotating body 200 can also be referred to as a crank angle. The crank angle indicates the position of the piston in the cylinder in the engine. In the present embodiment, during one cycle of the engine, the piston reciprocates twice within the cylinder, and the crankshaft rotates twice, that is, 720 °. The detected member is, for example, a plurality of convex portions formed on the outer periphery of the crankshaft.

図1に示すように、電子制御装置100は、回転体200の回転状態を検出する回転角センサ210と電気的に接続されている。本実施形態において、回転角センサ210は、クランクセンサとも称することができる。回転角センサ210としては、例えば、MRE素子、ホール素子を採用することができる。回転角センサ210は、センサ信号を生成し、生成したセンサ信号を電子制御装置100へ出力する。   As shown in FIG. 1, the electronic control device 100 is electrically connected to a rotation angle sensor 210 that detects the rotation state of the rotating body 200. In the present embodiment, the rotation angle sensor 210 can also be referred to as a crank sensor. As the rotation angle sensor 210, for example, an MRE element or a Hall element can be employed. The rotation angle sensor 210 generates a sensor signal and outputs the generated sensor signal to the electronic control device 100.

本実施形態では、電子制御装置100が、回転角センサ210に加えて、イグナイタ240、インジェクタ230、及び、ノックセンサ250と電気的に接続されている。電子制御装置100は、ノックセンサ250からの信号に応じてノッキングを検出しつつイグナイタ240及びインジェクタ230へ制御信号を出力する。電子制御装置100は、イグナイタ240及びインジェクタ230へ制御信号を出力することにより、エンジンの回転数を制御している。   In the present embodiment, the electronic control device 100 is electrically connected to the igniter 240, the injector 230, and the knock sensor 250 in addition to the rotation angle sensor 210. The electronic control device 100 outputs a control signal to the igniter 240 and the injector 230 while detecting knocking according to a signal from the knock sensor 250. The electronic control unit 100 controls the engine speed by outputting control signals to the igniter 240 and the injector 230.

電子制御装置100は、第1制御部10と第2制御部30とを備えている。以下、第1制御部10及び第2制御部30は、区別する必要がない場合、単に制御部とも称する。制御部としては、例えば、マイコン及びICを採用することができる。各制御部は、互いに通信可能に接続されている。   The electronic control device 100 includes a first control unit 10 and a second control unit 30. Hereinafter, the first control unit 10 and the second control unit 30 are also simply referred to as control units when it is not necessary to distinguish them. As the control unit, for example, a microcomputer and an IC can be employed. Each control unit is connected to be communicable with each other.

また、制御部の両方は、回転角センサ210と電気的に接続されている。各制御部は、信号線220を介して回転角センサ210と接続されている。信号線220は、回転角センサ210と、電子制御装置100の入力端子と、の間において1本とされている。また、信号線220は、電子制御装置100内部で分岐している。信号線220は、電子制御装置100の内部配線として、第1配線222及び第2配線224を有している。第1配線222は、第1制御部10に対して電気的に接続され、第1制御部10にセンサ信号を入力するために設けられている。第2配線224は、第2制御部30に対して電気的に接続され、第2制御部30にセンサ信号を入力するために設けられている。以下、第1配線222及び第2配線224は、区別する必要がない場合、単に配線とも称する。   Both control units are electrically connected to the rotation angle sensor 210. Each control unit is connected to the rotation angle sensor 210 via a signal line 220. One signal line 220 is provided between the rotation angle sensor 210 and the input terminal of the electronic control device 100. The signal line 220 is branched inside the electronic control device 100. The signal line 220 includes a first wiring 222 and a second wiring 224 as internal wiring of the electronic control device 100. The first wiring 222 is electrically connected to the first control unit 10 and is provided for inputting a sensor signal to the first control unit 10. The second wiring 224 is electrically connected to the second control unit 30 and is provided for inputting a sensor signal to the second control unit 30. Hereinafter, the first wiring 222 and the second wiring 224 are also simply referred to as wirings when it is not necessary to distinguish them.

以上によれば、各制御部は、互いに異なる配線からセンサ信号が入力される。言い換えると、制御部の両方には、別々にセンサ信号が入力される。以下、第1制御部10に入力されセンサ信号を第1センサ信号S1、第2制御部30に入力されセンサ信号を第2センサ信号S2と示す。   According to the above, each control unit receives sensor signals from different wirings. In other words, sensor signals are separately input to both control units. Hereinafter, the sensor signal input to the first controller 10 is referred to as a first sensor signal S1, and the sensor signal input to the second controller 30 is referred to as a second sensor signal S2.

図2に示すように、センサ信号は、周期的にHigh及びLowが変化するパルス信号である。本実施形態では、回転体200が約10°回転するとパルス信号が1周期進むように、被検出部材が構成されている。   As shown in FIG. 2, the sensor signal is a pulse signal whose High and Low periodically change. In this embodiment, the member to be detected is configured such that the pulse signal advances by one cycle when the rotating body 200 rotates about 10 °.

各制御部は、入力されたセンサ信号に基づき、回転同期処理を行う。回転同期処理とは、回転体200の回転角度に基づく処理である。回転体200がクランクシャフトを有する本実施形態では、回転同期処理をクランク同期処理と称することもできる。   Each control unit performs rotation synchronization processing based on the input sensor signal. The rotation synchronization process is a process based on the rotation angle of the rotating body 200. In the present embodiment in which the rotator 200 has a crankshaft, the rotation synchronization processing can also be referred to as crank synchronization processing.

電子制御装置100は、センサ信号についてフェールセーフ処理を行う。フェールセーフ処理において電子制御装置100は、第1センサ信号S1に異常が生じているか否か、及び、第2センサ信号S2に異常が生じているか否かを判定する。すなわち、電子制御装置100は、センサ信号における異常の有無を判定する。そして、電子制御装置100は、第1センサ信号S1又は第2センサ信号S2に異常が生じていると判定すると、回転同期処理が正常に行われるように処理するか、又は、回転同期処理を中止する。   The electronic control device 100 performs fail-safe processing on the sensor signal. In the fail safe process, the electronic control unit 100 determines whether or not an abnormality has occurred in the first sensor signal S1 and whether or not an abnormality has occurred in the second sensor signal S2. That is, the electronic control unit 100 determines whether there is an abnormality in the sensor signal. When the electronic control unit 100 determines that an abnormality has occurred in the first sensor signal S1 or the second sensor signal S2, the electronic control unit 100 performs processing so that the rotation synchronization processing is performed normally, or cancels the rotation synchronization processing. To do.

本実施形態において第1制御部10は、回転同期処理として、イグナイタ240及びインジェクタ230に制御信号を出力している。これにより、第1制御部10は、回転同期処理として、エンジンの回転数を制御している。第1制御部10は、カウント生成部12、記憶部14、回転判定部16、回転制御部18、異常判定部20、通信部22を有している。   In the present embodiment, the first control unit 10 outputs a control signal to the igniter 240 and the injector 230 as the rotation synchronization process. Thereby, the 1st control part 10 is controlling the rotation speed of an engine as rotation synchronous processing. The first control unit 10 includes a count generation unit 12, a storage unit 14, a rotation determination unit 16, a rotation control unit 18, an abnormality determination unit 20, and a communication unit 22.

カウント生成部12は、第1センサ信号S1に基づいて第1カウント情報C1を生成するものである。第1カウント情報C1は、回転体200の回転角度を示す情報である。カウント生成部12は、特許請求の範囲に記載の情報生成部に相当する。第1カウント情報C1は、特許請求の範囲に記載の回転角度情報に相当する。カウント生成部12は、カウンタと称することもできる。以下、第1カウント情報C1の値を、第1カウント値とも称する。   The count generation unit 12 generates first count information C1 based on the first sensor signal S1. The first count information C1 is information indicating the rotation angle of the rotating body 200. The count generation unit 12 corresponds to the information generation unit described in the claims. The first count information C1 corresponds to the rotation angle information described in the claims. The count generation unit 12 can also be referred to as a counter. Hereinafter, the value of the first count information C1 is also referred to as a first count value.

本実施形態において、第1カウント値は、0〜23の整数である。カウント生成部12は、第1センサ信号S1が3周期経過する度に第1カウント値を変化させる。すなわち、カウント生成部12は、クランクシャフトが30°回転する度に第1カウント値を変化させる。カウント生成部12は、第1カウント値を0から23まで順に1づつ大きくしていく。そして、カウント生成部12は、第1カウント値が23の状態から第1センサ信号S1が3周期経過すると、第1カウント値を23から0にする。   In the present embodiment, the first count value is an integer from 0 to 23. The count generation unit 12 changes the first count value every three cycles of the first sensor signal S1. That is, the count generation unit 12 changes the first count value every time the crankshaft rotates 30 °. The count generation unit 12 increases the first count value by 1 from 0 to 23 in order. Then, the count generation unit 12 changes the first count value from 23 to 0 when the first sensor signal S1 passes three cycles from the state where the first count value is 23.

第1カウント値は、回転体200の回転角度に応じて変化する。以下、第1カウント値が変化するのに掛かる時間をカウント周期Tcと示す。カウント周期Tcは、第1カウント値が1つ大きくなる時間、及び、第1カウント値が23から0になるのに掛かる時間である。言い換えると、カウント周期Tcは、第1センサ信号S1が3周期経過するのに掛かる時間である。   The first count value changes according to the rotation angle of the rotating body 200. Hereinafter, the time taken for the first count value to change is referred to as a count cycle Tc. The count cycle Tc is a time for the first count value to increase by one and a time required for the first count value to change from 23 to 0. In other words, the count cycle Tc is the time taken for three cycles of the first sensor signal S1.

第1カウント情報C1は、エンジンの1サイクル中において、シリンダ内で、ピストンがどの地点に位置しているかを示している。カウント生成部12は、第1カウント値を更新する度に、記憶部14に第1カウント情報C1を入力し、記憶部14に更新した第1カウント値を格納する。   The first count information C1 indicates where the piston is located in the cylinder during one cycle of the engine. Each time the count generation unit 12 updates the first count value, the count generation unit 12 inputs the first count information C1 to the storage unit 14 and stores the updated first count value in the storage unit 14.

記憶部14は、第1制御部10のメモリである。記憶部14としては、例えば、ROMや、RAM等の半導体メモリを採用することができる。記憶部14を、非遷移的実体的記録媒体と称することもできる。記憶部14には、第1カウント情報C1の今回値と前回値とが格納される。第1カウント情報C1の今回値とは、カウント生成部12が更新した最新の第1カウント値である。第1カウント情報C1の前回値とは、カウント生成部12が今回値の1つ前に更新した第1カウント値である。なお、図2に示す第1カウント値は、第1カウント情報C1の今回値である。また、記憶部14には、エンジンの回転数を判定するための閾値が予め格納されている。   The storage unit 14 is a memory of the first control unit 10. As the storage unit 14, for example, a semiconductor memory such as a ROM or a RAM can be employed. The storage unit 14 can also be referred to as a non-transitional tangible recording medium. The storage unit 14 stores the current value and the previous value of the first count information C1. The current value of the first count information C1 is the latest first count value updated by the count generation unit 12. The previous value of the first count information C1 is a first count value updated by the count generation unit 12 one time before the current value. Note that the first count value shown in FIG. 2 is the current value of the first count information C1. The storage unit 14 stores in advance a threshold value for determining the engine speed.

回転判定部16は、エンジンの回転数と閾値とを比較して判定を行うものである。すなわち、回転判定部16は、クランクシャフトの回転数と閾値とを比較して判定を行う。詳しく言うと、回転判定部16は、第1カウント情報C1に応じてエンジンの回転数を算出し、算出した回転数と、記憶部14に格納された閾値と、を比較して判定を行う。閾値については、下記で詳細に説明する。   The rotation determination unit 16 performs determination by comparing the engine speed and a threshold value. That is, the rotation determination unit 16 performs determination by comparing the rotation number of the crankshaft with a threshold value. More specifically, the rotation determination unit 16 calculates the engine rotation speed according to the first count information C1, and compares the calculated rotation speed with a threshold value stored in the storage unit 14 for determination. The threshold value will be described in detail below.

回転制御部18は、エンジンの回転数を制御するものである。回転制御部18は、インジェクタ230を制御する噴射制御部18aと、イグナイタ240を制御する点火制御部18bと、を有している。回転制御部18は、第1制御部10において回転同期処理を行う部分である。よって、回転制御部18を同期処理部と称することもできる。   The rotation control unit 18 controls the engine speed. The rotation control unit 18 includes an injection control unit 18 a that controls the injector 230 and an ignition control unit 18 b that controls the igniter 240. The rotation control unit 18 is a part that performs rotation synchronization processing in the first control unit 10. Therefore, the rotation control unit 18 can also be referred to as a synchronization processing unit.

噴射制御部18aは、インジェクタ230に制御信号を出力するものである。インジェクタ230は、シリンダ内に燃料を噴射するものである。噴射制御部18aは、回転同期処理として、記憶部14に格納された第1カウント値に応じてインジェクタ230へ制御信号を出力する。詳しく言うと、噴射制御部18aは、第1カウント情報C1の今回値が特定の値となったときにインジェクタ230へ制御信号を出力する。これにより、噴射制御部18aは、回転体200の回転角度に応じて、インジェクタ230の燃料噴射タイミングを制御している。また、噴射制御部18aは、制御信号としてパルス信号をインジェクタ230へ出力し、パルス信号のパルス幅を変えることでインジェクタ230の燃料噴射量を制御している。   The injection control unit 18a outputs a control signal to the injector 230. The injector 230 injects fuel into the cylinder. The injection control unit 18a outputs a control signal to the injector 230 according to the first count value stored in the storage unit 14 as the rotation synchronization process. Specifically, the injection control unit 18a outputs a control signal to the injector 230 when the current value of the first count information C1 becomes a specific value. Thereby, the injection control unit 18 a controls the fuel injection timing of the injector 230 according to the rotation angle of the rotating body 200. In addition, the injection control unit 18a outputs a pulse signal as a control signal to the injector 230, and controls the fuel injection amount of the injector 230 by changing the pulse width of the pulse signal.

点火制御部18bは、イグナイタ240に制御信号を出力するものである。イグナイタ240を含むエンジンの点火システムは、イグナイタ240以外にも、一次コイル及び二次コイルを有する点火コイルと、二次コイルに接続された点火プラグと、を有している。イグナイタ240は、点火制御部18bからの制御信号に応じて、点火コイルの一次コイルへの通電のオンオフを制御する。一次コイルにおける通電のオンオフに応じて、二次コイルの電圧が昇圧され、点火プラグにて放電が生じる。   The ignition control unit 18b outputs a control signal to the igniter 240. In addition to the igniter 240, the engine ignition system including the igniter 240 includes an ignition coil having a primary coil and a secondary coil, and an ignition plug connected to the secondary coil. The igniter 240 controls on / off of energization to the primary coil of the ignition coil in accordance with a control signal from the ignition control unit 18b. The voltage of the secondary coil is boosted according to the on / off of energization in the primary coil, and a discharge is generated at the spark plug.

点火制御部18bは、回転同期処理として、記憶部14に格納された第1カウント値に応じてイグナイタ240へ制御信号を出力する。詳しく言うと、点火制御部18bは、第1カウント情報C1の今回値が特定の値となったときにイグナイタ240へ制御信号を出力している。これにより、点火制御部18bは、回転体200の回転角度に応じて、点火プラグの放電タイミングを制御している。   The ignition control unit 18b outputs a control signal to the igniter 240 according to the first count value stored in the storage unit 14 as the rotation synchronization process. Specifically, the ignition control unit 18b outputs a control signal to the igniter 240 when the current value of the first count information C1 becomes a specific value. Thereby, the ignition control unit 18b controls the discharge timing of the spark plug according to the rotation angle of the rotating body 200.

異常判定部20は、第1配線222において第1センサ信号S1に異常が生じたか否かを判定する。第1配線222が断線した場合や、第1配線222にノイズが混入した場合に、第1センサ信号S1に異常が生じる。第1センサ信号S1に異常が生じると、第1センサ信号S1の値は、回転体200の回転角を反映しない。よって、第1センサ信号S1に異常が生じると、カウント生成部12は、第1センサ信号S1が3周期経過したか否かを判定することができない。そのため、カウント生成部12は、第1カウント値を変化させない。異常判定部20は、第1カウント値に基づき、第1センサ信号S1について判定を行う。   The abnormality determination unit 20 determines whether or not an abnormality has occurred in the first sensor signal S1 in the first wiring 222. When the first wiring 222 is disconnected or when noise is mixed in the first wiring 222, an abnormality occurs in the first sensor signal S1. If an abnormality occurs in the first sensor signal S1, the value of the first sensor signal S1 does not reflect the rotation angle of the rotating body 200. Therefore, when an abnormality occurs in the first sensor signal S1, the count generation unit 12 cannot determine whether or not the first sensor signal S1 has passed three cycles. Therefore, the count generation unit 12 does not change the first count value. The abnormality determination unit 20 determines the first sensor signal S1 based on the first count value.

異常判定部20は、フェールセーフ処理において判定を行う。フェールセーフ処理のうちの、第1センサ信号S1における異常の有無を異常判定部20が判定する処理を異常判定処理と称することもできる。異常判定処理は、下記で詳細に説明する。   The abnormality determination unit 20 performs determination in fail-safe processing. Of the fail-safe processes, the process in which the abnormality determination unit 20 determines whether there is an abnormality in the first sensor signal S1 can also be referred to as an abnormality determination process. The abnormality determination process will be described in detail below.

通信部22は、第2制御部30と通信を行うものである。通信部22は、第2制御部30へ信号を送信するとともに、第2制御部30からの信号を受信する。通信部22は、回転同期処理を行うために必要な信号について、第2制御部30と周期的に通信している。回転同期処理を行うために必要な信号とは、例えば、下記のノック判定部38の判定結果を示す信号である。さらに、通信部22は、第1カウント情報C1を第2制御部30へ送信している。   The communication unit 22 communicates with the second control unit 30. The communication unit 22 transmits a signal to the second control unit 30 and receives a signal from the second control unit 30. The communication unit 22 periodically communicates with the second control unit 30 for signals necessary for performing the rotation synchronization process. The signal necessary for performing the rotation synchronization processing is, for example, a signal indicating the determination result of the knock determination unit 38 described below. Further, the communication unit 22 transmits the first count information C1 to the second control unit 30.

本実施形態において第2制御部30は、回転同期処理として、ノッキングが生じているか否かを判定する。エンジンのシリンダ内において、未燃焼ガスが、燃焼ガスにより圧縮されて自己着火し、急速に燃焼する場合がある。これにより、圧力波が発生する。ノッキングとは、この圧力波がシリンダ内を往復して共鳴する現象である。ノッキングは、ノックと称することもできる。第2制御部30は、カウント生成部32、記憶部34、回転判定部36、ノック判定部38、通信部40、異常判定部42を有している。   In the present embodiment, the second control unit 30 determines whether knocking has occurred as the rotation synchronization process. In an engine cylinder, unburned gas may be compressed by the combustion gas and self-ignited, and burned rapidly. Thereby, a pressure wave is generated. Knocking is a phenomenon in which this pressure wave resonates in the cylinder. Knocking can also be referred to as knocking. The second control unit 30 includes a count generation unit 32, a storage unit 34, a rotation determination unit 36, a knock determination unit 38, a communication unit 40, and an abnormality determination unit 42.

カウント生成部32は、第2センサ信号S2に基づいて第2カウント情報C2を生成するものである。第2カウント情報C2は、回転体200の回転角度を示す情報である。カウント生成部32は、特許請求の範囲に記載の情報生成部に相当する。第2カウント情報C2は、特許請求の範囲に記載の回転角度情報に相当する。カウント生成部32は、カウンタと称することもできる。以下、第2カウント情報C2の値は、第2カウント値とも称する。以下、カウント生成部12及びカウント生成部32は、区別する必要がない場合、単にカウント生成部とも称する。また、第1カウント情報C1及び第2カウント情報C2は、区別する必要がない場合、単にカウント情報とも称する。   The count generation unit 32 generates second count information C2 based on the second sensor signal S2. The second count information C2 is information indicating the rotation angle of the rotating body 200. The count generation unit 32 corresponds to the information generation unit described in the claims. The second count information C2 corresponds to the rotation angle information described in the claims. The count generation unit 32 can also be referred to as a counter. Hereinafter, the value of the second count information C2 is also referred to as a second count value. Hereinafter, the count generation unit 12 and the count generation unit 32 are also simply referred to as a count generation unit when it is not necessary to distinguish them. The first count information C1 and the second count information C2 are also simply referred to as count information when it is not necessary to distinguish them.

本実施形態において、第2カウント値は、0〜23の整数である。カウント生成部32は、第2センサ信号S2が3周期経過する度に第2カウント値を変化させる。すなわち、カウント生成部32は、クランクシャフトが30°回転する度に第2カウント値を変化させる。カウント生成部32は、第2カウント値を0から23まで順に1づつ大きくしていく。そして、カウント生成部32は、第2カウント値が23の状態から第2センサ信号S2が3周期経過すると、第2カウント値を23から0にする。   In the present embodiment, the second count value is an integer from 0 to 23. The count generation unit 32 changes the second count value every three cycles of the second sensor signal S2. That is, the count generation unit 32 changes the second count value every time the crankshaft rotates 30 °. The count generation unit 32 increases the second count value by 1 from 0 to 23 in order. Then, the count generation unit 32 changes the second count value from 23 to 0 when the second sensor signal S2 has passed three cycles from the state where the second count value is 23.

第2カウント情報C2は、エンジンの1サイクル中において、シリンダ内で、ピストンがどの地点に位置しているかを示している。カウント生成部32は、第2カウント値を更新する度に、記憶部34に第2カウント情報C2を入力し、記憶部34に更新した第2カウント値を格納する。第2カウント値が変化するのに掛かる時間は、第1カウント値と同様にカウント周期Tcである。   The second count information C2 indicates where the piston is located in the cylinder during one cycle of the engine. Each time the count generation unit 32 updates the second count value, the count generation unit 32 inputs the second count information C2 to the storage unit 34 and stores the updated second count value in the storage unit 34. The time taken for the second count value to change is the count cycle Tc as in the first count value.

本実施形態では、第2カウント値が、第1カウント値と異なる値とされている。言い換えると、カウント生成部32は、カウント生成部12が生成する第1カウント情報C1に対して、異なる値の第2カウント情報C2を生成する。詳しく言うと、第2カウント値は、第1カウント値よりも2大きくされている。そのため、第2カウント値から第1カウント値を減じた値、すなわち第2カウント値及び第1カウント値の差分は、2とされている。なお、本実施形態では、第2カウント値から第1カウント値を減じた値を示すデータが、予め記憶部14及び記憶部34に格納されている。   In the present embodiment, the second count value is different from the first count value. In other words, the count generation unit 32 generates second count information C2 having a different value from the first count information C1 generated by the count generation unit 12. More specifically, the second count value is 2 larger than the first count value. Therefore, the value obtained by subtracting the first count value from the second count value, that is, the difference between the second count value and the first count value is set to 2. In the present embodiment, data indicating a value obtained by subtracting the first count value from the second count value is stored in the storage unit 14 and the storage unit 34 in advance.

なお、第2カウント値が、第1カウント値と同じ値とされていてもよい。言い換えると、カウント生成部32は、カウント生成部12が生成する第1カウント情報C1に対して、同じ値の第2カウント情報C2を生成してもよい。   The second count value may be the same value as the first count value. In other words, the count generation unit 32 may generate the second count information C2 having the same value as the first count information C1 generated by the count generation unit 12.

記憶部34は、第2制御部30のメモリである。記憶部34としては、例えば、ROMや、RAM等の半導体メモリを採用することができる。記憶部34を、非遷移的実体的記録媒体と称することもできる。以下、記憶部14及び記憶部34は、区別する必要がない場合、単に記憶部とも称する。   The storage unit 34 is a memory of the second control unit 30. As the storage unit 34, for example, a semiconductor memory such as a ROM or a RAM can be employed. The storage unit 34 can also be referred to as a non-transitional tangible recording medium. Hereinafter, the storage unit 14 and the storage unit 34 are also simply referred to as a storage unit when it is not necessary to distinguish them.

記憶部34には、第2カウント情報C2の今回値と前回値とが格納される。第2カウント情報C2の今回値とは、カウント生成部32が更新した最新の第2カウント値である。第2カウント情報C2の前回値とは、カウント生成部32が今回値の1つ前に更新した第2カウント値である。なお、図2に示す第2カウント値は、第2カウント情報C2の今回値である。また、記憶部34には、エンジンの回転数を判定するための閾値が予め格納されている。記憶部34に格納される閾値は、記憶部14に格納される閾値と同じ値とされている。   The storage unit 34 stores the current value and the previous value of the second count information C2. The current value of the second count information C2 is the latest second count value updated by the count generation unit 32. The previous value of the second count information C2 is a second count value updated by the count generation unit 32 immediately before the current value. Note that the second count value shown in FIG. 2 is the current value of the second count information C2. The storage unit 34 stores a threshold value for determining the engine speed in advance. The threshold value stored in the storage unit 34 is the same value as the threshold value stored in the storage unit 14.

回転判定部36は、エンジンの回転数、すなわちクランクシャフトの回転数と閾値とを比較して判定を行う。回転判定部36が判定を行う処理は、回転判定部16と同様の処理である。以下、回転判定部16及び回転判定部36は、区別する必要がない場合、単に回転判定部とも称する。   The rotation determination unit 36 makes a determination by comparing the engine rotation speed, that is, the rotation speed of the crankshaft with a threshold value. The process performed by the rotation determination unit 36 is the same process as the rotation determination unit 16. Hereinafter, the rotation determination unit 16 and the rotation determination unit 36 are also simply referred to as a rotation determination unit when it is not necessary to distinguish between them.

ノック判定部38は、ノックセンサ250からの信号に応じて、エンジンにノッキングが生じているか否かを判定するものである。言い換えると、ノック判定部38は、ノックセンサ250からの信号に応じて、エンジンにノッキングが生じているか否かを検出する。以下、エンジンにノッキングが生じているか否かをノック判定部38が判定する処理をノック判定処理と示す。ノック判定部38は、第2制御部30において、回転同期処理を行う部分である。よって、ノック判定部38を同期処理部と称することもできる。   The knock determination unit 38 determines whether or not knocking has occurred in the engine in accordance with a signal from the knock sensor 250. In other words, knock determination unit 38 detects whether knocking has occurred in the engine in accordance with a signal from knock sensor 250. Hereinafter, a process in which the knock determination unit 38 determines whether knocking has occurred in the engine is referred to as a knock determination process. The knock determination unit 38 is a part that performs rotation synchronization processing in the second control unit 30. Therefore, knock determination unit 38 can also be referred to as a synchronization processing unit.

ノックセンサ250は、エンジンにおけるシリンダブロックの振動を検出する。ノッキングは、シリンダ内においてピストンが特定の範囲に位置するときに生じる。そのため、ノック判定部38は、回転同期処理として、記憶部34に格納された第2カウント値に応じてノック判定処理を行う。詳しく言うと、ノック判定部38は、第2カウント情報C2の今回値が特定の値となったときにノック判定処理を開始する。そして、ノック判定部38は、ノック判定処理を開始してから第2カウント情報C2の今回値が増加して特定の値になったときに、ノック判定処理を終了する。以上により、ノック判定部38は、回転体200の回転角度に応じて、ノック判定処理を行っている。   Knock sensor 250 detects the vibration of the cylinder block in the engine. Knocking occurs when the piston is located in a certain range within the cylinder. Therefore, the knock determination unit 38 performs a knock determination process according to the second count value stored in the storage unit 34 as the rotation synchronization process. Specifically, the knock determination unit 38 starts the knock determination process when the current value of the second count information C2 becomes a specific value. Then, the knock determination unit 38 ends the knock determination process when the current value of the second count information C2 increases to a specific value after starting the knock determination process. As described above, the knock determination unit 38 performs the knock determination process according to the rotation angle of the rotating body 200.

ノック判定部38は、エンジンにノッキングが生じていると判定した場合、通信部40及び通信部22を介して、判定結果を示す信号を回転制御部18へ出力する。回転制御部18は、ノック判定部38からの信号が入力されると、エンジンの回転数を減少させる。例えば、点火制御部18b及び噴射制御部18aがイグナイタ240及びインジェクタ230へ制御信号を出力しないことにより、エンジンの回転数を減少させる。   When it is determined that knocking has occurred in the engine, knock determination unit 38 outputs a signal indicating the determination result to rotation control unit 18 via communication unit 40 and communication unit 22. When the signal from knock determination unit 38 is input, rotation control unit 18 decreases the engine speed. For example, the ignition control unit 18b and the injection control unit 18a do not output control signals to the igniter 240 and the injector 230, thereby reducing the engine speed.

通信部40は、第1制御部10と通信を行う。詳しく言うと、通信部40は、通信部22と通信を行う。通信部40は、周期的に、通信部22と通信を行っている。通信部22及び通信部40は、互いに、回転同期処理を行うために必要な信号について、周期的に通信している。さらに、通信部40は、通信部22から第1カウント情報C1を受信するとともに、通信部22へ第2カウント情報C2を送信する。以下、通信部22及び通信部40は、区別する必要がない場合、単に通信部とも称する。   The communication unit 40 communicates with the first control unit 10. Specifically, the communication unit 40 communicates with the communication unit 22. The communication unit 40 communicates with the communication unit 22 periodically. The communication unit 22 and the communication unit 40 periodically communicate with each other about signals necessary for performing rotation synchronization processing. Furthermore, the communication unit 40 receives the first count information C1 from the communication unit 22 and transmits the second count information C2 to the communication unit 22. Hereinafter, the communication unit 22 and the communication unit 40 are also simply referred to as a communication unit when it is not necessary to distinguish them.

以下、通信部同士が通信する周期を通信周期Tdと示す。図2では、通信部同士が通信を行うタイミングを破線で示している。通信周期Tdは、例えば、約2msとされている。なお、通信周期Tdは、エンジンの回転数によらず、ほぼ一定とされている。   Hereinafter, a cycle in which communication units communicate with each other is referred to as a communication cycle Td. In FIG. 2, the timing at which the communication units communicate with each other is indicated by a broken line. The communication period Td is about 2 ms, for example. The communication cycle Td is substantially constant regardless of the engine speed.

記憶部に格納される閾値は、カウント周期Tcが通信周期Tdと一致する場合のエンジンの回転数である。閾値は、例えば、2500rpmとされている。エンジンの回転数が閾値以上の場合、カウント周期Tcが通信周期Td以下とされる。一方、エンジンの回転数が閾値未満の場合、カウント周期Tcが通信周期Tdよりも長くされる。   The threshold stored in the storage unit is the engine speed when the count cycle Tc matches the communication cycle Td. The threshold value is, for example, 2500 rpm. When the engine speed is equal to or greater than the threshold, the count cycle Tc is set to be equal to or less than the communication cycle Td. On the other hand, when the engine speed is less than the threshold value, the count cycle Tc is set longer than the communication cycle Td.

電子制御装置100では、通信部22及び通信部40を互いに接続する信号線として、例えば、信号を送受信するための信号線と、通信タイミング等を決定するための信号線と、が設けられている。例えば、通信部22は、通信部40と通信を開始する場合、通信を行うための信号を通信部40へ送信する。そして、通信部40は、通信部22からの信号に基づき、通信可能な場合に、通信を行うための信号を通信部22へ送信する。この信号が通信部40から通信部22へ送信されると、通信部同士が信号を送受信する。   In the electronic control apparatus 100, for example, a signal line for transmitting and receiving signals and a signal line for determining communication timing and the like are provided as signal lines for connecting the communication unit 22 and the communication unit 40 to each other. . For example, when starting communication with the communication unit 40, the communication unit 22 transmits a signal for performing communication to the communication unit 40. Then, based on the signal from the communication unit 22, the communication unit 40 transmits a signal for performing communication to the communication unit 22 when communication is possible. When this signal is transmitted from the communication unit 40 to the communication unit 22, the communication units transmit and receive signals.

通信部40は、通信部22から受信した第1カウント値を記憶部34に格納する。詳しく言うと、記憶部34には、通信部40が通信部22から受信した第1カウント情報C1の今回値と前回値とが格納される。同様に、記憶部14には、通信部22が通信部40から受信した第2カウント情報C2の今回値と前回値とが格納される。   The communication unit 40 stores the first count value received from the communication unit 22 in the storage unit 34. More specifically, the storage unit 34 stores the current value and the previous value of the first count information C <b> 1 received by the communication unit 40 from the communication unit 22. Similarly, the current value and the previous value of the second count information C <b> 2 received by the communication unit 22 from the communication unit 40 are stored in the storage unit 14.

異常判定部42は、第2配線224において第2センサ信号S2に異常が生じたか否かを判定する。第2配線224が断線した場合や、第2配線224にノイズが混入した場合に、第2センサ信号S2に異常が生じる。第2センサ信号S2に異常が生じると、第2センサ信号S2の値は、回転体200の回転角を反映しない。よって第2センサ信号S2に異常が生じると、カウント生成部32は、第2センサ信号S2が3周期経過したか否かを判定することができない。そのため、カウント生成部32は、第2カウント値を変化させない。異常判定部42は、第2カウント値に基づき、第2センサ信号S2について判定を行う。   The abnormality determination unit 42 determines whether or not an abnormality has occurred in the second sensor signal S2 in the second wiring 224. When the second wiring 224 is disconnected or when noise is mixed into the second wiring 224, an abnormality occurs in the second sensor signal S2. When an abnormality occurs in the second sensor signal S2, the value of the second sensor signal S2 does not reflect the rotation angle of the rotating body 200. Therefore, when an abnormality occurs in the second sensor signal S2, the count generation unit 32 cannot determine whether or not the third period of the second sensor signal S2 has elapsed. Therefore, the count generation unit 32 does not change the second count value. The abnormality determination unit 42 determines the second sensor signal S2 based on the second count value.

異常判定部42は、フェールセーフ処理において判定を行う。フェールセーフ処理のうちの、第2センサ信号S2における異常の有無を異常判定部42が判定する処理を異常判定処理と称することもできる。以下、異常判定部20及び異常判定部42は、区別する必要がない場合、単に異常判定部とも称する。以上によれば、異常判定部は、各制御部に対して個別に設けられている。   The abnormality determination unit 42 performs determination in fail-safe processing. Of the fail-safe processes, the process in which the abnormality determination unit 42 determines whether there is an abnormality in the second sensor signal S2 can also be referred to as an abnormality determination process. Hereinafter, the abnormality determination unit 20 and the abnormality determination unit 42 are also simply referred to as an abnormality determination unit when it is not necessary to distinguish between them. According to the above, the abnormality determination unit is individually provided for each control unit.

本実施形態において、電子制御装置100は、周期的に、フェールセーフ処理を行う。よって、異常判定部は、周期的に、異常判定処理を行う。電子制御装置100がフェールセーフ処理を行う周期は、通信周期Tdとほぼ同じである。言い換えると、通信部が通信を行うタイミング毎に、異常判定部は異常判定処理を行う。   In the present embodiment, the electronic control device 100 periodically performs fail-safe processing. Therefore, the abnormality determination unit periodically performs abnormality determination processing. The cycle in which the electronic control device 100 performs the fail-safe process is substantially the same as the communication cycle Td. In other words, the abnormality determination unit performs an abnormality determination process every time the communication unit performs communication.

次に、図3及び図4に基づき、電子制御装置100のフェールセーフ処理の処理手順について説明する。   Next, based on FIG.3 and FIG.4, the process procedure of the fail safe process of the electronic control apparatus 100 is demonstrated.

電子制御装置100は、第1センサ信号S1に異常が生じていると判定した場合、第2センサ信号S2は正常であると判定する。一方、電子制御装置100は、第2センサ信号S2に異常が生じていると判定した場合、第1センサ信号S1は正常であると判定する。以下、2つの制御部のうちの、センサ信号に異常が生じていると判定された制御部を異常制御部と示す。一方、2つの制御部のうちの、センサ信号が正常であると判定された制御部を正常制御部と示す。   When the electronic control unit 100 determines that an abnormality has occurred in the first sensor signal S1, the electronic control device 100 determines that the second sensor signal S2 is normal. On the other hand, when the electronic control unit 100 determines that an abnormality has occurred in the second sensor signal S2, the electronic control device 100 determines that the first sensor signal S1 is normal. Hereinafter, of the two control units, the control unit that is determined to be abnormal in the sensor signal is referred to as an abnormality control unit. On the other hand, of the two control units, the control unit determined to have a normal sensor signal is referred to as a normal control unit.

通信部が通信を行うと、電子制御装置100がフェールセーフ処理を開始する。フェールセーフ処理が開始されると、先ず、各異常判定部は、カウント情報における今回値の差分を算出する(S10)。詳しく言うと、異常判定部20は、第2カウント情報C2の今回値から第1カウント情報C1の今回値を減じた値を算出する。そして、異常判定部42は、第1カウント情報C1の今回値から第2カウント情報C2の今回値を減じた値を算出する。フェールセーフ処理が行われる度に、各異常判定部は、S10で算出した差分を、対応する制御部の記憶部に格納する。   When the communication unit performs communication, the electronic control device 100 starts fail-safe processing. When the fail safe process is started, each abnormality determination unit first calculates a difference between current values in the count information (S10). Specifically, the abnormality determination unit 20 calculates a value obtained by subtracting the current value of the first count information C1 from the current value of the second count information C2. Then, the abnormality determination unit 42 calculates a value obtained by subtracting the current value of the second count information C2 from the current value of the first count information C1. Each time the fail-safe process is performed, each abnormality determination unit stores the difference calculated in S10 in the storage unit of the corresponding control unit.

そして、各異常判定部は、前回のフェールセーフ処理及び今回のフェールセーフ処理においてS10で算出した差分同士が等しいか否かを判定する(S12)。異常判定部が前回においてS10で算出した値とは、今回のフェールセーフ処理が開始する前に行った処理であって最も新しいフェールセーフ処理において、異常判定部がS10で算出した値である。異常判定部は、S12により、複数のカウント情報同士の比較結果が異なるタイミングで変化しているか否かを判定することができる。   Each abnormality determination unit determines whether or not the differences calculated in S10 are equal in the previous fail-safe process and the current fail-safe process (S12). The value previously calculated by the abnormality determination unit in S10 is the value that was calculated by the abnormality determination unit in S10 in the latest fail-safe process that was performed before the current fail-safe process started. The abnormality determination unit can determine whether or not the comparison results of the plurality of pieces of count information change at different timings in S12.

S12において差分が互いに同じ値の場合、両方のカウント情報は、時間経過に応じて、互いに同じ値変化している。この場合に、各異常判定部は、対応する制御部に対して正常にセンサ信号が入力されていると判定する。よって、制御部は、S12において差分が同じ値と判定した場合、フェールセーフ処理のうちの制御部が行う処理を終了する。   When the difference is the same value in S12, both pieces of count information change with the same value as time elapses. In this case, each abnormality determination unit determines that the sensor signal is normally input to the corresponding control unit. Therefore, when it determines with a difference being the same value in S12, a control part complete | finishes the process which the control part of a fail safe process performs.

本実施形態では、センサ信号の両方が正常な場合、カウント情報における今回値の差分は2とされている。図4に示す例では、時間T1において第2センサ信号S2に異常が生じている。すなわち、第1制御部10が正常制御部であり、第2制御部30が異常制御部となっている。時間T1において、第1カウント値は5であって、第2カウント値は7である。時間T1から所定時間が経過後、カウント生成部12は第1カウント値を1つ大きくする。一方、時間T1から所定時間が経過した場合であっても、カウント生成部32は第2センサ信号S2に基づき第2カウント値を大きくしない。   In the present embodiment, when both of the sensor signals are normal, the difference between the current values in the count information is 2. In the example shown in FIG. 4, an abnormality has occurred in the second sensor signal S2 at time T1. That is, the first control unit 10 is a normal control unit, and the second control unit 30 is an abnormal control unit. At time T1, the first count value is 5, and the second count value is 7. After a predetermined time has elapsed from time T1, the count generation unit 12 increases the first count value by one. On the other hand, even when the predetermined time has elapsed from time T1, the count generation unit 32 does not increase the second count value based on the second sensor signal S2.

時間T1から所定時間経過後の時間T2において、通信部同士が通信を行うとともに、各異常判定部が判定を行う。図4に示す例では、S12において各異常判定部は、S10で算出した差分が異なっていると判定する。   At time T2 after a predetermined time has elapsed from time T1, the communication units communicate with each other, and each abnormality determination unit makes a determination. In the example illustrated in FIG. 4, in S12, each abnormality determination unit determines that the difference calculated in S10 is different.

S12において差分が異なっていると判定した場合、各異常判定部は、対応する制御部のカウント生成部で生成されたカウント情報が更新されているか否かを判定する(S14)。すなわち、異常判定部は、異なるタイミングにおいてカウント値が変化しているか否かを判定する。   When it is determined in S12 that the differences are different, each abnormality determination unit determines whether or not the count information generated by the count generation unit of the corresponding control unit is updated (S14). That is, the abnormality determination unit determines whether or not the count value has changed at different timings.

カウント生成部同士でカウント値を変化させるタイミングが互いに異なっている場合には、両方の制御部に正常なセンサ信号が制御部に入力されていても、S10で算出した差分が、異常判定部の判定タイミングに応じて変化する場合がある。言い換えると、両方の制御部に正常なセンサ信号が入力されていても、前のタイミングに対して今回のタイミングでは、カウント値同士の差分が変化している場合がある。そのため、本実施形態では、判定精度向上のため、異常判定部が、異常判定処理としてS12に加えてS14を行っている。   When the timings at which the count values are changed between the count generation units are different from each other, even if normal sensor signals are input to both control units, the difference calculated in S10 is the difference of the abnormality determination unit. It may change according to the judgment timing. In other words, even if normal sensor signals are input to both control units, the difference between the count values may change at the current timing relative to the previous timing. Therefore, in this embodiment, in order to improve the determination accuracy, the abnormality determination unit performs S14 in addition to S12 as the abnormality determination process.

異常判定部は、S14においてカウント情報が更新されていないと判定すると、対応する制御部の同期処理部へ通知する。そして、この同期処理部は、対応する制御部のカウント生成部が生成したカウント情報に基づく回転同期処理を中止する。   If the abnormality determination unit determines in S14 that the count information has not been updated, the abnormality determination unit notifies the synchronization processing unit of the corresponding control unit. And this synchronous process part stops the rotation synchronous process based on the count information which the count production | generation part of the corresponding control part produced | generated.

図4に示す例では、時間T2において異常判定部20が、S14において第1カウント情報C1の今回値及び前回値を比較し、第1カウント情報C1が更新されていると判定する。すなわち、異常判定部20は、正常な第1センサ信号S1が第1制御部10に入力されていると判定する。これにより、第1制御部10は、フェールセーフ処理のうちの第1制御部10が行う処理を終了する。   In the example illustrated in FIG. 4, the abnormality determination unit 20 compares the current value and the previous value of the first count information C1 at S14 and determines that the first count information C1 has been updated at time T2. That is, the abnormality determination unit 20 determines that a normal first sensor signal S1 is input to the first control unit 10. Thereby, the 1st control part 10 complete | finishes the process which the 1st control part 10 among fail-safe processes performs.

時間T2において、異常判定部42は、S14で第2カウント情報C2の今回値及び前回値を比較する。図4に示す例において、異常判定部42における時間T2での判定では、第2カウント情報C2の今回値及び前回値は両方が7である。そのため、異常判定部42は、第2カウント値が更新されていないと判定する。以上により、第2制御部30は、第2センサ信号S2が異常であると判定することができる。これにより、ノック判定部38は、第2カウント情報C2に基づくノック判定処理を中止する。   At time T2, the abnormality determination unit 42 compares the current value and the previous value of the second count information C2 in S14. In the example shown in FIG. 4, both the current value and the previous value of the second count information C <b> 2 are 7 in the determination at the time T <b> 2 in the abnormality determination unit 42. Therefore, the abnormality determination unit 42 determines that the second count value has not been updated. As described above, the second control unit 30 can determine that the second sensor signal S2 is abnormal. Thereby, the knock determination unit 38 stops the knock determination process based on the second count information C2.

S14において異常判定部は、カウント値が更新されていないと判定した場合において、正常制御部の回転判定部へ信号を出力する。図4に示す例では、異常判定部42が通信部の両方を介して回転判定部16へ信号を出力する。   In S14, when the abnormality determination unit determines that the count value is not updated, the abnormality determination unit outputs a signal to the rotation determination unit of the normal control unit. In the example illustrated in FIG. 4, the abnormality determination unit 42 outputs a signal to the rotation determination unit 16 via both communication units.

次に、異常判定部から信号が入力された正常制御部の回転判定部は、エンジンの回転数が閾値未満か否かを判定する(S16)。図4に示す例では、回転判定部16が、S16の処理を行う。そして、回転判定部16は、S16においてエンジンの回転数が閾値以上と判定すると、回転制御部18へ通知する。これにより、回転制御部18は、エンジンの回転数を低下させる(S18)。   Next, the rotation determination unit of the normal control unit to which the signal is input from the abnormality determination unit determines whether or not the engine speed is less than a threshold value (S16). In the example shown in FIG. 4, the rotation determination unit 16 performs the process of S16. Then, when the rotation determination unit 16 determines in S16 that the engine speed is equal to or greater than the threshold, the rotation determination unit 16 notifies the rotation control unit 18. Thereby, the rotation control part 18 reduces the rotation speed of an engine (S18).

詳しく言うと、噴射制御部18aは、インジェクタ230へ制御信号を出力しない。これにより、インジェクタ230は、シリンダ内に燃料を噴射しない。また、噴射制御部18aは、インジェクタ230の噴射量が少なくなるように、パルス信号である制御信号のパルス幅を短くしてもよい。点火制御部18bは、イグナイタ240へ制御信号を出力しない。これにより、点火プラグが放電しない。以上により、回転制御部18は、エンジンの回転数を低下させることができる。   Specifically, the injection control unit 18a does not output a control signal to the injector 230. As a result, the injector 230 does not inject fuel into the cylinder. Further, the injection control unit 18a may shorten the pulse width of the control signal that is a pulse signal so that the injection amount of the injector 230 is reduced. The ignition control unit 18b does not output a control signal to the igniter 240. As a result, the spark plug does not discharge. As described above, the rotation control unit 18 can reduce the engine speed.

回転制御部18は、S18の処理を行った後、回転判定部16へ通知する。そして、回転判定部16は、再びS16の処理を行う。すなわち、電子制御装置100では、エンジンの回転数が閾値未満になるまで、S16及びS18の処理を繰り返し行う。これにより、カウント周期Tcを通信周期Tdよりも長くすることができる。なお、回転制御部18は、S16においてエンジンの回転数が閾値未満と判定された後、エンジンの回転数が閾値未満とされた状態を維持するように、回転同期処理を行う。   The rotation control unit 18 notifies the rotation determination unit 16 after performing the process of S18. Then, the rotation determination unit 16 performs the process of S16 again. That is, the electronic control unit 100 repeatedly performs the processes of S16 and S18 until the engine speed becomes less than the threshold value. Thereby, the count cycle Tc can be made longer than the communication cycle Td. The rotation control unit 18 performs a rotation synchronization process so as to maintain a state where the engine speed is less than the threshold value after it is determined in S16 that the engine speed is less than the threshold value.

S16において回転判定部16は、エンジンの回転数が閾値未満であると判定すると、通信部22に通知する。通信部22は、回転判定部16から通知されると、通信部40と通信を行う。そして、通信部40は、通信部22から、カウント生成部12で生成した第1カウント情報C1を受信する。すなわち、エンジンの回転数が閾値未満になると、異常制御部の通信部は、異常と判定される前と同様に、正常制御部の通信部から、正常制御部のカウント生成部が生成したカウント情報を受信する。そして、異常制御部の同期処理部は、正常制御部から受信したカウント情報を用いて回転同期処理を行う(S20)。   In S16, when the rotation determination unit 16 determines that the engine speed is less than the threshold value, the rotation determination unit 16 notifies the communication unit 22. When notified from the rotation determining unit 16, the communication unit 22 communicates with the communication unit 40. Then, the communication unit 40 receives the first count information C <b> 1 generated by the count generation unit 12 from the communication unit 22. That is, when the engine speed becomes less than the threshold value, the communication unit of the abnormality control unit generates count information generated by the count generation unit of the normal control unit from the communication unit of the normal control unit, as before being determined to be abnormal. Receive. And the synchronous process part of an abnormality control part performs a rotation synchronous process using the count information received from the normal control part (S20).

S14でセンサ信号が異常と判定された後においても、通信部同士は、センサ信号が異常と判定される前と同様の通信周期Tdで通信を行う。詳しく言うと、センサ信号が異常と判定された後、異常判定部の通信部は、センサ信号が異常と判定される前と同様の通信周期Tdで、正常制御部の通信部からカウント情報を受信する。これにより、異常制御部の同期処理部が、通信周期Tdに基づく回転同期処理を行うことができる。図4に示す例では、第2センサ信号S2に異常が生じていると判定された後において、通信部40が、通信部22から通信周期Tdで周期的に第1カウント情報C1を受信する。なお、S14でセンサ信号が異常と判定された後においても、通信部同士は、回転同期処理に必要な信号について通信を行っている。   Even after the sensor signal is determined to be abnormal in S <b> 14, the communication units perform communication at the same communication cycle Td as before the sensor signal is determined to be abnormal. Specifically, after the sensor signal is determined to be abnormal, the communication unit of the abnormality determination unit receives the count information from the communication unit of the normal control unit at the same communication cycle Td as before the sensor signal is determined to be abnormal. To do. Thereby, the synchronous process part of an abnormality control part can perform the rotation synchronous process based on the communication period Td. In the example illustrated in FIG. 4, after determining that an abnormality has occurred in the second sensor signal S2, the communication unit 40 periodically receives the first count information C1 from the communication unit 22 at the communication cycle Td. Even after the sensor signal is determined to be abnormal in S14, the communication units communicate with each other for signals necessary for the rotation synchronization process.

以下、時間T2から通信周期Tdが経過した時間T3と示す。本実施形態では、時間T2から時間T3までの間に、エンジンの回転数が閾値未満となっている。そのため、時間T3以降、ノック判定部38は、第1カウント情報C1を用いてノック判定処理を行っている。   Hereinafter, it is indicated as time T3 when the communication cycle Td has elapsed from time T2. In the present embodiment, the engine speed is less than the threshold between time T2 and time T3. Therefore, after time T3, the knock determination unit 38 performs a knock determination process using the first count information C1.

詳しく言うと、カウント生成部32は、通信部40が通信部22から受信した第1カウント情報C1に基づき、第2カウント情報C2を生成している。カウント生成部32は、第1カウント値に2を加えた値が第2カウント値となるように、第2カウント情報C2を生成している。すなわち、カウント生成部32は、第2センサ信号S2が異常と判定される前における第2カウント値から第1カウント値を減じた値を、第1カウント値に加えることにより、第2カウント情報C2を生成している。   Specifically, the count generation unit 32 generates the second count information C2 based on the first count information C1 received by the communication unit 40 from the communication unit 22. The count generation unit 32 generates the second count information C2 so that a value obtained by adding 2 to the first count value becomes the second count value. That is, the count generation unit 32 adds the value obtained by subtracting the first count value from the second count value before the second sensor signal S2 is determined to be abnormal to the second count information C2. Is generated.

本実施形態では、時間T3において、第1カウント値が7であるため、カウント生成部32は、第1カウント値に2を加えて第2カウント値を9としている。ノック判定部38は、カウント生成部32が第1カウント情報C1を用いて生成した第2カウント情報C2に基づき、ノック判定処理を行っている。以上により、ノック判定部38は、第1カウント情報C1を用いてノック判定処理を行っている。   In the present embodiment, since the first count value is 7 at time T3, the count generation unit 32 adds 2 to the first count value and sets the second count value to 9. The knock determination unit 38 performs a knock determination process based on the second count information C2 generated by the count generation unit 32 using the first count information C1. As described above, the knock determination unit 38 performs the knock determination process using the first count information C1.

なお、第2カウント値は、通信部40が通信部22から受信した第1カウント情報C1の第1カウント値と同じ値であってもよい。このとき、通信部40が通信部22から受信した第1カウント情報C1は、カウント生成部32に入力されることなく、通信部40から記憶部34に入力される。そして、ノック判定部38は、第1カウント値と同じ値の第2カウント値に基づき、ノック判定処理を行う。   The second count value may be the same value as the first count value of the first count information C1 received by the communication unit 40 from the communication unit 22. At this time, the first count information C <b> 1 received by the communication unit 40 from the communication unit 22 is input from the communication unit 40 to the storage unit 34 without being input to the count generation unit 32. And the knock determination part 38 performs a knock determination process based on the 2nd count value of the same value as a 1st count value.

なお、本実施形態における電子制御装置100では、フェールセーフ処理においてセンサ信号に異常が生じていると異常判定部が判定すると、再度フェールセーフ処理を行わない。しかしながら、これに限定するものではない。電子制御装置100は、センサ信号に異常が生じていると異常判定部が判定した後においても、フェールセーフ処理を行ってもよい。この構成では、センサ信号に異常が生じている判定された後において、通信部同士が、カウント情報を送受信する。そして、センサ信号に異常が生じている判定された後においても正常制御部の異常判定部は、S12及びS14の処理を行う。センサ信号が再度正常に戻ったと判定されると、異常と判定されていた制御部におけるカウント生成部の生成したカウント情報に応じて、異常と判定されていた制御部に設けられた同期処理部が回転同期処理を行う。   In the electronic control device 100 according to the present embodiment, when the abnormality determination unit determines that an abnormality has occurred in the sensor signal in the fail-safe process, the fail-safe process is not performed again. However, the present invention is not limited to this. The electronic control device 100 may perform fail-safe processing even after the abnormality determination unit determines that an abnormality has occurred in the sensor signal. In this configuration, after it is determined that an abnormality has occurred in the sensor signal, the communication units transmit and receive the count information. Even after it is determined that an abnormality has occurred in the sensor signal, the abnormality determination unit of the normal control unit performs the processes of S12 and S14. When it is determined that the sensor signal has returned to normal again, the synchronization processing unit provided in the control unit that has been determined to be abnormal is based on the count information generated by the count generation unit in the control unit that has been determined to be abnormal. Performs rotation synchronization processing.

次に、上記した電子制御装置100の効果について説明する。   Next, effects of the electronic control device 100 described above will be described.

本実施形態において、同期処理部は、異常制御部のカウント生成部が生成したカウント情報に基づく回転同期処理を行わない。すなわち、同期処理部は、異常が生じているセンサ信号に応じて生成されたカウント情報に基づく回転同期処理を行わない。よって、電子制御装置100では、異常が生じているセンサ信号に基づき回転同期処理が行われるのを抑制することができる。   In the present embodiment, the synchronization processing unit does not perform rotation synchronization processing based on the count information generated by the count generation unit of the abnormality control unit. That is, the synchronization processing unit does not perform the rotation synchronization process based on the count information generated according to the sensor signal in which an abnormality has occurred. Therefore, in the electronic control apparatus 100, it can suppress that a rotation synchronous process is performed based on the sensor signal in which abnormality has arisen.

また、本実施形態では、異常判定部が複数のタイミングで判定を行っている。そのため、異常判定部が1つのタイミングでのみ判定を行う構成に較べて、判定の精度を向上することができる。   In the present embodiment, the abnormality determination unit performs determination at a plurality of timings. Therefore, the accuracy of the determination can be improved as compared with the configuration in which the abnormality determination unit performs the determination only at one timing.

また、本実施形態において、異常判定部は、複数のカウント情報同士の比較結果が変化しているか否かに加えて、1つのカウント情報の値が更新されているか否かに基づき判定を行っている。すなわち、異常判定部は、S12に加えてS14の処理を行っている。これによれば、異常判定部が、複数のカウント情報同士の比較結果が変化しているか否かのみに基づき判定を行う構成に較べて、判定の精度を向上することができる。   Further, in the present embodiment, the abnormality determination unit makes a determination based on whether or not the value of one count information has been updated in addition to whether or not the comparison result between a plurality of pieces of count information has changed. Yes. That is, the abnormality determination unit performs the process of S14 in addition to S12. According to this, the accuracy of determination can be improved as compared to a configuration in which the abnormality determination unit performs determination based only on whether or not the comparison result between a plurality of pieces of count information has changed.

また、本実施形態において、正常制御部の同期処理部は、正常制御部のカウント生成部が生成したカウント情報に基づき回転同期処理を行っている。すなわち、センサ信号に異常が生じていない制御部の同期処理部は、他の制御部のセンサ信号に異常が生じた場合であっても、回転同期処理を継続して行うことができる。   In the present embodiment, the synchronization processing unit of the normal control unit performs the rotation synchronization process based on the count information generated by the count generation unit of the normal control unit. That is, the synchronization processing unit of the control unit in which no abnormality has occurred in the sensor signal can continuously perform the rotation synchronization process even when an abnormality has occurred in the sensor signal of another control unit.

また、本実施形態において、異常制御部の同期処理部は、正常制御部で生成されたカウント情報に基づき、回転同期処理を行っている。すなわち、同期処理部は、制御部のセンサ信号に異常が生じた場合であっても、回転同期処理を継続して行うことができる。   In the present embodiment, the synchronization processing unit of the abnormality control unit performs the rotation synchronization process based on the count information generated by the normal control unit. That is, the synchronization processing unit can continue the rotation synchronization processing even when an abnormality occurs in the sensor signal of the control unit.

ところで、エンジンの回転数が大きいと、カウント周期Tcは短くなる。通信部同士で通信を周期的に行う構成では、通信周期Tdよりもカウント周期Tcが短い場合、カウント情報を受信する制御部とカウント情報を送信する制御部との間で、カウント値が変化する周期にずれが生じる。   By the way, when the engine speed is large, the count cycle Tc becomes short. In the configuration in which communication is performed periodically between communication units, when the count cycle Tc is shorter than the communication cycle Td, the count value changes between the control unit that receives the count information and the control unit that transmits the count information. A shift occurs in the period.

これに対し、本実施形態では、異常判定部によりセンサ信号が異常と判定された後において、通信周期Tdよりもカウント周期Tcが長くなる。これによれば、正常制御部と異常制御部との間で、カウント情報が変化する周期にずれが生じるのを抑制することができる。したがって、異常制御部の同期処理部は、正常制御部におけるカウント情報と同程度の周期で変化するカウント情報に基づき、回転同期処理を行うことができる。よって、異常制御部では、回転同期処理の処理精度が低下するのを抑制することができる。   On the other hand, in this embodiment, the count cycle Tc becomes longer than the communication cycle Td after the abnormality determination unit determines that the sensor signal is abnormal. According to this, it can suppress that a shift | offset | difference arises in the period which count information changes between a normal control part and an abnormal control part. Therefore, the synchronization processing unit of the abnormality control unit can perform the rotation synchronization process based on the count information that changes with the same period as the count information in the normal control unit. Therefore, the abnormality control unit can suppress a decrease in the processing accuracy of the rotation synchronization process.

また、本実施形態では、各制御部に異常判定部が設けられている。これによれば、各異常判定部は、センサ信号が異常と判定した場合に、他の制御部の同期処理部へ信号を出力することなく、対応する制御部の同期処理部へ通知する。したがって、同期処理部は、センサ信号が異常と判定された場合に、回転同期処理の中止を迅速に行うことができる。   In the present embodiment, each control unit is provided with an abnormality determination unit. According to this, each abnormality determination part notifies to the synchronous process part of a corresponding control part, without outputting a signal to the synchronous process part of another control part, when it determines with a sensor signal being abnormal. Therefore, the synchronization processing unit can quickly stop the rotation synchronization processing when it is determined that the sensor signal is abnormal.

なお、本実施形態では、第2制御部30が異常制御部とされる例を示したが、これに限定するものではない。第1制御部10が異常制御部となることもある。この場合、フェールセーフ処理のS16においてエンジンの回転数が閾値未満であると判定されると、通信部22は、通信部40から第2カウント情報C2を受信する。次に、カウント生成部12は、通信部22が受信した第2カウント情報C2に基づき第1カウント情報C1を生成する。そして、この第1カウント情報C1に応じて、回転制御部18は、エンジンの回転数を制御する。   In the present embodiment, an example in which the second control unit 30 is an abnormality control unit has been described, but the present invention is not limited to this. The first control unit 10 may be an abnormal control unit. In this case, when it is determined in S16 of the failsafe process that the engine speed is less than the threshold value, the communication unit 22 receives the second count information C2 from the communication unit 40. Next, the count generation unit 12 generates first count information C1 based on the second count information C2 received by the communication unit 22. And according to this 1st count information C1, rotation control part 18 controls the number of rotations of an engine.

以上、本発明の好ましい実施形態について説明したが、本発明は上記実施形態になんら制限されることなく、本発明の主旨を逸脱しない範囲において、種々変形して実施することが可能である。   The preferred embodiments of the present invention have been described above, but the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present invention.

上記実施形態では、電子制御装置100が2つの制御部を有する例を示したが、これに限定されるものではない。図5の第1変形例に示すように、電子制御装置100が、第1制御部10及び第2制御部30に加えて、第3制御部50を備える例を採用することもできる。   In the above embodiment, an example in which the electronic control device 100 includes two control units has been described, but the present invention is not limited to this. As shown in the first modification of FIG. 5, an example in which the electronic control device 100 includes a third control unit 50 in addition to the first control unit 10 and the second control unit 30 may be employed.

第1変形例では、3つの制御部の夫々が、回転同期処理を行っている。信号線220は、第1配線222及び第2配線224に加えて、第3配線226を有している。第3配線226は、第3制御部50と電気的に接続されている。第3制御部50には、第3配線226を介して、センサ信号として第3センサ信号S3が入力されている。第3制御部50は、第3センサ信号S3に基づき、第3カウント情報C3を生成している。第3制御部50は、第3カウント情報C3に基づき回転同期処理を行っている。各制御部は、他の制御部とカウント情報の送受信を周期的に行っている。   In the first modification, each of the three control units performs a rotation synchronization process. The signal line 220 includes a third wiring 226 in addition to the first wiring 222 and the second wiring 224. The third wiring 226 is electrically connected to the third control unit 50. A third sensor signal S3 is input to the third control unit 50 as a sensor signal via the third wiring 226. The third control unit 50 generates the third count information C3 based on the third sensor signal S3. The third control unit 50 performs rotation synchronization processing based on the third count information C3. Each control unit periodically transmits and receives count information to and from other control units.

例えば、第1制御部10は、第2制御部30へ第1カウント情報C1を送信するとともに、第3制御部50から第3カウント情報C3を受信している。第2制御部30は、第3制御部50へ第2カウント情報C2を送信するとともに、第1制御部10から第1カウント情報C1を受信している。第3制御部50は、第1制御部10へ第3カウント情報C3を送信するとともに、第2制御部30から第2カウント情報C2を受信している。各制御部は、互いに同じタイミングでカウント情報を送受信する。各制御部は、他の制御部から受信したカウント情報と、カウント生成部で生成したカウント情報と、を用いてフェールセーフ処理を行う。   For example, the first control unit 10 transmits the first count information C1 to the second control unit 30, and receives the third count information C3 from the third control unit 50. The second control unit 30 transmits the second count information C2 to the third control unit 50 and receives the first count information C1 from the first control unit 10. The third control unit 50 transmits the third count information C3 to the first control unit 10 and receives the second count information C2 from the second control unit 30. Each control unit transmits and receives count information at the same timing. Each control unit performs fail-safe processing using the count information received from the other control units and the count information generated by the count generation unit.

また、上記実施形態では、フェールセーフ処理において一方の制御部にセンサ信号が入力されていないと判定されると、異常制御部が正常制御部のカウント情報を受信して回転同期処理を行う例を示した。しかしながら、これに限定するものではない。図6の第2変形例に示すように、異常制御部は、S14の判定を行った後、回転同期処理を中止し、通信周期Tdで周期的な時間同期処理を行ってもよい(S22)。異常制御部は、時間同期処理において、カウント値を考慮しない。時間同期処理としては、例えば、電子スロットル制御や、可変バルブ機構の制御を採用することができる。また、時間同期処理として、上記実施形態と同様に、インジェクタ230及びイグナイタ240の制御や、ノック判定処理を採用してもよい。   Moreover, in the said embodiment, when it determines with the sensor signal not being input into one control part in a fail safe process, the example which an abnormal control part receives the count information of a normal control part, and performs a rotation synchronous process Indicated. However, the present invention is not limited to this. As shown in the second modified example of FIG. 6, after performing the determination of S14, the abnormality control unit may stop the rotation synchronization process and perform a periodic time synchronization process at the communication period Td (S22). . The abnormality control unit does not consider the count value in the time synchronization process. As the time synchronization processing, for example, electronic throttle control or variable valve mechanism control can be employed. Further, as the time synchronization process, the control of the injector 230 and the igniter 240 and the knock determination process may be employed as in the above embodiment.

また、図7の第3変形例に示すように、異常制御部は、回転同期処理を中止してもよい。この例において、異常判定部は、S14においてカウント値が更新されていないと判定した場合、対応する制御部の同期処理部に通知する。すなわち、異常制御部では、異常判定部が同期処理部に通知する。そして、異常制御部の同期処理部は、回転同期処理を中止し、処理を行わない(S24)。例えば、第2制御部30は、S14においてカウント値が更新されていないと異常判定部42が判定した場合、ノック判定処理を行わない。   Further, as shown in the third modified example of FIG. 7, the abnormality control unit may stop the rotation synchronization process. In this example, when the abnormality determination unit determines that the count value is not updated in S14, the abnormality determination unit notifies the synchronization processing unit of the corresponding control unit. That is, in the abnormality control unit, the abnormality determination unit notifies the synchronization processing unit. Then, the synchronization processing unit of the abnormality control unit stops the rotation synchronization process and does not perform the process (S24). For example, the second control unit 30 does not perform the knock determination process when the abnormality determination unit 42 determines that the count value has not been updated in S14.

また、図8の第4変形例に示すように、異常判定部がS14の処理を行わない例を採用することもできる。異常判定部は、S12において差分が異なっていると判定すると、対応する制御部の同期処理に通知するとともに、他の制御部の同期処理部に信号を出力する。そして、両方の同期処理部は、回転同期処理を中止する(S26)。すなわち、全ての同期処理部は、1つのセンサ信号に異常が生じていると判定された場合、どの制御部が異常制御部か否かにかかわらず、回転同期処理部を中止する。   Further, as shown in the fourth modification example in FIG. 8, an example in which the abnormality determination unit does not perform the process of S14 may be employed. When the abnormality determination unit determines that the difference is different in S12, the abnormality determination unit notifies the synchronization processing of the corresponding control unit and outputs a signal to the synchronization processing unit of the other control unit. Then, both synchronization processing units stop the rotation synchronization processing (S26). That is, when it is determined that an abnormality has occurred in one sensor signal, all the synchronization processing units stop the rotation synchronization processing unit regardless of which control unit is the abnormal control unit.

また、上記実施形態では、回転角センサ210がクランクシャフトの回転角を検出する例を示したが、これに限定するものではない。回転角センサ210が車速センサである例を採用することもできる。   Moreover, although the rotation angle sensor 210 detected the example which detects the rotation angle of a crankshaft in the said embodiment, it is not limited to this. An example in which the rotation angle sensor 210 is a vehicle speed sensor can also be adopted.

また、車に搭載された過給器のタービンの回転数を回転角センサ210が検出する例を採用することもできる。この例において回転体200は、タービンである。また、この例において電子制御装置100の制御対象は、タービンに排気ガスを供給するか否かを決定するためのバルブである。   In addition, an example in which the rotation angle sensor 210 detects the rotation speed of the turbine of the supercharger mounted on the vehicle can be employed. In this example, the rotating body 200 is a turbine. In this example, the control target of the electronic control unit 100 is a valve for determining whether or not to supply exhaust gas to the turbine.

また、上記実施形態では、電子制御装置100に設けられた全ての制御部が異常判定部を有する例を示したが、これに限定するものではない。電子制御装置100において少なくとも1つの制御部が異常判定部を有していればよい。第1制御部10に異常判定部20が設けられ、第2制御部30に異常判定部42が設けられない例を採用することもできる。この例において、異常判定部20は、第1センサ信号S1の異常の有無に加えて、第2センサ信号S2の異常の有無を判定する。異常判定部は、少なくとも対応する制御部に入力されるセンサ信号について、異常の有無を判定をする構成であればよい。すなわち、異常判定部は、少なくとも対応する制御部に接続された配線においてセンサ信号に異常が生じているか否かを判定する構成であればよい。   Moreover, in the said embodiment, although the example which all the control parts provided in the electronic control apparatus 100 have an abnormality determination part was shown, it is not limited to this. In electronic control device 100, at least one control part should just have an abnormality judging part. An example in which the abnormality determination unit 20 is provided in the first control unit 10 and the abnormality determination unit 42 is not provided in the second control unit 30 may be employed. In this example, the abnormality determination unit 20 determines whether or not there is an abnormality in the second sensor signal S2 in addition to whether there is an abnormality in the first sensor signal S1. The abnormality determination unit may be configured to determine whether or not there is an abnormality in at least a sensor signal input to the corresponding control unit. That is, the abnormality determination unit may be configured to determine whether an abnormality has occurred in the sensor signal in at least the wiring connected to the corresponding control unit.

また、上記実施形態において、異常判定部は、S12において、前回及び今回においてS10で算出した差分を比較して判定を行う例を示したが、これに限定するものではない。異常判定部は、予め記憶部に格納された第1カウント値及び第2カウント値の差分と、今回においてS10で算出した差分と、を比較して判定を行ってもよい。この例において、第2カウント値から第1カウント値を減じた値は、特許請求の範囲に記載の基準値に相当する。   Moreover, in the said embodiment, although the abnormality determination part showed the example which compares and determines the difference calculated by S10 last time and this time in S12, it is not limited to this. The abnormality determination unit may perform the determination by comparing the difference between the first count value and the second count value stored in advance in the storage unit with the difference calculated in S10 at this time. In this example, a value obtained by subtracting the first count value from the second count value corresponds to a reference value described in the claims.

また、上記実施形態では、異常判定部が、通信部同士が通信を行うタイミングで、判定を行う例を示したが、これに限定するものではない。異常判定部が1回のタイミングのみにおいて判定を行う例を採用することもできる。   Moreover, although the abnormality determination part showed the example which performs determination at the timing which communication parts communicate with each other in the said embodiment, it is not limited to this. It is also possible to adopt an example in which the abnormality determination unit performs the determination only at one timing.

10…第1制御部、12…カウント生成部、14…記憶部、16…回転判定部、18…回転制御部、18a…噴射制御部、18b…点火制御部、20…異常判定部、22…通信部、30…第2制御部、32…カウント生成部、34…記憶部、36…回転判定部、38…ノック判定部、40…通信部、42…異常判定部、50…第3制御部、100…電子制御装置、200…回転体、210…回転角センサ、220…信号線、222…第1配線、224…第2配線、226…第3配線、230…インジェクタ、240…イグナイタ、250…ノックセンサ DESCRIPTION OF SYMBOLS 10 ... 1st control part, 12 ... Count production | generation part, 14 ... Memory | storage part, 16 ... Rotation determination part, 18 ... Rotation control part, 18a ... Injection control part, 18b ... Ignition control part, 20 ... Abnormality determination part, 22 ... Communication unit 30 ... second control unit 32 ... count generation unit 34 ... storage unit 36 ... rotation determination unit 38 ... knock determination unit 40 ... communication unit 42 ... abnormality determination unit 50 ... third control unit , 100 ... Electronic control unit, 200 ... Rotating body, 210 ... Rotation angle sensor, 220 ... Signal line, 222 ... First wiring, 224 ... Second wiring, 226 ... Third wiring, 230 ... Injector, 240 ... Igniter, 250 ... Knock sensor

Claims (13)

回転体(200)の回転状態を検出する回転角センサ(210)と電気的に接続され、前記回転角センサからのセンサ信号に基づき制御対象を制御する電子制御装置であって、
互いに異なる配線(222,224,226)から前記センサ信号が入力され、前記回転体の回転角度に応じた回転同期処理を行うとともに、互いに通信可能に接続された複数の制御部(10,30,50)を備え、
各制御部は、前記センサ信号に基づいて前記回転角度を示す回転角度情報を生成する情報生成部(12,32)と、他の前記制御部と通信を行う通信部(22,40)と、前記回転角度情報に基づき前記回転同期処理を行う同期処理部(38,18)と、を有し、
少なくとも1つの前記制御部は、少なくとも対応する前記配線において、前記センサ信号に異常が生じたか否かを判定する異常判定部(20,42)を有し、
前記異常判定部が設けられた前記制御部において前記通信部は、他の前記制御部の前記通信部から前記回転角度情報を受信し、
前記異常判定部は、前記回転角度情報同士を比較することで前記センサ信号についての判定を行い、
前記センサ信号に異常が生じていると判定された前記制御部である異常制御部の前記同期処理部は、前記異常制御部の前記情報生成部が生成した前記回転角度情報に基づく前記回転同期処理を中止する電子制御装置。
An electronic control device that is electrically connected to a rotation angle sensor (210) that detects a rotation state of the rotating body (200) and controls a control target based on a sensor signal from the rotation angle sensor,
The sensor signals are input from different wirings (222, 224, 226), perform rotation synchronization processing according to the rotation angle of the rotating body, and a plurality of control units (10, 30,. 50)
Each control unit includes an information generation unit (12, 32) that generates rotation angle information indicating the rotation angle based on the sensor signal, a communication unit (22, 40) that communicates with the other control unit, A synchronization processing unit (38, 18) for performing the rotation synchronization process based on the rotation angle information,
At least one of the control units includes an abnormality determination unit (20, 42) that determines whether an abnormality has occurred in the sensor signal in at least the corresponding wiring.
In the control unit provided with the abnormality determination unit, the communication unit receives the rotation angle information from the communication unit of the other control unit,
The abnormality determination unit determines the sensor signal by comparing the rotation angle information with each other,
The synchronization processing unit of the abnormality control unit that is the control unit determined to be abnormal in the sensor signal is the rotation synchronization process based on the rotation angle information generated by the information generation unit of the abnormality control unit. Electronic control device to stop.
前記異常判定部が設けられた前記制御部の前記通信部は、複数のタイミングで、他の前記制御部の前記通信部から前記回転角度情報を受信し、
前記異常判定部は、前記通信部が前記回転角度情報を受信するタイミング毎に判定を行う請求項1に記載の電子制御装置。
The communication unit of the control unit provided with the abnormality determination unit receives the rotation angle information from the communication unit of another control unit at a plurality of timings,
The electronic control device according to claim 1, wherein the abnormality determination unit performs determination at each timing at which the communication unit receives the rotation angle information.
前記異常判定部は、異なるタイミングで複数の前記回転角度情報同士の比較結果が変化しているか否かに基づき前記センサ信号についての判定を行い、前記比較結果が変化していない場合に、前記センサ信号が正常であると判定する請求項1又は請求項2に記載の電子制御装置。   The abnormality determination unit makes a determination on the sensor signal based on whether or not a comparison result between a plurality of the rotation angle information changes at different timings, and when the comparison result does not change, the sensor The electronic control device according to claim 1, wherein the electronic control device determines that the signal is normal. 前記異常判定部が設けられた前記制御部は、正常な前記センサ信号が入力されている場合における前記回転角度情報同士を比較した結果である基準値が予め記憶された記憶部(14,34)をさらに有し、
前記異常判定部は、複数の前記回転角度情報同士の比較結果と前記基準値とを比較し、前記比較結果が前記基準値と同じ場合に、前記センサ信号が正常であると判定する請求項1〜3のいずれか1項に記載の電子制御装置。
The control unit provided with the abnormality determination unit is a storage unit (14, 34) in which a reference value that is a result of comparing the rotation angle information when the normal sensor signal is input is stored in advance. Further comprising
The abnormality determination unit compares a comparison result between a plurality of pieces of rotation angle information with the reference value, and determines that the sensor signal is normal when the comparison result is the same as the reference value. The electronic control apparatus of any one of -3.
前記異常判定部は、
前記比較結果に加えて、異なるタイミングにおいて、前記制御部の前記回転角度情報の値が変化しているか否かに基づき、前記センサ信号についての判定を行い、
前記回転角度情報の値が変化している場合、前記センサ信号は正常であると判定する請求項3又は請求項4に記載の電子制御装置。
The abnormality determination unit
In addition to the comparison result, based on whether or not the value of the rotation angle information of the control unit is changing at different timing, the sensor signal is determined,
The electronic control device according to claim 3, wherein when the value of the rotation angle information is changed, the sensor signal is determined to be normal.
前記回転角度情報の値が変化していると判定された前記制御部である正常制御部の前記同期処理部は、前記正常制御部の前記情報生成部が生成した前記回転角度情報に基づき前記回転同期処理を行う請求項5に記載の電子制御装置。   The synchronization processing unit of the normal control unit that is the control unit determined to have changed the value of the rotation angle information is configured to rotate the rotation based on the rotation angle information generated by the information generation unit of the normal control unit. The electronic control device according to claim 5, wherein synchronization processing is performed. 前記通信部同士は、前記回転同期処理に用いる信号について周期的に通信し、
前記異常制御部の前記同期処理部は、前記異常制御部の前記情報生成部が生成した前記回転角度情報に基づく前記回転同期処理を、前記通信部同士が通信を行うタイミングにより周期的に行う処理に切り替える請求項6に記載の電子制御装置。
The communication units periodically communicate signals used for the rotation synchronization process,
The synchronization processing unit of the abnormality control unit periodically performs the rotation synchronization process based on the rotation angle information generated by the information generation unit of the abnormality control unit at a timing at which the communication units communicate with each other. The electronic control device according to claim 6 which is switched to.
前記異常制御部の前記通信部は、前記回転同期処理に用いる信号の通信に加えて、前記正常制御部の前記通信部から前記回転角度情報を周期的に受信し、
前記異常制御部の前記同期処理部は、周期的な処理として、前記異常制御部の前記通信部が受信した前記回転角度情報を用いて前記回転同期処理を行う請求項7に記載の電子制御装置。
The communication unit of the abnormality control unit periodically receives the rotation angle information from the communication unit of the normal control unit, in addition to communication of signals used for the rotation synchronization process,
The electronic control device according to claim 7, wherein the synchronization processing unit of the abnormality control unit performs the rotation synchronization process using the rotation angle information received by the communication unit of the abnormality control unit as a periodic process. .
前記異常制御部の前記同期処理部は、前記通信部同士が通信を行う周期で、前記回転角度情報を用いることなく周期的な時間同期処理を行う請求項6に記載の電子制御装置。   The electronic control device according to claim 6, wherein the synchronization processing unit of the abnormality control unit performs periodic time synchronization processing without using the rotation angle information in a cycle in which the communication units communicate with each other. 少なくとも1つの前記同期処理部は、前記回転同期処理として前記回転体の回転数を制御し、前記センサ信号に異常が生じていると判定された場合、前記回転数が閾値未満となるように前記回転同期処理を行い、
前記閾値は、前記センサ信号に異常が生じていると判定された前記制御部において前記回転角度情報を受信する周期が、前記回転角度情報の値が変化する周期と一致する前記回転数とされている請求項7〜9のいずれか1項に記載の電子制御装置。
At least one of the synchronization processing units controls the rotation speed of the rotating body as the rotation synchronization process, and when it is determined that an abnormality has occurred in the sensor signal, the rotation speed is less than a threshold value. Perform rotation synchronization processing,
The threshold value is the rotation number at which the rotation angle information is received by the control unit that is determined to be abnormal in the sensor signal so that the rotation angle information coincides with the change cycle of the rotation angle information value. The electronic control device according to any one of claims 7 to 9.
前記センサ信号に異常が生じていると判定された場合、全ての前記同期処理部は、前記回転同期処理を中止する請求項1〜4のいずれか1項に記載の電子制御装置。   5. The electronic control device according to claim 1, wherein when it is determined that an abnormality has occurred in the sensor signal, all of the synchronization processing units stop the rotation synchronization processing. 前記異常判定部は、各制御部に対して個別に設けられ、
各異常判定部は、対応する前記制御部に接続された前記配線において前記センサ信号に異常が生じたか否かを判定し、前記センサ信号に異常が生じている場合に、対応する前記制御部の前記同期処理部へ通知し、
前記異常判定部から通知された前記同期処理部は、対応する前記制御部の前記情報生成部が生成した前記回転角度情報に基づく前記回転同期処理を中止する請求項1〜11のいずれか1項に記載の電子制御装置。
The abnormality determination unit is individually provided for each control unit,
Each abnormality determination unit determines whether an abnormality has occurred in the sensor signal in the wiring connected to the corresponding control unit, and when an abnormality has occurred in the sensor signal, Notifying the synchronization processing unit,
The synchronization processing unit notified from the abnormality determination unit stops the rotation synchronization processing based on the rotation angle information generated by the information generation unit of the corresponding control unit. The electronic control apparatus as described in.
前記回転体は、クランクシャフトと、前記クランクシャフトに設けられ、前記クランクシャフトの回転に伴って磁束の向きを周期的に変化させる被検出部材と、を有し、エンジンが前記制御対象とされた請求項1〜12のいずれか1項に記載の電子制御装置であって、
少なくとも1つの前記制御部の前記同期処理部は、前記回転同期処理として、前記回転角度情報に基づき前記エンジンへ制御信号を出力し、前記エンジンの回転数を制御する電子制御装置。
The rotating body includes a crankshaft and a detected member that is provided on the crankshaft and periodically changes the direction of magnetic flux as the crankshaft rotates, and the engine is the control target. The electronic control device according to any one of claims 1 to 12,
The electronic control device, wherein the synchronization processing unit of at least one of the control units outputs a control signal to the engine based on the rotation angle information as the rotation synchronization processing, and controls the engine speed.
JP2015245461A 2015-12-16 2015-12-16 Electronic control unit Active JP6565660B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015245461A JP6565660B2 (en) 2015-12-16 2015-12-16 Electronic control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015245461A JP6565660B2 (en) 2015-12-16 2015-12-16 Electronic control unit

Publications (2)

Publication Number Publication Date
JP2017110558A true JP2017110558A (en) 2017-06-22
JP6565660B2 JP6565660B2 (en) 2019-08-28

Family

ID=59081323

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015245461A Active JP6565660B2 (en) 2015-12-16 2015-12-16 Electronic control unit

Country Status (1)

Country Link
JP (1) JP6565660B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7491329B2 (en) 2022-02-18 2024-05-28 トヨタ自動車株式会社 Vehicle control device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5674703A (en) * 1979-11-26 1981-06-20 Hitachi Ltd Automobile control device
JPS63183270A (en) * 1987-01-23 1988-07-28 Hitachi Ltd Engine control device
JP2011069282A (en) * 2009-09-25 2011-04-07 Denso Corp Abnormality diagnostic device for crank angle detection system
JP2012117452A (en) * 2010-12-01 2012-06-21 Hitachi Automotive Systems Ltd Engine control device
JP2014047752A (en) * 2012-09-03 2014-03-17 Denso Corp Electronic control device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5674703A (en) * 1979-11-26 1981-06-20 Hitachi Ltd Automobile control device
JPS63183270A (en) * 1987-01-23 1988-07-28 Hitachi Ltd Engine control device
JP2011069282A (en) * 2009-09-25 2011-04-07 Denso Corp Abnormality diagnostic device for crank angle detection system
JP2012117452A (en) * 2010-12-01 2012-06-21 Hitachi Automotive Systems Ltd Engine control device
JP2014047752A (en) * 2012-09-03 2014-03-17 Denso Corp Electronic control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7491329B2 (en) 2022-02-18 2024-05-28 トヨタ自動車株式会社 Vehicle control device

Also Published As

Publication number Publication date
JP6565660B2 (en) 2019-08-28

Similar Documents

Publication Publication Date Title
JP6253707B2 (en) Control device
CN104697800B (en) Method and device for detecting combustion stage of engine
JP2008014258A (en) Method and device for controlling ignition in gasoline alternate fuel engine
US10273929B2 (en) Ignition timing control apparatus for internal combustion engine
KR20090062389A (en) Method for driving engine by position of crankshaft and camshaft
JP6565660B2 (en) Electronic control unit
CN109751143B (en) Method for compensating for noise of crank sensor
JP2009150335A (en) Ignition control system
JP5948230B2 (en) In-vehicle control device
KR20160011828A (en) Cylinder deactivation control device and method for engine
JP2007321597A (en) Knocking control device for internal combustion engine
US11391234B2 (en) Variable valve control device, variable valve control system, and method for controlling variable valve mechanism
JP2016130452A (en) Control device for internal combustion engine
JP6763847B2 (en) Internal combustion engine control device
JP2006063971A (en) Ignition control system for internal combustion engine
JP2014020334A (en) Ignition control method for alternative fuel engine
JP6570504B2 (en) Control device for internal combustion engine
KR101793078B1 (en) Method for error detecting of synchronization set-up for engine of car without cam sensor
JP2012184661A (en) Internal combustion engine control device
JP2007218203A (en) Ignition failure diagnostic device, ignition failure diagnostic system and ignition failure diagnostic method
JP6717185B2 (en) Engine controller
JP2016211375A (en) Intake pressure sensor abnormality detecting device
JP2007127088A (en) Ignition control device for engine
JP2023169652A (en) Internal combustion engine control device
JP6454539B2 (en) Internal combustion engine control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180405

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190108

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190306

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: 20190702

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190715

R151 Written notification of patent or utility model registration

Ref document number: 6565660

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250