Advances in Power Electronics

Volume 2012 (2012), Article ID 176876, 11 pages

http://dx.doi.org/10.1155/2012/176876

## Using Averaged Modeling for Capacitors Voltages Observer in NPC Inverter

Power Electronics Group, Université de Sfax, ENIS-Sfax, BP. 1173, 3038 Sfax, Tunisia

Received 17 May 2012; Accepted 12 November 2012

Academic Editor: C. M. Liaw

Copyright © 2012 Bassem Omri et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

This paper developed an adaptive observer to estimate capacitors voltages of a three-level neutral-point-clamped (NPC) inverter. A robust estimated method using one parameter is proposed, which eliminates the voltages sensors. An averaged modeling of the inverter was used to develop the observer. This kind of modeling allows a good trade-off between simulation cost and precision. Circuit model of the inverter (implemented in Simpower Matlab simulator) associated to the observer algorithm was used to validate the proposed algorithm.

#### 1. Introduction

Multilevel inverters can provide an effective alternative of high power applications, providing a high quality voltage, increasing efficiency and robustness, and reducing interference electromagnetics [1–4]. There are three main topologies of multilevel inverters: diode-clamped inverter [2, 5, 6], flying capacitor inverter [7, 8], and cascade multilevel inverter [6, 9]. Among the multilevel inverters, the most popular topology is the diode-clamped inverter which is called as a neutral-point-clamped (NPC) inverter in three levels. It is proposed by Nabae et al. [10]. This type of inverter avoids the complexity associated with the series connection of semiconductor switches or the bulky coupling transformer, produces low distortion harmonics, and has an average cost.

However, in NPC inverter, the DC-link voltage is divided by capacitors, and each capacitor is composed of series connection construction. Therefore, if the voltage unbalancing occurs between each capacitor, the line-to-line output voltage waveform has many harmonic components and the power devices in NPC inverter cannot guarantee the safe operation. So, one NPC inverter requirement is to produce a good control maintaining the optimal balance of capacitor voltages [11–13]. Thus, regulation of these capacitors voltages requires information about such voltages. For that there are two possibilities either measuring or estimating such voltages.

Regarding the first possibility, it presents several disadvantages: besides the known difficulties when measuring a high-voltage level, if the number of levels increases the number of capacitors increases in NPC inverter. Then it will be necessary to use multiple-voltage sensors to measure the capacitor voltages, which reduces the reliability. Furthermore, the use of the voltages sensors presents many difficulties of establishment in front of the use of the current sensors. On the other hand, the second alternative uses software sensors, called observers, which replace the physical sensors (the voltage sensors). It is suitable to estimate the capacitors voltages through only the phase currents measurement. So, the observer is independent of the number of the level of NPC inverter. Unlike the traditional direct voltage sensing depends on the levels number.

An observer is a data-processing algorithm to reconstruct the variable state system from the input, mathematical model, and output measurement of the real system. It is an attractive solution because it benefits from a mathematical model of the system. It is less expensive and more reliable because it is applied by a digital computer. Actually, the calculation of the digital signal processors (DSP) is the execution of such sophisticated and complex algorithms with the high-degree precision. Many works related to the observer design for the nonlinear systems were published [14–16].

Recently, the authors [17] designed a robust observer based on adaptive backstepping approach for three-level NPC inverters. It is used for capacitor voltages estimation. This approach gave good results. However, the authors used an instantaneous reference model of NPC inverter. Therefore, the simulation cost is significant. Moreover, the adaptive backstepping algorithm used many parameters (adaptation gains, design constant) to design the observer. The algorithm becomes so complex when the number of levels increases.

This paper proposes an adaptive observer in order to estimate the voltages capacitors of 3-levels inverter NPC (Figure 1). The adapive algorithm is robust, simple to implement, and uses one parameter called forgetting factor. An averaged reference model of three-level NPC inverter is used for simulation. This kind of modeling allows a good tradeoff between simulation cost and precision.

