SlideShare uma empresa Scribd logo
1 de 12
Baixar para ler offline
1 of 12




By Carlos Asmat and David López Sansò



    ECSE 493 - Control and Robotics Laboratory. McGill University.
Introduction                                                                      2 of 12


Intro · Lead Controller · Full State Feedback Controller · LQR · Conclusion


 ●   Inverted pendulum controller
     –   Lead controller
     –   Pole placement
     –   LQR                                                                       y
 ●   State-space equations                                      α                         x

                                                                    mp
     –   Energies & Lagrangian                                           lp
                                                                              F

                                                           mc




                  ECSE 493 - Control and Robotics Laboratory. McGill University.
Introduction                                                                         3 of 12


Intro · Lead Controller · Full State Feedback Controller · LQR · Conclusion


                   State Space Representation




           [                                                      ][ ]
               0      0                        1               0                   0
               0      0                        0               1 x


     []                                                            []
      x
      ˙                                                                            0
                                                 2
                   −m p g                  −K 1                                  K1
      ˙
        = 0                                                    0                        V
      x
      ¨              mc                     R m mc               x
                                                                 ˙              R m mc
      
      ¨      m p m c  g                   K     1
                                                    2            
                                                                 ˙               −K 1
          0                                                    0
                mc l p                    R m mc l p                           R m mc l p




                   ECSE 493 - Control and Robotics Laboratory. McGill University.
Lead Controller                                                               4 of 12


Intro · Lead Controller · Full-State Feedback Controller · LQR · Conclusion


 ●   Sole objective: to control the pendulum angle.
               −C 1
     Plant:   = 2
            V s − o 2
                                                      
                                                 ℑ     
                                                      V




                                                                      
                                                                 ℜ     
                                   − 0                     0        V




                  ECSE 493 - Control and Robotics Laboratory. McGill University.
Lead Controller                                                               5 of 12


Intro · Lead Controller · Full-State Feedback Controller · LQR · Conclusion


 ●   The lead controller can “pull” on the RHP pole.




                 s  a
       D  s =K
                 s  b




                                                                   Root Locus
                  ECSE 493 - Control and Robotics Laboratory. McGill University.
Full State Feedback                                                           6 of 12


Intro · Lead Controller · Full-State Feedback Controller · LQR · Conclusion

                                        u =−K x

                                  x = A −B K  x
                                  ˙


●   Specify pole locations
●   Obtain gain values




                  ECSE 493 - Control and Robotics Laboratory. McGill University.
Full-State Feedback                                                                              7 of 12


   Intro · Lead Controller · Full-State Feedback Controller · LQR · Conclusion


                                                   Results
          Poles                                                      Comments
 P1      P2   P3        P4        Angle Response                Position Response                     Overall
-0.5+i   -0.5-i   -10   -12                  -                              -                  Doesn't work, too slow
 -3+i      -3-i   -30   -35          Underdamped               Almost critically damped             Doesn't work
-3+3i     -3-3i   -30   -35       Very underdamped                          -                       Doesn't work
  -3       -3     -30   -30                  -                              -                  On the verge of working
  -3       -3     -25   -35      Has large overshoots                Overdamped                Prone to stop working
  -2       -4     -25   -35      Slightly underdamped            Slightly overdamped               Good behaviour
  -1       -2     -25   -35        Critically damped              Critically damped                Good behaviour
  -2       -4     -40   -50                  -                              -                       Doesn't work
  -2       -5     -25   -35                  -                 Very violent movements               Doesn't work
  -1       -4     -25   -35      Slightly underdamped            Slightly overdamped               Best Response




                              ECSE 493 - Control and Robotics Laboratory. McGill University.
Full-State Feedback                                                                                  8 of 12


Intro · Lead Controller · Full-State Feedback Controller · LQR · Conclusion


                                    Gain Variation
              K1 (position)               K2 (angle)                   K3 (velocity)         K4 (angle velocity)

              -8         -30           -30            -120           -12          -50           -3            -14

                                                                  Low freq.    Starts too                  High freq.
                                                    Responds                   violently.
             Slow       Fast      On the verge                    High Amp.                 Turned off
