[平头哥RVB2601创意应用开发]—空气调节风扇的转速及摇摆控制(1)
<p style="text-align:justify"><strong><span style="font-size:10.5pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:宋体">引言:</span></span></span></strong></p><p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri,sans-serif">1. <span style="font-family:宋体">因考虑到风扇和压缩机是居家空气调节系统的重要组成部分,也是最为直观的执行单元。</span></span></span></p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri,sans-serif">2. <span style="font-family:宋体">而室内的空气循环周期和循环效率,也直接影响到用电能耗;为此调节风扇的转速、摇摆频次、幅度等精细化的控制也显得尤为重要。</span></span></span></p>
<p style="text-align:justify"> </p>
<p style="text-align:justify"><strong><span style="font-size:10.5pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:宋体">一、调节风扇的控制简述:</span></span></span></strong></p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri,sans-serif">1. <span style="font-family:宋体">转速控制:</span></span></span></p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri,sans-serif">A.<span style="font-family:宋体">采用</span>PWM<span style="font-family:宋体">控制,并选用常见的</span>L298N<span style="font-family:宋体">电机驱动模块来进行驱动。</span></span></span></p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri,sans-serif">B.<span style="font-family:宋体">采用步进电机,同时需要加三极管来提高驱动能力。</span></span></span></p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri,sans-serif">28BYJ-48步进电机实物</span></span></p>
<p style="text-align:justify"></p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri,sans-serif">28BYJ-48步进电机内部结构</span></span></p>
<p style="text-align:justify"> </p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri,sans-serif">2. <span style="font-family:宋体">摇摆控制:采用舵机作为执行载体,其成本低、结构紧凑、易安装调试,最主要是其力矩大。对于频繁转动的状况来讲,其耐久性比较好。</span></span></span></p>
<p style="text-align:justify">舵机实物图</p>
<p style="text-align:justify"><strong><span style="font-size:10.5pt"><span style="font-family:Calibri,sans-serif"><span style="font-family:宋体">二、选型及模拟实验:</span></span></span></strong></p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri,sans-serif">1. <span style="font-family:宋体">本来预想电机通过转速控制的方式</span>A<span style="font-family:宋体">,但因疫情物流受限,想买合适的电机等元器件比较耗时;故翻到了之前玩开发板时搭的配件电机:型号是</span>28BYJ-48, <span style="font-family:宋体">属于步进电机,四相八拍。即采用了方式</span>B<span style="font-family:宋体">的控制方式,也相对简单。</span></span></span></p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri,sans-serif">2.<span style="font-family:宋体">关于</span>28BYJ-48<span style="font-family:宋体">的驱动程序:</span></span></span></p>
<p align="left" style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri,sans-serif">3.<span style="font-family:宋体">关于舵机的控制程序:</span></span></span></p>
<p>附加说明:相关电机程序还在调试中,完成后进一步完善。</p>
舵机的话,用定时器控制,希望看到优秀的作品哦。 <p>静待结果~</p>
<p>过程分享,放在经验分享分类下拉,给你调整下</p>
页:
[1]