Next Article in Journal
Analysis of the Building Smart Readiness Indicator Calculation: A Comparative Case-Study with Two Panels of Experts
Previous Article in Journal
Differential Flatness Based-Control Strategy of a Two-Port Bidirectional Supercapacitor Converter for Hydrogen Mobility Applications
Previous Article in Special Issue
Predictive Control for Microgrid Applications: A Review Study
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Multiagent Based Distributed Control with Time-Oriented SoC Balancing Method for DC Microgrid

College of Electrical Engineering, Zhejiang University, Hangzhou 310027, China
*
Author to whom correspondence should be addressed.
Energies 2020, 13(11), 2793; https://doi.org/10.3390/en13112793
Submission received: 4 May 2020 / Revised: 28 May 2020 / Accepted: 29 May 2020 / Published: 1 June 2020
(This article belongs to the Special Issue Advanced Control in Microgrid Systems)

Abstract

:
Based on the droop control, voltage regulation at the secondary control is required to eliminate the deviation of the average voltage across the microgrid. Meanwhile, to prevent any of energy storage (ESs) from over-charging or over-discharging, State-of-Charge (SoC) balancing should be added in the secondary control. This paper proposes a distributed secondary control in the DC microgrid based on the multiagent system (MAS). This controller consists of voltage regulation and time-oriented SoC balancing. In voltage regulation, a PI controller adjusts the droop parameters according to the discrepancy between the average voltage and the reference voltage. In SoC balancing, controller operates in charging mode or discharging mode according to changes of the global average SoC. Being different from the conventional method, the time-oriented SoC balancing method is designed to balance charge/discharge time rather than to balance SoC directly. Thus, SoCs reach a consensus only at the last moment when all ES nodes charge or discharge completely. Furthermore, characteristics, global dynamic model, and steady-state analysis of the proposed control method are studied. Finally, MATLAB/Simulink simulations are performed to verify the effectiveness of the proposed control.

1. Introduction

In recent years, microgrid has received great attention as an important solution to utilize renewable energy resources such as wind, solar, and tidal energy. Microgrid can effectively integrate distributed generations (DGs), converters, battery energy storage systems (BESSs), and loads. With the advent of more DC loads like electrical vehicles (EVs), DC microgrid has attracted extensive interest and related researches are developing rapidly. Compared to AC microgrid, DC microgrid has considerable advantages. For example, power loss is less without DC/AC converters, moreover, reactive power, frequency, and phase are not problems any more [1,2].
Hierarchical control has been generally accepted since it was put forward [3]. Hierarchical control is composed of primary control, secondary control, and tertiary control. Primary control is the droop control that realizes reference voltage and power sharing. Secondary control eliminates the deviation of voltage and power sharing. Tertiary control is the energy dispatch. According to the configuration of the communication system, secondary control can be divided into 3 types: centralized control, decentralized control, and distributed control. For the centralized control, information like voltages and currents of all nodes including power generation nodes and energy storage (ES) nodes is delivered through network communication to the central controller, then PI controllers calculate droop correction terms based on the global information. The most critical disadvantage of the centralized control is that any fault of the network will cause breakdown of the whole secondary control. For the decentralized control, coordination strategy relies on local information without communication links, and its key is to find an appropriate control method to satisfy the requirements of voltage regulation and power sharing. Distributed control is based on multiagent system (MAS), where central controller is not needed anymore and every node only communicates with its adjacent nodes. Controller at every node collects local and neighbors’ information to estimate the global average voltage and other information across the whole microgrid by some consensus protocols [4,5].
To prevent any of ESs from over-charging or over-discharging, State-of-Charge (SoC) balancing is necessary. During the discharging process, the ES with higher SoC should supply more power than the others. While during the charging process, the ES with lower SoC should absorb more power than the others. Based on the hierarchical control, SoC balancing methods can be divided into 3 types: centralized, decentralized, and distributed. Through some modified droop control, SoC balancing can be realized in a decentralized way [6,7,8,9,10,11]. Reference [6] proposed a decentralized control method with SoC balancing. In this method, the droop coefficients are proportional to S o C n during the charging process but are inversely proportional to S o C n during the discharging process. It is obvious that the speed of SoC balancing relies on the parameter n. However, there are 3 drawbacks. First, the change ranges of the droop coefficients are too large, which will influence the system stability. Particularly, the system will be unstable when SoC is very small. In addition, the droop coefficients are still changing even after SoC balancing has been achieved. Finally, the method cannot work well when capacities of ESs are different. In Reference [7], a global cost function is proposed based on the effective load and SoC. Then, an optimal droop surface is derived to determine the droop coefficients to balance SoC and optimize the global cost function. In Reference [8], the reference frequency of the droop control is regulated in a linear way according to the changes of local SoC for an AC microgrid, but there will be still frequency deviation during the process of SoC balancing. In Reference [9], the droop coefficients are proportional to e S o C in the charging process but are inversely proportional to e S o C in the discharging process to balance SoC for the DC microgrid. Reference [10] compared various SoC balancing functions in the decentralized control and found that the power function S o C n and the exponential function e S o C were in fact the best choice to promote SoC equalization. Particularly, the power function exhibited the fast speed of SoC equalization and the lowest DC voltage deviation.
For the centralized control, most literatures focused on SoC balancing by regulating the droop parameters based on the average SoC, like regulating reference currents [11], regulating droop coefficients [12], regulating reference voltages [13], and so on. Generally, control methods used in the centralized control can be also used in the distributed control with some modification. In References [14,15], the droop parameters are adjusted according to the discrepancy between local SoC and the global average SoC, and the latter can be estimated by the dynamic consensus protocol. Furthermore, the droop control can be also adjusted according to the discrepancies among local SoC and neighbors’ SoC in References [16,17]. Reference [18] involved sliding mode control in the distributed control of DC microgrid to set the ES’s level of participation in the droop control for SoC balancing.
In this paper, a multiagent based distributed control method with voltage regulation and time-oriented SoC balancing for the islanded DC microgrid is proposed. In the novel SoC balancing method, direct control objective is charge/discharge time rather than SoC consensus. In fact, for the SoC balancing, there is no need to make SoCs reach a consensus too early, and it is enough to ensure that ESs charge or discharge completely at the same time. Hence, the charging and discharging time is used as the feedback signals in this paper. Compared to the conventional SoC balancing methods, the proposed time-oriented SoC balancing method can regulate ESs in a more progressive way, which can avoid the ESs with large charging or discharging currents, especially for the extremely unbalanced situations. In this way, the ESs with higher SoC or lower SoC can be protected from overcurrent, and the pressure on filter inductors to avoid saturation is alleviated. Besides, the novel method can work well in 3 extreme situations where fast discharging and charging is needed, capacities of ESs are different, and variations of line loads are high.
The rest of this paper is organized as follows. First, the preliminaries of MAS and graph theory are introduced in Section 2. Then, Section 3 discusses the global controller including voltage regulation and time-oriented SoC balancing. Besides, Section 4 studies characteristics, global dynamic model, and steady-state analysis of the proposed controller. Furthermore, Section 5 verifies the proposed controller by the islanded DC microgrid simulation. Finally, the paper is concluded in Section 6.

