TRYING TO SOLVE SIMPLE SYSTEM OF DIFFERENTIAL EQUATIONS
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Arkadiy Turevskiy
2014-8-19
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 个评论
Arkadiy Turevskiy
2014-8-20
编辑:Arkadiy Turevskiy
2014-8-20
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.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!