, The seven predictions obtained for v c (k + 2) are compared using a cost function g 2

, The voltage vector v i that minimizes this function is then chosen and its corresponding switching state is applied at the next sampling instant k + 1

, The output current, i o (k + 1), value used for predictions k + 2 is estimated using (3.13). Here, in this work the present value of output current i o (k) is measured and feeded to predict the value of the output voltage and the filter current, v c (k + 1) and i f (k + 1)

M. Nikolaou, Model predictive controllers: A critical synthesis of theory and industrial needs, Advances in Chemical Engineering, vol.26, 2001.

E. F. Camacho and C. Bordons, Model Predictive Control, 1999.
URL : https://hal.archives-ouvertes.fr/hal-00256633

J. M. Maciejowski, Predictive Control With Constraints, 2002.

M. Masten and I. Panahi, Digital signal processors for modern control systems, Control Eng. Practice, vol.5, issue.4, pp.449-458, 1997.

, IEEE recommended practices and requirements for harmonic control in electric power systems, Institute of Electrical and Electronics for Engineerings, pp.519-1992, 1993.

J. Rodriguez, J. Pontt, C. A. Silva, P. Correa, P. Cortes et al., Predictive current control of a voltage source inverter, IEEE Trans. Ind. Electron, vol.54, pp.495-503, 2007.

J. M. Carrasco, L. G. Franquelo, J. T. Bialasiewicz, E. Galvan, R. C. Portilloguisado et al., Power-electronic systems for the grid integration of renewable energy sources: A survey, IEEE Trans. Ind. Electron, vol.53, pp.1002-1016, 2006.

F. Blaabjerg, R. Teodorescu, M. Liserre, and A. V. Timbus, Overview of control and grid synchronization for distributed power generation systems, IEEE Trans. Ind. Electron, vol.53, pp.1398-1409, 2006.

