Proposing Wavelet-Based Low-Pass Filter and Input Filter to Improve Transient Response of Grid-Connected Photovoltaic Systems

Abstract: Available photovoltaic (PV) systems show a prolonged transient response, when integrated into the power grid via active filters. On one hand, the conventional low-pass filter, employed within the integrated PV system, works with a large delay, particularly in the presence of system’s low-order harmonics. On the other hand, the switching of the DC (direct current)–DC converters within PV units also prolongs the transient response of an integrated system, injecting harmonics and distortion through the PV-end current. This paper initially develops a wavelet-based low-pass filter to improve the transient response of the interconnected PV systems to grid lines. Further, a damped input filter is proposed within the PV system to address the raised converter’s switching issue. Finally, Matlab/Simulink simulations validate the effectiveness of the proposed wavelet-based low-pass filter and damped input filter within an integrated PV system.


Introduction
Rapid growth of non-linear loads increases the presence of harmonics in power systems.These harmonics lead to the false operation of circuit breakers and relays, reduction in transmission system efficiency, malfunction of electronic equipment, and overheating of transformers.Thus, active filters are introduced within power systems to address the issue.Further, the active filters are also employed to integrate the renewable distributed sources, like photovoltaic (PV) units to power systems [1].Nonetheless, the available active filters work inaccurately, since the employed second-order low-pass filter within their compensation algorithms (namely advanced generalized theory of instantaneous power (A-GTIP) algorithm [2], synchronous reference frame d-q-r algorithm [3], and the p-q-based method) works with a large delay [4].Accordingly, the active filter's reaction time also worsens the transient response of an integrated PV unit to the power system.Meanwhile, when the grid-end current contains low-order harmonics, the conventional second-order low-pass filter is unable to fully separate the positive-sequence component of grid-end active power [5].This additionally results in the malfunction of employed active filter.Furthermore, the injection of generated PV power to AC grid will be prolonged due to the large delay of the second-order low-pass filter.To address these issues, this paper develops a wavelet-based low-pass filter, using the second generation wavelet theory [6][7][8][9][10].Then, the wavelet-based low-pass filter is applied to an advanced universal power quality conditioning system (AUPQS) ( [2] for the AUPQS active filter).The improved AUPQS is able to fully suppress power system harmonics and distortions in a less transient response time.Further, the developed lifting-based wavelet filter is also applied to extract the positive sequence of generated PV power.
In [25][26][27], new topologies were suggested for high-order power filters for single-phase grid-tied voltage source inverters.These suggestions are the same, as this paper focused on compensating the harmonics and distortions generated through grid-tied inverters.This paper, moreover, considers and improves the transient response of the grid-tied photovoltaic (PV) system by accurately selecting the proposed input filter's elements.
Here, the input filter is proposed to eliminate the DC-DC converter switching effect on PV systems.However, if not designed well, the input filter would change the dynamics of the integrated PV system, inserting two unstable complex poles into the system transfer function.This results in the PV system working unstably.Hence, this paper introduces an optimized damped input filter as a solution, addressing the issue, while providing higher electrical efficiency to the integrated PV system.
This paper initially briefly analyzes the lifting-based wavelet theory to develop a wavelet-based low-pass filter.Further, the wavelet-based low-pass filter is employed through the AUPQS controller to extract the positive sequence components of both the grid-end active power and the generated PV power.Accordingly, the transient response of an integrated PV unit to the power system using the AUPQS is discussed.Furthermore, a damped input filter is designed to eliminate the DC-DC converter's switching effect within the integrated PV system, and the principles and criteria needed to be taken into account for damping the designed input filter are presented.Finally, Matlab/Simulink Software (MathWorks, Miami, FL, USA) is employed to verify the effectiveness of the proposed wavelet-based low-pass filter, as well as the accuracy of the suggested damped input filter within an integrated PV system to the power supply.

Practical Issues and Proposed Solutions
As shown in Figure 1, two solutions exist to improve the transient response of an integrated PV/grid system.The first is to employ a wavelet-based low-pass filter instead of the conventional low-pass filters within both the AUPQS and PV unit.The second is to use a damped input filter within the PV's DC-DC converter to shorten the transient response.These solutions are investigated here through two subsections.
In [25][26][27], new topologies were suggested for high-order power filters for single-phase grid-tied voltage source inverters.These suggestions are the same, as this paper focused on compensating the harmonics and distortions generated through grid-tied inverters.This paper, moreover, considers and improves the transient response of the grid-tied photovoltaic (PV) system by accurately selecting the proposed input filter's elements.
Here, the input filter is proposed to eliminate the DC-DC converter switching effect on PV systems.However, if not designed well, the input filter would change the dynamics of the integrated PV system, inserting two unstable complex poles into the system transfer function.This results in the PV system working unstably.Hence, this paper introduces an optimized damped input filter as a solution, addressing the issue, while providing higher electrical efficiency to the integrated PV system.This paper initially briefly analyzes the lifting-based wavelet theory to develop a wavelet-based low-pass filter.Further, the wavelet-based low-pass filter is employed through the AUPQS controller to extract the positive sequence components of both the grid-end active power and the generated PV power.Accordingly, the transient response of an integrated PV unit to the power system using the AUPQS is discussed.Furthermore, a damped input filter is designed to eliminate the DC-DC converter's switching effect within the integrated PV system, and the principles and criteria needed to be taken into account for damping the designed input filter are presented.Finally, Matlab/Simulink Software (MathWorks, Miami, FL, USA) is employed to verify the effectiveness of the proposed wavelet-based low-pass filter, as well as the accuracy of the suggested damped input filter within an integrated PV system to the power supply.

