UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC...

84

Transcript of UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC...

Page 1: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group
Page 2: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

2

Page 3: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

3

Page 4: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Distributed Cooperative Control of AC Micro-grids

Page 5: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Moncrief-O’Donnell Chair, UTA Research Institute (UTARI)The University of Texas at Arlington, USA

and

F.L. Lewis, NAI

Talk available online at http://www.UTA.edu/UTARI/acs

Supported by :China Qian Ren Program, NEUChina Education Ministry Project 111 (No.B08015)

US NSF - Paul Werbos

Qian Ren Consulting Professor, State Key Laboratory of Synthetical Automation for Process Industries,

Northeastern University, Shenyang, China

Distributed Synchronization Control of AC Micro-gridsWork of Ali Bidram with Dr. A. Davoudi

Page 6: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

16

Invited by Lu Liu

Page 7: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

F.L. Lewis, H. Zhang, A. Das, K. Hengster-Movric, Cooperative Control of Multi-Agent Systems: Optimal Design and Adaptive Control, Springer-Verlag, 2013

Key Point

Lyapunov Functions and Performance IndicesMust depend on graph topology

Hongwei Zhang, F.L. Lewis, and Abhijit Das“Optimal design for synchronization of cooperative systems: state feedback, observer and output feedback,”IEEE Trans. Automatic Control, vol. 56, no. 8, pp. 1948-1952, August 2011.

H. Zhang, F.L. Lewis, and Z. Qu, "Lyapunov, Adaptive, and Optimal Design Techniques for Cooperative Systems on Directed Communication Graphs," IEEE Trans. Industrial Electronics, vol. 59, no. 7, pp. 3026‐3041, July 2012.

Page 8: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

22

A. Bidram, F.L. Lewis, and A. Davoudi, “Distributed Control Systems for Small‐scale Power Networks Using Multi‐agent Cooperative Control Theory,” IEEE Control Systems Magazine, pp. 56‐77, December 2014 (Featured cover article).

Page 9: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

24

OutlineCooperative ControlElectric Power MicrogridsCooperative Control for Synchronization in Microgrids

Page 10: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Synchronized Motion of biological groups

Fishschool

Birdsflock

Locustsswarm

Firefliessynchronize

Page 11: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

The Power of Synchronization Coupled OscillatorsDiurnal Rhythm

Page 12: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

1

2

3

4

56

Diameter= length of longest path between two nodes

Volume = sum of in-degrees1

N

ii

Vol d

Spanning treeRoot node

Strongly connected if for all nodes i and j there is a path from i to j.

Tree- every node has in-degree=1Leader or root node

Followers

Communication Graph

Page 13: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Communication Graph

N nodes

G=(V,E)

State at node i is ( )ix t

Synchronization problem

( ) ( ) 0i jx t x t

Page 14: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Communication Graph1

2

3

4

56

N nodes

[ ]ijA a

0 ( , )ij j i

i

a if v v E

if j N

oN1

Noi ji

jd a

Out-neighbors of node iCol sum= out-degree

42a

Adjacency matrix

0 0 1 0 0 01 0 0 0 0 11 1 0 0 0 00 1 0 0 0 00 0 1 0 0 00 0 0 1 1 0

A

iN1

N

i ijj

d a

In-neighbors of node iRow sum= in-degreei

(V,E)

i

Algebraic Graph Theory

Page 15: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Dynamic Graph- the Distributed Structure of ControlEach node has an associated state i ix u

Standard local voting protocol ( )i

i ij j ij N

u a x x

1

1i i

i i ij ij j i i i iNj N j N

N

xu x a a x d x a a

x

( )u Dx Ax D A x Lx L=D-A = graph Laplacian matrix

x Lx

If x is an n-vector then ( )nx L I x

x

1

N

uu

u

1

N

dD

d

Closed-loop dynamics

i

j

[ ]ijA a

Page 16: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

1

2

3

4

56

Theorem. Graph contains a spanning tree iff e-val of L at is simple.

Graph strongly connected implies exists a spanning tree

Then 2 0

Then -L has one e-val at zero and all the rest stable

1 0

Then, all nodes synchronize

x Lx Closed-loop dynamics

Page 17: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

1

2 3

4 5 6

12

3

4 5

6

Graph Eigenvalues for Different Communication Topologies

Directed Tree-Chain of command

Directed Ring-Gossip networkOSCILLATIONS

