What causes the SMC controller to be unable to track the desired position, leading to an excessively significant error between the desired and real positions?

조회 수: 7 (최근 30일)
I have a quadcopter system and an SMC (Sliding Mode Controller) to track the desired position and orientation. To start my trial and error process, I tried to give the desired position, which is the z-direction only. I am facing an issue where the SMC controller I designed is unable to track the desired position, and there is a significant discrepancy between the desired position and the actual position, resulting in a large error. What factors are contributing to this issue, and what steps can be taken to resolve it?

채택된 답변

Sam Chak
Sam Chak 2025년 6월 30일
I did not examine your Simulink model, as it requires technical knowledge of quadcopter dynamics. Assuming that your quadcopter modeling is correct and that the SMC equation is designed accordingly, I suspect that the large error issue is most likely due to poor tuning of the control gains in the SMC. I am uncertain, but the chosen lambda1​ gain seems unusually small (0.0001).
Imagine this: when the relatively large switching gain (100) drives the quadcopter's state trajectory to reach the sliding surface (), it "slides" along this surface toward the desired equilibrium point at a very-very slow rate, . In other words, the sliding slope is nearly parallel with the horizontal x-axis. Additionally, your high derivative gain PD controller, given by, makes the performance very sluggish. I believe these two factors are contributing to the issue. The effect of the lambda2 (0.0001) gain effect is insignificant to .
  댓글 수: 3
Alfa
Alfa 2025년 7월 4일

Ok sir, thanks for your help. Your answer is very helpful to understand the basics of SMC especially in choosing the gain control.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by