6.8.16. Crank wheel — synchronisation (pan_CrankWheelSync)

Retrieve the synchronisation state for a crankshaft wheel.

6.8.16.1. Supported targets

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

6.8.16.2. Required license

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

6.8.16.3. Description

The pan_CrankWheelSync block retrieves whether the ECU has synchronised to the crankshaft wheel or not. The ECU continually monitors the crankshaft wheel input signal looking for tooth edges. If the crankshaft signal decoding state machine has reached state Count teeth or higher, then the ECU has synchronisation to the wheel. See Section 6.1.2.4, “Crank decoding” for a description of the crank decoding state machine.

6.8.16.4. Inports

  • sim_sync

    Only used under simulation. Under simulation, the value of this inport is passed through to outport sync.

    Value type:Boolean

6.8.16.5. Outports

  • sync

    Set to zero if the ECU does not have synchronisation with the crankshaft wheel, set to one if the ECU has synchronisation.

    Value type:Boolean

6.8.16.6. Mask parameters

  • Wheel

    A drop down to identify the crankshaft wheel for synchronisation information. The selection of wheel must match a pan_CrankWheelConfig block elsewhere in the model.

    Value type:List
    Calibratable:No
  • Sample time

    The periodicity of the block execution.

    Range: [0.001, 3600] seconds

    Value type:Real
    Calibratable:No
  • Provide simulation inports?

    Tick to enable inport sim_sync.

    Value type:Boolean
    Calibratable:No

6.8.16.7. Notes

None.