Control Bootcamp: Overview

Steve Brunton
23 Jan 201719:31

Summary

TLDRIn this bootcamp video lecture, Steve Brenton introduces the fundamentals of optimal and modern control theory, focusing on system descriptions using linear differential equations and controller design. He highlights the importance of closed-loop feedback control over open-loop methods, emphasizing its ability to handle system uncertainties, instabilities, and external disturbances more effectively. The lecture aims to familiarize viewers with major control types and their MATLAB implementation, while addressing the current challenges in control theory.

Takeaways

  • 📚 The lecture series is a bootcamp on control theory, focusing on optimal and modern control theory highlights.
  • 🔍 The course aims to familiarize students with major types of control theory and their practical applications in MATLAB.
  • 🌐 Dynamical systems, modeled by ordinary differential equations, are a successful framework for real-world phenomena like fluid flow, population dynamics, and disease spread.
  • 🔧 Control theory goes beyond mere description, aiming to actively manipulate systems to change their behavior through control logic or feedback.
  • 🚛 Passive control, like streamlined truck tail sections, is a common form of control that reduces energy expenditure but may not be sufficient for complex systems.
  • 🔄 Active control involves pumping energy into a system, with open-loop control being a common form where inputs are pre-planned without feedback.
  • 🔄 Open-loop control has limitations, such as constant energy input and inability to adapt to system uncertainties or external disturbances.
  • 🔄 Closed-loop feedback control uses sensors to measure system outputs and adjust inputs, providing better performance and stability.
  • 🔄 Feedback control can handle system uncertainties, instability, and external disturbances, making it more robust and efficient than open-loop control.
  • 🔄 The mathematical architecture involves state-space systems of ordinary differential equations, where feedback can change the system's dynamics and stability.

Q & A

  • What is the main focus of the bootcamp series on control introduced by Steve Brenton?

    -The bootcamp series focuses on rapidly going through the highlights of optimal and modern control theory, including system description, controller design, and estimator design, with an emphasis on practical application using MATLAB.

  • What are the main goals of the bootcamp series on control theory?

    -The main goals are to familiarize participants with major types of optimal and modern control theory, teach them how to use these theories in MATLAB, and provide insights into what is easy and challenging in control theory today.

  • What is the difference between passive control and active control in the context of control theory?

    -Passive control involves designing a system upfront without any energy expenditure, like streamlined tail sections on a truck to reduce drag. Active control, on the other hand, involves pumping energy into the system to actively manipulate its behavior.

  • What is open-loop control and how does it differ from closed-loop feedback control?

    -Open-loop control is a pre-planned control strategy where the input to the system is determined without considering the system's current state. Closed-loop feedback control, however, involves measuring the system's output and using this information to adjust the input in real-time.

  • Why is closed-loop feedback control considered more effective than open-loop control?

    -Closed-loop feedback control is more effective because it can handle uncertainties, change the system's dynamics to improve stability, reject disturbances, and is generally more energy-efficient.

  • What are some of the benefits of using feedback control in dynamical systems?

    -Feedback control can compensate for internal uncertainties, change the system's stability by altering its eigenvalues, reject external disturbances, and is more energy-efficient compared to open-loop control.

  • How does the bootcamp series plan to address the challenges in control theory?

    -The series aims to provide a high-level overview of control theory, highlight the pressing needs, and offer MATLAB examples to help participants understand and overcome these challenges.

  • What is the significance of eigenvalues in the context of stability in control systems?

    -Eigenvalues of the system's dynamic matrix determine the stability of the system. If all eigenvalues have negative real parts, the system is stable; if any have positive real parts, the system is unstable.

  • How does the bootcamp series approach the topic of system modeling using ordinary differential equations?

    -The series starts with linear systems of ordinary differential equations to describe how states interact in a system, using state variables and their derivatives to model various real-world phenomena.

  • What is the role of the matrix 'B' in the context of control systems described in the script?

    -Matrix 'B' represents the actuator's effect on the system's state. It determines how the control input 'U' directly influences the time rate of change of the state variables.

  • Can you provide an example of how feedback control can be applied to stabilize an inverted pendulum?

    -In the case of an inverted pendulum, feedback control can be used by measuring the pendulum's angle and angular velocity (states), and then applying a control input 'U' that is proportional to these states (e.g., U = -KX), which can stabilize the pendulum by adjusting the base's position or motor voltage in real-time.

Outlines

00:00

📚 Introduction to Control Theory Bootcamp

Steve Brenton introduces a bootcamp series on control theory, aiming to provide a rapid yet comprehensive overview of optimal and modern control theory. The lecture will cover system descriptions using linear differential equations, controller design, and estimators like the Kalman filter. The focus is on high-level concepts rather than in-depth mathematical treatments, with the goal of familiarizing the audience with major types of control theory and their applications in MATLAB. Brenton emphasizes the importance of understanding both the easy and challenging aspects of control theory today.

05:02

🔧 Types of Control: Passive and Active

The script discusses the distinction between passive and active control systems. Passive control, such as the aerodynamic design of a truck to reduce drag, requires no energy input once designed. In contrast, active control involves continuous energy input to manipulate a system's behavior, exemplified by the open-loop control of an inverted pendulum. The lecture highlights the limitations of open-loop control, such as constant energy expenditure and lack of adaptability to uncertainties or disturbances, and introduces closed-loop feedback control as a more efficient and robust alternative.

10:04

🔄 Benefits of Closed-Loop Feedback Control

This paragraph delves into the advantages of closed-loop feedback control over open-loop control. It addresses the ability of feedback control to handle system uncertainties, change the system's dynamics to improve stability, and reject external disturbances. The efficiency of feedback control is also highlighted, as it can achieve system stabilization with minimal energy input. The paragraph sets the stage for further exploration of feedback control mechanisms and their implementation in various systems.

15:04

🛠️ Control System Dynamics and Feedback Effects

The final paragraph introduces the mathematical framework of state-space systems of ordinary differential equations, which form the basis of control theory. It explains how feedback control can alter the system's dynamics by changing the eigenvalues of the closed-loop system, thus affecting its stability. The paragraph also discusses the design of control laws and the importance of system controllability and actuation. The goal is to enable the audience to understand how to manipulate system behavior using feedback control, with the potential to stabilize an originally unstable system like an inverted pendulum.

Mindmap

Keywords

💡Control Theory

Control theory is a fundamental framework in engineering that deals with the behavior of dynamical systems in response to control inputs. It is central to the video's theme as it provides the methodology for designing systems that can achieve desired outcomes. The script discusses optimal and modern control theory, emphasizing the importance of understanding how to manipulate system behavior through inputs and outputs.

💡System Description

In the context of the video, a system description refers to the mathematical representation of a control system, typically in terms of a set of linear differential equations. This concept is foundational as it allows for the modeling of real-world phenomena and the subsequent design of controllers to influence the system's behavior, as illustrated by the script's discussion on modeling fluid flow or population dynamics.

💡Controllers

Controllers are algorithms or devices used to manage the behavior of a system. They are integral to the video's narrative as the speaker aims to teach how to design these to achieve specific system responses. The script mentions designing controllers to stabilize an inverted pendulum, showcasing the practical application of control theory.

💡Estimators

Estimators, such as the Kalman filter mentioned in the script, are used to estimate the internal state of a system based on noisy observations. They are key to control theory as they provide the necessary information to make informed control decisions, especially when not all aspects of the system state can be directly measured.

💡Passive Control

Passive control refers to the design of a system to achieve desired outcomes without the need for external energy input. The script uses the example of streamlined tail sections on a truck to reduce drag, illustrating how passive control can be effective in certain scenarios but may not be sufficient for more complex system manipulation.

💡Active Control

Active control involves the input of energy into a system to manipulate its behavior actively. The video script contrasts this with passive control, highlighting its necessity when passive measures are inadequate. Active control is central to the video's discussion on how to achieve more complex control objectives, such as stabilizing an inverted pendulum.

💡Open-Loop Control

Open-loop control is a type of active control where a pre-planned input is applied to the system without considering its response. The script explains this concept through the example of stabilizing an inverted pendulum by oscillating its base sinusoidally, emphasizing its limitations in scenarios with uncertainty or disturbances.

💡Closed-Loop Feedback Control

