A Novel Neural Network Vector Control for Single-phase Grid-connected Converters with L, Lc and Lcl Filters

This paper investigates a novel recurrent neural network (NN)-based vector control approach for single-phase grid-connected converters (GCCs) with L (inductor), LC (inductor-capacitor) and LCL (inductor-capacitor-inductor) filters and provides their comparison study with the conventional standard vector control method. A single neural network controller replaces two current-loop PI controllers, and the NN training approximates the optimal control for the single-phase GCC system. The Levenberg–Marquardt (LM) algorithm was used to train the NN controller based on the complete system equations without any decoupling policies. The proposed NN approach can solve the decoupling problem associated with the conventional vector control methods for L, LC and LCL-filter-based single-phase GCCs. Both simulation study and hardware experiments demonstrate that the neural network vector controller shows much more improved performance than that of conventional vector controllers, including faster response speed and lower overshoot. Especially, NN vector control could achieve very good performance using low switch frequency. More importantly, the neural network vector controller is a damping free controller, which is generally required by a conventional vector controller for an LCL-filter-based single-phase grid-connected converter and, therefore, can overcome the inefficiency problem caused by damping policies.


Introduction
In small-scale photovoltaic and residential electric vehicle charging applications, single-phase grid-connected converters (GCCs) are serving as the critical interface between renewable energy sources and the utility grid [1][2][3].Filters are required to connect a GCC to the grid in order to attenuate the switching harmonics generated by GCCs.Typical filters in GCC applications are L (inductor) and LCL (inductor-capacitor-inductor) filters.The LC ( inductor-capacitor) filter-based GCC is also used, particularly in microgrid applications [4].
In existing technologies, vector control is widely used to control three-phase GCCs [5,6], due to its great advantages.However, to apply vector control to a single-phase GCC, an imaginary circuit needs to be created.To create the imaginary circuit, the simplest way is to delay real circuit variables by a quarter cycle of the fundamental period [7].Nevertheless, this will result in a delay of the system, thereby deteriorating the system dynamic response.Another simple method is to use differentiation [8] to avoid the delay.However, under distorted grid voltage conditions, the performance of the differentiation approach can be deteriorated significantly.A more complicated fictive axis emulation technique to create the imaginary circuit with a fictive axis running concurrently with the real circuit [9] was proposed to improve the poor dynamics of the conventional approaches.
The basis of vector control for a single-phase GCC is equivalent to that for a three-phase GCC.However, recent studies indicate that the standard vector controllers show limitations [10], in particular decoupling inaccuracy.Even for a grid-connected inverter with a simple L filter, the conventional standard approach still surfers from the decoupling inaccuracy problem.Generally, in the stage of designing and tuning a conventional vector controller, the control policy is to drop the cross-coupling terms (normally called compensation terms), which are then added back to the conventional controller to formulate the final control action in the implementation.This strategy would present a decoupling inaccuracy and deteriorate the performance of a conventional vector controller.Especially when the output filter is an LCL filter, it could cause potential oscillatory and/or unstable dynamic behavior if the LCL filter or the controller is not properly damped [6].
Due to the challenges associated with creating the imaginary circuit for a single-phase GCC,single-phase active power and reactive power (p-q) theory [11,12] has been proposed and used to directly control the instantaneous active and reactive power flow through the inverter to the grid [13,14].However, some research [15,16] indicated that the p-q theory misinterprets the power properties of electrical systems.It was also pointed out in [17] that a fast current-loop controller is critical to assure the highest power quality in terms of harmonics and unbalance for a GCC.Therefore, developing advanced vector control technology with nested power and current control loops is critical for the control of single-phase GCCs.
Besides the p-q theory, most of the dominate control strategies for a single-phase inverter are proportional resonant (PR) and sliding mode control.The PR control has been studied by many researchers [3,18,19].The advantage of the PR control is that it does not need to create the imaginary circuit.Even though the PR control does not show steady-state error in grid current, however, this kind of control strategy is sensitive to the frequency variations in the system.Further, it generally needs a high sampling frequency (e.g., 15 kHz) and switching frequency (e.g., 15 kHz) [3], which tend to cause more energy loss.The sliding-mode control [20] of a single-phase grid-connected converter with an LCL filter has been done by many researchers to solve its associated instability issues [21,22], which is a robust controller with a high stability in a wide range of operating conditions; however, the sliding-mode control suffers from the well-known chattering problem.
Recently, significant research has been reported on dynamic programming (DP) [23] for the optimal control of nonlinear systems [24].Adaptive critic designs (ACD) constitute a class of approximate dynamic programming (ADP) methods, which use incremental optimization techniques combined with parametric structures to approximate the optimal cost and control of a system [25,26].Heuristic dynamic programming (HDP) and dual heuristic programming (DHP) were proposed and implemented to control a turbogenerator [27].In [28,29], an ADP-based neural network (NN) controller is trained to control a three-phase L filter-based GCC system.The ADP-based NN control of the three-phase [30] and single-phase [31] LCL filter-based GCC systems was also reported, which demonstrated an excellent performance compared to a conventional vector controller.
However, no comprehensive research has been conducted on how to develop an NN vector controller for single-phase GCCs with L, LC and LCL filters, as well as a detailed comparison evaluation for single-phase applications, in particular.The purpose of this paper is to provide a whole picture for the novel NN vector control method for optimal vector control of a single-phase GCC with L, LC and LCL filters, as well as their comparison study.The special contributions of the paper include: (1) an NN-based approach to approximate optimal control of the single-phase GCC with all three different filtering schemes; (2) a method to train the recurrent neural network current-loop controller by the Levenberg-Marquardt (LM) algorithm based on the complete dynamic equation for L, LC and LCL filter-based GCC systems; (3) performance comparison between the NN vector controller and conventional vector controllers under power converter switching mode; and (4) hardware experiment validation and comparison in an AC/DC/DC application for all three types of filters.
The rest of the paper is structured as follows.Section 2 presents the conventional vector control method for a single-phase GCC system.Section 3 explains the proposed NN control topology.How to train the NN is discussed in Section 4. Section 5 investigates the performance comparison between the NN controller and conventional vector controllers in simulation.Section 6 presents the hardware experiment validation and comparison.Finally, the paper concludes with summary remarks in Section 7.

