JP2015098854A - Engine control device - Google Patents

Engine control device Download PDF

Info

Publication number
JP2015098854A
JP2015098854A JP2013240047A JP2013240047A JP2015098854A JP 2015098854 A JP2015098854 A JP 2015098854A JP 2013240047 A JP2013240047 A JP 2013240047A JP 2013240047 A JP2013240047 A JP 2013240047A JP 2015098854 A JP2015098854 A JP 2015098854A
Authority
JP
Japan
Prior art keywords
crank
diagnosis
tooth
sensor
crank sensor
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
JP2013240047A
Other languages
Japanese (ja)
Other versions
JP6167871B2 (en
Inventor
悠 吉村
Yu Yoshimura
悠 吉村
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 JP2013240047A priority Critical patent/JP6167871B2/en
Publication of JP2015098854A publication Critical patent/JP2015098854A/en
Application granted granted Critical
Publication of JP6167871B2 publication Critical patent/JP6167871B2/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 engine control device capable of avoiding to the possible extent erroneous diagnosis of abnormality of a crank sensor.SOLUTION: An engine control device acquires abnormality flags 1 and 2 showing whether a crank sensor is abnormal or not from two crank sensor diagnosis sections respectively (S460, S462), and when both of the abnormality flags are on and equal (S464:Yes), it is diagnosed that the diagnosis of both of the two crank sensor diagnosis sections is normal and abnormality such as failure occurs in the crank sensor (S466). When both of the abnormality flags are off and equal (S464:No, S470:Yes), it is diagnosed that the diagnosis of both of the two crank sensor diagnosis sections is normal and the crank sensor is normal (S472). When values of the two abnormality flags are different from each other (S460:No, S470:No), it is diagnosed that one of the crank sensor diagnosis sections 30 and 40 is abnormal and the crank sensor 4 is normal (S476).

Description

本発明は、クランクセンサの異常を検出するエンジン制御装置に関する。   The present invention relates to an engine control device that detects an abnormality of a crank sensor.

従来、エンジン回転速度に基づいてエンジン運転状態を検出し、検出したエンジン運転状態に基づいて種々のエンジン制御を行うことが知られている。例えば、特許文献1には、エンジン回転速度に基づいてエンジンのトルクを推定する技術が開示されている。   Conventionally, it is known to detect an engine operating state based on an engine rotation speed and perform various engine controls based on the detected engine operating state. For example, Patent Document 1 discloses a technique for estimating engine torque based on engine rotation speed.

エンジン回転速度は、通常、クランクシャフトの回転角度位置を検出するクランクセンサの出力信号であるクランク信号に基づいて算出される。クランクセンサの異常時には、クランク信号に代えて、カムシャフトの回転角度位置を検出するカムセンサの出力信号であるカム信号に基づいてエンジン回転速度が算出される。   The engine rotation speed is usually calculated based on a crank signal that is an output signal of a crank sensor that detects the rotation angle position of the crankshaft. When the crank sensor is abnormal, the engine speed is calculated based on a cam signal that is an output signal of a cam sensor that detects the rotational angle position of the camshaft, instead of the crank signal.

特表平11−505587号公報Japanese National Patent Publication No. 11-505588

クランクセンサは、クランクセンサ自体が異常であるときに異常と診断されることはもちろんのこと、異常判定処理を行うマイクロコンピュータが異常であるときにも異常と診断される。クランクセンサが異常であると診断されると、クランク信号に代えてカム信号に基づいてエンジン回転速度が算出される。   The crank sensor is diagnosed as abnormal when the crank sensor itself is abnormal, as well as when the microcomputer performing the abnormality determination process is abnormal. If it is diagnosed that the crank sensor is abnormal, the engine speed is calculated based on the cam signal instead of the crank signal.

通常、カム信号の信号数はクランク信号の信号数よりも少ないので、カム信号に基づいてエンジン回転速度を算出する精度はクランク信号よりも低い。したがって、マイクロコンピュータの異常のために、クランクセンサが正常であるにも関わらず異常であると誤診断し、クランク信号に代えてカム信号に基づいてエンジン回転速度を算出することは、極力避けたいことである。   Since the number of cam signal signals is usually smaller than the number of crank signal signals, the accuracy of calculating the engine speed based on the cam signal is lower than that of the crank signal. Therefore, it is desirable to avoid as much as possible to misdiagnose that the crank sensor is normal despite the malfunction of the microcomputer and calculate the engine speed based on the cam signal instead of the crank signal. That is.

本発明は上記課題を解決するためになされたものであり、クランクセンサの異常を誤診断することを極力避けるエンジン制御装置を提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an engine control apparatus that avoids misdiagnosis of abnormality of a crank sensor as much as possible.

本発明のエンジン制御装置は、第1速度算出手段と、第2速度算出手段と、第1診断手段と、第2診断手段と、選択手段とを備える。
第1速度算出手段は、クランクシャフトの所定の回転角度毎にクランクセンサが出力するクランク信号に基づいてエンジン回転速度を算出し、第2速度算出手段は、カムシャフトの所定の回転角度毎にカムセンサが出力するカム信号に基づいてエンジン回転速度を算出し、第1診断手段および第2診断手段は、それぞれクランク信号に基づいてクランクセンサが異常であるか否かを判定する。
The engine control apparatus of the present invention includes first speed calculation means, second speed calculation means, first diagnosis means, second diagnosis means, and selection means.
The first speed calculation means calculates the engine rotation speed based on a crank signal output from the crank sensor at every predetermined rotation angle of the crankshaft, and the second speed calculation means calculates the cam sensor at every predetermined rotation angle of the camshaft. The engine speed is calculated based on the cam signal output from the first and second diagnosis means and the second diagnosis means respectively determine whether or not the crank sensor is abnormal based on the crank signal.

第1診断手段および第2診断手段が両方とも異常である確率は1個の診断手段が異常である確率よりも低いので、両方の診断手段の診断結果が一致している場合、両方の診断手段は正しいと考えられる。   Since the probability that both the first diagnosis means and the second diagnosis means are abnormal is lower than the probability that one diagnosis means is abnormal, both diagnosis means are the same when the diagnosis results of both diagnosis means match. Is considered correct.

そこで、本発明のエンジン制御装置の選択手段は、第1診断手段の診断結果と第2診断手段の診断結果とが正常で一致する場合、第1速度算出手段が算出するエンジン回転速度を選択し、第1診断手段の診断結果と第2診断手段の診断結果とが異常で一致する場合、第2速度算出手段が算出するエンジン回転速度を選択する。   Therefore, the selection means of the engine control device of the present invention selects the engine rotation speed calculated by the first speed calculation means when the diagnosis result of the first diagnosis means and the diagnosis result of the second diagnosis means match normally. When the diagnosis result of the first diagnosis means and the diagnosis result of the second diagnosis means are abnormal and coincide, the engine speed calculated by the second speed calculation means is selected.

このように、2個の異なる診断手段により、クランクセンサが異常であるか否かをそれぞれ判定してその診断結果を比較することにより、クランクセンサが異常であると誤診断することを極力避けることができる。   In this way, it is possible to avoid misdiagnosing the crank sensor as abnormal as much as possible by determining whether or not the crank sensor is abnormal using two different diagnostic means and comparing the diagnosis results. Can do.

また、第1診断手段の診断結果と第2診断手段の診断結果とが異なり、一方が正常で他方が異常の場合、第1診断手段または第2診断手段のどちらかが異常であると考えられる。第1診断手段または第2診断手段のどちらかが異常であり、さらにクランクセンサが異常である確率は、第1診断手段または第2診断手段のどちらかが異常であり、クランクセンサが正常である確率よりも低い。   Further, when the diagnosis result of the first diagnosis means and the diagnosis result of the second diagnosis means are different, and one is normal and the other is abnormal, it is considered that either the first diagnosis means or the second diagnosis means is abnormal. . The probability that either the first diagnostic means or the second diagnostic means is abnormal and the crank sensor is abnormal is that either the first diagnostic means or the second diagnostic means is abnormal and the crank sensor is normal. Lower than probability.

したがって、選択手段は、第1診断手段の診断結果と第2診断手段の診断結果とが異なる場合、第1速度算出手段が算出するエンジン回転速度を選択することが望ましい。   Therefore, it is desirable that the selection means selects the engine speed calculated by the first speed calculation means when the diagnosis result of the first diagnosis means is different from the diagnosis result of the second diagnosis means.

本実施形態によるエンジン制御装置を示す機能ブロック図。The functional block diagram which shows the engine control apparatus by this embodiment. クランクセンサ診断部1、2を示す機能ブロック図。The functional block diagram which shows the crank sensor diagnostic part 1 and 2. FIG. クランクセンサ診断部1の診断処理を示すフローチャート。The flowchart which shows the diagnostic process of the crank sensor diagnostic part 1. FIG. クランクセンサ診断部2の歯数診断処理を示すフローチャート。The flowchart which shows the number-of-teeth diagnosis process of the crank sensor diagnostic part. クランクセンサ診断部2の欠歯診断処理を示すフローチャート。The flowchart which shows the missing tooth diagnostic process of the crank sensor diagnostic part 2. FIG. エンジン回転速度の切替処理を示すフローチャート。The flowchart which shows the switching process of an engine speed. 異常時の診断処理を示すタイムチャート。The time chart which shows the diagnostic process at the time of abnormality. 異常時の他の診断処理を示すタイムチャート。The time chart which shows the other diagnostic processing at the time of abnormality. 比較例による異常時の診断処理を示すタイムチャート。The time chart which shows the diagnostic process at the time of abnormality by a comparative example.

以下、本発明の実施形態を図に基づいて説明する。
図1に示すエンジン制御装置10は、CPU、RAM、ROM、フラッシュメモリ等を備えるマイクロコンピュータ(以下、「マイコン」とも言う。)により主に構成されている。エンジン制御装置10は、エンジン回転速度算出部20、22、クランクセンサ診断部30、40、選択器60、切替器62、トルクモニタ70、およびトルク制御器80等を備えている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
The engine control apparatus 10 shown in FIG. 1 is mainly configured by a microcomputer (hereinafter also referred to as “microcomputer”) including a CPU, a RAM, a ROM, a flash memory, and the like. The engine control apparatus 10 includes engine rotation speed calculation units 20 and 22, crank sensor diagnosis units 30 and 40, a selector 60, a switch 62, a torque monitor 70, a torque controller 80, and the like.

エンジン回転速度算出部20はクランクセンサ4が検出するクランク信号に基づいてエンジン回転速度を算出し、エンジン回転速度算出部22はカムセンサ6が検出するカム信号に基づいてエンジン回転速度を算出する。   The engine rotation speed calculation unit 20 calculates the engine rotation speed based on the crank signal detected by the crank sensor 4, and the engine rotation speed calculation unit 22 calculates the engine rotation speed based on the cam signal detected by the cam sensor 6.

クランクセンサ4は、クランクシャフトとともに回転するクランクロータ2(図2参照)がクランクシャフトの回転方向に沿って等角度間隔に有するクランク歯2aを検出し、クランクシャフトの回転に伴い所定の回転角度毎にパルス状のクランク信号を出力する(図7参照)。   The crank sensor 4 detects the crank teeth 2a that the crank rotor 2 (see FIG. 2) that rotates together with the crankshaft has equiangular intervals along the direction of rotation of the crankshaft. A pulse-like crank signal is output to (see FIG. 7).

尚、クランクロータ2には所定の回転角度位置にクランク歯2aの欠落した欠歯部2bが形成されているので、クランクセンサ4は欠歯部2bの角度区間、クランク信号を出力しない。   Since the crank rotor 2 is formed with a missing tooth portion 2b lacking the crank teeth 2a at a predetermined rotational angle position, the crank sensor 4 does not output a crank signal in the angular section of the missing tooth portion 2b.

カムセンサ6は、カムシャフトとともに回転する図示しないカムロータがカムシャフトの所定の回転角度位置に有するカム歯を検出してカム信号を出力する(図7参照)。カム歯はクランク歯2aよりも回転方向の角度幅が広く、カム歯の歯数はクランク歯2aの歯数よりも少ない。   The cam sensor 6 detects cam teeth that a cam rotor (not shown) that rotates with the camshaft has at a predetermined rotational angle position of the camshaft and outputs a cam signal (see FIG. 7). The cam teeth are wider in the rotational direction than the crank teeth 2a, and the number of teeth of the cam teeth is smaller than the number of teeth of the crank teeth 2a.

クランクセンサ診断部30、40は、クランクセンサ4が出力するクランク信号に基づいて、それぞれ異なる処理でクランクセンサ4が異常であるか否かを判定する。クランクセンサ診断部30、40の詳細については後述する。   The crank sensor diagnosis units 30 and 40 determine whether or not the crank sensor 4 is abnormal in different processes based on the crank signal output from the crank sensor 4. Details of the crank sensor diagnosis units 30 and 40 will be described later.

選択器60は、エンジン回転速度算出部20、22が算出するエンジン回転速度のいずれかを、切替器62の切替信号に応じて選択する。
切替器62は、クランクセンサ診断部30、40の診断結果に基づいて、エンジン回転速度算出部20、22が算出するエンジン回転速度のいずれを選択するかを指令する切替信号を選択器60に出力する。切替器62の切替処理の詳細については後述する。
The selector 60 selects one of the engine speeds calculated by the engine speed calculators 20 and 22 according to the switching signal of the switch 62.
The switch 62 outputs to the selector 60 a switching signal that instructs which of the engine rotation speeds calculated by the engine rotation speed calculation sections 20 and 22 is selected based on the diagnosis results of the crank sensor diagnosis sections 30 and 40. To do. Details of the switching process of the switch 62 will be described later.

トルクモニタ70は、トルク推定部72、要求トルク算出部74および比較器76を有している。
トルク推定部72は、エンジン回転速度の変動量に基づいて、エンジンの出力トルクをマップまたは数式等から推定する。要求トルク算出部74は、アクセルセンサ8が出力するアクセル開度に基づいて、ドライバが要求するトルクをマップまたは数式等から算出する。比較器76は、トルク推定部72が出力する推定トルクと、要求トルク算出部74が出力する要求トルクとを比較し、推定トルクが要求トルクよりも所定値以上大きい場合、インジェクタを駆動する噴射駆動装置90に噴射禁止信号を出力する。
The torque monitor 70 includes a torque estimation unit 72, a required torque calculation unit 74, and a comparator 76.
The torque estimation unit 72 estimates the output torque of the engine from a map or a mathematical formula based on the fluctuation amount of the engine rotation speed. The requested torque calculation unit 74 calculates the torque requested by the driver from a map or a mathematical formula based on the accelerator opening output by the accelerator sensor 8. The comparator 76 compares the estimated torque output from the torque estimation unit 72 with the required torque output from the required torque calculation unit 74. If the estimated torque is greater than the required torque by a predetermined value or more, the injection drive that drives the injector. An injection inhibition signal is output to the device 90.

トルク制御器80は、アクセルセンサ8が出力するアクセル開度に基づいて、噴射駆動装置90に噴射指令信号を出力する。
(クランクセンサ診断部30、40)
図2に示すように、クランクセンサ診断部30は、歯割込部32、タイムカウンタ34、および診断部36を有している。クランクセンサ診断部40は、歯カウンタ42、欠歯割込部44、歯数診断部46、欠歯診断部48、およびOR回路50を有している。
The torque controller 80 outputs an injection command signal to the injection drive device 90 based on the accelerator opening output by the accelerator sensor 8.
(Crank sensor diagnostic unit 30, 40)
As shown in FIG. 2, the crank sensor diagnostic unit 30 includes a tooth interruption unit 32, a time counter 34, and a diagnostic unit 36. The crank sensor diagnostic unit 40 includes a tooth counter 42, a missing tooth interrupting unit 44, a tooth number diagnostic unit 46, a missing tooth diagnostic unit 48, and an OR circuit 50.

クランクセンサ診断部30の歯割込部32およびタイムカウンタ34、ならびにクランクセンサ診断部40の歯カウンタ42、欠歯割込部44、およびOR回路50は、回路によるハードウェア処理を行う。   The tooth interrupt unit 32 and time counter 34 of the crank sensor diagnosis unit 30 and the tooth counter 42, missing tooth interrupt unit 44, and OR circuit 50 of the crank sensor diagnosis unit 40 perform hardware processing by a circuit.

クランクセンサ診断部30の診断部36、ならびにクランクセンサ診断部40の歯数診断部46および欠歯診断部48は、共通のCPUがROM等に記憶された異なる制御プログラムを実行することによりソフトウェア処理を行う。クランクセンサ診断部30とクランクセンサ診断部40とで異なるCPUを使用してもよい。   The diagnosis unit 36 of the crank sensor diagnosis unit 30 and the number of teeth diagnosis unit 46 and the missing tooth diagnosis unit 48 of the crank sensor diagnosis unit 40 perform software processing by executing different control programs stored in a ROM or the like by a common CPU. I do. Different CPUs may be used for the crank sensor diagnosis unit 30 and the crank sensor diagnosis unit 40.

クランクセンサ診断部30の歯割込部32は、クランク歯2aに対応するクランク信号毎に診断部36にハードウェア割り込みを発生させる。タイムカウンタ34は、クロック信号毎またはクロック信号の分周信号毎にカウントするハードウェアカウンタである。   The tooth interruption unit 32 of the crank sensor diagnosis unit 30 causes the diagnosis unit 36 to generate a hardware interrupt for each crank signal corresponding to the crank tooth 2a. The time counter 34 is a hardware counter that counts for each clock signal or for each divided signal of the clock signal.

診断部36は、歯割込部32によりクランク信号毎に発生させられたハードウェア割り込みにより、ROM等に記憶された制御プログラムに基づいてクランクセンサ4に対する診断処理を実行する。診断部36は、クランクセンサ4が異常の場合、異常フラグ1をオンに設定し、クランクセンサ4が正常の場合、異常フラグ1をオフに設定する。   The diagnosis unit 36 executes a diagnosis process for the crank sensor 4 based on a control program stored in a ROM or the like by a hardware interrupt generated for each crank signal by the tooth interruption unit 32. The diagnosis unit 36 sets the abnormality flag 1 to ON when the crank sensor 4 is abnormal, and sets the abnormality flag 1 to OFF when the crank sensor 4 is normal.

クランクセンサ診断部40の歯カウンタ42は、クランク信号毎にカウントするハードウェアカウンタであり、クランク歯2aの歯数をカウントする。欠歯割込部44は、クランク信号からクランクロータ2の欠歯部2bを検出し、歯数診断部46にハードウェア割り込みを発生させる。   The tooth counter 42 of the crank sensor diagnosis unit 40 is a hardware counter that counts for each crank signal, and counts the number of teeth of the crank teeth 2a. The missing tooth interrupting part 44 detects the missing tooth part 2b of the crank rotor 2 from the crank signal, and causes the tooth number diagnosis part 46 to generate a hardware interrupt.

歯数診断部46は、欠歯割込部44により欠歯部2b毎に発生させられたハードウェア割り込みにより、ROM等に記憶された制御プログラムに基づいて欠歯部2b毎に歯数診断処理を実行する。歯数診断部46は、歯数診断処理において、クランク信号によりクランク歯2aの歯数が正常にカウントされているか否かを判定することによりクランクセンサ4が異常であるか否かを診断する。   The number-of-tooth diagnosis unit 46 performs the number-of-tooth diagnosis processing for each missing tooth portion 2b based on a control program stored in a ROM or the like by a hardware interrupt generated for each missing tooth portion 2b by the missing tooth interrupting portion 44. Execute. The tooth number diagnosis unit 46 diagnoses whether or not the crank sensor 4 is abnormal by determining whether or not the number of teeth of the crank teeth 2a is normally counted based on the crank signal in the tooth number diagnosis process.

欠歯診断部48は、所定の時間間隔で発生するタイマ割り込みにより、ROM等に記憶された制御プログラムに基づいて欠歯診断処理を実行する。欠歯診断部48は、欠歯診断処理において、クランク信号により欠歯部2bが正常に検出されているか否かを判定することによりクランクセンサ4が異常であるか否かを診断する。   The missing tooth diagnosis unit 48 executes missing tooth diagnosis processing based on a control program stored in a ROM or the like by a timer interrupt generated at a predetermined time interval. The missing tooth diagnosis unit 48 diagnoses whether or not the crank sensor 4 is abnormal by determining whether or not the missing tooth part 2b is normally detected based on the crank signal in the missing tooth diagnosis process.

OR回路50の出力は異常フラグ2として使用される。異常フラグ2は、歯数診断部46および欠歯診断部48の少なくともいずれかが、クランクセンサ4は異常であると診断するとオンになり、歯数診断部46および欠歯診断部48の両方がクランクセンサ4は正常であると診断するとオフになる。   The output of the OR circuit 50 is used as the abnormality flag 2. The abnormality flag 2 is turned on when at least one of the tooth number diagnosis unit 46 and the missing tooth diagnosis unit 48 diagnoses that the crank sensor 4 is abnormal, and both the tooth number diagnosis unit 46 and the missing tooth diagnosis unit 48 are turned on. When the crank sensor 4 is diagnosed as normal, it turns off.

(診断処理)
図3に、クランクセンサ診断部30の診断部36が実行する診断処理を示す。図3、および後述する図4〜図6のフローチャートにおいて、「S」はステップを表わしている。
(Diagnosis processing)
FIG. 3 shows a diagnosis process executed by the diagnosis unit 36 of the crank sensor diagnosis unit 30. In FIG. 3 and the flowcharts of FIGS. 4 to 6 to be described later, “S” represents a step.

図3の診断処理は、クランク歯2aに対応したクランク信号毎に発生するハードウェア割り込みにより実行される。診断部36は、ソフトウェア処理によりクランク信号毎にクランク歯カウンタをカウントアップする(S400)。クランク歯カウンタは、後述するS408において欠歯部2b後のクランク信号による割り込みであると判定されると、S418においてクリアされる。   The diagnosis process of FIG. 3 is executed by a hardware interrupt that occurs for each crank signal corresponding to the crank tooth 2a. The diagnosis unit 36 counts up the crank tooth counter for each crank signal by software processing (S400). The crank tooth counter is cleared in S418 when it is determined in S408 to be interrupted by a crank signal after the missing tooth portion 2b.

診断部36は、タイムカウンタ34から現在時刻として現在のカウンタ値を取得し(S402)、次式(1)から、クランク信号毎に発生する割り込みの時間間隔を算出する(S404)。   The diagnosis unit 36 acquires the current counter value as the current time from the time counter 34 (S402), and calculates the time interval of the interrupt generated for each crank signal from the following equation (1) (S404).

割込間隔=今回割込時刻−前回割込時刻 ・・(1)
式(1)において、今回割込時刻は今回の診断処理でタイムカウンタ34から取得したカウンタ値であり、前回割込時刻は前回の診断処理でタイムカウンタ34から取得したカウンタ値である。
Interrupt interval = current interrupt time-previous interrupt time (1)
In equation (1), the current interrupt time is the counter value acquired from the time counter 34 in the current diagnostic process, and the previous interrupt time is the counter value acquired from the time counter 34 in the previous diagnostic process.

今回が欠歯部2b直後のクランク歯2aによる割り込みであり、今回と前回との割り込みの間に欠歯部2bが存在する場合、欠歯部2bが存在しない場合よりも割込間隔が長くなる。そこで、診断部36は、次式(2)から割込間隔比を算出し(S406)、割込間隔比が所定値1より大きいか否かを判定する(S408)。所定値1は、欠歯部2bが間に存在するときのクランク歯2aの角度間隔と欠歯部2bがないときのクランク歯2aの角度間隔とに基づいて設定される。   This time is an interruption by the crank tooth 2a immediately after the missing tooth portion 2b. When the missing tooth portion 2b exists between the current time and the previous interruption, the interruption interval becomes longer than when the missing tooth portion 2b does not exist. . Therefore, the diagnosis unit 36 calculates the interrupt interval ratio from the following equation (2) (S406), and determines whether or not the interrupt interval ratio is larger than the predetermined value 1 (S408). The predetermined value 1 is set based on the angular interval of the crank teeth 2a when the missing tooth portion 2b is present and the angular interval of the crank teeth 2a when there is no missing tooth portion 2b.

割込間隔比=今回割込間隔/前回割込間隔 ・・・(2)
割込間隔比が所定値1より大きい場合(S408:Yes)、診断部36は今回と前回との割り込みの間に欠歯部2bが存在していると判定し(S410)、S400でカウントアップしたクランク歯カウンタのカウンタ値が所定値2であるか否かを判定する(S412)。所定値2は、クランクロータ2が有するクランク歯2aの合計歯数である。
Interrupt interval ratio = current interrupt interval / previous interrupt interval (2)
When the interrupt interval ratio is larger than the predetermined value 1 (S408: Yes), the diagnosis unit 36 determines that the missing tooth portion 2b exists between the current interruption and the previous interruption (S410), and counts up in S400. It is determined whether or not the counter value of the crank tooth counter is a predetermined value 2 (S412). The predetermined value 2 is the total number of teeth of the crank teeth 2 a that the crank rotor 2 has.

カウンタ値が示す歯数が所定値2と等しい場合(S412:Yes)、診断部36は、今回の欠歯部2b直後のクランク歯2aによる割り込みと前回の欠歯部2b直後のクランク歯2aによる割り込みとの間でクランク歯2aの歯数を正常にカウントできたので、クランクセンサ4は正常であると診断して異常フラグ1をオフに設定し(S414)、S418に処理を移行する。   When the number of teeth indicated by the counter value is equal to the predetermined value 2 (S412: Yes), the diagnosis unit 36 uses the interruption by the crank tooth 2a immediately after the current missing tooth part 2b and the crank tooth 2a immediately after the previous missing tooth part 2b. Since the number of teeth of the crank teeth 2a can be normally counted during the interruption, the crank sensor 4 is diagnosed as normal and the abnormality flag 1 is set to OFF (S414), and the process proceeds to S418.

カウンタ値が所定値2と異なる場合(S412:No)、診断部36は、今回の欠歯部2bによる割り込みと前回の欠歯部2bによる割り込みとの間でクランク歯2aが正常にカウントされていない歯数異常であると診断して異常フラグ1をオンに設定する(S416)。   When the counter value is different from the predetermined value 2 (S412: No), the diagnosis unit 36 correctly counts the crank tooth 2a between the interrupt by the current missing tooth portion 2b and the interrupt by the previous missing tooth portion 2b. It is diagnosed that there is no abnormal number of teeth and the abnormality flag 1 is set to ON (S416).

S418において診断部36は、クランク歯カウンタをクリアし(S418)、本処理を終了する。
割込間隔比が所定値1以下の場合(S408:No)、診断部36は今回と前回との割り込みの間に欠歯部2bが存在していないと判定し(S420)、クランク歯カウンタのカウンタ値が所定値2より小さいか否かを判定する(S422)。
In S418, the diagnosis unit 36 clears the crank tooth counter (S418), and ends this process.
When the interrupt interval ratio is less than or equal to the predetermined value 1 (S408: No), the diagnosis unit 36 determines that the missing tooth portion 2b does not exist between the current interruption and the previous interruption (S420), and the crank tooth counter It is determined whether or not the counter value is smaller than a predetermined value 2 (S422).

今回と前回との割り込みの間に欠歯部2bが存在していないのであれば、S400でカウントアップしたクランク歯カウンタの値は、所定値2よりも小さい筈である。
カウンタ値が所定値2よりも小さい場合(S422:Yes)、診断部36は、今回と前回との割り込みの間でクランク歯2aの歯数を正常にカウントしているので、クランクセンサ4は正常であると診断して異常フラグ2をオフに設定し(S424)、本処理を終了する。
If the missing tooth portion 2b does not exist between the current interruption and the previous interruption, the value of the crank tooth counter counted up in S400 should be smaller than the predetermined value 2.
When the counter value is smaller than the predetermined value 2 (S422: Yes), the diagnosis unit 36 normally counts the number of teeth of the crank teeth 2a between the current interruption and the previous interruption, so that the crank sensor 4 is normal. And the abnormality flag 2 is set to OFF (S424), and this process is terminated.

カウンタ値が所定値2以上の場合(S422:No)、診断部36は、欠歯部2bが検出されていないか、クランク信号の信号数が多すぎる異常であると診断して異常フラグ2をオンに設定し(S426)、本処理を終了する。   When the counter value is equal to or greater than the predetermined value 2 (S422: No), the diagnosis unit 36 diagnoses that the missing tooth portion 2b is not detected or that the number of signals of the crank signal is excessive, and sets the abnormality flag 2. It is set to ON (S426), and this process is terminated.

(歯数診断処理)
図4に、クランクセンサ診断部40の歯数診断部46が実行する歯数診断処理を示す。図4の歯数診断処理は、欠歯割込部44が欠歯部2bを検出することにより発生するハードウェア割り込みにより実行される。
(Diagnosis processing)
FIG. 4 shows the number of teeth diagnosis process executed by the number of teeth diagnosis unit 46 of the crank sensor diagnosis unit 40. The tooth number diagnosis process of FIG. 4 is executed by a hardware interrupt generated when the missing tooth interrupting unit 44 detects the missing tooth part 2b.

歯数診断部46は、クランク信号毎にカウントする歯カウンタ42のカウンタ値を取得し(S430)、次式(3)から、クランク歯2aの歯数を算出する(S432)。式(3)において、前回カウンタ値は前回の歯数診断処理で歯カウンタ42から取得したカウンタ値である。   The tooth number diagnosis unit 46 acquires the counter value of the tooth counter 42 that counts for each crank signal (S430), and calculates the number of teeth of the crank teeth 2a from the following equation (3) (S432). In Equation (3), the previous counter value is the counter value acquired from the tooth counter 42 in the previous tooth number diagnosis process.

歯数=今回カウンタ値−前回カウンタ値 ・・(3)
図4の歯数診断処理は欠歯部2bが検出される毎に実行されるので、クランクセンサ4が正常にクランク歯2aを検出しているのであれば、式(3)から算出される歯数は所定値2と等しい筈である。所定値2は、図3の診断処理で使用した所定値2と同じ値である。
Number of teeth = Current counter value-Previous counter value (3)
Since the number-of-teeth diagnosis process in FIG. 4 is executed every time the missing tooth portion 2b is detected, if the crank sensor 4 is normally detecting the crank teeth 2a, the tooth calculated from the equation (3) is used. The number should be equal to the predetermined value 2. The predetermined value 2 is the same value as the predetermined value 2 used in the diagnosis process of FIG.

そこで、歯数診断部46は式(3)で算出した歯数が所定値2と等しいか否かを判定する(S434)。歯数が所定値2と等しい場合(S434:Yes)、歯数診断部46は、クランクセンサ4は正常であると診断して歯数異常フラグをオフに設定し(S436)、本処理を終了する。   Therefore, the number-of-teeth diagnosis unit 46 determines whether or not the number of teeth calculated by Expression (3) is equal to the predetermined value 2 (S434). When the number of teeth is equal to the predetermined value 2 (S434: Yes), the number-of-teeth diagnosis unit 46 diagnoses that the crank sensor 4 is normal, sets the number-of-teeth abnormality flag to OFF (S436), and ends this processing. To do.

歯数が所定値2と異なる場合(S434:No)、歯数診断部46は、クランクセンサ4は異常であると診断して歯数異常フラグをオンに設定し(S438)、本処理を終了する。   When the number of teeth is different from the predetermined value 2 (S434: No), the number-of-teeth diagnosis unit 46 diagnoses that the crank sensor 4 is abnormal, sets the number-of-teeth abnormality flag to ON (S438), and ends this process. To do.

(欠歯診断処理)
図5に、クランクセンサ診断部40の欠歯診断部48が実行する欠歯診断処理を示す。図5の欠歯診断処理は、所定時間間隔のタイマ割り込みにより実行される。
(Diagnosis processing)
FIG. 5 shows missing tooth diagnosis processing executed by the missing tooth diagnosis unit 48 of the crank sensor diagnosis unit 40. The missing tooth diagnosis process of FIG. 5 is executed by timer interruption at predetermined time intervals.

欠歯診断部48は、クランク信号毎にカウントする歯カウンタ42のカウンタ値を取得し(S440)、図4の歯数診断処理のS430において取得した歯カウンタ42のカウンタ値を歯数診断時カウンタ値として歯数診断部46から取得する(S442)。そして、式(4)から、S440で取得したカウンタ値と、S442で歯数診断部46から取得した歯数診断時カウンタ値との差を歯数の差として算出する。   The missing tooth diagnosis unit 48 acquires the counter value of the tooth counter 42 that counts for each crank signal (S440), and uses the counter value of the tooth counter 42 acquired in S430 of the tooth number diagnosis process of FIG. A value is acquired from the number-of-teeth diagnosis unit 46 (S442). Then, from Equation (4), the difference between the counter value acquired at S440 and the counter value at the time of tooth number diagnosis acquired from the tooth number diagnosis unit 46 at S442 is calculated as the difference in the number of teeth.

歯数の差=カウンタ値−歯数診断時カウンタ値 ・・(4)
式(4)における歯数診断時カウンタ値は、欠歯部2bによる割り込みにより実行される図4の歯数診断処理における歯カウンタ42のカウンタ値であるから、クランクセンサ4が正常であれば所定値2ずつ増加する値である。所定値2は、図3の診断処理で使用した所定値2と同じ値である。
Difference in number of teeth = counter value-counter value during tooth number diagnosis (4)
The counter value at the time of tooth number diagnosis in Expression (4) is the counter value of the tooth counter 42 in the tooth number diagnosis process of FIG. 4 executed by interruption by the missing tooth portion 2b. The value is incremented by 2. The predetermined value 2 is the same value as the predetermined value 2 used in the diagnosis process of FIG.

ただし、歯数診断部46から取得する歯数診断時カウンタ値は、欠歯部2bが検出されず図4の歯数診断処理が実行されていない期間、一定値であり増加しない。
タイマ割り込みによりS440で取得する歯カウンタ42のカウンタ値は、欠歯部2bが検出されていない間にもクランク信号毎にカウントアップされている値である。したがって、クランクセンサ4が正常であれば、式(4)から算出される歯数の差は、所定値2以下になる筈である。
However, the counter value at the time of tooth number diagnosis acquired from the tooth number diagnosis unit 46 is a constant value and does not increase during the period when the missing tooth part 2b is not detected and the tooth number diagnosis process of FIG. 4 is not executed.
The counter value of the tooth counter 42 acquired in S440 by the timer interruption is a value counted up for each crank signal even when the missing tooth portion 2b is not detected. Therefore, if the crank sensor 4 is normal, the difference in the number of teeth calculated from the equation (4) should be a predetermined value 2 or less.

そこで、欠歯診断部48は式(4)で算出した歯数の差が所定値2以下であるか否かを判定する(S446)。歯数の差が所定値2以下の場合(S446:Yes)、欠歯診断部48は、クランクセンサ4は正常であると診断して欠歯異常フラグをオフに設定し(S448)、本処理を終了する。   Therefore, the missing tooth diagnosis unit 48 determines whether or not the difference in the number of teeth calculated by the equation (4) is equal to or less than a predetermined value 2 (S446). When the difference in the number of teeth is equal to or smaller than the predetermined value 2 (S446: Yes), the missing tooth diagnosis unit 48 diagnoses that the crank sensor 4 is normal and sets the missing tooth abnormality flag to OFF (S448), and this processing Exit.

歯数の差が所定値より大きい場合(S446:No)、欠歯診断部48は、クランクセンサ4は異常であると判断して欠歯異常フラグをオンに設定し(S450)、本処理を終了する。   When the difference in the number of teeth is larger than the predetermined value (S446: No), the missing tooth diagnosis unit 48 determines that the crank sensor 4 is abnormal, sets the missing tooth abnormality flag to ON (S450), and performs this process. finish.

(異常フラグ2設定処理)
OR回路50は、図4の歯数診断処理で設定された歯数異常フラグおよび図5の欠歯診断処理で設定された欠歯異常フラグの少なくともいずれか一方がオンであれば異常フラグ2としてオン信号を出力し、歯数異常フラグおよび欠歯異常フラグの両方がオフであれば異常フラグ2としてオフ信号を出力する。
(Abnormal flag 2 setting process)
The OR circuit 50 determines the abnormality flag 2 if at least one of the tooth number abnormality flag set in the tooth number diagnosis process of FIG. 4 and the missing tooth abnormality flag set in the missing tooth diagnosis process of FIG. An ON signal is output, and if both the tooth number abnormality flag and the missing tooth abnormality flag are OFF, an OFF signal is output as the abnormality flag 2.

(切替処理)
図6に、切替器62が実行する切替処理を示す。切替器62が実行する切替処理は回路によるハードウェア処理である。
(Switching process)
FIG. 6 shows a switching process executed by the switch 62. The switching process executed by the switcher 62 is a hardware process by a circuit.

切替器62は、クランクセンサ診断部30から診断結果として異常フラグ1の値を取得し(S460)、クランクセンサ診断部40から診断結果として異常フラグ2の値を取得する(S462)。   The switch 62 acquires the value of the abnormality flag 1 as a diagnosis result from the crank sensor diagnosis unit 30 (S460), and acquires the value of the abnormality flag 2 as a diagnosis result from the crank sensor diagnosis unit 40 (S462).

図7において、異常フラグ1の点線および異常フラグ2の点線が示すように異常フラグ1および異常フラグ2が両方ともオンで等しい場合(S464:Yes)、クランクセンサ診断部30、40の診断は正常であり、クランクセンサ4は故障等の異常であると診断する(S466)。   In FIG. 7, when both the abnormality flag 1 and the abnormality flag 2 are on and equal as indicated by the dotted line of the abnormality flag 1 and the abnormality flag 2 (S464: Yes), the diagnosis of the crank sensor diagnosis units 30 and 40 is normal. The crank sensor 4 is diagnosed as having an abnormality such as a failure (S466).

クランクセンサ4が異常の場合、図7の切替信号の点線で示すように、切替器62は、選択器60に指令してカムセンサ6の出力信号に基づくエンジン回転速度算出部22の算出結果をエンジン回転速度として選択する(S468)。カムセンサ6の信号数はクランクセンサ4の信号数よりも少ないので、エンジン回転速度算出部22が算出するエンジン回転速度は、エンジン回転速度算出部20が算出するエンジン回転速度よりも精度が低い。   When the crank sensor 4 is abnormal, as shown by the dotted line of the switching signal in FIG. 7, the switch 62 instructs the selector 60 to output the calculation result of the engine speed calculation unit 22 based on the output signal of the cam sensor 6 to the engine. The rotation speed is selected (S468). Since the number of signals of the cam sensor 6 is smaller than the number of signals of the crank sensor 4, the engine speed calculated by the engine speed calculator 22 is less accurate than the engine speed calculated by the engine speed calculator 20.

したがって、エンジン回転速度算出部22の算出結果をエンジン回転速度として選択すると、エンジン回転速度算出部20の算出結果をエンジン回転速度として選択する場合に比べ、エンジン回転速度の変動量に基づいてトルク推定部72が推定するエンジントルクの変動が図7の点線に示すように大きくなる。しかしながら、クランクセンサ4が異常である場合には、カムセンサ6の出力信号に基づいてエンジン回転速度を算出せざるを得ない。   Therefore, when the calculation result of the engine rotation speed calculation unit 22 is selected as the engine rotation speed, torque estimation is performed based on the fluctuation amount of the engine rotation speed, compared to the case where the calculation result of the engine rotation speed calculation unit 20 is selected as the engine rotation speed. The fluctuation of the engine torque estimated by the unit 72 increases as shown by the dotted line in FIG. However, when the crank sensor 4 is abnormal, the engine rotation speed must be calculated based on the output signal of the cam sensor 6.

図7において、異常フラグ1の実線および異常フラグ2の実線が示すように異常フラグ1および異常フラグ2が両方ともオフで等しい場合(S464:No、S470:Yes)、クランクセンサ診断部30、40の診断は正常であり、クランクセンサ4は正常であると診断する(S472)。   In FIG. 7, when both the abnormality flag 1 and the abnormality flag 2 are off and equal as indicated by the solid line of the abnormality flag 1 and the solid line of the abnormality flag 2 (S464: No, S470: Yes), the crank sensor diagnosis units 30, 40 The diagnosis is normal, and the crank sensor 4 is diagnosed as normal (S472).

クランクセンサ4が正常の場合、図7の切替信号の実線で示すように、切替器62は、選択器60に指令してクランクセンサ4の出力信号に基づくエンジン回転速度算出部20の算出結果をエンジン回転速度として選択する(S474)。   When the crank sensor 4 is normal, as shown by the solid line of the switching signal in FIG. 7, the switcher 62 instructs the selector 60 to display the calculation result of the engine speed calculation unit 20 based on the output signal of the crank sensor 4. The engine speed is selected (S474).

また、図8において、異常フラグ1の実線および異常フラグ2の実線、あるいは異常フラグ1の点線および異常フラグ2の点線が示すように、異常フラグ1と異常フラグ2との値が異なる場合(S464:No、S470:No)、クランクセンサ診断部30、40のどちらか一方は異常である。   Further, in FIG. 8, the values of the abnormality flag 1 and the abnormality flag 2 are different as indicated by the solid line of the abnormality flag 1 and the solid line of the abnormality flag 2, or the dotted line of the abnormality flag 1 and the dotted line of the abnormality flag 2 (S464). : No, S470: No), either one of the crank sensor diagnostic units 30, 40 is abnormal.

しかし、クランクセンサ4が異常で、クランクセンサ診断部30、40のどちらか一方も異常である確率は低い。したがって、異常フラグ1と異常フラグ2との値が異なる場合(S464:No、S470:No)、クランクセンサ診断部30、40のどちらかの診断は異常であり、クランクセンサ4は正常であると診断する(S476)。   However, the probability that the crank sensor 4 is abnormal and one of the crank sensor diagnosis units 30 and 40 is abnormal is low. Therefore, when the values of the abnormality flag 1 and the abnormality flag 2 are different (S464: No, S470: No), the diagnosis of one of the crank sensor diagnosis units 30 and 40 is abnormal, and the crank sensor 4 is normal. Diagnose (S476).

例えば、クランクセンサ診断部40が異常になるのは、図8に示すように、クランクセンサ診断部40の歯カウンタ42が故障し、カウントアップされない異常が発生したときである。   For example, the crank sensor diagnosis unit 40 becomes abnormal when the tooth counter 42 of the crank sensor diagnosis unit 40 fails and an abnormality that is not counted up occurs as shown in FIG.

そして、図8の切替信号の実線で示すように、切替器62は、選択器60に指令してクランクセンサ4の出力信号に基づくエンジン回転速度算出部20の算出結果をエンジン回転速度として選択する(S478)。   Then, as indicated by the solid line of the switching signal in FIG. 8, the switching device 62 instructs the selector 60 to select the calculation result of the engine rotation speed calculation unit 20 based on the output signal of the crank sensor 4 as the engine rotation speed. (S478).

