The present invention relates generally to the electrical, electronic and computer arts, and, more particularly, to a system and method for microgrid control.
Microgrid is a paradigm shifting solution which enhances electricity resiliency and supports the ever-increasing integration of distributed energy resources (DERs) and energy storage at grid edges. However, it is often prohibitively difficult to build and operate a microgrid due primarily to the hardware dependence of microgrid protection, automation and control (PAC) where the microgrid intelligence resides. Especially, the existing microgrid control is typically implemented on specific hardware, such as a digital signal processor (DSP) or programmable logic controller (PLC), making it difficult and costly to evolve and update when the microgrid configuration changes and thus the controller parameters require re-tuning.
In conventional practice, the high capital expenditures (CAPEX) and operating expenditures (OPEX) associated with hardware controllers multiplying the large number of DERs prohibit nearly any redundancy or backup in microgrid controllers. Consequently, any failure in the microgrid controller can lead to severe impacts on both the microgrid and main grid. Adding to those challenges is the fact that there is no universally applicable tool for designing microgrid control efficiently and optimally, making the designing and deployment of new hardware controllers daunting tasks.
Over the years, despite a large body of literature relating to improving the DER control in microgrids (e.g., droop control, active-reactive power (PQ) control, and voltage-frequency (VF) control), a majority of research efforts only focused on simulation-based performance analysis for control algorithms, assuming a hardware-dependent control architecture. Few of the existing publications address how to improve the response of a microgrid to hardware anomalies such as failures or sabotage.
Recently, software-defined networking (SDN) is attracting increasing attention from the microgrid community as it offers a programmable, flexible and reliable solution to operate the microgrid, supporting diverse quality-of-service (QoS) requirements and making it easier to develop new applications and enable fast innovation in microgrid. However, although a few works have been done on developing SDN-enabled microgrid or even networked microgrids, the existing literature is unfortunately largely silent on the topic of developing software-defined microgrid controls.
Principles of the present invention, as manifested in one or more embodiments thereof, are directed to a software-defined control (SDC) system and method for controlling a microgrid. The SDC architecture, according to one or more embodiments of the invention, decouples hardware infrastructure with microgrid control functions.
In one or more embodiments, an exemplary SDC-enabled microgrid system includes a physical plane having multiple distributed energy resources (DERs), the DERs being operatively coupled together via a bus, and a control plane. The control plane includes at least one virtual controller running on a hardware server in the control plane, a system analysis module in communication with the physical plane, and an SDC manager coupled with the virtual controller and the system analysis module. The virtual controller includes multiple software-defined functional modules configured to control one or more parameters of the microgrid. The system analysis module is configured to generate system analytics information as a function of operational information associated with one or more DERs in the physical plane. The SDC manager is configured to generate one or more virtual controllers for controlling an operation of at least a subset of the DERs in the physical plane as a function of the system analytics information.
In accordance with an embodiment of the invention, a software-defined control method for controlling a microgrid includes: initializing a microgrid SDC library included in an SDC manager of a control plane associated with the microgrid; installing one or more software-defined virtual controllers on at least one hardware general computing device in the control plane; and executing the virtual controllers on the general computing device, each of the virtual controllers receiving state information from a corresponding DER residing in a physical plane of the microgrid. Each of the virtual controllers transmits one or more control signals to the corresponding DER for controlling at least one operating parameter of the DER as a function of the state information received from the corresponding DER.
As the term may be used herein, “facilitating” an action contemplates performing the action, making the action easier, helping to carry out the action, or causing the action to be performed. Thus, by way of example only and without limitation, in the context of a processor-implemented method, instructions executing on one processor might facilitate an action carried out by instructions executing on a remote processor, by sending appropriate data or commands to cause or aid the action to be performed. For the avoidance of doubt, where an actor facilitates an action by other than directly performing the action itself, it is assumed that the action is nevertheless performed by some entity or combination of entities.
One or more embodiments of the invention or elements thereof can be implemented in the form of a computer program product including a computer readable storage medium with computer usable program code for performing the method steps indicated. Furthermore, one or more embodiments of the invention or elements thereof can be implemented in the form of a system (or apparatus) including a memory, and at least one processor that is coupled to the memory and operative to perform exemplary method steps.
Yet further, in another aspect, one or more embodiments of the invention or elements thereof can be implemented in the form of means for carrying out one or more of the method steps described herein; the means can include (i) hardware module(s), (ii) software module(s) stored in a computer readable storage medium (or multiple such media) and implemented on a hardware processor, or (iii) a combination of (i) and (ii); any of (i)-(iii) implement the specific techniques set forth herein.
Techniques of the present invention can provide substantial beneficial technical effects. By way of example only and without limitation, a microgrid control system and method according to one or more embodiments of the invention may provide one or more of the following feature, among other advantages:
These and other features and advantages of the present invention will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in connection with the accompanying drawings.
Non-limiting and non-exhaustive embodiments of the present invention will be described with reference to the following drawings which are presented by way of example only, wherein like reference numerals (when used) indicate corresponding elements throughout the several views unless otherwise specified, and wherein:
It is to be appreciated that elements in the figures are illustrated for simplicity and clarity. Common but well-understood elements that may be useful or necessary in a commercially feasible embodiment may not be shown in order to facilitate a less hindered view of the illustrated embodiments.
Principles of the present invention, as manifested in one or more embodiments thereof, will be described herein in the context of an illustrative system, apparatus and/or method for microgrid control. It is to be appreciated, however, that the invention is not limited to the specific system, apparatus and/or methods illustratively shown and described herein. Rather, it will become apparent to those skilled in the art given the teachings herein that numerous modifications can be made to the embodiments shown that are within the scope of the claimed invention. That is, no limitations with respect to the embodiments shown and described herein are intended or should be inferred.
A microgrid is a grouping of distributed energy resources (DERs) with control capabilities and can work in conjunction with the main/primary grid or operate autonomously as dictated by demand and/or other considerations (e.g., cost). It is essentially a smaller version of the grid with several advantages. These advantages include the capability to operate when the main grid is down, a provision of stability in strengthening the grid by reducing grid disruptions, and an increase in efficiency due to the use of local energy sources which mitigate energy losses in the processes of transmission and distribution. Microgrids often use localized renewable energy sources for power generation (e.g., solar panel arrays, wind turbines, etc.), thus making them more environmentally friendly. A microgrid is mostly automated with smart technology and intelligent controls that can anticipate problems and failures and reconfigure itself to account for them. However, it is often prohibitively difficult to build and operate a microgrid due primarily to the hardware dependence of microgrid protection, automation and control (PAC) where the microgrid intelligence resides, which is undesirable.
In order to address one or more problems of conventional microgrids, embodiments of the invention described herein are directed to a novel system and method for microgrid control. More particularly, the system and method provides a software-defined control (SDC) architecture for a microgrid which advantageously virtualizes traditionally hardware-dependent microgrid control functions as software services decoupled from the underlying hardware infrastructure, fully resolving hardware dependency issues and enabling unprecedentedly low costs. That is, the system and method according to aspects of the invention fully decouples the hardware infrastructure from the microgrid control functionality. Decoupling software from dedicated hardware enables easier modifications, management and updates of the microgrid, among other advantages. Virtualization allows multiple independent users to more efficiently utilize computational and network resources (e.g., processing power and communication bandwidth) by abstracting them into logical units. Specifically, the microgrid controllers according to one or more embodiments are implemented in software and run on a computing device or other hardware platform (e.g., general-purpose (i.e., white-box) computer or processing device), preferably via a high-speed network. Extensive experiments in a real-time digital simulator (RTDS) environment verify that virtualization of microgrid controllers beneficially eliminates the restrictions of a hardware implementation while concurrently achieving a goal of hot standby (a redundant method in which one system runs simultaneously with an identical primary system) and seamless switching of controllers at zero cost.
In one or more embodiments, the system and method for microgrid control generates microgrid controllers autonomously in edge computing facilities such as distributed virtual machines (DVMs). Extensive experiments verify that the system and method outperforms traditional hardware-based microgrid control systems, at least in that it facilitates a decoupled cyber-physical microgrid and thus makes microgrid operations unprecedentedly affordable, autonomic and secure.
In certain embodiments, the system and method includes an SDC architecture devised for a microgrid, where the concept and validation of virtualized microgrid controllers are addressed. In certain embodiments, the system and method includes a generalized control frame designed in the SDC architecture, which automatically generates controllers for microgrids, providing high reliability and easily deployable redundancy. In certain embodiments, the system and method decouples the hardware infrastructure with microgrid control functions. Decoupling software from dedicated hardware enables easier modifications, management, and updates.
In some embodiments, SDC-based control algorithms, which may be used by one or more virtual controllers to implement certain microgrid control functions, can be deployed in Internet of Things (IoT) devices. The flexibility of using an IoT device-based controller provides microgrid controllers with plug-and-play features. The system security and privacy can be better preserved using existing technology for IoT devices. The SDC-based microgrid control system can be combined with software-defined networking (SDN) to further improve the system's resilience against physical failures, disturbances, and cyberattacks, in accordance with one or more embodiments. So, for example, when one communication link has a failure or is otherwise under a cyberattack, SDN can be employed to flexibly change to another path.
Compared with conventional microgrid control systems that heavily rely on hardware infrastructure, which is inconvenient and costly to evolve and upgrade, the SDC architecture according to one or more embodiments of the invention described herein provides robustness and plug-and-play capability for DER controllers. It is also capable of supporting a variety of applications such as secondary and tertiary controls, and other advanced control schemes in microgrid. In one or more embodiments, the SDC system is a universal and plug-and-play platform for microgrid, where new DER controllers can be easily and flexibly defined and deployed, and high redundancy can also be provided to handle DER controller failures.
Virtualization, in accordance with one or more embodiments of the invention, provides a beneficial approach to developing novel applications flexibly in microgrid. To implement software-based control functions through virtualization on general-purpose computing devices (e.g., servers, processors, etc.), an important objective is to design a framework for SDC without exhibiting any significant performance degradation. An SDC-enabled microgrid architecture according to one or more embodiments which achieves this objective will now be described.
The control plane 102 includes one or more virtualized controllers 106, which preferably run on local hardware servers or other hardware infrastructure 108. The virtual controller 106 may, in one or more embodiments, alternatively run on a remote server, as long as it can communicate with DERs in the physical plane 104. Each virtual controller 106, in one or more embodiments, preferably includes several software-defined functional blocks or modules, including, for example, a secondary control module, a tertiary control module, a droop control module, an active-reactive power (PQ) control module, a voltage-frequency (VF) control module, a unit DC (UDC) bus voltage control module, and a maximum power point tracking (MPPT) & PQ control module. The functional modules in the virtual controller 106 are preferably configured to control one or more parameters of the microgrid. In some embodiments, each of at least a subset the respective control modules in the virtual controller(s) 106 preferably includes at least one backup module as a safeguard against failure of the corresponding functional module. The hardware infrastructure 108, on which the virtual controller(s) 106 runs, may include at least one processor, memory coupled with the processor, and one or more interfaces coupled with the processor, such as an input/output (I/O) interface and a network or other communication interface.
The control plane 102 in the exemplary SDC-enabled microgrid architecture 100 further includes an SDC manager 110, which preferably comprises an SDC library, coupled with the virtual controller(s) 106, and a system analysis block or module 112. The system analysis module 112, in one or more embodiments, is configured to perform certain system analytics using information received from various DERs in the physical plane 104. Such analytics functionality is performed by the system analysis module 112 using one or more analysis blocks or modules, including, for example, an Eigenvalue analysis module, a formal/reachability analysis module, a transient stability module, a power flow calculation module, and a parameters learning module. Formal/reachability analysis is used to verify a performance of the microgrid under uncertainties. Microgrids usually incorporate a high penetration of renewables, which brings unprecedented uncertainties to the system operations. In deterministic analytics, only a single scenario is typically considered, which may underestimate the influence of uncertainties or suffer from combinational expansion with a large number of uncertain factors. Reachability analysis generates a series of reachable sets to enclose the uncertain behaviors of the microgrid. Therefore, the formal/reachability analysis module provides an efficient and formal verification of microgrid operations and avoids case-by-case simulation. It is to be appreciated that the functional modules shown in the system analysis module 112 are merely illustrative and non-limiting; rather, the types of analysis modules utilized in the system analysis module 112 will be dependent on the measurement and analysis features desired in the system.
Control parameters generated by the virtual controller(s) 106 and transmitted by the hardware infrastructure 108 are used to control one or more DERs in the physical plane 104, and may also be used by the system analysis module 112. The system analysis module 112, in one or more embodiments, may be further configured to provide model update information to the SDC manager 110 for updating the SDC model library.
In one or more embodiments, the physical plane 104 comprises a grid and a plurality of DERs, such as, for example, solar panels (i.e., photovoltaic (PV) cells), wind turbine generators (WTG) (e.g., WTG1, WTG2), diesel generators (e.g., Diesel1, Diesel2, Diesel3), and battery or other storage units, and possibly smart meters, loads and transformers. Each DER preferably communicates with a corresponding controller through an Internet Protocol (IP)-address-assigned interface, or other communication means, which can adopt different communication protocols to transfer data associated with the corresponding DER, such as control signals and/or analytics information. The various DERs in the physical plane 104 are preferably coupled together via a bus 114 or other connection arrangement.
The measurements obtained from the physical plane 104 (e.g., power generation, load, etc.) are transferred to the control plane 102, and more particularly to the system analysis module 112, via a communication network 116, according to one or more embodiments. These measurements from the physical plane 104 are preferably used for various tasks, such as, but not limited to, eigenvalue analysis (e.g., performed by the eigenvalue analysis module), power flow calculation (e.g., performed by the power flow calculation module), transient analysis (e.g., performed by the transient stability module), formal/reachability analysis (e.g., performed by the formal/reachability analysis module), and parameters learning (e.g., performed by the parameters learning module).
In one or more embodiments, results obtained from the analyses are used for designing control parameters and updating models used by the virtual controller(s) 106. The control parameters and model updates are supplied to the SDC manager 110 by the system analysis module 112. The SDC manager 110, in one or more embodiments, is configured to manage different virtual controllers 106 in the control plane 102, such as by implementing control functions, managing a handover of controllers, and/or providing design parameters for the controllers 106. An important component of the SDC manager 110 is the SDC library, which in some embodiments comprises parameters from a generalized DER controller.
A polymorphic switch ai is used to select the active power reference, P0, in the power control module 208, and its state is initially off. Each controller's parameters (e.g., fref, kP, kI, P0, Uacref, Uref, and Q0, where fref is the frequency reference, kP is the proportional gain in the PI controller, kI, is the integral gain in the PI controller, P0 is the active power of a DER working at its equilibrium point, Uacref is the voltage reference of the AC side of the converter, and Uref is the voltage reference of the DC side of the converter) are tuned when the controller is created. In the DER controller 200, we just need to input these parameters into the corresponding specific controller (e.g., in the droop control module (see
With continued reference to
In the power control module 208, the active power P0 and/or a reference power signal, Pref, are combined using a first adder, depending on the state of switches a1 and a2, respectively. The output of the frequency control module 206 is supplied to a second adder where it is summed with P0 and/or Pref and an MPPT signal, depending on the state of switches a3 and a2, respectively, to generate an output of the power control module 208.
The output of the power control module 208 is supplied to a third adder configured to subtract filtered parameters unit DC bus voltage, Udc, and/or active power, P, (passed through low-pass filter 216) as a function of switches a7 and a4, respectively. The combined output signal from the third adder is multiplied by a gain factor (kP or kI) to generate a signal Idref. A parameter Id is then subtracted from the signal Idref using a fourth adder to generate a first output of the outer loop module 202.
In a similar manner, the voltage control module 210 is configured to combine controller parameters U and the voltage reference of the DC side of the converter, Uref, using a second subtractor to generate a combination signal. This combination signal generated by the second subtractor is multiplied by either the proportional gain kP or the integral gain kI, which is selected as a function of the state of switches a1 or a6, respectively. Either the reactive power, Q0, or a 000000reference reactive power, Qref, is selected by switch a1 and summed with the gained combination signal (U−Uref) using a sixth adder. The output generated by the sixth adder is selectively supplied, as a function of the state of switch a5, to a seventh adder, where it summed with controller parameter Uacref, representing the voltage reference of the AC side of the converter, as a function of the state of switch a10, to generate an output of the voltage control module 210.
The output of the voltage control module 210 is supplied to an eighth adder configured to subtract filtered parameters unit AC bus voltage, Uac, and/or reactive power, Q, (passed through low-pass filter 216) as a function of switches a8 and a9, respectively. The combined output signal from the eighth adder is multiplied by a gain factor (kP or kI) to generate a signal Iqref. A parameter Iq is then subtracted from the signal Iqref using a ninth adder to generate a second output of the outer loop module 202.
Each of the first and second outputs of the outer loop module 202 are passed through a corresponding gain block to generate signals Vmd and Vmq, respectively. The signals Vmd and Vmq are then supplied to an inverter 218 for controlling power generation therein.
The relationship between the control objective and the respective states of the switches can be described as follows:
c=b·a ,(1)
where c={c1, c2, . . . cN} denotes the set of N microgrid controllers, b={b1, b2, . . . bN} is the set of binary numbers that control the states of corresponding switches in the N microgrid controllers, and a={a1, a2, . . . a10} is the set of ten switches in the exemplary DER controller 200 shown in
DERs typically operate as grid-following sources using the P/Q control when microgrid works in a grid-connect mode. When microgrid works in an islanded mode, some DERs operate as grid-forming sources to actively control their frequency output, making it possible for them to naturally support the system frequency while sharing a portion of the load change. DERs operate as grid-following sources to track the voltage angle of the microgrid to control their output. Table 1 below illustrates certain control configurations of DERs based on the features of the DERs' functions, which provides the specific guidance on how to design DER controllers for SDC users based on a generalized controller. The configuration table is preferably stored in the SDC library of the SDC manager (110 in
To implement new virtualized control methodologies, flexible computational resources such as memories and processors must be virtualized and allocated to the new controller. This is achieved, in one or more embodiments, using technologies such as Hypervisor or Container by the SDC manager (110 in
The SDC architecture according to embodiments of the invention provides the flexibility to develop new applications such as optimization, distributed control and system parameters learning. Based on the demand of microgrid operation, different SDCs can be installed for different DERs. For example, an islanded microgrid needs diesel generators or batteries to stabilize the system frequency, and therefore the software-defined droop controllers can be created to achieve this goal.
In one or more embodiments, the SDC manager controls the events, including initialization, scaling, termination, and updating. Once the SDC manager detects that a new controller for a certain DER needs to be created, a new connection between the controller and DER will be initialized. This process of instantiating a new controller is autonomous, in one or more embodiments. The SDC manager abstracts the physical resources of each controller and creates the corresponding functions within the virtualized infrastructure (e.g., 108 in
Network protocols such as Transmission Control Protocol/Internet Protocol (TCP/IP) can be used to establish low-latency and loss-tolerating connections between DERs and corresponding controllers. To guarantee the performance of DER controls, the allowed time delay of communication between DERs and controllers should be within tens of microseconds, which can be achieved using existing widely-used network switches.
A second component 406 of the implementation process 400 for SDC in microgrid is the establishment of a generalized DER controller 408 comprising a library of controller functions. This DER controller library is configured to create (i.e., instantiate) different virtual DER controllers. A variety of controllers may share some common functions, which can be inherited from the generalized DER controller 408, such as, for example, phase lock loop (PLL), coordinate transformation, low pass filtering, and double-loop control functionality.
A third component 410 of the implementation process 400 for SDC in microgrid is the virtualization of SDCs, which can be designed as controller classes based on prescribed characteristics of object-oriented programming (OOP), and are inherited from the generalized DER controller 408. For example, DER controllers that may be created by the generalized DER controller library may include, but are not limited to, the following controller classes: droop control; PQ control; MPPT and PQ control; Uac and Udc control; V/f control; Udc control; P-Uac control; and MPPT and Udc-Q control. Each of the DER controllers will incorporate one or more functions (either common functions or specifically-tailored functions) from the generalized DER controller 408 depending on the specific requirements of its corresponding DER. For example, a droop controller may include the following functions: low pass filter( ); PLL( ); abc-dq( ); power calculation( ); outer loop( ); and inner loop( ). The function abc-dq( ) represents a technique that uses a Park transformation to transform a three-phase (abc) signal to a dq0 rotating reference frame.
Communications between DERs and virtual controllers are managed by the SDC manager 404. Specifically, in one or more illustrative embodiments, when the SDC manager 404 receives a request for creating a new controller for a DER, the function create_new_controller is executed. The IP address and port of the DER are sensed by the SDC manager 404, and the IP address and port of the general computing unit (GCU), on which the newly created DER controller is implemented, are transferred to the DER. Meanwhile, the SDC manager 404 sends commands to the generalized DER controller 408 to request a new controller class. The newly created DER controller then enters a listening mode after being initialized and connected to the corresponding DER. In this state, the DER controller is configured to receive any data packet whose destination IP address and port match the DER controller, respectively. Once a packet arrives, the DER controller begins to send corresponding control signals to the DER. For example, when the SDC manager 404 receives a request from a battery storage DER, a software-defined droop controller is created from the generalized DER controller 408, and corresponding control signals are generated. The server or other processing device, on which the newly created virtual DER controller is being executed, then enters a sending mode and starts to send out control signals whose destination IP address and port are the IP address and port of the DER, respectively.
In one or more embodiments, a handover function is executed by the SDC manager 404 when the SDC manager detects that one DER controller has stopped working. In this instance, the IP address and port of that DER controller that has stopped working is transferred to a backup DER controller, and the corresponding control parameters will also be set for the backup DER controller.
Virtualized controllers running on commodity hardware preferably use virtualized computational resources to facilitate the implementation of the SDC framework. A virtualized controller has the ability to produce optimal results with minimum resources. Integrating the intervention into existing structures greatly requires the replacement of existing controllers with virtualized resources and the establishment of connections between virtualized controllers and DERs. Compared to existing hardware-dependent control architectures, an SDC architecture according to embodiments of the invention offers multiple benefits for microgrid including the following:
The communication process between a DER and a virtual controller can be summarized as follows: (i) the controller establishes communication with the DER using information provided by the SDC manager; (ii) on the DER side, measurements such as three phases of the output current and voltage of the DER are sampled and transferred to the controller; and (iii) control signals such as those used to generate sinusoidal pulse width modulation (SPWM) are sent back to the DER.
In one or more embodiments, discrete control algorithms deployed in the processor are the main components used to operate the DER controllers. Different distributed discrete secondary control approaches have been proposed in literature to minimize frequency and voltage deviations and ensure accurate active and reactive power sharing for either radial- or mesh-structured microgrids. (See, e.g., X. Lu, et al., “A Novel Distributed Secondary Coordination Control Approach for Islanded Microgrids,” IEEE Trans. Smart Grid, vol. 9, no. 4, pp. 2726-2740, July 2018; W. Gu, et al., “A Nonlinear State Estimator-based Decentralized Secondary Voltage Control Scheme for Autonomous Microgrids,” IEEE Trans. Power Syst., vol. 32, no. 6, pp. 4794-4804, November 2017; J. Schiffer, et al., “Voltage Stability and Reactive Power Sharing in Inverter-based Microgrids with Consensus-based Distributed Voltage Control,” IEEE Trans. Control Syst. Technol., vol. 24, no. 1, pp. 96-109, January 2016, the disclosures of which are incorporated by reference herein in their entireties). However, the primary discrete controllers are not addressed in any literature.
A discrete-time mathematical model and an analytical framework for a droop-controlled inverter-based microgrid are presented in M. B. Delghavi, et al., “An Adaptive Feedforward Compensation for Stability Enhancement in Droop-controlled Inverter-based Microgrids,” IEEE Trans. Power Del., vol. 26, no. 3, pp. 1764-1773, July 2011, the disclosure of which is incorporated herein by reference in its entirety, where the double-loop controllers are not included. Moreover, the PI regulator is shown using the z-transformation, which however cannot be applied directly for software evolutions. One or more embodiments of the invention beneficially provide a droop controller considering the power calculation, frequency control, and voltage-current loop control, which is described in detail using the trapezoidal rule, that can be directly applied with the software. Discrete models for other controllers, such as PQ and V/f controls, can be generated in a similar manner, as will become apparent to those skilled in the art given the teachings herein.
More particularly, for a droop control, frequency and voltage magnitudes at time k can be obtained as follows:
f(k)=f*−m(P(k)−P*)=f*−mΔP(k), (2)
and
E(k)=E*−n(Q(k)−Q*)=E*−nΔQ(k), (3)
where f(k) and E(k) are the frequency and voltage magnitudes at time k, respectively. P(k) and Q(k) are the discrete samples of the active and reactive powers, respectively. f * and E* are the frequency and voltage references, respectively; and P* and Q* are the active and reactive power references, respectively. ΔP(k) and ΔQ(k) are the corresponding active and reactive power error inputs for the droop controller, and m and n are frequency and voltage droop coefficients, respectively.
For a converter-based DER, the droop control is typically implemented using a double-loop control diagram, where the outer control loop is designed to provide current references for the inner control loop, and the inner loop generates modulation waves for SPWM generation. Let vd(k) and vq(k) be the voltage components in dq coordinate transformed from the three-phase voltage in abc coordinate at time k. Then, Er(k) can be defined as follows:
where Φ (k) is the output of the PLL function at time k, and can be calculated recursively as follows:
Φ(k+1)=Φ(k)+(w(k)+w(k+1))T/2, (5)
where T is the sampling time, which is set at 0.2 milliseconds (ms) in this illustrative scenario. w(k) can be calculated recursively as follows:
where kp and ki are the PI parameters.
The phase of the voltage at time k, θ(k), in the discrete domain can be calculated recursively as follows:
θ(k+1)=θ(k)+2π(f(k)+f(k+1))T/2, (7)
where f(k) can be obtained from equation (2) above.
With Er(k) and θ(k) obtained from equations (4)-(7) above, the error of the input voltage for the outer loop can be calculated as follows:
With vdref and vqref obtained from (8), the current references for the inner loop can be calculated as follows:
where kpv
where kpi
A variety of functions in a droop control such as inner loop and outer loop, can be used for other software-defined controls. Similar methodologies can be applied for the derivation of discrete models for other software-defined controls such as PQ and V/f controls.
In the SDC architecture according to one or more embodiments of the invention, the flow of information comprises three steps: (i) measurement; (ii) communication among controllers; and (iii) execution. In the measurement process, transmitting the incremental frequency in the f/P droop controller from a DER to a virtualized controller can introduce a time delay, τm, in a feedback path. The execution process, in one or more embodiments, uses an interface to send control signals from a virtualized controller to a DER. A control delay, τe, which can affect the stability of the distributed system, should be considered. The impact of the control algorithm's iterations in the SDC can be neglected due to the large computing capacity of the SDC. A delay in the closed-loop τ, which is the sum of τm and τe, forms the total delay of the SDC-enabled microgrid. The small signal model of the time-delayed microgrid is as follows:
where τi=τmi+τei(i=1, . . . , m) refers to the time delay constants, and 0<τ1< . . . <τ1 τmax. In the SDC-enabled architecture according to one or more embodiments of the invention, the measurement and execution delays are trivial compared with the switching and communication delays caused by master and backup controllers. The impact of this delay will be discussed in further detail herein below.
By way of example only and without limitation, in order to evaluate the performance of the SDC architecture according to an illustrative embodiment of the invention, a real-time testbed was built in an RTDS environment. For this exemplary scenario, the testbed included RTDS hardware, its auxiliary facilities such as gigabit-transceiver network (GTNET) communication cards, which provide a real-time communication link to and from the RTDS simulator via Ethernet, and one or more servers. A console personal computer (PC) was used to develop and compile the microgrid model in RSCAD® (a registered trademark of RTDS Technologies Inc.), a power simulation software designed to interact with the RTDS hardware. The GTNET cards can be used to transmit data between RTDS and external equipment through a local area network (LAN)/wide area network (WAN) using protocols such as, for example, the GTNET-SKT (Socket) protocol. The RTDS hardware and servers are connected through switches and campus network. Meanwhile, each server has a specific port, which is linked to the campus network and can be used for the console PC to access the server. In this experimental evaluation, the simulator in RTDS has 16 cores for physical layer simulation running in real time; it provides Gigabit Ethernet ports for all IP-based communications, including data transmissions between RTDS and external servers.
Table 2 below provides exemplary three-phase power loads (in KVA) on the different buses. Loads LD1 through LD4 on buses B1 through B4, respectively, are modeled as switched resistive-inductive (RL) passive loads, while loads L5S through LD7 on buses B5 through B7, respectively, are modeled as non-switchable dynamic loads representing the critical loads in the system 500.
Generation and control schemes for DERs in the exemplary system 500 are summarized in Table 3 below. The diesel units and the battery use droop control to achieve frequency and power sharing when the microgrid operates in islanded mode, while the PV and wind turbine use PQ control.
In the simulation, the sampling time step is set at 2 μs for converter-based components and 50 μs for other components in the microgrid. The sampling rate of transmission data is 600 packets per second. A software-defined virtual droop control is designed for the battery in
The performance of the illustrative software-defined microgrid control system 500 according to one or more embodiments of the invention was compared with a traditional hardware-based droop controller. In the test case, the two diesel units share the same droop factor and capacity. Diesel 1 is controlled by a software-defined droop controller running on a remote server, and Diesel 2 is controlled by a traditional droop controller, which runs in the RTDS.
An illustrative operation of the microgrid will now be described in conjunction with
In comparing results for the active power of the two diesel units shown in
By way of example only and without limitation, consider the impact of an SDC-enabled DER on the software-defined microgrid system according to one or more embodiments of the invention. Initially, when an SDC-enabled DER is plugged into the system, the microgrid operates in an islanded mode with the battery disconnected. At time t=1.2 s, the battery is plugged into the system. Meanwhile, the SDC manager (e.g., 110 in
Exemplary current and voltage responses of the battery before and after the battery is connected into the microgrid are illustrated by the waveforms shown in
A backup controller can be implemented in microgrid to provide redundancy. For example, as previously stated in conjunction with
With reference to
For an SDC-enabled system according to one or more embodiments of the invention, a critical issue is the impact of communication latency on a software-defined controller's performance. Delays caused by measurement, execution, and algorithm iteration can have different impacts on the system's performance. It can be shown that the measurement and execution cause very small delays due to the high rate of data sampling and large communication capability of the test bed.
With reference to
At least a portion of the techniques of the present invention may be implemented in an integrated circuit. In forming integrated circuits, identical die are typically fabricated in a repeated pattern on a surface of a semiconductor wafer. Each die includes a device described herein, and may include other elements, structures and/or circuits. The individual die are cut or diced from the wafer, then packaged as an integrated circuit. One skilled in the art would know how to dice wafers and package die to produce integrated circuits. Any of the exemplary systems and circuits illustrated in the accompanying figures, or portions thereof, may be part of an integrated circuit. Integrated circuits so manufactured are considered part of this invention.
Those skilled in the art will appreciate that the exemplary systems and circuits discussed above, or portions thereof, can be distributed in raw form (i.e., a single wafer having multiple unpackaged chips), as bare dies, in packaged form, or incorporated as parts of intermediate products or end products that benefit from having a microgrid controller formed therein in accordance with one or more embodiments of the invention, such as, for example, an SDC microgrid control system.
An integrated circuit in accordance with aspects of the present disclosure can be employed in essentially any microgrid control application and/or electronic system, particularly microgrid control systems requiring the decoupling of hardware-dependent functionality. Systems incorporating such integrated circuits are considered part of this invention. Given the teachings of the present disclosure provided herein, one of ordinary skill in the art will be able to contemplate other implementations and applications of embodiments of the invention.
The illustrations of embodiments of the invention described herein are intended to provide a general understanding of the various embodiments and are not intended to serve as a complete description of all the elements and features of apparatus and systems that might make use of the module, circuits and/or methods described herein. Many other embodiments will become apparent to those skilled in the art given the teachings herein; other embodiments are utilized and derived therefrom, such that structural and logical substitutions and changes can be made without departing from the scope of this disclosure. The drawings are also merely representational and are not drawn to scale. Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense.
Embodiments of the invention are referred to herein, individually and/or collectively, by the term “embodiment” merely for convenience and without intending to limit the scope of this application to any single embodiment or inventive concept if more than one is, in fact, shown. Thus, although specific embodiments have been illustrated and described herein, it should be understood that an arrangement achieving the same purpose can be substituted for the specific embodiment(s) shown; that is, this disclosure is intended to cover any and all adaptations or variations of various embodiments. Combinations of the above embodiments, and other embodiments not specifically described herein, will become apparent to those of skill in the art given the teachings herein.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a,” “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups thereof. Locational terms such as “above,” “below,” “in,” “out,” “internal,” and “external,” as may be used herein, are intended to describe the relative position of elements or structures to each other as opposed to an absolute position of the elements or structures.
The corresponding structures, materials, acts, and equivalents of all means or step-plus-function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the various embodiments has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the forms disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the various embodiments with various modifications as are suited to the particular use contemplated.
The abstract is provided to comply with 37 C.F.R. § 1.72(b), which requires an abstract that will allow the reader to quickly ascertain the nature of the technical disclosure. It is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. In addition, in the foregoing Detailed Description, it can be seen that various features are grouped together in a single embodiment for the purpose of streamlining the disclosure. This method of disclosure is not to be interpreted as reflecting an intention that the claimed embodiments require more features than are expressly recited in each claim. Rather, as the appended claims reflect, inventive subject matter lies in less than all features of a single embodiment. Thus, the following claims are hereby incorporated into the Detailed Description, with each claim standing on its own as separately claimed subject matter.
Given the teachings of embodiments of the invention provided herein, one of ordinary skill in the art will be able to contemplate other implementations and applications of the techniques of embodiments of the invention. Although illustrative embodiments of the invention have been described herein with reference to the accompanying drawings, it is to be understood that embodiments of the invention are not limited to those precise embodiments, and that various other changes and modifications are made therein by one skilled in the art without departing from the scope of the appended claims.
This application claims the benefit of U.S. Provisional Patent Application No. 63/193,309, filed on May 26, 2021, entitled “System and Method for Microgrid Control,” the disclosure of which is incorporated by reference herein in its entirety for all purposes.
This invention was made with government support under contract number ECCS2018492 awarded by the National Science Foundation. The government has certain rights in the invention.
Number | Date | Country | |
---|---|---|---|
63193309 | May 2021 | US |