JPH0435797B2 - - Google Patents

Info

Publication number
JPH0435797B2
JPH0435797B2 JP17653983A JP17653983A JPH0435797B2 JP H0435797 B2 JPH0435797 B2 JP H0435797B2 JP 17653983 A JP17653983 A JP 17653983A JP 17653983 A JP17653983 A JP 17653983A JP H0435797 B2 JPH0435797 B2 JP H0435797B2
Authority
JP
Japan
Prior art keywords
signal
ignition
comparator
interrupt
time
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.)
Expired
Application number
JP17653983A
Other languages
Japanese (ja)
Other versions
JPS5981798A (en
Inventor
Nemeku Deiitaa
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.)
Robert Bosch GmbH
Original Assignee
Robert Bosch GmbH
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 Robert Bosch GmbH filed Critical Robert Bosch GmbH
Publication of JPS5981798A publication Critical patent/JPS5981798A/en
Publication of JPH0435797B2 publication Critical patent/JPH0435797B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R29/00Arrangements for measuring or indicating electric quantities not covered by groups G01R19/00 - G01R27/00
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02PIGNITION, OTHER THAN COMPRESSION IGNITION, FOR INTERNAL-COMBUSTION ENGINES; TESTING OF IGNITION TIMING IN COMPRESSION-IGNITION ENGINES
    • F02P17/00Testing of ignition installations, e.g. in combination with adjusting; Testing of ignition timing in compression-ignition engines

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Ignition Installations For Internal Combustion Engines (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)
  • Measurement Of Current Or Voltage (AREA)
  • Air Bags (AREA)

Description

【発明の詳細な説明】 発明の関連する技術分野 本発明は、測定すべき信号が供給される1つの
ウインドウコンパレータを用いた信号の測定およ
び処理方法に関する。
Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to a method for measuring and processing signals using a single window comparator, which is supplied with the signal to be measured.

技術水準 点火信号を検出するための回路装置は、例えば
エンジン測定装置の場合一般に公知である。エン
ジン測定装置で使用される点火角度および閉成角
(ドエル角)測定回路は、一般にアナログ構成さ
れており、例えば点火火花の開始と終わりの際生
じる測定電流の振動を抑圧するために著しくコス
ト高な部品を必要とする。更にデジタル回路の場
合でも、例えば作動状態の変動によつて信号伝送
路上に障害パルスが生じることがある。このよう
な障害パルスを検出して除去するためにも、従来
大きなコストをかけざるをえなかつた。
State of the Art Circuit arrangements for detecting ignition signals are generally known, for example in the case of engine measuring devices. Ignition angle and dwell angle measurement circuits used in engine measurement devices are generally of analog construction and are significantly more expensive in order to suppress oscillations in the measurement current that occur, for example, at the beginning and end of the ignition spark. Requires parts. Furthermore, even in the case of digital circuits, interference pulses can occur on the signal transmission path, for example due to fluctuations in the operating state. Conventionally, large costs have been required to detect and remove such interference pulses.

発明の効果 本発明の信号の測定および処理方法は、次の利
点を有している。即ち、アナログ信号の場合でも
デジタル信号の場合でも最初の正しいパルス側縁
を検出でき、例えば減衰振動過程および立上がり
過渡振動過程によつて生じる障害パルスを除去す
ることができる。回路をすべてデジタル構成し、
従つて簡単に集積化できることは別の利点であ
る。
Effects of the Invention The signal measurement and processing method of the present invention has the following advantages. This means that the first correct pulse edges can be detected in both analogue and digital signals, and interfering pulses caused, for example, by damped oscillation processes and rising transient oscillation processes can be eliminated. All circuits are configured digitally,
Easy integration is therefore another advantage.

