基于STM32双轮自平衡车的设计与实现——基于分层教学模式的单片机实验教学案例  被引量:1

Research on stratified experimental teaching of new engineering in application-oriented universities - Design and implementation of two-wheel self-balancing vehicle based on STM32

在线阅读下载全文

作  者:赵瑄 赵彬宇 ZHAO Xuan;ZHAO Binyu(Xi'an Mingde Institute of Technology,Xi'an 710124,China)

机构地区:[1]西安明德理工学院,陕西西安710124

出  处:《通信与信息技术》2024年第2期121-125,共5页Communication & Information Technology

基  金:西安明德理工学院2022年度教育教学改革研究项目资助(JG2022YB02)。

摘  要:针对单片机教学过程中学生学习能力不同的问题,利用分层教学,来提升学生学习能力、学习兴趣。通过对双轮自平衡小车控制系统的制定,选用STM32单片机设计作为主板芯片,提出了系统方案设计,同时也对双轮自平衡小车控制系统的规定、架构和设计理念进行论述。设计采用串级PID,将直立环,速度环,转向环串联起来,其中直立环采用PD算法的位置式PID,速度环采用PI算法的增量式PID,转向环直接采用P算法。三个环的串联可以显示小车无论在前进,后退还是转弯时都可保持直立。针对本系统采取了参数的调试和性能的检测,从而证实了双轮平衡车控制系统的必要性和可靠性。Aiming at the problem of different learning ability of students in the process of teaching microcontroller,we utilize lay⁃ered teaching to enhance students'learning ability and learning interest.By formulating the control system of the two-wheeled self-bal⁃ancing vehicle,the STM32 microcontroller design is chosen as the main board chip,and the system program design is proposed,and the provisions,architecture and design concepts of the control system of the two-wheeled self-balancing vehicle are also discussed.The design uses series PID to connect the upright ring,speed ring,and steering ring in series,where the upright ring uses positional PID with PD algorithm,the speed ring uses incremental PID with PI algorithm,and the steering ring directly uses P algorithm.The se⁃ries connection of the three loops can show that the trolley can remain upright no matter when it is moving forward,backward or turning.The debugging of parameters and testing of performance were taken for this system,thus confirming the necessity and reliability of the control system of the two-wheeled balance vehicle.

关 键 词:双轮自平衡车控制系统 STM32单片机 PID算法 

分 类 号:TN915.63[电子电信—通信与信息系统]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象