Clutch Simulation Using If Block

This demonstration shows how to use if/else subsystems to build a clutch model. An If subsystem models the clutch dynamics in the locked position while an else subsystem models the unlocked position. One or the other of the subsystems is enabled via the If block. The dot-dashed lines from the If block denote control signals, used to enable if/else (or other conditional) subsystems

After running the simulation, a GUI opens. Checking any of the boxes on the GUI produces a plot of any of the following variables (versus time).

  1. Clutch Pedal input: The variable Fn in the MATLAB Workspace
  2. Engine Torque input: The variable Tin in the MATLAB Workspace
  3. we: Engine velocity
  4. wv: Vehicle velocity when the clutch is unlocked
  5. w: Vehicle velocity when the clutch is locked
  6. Locked Flag: 1 when the clutch is locked. Zero when unlocked.
  7. Lockup Flag: 1 at the point in time when the clutch locks.
  8. Break-Apart Flag: 1 when the clutch is unlocked. Zero when locked.
  9. Friction Torque Required for Lockup
  10. Max Static Friction Torque