You are on page 1of 9

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/346957096

Real-time Implementation of a Takagi-Sugeno Fuzzy Controller for a DC-DC


Boost Converter

Article  in  Electrotehnică, Electronică, Automatică · January 2020


DOI: 10.46904/eea.20.68.4.11080012

CITATIONS READS

0 227

5 authors, including:

Djamel Ounnas Youcef Soufi


Université de Tébessa Université de Tébessa
34 PUBLICATIONS   136 CITATIONS    85 PUBLICATIONS   638 CITATIONS   

SEE PROFILE SEE PROFILE

Abderrezak Metatla Guiza Dhaouadi


University of Batna 1 Faculty of Science and Technology, University of Tebessa,
17 PUBLICATIONS   45 CITATIONS    14 PUBLICATIONS   49 CITATIONS   

SEE PROFILE SEE PROFILE

Some of the authors of this publication are also working on these related projects:

Implementation of digital controllers for nonlinear systems using arduino boards View project

action recognition View project

All content following this page was uploaded by Djamel Ounnas on 11 December 2020.

The user has requested enhancement of the downloaded file.


90 ELECTROTEHNICĂ, ELECTRONICĂ, AUTOMATICĂ (EEA), 68 (2020), nr. 4, pp.90-97
https://doi.org/10.46904/eea.20.68.4.11080012

Real-time Implementation of a Takagi-Sugeno Fuzzy


Controller for a DC-DC Boost Converter
Rabah DAOUADI1, Djamel OUNASS2, Youcef SOUFI2, Abdrezak METATLA1, Dhaouadi GUIZA2
1
Department of Mechanical Engineering, University 20 Aout1955, Skikda, Algeria
2
Labget laboratory, Department of Electrical Engineering, Faculty of Sciences and technology, Route de
Constantine, 12002 Tebessa, Algeria

Abstract
This paper deals with the design, simulation, and real-time implementation of a new Takagi-Sugeno (T-S) fuzzy
tracking control for a DC-DC boost converter using Arduino mega and MATLAB/Simulink environment. The developed
controller can drive the output voltage of the boost converter to perfectly track a reference voltage, taking into
account variations in load or input voltage. Firstly, a T-S model with four fuzzy rules is developed to represent
exactly the dynamic behaviour of the nonlinear boost converter, which is investigated to develop a new control
scheme based on a combined methodology of fuzzy control and particle swarm optimization (PSO) technique. In
this context, a two-stage design procedure is developed to determine the fuzzy stabilizing control gains by solving
a set of linear matrix inequalities (LMIs) and to determine an integral control gain and a reference scaling factor
using PSO algorithm. A real-time implementation of the proposed controller is carried out using an Arduino Mega
and spatial Simulink package known as “Simulink support package for Arduino hardware”. Simulation and
experimental results show that the proposed controller offers a fast dynamic response and better performance in
terms of accuracy and limitation of overshoot compared to the baseline Proportional-Integral (PI) controller.

Keywords: DC-DC boost converter, T-S fuzzy model, LMIs, PSO, Arduino board

Received: 14 August 2020

To cite this article:


DAOUADI R., OUNASS D., SOUFI Y., METATLA A., DHAOUADI G., “Real-time Implementation of a Takagi-Sugeno Fuzzy
Controller for a DC-DC Boost Converter”, in Electrotehnica, Electronica, Automatica (EEA), 2020, vol. 68, no. 4, pp. 90-
97, ISSN 1582-5175.

approach suffers from a major drawback in the form of