2. Preliminaries of MAS and Graph Theory

In MAS, agents cooperate with each other to complete a task. Agents just communicate with their neighbors directly and this sparse communication network can be represented by an undirected graph. In the graph, the nodes are agents, and edges represent the communication links for information exchange. Every node just communicates with its neighbors and makes use of local and neighbors’ data to realize global consensus through the average consensus protocol.
The nodes, edges, communication weights, etc. can be described by matrices in the graph. The weighted adjacency matrix is A G = [ a i j ] n × n , where n is the number of nodes and a i j denotes communication weight from node j to node i. a i j > 0 when node j is adjacent to node i, or a i j = 0 otherwise. The Laplacian matrix is defined as L = [ l i j ] n × n , where l i i = j = 0 n a i j and l i j = a i j , i j . Furthermore, the Laplacian matrix is balanced if the in-degree of each node is equal to its out-degree. For the undirected graph, it has many properties. First, Laplacian matrix of the undirected graph is balanced. Second, if the undirected graph is connected, its L has a simple zero eigenvalue and all nonzero eigenvalues are positive. Right eigenvector and left eigenvector associated with zero eigenvalue are 1 _ = [ 1 , 1 , , 1 ] T and 1 _ T = [ 1 , 1 , , 1 ] respectively, in other words, L 1 _ = 1 _ T L = 0 [19].

3. Control Layout

Figure 1 shows the layout of proposed multiagent based distributed control in the DC microgrid, which consists of physical, cyber, and control layers. In the physical layer, there are nodes and remote loads connected to bus. A node consists of ES, power electronic converter including controller like DSP, local loads, and transmission line. In the cyber layer, there is a sparse communication network among all nodes where every node communicates directly to its neighbors. Note that the communication network is nothing to do with the topology of physical microgrid. Importantly, the communication network should be designed such that in case of any link failure, the remaining network is still connected. Ring-like network is a simple but useful example. Generally, links are undirected.
The control layer consists of primary control and secondary control including voltage regulation and time-oriented SoC balancing, which are based on local and neighbors’ data. Primary control is mainly composed by the droop control and its control law can be expressed as
v i * = v r e f r i i i + δ v i 1 + δ v i 2
where δ v i 1 and δ v i 2 mean the first voltage correction term and the second voltage correction term, and they are output of the PI controller H i in voltage regulation and G i in SoC balancing, respectively. Like common droop control, v i * , v r e f , r i , and i i are local voltage setpoint, reference voltage, droop coefficient, and current, respectively.

3.1. Voltage Regulation

