6.8.15. Crank wheel — speed (pan_CrankWheelSpeed)

Calculate the rotational speed of a crankshaft wheel.

6.8.15.1. Supported targets

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

6.8.15.2. Required license

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

6.8.15.3. Description

The pan_CrankWheelSpeed block provides the rotational speed of a crankshaft wheel. The Type mask parameter selects the speed calculation output by the block.

6.8.15.4. Inports

  • sim_speed

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

    Range: [0, 10000] rpm

    Value type:Real

6.8.15.5. Outports

  • speed

    The measured speed of the crankshaft wheel encoder selected by parameter Wheel.

    Range: [0, 10000] rpm

    Value type:Real

6.8.15.6. Mask parameters

  • Wheel

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

    Value type:List
    Calibratable:No
  • Type

    A drop down to specify the speed calculation to perform. The selection of type is dependent on the target ECU hardware selected in the put_Identification block.

    Per crank wheel revolution

    The speed as measured every 360° crank.

    Per tooth

    The speed as calculated from the time between the last two crank teeth. When calculating a speed across a missing tooth sync point, the block adjusts the speed as if there were physical teeth present. Extra sync point teeth are ignored.

    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_speed.

    Value type:Boolean
    Calibratable:No

6.8.15.7. Notes

None.