JPH09229823A - Peak detector for detecting knocking, knock detecting circuit and resetting circuit - Google Patents

Peak detector for detecting knocking, knock detecting circuit and resetting circuit

Info

Publication number
JPH09229823A
JPH09229823A JP3389796A JP3389796A JPH09229823A JP H09229823 A JPH09229823 A JP H09229823A JP 3389796 A JP3389796 A JP 3389796A JP 3389796 A JP3389796 A JP 3389796A JP H09229823 A JPH09229823 A JP H09229823A
Authority
JP
Japan
Prior art keywords
output
value
converter
signal
register
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.)
Withdrawn
Application number
JP3389796A
Other languages
Japanese (ja)
Inventor
Shohei Miwa
昇平 三輪
Tomohide Kasame
知秀 笠目
Teruo Fukuda
輝夫 福田
Kazuaki Murota
和明 室田
Shuji Kimura
修治 木村
Takahiro Aki
隆啓 安芸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Ten Ltd
Original Assignee
Denso Ten Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP3389796A priority Critical patent/JPH09229823A/en
Publication of JPH09229823A publication Critical patent/JPH09229823A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain a peak detector using an A-D converter by reducing the gain of an input signal when the output value of the converter exceeds a predetermined value in a dynamic range. SOLUTION: A 8-bit A-D converter 4 converts an input analog signal into a digital signal. When the output signal value is the value F0 or less which is slightly lower than the dynamic range upper limit value of the converter 4, a switch 3 is controlled in response to the output of a comparator 5, and the signals amplified by amplifiers 1, 2 from the analog signal are supplied to the converter 4. When the output signal value becomes the value F0 or more, the comparator 5 outputs a gain switching signal, the switch 3 is changed over, and only the analog signal amplified by the amplifier 1 is input to the converter 4. Thus, when the output value of the converter 4 tends to exceed the dynamic range, the gain of the input signal is reduced to always input the signal of the dynamic range to the converter 4. Accordingly, the converter 4 always normally operates, and a peak detector using it is obtained.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は車両等の内燃機関の
ノッキングを検出するためのノック制御回路におけるノ
ッキング検出用ピーク検出回路、ノック判定回路及びリ
セット回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a knock detection peak detection circuit, a knock determination circuit and a reset circuit in a knock control circuit for detecting knocking of an internal combustion engine such as a vehicle.

【0002】[0002]

【従来の技術】図11は「電子制御ガソリン噴射」(藤
沢英也、小林久徳著、昭和62年7月5日、株式会社山
海堂より発行)に記載のノック制御装置を示すブロック
図である。同図において、内燃機関のシリンダブロック
等に取り付けられたノックセンサ111は、内燃機関の
振動を検出してその振動波形信号を電子制御装置(EC
U)112内のフィルタ回路113に与える。フィルタ
回路113は振動波形信号から、例えば、5キロヘルツ
〜10キロヘルツの信号を取り出すとともにバイアス電
圧をその取り出した信号の中心電圧として与える。ピー
ク検出回路114はフィルタ回路113の出力信号から
ピーク値を検出し保持するサンプルホールド回路を備え
ている。比較基準レベル計算回路115はフィルタ回路
113の出力信号に基づいてノック判定の閾値となる比
較基準レベルを計算する。ノック判定回路116はピー
ク値検出回路114からのピーク値が比較基準レベルよ
り大きいときに、ノック信号をマイクロコンピュータ1
17に与える。マイクロコンピュータ117はノック判
定区間信号がオンのときにノック信号が入力されると点
火時期を遅角し、ノッキングのない状態では徐々に進角
するフィードバック制御をする。
2. Description of the Related Art FIG. 11 is a block diagram showing a knock control device described in "Electronic Controlled Gasoline Injection" (written by Hideya Fujisawa and Hisanori Kobayashi, published by Sankaido Co., Ltd. on July 5, 1987). . In the figure, a knock sensor 111 attached to a cylinder block or the like of an internal combustion engine detects a vibration of the internal combustion engine and outputs a vibration waveform signal thereof to an electronic control unit (EC
U) 112 is applied to the filter circuit 113. The filter circuit 113 extracts a signal of, for example, 5 kHz to 10 kHz from the vibration waveform signal, and gives a bias voltage as the center voltage of the extracted signal. The peak detection circuit 114 includes a sample hold circuit that detects and holds the peak value from the output signal of the filter circuit 113. The comparison reference level calculation circuit 115 calculates a comparison reference level serving as a threshold for knock determination based on the output signal of the filter circuit 113. The knock determination circuit 116 outputs a knock signal to the microcomputer 1 when the peak value from the peak value detection circuit 114 is higher than the comparison reference level.
Give 17 The microcomputer 117 performs feedback control that retards the ignition timing when the knock signal is input while the knock determination section signal is on, and gradually advances the ignition timing when there is no knocking.

【0003】図12は従来のピーク検出回路を示す回路
図である。同図において、ノックセンサ111及びフィ
ルタ回路113は図11に示すものと同一である。フィ
ルタ回路113の出力はピーク検出回路121に入力さ
れる。従来のピーク検出回路121は図示のように、ア
ナログピークホールド回路であり、オペアンプ122と
トランジスタ123とコンデンサ124とからなってい
る。ピーク値はコンデンサ124に電荷を蓄積すること
により得られる。
FIG. 12 is a circuit diagram showing a conventional peak detection circuit. In the figure, the knock sensor 111 and the filter circuit 113 are the same as those shown in FIG. The output of the filter circuit 113 is input to the peak detection circuit 121. As shown, the conventional peak detection circuit 121 is an analog peak hold circuit, and includes an operational amplifier 122, a transistor 123, and a capacitor 124. The peak value is obtained by accumulating charge in the capacitor 124.

【0004】[0004]

【発明が解決しようとする課題】従来のピーク値検出回
路は、図12に示すようにコンデンサ124を必要とす
る。しかしながら、数ミリ秒後もピーク値を精度よくホ
ールドさせるためには、大容量のコンデンサが必要であ
る。このため、コンデンサは大型のものとなり、電子制
御装置112の高密度化やIC化が困難であるという問
題がある。
The conventional peak value detection circuit requires the capacitor 124 as shown in FIG. However, in order to hold the peak value with accuracy even after several milliseconds, a large capacity capacitor is required. For this reason, the capacitor becomes large in size, and there is a problem that it is difficult to increase the density of the electronic control unit 112 and make it into an IC.

【0005】また、内燃機関の数キロヘルツの振動周波
数の信号に対する周波数応答性を良くして漏れ電流を少
なくするためには、フィルムコンデンサを用いる必要が
あるが、フィルムコンデンサは高温の環境には不適当で
あり、しかも寸法も大きいのでやはり電子制御装置11
2の高密度化やIC化が困難であるという問題がある。
Further, in order to improve the frequency response to a signal having an oscillation frequency of several kilohertz of the internal combustion engine and reduce the leakage current, it is necessary to use a film capacitor, but the film capacitor is not suitable for a high temperature environment. Since it is suitable and has a large size, the electronic control unit 11 is also required.
2 has a problem that it is difficult to achieve high density and IC.

【0006】本発明の目的は、上記従来技術における問
題に鑑み、ノック信号はほぼ一定の周波数で正弦波に近
い信号でその各部分は滑らかに変化する線形信号に近い
信号であることを利用して、A/D変換器を用いたピー
ク検出回路を実現することにより、ノッキング検出用ピ
ーク検出回路を含む電子制御装置の高密度化及びIC化
を可能にすることにある。
In view of the above problems in the prior art, it is an object of the present invention to utilize that a knock signal is a signal close to a sine wave at a substantially constant frequency, and each part thereof is a signal close to a linear signal that smoothly changes. By realizing a peak detection circuit using an A / D converter, it is possible to increase the density and IC of an electronic control device including a peak detection circuit for knocking detection.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明の第1の態様によれば、A/D変換器の出力
値がそのA/D変換器のダイナミックレンジ内の所定値
を越えた時に、A/D変換器に入力される信号のゲイン
を落とすようにし、A/D変換器の出力をマイクロコン
ピュータに入力するようにしたノッキング検出用ピーク
検出回路が提供される。
In order to achieve the above object, according to the first aspect of the present invention, the output value of the A / D converter is a predetermined value within the dynamic range of the A / D converter. A peak detection circuit for knocking detection is provided in which the gain of the signal input to the A / D converter is reduced when the value exceeds the limit and the output of the A / D converter is input to the microcomputer.

【0008】本発明の第2の態様によれば、A/D変換
器の入力レベルがそのA/D変換器のダイナミックレン
ジ内の所定値を越えた時に、A/D変換器に入力される
信号のゲインを落とすようにし、A/D変換器の出力を
マイクロコンピュータに入力するようにしたノッキング
検出用ピーク検出回路が提供される。本発明の第3の態
様によれば、第1の態様に加えて、A/D変換器の出力
値がA/D変換器のダイナミックレンジ内の所定値を越
えたと判定された時に、A/D変換器の出力をnビット
だけシフトするビットシフト回路を更に備え、ビットシ
フト回路の出力をマイクロコンピュータに入力するよう
にしたノッキング検出用ピーク検出回路が提供される。
According to the second aspect of the present invention, when the input level of the A / D converter exceeds a predetermined value within the dynamic range of the A / D converter, it is input to the A / D converter. A peak detection circuit for knocking detection is provided in which the gain of a signal is reduced and the output of an A / D converter is input to a microcomputer. According to a third aspect of the present invention, in addition to the first aspect, when it is determined that the output value of the A / D converter exceeds a predetermined value within the dynamic range of the A / D converter, A / D A peak detection circuit for knocking detection is further provided, which further comprises a bit shift circuit for shifting the output of the D converter by n bits and inputs the output of the bit shift circuit to a microcomputer.

【0009】本発明の第4の態様によれば、第2の態様
に加えて、A/D変換器の入力レベルがA/D変換器の
ダイナミックレンジ内の所定値を越えたと判定された時
に、A/D変換器の出力をnビットだけシフトするビッ
トシフト回路を更に備え、ビットシフト回路の出力をマ
イクロコンピュータに入力するようにしたノッキング検
出用ピーク検出回路が提供される。
According to a fourth aspect of the present invention, in addition to the second aspect, when it is determined that the input level of the A / D converter exceeds a predetermined value within the dynamic range of the A / D converter. , A peak detection circuit for knocking detection further comprising a bit shift circuit for shifting the output of the A / D converter by n bits and inputting the output of the bit shift circuit to a microcomputer.

