欢迎来到虫虫开发者社区 — 百万工程师技术资源

基于STC12C5A60S2单片机风板控制装置的设计

技术资料 1722 K 5 次下载

资源详细信息

文件格式
压缩包
文件大小
1722 K
资源分类
上传者
发布时间
下载统计
5
所需积分
2 积分

基于STC12C5A60S2单片机风板控制装置的设计 - 资源详细说明

为了精确控制风板的转动,设计了一款基于STC12C5A60S2单片机风板控制装置。该风板控制系统采用8位MCU的STC12C5A60S2单片机作为主控制器,通过ADS8341对角度传感器WDD35D4测得的角度进行采样和A/D变换运算,然后把转换后的数字信号输入到单片机,进而测出风板的转动角度,然后把测出风板的转动角度与角度设定值进行比较,再由主控制器控制LMD18200T去控制直流电机转动的方向及转速,从而实现风板转动角度测量与控制功能。测试结果表明:当风板控制在(45°,135°)范围之内预设1个角度,风板以小于9 s的时间达到预设角度,且角度测量误差等于0;当风板控制在(45°,135°)范围之内预设2个角度,风板以小于9 s的时间达到2个预设角度,并在两个预设角度之间摆动3次,且摆动的过程小于5 s;在风板上悬挂一个10 g的砝码,同样进行上述两种测试,达到了预期的设计目的。该风板控制装置具有精度高、响应快的特点。

In order to accurately control the rotation of the wind plate,a wind deflector control device based on STC12C5A60S2 single-chip microcomputer was designed.The wind panel control system adopts the STC12C5A60S2 single-chip microcomputer of 8-bit MCU as the main controller,samples and A/D transforms the angle measured by the angle sensor WDD35D4 through the ADS8341,and then inputs the converted digital signal to the single-chip microcomputer,and then detects The rotation angle of the wind plate is then compared with the angle set value of the measured wind plate,and then the main controller controls the LMD18200T to control the direction and the rotation speed of the DC motor,thereby realizing the measurement and control function of the wind plate rotation angle.The test results show that when the wind plate is controlled within the range of(45°,135°)by one angle,the wind plate reaches the preset angle in less than 9 s,and the angle measurement error is equal to 0;when the wind plate is controlled Preset 2 angles within the range of(45°,135°),the wind plate reaches 2 preset angles in less than 9 s,and swings 3 times between two preset angles,and the swinging process is less than 5 s;A 10 g weight was hung on the wind plate,and the above two tests were also performed to achieve the intended purpose.The wind panel control device has the characteristics of high precision and fast response.

立即下载 基于STC12C5A60S2单片机风板控制装置的设计

提示:下载后请用压缩软件解压,推荐使用 WinRAR 或 7-Zip

下载说明与使用指南

下载说明

  • 本资源需消耗 2积分
  • 24小时内重复下载不扣分
  • 支持断点续传功能
  • 资源永久有效可用

使用说明

  • 下载后使用解压软件解压
  • 推荐使用 WinRAR 或 7-Zip
  • 如有密码请查看资源说明
  • 解压后即可正常使用

积分获取方式

  • 上传优质资源获得积分
  • 每日签到免费领取积分
  • 邀请好友注册获得奖励
  • 查看详情 →

相关技术标签

相关技术资料资源推荐