As shown in Figure 1, controller at each node estimates the average voltage of the whole microgrid based on local dynamic voltage and neighbors’ estimated average voltage, then PI controller H i calculates the first voltage correction term δ v i 1 according to the discrepancy between this estimate v ¯ i and the global reference voltage v r e f .
The protocol to estimate the average voltage is designed as
v ¯ i ( t ) = v i ( t ) + 0 t j = 0 n a i j ( v ¯ j ( τ ) v ¯ i ( τ ) ) d τ
where v i ( t ) is the dynamic voltage at node i. v ¯ j ( t ) and v ¯ i ( t ) denote the estimation of average voltage at node j and node i, respectively. By differentiating (2), it can be obtained that
v ¯ i ( t ) = v i ( t ) + j = 0 n a i j ( v ¯ j ( t ) v ¯ i ( t ) ) = v i ( t ) + j = 0 n a i j v ¯ j ( t ) j = 0 n a i j v ¯ i ( t )
Rewrite (3) in the matrix form, the following expression can be derived
v ¯ = v L v ¯
where v = [ v 1 ,   v 2 , , v n ] T is the dynamic voltage vector, and v ¯ = [ v ¯ 1 , v ¯ 2 , , v ¯ n ] T denotes the estimated average voltage vector. The frequency-domain expression of (4) is
s V ¯ v ¯ ( 0 ) = s V v ( 0 ) L V ¯
where V and V ¯ are the Laplace transformations of v and v ¯ , respectively. According to (2), v ¯ ( 0 ) = v ( 0 ) . Therefore
V ¯ = s ( s I n + L ) 1 V = H o b s V
where I n n × n and H o b s = s ( s I n + L ) 1 are identify matrix and transfer function from V to V ¯ , respectively. If L is balanced, then all elements of v ¯ converge to a consensus value, which is the true average voltage, i.e., the average of all elements in v [5]. In other words
lim t H o b s = Q
v ¯ s s = lim t v ¯ ( t ) = Q × lim t v ( t ) = Q v s s = v s s 1 _
where Q n × n is the averaging matrix, whose elements are all equal to 1 / n . x s s expresses the steady-state value of the column vector x n × 1 . x represents the average of all elements in the column vector x . 1 _ n × 1 is a column vector whose elements are all equal to one.

3.2. Time-Oriented SoC Balancing Method

As shown in Figure 1, first, controller at each node estimates the average SoC among all nodes based on local SoC and neighbors’ estimated average SoC. According to whether the estimated average SoC is increasing or decreasing, controller operates in charging mode or discharging mode.
The protocol for estimation of average SoC is designed as
S o C ¯ i ( t ) = S o C i ( t ) + 0 t j = 0 n a i j ( S o C ¯ j ( τ ) S o C ¯ i ( τ ) ) d τ
where S o C i ( t ) is the real-time SoC at node i. S o C ¯ j ( t ) and S o C ¯ i ( t ) denote the estimate of global average SoC at node j and node i, respectively.
If S o C ¯ i ( t ) is increasing, controller will operate in the charging mode, while if S o C ¯ i ( t ) is decreasing, controller will operate in the discharging mode.
Generally, according to battery discharge characteristic, SoC of ES should be controlled between the lower limit of SoC (20%) S o C L and the upper limit of SoC (90%) S o C U .

3.2.1. Discharging Mode

First, the derivative of S o C i ( t ) can be calculated as
k i ( t ) = d S o C i ( t ) d t
In discharging mode, k i ( t ) is negative. If k i ( t ) is constant, then the time for ES at node i to discharge completely can be obtained
t i d = S o C i ( t ) S o C L | k i ( t ) |
When S o C i ( t ) = S o C L = 20 % , it means that ES at node i needs to be cut now.
If t i d > t j d , it shows that ES at node i is supplying less power than that at node j, and it will spend more time for ES at node i to discharge completely. The average completely discharge time among all nodes can be calculated by the average consensus protocol, namely
t ¯ i d ( t ) = t i d ( t ) + o t j = 0 n a i j ( t ¯ j d ( τ ) t ¯ i d ( τ ) ) d τ
Then t i d ( t ) t ¯ i d ( t ) can represent the discrepancy of completely discharge time between node i and ‘other nodes’. If t i d ( t ) t ¯ i d ( t ) > 0 , it shows that ES at node i is supplying less power than others, and the second voltage correction term δ v i 2 at node i should increase. Therefore
δ v i 2 ( t ) = g i p ( t i d ( t ) t ¯ i d ( t ) ) + g i i   ( t i d ( t ) t ¯ i d ( t ) ) d t
where g i p and g i i are the proportional and integral gains, respectively, in the PI controller G i .
However, in practice, k i ( t ) maybe very small and close to 0.   t i d will be very large and may be out of limit. In order to use the reciprocal of t i d as the control objective, swap the numerator and denominator in (11) and remove absolute value sign considering k i ( t ) < 0 . Therefore, (11), (12), and (13) are replaced by
k i d ( t ) = k i ( t ) S o C i ( t ) S o C L
k ¯ i d ( t ) = k i d ( t ) + o t j = 0 n a i j ( k ¯ j d ( τ ) k ¯ i d ( τ ) ) d τ
δ v i 2 ( t ) = g i p ( k i d ( t ) k ¯ i d ( t ) ) + g i i   ( k i d ( t ) k ¯ i d ( t ) ) d t
Note that when SoC is close to S o C L (20%), the denominator is close to 0. So, ES should be cut a little early, for example, when SoC = 21 % .

3.2.2. Charging Mode