アナログで供給された測定信号を所定のレベル
を有するデジタル信号に変換すると有利である。
そのようにすれば、任意のアナログ信号も処理す
ることができる。測定すべき信号の零点通過の場
合にインターラプト信号を発生すると有利であ
る。そのようにすれば、インターラプト信号を発
生する回路を特に簡単に構成できる。パルスの上
昇縁だけ、またはパルスの下降縁だけを評価すれ
ばよい場合、所定時間ずつとインターラプト信号
が発生せずに信号の下降縁が付加的に先行してい
る時だけマーク信号を発生すると有利である。必
要なデジタル信号を次のような比較器を用いて発
生すると非常に有利である。即ち、測定すべき信
号がウインドウにはいる時に信号を送出する、ま
たは所定の基準値に関して出力信号の状態が変化
する比較器を用いるのである。例えば、点火信号
の場合に生じるように、入力信号の電圧が高い場
合が予期される時には、過度に高い電圧を低減す
る制限器を入力側に設けると有利である。そのよ
うにすると、後続の素子が高電圧によつて破壊さ
れる恐れがなくなる。同様に、この制限器を測定
値の電圧値と比較点とに関して比較器の入力電圧
範囲内の電圧領域に設けると有利である。
It is advantageous to convert the analog supplied measuring signal into a digital signal with a predetermined level.
In this way, any analog signal can also be processed. It is advantageous to generate an interrupt signal in the event of a zero crossing of the signal to be measured. In this way, the circuit for generating the interrupt signal can be constructed particularly easily. If only the rising edge of the pulse or only the falling edge of the pulse needs to be evaluated, it is possible to generate a mark signal only when a falling edge of the signal is additionally preceded by a predetermined period of time without an interrupt signal. It's advantageous. It is very advantageous to generate the necessary digital signals using a comparator such as: That is, a comparator is used, which outputs a signal when the signal to be measured enters a window, or whose output signal changes state with respect to a predetermined reference value. When high voltages of the input signal are expected, as occurs, for example, in the case of ignition signals, it is advantageous to provide a limiter on the input side that reduces excessively high voltages. In this way, there is no risk that subsequent elements will be destroyed by high voltage. It is likewise advantageous to provide this limiter in a voltage range within the input voltage range of the comparator with respect to the voltage value of the measured value and the comparison point.

なおインターラプトの繰返しが速い場合信号の
評価を阻止するフイルタを設けると好適である。
Note that if the repetition of interrupts is rapid, it is preferable to provide a filter to prevent evaluation of the signal.

実施例の説明 第1図は、本発明の信号の測定および処理方法
を実施した装置のブロツク図を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a block diagram of an apparatus implementing the signal measurement and processing method of the invention.

第1図において、入力信号は制限器1に供給さ
れ、入力信号の過渡に高い電圧は制限器1で阻止
される。その際、制限器1は測定信号の比較点、
例えば零点を、後置接続された比較器によつて入
力信号として受取り得る範囲にシフトする。制限
器1の出力信号はそれぞれコンパレータ2とコン
パレータ3とに供給されている。コンパレータ2
とコンパレータ3とは1つのウインドウコンパレ
ータに構成されている。例えば、ジーメンス社の
形名TCA965のウインドウデイスクリミネータが
これに適している。コンパレータ2は、入力信号
が所定電圧を越えると出力側に論理値1の信号を
送出し、所定電圧を下回つていると論理値0の信
号を送出するように作動する。コンパレータ3
は、測定すべき信号が所定ウインドウ内にある
時、出力側に1つのパルスを送出する。コンパレ
ータ2の出力側は、マイクロプロセツサ4の1つ
のポートの入力側に接続されている。コンパレー
タ3の出力側は、マイクロプロセツサ4のインタ
ーラプトまたはタイマ入力側に接続されている。
マイクロプロセツサとしては、例えばモトローラ
社の形名MC6801を使うことができる。マイクロ
プロセツサを用いて、所望の量を算出して指示装
置に出力することができる。そのために、マイク
ロプロセツサ4の出力側は指示装置5と接続され
ている。
In FIG. 1, an input signal is fed to a limiter 1, in which transiently high voltages of the input signal are blocked. In this case, the limiter 1 is the comparison point of the measurement signal,
For example, the zero point is shifted into a range that can be received as an input signal by a downstream comparator. The output signals of the limiter 1 are supplied to a comparator 2 and a comparator 3, respectively. Comparator 2
and comparator 3 are configured into one window comparator. For example, a window discriminator manufactured by Siemens, model number TCA965, is suitable for this purpose. The comparator 2 operates to output a signal with a logic value of 1 to the output side when the input signal exceeds a predetermined voltage, and to output a signal with a logic value of 0 when the input signal exceeds a predetermined voltage. Comparator 3
sends out one pulse at the output when the signal to be measured is within a predetermined window. The output side of the comparator 2 is connected to the input side of one port of the microprocessor 4. The output of the comparator 3 is connected to the interrupt or timer input of the microprocessor 4.
As the microprocessor, for example, Motorola's model MC6801 can be used. Using a microprocessor, the desired amount can be calculated and output to the indicating device. For this purpose, the output side of the microprocessor 4 is connected to an indicating device 5.

