Engine Knock Sensing Applications
(HIP9011EVAL1Z)
HIP9011EVAL1Z Evaluation Board
There continues a driving effort by the Government and the automotive industry to make cars more efficient with lower emissions. Tighter and more extensive control of automobile engines by microcontrollers has resulted in significant strides towards these goals.
One of the factors contributing to these improvements is engine ignition control. The HIP9011 helps in the ongoing battle to enhance engine performance by providing more detailed information to the engine microcontroller.
An important point to remember - automotive engines operate most efficiently when the engine is placed in the ignition timing condition just prior to ping or pre-ignition. The closer an engine can operate to this condition, the higher the
performance. This is analogous to an operational amplifier, where the higher the gain, the lower the distortion. In the case of the knock signal processing IC, it provides a means of detecting engine knock or ping at levels that were previously unrealizable by amplification and filter means. Figure 1 shows the HIP9011 in a typical engine application.
ENGINE CONTROL MODULEMOSICSHIP9011MOSI †SOSCKINTOUTINT/HOLDSPIINTERFACEA/DCONVERTERKNOCKSENSORKNOCKSENSORHOSTMICROCONTROLLEROTHER ENGINESENSOR SIGNALSENGINE CONTROL SIGNALSFIGURE 1.HIP9011 IN A TYPICAL ENGINE CONTROL APPLICATION
1
http://oneic.com/
CAUTION: These devices are sensitive to electrostatic discharge; follow proper IC Handling Procedures.1-888-INTERSIL or 1-888-468-3774|Intersil (and design) is a registered trademark of Intersil Americas Inc.
Copyright Intersil Americas Inc. 1999, 2006. All Rights Reserved
All other trademarks mentioned are the property of their respective owners.
Application Note 9770
3RD ORDERANTIALIASING FILTERCH0FB 18CH0IN 19CH0NI 20CHIFB 17CH1IN 16CH1NI 15
-+
CHANNEL SELECTSWITCHES-+
PROGRAMMABLE
GAINSTAGE2 - 0.11164 STEPSPROGRAMMABLE
BANDPASSFILTER1 - 20kHz64 STEPS
ACTIVEFULL WAVERECTIFIER
PROGRAMMABLEINTEGRATOR40 - 600μs32 STEPS
DIFFERENTIALTO SINGLE-ENDED
CONVERTER,SAMPLE ANDHOLD ANDOUTPUT DRIVER
INTOUT 4
TO SWITCHEDCAPACITORNETWORKS
POWER SUPPLY
AND
BIAS CIRCUITSVMID 3 VDD1 GND2
REGISTERS
AND
STATE MACHINETEST 14
PROGRAMMABLE
DIVIDER
OSCIN 9
CLOCK
OSCOUT 10SCK 13CS 8SI 12SO 11INT/HOLD 7
SPI
INTERFACE
FIGURE 2.SIMPLIFIED BLOCK DIAGRAM OF THE HIP9011, SINGLE CHANNEL KNOCK SIGNAL PROCESSING IC
Operation of the Signal Processing IC
Inputs from one or two piezoelectric sensors mounted on the engine block are capacitively coupled to the inputs of the operational amplifiers within the HIP9011. Two sensors are shown in the examples in this application note, one for each side of a “V” type of engine configuration. Engines configured in-line may use sensors placed on either end of the engine block. Often only one sensor is used by strategically locating a point where optimum signal output is available. The ability of this IC to have programmable gain changes at each ignition pulse can help with these configurations. In some high end applications two HIP9011 are used.
The input coupling capacitor and series input resistors to the inverting input of the operational amplifiers within the HIP9011 serve as a high pass filter to reduce low frequency components from the transducer. AC coupling also has the advantage of reducing the possibility of driving the output of the input
amplifier towards the positive supply with increased leakage resistance of the transducer or environment with time. Leakage resistance to ground will pull the inverting input of the
operational amplifier to ground, thus forcing its output high. The non-inverting input of the HIP9011 is not committed, but in most applications, it is usually returned to the mid supply voltage, available as an output terminal of the device.
A signal from the engine’s microcontroller determines which transducer input signal will be processed by the HIP9011 operational amplifier for each ignition pulse by toggling the transmission gate on the output of these amplifiers. From here the signal is applied to an anti aliasing filter within the HIP9011. This filter excludes input signals above 20kHz from passing on to the following switched capacitor filter and gain stages. Signals above 20kHz could cause problems with the 200kHz clocking frequency of the switched capacitor filters and
amplifiers. A filter channel is provided in the HIP9011, with a tuning range from 1.22kHz to 19.98kHz, in 64 steps. Serial control signals are sent via the SPI bus to the HIP9011 by the microcontroller. These control signals set the filter frequencies within these ICs.
2
http://oneic.com/
The output of the Filter Stage in the HIP9011 is applied to a full wave rectifier and then to an integrator. The integrator operation is initiated by the INT/HOLD signal from the microcontroller. It is only during the rising edge of the INT/HOLD signal that the integrator starts from its initial reset condition of 0.125V.
Integration is towards the positive supply when a knock signal is present. Severity of the knock signal and the integrators programmable time constant determines the final level. The integrator time constant is programmable in 32 steps from 40μs to 600μs. This time constant can be viewed as an output signal attenuator. Again, the value of the time constant is set by the SPI control signals from the microcontroller.
Immediately after the INT/HOLD signal goes low, the
integrators output signal, INTOUT is held in the HIP9011’s output sample and hold circuit for the microcontroller’s A/D converter to process. Figure 2 shows the block diagram of the HIP9011. Figure 3 shows the waveforms for the integrator, INTOUT on the top trace. The center trace shows the input signal from a simulated pressure transducer mounted on the cylinder. An expanded waveform of the simulated engine input signal during the integration period is shown in the circled display of Figure 3. The bottom trace shows the INT/HOLD signal.
From this discussion we see that we have an IC that can detect low levels of engine knock or ping by using bandpass filters, rectification and an integration process. The gated integrator allows the IC to only monitor engine noise during the time that engine knock is expected to occur, thus, vastly reducing the influence of background noise.
Integrator Operation
Observation of the integrator output signal, INTOUT, is
important to the setup and understanding of the operation of this signal processing IC. This observation can be distorted by instrumentation used to view the INTOUT signal. In Figure 5, the upper waveform shows what looks like inaccuracies in the INTOUT signal. This is due to aliasing of the oscilloscope sampling system with only 500 samples. Not shown in this
AN9770.1
November 6, 2006
Application Note 9770
display is the 200kHz clock signal that only appears during the integration portion of the sample cycle. This signal causes aliasing or a “low frequency beat” in the oscilloscope display between the 500 samples and the 200kHz pulses appearing on the ramp only during the integration interval. Once the signal is acquired, the INTOUT signal during the hold period remains constant and free of the 200kHz pulses until the next integration period. The sample and hold circuit within the HIP9011 is timed so that it only samples during a non pulse period, thus preventing it from acquiring either peaks or valleys.The lower trace of Figure 5 more accurately depicts the INTOUT waveform. Note the 200kHz clock signal on the integrator ramp. One million samples were used for this display. Also note that INTOUT is constant between integration cycles and shows no 200kHz pulses.
For observation purposes only, or when working with a digital oscilloscope with limited samples, an external anti aliasing filter may be assembled with a series 51k resistor and a 510pF capacitor to ground. The filter attenuates the internal 200kHz clock signal during integration, For
operation with a sampling A/D converter that is strobed and samples after the integration cycle, no filter is needed.
The second generator provides the signal that serves as a knock signal. It is interesting to note the variation of the
integrator output, INTOUT, as the IC filter frequency or oscillator frequency is varied from 200Hz to 100kHz. Figure4 shows the IC’s filter response as a sweep frequency signal is applied to only the filter circuit for five selected filter frequencies from 1.22kHz to 19.98kHz. These curves were taken only of the filters to show their response and comparatively constant output through out the entire filter frequency range.
Figure 7 shows the HIP9011 connected to an engine. The microcontroller with inputs from the engine, provides the INT/HOLD signal to initiate operation of the integrator within the knock signal processing IC.
Evaluation Board
Figure 8 shows the schematic diagram of the evaluation board. A 4MHz crystal is supplied with the board. 4MHz ceramic resonators such as the TDK FRC4.0MCS have been
successfully used in the board. Three pins are provided on the board to accept resonators to replace the crystal.
A prewired input amplifier configuration board is provided as shown in Figure 9. This board is connected for single ended operation.
Figure 10 shows the schematic diagram for a differential input board that may be wired for the HIP9011. This may be fabricated with the one generic blank board supplied with the evaluation board.
Figure 11 is a top view of the evaluation board.
Laboratory Setup
It is desirable to get a “feeling” for the operation of the
HIP9011 before proceeding to an evaluation with an engine, Figure 6 shows a bench test setup where this can be easily accomplished.
One generator is used to provide the INT/HOLD signal to the Evaluation Board. In the actual application this signal would be supplied by the engine controller. The width of this signal may vary from several hundred microseconds to several
milliseconds depending upon the engine rpm and engine type. Generally, there is a large signal at high engine rpms and lower signals at low rpms. At the lower rpm, the integration period may be extended to gain more samples and effectively produce high sensitivity to obtain more output.
Software Displays
Figure 12 shows the display for the HIP9011 appearing on the computer when using the Evaluation Board in a Microsoft® Windows® setup. In some Windows setups the text displayed may override the boxes and be difficult to read due to computer settings. This can be corrected by changing the font size on the computer. This is described in the “Installing Knock Signal Processor Software” section of this application note.
FIGURE 3.WAVEFORMS ASSOCIATED WITH THE HIP9011
3
http://oneic.com/
AN9770.1
November 6, 2006
Application Note 9770
1.0
0.9
0.8
0.7
OUPUT SIGNAL (V)0.6
0.5
0.4
0.3
0.2
0.1
0.0200
5001k2k5k
FREQUENCY (Hz)
10k20k50k100k
FIGURE 4.RESPONSE OF ONLY THE FILTERS WITHIN THE HIP9011
The codes written by the computer for each function are displayed on the lower right side of the display. Multiple settings may easily be obtained by opening more windows with different settings and clicking with the mouse on the desired window, to activate the desired setting.
Figure 13 through Figure 17 shows the writing sequence to the knock processing IC by the computer for various settings of the knock signal processing ICs.
look like a severe knock signal that can not be handled by the control system. Software would then retard the timing to a minimum that would allow the engine to function, but at a lower efficiency level. Service would be required to restore normal engine operation.
Another Open Knock Sensor Approach with a Software Algorithm
The main focus of this method to detect sensor disconnect is based on exploiting the re-programmability of the gain stage within the IC. If a user reprograms the gain stage, for
example, at every 5th engine revolution for an open sensor condition, the response time and accuracy of the feedback knock sensor control should not impair the engine
performance over most of the entire engine speed range.The approach is to adjust the GAIN stage prior to supplying the knock signal to the Band Pass Filter stage. To determine the sensor disconnect threshold value for the knock sensor system, the gain would be reduced to the lowest
programmable level. This would then provide a signal level/reference value closest to that produced by a sensor that was disconnected.
Then with the GAIN stage programmed to a more
normal/frequent operating value, should a sensor become disconnected, the INTOUT signal level would drop to a level
Microsoft® and Windows® are registered trademarks of Microsoft Corporation.AN9770.1
November 6, 2006
Open Knock Sensor Detection
One means to detect an open sensor is to couple a low level, low frequency AC signal to the amplifier input. If the coupling capacitor value carrying this signal is small compared to the capacitance of the piezoelectric transducer, the coupled signal will be attenuated. To a first order, this would be the capacitance ratio Ccoupling/Csensor. Moreover, if the low level signal’s frequency is below the normal spectrum of engine signals it will be further attenuated by the bandpass filters. To accomplish this function on the Evaluation Board, two terminals are provided. One is marked 900Hz, while the other is the ground return for that signal. When the
piezoelectric transducer is removed from the input circuit, the previously attenuated 900Hz signal will become large and drive the IC’s input operational amplifier to full output, which will produce higher frequency components that will
4
http://oneic.com/
Application Note 9770
near the level/value that was determined when the GAIN stage was set at the lowest value of gain. From this higher gain value/operating condition, the system could then determine that the sensor has been disconnected.
Another approach that has been suggested is to, at engine start up, advance the engine timing to the knock level and observe the INTOUT signal. If knock cannot be detected, the sensor is assumed open.
Other Applications
Because of the extremely unique design of this signal processing IC with over 130,000 programming
combinations, the user is afforded maximum flexibility of signal detection and processing. Other applications are possible such as security systems with acoustical spectrum analysis with the aid of the filter within this device. Room, area or system profiles can be stored and compared with current values.
Analysis of heavy transmissions or other machinery with sensors used to detect bearing wear and other acoustical qualities is possible. Here preventive maintenance would be one of the key qualities.
Application Tips
Here are several important points about the application of the HIP9011 that will enhance the performance of a system using this IC. First, as mentioned previously, it is suggested that a coupling capacitor be placed in series with the transducer. This minimizes the possibility of pulling the inverting input of the operational amplifiers within the IC to ground. Grounding the inverting input forces the amplifier output high, thus limiting the signal handling ability of the amplifiers.
Another important point is to insure that the input amplifier and following stages operate at near their maximum peak to peak signal level without overload under the maximum expected input. Doing this allows the integrator stage to be set to lower gain settings, larger time constants, and thus reduces sensitivity in the output stage. This is analogous to a public address amplifier where the master gain control, analogues to the integrator stage, is set to full gain and the input gain control set to minimum gain. Under these conditions the public system will be noisy.
As a goal keep the output of the input operational amplifiers within half of the maximum expected output swing. This will insure that the following analog initializing filter has sufficient dynamic range. The switched capacitor gain stage can be used to either attenuate or amplify the signal. By observing these conditions, the signal going into the integrator stage will usually require a large time constant to keep the
integrator from saturating. Also, remember that the effective system gain can be increased by increasing the integration window when higher gain is needed, usually, at lower engine speeds.
5
http://oneic.com/
AN9770.1
November 6, 2006
Application Note 9770
CAPTURED WAVEFORMS
INT/HOLD(PIN 7)
FINAL INTEGRATION VALUE
DISPLAY ERROR
INITIAL INTEGRATOR RESET
DISPLAY ERROR
INTOUT (PIN 4)
NOTE: SAMPLING RATE SET TOO LOW
INTHOLD (PIN 7)INTOUT (PIN 4)
NOTE: FREEDOM FROM THE EFFECTS OF
ALIASING WITH MORE SAMPLES
FIGURE 5.INTOUT (PIN 4) OUTPUT WAVEFORM DISPLAY INACCURACIES DUE TO DIGITAL SAMPLING SCOPE SETTINGS
6
http://oneic.com/
AN9770.1
November 6, 2006
Application Note 9770
PULSE GENERATOR USEDTO GENERATE 0 TO 5VINT/HOLD SIGNALPULSE GENERATOR1- 10ms
50Hz
SINE WAVE GENERATOR1kHz TO 20kHz, 0mV TO 500mVSINE WAVE GENERATOR
2.46kHz
GROUND - PIN 1
INT/HOLD - PIN 5
9 PIN D SUBMINIATURECONNECTOR PINOUT
1 - GROUND2 - MOSI3 - +5V
5 - INT/HOLD4 - SCK6 - INTOUT7 - TEST8 - CS9 - MISO
9 PIN D SHELL CABLE - MALE
THESE CONNECTIONSINCLUDE GROUND
D1
VRL
C2
C3
74HCT14C4UL
C51SCK JPCS JPTEST JPMOS1 OR S1JP74HCT1E5U2C1
5
C10C112
GND
CS
SCKR4
5VGND
900HzGNDC6C71R5
INT/HOLD
VMID
CBR5R6DSOUT
XL
DSCINC9
INTOUT
TEST
MDSI OR SI
25 PIN D SHELL
CABLE - MALE TO MALETO PC PARALLEL PORT
MISO OR S0
HIP9010/L1
U3
GNDEXTCLOCK
J5
HIP9011EVAL1Z REV A Evaluation BoardRoHS 1-888-INTERSIL
RPC DWIN ®OFT98® OSRICDOWSM GNNINR WIUNOSOW 95®120V AC TO 9V DC WALL SUPPLY
FIGURE 6.KNOCK SENSOR IC EVALUATION BOARD CONNECTIONS FOR BENCH TESTING
7
http://oneic.com/
AN9770.1
November 6, 2006
CONFIGURATION NETWORKU4TRIGGER SCOPE ON
THIS SIGNALOR TRIGGER
FROM PULSE GENERATOR
J1J213
J3JR2
R37R113
J4
14
3
1Application Note 9770
ENGINE CONTROL MODULEKNOCK SENSORKNOCK SENSORHOSTMICROCONTROLLERINT/HOLD PIN 5 ON 9 PIN CONNECTORTSR INPUOSNEE SENGINLSIGNAS LTRO CONENIENG9 PIN D SHELL CABLE (MALE)(SUPPLIES INT/HOLD SIGNAL FROMENGINE CONTROL MODULE)D1VRIC2C374HCT14C2ULC51SCK JPCS JPTEST JPMOS1 OR SI JP74HCT1E5U2C15C10C112GNDCSSCKR45VGND900HzGNDR6C6C71R5CBINT/HOLDVMIDDSOUTXLDSCINC9INTOUTTESTMDSI OR SIMISO OR S0GNDHIP9010/11U3EXTCLOCKJ5HIP9011EVAL1Z REV A Evaluation BoardRoHS 1-888-INTERSIL
120V AC TO 9V DC WALL SUPPLYFIGURE 7.KNOCK SENSOR IC EVALUATION BOARD CONNECTIONS FOR TESTING WITH AN ENGINE
8
http://oneic.com/
AN9770.1
November 6, 2006
CONFIGURATION NETWORKU4J1J213J3JR2R37R113J41431900Hz
7805
1285 PININPUT VOLTAGEV+ = 5V
7V TO 15V
5V227FEMALEDIN
120326CONNECTOR
100μF
0.1μF21942510.22μF
0.1μF
318524245
0.022μF
4176233
1N4002INTOUT
5167CONFIGURATION
22v+PIN NUMBERS9INT/HOLD6HIP9011
158BOARD
ARE THE
21BACKSIDE OR714F9 PIN FEMALE
20pF
920PC BOARD SIDE8131μD-SHELL
1019.OF THE
0912CONNECTOR 1M
1011111895
4.99k
4.99k
1217EXT CLOCKV+
1316V+4MHzVCRYSTAL
MID
1415620pF
1MISO or SO
CS
TEST MOSI OR SISCK
25 PIN FEMALE
D-SHELL2513+SELECT241274HCT14
1/6MOSICSSCKTEST2311-PAPER EMPTYOR2210-BUSY65SI
219DATA 72085197DATA 64
66DATA 51/4
1874HCT125
1/4
V+V+74HCT1255DATA 4-SLCTIN17DATA 31/6 74HCT14-INIT16
4DATA 2V+
14
14
1/4 74HCT12512
11-ERROR153DATA 15
1/6 74HCT14
1/6 74HCT14
8
DATA 01/674HCT1492
31314211
1013
121
-STROBE
1k1
2
0.1μF
70.1μF
7
1
1K
1/41/674HCT14AUTO FD XT34November 6, 2006V+1K9
81/474HCT12510AN9770.1FIGURE 8.HIP9011 EVALUATION BOARD SCHEMATIC DIAGRAM
Application Note 9770http://oneic.com/10900Hz
1C1, 0.1μF
285 PIN227FEMALER3, 10K
V+ = 5V
DIN
R1, 10K
C1, 0.1μF
326CONNECTOR18
-19+0.1μF1+2042-R1, 10K251
20
19318524245
3
EXTERNAL
V623V+
MID
0.022μF
4177R3, 20K22PIN NUMBERS
15516ARE THE BACKSIDE+6+-158R4, 20K210.1μF
OR PC BOARD SIDE17
-16
714920OF THE CONNECTOR R4, 20K
R2, 10K
C2, 0.1μF
8131019HIP9011 SINGLE ENDED INPUT
911R2, 10K18HIP9011
1210
11
1217131614
C2, 0.1μF15
VMID
November 6, 2006AN9770.1FIGURE 9.SCHEMATIC AND FUNCTIONAL DIAGRAMS OF THE HIP9011 SINGLE-ENDED CONFIGURATION BOARD (HIP9011CONFIG1Z)
Application Note 9770http://oneic.com/
分销商库存信息:
INTERSIL
HIP9011EVAL1Z
因篇幅问题不能全部显示,请点此查看更多更全内容