Practical Issues and Proposed Solutions
As shown in Figure 1, two solutions exist to improve the transient response of an integrated PV/grid system.The first is to employ a wavelet-based low-pass filter instead of the conventional low-pass filters within both the AUPQS and PV unit.The second is to use a damped input filter within the PV's DC-DC converter to shorten the transient response.These solutions are investigated here through two subsections.Wavelet transform approximates the power signals based on their involved correlation in time and frequency.The conventional wavelet transform, based on the Fourier series, translates/dilates a few basic shapes to build the time-frequency localization of a signal [28,29].However, this wavelet transform method cannot perfectly reconstruct every signal, since its reverse transform includes rounding errors within the floating point operation.Moreover, in the traditional wavelet method, the original signal cannot be replaced with its wavelet transform.So, the extra auxiliary memory is always needed.Thus, the second-generation wavelet transform, based on the lifting scheme, is introduced in the spatial domain.The lifting method does not depend on Fourier transforms, i.e., translation/dilation of one specific function.It also does not involve complex mathematical calculations, so that a full in-place calculation becomes possible.Now the question is do the lifting schemes are always exist for every traditional wavelet transform.As shown in [5][6][7][8][9][10], the lifting scheme always exists for a wavelet transform as long as the determinant of its ploy-phase matrix equals one.This means that the pair of high-pass and low-pass finite impulse response (FIR) filters was complementary.The lifting-based wavelet transforms comprise following steps.First step is to split the data into odd and even sets.Then, low-frequency signals would be "updated" within the prime lifting step and the high-frequency signals are so called "predicted" within the dual lifting step.
(A) Splitting step Different methods can be used to split a signal into two parts, such as directly cutting of the sampled sequence into left and right sets.However, in that case, the sampled signal in each part may not be well-correlated.In other words, predicting of one set using the other set is not an easy job.Another method is to classify the data sequence based on the odd and even frames as it is shown in Equation (1).
In traditional multi-resolution wavelet method, the odd/even splitting step is assumed at the end of each decomposition step using down-sampling.This means low and high-pass filters' coefficients are first calculated, and then half of them throw away inefficiently.However, the second-generation wavelet method initially interlaces the sampled signal into odd/even datasets (Equation (1)), and then the low-frequency and high-frequency signals are evaluated as follows through both update and predict steps: where h(z) and g(z) are low-pass and high-pass FIR filters, which are determined based on a mother wavelet, "e" and "o" denote the even and odd sequences, respectively.λ(z) contains the low-frequency signal coefficients and γ(z) includes the high-frequency signal coefficients.datasets from the even sets.It is worth noting that several lifting schemes are possible for a specific mother wavelet.Two common lifting schemes are as follows: where P(z) is the reconstruction poly-phase matrix that rebuilds the original signal from its lifting scheme.S(z) and t(z) are Laurent polynomials that stand for prime lifting (update) and dual lifting (predict) steps, respectively.
The extracted coefficients (i.e., t i (z), S i (z)) from each of the common structures in Equation ( 2) should be applied to their respective lifting block diagrams (Figure 2a,b).
Energies 2016, 9, 653 4 of 15 where P(z) is the reconstruction poly-phase matrix that rebuilds the original signal from its lifting scheme.S(z) and t(z) are Laurent polynomials that stand for prime lifting (update) and dual lifting (predict) steps, respectively.
The extracted coefficients (i.e., ti(z), Si(z)) from each of the common structures in Equation ( 2) should be applied to their respective lifting block diagrams (Figure 2a,b).

Lifting Scheme-Based Low-Pass Filter
A wavelet-based low-pass filter is employed here instead of the conventional low-pass filters to extract the positive sequence component of power signal.This positive power extraction is needed for two reasons.First, is to implement the A-GTIP compensation algorithm to accurately control the AUPQS system.Second, the positive sequence component of the generated PV power is extracted to be injected into grid lines.A wavelet-based low-pass filter, instead of the conventional low-pass filters within the A-GTIP control algorithm, highly improves the accuracy of the AUPQS.In [2], the A-GTIP compensation theory was proposed for controlling of active filters as follows: This suggestion leads to overcoming the inaccuracy of the available compensation algorithms under asymmetric and distorted three-phase load-terminal voltages.Nonetheless, the employed

