SlideShare a Scribd company logo
1 of 28
Download to read offline
“Designing of a Simple H-infinity
controller for DC motor Positioning”
Presented by
Tabish Fawad 13MS-EE-014
Abuzer Mehdi 13-MS-EE-001
Contents
 Introduction
 System Equations
 Design requirements
 System modelling
 Model order reduction
 Integral control
 PID control
 Gain
 Closed loop response
 LSDP (H-infinity control)
 Conclusion
Introduction
 DC motor directly provides rotary motion coupled with wheels or drums
and cables can provide translational motion.
 The electric equivalent circuit of the armature and the free-body diagram of
the rotor is
Physical parameters of the motor
 (J) moment of inertia of the rotor 3.2284E-6 kg.m^2
 (b) motor viscous friction constant 3.5077E-6 N.m.s
 (Kb) electromotive force constant 0.0274 V/rad/sec
 (Kt) motor torque constant 0.0274 N.m/Amp
 (R) electric resistance 4 Ohm
 (L) electric inductance 2.75E-6H
The input of the system is the voltage source (V) applied to the motor's armature,
while the output is the position of the shaft (theta).
System Equations
 The torque generated by a DC motor is proportional to the armature current
and the strength of the magnetic field.
 The magnetic field is constant and the motor torque is proportional to the
armature current (I) by a constant factor Kt
 The back emf, e, is proportional to the angular velocity of the shaft
by a constant factor Kb.
 The torque and the back emf are constants and are equal i.e. Kt = Ke
Transfer function
 By Applying the Laplace transform , transfer function is obtained
 Open loop transfer function
 Position as the output can be obtained by integrating the speed, thus dividing
the above transfer function by ‘s’
State space analysis
 By choosing the motor position, motor speed and armature current as the
state variables.
 The armature voltage is treated as the input and the rotational position is
chosen as the output.
Design requirements
 We want to be able to position the motor very precisely.
 For that purpose the steady-state error of the motor position should
be zero.
 We want the steady-state error due to a constant disturbance to be
zero .
 If we simulate the reference input by a unit step input, then the
motor position output should have,
 Settling time less than 40 milliseconds
 Overshoot less than 16%
 No steady-state error, even in the presence of a step disturbance input
Matlab representation
 After defining the physical parameters and applying certain commands in
mat lab the transfer function is obtained.
 s = tf('s');
 P_motor = K/(s*((J*s+b)*(L*s+R)+K^2))
P_motor = 0.0274
----------------------------------------------------------
8.878e-12 s^3 + 1.291e-05 s^2 + 0.0007648 s
State space representation
 A = [0 1 0; 0 -b/J K/J;0 -K/L -R/L];
 B = [0 ; 0 ; 1/L];
 C = [1 0 0];
 D = [0];
 motor_ss = ss (A,B,C,D)
• motor_ss =
•
• a =
• x1 x2 x3
• x1 0 1 0
• x2 0 -1.087 8487
• x3 0 -9964 -1.455e+06
•
• b =
• u1
• x1 0
• x2 0
• x3 3.636e+05
•
• c =
• x1 x2 x3
• y1 1 0 0
•
• d =
• u1
• y1 0
Continuous-time state-space model.
System modelling and designing root
locus
 The main idea of root locus design is to predict the closed-loop response.
 It tells possible closed-loop pole locations and is drawn from the open-loop
transfer function.
 Then by adding zeros and/or poles via the controller, the root locus can be
modified in order to achieve a desired closed-loop response.
Pole Positions in root locus
 poles = pole(P_motor)
 poles = 1.0e+06 * 0 -1.4545 -0.0001
 The two open-loop poles near the origin cannot be distinguished because the
scale of the axes is set to show the third pole which is much farther to the left
than the other two poles.
 The open-loop pole located very far to the left (further than -1e6) does not
affect the closed-loop dynamics unless very large gains are used.
 We will not use gains that will make the closed-loop system unstable, we can
neglect this pole by performing a model reduction.
Model Order Reduction
 In general if there is a transfer function which has one (or
more) poles much farther to the left in the complex plane
(more negative) than the other poles, their effect on the
dynamic response will be hidden by the slower, more
dominant poles.
 In our case of motor position , the transient closed-loop