I. S. Mohamed, S. A. Zaid, M. F. Abu-elyazeed, and H. M. Elsayed, Model predictive control -a simple and powerful method to control UPS inverter applications with output LC filter, Saudi International Electronics, Communications and Photonics Conference (SIECPC'13), pp.1-6, 2013.

P. Cortes, G. Ortiz, J. I. Yuz, J. Rodriguez, S. Vazquez et al., Model predictive control of an inverter with output LC filter for UPS applications, IEEE Trans. Ind. Electron, vol.56, pp.1875-1883, 2009.

J. Holtz, Pulsewidth modulation electronic power conversion, Proc.IEEE, vol.82, pp.1194-1214, 1994.

N. Mohan, T. M. Undeland, W. P. Robbins, and P. Electronics, , 1995.

O. Kukrer, Deadbeat control of a three-phase inverter with an output LC filter, IEEE Trans. Power Electron, vol.11, pp.16-23, 1996.

M. Kojima, K. Hirabayashi, Y. Kawabata, E. C. Ejiogu, and T. Kawabata, Novel vector control system using deadbeat-controlled PWM inverter with output LC filter, IEEE Trans. Ind. Appl, vol.40, pp.162-169, 2004.

P. Mattavelli, An improved deadbeat control for UPS using disturbance observers, IEEE Trans. Ind. Electron, vol.52, pp.206-212, 2005.

P. C. Loh, M. J. Newman, D. N. Zmood, and D. G. Holmes, A comparative analysis of multiloop voltage regulation strategies for single and three-phase UPS systems, IEEE Trans. Power Electron, vol.18, pp.1176-1185, 2003.

P. C. Loh and D. G. Holmes, Analysis of multiloop strategies for LC/CL/LCLfiltered voltage-source and current-source inverters, IEEE Trans. Ind. Appl, vol.41, pp.644-654, 2005.

S. Buso, S. Fasolo, and P. Mattavelli, Uninterruptible power supply multiloop control employing digital predictive voltage and current regulators, IEEE Trans. Ind. Appl, vol.37, pp.1846-1854, 2001.

A. Kulka, T. Undeland, S. Vazquez, and L. G. Franquelo, Stationary frame voltage harmonic controller for standalone power generation, Proc. Eur. Conf. Power Electron. Appl, pp.1-10, 2007.

M. N. Marwali and A. Keyhani, Control of distributed generation systems-part I: Voltages and currents control, IEEE Trans. Power Electron, vol.19, pp.1541-1550, 2004.

G. Escobar, A. A. Valdes, J. Leyva-ramos, and P. Mattavelli, Repetitive based controller for a UPS inverter to compensate unbalance and harmonic distortion, IEEE Trans. Ind. Electron, vol.54, pp.504-510, 2007.

G. Willmann, D. F. Coutinho, L. F. Pereira, and F. B. Libano, Multiple-loop H-infinity control design for uninterruptible power supplies, IEEE Trans. Ind. Electron, vol.54, pp.1591-1602, 2007.

P. Cortes, M. P. Kazmierkowski, R. M. Kennel, D. E. Quevedo, and J. Rodriguez, Predictive control in power electronics and drives, IEEE Trans. Ind. Electron, vol.55, 2008.

G. Bode, P. C. Loh, M. J. Newman, and D. G. Holmes, An improved robust predictive current regulation algorithm, IEEE Trans. Ind. Appl, vol.41, pp.1720-1733, 2005.

S. Yang and C. Lee, A deadbeat current controller for field oriented induction motor drives, IEEE Trans. Power Electron, vol.17, pp.772-778, 2002.

L. Malesani, P. Mattavelli, and S. Buso, Robust dead-beat current control for PWM rectifier and active filters, IEEE Trans. Ind. Appl, vol.23, pp.613-620, 1999.

J. Mossoba and P. W. Lehn, A controller architecture for high bandwidth active power filters, IEEE Trans. Power Electron, vol.18, pp.317-325, 2003.

P. Mattavelli, G. Spiazzi, and P. Tenti, Predictive digital control of power factor preregulators with input voltage estimation using disturbance observers, IEEE Trans. Power Electron, vol.20, pp.140-147, 2005.

A. Nasiri, Digital control of three-phase series-parallel uninterruptible power supply systems, IEEE Trans. Power Electron, vol.22, pp.1116-1127, 2007.

S. Saggini, W. Stefanutti, E. Tedeschi, and P. Mattavelli, Digital deadbeat control tuning for dc-dc converters using error correlation, IEEE Trans. power. Electron, vol.22, pp.1566-1570, 2007.

A. Linder and R. Kennel, Model predictive control for electrical drives, Proc. IEEE PESC, pp.1793-1799, 2005.

E. F. Camacho and C. Bordons, Model Predictive Control, 2007.
URL : https://hal.archives-ouvertes.fr/hal-00256633

J. M. Maciejowski, Predictive Control With Constraints, 2001.

J. Kleya, G. Papafotiou, K. Papadopoulos, P. Bohren, and M. Morari, Performance evaluation of model predictive direct torque control, Proc. IEEE PESC, pp.4737-4744, 2008.

, Texas instruments

B. Paillard, An Introduction to Digital Signal Processors, 2002.

R. Zaks and A. Wolfe, From chips to systems: An introduction to microprocessors, Sybex, 1987.

C. Ilas, A. Sarca, R. Giuclea, and L. Kreindler, Using TMS320 family DSPs in motion control systems, First European DSP Education and Research Conference, 1996.

, Berkeley design technology, inc

, Choosing a DSP Processor, 2000.

. Dsp-selection-guide, TI DSP products: Making innovation possible. Texas Instruments, 2007.

K. S. Lin, G. Frantz, and R. Simar, TMS320 family of digital signal processors, Proceedings Of The IEEE, vol.2, pp.1143-1159, 1987.

B. Astrom and . Wittenmark, Computer Controlled Systems, 1984.

I. Ahmed, Digital control applications with the TMS320 family -selected application notes, Digital Signal Processing Products, 1991.

S. Bierke, Enhanced control of an AC motor using fuzzy logic and a TMS320 digital processor, 1996.

F. Pourboghrat and I. Panahi, Digital control of AC induction motors using TMS320 DSP family, 1995.

B. K. Bose, Microcomputer control of power electronics and drives, 1987.

S. M. Kuo, Design of active noise control systems with the TMS320 family, Digital Signal Processing Solution, 1996.

. Tms320f8335, Signal Controllers (DSCs) data manual, Texas Instruments, Tech. Rep, 2010.

. Tms320f8335, Signal Controllers (DSCs) data manual, Texas Instruments, Tech. Rep, 2012.

J. Lettl, J. Bauer, and L. Linhart, Comparison of dierent filter types for grid connected inverter, Progress In Electromagnetics Research Symposium Proceedings PIERS, pp.1426-1429, 2011.

I. S. Mohamed, S. A. Zaid, M. F. Abu-elyazeed, and H. M. Elsayed, Classical methods and model predictive control of three-phase inverter with output LC filter for UPS applications, IEEE International Conference on Control, Decision and Information Technologies (CoDIT'13), pp.6-8, 2013.

S. V. Emeljanov, Automatische Regelsystem mit veranderlicher struktur automatic control systems with variable structure, 2003.

M. Aaltonen, P. Tiitinen, J. Lalu, and S. Heikkila, Direkte drehmomentregelung von drehstromantrieben (direct torque control of three-phase drives), ABB Technik, vol.3, pp.19-24, 1995.

I. Takahashi and T. Noguchi, A new quick response and high efficiency control strategy of an induction motor, IEEE IAS Annual Meeting, pp.496-507, 1985.

J. Holtz and S. Standtfeld, A predictive controller for the stator current vector of AC machines fed from a switched voltage source, International Power Electronics Conference IPEC, vol.2, pp.1665-1675, 1983.

J. Holtz and U. Schwellenberg, A new fast responce current control scheme for line controlled converters, International Semiconductor Power Converter Conference, pp.175-183, 1982.

A. Purcell and P. P. Acarnley, Multilevel hystersis comparator forms for direct torque control schemes, Electronic Letters, vol.34, issue.6, pp.601-603, 1998.

E. Flach, Direkte Regelung des Drehmomentmittelwerts einer Induktions-Machine direct control of the mean torque value of an induction motor, 1999.

O. Kukrer, Discrete-time current control of voltage-fed three-phase PWM inverters, IEEE Trans. Ind. Electron, vol.11, pp.260-269, 1996.

M. Depenbrock, Direct self-control (DSC) of inverter-fed induction machine, IEEE Trans. Power Electron, vol.3, pp.420-429, 1988.

E. Flach, R. Hoffmann, and P. Mutschler, Direct mean torque control of an induction motor, Proc. Conf. Rec. EPE, vol.3, pp.672-677, 1997.

S. V. Emeljanov, Automatic control systems with variable structure (automatische regelsystem mit veranderlicher struktur), 1969.

I. Takahashi and T. Noguchi, A new quick response and high efficiency control strategy of an induction motor, Conf. Rec. IEEE IAS Annu. Meeting, pp.1665-1675, 1985.

P. Mutschler, A new speed-control method for induction motors, Proc. Conf. Rec. PCIM, pp.131-136, 1998.

G. Bode, P. C. Loh, M. J. Newman, and D. G. Holmes, An improved robust predictive current regulation algorithm, IEEE Trans. Ind. Appl, vol.41, pp.1720-1733, 2005.

Q. Zeng and L. Chang, An advanced SVPWM-based predictive current controller for three-phase inverters in distributed generation systems, IEEE Trans. Ind. Electron, vol.55, pp.1235-1246, 2008.

Y. Nishida, O. Miyashita, T. Haneyoshi, H. Tomita, and A. Maeda, A predictive instantaneous-current PWM controlled rectifier with AC-side harmonic current reduction, IEEE Trans. Ind. Electron, vol.44, pp.337-343, 1997.

S. Jeong and M. Woo, DSP-based active power filter with predictive current control, IEEE Trans. Ind. Electron, vol.44, pp.329-336, 1997.

W. Zhang, G. Feng, and Y. Liu, Analysis and implementation of a new PFC digital control method, Proc. Conf. Rec. PESC, 2003.

P. Mattavelli, G. Spiazzi, and P. Tenti, Predictive digital control of power factor preregulators, Proc. Conf. Rec. PESC, 2003.

P. Mattavelli, G. Spiazzi, and P. Tenti, Predictive digital control of power factor preregulators with input voltage estimation using disturbance observers, IEEE Trans. Power Electron, vol.20, pp.140-147, 2005.

S. Buso, S. Fasolo, and P. Mattavelli, Uninterruptible power supply multiloop employing digital predictive voltage and current regulators, IEEE Trans. Ind. Appl, vol.37, pp.1846-1854, 2001.

S. Saggini, W. Stefanutti, E. Tedeschi, and P. Mattavelli, Digital deadbeat control tuning for dc-dc converters using error correlation, IEEE Trans. Power Electron, vol.22, pp.1566-1570, 2007.

P. Correa, M. Pacas, and J. Rodriguez, Predictive torque control for inverter-fed induction machines, IEEE Trans. Ind. Electron, vol.54, pp.1073-1079, 2007.

S. J. Henriksen, R. E. Betz, and B. J. Cook, Practical issues with predictive current controllers, Proc. Australasian Univ. Power Eng. Conf., (, 2001.

H. Abu-rub, J. Guzinski, Z. Krzeminski, and H. A. Toliyat, Predictive current control of voltage source inverters, IEEE Trans. Ind. Electron, vol.51, pp.585-593, 2004.

Y. A. Mohamed and E. F. El-saadany, An improved deadbeat current control scheme with a novel adaptive self-tuning load model for a three-phase PWM voltage-source inverter, IEEE Trans. Ind. Electron, vol.54, pp.747-759, 2007.

Y. A. Mohamed and E. F. El-saadany, Robust high bandwidth discrete-time predictive current control with predictive internal model -a unified approach for voltage-source PWM converters, IEEE Trans. Power Electron, vol.23, pp.126-136, 2008.

Y. A. Mohamed and E. F. El-saadany, Adaptive discrete-time gridvoltage sensorless interfacing scheme for grid-connected DG-inverters based on neuralnetwork identification and deadbeat current regulation, IEEE Trans. Power Electron, vol.23, pp.308-321, 2008.

P. Zanchetta, D. B. Gerry, V. G. Monopoli, J. C. Clare, and P. Wheeler, Predictive current control for multilevel active rectifiers with reduced switching frequency, IEEE Trans. Ind. Electron, vol.55, pp.163-172, 2008.

D. W. Clarke, Adaptive predictive control, Annual Review in Automatic Programming, vol.20, pp.83-94, 1996.

D. W. Clarke, C. Mohtadi, and P. S. Tuffs, Generalized predictive control. part I. the basic algorithm, Automatica, vol.23, issue.2, pp.137-148, 1987.

D. W. Clarke, C. Mohtadi, and P. S. Tuffs, Generalized predictive control. part II. extensions and interpretations, Automatica, vol.23, issue.2, pp.149-160, 1987.

M. Tonnes and H. Rasmussen, Robust self-tuning control of AC servo drive, Conf. Record EPE'91, vol.3, pp.48-49, 1991.

H. R. Mayer and G. Pfaff, Direct control of induction motor currents, European Conference on Power Electronics and Applications EPE 1985, vol.2, pp.3-7, 1985.

G. M. Asher, M. Sumner, F. Cupertino, and A. Lattenzi, Direct flux control of induction motor drives, European Conference on Power Electronics and Applications EPE, 2001.

M. Depenbrock, Direkte selbstregelung (DSR) fur hochdynamische drehfelantriebe mit stromrichterspeisung (direct self control for inverter supplied high dynamic AC drives), vol.7, pp.211-218, 1985.

P. Mutschler, Verfahren zur direkten regelung der geschwindigkeiteines elekrischen antriebs(principle for direct control of the speed of an electric drive), DE, vol.196, pp.35-981

R. Kennel, A. Linder, and M. Linke, Generalized predictive control (GPC)-ready for use in drive applications, 32nd IEEE Power Electronics Specialists Conference pres2001, vol.4, pp.1839-1844, 2001.

G. C. Goodwin, M. M. Seron, and J. D. Dona, Constrained Control and Estimation -An Optimization Perspective, 2005.

S. J. Qin and T. A. Badgwell, A survey of industrial model predictive control technology, Control Eng. Pract, vol.11, pp.733-764, 2003.

D. Q. Mayne, J. B. Rawlings, C. V. Rao, and P. O. Scokaert, Constrained model predictive control: Optimality and stability, Automatica, vol.36, pp.789-814, 2000.

C. E. Garcia, D. M. Prett, and M. Morari, Model predictive control: Theory and practice -a survey, Automatica, vol.25, pp.335-348, 1989.

G. C. Goodwin, M. M. Seron, and J. D. Dona, Constrained Control and Estimation, 2004.

M. Veenstra and A. Rufer, Control of a hybrid a symmetric multilevel inverter for competitive medium-voltage industrial drives, IEEE Trans. Ind. Appl, vol.41, pp.655-664, 2005.

J. Rodriguez, J. Pontt, C. Silva, M. Salgado, S. Reesa et al., Predictive control of a three-phase inverter, Electron. Lett, vol.40, pp.561-562, 2004.

P. Cortes, J. Rodriguez, P. Antoniewicz, and M. Kazmierkowski, Direct power control of an AFE using predictive control, IEEE Trans. Power Electron, vol.23, pp.2516-2523, 2008.

M. A. Perez, P. Cortes, and J. Rodriguez, Predictive control algorithm technique for multilevel a symmetric cascaded h-bridge inverters, IEEE Trans. Ind. Electron, vol.55, pp.4354-4361, 2008.

P. Corts, J. Rodriguez, S. Vazquez, and L. G. Franquelo, Predictive control of a three-phase UPS inverter using two steps prediction horizon, IEEE International Conference on Industrial Technology (ICIT), pp.1283-1288, 2010.

B. C. Babu and B. V. Reddy, An improved dynamic response of voltage source inverter using novel hysteresis dead band current controller, 18th Annual Symposium on Emerging Needs in Computing, 2009.

, Hardware in the loop from the matlab/simulink environment, 2013.

M. Bacic, On hardware-in-the-loop simulation, 44th IEEE Conference on Decision and Control, 2005 and 2005 European Control Conference CDC-ECC05, pp.3194-3198, 2005.

B. Lu, X. Wu, H. Figueroa, and A. Monti, A low-cost real-time hardware-inthe-loop testing approach of power electronics controls, IEEE Transactions on Industrial Electronics, vol.54, issue.2, pp.919-931, 2007.

, ezdsp T M for the TMS320F28335DSP controller, 2014.