Algebraic loop problem in attitude control

1 回表示 (過去 30 日間)
Gianmarco Morelli
Gianmarco Morelli 2020 年 10 月 23 日
コメント済み: Gianmarco Morelli 2020 年 10 月 28 日
Hi,
I am working on the attitude control of a spacecraft with flexibles appendages, but my simulink model return an algebraic loop warning, and I think it could be the reason of the error in the control.
I can run the simulation but the quaternions, after a first moment of correct trend, start a constant oscillation (i link the picture of the trend).
So I reach the right quaternion value but then i start oscillating. All the suggestions are welcome.
I have already tried with a memory block or a delay block to break the loop, but the simulation can't work in this way.
I link also the equations that bring to the algebraic loop.
Thank you for the help!
  3 件のコメント
Gianmarco Morelli
Gianmarco Morelli 2020 年 10 月 23 日
Hello,
I am using ode 45 (Dormand-Prince) and the simulation time lenght is 1000.
Mathieu NOE
Mathieu NOE 2020 年 10 月 23 日
do you want to share your code and simulink file ?

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

回答 (1 件)

Amrtanshu Raj
Amrtanshu Raj 2020 年 10 月 27 日
Hi,
You can refer to this to understand the execution order of the simulink blocks and edit your model so that you no longer get the algebric loop. In most cases simulink itself will solve the algebric loop iteratively. I would also advice you to look into your model if there is some other error which is causing the oscilations.
  1 件のコメント
Gianmarco Morelli
Gianmarco Morelli 2020 年 10 月 28 日
Hi,
I think that the error could be outside the algebraic loop, did you have any idea of which could be the problem?

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

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by