Open Access
This article is

- freely available
- re-usable

*Appl. Sci.*
**2019**,
*9*(16),
3383;
https://doi.org/10.3390/app9163383

Article

Adaptive Backstepping Fractional Fuzzy Sliding Mode Control of Active Power Filter

Jiangsu Key Laboratory of Power Transmission and Distribution Equipment Technology, College of IoT Engineering, Hohai University, Changzhou 213022, China

^{*}

Author to whom correspondence should be addressed.

Received: 23 July 2019 / Accepted: 13 August 2019 / Published: 16 August 2019

## Abstract

**:**

An adaptive fractional-order fuzzy control method for a three-phase active power filter (APF) using a backstepping and sliding mode controller is developed for the purpose of compensating harmonic current and stabilizing the DC voltage quickly. The dynamic model of APF is changed to an analogical cascade system for the convenience of the backstepping strategy. Then a fractional-order sliding mode surface is designed and a fuzzy controller is proposed to approximate the unknown term in the controller, where parameters can be adjusted online. The simulation experiments are conducted and investigated using MATLAB/SIMULINK software package to verify the advantage of the proposed controller. Furthermore, the comparison study between the fractional-order controller and integer-order one is also conducted in order to demonstrate the better performance of the proposed controller in total harmonic distortion (THD), a significant index to evaluate the current quality in the smart grid.

Keywords:

active power filter; fractional sliding mode control; backstepping strategy## 1. Introduction

With the development of power grids, more and more problems occur, accompanied by convenience and benefits. While power grids and distribution networks are desired to simultaneously interact with a large quantity of loads, the increasing number of nonlinear loads connected to the grids has caused a negative effect on the quality of electric power supply such as low power factor, electrical harmonics, and so on. Instead of a passive filter, the active power filter (APF) is a new power electronic device used for its higher flexibility and better capability of suppressing harmonic currents.

Due to the wide range of applications of APF in power systems over the past decades, many scholars have applied a variety of intelligent control methods to APF. Ouadi et al. [1] developed a new oriented control model for shunt active power filter (SAPF)-load system, and designed an adaptive controller based on the new model. Kale et al. [2] proposed a new robust adaptive controller based on shunt active power filters, to reduce high overshoot and large settling time in the DC link voltage. Fei et al. [3], Chu et al. [4], Fang et al. [5], and Fei et al. [6] investigated intelligent control methods such as an adaptive neural network controller and fuzzy neural controller for an active power filter to track command current to eliminate the harmonic current and improve the power quality of the power system. Gregory et al. [7] presented a SAPF configuration and showed advantages of harmonic distortion and power converter losses. Dey et al. [8] presented a D-Q current control method using a phase lock loop to improve the power quality.

Recently, fractional calculus as well as its application begins to attract more and more attention. In the last three decades, many engineers have applied fractional calculus and fractional differential equation theory with various applications [9,10,11,12,13,14]. Backstepping control techniques are powerful tools for their systematic and recursive design methodology for nonlinear feedback control [15,16,17,18]. Adaptive fractional fuzzy sliding mode controls and adaptive fuzzy-neural fractional finite-time sliding controllers are developed for active power filters [19,20,21]. In the nonlinear systems, unknown nonlinearities can be approximated by intelligent methods such as fuzzy systems [22,23,24,25,26,27,28,29] and neural networks [30,31,32,33,34,35]. Intelligent control methods have been investigated for dynamic systems. Motivated by the above literature, in this paper, a fractional adaptive backstepping sliding mode control method combined with fuzzy controller for a three-phase APF is proposed. The main motivations are emphasized as follows:

- (1)
- A backstepping control strategy is applied to the design of a fractional sliding mode adaptive fuzzy controller. We avoid establishing a precise mathematical model of active power filter by transforming the general circuit equation into an analogical cascade system where the backstepping approach can be implemented.
- (2)
- Based on the backstepping control design, this paper extends the conventional integer-order sliding surface to fractional ones for three-phase active power filter. That means the system can achieve an extra degree of freedom and there would be more parameters to be adjusted to improve total harmonic distortion (THD).
- (3)
- A fractional sliding mode controller ensures that the control system reaches the sliding surface while the adaptive control strategy and fuzzy controller are also combined together to approximate the unknown dynamic model term and identify adaptive parameters online.

## 2. System Description

The three-phase shunt active power filter has the structure of Figure 1, composed of a harmonic current detection module, control system, and main circuit.

In Figure 1, ${v}_{s1}$, ${v}_{s2}$, ${v}_{s3}$, are the grid voltages, ${i}_{s1}$, ${i}_{s2}$, ${i}_{s3}$ are the power currents, ${i}_{L1}$, ${i}_{L2}$, ${i}_{L3}$ are the load currents, ${v}_{1}$, ${v}_{2}$, ${v}_{3}$ are the voltages of public join points, ${i}_{1}$, ${i}_{2}$, ${i}_{3}$ are the compensation current of APF, $C$ is the capacitor of DC side, ${v}_{dc}$ is the voltage of C, ${i}_{dc}$ is the current of C, ${L}_{c}$ is the inductance of AC side, and ${R}_{c}$ is the equivalent resistance.

The model of the APF will be given in the following steps. Applying Kirchhoff rules to the system, we can get the following equations:
where ${\nu}_{MN}$ represents the voltage between M and N.

$$\{\begin{array}{c}{v}_{1}={L}_{c}\frac{d{i}_{1}}{dt}+{R}_{c}{i}_{1}+{v}_{1M}+{v}_{MN}\\ {v}_{2}={L}_{c}\frac{d{i}_{2}}{dt}+{R}_{c}{i}_{2}+{v}_{2M}+{v}_{MN}\\ {v}_{3}={L}_{c}\frac{d{i}_{3}}{dt}+{R}_{c}{i}_{3}+{v}_{3M}+{v}_{MN}\end{array}$$

Supposing the AC supply voltage is balanced and taking the three equations in (1), and considering the absence of the zero-sequence in the three-wire system currents, yields the following equation:

$${v}_{MN}=-\frac{1}{3}{\displaystyle \sum _{m=1}^{3}{v}_{mM}}$$

In order to indicate the working status of Insulated Gate Bipolar Transistor (IGBT), we define ${c}_{k}$ as the switch function as
where $k=1,2,3$.

$${c}_{k}=\{\begin{array}{l}1,\text{}\mathrm{if}\text{}{\mathrm{S}}_{\mathrm{k}}\text{}\mathrm{is}\text{}\mathrm{on}\text{}\mathrm{and}\text{}{\mathrm{S}}_{\mathrm{k}+3}\text{}\mathrm{is}\text{}\mathrm{off}\\ 0,\text{}\mathrm{if}\text{}{\mathrm{S}}_{\mathrm{k}}\text{}\mathrm{is}\text{}\mathrm{off}\text{}\mathrm{and}\text{}{\mathrm{S}}_{\mathrm{k}+3}\text{}\mathrm{is}\text{}\mathrm{on}\end{array}$$

At the same time, taking ${v}_{km}={c}_{k}{v}_{dc}$ into consideration, thus Equation (1) can be reformulated as

$$\{\begin{array}{c}\frac{d{i}_{1}}{dt}=-\frac{{R}_{c}}{{L}_{c}}{i}_{1}+\frac{{v}_{1}}{{L}_{c}}-\frac{{v}_{dc}}{{L}_{c}}{(\mathrm{c}}_{1}-\frac{1}{3}{\displaystyle \sum _{m=1}^{3}{c}_{m}})\\ \frac{d{i}_{2}}{dt}=-\frac{{R}_{c}}{{L}_{c}}{i}_{2}+\frac{{v}_{2}}{{L}_{c}}-\frac{{v}_{dc}}{{L}_{c}}{(\mathrm{c}}_{2}-\frac{1}{3}{\displaystyle \sum _{m=1}^{3}{c}_{m}})\\ \frac{d{i}_{3}}{dt}=-\frac{{R}_{c}}{{L}_{c}}{i}_{3}+\frac{{v}_{3}}{{L}_{c}}-\frac{{v}_{dc}}{{L}_{c}}{(\mathrm{c}}_{3}-\frac{1}{3}{\displaystyle \sum _{m=1}^{3}{c}_{m}})\end{array}$$

The switching state function is defined as

$${d}_{nk}={\left({c}_{k}-\frac{1}{3}{\displaystyle \sum _{m=1}^{3}{c}_{m}}\right)}_{n}$$

Equation (5) denotes the relationship between ${d}_{nk}$ and ${c}_{k}$. Based on Equation (5) and eight permissible switching states of the IGBT, the following equation is obtained

$$\left[\begin{array}{c}{d}_{n1}\\ {d}_{n2}\\ {d}_{n3}\end{array}\right]=\frac{1}{3}\left[\begin{array}{ccc}2& -1& -1\\ -1& 2& -1\\ -1& -1& 2\end{array}\right]\left[\begin{array}{c}{c}_{1}\\ {c}_{2}\\ {c}_{3}\end{array}\right]$$

Then Equation (4) is be simplified as

$$\{\begin{array}{c}\frac{d{i}_{1}}{dt}=-\frac{{R}_{c}}{{L}_{c}}{i}_{1}+\frac{{v}_{1}}{{L}_{c}}-\frac{{v}_{dc}}{{L}_{c}}{d}_{n1}\\ \frac{d{i}_{2}}{dt}=-\frac{{R}_{c}}{{L}_{c}}{i}_{2}+\frac{{v}_{2}}{{L}_{c}}-\frac{{v}_{dc}}{{L}_{c}}{d}_{n2}\\ \frac{d{i}_{3}}{dt}=-\frac{{R}_{c}}{{L}_{c}}{i}_{3}+\frac{{v}_{3}}{{L}_{c}}-\frac{{v}_{dc}}{{L}_{c}}{d}_{n3}\end{array}$$

Two state variables are defined as
where ${x}_{1}=i={(\begin{array}{ccc}{i}_{1}& {i}_{2}& {i}_{3}\end{array})}^{T}$, ${x}_{1}={(\begin{array}{ccc}{x}_{11}& {x}_{12}& {x}_{13}\end{array})}^{T}$, ${x}_{2}={(\begin{array}{ccc}{x}_{21}& {x}_{22}& {x}_{23}\end{array})}^{T}$.

$$\{\begin{array}{c}{x}_{1}=i\\ {x}_{2}=\dot{i}\end{array}$$

Taking the time derivative of ${x}_{1}$ and ${x}_{2}$ with respect to time yields
where $k=1,2,3$.

$${\dot{x}}_{ik}={\dot{i}}_{k}=-\frac{{R}_{c}}{{L}_{c}^{}}{i}_{k}+\frac{{v}_{k}}{{L}_{c}}-\frac{{v}_{dc}}{{L}_{c}}{d}_{nk}$$

$$\begin{array}{lll}{\dot{x}}_{2k}& =& -\frac{{R}_{c}}{{L}_{c}}{\dot{i}}_{k}+\frac{1}{{L}_{c}}\frac{d{v}_{k}}{dt}-\frac{1}{{L}_{c}}\frac{d{v}_{dc}}{dt}{d}_{nk}\\ & =& \begin{array}{c}\frac{{R}_{c}^{2}}{{L}_{c}^{2}}{i}_{k}-\frac{{R}_{c}}{{L}_{c}^{2}}{v}_{k}+\frac{1}{{L}_{c}}\frac{d{v}_{k}}{dt}+(\frac{{R}_{c}}{{L}_{c}^{2}}{v}_{dc}-\frac{1}{{L}_{c}}\frac{d{v}_{dc}}{dt}){d}_{nk}\end{array}\end{array}$$

Considering the external disturbances, the model of active power filter can be rewritten as
where
are bounded external disturbances.

$$\{\begin{array}{l}{\dot{x}}_{1}={x}_{2}\\ {\dot{x}}_{2}=f({x}_{1})+bu+{f}_{d}\end{array}$$

$$f({x}_{1k})=f({i}_{k})=\frac{{R}_{c}^{2}}{{L}_{c}^{2}}{i}_{k}-\frac{{R}_{c}}{{L}_{c}^{2}}{v}_{k}+\frac{1}{{L}_{c}}\frac{d{v}_{k}}{dt},\text{}\phantom{\rule{0ex}{0ex}}f({x}_{1})=f(i)={(\begin{array}{ccc}f({i}_{1})& f({i}_{2})& f({i}_{3})\end{array})}^{T},\text{}b=\frac{{R}_{c}}{{L}_{c}^{2}}{v}_{dc}-\frac{1}{{L}_{c}}\frac{d{v}_{dc}}{dt},\text{}\phantom{\rule{0ex}{0ex}}u={d}_{n}={(\begin{array}{ccc}{d}_{{n}_{1}}& {d}_{{n}_{2}}& {d}_{{n}_{3}}\end{array})}^{T},\text{}{f}_{d}=diag(\begin{array}{ccc}{f}_{{d}_{1}}& {f}_{{d}_{2}}& {f}_{{d}_{3}}\end{array})$$

The design of an adaptive fractional fuzzy controller for a three-phase active power filter using backstepping sliding mode control is based on the above mathematical model (Equation (11)), which will be developed in detail in Section 3.

## 3. Design of Fractional Backstepping Sliding Mode Controller

#### 3.1. Fractional Calculus Preliminaries

In this section, fractional calculus is briefly introduced. ${}_{a}{D}_{t}^{\alpha}$ is defined as the fundamental operator, where $a$ and $t$ are the bounds of the operation and $\alpha $ is the order of fractional calculus. There are three definitions as follows:

1. Grunwald–Letnikov definition

$${}_{a}{D}_{t}^{\alpha}f(t)=\underset{h\to 0}{\mathrm{lim}}{h}^{-\alpha}{\displaystyle \sum _{j=0}^{\infty}{(-1)}^{j}(\begin{array}{l}\alpha \\ j\end{array})(t-jh)}$$

2. RL (Riemann-Liouville) definition

$${}_{a}{D}_{t}^{\alpha}f(t)=\frac{{d}^{n}}{d{t}^{n}}[\frac{1}{\Gamma (n-\alpha )}{\displaystyle \underset{0}{\overset{t}{\int}}\frac{f(\tau )}{{(t-\tau )}^{\alpha -n+1}}}d\tau ]\text{}n-1\alpha n$$

3. Caputo definition

$${}_{a}{D}_{t}^{\alpha}f(t)=\frac{1}{\Gamma (n-\alpha )}{\displaystyle {\int}_{a}^{t}\frac{{f}^{(n)}(\tau )}{{(t-\tau )}^{\alpha -n+1}}d\tau}\text{}n-1\alpha n$$

For the purpose of simplifying the notation, in the following section, the fractional derivative of order $\alpha $ is denoted as ${D}^{\alpha}$ instead of ${}_{a}{D}_{t}^{\alpha}$.

#### 3.2. Fractional Backstepping Sliding Mode Controller

In this section, a fractional backstepping sliding mode controller is proposed for APF in two steps. Firstly, a virtual control function is designed based on a Lyapunov function ${V}_{1}$. Secondly, a real controller is proposed. In the following, we will give the two design steps of the procedure.

Step 1: Assume the reference trajectory is ${x}_{d}$, and ${x}_{d}$ has continuous second order derivatives.

The position’s tracking error can be defined as

$${e}_{1}={x}_{1}-{x}_{d}$$

Then

$${\dot{e}}_{1}={\dot{x}}_{1}-{\dot{x}}_{d}={x}_{2}-{\dot{x}}_{d}$$

The virtual control is designed as
where ${c}_{1}$ is a positive constant.

$${\alpha}_{1}=-{c}_{1}{e}_{1}+{\dot{x}}_{d}$$

The error is defined as

$${e}_{2}={x}_{2}-{\alpha}_{1}$$

The first Lyapunov function is chosen as

$${V}_{1}=\frac{1}{2}{e}_{1}^{T}{e}_{1}$$

Then one can obtain

$$\begin{array}{l}{\dot{V}}_{1}={e}_{1}^{T}{\dot{e}}_{1}={e}_{1}^{T}({x}_{2}-{\dot{x}}_{d})\\ ={e}_{1}^{T}({e}_{2}+{\alpha}_{1}-{\dot{x}}_{d})\\ ={e}_{1}^{T}({e}_{2}-{c}_{1}{e}_{1}+{\dot{x}}_{d}-{\dot{x}}_{d})\\ =-{c}_{1}{e}_{1}^{T}{e}_{1}+{e}_{1}^{T}{e}_{2}\end{array}$$

If ${e}_{2}=0$, then ${\dot{V}}_{1}=-{c}_{1}{e}_{1}^{T}{e}_{1}\le 0$.

Step 2: The derivative of Equation (18) is

$$\begin{array}{l}{\dot{e}}_{2}={\dot{x}}_{2}-{\dot{\alpha}}_{1}\\ \begin{array}{c}\end{array}=f({x}_{1})+bu-{\dot{\alpha}}_{1}\end{array}$$

The sliding surface is defined as
where ${\lambda}_{1},{\lambda}_{2},{\lambda}_{3}$ are positive constants and $\alpha -1$ is the fractional order in the fractional derivate operation, $s={\left[\begin{array}{ccc}{s}_{1}& {s}_{2}& {s}_{3}\end{array}\right]}^{T}$.

$$s={\lambda}_{1}{e}_{1}+{\lambda}_{2}{D}^{\alpha -1}{e}_{1}+{\lambda}_{3}{e}_{2}$$

The second Lyapunov function ${V}_{2}={\left[\begin{array}{ccc}{V}_{21}& {V}_{22}& {V}_{23}\end{array}\right]}^{T}$ is defined as

$${V}_{2k}={V}_{1k}+\frac{1}{2}{s}_{k}^{2}$$

**Remark**

**1.**

${V}_{2}={\left[\begin{array}{ccc}{V}_{21}& {V}_{22}& {V}_{23}\end{array}\right]}^{T}$is a vector representing three scalar values${V}_{21}$,${V}_{22}$,${V}_{23}$such as${V}_{21}={V}_{11}+\frac{1}{2}{s}_{1}^{2}$,${V}_{22}={V}_{12}+\frac{1}{2}{s}_{2}^{2}$,${V}_{23}={V}_{13}+\frac{1}{2}{s}_{3}^{2}$. For the convenience of annotation, we use vector${V}_{2}={\left[\begin{array}{ccc}{V}_{21}& {V}_{22}& {V}_{23}\end{array}\right]}^{T}$to represent three Lyapunov functions that are scalar values.

Differentiating Equation (23) with respect to time yields
where $k=1,2,3$, ${e}_{2k}=\frac{{s}_{k}-{\lambda}_{1}{e}_{1k}-{\lambda}_{2}{D}^{\alpha -1}{e}_{1k}}{{\lambda}_{3}}$.

$$\begin{array}{lll}{\dot{V}}_{2k}& =& {\dot{V}}_{1k}+{s}_{k}{\dot{s}}_{k}\\ & =& \begin{array}{c}-{c}_{1}{e}_{1k}^{2}+{e}_{1k}{e}_{2k}+{s}_{k}({\lambda}_{1}{\dot{e}}_{1k}+{\lambda}_{2}{D}^{\alpha}{e}_{1k}+{\lambda}_{3}{\dot{e}}_{2k})\end{array}\end{array}$$

Then, ${\dot{V}}_{2k}$ can be further proposed as

$$\begin{array}{l}{\dot{V}}_{2k}={c}_{1}{e}_{1k}^{2}+{e}_{1k}{e}_{2k}+{s}_{k}({\lambda}_{1}{\dot{e}}_{1k}+{\lambda}_{2}{D}^{\alpha}{e}_{1k}+{\lambda}_{3}{\dot{e}}_{2k})\\ =-{c}_{1}{e}_{1k}^{2}+\frac{{e}_{1k}}{{\lambda}_{3}}({s}_{k}-{\lambda}_{1}{e}_{1k}-{\lambda}_{2}{D}^{\alpha -1}{e}_{1k})+{s}_{k}[{\lambda}_{1}{\dot{e}}_{1k}+{\lambda}_{2}{D}^{\alpha}{e}_{1k}+{\lambda}_{3}(f({x}_{1k})+b{u}_{k}-{\dot{\alpha}}_{1k})]\\ =-{c}_{1}{e}_{1k}^{2}-\frac{{\lambda}_{1}}{{\lambda}_{3}}{e}_{1k}^{2}+\frac{{s}_{k}{e}_{1k}}{{\lambda}_{3}}-\frac{{\lambda}_{2}{e}_{1k}{D}^{\alpha -1}{e}_{1k}}{{\lambda}_{3}}+{s}_{k}[{\lambda}_{1}{\dot{e}}_{1k}+{\lambda}_{2}{D}^{\alpha}{e}_{1k}+{\lambda}_{3}(f({x}_{1}{}_{k})+b{u}_{k}-{\dot{\alpha}}_{1k})]\\ =-{c}_{1}{e}_{1k}^{2}-\frac{{\lambda}_{1}}{{\lambda}_{3}}{e}_{1k}^{2}+{s}_{k}[\frac{{e}_{1k}}{{\lambda}_{3}}-\frac{1}{{s}_{k}{\lambda}_{3}}{\lambda}_{2}{e}_{1k}{D}^{\alpha -1}{e}_{1k}+{\lambda}_{1}{\dot{e}}_{1k}+{\lambda}_{2}{D}^{\alpha}{e}_{1k}+{\lambda}_{3}(f({x}_{1k})+b{u}_{k}-{\dot{\alpha}}_{1k})]\end{array}$$

With the aim of achieving ${\dot{V}}_{2k}\le 0$, the backstepping sliding mode controller $U={(\begin{array}{ccc}{U}_{1}& {U}_{2}& {U}_{3}\end{array})}^{T}$ is designed as
where ${U}_{1}=\frac{1}{b{\lambda}_{3}}(-\frac{{e}_{11}}{{\lambda}_{3}}+\frac{{\lambda}_{2}{e}_{11}}{{\lambda}_{3}{s}_{1}}{D}^{\alpha -1}{e}_{11}-{\lambda}_{1}{\dot{e}}_{11}-{\lambda}_{2}{D}^{\alpha}{e}_{11}-{\lambda}_{3}f({x}_{11})+{\lambda}_{3}{\dot{\alpha}}_{11})$, ${U}_{2}=\frac{1}{b{\lambda}_{3}}(-\frac{{e}_{12}}{{\lambda}_{3}}+\frac{{\lambda}_{2}{e}_{12}}{{\lambda}_{3}{s}_{2}}{D}^{\alpha -1}{e}_{12}-{\lambda}_{1}{\dot{e}}_{12}-{\lambda}_{2}{D}^{\alpha}{e}_{12}-{\lambda}_{3}f({x}_{12})+{\lambda}_{3}{\dot{\alpha}}_{12})$, ${U}_{3}=\frac{1}{b{\lambda}_{3}}(-\frac{{e}_{13}}{{\lambda}_{3}}+\frac{{\lambda}_{2}{e}_{13}}{{\lambda}_{3}{s}_{3}}{D}^{\alpha -1}{e}_{13}-{\lambda}_{1}{\dot{e}}_{13}-{\lambda}_{2}{D}^{\alpha}{e}_{13}-{\lambda}_{3}f({x}_{13})+{\lambda}_{3}{\dot{\alpha}}_{13})$.

$${U}_{k}=\frac{1}{b{\lambda}_{3}}(-\frac{{e}_{1k}}{{\lambda}_{3}}+\frac{{\lambda}_{2}{e}_{1k}}{{\lambda}_{3}{s}_{k}}{D}^{\alpha -1}{e}_{1k}-{\lambda}_{1}{\dot{e}}_{1k}-{\lambda}_{2}{D}^{\alpha}{e}_{1k}-{\lambda}_{3}f({x}_{1k})+{\lambda}_{3}{\dot{\alpha}}_{1k})$$

Substituting Equation (26) into Equation (25) yields

$${\dot{V}}_{2k}=-{c}_{1}{e}_{1k}^{2}-\frac{{\lambda}_{1}}{{\lambda}_{3}}{e}_{1k}^{2}\le 0$$

From Barbalart lemma, ${e}_{1k}$, ${e}_{2k}$, and ${s}_{k}$ will converge to zero as time goes to infinity and the closed-loop system is asymptotically stable.

## 4. Design of Fractional Backstepping Sliding Mode Adaptive Fuzzy Controller

By designing the fractional backstepping sliding mode controller, the system is proved to be stable based on Lyapunov theory. However, considering the unknown function $f({x}_{1})$, the control law (26) cannot be implemented directly. Due to the fuzzy system’s advantage of approximating an arbitrary nonlinear function to accuracy, an adaptive fuzzy system $\widehat{f}({x}_{1})$ is constructed to estimate the unknown function $f({x}_{1})$. In the following, the comprehensive analysis of designing a fractional backstepping sliding mode adaptive fuzzy controller will be given, as shown in Figure 2.

Applying the strategy of singleton fuzzification, product inference and center average defuzzification, the output of adaptive fuzzy system can be expressed as
where ${\xi}_{k}(x)=\frac{{\displaystyle \prod _{i=1}^{n}{\mu}_{k}({x}_{i})}}{{\displaystyle \sum _{l=1}^{M}\left({\displaystyle \prod _{i=1}^{n}{\mu}_{k}({x}_{i})}\right)}}$ is fuzzy basis function and ${\theta}_{fk}{}^{T}$ is an adjustable parameter which can be updated by the adaptive law
where $r$ is a positive constant.

$$\widehat{f}({x}_{k}|{\theta}_{fk})={\theta}_{fk}{}^{T}\xi {({x}_{k})}^{T}$$

$${\dot{\theta}}_{fk}={r}_{}{s}_{k}\xi {({x}_{k})}^{T}$$

Then we can get the improved control law by replacing ${f}_{k}$ with ${\widehat{f}}_{k}$

$${u}_{k}=\frac{1}{b}(-{e}_{1k}+\frac{1}{{s}_{k}}{\lambda}_{2}{D}^{\alpha -1}{e}_{1k}-{\lambda}_{1}{\dot{e}}_{1k}-{\widehat{f}}_{k}+{\dot{\alpha}}_{1k}-{\lambda}_{2}{D}^{\alpha}{e}_{1k})$$

**Proof.**

Define the optimal parameter as
where ${\Omega}_{f}$ is the aggregation of ${\theta}_{f}$.

$${\theta}_{f}^{*}=\mathrm{arg}\underset{{\theta}_{f}\in {\Omega}_{f}}{\mathrm{min}}[\mathrm{sup}|\widehat{f}(x|\underset{x\in {R}^{n}}{{\theta}_{f}})-f(x)|]$$

The minimum approximation error is defined as
where $\omega $ is bounded by a positive constant ${\omega}_{\mathrm{max}}$ as

$$\omega =f(x)-\widehat{f}(x|{\theta}_{f}^{*})$$

$$|\omega |\le {\omega}_{\mathrm{max}}$$

A Lyapunov function is defined as
where ${\phi}_{fk}={\theta}_{fk}^{*}-{\theta}_{fk}$. □

$${V}_{3k}={V}_{2k}+\frac{1}{2r}{\phi}_{fk}^{T}{\phi}_{fk}$$

Then the derivative of ${V}_{3k}$ becomes
where ${\dot{\phi}}_{fk}=-{\dot{\theta}}_{fk}$.

$$\begin{array}{l}{\dot{V}}_{3k}={\dot{V}}_{2k}+\frac{1}{r}{\phi}_{fk}^{T}{\dot{\phi}}_{fk}\\ =-{c}_{1}{e}_{1k}^{2}-\frac{{\lambda}_{1}}{{\lambda}_{3}}{e}_{1k}^{2}+{s}_{k}({f}_{k}-{\widehat{f}}_{k})+\frac{1}{r}{\phi}_{fk}^{T}{\dot{\phi}}_{f}\\ =-{c}_{1}{e}_{1k}^{2}-\frac{{\lambda}_{1}}{{\lambda}_{3}}{e}_{1k}^{2}+{s}_{k}[\widehat{f}({x}_{k}|{\theta}_{fk}^{*})-\widehat{f}({x}_{k})+{\omega}_{k}]+\frac{1}{r}{\phi}_{fk}^{T}{\dot{\phi}}_{fk}\\ =-{c}_{1}{e}_{1k}^{2}-\frac{{\lambda}_{1}}{{\lambda}_{3}}{e}_{1k}^{2}+{s}_{k}[{\phi}_{{f}_{k}}^{T}\xi {({x}_{k})}^{T}+{\omega}_{k}]+\frac{1}{r}{\phi}_{fk}^{T}{\dot{\phi}}_{fk}\\ =-{c}_{1}{e}_{1k}^{2}-\frac{{\lambda}_{1}}{{\lambda}_{3}}{e}_{1k}^{2}+\frac{1}{r}{\phi}_{{f}_{k}}^{T}[r{s}_{k}\xi {({x}_{k})}^{T}+{\dot{\phi}}_{fk}]+{s}_{k}{\omega}_{k}\end{array}$$

Applying the adaptive law (Equation (29)) into Equation (35) yields

$${\dot{V}}_{3k}=-{c}_{1}{e}_{1k}^{2}-\frac{{\lambda}_{1}}{{\lambda}_{3}}{e}_{1k}^{2}+{s}_{k}{\omega}_{k}$$

According to the fuzzy approximation theory, adaptive fuzzy systems can achieve the results that the approximation error ${\omega}_{k}$ would be a tiny number which can be ignored, then ${\dot{V}}_{3k}\le 0$ is semi-negative definite. From Barbalart lemma, we can prove that ${e}_{1k}$, ${e}_{2k}$, and ${s}_{k}$ will converge to zero. As a result, the proposed controller can ensure that the system is stable. Furthermore, the controlled system will exhibit a certain degree of robustness to external disturbances.

**Remark**

**2.**

The sliding surface designed in this paper is an ordinary sliding surface with an integrated fractional term which is not a terminal sliding surface. The reaching time obtained in this sliding mode control is same as the that of an ordinary sliding surface. The ordinary form of the sliding surface designed in this paper can only converge to zero asymptotically. Then the fractional order term is incorporated into sliding phase which offers an extra degree of freedom fractional order$\alpha $and flexible control laws to designers for meeting higher control precision and better performance compared to the integer-order sliding mode control method.

## 5. Simulation and Discussion

In this section, the feasibility of the proposed fractional backstepping sliding mode adaptive fuzzy controller is verified at the platform of MATLAB/SIMULINK with SimPower Toolbox. Comparison between the controller with fractional modules and the controller with integer orders is also given to show the advantage and effectiveness of the proposed scheme.

The membership we choose is $\mu =\mathrm{exp}[-{(x+4-(i-1)\ast 1.6)}^{2}]$, $i=1,\dots ,6$ as shown in Figure 3.

In the fractional backstepping sliding mode adaptive fuzzy controller, ${\lambda}_{1}=1,{\lambda}_{2}=0.1,{\lambda}_{3}=0.000001$, ${\theta}_{fk}={\left[\begin{array}{cccccc}{\theta}_{hk1}& {\theta}_{hk2}& {\theta}_{hk3}& {\theta}_{hk4}& {\theta}_{hk5}& {\theta}_{hk6}\end{array}\right]}^{T}$, where $k=1,2,3$, and adaptive gain $r=\mathrm{100,000}$, $c=\mathrm{100,000}$.

The main parameters of the APF system are shown in Table 1.

When the electronic system starts to work at 0 s, the source current of A phase is shown in Figure 4, which is seriously affected by the harmonic current. At the time t = 0.04 s, the switch is closed and the proposed APF controller begins to work, the source current in Figure 5 tends to a steady state after a half cycle which is about 0.01 s.

When the fractional order is set with different values, the effects of tracking the instruction current obtained are not exactly the same. Figure 6 shows the specific waveforms of the instruction current and compensation current with different values of fractional order. It can be observed that if $\alpha $ is too small ($\alpha =0.1$), the compensation current can track the instruction current reluctantly with considerable error which cannot meet the tracking standard. While $\alpha =0.5$, tracking quality is significantly improved, however, the effect is not excellent for its relative larger tracking error compared with the result when we choose $\alpha =0.9$. Logically, we choose $\alpha =0.9$ in order to achieve better effects. Correspondingly, the compensation current tracking error while $\alpha =0.9$ is shown in Figure 7, further illustrating the advantage of the proposed fractional backstepping sliding mode adaptive fuzzy controller in tracking instruction current. The values of total harmonic distortion (THD) before and after the proposed APF controller is implanted into the system are 24.71% and 1.5%, respectively. The values of the THD index decrease from the high value of 24.71% to the low value of 1.5% in 0.06 s, which is far less than the harmonic standard of IEEE of 5% [36], meaning that the designed controller has a good effect in decreasing distortion. Figure 8 shows the changing tendencies adaptive parameter ${\theta}_{f}$. Obviously, the parameters converge to stable values.

In order to verify the good robustness of the proposed controller in the presence of load changes, we add the loads in a ladder-type increase. Specifically speaking, we add the same loads to the system at the time 0.1 s and 0.2 s to see the performance of the controlled system. THD in 0.16 s and 0.26 s is 1.39% and 1.83%, respectively, still under 5%, which verifies the strong robustness of the system. Moreover, we adopt the Propotional-Intergral (PI) controller at the DC side to acquire a stable DC capacitor voltage. In Figure 9, it can be seen the DC capacitor voltage can tend to be stable regardless of the changes of the applied load.

In order to prove the superiority of the proposed fractional backstepping sliding mode fuzzy controller over conventional integer-order ones, comparison between them is also given in Table 2. It is noted that THD with a fractional controller is always lower than that using an integer-order controller, which proves better THD performance and robustness.

## 6. Conclusions

In this paper, a fractional backstepping sliding mode adaptive fuzzy controller for a three-phase active filter has been proposed. By applying the backstepping method, a fractional-order scheme with a backstepping sliding mode controller is designed without establishing a precise mathematical model for the active power filter. The unknown dynamics are approximated precisely by the adaptive fuzzy system. The simulation result demonstrates the excellent dynamic performance, small tracking error, good THD performance, and stable DC voltage compared with the integer-order one. The THD values are 1.5%, 1.39%, 1.83% in 0.06 s, 0.16 s, and 0.26 s, compared to 2.33%, 2.30%, and 2.37% between the proposed fractional backstepping sliding mode adaptive fuzzy controller, and backstepping sliding mode adaptive fuzzy controller with integer-order. In the next research step, a hardware experiment will be investigated to verify the effectiveness of the proposed scheme using the dSPACE real-time system.

## Author Contributions

J.F. conceived and designed the experiments; H.W. and D.C. performed the experiments; H.W. and D.C. analyzed the data; D.C. wrote the paper.

## Funding

This work is partially supported by National Science Foundation of China under Grant No. 61873085; Natural Science Foundation of Jiangsu Province under Grant No. BK20171198. The Fundamental Research Funds for the Central Universities under Grant No. 2017B20014.

## Conflicts of Interest

The authors declare no conflict of interest.

## References

- Ouadi, H.; Chihab, A.; Giri, F. Adaptive nonlinear control of three-phase shunt active power filters with magnetic saturation. Electr. Power Energy Syst.
**2015**, 69, 104–115. [Google Scholar] [CrossRef] - Kale, M.; Karabacak, M. Chattering free robust control of LCL filter based shunt active power filter using adaptive second order sliding mode and resonant controllers. Electr. Power Energy Syst.
**2016**, 76, 174–184. [Google Scholar] [CrossRef] - Fei, J.; Chu, Y. Double Hidden Layer Recurrent Neural Adaptive Global Sliding Mode Control of Active Power Filter. IEEE Trans Power Electr.
**2019**. [Google Scholar] [CrossRef] - Chu, Y.; Fei, J. Dynamic global PID sliding mode control using RBF neural compensator for three-phase active power filter. Trans. Inst. Meas. Control
**2018**, 40, 3549–3559. [Google Scholar] [CrossRef] - Fang, Y.; Fei, J.; Ma, K. Model Reference Adaptive Sliding Mode Control using RBF Neural Network for Active Power Filter. Int. J. Electr. Power Energy Syst.
**2015**, 73, 249–258. [Google Scholar] [CrossRef] - Fei, J.; Wang, T. Adaptive Fuzzy-Neural-Network Based on RBFNN Control for Active Power Filter. Int. J. Mach. Learn. Cybern.
**2019**, 10, 1139–1150. [Google Scholar] [CrossRef] - Gregory, A.; Cursino, B. Shunt active power filter with open-end winding transformer and series-connected converters. IEEE Trans. Ind. Appl.
**2015**, 51, 3273–3283. [Google Scholar] - Dey, P.; Mekhilef, S. Current harmonics compensation with three-phase four-wire shunt hybrid active power filter based on modified D-Q theory. IET Power Electron.
**2015**, 8, 2265–2280. [Google Scholar] [CrossRef] - Sondhi, S.; Hote, Y. Fractional order PID controller for perturbed load frequency control using Kharitono’s theorem. Int. J. Electr. Power Energy Syst.
**2016**, 78, 884–896. [Google Scholar] [CrossRef] - Yin, C.; Zhong, S. Design of sliding mode controller for a class of fractional-order chaotic systems. Commun. Nonlinear Sci. Numer. Simul.
**2012**, 17, 356–366. [Google Scholar] [CrossRef] - Jakovljevic, B.; Pisano, A. On the sliding-mode control of fractional-order nonlinear uncertain dynamics. Int. J. Robust Nonlinear Control
**2016**, 26, 782–798. [Google Scholar] [CrossRef] - Vinagre, B.; Podlubny, I. Using fractional order adjustment rules and fractional order reference models in model-reference adaptive control. Nonlinear Dyn.
**2002**, 29, 269–279. [Google Scholar] [CrossRef] - Fei, J.; Lu, C. Adaptive fractional order sliding mode controller with neural estimator. J. Frankl. Inst.
**2018**, 355, 2369–2391. [Google Scholar] [CrossRef] - Sun, G.; Zhu, Z. Fractional order tension control for stable and fast tethered satellite retrieval. Acta Astronaut.
**2014**, 104, 304–312. [Google Scholar] [CrossRef] - Fang, Y.; Fei, J.; Yang, Y. Adaptive Backstepping Design of a Microgyroscope. Micromachines
**2018**, 9, 338. [Google Scholar] [CrossRef] - Fei, J.; Liang, X. Adaptive backstepping fuzzy-neural-network fractional order control of microgyroscope using nonsingular terminal sliding mode controller. Complexity
**2018**, 2018, 5246074. [Google Scholar] [CrossRef] - Sun, W.; Kaynak, O. Adaptive backstepping control for active suspension systems with hard constraints. IEEE/ASME Trans. Mech.
**2013**, 18, 1072–1079. [Google Scholar] [CrossRef] - Davila, J. Exact tracking using backstepping control design and high-order sliding modes. IEEE Trans. Autom. Control
**2013**, 58, 2077–2081. [Google Scholar] [CrossRef] - Cao, D.; Fei, J. Adaptive fractional fuzzy sliding mode control for three-phase active power filter. IEEE Access
**2016**, 4, 6645–6651. [Google Scholar] [CrossRef] - Fang, Y.; Fei, J.; Cao, D. Adaptive Fuzzy-Neural Fractional-Order Current Control of Active Power Filter with Finite-Time Sliding Controller. Int. J. Fuzzy Syst.
**2019**. [Google Scholar] [CrossRef] - Hou, S.; Fei, J.; Chen, C. Finite-Time Adaptive Fuzzy-Neural-Network Control of Active Power Filter. IEEE Trans. Power Electron.
**2019**, 34, 10298–10313. [Google Scholar] [CrossRef] - Liu, Y.; Gong, M.; Tong, S. Adaptive Fuzzy Output Feedback Control for a Class of Nonlinear Systems with Full State Constraints. IEEE Trans. Fuzzy Syst.
**2018**. [Google Scholar] [CrossRef] - Li, Y.; Tong, S. Adaptive fuzzy control with prescribed performance for block-triangular-structured nonlinear systems. IEEE Trans. Fuzzy Syst.
**2017**. [Google Scholar] [CrossRef] - Fei, J.; Feng, Z. Adaptive Fuzzy Super-Twisting Sliding Mode Control for Microgyroscope. Complexity
**2019**, 2019, 6942642. [Google Scholar] [CrossRef] - Wang, H.; Liu, P.; Niu, B. Robust Fuzzy Adaptive Tracking Control for Nonaffine Stochastic Nonlinear Switching Systems. IEEE Trans. Cybern.
**2018**, 48, 2462–2471. [Google Scholar] - Fei, J.; Zhou, J. Robust adaptive control of MEMS triaxial gyroscope using fuzzy compensator. IEEE Trans. Syst. Man Cybern. Part B Cybern.
**2012**, 42, 1599–1607. [Google Scholar] - Wu, H.N.; Feng, S. Mixed Fuzzy/Boundary Control Design for Nonlinear Coupled Systems of ODE and Boundary-Disturbed Uncertain Beam. IEEE Trans. Fuzzy Syst.
**2018**. [Google Scholar] [CrossRef] - Zhu, Y.; Fei, J. Disturbance Observer Based Fuzzy Sliding Mode Control of PV Grid Connected Inverter. IEEE Access
**2018**, 6, 21202–21211. [Google Scholar] [CrossRef] - Wu, H.N.; Wang, Z. Observer-Based Hinfty Sampled-Data Fuzzy Control for a Class of Nonlinear Parabolic PDE Systems. IEEE Trans. Fuzzy Syst.
**2018**, 26, 454–473. [Google Scholar] [CrossRef] - Chu, Y.; Fei, J.; Hou, S. Adaptive Global Sliding Mode Control for Dynamic Systems Using Double Hidden Layer Recurrent Neural Network Structure. IEEE Trans. Neural Netw. Learn. Syst.
**2019**. [Google Scholar] [CrossRef] - Liu, Y.; Li, S.; Tong, S. Neural Approximation-Based Adaptive Control for a Class of Nonlinear Nonstrict Feedback Discrete-Time Systems. IEEE Trans. Neural Netw. Learn. Syst.
**2017**, 28, 1531–1541. [Google Scholar] [CrossRef] - Fei, J.; Lu, C. Adaptive Sliding Mode Control of Dynamic Systems Using Double Loop Recurrent Neural Network Structure. IEEE Trans. Neural Netw. Learn. Syst.
**2017**, 29, 1275–1286. [Google Scholar] [CrossRef] - Fei, J.; Ding, H. Adaptive sliding mode control of dynamic system using RBF neural network. Nonlinear Dyn.
**2012**, 70, 1563–1573. [Google Scholar] [CrossRef] - Wang, H.; Liu, P.; Li, S. Adaptive Neural Output-Feedback Control for a Class of Nonlower Triangular Nonlinear Systems with Unmodeled Dynamics. IEEE Trans. Neural Netw. Learn. Syst.
**2018**, 29, 3658–3668. [Google Scholar] - Xu, B.; Yang, D.; Shi, Z.; Pan, Y.; Chen, B.; Sun, F. Online Recorded Data Based Composite Neural Control of Strict-feedback Systems with Application to Hypersonic Flight Dynamics. IEEE Trans. Neural Netw. Learn. Syst.
**2018**, 29, 3839–3849. [Google Scholar] - Hammond, P.W. A harmonic filter installation to reduce voltage distortion from static power converters. IEEE Trans. Ind. Appl.
**1988**, 24, 53–58. [Google Scholar] [CrossRef]

Supply voltage and frequency | ${V}_{s1}={V}_{s2}={V}_{s3}=220\text{}\mathrm{V},\text{}f=50\text{}\mathrm{Hz}$ |

Switching frequency | ${f}_{sw}=10\text{}\mathrm{KHz}$ |

The non-linear load | $R=10\text{}\text{}\mathsf{\Omega}$, $L=2\text{}\mathrm{mH}$ |

Active power filter parameters | $L=10\text{}\mathrm{mH}$, $R=100\text{}\mathsf{\Omega}$, $C=100\text{}\mathsf{\mu}\mathrm{F}$, ${v}_{dcref}=850\text{}\mathrm{V}$ |

PI controller | ${k}_{p}=0.03$, ${k}_{i}=0.01$ |

Time | THD (%) | |
---|---|---|

Fractional Backstepping Sliding Mode Adaptive Fuzzy Control | Backstepping Sliding Mode Adaptive Fuzzy Control with Integer Order | |

0 | 24.71% | 24.71% |

0.06 s | 1.50% | 2.33% |

0.16 s | 1.39% | 2.30% |

0.26 s | 1.83% | 2.37% |

© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).