The Research of Four Rotor Aircraft based on STM32

被引:0
作者
Guo, Chun Lai [1 ]
Bai, Na [1 ]
Ren, Huan [1 ]
Xing, Ye [1 ]
Lang, Jihong [1 ]
Xiong, Liming [1 ]
机构
[1] Harbin Inst Petr, Harbin, Heilongjiang, Peoples R China
来源
PROCEEDINGS OF 2019 IEEE 3RD INFORMATION TECHNOLOGY, NETWORKING, ELECTRONIC AND AUTOMATION CONTROL CONFERENCE (ITNEC 2019) | 2019年
关键词
Four rotor aircraft; Strapdown navigation; PID control; STM32;
D O I
10.1109/itnec.2019.8729479
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Four rotor aircraft has been extensively studied in recent years. Especially the small Four-rotor aircraft has a very broad application prospects in real life, many companies and scientific research institutions are studying. The technology involved in the Four-rotor aircraft includes flight dynamics, mechanical structure, navigation, automatic control, circuit design and so on. By developing a Four-rotor aircraft, we can not only learn a variety of knowledge and technology, but also broaden our horizons and understand the development of the current automatic control system in the process of production, which will be of great help to future work and learning.The hardware design of the Four-rotor aircraft studied in this paper includes: using STM32 series MCU as the main controller, 6-axis attitude sensor MPU6050 to collect the acceleration and angular velocity of the vehicle, electronic compass HMC5883L, to collect magnetic field, USB serial port chip CP2104, TP4056 to provide 4.2V lithium batteries. The charging voltage and charging current can be controlled, and the internal universal timer interface is used to realize the capture function of remote control input PWM waveform and the output PWM waveform to control the speed of the motor. The software design in this paper includes the configuration of serial communication, the connection between the flight control board and the host computer, the reading of sensor data, the calculation of the current attitude by the strapdown navigation control method, the output of Euler angle, the configuration of timer to achieve the function of input capture and PWM waveform output, and the application of digital PID. The controller calculates the deviation between the desired attitude input by the remote controller and the current attitude of the aircraft, calculates the duty cycle of the output PWM waveform, and adjusts the rotation rate of the four rotors to realize the six-degree-of-freedom flight state of the Four-rotor aircraft.
引用
收藏
页码:1671 / 1675
页数:5
相关论文
共 7 条
[1]  
Buskey Gregg, 2002, INT S EXP ROB ISER
[2]  
Deacon C., 2014, AUTONOMOUS COLLISION
[3]   Survey of Advances in Guidance, Navigation, and Control of Unmanned Rotorcraft Systems [J].
Kendoul, Farid .
JOURNAL OF FIELD ROBOTICS, 2012, 29 (02) :315-378
[4]  
Lai Li-Chun, 2006, J INTELLIGENT ROBOTI
[5]   A platform for aerial robotics research and demonstration: The Flying Machine Arena [J].
Lupashin, Sergei ;
Hehn, Markus ;
Mueller, Mark W. ;
Schoellig, Angela P. ;
Sherback, Michael ;
D'Andrea, Raffaello .
MECHATRONICS, 2014, 24 (01) :41-54
[6]  
Partovi A., 2012, DEV CROSS STYLE QUAD
[7]  
Salazar-Cruz S., 2007, INT J ADAPTIVE CONTR