Lifting Scheme-Based Low-Pass Filter
A wavelet-based low-pass filter is employed here instead of the conventional low-pass filters to extract the positive sequence component of power signal.This positive power extraction is needed for two reasons.First, is to implement the A-GTIP compensation algorithm to accurately control the AUPQS system.Second, the positive sequence component of the generated PV power is extracted to be injected into grid lines.A wavelet-based low-pass filter, instead of the conventional low-pass filters Energies 2016, 9, 653 5 of 15 within the A-GTIP control algorithm, highly improves the accuracy of the AUPQS.In [2], the A-GTIP compensation theory was proposed for controlling of active filters as follows: This suggestion leads to overcoming the inaccuracy of the available compensation algorithms under asymmetric and distorted three-phase load-terminal voltages.Nonetheless, the employed conventional low-pass filter, used to extract P 1 + (t) within the A-GTIP algorithm (Equation ( 3)), shows a prolonged transient response particularly in the presence of grid-end low-order harmonics.Therefore, a wavelet-based low-pass filter with a lower response time, instead of conventional low-pass filters, is proposed to shorten and improve the transient response time of the AUPQS.The block diagram of the proposed LWT filter within the AUPQS controller is shown in Figure 3.Here the developed wavelet-based low-pass filter is also used to attenuate the injected PV power to the grid in a less transient response time.

The Design Principles and Criteria
Switching of the DC-DC converter injects numerous harmonics through the PV-end current and voltage waveforms.The Fourier series of the PV-end current demonstrates the presence of these injected harmonics as follows: where ipv is the generated PV current, and I is the injected converter current into the power grid.D is the converter duty cycle.Thus, to suppress the harmonic components at the switching frequency, this paper employs an input filter.The proposed input filter (with transfer function of H(k• jω)) inserts high impedances in the frequencies equal to the PV-end harmonics (Equation (4) for H(k• jω)).In other words, the PV-end current harmonics are suppressed at all angular frequencies of kω.This results in a fast and smooth transient response of the PV's DC-DC converter.Nonetheless, the proposed input filter, if not designed well, deteriorates the stability of the PV system, inserting a pair of unstable poles into the PV system transfer function.Moreover, addition of the input filter leads the system output impedance becomes so large over wide frequency ranges that the PV power would be wasted into the input filter itself.Here, the extra element theorem is employed to analyze the effect of the inserted input filter into the PV system transfer function, since the extra element theorem is a useful tool to define the performance of a new inserted element within a system, as shown in Figure 4, with no need to redefine all unwanted circuit elements which have already been obtained.This means a new transfer function will be derived for the DC-DC converter within the PV system, which is based on the previous system transfer function, estimating the effect of the input filter on the system performance.As shown in Equation ( 5), there is no need to algebraically redefine all of the PV Here the developed wavelet-based low-pass filter is also used to attenuate the injected PV power to the grid in a less transient response time.

