6.8.37. Injection direct — setpoint feedback (pan_InjectionSetpoint_DI)

Read back direct injection parameters for a given injector.

6.8.37.1. Supported targets

M220-000, M221-000, M250-000 and M670-000

6.8.37.2. Required license

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

6.8.37.3. Description

For a given injector, the pan_InjectionSetpoint_DI block reads the injection schedule supplied by the application. The pan_InjectionSetpoint_DI block is used to verify that the data stored in eTPU memory match that which the application intended to write, allowing for checks of eTPU memory faults.

If this function is called while the eTPU is updating internal schedule parameters, it will wait until the eTPU is complete guaranteeing that all the parameters read are from a single schedule.

6.8.37.4. Inports

  • injector_id

    The injector identifier of the injection schedule to read. When the injection was configured using the pan_InjectorConfig block then the injection identifier is the same as the cylinder identifier from that block. When the injection was configured using the pan_SingleInjectorConfig block then the injector identifier is taken from that block.

    Range: [1, n] where n represents the number of supported injector outputs by the selected ECU.

    Value type:Integer

6.8.37.5. Outports

  • valid

    One when the data read was successfully and coherently read, zero if a problem occurred.

    Value type:Boolean
  • on_angle

    A vector of injection on-angles, relative to TDC-firing, to match the values passed to the pan_Injection_DI block.

    Range: [-720, 720] ° crank Resolution: at least 0.1 degrees

    Note

    The values returned in this vector are the internal representation of the angles. These may differ from the specified values by a modulo to fit into the internal angle range.

    Value type:Real
  • amount

    A vector of injection amounts to match the values passed to the pan_Injection_DI block.

    Range: [0, 512) mm3 if duration_mode is set to volume Range: [0, 1000] milliseconds if duration_mode is set to time

    Value type:Real
  • duration_offset

    An additive duration applied to this injector's pulses to match the value passed to the pan_Injection_DI block.

    Range: [-8.192, 8.192] milliseconds

    Value type:Real
  • duration_mode

    Whether the application specified the injection schedule in volume or time, matching the value passed to the pan_Injection_DI block.

    Value type:Boolean
  • drop_dead_angle

    The drop dead angle as set by the parameter value passed to the pan_InjectorConfig_DI block.

    Range: [-720, 720] ° crank Resolution: at least 0.1 degrees

    Note

    The value passed to the ECU is transformed to be kept with in a valid angle range. This transform cannot be reversed, so the angle is reported with the following transform applied:

    on_angle = ((on_angle + 1080°) mod 720°) - 360°

    Value type:Real

6.8.37.6. Mask parameters

  • Sample time

    The periodicity of the block execution.

    Range: [0.001, 3600] seconds

    Value type:Real
    Calibratable:No

6.8.37.7. Notes

None.