本実施形態に対し、クランクセンサ診断部が1個しかない比較例においては、クランクセンサ4が正常であってもクランクセンサ診断部が異常の場合、図9に示すように、クランクセンサ4が異常であるか否かを示す異常フラグがオンになる。その結果、カムセンサ6の出力信号に基づいて算出されるエンジン回転速度が選択される。   In contrast to the present embodiment, in the comparative example having only one crank sensor diagnosis unit, if the crank sensor diagnosis unit is abnormal even if the crank sensor 4 is normal, the crank sensor 4 is abnormal as shown in FIG. An abnormality flag indicating whether or not is turned on. As a result, the engine speed calculated based on the output signal of the cam sensor 6 is selected.

カムセンサ6の出力信号に基づいてエンジン回転速度を算出すると、前述したように、クランクセンサ4の出力信号に基づいてエンジン回転速度を算出よりも推定トルクが変動する。クランクセンサ4が実際に異常である場合には、前述したように、カムセンサ6の出力信号に基づいてエンジン回転速度を算出せざるを得ない。   When the engine rotation speed is calculated based on the output signal of the cam sensor 6, the estimated torque varies more than the calculation of the engine rotation speed based on the output signal of the crank sensor 4 as described above. When the crank sensor 4 is actually abnormal, the engine rotation speed must be calculated based on the output signal of the cam sensor 6 as described above.

