JP2013108366A - Engine control device - Google Patents

Engine control device Download PDF

Info

Publication number
JP2013108366A
JP2013108366A JP2011251831A JP2011251831A JP2013108366A JP 2013108366 A JP2013108366 A JP 2013108366A JP 2011251831 A JP2011251831 A JP 2011251831A JP 2011251831 A JP2011251831 A JP 2011251831A JP 2013108366 A JP2013108366 A JP 2013108366A
Authority
JP
Japan
Prior art keywords
missing tooth
detection
angle
missing
edge interval
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2011251831A
Other languages
Japanese (ja)
Inventor
Tetsuaki Wakabayashi
哲明 若林
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2011251831A priority Critical patent/JP2013108366A/en
Publication of JP2013108366A publication Critical patent/JP2013108366A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

PROBLEM TO BE SOLVED: To restore a normal condition without waiting for the next missing tooth position, even if a missing tooth is falsely detected due to noise superimposed on a crank signal.SOLUTION: An engine control device includes: an edge detection part for measuring edge interval of crank signals; an angle clock generation part for generating an angle clock; a missing tooth detection part that determines whether the missing tooth has been normally detected or not, on the basis of an edge interval of the crank signal when the missing tooth is detected; a first angle counter that operates on the basis of the angle clock, and is reset when the missing tooth detection part detects a missing tooth; and a second angle counter that operates on the basis of the angle clock and loads a value of the first angle counter when the missing tooth detection part determines that the missing tooth has been normally detected. The first angle counter load a value of the second angle counter when the missing tooth detection part determines that the missing tooth has been falsely detected.

Description

本発明は、クランク信号を処理するエンジン制御装置に関する。   The present invention relates to an engine control apparatus that processes a crank signal.

従来から、クランク信号のパルス間隔を計測し、パルス間隔の今回値と前回値とを比較し、欠歯判定を実施する技術が知られている(例えば、特許文献1参照)。欠歯が誤検出された場合には、クランクカウンタの値が誤ってカウントされるが、その後、欠歯が正常に検出されると、クランクカウンタの値が正しい値(実際のクランク角位置と整合する値)にセットされる。   2. Description of the Related Art Conventionally, a technique for measuring a pulse interval of a crank signal, comparing a current value of a pulse interval with a previous value, and performing a missing tooth determination (see, for example, Patent Document 1). If a missing tooth is detected incorrectly, the value of the crank counter is counted incorrectly, but if the missing tooth is detected normally thereafter, the value of the crank counter is correct (matched with the actual crank angle position). Value).

特開2004−003454号公報(段落0052,0053,0066,0064)JP 2004-003454 A (paragraphs 0052, 0053, 0066, 0064)

しかしながら、特許文献1に記載の技術では、クランク信号にノイズが重畳すること等により欠歯が誤検出された場合には、その後、欠歯が正常に検出される(次の欠歯位置)まで正常復帰することができないという問題点がある。   However, in the technique described in Patent Document 1, when a missing tooth is erroneously detected due to, for example, noise superimposed on the crank signal, the missing tooth is normally detected (next missing tooth position). There is a problem that it cannot return to normal.

そこで、本発明は、クランク信号にノイズが重畳すること等により欠歯が誤検出された場合でも、次の欠歯位置まで待つことなく正常復帰することが可能なエンジン制御装置の提供を目的とする。   SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide an engine control device capable of returning to normal without waiting for the next missing tooth position even when a missing tooth is erroneously detected due to noise superimposed on the crank signal. To do.

上記目的を達成するため、本発明の一局面によれば、クランク信号のエッジを検出し、エッジ間隔を計測するエッジ検出部と、
前記クランク信号のエッジ間隔に基づいて、角度クロックを生成する角度クロック生成部と、
前記クランク信号のエッジ間隔に基づいて欠歯を検出すると共に、欠歯を検出した場合に、その後の前記クランク信号のエッジ間隔に基づいて、該欠歯検出が正常な検出か誤検出かを判断する欠歯検出部と、
前記角度クロックに基づいて動作し、前記欠歯検出部により欠歯が検出された場合にリセットする第1角度カウンタと、
前記角度クロックに基づいて動作し、前記欠歯検出部により欠歯検出が正常な検出と判断された場合に、前記第1角度カウンタの値をロードする第2角度カウンタとを備え、
前記第1角度カウンタは、前記欠歯検出部により欠歯検出が誤検出であると判断された場合に、前記第2角度カウンタの値をロードすることを特徴とする、エンジン制御装置が提供される。
In order to achieve the above object, according to one aspect of the present invention, an edge detection unit that detects an edge of a crank signal and measures an edge interval;
An angle clock generator for generating an angle clock based on an edge interval of the crank signal;
When missing teeth are detected based on the edge interval of the crank signal, and when missing teeth are detected, it is determined whether the missing tooth detection is normal detection or false detection based on the subsequent edge interval of the crank signal. A missing tooth detection unit,
A first angle counter that operates based on the angle clock and resets when a missing tooth is detected by the missing tooth detector;
A second angle counter that operates based on the angle clock and loads a value of the first angle counter when the missing tooth detection unit determines that the missing tooth detection is normal detection;
The engine control device is provided, wherein the first angle counter loads the value of the second angle counter when the missing tooth detection unit determines that the missing tooth detection is an erroneous detection. The

