期刊文献+

基于STC89C52的角度自动控制系统设计 被引量:6

Design of automatic control system based on the perspective of STC89C52
在线阅读 下载PDF
导出
摘要 为实现对帆板角度的精准控制以及实时显示,本文设计了一种抗干扰能力强、能够快速响应的角度自动控制系统。本系统采用STC89C52单片机作为核心控制器,LM7805和LM7812提供+5V和+12 V电源,通过按键设置帆板的角度,P3022-V1-CW360角度传感器实时采集角度信息,实时角度和设定角度以及PWM波的占空比由LCD1602进行显示,利用PID反馈调节机制控制单片机输出的PWM波送入L298N电机驱动芯片,通过改变电机的转速改变实时风力,进而改变帆板的角度如果帆板角度超出60度,立刻进行声光报警提示。经实验测试表明,本系统可以完成对帆板角度的快速调节,系统响应时间小于5 s,角度相对误差小于10%,整个系统具有良好的稳定性以及快速响应性能,实现了设计要求。 To achieve precise control of sailboard angle and real-time display,this paper designs a kind of strong anti-interference ability,fast response angle automatic control system.The system uses STC89C52 microcontroller as the core controller,LM7805 and LM7812 provide+5 V and+12 V power supply,press the key point by setting sail,real-time acquisition of angle P3022-V1-CW360 angle sensor information real time,angle and setting angle and the duty ratio of PWM wave by LCD1602 display,using PID MCU control output feedback regulation mechanism of PWM wave to L298N motor driver chip,by changing the motor speed change real-time wind,and then change the angle of the sailboard sailboard angle exceeds 60 degrees if,immediately after the sound and light alarm.The test shows that the system can complete the quick adjustment of sailboard angle,the system response time is less than 5 seconds,the angle error is less than 10%The whole system has good stability and fast response performance,and realizes the design requirements.
作者 唐双柱 黄建清 王立辉 秦冲 刘军 TANG Shuang-zhu;HUANG Jian-qing;WANG Li-hui;QIN Chong;LIU Jun(Institute of Tropical Agriculture and Forestry,Hainan University,Danzhou 571737,China)
出处 《电子设计工程》 2018年第17期99-102,106,共5页 Electronic Design Engineering
基金 海南省高等学校发展专项发展资金项目(HX51069008001)
关键词 STC89C52 PID算法 PWM 角度测量 STC89C52 PID algorithm PWM angle measurement
  • 相关文献

参考文献14

二级参考文献76

共引文献167

同被引文献45

引证文献6

二级引证文献15

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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