第1図の回路装置の動作について、点火信号の
評価に関連して第2図を用いて詳細に説明する。
点火信号の代わりに、入力信号としてTD
(Tacho Diagnose)信号、例えば跳返りのある
信号、または同様の立上がり過渡振動特性および
減衰振動特性を持つた信号を供給することもでき
る。第2図aには、点火コイルの1次巻線に生じ
る点火信号が示されている。断続器の接点が閉じ
られると、点火コイルの1次巻線の端子に所定電
圧が印加される。断続器の接点が開かれると、点
火パルスの際通常生じる過渡振動が生じる。この
過度振動は、減衰正弦波振動の形で経過して所謂
燃焼電圧ライン、即ち燃焼する点火火花を介して
点火コイルの1次側へ変換される電圧で終わる。
電気的に蓄積されたエネルギが点火火花によつて
熱エネルギにほとんど完全に変換された後、電圧
は減衰振動過程に従つて消失する。所定のクラン
ク軸角度で、断続器の接点は再び閉じられる。第
2図aに示したこの点火信号は、高抵抗の制限器
回路を用いてコンパレータ2,3の入力電圧幅に
低減されてこの入力電圧幅に合致される。この入
力電圧幅の大きさは、例えば1.5V〜4Vである。
抵抗によつて、コンパレータ2,3において切換
点ないしウインドウ幅を設定することができる。
コンパレータ2の比較電圧は、例えば最大入力電
圧と最小入力電圧との間に設定され、またコンパ
レータ3のウインドウの中間点でもある。
The operation of the circuit arrangement of FIG. 1 will be explained in detail with reference to FIG. 2 in connection with the evaluation of the ignition signal.
TD as input signal instead of ignition signal
It is also possible to provide a Tacho Diagnose signal, for example a bouncy signal, or a signal with similar rising transient and damped oscillation characteristics. FIG. 2a shows the ignition signal occurring in the primary winding of the ignition coil. When the contacts of the interrupter are closed, a predetermined voltage is applied to the terminals of the primary winding of the ignition coil. When the interrupter contacts are opened, the transient vibrations that normally occur during the ignition pulse occur. This transient oscillation passes in the form of a damped sinusoidal oscillation and ends up in the so-called combustion voltage line, ie the voltage that is transferred via the burning ignition spark to the primary side of the ignition coil.
After the electrically stored energy has been almost completely converted into thermal energy by the ignition spark, the voltage dissipates according to a damped oscillatory process. At a predetermined crankshaft angle, the interrupter contacts are closed again. This ignition signal, shown in FIG. 2a, is reduced to and matched to the input voltage width of the comparators 2, 3 using a high resistance limiter circuit. The magnitude of this input voltage width is, for example, 1.5V to 4V.
A switching point or window width can be set in the comparators 2, 3 by means of resistors.
The comparison voltage of the comparator 2 is set, for example, between the maximum input voltage and the minimum input voltage, and is also the midpoint of the window of the comparator 3.