Comments   movement   movement    of instability
                                                      well to
                                                                                             by safety
                                                                                                           Low Amp.
                                                   disturbances     Large      Turned off
                                                                               by safety                  Cart shakes
                                                                  overshoots




                       ECSE 493 - Control and Robotics Laboratory. McGill University.
Full-State Feedback                                                        9 of 12


      Intro · Lead Controller · Full-State Feedback Controller · LQR · Conclusion

                            Disturbance Reaction
Angle (rad)




                        ECSE 493 - Control and Robotics Laboratory. McGill University.
LQR                                                                               10 of 12


Intro · Lead Controller · Full-State Feedback Controller · LQR · Conclusion


 ●   A more efficient way of finding the coefficients.

            ∞
        J =∫  x T Q x u T R u  dt
            0




                                              [                                    ]
                                                  Q 11 0  0   0
                                                   0 Q 22 0   0
                                                   0   0 Q 33 0
                                                   0   0  0 Q 44



                  ECSE 493 - Control and Robotics Laboratory. McGill University.
LQR                                                                           11 of 12


Intro · Lead Controller · Full-State Feedback Controller · LQR · Conclusion


 ●   Angle and position performance




                  ECSE 493 - Control and Robotics Laboratory. McGill University.
Conclusion                                                                    12 of 12


Intro · Lead Controller · Full-State Feedback Controller · LQR · Conclusion


 ●   Worst: lead controller
 ●   FSF tolerant to
     –   Disturbances
     –   Parameter variation (model & gains)
 ●   LQR optimal for pole placement




                  ECSE 493 - Control and Robotics Laboratory. McGill University.

Mais conteúdo relacionado

Mais procurados

Chapter 2 robot kinematics
Chapter 2   robot kinematicsChapter 2   robot kinematics
Chapter 2 robot kinematicsnguyendattdh
 
Lecture 1 trajectory generation
Lecture 1 trajectory generation Lecture 1 trajectory generation
Lecture 1 trajectory generation cairo university
 
SLIDING MODE CONTROL AND ITS APPLICATION
SLIDING MODE CONTROL AND ITS APPLICATIONSLIDING MODE CONTROL AND ITS APPLICATION
SLIDING MODE CONTROL AND ITS APPLICATIONBindutesh Saner
 
Robotics ch 4 robot dynamics
Robotics ch 4 robot dynamicsRobotics ch 4 robot dynamics
Robotics ch 4 robot dynamicsCharlton Inao
 
Sliding mode control
Sliding mode controlSliding mode control
Sliding mode controlswati singh
 
Lecture 4 ME 176 2 Mathematical Modeling
Lecture 4 ME 176 2 Mathematical ModelingLecture 4 ME 176 2 Mathematical Modeling
Lecture 4 ME 176 2 Mathematical ModelingLeonides De Ocampo
 
Backstepping control of cart pole system
Backstepping  control of cart pole systemBackstepping  control of cart pole system
Backstepping control of cart pole systemShubhobrata Rudra
 
Kinematic models and constraints.ppt
Kinematic models and constraints.pptKinematic models and constraints.ppt
Kinematic models and constraints.pptssuser8698eb
 
Differential kinematics robotic
Differential kinematics  roboticDifferential kinematics  robotic
Differential kinematics roboticdahmane sid ahmed
 
observer based state feedback controller design in Matlab (Simulink).
observer based state feedback controller design in Matlab (Simulink).observer based state feedback controller design in Matlab (Simulink).
observer based state feedback controller design in Matlab (Simulink).Hamid Ali
 
Robotics: Introduction to Kinematics
Robotics: Introduction to KinematicsRobotics: Introduction to Kinematics
Robotics: Introduction to KinematicsDamian T. Gordon
 
Phase plane analysis (nonlinear stability analysis)
Phase plane analysis (nonlinear stability analysis)Phase plane analysis (nonlinear stability analysis)
Phase plane analysis (nonlinear stability analysis)Bindutesh Saner
 
Jacobian | velocity and static forces
Jacobian | velocity and static forcesJacobian | velocity and static forces
Jacobian | velocity and static forcesAbrar Mohamed
 

Mais procurados (20)

Chapter 2 robot kinematics
Chapter 2   robot kinematicsChapter 2   robot kinematics
Chapter 2 robot kinematics
 
Lecture 1 trajectory generation
Lecture 1 trajectory generation Lecture 1 trajectory generation
Lecture 1 trajectory generation
 
