描述
<div class="document">
<h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">1、项目功能介绍</h3>
<hr class="horizontal-splitline normal-bold-2"><hr class="horizontal-splitline normal-bold-2"><p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"><span style="color:#000000;">步进电机因其定位精度高、造价较低、控制简单而在生产生活中被广泛应用</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"><span style="color:#000000;">闭环步进电机相较于开环步进电机具有一定的过载能力不会丢步,可以根据负载调节电流从而降低电机发热</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"><span style="color:#000000;">由于芯片价格飞涨,闭环步进电机控制器造价水涨船高,本设计提出了一种以国产芯片ESP32为主控的闭环步进电机控制器方案</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"><span style="color:#000000;">本设计以杨工的闭环步进电机驱动器为基础,硬件方面做了修改和重新设计,软件方面对代码进行了移植以及重构,并抽取出Grbl_ESP32的部分代码作为核心算法的运行框架</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"><span style="color:#000000;"><strong>特性:</strong></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"><span style="color:#000000;"><strong>1、EN/DIR/STEP接口控制,兼容3D打印机主板</strong></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"><span style="color:#000000;"><strong>2、串口/蓝牙/Telnet在线调参</strong></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"><span style="color:#000000;"><strong>3、3.3A峰值电流</strong></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"><span style="color:#000000;"><strong>4、位置闭环/位置开环模式可切换</strong></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"><span style="color:#000000;"><strong>5、过热保护</strong></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"><span style="color:#000000;"><strong>6、电压监测</strong></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"><span style="color:#000000;"><strong>7、实时数据反馈</strong></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"><span style="color:#000000;"><strong>典型应用:</strong></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"><span style="color:#000000;"><strong>1、3D打印机、激光雕刻机、平面绘图仪</strong></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"><span style="color:#000000;"><strong>2、机器人</strong></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"><span style="color:#000000;"><strong>3、电动滑台</strong></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"><span style="color:#000000;"><strong>4、智能窗帘</strong></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;"><span style="color:#000000;"><strong>5、电动转盘</strong></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><img style="margin-left:auto;margin-right:auto;" src="//image.lceda.cn/pullimage/aj01nyuauIaMpA3oaM77ghiXP8JLW4ClB9JB9DSr.png" alt="aj01nyuauIaMpA3oaM77ghiXP8JLW4ClB9JB9DSr.png"></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:center;">图1 arduiino风格引脚图</p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"> </p>
<h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">2、项目属性</h3>
<hr class="horizontal-splitline normal-bold-2"><p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><span style="color:#000000;font-size:14px;">项目为首次公开;</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><span style="color:#000000;font-size:14px;">项目为原创;</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><span style="color:#000000;font-size:14px;">项目未曾在其他比赛中获奖;</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><span style="color:#000000;font-size:14px;">项目未曾在学校参加过答辩;</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"> </p>
<h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">3、开源协议</h3>
<hr class="horizontal-splitline normal-bold-2"><p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><strong>开源协议: CC-BY-NC-SA 3.0</strong></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">引用:<a href="/HyperCNC/yi-ti-hua-di-cheng-ben-gao-su-gao-jing-du-quan-bi-huan-bu-jin-dian-ji" target="_blank"><strong>#第四届立创大赛#HyperStepper一体化低成本高速高精度全闭环步进电机</strong></a> (开源协议:BSD)</p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">引用:<a href="https://github.com/bdring/Grbl_Esp32" target="_blank"><strong>Grbl_Esp32</strong></a>(开源协议:GPL-3.0)</p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">自我引用:<strong><a href="/Knight_Sin/bi-huan-bu-jin-dian-ji-kong-zhi-qi" target="_blank">【航顺训练营】闭环步进电机控制器</a></strong></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">自我引用:<strong><a href="/Knight_Sin/bi-huan-bu-jin-dian-ji-kong-zhi-qi_copy" target="_blank">ESP32闭环步进电机控制器</a></strong></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"> </p>
<h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">4、硬件部分</h3>
<hr class="horizontal-splitline normal-bold-2"><p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><strong><span style="color:#000000;font-size:14px;">(1)驱动电路:</span></strong></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;"><span style="color:#000000;"><span style="color:#000000;">本设计以两片A4950芯片作为驱动芯片,该芯片为全桥式DMOS PWM电机驱动,并且具有电流限制功能,依据此功能可实现恒流控制</span></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;"><span style="color:#000000;"><span style="color:#000000;"><img style="margin-left:auto;margin-right:auto;" src="//image.lceda.cn/pullimage/1ZW8O2q9X8nonUUj8RmtNqft44TryUgTca9SHMze.png" alt="1ZW8O2q9X8nonUUj8RmtNqft44TryUgTca9SHMze.png"></span></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;text-align:center;"><span style="color:#000000;"><span style="color:#000000;">图2 A4950结构框图</span></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;text-align:center;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;text-align:left;"><span style="color:#000000;"><span style="color:#000000;">通过调节Verf引脚电压即可改变恒输出电流的大小,Imax</span></span> = Verf/(10*Rsense),本设计中,将两只A4950的Verf引脚分别连接至ESP32的DAC输出引脚,使用0.1Ω的电流采样电阻,故最大输出3.3A电流</p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;text-align:center;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;text-align:left;"><img style="margin-left:auto;margin-right:auto;" src="//image.lceda.cn/pullimage/6Fh8m2m2ZoQdXKOr2OTIqdYxsReg3mduYBffoALU.png" alt="6Fh8m2m2ZoQdXKOr2OTIqdYxsReg3mduYBffoALU.png"></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;text-align:center;">图3 A4950电路图</p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;text-align:center;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><strong><span style="color:#000000;font-size:14px;">(2)BUCK降压电路&LDO降压电路:</span></strong></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;"><span style="color:#000000;font-size:14px;">本设计中,控制系统电源由电机电源经BUCK电路降压至5V并通过LDO降压电路二次降压后得到</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;"><span style="color:#000000;font-size:14px;">本设计采用的BUCK芯片型号为JW5026,其耐压值高达40V,最大输出1A电流,其需要的外围元件数量少、滤波感感量要求低,故非常节约PCB空间</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;"><span style="color:#000000;font-size:14px;"><img style="margin-left:auto;margin-right:auto;" src="//image.lceda.cn/pullimage/wfcENinDP8Hm1JNESqZIrHDqWjHH5I4UtSy4Pe7u.png" alt="wfcENinDP8Hm1JNESqZIrHDqWjHH5I4UtSy4Pe7u.png"></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;text-align:center;"><span style="color:#000000;font-size:14px;">图4 BUCK降压电路</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;text-align:center;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;text-align:left;"><span style="color:#000000;font-size:14px;">本设计使用的LDO型号为其最大输出电流可达900mA,非常适合为ESP32供电</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:80px;text-align:left;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:80px;text-align:left;"><span style="color:#000000;font-size:14px;"><img style="margin-left:auto;margin-right:auto;" src="//image.lceda.cn/pullimage/GfUvv43fbn7X5iWdGO6868cDtGcnWXyGLawA5irg.png" alt="GfUvv43fbn7X5iWdGO6868cDtGcnWXyGLawA5irg.png"></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:80px;text-align:center;"><span style="color:#000000;font-size:14px;">图5 LDO降压电路</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:80px;text-align:left;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:left;"><span style="color:#000000;font-size:14px;"><strong>(3)外部信号输入电路:</strong></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:left;padding-left:40px;"><span style="color:#000000;font-size:14px;">本设计将外部输入信号用光耦进行隔离,其中EN为低低速信号,故使用低速光耦,DIR/CLK信号为高速信号,故使用高速光耦</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:left;padding-left:40px;"><span style="color:#000000;font-size:14px;"><strong><img style="margin-left:auto;margin-right:auto;" src="//image.lceda.cn/pullimage/uu8AFH9fLOTD4hcYlfqyZCj3PAkIU0PuKloyDNcf.png" alt="uu8AFH9fLOTD4hcYlfqyZCj3PAkIU0PuKloyDNcf.png"></strong></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;text-align:center;"><span style="color:#000000;font-size:14px;">图6 外部输入信号电路</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;text-align:center;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:left;"><span style="color:#000000;font-size:14px;"><strong>(4)MCU最小系统:</strong></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;padding-left:40px;"><span style="color:#000000;font-size:14px;">本设计使用ESP32-PICO-D4作为主控,其集成了晶振/SPI FLASH/RF滤波电路/退耦电容等,所需外围元器件非常少</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;padding-left:40px;"><span style="color:#000000;font-size:14px;">本设计预留了一个GH1.25 6pin接口作为程序烧录接口以及串口通信接口</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:justify;padding-left:40px;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:left;"><img style="margin-left:auto;margin-right:auto;" src="//image.lceda.cn/pullimage/zQT5xxP6KiLRCbhvXalJcicDXOESWrnDl7FMtGsQ.png" alt="zQT5xxP6KiLRCbhvXalJcicDXOESWrnDl7FMtGsQ.png"></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:center;">图7 MCU最小系统</p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:center;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:left;"><span style="color:#000000;font-size:14px;"><strong>(5)编码器电路:</strong></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:left;padding-left:40px;"><span style="color:#000000;font-size:14px;">本设计使用国产14bit高精度绝对值磁编码器MT6816,可以选择使用其SPI接口或ABI接口(暂未支持),其安装在PCB背面,通过安装在电机尾部的径向充磁磁铁获取电机转子角度</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:left;padding-left:40px;"><span style="color:#000000;font-size:14px;"><img style="margin-left:auto;margin-right:auto;" src="//image.lceda.cn/pullimage/jBmBQQC49hOdByxXc3rwooD79ZHtRnirmKeIUc08.png" alt="jBmBQQC49hOdByxXc3rwooD79ZHtRnirmKeIUc08.png"></span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;padding-left:40px;text-align:center;"><span style="color:#000000;font-size:14px;">图8 编码器电路</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:left;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:left;"><strong><span style="color:#000000;font-size:14px;">(6)电机电源电压采样电路&驱动IC温度采样电路:</span></strong></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:left;"><img style="margin-left:auto;margin-right:auto;" src="//image.lceda.cn/pullimage/GO60ZPLMACKfAm4i1A5QhIt7M7eHdFTM5ZZ9Qr05.png" alt="GO60ZPLMACKfAm4i1A5QhIt7M7eHdFTM5ZZ9Qr05.png"></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:left;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:center;"><span style="color:#000000;font-size:14px;">图9 电机电源电压采样电路&驱动IC温度采样电路</span></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:center;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:left;"><strong><span style="color:#000000;font-size:14px;">(7)</span>电机电源滤波电路:</strong></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:left;padding-left:40px;">本设计在电机电源上使用了一枚SS54防止步进电机处于发电状态时产生的电能导致系统错误启动,并使用了一枚SMBJ30CA用于防止步进电机处于回馈制动状态或者发电状态时产生的电压烧毁A4950,还使用了大容量的MLCC进行行储能以将其其运行时电机电源的电压纹波</p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:center;"><img src="//image.lceda.cn/pullimage/dNE4lIeGu1e4O6rYSvEG7fv2ImcjTcfekDmGLzXh.png" alt="dNE4lIeGu1e4O6rYSvEG7fv2ImcjTcfekDmGLzXh.png"></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:center;">图10 电机电源滤波电路</p>
<h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"> </h3>
<h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">5、软件部分</h3>
<hr class="horizontal-splitline normal-bold-2"><p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">代码:<a href="https://gitee.com/STM32G474RET6/xbdrive" target="_blank">https://gitee.com/STM32G474RET6/xbdrive</a>(尚不完善)</p>
<h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><img style="margin-left:auto;margin-right:auto;" src="//image.lceda.cn/pullimage/KOAOuPJbQTaiclfOyfYau7GasVuhDA9rXWgvIDtv.png" alt="KOAOuPJbQTaiclfOyfYau7GasVuhDA9rXWgvIDtv.png"></h3>
<p style="text-align:center;"> </p>
<p style="text-align:center;">图11 代码截图</p>
<p style="text-align:center;"> </p>
<p style="padding-left:40px;text-align:left;"><img src="//image.lceda.cn/pullimage/yI7z1Fhed3pu6bLGZnIQcHyfQzZnIjzUf2Nrp8jd.png" alt="yI7z1Fhed3pu6bLGZnIQcHyfQzZnIjzUf2Nrp8jd.png"></p>
<p style="padding-left:40px;text-align:left;"> </p>
<p style="padding-left:40px;text-align:left;"> 图12 系统框架</p>
<p style="text-align:left;padding-left:40px;"> </p>
<h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">6、BOM清单</h3>
<hr class="horizontal-splitline normal-bold-2"><p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><img style="margin-left:auto;margin-right:auto;" src="//image.lceda.cn/pullimage/w8qMSCwFg8TSj1pRPYTkgJ2evsICZiSDSLzC5iXr.png" alt="w8qMSCwFg8TSj1pRPYTkgJ2evsICZiSDSLzC5iXr.png"></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:center;"> </p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:center;">图13 BOM表截图(包含转接模块以及串口模块元件)</p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"> </p>
<h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">7、大赛LOGO验证</h3>
<hr class="horizontal-splitline normal-bold-2"><p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"><img style="margin-left:auto;margin-right:auto;" src="//image.lceda.cn/pullimage/zJEoOCwBbeDARXgAz5xxukrCZ7ZhofZyX57MKWKh.png" alt="zJEoOCwBbeDARXgAz5xxukrCZ7ZhofZyX57MKWKh.png"></p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;text-align:center;">图14 背面图片</p>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"> </p>
<h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;">8、演示视频</h3>
<p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height:1.8;"> </p>
</div>
-
立创电赛:《ESP32两相四线混合式步进电机闭环驱动器》-矛盾聚合体-part1.mp4
-
立创电赛:《ESP32两相四线混合式步进电机闭环驱动器》-矛盾聚合体-part2.mp4
-
立创电赛:《ESP32两相四线混合式步进电机闭环驱动器》-矛盾聚合体-part3.mp4
评论(25)