本発明によれば、クランク信号にノイズが重畳すること等により欠歯が誤検出された場合でも、次の欠歯位置まで待つことなく正常復帰することが可能なエンジン制御装置が得られる。   According to the present invention, even when a missing tooth is erroneously detected due to, for example, noise superimposed on a crank signal, an engine control device that can return to normal without waiting for the next missing tooth position is obtained.

本発明の一実施例によるエンジン制御装置1の要部構成の一例を示すブロック図である。It is a block diagram which shows an example of a principal part structure of the engine control apparatus 1 by one Example of this invention. 欠歯検出部14による欠歯検出処理の一例を示す図であり、欠歯が正常に検出される場合を示す図である。It is a figure which shows an example of the missing tooth detection process by the missing tooth detection part 14, and is a figure which shows the case where a missing tooth is detected normally. 欠歯検出部14による欠歯検出処理の一例を示す図であり、欠歯が誤検出される場合を示す図である。It is a figure which shows an example of the missing tooth detection process by the missing tooth detection part 14, and is a figure which shows the case where a missing tooth is erroneously detected. 角度カウンタ部16における動作の一例を示す図であり、欠歯が正常に検出される場合を示す図である。It is a figure which shows an example of the operation | movement in the angle counter part 16, and is a figure which shows the case where a missing tooth is detected normally. 角度カウンタ部16における動作の一例を示す図であり、欠歯が誤検出される場合を示す図である。It is a figure which shows an example of the operation | movement in the angle counter part 16, and is a figure which shows the case where a missing tooth is erroneously detected. 本実施例のエンジン制御装置1によるクランク信号の要部処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the principal part process of the crank signal by the engine control apparatus 1 of a present Example.

以下、図面を参照して、本発明を実施するための最良の形態の説明を行う。   The best mode for carrying out the present invention will be described below with reference to the drawings.

図1は、本発明の一実施例によるエンジン制御装置1の要部構成の一例を示すブロック図である。   FIG. 1 is a block diagram illustrating an example of a main configuration of an engine control apparatus 1 according to an embodiment of the present invention.

エンジン制御装置1は、エッジ検出部10と、角度クロック生成部12と、欠歯検出部14と、角度カウンタ部16と、タイマ部18と、汎用出力部20と、エッジ検出部22と、気筒情報部24と、CPU26とを含む。   The engine control device 1 includes an edge detection unit 10, an angle clock generation unit 12, a missing tooth detection unit 14, an angle counter unit 16, a timer unit 18, a general-purpose output unit 20, an edge detection unit 22, and a cylinder. An information unit 24 and a CPU 26 are included.

エッジ検出部10は、入力されるクランク信号のエッジを検出し、エッジ間隔を計測する。クランク信号は、クランク軸の角度位置を表す信号(クランク軸センサからの出力信号)であり、例えば、所定のクランク角度(例えば、6CA,10CA)毎にエッジが発生する信号(パルス列)であってよい。尚、クランク軸の角度位置を示すためにクランクロータ(パルサロータ)の基準位置として欠歯が設定されている。従って、クランク信号は、そのパルス列の途中に所定パルス分(例えば2パルス分)のパルスが欠落する欠歯イベント(以下、単に、「欠歯」という)が現れる。欠歯が現れる間隔は360CA間隔である。尚、CAは、クランクアングルを指す。   The edge detector 10 detects the edge of the input crank signal and measures the edge interval. The crank signal is a signal (an output signal from the crankshaft sensor) that represents the angular position of the crankshaft, and is, for example, a signal (pulse train) that generates an edge at every predetermined crank angle (for example, 6CA, 10CA). Good. In order to indicate the angular position of the crankshaft, a missing tooth is set as the reference position of the crank rotor (pulsar rotor). Therefore, in the crank signal, a missing tooth event (hereinafter, simply referred to as “missing tooth”) in which a predetermined number of pulses (for example, two pulses) are missing appears in the middle of the pulse train. The interval at which the missing teeth appear is 360 CA intervals. CA indicates a crank angle.