しかしながら、クランクセンサ4は正常であるにもかかわらず、クランクセンサ診断部の異常のために、クランクセンサ4に代えてカムセンサ6の出力信号に基づいてエンジン回転速度を算出することは極力避けたい。   However, although the crank sensor 4 is normal, it is desirable to avoid calculating the engine speed based on the output signal of the cam sensor 6 instead of the crank sensor 4 due to an abnormality of the crank sensor diagnosis unit.

本実施形態では、クランクセンサ4が異常であるか否かを、クランクセンサ診断部30、40の両方で診断し、両方の診断結果が正常で一致するか、診断結果が異なれば、クランクセンサ4は正常であると判断し、両方の診断結果が異常で一致すればクランクセンサ4は異常であると判断する。   In the present embodiment, whether or not the crank sensor 4 is abnormal is diagnosed by both of the crank sensor diagnosis units 30 and 40, and if both diagnosis results are normal or coincide with each other, or if the diagnosis results are different, the crank sensor 4 Is determined to be normal, and if both diagnosis results are abnormal and coincide, the crank sensor 4 is determined to be abnormal.

このように、2個の異なるクランクセンサ診断部30、40でクランクセンサ4が異常であるか否かを判定することにより、クランクセンサ4が異常であるか否かを高精度に診断し、クランクセンサ4が異常であると誤診断することを極力避けることができる。   In this way, by determining whether or not the crank sensor 4 is abnormal by the two different crank sensor diagnosis units 30 and 40, whether or not the crank sensor 4 is abnormal is diagnosed with high accuracy. It is possible to avoid misdiagnosing that the sensor 4 is abnormal as much as possible.