The Design Principles and Criteria
Switching of the DC-DC converter injects numerous harmonics through the PV-end current and voltage waveforms.The Fourier series of the PV-end current demonstrates the presence of these injected harmonics as follows: where i pv is the generated PV current, and I is the injected converter current into the power grid.D is the converter duty cycle.Thus, to suppress the harmonic components at the switching frequency, this paper employs an input filter.The proposed input filter (with transfer function of H(k•jω)) inserts high impedances in the frequencies equal to the PV-end harmonics (Equation (4) for H(k•jω)).In other words, the PV-end current harmonics are suppressed at all angular frequencies of kω.This results in a fast and smooth transient response of the PV's DC-DC converter.Nonetheless, the proposed input filter, if not designed well, deteriorates the stability of the PV system, inserting a pair of unstable poles into the PV system transfer function.Moreover, addition of the input filter leads the system output impedance becomes so large over wide frequency ranges that the PV power would be wasted into the input filter itself.Here, the extra element theorem is employed to analyze the effect of the inserted input filter into the PV system transfer function, since the extra element theorem is a useful tool to define the performance of a new inserted element within a system, as shown in Figure 4, with no need to redefine all unwanted circuit elements which have already been obtained.This means a new transfer function will be derived for the DC-DC converter within the PV system, which is based on the previous system transfer function, estimating the effect of the input filter on the system performance.As shown in Equation ( 5), there is no need to algebraically redefine all of the PV unwanted elements [20].
Energies 2016, 9, 653 6 of 15 If the control-to-output transfer function of the employed DC-DC converter is defined as Gold = v(s)/d(s) (Equation ( 5) for Gold), addition of an input filter to the switching converter leads to the system illustrated in Figure 4. To determine the control-to-output transfer function in the presence of the input filter, it is assumed that Vpv (i.e., PV voltage-terminal voltage in Figure 4) equals zero.Thus, the input filter can be treated as an impedance (Figure 4 for Z0(s)).Further, based on the extra element theorem, the following equation can be extracted as: where ZD(s) equals Zi(s), when the feedback signal (i.e., d(s)) of the DC converter becomes zero (see Equation ( 6) for ZD(s)).ZN(s) equals Zi(s) when the duty cycle of the DC-DC converter ideally varies so that the small-signal voltage variation at load-terminal becomes zero.And Z0(s) represents the input filter's impedance while the PV-end voltage is shortened.The parameters of ZD(s), ZN(s), and Z0(s) are calculated as follows [20]: Z0(s) in Equation ( 6) also indicates the filter resonant frequency, where the inductor and capacitor are intersected.Since the filter is un-damped (R = 0), the input filter does not satisfy the stability requirements of the new derived transfer function (substitute Equation (6) into Equation ( 5)).The solution is to include a resistance along with either capacitance or inductance within the input filter; then, it leads to have a damped input filter.However, the dissipated power by this inserted impedance can sometimes be even more than the system's load itself.Hence, optimum structures should be investigated [20,21].Under an optimum structure satisfying Equation ( 5), the inserted input filter consequently does not substantially change the magnitude of the new transfer function; because, the correction factor's gain within Equation ( 5) remains at unity.With these considerations, the designed input filter removes transients and disturbances of the PV system at the entrance of the DC-DC converter.If the control-to-output transfer function of the employed DC-DC converter is defined as G old = v(s)/d(s) (Equation ( 5) for G old ), addition of an input filter to the switching converter leads to the system illustrated in Figure 4. To determine the control-to-output transfer function in the presence of the input filter, it is assumed that V pv (i.e., PV voltage-terminal voltage in Figure 4) equals zero.Thus, the input filter can be treated as an impedance (Figure 4 for Z 0 (s)).Further, based on the extra element theorem, the following equation can be extracted as: where Z D (s) equals Z i (s), when the feedback signal (i.e., d(s)) of the DC converter becomes zero (see Equation (6) for Z D (s)).Z N (s) equals Z i (s) when the duty cycle of the DC-DC converter ideally varies so that the small-signal voltage variation at load-terminal becomes zero.And Z 0 (s) represents the input filter's impedance while the PV-end voltage is shortened.The parameters of Z D (s), Z N (s), and Z 0 (s) are calculated as follows [20]: 6) also indicates the filter resonant frequency, where the inductor and capacitor are intersected.Since the filter is un-damped (R = 0), the input filter does not satisfy the stability requirements of the new derived transfer function (substitute Equation (6) into Equation ( 5)).The solution is to include a resistance along with either capacitance or inductance within the input filter; then, it leads to have a damped input filter.However, the dissipated power by this inserted impedance can sometimes be even more than the system's load itself.Hence, optimum structures should be investigated [20,21].Under an optimum structure satisfying Equation ( 5), the inserted input filter consequently does not substantially change the magnitude of the new transfer function; because, the correction factor's gain within Equation (5) remains at unity.With these considerations, the designed input filter removes transients and disturbances of the PV system at the entrance of the DC-DC converter.

Optimal Design of the Damped Input Filter
The boost converter, like other switch converters, does not include time-invariant linear circuits.Thus, to control output transfer function of the boost converter, its small-signal linear model must be developed.Accordingly, extracting Z N and Z D (Equation ( 6)), and solving an optimization problem, the maximum allowable value for Z 0 is estimated with regard to the value of n (Equation ( 7) for Z 0 ).Several practical approaches are to damp the proposed input filter.Here, a parallel damping approach is used [20].In this method, a damping resistor (i.e., R f ) in series with an inductance (L dp ) are placed in parallel with the input filter's inductance (Figure 5 for L 1 and L 2 ).Inductor L dp causes the filter to exhibit a two-pole characteristics at high frequencies.However, the L dp should include a much smaller impedance value at the resonance frequency.This allows the R f to dampen the input filter.||Z 0 (jω)||for a given L dp is calculated by the following equations: where Q opt1 is the optimum Q-factor of the designed filter, R f1 represents the damping resistance, R filter1 is the original characteristic impedance (which equals to R filter1 = sqrt(L 1 /C 1 )), ||Z 0 (jω)|| introduces the optimum peak value of the output impedance of the designed input filter, and L dp stands for the inductance of the parallel damping branch, as shown in Figure 5. n is equal to L dp1 /L 1 .F f1 presents the input filter cut-off frequency of Section 1, and should be smaller than the cut off frequency of Section 2 (i.e., F f1 < F f2 ).As a result, the attenuation of Section 1 would be much greater than Section 2. For a cascaded input filter, this design procedure would be repeated to determine the optimum element values for each cascade section (Figure 5, for L 1 , C 1 , L 2 , and so on.)The optimization's goal is to minimize passive element values within the input filter.The boost converter, like other switch converters, does not include time-invariant linear circuits.Thus, to control output transfer function of the boost converter, its small-signal linear model must be developed.Accordingly, extracting ZN and ZD (Equation ( 6)), and solving an optimization problem, the maximum allowable value for Z0 is estimated with regard to the value of n (Equation (7) for Z0).Several practical approaches are to damp the proposed input filter.Here, a parallel damping approach is used [20].In this method, a damping resistor (i.e., Rf) in series with an inductance (Ldp) are placed in parallel with the input filter's inductance (Figure 5 for L1 and L2).Inductor Ldp causes the filter to exhibit a two-pole characteristics at high frequencies.However, the Ldp should include a much smaller impedance value at the resonance frequency.This allows the Rf to dampen the input filter.║Z0(jω)║for a given Ldp is calculated by the following equations: where Qopt1 is the optimum Q-factor of the designed filter, Rf1 represents the damping resistance, Rfilter1 is the original characteristic impedance (which equals to Rfilter1 = sqrt(L1/C1)), ║ Z0(jω) ║ introduces the optimum peak value of the output impedance of the designed input filter, and Ldp stands for the inductance of the parallel damping branch, as shown in Figure 5. n is equal to Ldp1/L1.Ff1 presents the input filter cut-off frequency of Section 1, and should be smaller than the cut off frequency of Section 2 (i.e., Ff1 < Ff2).As a result, the attenuation of Section 1 would be much greater than Section 2. For a cascaded input filter, this design procedure would be repeated to determine the optimum element values for each cascade section (Figure 5, for L1, C1, L2, and so on.)The optimization's goal is to minimize passive element values within the input filter.

