摘要
设计了一个符合教学需要的实验系统,该系统设计主要包括超声测距模块设计与实现、控制驱动模块设计与实现、上位机软件设计开发三部分。超声测距模块的功能是确定当前浮球的位置,并将此位置信息反馈给控制驱动模块。控制驱动模块接收来自超声测距模块的浮球位置信息,与来自上位机或就地设定的目标位置进行比较,采用PID控制算法调节风机风力,最终实现将浮球控制到目标位置,同时将浮球的运动轨迹信息传送到上位机。上位机软件可以设定浮球的目标位置或运动轨迹,并发送给控制驱动模块,同时接收浮球位置信息,进行其运行轨迹的显示、分析、处理。实践结果表明,该系统为学生学习自动控制原理、单片机、嵌入式系统等课程提供了一个创新的实验平台,取得了良好的教学效果。
In order to solve the problem of control experiment in the automation specialty,which is based on the MATLAB simulation platform,cannot be combined with the actual control object,an experiment system is designed.The system can be divided into three parts: design and implementation of the ultrasonic ranging module,design and implementation of the control drive module,design and development of the host computer software. The function of the ultrasonic ranging module is to detect the position of the floating ball,and send the position information to the control drive module. The control drive module receives the ball position from the ultrasonic ranging module,compared with the set position from the host computer or local target location,uses PID algorithm to adjust the wind,and control ultimately the ball moving to the target position,and transmits position of the ball to the host computer. The computer software can be used to set the target position or trajectory of the floating ball to the control drive module,and receive position of the floating ball. The system provides an innovative experimental platform for students to learn the principles of automatic control,embedded systems and other courses.
出处
《实验室研究与探索》
CAS
北大核心
2017年第6期84-87,共4页
Research and Exploration In Laboratory
基金
杭州电子科技大学2015年高等教育研究资助项目(SYZX201506)
关键词
超声测距
气浮球
PID控制算法
实验系统
ultrasonic ranging
gas-floating ball
PID control algorithm
experiment system