Protocol in charging mode is very similar to that in discharging mode.
t i c = S o C U S o C i ( t ) | k i ( t ) |
This can represent the time for ES at node i to charge completely and S o C i ( t ) = S o C U = 90 % at that time. Then, the average complete charge time among all nodes can be calculated by the average consensus protocol
t ¯ i c ( t ) = t i c ( t ) + o t j = 0 n a i j ( t ¯ j c ( τ ) t ¯ i c ( τ ) ) d τ
If t i c ( t ) t ¯ i c ( t ) > 0 , it shows that ES at node i is absorbing less power than others, and the second voltage correction term at node i, i.e., δ v i 2 , should decrease. Therefore
δ v i 2 ( t ) = g i p ( t ¯ i c ( t ) t i c ( t ) ) + g i i   ( t ¯ i c ( t ) t i c ( t ) ) d t
In practice, in order to use the reciprocal of t i c as the control objective, swap the numerator and denominator in (17) and remove absolute value sign considering k i ( t ) > 0 . Therefore, (17), (18), and (19) are replaced by
k i c ( t ) = k i ( t ) S o C U S o C i ( t )
k ¯ i c ( t ) = k i c ( t ) + o t j = 0 n a i j ( k ¯ j c ( τ ) k ¯ i c ( τ ) ) d τ
δ v i 2 ( t ) = g i p ( k i c ( t ) k ¯ i c ( t ) ) + g i i   ( k i c ( t ) k ¯ i c ( t ) ) d t
Note that when SoC is close to S o C U (90%), the denominator is close to 0. So, ES should be switched to floating charge mode a little early, for example, when SoC = 89 % .
The integral of integrator in PI controller G i remains unchanged when controller switches between discharging mode and charging mode, in other words, controller uses the same integrator in both modes. That is because ES with higher SoC always needs to supply more power or to absorb less power, and its δ v i 2 is always bigger than that of ES with lower SoC. So, there is no need to clear the integral to zero when controller switches mode.

4. Characteristics, Global Dynamic Model, and Steady-State Analysis

4.1. Characteristics

As shown in Figure 2, the time-oriented SoC balancing method is designed to balance charge/discharge time rather than to balance SoCs directly, in other words, all ES nodes should charge or discharge completely at the same time. Discrepancies among all SoCs decrease very slowly and SoCs reach a consensus only at the last moment when all ES nodes charge or discharge completely. So, the changing curves of SoCs in this method are milder than those in the traditional method. Therefore, the SoC balancing method can protect ES and its inductors from overcurrent. Apparently, the novel method can work well without knowledge of capacities when capacities of ESs are different.

4.2. Global Dynamic Model

According to (1), there is
V * = V ref r I + Δ V 1 + Δ V 2
where V * = [ V 1 * , V 2 * , , V n * ] T , V r e f = [ V 1 r e f , V 2 r e f , , V n r e f ] T ,   I = [ I 1 , I 2 , , I n ] T , Δ V 1 = [ δ V 1 1 , δ V 2 1 , , δ V n 1 ] T , and Δ V 2 = [ δ V 1 2 , δ V 2 2 , , δ V n 2 ] T are the Laplace transformations of the local voltage set point vector, global reference voltage vector, the dynamic current vector, the first voltage correction term vector, and the second voltage correction term vector, respectively. r = diag { r i } is the droop coefficient matrix.
Δ V 1 and Δ V 2 can be calculated as
Δ V 1 = H ( V r e f V ¯ )
Δ V 2 = G ( K K ¯ )
where H = diag { H i } and G = diag { G i } are PI controller matrices of voltage regulation and SoC balancing method, respectively. K = [ K 1 S o C 1 S o C L , , K n S o C n S o C L ] T in discharging mode or [ K 1 S o C U S o C 1 , , K n S o C U S o C n ] T in charging mode is the Laplace transformation of SoC balancing variable vector. V ¯ and K ¯ are the Laplace transformation of estimated average voltage and SoC balancing variable vectors, respectively.
By substituting (24) and (25) in (23)
V * = ( I n + H ) V ref r I H V ¯ + G ( K K ¯ )
Also, there are
V = G c V *
V ¯ = H o b s V
K ¯ = H o b s K
I = Y V
where V = [ V 1 , V 2 , , V 2 ] T is the Laplace transformation of dynamic voltage vector, G c = d i a g { G i c } is the closed-loop transfer function matrix of converters, H o b s = s ( s I n + L ) 1 is the transfer function of dynamic average consensus protocol, and Y is the global admittance matrix of microgrid.
By substituting (27), (28), (29), and (30) in (26)
V = ( G c 1 + r Y + H H o b s ) 1 [ ( I n + H ) V ref + G ( I n H o b s ) K ]
Equation (31) represents the global dynamics of the microgrid under the proposed control methods.

4.3. Steady-State Analysis