response for small gains will not be affected much by the
open-loop pole at -1.45e6.
 By applying this command in the mat lab the complex pole
can be avoided.
 New transfer function of the reduced order system will be
constructed to neglect the complex pole.
Model Order Reduction
 poles = pole(P_motor);
 rP_motor = minreal(P_motor*(s/max(abs(poles)) + 1))
Reduced order transfer function:
rP_motor = 2122
-------------
s^2 + 59.23 s
By checking that the other poles have not been affected by we again use the same
pole command as was used previously,
 poles(1), poles(3)] ans = 0 ans = -59.2260
Root locus of the reduced system
 The original root locus near the origin would closely approximate the locus
of the reduced transfer function.
 The closed-loop poles are never fast enough to meet the settling time
requirement.
Integral control
 Integrator is used to remove the steady-state error due to a constant
disturbance.
 This adds a 1 / s term to the forward path of the system.
PI control
 PI instead of I control adds a zero to the open-loop system.
 We'll place this zero at s = -20.
 C = (s + 20) / s; %Adding the zero at s=-20
 The system is stabilized zero steady-state error to a constant disturbance is
achieved.
 The system is not fast enough.
PID control
 Pull the root locus further to the left to make it faster.
 We placed a second open-loop zero, resulting in a PID controller.
 Two PID zeroes are at s=-60 and s=-70.
 Two of the closed-loop poles can be placed well within both the settling time
and percent overshoot requirements.
 Reduce the model again by applying the minreal command.
Closed loop pole location
 The one open-loop zero was cancelled, the other open-loop zero remains in the
closed-loop transfer function and cannot be neglected.
 The effect of an additional zero (if there is no cancellation) is in general to speed
up the response and add overshoot.
 We have to be conservative in picking where on the root locus we want the closed-
loop poles to lie.
 We need the settling time and the overshoot to be as small as possible, particularly
because of the effect of the extra zero.
Determining gain
 Large damping corresponds to points on the root locus near the real axis.
 A fast response corresponds to points on the root locus far to the left of the
imaginary axis.
 To find the gain corresponding to a point on the root locus,
the rlocfind command is used.
 [k,poles] = rlocfind (rsys_ol)
 Select a point is selected on the root locus on left side of the loop, close to the
real axis.
 These pole locations indicate that the response would have almost no
overshoot if it were a canonical second-order system.
 However the presence of the zero in this system will add some overshoot.
Gain
selected_point = -1.3744e+002 +1.3043e+001i
k = 0.1308
poles = 1.0e+002 * -1.3874 + 0.1323i -1.3874 - 0.1323i
Closed loop response
 Response to a step reference the system has an overshoot of
approximately 14%.
 A settling time just under 0.04 seconds.
 No steady-state error.
Code for feedback analysis
sys_cl = feedback(k*rsys_ol,1);
t = 0:0.0001:0.1;
step(sys_cl, t)
grid
ylabel('Position, theta (radians)')
title('Response to a Step Reference with PID Control')
dist_cl = feedback(P_motor,k*C);
figure;step(dist_cl, t)
grid
ylabel('Position, theta (radians)')
title('Response to a Step Disturbance with PID Control')
Designing of H-infinity controller
 For making the system more robust in performance we need an LSDP
approach
An LSDP approach comprises of
 Weighting functions
 Augmented plant
 Controller
Simulation and results
W1=0.1*(s+100)/(100*s+1);
W2=0.1;
P=augw( P_motor,W1,W2);
GAM=0;
k = 0.1308
PM = 50.3868
• pzmap(sys_cl)
• damp(sys_cl)
• [Wn,zeta,poles] = damp(sys_cl)
• bode(sys_cl)
• zeta = -log(.16) / sqrt( pi^2 + (log(.16))^2 );
• PM = 100*zeta
Simulation and results
Conclusion
We can see that in response to a step reference the system has
 an overshoot of approximately 14%.
 a settling time just under 0.04 seconds.
 No steady-state error.
 The response to a step disturbance reaches a steady-state value of zero.
 All of the design requirements have been met.
Project Presentation

More Related Content

What's hot

