Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
net/publication/313995210
CITATIONS READS
0 4,493
2 authors, including:
Ammar Mutasem
Jordan University of Science and Technology
1 PUBLICATION 0 CITATIONS
SEE PROFILE
All content following this page was uploaded by Ammar Mutasem on 25 February 2017.
A Graduation Project
in the
Faculty of Engineering
Irbid, Jordan
January 2017
by
Eng.sahyoon94@gmail.com
Supervised by
i
ABSTRACT
This project is discussing the modeling of three phase inverter with filter and load. after
going through the analysis and simulation procedure, the exact model is not a linear system and
this does not support the Matlab PID Tuner. The main purpose of this study is to establish a
controllable approach for the exact model of three-phase inverter feeding the most common used
application (RL load), and analyze the behavior of the average model, then control it using PID
transformed into DC components by using Park’s transformation and this is the main procedure
in order to make the system linear. After testing the both models, the established average model
has been modified to deal with linear current controlling method using PID controller and Tuned
Finally, the project has been established an optimization method to improve the behavior
ii
TABLE OF CONTENTS
1. Introduction ...............................................................................................................................1
2. Background ...............................................................................................................................3
3. Approach ..................................................................................................................................10
iii
3.2.1 The Switching function of (SPWM INVERTER) ........................................................16
5. Conclusions ..............................................................................................................................44
References .....................................................................................................................................46
iv
LIST OF FIGURES
Figure 19: Open loop average model with mutual coupling ........................................... 27
v
Figure 21: Closed loop decoupled average model .......................................................... 36
Figure 32: Comparison between output voltage in exact and average models (abc) ...... 43
Figure 33: Comparison between output voltage in exact and average models (dq0) ...... 43
Figure 34: Comparison between output current in exact and average models (abc) ...... 44
Figure 35: Comparison between output current in exact and average models (dq0)....... 44
vi
MODELING OF THREE-PHASE SPWM INVERTER
1.1 Introduction
The three phase SPWM inverter is a power electronics application which is used to
convert DC to AC in order to obtain a sinusoidal wave with the desired amplitude and frequency
The exact model is nonlinear model so the linear controller can't be adjusted
by using the Control System Tuner application from Robust Control Toolbox in
Matlab/Simulink.
1.2 Objective
The mathematical model aims to establish a linear system that allows the model to deal
with linear controllers using Matlab/Simulink. In order to gain more ability to control either
transient or steady state response and the ability to study and change the performance of the
1.3 Approach
inverter with filter and load, the cornerstone is the building of exact model step by step to be
1
The average model has been built by deriving the equation of the operation for each
Starting from the inverter, through the filter, till the load, each stage has been
implemented as a set of mathematical equations from the operation principle of each. Then the
average model is being corrected by the decoupling method to make each stage operates
independently.
Finally, the linear controlling method has been applied on the resultant average model by
using PID controller, the PID tuning application used to obtain the best (fast and robust)
performance graphically then the resultant PID parameters are used in to control the exact model
Chapter 2 covers a general background for the main parts of the overall system, and the
needed information in order to accomplish the project in a proper way. Moreover, the
background regarding the physical structure of the system, the representation of three-phase
system, and the modeling methods in order to have the needed information to build the final
optimized controllable model are discussed as chapter 3 describes the approach and the
procedure of the project to solve the problem, including the modeling of the exact model,
deriving the mathematical expressions in order to set the average model, decoupling for the
average model, and applying linear controlling on both average and exact model.
Chapter 4 covers the methodology of work for the overall system, testing each model
2
2. BACKGROUND
In this project, the electrical system consists of three main subsystems; inverter, filter,
and load.
2.1.1 inverter
Inverters are circuits that convert DC to AC, more precisely; inverters transfer power
from a DC source to an AC load [1]. Basically, in single phase inverter, it happened by switching
the two switches, and in three-phase inverters it happened by sequence of switching the switches
3
2.1.2 Filter
Filter mitigates the harmonics of the output of the inverter. In order to attenuate the
harmonics, it is necessary to pass them through a filter. Typically, a reduction of the harmonic
close as possible to the pure sinusoidal wave by eliminating the unwanted frequencies and passes
4
2.1.3 RL-Load
Resistor-Inductor circuit that represents the most common of electrical devices are
depicted in Fig. 4.
5
2.2 Three- phase representation:
abc sequence is the usual method to express the three-phase voltage, current, and other
6
2.2.2 Reference frame representation: [3][4]
Clarke Transformation
quadrature quantities.
Park Transformation
into orthogonal rotating reference frame. The three reference frames considered in this
implementation are:
1. Three-phase reference frame, in which Ia, Ib, and Ic are co-planar three-phase quantities
2. Orthogonal stationary reference frame, in which Iα (along α axis) and Iβ (along β axis)
are perpendicular to each other, but in the same plane as the three-phase reference frame.
7
2.3 Modeling
The exact model representing the physical components of the electrical system has been
The average model of the exact electrical system is the mathematical model which is
based on representing each component of the electric system as mathematical equations [5][6]
Fig. 9 shows the mathematical model of the exact model in previous figure Fig. 8.
8
Fig. 9: open loop average model in Matlab/simulink
Decoupling method
The dq0 system has mutual coupling between the d component and q component, so the
decoupling method is used to eliminate the effect of mutual coupling between them. [6][7].
9
3. APPROACH
The system parameters of three-phase SPWM inverter are as follows: the DC voltage
source = 400V, fundamental frequency = 50 Hz, carrier frequency = = 3000 Hz, Output
10
3.1.1 SPWM
Since the two switches are never simultaneously, the output voltage on the scope
The goal of sine pulse width modulation is to produce a sinusoidal output voltage
PWM switching be sinusoidal at the frequency ( ). Fig. 5.13 illustrates the SPWM principle.
11
Fig. 13: output voltage of SPWM single-phase inverter
As shown in Fig. 10, the inverter output voltage is determined in the following
When
When
12
Also, the inverter output voltage has the following features: [8]
(1)
13
3.2 State Space Model of three phase SPWM inverter
Case (1) if
(2)
Case (2) if
14
From Fig. 15 q=1 from
(3)
(4)
Recall: ( ) =slope ( - )
(5)
15
The equation of straight line after substituting is shown as
(6)
(7)
(8)
(9)
Where i = a,b,or c ,
Then , , and
16
The output voltages from the SPWM inverter are defined as
(10)
(11)
From the equation (9) the output voltage of the dynamic SPWM is defined as
(12)
The following equations (13), (14) and (15) demonstrate process to get the equation (16)
(13)
(14)
(15)
(16)
The three phase voltage of dynamic SPWM inverter can be obtained from (16), where i=a,b,c
17
(17)
Now, from (17) the term has been removed to deal with dq0 to be more easily which means
(18)
Recall, (19)
The line voltage will be transformed to phase voltage based on equation (19) to deal with per
The three phase voltages of dynamic SPWM inverter after elimination are shown as
(20)
18
Finally, the given equations (20) can be expressed as the following state space model in abc
system
(21)
The state space model in abc system (21) has been transformed to dq0 system
(22)
(23)
(24)
(25)
(26)
Recall,
(27)
19
Finally, The State-space in dq0 system has been found
(28)
20
3.2.2 Filter
By applying Kirchhoff’s current and voltage laws respectively in Fig. 17, the following
(29)
(30)
(31)
From (29) and (30) the three phase filter output voltage is obtained
(32)
(33)
the given equations (32), (33) can be expressed as the following state space model in abc system
21
(34)
The state space model in abc system (34) has been transformed to dq0 system by the following
equations
(35)
(36)
(37)
(38)
Sub the equations (35), (36), (37) and (38) in (32) and (33)
(39)
(40)
(41)
(42)
22
Recall,
(43)
(44)
(46)
23
3.2.3 RL-LOAD
By applying Kirchhoff’s voltage law in fig., the following voltage equations are derived:
(46)
(47)
the given equations (46), (47) can be expressed as the following state space model in abc system
(48)
24
The state space model in abc system (48) has been transformed to dq0 system.
(49)
(50)
(51)
(52)
Finally, the given equations (52) can be expressed as the following state space model in dq0
system
(53)
25
The overall system
The previous system has a problem of mutual coupling happens between d and q
26
3.3 The decoupling method:
Decoupling equations:
1- Inverter
A. d-component
(54)
(55)
(56)
(57)
The coupling between and by ω can be decoupled by subtracted the from the
B. q-component
(58)
(59)
(60)
27
(61)
The coupling between and by ω can be decoupled by added the from the input
C. Zero-component
(62)
28
2- Filter
Voltages
A. d-component
(63)
(64)
(65)
(66)
The coupling between and by ω can be decoupled by subtracted the from the
B. q-component
(67)
(68)
(69)
(70)
The coupling between and by ω can be decoupled by added the from the input
(71)
Currents
A. d-component
(72)
(73)
(74)
(75)
30
The coupling between and by ω can be decoupled by subtracted the from the
B. q-component
(76)
(77)
(78)
(79)
The coupling between and by ω can be decoupled by added the from the input of
C. Zero-component
(80)
31
3-Load
A. d-component
(81)
(82)
(83)
(84)
The coupling between and by ω can be decoupled by subtracted the from the
B. q-component
(85)
(86)
(87)
(88)
32
The coupling between and by ω can be decoupled by added the from the input
C. Zero-component
(89)
33
3.4 Current controlling :
The load current is controlled by a linear controller i.e PID controller; the previous
linearized system has been built to deal with Matlab Tuner in a proper way.
The gains of PID controller determined using graphical Matlab PID Tuner which give the
PID Tuner provides a fast and widely applicable single-loop PID tuning method for the
Simulink PID controller blocks. With this method PID controller parameters can be tuned to
Finally, those tuned gains of PID controller are used in the nonlinear (exact) model and
34
Fig. 21: closed loop decoupled average model
4.1 Methodology
1- Building the exact model of the overall system using Matlab/Simulink power electronics
libraries as it in Fig.8.
2- Building the average model step by step and using mathematical state-space which
3- using the proper state-space representation for each step as it detailed in the appendices
(appendix A).
4- using the decoupling technique to cancel the effect of coupling between each two
following stages as it is described in Fig.19 and detailed in the appendices (appendix B).
6- applying the PID parameters and test the transient response in the average model.
7- using the TUNED PID parameters in the exact model which is built previously.
9- The resultant PID parameters can be used in the actual (practical) device under the same
filter and load parameters, it will give the same transient and steady-state response.
10- Finally, this project can be used in many design applications for three-phase inverter
under different load and filter cases, to gain the desired behavior.
36
4.2 Results
PID tuning
37
Exact model results
38
2- output current of exact model
39
Average model results
1- output voltage
40
2- output current
41
Comparison between results in exact and average model
A- output voltages
Fig. 32: comparison between output voltages in exact and average models (abc)
Fig. 33: comparison between output voltages in exact and average models (dq0)
42
B- output currents
Fig. 34: comparison between output currents in exact and average models (abc)
Fig. 35: comparison between output currents in exact and average models (dq0)
43
5. CONCLUSIONS
5.1 Summary
approach for the exact model of three-phase inverter feeding the most common used
application (RL-load), and analyzing the behavior of the average model, then
Finally, the desired resultant selected PID parameters used in the exact model
which is considered as the practical model. In other words, this project has established
different loads.
The future plans revolve around improving the overall system in many
aspects; the first priority is to develop the averaged closed loop approach by
implementing more realistic effects for each stage in order to improve the overall
In details, for the inverter; dead time and its effects on current and voltage
ripple at the output. also improving the filter model to be the most realistic and closest
to the practical filters. And the most important goal is to build different subsystems
representing specific loads and implement them in details with all their effects; Drive
loads such as Induction motors and PMSM, or loads on grid connected with
44
And for the research side, the future plans focus on converting the current
model or the next improved one into Hardware Description Language (HDL), which
will help to use and program Field-Programmable Gate Array (FPGA), which can be
begins.
45
REFERENCES
[3] Microsemi, Park, Inverse Park and Clarke, Inverse Clarke, user guide
(http://www.microsemi.com/index.php?option=com_docman&task=doc_download&
gid=132799),2013.
[6] J. Song, X. Zhang, L. Zheng, Y. Gao and Y. Song, Simulation and Experiment of
Three-phase Voltage SPWM Inverter, Taiyuan, China, November 2015, inverter;
modeling; decoupling; dual-loop control; PI controller
[7] R. Zhang, High Performance Power Converter Systems for Nonlinear and
Unbalanced Load/Source, Blacksbug, Virginia ,1998
46
APPENDIX A. AVERAGE MODEL STATE-SPACES
Inverter
In abc system
In dq0 system
47
. Filter
In abc
system
In dq0
system
Load
In abc systrm
In dq0 system
48
APPENDIX B. DECOUPLING METHODE
Decoupling equations:
1. Inverter
A. d-component
(54)
(55)
(56)
(57)
The coupling between and by ω can be decoupled by subtracted the from the
B. q-component
(58)
(59)
(60)
49
(61)
The coupling between and by ω can be decoupled by added the from the input
C. Zero-component
(62)
50
2. Filter
Voltages
A. d-component
(63)
(64)
(65)
(66)
The coupling between and by ω can be decoupled by subtracted the from the
B. q-component
(67)
(68)
(69)
(70)
The coupling between and by ω can be decoupled by added the from the input
(71)
Currents
A. d-component
(72)
(73)
(74)
(75)
52
The coupling between and by ω can be decoupled by subtracted the from the
B. q-component
(76)
(77)
(78)
(79)
The coupling between and by ω can be decoupled by added the from the input of
C. Zero-component
(80)
53
3-Load
A. d-component
(81)
(82)
(83)
(84)
The coupling between and by ω can be decoupled by subtracted the from the
B. q-component
(85)
(86)
(87)
(88)
54
The coupling between and by ω can be decoupled by added the from the input
55
C. Zero-component
(89)
56