角度クロック生成部12は、クランク信号のエッジ間隔に従い、所定の逓倍値の角度クロックを生成する。即ち、角度クロック生成部12は、クランク信号のエッジ間隔に同期した角度クロックであって、クランク信号よりも逓倍値の倍率だけ分解能が高い角度クロックを生成する。例えば、クランク信号が10CA毎のパルス列を発生し、逓倍値が10である場合は、角度クロックは、クランク信号と同期した1CA毎のパルス列を形成する。   The angle clock generator 12 generates an angle clock having a predetermined multiplied value according to the edge interval of the crank signal. That is, the angle clock generation unit 12 generates an angle clock that is synchronized with the edge interval of the crank signal and has a higher resolution than the crank signal by a multiplication factor. For example, when the crank signal generates a pulse train every 10 CA and the multiplication value is 10, the angle clock forms a pulse train every 1 CA synchronized with the crank signal.

欠歯検出部14は、クランク信号のエッジ間隔に基づいて、欠歯を検出する。また、欠歯検出部14は、欠歯を検出した場合に、その後のクランク信号のエッジ間隔に基づいて、該欠歯検出が正常な検出か誤検出かを判断する。これらの動作については、図2等を参照して後述する。   The missing tooth detector 14 detects missing teeth based on the edge interval of the crank signal. Further, when the missing tooth detection unit 14 detects missing teeth, it determines whether the missing tooth detection is normal detection or erroneous detection based on the edge interval of the subsequent crank signal. These operations will be described later with reference to FIG.

角度カウンタ部16は、角度クロックをソースとして動作するフリーランカウンタを2つ含む。即ち、角度カウンタ部16は、角度クロックでカウントアップするフリーランカウンタを2つ含む。以下、これらの2つのカウンタを、第1角度カウンタ及び第2角度カウンタと称する。第1角度カウンタ及び第2角度カウンタの動作については、図3等を参照して後述する。   The angle counter unit 16 includes two free-run counters that operate using an angle clock as a source. That is, the angle counter unit 16 includes two free-run counters that count up with an angle clock. Hereinafter, these two counters are referred to as a first angle counter and a second angle counter. The operations of the first angle counter and the second angle counter will be described later with reference to FIG.

タイマ部18は、第1角度カウンタのカウンタ値に基づくコンペアマッチタイマ機能を有する。例えば、タイマ部18は、第1角度カウンタのカウンタ値が、所定の設定値と一致した場合(コンペアマッチ)に、割り込みを発生する。これにより、燃料の噴射タイミングや点火タイミング等がクランク角度に同期される。   The timer unit 18 has a compare match timer function based on the counter value of the first angle counter. For example, the timer unit 18 generates an interrupt when the counter value of the first angle counter matches a predetermined set value (compare match). As a result, the fuel injection timing, ignition timing, and the like are synchronized with the crank angle.

汎用出力部20は、タイマ部18からのコンペアマッチ時の割り込みやCPU26からの指示に基づいて、各種信号(インジェクタ信号やイグナイタ信号等)を発生する。これにより、燃料の噴射や点火等が実行される。   The general-purpose output unit 20 generates various signals (such as an injector signal and an igniter signal) based on an interrupt at the time of a compare match from the timer unit 18 and an instruction from the CPU 26. Thereby, fuel injection, ignition, etc. are performed.

エッジ検出部22は、入力されるカム信号のエッジを検出する。カム信号は、例えば、所定角度毎にHレベル(ハイレベル)とLレベル(ローレベル)とを繰り返す信号(カム軸センサからの出力信号)である。このカム信号により、1サイクル=720°CA中の2回の欠歯検出に対して、当該欠歯の表裏(前半又は後半)が判定可能となる。   The edge detector 22 detects the edge of the input cam signal. The cam signal is, for example, a signal (an output signal from the cam shaft sensor) that repeats an H level (high level) and an L level (low level) for each predetermined angle. With this cam signal, the front and back (first half or second half) of the missing tooth can be determined for two missing teeth detection in one cycle = 720 ° CA.

気筒情報部24は、カム信号のエッジ検出結果に基づいて、クランク軸の回転に対する前半又は後半(例えば、0CAから360CAまでを前半、360CAから720CAまでを後半)に関する情報(気筒情報)を保有する。気筒情報は、角度カウンタ部16やCPU26で使用される。   The cylinder information unit 24 holds information (cylinder information) related to the first half or the second half (for example, the first half from 0CA to 360CA and the second half from 360CA to 720CA) based on the edge detection result of the cam signal. . The cylinder information is used by the angle counter unit 16 and the CPU 26.

CPU26は、各種ソフトウェアSWに基づいて、欠歯検出時やコンペアマッチ時の割り込み等での各種処理を行う。尚、ここでは、CPU処理負荷を増大しないように、以下で説明する欠歯検出部14の機能等はハードウェア自立の機能として実現される。   The CPU 26 performs various processes such as interruption at the time of missing tooth detection or compare match based on various software SW. Here, in order not to increase the CPU processing load, the function or the like of the missing tooth detection unit 14 described below is realized as a hardware independent function.