Page 18: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Graph Eigenvalues for Different Communication Topologies

Directed graph-Better conditioned

Undirected graph-More ill-conditioned

65

34

2

1

4

5

6

2

3

1

Page 19: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Synchronization on Good Graphs

Chris Elliott fast video

65

34

2

1

1

2 3

4 5 6

Regular mesh

Page 20: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Synchronization on Gossip Rings

Chris Elliott weird video

12

3

4 5

6

Page 21: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Controlled Consensus: Cooperative Tracker

Node state i ix uDistributed Local voting protocol with control node v

( ) ( )i

i ij j i i ij N

u a x x g v x

( ) 1x L G x G v i i

i ij i ij j ij N j N

u a x a x g v

0ig If control v is in the neighborhood of node i

{g }iG diag

Theorem. Let graph have a spanning tree and for at least one root node. Then L+G is nonsingular with all e-vals positiveand -(L+G) is asymptotically stable

0ig

control node v

Ron Chen – pinning control

Local Neighborhood Tracking Error

Page 22: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

39

Page 23: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Kung Tz 500 BCConfucius

ArcheryChariot driving

MusicRites and Rituals

PoetryMathematics

孔子Man’s relations to

FamilyFriendsSocietyNationEmperorAncestors

Tian xia da tongHarmony under heaven

124 BC - Han Imperial University in Chang-an

Page 24: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

What is a micro‐grid?• Micro-grid is a small-scale power system that provides the power for

a group of consumers.• Micro-grid enables

local power support for local and critical loads.

• Micro-grid has the ability to work in both grid-connected and islanded modes.

• Micro-grid facilitates the integration of Distributed EnergyResources (DER).

Photo from: http://www.horizonenergygroup.com

Page 25: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

• The main building block of smart-grids

• Rural plants

• Business buildings, hospitals,and factories

Smart‐grid photo from: http://www.sustainable‐sphere.com

An introduction to micro‐grids: Micro‐grid applications

Page 26: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Distributed Generators (DG)Distributed Energy Resources (DER)

• Non-renewables Internal combustion engine Micro-turbines Fuel cells

• Renewables Photovoltaic Wind Hydroelectric Biomass

44

Page 27: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Micro‐grid Advantages

• Micro-grid provides high quality and reliable power to the criticalconsumers

• During main grid disturbances, micro-grid can quickly disconnectform the main grid and provide reliable power for its local loads

• DGs can be simply installed close to the loads which significantlyreduces the power transmission line losses

• By using renewable energy resources, a micro-grid reduces CO2emissions

45

Page 28: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

• Voltage and frequency synchronization for both grid-connected and islanded operating modes

• Proper load sharing and DG coordination• Power flow control between the microgrid and the main grid• Optimizing the microgrid operating cost

Hierarchical control structure46

An introduction to micro‐grids: Micro‐grid Objectives

Page 29: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Micro‐grid Control Challenges

• In Grid-connected mode, the main grid has rotating synchronousgenerators that provide a frequency reference

• In Grid-connected mode, the main grid provides voltage support andpower quality

• During grid disturbances, micro-grid goes to islanded mode toprovide the power for its local loads

• In islanded mode, there is no frequency reference• In islanded mode, microgrid controller must provide voltage support

and power quality

47

Page 30: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Micro‐grid Hierarchical Control Structure

Tertiary ControlmodesOptimal operation in both operating

modes

Secondary Control

Primary Control

MicrogridTie

Power flow control in grid-tied mode

Voltage deviation mitigationFrequency deviation alleviation

Voltage stability provision

preservingFrequency stability

preservingPlug and play capability for DGs

Main grid

Do coop. ctrl. here toSynchronize frequencyand voltage 

Bidram, A., & Davoudi, A. (2012). Hierarchical structure of microgrids control system. IEEE Transactions on Smart Grid, vol. 3, pp. 1963‐1976, Dec 2012.

Maintains Stability

Page 31: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Micro‐grid Primary Control

Primary control: The primary control maintains voltage andfrequency stability

Conventional primary control: Droop techniques

n P

mag n Q

m PE v V n Q

Power calculator

vo

io

Q

P

ω

E E

ω

*Reference

voltage

Esin(ωt)

vo

P

Q

2

1 max1 maxP PN Nm P m P

1 max1 maxQ QN Nn Q n Q

Microgrid load conditions Resulting 

Power

Droop Control

Required voltage and frequencyTo maintain stability

