Sliding Mode Control
Dr.R.Subasri
Professor, Kongu Engineering College,
Perundurai, Erode, Tamilnadu, INDIA
Dr.R.Subasri, KEC,INDIA
Variable-Structure Systems: Discontinuous feedback
control strategies.
-Theory of the control inputs typically take values
from a discrete set, such as the extreme limits of a relay,
or from a limited collection of pre-specified feedback
control functions.
Sliding mode control: one of the most popular techniques
under VSS by Utkin
• choice of a switching surface of the state space
according to the desired dynamical specifications of the
closed-loop system.
• The switching logic, and thus the control law, are
designed so that the state trajectories reach the surface
and remain on it.
Dr.R.Subasri, KEC,INDIA
The main advantages of this method are:
• its robustness against a large class of perturbations or
model uncertainties
• the need for a reduced amount of information in
comparison to classical control techniques
• the possibility of stabilizing some nonlinear systems
which are not stabilizable by continuous state feedback
laws
Drawback:
The actuators had to cope with the high
frequency bang-bang type of control actions that could
produce premature wear, or even breaking.
Dr.R.Subasri, KEC,INDIA
However, this main disadvantage, called chattering,
could be reduced, or even suppressed, using techniques
such as nonlinear gains, dynamic extensions, or by using
more recent strategies, such as higher-order sliding
mode control
Applications
•Control of electrical motors, DTC
•Observers and signal reconstruction
• Mechanical systems
•Control of robots and manipulators
• Magnetic bearings
Dr.R.Subasri, KEC,INDIA
single-dimensional motion of a unit mass is considered.
A state-variable description is easily obtained by
introducing variables for the position and the velocity
x1=x and x2 =
1 2 1 10
2 1 2 2 20
x x x (0) x
x u f (x ,x ,t) x (0) x
 
  
&
&
x&
where u is the control force, and the disturbance term f(x1,
x2, t) which may comprise dry and viscous friction as well
as any other unknown resistance forces, is assumed to be
bounded, i.e., 1 2f(x ,x ,t) L 0 
The problem is to design a feedback control law u
=u(x1,x2)that drives the mass to the origin asymptotically.
In other words, the control u is supposed to drive the state
variables to zero 1 2
t
lim x ,x 0

Dr.R.Subasri, KEC,INDIA
This apparently simple control problem is a challenging
one, since asymptotic convergence is to be achieved in the
presence of the unknown bounded disturbance f(x1, x2, t).
For instance, a linear state-feedback control law
1 1 2 2 1 2u k x k x , k 0 , k 0    
provides asymptotic stability of the origin only for
f(x1, x2, t )=0 and typically only drives the states to a
bounded domain 1 2 1 2Ω(k ,k ,L) for f(x ,x ,t) L 0 
Single-dimensional motion of a unit mass
Asymptotic convergence for f(x1, x2, t )=0
Dr.R.Subasri, KEC,INDIA
The results of the simulation of the system with
x1(0) =1 , x2(0) =-2, k1=3 , k2=4 and f(x1,x2,t)=sin(2t)
Asymptotic convergence for f(x1, x2, t )= sin 2t
Dr.R.Subasri, KEC,INDIA
Main Concepts of Sliding Mode Control
Let us introduce desired compensated dynamics for the example
system. A good candidate for these dynamics is the homogeneous
linear time-invariant differential equation
1 1x cx 0, c>0 &
A general solution of above eqn and its derivative is given by
1 1
2 1 1
x (t) x (0)exp( ct)
x (t) x (t) cx (0)exp( ct)
 
   &