Single-Phase GCC
The upper half of Figure 1 shows the schematic of a single-phase GCC.A DC-link capacitor is on the left; a single-phase voltage source, standing for the grid voltage at the point of common coupling (PCC), is on the right; and an output filter is placed in the middle [2,3].The output filter is used to reduce the harmonics to the utility grid.Three basic types of filters include [32]: the L filter, the LC filter and the LCL filter (Figure 1).
The schematic of a single-phase grid-connected converter (GCC): real circuit and imaginary circuit.

Imaginary Circuit
To implement d-qvector control, an imaginary orthogonal circuit (the lower half of Figure 1) needs to be created based on the real circuit of the GCC.The imaginary circuit should have exactly the same amplitude as the real circuit, but π/2 phase shift.The real and imaginary circuits constitute the α-β frame of the GCC system, which then can be transferred into the d-q frame [7].

Mathematical Model in the d-q Frame
In the d-q frame, the mathematics model of an L filter-based single-phase GCC is Equation (1): For an LC filter-based GCC, the system equations are represented by Equations ( 2) and (3).
Equation (4) describes the system equation of an LCL filter-based GCC [33].
In Equations ( 1)-(4), ω s represents the angular frequency of the grid voltage; all other symbols are consistent with those specified in Figure 1.The corresponding relationships of all of the variables between the d-q domain and the single-phase circuit domain are the following: 2.4.Conventional Decoupled Vector Control 2.4.1.The Single-Phase L Filter GCC The conventional vector control method for a single-phase L filter GCC is the same as that for a three-phase L filter GCC [7].The controller design [10] for the current loop is developed by rewriting Equation (1) as: in which those items denoted as v d and v q are treated as the state equations between the input voltages and output currents for the dand q-axis current loops, with the other terms regarded as compensation items, which are normally omitted in designing or tuning a convectional vector controller.The current-loop controller is designed based on the corresponding transfer function 1/(R 1 + L 1 s) [5].