1. Introduction a chattering phenomenon caused by the high frequency
DC-DC boost converters are widely used in industrial switching of a sliding mode controller [14]. On the other
applications due to their various advantages, such as hand, a fuzzy logic controller (FLC) has been proposed
simplicity, low cost, small sizes, and efficiency. The for DC-DC boost converter in [15], where their
main role of these electronic devices is to step up the simulation and experimental results show that the
voltage from their input to their load by a switching output voltage tracks its reference signal without any
action (on or off). These converters have a major steady-state oscillations. Nevertheless, the drawback of
importance in several applications especially, in FLC is the lack of systematic procedure to design its
renewable energy sources such as: fuel cells, solar cells fuzzy rules and fuzzy membership function. Moreover,
and wind turbines generators [1]-[4]. an adaptive backstepping controller is also proposed for
However, the control of a boost converter is still a boost converters in [16] but it is hindered by problems
challenging task because it exhibits nonlinearities, and obstacles during the implementation stage. A
discontinuity and non-minimum phase phenomenon. feedback exact linearization controller has been
Thus, the linear controllers such as P, PI and PID cannot proposed in [13], which proved its efficiency in terms of
ensure good performances; they operate optimally only tracking and rapidity but cannot be investigated for a
for a specific condition [5],[6]. To address these issues, wide range of variation due to the excessive output
new nonlinear and advanced control techniques have voltage overshoot.
been proposed in the last years; these include sliding Furthermore, Takagi–Sugeno fuzzy-model-based
mode control [7], [8], linearization control [9], control has proved its effectiveness in the control of
backstepping control approach [10], adaptive control many nonlinear systems. T-S fuzzy models are
[11], [12] and exact linearization methods [13] among considered as a useful tool for modelling and controlling
others. nonlinear systems described by fuzzy rules where each
Sliding mode control is widely used due to its rule represents the input-output relations of a system.
simplicity and a relatively easy implementation, but this In general, a parallel distributed compensation (PDC)
ELECTROTEHNICĂ, ELECTRONICĂ, AUTOMATICĂ (EEA), 68 (2020), nr. 4 91
scheme is used to construct a global fuzzy controller by 2. Mathematical boost converter model
blending all local state feedback controllers. The
The mathematical model of a DC-DC boost converter
Lyapunov method is usually employed to find stability
can be given by the following nonlinear state space form
conditions of the system, which can be transformed into
[20, 21]:
linear matrix inequalities (LMIs) and solved easily using
convex optimization techniques [17]. In the literature, 𝑥𝑥̇ (𝑡𝑡) = 𝐴𝐴(𝑥𝑥, 𝑡𝑡)𝑥𝑥(𝑡𝑡) + 𝛽𝛽𝛽𝛽(𝑡𝑡) + 𝑤𝑤(𝑡𝑡) (1)
many works have been devoted to the stabilization
problem of nonlinear systems based on T-S fuzzy models with
whereas the problem of tracking control has been poorly 1
treated. It has been considered only for a specific 𝑖𝑖𝐿𝐿 (𝑡𝑡) ⎡ 0 − 𝐿𝐿 ⎤
nonlinear system forms. For instance, the problem of 𝑥𝑥(𝑡𝑡) = � � , 𝐴𝐴 = ⎢⎢1 1⎥
⎥,
tracking control has been analysed based on a control 𝑣𝑣0 (𝑡𝑡) ⎢𝐶𝐶 − 𝑅𝑅𝑅𝑅 ⎥
methodology combining T-S fuzzy models and a concept ⎣ ⎦
known as virtual desired variables (VDVs) to simplify the 1 − 𝑉𝑉𝑖𝑖𝑖𝑖
design of the reference model and control law for many 𝑣𝑣0 (𝑡𝑡) ⎡ 𝐿𝐿 ⎤
𝐿𝐿
nonlinear systems. This control methodology has been 𝐵𝐵�𝑥𝑥(𝑡𝑡)� = � � , 𝑤𝑤(𝑡𝑡) = ⎢ ⎥
1
𝑖𝑖 (𝑡𝑡) ⎢ 0 ⎥
used in many applications, such as the DC-DC buck 𝐶𝐶 𝐿𝐿 ⎣ ⎦
converter [14], photovoltaic conversion system [17],
where∶ 𝐿𝐿 is the inductor of the input circuit, C is the
permanent magnet synchronous motors [18] and wind
capacitor of the output filter, 𝑅𝑅 is the output load
energy conversion system [19]. However, this technique
resistor 𝑣𝑣0 , 𝑉𝑉𝑖𝑖𝑖𝑖 , 𝒊𝒊𝑳𝑳 and 𝜇𝜇 represent, respectively: the
cannot be applied for the control of DC-DC boost
output voltage, the external source voltage, the
converter, because it’s nonlinear model does not satisfy
inductor current and the duty cycle, as shown in
a specific generalized kinematics constraint. In this
Figure 1, where: 𝑤𝑤(𝑡𝑡) will be considered as a
context, the present paper deals with the problem of
disturbance.
tracking for DC-DC boost converter using a new control
law inspired significantly from the classical feedback
control of linear systems.
The main contribution of this paper is the design,
simulation and real-time implementation of a new T-S
fuzzy integral control scheme of a DC-DC boost
converter using an Arduino mega board and
Matlab/Simulink environment. Firstly, the nonlinear
dynamic of the considered boost converter is
represented by a T-S fuzzy system, which is used to Figure 1. Equivalent circuit of DC-DC boost converter
design a feedback controller that stabilizes the system
based on the PDC technique. Secondly, a scaling factor 3. Proposed control methodology
gain, and integral controller gain are obtained by using
the PSO technique. Simulation and experimental results The goal of this work is to develop a new feedback
of real-time implementation using Arduino Mega and controller that allows driving the output voltage of a
MATLAB environment with a comparative study are boost converter 𝑉𝑉𝑖𝑖𝑖𝑖 to track a desired reference
presented to show the effectiveness of the proposed signal 𝑉𝑉𝑟𝑟𝑟𝑟𝑟𝑟 . The proposed method is inspired from the
controller and its superiority to the baseline PI-based feedback control of linear systems. This method
controller. The proposed T-S fuzzy controller is consists, firstly, in calculating the stabilization gains
implemented on an ATmega 2560-based microcontroller using the known pole placement technique. Secondly, a
of Arduino Mega board, which has 54 digital reference scale factor is calculated according to the
input/output pins (of which 14 can be used as PWM transfer function of the controlled system. In this
outputs) and 16 analogue inputs. A special package context, the proposed method contains three terms of
known as "Simulink Support Package for Arduino control:
Hardware" is used to interface the Matlab/Simulink with 1) a fuzzy controller (with 𝐾𝐾𝑖𝑖 gain) is developed
the hardware setup without any programming language. based on the T-S fuzzy models which is designed to
The manuscript is organized as follows: the second guarantee the system stabilization, in other words,
section is dedicated to the mathematical nonlinear driving the system states converge to zero from a non-
model of boost converter. The third section presents the zero initial condition;
proposed tracking control scheme, which is composed 2) An integral controller (with 𝐾𝐾I gain) is also
of two parts. The first part is devoted to the design of integrated in the control scheme to ensure the rejection
T-S fuzzy stabilization controller and the second part of disturbances;
shows the development of an integral controller and a 3) a reference scale factor (with 𝐾𝐾𝑟𝑟 gain) is assigned
reference scaling factor based on PSO technique. In the to the reference signal to ensure a good trajectory
fourth sections, the simulation and experimental results tracking.
are given, followed by a conclusion at the end of this Therefore, the proposed new control law has the
paper. following form:

𝑢𝑢(𝑡𝑡) = ∑𝒓𝒓𝒊𝒊=𝟏𝟏 𝐾𝐾𝑰𝑰 𝑥𝑥(𝑡𝑡) + ∫ 𝐾𝐾𝐼𝐼 �𝐾𝐾𝑟𝑟 𝑉𝑉𝑟𝑟𝑟𝑟𝑟𝑟 − 𝑉𝑉0 �𝑑𝑑𝑑𝑑 (2)
92 ELECTROTEHNICĂ, ELECTRONICĂ, AUTOMATICĂ (EEA), 68 (2020), nr. 4

and more details about the proposed controller will be C 3: If 𝑉𝑉0 is 𝐹𝐹12 and 𝑖𝑖𝐿𝐿 is 𝐹𝐹21 Then 𝜏𝜏(𝑡𝑡) = −𝐾𝐾3 𝑥𝑥(𝑡𝑡)
discussed in the following subsections.
3.1 Fuzzy feedback stabilization controller C 4: If 𝑉𝑉0 is 𝐹𝐹12 and 𝑖𝑖𝐿𝐿 is 𝐹𝐹22 Then 𝜏𝜏(𝑡𝑡) = −𝐾𝐾4 𝑥𝑥(𝑡𝑡)

The design of the T-S fuzzy feedback stabilization The final fuzzy controller output is given by:
controller requires the transformation of the nonlinear 𝜏𝜏(𝑡𝑡) = − ∑𝑟𝑟𝑖𝑖=1 ℎ𝑖𝑖 (𝑡𝑡)𝐾𝐾𝑖𝑖 𝑥𝑥(𝑡𝑡) (5)
model of the boost converter Eq. (1) without
disturbance term into a fuzzy model by using the
By using (4) and (5), the closed-loop system can be
variables of output voltage 𝑉𝑉0 and inductor current as 𝑖𝑖𝑳𝑳
rewritten as follows:
decision variables. Assuming that these variables are
bounded as:
𝑥𝑥̇� = ∑𝑟𝑟𝑖𝑖=1 ∑𝑟𝑟𝑗𝑗=1 ℎ𝑖𝑖 (𝑡𝑡) ℎ𝑗𝑗 (𝑡𝑡)�𝐴𝐴𝑖𝑖 − 𝐵𝐵𝑖𝑖 𝐾𝐾𝑗𝑗 �𝑥𝑥(𝑡𝑡) (6)
𝑉𝑉0 ≤ 𝑉𝑉0 ≤ 𝑉𝑉�0 and 𝑖𝑖𝐿𝐿 ≤ 𝑖𝑖𝐿𝐿 ≤ 𝑖𝑖𝐿𝐿
By letting 𝐺𝐺𝑖𝑖𝑖𝑖 = �𝐴𝐴𝑖𝑖 − 𝐵𝐵𝑖𝑖 𝐾𝐾𝑗𝑗 � the closed-loop system
and using sector nonlinearity transformation [22,23], (6) can be described by the following form:
the nonlinear system can be described by the following
four If-Then fuzzy rules: 𝑥𝑥̇� = ∑𝑟𝑟𝑖𝑖=1 ∑𝑟𝑟𝑗𝑗=1 ℎ𝑖𝑖 (𝑡𝑡) ℎ𝑗𝑗 (𝑡𝑡)𝐺𝐺𝑖𝑖𝑖𝑖 𝑥𝑥(𝑡𝑡) (7)
R 1: If 𝑉𝑉0 is 𝐹𝐹11 and 𝑖𝑖𝐿𝐿 is 𝐹𝐹21 Then 𝑥𝑥̇ (𝑡𝑡) = 𝐴𝐴1 𝑥𝑥(𝑡𝑡) +
𝐵𝐵1 𝜏𝜏(𝑡𝑡) 3.2 Stabilization conditions
The development of the fuzzy stabilization
R 2: If 𝑉𝑉0 is 𝐹𝐹11 and 𝑖𝑖𝐿𝐿 is 𝐹𝐹22 Then 𝑥𝑥̇ (𝑡𝑡) = 𝐴𝐴2 𝑥𝑥(𝑡𝑡) + controller consists in obtaining the gains 𝐾𝐾𝑖𝑖 satisfying
𝐵𝐵2 𝜏𝜏(𝑡𝑡) the following theorem conditions [17], [18]:
Theorem 1: The T-S fuzzy model (7) is asymptotically
R 3: If 𝑉𝑉0 is 𝐹𝐹12 and 𝑖𝑖𝐿𝐿 is 𝐹𝐹21 Then 𝑥𝑥̇ (𝑡𝑡) = 𝐴𝐴3 𝑥𝑥(𝑡𝑡) + stabilizable via the feedback controller (5), if there
exists, matrices 𝑌𝑌𝑖𝑖𝑖𝑖 , with:
𝐵𝐵3 𝜏𝜏(𝑡𝑡)
𝑌𝑌𝑖𝑖𝑖𝑖 =𝑌𝑌𝑖𝑖𝑖𝑖𝑇𝑇 and 𝑌𝑌𝑗𝑗𝑗𝑗 = 𝑌𝑌𝑖𝑖𝑖𝑖𝑇𝑇 for 𝑖𝑖 ≠ 𝑗𝑗 ,
R 4: If 𝑉𝑉0 is 𝐹𝐹22 and 𝑖𝑖𝐿𝐿 is 𝐹𝐹22 Then 𝑥𝑥̇ (𝑡𝑡) = 𝐴𝐴4 𝑥𝑥(𝑡𝑡) +
a matrix 𝐷𝐷, matrices 𝑀𝑀𝑖𝑖 , a common positive definite
𝐵𝐵4 𝜏𝜏(𝑡𝑡) 𝑋𝑋 = 𝑋𝑋 𝑇𝑇 > 0 matrix, such that the following LMI
where : 𝐹𝐹11 , 𝐹𝐹12 , 𝐹𝐹21 , and 𝐹𝐹22 are the membership conditions hold:
functions given by: 𝑇𝑇 𝑇𝑇 𝑇𝑇 𝑇𝑇
�𝑋𝑋𝐴𝐴𝑖𝑖 + 𝐴𝐴𝑖𝑖 𝑋𝑋 − 𝐵𝐵𝑖𝑖 𝑀𝑀𝑖𝑖 − 𝑀𝑀𝑖𝑖 𝐵𝐵𝑖𝑖 + 𝑌𝑌𝑖𝑖𝑖𝑖 𝑋𝑋𝐷𝐷 � < 0 , 𝑖𝑖 =
𝑉𝑉0 (𝑡𝑡)−𝑉𝑉0
𝐷𝐷𝐷𝐷 − 𝑋𝑋
⎧𝐹𝐹11 (𝑉𝑉0 ) = 𝐹𝐹12 (𝑉𝑉0 ) = 1 − 𝐹𝐹11 (𝑉𝑉0 ) 1, … . . , 𝑟𝑟 (8)
𝑉𝑉0 −𝑉𝑉0
𝑖𝑖𝐿𝐿 (𝑡𝑡)−𝑖𝑖𝐿𝐿 (3)
⎨ 𝐹𝐹21 (𝑖𝑖𝐿𝐿 ) = , 𝐹𝐹22 (𝑖𝑖𝐿𝐿 ) = 1 − 𝐹𝐹21 (𝑖𝑖𝐿𝐿 )
⎩ 𝑖𝑖𝐿𝐿 −𝑖𝑖𝐿𝐿 𝑋𝑋𝐴𝐴𝑇𝑇𝑖𝑖 + 𝐴𝐴𝑖𝑖 𝑋𝑋 + 𝑋𝑋𝐴𝐴𝑇𝑇𝑗𝑗 + 𝐴𝐴𝑗𝑗 𝑋𝑋 − 𝐵𝐵𝑖𝑖 𝑀𝑀𝑗𝑗 − 𝑀𝑀𝑇𝑇𝑗𝑗 𝐵𝐵𝑇𝑇𝑖𝑖 − 𝐵𝐵𝑗𝑗 𝑀𝑀𝑖𝑖 −
𝑀𝑀𝑇𝑇𝑖𝑖 𝐵𝐵𝑇𝑇𝑗𝑗 + 2𝑌𝑌𝑖𝑖𝑖𝑖 < 0 , 𝑖𝑖 < 𝑖𝑖 ≤ 𝑟𝑟 (9)
The sub-matrices are defined as:
1 1
⎡ 0 − 𝐿𝐿 ⎤ 𝑉𝑉0
𝐴𝐴1 = 𝐴𝐴2 = 𝐴𝐴3 = 𝐴𝐴4 = ⎢⎢1 ⎥ , 𝐵𝐵 = � 𝐿𝐿 �
1⎥ 1 𝑌𝑌11 𝑌𝑌12 ⋯ 𝑌𝑌1𝑟𝑟
1
⎢𝐶𝐶 − 𝑅𝑅𝑅𝑅⎥ − 𝑖𝑖𝐿𝐿 𝑌𝑌21 𝑌𝑌23 ⋯ 𝑌𝑌2𝑟𝑟
⎣ ⎦ 𝐶𝐶 � � ≡ 𝑌𝑌� > 0 (10)
⋮ ⋱ ⋮ ⋮
1 1 1
𝑉𝑉0 𝑉𝑉 𝑉𝑉 𝑌𝑌1𝑟𝑟 𝑌𝑌2𝑟𝑟 ⋯ 𝑌𝑌𝑟𝑟𝑟𝑟
𝐿𝐿 𝐿𝐿 0 𝐿𝐿 0
𝐵𝐵2 = � � 𝐵𝐵3 = � � ,𝐵𝐵4 = � �
1
− 𝑖𝑖𝐿𝐿
1
− 𝑖𝑖𝐿𝐿
1
− 𝑖𝑖𝐿𝐿 The fuzzy stabilization gains are given by:
𝐶𝐶 𝐶𝐶 𝐶𝐶
𝐾𝐾𝑖𝑖 = 𝑀𝑀𝑖𝑖 𝑋𝑋 −1 (11)
The global dynamic system is inferred as follows:

𝑥𝑥̇ (𝑡𝑡) = ∑𝑟𝑟𝑖𝑖=1 ℎ𝑖𝑖 (𝑡𝑡)(𝐴𝐴𝑖𝑖 𝑥𝑥(𝑡𝑡) + 𝐵𝐵𝑖𝑖 𝜏𝜏(𝑡𝑡)) (4) 3.3 Tuning of integral controller and factor scale
based on PSO technique
where:
The particle swarm optimization was introduced in
ℎ𝑖𝑖 = ω𝑖𝑖 ⁄∑𝑟𝑟𝑖𝑖=1 ω𝑖𝑖 , ω𝑖𝑖 (𝑡𝑡) = ∏𝑛𝑛𝑗𝑗=1 𝐹𝐹𝑖𝑖𝑖𝑖 for all 𝑡𝑡 > 0 , ℎ𝑖𝑖 ≥ 1995 by James Kennedy and Russell Eberhart. It is an
0 and ∑𝑟𝑟𝑖𝑖=1 ℎ𝑖𝑖 (𝑡𝑡) = 1 optimization technique that uses a population of
candidate solutions to find an optimal solution to an
The controllers (C) are developed to deal with the optimization problem. The degree of optimality is
fuzzy stabilization problem as follows: generally measured by a fitness function. The PSO
method was inspired by the collective behaviour of
C 1: If 𝑉𝑉0 is 𝐹𝐹11 and 𝑖𝑖𝐿𝐿 is 𝐹𝐹21 Then 𝜏𝜏(𝑡𝑡) = −𝐾𝐾1 𝑥𝑥(𝑡𝑡)
organized populations (societies).
The members of the population, called particles, are
C 2: If 𝑉𝑉0 is 𝐹𝐹11 and 𝑖𝑖𝐿𝐿 is 𝐹𝐹22 Then 𝜏𝜏(𝑡𝑡) = −𝐾𝐾2 𝑥𝑥(𝑡𝑡) dispersed in the space of the problem, together with the
ELECTROTEHNICĂ, ELECTRONICĂ, AUTOMATICĂ (EEA), 68 (2020), nr. 4 93
behaviour of the swarm, which can be described from the algorithm, a swarm is randomly distributed in the
particle view. search space, each particle having a random velocity.
The PSO algorithm finds and locates the global best Then, at each time step, each particle can evaluate the
solution by adapting a fitness function. At the end of the quality of its position and keep in memory its best
process, the optimal solution according to a fitness performance, i.e. the best position it has reached and
function is found for controller parameters. First, the its quality. It is able to interrogate a number of its
PSO selects a random solution to initialize the congeners and to obtain from each of them its best
population. Next, the algorithm updates its performance [24]. The PSO algorithm is summarized in
performance to obtain the best values. At the start of Figure 2.

Figure 2. Combined Methodology using T-S Fuzzy Control and PSO Technique

Every particle is designated by its velocity and and the global best position of the entire swarm
position in the swarm. The velocity of a moving particle noted 𝑔𝑔𝑏𝑏𝑏𝑏𝑏𝑏𝑏𝑏 . The velocity and position of the particle can
is established based on the change in position or be expressed according to Equations (12) and (13),
direction. Each particle updates its new position based respectively [25].
on the best position attained by a particle noted 𝑃𝑃𝑏𝑏𝑏𝑏𝑏𝑏𝑏𝑏 ,
94 ELECTROTEHNICĂ, ELECTRONICĂ, AUTOMATICĂ (EEA), 68 (2020), nr. 4

𝑣𝑣𝑖𝑖𝑖𝑖 (𝑡𝑡 + 1) = 𝑤𝑤𝑣𝑣𝑖𝑖𝑖𝑖 (𝑡𝑡) + 𝑟𝑟1 𝑐𝑐1 �𝑝𝑝𝑖𝑖𝑖𝑖 (𝑡𝑡) − 𝑥𝑥𝑖𝑖𝑖𝑖 (𝑡𝑡)� + From these results, it is clear that the output voltage
follows rapidly its reference signal without overshoot.
𝑟𝑟2 𝑐𝑐2 �𝑔𝑔𝑗𝑗 (𝑡𝑡) − 𝑥𝑥𝑖𝑖𝑖𝑖 (𝑡𝑡)� (12) The second simulation is carried out to test the
performance of the proposed controller against
𝑥𝑥𝑖𝑖𝑖𝑖 (𝑡𝑡 + 1) = 𝑥𝑥𝑖𝑖𝑖𝑖 (𝑡𝑡) + 𝑣𝑣𝑖𝑖𝑖𝑖 (𝑡𝑡 + 1) (13) suddenly changes in input voltage and load. The input
voltage is assumed to change from 5 𝑉𝑉 to 7 𝑉𝑉 at time
where: 𝑣𝑣𝑖𝑖𝑖𝑖 (𝑡𝑡), 𝑥𝑥𝑖𝑖𝑖𝑖 (𝑡𝑡 + 1), 𝑣𝑣𝑖𝑖𝑖𝑖 (𝑡𝑡), 𝑣𝑣𝑖𝑖𝑖𝑖 (𝑡𝑡 + 1), 𝑝𝑝𝑖𝑖𝑖𝑖 (𝑡𝑡) and t=0.5s, while the resistive load is assumed to change
𝑔𝑔𝑖𝑖𝑖𝑖 (𝑡𝑡) denote respectively the particle velocity, particle from 50Ω to 100 Ω at time t=1s. The responses of the
updated velocity, particle position, particle updated output voltage are shown in Figure 4.
position, particle best position and global best position
of the swarm. 𝑤𝑤 is the inertia term. 𝑐𝑐1 and 𝑐𝑐2 are the
acceleration coefficients. 𝑟𝑟1 and 𝑟𝑟2 are two uniformly
distributed random numbers ranging from 0 to 1. This
work uses PSO technique to find the best values of the
integral gain 𝐾𝐾𝑖𝑖 and reference scaling factor 𝐾𝐾𝑟𝑟 , each
particle in the search space introduces a probable
solution for the 𝐾𝐾𝑖𝑖 and 𝐾𝐾𝑟𝑟 ,which are a two-dimensional
problem. The performance of the probable solution
point is determined using the following integral signal
error (ISE) as fitness function:
𝐼𝐼𝐼𝐼𝐼𝐼 = ∫�𝑒𝑒(𝑡𝑡)�𝑑𝑑𝑑𝑑 (14) Figure 4. Output voltage response for variables input
voltage and load
4. Simulation and experimental results From these results, it is clear that regardless of
suddenly changes in input voltage and load, the output
4.1 Simulation results voltage follows rapidly its reference signal with rapid
The performance of the proposed controller is first and good disturbance rejection performance.
verified through simulation tests using Matlab-Simulink 4.2 Experimental verification
environment. Where the fuzzy stabilization gains are
obtained by solving the LMIs (8), (9) and (10) as follows: To verify and validate the simulation results, the
hardware setup shown in Figure 5 is used comprising a
𝐾𝐾1 = [5.0973 −0.2202], 𝐾𝐾2 = [3.4329 −0.0359] boost converter, an Arduino mega, a power supply, a
digital multimeter and a PC USB oscilloscope.
𝐾𝐾3 = [5.0973 −0.2202], 𝐾𝐾4 = [5.0973 −0.2202]
The integral gain and factor scale are obtained using
PSO technique with the parameters given in Table 1, as
follows:
𝐾𝐾𝐼𝐼 = 40.5235, 𝐾𝐾𝑟𝑟 = 0.5075

Table 1. PSO Parameters


Parameter Value
𝑤𝑤 0.9
𝐶𝐶1 0.12
𝐶𝐶2 1.20
Number of particles 50
Number of iterations 160
Figure 5. Hardware setup for the validation of
The first simulation test is carried out in desired proposed method
reference voltage signal 𝑉𝑉𝑟𝑟𝑟𝑟𝑟𝑟 = 11 𝑉𝑉 and input
Note that a special package known as Simulink
voltage. 𝑉𝑉𝑖𝑖𝑖𝑖 =5 𝑉𝑉 The response of the output voltage, is
support package for Arduino hardware is used to
shown in Figure 3.
interface the hardware setup with Matlab/Simulink
environment, as shown in Figure 5.
The considered DC-DC boost converter consists of an
input capacitor (used as filter), an input current sensor,
a potentiometer used as input voltage sensor, an
inductor, MOSFET switch, a diode, an output capacitor,
a potentiometer used as output voltage sensor and a
resistive load. The parameters of the boost converter
are given in Table 2.

Figure 3. Output voltage response for Vref =11 V


Table 2. Boost parameter
Parameter Value
The Simulink model that was used for the real-time
MOSFET IRFZ44N implementation of the proposed controller is shown in
Ultrafast Diode 31DF4 Figure 6.
Output capacitor 470uF
Resistor load 56
Switching reference 31,4KHz

Figure 6. Simulink model used for the real-time implementation of proposed controller

The first experimental test is carried out in desired


reference voltage signal 𝑉𝑉𝑟𝑟𝑟𝑟𝑟𝑟 = 11 𝑉𝑉 and input
voltage 𝑉𝑉𝑖𝑖𝑖𝑖 =5 𝑉𝑉.
The obtained and recorded experimental results
using Matlab/Simulink are shown in Figure 7, which
represent response of the output voltage.

Figure 8. Output voltage and PWM control signal for


𝑉𝑉𝑟𝑟𝑟𝑟𝑟𝑟 =11 𝑉𝑉

From these results, one can clearly see that the


simulation and experimental responses are almost the
same which proves the validity and good performances
of the proposed fuzzy controller.
Moreover, an experimental test related to the
Figure 7. Output voltage response for 𝑉𝑉𝑟𝑟𝑟𝑟𝑟𝑟 =11 𝑉𝑉 comparison of the performance of the proposed
controller with the conventional base-line PI
Some other tests are also provided for another multi- (Proportional-Integrator) controller where their gains
step reference voltage and input voltage 𝑉𝑉𝑖𝑖𝑖𝑖 =5 𝑉𝑉. (𝐾𝐾𝑃𝑃 and 𝐾𝐾𝑖𝑖 ) are obtained based on the following DC-DC
Figure 8 shows the simulation and experimental boost transfer function [26]:
responses of output voltage recorded using (1−𝐷𝐷)2
Matlab/Simulink environment. �0 (𝑠𝑠)
𝑉𝑉
=
𝑉𝑉𝑖𝑖𝑖𝑖
∗ 𝐿𝐿
−𝑠𝑠
(15)
𝑑𝑑� (𝑠𝑠) 𝑅𝑅𝑅𝑅(1−𝐷𝐷) 2 𝑠𝑠 (1−𝐷𝐷)2
𝑠𝑠 2 + +
𝑅𝑅𝑅𝑅 𝐿𝐿𝐿𝐿

where: 𝑉𝑉�0 (𝑠𝑠) and 𝑑𝑑̂ (𝑠𝑠) are small signal perturbations of
output voltage and switching duty cycle. 𝐷𝐷 is duty ratio.
The PI gains (𝐾𝐾𝑃𝑃 and 𝐾𝐾𝑖𝑖 ) are calculated using the known
pole compensation technique, as follows:
𝐾𝐾𝑃𝑃 = 7.1100𝑒𝑒 − 04
96 ELECTROTEHNICĂ, ELECTRONICĂ, AUTOMATICĂ (EEA), 68 (2020), nr. 4

𝐾𝐾𝑖𝑖 = 0.5690 Electrotehnica, Electronica, Automatica (EEA),


