필터 지우기
필터 지우기

I'm not able to simulate a stable system in Simulink. States are being increased with no reason

조회 수: 2 (최근 30일)
Hi community,
I created a system to simulate quadcopter behavior, and used the parameters of a well known and tested vehicle.
When I try to simulate it, with no inputs (only force in Z axis to hold altitude), the states starts to diverge. May I missing something in Simulink? I tried to set some block as atomic but it didn't solve the problem.
When I disconnect the feedback from states (inputs of Required Prop Loads Block), it works as expected, as shown in picture below.

답변 (1개)

Nehemiae
Nehemiae 2023년 3월 7일
Hello,
On testing with your model, I am able to get the simulation output when setting the maximum step size to 0.001 and the minimum step size to 0.0001 for the solver settings in the configuration parameters. To avoid out-of-bounds solver conditions, increasing the accuracy of the solver by reducing the step size is often helpful. The documentation on variable step solvers (https://www.mathworks.com/help/simulink/ug/variable-step-solvers-in-simulink-1.html) can be helpful for this.

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by