专业版
#第七届立创电赛#LCR数字电桥

创建时间:2年前

4518 4

视频

  • 立创电赛:LCR数字电桥(大赛logo).mp4

  • 立创电赛:LCR数字电桥(测量演示).mp4

描述

<div class="document"> <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;"><strong><span style="color: #0093e6;">请在报名阶段填写 ↓</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;"> </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;">* 1、项目功能介绍</h3> <p>制作一个以国民技术N32G430C8L7单片机为核心的LCR数字电桥,能测试直插和贴片电阻电容,能单手操作,频率100HZ、1KHZ、10KHZ、100KHZ,18650电池供电,COG12864显示。</p> <p>电路采用N32单片机输出一路SPWM,经过滤波得到正弦波 ,经过U3激励待测试的元器件,待测试元器件和U4、采样电阻(R15、R16、R17、R18)组成反相放大电路实现采样电阻和待测元器件平衡。U9切换采样电阻,U8切换待测原件器和采样电阻,进入后面三运放仪表放大器,放大倍数为3倍、6倍、10倍,结合上采样电阻组成24个档位,放大后进入PA0 ADC口。</p> <p>程序比较简单,采集一个序列做DFT运算,根据公式计算阻抗换算电容电感。</p> <p> </p> <p>档位表</p> <p> </p> <p><img src="//image.lceda.cn/pullimage/RO7mnpcqcZ8ITgEYu2rLM1IGrSZidkAYD8CqMTBe.png" alt="" width="737" height="814"></p> <p> </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: #95a5a6; font-size: 14px;">原创制作首次用N32G430单片机制作LCR数字电桥</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> <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;"><span style="color: #95a5a6; font-size: 14px;">软硬件开源随便用</span></p> <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;"><strong><span style="color: #0093e6;">请在竞赛阶段填写 ↓</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;"> </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、硬件部分                                                                                                                                              <a title="在编辑器中打开" href="https://pro.lceda.cn/editor#id=f51e2252e7a54d29b97c1688547a9f0b,tab=*73d1bb16d5cf46e6be0ae50fe92e206d" target="_blank">在编辑器中打开</a></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: #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;"><img src="//image.lceda.cn/pullimage/g39oWKEQMtLkdJYjtYfFIcCaubMFaWX6i28RE0QP.png" alt="修改原理图" width="2338" height="1652"></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;"><img src="//image.lceda.cn/pullimage/raSVocOH8W1vSgcWLGl7aMgZr6oHyQCnPNcL4GFU.png" alt="" width="2160" height="2168"></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" 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 pap-left-indent-1.6em" style="line-height: 1.8;">                      PCB修改了几个电阻,完整工程见附件</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;">*5、软件部分</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> <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;"><a title="程序开源(纯汇编。。)" href="https://github.com/yjmwxwx/n32g430/tree/master/lcr1" target="_blank">https://github.com/yjmwxwx/n32g430/tree/master/lcr1</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 pap-left-indent-1.6em" style="line-height: 1.8;">本程序采用ARM汇编编写,编译器ARM-NONE-EABI,进入工程输入make就可以编译,本程序全部开源大家可以随便改随便用。</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height: 1.8;">软件比较简单,就是定时器查表输出SPWM同时触发ADC采样,ADC采样率4MHZ采集4000点做DFT运算,结果再进入平均滤波器200个数据平均,最后上臂电压除下臂电压乘采样电阻得到阻抗。计算部分采用Q15定点数,数学计算部分也是自己写的没有用库</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;"><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="color: #95a5a6; font-size: 14px;">注:项目涉及的BOM清单。这个位置请上传BOM的截图。清单详情请以PDF的格式上传到附件中。建议包括型号、品牌、名称、封装、采购渠道、用途等内容。具体内容和形式应以表达清楚项目构成为准。</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> <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 src="//image.lceda.cn/pullimage/VpNDmKmaFGpeWyCjVVj22zDJc1yJTcLUwic0QSJb.jpeg" alt="" width="4208" height="2368"></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/XnU2D9id5Yy3kIXRF7EkFkviyeQ6U41aH39w4uWz.jpeg" alt="" width="4208" height="2368"></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/w4Bb1aaqJ1WvNftUEMnUUsC1zTXI3WMPwFge4LIL.jpeg" alt="" width="4208" height="2368"></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/MOg1PCwdGxch5Igze3h6KsycPPlt4f2nlLtESu31.jpeg" alt="" width="4208" height="2368"></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> <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;">机械部分演示视频</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 title="机械部分演示视频" href="https://www.bilibili.com/video/BV1vY4y1M7Wn?zw" target="_blank">https://www.bilibili.com/video/BV1vY4y1M7Wn?zw</a></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;">添加显示阻抗功能,大字第一行显示电阻第二行显示电抗,100KHZ测100欧电阻,目前只写了100欧档。</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 title="1" href="https://www.bilibili.com/video/BV1TY4y1M7a3?share_source=copy_web&vd_source=6f1b94e7c974d8b665e38c4eb30d4812" target="_blank">https://www.bilibili.com/video/BV1TY4y1M7a3?share_source=copy_web&vd_source=6f1b94e7c974d8b665e38c4eb30d4812</a></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;">100KHZ测量电阻、电容、电感的阻抗</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 title="100KHZ测量阻抗" href="https://www.bilibili.com/video/BV1vg411m737?share_source=copy_web&vd_source=6f1b94e7c974d8b665e38c4eb30d4812" target="_blank">https://www.bilibili.com/video/BV1vg411m737?share_source=copy_web&vd_source=6f1b94e7c974d8b665e38c4eb30d4812</a></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;">100KHZ测量电阻、电感、电容</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 title="https://www.bilibili.com/video/BV1wT411u7DG?share_source=copy_web&vd_source=6f1b94e7c974d8b665e38c4eb30d4812" href="https://www.bilibili.com/video/BV1wT411u7DG?share_source=copy_web&vd_source=6f1b94e7c974d8b665e38c4eb30d4812" target="_blank">https://www.bilibili.com/video/BV1wT411u7DG?share_source=copy_web&vd_source=6f1b94e7c974d8b665e38c4eb30d4812</a></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;">100hz、1KHZ、10KHZ、100KHZ之间切换</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 title="1" href="https://www.bilibili.com/video/BV1624y1d7ze?share_source=copy_web&vd_source=6f1b94e7c974d8b665e38c4eb30d4812" target="_blank">https://www.bilibili.com/video/BV1624y1d7ze?share_source=copy_web&vd_source=6f1b94e7c974d8b665e38c4eb30d4812</a></p> </div>

