A model and software for the inertial measurement unit

S.O. Bezpalko, V.M. Shymkovysh, A.Yu. Doroshenko

Abstract


The module of stabilization of an inclination of the plane with three degrees of freedom, the software for data acquisition from MPU-6050 using the I2C protocol, and the program of realization of the digital proportional-integral-diff erential regulator with algorithm of subtomatic factor is developed. A model of a gyroscopic device for testing the created solution was built. Considering time and resource constraints, the following solutions were chosen: PID controller for motor voltage control, PWM as a way to create a control signal, Kalman fi lter for processing output of the IMU, device and relay method in pairs with the Ziegler-Nichols method for the selection of the coeffi cients of the regulator. Test results or the following characteristics of the transition process: the time of the transition process - 0.44s, overregulation - 6.2%. Further improvement of the quality of the transient process is possible through the use of high- quality inertial measuring devices, high-precision electric motors withhigh torque.

Prombles in programming 2022; 2: 03-12



Keywords


gyroscopic system; stabilization module; inertial measuring unit; 6 axis inertial measurement system; controller; pulse width modulation; I2C

References


Nyberg, L., & Tjellander, M. (2017). Camera stabilization (Dissertation). p. 29

John Pardue (2005) C Programming for Microcontrollers, Knoxville.: Smiley Micros. p. 300

MPU-6000 and MPU-6050 Register Map and Descriptions Revision 4.2 - URL: https://invensense.tdk.com/wp-content/up- loads/2015/02/MPU-6000-Register-Map1.pdf

Welch, Greg & Bishop, Gary (2006) An Introduction to the Kalman Filter. Proc. Siggraph Course. 8. pp. 1-16 jrowberg/i2cdevlib The I2C Device Library - URL: https://github. com/jrowberg/i2cdevlib

Hamilton, William Rowan (2000) On quaternions, or on a new system of imaginaries in algebra. Philosophical Magazine. 1844. pp. 489-495. CrossRef

Pandanom/StabilizationModule Module for plane stabilization with three degrees of freedom - URL: https://github.com/Pandan- om/StabilizationModule

Samotyy V., Telenyk S., Kravets P., Shymkovych V., Posvistak T. (2018) A real time control system for balancing a ball on a plat- form with FPGA parallel implementation. Technical Transactions. Vol. 5. pp. 109-118. CrossRef

Yurkevich, Valery (2009) PWM PI/PID/PIDF Control for Nonlinear Nonaffine Systems via Singular Perturbation. 2009 International Fo- rum on Strategic Technologies. pp. 185-190.

Barr, Michael (2001) Pulse Width Modulation. Embedded Systems Programming. September. pp. 103-104.

ESP8266 Arduino Core's documentation - URL: https://arduino-esp8266.readthedocs. io/en/latest/

J. B. Ziegler and N. B. Nichols. «Optimum settings for automatic controllers» ASME Transactions v64. 1942; pp. 759-768. CrossRef




DOI: https://doi.org/10.15407/pp2022.02.003

Refbacks

  • There are currently no refbacks.