Professional Documents
Culture Documents
- Part II: Control C.L. Bottasso C.L. Bottasso Politecnico di Milano Politecnico di Milano Milano, Italy Milano, Italy
POLItecnico di MIlano
Korea Institute of Machinery and Materials Korea Institute of Machinery and Materials & & Kangwon National University Kangwon National University October 18-19, 2007 October 18-19, 2007
POLItecnico di MIlano
Positions, speeds, Positions, speeds, accelerations, stresses, accelerations, stresses, strains, temperature, strains, temperature, electrical & fluid electrical & fluid characteristics, etc. characteristics, etc.
Supervisor Supervisor
Choice of operating condition: Choice of operating condition: Start up Start up Power production Power production Emergency shut-down Emergency shut-down Communication and reporting Communication and reporting
Observers Observers
POLITECNICO di MILANO
DIA
Idling Start Up Normal power production Normal shut down Emergency shut down
POLITECNICO di MILANO
DIA
Failures Failures Overspeed & high rotor accel. Overspeed & high rotor accel. Vibrations Vibrations
POLITECNICO di MILANO
DIA
POLItecnico di MIlano
Control Strategies
Control Strategies
Basic wind turbine control strategies and power curves: curves Constant TSR strategy Constant rotor speed strategy Below and above rated speed control Variable speed pitch-torque regulated wind turbine Stall and yaw/tilt control
POLITECNICO di MILANO
DIA
Control Strategies
Power coefficient:
CP =
P 1/2AV 3
CP = CP (, , Re, M )
R V
CP
0.40
= const.
0.35
CP
0.30
0.25
0.20
0.15
0.10
0.05
0.00 0 2 4 6 8
10 12 14 16 18 20
DIA
POLITECNICO di MILANO
Control Strategies
Constant rotor speed: = const. = Direct grid connection: speed
0.50
0.45
CP
R V =
Generator provides whatever torque required to operate at or near given angular speed
0.40
CP
0.50
0.45
0.40
0.35
0.35
0.30
0.25
0.20
CP
0.15
0.30
0.10
0.05
0.00 0 2 4 6 8 10 12 14 16 18 20
0.25
max = const.
0.20
0.15
0.10
0.05
0.00
V
DIA
POLITECNICO di MILANO
Control Strategies
Constant TSR: = const. = TSR Indirect grid connection:
Through power electronic converter Allows for rapid control of generator torque
V = R =
V Vr (const. )
1 AV 3 CP 2
V
POLITECNICO di MILANO DIA
Control Strategies
Power-wind speed curve: curve
P Pr
V
DIA
Control Strategies
P =
Constant rotor speed strategy 2 vs. strategy 1: 1 Higher cut in speed Lower wind speed to reach rated power Smaller power deficit
= 1
V
POLITECNICO di MILANO
= 2
V
DIA
Control Strategies
Annual energy yield: E = Y
Vout
P (V )fw dV
Vin
= 1 fw V
Constant rotor speed strategy 2 vs. strategy 1: Smaller power deficit wrt to constant TSR, but at improbable wind speeds Higher energy yield
Weibull distribution
fw = 2 = 1 = 2 V V
POLITECNICO di MILANO
DIA
Control Strategies
Control above rated speed: V > Vr speed
CP
0.50
0.45
CP
0.40
0.35
0.30
CP = CP
0.25
0.20
0.15
R = V
0 2 4 6 8
0.10
0.05
0.00
10
12
14
16
18
20
DIA
POLITECNICO di MILANO
Control Strategies
Variable-speed pitch/torque regulated wind turbine: turbine
Below rated speed: torque control
CP
0 2 4 6 8 10 12 14 16
0.35
0.30
0.25
0.20
0.15
0.10
Vr
0.05
0.00
18 20
T = Pr /
T = 1/2ARV 2 CP /
Vr
Vcut out
V = V /R
Vr
No torque to promote rotor acceleration
Region 2 - below rated Region 3 - above rated speed: constant power speed: constant TSR strategy strategy
Vr
POLITECNICO di MILANO
V
DIA
Control Strategies
Variable-speed passive-stall/torque regulated wind turbine: turbine
Below rated speed: torque control
Vr T = Pr /
Vr
Below rated speed: constant TSR strategy Above rated speed: (roughly) constant power strategy
Vr V = V /R Vr
V
DIA
POLITECNICO di MILANO
Control Strategies
V
Constant-speed passive-regulation wind turbine:
Below rated speed: Above rated speed: (roughly) constant constant rotor power strategy speed strategy
Rotor disk
V cos
Below rated speed: Above rated speed: yaw or tilt rotor to constant rotor reduce effective wind speed strategy
P
Stall region, high dispersion
Pr = =
Vr
Yaw/tilt out-of-the-wind regulation
DIA
Control Strategies
Further wind turbine control goals: goals Fatigue damage reduction in turbulent wind Gust load alleviation Disturbance rejection Resonance avoidance Actuator duty cycle reduction Periodic disturbance reduction (gravity, wind shear, tower shadow, ) Usually, these goals should be achieved together with the basic control strategies deriving from the power curves, i.e. Region 2: maximize energy capture Region 3: limit output power to rated value
POLITECNICO di MILANO DIA
Orient the rotor in line with the wind field to increase power
Note: some small wind turbine will also yaw out of the wind to reduce loads in high winds
Yaw Control
Tail fin
Downwind rotor
Active yaw:
- If V < V - If V > V
cut in
= no action
cut in:
- Compute yaw error averaging over window (typically tens of sec.s) to reduce duty cycle - Region 2 = realign if yaw error > yaw threshold2 (typically ~15 deg) - Region 3 = realign if yaw error > yaw threshold3 (typically ~8 deg) - Realign at low yaw rate to reduce gyroscopic loads - If yaw error < small threshold (typically a fraction of a deg), engage yaw brake to eliminate backlash between drive pinion and bull gear
POLITECNICO di MILANO
DIA
POLItecnico di MIlano
Reduced Models
e c Fa Telc Tele MT , CT , KT Ta JR d
Equations: Equations
Drive-train shaft dynamics Elastic tower fore-aft motion Blade pitch actuator dynamics Electrical generator dynamics
=0 =0 =0 =0
POLITECNICO di MILANO
DIA
1 CP (, e , Vm ) R3 e (Vw d)2 2 1 Fa = R2 CFe (, e , Vm )(Vw d)2 2 CFe (, e , Vm ), CPe (, e , Vm ) computed off-line with CpLambda aeroservo-elastic model, averaging periodic response over one rotor rev
POLITECNICO di MILANO
DIA
Blade
Telc
States: States
3 flap angles (or blade modal amplitudes) Rotor azimuth Shaft torsion
Pitch actuator
c1
Generator
c2 c3
Tower
3 tower angles (fore-aft, side-side, torsion) (or tower modal amplitudes) Yaw angle (and their rates) Equivalent flap hinge and spring
Rigid body Beam Revolute joint Actuator Boundary condition Equivalent tower stiffnesses
POLITECNICO di MILANO
DIA
x = A(x , u , p )x + B(x , u , p )u x = x x u = u u T
V
Linearization trim points
V x u p
Automated (e.g. Maple, or directly from software using Automatic Differentiation tools like ADOL-C, ADIC, etc.) Numerical, by finite differences
POLITECNICO di MILANO DIA
POLItecnico di MIlano
Observers
q v
= v = (T )1 T (a + nw )
Accelerometer
c = 00 q nv q
Strain gage
Multiple modal ampl. (sensor number and position for observability) Formulation applicable also to identification of flap-lag blade states
POLITECNICO di MILANO DIA
x = Ax + Bu + W nw y = Cx + Du + V nv
with
x = (q T , v T )T u = a y = c 00 0 I 0 0 A= B= C= 0 0 0 W = V = I
xk = x + Kk (yk yk ) k
D=
Curvature reading: yk
POLITECNICO di MILANO DIA
Filter warm-up
POLITECNICO di MILANO
DIA
POLITECNICO di MILANO
DIA
Wind Observer
Anemometer: Cup, but also laser, ultrasonic, etc. Measurements highly inaccurate because of Rotor wake Wake turbulence Nacelle disturbance Sufficient accuracy for supervision tasks and yaw alignment Not sufficient for sophisticated control law implementation Need ways to reconstruct wind blowing on rotor from reliable measurements (pitch setting, rotor speed, etc.)
POLITECNICO di MILANO
DIA
Wind Observer
Extended Kalman wind observer: observer Wind equation:
Vw = nw
with x = Vw
u = (, , e , d, Vm )T
with measured output yk = 0 to enforce torque-balance equation Mean wind Vm reconstructed with moving average on 10 sec window
POLITECNICO di MILANO DIA
Wind Observer
Hub wind estimation:
EOG1-13 case
POLITECNICO di MILANO
DIA
Wind Observer
Simple mean hub wind reconstruction from torque balance equation More in general: The rotor system is a sensor which responds to temporal as well as spatial wind variations
Model-based interpretation of response can be used for reconstructing vertical and horizontal wind shear for improved rotor control Example: introduce spatial assumed modes and wind states
POLITECNICO di MILANO
DIA
POLItecnico di MIlano
Simulation Environment
Process noise
Virtual plant
CpLambda aero-servoelastic model
Sensor models
Controller Supervisor
Choice of operating condition: Start up Power production Normal shut-down Emergency shut-down
Kalman filtering
Wind & tower/blade state estimation
Feedback controller
PID MIMO LQR RAPC Adaptive reduced model
POLITECNICO di MILANO
DIA
POLItecnico di MIlano
Control Laws
Case studies: studies PID: gain optimization and wind scheduling LQR: handling region 2-3 transition and wind scheduling Adaptive non-linear predictive control A simple LQR approach to cyclic pitch control
POLITECNICO di MILANO
DIA
t tTi
( )d + Kd (Vm )
POLITECNICO di MILANO
DIA
Equivalent fatigue loads for tower and blades MeqT , MeqBi based on rain-flow analysis (ASTM E 1049-85):
2 + w d2 + w ( )2 + wP (P P )2 dt w e d X
i
Meq =
m Mf,i Ni /Ntot
!1/m
POLITECNICO di MILANO
DIA
Regard cost as sole function of unknown gains J(Vm ) = J(Kp (Vm ), Ki (Vm ), Kd (Vm )) Minimize cost (using Noesis Optimus): Wind Turbine Control
Evaluate cost with CpLambda aero-servo-elastic model Global optimization (GA) Local refinement (Response Surface + gradient based minimization) Optimizer
Global & local algorithms Functional approximators
CpLambda
Aeroelastic response in turbulent wind for given gains
(possible constraints)
J(Vm )
POLITECNICO di MILANO
DIA
Reduced model in compact form: x = f (x, u, Vw , Vm ) where x = (d, d, , e , e , Tele )T u = (c , Telc )T Wind parameterized linear model: x = A(Vw , Vm )x + B(Vw , Vm )u Wind Turbine Control
where x = x x (Vm ) Remarks: Remarks Model linearized about current mean wind estimate Vm Non-linear dependence on instantaneous turbulent wind Vw Wind not treated as linear disturbance (as commonly done)
POLITECNICO di MILANO DIA
u = u u (Vm )
1 Regulation cost: J = 2
T T x Qx + u Ru dt
POLITECNICO di MILANO
DIA
POLITECNICO di MILANO
DIA
- Can correct for unmodeled or unresolved physics and modeling errors Can handle constraints (e.g. max loads in blades or tower) Can be implemented in real-time (no iterative scheme, fixed number of operations per activation)
u,x,y
min J =
- Reduced model:
t0 +Tp
L(y, u) dt
t0
Prediction error e Plant response x(t) Goal control u (t) Computed control u(t)
Prediction window
t0 + Tp
DIA
Prediction error Prediction error Steering window window Steering Prediction error Past Past Past Future Future Future Steering window Plant response Past
Goal response
Past Future Future
Predictive solutions
1. Tracking problem 2. Steering problem 3. Reduced model update Reduced model adaption:
Predict plant response with minimum error (same outputs when same inputs) Self-adaptive (learning) model adjusts to varying operating conditions (ice, air density, terrain, etc.)
POLITECNICO di MILANO
DIA
RAPC: Motivation
For any given problem: wealth of knowledge and legacy methods which perform reasonably well Quest for better performance/improved capabilities: undesirable and wasteful to neglect valuable existing knowledge Reference Augmented Predictive Control (RAPC): exploit available RAPC legacy methods, embedding them in a non-linear model predictive adaptive control framework Specifically: Model: augment reduced models to account for unresolved or Model unmodeled physics Control: design a non-linear controller augmenting linear ones Control (MIMO Nonlinear-Wind LQR) which are known to provide a minimum level of performance about certain linearized operating conditions
POLITECNICO di MILANO
DIA
RAPC: Motivation
Approach: Choose a reference model / reference control law Augment the reference using an adaptive parametric function Adjust the function parameters to ensure good approximation of the actual system / optimal control law (parameter identification)
Reasons for using a reference model / control: control Reasonable predictions / controls even before any learning has taken place (otherwise would need extensive pre-training) Easier and faster adaption: the defect is typically a small quantity, quantity if the reference solution is well chosen
POLITECNICO di MILANO
DIA
u, Vw
u, Vw
e x
Reduced model Plant Augmented reduced model
Dissimilar outputs
POLITECNICO di MILANO
e x
Similar outputs
x
DIA
Neural augmented reference model: model reference (problem dependent) analytical model,
JG Telc Tele MT , CT , KT Tl Ta JR
Fa
fref (x, x, u) = 0
Remark: reference model will not, in general, ensure adequate Remark not predictions, i.e.
e e x 6= x when u = u,
d(x, u) = dp (x, u, pm ) +
where
dp (x, u, pm ) = Wm T (Vm T i + am ) + bm
and
= functional reconstruction error; Wind Turbine Control Wm , Vm , am , bm = matrices of synaptic weights and biases; () = ((1 ), . . . , (Nn ))T = sigmoid activation functions; i = (xT , uT )T = network input.
The reduced model parameters
Fast adaption
Red: reference model Black: CpLambda multibody model Blue: reference model +neural network
POLITECNICO di MILANO
DIA
Red: defect
POLITECNICO di MILANO
DIA
Past
t0
Future
Goal response x (t) x(t), t < t0 x0 Goal control u (t) Optimal solution uNMPC (t) Sub-optimal solution uref (t) u(t), t < t0 t0
POLITECNICO di MILANO
Optimal solution x(uNMPC (t)) Sub-optimal solution x(uref (t)) Augmented sol. uref (t) + N N
Prediction window
t0 + Tp
DIA
min J =
s.t.: f (x, x, u) = 0 t [t0 , t0 + Tp ] x(t0 ) = x0 y = g(x) t [t0 , t0 + Tp ] f (x, x, u, pm ) = 0, t [t0 , t0 + Tp ], x(t0 ) = x0 , t [t0 , t0 + Tp ], t [t0 , t0 + Tp ].
DIA
t0 +Tp
L(y, u) dt
t0
d(f,T ) x T T Adjoint equations: + f,x + y,x L,y = 0, dt Co-state final conditions: (t0 + Tp ) = 0,
Transversality conditions:
POLITECNICO di MILANO T L,u + f,u = 0,
Past
Future
x(t), t < t0 x0
(, , , )
u(t)
u(t), t < t0 t0
POLITECNICO di MILANO
Prediction window
t0 + Tp
DIA
Remark: if one knew (, , , ) , the optimal control would be available Remark without having to solve the open-loop optimal control problem.
Idea: Idea - Approximate (, , , ) using an adaptive parametric element: - Identify p (, , , ) on-line, i.e. find the parameters pc which minimize the reconstruction error .
POLITECNICO di MILANO
DIA
d(f,T ) x T + (f,x + uT f,u )T + y,x L,y + uT L,u = 0 t [t0 , t0 + Tp ] ,x ,x dt (t0 + Tp ) = 0 Correct control law parameters pc , e.g. using steepest descent: pc = J,pc
POLITECNICO di MILANO
pc = J,pc
Once this is satisfied, the control is optimal, since the state and cooptimal state equations and the boundary conditions are satisfied. satisfied
t0
POLITECNICO di MILANO
DIA
x(t)
Prediction error
(t)
State
u(t) pc = J,pc
Optimal control Prediction horizon Steering window
Control
Predict control action Predict state forward Repeat Predict co-state backwards
Update estimate of control action, based on transversality violation Advance plant Update model, based on prediction error
POLITECNICO di MILANO DIA
p x0 , y (t0 ), u (t0 ), , pc (1 ) pk x0 , y (t0 ), u (t0 ), pc + pk+1 x0 , y (t0 ), u (t0 ), pc Wind Turbine Control
- Associate each nodal value with the output of a single-hidden-layer feed-forward neural network, one for each component: network where Output: Input:
T oc = Wc (VcT ic + ac ) + bc T T T oc = (p0 , p1 , . . . , pM1 )T T T T T ic = x0 , x (t0 ), u (t0 )
u (t0 )
u(t), t < t0 t0
POLITECNICO di MILANO
Prediction window
t0 + Tp
DIA
RAPC
RAPC can handle constraints on inputs and outputs (not covered in this paper) Present results: results
POLITECNICO di MILANO
DIA
Results
Two consecutive EOG1-13 in nominal conditions:
POLITECNICO di MILANO
DIA
Normalized total regulation error in 600 sec turbulent wind Cold air & ice accretion (degraded airfoil performance):
Results
POLITECNICO di MILANO
DIA
Results
Observations: Observations Significant advantage of model-based (especially non-linear and adaptive) controllers in - Turbulent off-design conditions - Strong gusts It appears that adaptive element is able to correct deficiencies of reference reduced model, even in the presence of large errors In nominal conditions, and for the collective pitch case: - Differences in turbulent response of PID, LQR and RAPC are less pronounced - It appears difficult to very significantly outperform a well tuned simple controller (PID)
POLITECNICO di MILANO
DIA
x = f (x, u, p) = f (, x, u, p)
where
x = (, xT )T
x = A(, x , u , p )x + B(, x , u , p )u
Remark: azimuth dependent coefficient matrices Remark
POLITECNICO di MILANO DIA
Output feedback: a), b) or c), but governing eq. more complex than Riccati eq., approach a) complicated
POLITECNICO di MILANO
b B(x , p ) = (1/2)
b A(x , p ) = (1/2)
Z0 2
0
A(, x , p ) d B(, x , p ) d
Full state feedback collective pitch vs. individual pitch LQR Steady wind, wind shear, tower shadow, rotor up-tilt
Observations: Observations Very similar behavior for a) and b) strategies, c) slightly worst Significant peak-to-peak reduction for cyclic control, at the cost of increased duty cycle
POLITECNICO di MILANO DIA
POLItecnico di MIlano
Hardware Implementation
Pitch regulator
RIO PLC
PROFIBUS = Process Field Bus CAN BUS = Controller Area Network RS485 = Serial communication
Main controller
Remote visualization
Ethernet
Wireless, ADSL
www access
POLITECNICO di MILANO
DIA
Connection to PoliMi PC/104 control research platform Programmable PC module, communication with external terminal
Data acquisition from sensors Tower and blade accelerometer Rotor speed encoder
[ www.bachmann.info]
Vibration sensor
POLITECNICO di MILANO
DIA
Leitwind 1.2 MW Wind Turbine Hub height 65m Rotor radius 38m PC/104 architecture, Pentium M 1.6 GHz Linux real-time operative system
POLITECNICO di MILANO
DIA
HE104 High Efficiency Power Supply 50 Watt, +5V@10A, +12V@2A, -40 to +85C
POLITECNICO di MILANO
DIA
Pitch control Torque control Complete compatibility with and minimum impact on existing on-board system Substantial computing power
Analog inputs:
Tower accelerations and strain gauges On-board system can give control to and regain control from research platform at any time
POLITECNICO di MILANO
DIA
References
Wind Turbines Part 1: Design Requirements, IEC 61400-1, 2005 Manwell J.F., McGowan J.G., and Rogers A.L., Wind Energy Explained: Theory, Design and Application, John Wiley & Sons, New York, NY, 2002 Burton T., Sharpe D., Jenkins N., and Bossanyi E., Wind Energy Handbook, John Wiley & Sons, New York, NY, 2001 Stol K.A., and Fingersh L.J., Wind Turbine Field Testing of State-Space Control Designs, NREL/SR500-35061, 2003 Findeisen R., Imland L., Allgower F., and Foss B., State and Output Feedback Nonlinear Model Predictive Control: An Overview, European Journal of Control, 9:190206, 2003 Fausett L., Fundamentals of Neural Networks, Prentice-Hall, New York, 1994
POLITECNICO di MILANO
DIA