Here, steady-state analysis is studied to ensure that the proposed controller meets two requirements: the global voltage regulation and the SoC balancing.
First, assume
V r e f = v r e f s 1 _
where v r e f is the reference voltage value.
Suppose that dynamic voltage vector V is stable and the final value theorem is effective. According to (31), there is
v s s = lim t v ( t ) = lim s 0 s V ( s ) = lim s 0 ( s G c 1 + s r Y + s H H o b s ) 1 [ s 2 ( I n + H ) V ref + s 2 G ( I n H o b s ) K ]
It is known that the DC gains of the closed-loop converters are equal to one [5], i.e.,
G c ( 0 ) = I n = G c 1 ( 0 )
Because H and G represent matrices of PI controller coefficients, there are
H = H P + H I s
G = G P + G I s
where H P and H I denote diagonal matrices carrying proportional and integral gains of the voltage controllers. Similarly, G P and G I denote diagonal matrices carrying proportional and integral gains of the time-oriented SoC balancing controllers.
By substituting (7), (32), (34), (35), and (36) in (33)
v s s = ( H I Q ) 1 [ v r e f H I 1 _ + G I ( I n Q ) K s s ]
H I Q v s s = v r e f H I 1 _ + G I ( I n Q ) K s s
All the integrator gains for the SoC balancing controllers are positive, so, G I 1 exists. Pre-multiply at both sides of (38) by Q G I 1
Q U Q v s s = v r e f Q U 1 _ + Q ( I n Q ) K s s
where U = G I 1 H I = diag { u i } = diag { h i g i } . Because Q is the averaging matrix, whose elements are all equal to 1 / n , there is
Q Q = Q
By substituting (40) in (39)
Q ( U ( Q v s s ) ) = v r e f Q ( U 1 _ )
Based on the definition of Q , Q x = x 1 _ , Equation (41) is equivalent to
v s s U 1 _ 1 _ = v r e f U 1 _ 1 _
Therefore
v s s = v r e f
It shows that the average voltage across the microgrid can be regulated at the reference voltage value as expected.
Therefore, it can be derived from Equation (38) that
G I ( I n Q ) K s s = 0
Pre-multiply at both sides of (44) by L G I 1
( L L Q ) K s s = 0
Because L 1 _ = 0 , L Q = 0 . Therefore, (45) can be written as
L K s s = 0
Therefore, K s s is the right eigenvector of L associated with zero eigenvalue, and
K s s = m 1 _
where m is a scalar factor. It implies that the time for all ESs to charge or discharge completely is identical.

5. Simulation Results