Page 32: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

50

P

n

DG1 DG2min

max1P max 2P

2mP1mP

min max11 ( ) / PnmP min max 22 ( ) / PnmP

Design of Droop Control Parameters

Pick slopes so that

Then

1 max1 maxP PN Nm P m P

Balanced Load sharing

n Pm P

Page 33: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

• Primary control (frequency droop)• Before islanding occurs

51

DG1 nominal power, Pmax1= 4 kW

DG2 nominal power, Pmax2= 6 kW

DG1

DG2

1ov

2ov

1bv

2bv

1cR 1cL

2cL2cR

3.5kW 1lineR

1lineL

Maingrid

3.5kW

1kW2.5kW

3.5kW

1 max1 2 max2P Pm P m P

P

ref

n

2.5kW 3.5kW

DG1 DG2min

Micro‐grid primary control1. Connected to Main Power Grid

Load is 7kWGrid supplies 1kW 

Page 34: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

n Pm P

52

( k W )P

re f

n

DG1DG2

m in

n e w

2 n ewP1n e wP1o ldP 2 o ldP2.5 2.8 3.5 4.2

Micro‐grid Primary Control2.   After Islanding

DGs must make up an extra 1kW Pload= 7kWNew P1 + P2= 2.8kW + 4.2kW 

Makes frequency decrease

Increase        to restore frequency to ref valuen

Page 35: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

i

iP

ni

maxP i

Pim

New Secondary Control Input for Frequency Synchronization

i ni Pi im P

Change 

To synchronize 

ni

i

Secondary Control input

Secondary Frequency Control

Existing power conditions in the microgrid

Prescribed frequencye.g. 60 Hz

Page 36: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Secondary control: The secondary control restores the voltage andfrequency of the micro-grid to their nominal value.

Conventional Secondary control implementation: Centralized structure

Low reliability Requires a Central control authority Requires too many communication links

We want to develop a new Distributed Control structure Highly reliable Uses sparse communication network

55

( ) ( )

( ) ( )

n PE ref mag IE ref mag

n P ref I ref

V K v v K v v dt

K K dt

Micro‐grid secondary control

Page 37: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

56

Page 38: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

60

Microgrid

DG 1DG 2 DG 3

DG 4

DG 5

DG 6DG 7

DG 8

DG 1DG 2 DG 3

DG 4

DG 5

DG 6

DG 8

DG 7

Communication link

Cybercommunication

framework

Micro‐grid secondary control:New Distributed CPS structure

Physical LayerThe interconnect structure of the power grid

Cyber layerA sparse, efficient communication network to allow

cooperative control for synchronization ofvoltage and frequency

Work of Ali BidramWith Dr. A. Davoudi

Cyber Physical System (CPS)

Page 39: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Dynamical model of a DG 

65

vo io

VSC

vod*

iLd*

Currentcontroller

Voltagecontroller

LC filteriL

Power controller

vb

, voq*

vod , voq

iod , ioq

, iLq*

ω

ωn Vn

Outputconnector

Rc Lc

abc/dq

iLd , iLq

Rf Lf Cf

VSC‐ Voltage source converter Power electronics

Renewable DERProvides DC voltage

Primary ControlDroop control is here

MicrogirdNetworkLoad disturbances

Given load conditions              ‐ pick                     using Droop to maintain stability0 0,v i * *, ,od oqv v

Primary Control Structure

iv

Page 40: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Dynamical model of a DG 

Power controller dynamics:

66

( ) ( ) ( )( )

i i i i i i i i i

i i i i i

uy h d u

x f x k x D g xx

13i x

abc/dqvoi

ioi

vodivoqiiodiioqi

vodi iodi + voqi ioqi

voqi iodi - vodi ioqi

Low-passfilter

ωni - mPi PiPi

Low-passfilter

Vni - nQi Qi

Qi

ωi

vodi*

voqi*0

ωni

Vni

[ ]Ti i i i di qi di qi ldi lqi odi oqi odi oqiP Q i i v v i i x

i i com

( )i ci i ci odi odi oqi oqiP P v i v i

( )i ci i ci oqi odi odi oqiQ Q v i v i

Pogaku, N., Prodanovic, M., & Green, T. C. (2007). Modeling, analysis and testing of autonomous operation of an inverter‐based microgrid. IEEE Transactions on Power Electronics, 22(2), 613–625.

Droop control is here