SLIDING MODE CONTROL AND ITS APPLICATION
SLIDING MODE CONTROL AND ITS APPLICATIONSLIDING MODE CONTROL AND ITS APPLICATION
SLIDING MODE CONTROL AND ITS APPLICATION
 
Robotics ch 4 robot dynamics
Robotics ch 4 robot dynamicsRobotics ch 4 robot dynamics
Robotics ch 4 robot dynamics
 
Sliding mode control
Sliding mode controlSliding mode control
Sliding mode control
 
Smc intro
Smc introSmc intro
Smc intro
 
Lecture 4 ME 176 2 Mathematical Modeling
Lecture 4 ME 176 2 Mathematical ModelingLecture 4 ME 176 2 Mathematical Modeling
Lecture 4 ME 176 2 Mathematical Modeling
 
Sliding mode control
Sliding mode controlSliding mode control
Sliding mode control
 
Backstepping control of cart pole system
Backstepping  control of cart pole systemBackstepping  control of cart pole system
Backstepping control of cart pole system
 
Kinematic models and constraints.ppt
Kinematic models and constraints.pptKinematic models and constraints.ppt
Kinematic models and constraints.ppt
 
Differential kinematics robotic
Differential kinematics  roboticDifferential kinematics  robotic
Differential kinematics robotic
 
observer based state feedback controller design in Matlab (Simulink).
observer based state feedback controller design in Matlab (Simulink).observer based state feedback controller design in Matlab (Simulink).
observer based state feedback controller design in Matlab (Simulink).
 
Robotics: Introduction to Kinematics
Robotics: Introduction to KinematicsRobotics: Introduction to Kinematics
Robotics: Introduction to Kinematics
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computing
 
Phase plane analysis (nonlinear stability analysis)
Phase plane analysis (nonlinear stability analysis)Phase plane analysis (nonlinear stability analysis)
Phase plane analysis (nonlinear stability analysis)
 
Robotics
RoboticsRobotics
Robotics
 
Humanoid robotics
Humanoid roboticsHumanoid robotics
Humanoid robotics
 
Underwater robot
Underwater robotUnderwater robot
Underwater robot
 
Simulation in Robotics
Simulation in RoboticsSimulation in Robotics
Simulation in Robotics
 
Jacobian | velocity and static forces
Jacobian | velocity and static forcesJacobian | velocity and static forces
Jacobian | velocity and static forces
 

Destaque

Controller design of inverted pendulum using pole placement and lqr
Controller design of inverted pendulum using pole placement and lqrController design of inverted pendulum using pole placement and lqr
Controller design of inverted pendulum using pole placement and lqreSAT Publishing House
 
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
 
Inverted Pendulum Control: A Brief Overview
Inverted Pendulum Control: A Brief OverviewInverted Pendulum Control: A Brief Overview
Inverted Pendulum Control: A Brief OverviewIJMER
 
2014 inverted pendulum_presentation
2014 inverted pendulum_presentation2014 inverted pendulum_presentation
2014 inverted pendulum_presentationSteven Hefner
 
Torsion Pendulum
Torsion PendulumTorsion Pendulum
Torsion PendulumTyler Cash
 
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
 
1 mrac for inverted pendulum
1 mrac for inverted pendulum1 mrac for inverted pendulum
1 mrac for inverted pendulumnazir1988
 
MODELLING AND SIMULATION OF INVERTED PENDULUM USING INTERNAL MODEL CONTROL
MODELLING AND SIMULATION OF INVERTED PENDULUM USING INTERNAL MODEL CONTROLMODELLING AND SIMULATION OF INVERTED PENDULUM USING INTERNAL MODEL CONTROL
MODELLING AND SIMULATION OF INVERTED PENDULUM USING INTERNAL MODEL CONTROLJournal For Research
 
Development of Fuzzy Logic LQR Control Integration for Full Mission Multistag...
Development of Fuzzy Logic LQR Control Integration for Full Mission Multistag...Development of Fuzzy Logic LQR Control Integration for Full Mission Multistag...
Development of Fuzzy Logic LQR Control Integration for Full Mission Multistag...Ahmed Momtaz Hosny, PhD
 