[他の実施形態]
上記実施形態では、クランクセンサ診断部30、40を異なるハードウェア構成とし、それぞれ異なる診断処理を行った。これに対し、クランクセンサ診断部30、40を同じハードウェア構成とし、同じ診断処理を行ってもよい。
[Other Embodiments]
In the above embodiment, the crank sensor diagnosis units 30 and 40 have different hardware configurations, and different diagnosis processes are performed. On the other hand, the crank sensor diagnosis units 30 and 40 may have the same hardware configuration, and the same diagnosis process may be performed.

上記実施形態では、エンジン回転速度から推定したエンジントルクに基づいて、噴射駆動装置90を制御するエンジン制御を行った。エンジントルクに限らず、エンジン回転速度からどのようなパラメータを推定または算出し、そのパラメータに基づいてどのようなエンジン制御を行ってもよい。   In the above embodiment, engine control for controlling the injection drive device 90 is performed based on the engine torque estimated from the engine rotation speed. Not only engine torque, but any parameter may be estimated or calculated from the engine rotation speed, and any engine control may be performed based on the parameter.

本発明のエンジン制御装置は、車両に搭載されるエンジン制御装置に限らず、どのような分野に適用されるエンジン制御装置であってもよい。
このように、本発明は、上記実施形態に限定されるものではなく、その要旨を逸脱しない範囲で種々の実施形態に適用可能である。
The engine control device of the present invention is not limited to an engine control device mounted on a vehicle, and may be an engine control device applied to any field.
As described above, the present invention is not limited to the above-described embodiment, and can be applied to various embodiments without departing from the gist thereof.