Heterogeneous agent dynamics

Page 41: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Dynamical model of a DG 

Voltage controller dynamics

67

Σ

Σ

vodi*

voqi*

vodi

voqi

KPViKIVi

+ s+

+

_

_

KPViKIVi

+ s

ωbCfi

ωbCfi

Fi

Fi

Σ

Σ

vodi

voqi

+

+

Σ

+

+

iodi

ioqi

+

++

ildi*

ilqi*

* ,di odi odiv v

* ,qi oqi oqiv v

* *( ) ,ldi i odi b fi oqi PVi odi odi IVi dii Fi C v K v v K

* *( ) ,lqi i oqi b fi odi PVi oqi oqi IVi qii Fi C v K v v K

Page 42: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Dynamical model of a DG 

Current controller dynamics

68

*di ldi ldii i

*qi lqi lqii i

* *( )idi b fi lqi PCi ldi ldi ICi div L i K i i K

* *( )iqi b fi ldi PCi lqi lqi ICi qiv L i K i i K

Σ

Σ

vidi*

viqi*

KPCiKICi

+ s+

+

_

_

KPCiKICi

+ s

ωbLfi

ωbLfi

Σ

Σ

+

+

_

ilqiildi

+

ildi*

ilqi*

ildi

ilqi

Page 43: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Dynamical model of a DG 

Output filter dynamics

69

Output connector dynamics

1 1fildi ldi i lqi idi odi

fi fi fi

Ri i i v v

L L L

1 1filqi lqi i ldi iqi oqi

fi fi fi

Ri i i v v

L L L

1 1odi i oqi ldi odi

fi fiv v i i

C C

1 1oqi i odi lqi oqi

fi fiv v i i

C C

1 1ciodi odi i oqi odi bdi

ci ci ci

Ri i i v vL L L

1 1cioqi oqi i odi oqi bqi

ci ci ci

Ri i i v vL L L

Depends on microgrid conditions and loads

Voltage disturbances

Page 44: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

70

,1 ,2

,2 ,6 ,8 ,7 ,9 ,2

,3 ,6 ,9 ,7 ,8 ,3

,3 ,6,4 ,4 ,5

,7,5 ,5 ,4

,4 ,8,6 ,7

,7

( )( )

i ni Pi i com

i ci i i i i i

i ci i i i i i

fi ni Qi i ii i com i

fi fi

fi ii i com i

fi fi

i ii com i

fi

i

x m xx x x x x xx x x x x x

r V n x xx x x

L L

r xx x x

L L

x xx x

C

x

,5 ,9,6

,6,8 ,8 ,9

,7,9 ,9 ,8

i icom i

fi

i bdicii i com i

ci ci

i bqicii i com i

ci ci

x xx

C

x vrx x x

L Lx vr

x x xL L

The nonlinear dynamics of the ith DG, while neglecting the fast dynamics of voltage and current controllers

[ ] .Ti i i i Ldi Lqi odi oqi odi oqix P Q i i v v i i

From adaptive voltage ctrl‐ Trans CST paper

Page 45: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

( ) ( ) ( )( )

i i i i i i i i i

i i i i i

uy h d u

x f x k x D g xx

13i x

DG Microgrid Model and Synchronization Control Objectives

Heterogeneous Agent Dynamics – different dynamics

Page 46: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Synchronization in Microgrid of Interconnected DG

DER 8 DER 6

DER 4

Rline1 Lline1

Pload1+jQload1

Rline2 Lline2Rline3 Lline3

Rc4Lc4

Rc3Lc3

Rc2Lc2

Rc1Lc1

vo4vo3vo2vo1

Pload2+jQload2

DER 3DER 2DER 1

DER 5DER 7

Pload3+jQload3Pload4+jQload4

Rline7 Lline7 Rline6 Lline6 Rline5 Lline5

Rline4

Lline4

vo5vo6vo7vo8

Lc5Lc6Lc7Lc8Rc8 Rc7 Rc6 Rc5

DG 1 DG 2 DG 3 DG 4

DG 8 DG 7 DG 6 DG 5

2 2,o magi odi oqiv v v

Voltage synchronization (per unit)

i i ni Pi iy m P Frequency synchronization

Voltage synchronization

mag n QE v V n Q

Page 47: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Secondary Control Synchronization Objectives

vo io

VSC

vod*

iLd*

Currentcontroller

Voltagecontroller

LC filteriL

Power controller

