JPH0727012A - Sensor power supply fluctuation preventive device - Google Patents

Sensor power supply fluctuation preventive device

Info

Publication number
JPH0727012A
JPH0727012A JP17050593A JP17050593A JPH0727012A JP H0727012 A JPH0727012 A JP H0727012A JP 17050593 A JP17050593 A JP 17050593A JP 17050593 A JP17050593 A JP 17050593A JP H0727012 A JPH0727012 A JP H0727012A
Authority
JP
Japan
Prior art keywords
sensor
power supply
signal
watchdog
inversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP17050593A
Other languages
Japanese (ja)
Inventor
Masayuki Ito
正幸 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
NipponDenso Co 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 NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP17050593A priority Critical patent/JPH0727012A/en
Publication of JPH0727012A publication Critical patent/JPH0727012A/en
Pending legal-status Critical Current

Links

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)
  • Continuous-Control Power Sources That Use Transistors (AREA)
  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)

Abstract

PURPOSE:To prevent the power supply fluctuation which occurs in case of using the watch dog power supply of a controller, which processes the signal of a combustion pressure sensor, etc., and the power supply of the combustion pressure sensor, etc., in common. CONSTITUTION:This is a power supply 44, which supplies a sensor 1 with constant voltage, and the sensor power supply fluctuation preventive device, which supplies constant voltage in common to a watch dog detecting the abnormality of a watch dog clear signal from a central processor 43 processing the output signal of the sensor 1 so as to control an engine but prevents the voltage fluctuation, is equipped with a WDC inversion inhibiter 60, which inhibits the inversion of the watch dog clear signal supplied to the watch dog, so this inhibits the inversion during the period when it converts the signal of the sensor 1 from analog to digital.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は燃焼圧センサ等の電源に
関し、本発明は特に燃焼圧センサ等の信号を処理する制
御部のウォッチドック電源と燃焼圧センサ等の電源とを
共通にする場合に生じる電源変動を防止することに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power source such as a combustion pressure sensor, and more particularly to a case where a watchdog power source of a control unit for processing a signal of the combustion pressure sensor and a power source of the combustion pressure sensor are commonly used. To prevent power fluctuations that occur in the

【0002】[0002]

【従来の技術】従来この分野の技術として、特開平1−
113630号公報、特開平1−290970号公報に
記載されるものがある。これらの公報の記載ではECU
(Electronic Control Unit) においてエンジンの運転制
御を行うために燃焼圧センサの信号の処理が行われてい
る。
2. Description of the Related Art Conventionally, as a technique in this field, Japanese Patent Laid-Open No.
Japanese Patent Laid-Open No. 113630 and Japanese Patent Application Laid-Open No. 1-290970 disclose the same. In the descriptions in these publications, the ECU
The (Electronic Control Unit) processes the signal of the combustion pressure sensor in order to control the operation of the engine.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記の
燃焼圧センサ等を用いたエンジン運転制御には以下に説
明する問題があった。図7は燃焼圧センサを用いたエン
ジン制御を実現するためのシステム全体図である。本図
におけるシステムは、エンジンにおける各気筒のシリン
ダ上部に取り付けられた燃焼圧センサ1(CPS)と、
各気筒の工程、エンジン回転時の情報をうるためのクラ
ンク角センサ2(回転センサ)と、さらにエンジンの各
部に設けられる圧力センサ3等、各種センサから必要な
エンジン情報を入力しエンジンの空燃比(A/F)等を
制御するためのECU4を具備する。
However, the engine operation control using the above combustion pressure sensor or the like has the following problems. FIG. 7 is an overall system diagram for realizing engine control using a combustion pressure sensor. The system shown in this figure includes a combustion pressure sensor 1 (CPS) attached to the upper cylinder of each cylinder in the engine,
The crank angle sensor 2 (rotation sensor) for obtaining information on the process of each cylinder and the engine rotation time, and further, necessary engine information is input from various sensors such as the pressure sensor 3 provided in each part of the engine to input the air-fuel ratio of the engine. An ECU 4 for controlling (A / F) and the like is provided.

【0004】図8は図7の燃焼圧センサの信号を処理す
るECU4の概略構成を示す図である。本図に示すEC
U4は、前記燃焼センサ1の信号を入力してノイズを除
去する低域通過フィルタ41と、該低域通過フィルタ4
1に接続されかつアナログ信号をディジタル信号に変換
するA/D変換器42(Analog to Digital Converter)
と、該A/D変換器42からのディジタル信号を入力し
て空燃比(A/F)を制御する中央処理装置43と、さ
らに燃焼センサ1等、A/D変換器42、中央処理装置
43、その他ICに低電圧(5v)を供給するための電
源44(IC)とを具備する。さらに、該電源44には
別機能として中央処理装置43の動作監視機能を持ち中
央処理装置43より出力されるウオッチドッククリア信
号(WDC)をモニタし、異常を検知すると中央処理装
置43をリセットする。
FIG. 8 is a diagram showing a schematic configuration of the ECU 4 which processes the signal of the combustion pressure sensor of FIG. EC shown in this figure
U4 is a low-pass filter 41 for removing noise by inputting the signal from the combustion sensor 1, and the low-pass filter 4
A / D converter 42 (Analog to Digital Converter) connected to 1 and converting an analog signal into a digital signal
And a central processing unit 43 for controlling the air-fuel ratio (A / F) by inputting a digital signal from the A / D converter 42, and further, the combustion sensor 1, etc., the A / D converter 42, the central processing unit 43. , And a power source 44 (IC) for supplying a low voltage (5 V) to the IC. Further, the power supply 44 has an operation monitoring function of the central processing unit 43 as another function, and monitors a watchdog clear signal (WDC) output from the central processing unit 43, and resets the central processing unit 43 when an abnormality is detected. .