Closed-loop feedback control is a method where the system's output is measured and fed back to the input to adjust the control action. The video script makes this concept central to its message, arguing that it is more effective than open-loop control due to its ability to compensate for uncertainty, reject disturbances, and change system dynamics.

💡Uncertainty

Uncertainty in control theory refers to the unpredictability or lack of precise knowledge about a system's parameters or behavior. The script discusses how feedback control can handle uncertainty by adjusting the control inputs based on actual system responses, rather than relying on a potentially inaccurate model.

💡Stability

Stability in the context of the video pertains to the system's tendency to return to an equilibrium state after a disturbance. The script explains how closed-loop feedback control can change a system's stability by altering its dynamics, a capability that open-loop control lacks.

💡Eigenvalues

Eigenvalues, particularly of the system matrix in state-space representation, determine the stability of a system. The video script uses eigenvalues to explain how feedback control can change a system's stability characteristics by modifying the eigenvalues through the control law.

💡Efficiency

In the script, efficiency refers to the conservation of energy or resources in control systems. It is highlighted as a benefit of feedback control, which can achieve system stabilization with minimal energy input once an effective control strategy is in place, in contrast to the constant energy requirement of open-loop control.

Highlights

Introduction to a bootcamp series on control theory by Steve Brenton.

The series will cover optimal and modern control theory at a high level.

Discussion on writing system descriptions using linear differential equations.

Designing controllers to manipulate system behavior is a key topic.

Introduction to designing estimators like the Kalman filter for sensor data.

The course aims to familiarize students with major types of control theory.

Teaching the practical application of control theory using MATLAB.

Highlighting the ease and challenges in control theory today.

Perspective on modeling dynamical systems for real-world phenomena.

The importance of going beyond description to actively manipulate systems.

Differentiating between passive and active control methods.

Explanation of open-loop control and its limitations.

Advantages of closed-loop feedback control over open-loop.

The role of feedback in handling system uncertainty and instability.

Feedback control's ability to reject disturbances in the system.

Efficiency of feedback control in energy usage.

Fundamental change in system dynamics and stability with feedback control.

The mathematical framework of state-space systems and ordinary differential equations.

How feedback control can change the eigenvalues of a system for stability.

The importance of controllability and the design of effective control laws.

The series aims to provide a quick understanding of control theory with MATLAB examples.

Transcripts

play00:02

hi everyone I'm Steve Brenton and this

play00:05

is the first video lecture on a series

play00:07

I'm calling a bootcamp on control where

play00:09

I'm going to rapidly go through the

play00:11

highlights of optimal and modern control

play00:13

theory so this is going to include how

play00:16

to write down a system description of a

play00:20

control system with inputs and outputs

play00:22

in terms of a system of linear

play00:24

differential equations and now how to

play00:26

design controllers to manipulate the

play00:28

behavior of that system how to design

play00:30

estimators like the common filter so the

play00:32

diffuse limited sensors you could

play00:34

reconstruct various aspects of that

play00:36

system this is not meant to be an

play00:39

exhaustive in-depth treatment of the

play00:42

subject but really kept at a high level

play00:43

and my goal is to first of all get you

play00:46

familiar with the major types of optimal

play00:50

and modern control theory I want to

play00:52

teach you how to use these in MATLAB to

play00:54

actually work with a real system and

play00:56

what I also want to give you a feeling

play00:58

for is what in control theory is easy

play01:01

and what's still quite challenging today

play01:03

so that you can get up to speed on the

play01:05

real pressing needs of control theory

play01:08

today okay and again this is not

play01:10

exhaustive so you know if this is really

play01:13

important to you and you want to you

play01:15

know you like control theory and you

play01:16

want to go more into depth there's

play01:17

deeper treatments both on the math side

play01:20

and only applied design side okay and so

play01:24

I want to give you just a little bit of

play01:26

perspective I think about the world in

play01:29

terms of dynamical systems so systems of

play01:32

ordinary differential equations in terms

play01:34

of the state of your system and this has

play01:37

been an extremely successful viewpoint

play01:39

for modeling real world phenomenon okay

play01:42

so we model the fluid flow over a wing

play01:44

or the population dynamics in a city or

play01:49

the spread of a disease or the stock

play01:51

market climate planets moving around the

play01:54

solar system all of these are modeled as