2:クランクロータ、2a:クランク歯、2b:欠歯部、4:クランクセンサ、6:カムセンサ、10:エンジン制御装置(第1速度算出手段、第2速度算出手段、第1診断手段、第2診断手段、選択手段)、20:エンジン回転速度算出部(第1速度算出手段)、22:エンジン回転速度算出部(第2速度算出手段)、30:クランクセンサ診断部(第1診断手段)、40:クランクセンサ診断部(第2診断手段)、60:選択器(選択手段)、62:切替器(選択手段) 2: crank rotor, 2a: crank tooth, 2b: missing tooth part, 4: crank sensor, 6: cam sensor, 10: engine control device (first speed calculation means, second speed calculation means, first diagnosis means, second Diagnosis means, selection means), 20: engine rotation speed calculation section (first speed calculation means), 22: engine rotation speed calculation section (second speed calculation means), 30: crank sensor diagnosis section (first diagnosis means), 40: Crank sensor diagnosis unit (second diagnosis means), 60: Selector (selection means), 62: Switch (selection means)

Claims (5)

エンジン回転速度に基づいてエンジン制御を実行するエンジン制御装置(10)であって、
クランクシャフトの所定の回転角度毎にクランクセンサ(4)が出力するクランク信号に基づいてエンジン回転速度を算出する第1速度算出手段(20)と、
カムシャフトの所定の回転角度毎にカムセンサ(6)が出力するカム信号に基づいてエンジン回転速度を算出する第2速度算出手段(22)と、
前記クランク信号に基づいて前記クランクセンサが異常であるか否かを判定する第1診断手段(30、32、34、36、S400〜S426)と、
前記クランク信号に基づいて前記クランクセンサが異常であるか否かを判定する第2診断手段(40、42、44、46、48、50、S430〜S438、S440〜S450)と、
前記第1診断手段の診断結果と前記第2診断手段の診断結果とが正常で一致する場合、前記第1速度算出手段が算出するエンジン回転速度を選択し、前記第1診断手段の診断結果と前記第2診断手段の診断結果とが異常で一致する場合、前記第2速度算出手段が算出するエンジン回転速度を選択する選択手段(60、62、S460〜S478)と、
を備えることを特徴とするエンジン制御装置。
An engine control device (10) for executing engine control based on engine rotational speed,
First speed calculation means (20) for calculating an engine rotation speed based on a crank signal output from the crank sensor (4) at every predetermined rotation angle of the crankshaft;
Second speed calculating means (22) for calculating an engine speed based on a cam signal output from the cam sensor (6) at every predetermined rotation angle of the camshaft;
First diagnosis means (30, 32, 34, 36, S400 to S426) for determining whether or not the crank sensor is abnormal based on the crank signal;
Second diagnostic means (40, 42, 44, 46, 48, 50, S430 to S438, S440 to S450) for determining whether or not the crank sensor is abnormal based on the crank signal;
When the diagnosis result of the first diagnosis means and the diagnosis result of the second diagnosis means are normal and coincide, the engine speed calculated by the first speed calculation means is selected, and the diagnosis result of the first diagnosis means A selection means (60, 62, S460 to S478) for selecting an engine rotation speed calculated by the second speed calculation means when the diagnosis result of the second diagnosis means coincides abnormally;
An engine control device comprising:
前記選択手段(S476、S478)は、前記第1診断手段の診断結果と前記第2診断手段の診断結果とが異なる場合、前記第1速度算出手段が算出するエンジン回転速度を選択することを特徴とする請求項1に記載のエンジン制御装置。   The selection means (S476, S478) selects the engine speed calculated by the first speed calculation means when the diagnosis result of the first diagnosis means is different from the diagnosis result of the second diagnosis means. The engine control device according to claim 1. 前記第1診断手段と前記第2診断手段とは、前記クランクセンサが異常であるか否かを異なる処理で判定することを特徴とする請求項1または2に記載のエンジン制御装置。   The engine control apparatus according to claim 1 or 2, wherein the first diagnosis unit and the second diagnosis unit determine whether or not the crank sensor is abnormal by different processes. 前記クランクシャフトには、前記クランクシャフトとともに回転し前記クランクシャフトの回転方向に沿って等角度間隔に設置されたクランク歯(2a)と前記クランク歯が欠落した欠歯部(2b)とを有するクランクロータ(2)が設置され、
前記クランクセンサは前記クランク歯を検出して前記クランク信号を出力し、
前記第1診断手段は、前記各クランク歯に対応した前記各クランク信号によりハードウェア割り込みを発生する歯割込部(32)と、前記クランク歯と前記クランク歯との間の時間間隔をカウントするタイムカウンタ(34)とを有し、前記歯割込部が発生する前記ハードウェア割り込み時に前記タイムカウンタの値に基づいて前記クランクセンサが異常であるか否かを判定し、
前記第2診断手段は、前記欠歯部を検出してハードウェア割り込みを発生する欠歯割込部(44)と、前記各クランク歯に対応した前記各クランク信号により前記クランク歯の歯数をカウントする歯カウンタ(42)とを有し、前記欠歯割込部が発生する前記ハードウェア割り込み時に前記歯カウンタの値に基づいて前記クランクセンサが異常であるか否かを判定する、
ことを特徴とする請求項1から3のいずれか一項に記載のエンジン制御装置。
The crankshaft has a crank tooth (2a) that rotates together with the crankshaft and is installed at equiangular intervals along the rotation direction of the crankshaft, and a missing tooth portion (2b) from which the crank tooth is missing. A rotor (2) is installed,
The crank sensor detects the crank teeth and outputs the crank signal;
The first diagnosis means counts the time interval between the crank tooth and the crank tooth, and the tooth interruption unit (32) that generates a hardware interrupt by the crank signal corresponding to the crank tooth. A time counter (34), and determining whether or not the crank sensor is abnormal based on the value of the time counter at the time of the hardware interrupt generated by the tooth interrupting unit,
The second diagnostic means detects the missing tooth portion and generates a hardware interrupt to determine the number of teeth of the crank tooth based on the crank signal corresponding to each crank tooth. A tooth counter (42) for counting, and determining whether or not the crank sensor is abnormal based on a value of the tooth counter at the time of the hardware interrupt generated by the missing tooth interrupting unit,
The engine control device according to any one of claims 1 to 3, wherein
前記第1診断手段(S412)および前記第2診断手段(S434)は、前記クランクロータが1回転するときにカウントされる前記クランク歯の歯数が所定値であるか否かに基づいて前記クランクセンサが異常であるか否かを判定することを特徴とする請求項4に記載のエンジン制御装置。   The first diagnosing means (S412) and the second diagnosing means (S434) are configured to determine whether the crank teeth counted when the crank rotor rotates once is a predetermined value or not. The engine control device according to claim 4, wherein it is determined whether or not the sensor is abnormal.
JP2013240047A 2013-11-20 2013-11-20 Engine control device Active JP6167871B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013240047A JP6167871B2 (en) 2013-11-20 2013-11-20 Engine control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013240047A JP6167871B2 (en) 2013-11-20 2013-11-20 Engine control device

