SLIS110C April 2003 – March 2015 TPIC8101
PRODUCTION DATA.
NOTE
Information in the following applications sections is not part of the TI component specification, and TI does not warrant its accuracy or completeness. TI’s customers are responsible for determining suitability of components for their purposes. Customers should validate and test their design implementation to confirm system functionality.
The TPIC8101 can interface with one or two flat type or resonant knock sense elements. Flat type (non-resonant) sensors have a wider frequency bandwidth than resonant type sensors. A microprocessor must also interface with the TPIC8101 as shown in Figure 5. The microprocessor may sample the output data either through SPI or by sampling the analog OUT signal.
After the knock sense element and the microprocessor are chosen, the designer can choose the TPIC8101 settings. The settings that must be programmed through SPI are: ƒbp, ƒosc, AP, τC, and channel. If the analog output is used, then the INT/HOLD signal must be supplied by the microprocessor.
The input amplifier gain (AIN) is typically set to 1 by setting R1 = R2. R1 and R2 should be chosen to be greater than 25 kΩ.
PARAMETER | CONSTRAINT | VALUE FOR DESIGN EXAMPLE |
---|---|---|
VIN | Amplitude of input signal from knock sensor; determined by knock sensor specification | 300 mVpp |
ƒbp | Bandpass center frequency; determined by knock sensor specification | 7.3 kHz |
ƒosc | Oscillator frequency; determined by microprocessor | 6 MHz |
tINT | Integration window; determined by system specification. This is half the period of the INT/HOLD signal (when using a 50% duty cycle) which is generated by the microprocessor. | 3 ms |
VOUT | Maximum voltage on the OUT pin for the maximum VIN | 4.5 V |
Design parameters to set:
AIN: Input amplifier gain, typically set to 1
AP: Programmable gain
τC: Integration time constant
Design equations:
Use Equation 2 to solve for AP:
For this design example, use the parameters specified in Table 5. This example is for a resonant knock sensor.
Using Equation 4:
Using Equation 5:
AP = 0.38
Table 6 lists the parameters to program.
Parameter | Calculated Value | Programmed Value | Code | SPI | |
---|---|---|---|---|---|
DEC | HEX | ||||
Oscillator | 6 MHz | 6 MHz | 1000010 | ||
Channel | 1 | 1 | 11100000 | ||
ƒC0 | 7.3 kHz | 7.27 kHz | 42 | 2A | 101010 |
AP | 0.38 | 0.381 | 34 | 22 | 10100010 |
τC | 106 µs | 100 µs | 10 | 0A | 10001010 |
Figure 6 shows the input and output signals for this design example.
For a resonant knock sensor (as in the design example), the center frequency of the bandpass filter is set to the resonant frequency of the knock sensor. For a flat-type knock sensor, the bandpass filter design equation can be used to determine where the center frequency should be set.
The transfer function of the biquadratic bandpass IIR filter is: