TRYING TO SOLVE SIMPLE SYSTEM OF DIFFERENTIAL EQUATIONS

1 回表示 (過去 30 日間)
Jacobo Puyoles
Jacobo Puyoles 2014 年 8 月 17 日
編集済み: Jacobo Puyoles 2014 年 8 月 20 日
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 件のコメント
Jacobo Puyoles
Jacobo Puyoles 2014 年 8 月 17 日
Geoff, it should be there now.
Jacobo Puyoles
Jacobo Puyoles 2014 年 8 月 17 日
編集済み: Jacobo Puyoles 2014 年 8 月 17 日
Sorry, I attached the wrong file in which the variables where not defined! I updated the model now.

サインインしてコメントする。

採用された回答

Arkadiy Turevskiy
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
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.
Jacobo Puyoles
Jacobo Puyoles 2014 年 8 月 20 日
編集済み: Jacobo Puyoles 2014 年 8 月 20 日
Sorry,I explained myself incorrectly. I meant that I could not reach the controller parameters you showed by using the "slower" button in the PID tuner, that is why I type them myself.
Yes, I can see how the reference is being track very well indeed, thank you for that. My problem is that the overall solution which I am after, i.e. y, psi, beta and roll angle (the right most 4 input scope) does not produce the "theoretical" response, as it only produces a solution between 4.90 and 5 seconds approx, as shown in the figure. Also the graphs shapes are not well (attending to the results of the paper I got the equations from) so I deduced that the system is not working as I expected but can´t figure out why. The system is not commplex but still, I am missing something.
I really appreciate your help.

サインインしてコメントする。

その他の回答 (0 件)

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by