Publications (2)

Publication Number Publication Date
JP2015098854A true JP2015098854A (en) 2015-05-28
JP6167871B2 JP6167871B2 (en) 2017-07-26

Family

ID=53375610

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013240047A Active JP6167871B2 (en) 2013-11-20 2013-11-20 Engine control device

Country Status (1)

Country Link
JP (1) JP6167871B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018009519A (en) * 2016-07-14 2018-01-18 トヨタ自動車株式会社 Control device for internal combustion engine
CN108387975A (en) * 2017-02-02 2018-08-10 富士通光器件株式会社 The manufacturing method of optical device and optical device
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
JP2006050878A (en) * 2004-08-09 2006-02-16 Fuji Heavy Ind Ltd Fault supervisory system of hybrid vehicle
JP2011208509A (en) * 2010-03-29 2011-10-20 Denso Corp Fail safe control device of internal combustion engine
JP2013049330A (en) * 2011-08-30 2013-03-14 Honda Motor Co Ltd Vehicle
JP2013060938A (en) * 2011-08-23 2013-04-04 Denso Corp Engine control device
JP2013160086A (en) * 2012-02-02 2013-08-19 Hitachi Automotive Systems Ltd Control device for internal combustion engine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006050878A (en) * 2004-08-09 2006-02-16 Fuji Heavy Ind Ltd Fault supervisory system of hybrid vehicle
JP2011208509A (en) * 2010-03-29 2011-10-20 Denso Corp Fail safe control device of internal combustion engine
JP2013060938A (en) * 2011-08-23 2013-04-04 Denso Corp Engine control device
JP2013049330A (en) * 2011-08-30 2013-03-14 Honda Motor Co Ltd Vehicle
JP2013160086A (en) * 2012-02-02 2013-08-19 Hitachi Automotive Systems Ltd Control device for internal combustion engine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018009519A (en) * 2016-07-14 2018-01-18 トヨタ自動車株式会社 Control device for internal combustion engine
CN108387975A (en) * 2017-02-02 2018-08-10 富士通光器件株式会社 The manufacturing method of optical device and optical device
JP7491329B2 (en) 2022-02-18 2024-05-28 トヨタ自動車株式会社 Vehicle control device