図2は、欠歯検出部14による欠歯検出処理の一例を示す図であり、欠歯が正常に検出される場合を示す。図3は、欠歯検出部14による欠歯検出処理の一例を示す図であり、ノイズの重畳に起因して欠歯が誤検出される場合を示す。   FIG. 2 is a diagram illustrating an example of missing tooth detection processing by the missing tooth detection unit 14 and illustrates a case where missing teeth are normally detected. FIG. 3 is a diagram illustrating an example of missing tooth detection processing by the missing tooth detection unit 14 and illustrates a case where missing teeth are erroneously detected due to noise superposition.

図2には、欠歯区間(破線にて図示)を含むクランク信号が示される。図3には、ノイズが重畳したクランク信号が示される。   FIG. 2 shows a crank signal including a missing tooth section (shown by a broken line). FIG. 3 shows a crank signal on which noise is superimposed.

一般的に、欠歯区間では、欠歯が存在しない区間に比べて、エッジ間隔が長くなる。この点を考慮して、欠歯検出部14は、今回のエッジ間隔τbと前回のエッジ間隔τaとの関係に基づいて、欠歯を検出する。例えば、欠歯検出部14は、今回のエッジ間隔τbと前回のエッジ間隔τaとの比(τb/τa)が所定閾値Nthより大きいか否かを判定し、大きい場合に、欠歯を検出する。所定閾値Nthは、欠歯区間で欠落されるパルス数に応じて適切に設定されてもよい。例えば、図示の例では、欠歯区間で2パルスが欠落される構成であるので、所定閾値Nthは、2付近の値(例えば2.5)であってよい。   In general, in the missing tooth section, the edge interval is longer than in the section where there is no missing tooth. Considering this point, the missing tooth detection unit 14 detects missing teeth based on the relationship between the current edge interval τb and the previous edge interval τa. For example, the missing tooth detection unit 14 determines whether or not the ratio (τb / τa) between the current edge interval τb and the previous edge interval τa is greater than a predetermined threshold Nth, and detects a missing tooth if it is larger. . The predetermined threshold value Nth may be appropriately set according to the number of pulses lost in the missing tooth section. For example, in the illustrated example, since two pulses are missing in the missing tooth section, the predetermined threshold Nth may be a value near 2 (for example, 2.5).

しかしながら、今回のエッジ間隔τbと前回のエッジ間隔τaとの関係は、ノイズの影響を受けやすく、欠歯検出が誤検出となる場合が生じうる。具体的には、図3に示すように、ノイズが重畳したクランク信号の場合、ノイズがエッジとして検出されうるので、今回のエッジ間隔τbと前回のエッジ間隔τaとの比(τb/τa)が所定閾値Nthより大きくなる場合がある。   However, the relationship between the current edge interval τb and the previous edge interval τa is easily affected by noise, and the missing tooth detection may be erroneously detected. Specifically, as shown in FIG. 3, in the case of a crank signal on which noise is superimposed, since noise can be detected as an edge, the ratio (τb / τa) between the current edge interval τb and the previous edge interval τa is In some cases, the threshold value becomes larger than the predetermined threshold value Nth.

そこで、欠歯検出部14は、欠歯を検出した場合に、その後のクランク信号のエッジ間隔に基づいて、該欠歯検出が正常な検出か誤検出かを判断する。欠歯検出が正常な検出である場合には、次のクランク信号のエッジ間隔τcは、図2に示すように、今回のエッジ間隔τbよりも短くなるはずである。他方、欠歯検出が誤検出である場合には、次のクランク信号のエッジ間隔τcは、図3に示すように、今回のエッジ間隔τbと略同一になる(或いは、次が欠歯区間であれば、次のエッジ間隔τcは、今回のエッジ間隔τbよりも大きくなる)。従って、例えば、欠歯検出部14は、今回のエッジ間隔τbと次回のエッジ間隔τcとの比(τb/τc)が所定閾値Nthより大きいか否かを判定し、大きい場合に、欠歯検出が正常な検出であると判定し、τb/τcがNth以下の場合に、欠歯検出が誤検出であると判定する。   Therefore, when the missing tooth detection unit 14 detects a missing tooth, the missing tooth detection unit 14 determines whether the missing tooth detection is normal detection or erroneous detection based on the edge interval of the subsequent crank signal. When the missing tooth detection is normal detection, the edge interval τc of the next crank signal should be shorter than the current edge interval τb as shown in FIG. On the other hand, when the missing tooth detection is erroneous detection, the edge interval τc of the next crank signal is substantially the same as the current edge interval τb as shown in FIG. 3 (or the next is the missing tooth interval). If so, the next edge interval τc is larger than the current edge interval τb). Therefore, for example, the missing tooth detection unit 14 determines whether or not the ratio (τb / τc) between the current edge interval τb and the next edge interval τc is greater than a predetermined threshold value Nth. Is determined to be normal detection, and when τb / τc is Nth or less, it is determined that missing tooth detection is erroneous detection.