Simulations and Discussion
To verify the effectiveness of both the proposed wavelet-based low-pass filter and the input filter, an integrated PV system-to-power grid using an active filter is simulated, as shown in Figure 6.This integrated system consists of PV arrays, an MPPT system, input filter, the DC-DC boost converter, and unbalanced non-linear capacitive loads, as well as the active filter (the AUPQS).The non-linear capacitive loads consist of three single-phase rectifiers plus a three-phase rectified load.Table 1 presents the parameters of the non-linear loads.

Simulations and Discussion
To verify the effectiveness of both the proposed wavelet-based low-pass filter and the input filter, an integrated PV system-to-power grid using an active filter is simulated, as shown in Figure 6.This integrated system consists of PV arrays, an MPPT system, input filter, the DC-DC boost converter, and unbalanced non-linear capacitive loads, as well as the active filter (the AUPQS).The non-linear capacitive loads consist of three single-phase rectifiers plus a three-phase rectified load.Table 1 presents the parameters of the non-linear loads.Table 1.Parameters of single-phase and three-phase loads in Figure 6.The inverter parameters of the AUPQS and its designed LCL filter are listed in Table 2. Table 3 presents the parameters of the proposed cascaded input filter (Figure 6).It is assumed that the PV system is able to regulate the DC link and injecting power to the AC loads; however, whenever the DC link regulation needs more power, using a lookup table, the injection level of the PV power to the grid lines decreases to 80%, 60%, 40%, or even 20% of its value, respectively.Table 4 presents one module profile of the PV system.Table 1.Parameters of single-phase and three-phase loads in Figure 6.The inverter parameters of the AUPQS and its designed LCL filter are listed in Table 2. Table 3 presents the parameters of the proposed cascaded input filter (Figure 6).It is assumed that the PV system is able to regulate the DC link and injecting power to the AC loads; however, whenever the DC link regulation needs more power, using a lookup table, the injection level of the PV power to the grid lines decreases to 80%, 60%, 40%, or even 20% of its value, respectively.Table 4 presents one module profile of the PV system.The MPPT system involves a hybrid algorithm with two control loops, namely a set-point calculation loop and a fine tuning loop.The set-point calculation loop estimates the solar arrays maximum power at the startup time as well as under sudden environmental changes such as ambient solar cell temperature variations.

Parameters
For this reason, the maximum open circuit voltage of the PV system is initially extracted using the following solar cell short-circuit current (I sc ) and open-circuit voltage (V oc ).
where I sc,n and V oc,n are the solar short-circuit current and open-circuit voltage at the standard conditions (i.e., a temperature equal to 25 • C (T n ) and light intensity (G n ) equal to 1000 W/m 2 ), respectively.The K V and K I coefficients are provided by the manufacturer at the solar panel data sheet.
The open-circuit voltage (V oc ) can be defined by measuring instant solar cell temperature (T) and light intensity (G) variations.Hence, V oc can be determined, unlike the offline MPPT algorithms, without the need of load shedding.Now, the V MPPT can be estimated as a fraction (K) of the measured V oc (i.e., Equation (8) for V MPP ).The initial value for the K is usually assumed to be between 0.8 and 0.9.To obtain an accurate value for the K, the proposed MPPT algorithm suggests one of the online MPPT approaches, such as the P and O method, to find an accurate K.The online MPPT algorithm estimates the precise value of the K via either adding or subtracting a constant ∆K from the assumed K (i.e., K new = K + ∆K) to estimate exact value of V MPPT (i.e., V MPPT = KV oc ).This means that the measured maximum open-circuit voltage for the presumed K + ∆K (K − ∆K) is repeatedly compared with the PV-terminal voltage.Then, the direction of the PV power changes in each turn defines the direction of the next ∆K (i.e., to be positive or negative); subsequently, the generated signal error is applied to a proportional integrator (PI) controller to adjust the duty cycle of the DC-DC converter (Equation ( 9)).
The generated signal error is applied to a pulse with modulation (PWM) signal generator to produce the optimum duty cycle for the MOSFET within the DC-DC converter.Then, the MOSFET switching, as shown in Figure 6, forces the PV system to operate on its maximum power point [1].

Wavelet-Based Low-Pass Filter
The employed mother wavelet and the lowest bandpass frequency are very important factors to design a wavelet-based low-pass filter [30].

Mother Wavelet
Here, to evaluate the accuracy of the chosen mother wavelet for the designed wavelet-based filter, five popular mother wavelets such as Haar, daubechie 2 (db2), daubechie 4 (db4), daubechie 6 (db6), and daubechie 8 (db8) are examined as shown in Figure 7.The original power signal contains a DC signal plus second-, third-, and fifth-order harmonics (Figure 7 for P signal ).
Figure 7 shows that the more complicated the mother wavelet, the larger the filter's transient time become.The Haar mother wavelet with a flat bandpass characteristic shows the shortest raised time.This means the Haar wavelet-based low-pass filter can properly extract the DC component of a power signal which includes periodical harmonics.
Figure 7 shows that the more complicated the mother wavelet, the larger the filter's transient time become.The Haar mother wavelet with a flat bandpass characteristic shows the shortest raised time.This means the Haar wavelet-based low-pass filter can properly extract the DC component of a power signal which includes periodical harmonics.

Lowest Bandpass Frequency
If fu indicates the lowest frequency range which only contains the DC component of the original signal, and fs represents the signal sampling rate, then the needed lifting blocks to extract the DC signal are defined as follows [31]: In this research, the sampling rate is selected as 1600 Hz, and the upper limit of 25 Hz is assumed for the filter lowest band to extract the DC signal.Thus, the wavelet-based filter includes five lifting blocks to extract the DC component of the original signal.

Lowest Bandpass Frequency
If fu indicates the lowest frequency range which only contains the DC component of the original signal, and fs represents the signal sampling rate, then the needed lifting blocks to extract the DC signal are defined as follows [31]: In this research, the sampling rate is selected as 1600 Hz, and the upper limit of 25 Hz is assumed for the filter lowest band to extract the DC signal.Thus, the wavelet-based filter includes five lifting blocks to extract the DC component of the original signal.
Figure 9 shows that the proposed wavelet-based filter within the AUPQS controller accurately extracts the positive sequence component of the grid-end active power in less transient response time.

Lowest Bandpass Frequency
If f u indicates the lowest frequency range which only contains the DC component of the original signal, and f s represents the signal sampling rate, then the needed lifting blocks to extract the DC signal are defined as follows [31]: Energies 2016, 9, 653 11 of 15 In this research, the sampling rate is selected as 1600 Hz, and the upper limit of 25 Hz is assumed for the filter lowest band to extract the DC signal.Thus, the wavelet-based filter includes five lifting blocks to extract the DC component of the original signal.
Figure 9 shows that the proposed wavelet-based filter within the AUPQS controller accurately extracts the positive sequence component of the grid-end active power in less transient response time.The conventional low-pass filter, on the contrary, results in the extracted positive sequence component of active power after 30 ms still oscillates around its DC value, as can be seen in Figure 9.

Optimum Damped Input Filter
In this section, accuracy of the proposed damped input filter is evaluated under two conditions.First, when the PV system meets a constant DC load at its boost converter's terminal; and secondly, the PV system is interfaced with the power system via the AUPQS.In this case, the PV system applies the generated power to firstly supply the DC link of the AUPQS, and then the excess positive