Also Published As

Publication number Publication date
JP6167871B2 (en) 2017-07-26

Similar Documents

Publication Publication Date Title
JP5195738B2 (en) Rotation sensor abnormality determination device
CN109286345B (en) Electric automobile, and diagnosis method and device for rotary transformation initial position
JP6167871B2 (en) Engine control device
JP2009508035A (en) How to detect reversal of engine rotation direction
JP2011069282A (en) Abnormality diagnostic device for crank angle detection system
JP6399964B2 (en) Electric motor control device
JP2015158138A (en) Vehicle output controller
JP2007026028A (en) Device for detecting abnormality in microcomputer
JP6984512B2 (en) Electronic control device
JP2010127162A (en) Fail-safe device for throttle control system
US20180056984A1 (en) Device for controlling hybrid vehicle and method for controlling hybrid vehicle
JP2018135785A (en) Engine control device
JP5569752B2 (en) Electronic control device and electric power steering device using the same
JP6443202B2 (en) Electronic control device for vehicle
JP5573021B2 (en) Crank angle detection device abnormality determination device
CN112780428B (en) Oil pump locked rotor diagnosis and repair method, oil pump controller and oil supply system
JP2001323836A (en) Abnormality detection method for crank synchronous task
JP2000002557A (en) Apparatus and method for restricting and/or indicating fault at automobile reference mark detection
JP6631452B2 (en) Electronic control unit
JP4678482B2 (en) Control device and electric power steering device provided with the same
JP5762685B2 (en) Control rotational speed calculation device, control rotational speed calculation method, and control rotational speed calculation program
JP2007283788A (en) Vehicular electronic control device
JP2013104387A (en) Engine control device
CN112583329B (en) Motor control device
JP2019183741A (en) Electronic controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161115

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161216

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170612

R151 Written notification of patent or utility model registration

Ref document number: 6167871

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250