Presentation1
Presentation1Presentation1
Presentation1BBQribs
 
Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15Raymond Brunkow
 
Development of Fuzzy Logic LQR Control Integration for Full Mission Multistag...
Development of Fuzzy Logic LQR Control Integration for Full Mission Multistag...Development of Fuzzy Logic LQR Control Integration for Full Mission Multistag...
Development of Fuzzy Logic LQR Control Integration for Full Mission Multistag...Ahmed Momtaz Hosny, PhD
 
Controller design of inverted pendulum using pole placement and lqr
Controller design of inverted pendulum using pole placement and lqrController design of inverted pendulum using pole placement and lqr
Controller design of inverted pendulum using pole placement and lqreSAT Journals
 
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
 
Pendulo invertido com lógica Fuzzy
Pendulo invertido com lógica FuzzyPendulo invertido com lógica Fuzzy
Pendulo invertido com lógica FuzzyDavid Luna Santos
 

Destaque (20)

Controller design of inverted pendulum using pole placement and lqr
Controller design of inverted pendulum using pole placement and lqrController design of inverted pendulum using pole placement and lqr
Controller design of inverted pendulum using pole placement and lqr
 
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...
 
Inverted Pendulum Control: A Brief Overview
Inverted Pendulum Control: A Brief OverviewInverted Pendulum Control: A Brief Overview
Inverted Pendulum Control: A Brief Overview
 
2014 inverted pendulum_presentation
2014 inverted pendulum_presentation2014 inverted pendulum_presentation
2014 inverted pendulum_presentation
 
Torsion Pendulum
Torsion PendulumTorsion Pendulum
Torsion Pendulum
 
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...
 
1 mrac for inverted pendulum
1 mrac for inverted pendulum1 mrac for inverted pendulum
1 mrac for inverted pendulum
 
MODELLING AND SIMULATION OF INVERTED PENDULUM USING INTERNAL MODEL CONTROL
MODELLING AND SIMULATION OF INVERTED PENDULUM USING INTERNAL MODEL CONTROLMODELLING AND SIMULATION OF INVERTED PENDULUM USING INTERNAL MODEL CONTROL
MODELLING AND SIMULATION OF INVERTED PENDULUM USING INTERNAL MODEL CONTROL
 
Pendulum
PendulumPendulum
Pendulum
 
Poster_submitted_final
Poster_submitted_finalPoster_submitted_final
Poster_submitted_final
 
Development of Fuzzy Logic LQR Control Integration for Full Mission Multistag...
Development of Fuzzy Logic LQR Control Integration for Full Mission Multistag...Development of Fuzzy Logic LQR Control Integration for Full Mission Multistag...
Development of Fuzzy Logic LQR Control Integration for Full Mission Multistag...
 
FYP Report
FYP ReportFYP Report
FYP Report
 
Web pages etc
Web pages etcWeb pages etc
Web pages etc
 
Presentation1
Presentation1Presentation1
Presentation1
 
Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15
 
Development of Fuzzy Logic LQR Control Integration for Full Mission Multistag...
Development of Fuzzy Logic LQR Control Integration for Full Mission Multistag...Development of Fuzzy Logic LQR Control Integration for Full Mission Multistag...
Development of Fuzzy Logic LQR Control Integration for Full Mission Multistag...
 
Controller design of inverted pendulum using pole placement and lqr
Controller design of inverted pendulum using pole placement and lqrController design of inverted pendulum using pole placement and lqr
Controller design of inverted pendulum using pole placement and lqr
 
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
 
Fuzzy logic control vs. conventional pid
Fuzzy logic control vs. conventional pidFuzzy logic control vs. conventional pid
Fuzzy logic control vs. conventional pid
 
Pendulo invertido com lógica Fuzzy
Pendulo invertido com lógica FuzzyPendulo invertido com lógica Fuzzy
Pendulo invertido com lógica Fuzzy
 

