期刊文献+

基于单片机的小球平衡控制系统实验设计

Design of MCU-based Small Ball Balance Control System Experiment
下载PDF
导出
摘要 针对综合设计型实验课程,研制了一套小球平衡控制的实验系统。该系统以单片机STC12C5A60S2为核心处理器,通过外设PWM占空比的调整控制风扇转速,从而调整风速的大小,利用超声波测量距离传感器测量小球在管内位置并反馈给单片机,单片机通过PID算法计算出所需要的PWM占空比驱动风扇,形成完整的闭环控制系统。PID系数整定采用Z-N系数法整定,整个系统实现了快速稳定控制小球在中心位置。 In view of the comprehensive design experiment course,an experimental system of small ball balance control is developed.The system,with the STC12C5A60S2 as the core processor of the system,adjusts the wind speed through the adjustment of the peripheral PWM duty cycle.The ultrasonic measuring distance sensor is used to measure the position of the small ball in the tube and give feedback to the MCU.Next,the MCU calculates the PWM duty cycle needed to drive the fan via PID algorithm,thus forming a complete closed-loop control system.The whole system,adopting the Z-N coefficient method in the PID parameter tuning,realizes the fast and stable control of the small ball in the central location.
作者 耿兴华 李简文 郭飞 GENG Xinghua;LI Jianwen;GUO Fei(Engineering Training Center,Dalian University of Technology,Dalian 116023,China;School of Energy and Power Engineering,Dalian University of Technology,Dalian 116023,China)
出处 《实验科学与技术》 2021年第1期20-23,共4页 Experiment Science and Technology
基金 国家自然科学基金(51775085) 大连理工大学教学改革项目(YB2018060,YB2019033)。
关键词 综合实验 单片机 PID系数整定 平衡控制 comprehensive experiment MCU PID parameter tuning balance control
  • 相关文献

参考文献12

二级参考文献120

共引文献426

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部