文档

BOM

暂无

附件

附件名 下载
程序.zip
程序1.zip
程序2.zip
LCR1.zip
LCR表.eprj

成员

评论(8)

  • 表情
    emoji
    小嘉工作篇
    小嘉日常篇
  • 图片
成功
工程所有者当前已关闭评论
立创电赛 回复
<p>板子上记得打立创电赛logo哟</p>
yjmwxwx 回复
<p>@lcds 我是菜鸟第一次学着用嘉立创EDA做板子,已经下载图片放到板子上了,不知道对不对</p>
立创电赛 回复
<p>实物板子到了后,再拍个实物图片上传哦</p>
立创电赛 回复
<p>恭喜您在“国民技术N32 MCU杯”第七届立创电子设计开源大赛中获得鼓励奖,更多详情见:<a href="https://diy.szlcsc.com/posts/ce62d5686424460db0a26a6b90277d78" target="_blank">https://diy.szlcsc.com/posts/ce62d5686424460db0a26a6b90277d78</a></p>
gps422129 回复
<p>楼主精神可嘉。终于完成了。在矿坛看了楼主初代设计。一步步的完成了这个设计!</p>
QiuFengPC 回复
<p>厉害</p>
yjmwxwx 回复
<p>其实并没有搞完,被干农活打断了后来一直懒得动手搞</p>
sh200436 回复
<p>@yjmwxwx 高手在民间[emojis:点赞]</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