play01:56

dynamical systems and this has been a

play01:58

very very successful framework to take

play02:01

in data from the real world and build

play02:03

models that you can use for prediction

play02:05

but often we want to go beyond just

play02:07

describing the system of interest and we

play02:09

want to actually manipulate the system

play02:12

actively to change its behavior

play02:15

and so that could be just imposing some

play02:20

control logic just setting inputs into

play02:24

the that system in a certain pre-planned

play02:27

way to manipulate it or you could

play02:29

actually measure that system and make

play02:31

decisions based on how the system is

play02:33

responding to what you're doing okay and

play02:35

so that's kind of the overarching view

play02:37

and control theory is that you have some

play02:39

dynamical system and interest maybe it's

play02:42

a pendulum or a crane that you want to

play02:44

make more stable you write down the

play02:46

system of equations and then you design

play02:49

some control policy that changes the

play02:52

behavior of your system to be more

play02:54

desirable okay so that's what we're

play02:56

going to talk about and so I want to

play02:58

begin by just talking about the various

play03:00

types of control that there are so

play03:03

there's lots of control that goes around

play03:05

all around us every day that is not

play03:09

active it's called passive control so

play03:11

I'm going to draw just a diagram of the

play03:12

different types of control so one type

play03:15

that's very common you see all the time

play03:18

is passive control okay so for example

play03:21

if you see a large 18-wheeler transport

play03:24

truck going down the highway and it has

play03:26

those streamlined tail sections that's a

play03:30

form of passive control that's passively

play03:32

causing the air around the truck to

play03:35

behave in a favorable way to reduce drag

play03:38

and if you can get away with passive

play03:40

control of your system that's actually

play03:42

great because you just have to design an

play03:44

up front and then there's no energy

play03:46

expenditure and hopefully you get the

play03:48

desired effective for example minimizing

play03:51

drag on a truck but passive control is

play03:54

typically not enough and so oftentimes

play03:56

we need to do something like active

play03:59

control and so active control

play04:02

essentially just means that this is

play04:03

control when we're actually pumping

play04:05

energy into the system to actively

play04:08

manipulate its behavior okay and there's

play04:11

lots and lots of different types of

play04:13

active control so one that I'm going to

play04:15

tell you about is open-loop this is

play04:20

probably the most common form of active

play04:24

control where essentially you have your

play04:26

system of interest

play04:28

and I'm just going to actually draw this

play04:30

as a block here so you have some system

play04:34

and the system has some input so I'm

play04:39

going to call them variable U and it has

play04:42

some outputs that are variable Y okay

play04:45

and so what open loop control does is it

play04:48

essentially reverse designs your system

play04:52

and inverts the dynamics to figure out

play04:54

exactly what is the perfect input u to

play04:57

get a desired output Y okay and so if I

play05:01

take something like a inverted pendulum

play05:04

so we know that if I if I am very

play05:07

careful I can stabilize this inverted

play05:10

pendulum but it in physics you'll learn

play05:13

that if you just pump this pendulum up

play05:15

and down at a high enough frequency it

play05:17

will naturally stabilize the dynamics

play05:19

okay so if my base just oscillates at a

play05:22

high frequency sine wave then the

play05:25

dynamics of this pendulum so the base is

play05:27

you may be why is the angle of this

play05:31

pendulum and my desired control is to

play05:34

make this pendulum essentially stay at

play05:36

vertical okay and so if I pump in energy

play05:39

in a pre-planned way I just make my hand

play05:41

go up and down in the sinusoid I can put

play05:43

in a sinusoid

play05:46

Y that I want okay and essentially that

play05:52

is open with control it's very commonly

play05:55

used essentially you think about your

play05:57

system you pre plan a trajectory and you

play06:00

just enact that control law okay but the

play06:03

downside of open-loop control is that

play06:06

you're always putting in energy to this

play06:10

to this u so in the inverted pendulum

play06:12

example I constantly have to be pumping

play06:14

this thing up and down sinusoidally and

play06:16

the minute I stop the stability it

play06:20

becomes unstable and it falls okay and

play06:22

so the idea is that what we can do is

play06:25

called closed-loop feed feedback control

play06:29

so closed-loop feedback control

play06:36

