scheduled model predictive control of wind turbines in above rated wind avishek kumar dr karl stol...

44
Scheduled Model Scheduled Model Predictive Control of Predictive Control of Wind turbines in Above Wind turbines in Above Rated Wind Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

Upload: ryan-billington

Post on 30-Mar-2015

216 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

Scheduled Model Predictive Scheduled Model Predictive Control of Wind turbines in Control of Wind turbines in

Above Rated WindAbove Rated Wind

Avishek Kumar

Dr Karl Stol

Department of Mechanical Engineering

Page 2: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

2

OverviewOverview

Page 3: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

3

BACKGROUNDBACKGROUND

Page 4: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

4

Horizontal Axis Wind TurbinesHorizontal Axis Wind Turbines

Source: US Department of Energy

Page 5: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

5

Control ObjectivesControl Objectives

Speed controlSpeed control Maintain rated rotor speed in above rated Maintain rated rotor speed in above rated

windswinds

Load controlLoad control Oscillations occur in the Low Speed Shaft Oscillations occur in the Low Speed Shaft

(LSS)(LSS) Reduce loads in LSSReduce loads in LSS

Page 6: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

6

Turbine NonlinearitiesTurbine Nonlinearities

),(2

14

32 xCVRP pwrr

w

rr

V

R

Page 7: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

7

Model Predictive ControlModel Predictive Control

Choose the control input trajectory that will Choose the control input trajectory that will minimize a cost function over the minimize a cost function over the prediction horizon prediction horizon HHpp

Example:Example:

maxmin

maxmin

:subject to

min

uuu

xxx

uuxxu

RQJ TH

k

Tp

Page 8: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

8

Why MPC?Why MPC?

Accommodate disturbancesAccommodate disturbances

MIMOMIMO

ConstraintsConstraints

Many cost functionsMany cost functions

Can extend to nonlinear systemsCan extend to nonlinear systems

Page 9: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

9

Current State of MPC for Current State of MPC for Wind TurbinesWind Turbines

MPC using linear models of turbine (LMPC)MPC using linear models of turbine (LMPC) Lacks ability to deal with system nonlinearitiesLacks ability to deal with system nonlinearities

MPC using nonlinear models of turbineMPC using nonlinear models of turbine Difficult to increase order of model as explicit Difficult to increase order of model as explicit

nonlinear equations become very complexnonlinear equations become very complex Computationally expensiveComputationally expensive

Page 10: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

10

Bridging the GapBridging the Gap

Scheduled MPC (SMPC)Scheduled MPC (SMPC)

Uses a network of linear models easily obtained Uses a network of linear models easily obtained from linearization codes (FAST)from linearization codes (FAST)

Optimization remains convex for each controllerOptimization remains convex for each controller

Controllers can be specifically tuned at various Controllers can be specifically tuned at various operating points to operate with different aimsoperating points to operate with different aims

Page 11: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

11

ObjectivesObjectives

Page 12: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

12

MPC OVERVIEWMPC OVERVIEW

Page 13: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

13

Constrained Linear Constrained Linear Quadratic RegulatorQuadratic Regulator

Up till now, MPC has been posed as a Up till now, MPC has been posed as a finite horizonfinite horizon problem problem

For better performance set up MPC as an For better performance set up MPC as an infinite infinite horizon problemhorizon problem

This allows LQR control with constraintsThis allows LQR control with constraints

Page 14: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

14

Infinite Horizon Cost Function for Infinite Horizon Cost Function for CLQRCLQR

ki

Tki

ikik

Tkik uRuxQxJ |1|1

0|1|1

kiHkTkiHk

ikiHk

TkiHk

kikTkik

H

ikik

Tkik

pppp

p

uRuxQxJ

uRuxQxJ

JJJ

||0

|1|12

||

1

0|1|11

21

pp HkHk

T xPxJ 2

pp

p

HkHkT

ikTik

H

iik

Tik xPxuRuxQxJ

1

011

Page 15: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

15

Constrained Linear Constrained Linear Quadratic RegulatorQuadratic Regulator

Design a LQR for the linear system giving Design a LQR for the linear system giving predictions:predictions:

)(

|1|

|1|

|1|

kikkik

kikkik

kikkik

xx

xBKAx

xKu

Page 16: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

16

Constrained Linear Constrained Linear Quadratic RegulatorQuadratic Regulator

Create a MPC to calculate perturbations Create a MPC to calculate perturbations cc about control input given by the LQR about control input given by the LQR onlyonly over over HHp p so constraints are met so constraints are met

|1|

|1|1|

|1|1|

kikkik

kikkikkik

kikkikkik

xx

cBxx

cxKu

p

p

p

Hi

Hi

Hi

...2 ,1

...2 ,1

Page 17: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

17

CLQR MinimizationCLQR Minimization

maxmin

maxmin

maxmin

1

011

:subject to

min

uuu

uuu

uuu

c

pp

p

HkHkT

ikTik

H

iik

Tik xPxuRuxQxJ

Page 18: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

18

CLQR Block DiagramCLQR Block Diagram

Page 19: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

19

Scheduled MPCScheduled MPC

Create a network of MPCs at enough Create a network of MPCs at enough operating points to capture nonlinearities operating points to capture nonlinearities of systemof system

Tune each controller for the region it Tune each controller for the region it operates inoperates in

Weight the outputs of each controller Weight the outputs of each controller based on scheduling variablebased on scheduling variable

Page 20: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

20

SMPC Block DiagramSMPC Block Diagram

Page 21: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

21

ModelModel

Page 22: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

22

Linear Model for Control Linear Model for Control Design/Disturbance EstimationDesign/Disturbance Estimation

op

op

uuu

xxx

uBxAx

Speed Wind

errorpower Integral

ratepitch Bladepitch BladeTorqueGenerator

rate twist DrivetrainspeedRotor

twistDrivetrain

positionazimuth Rotor

VerrorP

T

r

r

xg

pitch Blade Commanded

torqueGenerator Commanded

,,

c

Tu cg

Page 23: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

23

Nonlinear Model for EKFNonlinear Model for EKF(7)

where

0

1

1

),,(

)(

5

4

21

532

21

321

1

41

x

x

N

xx

J

x

JN

Kx

JN

Dx

NJ

DxJ

Kx

NJ

Dx

J

Dx

Jx

VxxP

xf

T

g

ggg

s

gg

s

gg

s

r

s

gr

s

r

s

r

wr

uxgxfx )()(

T

xg

1

0

01

00

00

00

)(

cg

c

Tu

,

V

T

x

g

g

r

Page 24: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

24

WIND TURBINE CONTROL WIND TURBINE CONTROL DESIGNDESIGN

Page 25: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

25

Baseline ControllersBaseline ControllersGSPIGSPI

Page 26: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

26

Baseline ControllersBaseline ControllersCLQRCLQR

Page 27: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

27

Scheduled MPCScheduled MPC

Linearization Point

1 2 3

Wind Speed (Vi0)

14ms-1 18ms-1 22ms-1

Blade Pitch 2.2° 11.1° 16.1°

Generator Torque

3524Nm 3524Nm 3524Nm

Rotor Speed 41.7rpm 41.7rpm 41.7rpm

Page 28: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

28

Scheduled MPCScheduled MPC

kCLQRk

kCLQRkCLQRk

kCLQRkCLQRk

kCLQRk

uu

VV

uuu

VV

uuu

uu

,3

02

03

,3,2

01

02

,2,1

,1

4/)(

)1(

4/)(

)1(

V

V

V

V

1

11

11

1

ms22

ms22ms18

ms18ms14

ms14

Page 29: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

29

Scheduled MPCScheduled MPC

Page 30: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

30

SimulationsSimulations

Simulations conducted in MATLAB/Simulink with Simulations conducted in MATLAB/Simulink with FAST modelFAST model

Active DOFActive DOF Blade flap (modes 1 and 2)Blade flap (modes 1 and 2) Blade EdgewiseBlade Edgewise TeeterTeeter Tower fore-aft (mode 1 and 2)Tower fore-aft (mode 1 and 2) DrivetrainDrivetrain GeneratorGenerator Tower side-sideTower side-side

Page 31: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

31

Wind InputsWind Inputs

Page 32: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

32

Performance CriteriaPerformance Criteria

Rotor Speed RMS ErrorRotor Speed RMS Error

Low Speed Shaft Damage Equivalent LoadLow Speed Shaft Damage Equivalent Load

RMS Pitch AccelerationRMS Pitch Acceleration

Page 33: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

33

TuningTuning

Each SMPC controller tuned to have same Each SMPC controller tuned to have same speed control as GSPI in respective low speed control as GSPI in respective low turbulence windturbulence wind

Each SMPC controller tuned to have same Each SMPC controller tuned to have same LSS load control as CLQR in respective LSS load control as CLQR in respective low turbulence windlow turbulence wind

Page 34: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

34

RESULTSRESULTS

Page 35: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

35

ConstraintsConstraints

Page 36: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

36

Speed ControlSpeed Control

Page 37: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

37

LSS DELLSS DEL

Page 38: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

38

Pitch AccelerationPitch Acceleration

Page 39: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

39

ConclusionsConclusions

Page 40: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

40

Future WorkFuture Work

Page 41: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

Questions?Questions?

Page 42: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

42

Nonlinear ModelNonlinear Model(7)

where

Page 43: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

43

Extended Kalman FilterExtended Kalman Filter

FL design needs FL design needs accurate accurate wind speed wind speed estimateestimate

Extended Kalman Filter (EKF) is a Extended Kalman Filter (EKF) is a nonlinear state estimatornonlinear state estimator

Sub optimalSub optimal

Linearizes the system model each time Linearizes the system model each time step, then estimates states like a linear step, then estimates states like a linear Kalman FilterKalman Filter

Page 44: Scheduled Model Predictive Control of Wind turbines in Above Rated Wind Avishek Kumar Dr Karl Stol Department of Mechanical Engineering

44

Choosing HpChoosing Hp