図4は、角度カウンタ部16における動作の一例を示す図であり、欠歯が正常に検出される場合を示す。図5は、角度カウンタ部16における動作の一例を示す図であり、ノイズの重畳に起因して欠歯が誤検出される場合を示す。   FIG. 4 is a diagram showing an example of the operation in the angle counter unit 16, and shows a case where a missing tooth is normally detected. FIG. 5 is a diagram illustrating an example of the operation in the angle counter unit 16, and illustrates a case where a missing tooth is erroneously detected due to noise superposition.

図4及び図5には、それぞれ、上側に、第1角度カウンタのカウンタ値が、下側に、第2角度カウンタのカウンタ値が示される。また、第1角度カウンタのカウンタ値よりも上側にクランク信号の波形が示される。尚、クランク信号は、概略的に示されており、パルスは1本の縦線で表されている。尚、欠歯間のパルスの数は、実際とは異なりうる適当な数で図示されている。   4 and 5, the counter value of the first angle counter is shown on the upper side, and the counter value of the second angle counter is shown on the lower side, respectively. Further, the waveform of the crank signal is shown above the counter value of the first angle counter. The crank signal is schematically shown, and the pulse is represented by a single vertical line. The number of pulses between missing teeth is shown as an appropriate number that may differ from the actual number.

第1角度カウンタは、図4にて矢印P1にて示すように、欠歯検出部14により欠歯が検出された場合に、0CAにリセットする。尚、図示の例では、第1角度カウンタは、欠歯検出部14により欠歯が検出され、且つ、カウンタ値がクランク軸の後半領域に属する場合(気筒情報から判断)に、0CAにリセットする。即ち、第1角度カウンタは、角度クロックでカウントアップしつつ、720CA毎に0CAにリセットする。但し、第1角度カウンタは、気筒情報とは無関係に、欠歯検出部14により欠歯が検出される毎に0CAにリセットする構成であってもよい。この場合、気筒情報は、角度カウンタ部16の後段で利用されればよい。   The first angle counter is reset to 0CA when the missing tooth detector 14 detects a missing tooth, as indicated by an arrow P1 in FIG. In the illustrated example, the first angle counter is reset to 0CA when the missing tooth detection unit 14 detects a missing tooth and the counter value belongs to the second half region of the crankshaft (determined from the cylinder information). . That is, the first angle counter resets to 0 CA every 720 CA while counting up with the angle clock. However, the first angle counter may be configured to be reset to 0 CA each time a missing tooth is detected by the missing tooth detection unit 14 regardless of cylinder information. In this case, the cylinder information may be used at the subsequent stage of the angle counter unit 16.

第2角度カウンタは、図4にて矢印P2にて示すように、欠歯検出部14により欠歯検出が正常な検出と判断された場合に、第1角度カウンタの値をロードする。即ち、第2角度カウンタのカウンタ値は、角度クロックでカウントアップしつつ、欠歯検出部14により欠歯検出が正常な検出と判断された場合に、その時点の第1角度カウンタの値に置き換えられる。欠歯検出部14により欠歯検出が正常な検出と判断されるタイミングは、上述の如く、欠歯検出タイミング後、次のクランク信号のエッジ間隔が計測され、評価されるタイミングに対応する。従って、欠歯検出部14により欠歯検出が正常な検出と判断されるタイミングは、実質的に、欠歯検出タイミングよりも、クランク信号の1パルス分の時間後である。   As indicated by an arrow P2 in FIG. 4, the second angle counter loads the value of the first angle counter when the missing tooth detection unit 14 determines that the missing tooth detection is normal detection. That is, the counter value of the second angle counter is counted up with the angle clock, and when the missing tooth detection unit 14 determines that the missing tooth detection is normal detection, the value of the first angle counter at that time is replaced. It is done. As described above, the timing at which the missing tooth detection unit 14 determines that the missing tooth detection is normal detection corresponds to the timing at which the edge interval of the next crank signal is measured and evaluated after the missing tooth detection timing. Therefore, the timing at which the missing tooth detection unit 14 determines that the missing tooth detection is normal is substantially after the time corresponding to one pulse of the crank signal from the missing tooth detection timing.