vb

, voq*

vod , voq

iod , ioq

, iLq*

ω

ωn Vn

Outputconnector

Rc Lc

abc/dq

iLd , iLq

Rf Lf Cf

VSC‐ Voltage source converter Power electronics

Renewable DERProvides DC voltage

MicrogirdNetworkLoad disturbances

Voltage synchronization (per unit)

Frequency synchronization

Secondary Control InputsChange Droop control parameters to get synchronization

Page 48: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

1. For secondary frequency control:

2. For secondary voltage control:

74

( ) ( ) ( )( )

i i i i i i i i i

i i i i i

uy h d u

x f x k x D g xx

13i x

i odiy v

i niu V

i i ni Pi iy m P

i niu

0id

0id

DG Microgrid Model and Synchronization Control Objectives

Heterogeneous Agent Dynamics – different dynamics

mag n QE v V n Q

Page 49: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

75

1. Distributed secondary frequency control of micro-grids2. Distributed secondary voltage control of micro-grids

Work of Ali BidramWith Dr. A. Davoudi

Page 50: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

i

iP

ni

maxP i

Pim

New Secondary Control Input for Frequency Synchronization

i ni Pi im P

Change 

To synchronize 

ni

i

Secondary Control input

1. Secondary Frequency Control

,i ref i

50ref Hz For example

Existing power conditions in the microgrid

Prescribed frequency

Page 51: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

1. Secondary Frequency Control

80

i ni Pi im P

i ni Pi i im P u

i i iu c e

( ) ( )i

i ij i j i i refj N

e a g

Theorem . Let the digraph of the communication network have a spanning tree and the pinning gain be nonzero for at least one DG placed on a root node.

Let the auxiliary control be chosen as above.

Then, the global neighborhood error is asymptotically stable. Moreover, the DG frequencies synchronize to

iu

ref

Droop control relationship

Using input-output feedback linearization

( ) ( )i

ni Pi i i Pi i i ij i j i i refj N

m P u m P c a g

Then

Page 52: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

1. Secondary Frequency Control

Lyapunov function: 1 1, where2

T

iV e Pe P diag w

1 2T N

Ne e e e

( ) NL G w 1satisfiesiw

Differentiating V

( )( ) ( )( )T TV e P L G e P L G u

,refe L G u c e

( ( ) ( ) )2

T TcV e P L G L G P e

0V

{ }ic diag c

Theorem of Zhihua Qu

Proof.  Lyapunov Functions for Cooperative Control on GraphsGraph Laplacian Matrix L D

( ) ( ) 0TQ P L G L G P Coop ctrl Lyapunov equationQu, Z., (2009).Cooperative control of dynamical systems: Applications to autonomous vehicles. New York: Springer‐Verlag.

Internal Dynamics is stable for AC microgrid DG 

Page 53: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

1. Secondary Frequency Control

82

ref

ij N

( ) ( )ij i j i i refj

a g ie iu nii

ix

pim

1s

( ) ( )( )

i i i i i ii i i i i

uy h x du

x f x g xic

j

calculating iP

Restores Frequency Synchronization after islanding

i ni Pi i im P u

Feedback Linearization Inner Loop

Distributed Cooperative Tracker

Page 54: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

1. Secondary frequency control

DER 8 DER 6

DER 4

Rline1 Lline1

Pload1+jQload1

Rline2 Lline2Rline3 Lline3

Rc4Lc4

Rc3Lc3

Rc2Lc2

Rc1Lc1

vo4vo3vo2vo1

Pload2+jQload2

DER 3DER 2DER 1

DER 5DER 7

Pload3+jQload3Pload4+jQload4

Rline7 Lline7 Rline6 Lline6 Rline5 Lline5

Rline4

Lline4

vo5vo6vo7vo8

Lc5Lc6Lc7Lc8Rc8 Rc7 Rc6 Rc5

DER 1DER 2DER 3DER 4 LeaderDER 5DER 6DER 7DER 8

DG 1 DG 2 DG 3 DG 4

DG 8 DG 7 DG 6 DG 5

DG 5DG 6DG 7DG 8 DG 4 DG 3 DG 2 DG 1

Simulation Example

Physical MicrogridNetwork

Cyber communication network‐ sparse

Page 55: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

1. Secondary frequency control

84

0 0.5 1 1.5 2 2.5 3

49.6

49.8

50

50.2

t (s)

f (H

z)

