Modeling and Simulation of a Rotary Quadruple Pendulum System Using Scientific Python Stacks and Modelica Language

Penulis

  • Adriyan SekolahTinggi Teknologi Nasional Jambi

DOI:

https://doi.org/10.21063/jtm.2017.v7.i1.29-37

Kata Kunci:

Modeling and simulation, rotary quadruple pendulum, the governing equation of motion, scientific python stacks and Modelica language

Abstrak

This paper presented the modeling and simulation of a rotary quadruple pendulum (RQP) system using two open source software, i.e: scientific python stacks (SciPy stacks) and Modelica language via Anaconda python distribution and OpenModelica, respectively. The modeling stage using SymPy (a package of SciPy stacks) was conducted to obtain the governing equation in full symbolic form by applying Lagrange’s method. The listing code is also provided to test by the user later on. Meanwhile, both modeling and simulation were performed in Modelica language by addressing several conditions concerning the initial conditions of the system, i.e: examining up-up-up-up, up-up-down-down, and up-down-up-down conditions. Simulation required the numerical values of the RQP system be supplied before running the simulation. In conclusion, the derivation of the governing equation using SymPy can be done in a matter of minutes without having a mistake when doing the algebraic manipulation. Simulation using OpenModelica was present the response of the RQP system in three conditions that considered initial conditions imposed to the system. The model obtained through this research can be used a baseline for developing a control scheme for the RQP system in its inverted position.

Referensi

L. W. Tsai, Robot Analysis: The Mechanics of Serial and Parallel Manipulators. Wiley, 1999.

M. Akhtaruzzaman dan A. A. Shafie, “Modeling and control of a rotary inverted pendulum using various methods, comparative assessment and result analysis,” in 2010 IEEE International Conference on Mechatronics and Automation, 2010, hal. 1342–1347.

N. J. Mathew, K. K. Rao, dan N. Sivakumaran, “Swing up and stabilization control of a rotary inverted pendulum,” in IFAC Proceedings Volumes (IFAC-PapersOnline), 2013, vol. 10, no. PART 1.

N. D. Quyen, N. Van Thuyen, N. Q. Hoc, dan N. D. Hien, “Rotary inverted pendulum and control of rotary inverted pendulum by artificial neural network,” Int. Conf. Theor. Phys., vol. 37, hal. 243–249, 2012.

C. Meza, J. A. Andrade-Romero, R. Bucher, dan S. Balemi, “Free open source software in control engineering education: A case study in the analysis and control design of a rotary inverted pendulum,” 2009 IEEE Conf. Emerg. Technol. Fact. Autom., no. March 2014, hal. 1–8, 2009.

N. S. Özbek dan M. Ö. Efe, “Swing up and stabilization control experiments for a rotary inverted pendulum - An educational comparison,” in Conference Proceedings - IEEE International Conference on Systems, Man and Cybernetics, 2010, hal. 2226–2231.

A. A. Shabana, Computational Dynamics, 3rd Edition. Wiley, 2009.

O. K. and T. S. Krunoslav Horvat, “Describing Function Recording with Simulink and MATLAB,” in Technology and Engineering Applications of Simulink, P. S. Chakravarty, Ed. InTech, 2012, hal. 149–166.

H. Elmqvist dan S. E. Mattsson, “Modelica — the Next Generation Modeling Language an International Design Effort,” Proc. 1st World Congr. Syst. Simul., no. August, hal. 1–5, 1997.

P. Fritzson, “Modelica A cyber-physical modeling language and the OpenModelica environment,” IWCMC 2011 - 7th Int. Wirel. Commun. Mob. Comput. Conf., hal. 1648–1653, 2011.

P. Fritzson et al., “OpenModelica - A free open-source environment for system modeling, simulation, and teaching,” in 2006 IEEE Conference on Computer Aided Control System Design, 2006 IEEE International Conference on Control Applications, 2006 IEEE International Symposium on Intelligent Control, 2006, hal. 1588–1595.

D. Joyner, O. Čertík, A. Meurer, dan B. E. Granger, “Open source computer algebra systems: {SymPy},” ACM Commun. Comput. Algebr., vol. 45, no. 177, hal. 225–234, 2011.

S. M. Kurtz, UHMWPE Biomaterials Handbook: Ultra High Molecular Weight Polyethylene in Total Joint Replacement and Medical Devices. Elsevier Science, 2015.

S. D. Team, “SymPy Documentation,” 2014.

F. Pérez dan B. E. Granger, “IPython: A system for interactive scientific computing,” Comput. Sci. Eng., vol. 9, no. 3, hal. 21–29, 2007.

M. Otter, H. Elmqvist, dan S. E. Mattsson, “The New Modelica MultiBody Library,” Proc. 3rd Int. Model. Conf., hal. 311–330, 2003.

J. D. Hunter, “Matplotlib: A 2D graphics environment,” Comput. Sci. Eng., vol. 9, no. 3, hal. 90–95, 2007.

Unduhan

Diterbitkan

2017-04-30

Cara Mengutip

Modeling and Simulation of a Rotary Quadruple Pendulum System Using Scientific Python Stacks and Modelica Language. (2017). Jurnal Teknik Mesin, 7(1), 29-37. https://doi.org/10.21063/jtm.2017.v7.i1.29-37