Engine Timing With Closed Loop Control
This demonstration shows how to use Triggered subsystems to model engine timing, including a feedback controller. Different subsystems in the diagram model the mathmatical representation of various automotive systems, include the following.
The valve timing subsystem generates a signal that triggers the Controller and Compression subsystems twice per revolution of the crank (calculated from the crank speed.)
A speed set point (in rpm) from the Step block drives the simulation. The controller calculates the necessary throttle angle based on the desired rpm and the crank speed that is calculated by the vehicle dynamics.
After running the simulation, the Scopes show the engine speed and the throttle angle compared to the load torque.