Both x1(t)and x2(t) converge to zero asymptotically. Note, no
effect of the disturbance f(x1, x2,t) on the state compensated
dynamics is observed. How could these compensated dynamics
be achieved?
First, we introduce a new variable in the state space of the system
in 1 2 2 1σ σ(x (t),x (t)) x cx , c>0  
Dr.R.Subasri, KEC,INDIA
In order to achieve asymptotic convergence of the state variables x1,
x2 to zero with a given convergence rate in the presence of the
bounded disturbance f(x1, x2, t), we have to drive the variable to
zero in finite time by means of the control u.
The variable  is called a sliding variable
1 2 2 1σ σ(x ,x ) x cx , c>0  The equation corresponds to a
straight line in the state space of the system and is referred
to as a sliding surface.
A condition to make the trajectory of the system driven
towards the sliding surface and remains on it thereafter is
known as Reachability Condition
α
σσ σ
2
&
1 2 2 1σ σ(x (t),x (t)) x cx , c>0  
Dr.R.Subasri, KEC,INDIA
The control u(x1 ,x2) that drives the state variables x1, x2 to the
sliding surface in finite time , and keeps them on the surface
thereafter in the presence of the bounded disturbance f(x1, x2, t) is
called a sliding mode controller
The control law consists of two parts , one as feedback linearisation
and other as switching function depends on  which is sgn( ).
Where  is control gain.
1 σ 0
sgn(σ) 0 σ 0
1 σ 0


 
 
Dr.R.Subasri, KEC,INDIA
Firstly, it drives the nonlinear plant’s state trajectory onto a specified
and user chosen surface in the state space which is called the sliding
or switching surface.
This surface is called the switching surface because a control path
has one gain if the state trajectory of the plant is “above” the
surface and a different gain if the trajectory drops “below” the
surface.
Secondly, it maintains the plant’s state trajectory on this surface for
all subsequent times. During the process, the control system’s
structure varies from one to another and thereby earning the name
variable structure control. The control is also called as the sliding
mode control
Dr.R.Subasri, KEC,INDIA
The reachability condition is : σσ 0&
 
1 2
1 1 2
σ(t) cx(t) x(t) cx (t) x (t)
σ(t) cx (t) u f x ,x ,t
   
  
& & && & &
& &
  1 1 2σσ(t) σ (cx (t) u f x ,x ,t  & &
1u(t) cx (t) ηsgn(σ)  &
Secondly, to satisfy the condition, we design the sliding mode
controller as
Let us design the sliding mode control law for the previous
tsystemwith the initial conditions x1(0)= 1; x2(0)=- 2, the control
gain = 2, the parameter c=1.5, and the disturbance f(x1, x2, t)
=sin 2t
First, design the sliding mode surface as
1 2σ(t) cx(t) x(t) cx (t) x (t)   &
Where c has to satisfy the Hurwitz condition, c > 0
Dr.R.Subasri, KEC,INDIA
The reachability condition is : σσ 0&
 
d
d 1 2
σ(t) ce(t) e(t) ce(t) x(t) x (t)
σ(t) ce(t) u x (t) f x ,x ,t
    
   
& && && && &&
&& &&
  d 1 2σσ(t) σ (ce(t) u x (t) f x ,x ,t   && &&
du(t) ce(t) x (t) ηsgn(σ)   & &&
Secondly, to satisfy the condition, we design the sliding mode
controller as
Let us design the sliding mode control law for tracking the
desired position as xd = sin t, with the initial conditions x1(0)=
0.5; x2(0)=-1.0, the control gain = 0.5, the parameter c=0.5,
and the disturbance f(x1, x2, t) =sin 2t
First, design the sliding mode surface as σ(t) ce(t) e(t)  &
Where c has to satisfy the Hurwitz condition, c > 0 and e is
tracking error e = x-xd
Dr.R.Subasri, KEC,INDIA
System without disturbances
• function
[sys,x0,str,ts]=mdlInitializeSizes
• sizes = simsizes;
• sizes.NumContStates = 2;
• sizes.NumDiscStates = 0;
• sizes.NumOutputs = 2;
• sizes.NumInputs = 1;
• sizes.DirFeedthrough = 0;
• sizes.NumSampleTimes = 0;
• sys=simsizes(sizes);
• x0=[1 -2];
• str=[];
• ts=[];
• function sys=mdlDerivatives(t,x,u)
• sys(1)=x(2);
• sys(2)=u;
• %sys(2)=u+sin(2*t);
• function sys=mdlOutputs(t,x,u)
• sys(1)=x(1);
• sys(2)=x(2);
•
Dr.R.Subasri, KEC,INDIA
Controller design without disturbances
• function
[sys,x0,str,ts]=mdlInitializeSizes
• sizes = simsizes;
• sizes.NumContStates = 0;
• sizes.NumDiscStates = 0;
• sizes.NumOutputs = 1;
• sizes.NumInputs = 2;
• sizes.DirFeedthrough = 1;
• sizes.NumSampleTimes = 0;
• sys = simsizes(sizes);
• x0 = [];
• str = [];
• ts = [];
• function sys=mdlOutputs(t,x,u)
• x1=u(1);
• x2=u(2);
• k=1.5*x1+x2;
• ut=-k1*x1-k2*x2
• %ut=-1.5*x2-2*sign(k);
• sys(1)=ut;
Dr.R.Subasri, KEC,INDIA
Dr.R.Subasri, KEC,INDIA
System with disturbances
• function
[sys,x0,str,ts]=mdlInitializeSizes
• sizes = simsizes;
• sizes.NumContStates = 2;
• sizes.NumDiscStates = 0;
• sizes.NumOutputs = 2;
• sizes.NumInputs = 1;
• sizes.DirFeedthrough = 0;
• sizes.NumSampleTimes = 0;
• sys=simsizes(sizes);
• x0=[1 -2];
• str=[];
• ts=[];
• function sys=mdlDerivatives(t,x,u)
• sys(1)=x(2);
• sys(2)=u+sin(2*t);
• function sys=mdlOutputs(t,x,u)
• sys(1)=x(1);
• sys(2)=x(2);
•
Dr.R.Subasri, KEC,INDIA
Controller design with disturbances
• function
[sys,x0,str,ts]=mdlInitializeSizes
• sizes = simsizes;
• sizes.NumContStates = 0;
• sizes.NumDiscStates = 0;
• sizes.NumOutputs = 1;
• sizes.NumInputs = 2;
• sizes.DirFeedthrough = 1;
• sizes.NumSampleTimes = 0;
• sys = simsizes(sizes);
• x0 = [];
• str = [];
• ts = [];
• function sys=mdlOutputs(t,x,u)
• x1=u(1);
• x2=u(2);
• %si=1.5*x1+x2;
• ut=-k1*x1-k2*x2
• %ut=-1.5*x2-2*sign(si);
• sys(1)=ut;
Dr.R.Subasri, KEC,INDIA
Dr.R.Subasri, KEC,INDIA
Sliding mode Controller design with
disturbances
• function
[sys,x0,str,ts]=mdlInitializeSizes
• sizes = simsizes;
• sizes.NumContStates = 0;
• sizes.NumDiscStates = 0;
• sizes.NumOutputs = 1;
• sizes.NumInputs = 2;
• sizes.DirFeedthrough = 1;
• sizes.NumSampleTimes = 0;
• sys = simsizes(sizes);
• x0 = [];
• str = [];
• ts = [];
• function sys=mdlOutputs(t,x,u)
• x1=u(1);
• x2=u(2);
• xd=sin(t);
• si=1.5*x1+x2;
• %si=0.5*x1+x2;
• e
• ut=-1.5*x2-2*sign(si);
• sys(1)=ut;
Dr.R.Subasri, KEC,INDIA
Dr.R.Subasri, KEC,INDIA
Sliding mode control is a nonlinear control method that alters the
dynamics of a nonlinear system by the multiple control structures
are designed so as to ensure that trajectories always move
towards a switching condition. Therefore, the ultimate trajectory
will not exist entirely within one control structure.
The state-feedback control law is not a continuous function of
time. Instead, it switches from one continuous structure to
another based on the current position in the state space.
Hence, sliding mode control is a variable structure control method.
The motion of the system as it slides along these boundaries is
called a sliding mode[3] and the geometrical locus consisting of
the boundaries is called the sliding (hyper) surface.
Dr.R.Subasri, KEC,INDIA
There are two steps in the SMC design. The first step is
designing a sliding surface so that the plant restricted to
the sliding surface has a desired system response. This
means the state variables of the plant dynamics are
constrained to satisfy another set of equations which
define the so-called switching surface.
The second step is constructing a switched feedback
gains necessary to drive the plant’s state trajectory to the
sliding surface. These constructions are built on the
generalized Lyapunov stability theory.
Dr.R.Subasri, KEC,INDIA
Dr.R.Subasri, KEC,INDIA
Thank you

More Related Content

PPTX
Sliding mode control
PDF
SLIDING MODE CONTROL AND ITS APPLICATION
PPTX
Sliding mode control
PPT
Slide Mode Control (S.M.C.)
PPT
PPTX
state space representation,State Space Model Controllability and Observabilit...
PPT
Model Reference Adaptive Control.ppt
PPTX
Electric drive systems in Robotics
Sliding mode control
SLIDING MODE CONTROL AND ITS APPLICATION
Sliding mode control
Slide Mode Control (S.M.C.)
state space representation,State Space Model Controllability and Observabilit...
Model Reference Adaptive Control.ppt
Electric drive systems in Robotics

What's hot (20)

PDF
Modern Control - Lec07 - State Space Modeling of LTI Systems
PDF
Controllability and observability
PPT
State space analysis, eign values and eign vectors
PDF
Phase plane analysis (nonlinear stability analysis)
PDF
The describing function
PPT
First & second order of the control systems
PPTX
Induction motor modelling and applications
PDF
Modeling of mechanical_systems
PDF
Class 19 pi & pd control modes
PPTX
Electrical ac & dc drives ppt
PDF
Modern Control System (BE)
PPTX
Programmable Logic Controller | Ladder Logic diagrams| Block diagram | I/O Mo...
PPTX
Lecture 2 transfer-function
PDF
Polar Plot
PDF
Inverted Pendulum Control System
PDF
Modern Control - Lec 02 - Mathematical Modeling of Systems
PDF
TIME DOMAIN ANALYSIS
PDF
Compensators
PPT
Electric drives
PPT
Lyapunov stability
Modern Control - Lec07 - State Space Modeling of LTI Systems
Controllability and observability
State space analysis, eign values and eign vectors
Phase plane analysis (nonlinear stability analysis)
The describing function
First & second order of the control systems
Induction motor modelling and applications
Modeling of mechanical_systems
Class 19 pi & pd control modes
Electrical ac & dc drives ppt
Modern Control System (BE)
Programmable Logic Controller | Ladder Logic diagrams| Block diagram | I/O Mo...
Lecture 2 transfer-function
Polar Plot
Inverted Pendulum Control System
Modern Control - Lec 02 - Mathematical Modeling of Systems
TIME DOMAIN ANALYSIS
Compensators
Electric drives
Lyapunov stability
Ad

Similar to Sliding Mode Controller (20)

PDF
A fast converging robust controller using adaptive second order sliding mode
PDF
Sliding Mode Control Using Matlab Jinkun Liu
DOCX
2012 University of Dayton .docx
PDF
Integral Backstepping Sliding Mode Control of Chaotic Forced Van Der Pol Osci...
PDF
Sliding mode control of non linear
PDF
Position Control of Satellite In Geo-Stationary Orbit Using Sliding Mode Con...
PDF
Advanced sliding mode control for mechanical systems
PPT
Lecture-__________SlidingModeControl.ppt
PDF
Multiple Sliding Surface Control for Systems with Mismatched Uncertainties
PDF
control adaptive and nonlinear
PDF
Feedback linearisation
PPTX
Introduction to mathematical control theory - Dr. Purnima Pandit
PDF
Adaptive Sliding Mode Control of PMLSM Drive
PPTX
Sliding Mode Control Stability (Jan 19, 2013)
PDF
Robust Adaptive Controller for Uncertain Nonlinear Systems
PPTX
Design issues in non linear control system
PDF
Adaptive Type-2 Fuzzy Second Order Sliding Mode Control for Nonlinear Uncerta...
PDF
Ips csmc 14.06.2016
PPT
Msc lecture07
PDF
Design Novel Lookup Table Changed Auto Tuning FSMC: Applied to Robot Manipulator
A fast converging robust controller using adaptive second order sliding mode
Sliding Mode Control Using Matlab Jinkun Liu
2012 University of Dayton .docx
Integral Backstepping Sliding Mode Control of Chaotic Forced Van Der Pol Osci...
Sliding mode control of non linear
Position Control of Satellite In Geo-Stationary Orbit Using Sliding Mode Con...
Advanced sliding mode control for mechanical systems
Lecture-__________SlidingModeControl.ppt
Multiple Sliding Surface Control for Systems with Mismatched Uncertainties
control adaptive and nonlinear
Feedback linearisation
Introduction to mathematical control theory - Dr. Purnima Pandit
Adaptive Sliding Mode Control of PMLSM Drive
Sliding Mode Control Stability (Jan 19, 2013)
Robust Adaptive Controller for Uncertain Nonlinear Systems
Design issues in non linear control system
Adaptive Type-2 Fuzzy Second Order Sliding Mode Control for Nonlinear Uncerta...
Ips csmc 14.06.2016
Msc lecture07
Design Novel Lookup Table Changed Auto Tuning FSMC: Applied to Robot Manipulator
Ad

More from Ramaiahsubasri (8)

PDF
Bode plot
PDF
Induction motor 3ph
PDF
Nss fourier
PDF
Transformer
PPTX
Root locus compensation
PDF
Optimal c ontrol
PDF
PDF
Bode plot
Bode plot
Induction motor 3ph
Nss fourier
Transformer
Root locus compensation
Optimal c ontrol
Bode plot

Recently uploaded (20)

PDF
IAE-V2500 Engine Airbus Family A319/320
PPTX
chapter 1.pptx dotnet technology introduction
PPTX
Soft Skills Unit 2 Listening Speaking Reading Writing.pptx
PPTX
INTERNET OF THINGS - EMBEDDED SYSTEMS AND INTERNET OF THINGS
PPTX
Module1.pptxrjkeieuekwkwoowkemehehehrjrjrj
PPT
Comprehensive Java Training Deck - Advanced topics
PPTX
Software-Development-Life-Cycle-SDLC.pptx
PDF
Project_Mgmt_Institute_-Marc Marc Marc .pdf
PPT
UNIT-I Machine Learning Essentials for 2nd years
PDF
IAE-V2500 Engine for Airbus Family 319/320
PPT
Programmable Logic Controller PLC and Industrial Automation
PPTX
SE unit 1.pptx by d.y.p.akurdi aaaaaaaaaaaa
PPTX
22ME926Introduction to Business Intelligence and Analytics, Advanced Integrat...
DOCX
An investigation of the use of recycled crumb rubber as a partial replacement...
PDF
Software defined netwoks is useful to learn NFV and virtual Lans
PPTX
Agentic Artificial Intelligence (Agentic AI).pptx
PPTX
AI-Reporting for Emerging Technologies(BS Computer Engineering)
PPTX
Solar energy pdf of gitam songa hemant k
DOCX
ENVIRONMENTAL PROTECTION AND MANAGEMENT (18CVL756)
PDF
AIGA 012_04 Cleaning of equipment for oxygen service_reformat Jan 12.pdf
IAE-V2500 Engine Airbus Family A319/320
chapter 1.pptx dotnet technology introduction
Soft Skills Unit 2 Listening Speaking Reading Writing.pptx
INTERNET OF THINGS - EMBEDDED SYSTEMS AND INTERNET OF THINGS
Module1.pptxrjkeieuekwkwoowkemehehehrjrjrj
Comprehensive Java Training Deck - Advanced topics
Software-Development-Life-Cycle-SDLC.pptx
Project_Mgmt_Institute_-Marc Marc Marc .pdf
UNIT-I Machine Learning Essentials for 2nd years
IAE-V2500 Engine for Airbus Family 319/320
Programmable Logic Controller PLC and Industrial Automation
SE unit 1.pptx by d.y.p.akurdi aaaaaaaaaaaa
22ME926Introduction to Business Intelligence and Analytics, Advanced Integrat...
An investigation of the use of recycled crumb rubber as a partial replacement...
Software defined netwoks is useful to learn NFV and virtual Lans
Agentic Artificial Intelligence (Agentic AI).pptx
AI-Reporting for Emerging Technologies(BS Computer Engineering)
Solar energy pdf of gitam songa hemant k
ENVIRONMENTAL PROTECTION AND MANAGEMENT (18CVL756)
AIGA 012_04 Cleaning of equipment for oxygen service_reformat Jan 12.pdf

Sliding Mode Controller

  • 1. Sliding Mode Control Dr.R.Subasri Professor, Kongu Engineering College, Perundurai, Erode, Tamilnadu, INDIA Dr.R.Subasri, KEC,INDIA
  • 2. Variable-Structure Systems: Discontinuous feedback control strategies. -Theory of the control inputs typically take values from a discrete set, such as the extreme limits of a relay, or from a limited collection of pre-specified feedback control functions. Sliding mode control: one of the most popular techniques under VSS by Utkin • choice of a switching surface of the state space according to the desired dynamical specifications of the closed-loop system. • The switching logic, and thus the control law, are designed so that the state trajectories reach the surface and remain on it. Dr.R.Subasri, KEC,INDIA
  • 3. The main advantages of this method are: • its robustness against a large class of perturbations or model uncertainties • the need for a reduced amount of information in comparison to classical control techniques • the possibility of stabilizing some nonlinear systems which are not stabilizable by continuous state feedback laws Drawback: The actuators had to cope with the high frequency bang-bang type of control actions that could produce premature wear, or even breaking. Dr.R.Subasri, KEC,INDIA
  • 4. However, this main disadvantage, called chattering, could be reduced, or even suppressed, using techniques such as nonlinear gains, dynamic extensions, or by using more recent strategies, such as higher-order sliding mode control Applications •Control of electrical motors, DTC •Observers and signal reconstruction • Mechanical systems •Control of robots and manipulators • Magnetic bearings Dr.R.Subasri, KEC,INDIA
  • 5. single-dimensional motion of a unit mass is considered. A state-variable description is easily obtained by introducing variables for the position and the velocity x1=x and x2 = 1 2 1 10 2 1 2 2 20 x x x (0) x x u f (x ,x ,t) x (0) x      & & x& where u is the control force, and the disturbance term f(x1, x2, t) which may comprise dry and viscous friction as well as any other unknown resistance forces, is assumed to be bounded, i.e., 1 2f(x ,x ,t) L 0  The problem is to design a feedback control law u =u(x1,x2)that drives the mass to the origin asymptotically. In other words, the control u is supposed to drive the state variables to zero 1 2 t lim x ,x 0  Dr.R.Subasri, KEC,INDIA
  • 6. This apparently simple control problem is a challenging one, since asymptotic convergence is to be achieved in the presence of the unknown bounded disturbance f(x1, x2, t). For instance, a linear state-feedback control law 1 1 2 2 1 2u k x k x , k 0 , k 0     provides asymptotic stability of the origin only for f(x1, x2, t )=0 and typically only drives the states to a bounded domain 1 2 1 2Ω(k ,k ,L) for f(x ,x ,t) L 0  Single-dimensional motion of a unit mass Asymptotic convergence for f(x1, x2, t )=0 Dr.R.Subasri, KEC,INDIA
  • 7. The results of the simulation of the system with x1(0) =1 , x2(0) =-2, k1=3 , k2=4 and f(x1,x2,t)=sin(2t) Asymptotic convergence for f(x1, x2, t )= sin 2t Dr.R.Subasri, KEC,INDIA
  • 8. Main Concepts of Sliding Mode Control Let us introduce desired compensated dynamics for the example system. A good candidate for these dynamics is the homogeneous linear time-invariant differential equation 1 1x cx 0, c>0 & A general solution of above eqn and its derivative is given by 1 1 2 1 1 x (t) x (0)exp( ct) x (t) x (t) cx (0)exp( ct)      & Both x1(t)and x2(t) converge to zero asymptotically. Note, no effect of the disturbance f(x1, x2,t) on the state compensated dynamics is observed. How could these compensated dynamics be achieved? First, we introduce a new variable in the state space of the system in 1 2 2 1σ σ(x (t),x (t)) x cx , c>0   Dr.R.Subasri, KEC,INDIA
  • 9. In order to achieve asymptotic convergence of the state variables x1, x2 to zero with a given convergence rate in the presence of the bounded disturbance f(x1, x2, t), we have to drive the variable to zero in finite time by means of the control u. The variable  is called a sliding variable 1 2 2 1σ σ(x ,x ) x cx , c>0  The equation corresponds to a straight line in the state space of the system and is referred to as a sliding surface. A condition to make the trajectory of the system driven towards the sliding surface and remains on it thereafter is known as Reachability Condition α σσ σ 2 & 1 2 2 1σ σ(x (t),x (t)) x cx , c>0   Dr.R.Subasri, KEC,INDIA
  • 10. The control u(x1 ,x2) that drives the state variables x1, x2 to the sliding surface in finite time , and keeps them on the surface thereafter in the presence of the bounded disturbance f(x1, x2, t) is called a sliding mode controller The control law consists of two parts , one as feedback linearisation and other as switching function depends on  which is sgn( ). Where  is control gain. 1 σ 0 sgn(σ) 0 σ 0 1 σ 0       Dr.R.Subasri, KEC,INDIA
  • 11. Firstly, it drives the nonlinear plant’s state trajectory onto a specified and user chosen surface in the state space which is called the sliding or switching surface. This surface is called the switching surface because a control path has one gain if the state trajectory of the plant is “above” the surface and a different gain if the trajectory drops “below” the surface. Secondly, it maintains the plant’s state trajectory on this surface for all subsequent times. During the process, the control system’s structure varies from one to another and thereby earning the name variable structure control. The control is also called as the sliding mode control Dr.R.Subasri, KEC,INDIA
  • 12. The reachability condition is : σσ 0&   1 2 1 1 2 σ(t) cx(t) x(t) cx (t) x (t) σ(t) cx (t) u f x ,x ,t        & & && & & & &   1 1 2σσ(t) σ (cx (t) u f x ,x ,t  & & 1u(t) cx (t) ηsgn(σ)  & Secondly, to satisfy the condition, we design the sliding mode controller as Let us design the sliding mode control law for the previous tsystemwith the initial conditions x1(0)= 1; x2(0)=- 2, the control gain = 2, the parameter c=1.5, and the disturbance f(x1, x2, t) =sin 2t First, design the sliding mode surface as 1 2σ(t) cx(t) x(t) cx (t) x (t)   & Where c has to satisfy the Hurwitz condition, c > 0 Dr.R.Subasri, KEC,INDIA
  • 13. The reachability condition is : σσ 0&   d d 1 2 σ(t) ce(t) e(t) ce(t) x(t) x (t) σ(t) ce(t) u x (t) f x ,x ,t          & && && && && && &&   d 1 2σσ(t) σ (ce(t) u x (t) f x ,x ,t   && && du(t) ce(t) x (t) ηsgn(σ)   & && Secondly, to satisfy the condition, we design the sliding mode controller as Let us design the sliding mode control law for tracking the desired position as xd = sin t, with the initial conditions x1(0)= 0.5; x2(0)=-1.0, the control gain = 0.5, the parameter c=0.5, and the disturbance f(x1, x2, t) =sin 2t First, design the sliding mode surface as σ(t) ce(t) e(t)  & Where c has to satisfy the Hurwitz condition, c > 0 and e is tracking error e = x-xd Dr.R.Subasri, KEC,INDIA
  • 14. System without disturbances • function [sys,x0,str,ts]=mdlInitializeSizes • sizes = simsizes; • sizes.NumContStates = 2; • sizes.NumDiscStates = 0; • sizes.NumOutputs = 2; • sizes.NumInputs = 1; • sizes.DirFeedthrough = 0; • sizes.NumSampleTimes = 0; • sys=simsizes(sizes); • x0=[1 -2]; • str=[]; • ts=[]; • function sys=mdlDerivatives(t,x,u) • sys(1)=x(2); • sys(2)=u; • %sys(2)=u+sin(2*t); • function sys=mdlOutputs(t,x,u) • sys(1)=x(1); • sys(2)=x(2); • Dr.R.Subasri, KEC,INDIA
  • 15. Controller design without disturbances • function [sys,x0,str,ts]=mdlInitializeSizes • sizes = simsizes; • sizes.NumContStates = 0; • sizes.NumDiscStates = 0; • sizes.NumOutputs = 1; • sizes.NumInputs = 2; • sizes.DirFeedthrough = 1; • sizes.NumSampleTimes = 0; • sys = simsizes(sizes); • x0 = []; • str = []; • ts = []; • function sys=mdlOutputs(t,x,u) • x1=u(1); • x2=u(2); • k=1.5*x1+x2; • ut=-k1*x1-k2*x2 • %ut=-1.5*x2-2*sign(k); • sys(1)=ut; Dr.R.Subasri, KEC,INDIA
  • 17. System with disturbances • function [sys,x0,str,ts]=mdlInitializeSizes • sizes = simsizes; • sizes.NumContStates = 2; • sizes.NumDiscStates = 0; • sizes.NumOutputs = 2; • sizes.NumInputs = 1; • sizes.DirFeedthrough = 0; • sizes.NumSampleTimes = 0; • sys=simsizes(sizes); • x0=[1 -2]; • str=[]; • ts=[]; • function sys=mdlDerivatives(t,x,u) • sys(1)=x(2); • sys(2)=u+sin(2*t); • function sys=mdlOutputs(t,x,u) • sys(1)=x(1); • sys(2)=x(2); • Dr.R.Subasri, KEC,INDIA
  • 18. Controller design with disturbances • function [sys,x0,str,ts]=mdlInitializeSizes • sizes = simsizes; • sizes.NumContStates = 0; • sizes.NumDiscStates = 0; • sizes.NumOutputs = 1; • sizes.NumInputs = 2; • sizes.DirFeedthrough = 1; • sizes.NumSampleTimes = 0; • sys = simsizes(sizes); • x0 = []; • str = []; • ts = []; • function sys=mdlOutputs(t,x,u) • x1=u(1); • x2=u(2); • %si=1.5*x1+x2; • ut=-k1*x1-k2*x2 • %ut=-1.5*x2-2*sign(si); • sys(1)=ut; Dr.R.Subasri, KEC,INDIA
  • 20. Sliding mode Controller design with disturbances • function [sys,x0,str,ts]=mdlInitializeSizes • sizes = simsizes; • sizes.NumContStates = 0; • sizes.NumDiscStates = 0; • sizes.NumOutputs = 1; • sizes.NumInputs = 2; • sizes.DirFeedthrough = 1; • sizes.NumSampleTimes = 0; • sys = simsizes(sizes); • x0 = []; • str = []; • ts = []; • function sys=mdlOutputs(t,x,u) • x1=u(1); • x2=u(2); • xd=sin(t); • si=1.5*x1+x2; • %si=0.5*x1+x2; • e • ut=-1.5*x2-2*sign(si); • sys(1)=ut; Dr.R.Subasri, KEC,INDIA
  • 22. Sliding mode control is a nonlinear control method that alters the dynamics of a nonlinear system by the multiple control structures are designed so as to ensure that trajectories always move towards a switching condition. Therefore, the ultimate trajectory will not exist entirely within one control structure. The state-feedback control law is not a continuous function of time. Instead, it switches from one continuous structure to another based on the current position in the state space. Hence, sliding mode control is a variable structure control method. The motion of the system as it slides along these boundaries is called a sliding mode[3] and the geometrical locus consisting of the boundaries is called the sliding (hyper) surface. Dr.R.Subasri, KEC,INDIA
  • 23. There are two steps in the SMC design. The first step is designing a sliding surface so that the plant restricted to the sliding surface has a desired system response. This means the state variables of the plant dynamics are constrained to satisfy another set of equations which define the so-called switching surface. The second step is constructing a switched feedback gains necessary to drive the plant’s state trajectory to the sliding surface. These constructions are built on the generalized Lyapunov stability theory. Dr.R.Subasri, KEC,INDIA