The Single-Phase LC Filter and LCL Filter GCC
For a single-phase GCC with an LC filter or LCL filter, one possible vector control policy is to omit the capacitance and to simplify the system into the corresponding L filter system [5].Thus, the vector control approach for an LC filter or LCL filter system takes exactly the same policy as that for an L filter system.This additional approximation would further increase the decoupling inaccuracy issue.
The controller design of the current loop is developed based on Equations ( 7) and ( 8), in which, for the LC filter system, R eq = R 2 and L eq = L 2 ; for the LCL filter system, R eq = R c3 + R g3 and However, this simplification would result in an imprecise description of the system and potential oscillatory and/or unstable dynamic behavior if the LC/LCL filter or the controller is not properly damped [6,10].Figure 2 illustrates the common conventional decoupled vector control configuration for L, LC and LCL filter-based single-phase GCCs.In Figure 2, L eq equals L 1 , L 2 and L c3 + L g3 , respectively, for L, LC and LCL filter-based GCC controllers.
Conventional decoupled vector control for simplified single-phase GCC with the L filter, the LC filter or the LCL filter.

Neural Network Vector Control Architecture
Figure 3 demonstrates the proposed neural network vector control architecture for a single-phase GCC.The nested-loop controller consists of a slow outer loop and a fast inner loop [34,35].The neural network plays the role of the inner current-loop controller.The outer control loops still utilize PI controllers.Under the PCC voltage-oriented frame [10], the d-axis loop is for active power or DC-link voltage control, and the q-axis loop is used for reactive power or grid voltage support control.In Figure 3, v dc1 stands for the converter output voltage.v g and v * g are the single-phase PCC voltage and created imaginary single-phase PCC voltage, respectively, and their corresponding voltages in the d-q domain v d and v q .i g and i * g stand for the single-phase current and created imaginary single-phase current, respectively, flowing, and their corresponding currents in the d-q domain are i d and i q .v * d1 and v * q1 are dand q-axis control voltages from the NN outputs.For the single-phase GCC system with three different kinds of filters, the same NN vector control architecture was proposed.The controller will be trained based on complete system dynamic equations and without using any special decoupling policies or damping methods.For all three filtering schemes, the controller just needs measured grid current, grid voltage and DC-link voltage to achieve the closed-loop current control, which would make it convenient to implement the NN vector control in real-life conditions.

Neural Network Controller Structure
Figure 4 shows the proposed current-loop NN controller, which contains two parts: an input preprocessing block and a four-layer feed-forward neural network.The inputs are first regulated into the range [−1, 1] through a preprocessing procedure to avoid input saturation.The feed-forward neural network takes tanh( − → e dq /Gain) and tanh( − → s dq /Gain2) as inputs, where − → e dq and − → s dq are error terms and the integrals of the error terms.− → e dq is defined as − → in which − → e dq (0)≡ − → 0 and the trapezoid formula was used to compute the integral term − → s dq (k).The feed-forward NN contains two hidden layers, and each hidden layer has six nodes.The output layer has two nodes, which generates two d-q voltage control signals.The hyperbolic tangent functions are used as transfer functions at all nodes.Two hidden layers generally yield a stronger approximation ability [36].The selection of the number of neurons in each hidden layer was done through trial and error tests [30].
The proposed NN controller in Figure 3 actually is a recurrent neural network (RNN) because the feedback signal of the system acts as a recurrent connection for the NN from the output back to the input, though the feed-forward NN does not have a clear feedback weight.
According to Figure 4, the NN controller, denoted as R( − → e dq , − → s dq , − → w ), is a function of − → e dq , − → s dq and network weights − → w .Because the ratio of the converter output voltage −→ v dq1 to the outputs of the current loop controller −→ v * dq1 is the gain of the pulse-width-modulation (PWM), which is denoted as k PW M [37], the control action −→ v dq1 can be expressed as: To prevent the NN controller from the affection of the GCC voltage variation, the PCC disturbance voltage is introduced to the output of a well-trained neural network [29].
where − − → v dqn is nominal PCC voltage and − → v dq is the actual PCC voltage.The PCC disturbance voltage can calculated by ( − − → v dqn -− → v dq ).The implementation of Formula ( 11) is circled by the grey dashed lines in Figure 4, in which − − →