コンパレータ2によつて、その出力側に第2図
aの信号から第2図bの信号が形成される。例え
ば、OV以下の点火電圧はすべて論理値0の信号
として形成され、OVより大きな点火電圧はすべ
て論理値1の信号として形成される。ウインドウ
コンパレータ3の出力側には、第2図cの信号が
出力され、インターラプト信号と呼ぶ。このイン
ターラプト信号は、第2図aの点火信号が零点通
過する際そのつど短時間発生する。その際、零点
通過の方向は無関係である。更に、第2図dには
マイクロプロセツサ4によつて発生されるマーク
信号が示されている。マーク信号は、所定時間イ
ンターラプトが発生しないで点火信号の負の側縁
が検出される場合、論理値1にセツトされる。所
定時間インターラプトが発生しないで点火信号が
論理値1の方向に変化する時、マーク信号は論理
値0にリセツトされる。マーク信号は、2つの点
でリセツトすることができる。一般に、マーク信
号は第2図dにで示した燃焼電圧ラインの終わ
りでリセツトされる。しかし、点火過程の経過が
不規則で障害がある場合、燃焼電圧特性曲線も全
く生じないことがあり、この場合、マーク信号
は、第2図dにで示した第2の点で閉成の開始
時にリセツトされる。
The comparator 2 forms the signal of FIG. 2b from the signal of FIG. 2a at its output. For example, all ignition voltages below OV are formed as logic 0 signals, and all ignition voltages greater than OV are formed as logic 1 signals. A signal shown in FIG. 2c is outputted to the output side of the window comparator 3, and is called an interrupt signal. This interrupt signal occurs for a short time each time the ignition signal of FIG. 2a passes through zero. The direction of zero crossing is then irrelevant. Furthermore, the mark signal generated by the microprocessor 4 is shown in FIG. 2d. The mark signal is set to a logic value of 1 if a negative edge of the ignition signal is detected without an interrupt occurring for a predetermined period of time. When the ignition signal changes toward a logical 1 without an interrupt occurring for a predetermined period of time, the mark signal is reset to a logical 0. The mark signal can be reset at two points. Generally, the mark signal is reset at the end of the combustion voltage line shown in FIG. 2d. However, if the course of the ignition process is irregular and there are disturbances, the combustion voltage characteristic curve may also not occur at all, in which case the mark signal will be closed at the second point shown in Fig. 2d. Reset at start.

