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

Lecture 12 ME 176 6 Steady State Error
Lecture 12 ME 176 6 Steady State ErrorLecture 12 ME 176 6 Steady State Error
Lecture 12 ME 176 6 Steady State Error
Leonides De Ocampo
 
Chapter 2 transformer new
Chapter 2 transformer newChapter 2 transformer new
Chapter 2 transformer new
mkazree
 
Matlab Simulink in Three-Phase Fault Analysis on Transmission line
Matlab Simulink in Three-Phase Fault Analysis on Transmission lineMatlab Simulink in Three-Phase Fault Analysis on Transmission line
Matlab Simulink in Three-Phase Fault Analysis on Transmission line
pamu17
 
180degree conduction mode of 3 phase inverter
180degree conduction mode of  3 phase inverter180degree conduction mode of  3 phase inverter
180degree conduction mode of 3 phase inverter
dineshanand810
 

Mais procurados (20)

Speed control of dc motors
Speed control of dc motors Speed control of dc motors
Speed control of dc motors
 
Speed control of DC motor using pulse width modulation technique
Speed control of DC motor using pulse width modulation technique Speed control of DC motor using pulse width modulation technique
Speed control of DC motor using pulse width modulation technique
 
Permanent magnet brushless dc motors ppt
Permanent magnet brushless dc motors pptPermanent magnet brushless dc motors ppt
Permanent magnet brushless dc motors ppt
 
Lyapunov stability
Lyapunov stability Lyapunov stability
Lyapunov stability
 
• Sensorless speed and position estimation of a PMSM (Master´s Thesis)
•	Sensorless speed and position estimation of a PMSM (Master´s Thesis)•	Sensorless speed and position estimation of a PMSM (Master´s Thesis)
• Sensorless speed and position estimation of a PMSM (Master´s Thesis)
 
3 phase Induction Motor frequency of induced emf current and power factor -...
3 phase Induction Motor   frequency of induced emf current and power factor -...3 phase Induction Motor   frequency of induced emf current and power factor -...
3 phase Induction Motor frequency of induced emf current and power factor -...
 
Lecture 12 ME 176 6 Steady State Error
Lecture 12 ME 176 6 Steady State ErrorLecture 12 ME 176 6 Steady State Error
Lecture 12 ME 176 6 Steady State Error
 
Chapter 2 transformer new
Chapter 2 transformer newChapter 2 transformer new
Chapter 2 transformer new
 
Matlab Simulink in Three-Phase Fault Analysis on Transmission line
Matlab Simulink in Three-Phase Fault Analysis on Transmission lineMatlab Simulink in Three-Phase Fault Analysis on Transmission line
Matlab Simulink in Three-Phase Fault Analysis on Transmission line
 
Transfer functions, poles and zeros.
Transfer functions, poles and zeros.Transfer functions, poles and zeros.
Transfer functions, poles and zeros.
 
Vector control of pmsm
Vector control of pmsmVector control of pmsm
Vector control of pmsm
 
vector control of induction motor
vector control of induction motorvector control of induction motor
vector control of induction motor
 
Induction machines
Induction machinesInduction machines
Induction machines
 
Dc motor
Dc motorDc motor
Dc motor
 
SLIDING MODE CONTROL AND ITS APPLICATION
SLIDING MODE CONTROL AND ITS APPLICATIONSLIDING MODE CONTROL AND ITS APPLICATION
SLIDING MODE CONTROL AND ITS APPLICATION
 
Brushless dc motor
Brushless dc motorBrushless dc motor
Brushless dc motor
 
180degree conduction mode of 3 phase inverter
180degree conduction mode of  3 phase inverter180degree conduction mode of  3 phase inverter
180degree conduction mode of 3 phase inverter
 
ppt on induction generator
ppt on induction generatorppt on induction generator
ppt on induction generator
 
Brushless DC Motors
Brushless DC MotorsBrushless DC Motors
Brushless DC Motors
 
MODELLING OF PMSM
MODELLING OF PMSMMODELLING OF PMSM
MODELLING OF PMSM
 

Destaque

2014 inverted pendulum_presentation
2014 inverted pendulum_presentation2014 inverted pendulum_presentation
2014 inverted pendulum_presentation
Steven Hefner
 
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
Presentation1
BBQribs
 
Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond 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
 

Destaque (20)

invertedpendulum
invertedpenduluminvertedpendulum
invertedpendulum
 
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
 
final project
final projectfinal project
final project
 
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
 
Backstepping control of cart pole system
Backstepping  control of cart pole systemBackstepping  control of cart pole system
Backstepping control of cart pole system
 

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.