図5に示すように、ノイズの重畳に起因して短いエッジ間隔が生じる場合、この場合も欠歯検出部14により欠歯が検出されるので、第1角度カウンタは、図5にて矢印P1’にて示すように、0CAにリセットする。この場合、第1角度カウンタは、実際のクランク角度とは整合しない異常状態となる。しかしながら、この場合、その次のクランク信号のエッジ間隔に基づいて、欠歯検出部14により欠歯検出が誤検出であると判断される。これに伴い、第1角度カウンタは、図5にて矢印P3にて示すように、第2角度カウンタの値をロードする。即ち、第1角度カウンタのカウンタ値は、欠歯検出部14により欠歯検出が誤検出と判断された場合に、その時点の第2角度カウンタの値に置き換えられる。ここで、第2角度カウンタの値は、上述の如く、欠歯検出部14により欠歯検出が正常な検出と判断される場合のみ、第1角度カウンタの値をロードする。従って、第2角度カウンタの値は、ノイズの重畳に起因して欠歯が検出される場合でも、0CAにリセットしておらず、正しい値(実際のクランク角度とは整合する値)を維持している。従って、欠歯検出部14により欠歯検出が誤検出であると判断された時点で、第1角度カウンタが第2角度カウンタの値をロードすることにより、第1角度カウンタを正常な状態に復帰させることができる。このように、本実施例によれば、第1角度カウンタを補正することがハードウェアの自立の機能として可能となり、CPU処理負荷を増大させることなく、ノイズロバスト性を高めることができる。   As shown in FIG. 5, when a short edge interval occurs due to noise superposition, the missing tooth detection unit 14 also detects a missing tooth in this case, so the first angle counter indicates the arrow P1 in FIG. Reset to 0CA as indicated by '. In this case, the first angle counter is in an abnormal state that does not match the actual crank angle. However, in this case, based on the edge interval of the next crank signal, the missing tooth detector 14 determines that missing tooth detection is a false detection. Accordingly, the first angle counter loads the value of the second angle counter as indicated by an arrow P3 in FIG. That is, when the missing tooth detection unit 14 determines that the missing tooth detection is erroneously detected, the counter value of the first angle counter is replaced with the value of the second angle counter at that time. Here, as described above, the value of the second angle counter is loaded only when the missing tooth detection unit 14 determines that the missing tooth detection is normal detection. Therefore, the value of the second angle counter is not reset to 0CA even when missing teeth are detected due to noise superposition, and the correct value (a value that matches the actual crank angle) is maintained. ing. Therefore, when the missing tooth detection unit 14 determines that the missing tooth detection is a false detection, the first angle counter returns to the normal state by loading the value of the second angle counter. Can be made. As described above, according to the present embodiment, it is possible to correct the first angle counter as a self-supporting function of hardware, and it is possible to improve noise robustness without increasing the CPU processing load.

また、欠歯検出部14により欠歯検出が誤検出であると判断されるタイミングは、上述の如く、欠歯検出タイミング後、次のクランク信号のエッジ間隔が計測され、評価されるタイミングに対応する。従って、欠歯検出部14により欠歯検出が誤検出であると判断されるタイミングは、実質的に、欠歯検出タイミングよりも、クランク信号の1パルス分の時間後である。従って、本実施例によれば、ノイズの重畳に起因して欠歯が検出され、第1角度カウンタが異常状態に陥った場合でも、次に欠歯検出タイミングを待つことなく直ぐに第1角度カウンタを正常な状態に復帰させることができる。この結果、高精度なエンジン制御が可能となり、燃費向上を図ることができる。   The timing at which the missing tooth detection unit 14 determines that the missing tooth detection is erroneous detection corresponds to the timing at which the edge interval of the next crank signal is measured and evaluated after the missing tooth detection timing, as described above. To do. Therefore, the timing at which the missing tooth detection unit 14 determines that the missing tooth detection is an erroneous detection is substantially a time after one pulse of the crank signal from the missing tooth detection timing. Therefore, according to the present embodiment, even when a missing tooth is detected due to noise superposition and the first angle counter falls into an abnormal state, the first angle counter is immediately received without waiting for the next missing tooth detection timing. Can be restored to a normal state. As a result, highly accurate engine control is possible, and fuel consumption can be improved.

図6は、本実施例のエンジン制御装置1によるクランク信号の要部処理の流れを示すフローチャートである。尚、図6は、処理の流れを示すフローチャートであり、図1のブロック図で示す信号の流れとは異なる態様で示されている。   FIG. 6 is a flowchart showing the flow of the main processing of the crank signal by the engine control apparatus 1 of the present embodiment. FIG. 6 is a flowchart showing the flow of processing, and is shown in a mode different from the signal flow shown in the block diagram of FIG.

ステップ600では、エッジ検出部10において、クランク信号の今回のエッジ(n)が検出される。   In step 600, the edge detection unit 10 detects the current edge (n) of the crank signal.

ステップ602では、エッジ検出部10において、クランク信号の今回のエッジ間隔τが計測される。今回のエッジ間隔τは、前回のエッジ(n−1)から今回のエッジ(n)までの間隔である。尚、エッジは、立ち上がりエッジであってよい(図2参照)。 In step 602, the edge detection unit 10 measures the current edge interval τ n of the crank signal. The current edge interval τ n is an interval from the previous edge (n−1) to the current edge (n). The edge may be a rising edge (see FIG. 2).