第2図bのレベル信号と第2図cのインターラ
プト信号とに依存して第2図dのマーク信号を発
生するマイクロプロセツサの作動について、第3
図のフローチヤートを用いて詳細に説明する。マ
イクロプロセツサ4のタイマ入力側に第2図cの
インターラプト信号が入力されるとすぐにプログ
ラムが開始される。先ず、マイクロプロセツサは
入力過程10でインターラプト信号が発生した時
点SPを記憶する。同時に、第2図bのレベルP
は入力過程11で記憶される。その際レベルPは
論理値0か1しかとることができない。判断過程
12では、実レベル値が直前の前回値と比較され
る。これら2つのレベル値が等しい場合、プログ
ラムは中止される。このような手法によつて、イ
ンターラプトをトリガする短い障害パルスが濾波
されて除去される。次のような構成によつて、判
断過程13で現在のインターラプトから前回のイ
ンターラプトまでの時間間隔が算出される。この
値は固定時間Tと比較される。この算出時間が固
定の時間Tよりも短い場合、評価過程は中止され
る。前述の固定時間Tを、観測すべき信号の各減
衰振動過程の各周期の1/2より長くなるように選
定すると有利である。このような手法によつて、
開始時のインターラプトに続いて生じる第2図c
のインターラプト信号を識別して分離できる。そ
れ故、点火開始中に生じる周波数10kHz〜40kHz
の点火減衰振動、および周波数2〜4kHzの火花
燃焼過程終了後の減衰振動は、判断過程13を通
過して判断過程15に行くことはできない。第2
図cに示した、燃焼電圧特性曲線の終了後のパル
ス列の第2および後続のパルスは、判断過程13
を越えて判断過程15に達することはない。同じ
く、それ故、第2図cにおいて第1のパルスに続
いて生じる第1のパルス列は、判断過程13を越
えて判断過程15に達することはない。それ故、
点火信号測定の際、時間Tを約400μsecの時間に
選定することが望ましい。この時間条件が満たさ
れない場合、レベルPnのインターラプト時点
SPnの実値と後で述べる点火時点ZZPnの実値と
が次のプログラム実行のために前回値として記憶
されてからプログラムは終了する。これは処理過
程14で行なわれる。判断過程15では、実レベ
ルPが論理値1を示しているかどうか判断され
る。実レベルPが論理値1を示していない場合、
判断過程12の判断条件により前回のレベル値は
論理値1だつて筈である。それ故、測定すべき信
号はその時点で実行中のプログラムの開始時点で
下降縁を呈しており、これはフローチヤートで判
断過程15から左側に行く分枝の場合である。し
かし、比較的長い時間Tの後に生じる下降縁は、
点火時点の始まりを示している。それ故、その時
の時点SPは処理過程16で点火時点ZZPとして
設定される。判断過程17では、マーク信号MB
が論理値0に設定されていたかどうか検査され
る。回路装置をスイツチオンした直後、回路装置
が同期されていない時、マイクロプロセツサ4は
論理値1を出力することがある。この場合、処理
過程14で実記憶値が前回の値として記憶されて
からプログラムは終了する。マーク信号が論理値
0であつた場合、インターラプト時点の前回値が
閉成時点SWPとして設定される。これは処理過
程18で行なわれる。更に、マーク信号は第2図
dのように論理値1に設定される。これは、第2
図aに示すように最初の下降縁が生じた場合しか
生じない。処理過程14で、その時の値が前回値
として新たに記憶される。元の、前回値はプログ
ラムから除かれる。
Regarding the operation of the microprocessor which generates the mark signal of FIG. 2d depending on the level signal of FIG. 2b and the interrupt signal of FIG.
This will be explained in detail using the flowchart shown in the figure. As soon as the interrupt signal shown in FIG. 2c is input to the timer input side of the microprocessor 4, the program is started. First, the microprocessor memorizes the time point SP when the interrupt signal is generated in the input step 10. At the same time, level P in Figure 2b
is stored in the input step 11. In this case, level P can only take a logical value of 0 or 1. In the judgment step 12, the actual level value is compared with the immediately previous value. If these two level values are equal, the program is aborted. With this approach, short interfering pulses that trigger interrupts are filtered out. With the following configuration, the time interval from the current interrupt to the previous interrupt is calculated in the judgment step 13. This value is compared with a fixed time T. If this calculation time is shorter than a fixed time T, the evaluation process is aborted. It is advantageous if the aforementioned fixing time T is chosen to be longer than half the period of each damped oscillation process of the signal to be observed. By such a method,
Figure 2c following the start interrupt
Interrupt signals can be identified and separated. Therefore, the frequency occurring during ignition initiation is 10kHz to 40kHz
The ignition damping vibration and the damping vibration after the end of the spark combustion process with a frequency of 2 to 4 kHz cannot pass through the judgment step 13 and proceed to the judgment step 15. Second
The second and subsequent pulse of the pulse train after the end of the combustion voltage characteristic curve shown in FIG.
The judgment step 15 is not reached beyond this step. Similarly, the first pulse train that follows the first pulse in FIG. 2c therefore does not pass decision step 13 and reach decision step 15. Therefore,
When measuring the ignition signal, it is desirable to select the time T to be approximately 400 μsec. If this time condition is not met, the interrupt point of level Pn
The actual value of SPn and the actual value of the ignition point ZZPn, which will be described later, are stored as previous values for the next program execution, and then the program ends. This takes place in process step 14. In the judgment step 15, it is judged whether the actual level P indicates a logical value of 1 or not. If the actual level P does not indicate the logical value 1,
According to the judgment conditions of judgment step 12, the previous level value should be a logical value of 1. The signal to be measured therefore exhibits a falling edge at the beginning of the program currently being executed, which is the case in the left-hand branch of decision step 15 in the flowchart. However, the falling edge that occurs after a relatively long time T is
It shows the beginning of the ignition point. The current point in time SP is therefore set in process step 16 as the ignition point ZZP. In judgment step 17, mark signal MB
is set to logical zero. Immediately after switching on the circuit arrangement, the microprocessor 4 may output a logic value 1 when the circuit arrangement is not synchronized. In this case, the actual stored value is stored as the previous value in process step 14, and then the program ends. If the mark signal has a logical value of 0, the previous value at the time of interrupt is set as the closing time SWP. This takes place in process step 18. Furthermore, the mark signal is set to a logic value of 1 as shown in FIG. 2d. This is the second
This only occurs when the first falling edge occurs as shown in Figure a. In processing step 14, the value at that time is newly stored as the previous value. The original, previous value is removed from the program.