This paper is organized as follows. In Section 2, the PWM control strategies are presented. An averaged reference model of three-level inverter NPC is given in Section 3. Section 4 shows the observer design for the NPC inverter. Finally, simulation results are given in order to illustrate the performance of the proposed observer to estimate NPC capacitors voltages.

#### 2. The PWM Control Strategies of Multilevel Inverters

The proliferation of power electronic devices has led to a demand for more effective pulse width modulation strategies. The current waveform can be improved by increasing the frequency of the carrier wave; this approach reduces copper losses at the expense of increased switching losses. To overcome the limitations of existing switching strategies the technique known as space vector pulse width modulation (SVPWM) is becoming widely used in industry [18, 19].

SVPWM is a highly efficient method of generating the six-pulsed signals for the inverter stage of the motor drive. Conventional switching techniques treat each phase as a separately generated sinusoid that is displaced by 120 degrees. However, a change in the voltage of one-half bridge due to switching invariably influences the other two-phase voltages [20]. SVPWM evaluates the switching schema as a whole, which results in better use of the DC bus and generates significantly less harmonic distortion than the sine triangle method [20].

The SVPWM control of the 3-level NPC inverter consists to control it in the () coordinates which can generate 27 possible voltages vectors (Figure 2). They are divided in 6 large vectors (PNN,PPN,NPN,NPP,NNP,PNP), 6 medium vectors (PON,OPN,NPO,NOP,ONP,PNO), 12 small vectors (with the redundancy: (PPO,OON), (OPO,NON), (OPP,NOO), (OOP,NNO), (ONO,POP), (POO,ONN)) and 3 zero vectors (OOO,NNN,PPP). When the power devices, and , are connected to the positive DC-link rail the state is noted by “P.” In contrast, when the output is connected to the negative DC-rail by turning both and on, the state is called “N.” Moreover, the switching state is defined as “O” when , and both power devices, are on.

The objective of SVPWM technique is to approximate a reference space vector somewhere within the hexagon of Figure 2 using a combination of the 27 switching vectors. Indeed, when the reference voltage is in one sector, several couples of vector are possible.

For example in Sector 1 (Figure 3), the vector can be divided on or . We choose the second solution, since is greater in amplitude than . At each commutation period of the inverter, the vector , projected on two adjacent vectors, ensures the calculation of the dwelling time.

Let be a modulation period, dwelling time of the first vector dwelling time of the second vector , and dwelling time of zero vectors. We define the duty cycles and related to times and , respectively, of the vectors and by: For one modulation period , the output voltage of the inverter is given by: And the dwelling time of each vector is given by For more details see [21].

#### 3. The Nonideal Average Model

Based on the averaged representation of the PWM switch [22], Figure 4 shows the proposed averaged model of the one-leg three-level multilevel converters. is the average value of the load current over the switching period. This model applies a controlled voltage source ( and ) and a controlled current source ( and ). Each three-level converter leg has four controlled switches and six uncontrolled switches. The four controlled switches are directly governed by external control signals. The uncontrolled switches are indirectly governed by the state of the controlled switches and the circuit conditions.

The average values of the different voltage and current sources of the proposed averaged model of the bridge (A) are given by [22].

Consider that is the switching period of the active switch and () the duty cycle, which is the ratio of the on-time of the active couple switches ((), (, ), or ()) by the switching period , respectively (Figure 5).

and represent respectively, the voltage across the diode and the MOSFET in on-state. These values can be deduced from the devices static characteristics : When only output current behavior is considered, a simplified representation of the averaged model (Figure 6) can be used, where The averaged values of the voltage source and the current source of the bridge (A) are given as follows.

If the current is positive, If the current is negative, In order to demonstrate the accuracy of the proposed averaged model, a circuit model of the inverter implemented in Simpower Matlab simulator, using the circuit represented in Figure 1 is used. For the simulation in this section and Section 5, we use 2 GHz Core2 Duo processor and 3 GB RAM.

