6.8.1. Analogue input — angular, configuration (pan_AngularAnalogInput_Config)

Configure an analogue input channel to sample on an angular basis.

6.8.1.1. Supported targets

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

6.8.1.2. Required license

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

6.8.1.3. Description

The application must use a pan_AngularAnalogInput_Config block for each input channel to be sampled on an angular basis. A pan_AngularAnalogInput_Config block must be present in the model for other angular analogue input related blocks to operate.

The function identifies the analogue input channel to be sampled. The ECU samples this analogue input channel across the engine cycle, buffering the conversions. The results relative to a cylinder's TDC-firing angle can be retrieved using the pan_AngularAnalogInputVariable block. The results relative to crank zero degrees can be retrieved using the pan_AngularAnalogInputVariableAbs block.

The block identifies the analogue input channel to be sampled and associates the channel with a group name. Other analogue input blocks must refer to the same group name.

6.8.1.4. Inports

None.

6.8.1.5. Outports

None.

6.8.1.6. Mask parameters

  • Group

    A drop down to identify the group of analogue input channel samples to configure. The selection of groups is dependent on the target ECU hardware selected in the put_Identification block.

    Value type:List
    Calibratable:No
  • Channel

    Specifies the input channel for the analogue input selected for this Group. The range of selectable channels is dependent on the target ECU hardware selected in the put_Identification block.

    Value type:List
    Calibratable:No
  • Fixed sample angles?

    Tick to enable the Fixed sample angles mask parameter. When ticked, the application must supply the angles at which to sample the analogue input channel at build time. These angles cannot be modified when the application is running. Untick this mask parameter to supply the sample angles at run-time through either the pan_AngularAnalogInputVariable or pan_AngularAnalogInputVariableAbs block.

    Value type:Boolean
    Calibratable:No
  • Fixed sample angles

    Specifies a vector of values specifying the points relative to TDC-firing at which analogue input samples are to be taken. A positive value denotes an angle after TDC-firing. The sample angles are used for each cylinder.

    Size: [1, 8] entries Range: [-360, 360) ° crank, for a two-stroke engine Range: [-720, 720) ° crank, for a four-stroke engine

6.8.1.7. Notes

None.