判断過程15において、検出入力過程11で検
出されたレベル信号PnがHighであると判断され
た場合、判断過程12での判断によつて前回値
Pn-1はLowであつた筈である。それ故、信号の
上昇縁によつてインターラプトが発生している。
今度は、判断過程20でマーク信号MBが論理値
0に設定されているかどうか判断される。マーク
信号MBが第2図dに示すように0でない場合、
マーク信号MBは処理過程21で0に設定され
る。これは、一般に第2図dにおいてで示した
燃焼電圧ラインの終わりで生じる。燃焼電圧特性
曲線が完全に又は不完全にしか生じないような障
害が生じた場合、第2図dにおいてで示した位
置、即ち断続器の閉成点でマーク信号は0にリセ
ツトされる。計算処理過程22,23で、閉成角
SWと点火火花燃焼持続時間ZBDが算出される。
単位円の百分率で示した閉成角SWは、その時の
点火時点をZZPn、閉成時点をSWP、前回の点火
時点をZZPo-1とすると、式 SW=ZZPn−SWP/ZZPn−ZZPo-1 から算出される。即ち、断続器の閉成と開放との
間の持続時間が2つの点火時点間の全時間で除算
される。点火火花燃焼持続時間ZBDは、実イン
ターラプト時点SPnと点火時点ZZPnとから算出
され、処理過程24でも確認する必要がある。こ
の場合、プログラムは処理過程14によつて終了
される。処理過程14で、実インターラプト時
点、レベル、点火時点が直前の前回値として記憶
される。
In the judgment step 15, if it is judged that the level signal Pn detected in the detection input step 11 is High, the previous value is determined by the judgment in the judgment step 12.
Pn -1 should have been Low. Therefore, an interrupt is occurring due to the rising edge of the signal.
This time, in decision step 20, it is determined whether the mark signal MB is set to a logic value of zero. If the mark signal MB is not 0 as shown in Figure 2d,
The mark signal MB is set to 0 in a processing step 21. This generally occurs at the end of the combustion voltage line shown in FIG. 2d. In the event of a disturbance in which the combustion voltage characteristic curve is completely or only incompletely formed, the mark signal is reset to 0 at the position indicated by d in FIG. 2d, ie at the closing point of the interrupter. In calculation processing steps 22 and 23, the closing angle
SW and ignition spark combustion duration ZBD are calculated.
The closing angle SW expressed as a percentage of the unit circle is determined by the formula SW=ZZPn−SWP/ZZPn−ZZP o−, where the current ignition point is ZZPn, the closing point is SWP, and the previous ignition point is ZZP o1. Calculated from 1 . That is, the duration between closing and opening of the interrupter is divided by the total time between the two firing points. The ignition spark combustion duration ZBD is calculated from the actual interrupt time SPn and the ignition time ZZPn, and must also be confirmed in the process 24. In this case, the program is terminated by process step 14. In process step 14, the actual interrupt time, level and ignition time are stored as the immediately previous values.

判断過程20でマーク信号が論理値0の場合、
断続器の閉成点が検出される。この場合、この断
続器の閉成時点には正常な点火火花燃焼過程が先
行し、その点火火花燃焼過程の終わりでマーク信
号が既にリセツトされている。点火火花燃焼持続
時間が確認される。
If the mark signal has a logical value of 0 in the judgment step 20,
The closing point of the interrupter is detected. In this case, the time of closing of this interrupter is preceded by a normal ignition spark combustion process, and the mark signal has already been reset at the end of that ignition spark combustion process. Ignition spark combustion duration is confirmed.

