Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Control algorithm in Simulink

Status
Not open for further replies.

gmagnet82

Mechanical
Joined
Oct 29, 2007
Messages
1
Location
HR
I need to expand my closed loop system model with an algorithm which needs to be activated at a certain point in time, not at t=0. Obtained results need to be forwarded back in closed loop. This system uses PID control and need to control output variable during complete simulation time. Problem is how to switch on such algorithm at a certain time-point and than send such results back in closed loop. Thanks.
 
Put your algorithm in a triggered subsystem and just trigger it on when you need your calculation.

Kind Regrads
Phaneas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top