ステップ606では、欠歯検出部14において、今回のエッジ間隔τと前回のエッジ間隔τn−1との比(τ/τn−1)が所定閾値Nthより大きいか否かが判定される。τ/τn−1>Nthの場合は、今回のエッジ(n)の計測タイミングで欠歯が検出されたと判断され(ステップ608)、ステップ610に進み、それ以外の場合は、欠歯が検出されないと判断され、今回のエッジ(n)に関する処理は終了となる。 In step 606, the missing tooth detector 14 determines whether or not the ratio (τ n / τ n-1 ) of the current edge interval τ n and the previous edge interval τ n-1 is greater than a predetermined threshold Nth. The If τ n / τ n-1 > Nth, it is determined that a missing tooth is detected at the measurement timing of the current edge (n) (step 608), and the process proceeds to step 610. Otherwise, the missing tooth is detected. It is determined that it is not detected, and the processing related to the current edge (n) ends.

ステップ610では、角度カウンタ部16において、第1角度カウンタがクリア(リセット)される。   In step 610, the angle counter unit 16 clears (resets) the first angle counter.

ステップ612では、エッジ検出部10において、クランク信号の次回のエッジ(n+1)が検出される。   In step 612, the edge detection unit 10 detects the next edge (n + 1) of the crank signal.

ステップ614では、エッジ検出部10において、クランク信号の次回のエッジ間隔τn+1が計測される。 In step 614, the edge detector 10 measures the next edge interval τ n + 1 of the crank signal.

ステップ618では、欠歯検出部14において、今回のエッジ間隔τと次回のエッジ間隔τn+1との比(τ/τn+1)が所定閾値Nthより大きいか否かが判定される。τ/τn+1>Nthの場合は、欠歯検出が正常な検出と判断され(ステップ620)、ステップ622に進む。他方、それ以外の場合(即ち、τ/τn+1≦Nthの場合)は、欠歯検出が誤検出であると判断され(ステップ624)、ステップ626に進む。 In step 618, the missing tooth detector 14 determines whether or not the ratio (τ n / τ n + 1 ) between the current edge interval τ n and the next edge interval τ n + 1 is greater than a predetermined threshold Nth. When τ n / τ n + 1 > Nth, it is determined that the missing tooth detection is normal detection (step 620), and the process proceeds to step 622. On the other hand, in other cases (that is, when τ n / τ n + 1 ≦ Nth), it is determined that the missing tooth detection is a false detection (step 624), and the process proceeds to step 626.

ステップ622では、角度カウンタ部16において、第2角度カウンタへ第1角度カウンタの値がロードされる。   In step 622, the angle counter unit 16 loads the value of the first angle counter to the second angle counter.

ステップ626では、角度カウンタ部16において、第1角度カウンタへ第2角度カウンタの値がロードされる。   In step 626, the angle counter unit 16 loads the value of the second angle counter to the first angle counter.

以上、本発明の好ましい実施例について詳説したが、本発明は、上述した実施例に制限されることはなく、本発明の範囲を逸脱することなく、上述した実施例に種々の変形及び置換を加えることができる。   The preferred embodiments of the present invention have been described in detail above. However, the present invention is not limited to the above-described embodiments, and various modifications and substitutions can be made to the above-described embodiments without departing from the scope of the present invention. Can be added.

例えば、上述した実施例では、欠歯検出部14は、欠歯検出を生じさせた今回のエッジ間隔τbと、その次のエッジ間隔τcとの関係に基づいて、該欠歯検出が正常な検出か誤検出かを判断しているが、欠歯検出を生じさせた今回のエッジ間隔τbと、その次の複数個のエッジ間隔τcとの関係を考慮してもよい。例えば、今回のエッジ間隔τbと次回のエッジ間隔τcとの比(τb/τc)が所定閾値Nthより大きく、且つ、今回のエッジ間隔τbと次の次のエッジ間隔τdとの比(τb/τd)が所定閾値Nthより大きいときに、欠歯検出が正常な検出であると判定し、それ以外の場合に、欠歯検出が誤検出であると判定することとしてもよい。   For example, in the embodiment described above, the missing tooth detection unit 14 detects that the missing tooth detection is normal based on the relationship between the current edge interval τb that caused the missing tooth detection and the next edge interval τc. However, the relationship between the current edge interval τb that caused the missing tooth detection and the next plurality of edge intervals τc may be considered. For example, the ratio (τb / τc) between the current edge interval τb and the next edge interval τc is greater than a predetermined threshold Nth, and the ratio between the current edge interval τb and the next next edge interval τd (τb / τd). ) Is larger than the predetermined threshold Nth, it may be determined that the missing tooth detection is normal detection, and otherwise, it may be determined that the missing tooth detection is a false detection.

