A Microcontroller Implementation of Constrained Model Predictive Control
Commenced in January 2007
Frequency: Monthly
Edition: International
Paper Count: 33122
A Microcontroller Implementation of Constrained Model Predictive Control

Authors: Amira Kheriji Abbes, Faouzi Bouani, Mekki Ksouri

Abstract:

Model Predictive Control (MPC) is an established control technique in a wide range of process industries. The reason for this success is its ability to handle multivariable systems and systems having input, output or state constraints. Neverthless comparing to PID controller, the implementation of the MPC in miniaturized devices like Field Programmable Gate Arrays (FPGA) and microcontrollers has historically been very small scale due to its complexity in implementation and its computation time requirement. At the same time, such embedded technologies have become an enabler for future manufacturing enterprisers as well as a transformer of organizations and markets. In this work, we take advantage of these recent advances in this area in the deployment of one of the most studied and applied control technique in the industrial engineering. In this paper, we propose an efficient firmware for the implementation of constrained MPC in the performed STM32 microcontroller using interior point method. Indeed, performances study shows good execution speed and low computational burden. These results encourage to develop predictive control algorithms to be programmed in industrial standard processes. The PID anti windup controller was also implemented in the STM32 in order to make a performance comparison with the MPC. The main features of the proposed constrained MPC framework are illustrated through two examples.

Keywords: Embedded software, microcontroller, constrainedModel Predictive Control, interior point method, PID antiwindup, Keil tool, C/Cµ language.

Digital Object Identifier (DOI): doi.org/10.5281/zenodo.1331473

Procedia APA BibTeX Chicago EndNote Harvard JSON MLA RIS XML ISO 690 PDF Downloads 2806

References:


[1] E. Camacho and C. Bordons, Model Predictive Control. London: Springer, 2004.
[2] P. Campo and M. Morari, "Robust model predictive control," in Proceedings of American Control Conference, 1987, pp. 1021-1026.
[3] M. Kothare, V. Balakrishnan, and M. Morari, "Robust constrained model predictive control using linear matrix inequalities," Automatica, vol. 32, no. 10, pp. 1361-1379, 1996.
[4] Z. Wan and M. Kothare, "Robust output feedback model predictive control using linear matrix inequalities," Journal of Process Control, vol. 12, pp. 763-774, 2001.
[5] Y. Wang and J. Rawlings, "A new robust model predictive control method 1: theory and computation," Journal of Process Control, vol. 14, pp. 231-247, 2002.
[6] A. Casavola, D. Famularo, and G. Franze, "Robust constrained predictive control of uncertain norm-bounded linear systems," Automatica, vol. 40, pp. 1865-1876, 2004.
[7] G. Pannochia, "Robust model predictive control with guaranteed set point tracking," Journal of Process Control, vol. 14, pp. 927-937, 2004.
[8] T. Alamo, D. Ramirez, and E. Camacho, "Efficient implementation of constrained min-max model predictive control with bounded uncertainties: a vertex rejection approach," Journal of Process Control, vol. 15, pp. 149-158, 2005.
[9] A. Kheriji, F. Bouani, and M. Ksouri, "Efficient implementation of constraind robust model predictive control using a state space model," in Proceedings of International Conference on Informatics in Control, Automation and Robotics (ICINCO), 2010.
[10] A. Kheriji, F. Bouani, and M.Ksouri, "Ggp approach to solve non convex min-max robust model predictive controller for a class constrained mimo systems," in Proceedings of the International Workshop on Symbolic and Numerical Methods, Modeling and applications to circuit design, (SM2ACD) CEDA competition, 2010.
[11] A. Kheriji, F. Bouani, and M. Ksour, "A ggp approach to solve non convex min-max predictive controller for a class of constrained mimo systems described by state-space models," International Journal of Control Automations and Systems (IJCAS), vol. 9, no. 3, 2011, will appear in June.
[12] S. Karacan, H. Hapoglu, and M. Alpbaz, "Generalized predictive control to a packed distillation column for regulatory problems," in European Symposium on Computer Aided Process Engineering, 1998.
[13] G. D. Nicolao, L. Magni, and R. Scattolini, "Robust predictive control of systems with uncertain impulse response," Automatica, vol. 32, no. 10, pp. 1475-1479, 1996.
[14] K. Ling, S. Yue, and J. Maciejowski, "A fpga implementation of model predictive control," in Proceedings of American Control Conference, 2006.
[15] K. Ling, B. Wu, and J. Maciejowski, "Embedded model predictive control (mpc) using a fpga," in Proceedings of the 17th World Congress: The International Federation of Automatic Control, Seoul, Korea, 2008.
[16] U. R. Y. Jayaraman, "Fpga implementation of predictive control strategy for power factor correction," in Proceedings of World Academy of Science, Engineering and Technology, 2008.
[17] G. Palomo, K. Hilton, and J. Rossiter, "Predictive control implementation in a plc using the iec 1131.3 programming standard," in Proceedings of American Control Conference, 2009.
[18] A. K. Abbes, F. Bouani, and M. Ksouri, "A microcontroller implementation of model predictive control," in Proceedings of International Conference on Computer, Electrical, and Systems Sciences, and Engineering, WASET, 2011.
[19] P. Lascaux and R. Thodor, Analyse numerique matricielle appliquee l-art de l-ingenieur, tome 1. Dunod, 2004.
[20] C. V. Rao, S. J.Wright, and J. B. Rawlings, "Application of interior-point methods to model predictive control," Journal of Optimization Theory and Applications, vol. 99, no. 3, pp. 723-757, 1998.
[21] S. Wright, "Applying new optimization algorithms to model predictive control," in Fifth International Conference on Chemical Process Control, 1997.
[22] STMicroelectronics, "Datasheet stm32f103x8, stm32f103xb," 2009.
[Online]. Available: http://www.st.com/internet/mcu/family/141.jsp
[23] A. Voda and S. Gentil, Regulateur PID analogique et numeriques. Technique de l-ingenieur, 1999.
[24] S. Sung, J. Lee, and I. Lee, Process Identification and PID Control. John Wiley and Sons (Asia), 2009.