【0010】本発明の第5の態様によれば、ノック判定
区間信号のオフ時にはノックセンサからの出力信号の中
心電圧となるバイアス電圧をA/D変換して得られるオ
フセットA/D変換値をオフセット補正値としてラッチ
し、ノック判定区間信号のオン時にノックセンサからの
出力信号をA/D変換して得られるディジタルデータか
らオフセット補正値を差し引いて波高値を示すディジタ
ル信号を、ノッキングを検出するマイクロコンピュータ
に与えるようにしたノッキング検出用ピーク検出回路が
提供される。
According to the fifth aspect of the present invention, when the knock determination section signal is off, the offset A / D conversion value obtained by A / D converting the bias voltage which is the center voltage of the output signal from the knock sensor is obtained. Knocking is detected as a digital signal that indicates the peak value by subtracting the offset correction value from the digital data obtained by A / D conversion of the output signal from the knock sensor, which is latched as the offset correction value and the knock determination section signal is turned on. A peak detection circuit for knocking detection provided to a microcomputer is provided.

【0011】本発明の第6の態様によれば、第5の態様
におけるオフセット補正値を平均化して新オフセット補
正値とし、ノック判定区間信号のオン時にノックセンサ
からの出力信号をA/D変換して得られるディジタルデ
ータから新オフセット補正値を差し引いて波高値を示す
ディジタル信号を、ノッキングを検出するマイクロコン
ピュータに与えるようにしたノッキング検出用ピーク検
出回路が提供される。
According to the sixth aspect of the present invention, the offset correction values in the fifth aspect are averaged to obtain a new offset correction value, and the output signal from the knock sensor is A / D converted when the knock determination section signal is on. A peak detection circuit for knocking detection is provided in which a new offset correction value is subtracted from the obtained digital data and a digital signal indicating a peak value is given to a microcomputer for detecting knocking.

【0012】本発明の第7の態様によれば、第5の態様
又は第6の態様におけるオフセット補正値又は新オフセ
ット補正値が所定範囲外となったとき、標準値を第2新
オフセット補正値とし、ノック判定区間信号のオン時に
ノックセンサからの出力信号をA/D変換して得られる
ディジタルデータから第2新オフセット補正値を差し引
いて波高値を示すディジタル信号を、ノッキングを検出
するマイクロコンピュータに与えるようにしたノッキン
グ検出用ピーク検出回路が提供される。
According to the seventh aspect of the present invention, when the offset correction value or the new offset correction value in the fifth or sixth aspect is out of the predetermined range, the standard value is set to the second new offset correction value. And a microcomputer for detecting knocking, which is a digital signal indicating a peak value by subtracting the second new offset correction value from digital data obtained by A / D converting the output signal from the knock sensor when the knock determination section signal is on. A peak detection circuit for knocking detection is provided.

【0013】本発明の第8の態様によれば、第5の態様
又は第6の態様におけるオフセット補正値又は新オフセ
ット補正値が所定範囲外となったとき上限値又は下限値
を第2新オフセット補正値とし、ノック判定区間信号の
オン時にノックセンサからの出力信号をA/D変換して
得られるディジタルデータから第2新オフセット補正値
を差し引いて波高値を示すディジタル信号を、ノッキン
グを検出するマイクロコンピュータに与えるようにした
ノッキング検出用ピーク検出回路が提供される。
According to the eighth aspect of the present invention, when the offset correction value or the new offset correction value in the fifth or sixth aspect is out of the predetermined range, the upper limit value or the lower limit value is set to the second new offset. As a correction value, when the knock determination section signal is on, the second new offset correction value is subtracted from the digital data obtained by A / D conversion of the output signal from the knock sensor, and the digital signal indicating the peak value is detected as knocking. A peak detection circuit for knocking detection provided to a microcomputer is provided.

【0014】本発明の第9の態様によれば、第5の態様
又は第6の態様におけるオフセット補正値又は新オフセ
ット補正値が予め設定された限界範囲外となったときに
前回のオフセット補正値を第2オフセット補正信号と
し、ノック判定区間信号のオン時にノックセンサからの
出力信号をA/D変換して得られるディジタルデータか
ら第2オフセット補正値を差し引いて波高値を示すディ
ジタル信号を、ノッキングを検出するマイクロコンピュ
ータに与えるようにしたノッキング検出用ピーク検出回
路が提供される。
According to a ninth aspect of the present invention, when the offset correction value or the new offset correction value in the fifth aspect or the sixth aspect is out of a preset limit range, the previous offset correction value Is used as a second offset correction signal, and when the knock determination section signal is turned on, the second offset correction value is subtracted from the digital data obtained by A / D conversion of the output signal from the knock sensor, and the digital signal indicating the peak value is knocked. There is provided a peak detection circuit for knocking detection, which is provided to a microcomputer for detecting.

【0015】本発明の第10の態様によれば、第7の態
様、第8の態様又は第9の態様におけるノッキング検出
用ピーク検出回路において、オフセット補正値又は新オ
フセット補正値が予め設定された限界範囲外となったと
きに、ノック判定のレベルを下げてA/D変換器の出力
と比較することによりノック判定をするようにしたノッ
ク判定回路が提供される。
According to the tenth aspect of the present invention, the offset correction value or the new offset correction value is preset in the knock detection peak detection circuit of the seventh, eighth or ninth aspect. Provided is a knock determination circuit that lowers the level of knock determination and compares it with the output of the A / D converter when the value is out of the limit range.

【0016】本発明の第11の態様によれば、第7の態
様、第8の態様又は第9の態様におけるノッキング検出
用ピーク検出回路において、オフセット補正値又は新オ
フセット補正値がが予め設定された限界範囲外となった
ときに、ノッキング検出用ピーク検出回路をリセットす
るようにしたリセット回路が提供される。
According to the eleventh aspect of the present invention, in the knock detection peak detection circuit according to the seventh aspect, the eighth aspect or the ninth aspect, an offset correction value or a new offset correction value is preset. A reset circuit is provided for resetting the peak detection circuit for knocking detection when it is out of the limit range.

【0017】[0017]

【発明の実施の形態】以下、本発明の実施の形態を図面
によって詳細に説明する。なお、全図を通して、同一参
照番号は同一のものを示す。図1は本発明の第1の実施
例によるノッキング検出用ピーク検出回路を示すブロッ
ク図である。図において、入力端子INには内燃機関に
取り付けられたノックセンサからのアナログ信号が帯域
フィルタを介して入力される。ノックセンサ及び帯域フ
ィルタは従来のものと同一なので、図示を省略する。入
力端子INは第1の増幅器1の入力に接続されており、
第1の増幅器の出力は第2の増幅器2の入力に接続され
ているとともにスイッチ3の一方の端子に接続されてい
る。第2の増幅器の出力はスイッチ3の他方の端子に接
続されている。スイッチ3の更にに他方の接点は8ビッ
トA/D変換器4に接続されている。8ビットA/D変
換器4の出力は図示しないマイクロコンピュータに接続
されているとともに比較器5の一方の入力に接続されて
いる。比較器5の他方の入力には8ビットA/D変換器
4のダイナミックレンジの上限値より若干小さい値F0
が入力されている。F0 の値は比較器5の出力に応じて
決定される。すなわち、8ビットA/D変換器4のダイ
ナミックレンジが例えば5Vであれば、F0 は例えばス
イッチ3で第1の増幅器1を選択時はB3(h)で、第
2の増幅器2を選択時はE6(h)である。比較器5の
出力はまた、上記マイクロコンピュータに入力される。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings. The same reference numerals denote the same parts throughout the drawings. FIG. 1 is a block diagram showing a peak detection circuit for knocking detection according to a first embodiment of the present invention. In the figure, an analog signal from a knock sensor attached to an internal combustion engine is input to an input terminal IN via a bandpass filter. Since the knock sensor and the bandpass filter are the same as the conventional ones, their illustration is omitted. The input terminal IN is connected to the input of the first amplifier 1,
The output of the first amplifier is connected to the input of the second amplifier 2 and to one terminal of the switch 3. The output of the second amplifier is connected to the other terminal of the switch 3. The other contact of the switch 3 is connected to the 8-bit A / D converter 4. The output of the 8-bit A / D converter 4 is connected to a microcomputer (not shown) and is also connected to one input of the comparator 5. A value F 0 which is slightly smaller than the upper limit value of the dynamic range of the 8-bit A / D converter 4 is input to the other input of the comparator 5.
Is entered. The value of F 0 is determined according to the output of the comparator 5. That is, if the dynamic range of the 8-bit A / D converter 4 is, for example, 5 V, F 0 is B3 (h) when the first amplifier 1 is selected by the switch 3 and when the second amplifier 2 is selected, for example. Is E6 (h). The output of the comparator 5 is also input to the microcomputer.

【0018】次に図1の回路の動作を説明する。例えば
2μ秒毎のA/D開始信号に応じて、8ビットA/D変
換器4は入力アナログ信号をディジタル信号に変換す
る。8ビットA/D変換器4の出力ディジタル信号の値
がF0 より小さいときは、比較器5の出力に応じてスイ
ッチ3が制御されて第2の増幅器2の出力が8ビットA
/D変換器4の入力に接続されている。この状態では、
8ビットA/D変換器4には入力アナログ信号を第1の
増幅器及び第2の増幅器により増幅した信号が供給され
ている。8ビットA/D変換器4の出力ディジタル信号
の値がF0 以上になると、比較器5はゲイン切り換え信
号を出力し、これによりスイッチ3が切り換わり、第1
の増幅器1の出力が8ビットA/D変換器4の入力に接
続される。この結果、第1の増幅器の出力のみによって
増幅されたアナログ信号が8ビットA/D変換器4に入
力される。こうして、8ビットA/D変換器4の出力値
が8ビットA/D変換器4のダイナミックレンジを越え
そうになると入力信号のゲインを落とすことにより、8
ビットA/D変換器4には常にダイナミックレンジの範
囲内の信号が入力されることになり、8ビットA/D変
換器4が常に正常に動作できる。この切り換えが可能な
のは、入力端子に加わるアナログ信号が周波数が略一定
の正弦波に近い信号でその各部分は滑らかに変化する線
形信号に近い信号であるからである。
Next, the operation of the circuit shown in FIG. 1 will be described. For example, the 8-bit A / D converter 4 converts the input analog signal into a digital signal in response to the A / D start signal every 2 μsec. When the value of the output digital signal of the 8-bit A / D converter 4 is smaller than F 0 , the switch 3 is controlled according to the output of the comparator 5 so that the output of the second amplifier 2 is 8-bit A.
It is connected to the input of the / D converter 4. In this state,
The 8-bit A / D converter 4 is supplied with a signal obtained by amplifying an input analog signal by the first amplifier and the second amplifier. When the value of the output digital signal of the 8-bit A / D converter 4 becomes F 0 or more, the comparator 5 outputs a gain switching signal, which switches the switch 3 and
The output of the amplifier 1 is connected to the input of the 8-bit A / D converter 4. As a result, the analog signal amplified only by the output of the first amplifier is input to the 8-bit A / D converter 4. Thus, when the output value of the 8-bit A / D converter 4 is about to exceed the dynamic range of the 8-bit A / D converter 4, the gain of the input signal is reduced to
A signal within the dynamic range is always input to the bit A / D converter 4, and the 8-bit A / D converter 4 can always operate normally. This switching is possible because the analog signal applied to the input terminal is a signal close to a sine wave with a substantially constant frequency, and each part thereof is a signal close to a linear signal that smoothly changes.