DER1DER2DER3DER4DER5DER6DER7DER8

DG 1

DG 2

DG 3

DG 4

DG 5

DG 6

DG 7

DG 8

Islanding  Turn onCoop secondary control

Ref.  FrequencyIs 50 Hz

Page 56: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

85

Page 57: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Shi nian su muBai nian su ren

Keshi-Wu nian su shuesheng

十年树木,百年树人

Page 58: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

i

iP

ni

maxP i

Pim

New Secondary Control Input for Frequency SynchronizationAND Balanced Power Sharing

i ni Pi im P

Change 

To synchronize 

ni

i

Secondary Control input

1

max1 max

N

N

PPP P

And enforce balanced power sharing

Page 59: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Secondary frequency and power control

89

i ni Pi im P Differentiating the frequency droop characteristic yields:

ni i Pi i im P u

For N DGs:

1 1 1 1

2 2 2 2

P

P

N PN N N

m P um P u

m P u

The auxiliary controls are chosen based on each DG’s own information, and the information of its neighbors in the communication digraph

( ( ) ( ) ( ))i i

i ij i j i i ref ij Pi i Pj jj N j N

u c a g a m P m P

Local neighborhood tracking errors

TWO CONTROL OBJECTIVES WITH ONE CONTROL INPUT

DG 1

DG 2

DG 3

ref

1 , P1

2 , P2

3 , P3

Page 60: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Secondary frequency and power control

90

Σ DG iωni

Piui

aij ( ωi -ωj )+gi (ωi -ωref)j

Nij∈_

Σωj ωi

s1

ωref

c

aij ( mPiPi -mPjPj )j

Nij∈

ΣPj

_

TWO CONTROL OBJECTIVES WITH ONE CONTROL INPUT

Cooperative tracker

Cooperative regulator

ni i Pi i im P u

Page 61: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Secondary frequency and power control

Guarantees that (( )( ) ) 0.ref Pc L G Lm P

( ( ) ( ) ( ))i i

i ij i j i i ref ij Pi i Pj jj N j N

u c a g a m P m P

The local neighborhood tracking error control

There is another relation between power and frequency in the microgrid DGs

sin( ) sin( ),oi bii i i i

ci

v vP h

X Write the output active power as

So that approximately ( ),i i i refP h

( ),refP h In global form

Therefore at steady state all frequencies synchronize to the reference frequency

( ) 0ref PG Lm P So that

This does not guarantee synchronization of freq. and power separately 

Page 62: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Simulation results

92

Physical MicrogridNetwork

Cyber communication network‐ sparse

Page 63: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Simulation results

0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6311

312

313

314

315

316

ω

0.2 0.4 0.6 0.8 1 1.2 1.4 1.60

10

20

30

40

time (s)

P (k

W)

DG1DG2DG3DG4

(a)

(b)

(rad

/s)

Islanding Turn onCoop secondary control

Ref.  FrequencyIs 50 Hz

Page 64: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

94

Page 65: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

2.  Secondary Voltage ControlMicrogrid of Interconnected DG

DER 8 DER 6

DER 4

Rline1 Lline1

Pload1+jQload1

Rline2 Lline2Rline3 Lline3

Rc4Lc4

Rc3Lc3

Rc2Lc2

Rc1Lc1

vo4vo3vo2vo1

Pload2+jQload2

DER 3DER 2DER 1

DER 5DER 7

Pload3+jQload3Pload4+jQload4

Rline7 Lline7 Rline6 Lline6 Rline5 Lline5

Rline4

Lline4

vo5vo6vo7vo8

Lc5Lc6Lc7Lc8Rc8 Rc7 Rc6 Rc5

DG 1 DG 2 DG 3 DG 4

DG 8 DG 7 DG 6 DG 5

2 2,o magi odi oqiv v v

2. Voltage synchronization (per unit)

i i ni Pi iy m P 1. Frequency synchronization

Work of Ali BidramWith Dr. A. Davoudi

Synchronize per‐unitvoltages

mag n QE v V n Q

Page 66: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

2. Secondary Voltage controlSecondary Control Synchronization Objectives

vo io

VSC

vod*

iLd*

Currentcontroller

Voltagecontroller

LC filteriL

Power controller

vb

, voq*

vod , voq

iod , ioq

, iLq*

ω

ωn Vn

Outputconnector

Rc Lc

abc/dq

iLd , iLq

Rf Lf Cf