and essentially what this means is that

play06:38

we take sensors bring my pendants drying

play06:43

out

play06:43

we take sensors sensor measurements of

play06:47

what the system is actually doing and

play06:49

then somehow we build a controller I'm

play06:52

just going to call this a controller and

play06:54

we feed that back into our our input

play06:59

signal that can manipulate the system so

play07:01

for example in that inverted pendulum

play07:03

example as a human if I had a tall

play07:06

enough pendulum so it's slow enough I

play07:08

could actually measure with my eyes if

play07:10

it's starting to wobble and I could do

play07:11

much more subtle control so if you have

play07:14

ever played around with as a kid with a

play07:16

broomstick cat trying to stabilize it

play07:18

you know that you can actually get

play07:19

pretty good at it so that with very low

play07:22

energy input or very small hand motions

play07:25

you can stabilize this thing so that it

play07:27

doesn't fall okay and so that's the

play07:29

basic idea is that by measuring the

play07:31

output you can often do much much better

play07:34

than just feeding in kind of a

play07:37

pre-planned control law okay so sensor

play07:41

based feedback measuring the output and

play07:43

then feeding that back as the input is

play07:45

basically going to be the entire subject

play07:48

of what we're going to talk about in

play07:49

this control boot camp so closed-loop

play07:51

feedback control is the name of the game

play07:53

and that's that's most of what we're

play07:55

going to talk about now that's not to

play07:57

say that if you can design a good open

play07:59

loop or a good passive control there you

play08:01

know there are some times you would do

play08:02

that but in the systems we're going to

play08:05

be interested in closed loop feedback

play08:06

based on sensors is going to give

play08:08

dramatically better performance okay and

play08:11

so I want to talk a little bit about why

play08:16

you would have feedback so I just want

play08:18

to make a quick list why feedback

play08:22

because this is a very very important

play08:26

important topic in control theory so I

play08:28

want to motivate again just maybe in

play08:30

more concrete terms

play08:32

why would I actually measure the system

play08:34

and feed it back instead of just

play08:37

ignoring any measurements and using

play08:39

open-loop so why feedback over open-loop

play08:42

control okay so this is a question I

play08:45

always ask my class and I let them think

play08:47

for a little bit why would you actually

play08:48

want to have

play08:49

the sensors feeding back into your

play08:52

system okay so one answer that I get

play08:57

most often is maybe my system has some

play09:02

inherent uncertainty okay so if my

play09:05

system is uncertain

play09:07

so uncertainty is one of the main and

play09:12

enemies of open-loop control right so if

play09:15

I have this pendulum and I perfectly

play09:17

pre-planned what I want to do let's say

play09:20

that the pendulum is one centimeter

play09:21

taller or it's a little bit heavier or

play09:24

there's wind blowing or something like

play09:27

that then any kind of uncertainty in

play09:30

that system is going to make it so that

play09:32

my pre-planned trajectory is going to be

play09:34

suboptimal

play09:35

but if I measure the outputs and I

play09:37

realize that it's not doing what I want

play09:39

it to do I can adjust my control law

play09:42

even if I don't have a perfect model of

play09:45

my system okay so uncertainty is a big

play09:47

one

play09:47

another really important one is

play09:50

instability so with open-loop control I

play09:57

can never fundamentally change the

play10:00

behavior of the system itself so in the

play10:04

pendulum example I could pump in an

play10:06

amount of energy with the sinusoidal

play10:07

based motion that would force the system

play10:10

to kind of correct itself up to vertical

play10:12

but I'm not actually changing the

play10:14

systems dynamics itself the system still

play10:17

is unstable and has an unstable

play10:19

eigenvalue but when I have feedback

play10:21

control I can directly manipulate the

play10:25

actual dynamics of this closed-loop

play10:27

system and I can change the the dynamic

play10:30

properties I can change the eigenvalues

play10:31

of this closed-loop system okay and I'm

play10:34

going to show you that as the last

play10:35

example in this overview so the third

play10:38

thing that I think is really really neat

play10:41

is that with feedback control you can

play10:44

also reject disturbances in your system

play10:46

so let's say that I have some external

play10:49

disturbance D that's coming into my

play10:51

system and this happens all of the time

play10:55

so so for example let's say in my

