《電子技術應用》
您所在的位置:首頁 > 其他 > 设计应用 > 基于STM32的多传感器四旋翼姿态控制系统设计
基于STM32的多传感器四旋翼姿态控制系统设计
2021年电子技术应用第5期
任剑秋,钟小勇,张小红
江西理工大学 理学院,江西 赣州341000
摘要: 针对四旋翼无人机姿态传感器易受干扰,导致姿态输出误差大的问题,设计了一种基于STM32的多传感器四旋翼姿态控制系统。系统使用MPU6050等传感器实时采集四旋翼姿态数据,通过四元数互补滤波算法进行姿态解算,利用串级PID控制,以PWM方式驱动电机。在设计控制系统的软硬件基础上,完成了四旋翼的实物制作与飞行测试。结果表明:该系统能够灵活地控制四旋翼无人机的姿态,实现四旋翼无人机稳定飞行。
中圖分類號: TP273
文獻標識碼: A
DOI:10.16157/j.issn.0258-7998.201024
中文引用格式: 任劍秋,鐘小勇,張小紅. 基于STM32的多傳感器四旋翼姿態(tài)控制系統(tǒng)設計[J].電子技術應用,2021,47(5):97-101,107.
英文引用格式: Ren Jianqiu,Zhong Xiaoyong,Zhang Xiaohong. Design of multi-sensor quadrotor attitude control system based on STM32[J]. Application of Electronic Technique,2021,47(5):97-101,107.
Design of multi-sensor quadrotor attitude control system based on STM32
Ren Jianqiu,Zhong Xiaoyong,Zhang Xiaohong
School of Science,Jiangxi University of Science and Technology,Ganzhou 341000,China
Abstract: Aiming at the problem that the attitude sensor of the quadrotor was susceptible to interference, resulting in large attitude output errors, a multi-sensor quadrotor attitude control system based on STM32 was designed. The system used sensors such as MPU6050 to collect the attitude data of the quadrotor in real time, calculated the attitude through the quaternion complementary filtering algorithm, and used the cascade PID control to drive the motors in PWM mode. Based on the design of the software and hardware of the system, the physical production and flight test of the quadrotor were completed. The results show that the system can flexibly control the attitude of the quadrotor UAV and realize the stable flight of the quadrotor UAV.
Key words : quadrotor UAV;attitude control;STM32;sensor;complementary filtering

0 引言

    四旋翼是一種典型的多輸入輸出、非線性、強耦合的欠驅動系統(tǒng)[1],控制系統(tǒng)復雜,但其結構緊湊、靈活性和機動性好[2],在軍事和民用領域都有廣泛的應用前景。在四旋翼控制系統(tǒng)中,飛行的姿態(tài)控制尤為重要,直接影響無人機的控制精度和飛行效果[3]。四旋翼機載姿態(tài)傳感器受到環(huán)境如固有的振動、噪聲、磁場等客觀因素影響以及傳感器自身工藝的限制,可能導致傳感器測量的姿態(tài)信息與實際姿態(tài)有較大偏差[4-5],要實現(xiàn)穩(wěn)定飛行,并非易事。為此,本文結合模塊化設計的思想,采用多傳感器數(shù)據(jù)融合,設計一種基于STM32的多傳感器四旋翼姿態(tài)控制系統(tǒng)。




本文詳細內容請下載:http://m.ihrv.cn/resource/share/2000003531




作者信息:

任劍秋,鐘小勇,張小紅

(江西理工大學 理學院,江西 贛州341000)

此內容為AET網(wǎng)站原創(chuàng),未經(jīng)授權禁止轉載。

相關內容