【0019】8ビットA/D変換器4の出力と比較器5
の出力とはマイクロコンピュータに入力されてノック判
定に使用される。これにより、従来のアナログピークホ
ールド回路に替えて、ディジタルのA/D変換器を用い
たので、コンデンサは不要であり、ノッキング検出用ピ
ーク検出回路を高密度且つIC化に最適に構成すること
ができる。
Output of 8-bit A / D converter 4 and comparator 5
Is output to the microcomputer and used for knock determination. As a result, since a digital A / D converter is used instead of the conventional analog peak hold circuit, no capacitor is required, and the knock detection peak detection circuit can be optimally configured for high density and IC implementation. it can.

【0020】図2は本発明の第2の実施例によるノッキ
ング検出用ピーク検出回路を示すブロック図である。図
1と異なるところは、図1の比較器5に替えて、図2に
おいては、比較器21とフリップフロップ22と直流電
源23とを備えていることであり、他の構成は図1と同
様である。第1の増幅器1の出力は比較器21の一方の
入力端に接続されており、比較器21の他方の入力端に
は例えば3.5Vの直流電源23が接続されている。
FIG. 2 is a block diagram showing a peak detection circuit for knocking detection according to the second embodiment of the present invention. 1 is different from FIG. 1 in that it includes a comparator 21, a flip-flop 22 and a DC power supply 23 in FIG. 2 in place of the comparator 5 in FIG. 1, and other configurations are the same as in FIG. Is. The output of the first amplifier 1 is connected to one input end of the comparator 21, and the other input end of the comparator 21 is connected to a DC power supply 23 of, for example, 3.5V.

【0021】次に図2の回路の動作を説明する。マイク
ロコンピュータから出力される例えば2μ秒毎のA/D
開始信号に応じて、8ビットA/D変換器4は入力アナ
ログ信号をディジタル信号に変換する。第2の増幅器1
の出力電圧が直流電源23の出力電圧である3.5Vよ
り大きくなると、比較器21は信号“1”を出力し、フ
リップフロップ22は次のA/D開始信号の立ち上がり
に応じてその信号をラッチする。そしてフリップフロッ
プ22はその出力をゲイン切り換え信号としてスイッチ
3に与え、そのゲイン切り換え信号に応じて、スイッチ
3が切り換わり、増幅器1の出力が8ビットA/D変換
器4に入力されるようになる。こうして、第2の増幅器
2の出力をA/D変換している最中にはスイッチ3は切
り換わらず、上記次のA/D開始信号に応じて切り換わ
るのでA/D変換の動作が中断することはない。8ビッ
トA/D変換器4の入力値が8ビットA/D変換器4の
ダイナミックレンジを越えそうになると入力信号のゲイ
ンを落とすことにより、8ビットA/D変換器4には常
にダイナミックレンジの範囲内の信号が入力されること
になり、8ビットA/D変換器4が常に正常に動作でき
る。この切り換えが可能なのも、第1の実施例と同様に
入力端子に加わるアナログ信号が周波数が略一定の正弦
波に近い信号でその各部分は滑らかに変化する線形信号
に近い信号であるからである。
Next, the operation of the circuit shown in FIG. 2 will be described. A / D output from the microcomputer, for example, every 2 μs
In response to the start signal, the 8-bit A / D converter 4 converts the input analog signal into a digital signal. Second amplifier 1
When the output voltage of the DC power supply 23 becomes higher than the output voltage of the DC power supply 23, which is 3.5V, the comparator 21 outputs a signal "1", and the flip-flop 22 outputs the signal in response to the rising edge of the next A / D start signal. To latch. Then, the flip-flop 22 gives its output to the switch 3 as a gain switching signal, the switch 3 is switched according to the gain switching signal, and the output of the amplifier 1 is input to the 8-bit A / D converter 4. Become. Thus, the switch 3 is not switched during the A / D conversion of the output of the second amplifier 2 and is switched according to the next A / D start signal, so that the A / D conversion operation is interrupted. There is nothing to do. When the input value of the 8-bit A / D converter 4 is about to exceed the dynamic range of the 8-bit A / D converter 4, the gain of the input signal is reduced to keep the dynamic range of the 8-bit A / D converter 4 constant. Since the signal within the range is input, the 8-bit A / D converter 4 can always operate normally. This switching is possible because the analog signal applied to the input terminal is a signal close to a sine wave having a substantially constant frequency and each part thereof is a signal close to a linear signal that smoothly changes, as in the first embodiment. is there.

【0022】8ビットA/D変換器4の出力とフリップ
フロップ22の出力とはマイクロコンピュータに入力さ
れてノック判定に利用される。図3は本発明の第3の実
施例によるノッキング検出用ピーク検出回路を示すブロ
ック図である。同図においては、図1に示した構成に加
えて、ビットシフト回路31が8ビットA/D変換器4
の出力に接続されている。ビットシフト回路31は8ビ
ットレジスタ32とスイッチ33と8+nビットレジス
タ34(nは正の整数)とを備えている。図示例では、
レジスタ34は9ビットレジスタである。
The output of the 8-bit A / D converter 4 and the output of the flip-flop 22 are input to a microcomputer and used for knock determination. FIG. 3 is a block diagram showing a peak detection circuit for knocking detection according to a third embodiment of the present invention. In the figure, in addition to the configuration shown in FIG. 1, the bit shift circuit 31 includes an 8-bit A / D converter 4
Connected to the output. The bit shift circuit 31 includes an 8-bit register 32, a switch 33, and an 8 + n bit register 34 (n is a positive integer). In the example shown,
The register 34 is a 9-bit register.

【0023】次に図3の回路の動作を説明する。8ビッ
トA/D変換器4からダイナミックレンジの範囲内のデ
ィジタルデータが出力されるまでは第1の実施例と同じ
なので、ここでは説明を省略する。比較器5がゲイン切
り換え信号を出力すると、スイッチ33はレジスタ32
の出力を例えば1ビットだけ下位に(左に)シフトして
レジスタ34に入力する。これにより、例えば、8ビッ
トA/D変換器4の入力信号が2倍の増幅率で増幅され
た場合には、8ビットA/D変換器4の出力をビットシ
フト回路31により1/2にするので、割り算回路を用
いることなしに8ビットA/D変換器4の入力側と同じ
分解能を出力側で確保することができる。
Next, the operation of the circuit shown in FIG. 3 will be described. The process until the 8-bit A / D converter 4 outputs digital data within the dynamic range is the same as that of the first embodiment, and the description thereof is omitted here. When the comparator 5 outputs the gain switching signal, the switch 33 switches the register 32.
The output of is shifted to the lower (left) by, for example, 1 bit and input to the register 34. Thereby, for example, when the input signal of the 8-bit A / D converter 4 is amplified by a double amplification factor, the output of the 8-bit A / D converter 4 is halved by the bit shift circuit 31. Therefore, the same resolution as that on the input side of the 8-bit A / D converter 4 can be secured on the output side without using a division circuit.

【0024】図3では、比較器5の一方の入力が8ビッ
トA/D変換器4の出力に接続されているが、これに替
えて、比較器5の一方の入力をビットシフト回路31の
出力に接続してもよい。この場合は、比較結果によら
ず、F0 を一定にできる。尚、図3では、図1の回路に
おける8ビットA/D変換器4の出力にビットシフト回
路31を接続したが、これに替えて、図2の回路におけ
る8ビットA/D変換器4の出力にビットシフト回路を
接続してもよい。この場合は、フリップフロップ22の
出力に応じてビットシフト回路を制御する。
In FIG. 3, one input of the comparator 5 is connected to the output of the 8-bit A / D converter 4, but instead of this, one input of the comparator 5 is connected to the bit shift circuit 31. May be connected to output. In this case, F 0 can be kept constant regardless of the comparison result. In FIG. 3, the bit shift circuit 31 is connected to the output of the 8-bit A / D converter 4 in the circuit of FIG. 1, but instead of this, the 8-bit A / D converter 4 of the circuit of FIG. A bit shift circuit may be connected to the output. In this case, the bit shift circuit is controlled according to the output of the flip-flop 22.

【0025】図4は本発明の第4の実施例によるノッキ
ング検出用ピーク検出回路を示すブロック図である。同
図において、内燃機関に取り付けられたノックセンサの
出力信号の中心電圧となるバイアス電圧を設定する直流
電源41がスイッチ42の一方の端子に接続されてい
る。スイッチ42の他方の端子はこの回路の入力端子I
Nに接続されている。スイッチ42の切り換えにより、
入力端子IN又は直流電源41が増幅器1に接続され
る。増幅器1の出力は8ビットA/D変換器4の入力に
接続されている。8ビットA/D変換器4の出力はレジ
スタ43と、減算器44とに接続されている。レジスタ
43の出力は減算器44の減算入力に接続されている。
遅延回路45はノック判定区間信号とレジスタ43の間
に接続されている。
FIG. 4 is a block diagram showing a knock detection peak detection circuit according to a fourth embodiment of the present invention. In the figure, a DC power supply 41 for setting a bias voltage which is a center voltage of an output signal of a knock sensor attached to an internal combustion engine is connected to one terminal of a switch 42. The other terminal of the switch 42 is the input terminal I of this circuit.
N. By switching the switch 42,
The input terminal IN or the DC power supply 41 is connected to the amplifier 1. The output of the amplifier 1 is connected to the input of the 8-bit A / D converter 4. The output of the 8-bit A / D converter 4 is connected to the register 43 and the subtractor 44. The output of the register 43 is connected to the subtraction input of the subtractor 44.
The delay circuit 45 is connected between the knock determination section signal and the register 43.

