How do I avoid an Algeraic loop?
Mostrar comentarios más antiguos
I have a simulink model of a car, I need to control the speed of car using PID, so I feedback the car speed to the controller. But at this moment I get an algebraic loop error. I am using ode23t variable step solver.I am avoiding this algebraic loop using a delay in feedback. I also had this idea of using a integrator immediately followed by differentiator in feedback loop, so initially a value of zero can be fed through feedback loop and algebraic loop is avoided. Does this second method make any sense? Also any other suggestions to avoid this algebraic loop? Any help will be appreciated! thank you!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Physical Units en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!