play10:59

pendulum example there's a gust of wind

play11:02

so that's a

play11:02

disturbance that would be very hard for

play11:04

me to predict or model or measure so

play11:08

there's this gust of wind that comes and

play11:10

if I had an open lead strategy

play11:11

essentially it might not be able to

play11:13

correct for that gust of wind where is

play11:15

that gust of wind will pass through the

play11:18

system dynamics will be measurable

play11:21

through some sensor and if my feedback

play11:24

control is good enough I can actually

play11:25

correct for that disturbance so I think

play11:28

of uncertainty as internal system

play11:31

uncertainty kind of disturbances to my

play11:33

model and I think if disturbances as

play11:36

external or exogenous forcing of the

play11:38

system that may be too difficult or too

play11:40

costly or too complicated to to model or

play11:43

predict or measure okay and feedback

play11:46

essentially handles all of those basic

play11:48

issues that can handle disturbances that

play11:50

can handle uncertainty and it can

play11:51

fundamentally change the stability of

play11:53

your system to make it more or less

play11:55

stable by actually changing the

play11:57

eigenvalues of this closed-loop system

play12:00

and unfortunately open-loop can't do any

play12:02

of those things which is a huge drawback

play12:06

and I guess the fourth one is energy or

play12:11

efficiency

play12:11

so I'll just say efficient control so

play12:16

again in the case of the pendulum in the

play12:19

open-loop case I constantly had to pump

play12:21

this thing up and down so I was always

play12:23

putting energy in but in the case of

play12:25

sensor-based or elegant feedback control

play12:28

you can picture yourself trying to

play12:30

stabilize this broomstick if you're

play12:32

doing a really good job if you have a

play12:34

really good controller this thing is

play12:35

barely moving at all and so you almost

play12:38

have to put no energy in to correct it

play12:40

so effective sensor based feedback

play12:43

control is also much more efficient

play12:45

which is really really important in lots

play12:47

of applications so if you're going to

play12:49

send a rocket somewhere you better have

play12:52

an efficient controller because you

play12:54

don't want to be wasting fuel okay so

play12:57

the last thing I want to show you is

play12:59

just this idea of why you can change the

play13:01

fundamental system dynamic dynamics and

play13:04

change the stability with feedback

play13:06

control okay so the basic property that

play13:10

we're going to or the basic mathematical

play13:11

architecture we're going to be working

play13:13

with in this class is going to be a stay

play13:16

space system of ordinary differential

play13:18

equations so we're going to have a state

play13:20

variable X X as a vector that describes

play13:24

all of the quantities of interest in my

play13:26

system so for example in my pendulum it

play13:28

could be the angle and angular velocity

play13:31

it could be two states if I have you

play13:35

know an airplane going through the sky

play13:36

it could be the three the position

play13:39

vector XY and Z and also its its

play13:43

rotation angles and their derivatives

play13:46

okay so it could be like a six degree of

play13:48

freedom or twelve state twelve component

play13:53

vector X and so what we're going to look

play13:55

at is the system X dot equals ax so

play14:00

we're going to start with linear systems

play14:02

of equations that describe how those

play14:04

states interact with each other okay and

play14:07

so I'm going to assume that we're all

play14:09

pretty comfortable with this linear

play14:12

systems of OD e so for example we know

play14:14

that the solution of this is X of T

play14:17

equals e to the matrix say T times X at

play14:23

time x zero okay so we know how the

play14:27

system behaves we know that if a has any

play14:31

eigenvalues with a positive real part

play14:33

then the system will be unstable and if

play14:35

all of the eigen values have negative

play14:37

real part then these have stable

play14:38

dynamics that they go to zero as time

play14:41

goes to infinity but what we're going to

play14:43

do in control theory is we're going to

play14:45

add plus B U so we're going to add this

play14:49

ability to actuate or manipulate our

play14:52

system okay so we're going to say that U

play14:54

is our actuator it's the thing we can

play14:56

its our control knob okay so it could be

play14:59

in the case of the pendulum it could be

play15:01

the position of the base or it could be

play15:04

the voltage onto a motor that controls

play15:06

something but this is the knob that we

play15:09

get to turn to try to stabilize our

play15:10

system and B tells you how this control