Training Objective: Approximate Optimal Control
Dynamic programming (DP) employs the principle of Bellman's optimality [23] and can serve as a great tool for solving optimal control problems [25].
We define the DP cost function for the NN training as: where γ is a discount factor with 0 < γ ≤ 1 and U is called the local cost or utility function.The cost function C dp is referred to as the cost-to-go of state − → i dq (j), which depends on the initial time j > 0 and the initial state − → i dq (j).The purpose of the NN training is to find the optimal weights, so that the DP cost C dp in Equation ( 12) is minimized.

NN Training Algorithm: Levenberg-Marquardt
The Levenberg-Marquardt (LM) algorithm appears to be the fastest neural network training algorithm for a moderate number of network parameters [38], and also, LM usually can achieve better convergency performance than Backpropagation through time (BPTT) algorithm in training the recurrent neural network [39].Therefore, the LM algorithm was used to train the NN controller for single-phase GCCs.
The LM algorithm requires that the cost function defined in Equation ( 12) be rewritten in a sum-of-squares form.The cost function C dp with γ = 1, j = 1 and k = 1, • • • , N (N stands for the trajectory length) can be reformed as: and the gradient ∂C dp ∂w can be written in a matrix product form: where the Jacobian matrix J v ( − → w ) is: The weights update formula [38,40,41] for a NN controller can be expressed as: For a GCC system with an L, LC or LCL filter, the calculation of Jacobian matrix J v ( − → w ) needs to pass through the corresponding system dynamic equations, e.g., Equation (1) for the L filter, Equations ( 2) and (3) for the LC filter and Equation (4) for the LCL filter, which is the main difference in implementing the training process of the proposed NN vector control for the three different filtering schemes.The works in [30,39] illustrate the efficient forward accumulation through time (FATT) algorithm used to calculate J v ( − → w ) for the L filter-and the LCL filter-based GCCs, respectively.The training process for an LC filter-based GCC is similar to that for an LCL filter-based GCC because the LC filter could be considered as a special case of an LCL filter in calculating the J v ( − → w ).
Figure 5 demonstrates that the LM algorithm dynamically adjusts µ to ensure that the DP cost function keeps decreasing [36,38].The difference in training an NN controller for an L, LC and LCL filter-based GCC only exists in the box highlighted in yellow in Figure 5, which is the calculation of the Jacobian matrix as explained above.In Figure 5, µ max , β de , β in , Epoch max and ∂C dp /∂ − → w min stand for maximum µ, the decreasing and increasing factors, the maximum number of training epochs and the norm of the minimum gradient, respectively.The initial µ is set as 0.001, β de = 0.1, and β in = 10 [36].The Cholesky factorization was used to calculate the weights update in Equation ( 16), which is roughly twice as efficient as the Lower-Upper (LU) decomposition for solving systems of linear equations [42].
The training stops when: (1) the training epoch reaches a maximum value Epoch max ; (2) µ is larger than µ max ; or (3) the gradient is smaller than the predefined minimum value ∂C dp /∂ − → w min .In our training process, Epoch max was set as 200; µ max was selected as 1 × 10 10 ; and ∂C dp /∂ − → w min was chosen as 1 × 10 −10 .

Training Implementation
Table 1 specifies the parameters of a single-phase GCC system.Most system parameters are from [43,44]; the capacitor values were selected as 20 µF to provide better attenuation results.Figure 6 compares the frequency response of three different filters corresponding to harmonic currents injected into the grid, in which the peaks stand for resonant frequencies.The average DP cost per trajectory shown in Figure 7 drops to a small value very quickly within 100 iterations and then stabilizes at this value, demonstrating a good convergence result of the LM training algorithm.

Performance Evaluation
To evaluate the tracking performance of the NN controller and to compare it to conventional vector controllers, the integrated transient simulation systems were developed for all three filter schemes based single-phase GCC systems using the MATLAB SimPowerSystems toolbox.Figure 8 gives an example of a single-phase GCC Simulink model with the output filter.For the conventional vector control method, the current-loop PI controller was tuned by the PID tuner function within the PID controller block in MATLAB as shown in Figure 9.For L filter GCC, R eq = R 1 and L eq = L 1 .For LC filter GCC and LCL filter GCC, R eq and L eq follow the analysis in Section 2.4.2.The phase margin was set as 60 deg, and the bandwidth was chosen as 1500 rad/s, which tends to yield the best results considering the PWM saturation constraints.As R eq and L eq take the same value for the three different kinds of filters analyzed in this paper, the conventional controller for all three filtering schemes uses the same PI parameters to control a GCC.For all simulations of Section 5, T s = 0.1 ms was used if not specified.Switching frequency f s = 6000 Hz was chosen according to the frequency response plot shown in Figure 6.

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 Figure 10a,b.However, lower overshoot was observed from the corresponding single-phase PCC current at t = 1 s under the NN vector control (Figure 10d) compared to the conventional vector control (Figure 10c).With the imaginary circuit created by using the differentiation method, the conventional vector control demonstrated a poor performance in Figure 11a: very large oscillations.This is due to the fact that the grid oscillations could cause inaccuracies of the imaginary circuit created by using the differentiation method.However, the NN vector control still performed very well in Figure 11b: less oscillations and lower overshoot.