【0026】次に図4の回路の動作を説明する。ノッキ
ングは内燃機関における燃焼期間でのみ発生するので、
点火ノイズやバルブ振動による誤検出を避けるために、
一般的にはノッキングが発生するタイミング(上死点後
0°〜90°程度)のみをノック判定期間とする。した
がって、ノックセンサからの信号をA/D変換しなくて
も良い時間が存在する。一方、ピーク検出回路の前段の
フィルタ回路で作られるバイアス電圧は、電源と接地間
に直列接続された抵抗器の分割やIC等により生成され
るので、個体差があり、また、温度により変動する。そ
こで本実施例では、この時間にノックセンサからの信号
を遮断し、その変わりにノックセンサの出力信号の中心
電圧となるバイアス電圧をA/D変換器4に入力し、A
/D変換した値をオフセット補正値とする。
Next, the operation of the circuit shown in FIG. 4 will be described. Since knocking occurs only during the combustion period in the internal combustion engine,
In order to avoid erroneous detection due to ignition noise and valve vibration,
Generally, only the timing at which knocking occurs (about 0 ° to 90 ° after top dead center) is the knock determination period. Therefore, there is a time when the signal from the knock sensor does not have to be A / D converted. On the other hand, the bias voltage created by the filter circuit in the preceding stage of the peak detection circuit is generated by the division of resistors connected in series between the power supply and the ground, IC, etc., so that there are individual differences and also fluctuate depending on temperature. . Therefore, in the present embodiment, the signal from the knock sensor is cut off at this time, and instead, the bias voltage serving as the center voltage of the output signal of the knock sensor is input to the A / D converter 4, and A
The value obtained by the / D conversion is used as the offset correction value.

【0027】より詳細には、マイクロコンピュータから
与えられるノック判定区間信号がオフのときは、スイッ
チ42により直流電源41が増幅器1の入力に接続さ
れ、直流電源41の電圧、例えば、2.5V、が8ビッ
トA/D変換器4によりA/D変換される。遅延回路4
5はノック判定区間信号のオフの開始時を必要な時間だ
け遅延させて得られるラッチトリガ信号をレジスタ43
に入力する。レジスタ43はラッチトリガ信号に応答し
て、8ビットA/D変換器4の出力であるオフセットA
/D変換値を格納する。オフセットA/D変換値はオフ
セット補正値としてレジスタ43から取り出される。
More specifically, when the knock determination section signal given from the microcomputer is off, the switch 42 connects the DC power supply 41 to the input of the amplifier 1 and the voltage of the DC power supply 41, for example, 2.5V, Is A / D converted by the 8-bit A / D converter 4. Delay circuit 4
5 is a register 43 which is a latch trigger signal obtained by delaying the start time of turning off the knock determination section signal by a necessary time.
To enter. The register 43 responds to the latch trigger signal and outputs the offset A which is the output of the 8-bit A / D converter 4.
Stores the / D conversion value. The offset A / D conversion value is fetched from the register 43 as an offset correction value.

【0028】次に、ノック判定区間信号がオンになる
と、スイッチ42が切り換わり、入力端子INに印加さ
れているノックセンサからの信号が増幅器1で増幅さ
れ、8ビットA/D変換器4に入力される。8ビットA
/D変換器4はこれをA/D変換してディジタルデータ
を得る。減算器44はこのディジタルデータから、レジ
スタ43からのオフセット補正値を減算して、片山の波
高値を得る。この片山の波高値がマイクロコンピュータ
に送られる。
Next, when the knock determination section signal is turned on, the switch 42 is switched, and the signal from the knock sensor applied to the input terminal IN is amplified by the amplifier 1 to the 8-bit A / D converter 4. Is entered. 8-bit A
The / D converter 4 A / D-converts this to obtain digital data. The subtractor 44 subtracts the offset correction value from the register 43 from this digital data to obtain the peak value of Katayama. The peak value of this Katayama is sent to the microcomputer.

【0029】これにより、オフセット補正値は直流電源
41の個体差や温度変動に応じて、非ノック判定区間の
間に変動するので、常に適正な波高値をマイクロコンピ
ュータに入力することができ、ノック判定をより正確に
行うことができる。図5は本発明の第5の実施例による
ノッキング検出用ピーク検出回路内のレジスタを示すブ
ロック図である。同図において、図4に示したレジスタ
43に替えて、図4の8ビットA/D変換器4の出力で
あるオフセットA/D変換値を格納する前段の8ビット
レジスタ51と、加算器52と、加算器52の出力を下
位方向に1ビットシフトするシフトレジスタ53と、シ
フトレジスタ53の内容を格納する後段の8ビットシフ
トレジスタ54と、ノック判定区間信号を必要な時間だ
け遅延させる遅延回路5と、遅延された信号を更に遅延
させる遅延回路56とを備えたレジスタが示されてい
る。
As a result, the offset correction value fluctuates during the non-knock determination section according to the individual difference of the DC power supply 41 and the temperature fluctuation, so that a proper peak value can be always inputted to the microcomputer, and the knocking value can be inputted. The determination can be made more accurately. FIG. 5 is a block diagram showing a register in a peak detection circuit for knocking detection according to a fifth embodiment of the present invention. In the figure, instead of the register 43 shown in FIG. 4, an 8-bit register 51 at the preceding stage for storing the offset A / D converted value output from the 8-bit A / D converter 4 in FIG. A shift register 53 for shifting the output of the adder 52 in the lower direction by 1 bit, an 8-bit shift register 54 in the subsequent stage for storing the contents of the shift register 53, and a delay circuit for delaying the knock determination section signal by a necessary time. 5, a register with 5 and a delay circuit 56 for further delaying the delayed signal is shown.

【0030】次に図5の回路の動作を説明する。前段の
8ビットレジスタ51は8ビットA/D変換器4から出
力されたオフセットA/D変換値を、遅延回路55によ
りノック判定区間信号をタイミング調整のために必要な
だけ遅延させた信号に応じてラッチする。加算器52は
後段の8ビットレジスタ54にラッチされているデータ
と前段の8ビットレジスタ51にラッチされているオフ
セットA/D変換値とを加算する。シフトレジスタ53
はその加算値を1/2にするべく下位方向に1ビットシ
フトする。8ビットレジスタ54はシフトレジスタ53
によりシフトされたデータを、遅延回路56によりノッ
ク判定区間信号をタイミング調整のために必要なだけ更
に遅延させた信号に応じてラッチする。これにより、後
段の8ビットレジスタ54には、前回のサンプリング時
のオフセットA/D変換値と今回のサンプリング時のオ
フセットA/D変換値との平均値がラッチされることに
なる。その平均値のデータを新オフセット補正値とし
て、図4の減算器44に入力する。 これにより、異常
なオフセット値により算出された波高値がマイクロコン
ピュータに入力される確率が減少する。
Next, the operation of the circuit shown in FIG. 5 will be described. The 8-bit register 51 at the preceding stage responds to the offset A / D converted value output from the 8-bit A / D converter 4 by the delay circuit 55 by delaying the knock determination section signal by a necessary amount for timing adjustment. To latch. The adder 52 adds the data latched in the subsequent 8-bit register 54 and the offset A / D conversion value latched in the previous 8-bit register 51. Shift register 53
Shifts one bit in the lower direction so that the added value is halved. The 8-bit register 54 is the shift register 53
The data shifted by is latched according to the signal obtained by further delaying the knock determination section signal by the delay circuit 56 by the amount necessary for timing adjustment. As a result, the average value of the offset A / D converted value at the time of the previous sampling and the offset A / D converted value at the time of the current sampling is latched in the subsequent 8-bit register 54. The average value data is input to the subtractor 44 of FIG. 4 as a new offset correction value. This reduces the probability that the peak value calculated by the abnormal offset value will be input to the microcomputer.

【0031】尚、図5では前段のレジスタの内容と後段
のレジスタの内容との2つのレジスタの内容の平均をと
っているが、これに替えて複数のレジスタの内容の平均
を求めるようにしてもよい。図6は本発明の第6の実施
例によるノッキング検出用ピーク検出回路内のレジスタ
を示すブロック図である。同図において、図4に示した
レジスタ43に替えて、図4の8ビットA/D変換器4
の出力であるオフセットA/D変換値を格納する前段の
8ビットレジスタ61と、オフセット補正値の上限設定
値(例えば16進表示で88、以下88hと記載する)
を格納する上限設定値レジスタ62と、比較器63と、
オフセット補正値の標準値(例えば80h)を格納する
標準値レジスタ64と、スイッチ65と、後段の8ビッ
トレジスタ66、遅延回路67とを備えたレジスタが示
されている。
In FIG. 5, the average of the contents of the two registers, that is, the contents of the registers in the preceding stage and the contents of the registers in the latter stage is taken, but instead of this, the contents of the plurality of registers are averaged. Good. FIG. 6 is a block diagram showing a register in a peak detection circuit for knocking detection according to a sixth embodiment of the present invention. In the figure, instead of the register 43 shown in FIG. 4, the 8-bit A / D converter 4 of FIG.
An 8-bit register 61 in the preceding stage that stores the offset A / D conversion value that is the output of, and the upper limit setting value of the offset correction value (for example, 88 in hexadecimal notation, hereinafter described as 88h)
An upper limit set value register 62 for storing
A register including a standard value register 64 for storing a standard value (for example, 80h) of an offset correction value, a switch 65, an 8-bit register 66 at a subsequent stage, and a delay circuit 67 is shown.

