Compensator circuit and method for oxygen sensor
By designing a digital compensator circuit in the O2 sensor, detecting and pausing the edge of the PWM signal, the problem of pump unit current error under the control of the ceramic heater is solved, and the accuracy of the engine synchronous pump current reading is improved.
Patent Information
- Application Number
- CN202010625315.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-07-02
- Filing Date
- 2020-07-01
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2040-07-01
AI Technical Summary
The PWM control of the ceramic heater in the O2 sensor may destroy the closed-loop control of the sensor's reference unit and pump unit, resulting in pump unit current errors during the PWM switching edge extension period, limiting the accuracy of the engine synchronous pump current reading.
A compensator circuit is designed, including a digital compensator, which pauses and outputs a compensation current by detecting the PWM signal edge of the heater to maintain the reference voltage of the reference unit, reduce noise coupling, and improve the stability of the pump unit current.
It effectively reduces pump current interference, shortens the stability time, improves the accuracy of the engine synchronous pump current reading, and reduces the interference of the control circuit.
Smart Images

Figure CN112187227B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a wide range of oxygen (O 2 ) sensors, and typically such sensors are used in vehicle systems to determine, for example, the oxygen level in the exhaust gas. Such sensors are often referred to as lambda sensors. The present invention relates in particular to circuits for operating such oxygen sensors. The circuits may be implemented, for example, on a chip connected to a microprocessor and the sensor.
[0002] Background of the Invention
[0003] Usually, O 2 Sensors are installed in the exhaust system of an engine to monitor how much unburned fuel or excess oxygen is in the exhaust as it leaves the engine. Monitoring the oxygen level in the exhaust is one way to measure the fuel mixture.
[0004] O 2 The lambda or lambda sensor is based on a solid-state electrochemical reaction. The sensor can consist of one or two cells. When coupled to an appropriate electrical interface, the current produced varies approximately linearly with the partial pressure of oxygen in the exhaust relative to that in the atmosphere.
[0005] In a wide range air fuel sensor, the temperature of the sensor must be tightly controlled to a temperature of approximately 750°C. This temperature is achieved by using an electrically resistive ceramic heating element within the sensor. 2 A cell impedance measurement is performed on the sensor to estimate its temperature. This temperature is subtracted from the desired temperature to provide an error value. This error term can be used as an input to a control loop that varies the PWM duty cycle of the battery voltage applied across, for example, a ceramic heating element embedded in the sensor. The control loop attempts to keep the temperature error at a low value.
[0006] So in other words, as mentioned above, in a wide range of air fuel sensors, the temperature of the sensor must be tightly controlled to a temperature of approximately 750°C. This temperature is achieved by using a resistive ceramic heating element within the sensor. This element is capable of heating the sensor from the ambient environment alone or by supplementing the engine waste heat. To power the resistive ceramic heating element, the automotive 12V battery voltage is applied across the element in a pulse width modulated manner. The impedance of the sensor reference cell is measured and used to indicate the temperature of the sensor. A control loop is used to modify the PWM duty cycle to adjust the amount of heating to maintain the desired temperature.
[0007] In O 2In the control of the sensor, there is a problem that the PWM control of the ceramic heater may corrupt the sensor's reference cell and the closed loop control of the pump cell. This causes the PWM switching edge to cause pump cell current errors for an extended period of time after the edge. This limits the ability to use the sensor where engine synchronous pump current readings are desired. 2 The sensor is located in the exhaust stream, so there is a cable connecting it to the sensing module. For a typical two-unit sensor, this cable contains six wires, which include: reference, sensor common, pump, tag, heater + and heater -. Due to the characteristics of the heating element, the PWM control of the sensor's heater results in large DV / DT and large DI / DT in the heater wire within the cable and in the sensor itself. The current in the heater can be on the order of several amps. This can couple noise onto other wires in the cable.
[0008] It is an object of the present invention to overcome these problems. Summary of the invention
[0009] In one aspect, a compensator circuit for an oxygen sensor is provided, the oxygen sensor comprising a pump unit and a reference unit, the compensator circuit comprising a feedback control loop configured to maintain the reference unit at a reference voltage, the feedback control loop comprising a digital compensator configured to: determine a compensation current depending on a reference voltage measured from the reference unit and output the compensation current to the pump unit, and the digital compensator is further configured to: suspend determination and output of the compensation current for a set time depending on detection of an edge in a pulse width modulation (PWM) signal of an oxygen sensor heater.
[0010] The digital compensator may be programmable.
[0011] The set time may be programmable.
[0012] The compensator circuit may be configured to: suspend determining and / or outputting the compensation current for a set time after detecting a rising edge or a falling edge of the PWM signal.
[0013] The compensator circuit may comprise means for detecting a rising edge or a falling edge of said PWM signal.
[0014] The compensator circuit includes means for providing a pause signal or a programmable length of time after detecting a rising edge or a falling edge of the PWM signal.
[0015] The compensator circuit may be further configured to convert the measured reference voltage of the reference cell into a digital quantity and further configured to compare the digital quantity with a digital reference value in digital form to provide a digital comparison for the digital compensator, wherein the compensation current is determined from the digital comparison.
[0016] The compensator circuit may further comprise means for determining a compensation current to be output to the pump unit and converting the compensation current into a digital value.
[0017] The circuit may be configured to suspend the determination and outputting of the compensation current by being configured to suspend receiving an input derived from the reference cell and / or suspend determining and / or outputting the output current.
[0018] In a further aspect, an oxygen sensor system is provided, comprising: an oxygen sensor including a pump unit and a reference unit, and including a heater device configured to receive a PWM signal to control the heater, and the compensator circuit as above is connected to the oxygen sensor.
[0019] In a further aspect, a method of operating a compensator circuit for an oxygen sensor is provided, the oxygen sensor comprising a pump unit and a reference unit, the compensator circuit comprising a feedback control loop adapted to maintain the reference unit at a reference voltage, the feedback control loop comprising a digital compensator configured to: determine a compensation current depending on a reference voltage measured from the reference unit and output the compensation current to the pump unit, the method comprising: a) detecting an edge in a pulse width modulation (PWM) signal of an oxygen sensor heater; b) depending on step a), pausing determination and output of the compensation current for a set time.
[0020] The set time may be programmable.
[0021] Step a) may include: after detecting a rising edge or a falling edge of the PWM signal, suspending determining and / or outputting the compensation current within a set time.
[0022] The method may include providing a pause signal or a pause signal for a programmable amount of time after detecting a rising edge or a falling edge of the PWM signal.
[0023] The method may include the steps of converting a measured reference voltage of a reference cell into a digital quantity, comparing the digital quantity with a digital reference value in digital form, providing the digital comparison to the digital compensator, and determining the compensation current from the digital comparison.
[0024] Step b) may comprise suspending receiving an input derived from said reference cell and / or suspending determining and or outputting said output current. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The present invention will now be described by way of example with reference to the accompanying drawings, in which:
[0026] Figure 1 shows the existing O with simulated compensator 2 Sensor control IC;
[0027] Figure 2 shows the interruption of pump current due to PWM edge;
[0028] Figure 3 A new O with digital compensator and "park" function is shown. 2 Sensor control IC; and
[0029] Figure 4 The pump current interruption when parking the digital compensator on a PWM edge is shown. DETAILED DESCRIPTION
[0030] Figure 1 Shows the known O 2 Schematic diagram of the sensor system - it shows 2 units of O 2 Sensor 1. A sensor interface IC 2 is typically interfaced between the sensor and a microprocessor (not shown). The microprocessor's tasks include converting the pump current reading from the sensor interface IC 2 to air / fuel ratio, reading the sensor impedance-related measurements made by the sensor interface IC 2, and adjusting the heater PWM to control temperature.
[0031] It should be noted that any functionality of the sensor interface IC 2 may be performed by the microprocessor, and vice versa.
[0032] On the left hand side the sensor itself is shown, which is a 2-unit sensor as known in the art. The sensor (element) comprises a measurement or reference (REF) unit 4 and a pump unit 5. The two units 4, 5 are separated on the sides by a porous diffusion member 6 (which provides / defines a porous diffusion channel) to form a gas detection chamber 7. Electrodes 8a, 8b, 8c, 8d are located on either side of the units 4, 5 and provide appropriate inputs and outputs to the rest of the system (circuitry).
[0033] With O 2Adjacent to the sensor is a heater 9, such as a ceramic heater. It is connected to the battery (on-board battery) by a line and is controlled by a microprocessor (not shown) via a low side driver 10 and heater wire(s) 100. It is acceptable to drive the high side instead of the low side, such as with a microprocessor controlling both sides.
[0034] The electrodes 8a, 8b, 8c, 8d of both cells 4, 5 are connected to a sensor interface IC 2 / circuitry which has input and output connections to a not shown microprocessor for measuring and processing inputs from the electrodes (via the sensor interface IC 2) and outputs for controlling the voltages of the electrodes 8b and 8c via the FETs 16. The wires from the microprocessor to the FETs 16 are not shown.
[0035] Two Units O 2 The sensor is controlled by two control loops, one to maintain the proper sensor voltage / current bias and the other to maintain the sensor temperature. The proper O is controlled by adjusting the pump current (i.e. the current through the pump unit 5). 2 The sensor is biased so as to maintain the reference cell voltage (eg electrode 8a) at, for example, 450 mV.
[0036] The figure shows the bias control circuit portion of the intermediate IC / circuit which implements the transfer function specified by the manufacturer for the particular sensor model to ensure proper loop performance.
[0037] Temperature control is accomplished by measuring the impedance of a reference cell to determine temperature and applying pulse width modulation of the battery voltage across the ceramic heater to apply power.
[0038] Therefore, about Figure 1 , two units O 2 The primary control of the sensor 1 involves applying a reference cell voltage to a compensator network which is responsible for the primary control. Reference numeral 2 shows the functionality of the sensor interface IC with respect to the compensator network, ie the bias control circuit.
[0039] The compensator includes a connection from electrode 8a to a unity gain amplifier 22. The output of unity gain amplifier 22 is connected to one input of an operational amplifier circuit 20. The other input to the operational amplifier circuit 20 is connected to a voltage of (e.g. 450 mV). The operational amplifier circuit 20, consisting of discrete resistors, capacitors and operational amplifier 21, implements the desired transfer function to stabilize the control loop.
[0040] The output of the operational amplifier circuit 20 is connected to a voltage to current converter 23 which regulates the current entering the pump cell 5 via the electrode 8d depending on the voltage output from the operational amplifier circuit 20. Thus, the current entering the pump cell 5 modifies the reference voltage maintained by the circuit at, for example, 450 mV. The pump current value required to reach the reference voltage of 450 mV depends on the O in the exhaust gas. 2 concentration.
[0041] The pump current is measured by measuring the voltage across resistor R1 by unity gain amplifier 24, which is then amplified by a suitable scaling amplifier 25, the output of which is sent along line 101 to the microprocessor - the microprocessor will indicate 0 2 This signal of concentration is converted to the air / dye (A / F) ratio.
[0042] like Figure 1 As shown, the compensator is an analog compensator in the prior art, which uses an operational amplifier and external resistors and capacitors to implement a transfer function.
[0043] The secondary control is the sensor temperature control loop described earlier.
[0044] As briefly mentioned, the problem is that when transient voltages and currents on the heater wire 100 couple into the reference cell, this can cause corruption in the main control loop as it shows up as a deviation from the desired reference cell voltage of 450 mV. Due to the nature of the control loop, this corruption can cause changes in the pump current as the loop attempts to correct for the reference cell noise. Eventually, the loop will recover from the noise and return to its steady state, but in the meantime, the pump current is erroneous, which in turn causes the A / F ratio to be erroneous.
[0045] So in other words, the wires for the heater are in the same harness as the reference unit wires and the pump unit wires. Coupling between the heater wires and the reference and common wires can cause periodic interruptions in the reference voltage, which can disturb the control loop. (Coupling also occurs within the sensor itself)
[0046] This results in a large pump current disturbance that takes a significant amount of time to settle out to the actual pump current. This settling time degrades the system's ability to obtain accurate engine-synchronous pump current measurements.
[0047] Figure 2A range diagram of a disturbance caused by PWM edge coupling onto the reference cell is shown, which causes a pump cell current disturbance, i.e., a pump current disturbance due to the PWM edge. In this example, the pump current disturbance is about 130 μA and lasts for about 400 μs. The figure shows the pump current 30, the heater voltage / current 31 with the switching edge 32, and the reference cell voltage 33.
[0048] invention
[0049] Figure 3 An example of the present invention is shown, which shows the design of a compensator circuit according to an example. 2 In the design of the sensor interface IC 200, the compensator is implemented digitally. This allows for a flexible O 2 Sensor control IC. This offers several benefits, one of which is that the compensator transfer function is programmable via the serial peripheral interface (SPI), allowing a given hardware configuration to be compatible with a wide variety of sensors.
[0050] Additionally, a "parking" feature may be provided to overcome the above cited problems, as will be described below.
[0051] and Figure 1 Similar components have the same reference numerals. Here, the input from electrode 8a passes through the unit gain amplifier 22 again, and is then input to an analog-to-digital converter (ADC) 41, where the voltage level is converted to a digital quantity. A bit sequence is subtracted from the output of ADC 41 via a digital subtractor circuit 42, which is a binary equivalent to, for example, 450mV (the nominal voltage of the reference cell). The output of the subtractor circuit is then fed to a digital programmable compensator 43, which in one example can be a third-order compensator. The output of the digital programmable compensator 43 is connected to a current DAC 44. The current DAC 44 is connected to the pump cell electrode 8d via R1, and outputs a current to the pump cell to maintain the reference cell voltage at 450mV. The output of the current DAC 44 provides the necessary current to the pump cell via the electrode 8d to maintain primary control, that is, to provide an appropriate sensor voltage / current bias.
[0052] Alternatively, you can look at the voltage across resistor R1 to get a value similar to Figure 1 The current flowing to the pump cell 5, i.e. the current flowing to the electrode 8d, is again determined in a manner such that the voltage across the resistor is again fed to the unity gain amplifier 24, the output of which is further amplified by the programmable gain amplifier 45. In this example, the programmable gain amplifier 45 has a programmable gain of 1, 2, 4 or 8, and its output is fed to the analog-to-digital converter ADC 46.
[0053] A microprocessor reads the digital output of the converter.
[0054] Additionally, there is an input of a conditioned heater PWM signal (from the microprocessor) to the digitally programmable compensator 43. This is accomplished via a PWM edge detection circuit / function block 47, where the PWM heater signal is fed from line 102 from the microprocessor output to the heater low side driver 10 and to the PWM edge detection block 47.
[0055] It should be noted that the low-side driver 10 may be incorporated into the sensor interface IC 200 , or may be the entirety or a portion of a separate integrated circuit.
[0056] The PWM edge detection block 47 detects the edge of the PWM signal (i.e., rising or falling edge); that is, detects the heater switching edge (e.g., from low to high or from high to low). The output of the PWM edge detection block 47 is connected to a programmable dwell width circuit 48 (programmable dwell signal generator), which determines a "dwell" or pause time signal, which has a programmable time and a variable time (and the time signal starts from the detection of the edge detected by the PWM edge detection block 47), which is fed to the digital programmable compensator 43. The digital programmable compensator 43 pauses certain processing during the dwell time to avoid interruptions from the edge. When the dwell time expires, the compensator unit resumes normal operation. While the digital compensator is parked, the pump current remains constant at whatever value it was at before the dwell signal was activated.
[0057] Also refer to Figure 4 Describes the implementation of this parking feature ( Figure 4 The same reference numerals are used to indicate Figure 2 ), and shows an implementation utilizing a PWM edge detection block 47 and a programmable dwell width circuit 48 providing input to a digital programmable compensator 43 via line 49.
[0058] When the digital programmable compensator 43 receives a "park" command or a "park" signal, it no longer accepts A / D converter inputs from the ADC 41 / digital subtractor circuit 42 and freezes the calculation of the transfer function. When the park command / signal expires, the digital programmable compensator 43 resumes normal operation. This can effectively mask noise entering the digital programmable compensator 43. Another benefit relates to the problem of interruption of the main control loop due to PWM edge noise.
[0059] In other words, the circuit of the present invention senses the PWM edge of the heater and "parks" the digital programmable compensator 43 for a programmable amount of time to prevent reference cell disturbances from disrupting the control loop. Parking and resuming the digital programmable compensator 43 involves carefully pausing and restarting the digital programmable compensator 43 relative to the ADC update. This greatly reduces the pump current disturbance, allowing for improved engine synchronous pump current (A / F ratio) readings.
[0060] For comparison, Figure 4 and Figure 2 Similarly, pump current 30, heater voltage / current 31 with switching edge 32, and reference cell voltage are shown, and corresponding waveforms are shown with the compensator dwelling at the PWM edge for a fixed period of time. Figure 4 The pump current interruption when parking the digital compensator on the PWM edge is shown. The pump current error is reduced to 25μA with a duration of less than 200μs.
[0061] It should be noted that any functionality of the sensor interface IC 200 may be performed by the microprocessor, and vice versa.
[0062] Additionally, any functionality of the ADC 41 and / or the digital subtractor circuit 42 may be incorporated into the digital programmable compensator 43. Likewise, any functionality of the PWM edge detection block 47 and / or the programmable dwell width circuit 48 may be implemented in the digital programmable compensator 43.
[0063] Alternatively, the functionality of the current DAC 44 may be implemented in the digitally programmable compensator 43 .
[0064] The term "park" should be interpreted as "pause", so to park the digital compensator activity should instead be considered as pausing (pausing and restarting) the digital compensator activity / function.
Claims
1. A compensator circuit for an oxygen sensor (1), the oxygen sensor (1) comprising a pump unit (5) and a reference unit (4), the compensator circuit (200) comprising a feedback control loop configured to maintain the reference unit (4) at a reference voltage, the feedback control loop comprising a digital compensator (43), the digital compensator (43) being configured to: determine a compensation current depending on the reference voltage measured from the reference unit (4) and output the compensation current to the pump unit (5), and the digital compensator (43) being further configured to: suspend determination and output of the compensation current for a set time depending on detection of an edge in a pulse width modulation (PWM) signal of an oxygen sensor heater, and the compensator circuit comprising means (47) for detecting a rising edge or a falling edge of the PWM signal.
2. The compensator circuit (200) of claim 1, It is characterized in that The digital compensator (43) is programmable.
3. The compensator circuit (200) of claim 1, It is characterized in that The set time is programmable.
4. The compensator circuit (200) of claim 1, It is characterized in that The compensator circuit (200) is configured to: after detecting a rising edge or a falling edge of the oxygen sensor heater PWM signal, suspend determining and / or outputting the compensation current within a set time.
5. The compensator circuit (200) of claim 1, It is characterized in that Means (48) are included for providing a pause signal or a programmable length of time after detecting a rising edge or a falling edge of the PWM signal.
6. The compensator circuit (200) of claim 1, It is characterized in that It is further configured to convert the measured reference voltage of the reference unit (4) into a digital quantity, and is further configured to compare the digital quantity with a digital reference value in digital form to provide a digital comparison for the digital compensator (43), wherein the compensation current is determined from the digital comparison.
7. The compensator circuit (200) of claim 1, It is characterized in that Further included is means (46) for determining the compensation current to be output to the pump unit and converting the compensation current into a digital value.
8. The compensator circuit (200) of claim 1, It is characterized in that The compensator circuit (200) is configured to suspend determination and output of the compensation current by being configured to suspend receiving an input derived from the reference unit (4), and / or suspend determining and / or outputting an output current.
9. An oxygen sensor system, include: An oxygen sensor (1), the oxygen sensor (1) comprising a pump unit (5) and a reference unit (4), and comprising a heater (9), the heater (9) being configured to receive a PWM signal to control the heater (9); as well as A compensator circuit (200) comprises a feedback control loop configured to maintain the reference unit (4) at a reference voltage, the feedback control loop comprising a digital compensator (43), the digital compensator (43) being configured to: determine a compensation current depending on the reference voltage measured from the reference unit (4) and output the compensation current to the pump unit (5), and the digital compensator (43) being further configured to: suspend determination and output of the compensation current for a set time depending on detection of an edge in the PWM signal, and the compensator circuit (200) comprising means (47) for detecting a rising edge or a falling edge of the PWM signal.
10. A method of operating a compensator circuit (200) for an oxygen sensor (1), the oxygen sensor (1) comprising a pump unit (5) and a reference unit (4), the compensator circuit (200) comprising a feedback control loop adapted to maintain the reference unit (4) at a reference voltage, the feedback control loop comprising a digital compensator (43), the digital compensator (43) being configured to: determine a compensation current dependent on a reference voltage measured from the reference unit (4) and output the compensation current to the pump unit (5), the method include: a) detecting the edge in the pulse width modulation (PWM) signal of the oxygen sensor heater; b) depending on step a), suspending the determination and output of the compensation current within a set time, The compensator circuit (200) comprises a device (47) for detecting a rising edge or a falling edge of the PWM signal.
11. The method according to claim 10, It is characterized in that The set time is programmable.
12. The method according to claim 10, It is characterized in that Step b) comprises: after detecting a rising edge or a falling edge of the PWM signal, pausing determination and / or outputting the compensation current within a set time.
13. The method according to claim 10, It is characterized in that The method comprises providing a pause signal or a programmable amount of time for the pause signal after detecting a rising edge or a falling edge of the PWM signal.
14. The method of claim 10, It is characterized in that The method comprises the following steps: converting the measured reference voltage of the reference unit (4) into a digital quantity, comparing the digital quantity with a digital reference value in digital form, providing the digital comparison to the digital compensator (43), and determining the compensation current from the digital comparison.
15. The method according to claim 10, It is characterized in that Step b) comprises: suspending receiving an input derived from said reference unit (4), and / or suspending determining and / or outputting an output current.
