With the growing use of renewable power sources in distributed generation, grid connected converters (“GCCs”) are playing an increasingly important role as the interface between renewable energy sources and the utility grid. Filters, such as L-, LC-, or LCL filters, are used to attenuate the switching harmonics generated by GCCs. In many applications, LCL-filters are preferred in high-power GCC systems (e.g., systems with a power rating greater than 1 MW) due to their lower cost and superior harmonic attenuation capability as compared to L-filters.
However, a GCC incorporating an LCL-filter is a third-order system, which could cause instability problems and therefore make the control of the GCC difficult. Unlike a GCC incorporating an L-filter (also referred to as an “L-GCC” herein), very few vector control strategies for an LCL-based GCC (also referred to as an “LCL-GCC” herein) have been reported because of the difficulty to decouple the d- and q-axis control loops. One conventional vector control technique is to neglect the capacitor dynamics, thereby simplifying the vector control problem to that of a first-order L-GCC system. However, this results in imprecise description of the LCL-GCC system and potential oscillatory and/or unstable dynamic behavior if the LCL-filter or the GCC is not properly damped.
Conventional damping strategies for vector control of an LCL-GCC mainly fall into two categories: 1) Passive Damping (“PD”), and 2) Active Damping (“AD”). PD modifies the filter structure with the addition of passive elements such as resistors. AD modifies the controller parameters or the controller structure either by cutting the resonance peak and/or by adding a phase lead around the resonance frequency range. However, neither of these damping strategies solves the decoupling problem of an LCL-GCC system.
An example system for controlling a grid-connected energy source using a neural network is described herein. The example system can include a grid-connected converter (“GCC”) operably coupled between an electrical grid and an energy source, a n-order grid filter (e.g., where n is an integer greater than or equal to 2) operably coupled between the electrical grid and the GCC, and a nested-loop controller. The nested-loop controller can have inner and outer control loops and can be operably coupled to the GCC. A d-axis loop can control real power, and a q-axis loop can control reactive power. Additionally, the inner control loop can include a neural network that is configured to optimize dq-control voltages for controlling the GCC. The neural network can account for circuit dynamics (e.g., resonant circuit dynamics) of the n-order grid filter while optimizing the dq-control voltages.
Optionally, the neural network can be configured to implement a dynamic programming (“DP”) algorithm. For example, the DP algorithm can include a cost function associated with a discrete-time system model, where the discrete-time system model includes parameters for one or more inductors and capacitors of the n-order grid filter. Alternatively or additionally, the neural network can optionally be configured to determine an optimal trajectory of the dq-control voltages that minimizes the cost function associated with the discrete-time system model.
Alternatively or additionally, the neural network can optionally be trained using a Levenberg-Marquardt (“LM”) algorithm. In addition, the neural network can optionally be trained using a forward accumulation through time (“FATT”) algorithm in conjunction with the LM algorithm.
Optionally, the neural network can include a preprocessing stage configured to regulate input signals to the neural network within a predetermined range.
Optionally, the neural network can include a multi-layer perceptron including a plurality of input nodes, a plurality of hidden layer nodes and a plurality of output nodes. For example, the neural network can be a multi-layer feed forward neural network having one or more hidden layers, each of the hidden layers comprising m nodes, wherein m is an integer.
Alternatively or additionally, each respective node of the neural network can optionally be configured to implement a sigmode function.
Alternatively or additionally, the neural network can optionally be further configured to receive a plurality of input signals including dq-current error signals and respective integrals of the dq-current error signals. The dq-current error signals can be differences between d-axis and q-axis currents and d-axis and q-axis reference currents, respectively. The neural network can be configured to optimize the dq-control voltages based on the input signals.
Alternatively or additionally, the n-order grid filter can optionally be a 2nd or 3rd order grid filter.
Alternatively or additionally, the system does not include a passive or active damping control structure.
Alternatively or additionally, the outer control loop can optionally include at least one proportional-integral (“PI”) controller.
Alternatively or additionally, the GCC can optionally be a three-phase GCC.
Alternatively or additionally, the GCC can optionally be a single-phase GCC, and an imaginary orthogonal circuit can be generated based on a real circuit. The real circuit can include the single-phase GCC, the n-order grid filter, the energy grid and the energy source. The imaginary orthogonal circuit can incorporate arc/2 phase shift relative to the real circuit. Additionally, an amplitude of the imaginary orthogonal circuit can be approximately equal to an amplitude of the real circuit.
Alternatively or additionally, the GCC can optionally be a pulse-width modulated (“PWM”) converter.
Alternatively or additionally, the energy source can optionally be a solar cell or array, a battery, a fuel cell, a wind turbine generator, a micro-turbine generator, a static synchronous compensator (“STATCOM”) or a high-voltage DC transmission system.
An example system for controlling a grid-connected energy source using a direct current control technique is described herein. The example system can include a GCC operably coupled between an electrical grid and an energy source, a n-order grid filter (e.g., where n is an integer greater than or equal to 2) operably coupled between the electrical grid and the GCC, and a nested-loop controller. The nested loop controller can have inner and outer control loops and can be coupled to the GCC. A d-axis loop can control real power, and a q-axis loop can control reactive Additionally, the nested-loop controller can be configured to determine dq-current error signals, adjust dq-tuning currents based on the dq-current error signals, and convert the dq-tuning currents to dq-control voltages for controlling the GCC. The dq-current error signals can be differences between d-axis and q-axis currents and d-axis and q-axis reference currents, respectively. In addition, the conversion can account for resonant circuit dynamics (e.g., resonant circuit dynamics) of the n-order grid filter.
Optionally, converting the dq-tuning currents to the dq-control voltages can include balancing dq-currents and voltages across the n-order grid filter.
Alternatively or additionally, adjusting the dq-tuning currents can optionally include minimizing a root-mean-square (“RMS”) error of the dq-current error signals using an adaptive control strategy.
Optionally, the adaptive control strategy can include prioritizing real power control while meeting reactive power demand as much as possible. For example, the adaptive control strategy can optionally further include determining if an amplitude of either of the dq-reference currents exceeds a rated current of the GCC, and if the amplitude of either of the dq-reference currents exceeds the rated current, maintaining the d-axis reference current and adjusting the q-axis reference current. Alternatively or additionally, the adaptive control strategy can optionally further include determining if an absolute value of either of the dq-control voltages exceeds a saturation limit of the GCC, and if the absolute value of either of the dq-control voltages exceeds the saturation limit, adjusting a d-axis control voltage and maintaining a q-axis control voltage.
Alternatively or additionally, the n-order grid filter can optionally be a 2nd or 3rd order grid filter.
Alternatively or additionally, the system does not include a passive or active damping control structure.
Alternatively or additionally, the inner and outer control loops can optionally include at least one proportional-integral (“PI”) controller.
Alternatively or additionally, the GCC can optionally be a three-phase GCC.
Alternatively or additionally, the GCC can optionally be a single-phase GCC, and an imaginary orthogonal circuit can be generated based on a real circuit. The real circuit can include the single-phase GCC, the n-order grid filter, the energy grid and the energy source. The imaginary orthogonal circuit can incorporate arc/2 phase shift relative to the real circuit. Additionally, an amplitude of the imaginary orthogonal circuit can be approximately equal to an amplitude of the real circuit.
Alternatively or additionally, the GCC can optionally be a pulse-width modulated (“PWM”) converter.
Alternatively or additionally, the energy source can optionally be a solar cell or array, a battery, a fuel cell, a wind turbine generator, a micro-turbine generator, a static synchronous compensator (“STATCOM”) or a high-voltage DC transmission system.
It should be understood that the above-described subject matter may also be implemented as a computer process, a computing system, or an article of manufacture, such as a computer-readable storage medium.
Other systems, methods, features and/or advantages will be or may become apparent to one with skill in the art upon examination of the following drawings and detailed description. It is intended that all such additional systems, methods, features and/or advantages be included within this description and be protected by the accompanying claims.
The components in the drawings are not necessarily to scale relative to each other. Like reference numerals designate corresponding parts throughout the several views.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art. Methods and materials similar or equivalent to those described herein can be used in the practice or testing of the present disclosure. As used in the specification, and in the appended claims, the singular forms “a,” “an,” “the” include plural referents unless the context clearly dictates otherwise. The term “comprising” and variations thereof as used herein is used synonymously with the term “including” and variations thereof and are open, non-limiting terms. The terms “optional” or “optionally” used herein mean that the subsequently described feature, event or circumstance may or may not occur, and that the description includes instances where said feature, event or circumstance occurs and instances where it does not. While implementations will be described for providing vector control of a GCC with a resonant circuit grid filter (e.g., an L-, LC, or LCL-filter), it will become evident to those skilled in the art that the implementations are not limited thereto.
Vector Control Using a Neural Network
In recent years, research has been conducted in the area of dynamic programming (“DP) for optimal control of nonlinear systems. Adaptive critic designs (“ACD”) constitute a class of approximate dynamic programming (“ADP”) methods that use incremental optimization techniques combined with parametric structures that approximate the optimal cost and cost and the control of a system. Both Heuristic Dynamic Programming (“HDP”) and Dual Heuristic Heuristic Programming (“DHP”) have been used to control a turbogenerator. Additionally, an ADP-based RNN controller has been trained and used to control an L-GCC system, which demonstrated excellent performance compared to a conventional vector controller.
As described herein, systems and method for providing vector control of a GCC incorporating an LC-filter (also referred to as an “LC-GCC” herein) or an LCL-GCC using an ADP-based recurrent neural network (“RNN”) are provided. The RNN-based vector control techniques described herein for an LC-GCC or LCL-GCC can overcome the decoupling difficulty and resonant problems, as well as implement optimal vector control for an LC-GCC or LCL-GCC system using an RNN. For example, the techniques describe herein include: 1) an approach to implement optimal vector control for LC-GCC or LCL-GCC systems by using RNNs that can overcome the decoupling difficulty and damping resonant phenomenon properly, 2) a mechanism to train the RNN controller by using a LM+FATT algorithm, 3) investigation and comparison of the RNN vector controller with conventional PD- and AD-based vector controllers under dynamic, variable and power converter switching conditions, and 4) hardware validation and comparison in unbalanced and distorted system conditions.
Vector Control Methods
LCL-Filter-Based Grid-Connected Converter and its State Space Model
In the d-q frame, the state space model for the LCL-GCC system is expressed by (1),
where ωs is the angular frequency of the grid voltage and all the other symbols in (1) are consistent with those indicated in
For implementation of the RNN based digital controller, the continuous state space model (1) needs to be transferred into the equivalent discrete model (2) through either a zero-order or first-order hold discrete equivalent mechanism:
{right arrow over (idqs)}(k+1)=A{right arrow over (idqs)}(k)+B{right arrow over (udqs)}(k) (2)
in which, {right arrow over (idqs)} and {right arrow over (udqs)} represent [id; iq; id1; iq1; vcd; vcq]′ and [vd; vq; vd1; vq1; 0; 0]′, respectively; A stands for system matrix and B is the input matrix.
Note that in (1) and (2), vd1 and vq1 are control actions from current controller, while id and iq are the grid currents that need to be controlled.
Decoupled Vector Control
An obstacle to using the vector control is the difficulty to decouple an LCL-GCC system, which is almost impossible according to (1). To overcome this challenge, a mechanism to neglect the capacitance of an LCL filter has been proposed, and therefore a decoupled vector control strategy has been developed for an LCL-GCC based on the simplified L-GCC system. Neglecting the capacitance C, the state space model of the LCL-GCC system (1) is simplified as (3):
By rewriting (3), the simplified L-GCC system is expressed as:
in which, those items denoted as vd′ and vq′ are treated as the state equations between the input voltages and output currents for the d- and q-axis current loops and the other terms are regarded as compensation items. Therefore, the corresponding transfer function 1=[(Rg+Rc)+(Lg+Lc)s] is used to design the current-loop controller.
Then, the vector control strategy for the LCL-GCC system, developed according to (4) and (5) is shown by
Passive and Active Damping
For the vector control method shown in
Because of the resonance phenomenon, a proper damping strategy has to be employed in developing a vector control technique for an LCL-GCC system, such as by using either a passive or active damping method.
An example PD method is to connect a resistor in series with the LCL capacitor as shown in
However, PD methods cause a decrease of the overall system efficiency because of the associated power losses. AD methods are more sensitive to parameter uncertainties. Moreover, the possibility of controlling the potential unstable dynamics is limited by the controller bandwidth for AD methods.
Recurrent Neural Network Based Vector Control Technique
As described below, a neural network (“NN”) vector controller is provided below. Due to the universal function approximation property, a NN controller can overcome the decoupling challenge associated with an LCL-GCC system (and also an LC-GCC system). In addition, the NN controller can be trained to implement the optimal control based on dynamic programming and the exact discrete state space model (2) of the LCL-GCC system. These are the advantages of the NN-based control over other conventional control methods.
RNN Based Vector Control Architecture
A recurrent neural network is a network with feedback, that is, some of its outputs are connected to its inputs. A recurrent network is potentially more powerful than a feedforward network and can exhibit temporal behavior, which is particularly important for feedback control applications. Although RNN-based vector control is described below, it should be understood that this is only provided as an example. This disclosure contemplates using other neural networks in the systems and methods described herein.
Referring now to
The controller has a nested-loop structure, consisting of a slow outer loop and a fast inner loop (e.g., loops 108B and 108A in
The feedback signals as shown in
RNN Current Controller Structure
To avoid the input saturation, the inputs can be regulated to the range [−1, 1], for example, through a preprocessing procedure. The inputs to the feed-forward neural network are tan h({right arrow over (sd)}q/Gain) and tan h({right arrow over (ed)}q/Gain2), where {right arrow over (ed)}q and {right arrow over (sd)}q are error terms and integrals of the error terms. {right arrow over (ed)}q is defined as {right arrow over (ed)}q(k)=
in which the trapezoid formula was used to compute the integral term {right arrow over (sd)}q(k) and {right arrow over (ed)}q(0).
In
Unlike some active damping methods, which require information about capacitor voltage, the NN structure described herein only needs {right arrow over (ed)}q and {right arrow over (sd)}q as network inputs. In other words, the system described herein does not include a passive or active damping control structure. This structure makes the control of LCL-GCC system (or LC-GCC system) easy to implement and very effective. Two hidden layers were chosen to yield a stronger approximation ability. The selection of the number of neurons in each hidden layer was done through trial and error tests. Six nodes in each hidden layer provided adequate results. However, as described above, the NN structure described herein is provided only as an example, and it should be understood that a NN having a different structure can be used, including a neural network having different numbers of layers, nodes, etc. The output layer outputs two d-q voltage control signals.
According to
in which, {right arrow over (ω1)} stands for the weights from input layer to first hidden layer, {right arrow over (ω2)} denotes the weights from first hidden layer to the second hidden layer, and {right arrow over (ω3)} represents the weights a) 3 from the second hidden layer to the output layer.
As the ratio of the converter output voltage {right arrow over (vdq1)} to the outputs of the current loop controller {right arrow over (v*dq1)} is the gain of the pulse-width-modulation (PWM) which is denoted as kPWM, the control action {right arrow over (vdq1)} is then expressed by
{right arrow over (vdq1)}=kPWM{right arrow over (v*dq1)}=kPWMR({right arrow over (edq)},{right arrow over (sdq)},{right arrow over (w)}) (9)
To prevent the neural network controller from being affected by the GCC voltage variation, a technique is employed by introducing PCC disturbance voltage to the output of a trained neural network.
{right arrow over (vdg1)}=kPWM[R({right arrow over (edq)},{right arrow over (sdq)},{right arrow over (w)})+({right arrow over (vdqn)}−{right arrow over (vdq)})/kPWM] (10)
where {right arrow over (vdqn)} is nominal PCC voltage and {right arrow over (vdq)} is the actual PCC voltage, thus ({right arrow over (vdqn)}−{right arrow over (vdq)}) means the PCC disturbance voltage.
Training Recurrent Neural Network Current Controller
Optionally, the neural network can be configured to implement a DP algorithm. For example, the DP algorithm can include a cost function associated with a discrete-time system model, where the discrete-time system model includes parameters for one or more inductors and capacitors of the n-order grid filter. Alternatively or additionally, the neural network can optionally be configured to determine an optimal trajectory of the dq-control voltages that minimizes the cost function associated with the discrete-time system model. Alternatively or additionally, the neural network can optionally be trained using a LM algorithm. In addition, the neural network can optionally be trained using a FAIT algorithm in conjunction with the LM algorithm.
Training Objective: Approximate Optimal Control
Dynamic programming (DP) employs the principle of Bellman's optimality and is a very useful tool for solving optimization and optimal control problems. The typical structure of the discrete-time DP includes a discrete-time system model and a performance index or cost associated with the system.
The DP cost function associated with the LCL-GCC system is defined as:
where, j denotes the starting point and generally j>0, γ is a discount factor with 0<γ≦1, and U is called local cost or utility function. The function Cdp, depending on the initial time j and the initial state
RNN Training Algorithm: Levenberg-Marquardt+Forward Accumulation Through Time (LM+FATT)
Levenberg-Marquardt (LM) Algorithm:
The LM algorithm can be used to train an RNN because LM appears to be the fastest neural network training algorithm for a moderate number of network parameters. To implement LM training, the cost function defined in (11) needs to be rewritten in a Sum-Of-Squares form. Consider the cost function Cdp with γ=1, j=1 and k=1, . . . , N, then it can be written in the form:
The gradient can be written in a matrix product form:
in which, the Jacobian matrix JV({right arrow over (w)}) is:
Therefore, the weights update by using LM for an RNN controller can be expressed as:
Δ{right arrow over (w)}=−[JV({right arrow over (w)})TJV({right arrow over (w)})+μI]−1JV({right arrow over (w)})TV (15)
Forward Accumulation Through Time (FATT) Algorithm:
In order to find Jacobian matrix Jv(ω), FATT is developed for an LCL-GCC system, which incorporates the procedures of unrolling the system, calculating the derivatives of the Jacobian matrix, and calculating the DP cost into one single process for each training epoch. Algorithm 1, which is shown below, describes the whole algorithm. Denote:
in the algorithm, and lines 6-7 come from differentiating (9) and (2), respectively.
The Combination of LM+FATT Algorithms:
Training Implementation
Table I below specifies the LCL-GCC system parameters.
Besides the LM+FATT algorithm described herein, the following policies can be used when training the neural network:
1) N trajectories were used to train the RNN. N was generally chosen as 10.
2) The initial current state {right arrow over (idq)}(0) for each trajectory was generated randomly.
3) The d-q reference current for each trajectory was generated randomly and was changed every 0.1 s.
4) The initial weights {right arrow over (ω )} of the RNN were generated randomly.
5) The sampling time was chosen as Ts=1 ms and the duration of each trajectory was set as 1 s.
Due to the physical constraints of the LCL-GCC system, the randomly generated d- and q-axis current values were checked and modified when necessary to make sure that their resultant magnitude does not exceed the converter rated current limit and/or the required control voltage does not exceeded the PWM saturation limit.
When using LM+FATT algorithm to train the RNN controller, the most time consuming part is the computation of the Jacobian matrix. The FATT described herein can calculate the Jacobian matrix efficiently. It takes O(m2NM) flops to compute the Jacobian matrix JV ({right arrow over (w)}) where m represents the dimension of the RNN output layer, M stands for the number of all weights, and N denotes the length of the trajectory length. For the RNN controller shown by
To evaluate the performance of the neural network vector controller and compare it with conventional PD- and AD-systems, an LCL-GCC system was developed using SIMPOWERSYSTEMS in MATLAB of MATHWORKS, INC. of Natick, Mass. (
The PI parameters of the current-loop controller for the conventional vector control method were tuned by using the PID tuner function within the PID controller block in Matlab.
For the PD vector control mechanism, the damping resistor was chosen as Rpd=5.96Ω according to (16),
For the AD vector control method, the cut off frequency of the low pass filter is fr=3559 Hz according to (6), which should ensure appropriate filtering results. In the comparison, both the AD and PD vector controllers used the same PI parameters that were tuned based on the simplified L-GCC system.
Damping Free
Compared with PD vector control (
Additionally, the RNN based vector control is a damping free technique such as a high-order vector controller, and therefore does not need any special damping mechanisms. This is due to the fact that the RNN current controller behaves naturally as a lower pass filter as indicated by
Robustness Analysis
The robustness of a controller is important in a real application because the system parameters could deviate from its nominal values by a significant amount. A test was made to evaluate the three vector control methods for a new Lc value which is half of the nominal value L*c=0.5 Lc shown in Table II below.
In order to completely compare the robustness of the three different vector methods, more detailed analysis was made by considering the parameter variations of Lg, C and Lc of the LCL filter. Table II shows the maximum and minimum ratios of the three parameters over corresponding nominal values before losing the control stability for the three vector control methods. As shown by the table, the AD control method has the smallest stability region, as the change of parameters will cause the variation of fr and thus new damping filter should be designed to meet the performance requirement. The PD control approach has a larger stability region than that of the AD control method, as it does not use a damping filter. It should be understood that the PD control approach still work well when C=0 (Table II) as the PI controllers of the PD method are designed based on the simplified L-GCC system. The RNN vector control strategy has the widest stability region according to Table II, which demonstrates the strong robustness of the RNN vector controller.
Table III gives a summary of PD vector control, AD vector control and RNN vector control.
Hardware Validation
A hardware laboratory test system for an LCL-GCC in an ac/dc/ac converter application (
The schematics of the hardware connections is shown by
1) An ac/dc converter is connected to an adjustable Lab-Volt three-phase power supply signifying the grid.
2) Another dc/ac converter is connected to the second LabVolt three-phase power supply representing an RES.
3) An LCL filter is built by using six LabVolt smoothing inductors and a three-phase LabVolt capacitor.
4) The ac/dc converter is controlled by a dSPACE digital control system.
5) The control system collects the DC-link voltage and three-phase currents and voltages at the PCC, and sends out control signals to the converter according to various control demands.
6) Table IV specifies all the parameters used in the tests.
Results
The DC-link voltage control is developed based on the principle of the power balance. Assume the current-loop controller is ideal,
represents plant transfer function of the dc-link voltage loop. The tuning for the DClink voltage PI controller is similar to that for the current-loop controller described above. Phase margin was set as 60 deg. The outer voltage loop should be slow because it takes time to charge the capacitor while the inner current loop should be fast enough. The bandwidth was chosen as 5 rad/s because any bandwidth larger than 5 rad/s failed to maintain the DC-link voltage constant in all tests using the conventional vector control. For NN vector control, due to the good current tracking ability of the NN controller, a much faster voltage-loop controller was adopted with its bandwidth selected as 10 rad/s.
For the PD vector control method, the actual damping resistor is Rpd+RCin=25. For the AD vector control method, a lower pass filter with a cut off frequency of 959 Hz was used. The RNN controller was retrained based on the parameters in Table IV. The converter switching frequency was fs=3000 Hz for all the three methods. The sampling time was Ts=1 ms for both PD and RNN vector controllers. However, it was found that this sampling time did not work well for the AD vector control method. Thus, a sampling time of Ts=0.1 ms was chosen for the AD vector controller.
It was found that under laboratory conditions the PCC voltage was distorted and unbalanced (
The test sequence was scheduled as the following with t=0 s as the starting point for data recording. Around t=50 s, there was an increase of the active power transferred from the RES converter to the DC-link capacitor. Around t=100 s, the reactive power reference changed from generating to absorbing. Around t=150 s, there was a decrease of the active power transferred from the RES converter to the DC-link capacitor.
Hardware test results of the PD, AD and RNN vector control methods are shown by
At the beginning, a generating reactive power reference was specified. For a high generating reactive power demand (iq ref=0.5 A) that may cause the converter to operate over the PWM saturation limit, the RNN controller could still regulate the actual q-axis current iq as close as possible to the reference value iq ref without losing the system stability (
The relatively high oscillation associated with the NN controller (
Table V shows a comparison analysis of hardware test using PD vector control, AD vector control and RNN vector control.
As described above, techniques for implementing the optimal control of an LCL-GCC system by using an RNN vector control method and how to train the network by an LM+FATT algorithm are provided. The described RNN vector controller was compared with conventional PD and AD vector controllers through both simulation and hardware tests. Different from conventional vector control methods, the proposed RNN vector control technique does not need any special damping policies and has a wider stability region to tolerate system parameter changes than PD and AD vector control methods. Hardware tests demonstrated that the RNN vector control can be combined with relatively faster outer loop controllers to provide better performance. Under PWM saturation conditions, the RNN vector control could still maintain stable performance while the conventional PD and AD methods failed. All these advantages make it efficient and reliable to implement the proposed RNN vector control method into real-life LCL-GCC control applications.
Also described herein is a NN vector control method for optimal vector control of a single-phase GCC with an L, LC or LCL filters. For example, the following are described: 1) an approach to implement optimal vector control for the single-phase GCC by using an artificial neural network, 2) a mechanism to train the NN controller by using a novel Levenberg-Marquardt (LM) algorithm, 3) investigation and comparison of the NN vector controller with conventional vector controllers under dynamic, variable and power converter switching conditions, and 4) hardware validation and comparison in unbalanced and distorted system conditions.
Conventional Vector Control
Single-Phase GCC
Referring now to
Imaginary Circuit
To implement d-q vector control, an imaginary orthogonal circuit is generated/created based on the real circuit of the GCC. The imaginary circuit can be generated/created using a differentiation technique (e.g., computing derivatives) or a delay technique. Using the delay technique, the ac voltage or current of the imaginary circuit should have exactly the same amplitude as that of the real circuit but −90° phase shift. The imaginary circuit can be generated/created using a computing device, for example. The real and imaginary circuits constitute the α-β frame of the GCC system, which can be transferred into the d-q frame through (17):
Mathematical Model in d-q Frame
In the d-q frame, the mathematics model (or system equation) of an L-filter based single-phase GCC is (18):
For an LC-filter based GCC, the system equations are represented by (19) and (20).
And, (21) describes the system equation of an LCL-filter based GCC.
In Eqs. (18)-(21), cis is the angular frequency of the grid voltage, all other symbols are consistent with those shown in
i
g
,i*
g
i
d
,i
q
,i
inv1
,i*
inv1
i
d1
,i
q1
,v
g
,v*
g
v
d
,v
q
,v
in1
,v*
inv1
v
d1
,v
q1, and vc
Training Implementation
A neural network vector control technique is described above with regard to a three-phase system. This disclosure contemplates that the neural network controller described above can be used in single-phase systems. As shown below, the neural network controller can be used to more effectively control single-phase L-GCC, LC-GCC, and LCL-GCC systems as compared to conventional vector control techniques.
Table VI specifies the parameters of single-phase GCC systems. The capacitor values were selected as 20 μF to provide better attenuation results.
Performance Evaluation
To evaluate the performance of the neural network vector controller and to compare it with conventional vector controllers, integrated transient simulation systems of the single-phase GCC systems for all the three filter schemes were developed by using SIMPOWERSYSTEMS of MATLAB of MATH WORKS, INC. of Natick, Mass.
The PI parameters of the current-loop controller for the conventional vector control method was tuned by PID tuner function within the PID controller block in Matlab.
If not specified, Ts=0.1 ms was used in all simulations. Switch frequency fs=6000 Hz was used according to the frequency response plot shown in
L-Filter Based GCC
With the imaginary circuit created by using the delay method, both conventional and NN vector control approaches showed similar performance in
With the imaginary circuit created by using the differentiation method, the conventional vector control demonstrated a poor performance in
LC-Filter Based GCC
Compared with conventional vector control
LCL-Filter Based GCC
To overcome resonance phenomenon of the LCL filter, passive damping method was adopted in developing conventional vector control. The resonance frequency can be calculated as (22).
Thus a series resistor was chosen as Rpd=7.71Ω according to (23):
Compared to the conventional vector control, the NN vector control is a damping free technique, i.e., it does not need any special damping policies.
Another feature is that the sampling rate for the NN vector control is Ts=1 ms while for conventional vector control it has to be 0.1 ms to assure the stable operation of the controller.
Hardware Validation
A hardware laboratory test system for a single-phase GCC in an ac/dc/dc converter application was built to validate the NN vector control method for signal-phase systems as described herein. This converter configuration can be used in solar photovoltaic systems.
The hardware test system took the following setups: 1) an ac/dc converter was connected to an adjustable Lab-Volt single-phase power supply signifying the grid, 2) an do/dc converter was connected to an adjustable Lab-Volt single-phase power supply representing an RES, 3) all filters were built by using LabVolt smoothing inductors and LabVolt capacitors, 4) the ac/dc converter was controlled by a dSPACE digital control system, 5) the control system collected the DC-link voltage and single-phase currents and voltages at the PCC, and sends out control signals to the converter according to various control demands.
The sampling time Ts=0.1 ms was used for all hardware tests. For the conventional vector control method, the actual damping resistor for the LCL filter is Rpd+RCin=25Ω. Table VII specifies all the parameters used in the tests. The NN controller was retrained based on the parameters in Table VII.
The DC-link voltage control is developed based on the principle of the power balance, the tuning for the DC-link voltage PI controller is similar to that for the current-loop controller described above. Phase margin was set as 60 deg. The bandwidth was chosen as 4 rad/s because any bandwidth larger than 4 rad/s failed to maintain the DC-link voltage constant in all tests using the conventional vector control. For NN vector control, due to the good current tracking ability of the NN controller, a relatively faster voltage-loop controller was adopted with its bandwidth selected as 8 rad/s.
Results
The test sequence was scheduled as the following with t=0 s as the starting point for data recording. Around t=40 s, there was an increase of the generating reactive demand which corresponds to an increase of the q-axis current. Around t=100 s, the reactive power reference changes from generating to absorbing which corresponds to a decrease of the q-axis current.
Around t=120 s, there was a random change of the active power transferred from the RES converter to the DC-link capacitor representing the power generated from the solar panels. Around t=220 s, the random change of the active power was ended.
During the random changing period as shown by
The current waveform further demonstrated the advantage of the NN vector control. The single-phase current showed much less oscillations under the NN vector control (
Note that the NN vector control results (
However, for the LC-filter or LCL-filter based system, the conventional vector control method will lose stability without proper damping policies. After certain damping policies was used, the conventional vector control method still failed to provide good performance in the ac/dc/dc converter tests.
In general, the NN vector control showed very good performance for ac/dc/dc converter with all three different filtering schemes, demonstrating the great advantage of the neural network vector control over the conventional vector control.
The neural network controller implements the optimal control based on the dynamic programming principle. Both the simulation evaluation and hardware test results demonstrated that the neural network control technique has superior performance to the conventional vector control method such as faster response time, lower overshoot and less oscillation. Especially, for single-phase GCC with an LCL filter, the neural network vector control does not require any damping policy. Using the neural network vector control technique, the harmonics are significantly reduced, which would benefit the integration of small-scale single-phase renewable resources to the grid. Two different methods for creating the imaginary circuit are also described. Although the control performance of conventional vector control methods is more sensitive to how the imaginary circuit is created, the neural network vector control is not affected and performs very well in general.
Direct Current Vector Control
Also described herein are methods and systems for providing direct current control (DCC) vector control mechanisms for L-, LC- and LCL-filter GCCs without using any passive or active damping methods. For example, the techniques described herein include: 1) analysis of active and reactive power control characteristics of L-, LC- and LCL-filter GCCs in decoupled d-q vector control framework, 2) development of DCC vector control mechanisms for L-, LC- and LCL-filter GCCs, 3) implementation of the DCC control strategies in a nested-loop control structure, 4) development of a control strategy for L-, LC- and LCL-filter GCCs under GCC physical system constraints, 5) evaluation of the DCC for dc-link voltage control, power control and grid voltage support control, and 6) hardware test validation.
GCC Model in dq Reference Frame with L, LC and LCL Filters
L-filter based GCC
Using the motor sign convention, the voltage balance across the grid-filter inductor in dq reference frame is:
where ωs is the angular frequency of the grid voltage. Using space vectors, (24) is expressed by a complex equation (25) in which vdq, idq, and vdq_gcc are instantaneous space vectors of the PCC voltage, line current, and converter output voltage in dq reference frame.
In the steady-state condition, (25) becomes (26), where Vqq, Idq and Vdq_gcc stand for the steady-state space vectors of PCC voltage, grid current, and converter output voltage in dq reference reframe.
V
dq
=R
f
·I
dq
+jω
s
L
f
·I
dq
+V
dq
_
gcc (26)
Using PCC voltage orientation frame, the PCC d-axis voltage is constant and q-axis voltage is zero. Thus, the instantaneous active and reactive powers transferred from the ac system to the GCC are proportional to d- and q-axis currents, respectively, as shown by (27) and (28).
p(t)=vdid+vqiq=vdid (27)
q(t)=vqid−vqiq=−Vdiq (28)
In terms of the steady state condition, Vdq=Vd+j0 if the d-axis of the reference frame is aligned along the PCC voltage position. Assuming Vdq_gcc=Vdq_gcc+jVdq_gcc and neglecting resistor Rf, then, the current flowing between the ac system and the GCC according to (26) is:
where XL=jωsLf stands for the grid filter reactance.
Supposing that the passive sign convention is applied, i.e., power flowing toward the converter as positive, then, the power absorbed by the converter from the grid can be achieved from the complex power equation, Pg+jQg=VdqI*dq=VdI*dq. By solving this equation together with (29), (30) is obtained. According to (30), the ac system active and reactive powers, Pac and Qac, are controlled through q- and d-axis components, Vq_gcc and Vd_gcc, of the voltage injected into the ac system by the GCC, respectively.
LC-Filter Based GCC
For the LC-filter GCC, the voltage balance equation over the LC-filter inductor is (31) while the current balance equation over the LC-filter capacitor is (32).
Using space vectors, (31) and (32) are expressed by complex equations (33) and (34) in which idq1 is the space vector of the instantaneous current through the LC-filter inductor in dq reference reframe.
In the steady-state condition, (33) and (34) becomes (35) and (36), where Idq1 stands for the steady-state space vector of the LC-filter inductor current in dq reference reframe.
V
dq
=R
f
·I
dq1
+jω
s
L
f
·I
dq1
+V
dq
_
gcc (35)
I
dq
=I
dq1
+jω
s
C·V
dq (36)
In terms of PCC d- and q-axis currents, the instantaneous active and reactive powers transferred from the ac system to the GCC are consistent with (27) and (28). Neglecting resistor Rf, the steady state current flowing through the PCC according to (35) and (36) is:
where Xc=jωsC. Then, based on the complex power equation:
which indicates that the PCC active and reactive powers are similar to those shown by (30) except that the PCC reactive power is a little bit more negative. Therefore, under the same d-axis control voltage, the PCC reactive power is more toward generating, which allows the GCC to be able to generate a little bit more reactive power under the PWM saturation constraint.
LCL-Filter Based GCC
For the LCL-filter GCC, the voltage balance across the grid-side inductor is:
The voltage balance across the inverter-side inductor is:
The current balance across the LCL capacitor is:
Using space vectors, (39)-(41) are expressed by complex equations (42)-(44), respectively, in which vcdq is the instantaneous space vector of the LCL-filter capacitor voltage in dq reference reframe.
In the steady-state condition, (42), (43) and (44) becomes (45), (46) and (47), where Vcdq stands for the steady-state space vector of the LCL-filter capacitor voltage in dq reference reframe.
V
dq
=R
g
·I
dq
+jω
s
L
g
·I
dq
+V
cdq (45)
V
cdq
=R
inv
·I
dq1
+jω
s
L
inv
·I
dq1
+V
dq
_
gcc (46)
I
dq
=I
dq1
+jω
s
C˜V
cdq (47)
Again, in terms of PCC d- and q-axis currents, the instantaneous active and reactive powers transferred from the ac system to the GCC are consistent with (27) and (28). Neglecting all the resistors, the steady state current flowing through the PCC according to (45) to (47) is:
where Xinv=jωsLinv and Xg=jωsLg. Then, based on the complex power equation:
which indicates that the PCC active and reactive powers, similar to L- and LC-filter GCCs, are also controlled by the converter q- and d-axis voltages, respectively.
Design and Analysis of L, LC and LCL Filters
For a nonlinear load, the harmonic analysis is usually focused on how the current harmonics from a nonlinear load can be attenuated through the filtering process. Normally, the input of the filter is the harmonic currents while the output of the filter is the current harmonics injected into the grid. However, for a GCC, the output of the voltage source converter is the voltage generated through the PWM scheme. This GCC output voltage contains the fundamental frequency component and high order harmonic components around m·fs, where fs is the converter switching frequency and m=1, 2, 3, etc.
To analyze and design a filter, the transfer function of the filter is generally required. Alternatively, a virtual simulation tool such as PSPICE of CADENCE DESIGN SYSTEMS, INC. of San Jose, Calif. can be used to assist the analysis and design of L, LC, and LCL filters for GCCs, which makes it much faster and more convenient to evaluate and compare different filter schemes. The first step for the filter evaluation and design using PSpice is to develop a single-line diagram consisting of the grid, the filter to be studied and a voltage source representing the voltage injected into the grid by the GCC. Assume the grid voltage is sinusoidal and does not contain any harmonics. Then, the grid can be modeled by an equivalent harmonic impedance. The GCC is modeled as a harmonic voltage source. A filter is placed between the grid and the GCC. The second step is to define the ac sweep simulation. The ac sweep simulation will provide a result about how different frequency components of the GCC output voltage are processed by the filter. The final step is to run the simulation and analyze results.
For purpose of comparison, all the three filters are drawn in parallel in one circuit schematic and then connected to the same GCC harmonic voltage source as shown by
The resonant frequency is an important factor in designing the LC- and LCL-filter based GCCs. It was found that the resonant frequency is mainly affected by the inductors and capacitors of LC and LCL filters. In general, under a constant grid-filter inductance, the larger the filter capacitance is, the lower the resonant frequency; under a constant grid-filter capacitance, the larger the filter inductance is, the lower the resonant frequency. Based on the simulation study as shown by
Direct-Current Vector Control of Grid-Connected Converters
The standard vector control method for the GCC deploys a nested-loop structure consisting of a faster inner current loop and a slower outer loop and, in which the d-axis loop is used for active power or dc-link voltage control, and the q-axis loop is used for reactive power or grid voltage support control.
Direct-Current Vector Control for L-Filter GCCs
The direct-current vector control (DCC) method for an L-filter GCC has been developed recently. The theoretical foundation is (27) and (28), i.e., the use of d- and q-axis currents directly for active and reactive power control of the GCC system. Unlike the conventional standard vector control approach, the DCC outputs a current signal by the d- or q-axis current-loop controller (
Applying a low-pass filtering to vdq_gcc to remove the high frequency oscillation components of d- and q-axis voltages from being applied directly to the converter, the d- and q-axis control voltages are shown by:
v
d
_
gcc
=−R
f
i′
d+ωsLfi′q+vd (51)
v
q
_
gcc
=−R
f
i′
q−ωsLfi′d (52)
Optionally, converting the dq-tuning currents to the dq-control voltages can include balancing dq-currents and voltages across the n-order grid filter as described herein. Alternatively or additionally, the system does not include a passive or active damping control structure.
Direct-Current Vector Control for LC-Filter GCCs
The DCC for a LC-filter GCC is obtained based upon (27) and (28) too. Similar to the L-filter GCC, the output of the DCC controller is a d- or q-axis tuning current I′d or i′q, while the input error signal tells the controller how much the tuning current should be adjusted during the dynamic control process. To convert the tuning current signals to voltage control signals, (33) and (34) can be rearranged in terms of the DCC tuning current i′dq as:
Combining (53) and (54) and applying a low-pass filtering to vdq_gcc to remove the high frequency oscillation components, the d- and q-axis control voltages are shown by:
V
d
_
gcc
=−R
f
i′
d+ωsLfi′q+vd(1−ωs2LfC) (55)
v
q
_
gcc
=−R
f
i′
q−ωsLfi′d+vd·RfωsC (56)
Thus, in terms of
Direct-current vector control for LCL-filter GCCs
The DCC for a LCL-filter GCC is based on. (27) and (28). Similar to the L- and LC-filter GCCs, the DCC controller outputs a d- or q-axis tuning current i′d or i′q. This tuning current is converted to voltage control signals based upon. (42) to (44). Rearranging (42) to (44) in terms of the DCC tuning current i′dq:
Combining (53) and (54) and applying a low-pass filtering to vdq_gcc, the d- and q-axis control voltages are shown by:
V
d
_
gcc
=−R
eq
i′
d+ωsLeqi′q+vd(1−ωs2LinvC) (60)
v
q
_
gcc
=−R
eq
i′
q−ωsLeqi′q+vd·RinvωsC (61)
where Req=Rg+Rinv−Rinvωs2CLg−Rgωs2CLinv and Leq=Lg+Linv+RinvRgC−ωs2LinvCLg. In terms of
Control of GCC under physical constraints
Alternatively or additionally, adjusting the dq-tuning currents can optionally include minimizing a root-mean-square (“RMS”) error of the dq-current error signals using an adaptive control strategy. In practice, a GCC cannot operate beyond the rated power and PWM saturation of the converter. To handle GCC operation under such conditions, the GCC can be controlled by maintaining the effectiveness of the active power control as the first priority while meeting the reactive power control demand as much as possible. For example, the adaptive control strategy can include prioritizing real power control while meeting reactive power demand as much as possible. This is expressed as:
The control requirement is implemented in the following way. To prevent the converter from exceeding the rated current, (62) is employed if the amplitude of the reference current generated by the outer control loop exceeds the rated current limit. According (27) and (28), this represents a strategy of keeping the d-axis current reference id* unchanged so as to maintain active power or dc-link voltage control effectiveness while modifying the q-axis current reference iq* to satisfy the reactive power or ac system bus voltage control demand as much as possible. In other words, if an amplitude of either of the dq-reference currents exceeds a rated current of the GCC, the d-axis reference current is maintained and the q-axis reference current is adjusted. If |vdq_gcc| generated by the current control loops exceeds the PWM saturation limit, v*d_gcc and v*q_gcc are modified by (63). According to (30), (38) and (49) for L, LC and LCL filter GCCs, respectively, this represents a strategy of keeping the q-axis voltage reference v*q_gcc unchanged so as to maintain the dc-link voltage or active power control effectiveness while modifying the d-axis voltage reference V*d_gcc to meet the reactive power control demand as much as possible. In other words, if an absolute value of either of the dq-control voltages exceeds a saturation limit of the GCC, a d-axis control voltage is adjusted and a q-axis control voltage is maintained.
Performance Evaluation
To assess and compare the performance of the direct-current vector control approach for GCCs with L, LC and LCL filters, current- and voltage-loop controllers are designed and evaluated for a three-phase ac/dc/ac converter that is normally used in DFIG and PMSG wind turbines.
Active and Reactive Power Controls
Performance Evaluation for Grid Voltage Support Control
The ac system voltage support control also was evaluated for the GCC with an L, LC or LCL filter using the DCC. The control objective is to maintain the PCC1 voltage at the nominal value for any voltage fluctuation caused by a load change or for any voltage sag caused by a fault. The extent of the voltage drop depends on the location and type of the load or fault in the ac transmission system. For the voltage control application, the q-axis current reference, according to
Hardware Validation
A hardware laboratory test system of a STATCOM system is built to validate the DCC vector controller for three-phase L-, LC-, and LCL-filter GCCs. In particular, 1) An ac/dc converter (GCC) is connected to an adjustable LabVolt three-phase power supply signifying the grid. 2) A LCL filter is built by using six LabVolt smoothing inductors and a three-phase LabVolt capacitor. 3) The ac/dc converter is controlled by a dSPACE digital control system. 4) The control system collects the dc-link voltage and three-phase currents and voltages at the PCC, and sends out control signals to the converter according to various control demands.
A three-phase grid-connected converter is normally used in renewable and electric power system applications. With the increased harmonic concerns, a GCC with a LC or LCL filter has drawn strong attention. As described herein, power control characteristics of a GCC with L, LC and LCL filtering schemes are explored. For all the three filtering schemes, it has been shown that in terms of current, the active and reactive powers are controlled by d- and q-axis currents, respectively, while in terms of voltage, the active and reactive powers are controlled by q- and d-axis voltage, respectively. Then, a direct current vector control method is developed for a GCC with an L, LC or LCL filter. The DCC control method has adopted typical intelligent control principles, i.e., a control goal of minimizing absolute or root-mean-square error between the desired and actual d- and q-axis currents through an adaptive tuning strategy. A control strategy is described, based on the direct-current vector control configuration, to handle the vector control under GCC rated power and PWM saturation constraints.
Both simulation and hardware tests were conducted to evaluate the performance of the DCC vector control method described herein. It has been shown that that for the control method described, if the controller output voltage is within the PWM saturation limit, the common GCC control requirements can be met effectively; if the controller output voltage exceeds the PWM saturation limit, the approach described herein operates the GCC properly in a way by assuring the dc-link voltage control as the first priority while providing reactive power or PCC voltage support control as much as possible. Under the system disturbance conditions, the described method is stable and reliable.
Single-Phase GCC Model in d-q Reference Frame with L, LC and LCL Filters
L-Filter Based Single-Phase GCC
Referring now to
Imaginary Circuit
To implement d-q vector control, an imaginary orthogonal circuit is generated/created based on the real circuit of the GCC. The imaginary circuit can be generated/created using a differentiation technique (e.g., computing derivatives) or a delay technique. Using the delay technique, the ac voltage or current of the imaginary circuit should have exactly the same amplitude as that of the real circuit but −90° phase shift. The imaginary circuit can be generated/created using a computing device, for example.
In
Using the motor sign convention, the voltage balance across the L filter in the d-q reference frame is:
where ωs is the angular frequency of the grid voltage. In terms of space vectors, (65) is expressed by a complex equation (66) in which vdq, idq, and vdq_inv are instantaneous space vectors of the single-phase PCC voltage, grid current, and inverter output voltage in d-q reference frame.
In the steady-state condition, (66) becomes (67), where Vdq, Idq and Vdq_inv stand for the steady-state space vectors of PCC voltage, grid current, and converter output voltage in d-q frame.
V
dq
=R
f
·I
dq
+jωL
f
·I
dq
+V
dq
_
inv (67)
Using the PCC voltage orientation, the PCC d-axis voltage is constant and q-axis voltage is zero. Thus, the instantaneous active and reactive powers transferred from the ac system to the GCC are proportional to d- and q-axis currents, respectively, as shown by (68) and (69).
p(t)=(vdid+vqiq)/2=vdid/2 (68)
q(t)=(vdid−vqiq)/2=vdid/2 (69)
In terms of the steady state condition, Vdq=Vd+j0 since the d-axis of the reference frame is aligned along the PCC voltage position. Assuming Vdq_inv=Vd_inv+jVq_inv and neglecting resistor Rf, then, the current flowing between the ac system and the GCC according to (67) is
where Xf=jωsLf stands for the grid filter reactance.
Since the passive sign convention is applied, the power absorbed by the inverter from the grid can be achieved from the complex power equation, Pac+jQac=VdqI*dq/2=VdI*dq/2. By solving this equation together with (70), (71) is obtained. According to (71), the ac system active and reactive powers, Pac and Qac, are controlled through q- and d-axis components, Vq_inv and Vd_inv, of the voltage injected into the ac system by the GCC, respectively.
LC-Filter Based Single-Phase GCC
For the LC-filter GCC, the voltage balance equation over the LC-filter inductor is (72) while the current balance equation over the capacitor is (73).
Using space vectors, (72) and (73) are expressed by complex equations (74) and (75) in which idq1 is the instantaneous current through the LC-filter inductor in d-q reference frame.
In the steady-state condition, (74) and (75) becomes (76) and (77), where Idq1 stands for the steady-state current of the LC-filter inductor in d-q reference frame.
V
dq
=R
f
·I
dq1
+jω
s
L
f
·I
dq1
+V
dq
_
inv (76)
I
dq
=I
dq1
+jω
s
C·V
dq (77)
In terms of PCC d- and q-axis currents, the instantaneous active and reactive powers transferred from the ac system to the GCC are consistent with. (68) and (69). Neglecting resistor Rf, the steady state current flowing through the PCC according to (76) and (77) is:
where XC=jωsC. Then, based on the complex power equation:
which indicates that the PCC active and reactive powers are similar to those shown by. (71) except that the PCC reactive power is a little bit more negative. In other words, under the same d-axis control voltage, the PCC reactive power is more toward generating.
LCL Filter Based Single-Phase GCC
For the LCL-filter GCC, the voltage balance across the grid-side inductor is:
The voltage balance across the inverter-side inductor is:
The current balance across the LCL capacitor is:
Using space vectors, (80)-(82) are expressed by complex equations (83)-(85), respectively, in which vcdq is the instantaneous LCL capacitor voltage.
In the steady-state condition, (83)-(85), respectively, becomes (86)-(88), respectively, where Vcdq stands for the steady-state LCL capacitor voltage in d-q reference frame.
V
dq
=R
g
·I
dq
+jω
s
L
g
·I
dq
+V
cdq (86)
V
Cdq
=R
inv
·I
dq1
+jω
s
L
inv
·I
dq1
+V
dq
_
inv (87)
I
dq
=I
dq1
+jω
s
C·V
cdq (88)
Again, in terms of PCC d- and q-axis currents, the instantaneous active and reactive powers transferred from the ac system to the GCC are consistent with. (68) and (69). Neglecting all the resistors, the steady state current flowing through the PCC according to (86)-(88) is:
where Xinv=jωLinv and Xg=jωsLg. Then, based on the complex power equation, (90) is:
which indicates that the PCC active and reactive powers, similar to L- and LC-filter GCCs, are also controlled by the converter q- and d-axis voltages, respectively.
Direct-Current Vector Control of Single-Phase Grid-Connected Inverters
DCC for Single-Phase L-Filter GCCs
The DCC for a three-phase L-filter GCC was developed recently. Similarly, the theoretical foundation of the DCC for a single-phase L-filter GCC is (68) and (69), i.e., using d- and q-axis currents directly for active and reactive power control of the GCC system. Unlike the conventional standard vector control approach, the DCC produces a current signal by the d- or q-axis current-loop controller (
Applying a low-pass filter to vdq_inv to prevent the high frequency oscillation components of d- and q-axis voltages from being applied directly to the converter, the d- and q-axis control voltages are shown by:
v
d
_
inv
=−R
f
i′
d+ωsLfi′q+vd (92)
v
q
_
inv
=−R
f
i′
q−ωsLfi′d (93)
DCC for Single-Phase LC-Filter GCCs
The DCC for a single-phase LC-filter GCC is obtained based upon (68) and (69) too. Similar to the L-filter GCC, the output of the DCC controller is a d- or q-axis tuning current i′d or i′q. To convert the tuning current signals to voltage control signals, (74) and (75) are rearranged in terms of the DCC tuning current i′dq as:
Combining (94) and (95) and applying a low-pass filter to Vdq_inv, the d- and q-axis control voltages are shown by:
v
d
_
inv
=−R
f
i′
d+ωsLfi′q+vd(1−ωs2LfC) (96)
v
q
_
inv
=−R
f
i′
q−ωsLfi′d+vd·RfωsC (97)
Thus, in terms of
DCC for single-phase LCL filter GCC
Similar to the L- and LC-filter GCCs, the DCC controller produces a d- or q-axis tuning current i′d or i′q. This tuning current is converted to voltage control signals based upon (83) to (85). Rearranging (83) to (85) in terms of the DCC tuning current i′dq:
Combining (98) to (100) and applying a low-pass filter to Vdq_inv, the d- and q-axis control voltages are shown by:
v
d
_
inv
=−R
eq
i′
d+ωsLeqi′q+vd(1−ωs2LinvC) (101)
v
q
_
inv
=−R
eq
i′
q−ωsLeqi′q+vd·RinvωsC (102)
where Req=Rg+Rinv−Rinvωs2CLg−Rgωs2CLinv and Leq=Lg+Linv+RinvRgC−ωs2LinvCLg. In terms of
Control of GCC Under Physical Constraints
In practice, a GCC cannot operate beyond the rated power and PWM saturation of the inverter. To handle GCC operation under such conditions, the GCC can be controlled by maintaining the effectiveness of the active power control as the first priority while meeting the reactive power control demand as much as possible. This is expressed as:
This requirement is implemented in the following way. (i) To prevent the converter from exceeding the rated current, (105) is employed if the amplitude of the reference current generated by the outer-loop controller exceeds the rated current limit. In other words, if an amplitude of either of the dq-reference currents exceeds a rated current of the GCC, the d-axis reference current is maintained and the q-axis reference current is adjusted. (ii) If |vqd_inv| generated by the current-loop controllers exceeds the PWM saturation limit, v*d_inv and v*q_inv are modified by (106) and (107). In other words, if an absolute value of either of the dq-control voltages exceeds a saturation limit of the GCC, a d-axis control voltage is adjusted and a q-axis control voltage is maintained.
Performance Evaluation
PSPICE of CADENCE DESIGN SYSTEMS, INC. of San Jose, Calif. was used for the frequency response assessment, which made it easier to generate frequency response plot even for a complicated harmonic equivalent network of the grid. The frequency spectrums of the three filters corresponding to harmonic currents injected into the grid are shown by
Control of Dc-Link Voltage and Reactive Power
Under this condition, the control purpose is to maintain a constant dc-link voltage and control the grid reactive power according to reference commends.
For LC and LCL GCCs, the DCC also showed a great performance in meeting various control requirements. Moreover, compared to L-filter GCC (
Robustness Analysis
The robustness of a controller is important in a real application because the system parameters could deviate from its nominal values and the PCC voltage could be badly distorted.
Control of Dc-Link Voltage and PCC Voltage
Under this condition, the d-axis loop is used for dc-link voltage control while the q-axis loop is used for PCC voltage control as shown by
Under the normal operating condition, the DCC can effectively maintain the dc-link voltage constant (
Hardware Validation
A hardware laboratory test system of a single-phase GCC system is built to validate the proposed direct current vector control for single-phase L-, LC-, and LCL-filter GCCs.
Results
The test sequence was scheduled as follows, with t=Osec serving as the starting point for data recording. Around t=50 sec, the active power transferred from the ‘PV array’ to the dc-link capacitor was decreased by turning off switch SW2. Around t=100 sec, the q-axis reference current changed from positive to negative. Around t=150 sec, the active power transferred from the ‘PV array’ to the dc-link capacitor was increased by turning on switch SW2. The system data were not only collected by the dSPACE system, but also monitored by oscilloscopes and/or meters. The reference dc-link voltage is 50V.
For LC- and L-filter GCCs, the performance of the DCC (
Described herein is a direct current vector control method to control a single-phase inverter under three different filtering schemes. Example advantages of the described control method include: 1) a vector control strategy that overcomes the competing control deficiency of the conventional standard vector control, 2) a control method that does not require damping, 3) a robust control technique that has adequate performance even under variable system parameter, distorted grid voltage, and grid voltage drop conditions, and 4) a control approach that can determine the best control action when the GCC physical constraints are reached. Both simulation and hardware tests demonstrate that the proposed control approach, even without using any damping strategies, has great performance in controlling the single-phase inverters with different filtering schemes.
Computing Device
It should be appreciated that the logical operations described herein with respect to the various figures may be implemented (1) as a sequence of computer implemented acts or program modules (i.e., software) running on a computing device, (2) as interconnected machine logic circuits or circuit modules (i.e., hardware) within the computing device and/or (3) a combination of software and hardware of the computing device. Thus, the logical operations discussed herein are not limited to any specific combination of hardware and software. The implementation is a matter of choice dependent on the performance and other requirements of the computing device. Accordingly, the logical operations described herein are referred to variously as operations, structural devices, acts, or modules. These operations, structural devices, acts and modules may be implemented in software, in firmware, in special purpose digital logic, and any combination thereof. It should also be appreciated that more or fewer operations may be performed than shown in the figures and described herein. These operations may also be performed in a different order than those described herein.
When the logical operations described herein are implemented in software, the process may execute on any type of computing architecture or platform. For example, referring to
Computing device 6300 may have additional features/functionality. For example, computing device 6300 may include additional storage such as removable storage 6308 and non-removable storage 6310 including, but not limited to, magnetic or optical disks or tapes. Computing device 6300 may also contain network connection(s) 6316 that allow the device to communicate with other devices. Computing device 6300 may also have input device(s) 6314 such as a keyboard, mouse, touch screen, etc. Output device(s) 6312 such as a display, speakers, printer, etc. may also be included. The additional devices may be connected to the bus in order to facilitate communication of data among the components of the computing device 6300. All these devices are well known in the art and need not be discussed at length here.
The processing unit 6306 may be configured to execute program code encoded in tangible, computer-readable media. Computer-readable media refers to any media that is capable of providing data that causes the computing device 6300 (i.e., a machine) to operate in a particular fashion. Various computer-readable media may be utilized to provide instructions to the processing unit 6306 for execution. Common forms of computer-readable media include, for example, magnetic media, optical media, physical media, memory chips or cartridges, a carrier wave, or any other medium from which a computer can read. Example computer-readable media may include, but is not limited to, volatile media, non-volatile media and transmission media. Volatile and non-volatile media may be implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data and common forms are discussed in detail below. Transmission media may include coaxial cables, copper wires and/or fiber optic cables, as well as acoustic or light waves, such as those generated during radio-wave and infra-red data communication. Example tangible, computer-readable recording media include, but are not limited to, an integrated circuit (e.g., field-programmable gate array or application-specific IC), a hard disk, an optical disk, a magneto-optical disk, a floppy disk, a magnetic tape, a holographic storage medium, a solid-state device, RAM, ROM, electrically erasable program read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices.
In an example implementation, the processing unit 6306 may execute program code stored in the system memory 6304. For example, the bus may carry data to the system memory 6304, from which the processing unit 6306 receives and executes instructions. The data received by the system memory 6304 may optionally be stored on the removable storage 6308 or the non-removable storage 6310 before or after execution by the processing unit 6306.
Computing device 6300 typically includes a variety of computer-readable media. Computer-readable media can be any available media that can be accessed by device 6300 and includes both volatile and non-volatile media, removable and non-removable media. Computer storage media include volatile and non-volatile, and removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. System memory 6304, removable storage 6308, and non-removable storage 6310 are all examples of computer storage media. Computer storage media include, but are not limited to, RAM, ROM, electrically erasable program read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by computing device 6300. Any such computer storage media may be part of computing device 6300.
It should be understood that the various techniques described herein may be implemented in connection with hardware or software or, where appropriate, with a combination thereof. Thus, the methods and apparatuses of the presently disclosed subject matter, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium wherein, when the program code is loaded into and executed by a machine, such as a computing device, the machine becomes an apparatus for practicing the presently disclosed subject matter. In the case of program code execution on programmable computers, the computing device generally includes a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. One or more programs may implement or utilize the processes described in connection with the presently disclosed subject matter, e.g., through the use of an application programming interface (API), reusable controls, or the like. Such programs may be implemented in a high level procedural or object-oriented programming language to communicate with a computer system. However, the program(s) can be implemented in assembly or machine language, if desired. In any case, the language may be a compiled or interpreted language and it may be combined with hardware implementations.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
This application claims the benefit of U.S. Provisional Patent Application No. 62/158,790, filed on May 8, 2015, entitled “SYSTEMS AND METHODS FOR PROVIDING VECTOR CONTROL OF A GRID CONNECTED CONVERTER WITH A RESONANT CIRCUIT GRID FILTER,” the disclosure of which is expressly incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
62158790 | May 2015 | US |