Inverted Pendulum

  • 1. 1 of 12 By Carlos Asmat and David López Sansò ECSE 493 - Control and Robotics Laboratory. McGill University.
  • 2. Introduction 2 of 12 Intro · Lead Controller · Full State Feedback Controller · LQR · Conclusion ● Inverted pendulum controller – Lead controller – Pole placement – LQR y ● State-space equations α x mp – Energies & Lagrangian lp F mc ECSE 493 - Control and Robotics Laboratory. McGill University.
  • 3. Introduction 3 of 12 Intro · Lead Controller · Full State Feedback Controller · LQR · Conclusion State Space Representation [ ][ ] 0 0 1 0 0 0 0 0 1 x [] [] x ˙ 0 2  −m p g −K 1 K1 ˙ = 0 0   V x ¨ mc R m mc x ˙ R m mc  ¨  m p m c  g K 1 2  ˙ −K 1 0 0 mc l p R m mc l p R m mc l p ECSE 493 - Control and Robotics Laboratory. McGill University.
  • 4. Lead Controller 4 of 12 Intro · Lead Controller · Full-State Feedback Controller · LQR · Conclusion ● Sole objective: to control the pendulum angle.  −C 1 Plant: = 2 V s − o 2  ℑ  V  ℜ  − 0 0 V ECSE 493 - Control and Robotics Laboratory. McGill University.
  • 5. Lead Controller 5 of 12 Intro · Lead Controller · Full-State Feedback Controller · LQR · Conclusion ● The lead controller can “pull” on the RHP pole. s  a D  s =K s  b Root Locus ECSE 493 - Control and Robotics Laboratory. McGill University.
  • 6. Full State Feedback 6 of 12 Intro · Lead Controller · Full-State Feedback Controller · LQR · Conclusion u =−K x x = A −B K  x ˙ ● Specify pole locations ● Obtain gain values ECSE 493 - Control and Robotics Laboratory. McGill University.
  • 7. Full-State Feedback 7 of 12 Intro · Lead Controller · Full-State Feedback Controller · LQR · Conclusion Results Poles Comments P1 P2 P3 P4 Angle Response Position Response Overall -0.5+i -0.5-i -10 -12 - - Doesn't work, too slow -3+i -3-i -30 -35 Underdamped Almost critically damped Doesn't work -3+3i -3-3i -30 -35 Very underdamped - Doesn't work -3 -3 -30 -30 - - On the verge of working -3 -3 -25 -35 Has large overshoots Overdamped Prone to stop working -2 -4 -25 -35 Slightly underdamped Slightly overdamped Good behaviour -1 -2 -25 -35 Critically damped Critically damped Good behaviour -2 -4 -40 -50 - - Doesn't work -2 -5 -25 -35 - Very violent movements Doesn't work -1 -4 -25 -35 Slightly underdamped Slightly overdamped Best Response ECSE 493 - Control and Robotics Laboratory. McGill University.
  • 8. Full-State Feedback 8 of 12 Intro · Lead Controller · Full-State Feedback Controller · LQR · Conclusion Gain Variation K1 (position) K2 (angle) K3 (velocity) K4 (angle velocity) -8 -30 -30 -120 -12 -50 -3 -14 Low freq. Starts too High freq. Responds violently. Slow Fast On the verge High Amp. Turned off Comments movement movement of instability well to by safety Low Amp. disturbances Large Turned off by safety Cart shakes overshoots ECSE 493 - Control and Robotics Laboratory. McGill University.
  • 9. Full-State Feedback 9 of 12 Intro · Lead Controller · Full-State Feedback Controller · LQR · Conclusion Disturbance Reaction Angle (rad) ECSE 493 - Control and Robotics Laboratory. McGill University.
  • 10. LQR 10 of 12 Intro · Lead Controller · Full-State Feedback Controller · LQR · Conclusion ● A more efficient way of finding the coefficients. ∞ J =∫  x T Q x u T R u  dt 0 [ ] Q 11 0 0 0 0 Q 22 0 0 0 0 Q 33 0 0 0 0 Q 44 ECSE 493 - Control and Robotics Laboratory. McGill University.
  • 11. LQR 11 of 12 Intro · Lead Controller · Full-State Feedback Controller · LQR · Conclusion ● Angle and position performance ECSE 493 - Control and Robotics Laboratory. McGill University.
  • 12. Conclusion 12 of 12 Intro · Lead Controller · Full-State Feedback Controller · LQR · Conclusion ● Worst: lead controller ● FSF tolerant to – Disturbances – Parameter variation (model & gains) ● LQR optimal for pole placement ECSE 493 - Control and Robotics Laboratory. McGill University.