An islanded 400V DC microgrid comprised of 8 ES nodes is simulated in MATLAB/Simulink to verify the effectiveness of proposed controller. Eight ES nodes and a remote load are connected in parallel with bus physically, and a communication network of 8 nodes is shown in Figure 3. Battery at each node is connected to bus through bidirectional Buck-Boost converter. Transmission line impedances at both sides are identical. Public and private parameters of 8 ES nodes are shown in Table 1 and Table 2, respectively.
Communication weight a i j is chosen by an improved Metropolis method [20]
a i j = { 1 max ( n i , n j ) + 1 , j   is   a   neighbor   of   i 0 , otherwise
where n i denotes the number of neighbors at node i.
A total of 5 cases are simulated and results are analyzed. The first case is charging case, the second case is discharging case, the third case is switching case, the fourth case is fast discharging and charging case, and the last case is the comparative case using the conventional SoC balancing method proposed in Reference [6].
  • Case 1: Charging simulation
Charging simulation is performed for 3000 s. The average voltage across the microgrid is shown in Figure 4a. Dynamic voltages of 8 ES nodes are shown in Figure 4b. SoCs of 8 ES nodes are shown in Figure 4c. Output currents of 8 nodes are shown in Figure 4d. At first, droop controller is implemented, remote load is 8   Ω , and an extra constant current source supplies 150A current. At t = 1   s , proposed controller is performed. At t = 1200   s , remote load changes in step from 8   Ω to 4   Ω . At t = 2400   s , remote load changes in step from 4   Ω to 8   Ω .
It can be seen that SoCs of 8 ES nodes have been different until all SoCs are equal to 90%.
  • Case 2: Discharging simulation
Discharging simulation is performed for 2900 s. The average voltage across the microgrid is shown in Figure 5a. Dynamic voltages of 8 ES nodes are shown in Figure 5b. SoCs of 8 ES nodes are shown in Figure 5c. Output currents of 8 nodes are shown in Figure 5d. At first, droop controller is implemented and remote load is 4   Ω . At t = 1   s , proposed controller is performed. At t = 1200   s , remote load changes in step from 4   Ω to 8   Ω . At t = 2400   s , remote load changes in step from 8   Ω to 4   Ω .
It can be seen that SoCs of 8 ES nodes have been different until all SoCs are equal to 20%.
  • Case 3: Switching the status of operation from discharging mode to charging mode
Switching simulation is performed for 3800 s. The average voltage across the microgrid is shown in Figure 6a. Dynamic voltages of 8 ES nodes are shown in Figure 6b. SoCs of 8 ES nodes are shown in Figure 6c. Output currents of 8 nodes are shown in Figure 6d. At first, droop controller is implemented and remote load is 8   Ω . Eight ES nodes are in discharging mode. At t = 1   s , proposed controller is performed. At t = 500   s , an extra constant current source is connected to bus and supplies 150 A current. Eight ES nodes are switched to charging mode according to the average SoC increasing at this time. At t = 1700   s , remote load changes in step from 8   Ω to 4   Ω . At t = 3000   s , remote load changes in step from 4   Ω to 8   Ω .
It can be seen that, according to whether the average SoC is increasing or decreasing, controllers switch between discharging mode and charging mode smoothly.
  • Case 4: Fast discharging and charging simulation
Fast discharging and charging simulation are performed for 425s. Compared to previous 3 cases, capacities of all ESs and event time are different in the case. The capacities of 8 ESs are shown in Table 3. The average voltage across the microgrid is shown in Figure 7a. Dynamic voltages of 8 ES nodes are shown in Figure 7b. SoCs of 8 ES nodes are shown in Figure 7c. Output currents of 8 nodes are shown in Figure 7d. At first, droop controller is implemented and remote load is 8   Ω . A total of 8 ES nodes are in discharging mode. At t = 1   s , proposed controller is performed. At t = 50   s , an extra constant current source is connected to bus and supplies 150 A current. Eight ES nodes are switched to charging mode according to the average SoC increasing at this time. At t = 170   s , remote load changes in step from 8   Ω to 4   Ω . At t = 320   s , remote load changes in step from 4   Ω to 8   Ω .
It can be seen that the time-oriented SoC balancing method can work well in fast discharging and charging situation.
  • Case 5: Comparative simulation using the conventional SoC balancing method
The all basic parameters for simulation in the case are the same as case 4. The protocol for SoC balancing is chosen as
droop   coefficient   r i = { 20 S o C i 5 , discharging 20 × S o C i 5 , charging
The voltage at the remote load is shown in Figure 8a. Dynamic voltages of 8 ES nodes are shown in Figure 8b. SoCs of 8 ES nodes are shown in Figure 8c. Output currents of 8 nodes are shown in Figure 8d.
It can be seen that the SoC balancing method proposed in Reference [6] has 3 drawbacks. First, voltage fluctuates widely in the discharging process because the droop coefficients are too big, which is caused by 1 S o C n . Second, the speed of SoC balancing is too slow compared to time-oriented SoC balancing method, though n = 5 in r i = 20 × S o C i n . This is because the conventional SoC balancing method cannot work well when the variations of line loads are very high. Third, the conventional SoC balancing method cannot work well when capacities of ESs are different.
Last but not least, if the speed of SoC balancing in the conventional method is faster than that in the time-oriented SoC balancing method, the peak currents in the conventional method will be higher.
Five cases can verify the effectiveness of the proposed controller very well. Apparently, voltage deviation between the reference voltage and the average voltage has been evidently eliminated after the proposed controller is performed. There are always differences among dynamic voltage of 8 ES nodes, but the average voltage across the microgrid is stabilized at reference voltage. Furthermore, all SoCs have been different until they are all equal to 90% in charging mode or 20% in discharging mode. Besides, proposed controllers switch between charging mode and discharging mode smoothly.
It can be seen that the time-oriented SoC balancing method can work well in 3 extreme situations where fast discharging and charging is needed, capacities of ESs are different, and variations of line loads are high.
It is worth mentioning that output currents are almost constant without step load change during SoC balancing. However, output currents will change when SoC balance is achieved in the conventional SoC balancing methods.

6. Conclusions

A multiagent based distributed controller in DC microgrid is proposed. The controller consists of voltage regulation and time-oriented SoC balancing. Voltage regulator estimates average voltage, and the discrepancy between this estimation and reference voltage is then used to calculate the first voltage correction term by PI controller. In the SoC balancing, the average SoC needs to be estimated first. If the average SoC is increasing, the controller will be in charging mode, or the controller will be in discharging mode otherwise. The time-oriented SoC balancing method balances charge/discharge time rather than SoCs directly; in other words, all ES nodes should charge or discharge completely at the same time. Global dynamic model and steady-state analysis are studied, and MATLAB/Simulink simulations verify the proposed controller. The advantages of the novel method are summarized as follows. First, the method can work well without knowledge of capacities when capacities of ESs are different. Second, the method does a good job in fast discharging and charging process. Third, the method is not sensitive to line loads. Fourth, the method can protect the ES and filter inductor from overcurrent.

Author Contributions

Conceptualization, T.W.; methodology, T.W.; software, T.W.; validation, T.W.; formal analysis, T.W.; investigation, T.W.; resources, Y.X.; data curation, L.W.; writing—original draft preparation, T.W.; writing—review and editing, Y.X.; visualization, Y.X.; supervision, Y.X.; project administration, W.W.; funding acquisition, W.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Project founded by the China Postdoctoral Science Foundation (2019M660139) and the National Key R&D Program of China (2017YFB0903300).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Dragičević, T.; Lu, X.; Vasquez, J.C.; Guerrero, J.M. DC Microgrids—Part I: A Review of Control Strategies and Stabilization Techniques. IEEE Trans. Power Electron. 2016, 31, 4876–4891. [Google Scholar] [CrossRef] [Green Version]
  2. Dragičević, T.; Lu, X.; Vasquez, J.C.; Guerrero, J.M. DC Microgrids—Part II: A Review of Power Architectures, Applications, and Standardization Issues. IEEE Trans. Power Electron. 2016, 31, 3528–3549. [Google Scholar] [CrossRef] [Green Version]
  3. Guerrero, J.M.; Vasquez, J.C.; Matas, J.; Vicuna, L.G.d.; Castilla, M. Hierarchical Control of Droop-Controlled AC and DC Microgrids—A General Approach Toward Standardization. IEEE Trans. Ind. Electron. 2011, 58, 158–172. [Google Scholar] [CrossRef]
  4. Nasirian, V.; Davoudi, A.; Lewis, F.L.; Guerrero, J.M. Distributed Adaptive Droop Control for DC Distribution Systems. IEEE Trans. Energy Convers. 2014, 29, 944–956. [Google Scholar] [CrossRef] [Green Version]
  5. Nasirian, V.; Moayedi, S.; Davoudi, A.; Lewis, F.L. Distributed Cooperative Control of DC Microgrids. IEEE Trans. Power Electron. 2015, 30, 2288–2303. [Google Scholar] [CrossRef]
  6. Lu, X.; Sun, K.; Guerrero, J.M.; Vasquez, J.C.; Huang, L. Double-Quadrant State-of-Charge-Based Droop Control Method for Distributed Energy Storage Systems in Autonomous DC Microgrids. IEEE Trans. Smart Grid 2015, 6, 147–157. [Google Scholar] [CrossRef]
  7. Jones, A.J.; Weaver, W.W. Optimal Droop Surface Control of dc Microgrids Based on Battery State of Charge. In Proceedings of the 2016 IEEE Energy Conversion Congress and Exposition (ECCE), Milwaukee, WI, USA, 18–22 September 2016; pp. 1–8. [Google Scholar]
  8. Wu, Q.; Guan, R.; Sun, X.; Wang, Y.; Li, X. SoC Balancing Strategy for Multiple Energy Storage Units With Different Capacities in Islanded Microgrids Based on Droop Control. IEEE J. Emerg. Sel. Top. Power Electron. 2018, 6, 1932–1941. [Google Scholar] [CrossRef]
  9. Dragičević, T.; Guerrero, J.M.; Vasquez, J.C.; Škrlec, D. Supervisory Control of an Adaptive-Droop Regulated DC Microgrid With Battery Management Capability. IEEE Trans. Power Electron. 2014, 29, 695–706. [Google Scholar] [CrossRef] [Green Version]
  10. Marcelino, F.L.F.; Sathler, H.H.; Silva, W.W.A.G.; de Oliveira, T.R.; Donoso-Garcia, P.F. A Comparative Study of Droop Compensation Functions for State-of-Charge Based Adaptive Droop Control for Distributed Energy Storage Systems. In Proceedings of the 2017 IEEE 8th International Symposium on Power Electronics for Distributed Generation Systems (PEDG), Florianopolis, Brazil, 17–20 April 2017; pp. 1–8. [Google Scholar]
  11. Gkavanoudis, S.I.; Oureilidis, K.O.; Kryonidis, G.C.; Demoulias, C.S. A Control Method for Balancing the SoC of Distributed Batteries in Islanded Converter-Interfaced Microgrids. Adv. Power Electron. 2016, 2016, 1–11. [Google Scholar] [CrossRef] [Green Version]
  12. Palizban, O.; Kauhaniemi, K. Distributed cooperative control of battery energy storage system in AC microgrid applications. J. Energy Storage 2015, 3, 43–51. [Google Scholar] [CrossRef]
  13. Chendan, L.; Dragicevic, T.; Diaz, N.L.; Vasquez, J.C.; Guerrero, J.M. Voltage Scheduling Droop Control for State-of-Charge Balance of Distributed Energy Storage in DC Microgrids. In Proceedings of the 2014 IEEE International Energy Conference (ENERGYCON), Cavtat, Croatia, 13–16 May 2014; pp. 1310–1314. [Google Scholar]
  14. Li, C.; Dragicevic, T.; Plaza, M.G.; Andrade, F.; Vasquez, J.C.; Guerrero, J.M. Multiagent Based Distributed Control for State-of-Charge Balance of Distributed Energy Storage in DC Microgrids. In Proceedings of the IECON 2014—40th Annual Conference of the IEEE Industrial Electronics Society, Dallas, TX, USA, 29 October–1 November 2014; pp. 2180–2184. [Google Scholar]
  15. Li, C.; Coelho, E.A.A.; Dragicevic, T.; Guerrero, J.M.; Vasquez, J.C. Multiagent-Based Distributed State of Charge Balancing Control for Distributed Energy Storage Units in AC Microgrids. IEEE Trans. Ind. Appl. 2017, 53, 2369–2381. [Google Scholar] [CrossRef] [Green Version]
  16. Shi, G.; Sun, Y.; Han, H.; Su, M.; Hou, X.; Luo, Z. A Unified SoC Balancing Method with Low-Bandwidth Distributed Communication in Island Microgrid. In Proceedings of the 2017 IEEE 3rd International Future Energy Electronics Conference and ECCE Asia (IFEEC 2017—ECCE Asia), Kaohsiung, Taiwan, 3–7 June 2017; pp. 573–578. [Google Scholar]
  17. Chen, X.; Shi, M.; Zhou, J.; Chen, Y.; Zuo, W.; Wen, J.; He, H. Distributed Cooperative Control of Multiple Hybrid Energy Storage Systems in a DC Microgrid Using Consensus Protocol. IEEE Trans. Ind. Electron. 2020, 67, 1968–1979. [Google Scholar] [CrossRef]
  18. Morstyn, T.; Savkin, A.V.; Hredzak, B.; Agelidis, V.G. Multi-Agent Sliding Mode Control for State of Charge Balancing Between Battery Energy Storage Systems Distributed in a DC Microgrid. IEEE Trans. Smart Grid 2018, 9, 4735–4743. [Google Scholar] [CrossRef]
  19. Olfati-Saber, R.; Murray, R.M. Consensus problems in networks of agents with switching topology and time-delays. IEEE Trans. Autom. Control 2004, 49, 1520–1533. [Google Scholar] [CrossRef] [Green Version]
  20. Xiao, L.; Boyd, S.; Kim, S.-J. Distributed average consensus with least-mean-square deviation. J. Parallel Distrib. Comput. 2007, 67, 33–46. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Layout of proposed control for DC microgrid.
Figure 1. Layout of proposed control for DC microgrid.
Energies 13 02793 g001
Figure 2. Effects of time-oriented State-of-Charge (SoC) balancing method.
Figure 2. Effects of time-oriented State-of-Charge (SoC) balancing method.
Energies 13 02793 g002
Figure 3. Communication network.
Figure 3. Communication network.
Energies 13 02793 g003
Figure 4. Discharging simulation results: (a) average voltage; (b) dynamic voltages; (c) SoCs; (d) output currents.
Figure 4. Discharging simulation results: (a) average voltage; (b) dynamic voltages; (c) SoCs; (d) output currents.
Energies 13 02793 g004
Figure 5. Charging simulation results: (a) average voltage; (b) dynamic voltages; (c) SoCs; (d) output currents.
Figure 5. Charging simulation results: (a) average voltage; (b) dynamic voltages; (c) SoCs; (d) output currents.
Energies 13 02793 g005
Figure 6. Switching simulation results: (a) average voltage; (b) dynamic voltages; (c) SoCs; (d) output currents.
Figure 6. Switching simulation results: (a) average voltage; (b) dynamic voltages; (c) SoCs; (d) output currents.
Energies 13 02793 g006
Figure 7. Fast discharging and charging simulation results: (a) average voltage; (b) dynamic voltages; (c) SoCs; (d) output currents.
Figure 7. Fast discharging and charging simulation results: (a) average voltage; (b) dynamic voltages; (c) SoCs; (d) output currents.
Energies 13 02793 g007
Figure 8. Comparative simulation results: (a) voltage at the remote load; (b) dynamic voltages; (c) SoCs; (d) output currents.
Figure 8. Comparative simulation results: (a) voltage at the remote load; (b) dynamic voltages; (c) SoCs; (d) output currents.
Energies 13 02793 g008
Table 1. Public parameters of 8 nodes.
Table 1. Public parameters of 8 nodes.
ParametersValue
Battery nominal voltage144 V
Converter inductance0.01 H
Converter capacitance1000 uF
Reference voltage400 V
Droop coefficient1
PWM frequency10 kHz
Secondary control period0.001 s
Voltage regulation PI proportional1
Voltage regulation PI integral50
SoC balancing PI proportional3000
SoC balancing PI integral30,000
Lower limit of SoC20%
Upper limit of SoC90%
Table 2. Private parameters of 8 nodes.
Table 2. Private parameters of 8 nodes.
ParametersNode 1Node 2Node 3Node 4Node 5Node 6Node 7Node 8
Rated capacity (Ah)8040408080404080
Initial SoC34%40%46%52%58%64%70%76%
Transmission line impedance at each side (Ohms)0.40.30.250.20.150.10.050.01
Table 3. Capacities of 8 ESs in fast discharging and charging simulation.
Table 3. Capacities of 8 ESs in fast discharging and charging simulation.
ParametersNode 1Node 2Node 3Node 4Node 5Node 6Node 7Node 8
Rated capacity (Ah)84488448

Share and Cite

MDPI and ACS Style

Wu, T.; Xia, Y.; Wang, L.; Wei, W. Multiagent Based Distributed Control with Time-Oriented SoC Balancing Method for DC Microgrid. Energies 2020, 13, 2793. https://doi.org/10.3390/en13112793

AMA Style

Wu T, Xia Y, Wang L, Wei W. Multiagent Based Distributed Control with Time-Oriented SoC Balancing Method for DC Microgrid. Energies. 2020; 13(11):2793. https://doi.org/10.3390/en13112793

Chicago/Turabian Style

Wu, Tao, Yanghong Xia, Liang Wang, and Wei Wei. 2020. "Multiagent Based Distributed Control with Time-Oriented SoC Balancing Method for DC Microgrid" Energies 13, no. 11: 2793. https://doi.org/10.3390/en13112793

APA Style

Wu, T., Xia, Y., Wang, L., & Wei, W. (2020). Multiagent Based Distributed Control with Time-Oriented SoC Balancing Method for DC Microgrid. Energies, 13(11), 2793. https://doi.org/10.3390/en13112793

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop