6.8.47. Knock filter — HIP901x (pan_KnockFilter_Hip901x)

Update the scheduled knock signal filtering parameters for a cylinder for the HIP901x family of engine knock signal processors.

6.8.47.1. Supported targets

M670-000

6.8.47.2. Required license

None (Main library). (See Section 2.3, “Licensed Features”.)

6.8.47.3. Description

The pan_KnockFilter_Hip901x block sets the HIP901x device signal processing parameters to be applied to the knock transducer signal when it is sampled. The sensor sampling region is set by the application using the pan_KnockDetectionWindow block. The result of the filtering is provided by the pan_KnockFeedback block.

A simplified view of the knock signal processing stages is given in the following block diagram:

Figure 6.17. Knock signal processing for the HIP901x family of processors

Knock signal processing for the HIP901x family of processors

  • The knock signal to process is first selected from two differential inputs, as selected by the application using the pan_KnockConfig block. The device responsible for detecting knock can process just one sensor at a time.

  • The knock signal is then passed through a 3rd order anti-aliasing filter. This filter is required to have no more than 1dB attenuation at 20kHz (highest frequency of interest) and a minimum attenuation of 10dB at 180kHz.

  • The knock signal is then passed through a gain stage to compensate knock energies if needed.

  • The knock signal is then passed through a band-pass filter to detect the frequencies of interest. The filter frequency is established by the characteristics of the particular engine and transducer.

  • The knock signal is then passed through a full wave rectifier before being passed into an integrator stage, the output of which can be monitored for knock. Integration is towards the positive supply when a knock signal is present.

Knock signal processing is active in full engine synchronisation mode and disabled in other modes. When the ECU is not in full engine synchronisation mode, the knock processing result is forced to zero.

6.8.47.4. Inports

  • cylinder

    The cylinder to set the knock filter parameters.

    Range: [1, n] where n is the number of cylinders specified by the pan_EngineConfig block.

    Value type:Integer
  • gain

    Gain applied to the knock transducer signal for a specific cylinder.

    Range: [0.111, 2] unitless

    Value type:Real
  • bandpass

    Bandpass centre frequency applied to the knock transducer signal for a specific cylinder.

    Range: [1.22, 19.98] kHz

    Value type:Real
  • integration

    Integration time constant applied to the knock transducer signal for a specific cylinder.

    Range: [40, 600] microseconds

    Value type:Real

6.8.47.5. Outports

None.

6.8.47.6. Mask parameters

  • Window

    A drop-down list of window types. Some targets support the sampling of a reference window in addition to an active window.

    Value type:List
    Calibratable:No
  • Channel

    The input pin(s) sourcing the signal to measure.

    Value type:List
    Calibratable:No

6.8.47.7. Notes

The values of the gain, bandpass and integrator inports are quantised by the knock processing as given in the table below. Input values are rounded to the nearest available discrete value. Out of range input values are clipped to range.

GainBandpassIntegrator
 kHzmicroseconds
2.0001.2240
1.8821.2645
1.7781.3150
1.6841.3555
1.6001.4060
1.5231.4565
1.4551.5170
1.3911.5775
1.3331.6380
1.2801.7190
1.2311.78100
1.1851.87110
1.1431.96120
1.0632.07130
1.0002.18140
0.9442.31150
0.8952.46160
0.8502.54170
0.8102.62180
0.7732.71200
0.7392.81220
0.7082.92240
0.6803.03260
0.6543.15280
0.6303.28300
0.6073.43320
0.5863.59360
0.5673.76400
0.5483.95440
0.5004.16480
0.4714.39520
0.4444.66560
0.4214.95600
0.4005.12 
0.3815.29 
0.3645.46 
0.3485.66 
0.3335.90 
0.3206.12 
0.3086.37 
0.2966.64 
0.2866.94 
0.2767.27 
0.2677.63 
0.2588.02 
0.2508.46 
0.2368.95 
0.2229.50 
0.21110.12 
0.20010.46 
0.19010.83 
0.18211.22 
0.17411.65 
0.16712.10 
0.16012.60 
0.15413.14 
0.14813.72 
0.14314.36 
0.13815.07 
0.13315.84 
0.12916.71 
0.12517.67 
0.11818.76 
0.11119.98