The experimental waveforms of the output voltages 2018, vol. 66, no. 4, pp. 5-14, ISSN 1582-5175.
for an input voltage 𝑉𝑉𝑖𝑖𝑖𝑖 =5 𝑉𝑉 and multi-step reference [2] Khan, M.D., “Artificial intelligent based maximum
voltage are shown Figure 9. Power Point Tracking Controller For fuel cell
system”, European journal of electrical
engineering, 2019, vol. 21, no. 2, pp. 97-
302.https://doi.org/10.18280/ejee.210306.
[3] Maroufi O., Choucha A., Chaib L “Performance of
Optimal Fractional Order PI Controller for MPPT-
Pitch control of a Wind Turbine using Bat
Algorithm”, in Electrotehnica, Electronica,
Automatica (EEA), 2019, vol. 67 no. 3, pp. 37-44,
ISSN 1582-5175.
[4] Parenden, D., Haryanto, H., “Simulation of
photovoltaic concentration with Fresnel lens using
Simulink Matlab”, European journal of electrical
engineering, 21(2):223-227.
[5] Rao, S N., Ashok Kumar, D. V., Babu, C. , “Grid
Connected Distributed Generation System with High
Figure. 9. Output voltage responses using proposed and
PI controllers Voltage Gain Cascaded DC-DC Converter Fed
Asymmetric Multilevel Inverter Topology”,
The performances of the proposed and compared International Journal of Electrical and Computer
controller are summarized in Table 3. Engineering, 2018, vol. 8, no. 6, pp. 4047-4059.
[6] Ounnas D., Guiza D., Soufi Y., Maamri M.,
Table 3. Performances comparison between proposed “Hardware Implementation of Digital PID Controller
and PI controllers for DC-DC Boost Converter”, International
Conference on Power Electronics and their
Rise time (s) 0.3051 0.0203 Applications (ICPEA), 2015.
Settling time 0.5476 0.0249 [7] Singh S., Fulwani D.,Kumar V., “Robust sliding-mode
Overshoot (%) 0.0249 0.4404 control of dc/dc boost converter feeding a constant
power load”, IET Power Electronics, 2015,vol. 8,
It is clearly seen from these experimental results no.7, pp. 1230-1237. : 10.1049/iet-pel.2014.0534.
that the proposed controller offers better performance [8] Alsmadi Y. M., Utkin V., Haj-ahmed, M. A., Xu, L., “
in terms of limitation of overshoot, speed tracking, time Sliding mode control of power converters DC/DC
response and accuracy. Note that the compared PI converters”, International Journal of Control, 2018,
controller can be tuned to obtain a faster time response, vol. 91, no. 11, pp. 2472-2493.
but in this case, an undesirable large peak overshoot will [9] Arora S., Balsara B., Bhatia D., “Input-output
be appeared. linearization of a boost converter with mixed load
constant voltage load and constant power load”,
5. Conclusions IEEE Transactions on Power Electronics, 2018,
vol.34, no.1, pp.815-825. 10.1109/TPEL
In this paper, a new controller for a DC-DC boost .2018.2813324.
converter is proposed using T-S fuzzy models to drive [10] Yin Y., Liu J., Wang S., Lin H., Vazquez S., Zeng Q.,
the output voltage to track perfectly the reference Wu L., “Backstepping Control of a DC-DC Boost
voltage signals. Converters Under Unknown Disturbances”, IECON
The proposed control law has two terms: the first 2018, 44th Annual Conference of the IEEE Industrial
one is a fuzzy stabilization controller where their gains Electronics Society, 2 018. pp. 1055-1060.
are calculated based on sufficient conditions given in 10.1109/IECON.2018.8591649.
LMIs form and solved using optimization tools. [11] Hadjeras S., Sanchez C. A., Garcia G., “Hybrid
The second term is an integral controller with a adaptive control of the boost converter”, IEEE 56th
reference scale factor where their parameters are Annual Conference on Decision and Control (CDC),
calculated using the particle swarm optimization 2017, pp. 5720-5725. 10.1109/CDC.2017.8264523.
technique. [12] Pandey S.K., Patil S.L., Phdak S.P., “Comment on
The comparison of the performances of the proposed PWM-Based Adaptive Sliding-Mode Control for Boost
and PI controllers show that the proposed one offers DC–DC Converters”, IEEE Transactions on Industrial
Electronics, 2017, vol. 65, no. 6, pp. 5078-5080.
better performance in terms of limitation of overshoot,
10.1109/TIE.2017.2764872.
tracking speed, response time and accuracy.
[13] Salimi M., Siami S., “Cascade nonlinear control of
The proposed controller is implemented successfully DC-DC buck/boost converter using exact feedback
using an ATmega2560-based microcontroller and Matlab linearization”, 4th International Conference on
/Simulink environment. Electric Power and Energy Conversion Systems
(EPECS) IEEE, 2015, pp. 1-5.
6. Bibliographic References [14] Guiza D., Soufi Y., Ounnas D., Metatla, A, “Design
[1] Hebchi M., Kouzou A., Choucha A., “Perturb and and Implementation of Takagi-Sugeno Fuzzy
Observe Improved Algorithm for Maximum Power Tracking Control for a DC-DC Buck Converter”,
Point Tracking in Photovoltaic Systems”, in
ELECTROTEHNICĂ, ELECTRONICĂ, AUTOMATICĂ (EEA), 68 (2020), nr. 4 97
Advances in Electrical and Electronic Engineering, Authors’ Biographies
2019, vol. 17, no. 3, pp. 234-243.
[15] Ounnas D., et al. “Simulation and Hardware Rabah Daouadi was born in Tebessa, Algeria.
Implementation of Fuzzy Logic Controller for DC-DC He received a B.Sc. in 2004 and Magister in
Boost Converter”, International Meeting on 2009 degrees in Electromechanical
Advanced Technologies in Energy and Electrical engineering from Larbi Tebessi University,
Engineering (IMAT3E), 2019. Tebessa, Algeria. He is currently a research
fellow and Ph.D. candidate at Skikda
[16] Alharbi K. S., McCann R. A., “Adaptive Backstepping
University (Algeria). His research interests
Control of PWM DC-DC Boost Power Converter
Considering Parasitic Elements Effect”, Clemson include fuzzy control of electrical drives, energy conversion and
University Power Systems Conference (PSC) IEEE, power control
Corresponding-address: rabah.daouadi@univ-tebessa.dz
2018, pp. 1-6.
[17] Ounnas D., Ramdani M. Chenikher S., Boukhtir T., Djamel OUNNAS was born in Tebessa, Algeria.
“Efficient Maximum Power Point Tracking Controller He received a B.Sc. degree in electronic from
for Photovoltaic Systems Using Takagi–Sugeno Fuzzy Tebessa University, Algeria in 2007, Magister
Models”, Arabian Journal for Science and degree in automatic from Biskra University in
Engineering, 2017, vol. 42, pp.4971–4982. 2011. He graduated with Ph.D. degree in
[18] Lian K. Y., Chiang C. H., Tu H. W. (2007). LMI-Based Automatic from Setif University, Algeria in
Sensorless Control of Permanent Magnet 2016.
Currently he is a Professor in the department of Electrical
Synchronous Motors. IEEE Transactions on Industrial
Engineering, Faculty of Sciences and Technology, Larbi Tebessi
Electronics,54(5):2769-2777. University, Tebessa, Algeria. His research interests include
[19] Ounnas D., Ramdani M., Chenikher S.,Bouktir fault detection and diagnosis in industrial systems, fuzzy
T.,“Optimal reference model based fuzzy tracking control of electrical drives, energy conversion and power
control for wind energy conversion system”, control.
International Journal of Renewable Energy Research Corresponding-address: djamel.ounnas@univ-tebessa.dz
(IJRER), 2016,vol.6,no.3,pp. 1129-1136.
[20] Guldemir H., (2005). Sliding mode control of DC-DC Youcef SOUFI was born in Tebessa, Algeria. He
boost converter. Journal of applied sciences, 5(3): received a B.Sc. degree and Doctorate degrees
588-599. 10.3923/jas.2005.588.592. from the University of Annaba, Algeria, in 1991
[21] Ayachit A., Reatti A., Kazimierczuk M. K. ,“Small- and 2012 respectively and a Magister degree in
signal modelling of the PWM boost DC-DC converter 1997 in Electrical Engineering from Tebessa
at boundary-conduction mode by circuit averaging University, Algeria.
technique”, IEEE International Symposium on
Currently, he is a Professor in the department of Electrical
Circuits and Systems (ISCAS) ,2015,pp. 229-232.
Engineering, Faculty of Sciences and Technology, Larbi
[22] DJEDDI A., SOUFI Y., CHENIKHER S., AOUICHE A., Tebessi University, Tebessa, Algeria. His research interests
“Synthesis of unknown Inputs PI and PMI Observers include: electrical machines control, diagnostics, wind and
for Takagi Sugeno augmented Models applied on a solar energy, power electronics and drives applied to
Manipulator Arm”, in Electrotehnica, Electronica, renewable and sustainable energy.
Automatica (EEA), 2020, vol. 68, no. 1, pp. 89-97, Corresponding-address: y_soufi@yahoo.fr
ISSN 1582-5175.
[23] Ounnas D., Ramdani M., Salah C., Tarek B. ,“A Abderrazak METATLA received the Engineer,
Magister and Ph.D. degrees in
combined methodology of H fuzzy tracking control
electromechanical engineering from Badji
and virtual reference model for a PMSM”, Advances Mokhtar University in Annaba, Algeria in 2004,
in Electrical and Electronic engineering, 2015, vol. 2009. Since 2004, he has been in the
13, no. 3, pp. 212-222. 10.15598/aeee.v13i3.1331. Electromechanical Department of Skikda
[24] Joyo M. K., Raza Y., Ahmed S. F., Billah M. M., Kadir University, Algeria where he is currently a
K., Naidu K., Mohd Yusof Z.,“Optimized Professor of electrical engineering. His main research fields
Proportional-Integral-Derivative controller for include electric machines, control systems, and renewable
upper limb rehabilitation robot”, Electronics, 2019, energy.
Corresponding-address: metatla21_abderrezak@yahoo.fr
vol. 8, p. 826.
[25] Aouf A., Boussaid L., Sakly A. , “A PSO algorithm Dhaouadi GUIZA was born in Tebessa,
applied to a PID controller for motion mobile robot Algeria.He received a B.Sc. degree in
in a complex dynamic environment”, International Elecrtonics from
Conference on Engineering & MIS (ICEMIS), 2017, pp. Skikda University, Algeria in 2001, Magister
1–7. degree in electronic components and system
[26] Mayo-Maldonado J. C., Rosas-Caro, J. C., Rapisarda, from Constantine University, Algeria in 2009.
P , “ Modelling approaches for DC–DC converters He is currently a research fellow and Ph.D. candidate at Skikda
with switched capacitors ”,IEEE Transactions on University (Algeria). His research interests include fuzzy control
Industrial Electronic, 2014, vol. 62, no. 2, pp. 953- of electrical drives, energy conversion and power control,
959. practical electronics and Drives.
Corresponding-address: d.guiza@univ-tebessa.dz
Funding Sources

This work was supported by the Laboratory of Electrical


Engineering (Labget), University Larbi Tebessi, Tebessa, Algeria.

View publication stats

You might also like