标准版
#第八届立创电赛#极低成本51-FOC

创建时间:1年前

1885 7

视频

描述

<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;">项目介绍</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;"> </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: #95a5a6; font-size: 14px;">本项目为极低成本的51FOC电机解决方案,遥遥领先~。比simpleFOC方案更便宜,成本极低。国产51 单片机驱动。支持电流环,位置环,速度环,支持无感FOC 3000+ rmp高转速。支持高速换向,阻尼旋钮,以及编码器模式等等。</span></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> <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;">主控选用stc8H单片机 ,主频30M ,内部IRC晶振</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 src="//image.lceda.cn/pullimage/JOpQRCmk9pLiscMHtVtF7vrUDKmJH7L5ffomJI8N.png" alt="" width="521" height="330"></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;">电流环通过采集三项线电流送至MCU进行计算,采用INA240 高边采样,后期可选用国产的TP181A 替代</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 src="//image.lceda.cn/pullimage/alzSxfRbScSDaS3UGPgaLtp64A3zpe8zz5JF35mu.png" alt="" width="667" height="452"></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;">无刷电机驱动电路,没有使用传统的集成电机驱动芯片,考虑到可以兼容更大功率,不同尺寸的电机方案,因此用Nmos搭建了全桥电路,使用国产EG2134 3路全桥驱动芯片,原理是一样的,如果需要小体积可替换mos ,或者使用DRV8813 L634一类的驱动IC 替代</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 src="//image.lceda.cn/pullimage/RxtUBcNoBlZUWktZgYos6v5tPtgH8Ru2SKtte1wM.png" alt="" width="259" height="387">整体供电采用DCDC ,电路,支持30v以内电压输入,5a电流输出能力。型号是SY8205 ,国产 遥遥领先</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 src="//image.lceda.cn/pullimage/IzmR9XMHNZVylb2cnOvpjY8PFFOlpoLjKtMuQp6E.png" alt="" width="1053" height="574"></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;">BOM</h3> <hr class="horizontal-splitline normal-bold-2"> <p style="line-height: 1.8;"><img src="//image.lceda.cn/pullimage/YtEtrOfBIq9iZ1vj5SxCakFNMVKHO9unieyCKriJ.png" alt="" width="312" height="709"></p> <p style="line-height: 1.8;"> </p> <p style="line-height: 1.8;">注意电机编码器采用TLE5012 ,后面的话考虑使用串口增加多种传感器选择功能,IIC通信的都可以 </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> <p><img src="//image.lceda.cn/pullimage/hq2eDmPxJDFNpcQ3n6SicwWaOWBA0kPbcPDaoMi4.png" alt="" width="491" height="328"><img src="//image.lceda.cn/pullimage/TBOPhCwNQD1jx68dOlzWBysByQOzbSrxqyT7YLhU.png" alt="" width="471" height="317"></p> <p> </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> <hr class="horizontal-splitline normal-bold-2"> <p 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;"><span style="color: #95a5a6; font-size: 14px;">视频要求:请横屏拍摄,分辨率不低于1280×720,格式Mp4/Mov,单个视频大小限100M内;</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: #95a5a6; 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;"><span style="font-size: 14px;">更多详情:<a href="/posts/15a52db9fd7d40c492eb505280278e45" target="_blank">https://diy.szlcsc.com/posts/15a52db9fd7d40c492eb505280278e45</a></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> </div>

文档

STC51-FOC

51-FOC

BOM

ID Name Designator Footprint Quantity Manufacturer Part Manufacturer Supplier Supplier Part
1 XT30UPB-M * XT30UPB-M 1
2 0.1uF C1,C9,C18,C23,C24,C25,C26,C28 C0603_M 8
3 47uf 50V C2,C7 CM D(6.3*7.7) 2
4 1uF C3,C11 C0603_M 2
5 100pF C4 C0603_M 1
6 47uf C5 CD B(3528) 1
7 22UF C6,C22 C0603_M 2
8 1uf 50v C8 C0603_M 1
9 10uF C10 C0603_M 1
10 1uf C12,C16 C0603_M 2
11 0.1uf 50V C13,C14,C15,C17 C0603_M 4
12 10uf C19 CD A(3216) 1
13 100nF C20 C0603_M 1
14 10nF C21 C0603_M 1
15 FR107 D1,D2,D3 SOD123 3
16 1N4148 D4,D5,D6,D7,D8,D9 SOD123 6
17 3A F1 FU 1206 1
18 TL431 IC1,IC2 SOT23-3N 2
19 Socket J1,J2,J3,J4 ___ 4
20 5A/6.8uH L1 L10040 1
21 10uH L2 L-0603_M 1
22 LED LED1,LED2 LED-0603-R 2
23 Header1 P1,P2,P4 __ 3
24 Header 5 P3 1*5 PAD 1
25 Header 4 P14 HDR1X4 1
26 Header 6 P15 1*6 PAD 1
27 IRLR8726 Q1,Q2,Q3,Q4,Q5,Q6 TO252 6
28 0 R1,R8,R21 R0603_M 3
29 100k R2 R0603_M 1
30 150 R3,R22 R0603_M 2
31 10 R4 R0603_M 1
32 20K R5 R0603_M 1
33 110K R6 R0603_M 1
34 15K R7 R0603_M 1
35 10K 1% R9,R11,R24 R0603_M 3
36 1k R10,R23 R0603_M 2
37 1 R12,R13,R14,R17,R19,R20 R0603_M 6
38 0.005 1% 采样电阻 R15,R16,R18 R 0805-HP_M 3
39 微动开关 S1 KEY-K2 1
40 SY8205FCC U1 ESOP8 1
41 EG2134 U2 TSSOP20 1
42 INA240 U3,U5,U6 TSSOP-8-WIDEN 3
43 STC8H3K64S4 U4 LQFP48 7X7_M 1

附件

附件名 下载
foc_project.hex
Gerber_51-FOC.zip
BOM_STC51-FOC.csv

成员

评论(8)

  • 表情
    emoji
    小嘉工作篇
    小嘉日常篇
  • 图片
成功
工程所有者当前已关闭评论
gdrc 回复
<p>做得挺好的,只是用 的INA240芯片做高端电流检测会造成整机成本偏高。</p>
立创电赛 回复
<p>点赞+收藏+评论赢500元京东E卡:<a href="https://diy.szlcsc.com/posts/9d4438cf6d3848d3a53c50e029514a91" target="_blank">https://diy.szlcsc.com/posts/9d4438cf6d3848d3a53c50e029514a91</a></p>
无敌 回复
<p>立创yyds</p>
lumine_c 回复
<p>开关频率用的多少呢</p>
yqybsypksadfdsa 回复
<p>大佬666</p>
立创电赛 回复
<p>恭喜您在“瑞萨MCU杯”第八届立创电子设计开源大赛中获得优胜奖,更多详情见:<a href="https://diy.szlcsc.com/posts/9aea5131523341fbab0bb927c5c4c603" target="_blank">https://diy.szlcsc.com/posts/9aea5131523341fbab0bb927c5c4c603</a></p>
Josaphat 回复
<p>@gdrc确实INA240现在不好买。用TPA181就行</p>
Josaphat 回复
<p>@lumine_c如果不开电流环 可以跑到10K,</p>
goToTop
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow