Advanced Adaptive Control for Unintended System Behavior

35
Advanced Adaptive Control for Unintended System Behavior Dr. Chengyu Cao Mechanical Engineering University of Connecticut [email protected] [email protected]

Transcript of Advanced Adaptive Control for Unintended System Behavior

Page 1: Advanced Adaptive Control for Unintended System Behavior

Advanced Adaptive Control for Unintended System Behavior

Dr. Chengyu Cao

Mechanical EngineeringUniversity of Connecticut

[email protected] [email protected]

Page 2: Advanced Adaptive Control for Unintended System Behavior

Part I: Challenges: Unintended System Behavior

Part II: Proposed L1 Adaptive Control Techniques

Part III: HVAC System and Control Objectives

Part IV: Plans to Achieve Objectives for HVAC System

Part V: Design Controllers for HVAC with GUI

Part VI: Project Milestones

Outline

Page 3: Advanced Adaptive Control for Unintended System Behavior

Direct Adaptive Control

Challenges

In practice, engineering systems are oftenaffected by unintended behaviors.

Causes to off-nominal situations disturbances, model uncertainties measurement noise etc.

Page 4: Advanced Adaptive Control for Unintended System Behavior

Direct Adaptive Control

L1 Adaptive Control

Benefits of L1 adaptive control

improves transient performance

handles time-varying model uncertainties anddisturbances

reduces V&V (Verification and Validation) efforts

Page 5: Advanced Adaptive Control for Unintended System Behavior

L1 Adaptive Control Structure

Features: Handles time-varying parameters and uncertainties Allows for fast and robust adaptation Improves transient performance and tracking performance

Control Law

Low Pass Filter

State Predictor

Adaptive Law

(Fast Adaptation)

Adaptation

Control

Plant

Page 6: Advanced Adaptive Control for Unintended System Behavior

Applications

Page 7: Advanced Adaptive Control for Unintended System Behavior

Application of L1 in Flight Control

NASA: AirSTAR

L1 adaptive controller • closes the loop for 14 minutes• finishes all the scenarios successfully

Fort Pickett, VA, April 2010, 14th flight of AirStar

Page 8: Advanced Adaptive Control for Unintended System Behavior

The benefit of L1 adaptive control

However, Γ ∝ 1/T, but T is limited by hardwaresampling rate

To overcome this limitation, we can introduceadditional estimation schemes with memorizingmechanism

Limitations in L1 Adaptive Control

( )( )

lim ( ) ( ) 0, 0;

lim ( ) ( ) 0, 0 .

ad r

r

u t u t t

x t x t tΓ→∞

Γ→∞

− = ∀ ≥

− = ∀ ≥

Page 9: Advanced Adaptive Control for Unintended System Behavior

Consider a SISO system

– x: system state– uK: control input– σ: uncertainty– y: output– AK, b, c: known system matrices

• If AK is controllable, there exists K such that AK – bKT is Hurwitz.• Then we can rewrite the system as

– A = AK – bKT is – u = uK + KTx(t)

• The control objective is for y to track a given reference signal, r.

Problem Formulation

0

( ) ( ) ( ) ( ),

( ) ( ), (0 ) 0K Kx t A x t b u t t

y t c x t x xσ= + +

= = =

( ) ( ) ( ) ( )x t Ax t b ut tσ= + +

Page 10: Advanced Adaptive Control for Unintended System Behavior

• The state predictor is designed to mimic the system dynamics

– is the memorizing mechanism term– is time-varying disturbance

• The adaptive law for is obtained by writing the error dynamics,, discretizing, substituting , and solving for

– i: number of elapsed time steps– T: duration of time step

Adaptive Law/State Predictor

(( 1) ) 0x i T+ =

ˆˆˆˆ( ) ( ) ( ) ( ) ( )ˆ (̂ ) ( )

bx t Ax t b ut t t

y t c x t

σ σ= + + +

=

ˆbσ

σ̂σ̂

ˆx x x= − ˆ ( )iTσ

Page 11: Advanced Adaptive Control for Unintended System Behavior

is generated by the standard piecewise-constant adaptive law,

is generated by the feedback law,

D(s) is a low-pass filter.

Adaptive Law

σ̂1

0

1

0

ˆ ( ) ( ) ( ) ( )

( ) , ( ) ( )

T

TAT

iT T d T x iT

T e T d T

σ τ τ

τ τ

= − Φ − Φ Φ = Γ = − Φ − Φ

ˆbσ

ˆˆ (̂ ) ( )( ( ) ( ))b bt D s t tσ σ σ= +

Page 12: Advanced Adaptive Control for Unintended System Behavior

• D(s) has the form

• The feedback law for can be solved to obtain

Update Law for Memory Term

ˆbσ

( ) aD ss a

=+

ˆˆ ( ) ( )bat ts

σ σ=

Page 13: Advanced Adaptive Control for Unintended System Behavior

The control law consists of 3 parts,

– u1 is designed to drive y to r in the absence of uncertainties– u2 and u3 are designed to cancel the effects of matched and unmatched components of

uncertainties respectively– Matched and unmatched components determined by

• is the nullspace of bT

• is the matched component• is the unmatched component

Control Law

u1 is determined by dynamic version of the state predictor, omitting the uncertainty terms

The matched component can be cancelled by simply choosing it’s opposite

The matched component can be cancelled by simply choosing it’s opposite

1 2 3( ) ( ) ( ) ( )u t u t u t u t= + +

11

2

ˆˆˆ( )

ˆ bb bσ

σ σσ

− = +

b

1σ̂2σ̂

1 1

1( ) ( )u t r tcA b−= −

2 1ˆ( ) ( )u t tσ= −

1

3 2 21

( ) ˆ( ) ( ) ( )( )

c sI A bu t C s tc sI A b

σ−

−= −

Page 14: Advanced Adaptive Control for Unintended System Behavior

3/7/2014

Two simulation examples are presented forSmall T, T = 0.0001 secondsLarge T, T = 0.01 seconds

Both cases are tested with and without memorizing mechanism present in the controller

Controller A:

Controller B:

Simulations

ˆˆ ( ) ( )bat ts

σ σ=

ˆ ( ) 0b tσ =

Page 15: Advanced Adaptive Control for Unintended System Behavior

3/7/2014

Simulation for T = 0.0001 seconds

Both controllers perform identicallyOutput prediction matches real output

Uncertainty estimations are identical for both controllersBoth match real uncertainty

Page 16: Advanced Adaptive Control for Unintended System Behavior

3/7/2014

Simulation for T = 0.01 seconds

Controller B displays a significant steady-state error, while Controller A tightly matches the reference

Uncertainty estimations more accurate for Controller A than Controller B

Page 17: Advanced Adaptive Control for Unintended System Behavior

3/7/2014

L1 adaptive control uses high gain adaptive law (fast adaptation) to increase performance

Adaptive gain is inversely proportional to hardware sampling time

Sampling time is limited by hardware

Memorizing mechanism is shown to improve performance for larger sampling times

Conclusions

Page 18: Advanced Adaptive Control for Unintended System Behavior

1. Extend the System Coverage of the L1 Adaptive Controller Output feedback control for nonlinear system L1 adaptive control design will be further extended under the output

feedback framework for more challenging problems

2. Reduce Tuning Efforts of the L1 Adaptive Controller Design a low-pass filter with minimized tuning efforts such that the

controller has the adaptability for arbitrarily large nonlinear time-varying uncertainties without redesign parameters

3. Relax Hardware Requirements L1 adaptive control with memorizing technique would give the ability to

maintain performance with increased integration step-size

Proposed L1 Adaptive Control Techniques

Page 19: Advanced Adaptive Control for Unintended System Behavior

Rooftop AC: possible application platform

* Nonlinear uncertainties* Changing and unknown operating condition* Etc.

UTC Application: HVAC System

The Electrical System of an Air Conditioner (Kosterev 2007)

Page 20: Advanced Adaptive Control for Unintended System Behavior

HVAC system design is based on the principlesof thermo dynamics, fluid mechanics, and heat transfer.

Sub-systems of Commercial Rooftop

Refrigeration Sub-system Heating Sub-system OD Air Economizer/Ventilation Sub-system

HVAC System