LC Filter-Based GCC
Compared to conventional vector control Figure 12a,c for LC filter-based GCC, the NN vector control showed good tracking ability (Figure 12b,d), as expected, such as lower overshoot and faster response speed.The NN vector control seems to be able to combine fast response speed and low overshoot together and provide good performance to approximate optimal control.

LCL Filter-Based GCC
To overcome the resonance phenomenon of the LCL filter, the passive damping method was adopted in developing conventional vector control [45].The resonance frequency can be calculated using Equation (17) [46].
Thus, a series resistors was chosen as R pd = 7.71 Ω according to Equation ( 18) [5]:  The NN-based vector control is a damping free approach, i.e., it does not require any special damping policies, which is needed for conventional vector control.Figures 12b and 13d demonstrate that the NN vector control still performed better than conventional vector control for the LCL filter-based GCC under no damping condition.Another feature is that the sampling rate for the NN vector control is T s = 1 ms, while for conventional vector control, it has to be 0.1 ms to assure the stable operation of the controller.

Experiment Setup
To validate the proposed NN vector control approach, a hardware-in-the-loop test system for a single-phase GCC in an AC/DC/DC converter application was built.This converter configuration is widely used in solar photovoltaic systems.Figure 14 demonstrates an example of the AC/DC/DC converter, in which the left-side power source represents the grid and the right-side stands for a renewable energy source (RES), e.g., a solar panel or array.The hardware setups are as follows: (1) an AC/DC converter was connected to a variable single-phase AC power supply using LabVolt [47] standing for the grid; (2) an adjustable single-phase DC power supply standing for an RES was connected to a DC/DC converter; (3) all of the filters were built using LabVolt smoothing inductors and capacitors; (4) a dSPACE digital control system controlled the the AC/DC converter and sent out the control signals [48]. Figure 15 demonstrates an example of the AC/DC/DC converter experiment with an L filter.The power balance principle is used to develop the DC-link voltage controller, and its corresponding plant transfer function V d V dc C•s was utilized to tune the PI controller [34,49].The tuning process for the voltage loop is the same as that for the current loop described in Section 5. Unlike the fast inner current loop, the voltage loop must be slow because it takes time to charge the capacitor [50].For the voltage controller, the phase margin was set as 60 deg, and the bandwidth was chosen as 4 rad/s.In our experiments, any bandwidth larger than 4 rad/s failed to maintain the DC-link voltage constant when using the conventional vector control.For NN vector control, a relatively faster voltage-loop controller was adopted with its bandwidth selected as 8 rad/s due to the good current tracking ability.

Experiment 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.

L Filter-Based GCC
Figure 16 shows the experiment results of the AC/DC/DC converter with an L filter under the conventional vector control, and Figure 17 shows the corresponding results under the NN vector control.Whenever there was a change in i q_ref (Figure 16c), an obvious voltage overshoot was seen from the DC-link voltage waveform under the conventional vector control (Figure 16a).However, when using the NN vector control, no overshoot was observed (Figure 17a) even for a larger variation of i q_ref (Figure 17c).In fact, under i q_ref = −0.7A condition, the NN vector control can still maintain DC-link voltage, while the conventional vector control failed in this i q_ref reference current.During the random changing period as shown by Figure 16b, the dc-link voltage showed large oscillations using the conventional vector control (Figure 16a).However, the NN vector control can still maintain the DC-link voltage at the reference voltage very well (Figure 17a,b).
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 (Figure 17d) than under the conventional vector control (Figure 16d).
Note that the NN vector control results (Figure 17) were obtained under a low switching frequency f s = 1980 Hz, while the conventional vector control results (Figure 16) were obtained under a switching frequency f s = 3000 Hz.We found that the distortion was even worse for the conventional vector control if the switching frequency is 1980 Hz.Only when the switching frequency was increased to 6000 Hz, the conventional vector control can achieve a performance close to that of NN vector control.However, conventional vector control using a high frequency could cause more power loss than NN vector control with low f s .