Transfer function and mathematical modeling
Transfer  function  and  mathematical  modelingTransfer  function  and  mathematical  modeling
Transfer function and mathematical modelingvishalgohel12195
 
Attitude Control of Satellite Test Setup Using Reaction Wheels
Attitude Control of Satellite Test Setup Using Reaction WheelsAttitude Control of Satellite Test Setup Using Reaction Wheels
Attitude Control of Satellite Test Setup Using Reaction WheelsA. Bilal Özcan
 
Modelling and Control of Ground Test Set-up of Attitude of Satellite
Modelling and Control of Ground Test Set-up of Attitude of SatelliteModelling and Control of Ground Test Set-up of Attitude of Satellite
Modelling and Control of Ground Test Set-up of Attitude of SatelliteA. Bilal Özcan
 
Iaetsd modelling and controller design of cart inverted pendulum system using...
Iaetsd modelling and controller design of cart inverted pendulum system using...Iaetsd modelling and controller design of cart inverted pendulum system using...
Iaetsd modelling and controller design of cart inverted pendulum system using...Iaetsd Iaetsd
 
Unity Feedback PD Controller Design for an Electronic Throttle Body
Unity Feedback PD Controller Design for an Electronic Throttle BodyUnity Feedback PD Controller Design for an Electronic Throttle Body
Unity Feedback PD Controller Design for an Electronic Throttle BodySteven Ernst, PE
 
Lecture 8 Me 176 2 Time Response
Lecture 8 Me 176 2 Time ResponseLecture 8 Me 176 2 Time Response
Lecture 8 Me 176 2 Time ResponseLeonides De Ocampo
 
Transfer fn mech. systm
Transfer fn mech. systmTransfer fn mech. systm
Transfer fn mech. systmSyed Saeed
 
Ece 415 control systems, fall 2021 computer project 1
Ece 415 control systems, fall 2021 computer project  1 Ece 415 control systems, fall 2021 computer project  1
Ece 415 control systems, fall 2021 computer project 1 ronak56
 
Lecture 2 ME 176 2 Mathematical Modeling
Lecture 2 ME 176 2 Mathematical ModelingLecture 2 ME 176 2 Mathematical Modeling
Lecture 2 ME 176 2 Mathematical ModelingLeonides De Ocampo
 
Meeting w6 chapter 2 part 3
Meeting w6   chapter 2 part 3Meeting w6   chapter 2 part 3
Meeting w6 chapter 2 part 3mkazree
 
Time Response Analysis
Time Response AnalysisTime Response Analysis
Time Response AnalysisManthan Kanani
 
Real-time PID control of an inverted pendulum
Real-time PID control of an inverted pendulumReal-time PID control of an inverted pendulum
Real-time PID control of an inverted pendulumFrancesco Corucci
 
Lecture 6 modelling-of_electrical__electronic_systems
Lecture 6 modelling-of_electrical__electronic_systemsLecture 6 modelling-of_electrical__electronic_systems
Lecture 6 modelling-of_electrical__electronic_systemsSaifullah Memon
 
Simulation of inverted pendulum presentation
Simulation of inverted pendulum  presentationSimulation of inverted pendulum  presentation
Simulation of inverted pendulum presentationPourya Parsa
 
Linear quadratic regulator and pole placement for stabilizing a cart inverted...
Linear quadratic regulator and pole placement for stabilizing a cart inverted...Linear quadratic regulator and pole placement for stabilizing a cart inverted...
Linear quadratic regulator and pole placement for stabilizing a cart inverted...journalBEEI
 

What's hot (20)

Transfer function and mathematical modeling
Transfer  function  and  mathematical  modelingTransfer  function  and  mathematical  modeling
Transfer function and mathematical modeling
 
Attitude Control of Satellite Test Setup Using Reaction Wheels
Attitude Control of Satellite Test Setup Using Reaction WheelsAttitude Control of Satellite Test Setup Using Reaction Wheels
Attitude Control of Satellite Test Setup Using Reaction Wheels
 
Modelling and Control of Ground Test Set-up of Attitude of Satellite
Modelling and Control of Ground Test Set-up of Attitude of SatelliteModelling and Control of Ground Test Set-up of Attitude of Satellite
Modelling and Control of Ground Test Set-up of Attitude of Satellite
 
Control chap1
Control chap1Control chap1
Control chap1
 
Iaetsd modelling and controller design of cart inverted pendulum system using...
Iaetsd modelling and controller design of cart inverted pendulum system using...Iaetsd modelling and controller design of cart inverted pendulum system using...
Iaetsd modelling and controller design of cart inverted pendulum system using...
 
Unity Feedback PD Controller Design for an Electronic Throttle Body
Unity Feedback PD Controller Design for an Electronic Throttle BodyUnity Feedback PD Controller Design for an Electronic Throttle Body
Unity Feedback PD Controller Design for an Electronic Throttle Body
 
Lecture 8 Me 176 2 Time Response
Lecture 8 Me 176 2 Time ResponseLecture 8 Me 176 2 Time Response
Lecture 8 Me 176 2 Time Response
 
Transfer fn mech. systm
Transfer fn mech. systmTransfer fn mech. systm
Transfer fn mech. systm
 
Ece 415 control systems, fall 2021 computer project 1
Ece 415 control systems, fall 2021 computer project  1 Ece 415 control systems, fall 2021 computer project  1
Ece 415 control systems, fall 2021 computer project 1
 
Cse ppt 39,38,29 (1)
Cse ppt 39,38,29 (1)Cse ppt 39,38,29 (1)
Cse ppt 39,38,29 (1)
 
Lecture 11 ME 176 5 Stability
Lecture 11 ME 176 5 StabilityLecture 11 ME 176 5 Stability
Lecture 11 ME 176 5 Stability
 
Lecture 2 ME 176 2 Mathematical Modeling
Lecture 2 ME 176 2 Mathematical ModelingLecture 2 ME 176 2 Mathematical Modeling
Lecture 2 ME 176 2 Mathematical Modeling
 
RH CRITERIA
RH CRITERIARH CRITERIA
RH CRITERIA
 
Meeting w6 chapter 2 part 3
Meeting w6   chapter 2 part 3Meeting w6   chapter 2 part 3
Meeting w6 chapter 2 part 3
 
Time Response Analysis
Time Response AnalysisTime Response Analysis
Time Response Analysis
 
Real-time PID control of an inverted pendulum
Real-time PID control of an inverted pendulumReal-time PID control of an inverted pendulum
Real-time PID control of an inverted pendulum
 
Lecture 6 modelling-of_electrical__electronic_systems
Lecture 6 modelling-of_electrical__electronic_systemsLecture 6 modelling-of_electrical__electronic_systems
Lecture 6 modelling-of_electrical__electronic_systems
 
Simulation of inverted pendulum presentation
Simulation of inverted pendulum  presentationSimulation of inverted pendulum  presentation
Simulation of inverted pendulum presentation
 
Control chap5
Control chap5Control chap5
Control chap5
 
Linear quadratic regulator and pole placement for stabilizing a cart inverted...
Linear quadratic regulator and pole placement for stabilizing a cart inverted...Linear quadratic regulator and pole placement for stabilizing a cart inverted...
Linear quadratic regulator and pole placement for stabilizing a cart inverted...
 

Viewers also liked

12EE62R11_Final Presentation
12EE62R11_Final Presentation12EE62R11_Final Presentation
12EE62R11_Final PresentationAmritesh Maitra
 
Automatic control and mixed sensitivity Hinf control
Automatic control and mixed sensitivity Hinf controlAutomatic control and mixed sensitivity Hinf control
Automatic control and mixed sensitivity Hinf controlRené Galindo
 
Robust Stability and Disturbance Analysis of a Class of Networked Control Sys...
Robust Stability and Disturbance Analysis of a Class of Networked Control Sys...Robust Stability and Disturbance Analysis of a Class of Networked Control Sys...
Robust Stability and Disturbance Analysis of a Class of Networked Control Sys...Shadi Nabil Albarqouni
 
Robust and Optimal Control
Robust and Optimal ControlRobust and Optimal Control
Robust and Optimal ControlCHIH-PEI WEN
 
Robust Control of Rotor/AMB Systems
Robust Control of Rotor/AMB SystemsRobust Control of Rotor/AMB Systems
Robust Control of Rotor/AMB SystemsSina Kuseyri
 
A Robust Layered Control System for a Mobile Robot, Rodney A. Brooks; A Softw...
A Robust Layered Control System for a Mobile Robot, Rodney A. Brooks; A Softw...A Robust Layered Control System for a Mobile Robot, Rodney A. Brooks; A Softw...
A Robust Layered Control System for a Mobile Robot, Rodney A. Brooks; A Softw...Kato Mivule
 
Slide Mode Control (S.M.C.)
Slide Mode Control (S.M.C.)Slide Mode Control (S.M.C.)
Slide Mode Control (S.M.C.)Solo Hermelin
 
Essentials of Robust Control
Essentials of Robust ControlEssentials of Robust Control
Essentials of Robust ControlCHIH-PEI WEN
 
block diagram representation of control systems
block diagram representation of  control systemsblock diagram representation of  control systems
block diagram representation of control systemsAhmed Elmorsy
 

Viewers also liked (10)

12EE62R11_Final Presentation
12EE62R11_Final Presentation12EE62R11_Final Presentation
12EE62R11_Final Presentation
 
Automatic control and mixed sensitivity Hinf control
Automatic control and mixed sensitivity Hinf controlAutomatic control and mixed sensitivity Hinf control
Automatic control and mixed sensitivity Hinf control
 
Robust Stability and Disturbance Analysis of a Class of Networked Control Sys...
Robust Stability and Disturbance Analysis of a Class of Networked Control Sys...Robust Stability and Disturbance Analysis of a Class of Networked Control Sys...
Robust Stability and Disturbance Analysis of a Class of Networked Control Sys...
 
Robust and Optimal Control
Robust and Optimal ControlRobust and Optimal Control
Robust and Optimal Control
 
Robust Control of Rotor/AMB Systems
Robust Control of Rotor/AMB SystemsRobust Control of Rotor/AMB Systems
Robust Control of Rotor/AMB Systems
 
A Robust Layered Control System for a Mobile Robot, Rodney A. Brooks; A Softw...
A Robust Layered Control System for a Mobile Robot, Rodney A. Brooks; A Softw...A Robust Layered Control System for a Mobile Robot, Rodney A. Brooks; A Softw...
A Robust Layered Control System for a Mobile Robot, Rodney A. Brooks; A Softw...
 
Slide Mode Control (S.M.C.)
Slide Mode Control (S.M.C.)Slide Mode Control (S.M.C.)
Slide Mode Control (S.M.C.)
 
Essentials of Robust Control
Essentials of Robust ControlEssentials of Robust Control
Essentials of Robust Control
 
block diagram representation of control systems
block diagram representation of  control systemsblock diagram representation of  control systems
block diagram representation of control systems
 
Cars ppt.
Cars ppt.Cars ppt.
Cars ppt.
 

Similar to Project Presentation

Linear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller AssignmentLinear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller AssignmentIsham Rashik
 
Modeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic armModeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic armcesarportilla8
 
Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15Raymond Brunkow
 
Meeting w6 chapter 2 part 3
Meeting w6   chapter 2 part 3Meeting w6   chapter 2 part 3
Meeting w6 chapter 2 part 3Hattori Sidek
 
Time response of discrete systems 4th lecture
Time response of discrete systems 4th lectureTime response of discrete systems 4th lecture
Time response of discrete systems 4th lecturekhalaf Gaeid
 
DC Motor Modelling & Design Fullstate Feedback Controller
DC Motor Modelling & Design Fullstate Feedback Controller DC Motor Modelling & Design Fullstate Feedback Controller
DC Motor Modelling & Design Fullstate Feedback Controller Idabagus Mahartana
 
Dynamic systems project (1)
Dynamic systems project (1)Dynamic systems project (1)
Dynamic systems project (1)Kshitija Joshi
 
Inverted Pendulum Control System
Inverted Pendulum Control SystemInverted Pendulum Control System
Inverted Pendulum Control SystemAniket Govindaraju
 
Mathematical model analysis and control algorithms design based on state feed...
Mathematical model analysis and control algorithms design based on state feed...Mathematical model analysis and control algorithms design based on state feed...
Mathematical model analysis and control algorithms design based on state feed...hunypink
 
Basic Control System unit6
Basic Control System unit6Basic Control System unit6
Basic Control System unit6Asraf Malik
 
179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt
179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt
179529572-ROOT-LOCUS-Control-system-Design-ppt.pptTaraGonzales5
 
17.pmsm speed sensor less direct torque control based on ekf
17.pmsm speed sensor less direct torque control based on ekf17.pmsm speed sensor less direct torque control based on ekf
17.pmsm speed sensor less direct torque control based on ekfMouli Reddy
 
Chapter 4 time domain analysis
Chapter 4 time domain analysisChapter 4 time domain analysis
Chapter 4 time domain analysisBin Biny Bino
 
Power System Modeling and Simulation lab manual
Power System Modeling and Simulation lab manualPower System Modeling and Simulation lab manual
Power System Modeling and Simulation lab manualDHEERAJ DHAKAR
 
Servo Fundamentals
Servo FundamentalsServo Fundamentals
Servo Fundamentalspurnima saha
 
Comprehensive Approach Towards Modelling and Simulation of Single Area Power...
Comprehensive Approach Towards Modelling and Simulation of  Single Area Power...Comprehensive Approach Towards Modelling and Simulation of  Single Area Power...
Comprehensive Approach Towards Modelling and Simulation of Single Area Power...IRJET Journal
 
KNL3353_Control_System_Engineering_Lectu.ppt
KNL3353_Control_System_Engineering_Lectu.pptKNL3353_Control_System_Engineering_Lectu.ppt
KNL3353_Control_System_Engineering_Lectu.pptSherAli984263
 
Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsAmr E. Mohamed
 

Similar to Project Presentation (20)

Linear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller AssignmentLinear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller Assignment
 
Modeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic armModeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic arm
 
Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15
 
Meeting w6 chapter 2 part 3
Meeting w6   chapter 2 part 3Meeting w6   chapter 2 part 3
Meeting w6 chapter 2 part 3
 
Time response of discrete systems 4th lecture
Time response of discrete systems 4th lectureTime response of discrete systems 4th lecture
Time response of discrete systems 4th lecture
 
DC Motor Modelling & Design Fullstate Feedback Controller
DC Motor Modelling & Design Fullstate Feedback Controller DC Motor Modelling & Design Fullstate Feedback Controller
DC Motor Modelling & Design Fullstate Feedback Controller
 
Dynamic systems project (1)
Dynamic systems project (1)Dynamic systems project (1)
Dynamic systems project (1)
 
Servo 2.0
Servo 2.0Servo 2.0
Servo 2.0
 
Inverted Pendulum Control System
Inverted Pendulum Control SystemInverted Pendulum Control System
Inverted Pendulum Control System
 
Mathematical model analysis and control algorithms design based on state feed...
Mathematical model analysis and control algorithms design based on state feed...Mathematical model analysis and control algorithms design based on state feed...
Mathematical model analysis and control algorithms design based on state feed...
 
Basic Control System unit6
Basic Control System unit6Basic Control System unit6
Basic Control System unit6
 
179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt
179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt
179529572-ROOT-LOCUS-Control-system-Design-ppt.ppt
 
17.pmsm speed sensor less direct torque control based on ekf
17.pmsm speed sensor less direct torque control based on ekf17.pmsm speed sensor less direct torque control based on ekf
17.pmsm speed sensor less direct torque control based on ekf
 
Chapter 4 time domain analysis
Chapter 4 time domain analysisChapter 4 time domain analysis
Chapter 4 time domain analysis
 
Power System Modeling and Simulation lab manual
Power System Modeling and Simulation lab manualPower System Modeling and Simulation lab manual
Power System Modeling and Simulation lab manual
 
Ball and beam
Ball and beamBall and beam
Ball and beam
 
Servo Fundamentals
Servo FundamentalsServo Fundamentals
Servo Fundamentals
 
Comprehensive Approach Towards Modelling and Simulation of Single Area Power...
Comprehensive Approach Towards Modelling and Simulation of  Single Area Power...Comprehensive Approach Towards Modelling and Simulation of  Single Area Power...
Comprehensive Approach Towards Modelling and Simulation of Single Area Power...
 
KNL3353_Control_System_Engineering_Lectu.ppt
KNL3353_Control_System_Engineering_Lectu.pptKNL3353_Control_System_Engineering_Lectu.ppt
KNL3353_Control_System_Engineering_Lectu.ppt
 
Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of Systems
 

Project Presentation

  • 1. “Designing of a Simple H-infinity controller for DC motor Positioning” Presented by Tabish Fawad 13MS-EE-014 Abuzer Mehdi 13-MS-EE-001
  • 2. Contents  Introduction  System Equations  Design requirements  System modelling  Model order reduction  Integral control  PID control  Gain  Closed loop response  LSDP (H-infinity control)  Conclusion
  • 3. Introduction  DC motor directly provides rotary motion coupled with wheels or drums and cables can provide translational motion.  The electric equivalent circuit of the armature and the free-body diagram of the rotor is
  • 4. Physical parameters of the motor  (J) moment of inertia of the rotor 3.2284E-6 kg.m^2  (b) motor viscous friction constant 3.5077E-6 N.m.s  (Kb) electromotive force constant 0.0274 V/rad/sec  (Kt) motor torque constant 0.0274 N.m/Amp  (R) electric resistance 4 Ohm  (L) electric inductance 2.75E-6H The input of the system is the voltage source (V) applied to the motor's armature, while the output is the position of the shaft (theta).
  • 5. System Equations  The torque generated by a DC motor is proportional to the armature current and the strength of the magnetic field.  The magnetic field is constant and the motor torque is proportional to the armature current (I) by a constant factor Kt  The back emf, e, is proportional to the angular velocity of the shaft by a constant factor Kb.  The torque and the back emf are constants and are equal i.e. Kt = Ke
  • 6. Transfer function  By Applying the Laplace transform , transfer function is obtained  Open loop transfer function  Position as the output can be obtained by integrating the speed, thus dividing the above transfer function by ‘s’
  • 7. State space analysis  By choosing the motor position, motor speed and armature current as the state variables.  The armature voltage is treated as the input and the rotational position is chosen as the output.
  • 8. Design requirements  We want to be able to position the motor very precisely.  For that purpose the steady-state error of the motor position should be zero.  We want the steady-state error due to a constant disturbance to be zero .  If we simulate the reference input by a unit step input, then the motor position output should have,  Settling time less than 40 milliseconds  Overshoot less than 16%  No steady-state error, even in the presence of a step disturbance input
  • 9. Matlab representation  After defining the physical parameters and applying certain commands in mat lab the transfer function is obtained.  s = tf('s');  P_motor = K/(s*((J*s+b)*(L*s+R)+K^2)) P_motor = 0.0274 ---------------------------------------------------------- 8.878e-12 s^3 + 1.291e-05 s^2 + 0.0007648 s
  • 10. State space representation  A = [0 1 0; 0 -b/J K/J;0 -K/L -R/L];  B = [0 ; 0 ; 1/L];  C = [1 0 0];  D = [0];  motor_ss = ss (A,B,C,D) • motor_ss = • • a = • x1 x2 x3 • x1 0 1 0 • x2 0 -1.087 8487 • x3 0 -9964 -1.455e+06 • • b = • u1 • x1 0 • x2 0 • x3 3.636e+05 • • c = • x1 x2 x3 • y1 1 0 0 • • d = • u1 • y1 0 Continuous-time state-space model.
  • 11. System modelling and designing root locus  The main idea of root locus design is to predict the closed-loop response.  It tells possible closed-loop pole locations and is drawn from the open-loop transfer function.  Then by adding zeros and/or poles via the controller, the root locus can be modified in order to achieve a desired closed-loop response.
  • 12. Pole Positions in root locus  poles = pole(P_motor)  poles = 1.0e+06 * 0 -1.4545 -0.0001  The two open-loop poles near the origin cannot be distinguished because the scale of the axes is set to show the third pole which is much farther to the left than the other two poles.  The open-loop pole located very far to the left (further than -1e6) does not affect the closed-loop dynamics unless very large gains are used.  We will not use gains that will make the closed-loop system unstable, we can neglect this pole by performing a model reduction.
  • 13. Model Order Reduction  In general if there is a transfer function which has one (or more) poles much farther to the left in the complex plane (more negative) than the other poles, their effect on the dynamic response will be hidden by the slower, more dominant poles.  In our case of motor position , the transient closed-loop response for small gains will not be affected much by the open-loop pole at -1.45e6.  By applying this command in the mat lab the complex pole can be avoided.  New transfer function of the reduced order system will be constructed to neglect the complex pole.
  • 14. Model Order Reduction  poles = pole(P_motor);  rP_motor = minreal(P_motor*(s/max(abs(poles)) + 1)) Reduced order transfer function: rP_motor = 2122 ------------- s^2 + 59.23 s By checking that the other poles have not been affected by we again use the same pole command as was used previously,  poles(1), poles(3)] ans = 0 ans = -59.2260
  • 15. Root locus of the reduced system  The original root locus near the origin would closely approximate the locus of the reduced transfer function.  The closed-loop poles are never fast enough to meet the settling time requirement.
  • 16. Integral control  Integrator is used to remove the steady-state error due to a constant disturbance.  This adds a 1 / s term to the forward path of the system.
  • 17. PI control  PI instead of I control adds a zero to the open-loop system.  We'll place this zero at s = -20.  C = (s + 20) / s; %Adding the zero at s=-20  The system is stabilized zero steady-state error to a constant disturbance is achieved.  The system is not fast enough.
  • 18. PID control  Pull the root locus further to the left to make it faster.  We placed a second open-loop zero, resulting in a PID controller.  Two PID zeroes are at s=-60 and s=-70.  Two of the closed-loop poles can be placed well within both the settling time and percent overshoot requirements.  Reduce the model again by applying the minreal command.
  • 19. Closed loop pole location  The one open-loop zero was cancelled, the other open-loop zero remains in the closed-loop transfer function and cannot be neglected.  The effect of an additional zero (if there is no cancellation) is in general to speed up the response and add overshoot.  We have to be conservative in picking where on the root locus we want the closed- loop poles to lie.  We need the settling time and the overshoot to be as small as possible, particularly because of the effect of the extra zero.
  • 20. Determining gain  Large damping corresponds to points on the root locus near the real axis.  A fast response corresponds to points on the root locus far to the left of the imaginary axis.  To find the gain corresponding to a point on the root locus, the rlocfind command is used.  [k,poles] = rlocfind (rsys_ol)  Select a point is selected on the root locus on left side of the loop, close to the real axis.  These pole locations indicate that the response would have almost no overshoot if it were a canonical second-order system.  However the presence of the zero in this system will add some overshoot.
  • 21. Gain selected_point = -1.3744e+002 +1.3043e+001i k = 0.1308 poles = 1.0e+002 * -1.3874 + 0.1323i -1.3874 - 0.1323i
  • 22. Closed loop response  Response to a step reference the system has an overshoot of approximately 14%.  A settling time just under 0.04 seconds.  No steady-state error.
  • 23. Code for feedback analysis sys_cl = feedback(k*rsys_ol,1); t = 0:0.0001:0.1; step(sys_cl, t) grid ylabel('Position, theta (radians)') title('Response to a Step Reference with PID Control') dist_cl = feedback(P_motor,k*C); figure;step(dist_cl, t) grid ylabel('Position, theta (radians)') title('Response to a Step Disturbance with PID Control')
  • 24. Designing of H-infinity controller  For making the system more robust in performance we need an LSDP approach An LSDP approach comprises of  Weighting functions  Augmented plant  Controller
  • 25. Simulation and results W1=0.1*(s+100)/(100*s+1); W2=0.1; P=augw( P_motor,W1,W2); GAM=0; k = 0.1308 PM = 50.3868 • pzmap(sys_cl) • damp(sys_cl) • [Wn,zeta,poles] = damp(sys_cl) • bode(sys_cl) • zeta = -log(.16) / sqrt( pi^2 + (log(.16))^2 ); • PM = 100*zeta
  • 27. Conclusion We can see that in response to a step reference the system has  an overshoot of approximately 14%.  a settling time just under 0.04 seconds.  No steady-state error.  The response to a step disturbance reaches a steady-state value of zero.  All of the design requirements have been met.