【0032】次に図6の回路の動作を説明する。前段の
8ビットレジスタ61は8ビットA/D変換器4から出
力されたオフセットA/D変換値を、遅延回路67によ
りノック判定区間信号をタイミング調整のために必要な
だけ遅延させた信号に応じてラッチする。比較器63は
8ビットレジスタ61の内容と上限設定値レジスタ62
の内容とを比較して、8ビットレジスタ61の出力が上
限値格納レジスタ62の出力より大きい場合に異常信号
を出力する。スイッチ65は比較器63から異常信号が
出力されたときは標準値格納レジスタ64に格納されて
いる標準値を新オフセット補正値として後段の8ビット
レジスタ66に格納し、異常信号が出力されていないと
きは前段の8ビットレジスタ66の出力を新オフセット
補正値として後段の8ビットレジスタ66に格納する。
8ビットレジスタ66の出力は図4に示した減算器44
に新オフセット値として与えられる。
Next, the operation of the circuit shown in FIG. 6 will be described. The 8-bit register 61 in the preceding stage responds to the offset A / D converted value output from the 8-bit A / D converter 4 by the delay circuit 67 by delaying the knock determination section signal by a necessary amount for timing adjustment. To latch. The comparator 63 includes the contents of the 8-bit register 61 and the upper limit set value register 62.
When the output of the 8-bit register 61 is larger than the output of the upper limit value storage register 62, an abnormality signal is output. When an abnormal signal is output from the comparator 63, the switch 65 stores the standard value stored in the standard value storage register 64 as a new offset correction value in the subsequent 8-bit register 66, and no abnormal signal is output. At this time, the output of the 8-bit register 66 in the previous stage is stored in the 8-bit register 66 in the subsequent stage as a new offset correction value.
The output of the 8-bit register 66 is the subtractor 44 shown in FIG.
As a new offset value.

【0033】これにより、異常なオフセット値により算
出された波高値がマイクロコンピュータに入力される確
率が一層減少する。尚、図6では図4における8ビット
A/D変換器4のノック判定区間信号オフ時の出力であ
るオフセットA/D変換値を8ビットレジスタ61に入
力したが、これに替えて、図5の後段の8ビットレジス
タ54の内容である新オフセット補正値を8ビットレジ
スタ61に入力しても同様の効果が得られる。
As a result, the probability that the peak value calculated by the abnormal offset value is input to the microcomputer is further reduced. In FIG. 6, the offset A / D conversion value, which is the output of the 8-bit A / D converter 4 shown in FIG. 4 when the knock determination section signal is off, is input to the 8-bit register 61. The same effect can be obtained by inputting the new offset correction value, which is the content of the subsequent 8-bit register 54, to the 8-bit register 61.

【0034】また、図6では上限設定値レジスタ62を
設ける例を示したが、これに替えてオフセット補正値の
下限値を設定する下限設定値レジスタを設け、オフセッ
トA/D変換値が下限値を下回ったときに標準値を新オ
フセット補正値とする構成にしても、同様の効果が得ら
れる。図7は本発明の第7の実施例によるノッキング検
出用ピーク検出回路内のレジスタを示すブロック図であ
る。同図において、図4に示したレジスタ43に替え
て、オフセット補正値の下限値(例えば78h)を格納
する下限設定値レジスタ71と、図4の8ビットA/D
変換器4の出力であるオフセットA/D変換値と上記下
限値とを比較する比較器72と、スイッチ73と、8ビ
ットA/D変換器74とを備えたレジスタが示されてい
る。
Although FIG. 6 shows an example in which the upper limit set value register 62 is provided, instead of this, a lower limit set value register for setting the lower limit value of the offset correction value is provided and the offset A / D conversion value is set to the lower limit value. Even if the standard value is used as the new offset correction value when the value is less than, the same effect can be obtained. FIG. 7 is a block diagram showing a register in a knock detection peak detection circuit according to a seventh embodiment of the present invention. In the figure, instead of the register 43 shown in FIG. 4, a lower limit set value register 71 for storing a lower limit value (eg, 78h) of the offset correction value and an 8-bit A / D of FIG.
A register including a comparator 72 for comparing the offset A / D conversion value output from the converter 4 with the lower limit value, a switch 73, and an 8-bit A / D converter 74 is shown.

【0035】次に図7の回路の動作を説明する。図4の
8ビットA/D変換器4からノック判定区間信号のオフ
時に出力されるオフセットA/D変換値は、比較器72
により下限設定値レジスタ71からの下限値と比較され
る。オフセットA/D変換値がノイズ等の影響により予
め定められた下限値を下回った場合、比較器72は異常
信号を出力する。スイッチ73はその異常信号が比較器
72から出力されたときは下限設定値レジスタ71に格
納されている下限値を第2新オフセット補正値として図
4に示した減算器44に与える。オフセットA/D変換
値がノイズ等の影響により予め定められた下限値以上で
あれば、オフセットA/D変換値を第2新オフセット補
正値として図4に示した減算器44に与える。
Next, the operation of the circuit shown in FIG. 7 will be described. The offset A / D conversion value output from the 8-bit A / D converter 4 of FIG.
Is compared with the lower limit value from the lower limit set value register 71. When the offset A / D converted value falls below a predetermined lower limit value due to the influence of noise or the like, the comparator 72 outputs an abnormal signal. When the abnormal signal is output from the comparator 72, the switch 73 gives the lower limit value stored in the lower limit set value register 71 to the subtractor 44 shown in FIG. 4 as the second new offset correction value. If the offset A / D conversion value is equal to or larger than the predetermined lower limit value due to the influence of noise or the like, the offset A / D conversion value is given to the subtractor 44 shown in FIG. 4 as the second new offset correction value.

【0036】これにより、異常なオフセット値により算
出された波高値がマイクロコンピュータに入力される確
率が一層減少する。尚、図7では図4における8ビット
A/D変換器4のノック判定区間信号オフ時の出力であ
るオフセットA/D変換値を比較器72に入力したが、
これに替えて、図5の8ビットレジスタ54の内容であ
る新オフセット補正値を比較器72に入力しても同様の
効果が得られる。
As a result, the probability that the peak value calculated by the abnormal offset value is input to the microcomputer is further reduced. In FIG. 7, the offset A / D conversion value, which is the output of the 8-bit A / D converter 4 in FIG. 4 when the knock determination section signal is off, is input to the comparator 72.
Alternatively, the same effect can be obtained by inputting the new offset correction value, which is the contents of the 8-bit register 54 of FIG. 5, to the comparator 72.

【0037】また、図7では下限設定値レジスタ71を
設ける例を示したが、これに替えてオフセット補正値の
上限値を設定する上限設定値レジスタを設け、オフセッ
トA/D変換値が上限値を上回ったときに上限値を第2
新オフセット補正値とする構成にしても、同様の効果が
得られる。図8は本発明の第8の実施例によるノッキン
グ検出用ピーク検出回路内のレジスタを示すブロック図
である。同図において、図4に示したレジスタ43に替
えて、図4の8ビットA/D変換器4の出力であるオフ
セットA/D変換値を格納する前段の8ビットレジスタ
81と、オフセット補正値の上限値を格納する上限設定
値レジスタ82と、第1の比較器83と、オフセット補
正値の下限値を格納する下限設定値レジスタ84と、第
2の比較器85と、OR回路86と、スイッチ87と、
後段の8ビットレジスタ88と、遅延回路89オフセッ
トA/D変換値90とを備えたレジスタが示されてい
る。
Although FIG. 7 shows an example in which the lower limit set value register 71 is provided, instead of this, an upper limit set value register for setting the upper limit value of the offset correction value is provided and the offset A / D conversion value is set to the upper limit value. If the value exceeds
The same effect can be obtained even with the configuration in which the new offset correction value is used. FIG. 8 is a block diagram showing a register in a peak detection circuit for knocking detection according to an eighth embodiment of the present invention. In the figure, instead of the register 43 shown in FIG. 4, an 8-bit register 81 in the preceding stage for storing the offset A / D conversion value output from the 8-bit A / D converter 4 in FIG. The upper limit set value register 82 for storing the upper limit value of the offset correction value, the first comparator 83, the lower limit set value register 84 for storing the lower limit value of the offset correction value, the second comparator 85, the OR circuit 86, Switch 87,
A register including an 8-bit register 88 in the subsequent stage and a delay circuit 89 offset A / D conversion value 90 is shown.

【0038】次に図8の回路の動作を説明する。前段の
8ビットA/D変換器81の内容は、比較器83オフセ
ットA/D変換値85によりそれぞれ上限値及び下限値
と比較され、ノイズ等の影響によりその上限値と下限値
との間の範囲外となったとき、OR回路86から異常信
号が出力される。異常信号が出力されると、スイッチ8
7はオフとなり、遅延回路89及び90を介するノック
判定区間信号が後段の8ビットA/D変換器88に入力
されなくなる。この結果、後段の8ビットA/D変換器
88には、前回のサンプリング時のデータがそのまま更
新されずに残る。前段の8ビットA/D変換器81の内
容が上限値と下限値との間の範囲内であれば、スイッチ
87はオンのままであり、ノック判定区間信号に応じて
前段の8ビットA/D変換器81の内容が次々に後段の
8ビットA/D変換器88にラッチされる。後段の8ビ
ットA/D変換器88に格納されているデータを新オフ
セット補正値として、図4の減算器44に入力する。
Next, the operation of the circuit shown in FIG. 8 will be described. The contents of the 8-bit A / D converter 81 at the preceding stage are compared with the upper limit value and the lower limit value by the comparator 83 offset A / D converted value 85, respectively. When out of the range, the OR circuit 86 outputs an abnormal signal. When an abnormal signal is output, switch 8
7 is turned off, and the knock determination section signal via the delay circuits 89 and 90 is not input to the subsequent 8-bit A / D converter 88. As a result, the data at the previous sampling remains in the 8-bit A / D converter 88 in the subsequent stage without being updated. If the content of the 8-bit A / D converter 81 in the preceding stage is within the range between the upper limit value and the lower limit value, the switch 87 remains on, and the 8-bit A / D signal in the preceding stage depends on the knock determination section signal. The contents of the D converter 81 are sequentially latched in the subsequent 8-bit A / D converter 88. The data stored in the subsequent 8-bit A / D converter 88 is input to the subtractor 44 in FIG. 4 as a new offset correction value.

【0039】これにより、異常なオフセット値により算
出された波高値がマイクロコンピュータに入力される確
率が一層減少する。尚、図8では図4における8ビット
A/D変換器4のノック判定区間信号オフ時の出力であ
るオフセットA/D変換値を前段の8ビットA/D変換
器81に入力したが、これに替えて、図5の8ビットレ
ジスタ54の内容である新オフセット補正値を8ビット
A/D変換器81に入力しても同様の効果が得られる。
As a result, the probability that the peak value calculated from the abnormal offset value is input to the microcomputer is further reduced. In FIG. 8, the offset A / D conversion value, which is the output of the 8-bit A / D converter 4 in FIG. 4 when the knock determination section signal is off, is input to the 8-bit A / D converter 81 in the preceding stage. Alternatively, the same effect can be obtained by inputting the new offset correction value, which is the contents of the 8-bit register 54 of FIG. 5, to the 8-bit A / D converter 81.

