Retrieve the result of the last processed knock signal for a cylinder.
None (Main library). (See Section 2.3, “Licensed Features”.)
The pan_KnockFeedback blocks retrieves the result of the last processed knock signal for a cylinder. When the knock sensor signal was processed, and the parameters used in processing, are set by the application using the pan_KnockDetectionWindow and pan_KnockFilter_Hip901x blocks.
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.
The cylinder to retrieve the processed knock result.
Range: [1, n] where n is the number of cylinders specified by the pan_EngineConfig block.
Value type: | Integer |
The value of this inport is passed to the knock_signal output under simulation.
Value type: | Real |
The result of the last processed knock signal for the cylinder if the valid outport is one, zero otherwise.
Range: [0, 5] volts
Value type: | Real |
Set to one if the processed knock signal is valid, zero otherwise. Causes of valid being zero include: lack of full engine synchronisation; requested cylinder is outside the number of cylinders configured (see the pan_EngineConfig block), knock is not configured by the application (a pan_KnockConfig block does not exist in the application), or if the application sets the knock window starting angle in the pan_KnockDetectionWindow block too close to the start of the knock region window specified with the pan_KnockConfig block, where too close is defined as the two angles occurring within 223 microseconds at the current engine RPM.
Value type: | Boolean |
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 |
The input pin sourcing the signal to measure. Note that this mask parameter is currently unused and is only provided for future expandability. The channel is selected when the pan_KnockFilter_Hip901x block iterates. This also means that only one knock channel can be read at a time, and the data will come from the channel of the last iterated pan_KnockFilter_Hip901x block.
Value type: | List | ||
Calibratable: | No |
Tick to enable inport sim_knock_signal.
Value type: | Boolean | ||
Calibratable: | No |