描述
<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;"> </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>
<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;">使用了TPA3116D级功放,NE5532作为前级,3.5mm音频输入与蓝牙二合一的双模功放。</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;">本PCB为TPA3116预留了所有可调整的pin config,可通过调整AM接口调整不同的PWM频率,调整电位器阻值可调整增益,以及通过调整跳帽来切换单声道和双声道输出。</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;">用了两块LM3915作为电平指示灯,分别对应左右两声道。根据音频的大小不同会亮不同数量的灯。</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;"> </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:16px;">【课程设计】TPA3116+M18蓝牙数字功放,链接为:<a href="/winton/d-lei-shuo-zi-gong-fang" target="_blank">https://oshwhub.com/winton/d-lei-shuo-zi-gong-fang</a></span></p>
<p>在此之上添加了一些TPA3116的功能,例如FAULTZ检测(过流和高温自动断电),增益选择和PWM频率选择。</p>
<p>原理图主要参考了TI的TPA3116官方文档绘制,电路布局时自己摆的,还有一些优化空间。</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 style="line-height:1.8;"> </p>
<p style="line-height:1.8;">开源协议为Public Domain,各位电子爱好者们可以直接拿去DIY(虽然说画的不是很好)</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;"> </p>
<ul><li 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;">使用了TPA3116作为D类功放。TPA3116是TI的一款高性能数字功放IC,可以以最高50W双路输出/100W单路输出(at 4Ω)</li>
</ul><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>
<ul><li 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.5 ~ 26V, 8A,接口为DC-005或者用接线pin。由于输入电流较大,故需使用24AWG/0.5mm或更粗的线连接。</li>
</ul><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>
<ul><li 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.2 ~ 8Ω之间。在4Ω时输出达到最大。</li>
</ul><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>
<ul><li 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;">本PCB为TPA3116预留了所有可调试的功能,可以通过不同的跳帽连接的方法调试不同的PWM频率,不同的增益等等。高自由度的反复调试可以使芯片在最优状 态下运行,从而得到最佳的音质。本电路板也可以当作方案验证模块使用。</li>
</ul><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>
<ul><li 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;">运用多个电容对输出进行滤波,使输出信号更加纯净,从而获得更加干净的音质。</li>
</ul><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>
<ul><li 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;">TPA3116周围预留了25mm×25mm的空间用于安装散热片。</li>
</ul><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:18px;"><strong>4.1 PWM频率选择</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 pap-left-indent-1.6em" style="line-height:1.8;"><img src="//image.lceda.cn/pullimage/qeqBRB2WNG5O4GqGiz01JiJrL2WRQXv0Qqx4UKFF.png" alt="qeqBRB2WNG5O4GqGiz01JiJrL2WRQXv0Qqx4UKFF.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 pap-left-indent-1.6em" style="line-height:1.8;">以上为PWM选择电路,AM0,AM1,AM2处设有跳帽,可以通过连接不同跳帽来选择不同的PWM频率。</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;">不同的PWM频率会影响到音质。下表为AM接口和频率的关系(0为断开,1为短接):</p>
<table style="border-collapse:collapse;width:97.3289%;height:88px;"><tr style="height:22px;"><td style="width:18.7919%;text-align:center;height:22px;"><strong>AM0</strong></td>
<td style="width:18.7919%;height:22px;text-align:center;">0</td>
<td style="width:18.7919%;height:22px;text-align:center;">0</td>
<td style="width:18.7919%;height:22px;text-align:center;">0</td>
<td style="width:18.795%;height:22px;text-align:center;">1</td>
</tr><tr style="height:22px;"><td style="width:18.7919%;text-align:center;height:22px;"><strong>AM1</strong></td>
<td style="width:18.7919%;height:22px;text-align:center;">0</td>
<td style="width:18.7919%;height:22px;text-align:center;">0</td>
<td style="width:18.7919%;height:22px;text-align:center;">1</td>
<td style="width:18.795%;height:22px;text-align:center;">0</td>
</tr><tr style="height:22px;"><td style="width:18.7919%;text-align:center;height:22px;"><strong>AM2</strong></td>
<td style="width:18.7919%;height:22px;text-align:center;">0</td>
<td style="width:18.7919%;height:22px;text-align:center;">1</td>
<td style="width:18.7919%;height:22px;text-align:center;">0</td>
<td style="width:18.795%;height:22px;text-align:center;">0</td>
</tr><tr style="height:22px;"><td style="width:18.7919%;text-align:center;height:22px;"><strong>Frequency (KHz)</strong></td>
<td style="width:18.7919%;height:22px;text-align:center;">400</td>
<td style="width:18.7919%;height:22px;text-align:center;">500</td>
<td style="width:18.7919%;height:22px;text-align:center;">1000</td>
<td style="width:18.795%;height:22px;text-align:center;">
<p>1200</p>
</td>
</tr></table><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;"><span style="font-size:18px;"><strong>4.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 pap-left-indent-1.6em" style="line-height:1.8;"><img src="//image.lceda.cn/pullimage/2Hy0V6eI6v0zv9NWUdp85LVSCFDWs6zV3XcE77r1.png" alt="2Hy0V6eI6v0zv9NWUdp85LVSCFDWs6zV3XcE77r1.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 pap-left-indent-1.6em" style="line-height:1.8;">以上为增益调节电路。R3为电位器,可以用螺丝刀旋转调节到合适位置来调整想要的增益</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>
<table style="border-collapse:collapse;width:97.3289%;"><tr><td style="width:23.7864%;text-align:center;"><strong>R3</strong></td>
<td style="width:23.7864%;text-align:center;">5.6k</td>
<td style="width:23.7864%;text-align:center;">20k</td>
<td style="width:23.7864%;text-align:center;">39k</td>
</tr><tr><td style="width:23.7864%;text-align:center;"><strong>R5</strong></td>
<td style="width:23.7864%;text-align:center;">NC</td>
<td style="width:23.7864%;text-align:center;">100k</td>
<td style="width:23.7864%;text-align:center;">100k</td>
</tr><tr><td style="width:23.7864%;text-align:center;"><strong>Gain (dB)</strong></td>
<td style="width:23.7864%;text-align:center;">20</td>
<td style="width:23.7864%;text-align:center;">26</td>
<td style="width:23.7864%;text-align:center;">32</td>
</tr></table><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;"><span style="font-size:18px;"><strong>4.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 pap-left-indent-1.6em" style="line-height:1.8;"><img src="//image.lceda.cn/pullimage/KQRIUA2YOYYS4IET6qX7FbbqIgwNZBLVI1IypfZw.png" alt="KQRIUA2YOYYS4IET6qX7FbbqIgwNZBLVI1IypfZw.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 pap-left-indent-1.6em" style="line-height:1.8;">以上为TPA3116官方手册上的参数。当检测到短路或温度高于150℃时,FAULTZ会被拉低,因此输出的阻抗会提高,从而保护电路。本设计预留了25mm×25mm的散热区域,和芯片充分接触后会达到较好的散热效果。注意:大功率运行时必须安装适合的散热片。</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>
<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;"> </p>
<ul><li 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;">本项目为纯模拟电路,无需软件。</li>
</ul><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>插上电就可以用。</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>
<ul><li 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;">不过蓝牙的话要配对一下。虽说是蓝牙模块,但是按键实现不同功能是用不同阻值串联上去的电阻决定的。</li>
</ul><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>
<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 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;"><span style="text-decoration:underline;"><a href="https://lceda.oss-cn-shenzhen.aliyuncs.com/diy/uploads/file/2019/05/29/0e4d93a463d7ceb5e7dc77d774b7a4ae.zip" target="_blank">(大赛标识).zip</a></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;">JLC,YYDS!既然都可以白嫖了当然把标识贴正面。</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>
<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/06c94d90c2c447dfbd9ed7339ff4a5b1" target="_blank">https://diy.szlcsc.com/posts/06c94d90c2c447dfbd9ed7339ff4a5b1</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>
评论(2)