Optimum Damped Input Filter
In this section, accuracy of the proposed damped input filter is evaluated under two conditions.First, when the PV system meets a constant DC load at its boost converter's terminal; and secondly, the PV system is interfaced with the power system via the AUPQS.In this case, the PV system applies the generated power to firstly supply the DC link of the AUPQS, and then the excess positive sequence of the generated power is injected through the grid lines via the AUPQS inverters.
Figure 11 demonstrates that the proposed input filter highly suppresses distortions during the PV startup time condition, when the generated PV power is used to supply a time-invariant resistive load (R = 100 Ω).The light intensity is assumed as 1200 W/m 2 and the ambient cell temperature is set to 25 • C. Figure 12 shows that the suggested damped input filter works accurately to improve the transient response of the PV system under time-variant load conditions.In this case, the PV output power supplies the DC link of the AUPQS.A sudden light intensity variation from 1000 W/m 2 to 1200 W/m 2 is assumed at 0.075 s.   Figure 13 demonstrates the AC grid-end currents under sun irradiation variation from 1000 W/m 2 to 750 W/m 2 at 0.025 s.Equipped with the wavelet-based low-pass filter and the proposed input filter, the integrated power system, in an accurate transient time, increases the currents accordingly to provide the load with enough power (see Figure 13 for the AC grid-end current at 0.025 s).On the contrary, the conventional active filter after 0.5 s can supply the load demand.This means that the delay of the active filter, due to the prolonged operation of its conventional low-pass filter along with a lack of a proposed input filter, can highly prolong the transient response of the grid-connected PV system.Figure 13 demonstrates the AC grid-end currents under sun irradiation variation from 1000 W/m 2 to 750 W/m 2 at 0.025 s.Equipped with the wavelet-based low-pass filter and the proposed input filter, the integrated power system, in an accurate transient time, increases the currents accordingly to provide the load with enough power (see Figure 13 for the AC grid-end current at 0.025 s).On the contrary, the conventional active filter after 0.5 s can supply the load demand.This means that the delay of the active filter, due to the prolonged operation of its conventional low-pass filter along with a lack of a proposed input filter, can highly prolong the transient response of the grid-connected PV system.filter, the integrated power system, in an accurate transient time, increases the currents accordingly to provide the load with enough power (see Figure 13 for the AC grid-end current at 0.025 s).On the contrary, the conventional active filter after 0.5 s can supply the load demand.This means that the delay of the active filter, due to the prolonged operation of its conventional low-pass filter along with a lack of a proposed input filter, can highly prolong the transient response of the grid-connected PV system.

Conclusions
A wavelet-based low-pass filter is developed and compared with the conventional low-pass filter through the AUPQS control algorithm.To further reduce the transient response time of an integrated PV unit-to-power system, the designed wavelet-based filter is also applied to extract the positive sequence of the generated PV power, injected to the grid lines.Suppressing the PV-end power distortions and harmonics, this paper also suggests the application of the damped input filter within the PV's DC-DC converter.This suggestion results in the PV DC-DC converter's switching being damped in an accurate transient time.This also leads the available MPPT controllers to work with much more stability and precision.Simulation results verify that the proposed wavelet-based low-pass filter, together with the suggested input filter, lead an integrated power system to enjoy a reduced transient response time, fully compensating the grid-end current distortions (see Figure 13 for the grid-end current.)

Figure 1 .
Figure 1.The proposed wavelet-based advanced universal power quality conditioning system (AUPQS) and the input filter within an integrated photovoltaic (PV) system.

Figure 1 . 15 2. 1 .
Figure 1.The proposed wavelet-based advanced universal power quality conditioning system (AUPQS) and the input filter within an integrated photovoltaic (PV) system.

(
B) Update/predict steps Updating leads the low frequency sub-signals involved in the original signal to remain unchanged, and the predict step extracts the high frequency sub-signals of the original signal, subtracting the odd Energies 2016, 9, 653 4 of 15

Figure 2 .
Figure 2. Schematics of lifting wavelet based on: (a) the first general structure, and (b) the second general structure.

Figure 2 .
Figure 2. Schematics of lifting wavelet based on: (a) the first general structure; and (b) the second general structure.
pass filter, used to extract P1 + (t) within the A-GTIP algorithm (Equation (3)), shows a prolonged transient response particularly in the presence of grid-end low-order harmonics.Therefore, a wavelet-based low-pass filter with a lower response time, instead of conventional lowpass filters, is proposed to shorten and improve the transient response time of the AUPQS.The block diagram of the proposed LWT filter within the AUPQS controller is shown in Figure3.

Figure 3 .
Figure 3. Block diagram of the advanced generalized theory of instantaneous power (A-GTIP) compensation algorithm equipped with wavelet-based filter.

Figure 3 .
Figure 3. Block diagram of the advanced generalized theory of instantaneous power (A-GTIP) compensation algorithm equipped with wavelet-based filter.

Figure 4 .
Figure 4. Schematic of the suggested input filter inserted between the PV system and DC (direct current)-DC converter.

Figure 4 .
Photovoltaic system Converter

Figure 5 .
Figure 5. Suggested cascading input filer within the DC-DC converter of the PV system.

Figure 5 .
Figure 5. Suggested cascading input filer within the DC-DC converter of the PV system.

Figure 6 .
Figure 6.Simulation of proposed damped input filer within a grid-integrated PV system via an active filter.

Figure 6 .
Figure 6.Simulation of proposed damped input filer within a grid-integrated PV system via an active filter.

Figure 7 .
Figure 7.The extracted DC signals using a wavelet-based low-pass filter controlled by different mother wavelets.