【0040】図9は本発明の第9の実施例によるノック
判定回路を示すブロック図である。同図において、この
回路は、図1から図8に示されたノッキング検出用ピー
ク検出回路における8ビットA/D変換器4の出力であ
るA/D変換値の最大値をノック判定区間毎に保持する
最大値ホールド回路91と、その最大値を平均化するな
まし回路92と、k倍の増幅器93と、k×0.9倍の
増幅器94と、図6、図7、及び図8に示した異常信号
に応答して切り換わるスイッチ95と、ノック判定をす
る比較器96とを備えている。
FIG. 9 is a block diagram showing a knock determination circuit according to the ninth embodiment of the present invention. In this figure, this circuit shows the maximum value of the A / D converted value which is the output of the 8-bit A / D converter 4 in the peak detection circuit for knocking detection shown in FIGS. 1 to 8 for each knock determination section. A maximum value hold circuit 91 for holding, an averaging circuit 92 for averaging the maximum value, an amplifier 93 for k times, an amplifier 94 for k × 0.9 times, and FIGS. 6, 7, and 8. A switch 95 that switches in response to the abnormal signal shown and a comparator 96 that makes a knock determination are provided.

【0041】次に図9の回路の動作を説明する。最大値
ホールド回路91に保持されている値は比較器96の一
方の入力に与えられるとともに、なまし回路92にも入
力される。なまし回路92では図5に示したような手法
でホールド値を平均化する。なまし回路92の出力は増
幅器93によりk倍に増幅されるとともに、増幅器94
によりk×0.9倍に増幅される。異常信号が発生して
いないときは、増幅率の大きい増幅器93の出力が比較
器96の他方の入力に与えられている。この場合、比較
器96の出力がノック判定の閾値となっている。ところ
が、オフセットA/D変換値または新オフセット補正値
が限界値を越えて、図6、図7、及び図8に示したオフ
セットの異常信号が発生すると、この異常信号に応答し
てスイッチ95が切り換わって増幅率の小さい増幅器9
4の出力が比較器96の他方に入力に与えられる。こう
して、異常信号が発生している場合はノック判定の閾値
レベルを低下させることにより、ノック検出の機会を多
くする。ノッキングが検出されると点火時期は遅角され
るので、ノッキングが発生しにくくなり、それにより内
燃機関の破壊防止に寄与することができる。
Next, the operation of the circuit shown in FIG. 9 will be described. The value held in the maximum value hold circuit 91 is given to one input of the comparator 96 and also to the moderating circuit 92. The smoothing circuit 92 averages the hold values by the method shown in FIG. The output of the averaging circuit 92 is amplified k times by the amplifier 93, and the amplifier 94
Is amplified by k × 0.9 times. When no abnormal signal is generated, the output of the amplifier 93 having a large amplification factor is given to the other input of the comparator 96. In this case, the output of the comparator 96 serves as a threshold for knock determination. However, when the offset A / D conversion value or the new offset correction value exceeds the limit value and the abnormal signal of the offset shown in FIGS. 6, 7, and 8 occurs, the switch 95 responds to this abnormal signal, and the switch 95 Amplifier 9 with switching and small amplification factor
The output of 4 is provided to the input of the other side of the comparator 96. In this way, when an abnormal signal is generated, the threshold level for knock determination is lowered to increase the chance of knock detection. Since ignition timing is retarded when knocking is detected, knocking is less likely to occur, which can contribute to prevention of destruction of the internal combustion engine.

【0042】図10は本発明の第10の実施例によるノ
ッキング検出用ピーク検出回路のリセット回路を示すブ
ロック図である。同図において、本実施例によるリセッ
ト回路は、図6、図7、及び図8に示した異常信号を検
出するワンショットマルチバイブレータ101と、AN
D回路102とを備えている。動作において、図6、図
7、及び図8に示した異常信号が発生すると、ワンショ
ットマルチバイブレータ101はその出力信号を一定時
間だけハイレベルにしてAND回路102の一方の入力
に与える。これにより、図1から図8に示したノッキン
グ検出用ピーク検出回路はリセットされる。外部リセッ
ト信号が入力された場合も、AND回路102の他方の
入力に与えられ、それによりやはりノッキング検出用ピ
ーク検出回路はリセットされる。
FIG. 10 is a block diagram showing a reset circuit of a knock detection peak detection circuit according to a tenth embodiment of the present invention. In the figure, the reset circuit according to the present embodiment includes a one-shot multivibrator 101 for detecting an abnormal signal shown in FIGS. 6, 7, and 8 and an AN.
And a D circuit 102. In operation, when the abnormal signal shown in FIGS. 6, 7, and 8 is generated, the one-shot multivibrator 101 sets its output signal to the high level for a certain period of time and applies it to one input of the AND circuit 102. As a result, the peak detection circuit for knocking detection shown in FIGS. 1 to 8 is reset. Even when the external reset signal is input, it is applied to the other input of the AND circuit 102, and the peak detection circuit for knocking detection is also reset.

【0043】なお、実際の構成では、リセットはノック
判定区間外に行うようにして、ノック制御に対する影響
を少なくするようにしている。以上の説明においては、
8ビットA/D変換器4を用いたが、これに替えて、必
要に応じて任意のビットのA/D変換器を用いてもよい
ことは勿論である。
In the actual configuration, the reset is performed outside the knock determination section to reduce the influence on the knock control. In the above description,
Although the 8-bit A / D converter 4 is used, it is needless to say that an A / D converter having an arbitrary bit may be used instead of the 8-bit A / D converter 4.

【0044】[0044]

【発明の効果】以上の説明から明らかなように、本発明
によれば、ノッキング検出用ピーク検出回路をA/D変
換器を用いて構成したので、電子制御装置の高密度化及
びIC化が可能になるという効果を奏する。さらに詳細
な効果としては、ノックセンサの出力波形が正弦波に近
くその各部では緩慢に変化する線形信号に近いことに着
目して、A/D変換器に入力される信号のゲインを、入
力又は出力信号の振幅に応じて簡単に切り換えることが
でき、A/D変換器のダイナミックレンジの範囲を有効
に利用することができる。
As is apparent from the above description, according to the present invention, the peak detection circuit for knocking detection is configured by using the A / D converter, so that the electronic control device can be highly integrated and integrated into an IC. It has the effect of being possible. As a more detailed effect, paying attention to the fact that the output waveform of the knock sensor is close to a sine wave and is close to a linear signal that slowly changes in each part, and the gain of the signal input to the A / D converter is input or It can be easily switched according to the amplitude of the output signal, and the dynamic range of the A / D converter can be effectively used.

【0045】さらに、フィルタ回路の出力信号の中心電
圧であるバイアス電圧を定めるオフセット値が、バイア
ス電圧を供給する電源の個体差や温度変化により変化し
てもその変化を学習させることができるので、最適のオ
フセット補正値で出力波高値をマイクロコンピュータに
出力できるノッキング検出用ピーク検出回路が得られる
という効果を奏する。
Further, even if the offset value that determines the bias voltage, which is the center voltage of the output signal of the filter circuit, changes due to the individual difference of the power source supplying the bias voltage or the temperature change, the change can be learned. It is possible to obtain the knock detection peak detection circuit capable of outputting the output peak value to the microcomputer with the optimum offset correction value.

【0046】さらに、オフセット補正値がノイズ等の影
響で予め設定した限界範囲を越えた場合に、新オフセッ
ト補正値をその限界内の値にすることにより、異常なオ
フセット値により算出された波高値がマイクロコンピュ
ータに入力される確率が減少するという効果を奏する。
さらに、オフセット補正値がノイズ等の影響で予め設定
した限界範囲を越えた場合に、ノック判定の閾値レベル
を低下させたり、ノッキング検出用ピーク検出回路をリ
セットすることにより、内燃機関の破壊防止に寄与する
ことができるという効果を奏する。
Further, when the offset correction value exceeds the preset limit range due to the influence of noise or the like, the peak value calculated by the abnormal offset value is set by setting the new offset correction value within the limit. Has the effect of reducing the probability of input to the microcomputer.
Further, when the offset correction value exceeds a preset limit range due to the influence of noise or the like, the knock detection threshold level is lowered or the peak detection circuit for knocking detection is reset to prevent the internal combustion engine from being destroyed. The effect that it can contribute is produced.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1の実施例によるノッキング検出用
ピーク検出回路を示すブロック図である。
FIG. 1 is a block diagram showing a peak detection circuit for knocking detection according to a first embodiment of the present invention.

【図2】本発明の第2の実施例によるノッキング検出用
ピーク検出回路を示すブロック図である。
FIG. 2 is a block diagram showing a peak detection circuit for knocking detection according to a second embodiment of the present invention.

【図3】本発明の第3の実施例によるノッキング検出用
ピーク検出回路を示すブロック図である。
FIG. 3 is a block diagram showing a peak detection circuit for knocking detection according to a third embodiment of the present invention.

【図4】本発明の第4の実施例によるノッキング検出用
ピーク検出回路を示すブロック図である。
FIG. 4 is a block diagram showing a peak detection circuit for knocking detection according to a fourth embodiment of the present invention.

【図5】本発明の第5の実施例によるノッキング検出用
ピーク検出回路内のレジスタを示すブロック図である。
FIG. 5 is a block diagram showing a register in a knock detection peak detection circuit according to a fifth embodiment of the present invention.

【図6】本発明の第6の実施例によるノッキング検出用
ピーク検出回路内のレジスタを示すブロック図である。
FIG. 6 is a block diagram showing a register in a knock detection peak detection circuit according to a sixth embodiment of the present invention.

【図7】本発明の第7の実施例によるノッキング検出用
ピーク検出回路内のレジスタを示すブロック図である。
FIG. 7 is a block diagram showing a register in a peak detection circuit for knocking detection according to a seventh embodiment of the present invention.

【図8】本発明の第8の実施例によるノッキング検出用
ピーク検出回路内のレジスタを示すブロック図である。
FIG. 8 is a block diagram showing a register in a knock detection peak detection circuit according to an eighth embodiment of the present invention.

【図9】本発明の第9の実施例によるノック判定回路を
示すブロック図である。
FIG. 9 is a block diagram showing a knock determination circuit according to a ninth embodiment of the present invention.