本発明を以下要約する。所定の切換(パルス)
側縁を有する測定すべき信号において、最初の正
しい切換(パルス)側縁の後に(例えば、減衰な
いし立上がり)振動過程または障害パルスが発生
することがあるが、本発明によると、そのような
測定すべき信号の変化を測定して最初の正しい切
換(パルス)側縁を検出し、かつ前述のような振
動過程または障害パルスを除去した信号を再形成
(処理)することができる。つまり、マイクロプ
ロセツサ4内に形成されるマーク信号は、振動な
いし障害を除去された測定すべき入力信号に相当
する。このマーク信号はいくつかの手段によつて
得られる。先ず、ウインドウコンパレータが設け
られており、このウインドウコンパレータは2つ
のコンパレータ2,3から構成されている。コン
パレータ2の出力側には、入力信号の所定レベ
ル、例えば、零レベルを再生する信号が形成され
る。この信号はマイクロプロセツサ4に供給され
る。コンパレータ3の出力側には、入力信号が所
定の領域(ウインドウ)内にある場合にはいつで
もコンパレータ3の出力状態が変わるインターラ
プト信号が形成される。図示の実施例の場合、こ
のような事態は、例えば、第2図aに示された入
力信号が零点通過の領域(ウインドウ)内にある
場合である。第2の比較器3の出力側の信号は、
第2図cに示されている。マイクロプロセツサ4
は、両コンパレータ2,3の出力信号をその両入
力信号として用いて、論理的計算処理および時間
ウインドウTの設定処理により、第2図dに示さ
れているような入力信号の正確な切換側縁を検出
する。
The invention is summarized below. Predetermined switching (pulse)
In the signal to be measured that has side edges, oscillating processes or disturbance pulses may occur after the first correct switching (pulse) side edge (for example, decay or rise); according to the invention, such a measurement The change in the signal to be detected can be measured to detect the first correct switching (pulse) edge and the signal can be reformed (processed) free of the oscillation processes or interfering pulses as described above. In other words, the mark signal generated in the microprocessor 4 corresponds to the input signal to be measured from which vibrations or disturbances have been removed. This mark signal can be obtained by several means. First, a window comparator is provided, and this window comparator is composed of two comparators 2 and 3. At the output side of the comparator 2, a signal is formed that reproduces a predetermined level of the input signal, for example, a zero level. This signal is supplied to the microprocessor 4. An interrupt signal is formed at the output of the comparator 3, which changes the output state of the comparator 3 whenever the input signal is within a predetermined area (window). In the illustrated embodiment, this is the case, for example, if the input signal shown in FIG. 2a is within the window of the zero crossing. The signal on the output side of the second comparator 3 is
This is shown in Figure 2c. Microprocessor 4
uses the output signals of both comparators 2 and 3 as its input signals, and performs logical calculation processing and time window T setting processing to accurately switch the input signal as shown in Fig. 2d. Detect edges.

信号の測定および処理方法は、点火信号の検出
のためだけでなく、例えばトランジスタ点火装置
から得られた所謂TD(Tacho Diagnose)信号、
同様に切換過程の際チヤタリングまたは誤つた閉
成によつて振動が生じた信号にも適している。こ
れは、例えばデジタル信号線の場合、または電鍵
および継電器の場合である。信号評価の中止基
準、例えば判断過程13での時間および判断過程
15の切換条件に応じて、本来の信号を申分なく
検出することができる。
The signal measurement and processing method is used not only for the detection of ignition signals, but also for the so-called TD (Tacho Diagnose) signal obtained from transistor ignition devices, for example.
It is likewise suitable for signals which are subject to vibrations due to chatter or incorrect closing during the switching process. This is the case, for example, with digital signal lines or with electrical keys and relays. Depending on the criteria for stopping the signal evaluation, for example the time in decision step 13 and the switching conditions in decision step 15, the original signal can be detected satisfactorily.

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

第1図は、本発明の信号の測定および処理方法
を実施した装置のブロツク図、第2図は、第1図
の回路装置の説明に供する線図、第3図は、マイ
クロプロセツサの機能の説明に供するフローチヤ
ートである。 1……制限器、2,3……コンパレータ、4…
…マイクロプロセツサ、5……指示装置。
FIG. 1 is a block diagram of a device implementing the signal measurement and processing method of the present invention, FIG. 2 is a diagram for explaining the circuit device of FIG. 1, and FIG. 3 is a diagram showing the functions of a microprocessor. This is a flowchart for explaining. 1...Limiter, 2, 3...Comparator, 4...
...Microprocessor, 5...Instruction device.

Claims (1)