LC Filter-Based GCC
Figure 18 demonstrates the experiment results of the AC/DC/DC converter with an LC filter by using the NN vector control method.The system with the LC filter showed less oscillations in the DC-link voltage and much improved power quality (Figure 18a) than that with the L filter (Figure 17a).

LCL Filter-Based GCC
Figure 19 demonstrates the experiment results of the AC/DC/DC converter with an LCL filter by using the NN vector control method.For the LCL filter-based system, the overall performance is even better (Figure 19a).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 were used, the conventional vector control method still failed to provide good performance in the AC/DC/DC converter experiments.
In the lab experiment setups, the system contains much noise, e.g., measurement noise from sensors.Further, the distorted grid voltage increases the control difficulty.However, in general, the NN vector control showed very good performance for the 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.

Conclusions
The paper proposed a common NN vector control structure for the single-phase GCC system no matter what kind of filter is used, which simplifies the controller design and real-life implementation.In both the simulation evaluation and hardware experiments, the neural network control technique has demonstrated superior performance to the conventional control approach, e.g., faster response time, lower overshoot and less oscillation.The NN control overcomes the decoupling inaccuracy associated with designing conventional vector controllers for GCC systems.Especially, for single-phase GCC with an LCL filter, the neural network vector control does not require any damping policy.The NN vector control technique significantly reduces the harmonics and benefits the integration of small-scale renewable resources to the grid.
The paper also studied two different methods to generate the imaginary circuit.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 by this problem and performs very well in general.The success of the hardware experiments validates the feasibility to implement the proposed NN control for single-phase inverters in real-life conditions.

Figure 3 .
Figure 3. Neural network vector control architecture for a single-phase GCC.

Figure 6 .
Figure 6.Frequency response of three different filters.

Figure 7 .
Figure 7. Average dynamic programming (DP) cost per trajectory for training the neural controller.

Figure 8 .
Figure 8. Simulink models of the single-phase GCC with the output filter.

Figure 9 .
Figure 9. Block diagram for tuning the current-loop PI controller. 0

Figure 10 .
Figure 10.Comparisons for L filter-based GCC.(a) Conventional vector control: d-q currents; (b) NN vector control: d-q currents; (c) conventional vector control: single-phase current; (d) NN vector control: single-phase current.

Figure 11 .
Figure 11.Comparisons for L filter-based GCC with the imaginary circuit created by using the differentiation method.(a) Conventional vector control: d-q currents; (b) NN vector control: d-q currents.

Figure 15 .
Figure 15.The hardware experiment testing system.

Figure 16 .
Figure 16.Conventional vector control for the AC/DC/DC converter with the L filter.(a) DC-link voltage; (b) point of common coupling (PCC) q-axis current waveform; (c) PCC q-axis current waveform; (d) single-phase current waveform.

Figure 17 .
Figure 17.NN vector control for the AC/DC/DC converter with the L filter.(a) DC-link voltage; (b) PCC q-axis current waveform; (c) PCC q-axis current waveform; (d) single-phase current waveform.

Figure 18 .
Figure 18.NN vector control for the AC/DC/DC converter with the LC filter.(a) DC-link voltage; (b) PCC q-axis current waveform; (c) PCC q-axis current waveform; (d) single-phase current waveform.

Figure 19 .
Figure 19.NN vector control for the AC/DC/DC converter with the LCL filter.(a) DC-link voltage; (b) PCC q-axis current waveform; (c) PCC q-axis current waveform; (d) single-phase current waveform.

Table 2
specifies all of the experiments' parameters.The damping resistor for the LCL filter is R pd + R Cin = 25 Ω for conventional vector control.The NN controller was retrained based on Table2.The sampling time T s = 0.1 ms was used for all hardware experiments.

Table 2 .
The system parameters in the hardware experiment.