play15:14

knob directly affects the time rate of

play15:16

change of my state okay and down the

play15:19

road we're going to look at another

play15:22

extension where we're actually going to

play15:24

measure only certain aspects of the

play15:28

state so we're going to measure so

play15:29

linear combination of the state X and

play15:32

this might actually be a limited set of

play15:34

measurements we might not measure all of

play15:35

this the state of its high-dimensional

play15:37

and we might only have access to those

play15:40

few sensor measurements in Y but for now

play15:42

let's just talk about the top equation

play15:44

so if I assume that I can measure

play15:47

everything in the system and in this

play15:49

case of the pendulum as a human I have a

play15:52

pretty good estimate of its vertical

play15:55

position and how fast it's moving so

play15:57

let's say I can measure all of X then we

play16:00

can develop a control law let's say u

play16:04

equals minus some matrix K times X okay

play16:10

so I'm just going to say let's posit a

play16:13

basic control law that my control input

play16:15

U is going to be some matrix times X

play16:18

just some constant constant times the

play16:21

components of X when I plug this in so

play16:26

this is this is really sensor based

play16:28

feedback where y equals x okay in this

play16:33

case we're assuming that y equals x we

play16:34

can measure all of our state and we're

play16:37

going to feed that back into a control

play16:38

law which is minus K u equals minus K

play16:43

times X and we're going to try to modify

play16:46

the dynamics so if you plug u equals

play16:48

minus KX into our dynamics we basically

play16:51

get and let's make another color here we

play16:54

basically get X dot equals ax and then

play17:01

minus B K X okay so B is maybe a tall

play17:07

vector the same or set of vectors the

play17:09

same height as X K it's kind of the

play17:13

transpose size of that and so this is a

play17:16

matrix of size n by n if X is an

play17:20

n-dimensional state and so this equals a

play17:23

minus BK times X so notice that by by

play17:31

measuring the state in this case we're

play17:34

measuring the full state X and feeding

play17:37

that back to the control u through this

play17:40

law u equals minus

play17:41

a X we're able to actually change the

play17:44

dynamic matrix so now we have a new

play17:47

dynamical system X dot equals a minus BK

play17:50

times X and so it's actually the

play17:53

eigenvalues and of this matrix that tell

play17:55

you if the system is stable so I can

play17:57

have a really originally unstable system

play18:00

like this inverted pendulum and by

play18:02

measuring the state and feeding it back

play18:04

to my control knobs I get to move I can

play18:08

stabilize the dynamics I can actually

play18:10

make the system asymptotically stable

play18:11

okay and so figuring out when you can do

play18:16

this so this doesn't work for all

play18:17

systems and for all measurements and for

play18:19

all actuators so figuring out when the

play18:21

system is controllable and how to design

play18:24

this case so that it is well controlled

play18:26

are going to be the subjects of the next

play18:28

couple of lectures okay but really

play18:30

really important feedback solve all of

play18:32

these fundamental problems if I have an

play18:35

uncertainty in my system I can

play18:37

compensate for it by measuring what's

play18:39

actually happening and feeding that back

play18:40

if I have an instability in my system I

play18:43

can actually change the dynamics with

play18:45

this feedback and you can't really do

play18:47

that with open-loop I can also account

play18:49

for external disturbances like a gust of

play18:52

wind that might have been really hard to

play18:53

measure and could totally throw off your

play18:55

pre-planned trajectory but if you

play18:57

measure what's happening you can account

play18:59

for and correct for that

play19:00

and finally feedback control is

play19:03

efficient if you're doing effective

play19:05

feedback control to stabilize a system

play19:07

then the more effective you are the less

play19:09

energy you have to put in okay

play19:11

so this should be a really exciting set

play19:14

of lectures I'm really hoping to get you

play19:16

up to speed quickly and with MATLAB

play19:19

examples so that you can control these

play19:21

systems you can design controllers to

play19:23

actually manipulate your system to do

play19:26

what you want it to do okay thank you

Rate This

5.0 / 5 (0 votes)

関連タグ
Control TheoryOptimal ControlModern ControlMATLABSystem DynamicsFeedback ControlOpen-LoopClosed-LoopDynamical SystemsStability
英語で要約が必要ですか?