VSC‐ Voltage source converter Power electronics‐ DC to AC

Renewable DERProvides DC voltage

MicrogirdNetworkLoad disturbances

Voltage synchronization (per unit)

Frequency synchronization

Secondary Control InputsChange Droop control parameters to get synchronization

Page 67: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

2. Secondary Voltage Control

101

Secondary Voltage control objective

The per unit voltage of each DG synchronizes to a command nominal value

2 2,o magi odi oqiv v v Voltage synchronization (per unit)

n P

mag n Q

m PE v V n Q

Droop Control

Use this for frequency synchronization

Use this for voltage synchronization

Page 68: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

2. Secondary Voltage Control

102

If , there is no direct relationship between the output and

input .

i odiy v

i niu V

Input-output feedback linearization for a heterogeneous nonlinear agents

( ) 1i i i

r r ri i i iy L h L L h u F g F

1i i i

r ri i i iv L h L L h u F g F

1 1( ) ( )i i i

r ri i i iu L L h L h v g F F

( ) ,ri iy v i

,1

,1 ,2

, 1

,

i i

i i

i r i

y yy y

i

y v

( ) ( ) ( )( )

i i i i i i i i i

i i i

uy h

x f x k x D g xx

( ) ( ) ( )i i i i i i i F x f x k x D

, ,i i iv i BA

Assume relative degree r is the same for all agentsZero dynamics can be different, but assume they are stable

Must use Lie derivatives

0id

( , ),ii i iW i Internal Dynamics

Page 69: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

2. Secondary voltage control

103

0 1 0 0 00 0 1 0 00 0 0 1 0

0 0 0 0 10 0 0 0 0 0 r r

A

1[0,0, ,1]TrB

Leader node dynamics

The synchronization problem is to find a distributed such that iv

0 0 0

0 0 0

( )( )y h

x f xx

, ,i i iv i BA ,1 , 1[ ]Ti i i i ry y y

( )0 0 0 ,ry BY AY ( 1)

0 0 0 0[ ]r Ty y y Y

0, .i i Y

Assumption. The vector is bounded so that , with a finite but generally unknown bound.

( ) ( )0 0 ,r r

N y r y 1 ( )0r r

MYy

DG Agent Dynamics

( , ),ii i iW i Internal dynamics

Page 70: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Theorem. Let the digraph of the multi-agent system have a spanning tree and the pinning gain be nonzero for at least one root node.

Let all agents have stable zero dynamics

Let the auxiliary control be chosen as

is the first eigenvalue of

2. Secondary voltage control

i iv cK e

where is the coupling gain, and is the feedback control gain.

Then, are cooperative UUB with respect to and all nodes synchronize to if is chosen as

c R 1 rK R

1 rK R 1

1,TK R P B 1

1 1 1 1 0.T TP P Q P R P BA BA

andmin

1 ,2

c

min min ( )i iRe i L G

0( ) ( )i

iiN

ii jj ij

a g

e Y

i 0Y

0Y

Zhang, H., Lewis, F. L., & Das, A. (2011).Optimal design for synchronization of cooperativesystems: State feedback, observer, and output feedback. IEEE Transactions on AutomaticControl, 56(8), 1948–1952.

(0, ),i i iW i

Page 71: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

2. Secondary voltage control

Differentiating ( )2 2 2 00 ( ) ( )( )rT T T

N NV P P P I I v δ δ δ δ A δ B y

( )2 2 0

( )2 2 0

( ) ( )

( ) .

rT TN N

rT TN

V P I c L G K P I

P P I

δ A B δ δ B y

δ Hδ δ B y

Lemma 1. Let (A,B) be stabilizable. Let the digraph have a spanning tree and for at least one root node. Let be the eigenvalues of . The matrix is Hurwitz if and only if all the matrices are Hurwitz. [Fax and Murray 2004]

0ig i L G

( )NI c L G K H A B, ic K i A B

Lemma 2. Let (A,B) be stabilizable and matrices and be positive definite. Let feedback gain K be chosen aswhere is the unique positive definite solution of the control algebraic Riccati equation Then, all the matrices are Hurwitz if where . [Zhang and Lewis 2011]

TQ Q TR R1

1,TK R P B

1P1

1 1 1 1 0.T TP P Q P R P A A B B ic KA B

min

1 ,2

c

min min ( )i iRe

Lyapunov function2 2 2 2

1 , , 0,2

δ δT TV P P P P