【図10】本発明の第10の実施例によるリセット回路
を示すブロック図である。
FIG. 10 is a block diagram showing a reset circuit according to a tenth embodiment of the present invention.

【図11】従来のノック制御装置を示すブロック図であ
る。
FIG. 11 is a block diagram showing a conventional knock control device.

【図12】従来のノッキング検出用ピーク検出回路を示
す回路図である。
FIG. 12 is a circuit diagram showing a conventional peak detection circuit for knocking detection.

【符号の説明】[Explanation of symbols]

1…第1の増幅器 2…第2の増幅器 3…スイッチ 4…8ビットA/D変換器 5…比較器 21…比較器 31…ビットシフト回路 43…レジスタ 44…減算器 50…平均化回路 61…前段のレジスタ 62…上限設定値レジスタ 63…比較器 64…標準値レジスタ 65…スイッチ 66…後段のレジスタ 71…下限設定値レジスタ 72…比較器 73…スイッチ 74…8ビットレジスタ 81…前段のレジスタ 82…上限設定値レジスタ 83…比較器 84…下限設定値レジスタ 85…比較器 88…後段のレジスタ 90…レベル形成回路 DESCRIPTION OF SYMBOLS 1 ... 1st amplifier 2 ... 2nd amplifier 3 ... Switch 4 ... 8-bit A / D converter 5 ... Comparator 21 ... Comparator 31 ... Bit shift circuit 43 ... Register 44 ... Subtractor 50 ... Averaging circuit 61 ... front stage register 62 ... upper limit set value register 63 ... comparator 64 ... standard value register 65 ... switch 66 ... rear stage register 71 ... lower limit set value register 72 ... comparator 73 ... switch 74 ... 8-bit register 81 ... previous stage register 82 ... Upper limit set value register 83 ... Comparator 84 ... Lower limit set value register 85 ... Comparator 88 ... Post-stage register 90 ... Level forming circuit

フロントページの続き (72)発明者 室田 和明 兵庫県神戸市兵庫区御所通1丁目2番28号 富士通テン株式会社内 (72)発明者 木村 修治 兵庫県神戸市兵庫区御所通1丁目2番28号 富士通テン株式会社内 (72)発明者 安芸 隆啓 兵庫県神戸市兵庫区御所通1丁目2番28号 富士通テン株式会社内Front page continuation (72) Inventor Kazuaki Murota 1-2-2 Goshodori, Hyogo-ku, Kobe-shi, Hyogo Within Fujitsu Ten Ltd. (72) Inventor Shuji Kimura 1-2-2 Gosho-dori, Hyogo-ku, Kobe, Hyogo Prefecture No. 28 within Fujitsu Ten Limited (72) Inventor Takahiro Aki 1-2-2 Goshodori, Hyogo-ku, Kobe, Hyogo Prefecture Within Ten Ten Fujitsu Limited

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 内燃機関に取り付けられたノックセンサ
からのアナログ信号のピーク値を検出するピーク検出回
路において、A/D開始信号に応じて前記アナログ信号
をA/D変換して得られるディジタル信号をノック判定
装置に与えるA/D変換器(4)と、前記A/D変換器
の出力値が前記A/D変換器のダイナミックレンジ内の
所定値を越えたかどうかを判定する比較器(5)と、前
記ノックセンサの出力信号を増幅する第1の増幅器
(1)と、前記第1の増幅器より増幅率が大きい第2の
増幅器(2)と、前記比較器(5)により前記A/D変
換器(4)の出力値が前記所定値を越えたと判定された
時に前記第1の増幅器の出力を前記A/D変換器に入力
し、前記比較器により前記A/D変換器の出力値が前記
所定値以下と判定された時は前記第2の増幅器の出力を
前記A/D変換器に入力するスイッチ(3)とを備えた
ことを特徴とするノッキング検出用ピーク検出回路。
1. A digital signal obtained by A / D converting the analog signal according to an A / D start signal in a peak detection circuit for detecting a peak value of the analog signal from a knock sensor attached to an internal combustion engine. And a comparator (5) for determining whether the output value of the A / D converter exceeds a predetermined value within the dynamic range of the A / D converter. ), A first amplifier (1) for amplifying an output signal of the knock sensor, a second amplifier (2) having a larger amplification factor than the first amplifier, and the comparator (5) When it is determined that the output value of the D converter (4) exceeds the predetermined value, the output of the first amplifier is input to the A / D converter, and the output of the A / D converter is output by the comparator. It was judged that the value was less than the specified value And a switch (3) for inputting the output of the second amplifier to the A / D converter when the peak detection circuit for knocking detection.
【請求項2】 内燃機関に取り付けられたノックセンサ
からのアナログ信号のピーク値を検出するピーク検出回
路において、A/D判定開始信号に応じて前記アナログ
信号をA/D変換して得られるディジタル信号をノック
判定装置に与えるA/D変換器(4)と、前記ノックセ
ンサの出力信号を増幅する第1の増幅器(1)と、前記
第1の増幅器より増幅率が大きい第2の増幅器(2)
と、前記第1の増幅器の出力レベルが前記A/D変換器
のダイナミックレンジ内の所定値を越えたかどうかを判
定する比較器(21)と、前記A/D開始信号の入力時
に前記比較器が前記第1の増幅器の出力レベルが前記A
/D変換器の前記所定値を越えたと判定した時に、前記
第1の増幅器の出力を前記A/D変換器に入力し、前記
比較器により前記第1の増幅器の出力レベルが前記所定
値以下と判定された時は前記第2の増幅器の出力を前記
A/D変換器に入力するスイッチ(3)とを備えたこと
を特徴とするノッキング検出用ピーク検出回路。
2. A digital signal obtained by A / D converting the analog signal according to an A / D determination start signal in a peak detection circuit for detecting a peak value of the analog signal from a knock sensor mounted on an internal combustion engine. An A / D converter (4) that gives a signal to a knock determination device, a first amplifier (1) that amplifies the output signal of the knock sensor, and a second amplifier (amplification factor that is larger than the first amplifier ( 2)
A comparator (21) for determining whether or not the output level of the first amplifier exceeds a predetermined value within the dynamic range of the A / D converter; and the comparator when the A / D start signal is input. Is the output level of the first amplifier is A
When it is determined that the A / D converter exceeds the predetermined value, the output of the first amplifier is input to the A / D converter, and the comparator causes the output level of the first amplifier to be less than or equal to the predetermined value. And a switch (3) for inputting the output of the second amplifier to the A / D converter when it is determined that the peak detection circuit for knocking detection.
【請求項3】 前記比較器により前記A/D変換器の出
力値が前記所定値を越えたと判定された時に、前記A/
D変換器の出力をnビット(nは正の整数)だけシフト
し、前記比較器により前記A/D変換器の出力値が前記
所定値以下と判定されたときは前記A/D変換器の出力
をビットシフトしないで出力するビットシフト回路(3
1)を更に備え、前記ビットシフト回路の出力を前記ノ
ック判定装置に入力するようにした請求項1記載のノッ
キング検出用ピーク検出回路。
3. The A / D converter when the comparator determines that the output value of the A / D converter exceeds the predetermined value.
The output of the D converter is shifted by n bits (n is a positive integer), and when the comparator determines that the output value of the A / D converter is less than or equal to the predetermined value, the A / D converter outputs Bit shift circuit that outputs the output without bit shifting (3
2. The peak detection circuit for knocking detection according to claim 1, further comprising 1), wherein the output of the bit shift circuit is input to the knock determination device.
【請求項4】 前記A/D開始信号の入力時に前記比較
器(21)が前記第1の増幅器(1)の出力レベルが前
記所定値を越えたと判定した時に、前記A/D変換器
(4)の出力をnビットだけシフトし、前記A/D開始
信号の入力時に前記比較器(21)が前記第1の増幅器
の出力レベルが前記所定値以下と判定したときは前記A
/D変換器(4)の出力をビットシフトしないで出力す
るビットシフト回路を更に備え、前記ビットシフト回路
の出力を前記マイクロコンピュータに入力するようにし
た請求項2記載のノッキング検出用ピーク検出回路。
4. The A / D converter () when the comparator (21) determines that the output level of the first amplifier (1) exceeds the predetermined value when the A / D start signal is input. The output of 4) is shifted by n bits, and when the comparator (21) determines that the output level of the first amplifier is less than or equal to the predetermined value when the A / D start signal is input, the A
3. A peak detection circuit for knocking detection according to claim 2, further comprising a bit shift circuit for outputting the output of the D / D converter (4) without bit shifting, and inputting the output of the bit shift circuit to the microcomputer. .
【請求項5】 内燃機関に取り付けられたノックセンサ
からの出力信号の中心電圧となるバイアス電圧を与える
直流電源(41)と、A/D変換器(4)と、ノック判
定区間信号のオフ時には前記直流電源(41)を前記A
/D変換器(4)の入力に接続し、ノック判定区間信号
のオン時には前記ノックセンサからの出力信号を前記A
/D変換器(4)の入力に接続するスイッチ(42)
と、前記ノック判定区間信号のオフ時に前記A/D変換
器から出力される値をオフセット補正値としてラッチす
るレジスタ(43)と、前記ノック判定区間信号のオン
時に前記A/D変換器から出力されるディジタルデータ
から前記オフセット補正値を差し引いて波高値を示すデ
ィジタル信号を得る減算器(44)とを備え、前記減算
器(44)の出力をノッキングを検出するマイクロコン
ピュータに与えるようにしたノッキング検出用ピーク検
出回路。
5. A DC power supply (41) for providing a bias voltage which is a center voltage of an output signal from a knock sensor mounted on an internal combustion engine, an A / D converter (4), and a knock determination section signal when the signal is off. The DC power source (41) is
The output signal from the knock sensor is connected to the A / D converter (4) when the knock determination section signal is ON.
Switch (42) connected to input of D / D converter (4)
A register (43) for latching a value output from the A / D converter as an offset correction value when the knock determination section signal is off, and an output from the A / D converter when the knock determination section signal is on And a subtracter (44) for obtaining a digital signal indicating a peak value by subtracting the offset correction value from the digital data stored therein, and the output of the subtractor (44) is applied to a microcomputer for detecting knocking. Peak detection circuit for detection.
【請求項6】 前記レジスタ(43)は、前記オフセッ
ト補正値を複数のサンプリングタイミングにわたり平均
化して得られる新オフセット補正値を得る平均化回路
(50)を備え、前記減算器(4)は前記ノック判定区
間信号のオン時に前記A/D変換器(4)から出力され
るディジタルデータから前記新オフセット補正値を差し
引いて波高値を示すディジタル信号を得るようにした、
請求項5記載のノッキング検出用ピーク検出回路。
6. The register (43) includes an averaging circuit (50) that obtains a new offset correction value obtained by averaging the offset correction value over a plurality of sampling timings, and the subtractor (4) includes the averaging circuit (50). When the knock determination section signal is turned on, the new offset correction value is subtracted from the digital data output from the A / D converter (4) to obtain a digital signal indicating a peak value.
The knocking peak detecting circuit according to claim 5.
【請求項7】 前記レジスタ(43)は、前記オフセッ
ト補正値又は前記新オフセット補正値を格納する前段の
レジスタ(61)と、予め設定されたオフセットの限界
値を格納する限界値格納レジスタ(62)と、前記前段
のレジスタ(61)の内容が前記限界値格納レジスタ
(62)の内容の範囲外となると異常信号を出力する比
較器(63)と、予め設定されたオフセットの標準値を
格納する標準値格納レジスタ(64)と、スイッチ(6
5)と、後段のレジスタ(66)とを備え、前記スイッ
チ(65)は前記異常信号が出力されたときは前記標準
値格納レジスタ(64)に格納されている標準値を新オ
フセット補正値として前記後段のレジスタ(66)に格
納し、前記異常信号が出力されていないときは前記前段
のレジスタ(61)の出力を新オフセット補正値として
前記後段のレジスタ(66)に格納し、前記後段のレジ
スタ(66)の出力を前記減算器(44)に与えるよう
にした、請求項5又は請求項6記載のノッキング検出用
ピーク検出回路。
7. The register (43) includes a previous stage register (61) for storing the offset correction value or the new offset correction value, and a limit value storage register (62) for storing a preset offset limit value. ), A comparator (63) that outputs an abnormal signal when the content of the register (61) of the preceding stage is out of the range of the content of the limit value storage register (62), and a standard value of preset offset is stored. Standard value storage register (64) and switch (6
5) and a register (66) in the subsequent stage, and the switch (65) uses the standard value stored in the standard value storage register (64) as a new offset correction value when the abnormal signal is output. When the abnormal signal is not output, the output of the register (61) of the preceding stage is stored in the register (66) of the following stage as a new offset correction value. The peak detection circuit for knocking detection according to claim 5 or 6, wherein the output of the register (66) is given to the subtractor (44).
【請求項8】 前記レジスタ(43)は、前記オフセッ
ト補正値又は前記新オフセット補正値を格納する前段の
レジスタと、予め定められた限界値を格納する限界値レ
ジスタ(71)と、前記前段のレジスタの出力が前記限
界値の範囲外となったときに異常信号を出力する比較器
(72)と、スイッチ(73)と、後段のレジスタ(7
4)とを備え、前記スイッチ(73)は前記異常信号が
出力されたときは前記限界値レジスタ(71)に格納さ
れている前記限界値を第2新オフセット補正値として前
記減算器に与えるようにした、請求項5又は請求項6記
載のノッキング検出用ピーク検出回路。
8. The register (43) comprises: a register at a previous stage for storing the offset correction value or the new offset correction value; a limit value register (71) for storing a predetermined limit value; A comparator (72) that outputs an abnormal signal when the output of the register is out of the range of the limit value, a switch (73), and a register (7) in the subsequent stage.
4), the switch (73) applies the limit value stored in the limit value register (71) to the subtracter as a second new offset correction value when the abnormal signal is output. The peak detection circuit for knocking detection according to claim 5 or 6, wherein
【請求項9】 前記レジスタ(43)は、前記オフセッ
ト補正値又は前記新オフセット補正値を格納する前段の
レジスタ(81)と、予め定められた限界値を格納する
限界値レジスタ(82、84)と、前記前段のレジスタ
の出力が前記限界値の範囲外となったときに異常信号を
出力する比較器(83、85)と、スイッチ(87)
と、後段のレジスタ(88)とを備え、前記スイッチ
(87)は前記異常信号が出力されたときはレジスタ
(88)を前記前段のレジスタ(81)の内容で更新せ
ず第2オフセット補正値として前記減算器に与えるよう
にした、請求項5又は請求項6記載のノッキング検出用
ピーク検出回路。
9. The register (43) includes a preceding stage register (81) for storing the offset correction value or the new offset correction value, and a limit value register (82, 84) for storing a predetermined limit value. A comparator (83, 85) for outputting an abnormal signal when the output of the register of the preceding stage is out of the range of the limit value, and a switch (87)
And a register (88) in the subsequent stage, the switch (87) does not update the register (88) with the contents of the register (81) in the previous stage when the abnormal signal is output, and the second offset correction value. 7. The peak detection circuit for knocking detection according to claim 5, wherein the peak detection circuit is given to the subtractor as.
【請求項10】 前記減算器(44)から各ノック判定
区間毎に出力されるA/D変換値の最大値を保持する最
大値保持回路(91)と、ノック判定の閾値レベルを決
定するレベル形成回路(90)と、比較器(96)とを
備え、前記異常信号が出力されたときは前記レベル決定
回路(90)が決定する閾値レベルを下げるようにし
た、請求項7、請求項8及び請求項9のいずれか1項記
載のノッキング検出用ピーク検出回路の出力に接続され
るノック判定回路。
10. A maximum value holding circuit (91) for holding the maximum value of the A / D converted value output from the subtractor (44) for each knock determination section, and a level for determining a threshold level for knock determination. The formation circuit (90) and a comparator (96) are provided, and the threshold level determined by the level determination circuit (90) is lowered when the abnormal signal is output. And a knock determination circuit connected to the output of the knock detection peak detection circuit according to claim 9.
【請求項11】 前記異常信号が出力されたときに、請
求項7、請求項8及び請求項9のいずれか1項記載のノ
ッキング検出用ピーク検出回路全体をリセットするリセ
ット回路。
11. A reset circuit that resets the entire knock detection peak detection circuit according to claim 7, 8 or 9 when the abnormal signal is output.
JP3389796A 1996-02-21 1996-02-21 Peak detector for detecting knocking, knock detecting circuit and resetting circuit Withdrawn JPH09229823A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3389796A JPH09229823A (en) 1996-02-21 1996-02-21 Peak detector for detecting knocking, knock detecting circuit and resetting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3389796A JPH09229823A (en) 1996-02-21 1996-02-21 Peak detector for detecting knocking, knock detecting circuit and resetting circuit