The comparison between the current waveforms (Figure 7) obtained by the Simpower simulator and the current given by the proposed model shows the good accuracy of the averaged model behavior for converter electric analysis. The current error between the two types’ models is given in Figure 8.

Figure 9 shows the capacitors voltages ( and ) waveforms obtained by the model Simpower simulator and the averaged model. The simulation results given by the proposed averaged model are in good agreement with Simpower simulations.

It is evident that multilevel converter analysis using fine models gives accurate results, but these simulations cost is unaffordable. When long time range simulation is needed, the proposed averaged model can be used, and the obtained results show the accuracy of the proposed model (Table 1). So, we used this model like a reference model in the observer design.

#### 4. Observer Design of Capacitors Voltages

The DC side of the three-level NPC inverter (Figure 1) has a DC source and two connections capacitors and . The switching variable represents the state of the multilevel inverter active switches, , , . The three states of the binary switching can be defined as Applying the Kirchhoff laws to the three-level inverter circuit (Figure 1) and doing some mathematical manipulations, the dynamic equations of the AC currents, , , and , and the capacitor voltages, and , are defined as functions of the circuit parameters and switching variables : In order to obtain a simplified model which contains less equations, we change the switching sequences in the () coordinates: where is the Concordia transformation: Applying (11) to (8), the new model is represented in () coordinates by where This model can be written as where , . For different configurations, the capacitors are not always traversed by the load current. The current can pass by one or two capacitors as it cannot traverse any capacitor if the top switchers of each leg are all closed or all open. Thus, some configurations give observability problem of the studied system. This can be proven by the test of rank, whenever, at least, a capacitor is traversed by the load current: It is clear that is not of full rank; thus the system is not observable. So, to design the observer, a convenient representation of the model must be given.

To overcome this difficulty, the idea is to consider two interconnected affine models and to construct the new observer based on those models.

Now, consider that the system (15) can be represented as a set of the interconnected subsystems as follows: Each subsystem can be written as where represents the state of the jth subsystem, are the instantaneous inputs applied to the system, and is the measurable output, and and .

The function is the interconnection function. It depends on the control and the state vector of each subsystem .

From the preceding composition (22), the following system: is an observer for the system (16) for , where is the observer gain which depends on the solution of the Riccati equation (25) for each subsystem . The parameter must be a positive constant and sufficiently greater such that for any positive symmetric matrix , the following condition is verified [23]: The parameter determines the convergence rate of the observer. The authors [23] proposed guidelines for the tuning of the parameters of the adaptive observer.

Note that this observer is the deterministic version of the Kalman filter for state affine systems. It is clear that the system observability depends on the applied inputs. Then the convergence of this observer can be proved assuming that the inputs are regularly persistent (see Appendix A); it is a class of admissible inputs that allows to observe the system (for more details, see [19]). This guarantees the works of observer, and the observer gain is well defined, that is, the matrix is nonsingular.

Now, a further result based on regular persistence is introduced.

Lemma 1. *Assume that the input is regularly persistent for system (22) and consider the following Lyapunov differential equation:
**
With , then, such that for any symmetric positive definite matrix , , , , : ,
**
where is the identity matrix.*

The proof of this lemma follows the same steps of Theorem 3.2 in [24].

The system will be represented by a set of interconnected subsystems (Figure 10): The idea of this paper is to construct an observer for all the system from the separate observers of the subsystem .

If is an exponential observer for , then the following interconnected system: is an observer for the interconnected system .

Each observer subsystem is defined by (25).

*Remark 2. *The proposed observer functions in the case if the inputs controls are regularly persistent (see Appendix A), which is equivalent to that all subsystem is observable.

Now, we give the sufficient conditions which ensure the convergence of the interconnected observer . For that, we introduce the following assumptions.

*Assumption 1. *Assume that the input is a regularly persistent input for subsystem and admits an exponential observer for . If an input is regularly persistent, it excites sufficiently the system to obtain information necessary to constructing the not measured variables using the designed observer (see Appendix A). In this case, an observer of the form can be designed and the estimation error will be bounded.

