TRYING TO SOLVE SIMPLE SYSTEM OF DIFFERENTIAL EQUATIONS
1 view (last 30 days)
Show older comments
Jacobo Puyoles
on 17 Aug 2014
Edited: Jacobo Puyoles
on 20 Aug 2014
Anyone knows how to stabilize the Systems of Differential Equations attached?? Breaking my head trying to figure it out but can't find the problem.
The equations are the ones corresponding to a very very simplified dynamic model of a motorcycle. Basically what I am trying to do its include a simple PID controller to simulate a "pseudo" virtual rider and hopefully solve the problem with that, as the system by itself it's naturally unstable.
3 Comments
Accepted Answer
Arkadiy Turevskiy
on 19 Aug 2014
Open the PID Controller block dialog, and press the "tune" button.You get the PID Tuner app open and it says that it could not find the stabilizing controller.
Reduce the response time by clicking on the "slower" button in the top slider twice. You get this:
Press "Update block" to apply the gains.
You get these block parameters:
Click ok, run the simulation and look at the reference and feedback signals:
Looks like controller is doing a good job.
HTH
3 Comments
Arkadiy Turevskiy
on 20 Aug 2014
Edited: Arkadiy Turevskiy
on 20 Aug 2014
No, entering PID gains manually is not the only way. In the first answer I outlined the exact steps I followed to get those gains.
As for "the system not working properly", you need to clearly define what that means. As you have it, you just have one PID controller to control pisdot. With the gains PID Tuner comes up with, PID controller tracks your psidot reference very well. I am attaching the model with a viewer for psidot and the reference signal. Run the simulation and look at this viewer to see that the controller tracks the reference signal very well.
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!