【0005】上記ECU4には、希薄燃焼方式の一つと
して燃焼圧センサ1を用いた方式が有り、該燃焼センサ
1の出力より求まる燃焼圧力から、その燃焼により発生
した出力トルクを推定し、各気筒毎に前回のトルクとの
差分(トルク変動)を求め、本値の低下が所定値異常の
時、リーン失火と判定し、燃料噴射量を増加することに
より空燃比(A/F)をリッチ側に制御し、所定値より
小の時は燃料噴射量を減少しA/Fをリーン側に制御す
ることにより、常にA/Fをリーン限界近傍とする方法
が取られるようにしてある。以下に実際の制御方法につ
いて(便宜的に一つの気筒に注目して説明する。
The ECU 4 has a method using the combustion pressure sensor 1 as one of the lean combustion methods. From the combustion pressure obtained from the output of the combustion sensor 1, the output torque generated by the combustion is estimated, The difference from the previous torque (torque fluctuation) is calculated for each cylinder, and when the decrease in this value is a predetermined value abnormality, it is judged as a lean misfire, and the fuel injection amount is increased to enrich the air-fuel ratio (A / F). When the amount is smaller than a predetermined value, the amount of fuel injection is reduced to control the A / F to the lean side so that the A / F is always near the lean limit. An actual control method will be described below (for convenience, one cylinder will be focused on and described.

【0006】図9は燃焼圧センサ1からのアナログ出力
信号をディジタル信号に変換するタイミングを説明する
図であり、図10はA/D変換器42の割り込み、完了
を説明するフローチャートである。後述する推定「PT
RQ」を求めるために、燃焼センサ1の出力信号の代表
数点の電圧をA/D変換する。先ず、図9に示すよう
に、A/D変換器42はクランク角センサ2の回転パル
ス信号NE(例えば、10°CA(Crank-pin Angle) 周
期)により中央処理装置43より起動される。次に、図
10に示すように、一例として、ステップS1、S2に
おいて下死点(Bottom Dead Center)付近の燃焼圧センサ
1の出力電圧VCP0 でA/D変換器42が起動される。
FIG. 9 is a diagram for explaining the timing of converting the analog output signal from the combustion pressure sensor 1 into a digital signal, and FIG. 10 is a flowchart for explaining the interruption and completion of the A / D converter 42. The estimated “PT
In order to obtain “RQ”, the voltages at several representative points of the output signal of the combustion sensor 1 are A / D converted. First, as shown in FIG. 9, the A / D converter 42 is activated by the central processing unit 43 by the rotation pulse signal NE (for example, 10 ° CA (Crank-pin Angle) cycle) of the crank angle sensor 2. Next, as shown in FIG. 10, as an example, in steps S1 and S2, the A / D converter 42 is activated by the output voltage VCP0 of the combustion pressure sensor 1 near the bottom dead center.

【0007】ステップS3、S4において、上死点(Top
Dead Center) の燃焼圧センサ1の出力電圧VCP1 でA
/D変換器42が起動される。以下同様にして、上死点
後(After Top Dead Center) 10°CAの燃焼圧センサ
1の出力電圧VCP2 で、さらに上死点後20°CAの燃
焼圧センサ1の出力電圧VCP3 で割り込み起動される。
At steps S3 and S4, the top dead center (Top
A at output voltage VCP1 of combustion pressure sensor 1 of Dead Center)
The / D converter 42 is activated. In the same manner, the interrupt is started with the output voltage VCP2 of the combustion pressure sensor 1 at 10 ° CA after the top dead center and the output voltage VCP3 of the combustion pressure sensor 1 at 20 ° CA after the top dead center. It

【0008】ステップS5において、A/D変換器42
の完了割り込み内にて全4点のA/D変換器42の変換
終了又は非終了がチェックされる。ステップS6におい
て、変換終了した場合には終了フラッグが「XCYL=
1」にセットされる。図11は推定トルク「PTRQ」
を求める手順を説明するフローチャートである。実際の
希薄燃焼制御はA/F等を制御するようにベースタイミ
ングで行われる。本図に示すように、ステップS10に
おいて、前記終了フラッグ「XCYL=1」が成立する
かを判断する。
In step S5, the A / D converter 42
In the completion interrupt of, the conversion completion or non-completion of all four A / D converters 42 is checked. When the conversion is completed in step S6, the end flag is "XCYL =
It is set to 1 ”. Fig. 11 shows the estimated torque "PTRQ"
It is a flow chart explaining the procedure of obtaining. The actual lean burn control is performed at the base timing so as to control the A / F and the like. As shown in the figure, in step S10, it is determined whether or not the end flag "XCYL = 1" is satisfied.

【0009】ステップS11において、上記判断が「Y
ES」なら、すなわち前記全4点のA/D変換が終了し
ているなら、終了フラッグ「XCYL=0」とする。ス
テップS12において、先ず、各点の燃焼圧力CP1、
CP1、CP3が以下のようにして求められる。CPn=
k1*(VCPn−VCP0)、ここに、n=1,2,3 、k1:VCP
nからCPnへの変換係数である。次に求まったCP1、
CP1、CP3から推定トルク「PTRQ」が以下のよう
にして求められる。
In step S11, the above judgment is "Y.
If "ES", that is, if the A / D conversion of all the four points is completed, the end flag is set to "XCYL = 0". In step S12, first, the combustion pressure CP1 at each point,
CP1 and CP3 are obtained as follows. CPn =
k1 * (VCPn-VCP0), where n = 1,2,3, k1: VCP
It is a conversion coefficient from n to CPn. Next CP1
The estimated torque "PTRQ" is obtained from CP1 and CP3 as follows.

【0010】PTRQ=k2*CP1+k3*CP2+k4
*CP3、ここに、k2 、k3 、k4:CPnからPTR
Q変換係数である。ステップS13において、今回と前
回とのPTQRの差分よりトルク低下量DTRQを以下
のように求める。 DTRQ=PTRQn −PTRQn-1 ステップS14において、このようにして求められたD
TRQをリーン失火の発生するトルクレベルLVLTR
Qと比較するため、DTRQ≧LVLTRQが成立する
かを判断する。
PTRQ = k2 * CP1 + k3 * CP2 + k4
* CP3, where k2, k3, k4: CPn to PTR
It is a Q conversion coefficient. In step S13, the torque decrease amount DTRQ is obtained from the difference between PTQRs of this time and the previous time as follows. DTRQ = PTRQn-PTRQn-1 D obtained in this way in step S14
Lean TRQ Lean misfire torque level LVLTR
In order to compare with Q, it is determined whether DTRQ ≧ LVLTRQ is satisfied.

【0011】ステップS15において、上記「YES」
の判断ならば、燃料の噴射量が増加される。ステップS
16において,上記「NO」の判断ならば、燃料の噴射
量を減少する。ステップS10で「NO」の判断なら、
このベースタイミングの処理が行われない。
In step S15, the above "YES"
If it is determined that the fuel injection amount is increased, the fuel injection amount is increased. Step S
If the determination is "NO" at 16, the fuel injection amount is reduced. If “NO” is determined in step S10,
This base timing process is not performed.

【0012】図12は図8の電源44の構成を示す図で
ある。本図に示す電源44は、シリーズレギュレータ型
であり、可変インピーダンスとして動作しバッテリ電圧
(+B)から一定電圧(Vcc)を形成してセンサ1等、
A/D変換器42、中央処理装置43等にこの一定電圧
を供給するトランジスタ51と、該トランジスタ51の
出力に接続された分圧回路52、分圧回路52の出力と
基準電圧とを比較し誤差信号をトランジスタ51のベー
スに帰還する誤差増幅器53と、トランジスタ51の出
力から電源を供給されかつ中央処理装置43からのウオ
ッチドッククリア信号を入力しこのクリア信号が送出さ
れなくなると中央処理装置43にリセット(イニシャ
ル)信号を出力して中央処理装置43に異常が発生した
ことを知らせるウオッチドック部54とを具備する。
FIG. 12 is a diagram showing the configuration of the power supply 44 of FIG. The power supply 44 shown in the figure is a series regulator type, operates as a variable impedance, forms a constant voltage (Vcc) from the battery voltage (+ B), and the sensor 1 and the like.
A transistor 51 that supplies this constant voltage to the A / D converter 42, the central processing unit 43, etc., a voltage dividing circuit 52 connected to the output of the transistor 51, and the output of the voltage dividing circuit 52 and the reference voltage are compared. The error amplifier 53 that feeds back the error signal to the base of the transistor 51, and the central processing unit 43 when power is supplied from the output of the transistor 51 and the watchdog clear signal from the central processing unit 43 is input and the clear signal is no longer transmitted. And a watchdog section 54 which outputs a reset (initial) signal to inform the central processing unit 43 that an abnormality has occurred.

【0013】図13は図12のウオッチドック部54の
動作を説明するタイムチャートである。本図に示すよう
に、ウオッチドック部54は中央処理装置43のウオッ
チドッククリア信号を監視してウオッチドッククリア信
号が反転を継続中には中央処理装置43に“H(high)
”信号を出力し、ウオッチドッククリア信号が反転停
止した後一定時間tks経過後にリセット信号(iNi
T端子を“L(low)”)を繰り返し掛ける。この一定時
間tksはウオッチドック信号の周期よりも長い期間と
する。
FIG. 13 is a time chart for explaining the operation of the watch dock section 54 of FIG. As shown in the figure, the watchdog unit 54 monitors the watchdog clear signal of the central processing unit 43, and while the watchdog clear signal continues to invert, the central processing unit 43 receives "H (high)".
Signal is output, and the reset signal (iNi
Repeatedly apply "L (low)" to the T terminal. This fixed time tks is a period longer than the cycle of the watchdog signal.

【0014】図14はウオッチドッグクリア信号により
電源電圧Vccに及ぼす変動を説明するタイムチャートで
ある。本図に示すのは燃焼センサ1に供給される電源電
圧Vcc(5v)と前述のウオッチドッククリア信号の関
係であり、本図に示すようにウオッチドッククリアの
“L”に同期して電源電圧Vccにリップルが発生する。
この理由は、電源44(IC)内部のVccを検出する分
圧抵抗R1及びR2とウオッチドック部54へのアルミ
配線の共通インピーダンスrが存在するためであり、ウ
オッチドック部54に流れる電流I1による共通インピ
ーダンスrでの電圧降下I1×rがリップルとして電源
電圧Vccに現れる。このリップルによる誤差が燃焼セン
サ1で増幅されて中央処理装置43内での演算に反映さ
れる。このため、空燃比(A/F)制御でのリーン限界
の誤判定を行うことがあり、これによりドラビリ、エミ
ッションの悪化をもたらすことがあるという問題があ
る。
FIG. 14 is a time chart for explaining the fluctuation which affects the power supply voltage Vcc by the watchdog clear signal. This figure shows the relationship between the power supply voltage Vcc (5v) supplied to the combustion sensor 1 and the watchdog clear signal described above. As shown in this figure, the power supply voltage is synchronized with "L" of the watchdog clear. Ripple occurs in Vcc.
This is because the voltage dividing resistors R1 and R2 for detecting Vcc inside the power supply 44 (IC) and the common impedance r of the aluminum wiring to the watchdog section 54 exist, and the current I1 flowing through the watchdog section 54 causes the impedance. The voltage drop I1 × r at the common impedance r appears as a ripple in the power supply voltage Vcc. The error due to this ripple is amplified by the combustion sensor 1 and reflected in the calculation in the central processing unit 43. Therefore, the lean limit may be erroneously determined in the air-fuel ratio (A / F) control, which may cause deterioration of drivability and emission.

【0015】したがって、本発明は上記問題に鑑みウオ
ッチドッククリア信号により電源に発生するリップ変動
を防止できるセンサ電源変動防止装置を提供することを
目的とする。
Therefore, in view of the above problems, it is an object of the present invention to provide a sensor power supply fluctuation preventing device capable of preventing a lip fluctuation generated in a power supply by a watchdog clear signal.

【0016】[0016]

【課題を解決するための手段】本発明は前記問題点を解
決するために、センサに一定電圧を供給する電源であっ
て、センサの出力信号を処理してエンジンの制御を行う
中央処理装置からウオッチドッククリア信号の異常を検
知するウオッチドックに前記一定の電圧を共通に供給す
るものの電圧変動を防止するセンサ電源変動防止装置
に、前記ウオッチドックに供給するウオッチドッククリ
ア信号の反転を、センサの信号をアナログからディジタ
ルに変換する期間中だけ、禁止するWDC反転禁止部を
備える。
SUMMARY OF THE INVENTION In order to solve the above problems, the present invention relates to a power source for supplying a constant voltage to a sensor, which processes an output signal of the sensor to control an engine. A sensor power supply fluctuation prevention device that prevents voltage fluctuations of the watchdog that commonly supplies the constant voltage to the watchdog that detects an abnormality in the watchdog clear signal, but reverses the watchdog clear signal that is supplied to the watchdog. A WDC inversion prohibition unit is provided that prohibits only during the period in which the signal is converted from analog to digital.

【0017】[0017]

【作用】本発明のセンサ電源変動防止装置によれば、W
DC反転禁止部により、センサの信号をアナログからデ
ィジタルに変換する期間中だけ前記反転が禁止されるの
で、ウオッチドッククリア信号に同期して電源電圧Vcc
に従来発生していたリップルが発生するのを防止でき
る。上記変換期間中以外はウオッチドッククリア信号は
反転を行っており、変換期間中の極短時間だけ反転を中
断するだけでのあるのでウオッチドックの機能を損なう
ことはない。さらに複数の中央処理装置の各ウオッチド
ッククリア信号と、センサをアナログからディジタルに
変換している期間中に発生する変換中信号との論理和積
を取りウオッチドッククリア信号の反転禁止を形成する
ことにより、同様にウオッチドッククリア信号に同期し
て電源電圧Vccにリップルが発生するのを防止できる。
According to the sensor power supply fluctuation prevention device of the present invention, W
Since the inversion is prohibited by the DC inversion prohibiting unit only during the period in which the sensor signal is converted from analog to digital, the power supply voltage Vcc is synchronized with the watchdog clear signal.
It is possible to prevent the ripple that has been conventionally generated from occurring. The watchdog clear signal is inverted except during the conversion period, and since the inversion is interrupted only for an extremely short time during the conversion period, the function of the watchdog is not impaired. Further, the watchdog clear signal of each of the plurality of central processing units is logically ANDed with the in-conversion signal generated during the conversion of the sensor from analog to digital to form the inversion prohibition of the watchdog clear signal. Accordingly, it is possible to prevent ripple from occurring in the power supply voltage Vcc in synchronization with the watchdog clear signal.

【0018】[0018]

【実施例】以下本発明の実施例について図面を参照して
説明する。図1は本発明の実施例に係るセンサ電源変動
防止装置を説明する図である。本図の中央処理装置4に
おいて図11のものと異なるのは中央処理装置43に設
けられたWDC反転禁止部60である。前記A/D変換
器42が燃焼センサ1の出力信号をA/D変換中にに
は、WDC反転禁止部60により中央処理装置43にお
けるウオッチドッククリア信号の反転が禁止される。次
に、このWDC反転禁止部60の動作について詳細に説
明する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram illustrating a sensor power supply fluctuation prevention device according to an embodiment of the present invention. The central processing unit 4 of this figure differs from that of FIG. 11 in the WDC inversion prohibition unit 60 provided in the central processing unit 43. While the A / D converter 42 is A / D converting the output signal of the combustion sensor 1, the WDC inversion prohibiting unit 60 prohibits the inversion of the watchdog clear signal in the central processing unit 43. Next, the operation of the WDC inversion prohibition unit 60 will be described in detail.

【0019】図2は図1のWDC反転禁止部60の動作
を説明するフローチャートである。本図のステップS2
0において、クランク角センサ2のNE割り込みに対し
て燃焼センサ1の出力信号であるVCP0 のA/D変換タ
イミングかを判断する。ステップS21において、上記
「YES」の判断ならば、WDC反転禁止部60では反
転禁止フラグを「XiWAC=1」にセットする。
FIG. 2 is a flow chart for explaining the operation of the WDC inversion prohibition unit 60 of FIG. Step S2 in this figure
At 0, it is judged whether it is the A / D conversion timing of VCP0 which is the output signal of the combustion sensor 1 in response to the NE interrupt of the crank angle sensor 2. If the determination is "YES" in step S21, the WDC inversion prohibition unit 60 sets the inversion prohibition flag to "XiWAC = 1".

【0020】ステップS22において、A/D変換器4
2によりVCP0 がA/D変換される。この変換終了後に
ステップS28に進む。ステップS23において、燃焼
センサ1の出力信号であるVCP1 のA/D変換タイミン
グかを判断する。ステップS24において、上記「YE
S」の判断ならば、WDC反転禁止部60では反転禁止
フラグを「XiWDC=1」にセットする。
In step S22, the A / D converter 4
2, VCP0 is A / D converted. After completion of this conversion, the process proceeds to step S28. In step S23, it is determined whether it is the A / D conversion timing of VCP1 which is the output signal of the combustion sensor 1. In step S24, the above "YE
If the determination is “S”, the WDC inversion prohibition unit 60 sets the inversion prohibition flag to “XiWDC = 1”.

【0021】ステップS25において、A/D変換器4
2によりVCP0 がA/D変換される。この変換終了後に
ステップS28に進む。以下同様にしてVCP2 、VCP3
ついてA/D変換中にWDC反転禁止部60では反転禁
止フラグを「XiWDC=1」にセットする。それらの
変換終了後にステップS28に進む。ステップS26に
おいて、全A/D変換が終了したを判断する。「NO」
の判断なら、ステップS28に進む。
In step S25, the A / D converter 4
2, VCP0 is A / D converted. After completion of this conversion, the process proceeds to step S28. Similarly, VCP2 and VCP3
Then, the WDC inversion prohibition unit 60 sets the inversion prohibition flag to "XiWDC = 1" during the A / D conversion. After those conversions are completed, the process proceeds to step S28. In step S26, it is determined that all A / D conversions have been completed. "NO"
If so, the process proceeds to step S28.

【0022】ステップS27において、上記「YES」
の判断なら前記フラグXCYLを「XCYL=1」にセ
ットして、図11での推定トルク「PTRQ」を求める
処理が行われるようにする。ステップ28において、各
A/D変換の終了割り込み内にて前記フラグXiWDC
をクリアし(「XiWDC=0」として)、WDC反転
禁止部60によるWDCの反転禁止を解除して次のA/
D変換のタイミングを待つ。なお、反転禁止の時間間隔
は図13で説明した一定時間tksよりも小さくなるよ
うに調整される。これを越えるとCPUの異常と判断さ
れるためである。
In step S27, the above "YES"
If YES, the flag XCYL is set to "XCYL = 1" so that the process for obtaining the estimated torque "PTRQ" in FIG. 11 is performed. In step 28, the flag XiWDC is set in the end interrupt of each A / D conversion.
Is cleared (as “XiWDC = 0”), the WDC inversion prohibition unit 60 cancels the WDC inversion prohibition, and the next A /
Wait for D conversion timing. The reversal prohibition time interval is adjusted to be smaller than the constant time tks described with reference to FIG. This is because if it exceeds this, it is determined that the CPU is abnormal.

【0023】図3は図2の反転禁止フラグによるWDC
反転制御を説明する図である。本図に示すように、WD
C反転禁止部60では4msタイマ割り込みにより、ス
テップS30において、反転禁止フラグが「XiWDC
=1」かを判断する。この判断が「YES」なら、以下
のステップ32のWDCの反転をスキップする。ステッ
プS31において、上記「YES」の判断なら他の処理
についてベース周回正常かを判断する。この判断が「N
O」なら以下のステップ32のWDCの反転をスキップ
する。
FIG. 3 shows the WDC by the inversion prohibition flag of FIG.
It is a figure explaining inversion control. As shown in this figure, WD
In the C inversion prohibition unit 60, the inversion prohibition flag is set to "XiWDC" in step S30 by the 4 ms timer interrupt.
= 1 ”is determined. If this determination is "YES", the inversion of WDC in the following step 32 is skipped. In step S31, if the determination is "YES", it is determined whether the base circuit is normal for other processing. This judgment is "N
If it is "O", the inversion of WDC in the following step 32 is skipped.

【0024】ステップS32において、上記「YES」
の判断ならWDCの反転を行う。このように、WDCの
反転処理前に反転禁止フラグ(XiWDC)をチェック
され、「XiWDC=1」ならWDCの反転スキップに
より反転処理が禁止される。図4は反転禁止がされる場
合のWDCとCPS出力信号との関係を説明する図であ
る。本図に示すように、CPS出力信号のA/D変換中
にはWDCの変換が禁止されることにより、ウオッチド
ック部54に流れる電流が阻止される。このため電源4
4の電源電圧Vccのリップル除去が可能となり、希薄燃
焼制御の精度向上が比較的簡単に実現でき、前述した問
題点を解決できる。以上の実施例ではWDCの出力と、
CPS出力信号のA/D変換とが同一のCPUで処理さ
れる場合について説明したが、別のCPUで処理される
場合について以下に説明する。
In step S32, the above "YES"
If it is determined to be true, WDC is inverted. In this way, the inversion prohibition flag (XiWDC) is checked before the WDC inversion process, and if “XiWDC = 1”, the inversion process is prohibited by the WDC inversion skip. FIG. 4 is a diagram for explaining the relationship between the WDC and the CPS output signal when the inversion is prohibited. As shown in the figure, the WDC conversion is prohibited during the A / D conversion of the CPS output signal, so that the current flowing through the watchdog portion 54 is blocked. Therefore, power supply 4
The ripple of the power supply voltage Vcc of No. 4 can be removed, the accuracy of lean burn control can be improved relatively easily, and the above-mentioned problems can be solved. In the above embodiment, the output of WDC,
Although the case where the A / D conversion of the CPS output signal is processed by the same CPU has been described, the case where it is processed by another CPU will be described below.

【0025】図5は本発明の実施例に係る別のセンサ電
源変動防止装置を説明する図であり、図6は図5のメイ
ンCPU45のWDCとサブCPU46のiWDCとの
関係を示す図である。図5において、図1と異なるもの
はメインCPU45と、サブCPU46と、論理和回路
47及び48とである。なお、図示しないが電源部44
にはメインCPU45及びサブCPU46用のウオッチ
ドック部54−1及び54−2が設けられている。それ
らの出力はメインCPU45及びサブCPU46のリセ
ット部に接続される。図6に示すように、メインCPU
45は他の処理を行いかつWDCを形成し、A/D変換
器42はCPS出力信号のA/D変換中に変換中信号
(iWDC)として“H(high) ”信号を出力する。論
理和回路47により、メインCPU45のWDCと、A
/D変換器42からの変換中信号との論理和が取られ
て、変換中に強制的に“H”状態の反転禁止信号WDL
0が形成される。この反転禁止信号WDL0は電源44
のウオッチドック54−1に出力される。同様に論理和
回路48により、サブCPU46のWDCと、A/D変
換器42からの変換中信号との論理和が取られて、変換
中に強制的に“H”状態の反転禁止信号WDL1が形成
される。この反転禁止信号WDL1は電源44のウオッ
チドック54−2に出力される。このようにしてCPU
45及び46からの異常を検知するためのウオッチドッ
ククリア信号によりセンサの電源電圧がA/D変換中に
変動することがなくなる。以上では、CPSセンサを中
心に説明してきたが、同様にECU4より電源を供給さ
れている他のセンサ(エアフローメータ等)についても
本発明を適用し、精度向上を実現できる。
FIG. 5 is a diagram for explaining another sensor power supply fluctuation preventing device according to the embodiment of the present invention, and FIG. 6 is a diagram showing the relationship between the WDC of the main CPU 45 and the iWDC of the sub CPU 46 of FIG. . 5, what is different from FIG. 1 is a main CPU 45, a sub CPU 46, and OR circuits 47 and 48. Although not shown, the power supply unit 44
Is provided with watchdog parts 54-1 and 54-2 for the main CPU 45 and the sub CPU 46. Those outputs are connected to the reset section of the main CPU 45 and the sub CPU 46. As shown in FIG. 6, the main CPU
45 performs other processing and forms WDC, and the A / D converter 42 outputs the "H (high)" signal as the in-conversion signal (iWDC) during the A / D conversion of the CPS output signal. The logical sum circuit 47 causes the WDC of the main CPU 45 and A
The inversion prohibition signal WDL that is in the "H" state is compulsorily taken during the conversion by taking the logical sum of the in-conversion signal from the / D converter 42.
0 is formed. The inversion prohibition signal WDL0 is supplied to the power source 44.
Is output to the watch dock 54-1. Similarly, the logical sum circuit 48 calculates the logical sum of the WDC of the sub CPU 46 and the in-conversion signal from the A / D converter 42, and forcibly outputs the inversion prohibition signal WDL1 in the "H" state during conversion. It is formed. The inversion prohibition signal WDL1 is output to the watchdog 54-2 of the power supply 44. In this way the CPU
The watchdog clear signal for detecting an abnormality from 45 and 46 prevents the power supply voltage of the sensor from changing during A / D conversion. Although the CPS sensor has been mainly described above, the present invention can be applied to other sensors (such as an air flow meter) that are similarly supplied with power from the ECU 4 to improve the accuracy.

【0026】[0026]

【発明の効果】以上説明したように本発明によれば、セ
ンサの信号をアナログからディジタルに変換する期間中
だけウオッチドッククリア信号の反転が禁止されるの
で、ウオッチドッククリアに同期して電源電圧Vccに生
じていたリップルの発生が防止できる。さらに複数の中
央処理装置の各ウオッチドッククリア信号と、センサを
アナログからディジタルに変換している期間中に発生す
る変換中信号との論理和積を取りウオッチドッククリア
信号の反転禁止を形成することにより、同様にウオッチ
ドッククリア信号に同期して電源電圧Vccにリップルが
発生するのを防止できる。
As described above, according to the present invention, inversion of the watchdog clear signal is prohibited only during the period in which the sensor signal is converted from analog to digital, so that the power supply voltage is synchronized with the watchdog clear. It is possible to prevent the generation of ripple that has occurred in Vcc. Further, the watchdog clear signal of each of the plurality of central processing units is logically ANDed with the in-conversion signal generated during the conversion of the sensor from analog to digital to form the inversion prohibition of the watchdog clear signal. Accordingly, it is possible to prevent ripple from occurring in the power supply voltage Vcc in synchronization with the watchdog clear signal.

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

【図1】本発明の実施例に係るセンサ電源変動防止装置
を説明する図である。
FIG. 1 is a diagram illustrating a sensor power supply fluctuation prevention device according to an embodiment of the present invention.

【図2】図1のWDC反転禁止部60の動作を説明する
フローチャートである。
FIG. 2 is a flowchart illustrating an operation of a WDC inversion prohibition unit 60 of FIG.

【図3】図2の反転禁止フラグによるWDC反転制御を
説明するフローチャートである。
FIG. 3 is a flowchart illustrating WDC inversion control by the inversion prohibition flag in FIG.

【図4】反転禁止がされる場合のWDCとCPS出力信
号との関係を説明する図である。
FIG. 4 is a diagram illustrating a relationship between a WDC and a CPS output signal when inversion is prohibited.

【図5】本発明の実施例に係る別のセンサ電源変動防止
装置を説明する図である。
FIG. 5 is a diagram illustrating another sensor power supply fluctuation prevention device according to an embodiment of the present invention.

【図6】図5のメインCPU45のWDCとA/D変換
器42のiWDCとの関係を説明する図である。
6 is a diagram illustrating a relationship between WDC of the main CPU 45 and iWDC of the A / D converter 42 in FIG.

【図7】燃焼圧センサ1を用いたエンジン制御を実現す
るためのシステム全体図である。
7 is an overall system diagram for realizing engine control using the combustion pressure sensor 1. FIG.

【図8】図7の燃焼圧センサ1の信号を処理するECU
4の概略構成を示す図である。
FIG. 8 is an ECU that processes signals from the combustion pressure sensor 1 of FIG.
It is a figure which shows schematic structure of 4.

【図9】燃焼圧センサ1からのアナログ出力信号をディ
ジタル信号に変換するタイミングを説明する図である。
FIG. 9 is a diagram illustrating the timing of converting an analog output signal from the combustion pressure sensor 1 into a digital signal.

【図10】A/D変換器42の割り込み起動、完了を説
明するフローチャートである。
FIG. 10 is a flowchart illustrating interrupt activation and completion of the A / D converter 42.

【図11】推定トルク「PTRQ」を求める手順を説明
するフローチャートである。
FIG. 11 is a flowchart illustrating a procedure for obtaining an estimated torque “PTRQ”.

【図12】図8の電源44の構成を示す図である。12 is a diagram showing a configuration of a power supply 44 of FIG.

【図13】図12のウオッチドック部54の動作を説明
するタイムチャートである。
13 is a time chart explaining the operation of the watch dock section 54 in FIG.

【図14】ウオッチドッククリア信号により電圧電源V
ccに及ぼす変動を説明するタイムチャートである。
FIG. 14 is a voltage power supply V according to a watchdog clear signal.
It is a time chart explaining the fluctuation which affects cc.

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

1…燃焼センサ 2…クランク角センサ 4…ECU 42…A/D変換器 43、45、46…中央処理装置 44…電源 47、48…論理和回路 51…トランジスタ 52…分圧回路 53…誤差増幅器 54…ウオッチドック部 60…WDC反転禁止部 1 ... Combustion sensor 2 ... Crank angle sensor 4 ... ECU 42 ... A / D converter 43, 45, 46 ... Central processing unit 44 ... Power supply 47, 48 ... OR circuit 51 ... Transistor 52 ... Voltage dividing circuit 53 ... Error amplifier 54 ... Watchdog section 60 ... WDC inversion prohibition section

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 センサ(1)に一定電圧を供給する電源
(44)であって、センサ(1)の出力信号を処理して
エンジンの制御を行う中央処理装置(43)からウオッ
チドッククリア信号の異常を検知するウオッチドックに
前記一定の電圧を共通に供給するものの電圧変動を防止
するセンサ電源変動防止装置であって、 前記ウオッチドックに供給するウオッチドッククリア信
号の反転を禁止するWDC反転禁止部(60)を備え、
センサ(1)の信号をアナログからディジタルに変換す
る期間中に前記反転を禁止することを特徴とするセンサ
電源変動防止装置。
1. A watchdog clear signal from a central processing unit (43), which is a power supply (44) for supplying a constant voltage to the sensor (1) and processes an output signal of the sensor (1) to control an engine. Is a sensor power supply fluctuation preventing device that supplies a fixed voltage in common to a watchdog that detects an abnormality of the watchdog, and that prevents the watchdog clear signal supplied to the watchdog from being inverted. A part (60),
A sensor power supply fluctuation prevention device characterized in that the inversion is prohibited during a period in which a signal of the sensor (1) is converted from analog to digital.
【請求項2】 複数の中央処理装置(45、46)の各
ウオッチドッククリア信号と、センサ(1)をアナログ
からディジタルに変換している期間中に発生する変換中
信号との論理和積を取りウオッチドッククリア信号の反
転禁止を形成することを特徴とする請求項1に記載のセ
ンサ電源変動防止装置。
2. The logical product of the watchdog clear signals of the plurality of central processing units (45, 46) and the in-conversion signal generated during the conversion of the sensor (1) from analog to digital. 2. The sensor power supply fluctuation prevention device according to claim 1, wherein an inversion prohibition of a take-watch dock clear signal is formed.
JP17050593A 1993-07-09 1993-07-09 Sensor power supply fluctuation preventive device Pending JPH0727012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17050593A JPH0727012A (en) 1993-07-09 1993-07-09 Sensor power supply fluctuation preventive device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17050593A JPH0727012A (en) 1993-07-09 1993-07-09 Sensor power supply fluctuation preventive device

Publications (1)

Publication Number Publication Date
JPH0727012A true JPH0727012A (en) 1995-01-27

Family

ID=15906204

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17050593A Pending JPH0727012A (en) 1993-07-09 1993-07-09 Sensor power supply fluctuation preventive device

Country Status (1)

Country Link
JP (1) JPH0727012A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6929605B2 (en) 2002-04-01 2005-08-16 Pentax Corporation Light source device with dual alternately-directed lamps that facilitate lamp replacement
US7087014B2 (en) * 2002-11-22 2006-08-08 Pentax Corporation Endoscope system having an auxiliary lighting device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6929605B2 (en) 2002-04-01 2005-08-16 Pentax Corporation Light source device with dual alternately-directed lamps that facilitate lamp replacement
US7087014B2 (en) * 2002-11-22 2006-08-08 Pentax Corporation Endoscope system having an auxiliary lighting device

Similar Documents

Publication Publication Date Title
EP0402953B1 (en) Apparatus for detecting abnormality of oxygen sensor and controlling air/fuel ratio
US5357790A (en) Misfiring detecting apparatus for an internal combustion engine
JPH0697002B2 (en) Air-fuel ratio sensor pass / fail judgment device
KR930006411B1 (en) Ignition timing control method and apparatus for an internal combostion engine having a prulality of cylinders
JPH03202767A (en) Method for detecting deterioration of exhaust gas concentration detector of internal combustion engine
JP3188579B2 (en) Air-fuel ratio sensor failure detection device
KR890000502B1 (en) Ignition apparatus of internal combustion engine
JPH0531643B2 (en)
JP2836270B2 (en) Abnormal diagnostic device for fuel injection system
JPH0727012A (en) Sensor power supply fluctuation preventive device
US5522254A (en) Knock sensing apparatus for internal combustion engine
JPH0541818B2 (en)
US5604500A (en) A/D conversion process
JP2938288B2 (en) Catalyst deterioration detection device for internal combustion engine
JPS60110016A (en) Digital signal processor
JPS6217657B2 (en)
JP2527930B2 (en) Deterioration determination method for O2 sensor in internal combustion engine
JP2722767B2 (en) Catalyst deterioration diagnosis device for internal combustion engine
KR0149352B1 (en) A sensing recovery method in a defective proving for an engine coolant temperature sensing system
JPH0663481B2 (en) Engine controller
JPH05248305A (en) Knocking controller
JP2683418B2 (en) Air-fuel ratio control device
JP3153465B2 (en) Burning time measurement method
JPH0763108A (en) Electronic controller of internal combustion engine
JPH01106934A (en) Control device for air-fuel ratio of internal combustion engine