*Assumption 2. *The term does not destroy the observability property of subsystem under the action of the regularly persistent input . Moreover, is Lipchitz with respect to and uniformly with respect to for . This condition is verified because these functions are linear.

Then the following result can be established.

Lemma 3. *Consider the interconnected system and the two Assumptions 1 and 2 are verified. Then the system (30) is an observer for the system (29).*

The proof of the lemma is given in Appendix B.

#### 5. Simulation Results

In this section, a detailed simulation was carried out to validate the proposed interconnected observer. The general block diagram is shown in Figure 11. In this study the 3-level NPC inverter block was replaced by the averaged model of the inverter to develop the observer. The block of the interconnected observer is given by (30). In order to show the accuracy of the observer a fine model (circuit model) of the inverter (implemented in Matlab Simpower) was used to estimate the capacitors voltages. The estimated capacitors voltages of the two models are compared to the real capacitors voltages. We define the real capacitor voltage by the capacitor voltage given by the voltages sensors of the circuit model implemented in Simpower Matlab.

The different behavior of the interconnected observer was performed. The capacitors values are *μ*F. The NPC Inverter is connected at three equilibrium phases where each phase composed by an inductor mHand a resistor . To estimate the NPC capacitor voltages according to (25) the observer parameter gain for is used. SVPWM was used to control the multilevel inverter described in Section 2. The switching frequency was fixed at 10 kHz. Simulations were carried out using matlab/simulink. Matlab simulator is an important tool where different system models (electrical, mechanical, thermal, etc.) can be developed. In fact, Matlab simulator enables averaged model representation.

Figures 12 and 13 show the comparison between the estimated capacitors voltages and (using nonideal average model and circuit model) and the real capacitor voltage.

Figures 14 and 15 show the estimated errors for the estimated capacitors voltages and . The error for each model is calculated by (-real)(-estimated).

In order to study the observer behavior, we changed the load of the first leg ( mH, ) to ( mH, ) at .1 s (Figures 16 and 17). In other terms, we have not got equilibrium three phases. Then, Figures 18 and 19 show at s the change of the load of the first leg ( mH, ) to ( mH, ) and at s we return to the initial load.

Simulations results show the usefulness of this design. In any condition, the observer is able to follow the real capacitor voltages accurately. Moreover, the good agreement between estimated capacitors voltages obtained by the proposed averaged model and the circuit model from Simpower Matlab is illustrated. We notice that simulation time with fine model (circuit model implemented in Simpower Matlab) is eight times (Table 1) greater than the simulation with the averaged model. This is an important reason to use averaged modeling especially in complex converters architecture. Converter states observer and control becomes, more and more easy.

#### 6. Conclusion

The control and monitoring of the capacitors voltages in multilevel NPC converter are essential. Measuring voltages becomes expensive and impractical because of the high voltages and power levels handled in such applications. Thus the advantage of using an observation technique becomes evident.

This paper proposed an adaptive observer to estimate the capacitor voltages in NPC inverter. This observer can reconstruct the capacitor voltages accurately from the nonideal average model inputs and replace the needed capacitor voltage sensors. Simulation results show the good precision of the proposed average model. It can be used for the NPC converters analysis instead of fastidious simulations in circuit type simulators where simulations cost is unaffordable. The obtained results are acceptable, and let us conclude that the observer is well suited for purposes control of the capacitor voltages in multilevel NPC inverter.

#### Appendices

#### A. Observability Definitions

We introduce some definitions related with the inputs applied to the system. Consider a state-affine controlled system of the form where , , with , continuous, and , where denotes the space of matrices with coefficients in (resp., ) are the number of rows (resp., columns). From now on, we will assume that = 0 without loss of generality.

*Notation. * let denotes the transition matrix of
with the classical relation .

We then define the following:(i)The observability gramian (ii)The universality index where stands for the eigenvalues of a given matrix . The input functions are assumed to be measurable and such that is bounded on the set of admissible inputs of .

