Vehicle with Four-Speed Transmission
This example shows a complete vehicle with Simscape™ Driveline™ components, including the engine, drivetrain, four-speed transmission, tires, and longitudinal vehicle dynamics. The transmission controller is implemented as a state machine in Stateflow®, selecting the gear based on throttle and vehicle speed.
Model
Transmission Subsystem
Clutch Schedule Subsystem
Shift Logic Subsystem
Vehicle Body Subsystem
Simulation Results from Simscape Logging
The plot below shows the input and output shaft speeds of the transmission as well as the vehicle speed. The clutch states are also plotted (locked or open), indicating the selected gear of the transmission.