Page 21: Advanced Adaptive Control for Unintended System Behavior

For the control of HVAC system, nominal models areneeded.

Complete dynamic model include RTU air-distribution systems building zones etc.

Model uncertainty and disturbances are significant.

Modeling of HVAC

Page 22: Advanced Adaptive Control for Unintended System Behavior

Multiple Control Loops

Actuator Control target

Compressor Supply air temperature

Supply air fan Supply air duct pressure

Exhaust fan Pressure of one selected zone

Zone damper Zone temperature

Page 23: Advanced Adaptive Control for Unintended System Behavior

Performance in off-nominal situationsMaintain performance under different environments and off-nominal situations

System protection Prevent component damages

Energy ConservationMinimize electricity consumption

Control Objectives for HVAC System

Page 24: Advanced Adaptive Control for Unintended System Behavior

Protection: Compressor

pumps the refrigerant gas up to a high pressure and temperature. enters a condenser and condenses into its liquid phase. evaporates and returns to the compressor, and repeats the cycle.

Page 25: Advanced Adaptive Control for Unintended System Behavior

ProtectionOverheating protection Long time running of the system; Too high temperature of the environment; Short circuit

Overcooling protectionToo low temperature of the environment;

Over-current protection Long time running of the system; Too low voltage; Short circuit

Page 26: Advanced Adaptive Control for Unintended System Behavior

Solutions: Performance

Applying proposed L1 adaptive control to HVAC System:

Maintain system performance with unintended systembehavior caused by changing environmental conditionsand equipment degradation.

Handle unintended equipment behavior in case of component faults

ReduceV&V efforts

Page 27: Advanced Adaptive Control for Unintended System Behavior

Solution: Energy Conservation

Model based performance seeking control

• Adaptive control handles model uncertainties andunintended system behavior

• Model based performance seeking utilizing redundantactuations

Page 28: Advanced Adaptive Control for Unintended System Behavior

Solution: Protection

Protections

Signal constraints need to be maintained

Maintain input/output constraints

Page 29: Advanced Adaptive Control for Unintended System Behavior

Solution: Protection (continued)

Incorporate input/output constraints protection in L1 adaptive control

Input constraints Direct implementation

Output constraints Model based prediction and optimization

Prerequisite: Get rid of unintended system behavior

Page 30: Advanced Adaptive Control for Unintended System Behavior

Direct Adaptive Control

Software Toolbox with GUI

Specifies System Information

Give the control design for this specific system and provide quantification for possible V&V analysis.

User

Structure, time-delay,

uncertainties bound, measurement noise and performance

requirement

Interface

Page 31: Advanced Adaptive Control for Unintended System Behavior

Guide the users through design process with enough information and explanation.

Step 1:

System information: (Nominal plant architecture -- Chosen from pre-defined classes that L1 adaptive controller can handle).

-- User can pick one option which is most close to the system.

Step 2:

Under this architecture, input nominal information of plants.

Step 3:

Uncertainty information. (bounds, etc. )

Step 4:

Other information. (measurement noise, etc.)

GUI Interface

Page 32: Advanced Adaptive Control for Unintended System Behavior

Software Toolbox

After the information collection is done through the interface.

Software toolbox system will generate a controller automatically with a few tuning parameters.

Next step, controller needs to be tuned and tested.The parameters would be tuned based on guidance.

Page 33: Advanced Adaptive Control for Unintended System Behavior

Rooftop Air Conditioners

1. Analysis system and get generic modeling of the rooftop AC. Compressor unit model, dynamic behavior and etc. States: running & installed

2. Collect high-frequency problems and study the impacts to control system and energy saving. Sensor failure, economizer, thermostats and etc.

3. Using design tool-box for rooftop AC control system and testing the controller.

Page 34: Advanced Adaptive Control for Unintended System Behavior

1• Generic modeling of interested

system (Rooftop AC)

2• Software Toolbox

3• Reports and slides of theoretical

results

4• Experiments and tests of adaptive

control on the model

Project Milestones

Page 35: Advanced Adaptive Control for Unintended System Behavior

Thank you!Department of Mechanical Engineering

U n i v e r s i t y o f C o n n e c t i c u t