Sliding mode control simulink

9 views (last 30 days)
KAI DONG
KAI DONG on 29 Nov 2022
Commented: KAI DONG on 29 Nov 2022
Hello!
Herewith my simulation and example from Book 'sliding mode control and observation'(Yuri Shtessel)
I try to get similar pic, but i do not know where is my problem.
I set fixed-step as 0.0001 for reaching phase. scope shows zero always.
thank you for your any suggestions.

Accepted Answer

Paul
Paul on 29 Nov 2022
Hi KAI,
Do any of the integrators have a non-zero initial condition?
Also, might want to consider using a variable step solver, which will do a better job of catching the sign changes in the input to the Sign block.
  2 Comments
KAI DONG
KAI DONG on 29 Nov 2022
actually, from pic attached, I can see X1(0)=0.5. but i tried, I did not get the right pic. so sad. thank you for your kind help
KAI DONG
KAI DONG on 29 Nov 2022
Thank you. I found my problem. many thanks

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!