【特許請求の範囲】[Claims] 1 測定すべき信号が供給される1つのウインド
ウコンパレータを用いた信号の測定および処理方
法において、ウインドウコンパレータを2つのコ
ンパレータから構成し、測定すべき信号が所定の
領域内にある場合にはいつでも、一方のコンパレ
ータ3は該コンパレータの出力状態が変わるイン
ターラプト信号を送出し、該インターラプト信号
によりマイクロプロセツサ4はインターラプト過
程を開始し、前記測定すべき信号が所定の限界値
を上回るか、または下回る場合、他方のコンパレ
ータ2は信号を送出し、所定時間Tの間インター
ラプト信号が発生されないで信号レベルが変化し
た場合、マーク信号が前記マイクロプロセツサ4
内にセツトされ、所定時間Tの間前記インターラ
プト信号が発生されないで、前記信号レベルが再
び変化した場合、前記マーク信号は再びリセツト
されることを特徴とする信号の測定および処理方
法。
1. A method for measuring and processing signals using one window comparator supplied with the signal to be measured, in which the window comparator is composed of two comparators, and whenever the signal to be measured is within a predetermined region, One of the comparators 3 sends out an interrupt signal that changes the output state of the comparator, which causes the microprocessor 4 to start an interrupt process to determine whether the signal to be measured exceeds a predetermined limit value. or below, the other comparator 2 sends out a signal, and if the signal level changes without an interrupt signal being generated for a predetermined time T, the mark signal is output to the microprocessor 4.
A method for measuring and processing a signal, characterized in that if the interrupt signal is not generated for a predetermined time T and the signal level changes again, the mark signal is reset again.
JP17653983A 1982-09-30 1983-09-26 Signal measuring and processing method Granted JPS5981798A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE19823236207 DE3236207A1 (en) 1982-09-30 1982-09-30 Method and device for measuring and processing signals
DE3236207.2 1982-09-30

Publications (2)

Publication Number Publication Date
JPS5981798A JPS5981798A (en) 1984-05-11
JPH0435797B2 true JPH0435797B2 (en) 1992-06-12

Family

ID=6174563

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17653983A Granted JPS5981798A (en) 1982-09-30 1983-09-26 Signal measuring and processing method

Country Status (2)

Country Link
JP (1) JPS5981798A (en)
DE (1) DE3236207A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298095B (en) * 2011-06-27 2014-04-16 中国国土资源航空物探遥感中心 Method for ensuring accurate measurement on pulse width in multi-task singlechip system and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3043255A1 (en) * 1980-11-15 1982-07-01 Robert Bosch Gmbh, 7000 Stuttgart Vehicle electrical system diagnostic unit - reduces noise by operating independently of supply, and contains window comparator, logic and display

Also Published As

Publication number Publication date
DE3236207A1 (en) 1984-04-05
JPS5981798A (en) 1984-05-11
DE3236207C2 (en) 1991-11-21

Similar Documents

Publication Publication Date Title
US4112351A (en) Dual threshold low coil signal conditioner
US5121729A (en) Knocking control method and apparatus for internal combustion engine
US4333054A (en) Apparatus for use in testing an internal combustion engine ignition system
JP3659565B2 (en) Knock detection device
US4892073A (en) Ignition system for internal combustion engines
US5821754A (en) Ignition system for an internal combustion engine
US4440129A (en) Ignition timing control system for internal combustion engine
KR100644506B1 (en) Device for controlling the ignition timing for internalcombustion engines
JPH0244011B2 (en)
JPH0435797B2 (en)
US4359036A (en) Ignition system for internal combustion engines
US4718395A (en) Ignition control system for internal combustion engine
JPH09100772A (en) Misfire detection device of internal combustion engine
JP3328289B2 (en) Inspection method for spark ignition type internal combustion engine
JPH112175A (en) Knocking detection device for internal combustion engine
JPH07139415A (en) Knocking detection device for internal combustion engine
JP2997281B2 (en) Ignition control device
JPS6019962A (en) Ignition device for internal-combustion engine
JP2696453B2 (en) Knocking control device
EP0095520B1 (en) Ignition timing control system for an internal combustion engine
JP3477811B2 (en) Ignition control device for internal combustion engine
KR100302774B1 (en) Engine misfire detection device
JP2000303941A (en) Knocking control device for internal combustion engine
JPH02108833A (en) Knock suppressing device for internal combustion engine
KR930005034B1 (en) Ignition timing control apparatus