Page 72: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Secondary voltage control

108

Σ DG i

Mi (xi)

cKVni

xi-vi

_aij ( yi -yj )+gi ( yi -y0)

j

Nij∈

ei_Σ 1

Ni

y0 =vref

0

vodjvodj

yj =

vodivodi

yi =

(2) 2 1i i ii i i iy L h L L h u F g F

2 1i i ii i i iv L h L L h u F g F

1 1 2( ) ( )i i ii i i iu L L h L h v g F F

( ), .i i i

nii

v MV i

N

x

Synchronizes Output voltages after Islanding

iu

Feedback Linearization Inner Loop

Page 73: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

2. Secondary voltage control

DER 8 DER 6

DER 4

Rline1 Lline1

Pload1+jQload1

Rline2 Lline2Rline3 Lline3

Rc4Lc4

Rc3Lc3

Rc2Lc2

Rc1Lc1

vo4vo3vo2vo1

Pload2+jQload2

DER 3DER 2DER 1

DER 5DER 7

Pload3+jQload3Pload4+jQload4

Rline7 Lline7 Rline6 Lline6 Rline5 Lline5

Rline4

Lline4

vo5vo6vo7vo8

Lc5Lc6Lc7Lc8Rc8 Rc7 Rc6 Rc5

DER 1DER 2DER 3DER 4 LeaderDER 5DER 6DER 7DER 8

DG 1 DG 2 DG 3 DG 4

DG 8 DG 7 DG 6 DG 5

DG 5DG 6DG 7DG 8 DG 4 DG 3 DG 2 DG 1

Simulation Example

Physical MicrogridNetwork

Cyber communication network‐ sparse

Page 74: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Simulation results

110

1 1.2 1.4 1.6 1.8 2350

360

370

380

390

t (s)

v o,m

ag (V

)

DER1DER2DER3DER4DER5DER6DER7DER8

DG 1

DG 2

DG 3

DG 4

DG 5

DG 6

DG 7

DG 8

Islanding  Turn onCoop secondary control

Ref.  Per‐unitVoltageIs 380 V

2. Secondary voltage control

Page 75: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Adaptive Voltage Control

Σ

Vni

__

ωni

Adaptivesecondary

voltage control

voi ioivoqdi*

Voltage and currentcontroller

Power controller

vb

Rci LciRfi Lfi Cfi

Primarypowersource

iL

ωi

calculatorri _cYi =[vodi vodi]

T

Y-i =[vod(-i) vod(-i)]T

di+bi

1

di+bi

1

ˆ ˆi i i i i iif f f f f fW F r F Wφ κ= −�

ˆi

TfW

ifφ

ˆi

TgW

igφ ˆ ˆi i i i i ig g g i g g gW F r F Wφ κ= −�

Using Neural Network to compensate for unknown nonlinear dynamics

Load changePrimary alone!

Secondary

( ), ( )i i i iM x N x

1 1 2( ) ( )i i ii i i iu L L h L h v g F F

Page 76: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

112

Voltage controlled VSI Current controlled VSI

As above

Page 77: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

113

Voltage Synchronization

VCVSI are second order after FB lin

CCVSI are first order after FB lin

Heterogeneous MAS

Page 78: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

114

Solution of Output regulator Equations for Chained Form Systems

Jie HuangLu Liu

He Cai

Page 79: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

118

Page 80: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Manufacturing as the Interactions of Multiple AgentsEach machine has it own dynamics and cost functionNeighboring machines influence each other most stronglyThere are local optimization requirements as well as global necessities

Page 81: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Sun Tz bin fa孙子兵法

500 BC

Games on Communication Graphs

Page 82: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Intelligent Operational Control for Complex Industrial

Processes

Professor Chai TianyouState Key Laboratory of Synthetical Automation for Process Industries

Northeastern UniversityMay 20, 2013

Jinliang Ding

Jinliang Ding, H. Modares, Tianyou Chai, and F.L. Lewis, "Data-based Multi-objective Plant-wide Performance Optimization of Industrial Processes under Dynamic Environments,” IEEETrans. Industrial Informatics, to appear, 2016.

Page 83: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

Production line for mineral processing plant

Mineral Processing Plant in Gansu China

Page 84: UT Arlington – UTA - The University of Texas at Arlington lectures/2015 coop ctrl of AC microgrid.pdf• Micro-grid is a small-scale power system that provides the power for a group

124