Figure 8 .
Figure 8. Simulated block diagrams for the Haar mother wavelet based on: (a) first general liftingscheme; and (b) second lifting-scheme (Section 2).

Figure 7 .
Figure 7.The extracted DC signals using a wavelet-based low-pass filter controlled by different mother wavelets.

Figure 7
shows that the more complicated the mother wavelet, the larger the filter's transient time become.The Haar mother wavelet with a flat bandpass characteristic shows the shortest raised time.This means the Haar wavelet-based low-pass filter can properly extract the DC component of a power signal which includes periodical harmonics.

Figure 7 .
Figure 7.The extracted DC signals using a wavelet-based low-pass filter controlled by different mother wavelets.

Figure 8 .
Figure 8. Simulated block diagrams for the Haar mother wavelet based on: (a) first general liftingscheme; and (b) second lifting-scheme (Section 2).

Figure 8 .
Figure 8. Simulated block diagrams for the Haar mother wavelet based on: (a) first general lifting-scheme; and (b) second lifting-scheme (Section 2).

Energies 2016, 9 , 653 11 of 15 Figure 9 .
Figure 9. Positive component of grid-end active power extracted by the proposed wavelet-based lowpass filter and the conventional low-pass filter.

Figure 10
Figure 10 compares the rising time of the injected PV power to the grid lines when the waveletbased and the conventional low-pass filter are employed.The proposed wavelet-based low-pass filter with a less transient response time accurately extracts the positive sequence component of the PV power, as shown in Figure 10.

Figure 10 .
Figure 10.Extracted positive component of the injected PV power to the grid, using the wavelet-based low-pass filter and conventional low-pass filter.The sun irradiation decreases at 0.075 s from 1000 W/m 2 to 900 W/m 2 .

Figure 9 .
Figure 9. Positive component of grid-end active power extracted by the proposed wavelet-based low-pass filter and the conventional low-pass filter.

Figure 10
Figure 10 compares the rising time of the injected PV power to the grid lines when the wavelet-based and the conventional low-pass filter are employed.The proposed wavelet-based low-pass filter with a less transient response time accurately extracts the positive sequence component of the PV power, as shown in Figure 10.

Energies 2016, 9 , 653 11 of 15 Figure 9 .
Figure 9. Positive component of grid-end active power extracted by the proposed wavelet-based lowpass filter and the conventional low-pass filter.

Figure 10
Figure 10 compares the rising time of the injected PV power to the grid lines when the waveletbased and the conventional low-pass filter are employed.The proposed wavelet-based low-pass filter with a less transient response time accurately extracts the positive sequence component of the PV power, as shown in Figure 10.

Figure 10 .
Figure 10.Extracted positive component of the injected PV power to the grid, using the wavelet-based low-pass filter and conventional low-pass filter.The sun irradiation decreases at 0.075 s from 1000 W/m 2 to 900 W/m 2 .

Figure 10 .
Figure 10.Extracted positive component of the injected PV power to the grid, using the wavelet-based low-pass filter and conventional low-pass filter.The sun irradiation decreases at 0.075 s from 1000 W/m 2 to 900 W/m 2 .
DC link of the AUPQS.A sudden light intensity variation from 1000 W/m 2 to 1200 W/m 2 is assumed at 0.075 s.

Figure 11 .
Figure 11.The generated PV power under a transient startup condition with/without the designed damped input filter.

Figure 12 .
Figure 12.The generated PV power under a nonlinear time-variant load while a sudden light intensity variation (1000-1200 W/m 2 ) occurs at 0.075 s.

Figure 11 .
Figure 11.The generated PV power under a transient startup condition with/without the designed damped input filter.

Figure 11 .
Figure 11.The generated PV power under a transient startup condition with/without the designed damped input filter.

Figure 12 .
Figure 12.The generated PV power under a nonlinear time-variant load while a sudden light intensity variation (1000-1200 W/m 2 ) occurs at 0.075 s.

Figure 12 .
Figure 12.The generated PV power under a nonlinear time-variant load while a sudden light intensity variation (1000-1200 W/m 2 ) occurs at 0.075 s.

Figure 13
Figure 13 demonstrates the AC grid-end currents under sun irradiation variation from 1000 W/m 2 to 750 W/m 2 at 0.025 s.Equipped with the wavelet-based low-pass filter and the proposed input

Energies 2016, 9 , 653 13 of 15 Figure 13 .
Figure 13.Comparison of transient response time of compensated grid-end current (Phase A) by the conventional low-pass filter and by the proposed wavelet-based low-pass filter, together with the suggested input filter under sun irradiation variation from 1000 W/m 2 to 750 W/m 2 at 0.025 s.

Table 2 .
Parameters of the advanced universal power quality conditioning system (AUPQS).

Table 3 .
Optimum element values of cascading input filter in Figure6.

Table 2 .
Parameters of the advanced universal power quality conditioning system (AUPQS).

Table 3 .
Optimum element values of cascading input filter in Figure6.