What Is Sliding Mode Control?

  Рет қаралды 17,635

MATLAB

MATLAB

Күн бұрын

Пікірлер: 76
@MATLAB
@MATLAB 2 ай бұрын
If you have any questions or comment, please let us know!
@HansScharler
@HansScharler 2 ай бұрын
In the video, you mentioned that sliding mode control can be used to control a robotic arm. What are the specific challenges of using sliding mode control for robotic arms and how it can be addressed?
@WailTheDesigner
@WailTheDesigner 2 ай бұрын
I would like to understand the difference between regulation, tracking, and servomechanisms. Does regulation mean that the reference is constant, and tracking that the reference is variable? How does the servomechanism fit into this?
@Jair_inacio_Neto_Teixeira
@Jair_inacio_Neto_Teixeira 2 ай бұрын
This simulink block is only available in matlab 24?
@BrianBDouglas
@BrianBDouglas 2 ай бұрын
@@Jair_inacio_Neto_Teixeira Yes, the Simulink block just came out in 24b. There are examples implementing SMC in MATLAB from earlier releases but they don't make use of the SMC Simulink block.
@BrianBDouglas
@BrianBDouglas 2 ай бұрын
@@WailTheDesigner in the case of the SMC block in Simulink, regulation mode drives the states to zero. And tracking mode drives the states to a reference. In tracking mode, that reference could be constant, variable, or even set to zero (in which case it behaves the same way as the regulation mode). Around 17:00 in the video, you can see how the switching function changes as I toggle between regulation and tracking. A servomechanism is something different. It is a mechanical device whose position or velocity is controlled through feedback. Probably most servos are controlled with some form of tracking mode since you are often asking the device to move to a given position or velocity. Does that answer your question?
@khantalks0
@khantalks0 2 ай бұрын
Brian Douglas Godfather of simple explanation of control theory
@MATLAB
@MATLAB 2 ай бұрын
He is amazing!
@BrianBDouglas
@BrianBDouglas 2 ай бұрын
🥰
@farzanehbagheri6379
@farzanehbagheri6379 2 ай бұрын
One of the best explanations I have seen from SMC.
@MATLAB
@MATLAB 2 ай бұрын
Awesome, glad it was helpful!
@Erik-ii5rc
@Erik-ii5rc 2 ай бұрын
Agreed!
@nurahmedomar
@nurahmedomar Ай бұрын
I have been working on SMC for the past year, and after watching this video, I understand it even more clearly.
@MATLAB
@MATLAB Ай бұрын
Thrilled to hear that it was so helpful.
@walterp773
@walterp773 2 ай бұрын
This is simplicity. I feel the concept was extremely easy to understand when the vectors appeared.
@MATLAB
@MATLAB 2 ай бұрын
Yes, vectors makes things very simple.
@annad9794
@annad9794 17 күн бұрын
This class nearly drove me crazy this semester, but your clear drawings really saved me!
@MATLAB
@MATLAB 15 күн бұрын
Glad to hear it was helpful!
@Jair_inacio_Neto_Teixeira
@Jair_inacio_Neto_Teixeira 2 ай бұрын
Simply amazing! Please do more videos on non linear control
@MATLAB
@MATLAB 2 ай бұрын
You got it!
@MrHaggyy
@MrHaggyy 2 ай бұрын
Awesome explanation from Brian. One might say as usuall at this point. I used SMC on a speed control of a system where mass and resistance have high uncertainty and will change quite a lot during operation. Might be interesting to show how uncertainty in the model can break traditional controls like PID, but not SMC.
@MATLAB
@MATLAB 2 ай бұрын
Great feedback, thanks!
@BrianBDouglas
@BrianBDouglas 2 ай бұрын
Thanks for this comment. I thought about trying something like that in this video but it was already 20 minutes long! PID can be pretty robust though, but often just not as robust as SMC. Are you still building systems with SMC? What do you find are some of the challenges with it? Thanks!
@MrHaggyy
@MrHaggyy Ай бұрын
@@BrianBDouglas Thanks for the reply. Yes, keeping explanations compact really is an art. I haven't touched it in a while. We prefer using PIDs when sufficient as more people know how to work with them. But it's definitely a tool if model parameters change a lot. Shattering was challenging. It can work the actuators pretty hard and introduces vibrations into the system. You need to be aware of them and how they might affect your sensor readings. Likewise precision is a tradeoff with the reaction to disturbance. If you make the boundary layer bigger and reduce the gain you get more error from disturbances. If you make it tighter you recover faster, but get more shattering. Having some friction in the system did help with shattering as the actuator couldn't follow as much. An integral part inside the boundary layer can reduce shattering. A term that scales the gain depending on how far away from the sliding mode you are helps with the urge of the system to shatter when it reaches the sliding mode. I'm looking forward to the next video.
@sasankpotluri4422
@sasankpotluri4422 Ай бұрын
Hands down, one of the best explanations on SMC. Felt like a 3Blue1Brown video.
@MATLAB
@MATLAB Ай бұрын
Wow, thanks!
@harrytsai0420
@harrytsai0420 2 ай бұрын
Great Video from Brian Douglas!!!
@BrianBDouglas
@BrianBDouglas 2 ай бұрын
Thanks!
@achmadsyahrulirwansyah5304
@achmadsyahrulirwansyah5304 Ай бұрын
Finally, you explain this. I've been waiting Brian Douglas to explain SMC for me. Thank you.
@MATLAB
@MATLAB Ай бұрын
Yay, glad it finally happened!
@yahyahaque1850
@yahyahaque1850 Ай бұрын
Best ever explanation I watched. You are a true gem
@MATLAB
@MATLAB Ай бұрын
Thank you!
@351Braeden
@351Braeden Ай бұрын
It would be great in the next few videos to show an implementation of SMC for temperature control. A lot of temperature control systems use PWM to control some heaters output so a continuous control value (duty cycle) has to be converted into a discontinuous control signal anyway. It would be awesome to see to computation and implementation of the discontinuous control directly!
@MATLAB
@MATLAB Ай бұрын
Great suggestion! Thank you.
@BillTubbs
@BillTubbs Ай бұрын
I think the boundary layer function at 16:08 might have a minor error. Should the third condition be s < -phi (not s < phi)?
@BrianBDouglas
@BrianBDouglas Ай бұрын
Yes! You are correct. There should be a minus sign in front of phi. Thanks for being so attentive. I can't fix the video anymore but, hopefully, I can find a good way to call it out so that it doesn't confuse anyone else. I appreciate it!
@BillTubbs
@BillTubbs Ай бұрын
@@BrianBDouglas No worries, it's quite obvious once you think about it.
@shyennepinheiro4547
@shyennepinheiro4547 Ай бұрын
simply fantastic and very educational
@MATLAB
@MATLAB Ай бұрын
Thanks, glad you find it helpful!
@ChibunduUmeh
@ChibunduUmeh Ай бұрын
GOAT of matlab control theory. Can you do a basic video on the use of functional analysis in control theory? I always understand more complex concepts better after watching your videos.
@MATLAB
@MATLAB Ай бұрын
Thank you for your suggestion!
@Pedritox0953
@Pedritox0953 2 ай бұрын
Would be great a step by step what the control does in time. Great video!
@MATLAB
@MATLAB 2 ай бұрын
Noted, thank you for your feedback!
@bachaaymene
@bachaaymene 2 ай бұрын
I would love to see more video about the terminal sliding mode, super twisting ...
@MATLAB
@MATLAB 2 ай бұрын
Thank you for your suggestion!
@xlittletomiq6777
@xlittletomiq6777 Ай бұрын
Great video, thank you! Could I have two questions for further clarification? 1. Regarding the “boundary layer” conditions.. I assume that theta=-1 iff s < -phi? (Emphasis on the minus) 2. Solving the equation for u(t), the output is a 2x1 vector. What is the interpretation of this and which element of this vector is then used for the control?
@BrianBDouglas
@BrianBDouglas Ай бұрын
1) You are right! Great catch. I forgot the negative sign on the phi. Thanks for the sharp eyes! 2) u(t) should be the size of the number of inputs into the system. In the case of my example in the video, u(t) should be 1x1. Can you explain how you're getting 2x1? Maybe one place for error is with f(x). f(x) is A*x and not just the A matrix. So, A*x is 2x2 times 2x1 which makes f(x) a 2x1. C transpose is 1x2 and so 1x2 times 2x1 is 1x1.
@xlittletomiq6777
@xlittletomiq6777 Ай бұрын
2) you are absolutely right, I did not realize that f(x)=A*x and not only A.. Thanks for the quick reply :)
@jeromelachaize6959
@jeromelachaize6959 2 ай бұрын
Realy nice explanation of SMC
@MATLAB
@MATLAB 2 ай бұрын
Glad you liked it
@official-michael1993
@official-michael1993 2 ай бұрын
It was helpful video. I'm working on advanced SMC for application of nuclear reactor power tracking and disturbance rejection princples. SMC is usefull for controlling Xenon oscillation during load-following operation of nuclear reactor, however to control chattering effect, we can add fuzzy algorthm methods.
@MATLAB
@MATLAB Ай бұрын
Thank you for your great tip!
@alidoraghi3852
@alidoraghi3852 Ай бұрын
May we use gain scheduling technique to chattering reduction of smc control?
@CH-qn9mc
@CH-qn9mc Ай бұрын
Is it possible to use neural state space model as the system? Great video!
@hasinabrar3263
@hasinabrar3263 Ай бұрын
Brian Douglas the GOAT of control;
@BrianBDouglas
@BrianBDouglas Ай бұрын
☺️
@emmanueleyi913
@emmanueleyi913 Күн бұрын
Can SMC deal well with time delay system?
@simaoalpha1198
@simaoalpha1198 2 ай бұрын
Great video as always, although It would be preferable in 12:20 to explain stability in the sense of Lyapunov rather than the graphical explanation.
@MATLAB
@MATLAB 2 ай бұрын
Thank you for your feedback!
@MrHaggyy
@MrHaggyy 2 ай бұрын
True, but i get why they choose a graphical explanation in a video.
@BrianBDouglas
@BrianBDouglas 2 ай бұрын
Thanks for the feedback. I wanted to try to explain it in a way that maybe isn't often done. I figure that there are already Lyapunov-based explanations out there and instead of repeating them, I was trying to come up with a complementary explanation.
@AvelinoTiago
@AvelinoTiago Ай бұрын
what you mean by preferable? literally the entire internet/literature is about lyapunov.
@denissopichev5986
@denissopichev5986 2 ай бұрын
What the difference between Sliding Mode control and lets say Adaptive gain which depend on error size for example? Its basically the same from my perspective
@BrianBDouglas
@BrianBDouglas 2 ай бұрын
They are both robust control strategies, but they approach the problem slightly differently. SMC has this discontinuous control where it switches back and forth to slide along the switching surface. As I explain in the video, this high gain switching can allow for the system to be really robust to parameter variations and external disturbances. With adaptive control, the control gains are adjusted smoothly and continuously to account for changes in the system dynamics. I don't believe adaptive gain is as robust to uncertainties and disturbances as SMC because of the time constant involved in adjusting the gain. Adaptive gain doesn't have the chattering issue like SMC has so there is a trade off as far as I'm aware.
@oldcowbb
@oldcowbb 2 ай бұрын
finally, i have been hearing sliding mode control for so long but didn't bother looking it up
@MATLAB
@MATLAB 2 ай бұрын
I hope it was worth the wait!
@oldcowbb
@oldcowbb Ай бұрын
@@MATLAB well worth
@FatherGapon-gw6yo
@FatherGapon-gw6yo 26 күн бұрын
This is super-doing some NDI controllers for an aircraft and chatter is bad-should be able to do the same gain trick.
@MATLAB
@MATLAB 26 күн бұрын
Glad the video was useful for your current work!
@tigerwuli2760
@tigerwuli2760 18 күн бұрын
shortcut at 16:52 please help
@MATLAB
@MATLAB 18 күн бұрын
If you need help with the math, please post your questions in MATLAB Answers www.mathworks.com/matlabcentral/answers/index
@arrijalrifai2197
@arrijalrifai2197 2 ай бұрын
I hope you create this video 4 years ago 🤣 This topic was burn my head 🥲
@MATLAB
@MATLAB 2 ай бұрын
Hahaha, better late than never!
@p.s.l.7763
@p.s.l.7763 Ай бұрын
14:45
Everything You Need to Know About Control Theory
16:08
MATLAB
Рет қаралды 578 М.
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 30 МЛН
Мама у нас строгая
00:20
VAVAN
Рет қаралды 11 МЛН
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 19 МЛН
Why the Riccati Equation Is important for LQR Control
14:30
I Saved an Electron Microscope from the Trash
34:54
ProjectsInFlight
Рет қаралды 71 М.
Modeling and Simulation of Advanced Amateur Rockets
17:10
Lafayette Systems
Рет қаралды 128 М.
The Strange Physics Principle That Shapes Reality
32:44
Veritasium
Рет қаралды 6 МЛН
3D Gaussian Splatting! - Computerphile
17:40
Computerphile
Рет қаралды 150 М.
What Is Gain Scheduling? | Control Systems in Practice
14:41
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 30 МЛН