1 エンジン制御装置
10 エッジ検出部
12 角度クロック生成部
14 欠歯検出部
16 角度カウンタ部
18 タイマ部
20 汎用出力部
22 エッジ検出部
24 気筒情報部
26 CPU
DESCRIPTION OF SYMBOLS 1 Engine control apparatus 10 Edge detection part 12 Angle clock generation part 14 Missing tooth detection part 16 Angle counter part 18 Timer part 20 General-purpose output part 22 Edge detection part 24 Cylinder information part 26 CPU

Claims (2)

クランク信号のエッジを検出し、エッジ間隔を計測するエッジ検出部と、
前記クランク信号のエッジ間隔に基づいて、角度クロックを生成する角度クロック生成部と、
前記クランク信号のエッジ間隔に基づいて欠歯を検出すると共に、欠歯を検出した場合に、その後の前記クランク信号のエッジ間隔に基づいて、該欠歯検出が正常な検出か誤検出かを判断する欠歯検出部と、
前記角度クロックに基づいて動作し、前記欠歯検出部により欠歯が検出された場合にリセットする第1角度カウンタと、
前記角度クロックに基づいて動作し、前記欠歯検出部により欠歯検出が正常な検出と判断された場合に、前記第1角度カウンタの値をロードする第2角度カウンタとを備え、
前記第1角度カウンタは、前記欠歯検出部により欠歯検出が誤検出であると判断された場合に、前記第2角度カウンタの値をロードすることを特徴とする、エンジン制御装置。
An edge detector for detecting the edge of the crank signal and measuring the edge interval;
An angle clock generator for generating an angle clock based on an edge interval of the crank signal;
When missing teeth are detected based on the edge interval of the crank signal, and when missing teeth are detected, it is determined whether the missing tooth detection is normal detection or false detection based on the subsequent edge interval of the crank signal. A missing tooth detection unit,
A first angle counter that operates based on the angle clock and resets when a missing tooth is detected by the missing tooth detector;
A second angle counter that operates based on the angle clock and loads a value of the first angle counter when the missing tooth detection unit determines that the missing tooth detection is normal detection;
The engine control apparatus according to claim 1, wherein the first angle counter loads the value of the second angle counter when the missing tooth detection unit determines that the missing tooth detection is an erroneous detection.
前記欠歯検出部は、前記クランク信号の今回のエッジ間隔と前回のエッジ間隔との関係に基づいて、欠歯を検出し、欠歯を検出した場合に、前記クランク信号の今回のエッジ間隔と次回のエッジ間隔との関係に基づいて、該欠歯検出が正常な検出か誤検出かを判断する、請求項1に記載のエンジン制御装置。   The missing tooth detection unit detects a missing tooth based on the relationship between the current edge interval of the crank signal and the previous edge interval, and when the missing tooth is detected, The engine control device according to claim 1, wherein it is determined whether the missing tooth detection is normal detection or erroneous detection based on a relationship with a next edge interval.
JP2011251831A 2011-11-17 2011-11-17 Engine control device Pending JP2013108366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011251831A JP2013108366A (en) 2011-11-17 2011-11-17 Engine control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011251831A JP2013108366A (en) 2011-11-17 2011-11-17 Engine control device

Publications (1)

Publication Number Publication Date
JP2013108366A true JP2013108366A (en) 2013-06-06

Family

ID=48705380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011251831A Pending JP2013108366A (en) 2011-11-17 2011-11-17 Engine control device

Country Status (1)

Country Link
JP (1) JP2013108366A (en)

Similar Documents

Publication Publication Date Title
US6732713B1 (en) Crank angle detection apparatus
US8978453B2 (en) Crank signal error detection using a cam signal interval
JP2010025017A (en) Engine control device
CN108699978A (en) Method for determining engine angle position
JP2001214790A (en) Engine control device
JP6399964B2 (en) Electric motor control device
US7827377B2 (en) Method for reading out sensor data
JP2001200747A (en) Engine control device
JP3506116B2 (en) Engine control device
JP2013160086A (en) Control device for internal combustion engine
JP2013108366A (en) Engine control device
JP2007026028A (en) Device for detecting abnormality in microcomputer
JP5870977B2 (en) Rotation angle detection system
JP6647757B2 (en) Crank pulse plate tooth count measurement method, engine rotation speed measurement method, crank pulse plate tooth count measurement device, engine rotation speed measurement device, crank pulse plate tooth count measurement program, and engine rotation speed measurement program
JP2015151883A (en) Crank angle detection device
JP2016160858A (en) Crank angle correction device
JP2021165554A (en) Detection device and start device
JP7251058B2 (en) In-vehicle control device
JP2013108478A (en) Engine control device
JP3508727B2 (en) Engine control device
JP2009250181A (en) Timing synchronizing method and device in engine measurement
US7417571B2 (en) Method for providing a correlation
JP6717185B2 (en) Engine controller
JP2009159426A (en) Pulse output device
JP3329639B2 (en) Ignition control backup device