Knock By Decimation Source Definition
This block defines a signal source for use in a Knock System by Decimation. A source definition is used to specify the angular window over which signal integration occurs (which gives a measure of knock or reference intensity). The angle domain windows can be tuned at runtime and protect against overlapping adjacent sources through the use of a user defined boundary. Use the Knock Decimation Result block to recover the intensity. Note that it is just considered a source, and as such makes no distinction between a filtered signal that represents knock intensity and a signal that represents reference intensity.
Block ID
Knock Decimation Source
Library
motohawk_knock_by_decimation_lib
Description
Signals
Enable
Boolean signal that enables the source. New integrations won't occur and triggers won't fire whilst a source is disabled.
Start
Fixed point start of the integration window timing in crank angle degrees After firing TDC (degAfTDC). 1==0.0625.
The timing must occur after the
Start
Fixed point end of the integration window timing in crank angle degrees After firing TDC (degAfTDC). 1==0.0625.
The timing must occur after the
Status Output
The status port reports the health of the source's windowing configuration. It should be treated as an enumeration with the following definitions
0: OK
The source's window timing is operating correctly.
1: Error - Bad Boundary
The boundary of legal window timings established by this block overlaps with the boundary defined by another source. A boundary must not overlap with the defined boundary of another source.
2: Error - Bad Timing
At least one of the timings supplied to the inputs of this block are fall outside the legal window boundary that was established when the knock system was created. The source has been disabled and will recover once the timings fall back within the allowed window.
3: Error - Bad Cylinder
The relative cylinder defined for this source does not correspond to a legal engine cylinder as defined by the encoder.
4: Error - Internal
An unexpected error was detected within the ControlCore layer that prevented creation.
Block Parameters
| Parameter Field | Values | Comments/Description |
|---|---|---|
| Name | Alpha-numeric text, quote enclosed | Name of this source, which must be unique. Other blocks like the Trigger definition will use this name to reference this block. |
| Relative Cylinder | Integer | Relative cylinder allows the window timings associated with this source to be offset appropriately for the selected cylinder. Use zero to have the application use absolute timings. A bad value will disable this source and be reported via the output status port. |
| Reference Knock System Name | Alpha-numeric text, quote enclosed | Associates this Source Definition with the Knock System that it is to operate with. |
| Reference Knock Sensor Name | Alpha-numeric text, quote enclosed | Associates this Source Definition with the physical Sensor definition. |
| Start Boundary | degAfTDC | Defines the legal timing start boundary. It's value is referenced to the specified Relative Cylinder. All source timings must occur after this start angle. The Status output port will report an error if this condition is not met. |
| Stop Boundary | degAfTDC | Defines the legal timing stop boundary. It's value is referenced to the specified Relative Cylinder. All source timings must occur before this stop angle. The Status output port will report an error if this condition is not met. |
| Read Access Level | 0-8 | Sets security level 1 lowest, 8 highest, for user access to read value. A setting of zero indicates unsecured access is allowed. |
| Write Access Level | 0-8 | Sets security level 1 lowest, 4 highest, for user access to write value. A setting of zero indicates unsecured access is allowed. |
| Group String | Alpha-numeric text, single-quote enclosed | Determines Folder name and hierarchy. Use "|" character between folder names to delineate subgroup structure |
