IMPLEMENTACIÓN EN “HARDWARE IN THE LOOP” DEL SISTEMA CARRO-PÉNDULO INVERTIDO CON BASE EN EL MICROCONTROLADOR HERCULES RM57L843 DE TEXAS INSTRUMENTS

Marcelino Martínez Aragón, Fermín Hugo Ramírez Leyva, José Anibal Arias Aguilar

Resumen


Resumen

En este trabajo se presenta el desarrollo de un simulador “Hardware-In-the-Loop” (HIL) de un sistema carro-péndulo invertido con base en la tarjeta Hercules™ RM57Lx Launchpad de Texas Instruments. Para su implementación se obtiene el modelo dinámico del sistema con las ecuaciones de Euler-Lagrange, posteriormente se programa en el MCU, el cual lo ejecuta en tiempo real con un periodo de muestreo de 1 ms. Desde una interfaz gráfica en LabVIEW se capturan la respuesta del sistema además de que se pueden cambiar los parámetros del sistema. Para incrementar el realismo, en un entorno virtual Unity3D se hizo un modelo gráfico del sistema, en el cual se observan los movimientos del carro péndulo. Para verificar la correcta implementación del sistema se hace una comparación con una simulación desarrollada en Matlab/Simulink.

Palabras Claves: Carro-péndulo invertido, microcontrolador, simulador HIL, Unity3D.


IMPLEMENTATION IN "HARDWARE IN THE LOOP" OF THE INVERTED CART-PENDULUM SYSTEM BASED ON THE MICROCONTROLLER HERCULES RM57L843 FROM TEXAS INSTRUMENTS


Abstract

This paper presents the development of a "Hardware-In-the-Loop" (HIL) simulator of an inverted pendulum-cart system based on the Texas Instruments Hercules ™ RM57Lx Launchpad. For its implementation, the dynamic model of the system is obtained with the Euler-Lagrange equations, later it is programmed in the MCU, which executes it in real time with a sample period of 1 ms. From a graphical interface in LabVIEW, the system response is captured and the system parameters can be changed. To increase the realism, in a virtual environment Unity3D was made a graphic model of the system, in which the movements of the pendulum car are observed. To verify the correct implementation of the system, a comparison is made between a simulation made with Matlab / Simulink.

Keywords: HIL simulator, microcontroller, pendulum-cart, Unity3D.


Texto completo:

1042-1058 PDF

Referencias


Arrioja, N. Unity, Fox Andina. Buenos Aires, 2013.

Brito, M. A. & Gonzalez, S. A. R., Simulación en tiempo real del campo magnético terrestre para una misión orbital. pp. 322–327, 2014.

Fantoni, I., Lozano, R. & Sinha, S., Non-linear Control for Underactuated Mechanical Systems. vol. 55. no. 4. Londres: Springer, 2002.

Feedback Instruments, Digital Pendulum System. vol. 44. no. 1160. FI Ltd, England. pp. 18.

Martinez, J. C. & Andrade, J., Implementación de controladores en Sistemas Retroalimentados usando electrónica embebida y simulación Hardware In The Loop. Universidad Tecnológica de Pereira. Pereira, 2013.

Kruckenberg, J., Fault Diagnosis and Hardware in the Loop Simulation for the EcoCAR Project.Ohio State University, 2011.

Romero, J., Rodríguez, E. & Bernal, E., Desarrollo de una planta piloto basada en xpc target. Rev. Ingeniería, Matemáticas y Ciencias de la Información. vol. 4. pp. 35–46, 2017.

Subramanian, S., George, T. & Thondiyath, A., Hardware-in-The-Loop verification for 3D obstacle avoidance algorithm of an underactuated flat-fish type AUV. 2012 IEEE Int. Conf. Robot. Biomimetics. ROBIO 2012 - Conf. Dig. pp. 545–550, 2012.

Texas Instruments, Hercules RM57Lx LaunchPad Development Kit. 2016. [Online]. Available: http://www.ti.com/tool/LAUNCHXL2-RM57L, Accessed: 02-May-2017.

Travis, J. & Kring, J., LabVIEW For Everyone: Graphical Programming Made Easy and Fun. 3rd ed. Prentice Hall, 2006.

Usenmez, S., Yaman, U., Dolen, M. & Koku, A. B., A new hardware-in-the-loop simulator for control engineering education. IEEE Glob. Eng. Educ. Conf. EDUCON, pp. 1–8, 2014.

Washington, C. & Delgado, S., Improve Design Effici iency and Test Capabilities with HIL Si imulation. IEEE Autotestcon. no. September, pp. 8–11, 2008.

Zhu, Y., Hu, H., Xu, G. & Zhao, Z., Hardware-in-the-Loop Simulation of Pure Electric Vehicle Control System. Int. Asia Conf. Informatics Control. Autom. Robot. pp. 254–258, 2009.






URL de la licencia: https://creativecommons.org/licenses/by/3.0/deed.es

Barra de separación

Licencia Creative Commons    Pistas Educativas está bajo la Licencia Creative Commons Atribución 3.0 No portada.    

TECNOLÓGICO NACIONAL DE MÉXICO / INSTITUTO TECNOLÓGICO DE CELAYA

Antonio García Cubas Pte #600 esq. Av. Tecnológico, Celaya, Gto. México

Tel. 461 61 17575 Ext 5450 y 5146

pistaseducativas@itcelaya.edu.mx

http://pistaseducativas.celaya.tecnm.mx/index.php/pistas