# Active Power Filter DC Bus Voltage Piecewise Reaching Law Variable Structure Control

Authors: Baolian Liu; Zujun Ding; Huanyu Zhao; Defei Jin
Journal: Journal of Applied Mathematics
 (2014)

---

## Abstract

The DC bus voltage stability control is one key technology to ensure that Active Power Filter (APF) operates stably. The external disturbances such as power grid and load fluctuation and the system parameters changing may affect the stability of APF DC bus voltage and the normal operation of APF. The mathematical model of DC bus voltage is established according to power balance principle and a DC bus voltage piecewise reaching law variable structure control algorithm is proposed to solve the above problem, and the design method is given. The simulation and experiment results proved that the proposed variable structure control algorithm can eliminate the chattering problem existing in traditional variable structure control effectively, is insensitive to system disturbance, and has good robustness and fast dynamic response speed and stable DC bus voltage with small fluctuation. The above advantages ensure the compensation effect of APF.


---

## Body

## 1. Introduction

Recently, power electronic technology has been widely developed and applied. A lot of harmonic and reactive currents inject into the power grid as the power electronic devices and nonlinear loads used in industry. This can cause partial parallel resonance and series resonance in electric power system, power grid, and electrical equipment problems [1, 2]. APF is a new power electronic device designed for suppressing harmonic current. It can compensate each harmonic current and reactive power [3].The APF power circuit usually consists of voltage source inverter and the drive circuit. It is very important to maintain the stability of DC side capacitor voltage for the whole control system. Low DC side capacitor voltage will reduce the compensation precision of APF. Conversely, high DC side capacitor voltage will make the interference harmonic current of APF increase. Therefore, controlling the DC side voltage of inverter and maintaining it stable have important significance for the APF harmonic current compensation effect [4–8].However, when the device actually operate, the power consumption of switching devices, loading and unloading nonlinear load process, energy fluctuation in the DC side caused by AC side voltage fluctuation, and other factors will make the power grid and DC side capacitor exchange active power. This will lead to bus voltage fluctuation [9]. Nonideal power source voltage will lead to the rising of DC side voltage, influence the compensation performance, and even damage the security of the system [10]. The DC side voltage fluctuation is even larger when the harmonic current and reactive power are compensated meanwhile. This will seriously affect the compensation accuracy [11].Generally, the normal APF DC bus voltage control methods are PI control and fuzzy control. Because of having strong robustness and less depending on the accurate model, the fuzzy control has attracted extensive application [10, 11]. In [12], the authors proposed a fuzzy controller to control the DC side voltage and illustrated the fuzzy control rules in detail according to the error and change rate of error. But the control rules can not be adjusted and the robustness is limited. In [13], the fuzzy and PI controller were combined, and the fuzzy controller was used to automatically adjust the PI controller parameters. The stable and dynamic performance were improved to a certain extent. But the control effect is normally seen from the experiment results. In [14], the fuzzy internal model controller was used to control the DC bus voltage, but the controller structure is complex.Variable structure control has the characteristics of low dependence on mathematical model of the controlled object, insensitive to parameter variations and external disturbances [15, 16]. Yufeng et al. [17] combined adaptive control and variable structure control to suppress the harmonics and improve power factor [18]. And a DC bus voltage variable structure controller is designed in this paper based on modeling the APF DC bus voltage. Aimed at the chattering problem of traditional variable structure control reaching law, a piecewise reaching law is presented for variable structure controller in this paper to optimize the control strategy. Finally, the simulation and experiment results are given.


## 2. The Analysis to Model APF DC Bus Voltage Control

Figure1 gives the topology structure of three-phase shunt APF. The main part is a two-level converter, which connect with power grid through filter inductor, where RL is the resistor of the filter inductor.Figure 1
Structure diagram of APF converter main circuit.In the converter, the 1st, 2nd, and 3rd bridge are used to produce compensation currentica, icb, icc of phase A, B, and C, respectively. The corresponding instruction current ica*, icb*, icc* produced by arithmetic circuit. In ideal condition, the compensation current ica, icb, icc which is produced according to instruction current will offset the harmonic current and fundamental reactive current. Thus, the power grid current is sine wave and three-phase symmetrical.In [19], the power consumption of a resistor which paralleled with DC bus was used to replace the whole APF power consumption, rather than the real power consumption of the filter inductor and power electronic devices. The paper did not consider the change of APF compensation current caused by power grid voltage and load disturbance, which will lead to the change of power consumption. The power consumption of power electronic devices was considered in [20], but except the on state loss and the filter inductor copper loss.Assume that the fundamental active current increment of phase A caused by DC bus voltage fluctuation isΔia1. Let
(1)usa=2Usin(ωt),Δisa1=2ΔI1sin(ωt);
then the instantaneous power change of phase A caused by the fluctuation of DC bus voltage is
(2)pa=2ΔI1Usin2(ωt).
The total instantaneous power change of the whole system caused by the fluctuation of DC bus voltage is
(3)pout=pa+pb+pc.
Assume that the three-phase voltage and current are symmetric; thus the total instantaneous power change of the whole system caused by the fluctuation of DC bus voltage can be expressed:
(4)pout=3UΔI1.
The instantaneous power of APF absorbed from power grid is mainly stored in the bus capacitor to maintain the bus voltage and the power consumption of equal resistor of filter inductor and power electronic devices.Xie et al. [21] denote that (1) the on state loss is proportional to forward voltage drop and conduction current, while the forward voltage drop will increase along with the conduction current increasing; (2) the switching loss increases along with the DC bus voltage raise.For the conclusion (1), the on state loss of switching devices can be expressed by(5)pon⁡=Ron⁡(ica2+icb2+icc2),
where ick (k=a,b,c) are the APF compensation currents. As the three-phase load is symmetric, the ick are symmetric, so there is
(6)pon⁡=3Ron⁡Ic2,
where Ron⁡ is the equal resistor when switching devices is on and Ic is the RMS value of APF compensation current. The real time sampling value is still used for calculation in practical operation.For the conclusion (2), ignore the APF DC bus voltage fluctuation; the switching loss can be expressed as [20]
(7)ps=γIc,
where γ is a constant coefficient. The total instantaneous power loss of the equal resistors of the filter inductors is
(8)pR=3RLIc2.
The instantaneous power absorbed by DC bus capacitor can be expressed as
(9)pdc=udcic=udc(Cdudcdt).
The amplitude change of udc is small and the power fluctuation of capacitor is mainly decided by the change rate of capacitor voltage at steady state. But the amplitude change of udc is maybe larger when the system is disturbed, so the udc in (9) still use real time sample value. The instantaneous power of APF absorbed from power grid is expressed by
(10)pin=pR+Qon⁡+Qs+pdc.
According to the instantaneous power balance principle, pout=pin; that is,
(11)3UΔI1=3ReqIc2+γudc+udc(Cdudcdt),
where Req=RL+Ron⁡.


## 3. Variable Structure Controller Design

### 3.1. Improved Reaching Law Design

An exponential rate reaching law presented in [22] is as follows:
(12)sk+1=(1-αT)sk-εTsgn⁡(sk),
where 0<α<1, ε>0, T is the control period and k and k+1 denote the present and the next control period, respectively. Let
(13)sgn⁡(sk)=sk|sk|.
It follows from (12) and (13) that
(14)sk+1=[1-αT-εT|sk|]sk.
In order to make the switching function decrease in exponential, that is, the value of switching function s at present control period T less than the last T, the following condition should be satisfied:
(15)|1-αT-εT|sk||<1.
Soloing (15) gives
(16)|sk|>εT(2-αT).
According to (16), we know that the system will decrease in exponential only when the switching function value is relatively big enough. The system becomes the switching control when the condition in (16) is not satisfied. Thus, we can conclude that the sliding mode band of normal exponential reaching law is ribbon and its bandwidth is Δ1=εT/(2-αT). The system will reach a chattering near the sliding mode surface in the process of moving to sliding mode surface in switching band and this will not ensure the system approaches sliding mode surface finally, while the high frequency chattering can excite the high frequency component which is unconsidered when establishing the system model. Thereby, it may increase the burden of controller [23, 24].A power reaching law presented in [25] is as follows:
(17)sk+1=(1-αT)sk-βT|sk|λ-1sk.
It follows from (13) and (17) that
(18)sk+1=(1-αT)sk-βT|sk|λsgn⁡(sk),
where 0<λ<1, β>0.This is a variable exponential reaching law actually. The switching control part is big at the beginning and will make the system approach sliding mode surface quickly. But the amplitude of switching control is small when it is near the sliding mode surface. Thus the system could converge to sliding mode surface finally. And the system is stable at the origin. The switching band is sector. This reaching law not only could keep the basic requirements of crossing over switching surface step by step at quasi-sliding mode, but also could effectively inhibit or weaken the chattering.A piecewise reaching law is proposed to design the variable structure controller for DC bus voltage based on the above two kinds of reaching law:(19)sk+1={(1-αT)sk-εTsgn⁡(sk)|sk|>Δ(1-αT)sk-βT|sk|λsgn⁡(sk)|sk|≤Δ,
where Δ is the boundary value of sliding mode band selected for the two reaching laws. The quasi-sliding mode band of reaching law in (18) is
(20){xk∣∥sk∥<Δ2},Δ2=(βT2-αT)1/(1-λ).
For the reaching law no. 1 in (19), in order to make the sliding mode attenuate in exponential before entering the switching band Δ1, Δ≥Δ1 is needed. Similarly for the reaching law no. 2, in order to make the sliding mode attenuate in exponential before entering the switching band Δ2, Δ≤Δ2 is needed. Based on the above analysis, we can get Δ2≥Δ1.Takingλ=0.5 and letting Δ2=Δ=Δ1, then
(21)(βT2-αT)2=εT2-αT.
It can be deduced from (21) that
(22)β=ε(2-αT)T.


### 3.2. Design of APF DC Bus Voltage Variable Structure Controller

Select the error of DC bus voltage and its integration as state variables. Let(23)x1=∫(UC*-udc)dt,x2=x˙1=UC*-udc.
According to (11), the system state equation can be expressed as
(24)[x˙1x˙2]=[0100][x1x2]+[0-3UCudc]ΔI1+[03ReqCudcIc2+γ].
It can be written in matrix form as
(25)[x˙1x˙2]=A′[x1x2]+B′ΔI1+D′,
where A′, B′ are coefficient matrix and D′ is disturbance quantity. Discretize (25), one can get that
(26)xk+1=Axk+BΔI1k+D,
where A=I+TA′, B=TB′, D=TD′, in which I is unit diagonal matrix. Let
(27)sk+1=[c11]xk+1=Cxk+1=C[Axk+BΔI1k+D].
It follows from (17) and (27) that
(28)ΔI1k={(CB)-1[F-εTsgn⁡(sk)]|sk|>εT(2-αT),(CB)-1[F-βT|sk|sgn⁡(sk)]|sk|≤εT(2-αT),
where F=-CAxk-CD+(1-αT)sk.


## 3.1. Improved Reaching Law Design

An exponential rate reaching law presented in [22] is as follows:
(12)sk+1=(1-αT)sk-εTsgn⁡(sk),
where 0<α<1, ε>0, T is the control period and k and k+1 denote the present and the next control period, respectively. Let
(13)sgn⁡(sk)=sk|sk|.
It follows from (12) and (13) that
(14)sk+1=[1-αT-εT|sk|]sk.
In order to make the switching function decrease in exponential, that is, the value of switching function s at present control period T less than the last T, the following condition should be satisfied:
(15)|1-αT-εT|sk||<1.
Soloing (15) gives
(16)|sk|>εT(2-αT).
According to (16), we know that the system will decrease in exponential only when the switching function value is relatively big enough. The system becomes the switching control when the condition in (16) is not satisfied. Thus, we can conclude that the sliding mode band of normal exponential reaching law is ribbon and its bandwidth is Δ1=εT/(2-αT). The system will reach a chattering near the sliding mode surface in the process of moving to sliding mode surface in switching band and this will not ensure the system approaches sliding mode surface finally, while the high frequency chattering can excite the high frequency component which is unconsidered when establishing the system model. Thereby, it may increase the burden of controller [23, 24].A power reaching law presented in [25] is as follows:
(17)sk+1=(1-αT)sk-βT|sk|λ-1sk.
It follows from (13) and (17) that
(18)sk+1=(1-αT)sk-βT|sk|λsgn⁡(sk),
where 0<λ<1, β>0.This is a variable exponential reaching law actually. The switching control part is big at the beginning and will make the system approach sliding mode surface quickly. But the amplitude of switching control is small when it is near the sliding mode surface. Thus the system could converge to sliding mode surface finally. And the system is stable at the origin. The switching band is sector. This reaching law not only could keep the basic requirements of crossing over switching surface step by step at quasi-sliding mode, but also could effectively inhibit or weaken the chattering.A piecewise reaching law is proposed to design the variable structure controller for DC bus voltage based on the above two kinds of reaching law:(19)sk+1={(1-αT)sk-εTsgn⁡(sk)|sk|>Δ(1-αT)sk-βT|sk|λsgn⁡(sk)|sk|≤Δ,
where Δ is the boundary value of sliding mode band selected for the two reaching laws. The quasi-sliding mode band of reaching law in (18) is
(20){xk∣∥sk∥<Δ2},Δ2=(βT2-αT)1/(1-λ).
For the reaching law no. 1 in (19), in order to make the sliding mode attenuate in exponential before entering the switching band Δ1, Δ≥Δ1 is needed. Similarly for the reaching law no. 2, in order to make the sliding mode attenuate in exponential before entering the switching band Δ2, Δ≤Δ2 is needed. Based on the above analysis, we can get Δ2≥Δ1.Takingλ=0.5 and letting Δ2=Δ=Δ1, then
(21)(βT2-αT)2=εT2-αT.
It can be deduced from (21) that
(22)β=ε(2-αT)T.


## 3.2. Design of APF DC Bus Voltage Variable Structure Controller

Select the error of DC bus voltage and its integration as state variables. Let(23)x1=∫(UC*-udc)dt,x2=x˙1=UC*-udc.
According to (11), the system state equation can be expressed as
(24)[x˙1x˙2]=[0100][x1x2]+[0-3UCudc]ΔI1+[03ReqCudcIc2+γ].
It can be written in matrix form as
(25)[x˙1x˙2]=A′[x1x2]+B′ΔI1+D′,
where A′, B′ are coefficient matrix and D′ is disturbance quantity. Discretize (25), one can get that
(26)xk+1=Axk+BΔI1k+D,
where A=I+TA′, B=TB′, D=TD′, in which I is unit diagonal matrix. Let
(27)sk+1=[c11]xk+1=Cxk+1=C[Axk+BΔI1k+D].
It follows from (17) and (27) that
(28)ΔI1k={(CB)-1[F-εTsgn⁡(sk)]|sk|>εT(2-αT),(CB)-1[F-βT|sk|sgn⁡(sk)]|sk|≤εT(2-αT),
where F=-CAxk-CD+(1-αT)sk.


## 4. Simulation and Experiment

### 4.1. Simulation

In order to verify the effectiveness of the proposed piecewise reaching law variable structure controller, we establish the simulation model in MATLAB/SIMULINK. The system parameters are as follows: phase voltage is 220 V (RMS), switching frequency is 10 KHz, DC bus voltage is 700 V, and filter inductor and capacitor are 5 mH and 4700μF, respectively. Three-phase bridge diode rectifier connected with resistor is as the load.Figures2 and 3 give the DC bus voltage response wave and the voltage and current wave of power grid phase A when APF is with nonload operation. From Figure 2, it can be seen that the DC bus voltage rises to the setting value within two sine wave cycles and the response speed is better than that of fuzzy controller. But the overshoot is smaller than that of the PI controller. The voltage fluctuation is very small after stable operation. All these proved that the performance of the proposed variable structure controller is good.Figure 2
Dynamic response curve of DC bus voltage (nonload).Figure 3
Waves of power grid voltage and current.It can be seen from Figure3 that the charging current of capacitor is big; the reason is that the capacitor voltage is zero at the beginning and the big charging current can make the capacitor voltage rises quickly; then the dynamic response time is shortened. The charging current becomes stable within two sine wave cycles which is consistent with that of the DC bus voltage and is small after stable operation. Its waveform is similar to the sine wave and its phase is almost the same as that of power grid voltage. The active power generation from power grid is used for maintaining the power consumption of APF itself.In order to verify the dynamic regulation performance of APF DC bus voltage variable structure controller in the event of external disturbance, the simulation research is carried out on the condition that the power grid voltage and load appear fluctuation.The DC bus voltage and power grid current response curves under the condition that the power grid voltage dumps 10% and APF operates in stable state with load are given in Figure4. It can be seen from Figure 4 that the bus voltage droop is little and recovers to the setting value quickly through the regulation of control algorithm. The bus voltage droop caused by the power grid voltage droop increases the charging current of capacitor. At the same time, the load power is decreased and the reason is the same. But the value of load current drop is larger than that of the charging current increment. So the peak current of power grid is decreased from 38.75 A to 36.25 A. The power grid current transition process is smooth.Figure 4
Wave of DC bus voltage and power grid current (power grid voltage dumps 10%).Figures5 and 6 give the DC bus voltage, the power grid voltage, and current response curves when the APF connects with load after power on, in which the load suddenly increases to 2 times of the original at time 150 ms.Figure 5
Dynamic response wave of DC bus voltage (load changes).Figure 6
Waves of power grid voltage and current (load changes).It can be seen from Figure5 that the time of DC bus voltage getting to the setting value is less than 70 ms. The response time is bigger than that time in Figure 2 because of the current generation from APF including the compensation harmonic and reactive currents. The bus voltage is dropped when the load is suddenly increased at time 150 ms, but it is regulated to setting value by the variable structure controller at about time 220 ms. The droop of bus voltage and the regulation time are larger than that of Figure 4. The reason is that the value of load increment (100%) is larger than the droop (10%) of power grid voltage.It can be seen from Figure6 that the phase current tracks the phase voltage well at stable and dynamic operation. The power grid current is sine wave and its phase is almost the same as that of voltage. The transition process is stable and the measured power factor is 0.99.From the above simulation results and analysis, we can conclude that the dynamic and static performance of the proposed variable structure controller are excellent. The DC bus voltage is stable and thus ensures the current compensation performance of APF. The problem discussed in the third paragraph of Section1 is solved well.


### 4.2. Experiment

In order to verify the effect of the proposed control algorithm, the experiment operates on the existing APF platform. The system uses TMS320F28335 as the control core to execute the control algorithm. The power grid voltage, its frequency, and the filter inductor are 220 V (RMS), 50 Hz, and 5 mH, respectively. As the actual power grid voltage is bigger than 220 V normally, the DC bus voltage is set as 750 V, not as 700 V, in simulation. The load is the same as that of simulation. (Figures7–12 are based on this load.)Figure 7
DC bus voltage dynamic response curve.Figure 8
APF compensation current (nonload).Figure 9
Waves of DC bus voltage, load current, power grid current, and APF compensation current.Figure 10
Phase A current spectrum before compensation.Figure 11
Phase A current spectrum after compensation.Figure 12
Waves of DC bus voltage and power grid current (load changes).The DC bus voltage response curve after power on is given in Figure7. At the beginning, the power grid charges the capacitor through a 51 Ω current limiting resistor, the APF operated under uncontrolled rectification, and the bus voltage rises rapidly to the stable state. After a certain delay, the 51 Ω resistor is shorted; then the bus voltage rises slightly. Then the PWM boost voltage process is started and the control period is 2 ms. It can be seen from Figure 7 that the time of the DC bus voltage increasing from uncontrolled rectification to the last setting value 750 V is about 50 ms, the measured actual bus voltage is 745 V, and the fluctuation is 5 V.Figure8 gives the wave of power grid voltage and current, in which the APF is with no load and in the stable state. It can be seen that the current is about 2 A which is consistent with the simulation result. As the bus voltage is stable, the current fluctuation is small. The current rippled around the instruction current in a certain range; the reason is that the current is small and the switching frequency of the power electronic devices is limited. But the current wave outline is similar to sine wave. The phase of current lags that of the voltage. The reason is that there exists reactive power exchanging between the filter inductor and the power grid.The waves of DC side voltage, load current, power grid current, and the output harmonic current of APF under load operation are given in Figure9. The measured average DC bus voltage is 740 V and the fluctuation is 15 V. Its stable error is small. From the current wave it can be seen that the harmonic current components of load current are compensated by APF. The power grid current is sine wave and with no peak burr. The harmonic current from APF had no high frequency component. The experiment result proves that the compensation effect is good.Figures10 and 11 give the phase A current spectrum before and after compensation, respectively. It can be seen from Figure 10 that the content of 3rd, 5th, 7th, 9th, 11th, 13th, and 17th harmonic are big, especially the 5th harmonic. The harmonic component after compensation is very small. The THD value is 26.7% before compensation and is 6.0% after compensation. The THD is reduced a lot, and the compensation effect is obvious.In order to verify the anti-interference performance of the improved reaching law variable structure controller at the event of load disturbance, the load is suddenly increased to 2 times of the original. Figure12 gives the response waves of DC bus voltage and power grid current. It can be seen from the wave that the variable structure controller can quickly make the system reach a new stable state and the regulation time is no more than 30 ms and the transition process is smooth.Figure13 gives the power grid voltage and current waves after compensation, in which the load is three-phase bridge diode rectifier connected with resistor-inductor load. It can be seen that the harmonic and reactive currents are also compensated well, the power grid current is sine wave, and its phase is the same as that of the power grid voltage.Figure 13
Waves of power grid voltage and current after compensation (resistor-inductor load).


## 4.1. Simulation

In order to verify the effectiveness of the proposed piecewise reaching law variable structure controller, we establish the simulation model in MATLAB/SIMULINK. The system parameters are as follows: phase voltage is 220 V (RMS), switching frequency is 10 KHz, DC bus voltage is 700 V, and filter inductor and capacitor are 5 mH and 4700μF, respectively. Three-phase bridge diode rectifier connected with resistor is as the load.Figures2 and 3 give the DC bus voltage response wave and the voltage and current wave of power grid phase A when APF is with nonload operation. From Figure 2, it can be seen that the DC bus voltage rises to the setting value within two sine wave cycles and the response speed is better than that of fuzzy controller. But the overshoot is smaller than that of the PI controller. The voltage fluctuation is very small after stable operation. All these proved that the performance of the proposed variable structure controller is good.Figure 2
Dynamic response curve of DC bus voltage (nonload).Figure 3
Waves of power grid voltage and current.It can be seen from Figure3 that the charging current of capacitor is big; the reason is that the capacitor voltage is zero at the beginning and the big charging current can make the capacitor voltage rises quickly; then the dynamic response time is shortened. The charging current becomes stable within two sine wave cycles which is consistent with that of the DC bus voltage and is small after stable operation. Its waveform is similar to the sine wave and its phase is almost the same as that of power grid voltage. The active power generation from power grid is used for maintaining the power consumption of APF itself.In order to verify the dynamic regulation performance of APF DC bus voltage variable structure controller in the event of external disturbance, the simulation research is carried out on the condition that the power grid voltage and load appear fluctuation.The DC bus voltage and power grid current response curves under the condition that the power grid voltage dumps 10% and APF operates in stable state with load are given in Figure4. It can be seen from Figure 4 that the bus voltage droop is little and recovers to the setting value quickly through the regulation of control algorithm. The bus voltage droop caused by the power grid voltage droop increases the charging current of capacitor. At the same time, the load power is decreased and the reason is the same. But the value of load current drop is larger than that of the charging current increment. So the peak current of power grid is decreased from 38.75 A to 36.25 A. The power grid current transition process is smooth.Figure 4
Wave of DC bus voltage and power grid current (power grid voltage dumps 10%).Figures5 and 6 give the DC bus voltage, the power grid voltage, and current response curves when the APF connects with load after power on, in which the load suddenly increases to 2 times of the original at time 150 ms.Figure 5
Dynamic response wave of DC bus voltage (load changes).Figure 6
Waves of power grid voltage and current (load changes).It can be seen from Figure5 that the time of DC bus voltage getting to the setting value is less than 70 ms. The response time is bigger than that time in Figure 2 because of the current generation from APF including the compensation harmonic and reactive currents. The bus voltage is dropped when the load is suddenly increased at time 150 ms, but it is regulated to setting value by the variable structure controller at about time 220 ms. The droop of bus voltage and the regulation time are larger than that of Figure 4. The reason is that the value of load increment (100%) is larger than the droop (10%) of power grid voltage.It can be seen from Figure6 that the phase current tracks the phase voltage well at stable and dynamic operation. The power grid current is sine wave and its phase is almost the same as that of voltage. The transition process is stable and the measured power factor is 0.99.From the above simulation results and analysis, we can conclude that the dynamic and static performance of the proposed variable structure controller are excellent. The DC bus voltage is stable and thus ensures the current compensation performance of APF. The problem discussed in the third paragraph of Section1 is solved well.


## 4.2. Experiment

In order to verify the effect of the proposed control algorithm, the experiment operates on the existing APF platform. The system uses TMS320F28335 as the control core to execute the control algorithm. The power grid voltage, its frequency, and the filter inductor are 220 V (RMS), 50 Hz, and 5 mH, respectively. As the actual power grid voltage is bigger than 220 V normally, the DC bus voltage is set as 750 V, not as 700 V, in simulation. The load is the same as that of simulation. (Figures7–12 are based on this load.)Figure 7
DC bus voltage dynamic response curve.Figure 8
APF compensation current (nonload).Figure 9
Waves of DC bus voltage, load current, power grid current, and APF compensation current.Figure 10
Phase A current spectrum before compensation.Figure 11
Phase A current spectrum after compensation.Figure 12
Waves of DC bus voltage and power grid current (load changes).The DC bus voltage response curve after power on is given in Figure7. At the beginning, the power grid charges the capacitor through a 51 Ω current limiting resistor, the APF operated under uncontrolled rectification, and the bus voltage rises rapidly to the stable state. After a certain delay, the 51 Ω resistor is shorted; then the bus voltage rises slightly. Then the PWM boost voltage process is started and the control period is 2 ms. It can be seen from Figure 7 that the time of the DC bus voltage increasing from uncontrolled rectification to the last setting value 750 V is about 50 ms, the measured actual bus voltage is 745 V, and the fluctuation is 5 V.Figure8 gives the wave of power grid voltage and current, in which the APF is with no load and in the stable state. It can be seen that the current is about 2 A which is consistent with the simulation result. As the bus voltage is stable, the current fluctuation is small. The current rippled around the instruction current in a certain range; the reason is that the current is small and the switching frequency of the power electronic devices is limited. But the current wave outline is similar to sine wave. The phase of current lags that of the voltage. The reason is that there exists reactive power exchanging between the filter inductor and the power grid.The waves of DC side voltage, load current, power grid current, and the output harmonic current of APF under load operation are given in Figure9. The measured average DC bus voltage is 740 V and the fluctuation is 15 V. Its stable error is small. From the current wave it can be seen that the harmonic current components of load current are compensated by APF. The power grid current is sine wave and with no peak burr. The harmonic current from APF had no high frequency component. The experiment result proves that the compensation effect is good.Figures10 and 11 give the phase A current spectrum before and after compensation, respectively. It can be seen from Figure 10 that the content of 3rd, 5th, 7th, 9th, 11th, 13th, and 17th harmonic are big, especially the 5th harmonic. The harmonic component after compensation is very small. The THD value is 26.7% before compensation and is 6.0% after compensation. The THD is reduced a lot, and the compensation effect is obvious.In order to verify the anti-interference performance of the improved reaching law variable structure controller at the event of load disturbance, the load is suddenly increased to 2 times of the original. Figure12 gives the response waves of DC bus voltage and power grid current. It can be seen from the wave that the variable structure controller can quickly make the system reach a new stable state and the regulation time is no more than 30 ms and the transition process is smooth.Figure13 gives the power grid voltage and current waves after compensation, in which the load is three-phase bridge diode rectifier connected with resistor-inductor load. It can be seen that the harmonic and reactive currents are also compensated well, the power grid current is sine wave, and its phase is the same as that of the power grid voltage.Figure 13
Waves of power grid voltage and current after compensation (resistor-inductor load).


## 5. Conclusion

The APF DC bus voltage is very important for APF stable and reliable operation. The DC bus voltage mathematical model has been analyzed and established according to power balance. A DC bus voltage piecewise reaching law variable structure controller has been designed aimed at various disturbances. The simulation and experiment results have proved that the proposed control strategy has some good performances, such as maintaining the DC bus voltage stable, no chattering, insensitiveness to external disturbance, quick dynamic response, and small fluctuation. All of these ensured the steady amplitude, sine wave, little distortion, smooth transition process of the power grid current, and the compensation effect of APF.



---

*Source: 835720-2014-09-02.xml*