Publications (1)

Publication Number Publication Date
JPH09229823A true JPH09229823A (en) 1997-09-05

Family

ID=12399328

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3389796A Withdrawn JPH09229823A (en) 1996-02-21 1996-02-21 Peak detector for detecting knocking, knock detecting circuit and resetting circuit

Country Status (1)

Country Link
JP (1) JPH09229823A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009200809A (en) * 2008-02-21 2009-09-03 Seiko Epson Corp Integrated circuit device, and electronic device
US7659777B2 (en) 2006-08-04 2010-02-09 Sharp Kabushiki Kaisha Offset adjustment device, semiconductor device, display device, offset adjustment method, noise detection device, and noise detection method
US7786918B2 (en) 2007-12-19 2010-08-31 Seiko Epson Corporation A/D conversion circuit and electronic instrument
JP2013053599A (en) * 2011-09-06 2013-03-21 Denso Corp Abnormal combustion detection apparatus and control unit of internal combustion engine
US8914222B2 (en) 2011-12-12 2014-12-16 Denso Corporation Electronic control unit of internal combustion engine
JP2015101989A (en) * 2013-11-22 2015-06-04 トヨタ自動車株式会社 Cylinder pressure detection device
GB2529050A (en) * 2014-06-26 2016-02-10 Ind Interface Ltd Vibration monitoring system and method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7659777B2 (en) 2006-08-04 2010-02-09 Sharp Kabushiki Kaisha Offset adjustment device, semiconductor device, display device, offset adjustment method, noise detection device, and noise detection method
US7786918B2 (en) 2007-12-19 2010-08-31 Seiko Epson Corporation A/D conversion circuit and electronic instrument
JP2009200809A (en) * 2008-02-21 2009-09-03 Seiko Epson Corp Integrated circuit device, and electronic device
JP2013053599A (en) * 2011-09-06 2013-03-21 Denso Corp Abnormal combustion detection apparatus and control unit of internal combustion engine
US9074538B2 (en) 2011-09-06 2015-07-07 Denso Corporation Abnormal combustion detection apparatus and control unit of internal combustion engine
US8914222B2 (en) 2011-12-12 2014-12-16 Denso Corporation Electronic control unit of internal combustion engine
JP2015101989A (en) * 2013-11-22 2015-06-04 トヨタ自動車株式会社 Cylinder pressure detection device
GB2529050A (en) * 2014-06-26 2016-02-10 Ind Interface Ltd Vibration monitoring system and method

Similar Documents

Publication Publication Date Title
JP2533062Y2 (en) Analog-to-digital conversion circuit
US8914222B2 (en) Electronic control unit of internal combustion engine
JPH09229823A (en) Peak detector for detecting knocking, knock detecting circuit and resetting circuit
US6597245B2 (en) Preamplifier
US5188080A (en) Knocking control system for internal combustion engine
US4985702A (en) Analog to digital converter with second order error correction
JP4249357B2 (en) Object-intrusive capacitive sensor in urban environment
JP3706187B2 (en) A / D conversion circuit for video radio frequency or intermediate frequency signal
US5731771A (en) Circuit for locking a signal to a reference value
US6188264B1 (en) Automatic threshold level control circuit
JPH0715424B2 (en) Knocking detection device
KR100365847B1 (en) Black level detecting circuit of video signal
JP3387306B2 (en) Sensor signal processing device
US5060178A (en) System for analog-digital-analog conversion
JP2836428B2 (en) Knock sensor signal processing device
JP2000134078A (en) Capacitance sensor circuit
US20040125891A1 (en) AM detecting apparatus with overmodulation detecting function
JPH0750581A (en) A/c converter
JP2004301823A (en) Drift cancellation device, and pressure measuring instrument
JPH0242161A (en) Knock detecting device
JP4190110B2 (en) Internal combustion engine knock detection device
JP2795976B2 (en) Knock control device for internal combustion engine
JP3541263B2 (en) Gain setting method
JPS58222942A (en) Knock suppressor for internal combustion engine
WO2001005616A3 (en) Method for processing and storing sensor signals, and a correspondingly designed signal detection device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030506