Now, we give definitions of regular persistence of input .

*Definition 4 (regular Persistence). *A measurable bounded input is said to be regularly persistent for the state-affine system if there exists , , such that for every .

#### B. Regular Persistence

This proof is based on the demonstration in [25].

The dynamics of the estimation error is given by , where for .

Now, let be a Lyapunov function for the interconnected system , where is a Lyapunov function for each subsystem .

From the time derivative of , it follows that for .

Now, adding and subtracting the term we have Next, regrouping the appropriate terms, From this inequality, we get .

Now, from Assumption 2, we have .

Then, we find .

And replacing this expression in it follows that: Take into account that the inputs are regularly persistent, and then from Lemma 1 the matrix is bounded. Using the lemma on equivalence of norms, that is, there exists a positive constant such that

Then, we get or Finally, we have

For , where , taking , it is easy to see that

#### References

- G. Baoming and F. Z. Peng, “Speed sensorless vector control induction motor drives fed by cascaded neutral point clamped inverter,” in
*Proceedings of the 24th Annual IEEE Applied Power Electronics Conference and Exposition (APEC '09)*, pp. 1991–1997, February 2009. View at Publisher · View at Google Scholar · View at Scopus - B. Hu, G. Xu, M. Zhang, J. Kang, and L. Xia, “Study on a novel clamped topology of multilevel converters,” in
*Proceedings of the IEEE International Electric Machines and Drives Conference (IEMDC '09)*, pp. 379–384, May 2009. View at Publisher · View at Google Scholar · View at Scopus - T. A. Lipo, M. D. Manjrekar, and P. Steimer, “Hybrid multilevel power conversion system: a competitive solution for high power applications,” in
*Proceedings of the 34th IEEE-IAS Annual Meeting*, pp. 1520–1527, October 1999. View at Scopus - O. Vodyakho and C. C. Mi, “Three-level inverter-based shunt active power filter in three-phase three-wire and four-wire systems,”
*IEEE Transactions on Power Electronics*, vol. 24, no. 5, pp. 1350–1363, 20089. View at Publisher · View at Google Scholar · View at Scopus - F. J. C. Padilha, W. I. Suemitsu, M. D. Bellar, and P. M. Lourenco, “Low-cost gate drive circuit for three-level neutral-point-clamped voltage-source inverter,”
*IEEE Transactions on Industrial Electronics*, vol. 56, no. 4, pp. 1196–1204, 2009. View at Publisher · View at Google Scholar · View at Scopus - T. Wanjekeche, D. V. Nicolae, and A. A. Jimoh, “A cascaded NPC/H-bridge inverter with simplified control strategy and minimum component count,” in
*Proceedings of the IEEE Africon*, vol. 4, pp. 769–777, September 2009. View at Publisher · View at Google Scholar · View at Scopus - R. P. Aguilera and D. E. Quevedo, “Capacitor voltage estimation for predictive control algorithm of flying capacitor converters,” in
*Proceedings of the IEEE International Conference on Industrial Technology (ICIT '09)*, pp. 1–6, February 2009. View at Publisher · View at Google Scholar · View at Scopus - T. A. Meynard, H. Foch, P. Thomas, J. Courault, R. Jakob, and M. Nahrstaedt, “Multicell converters: basic concepts and industry applications,”
*IEEE Transactions on Industrial Electronics*, vol. 49, no. 5, pp. 955–964, 2002. View at Publisher · View at Google Scholar · View at Scopus - E. Babaei, “A cascade multilevel converter topology with reduced number of switches,”
*IEEE Transactions on Power Electronics*, vol. 23, no. 6, pp. 2657–2664, 2008. View at Publisher · View at Google Scholar · View at Scopus - A. Nabae, I. Takahashi, and H. Akagi, “A neutral-point clamped PWM inverter,” in
*Proceedings of the IEEE-IAS*, pp. 761–766, October 1981. View at Scopus - H. Zhang, S. J. Finney, A. Massoud, and B. W. Williams, “An SVM algorithm to balance the capacitor voltages of the three-level NPC active power filter,”
*IEEE Transactions on Power Electronics*, vol. 23, no. 6, pp. 2694–2702, 2008. View at Publisher · View at Google Scholar · View at Scopus - J. A. Ulrich and A. R. Bendre, “Floating capacitor voltage regulation in diode clamped hybrid multilevel converters,” in
*Proceedings of the IEEE Electric Ship Technologies Symposium (ESTS '09)*, pp. 197–202, April 2009. View at Publisher · View at Google Scholar · View at Scopus - Y. S. Lai, Y. K. Chou, and S. Y. Pai, “Simple PWM technique of capacitor voltage balance for three-level inverter with DC-link voltage sensor only,” in
*Proceedings of the 33rd Annual Conference of the IEEE Industrial Electronics Society (IECON '07)*, pp. 1749–1754, November 2007. View at Publisher · View at Google Scholar · View at Scopus - A. Birouche,
*Contribution sur la synthèse d'observateurs pour les systèmes dynamiques hybrides [Thèse de doctorat]*, Institut National de Polytechnique de Lorraine, Loraine, France, 2006. - S. Bonnabel and P. Rouchon, “Control and observer design for nonlinear finite and infinite dimensional systems,” in
*Lecture Notes in Control and Information Sciences*, vol. 322, pp. 53–65, Springer, 2005. View at Google Scholar - M. Morari, A. Bemporad, and G. Ferrari-Trecate, “Observability and controllability of piecewise affine and hybrid systems,”
*IEEE Transactions on Automatic Control*, vol. 45, no. 10, pp. 1864–1876, 2000. View at Google Scholar - H. Nademi, A. Das, and L. Norum, “Nonlinear observer-based capacitor voltage estimation for sliding mode current controller in NPC multilevel converters,” in
*Proceedings of the IEEE Trondheim PowerTech*, pp. 1–7, 2011. - A. Gopinath, A. A. S. Mohamed, and M. R. Baiju, “Fractal based space vector PWM for multilevel inverters—a novel approach,”
*IEEE Transactions on Industrial Electronics*, vol. 56, no. 4, pp. 1230–1237, 2009. View at Publisher · View at Google Scholar · View at Scopus - M. A. Trabelsi, “Modélisation et Commande des Systèmes Physiques à Topologie Variable: Application au Convertisseur Multicellulaire,” L'Institut National des Sciences Appliquées de Lyon, 2009.
- J. Chen, R. Erickson, and D. Maksimović, “Averaged switch modeling of boundary conduction mode dc-to-dc converters,” in
*Proceedings of the 27th Annual Conference of the IEEE Industrial Electronics Society (IECON '2001)*, pp. 844–849, December 2001. View at Scopus - B. Urmila and D. Subba Rayudu, “Optimum space vector PWM algorithm for three-level inverter,”
*ARPN Journal of Engineering and Applied Sciences*, vol. 6, no. 9, pp. 24–36, 2011. View at Google Scholar - K. Ammous, E. Haouas, and S. Abid, “Averaged modelling of multilevel converters,”
*The International Journal for Computation and Mathematics in Electrical and Electronic Engineering*, vol. 29, no. 3, pp. 626–646, 2010. View at Publisher · View at Google Scholar · View at Scopus - V. Andrieu, L. Praly, and A. Astolfi, “High gain observers with updated gain and homogeneous correction terms,”
*Automatica*, vol. 45, no. 2, pp. 422–428, 2009. View at Publisher · View at Google Scholar · View at Scopus - H. Khalil,
*Nonlinear Systems*, Prentice-Hall, 2nd edition, 1996. - J. De León Morales, M. F. Escalante, and M. T. Mata-Jiménez, “Observer for DC voltages in a cascaded H-bridge multilevel STATCOM,”
*IET Electric Power Applications*, vol. 1, no. 6, pp. 879–889, 2007. View at Publisher · View at Google Scholar · View at Scopus