完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
将CS30A置于0.05ohm感应欧姆旁边,成功测量了24v升压转换器的输出电流。
由于微控制器不在附近,为了降低噪声,可能最好将CS30A置于uC旁边(使用低通滤波器)并将两条线路连接到检测电阻器。基于a)较长的走线应为低阻抗的一个; b)拾取的任何噪声都会在差分对中消除; 效果不好。根据我的Fluke万用表,正确的mV差分到达CS30A,但输出的电压远低于预期的20倍乘法。因此ADC会报告不切实际的低电流数字。 测量噪声很困难但是示波器(通过CS30输入引脚的接地探头)表明差分对已经拾取了一些噪声。 是否有可能阻止CS30(试过多个设备)产生良好效果的噪音? 有什么意见或建议吗? 以上来自于谷歌翻译 以下为原文 Placing a CS30A next to a 0.05ohm sense ohm successfully measured output currents from 24v boost converter. Since the microcontroller was not nearby, to reduce noise thought it might be better to place the CS30A next to the uC (with a low pass filter) and run two lines to the sense resistor. On the grounds that a) the longer traces should be low impedance one; b) any noise picked up would cancel in the differential pair; Doesn't work well. According to my Fluke multimeter, the correct mV differential arrives at the CS30A, but it outputs voltages that are considerably less than the 20 times multiplication expected. So the ADC reports numbers for unrealistically low currents. It's difficult to measure noise but the scope (with ground probe across the CS30 input pins) suggests the differential pair has picked some up. Is it possible that it's the noise which is preventing the CS30 (tried multiple devices) from giving good results? Any comments or suggestions? |
|
相关推荐
4个回答
|
|
嗨R K.
我害怕没有正确理解你的观点。如果我的理解是正确的,请告诉我。在你的第一句话中,你说CS30A正常工作。 然后CS30的位置发生变化,远离Rsense(分流器)并靠近μC。因此,您需要使用长导线将分流电阻连接到CS30的输入端。在这种配置中,它不再起作用。我对吗? 它是第一个配置正常工作和第二个配置(长线)之间的唯一变化吗? 你的申请中可能会发生哪种噪音?我的意思是有没有可能发生的EMI信号? 因为这种HF信号可能会干扰CS30的行为。 在第一个简单的试验中,我建议你添加一些输入电容(靠近CS30的输入),看看这是否会对CS30的性能产生影响。您可以查看应用笔记AN4304,它解释了如何通过点击以下链接过滤高端电流检测的输入: https://www.st.com/content/ccc/resource/technical/document/application_note/a3/84/7c/19/21/a8/40/f3/DM00086777.pdf/files/DM00086777.pdf/jcr:内容/翻译/ en.DM00086777.pdf 如果有变化,请告诉我 BR 萨科 以上来自于谷歌翻译 以下为原文 Hi R K I'm afraid to have not correctly understood your point. Let me know if my understanding is correct. In your first sentence you said that the CS30A works properly. Then the location of CS30 changed and it is placed far away from the Rsense (shunt) and close to the µC. And so you need to use long wire to connect the shunt resistor to the inputs of CS30. And in this configuration it does not work anymore. Am I right? Is it the only change between the first configuration where it works properly and the second configuration (with long wire)? Which kind of noise might happened in your application? I mean is there any possible EMI signal that can happened? Because this kind of HF signal might disturb the CS30 behavior. In a first simple trial, May I suggest you to add some input capacitors (close to the input of CS30) to see if this have an impact on the performance of CS30. You can have a look to the application note AN4304 which explain how to filter input of High side current sensing by clicking on the link below: https://www.st.com/content/ccc/resource/technical/document/application_note/a3/84/7c/19/21/a8/40/f3/DM00086777.pdf/files/DM00086777.pdf/jcr:content/translations/en.DM00086777.pdf Let me know if something change BR nicolas |
|
|
|
这是最有帮助的。即使对几个去耦电容器进行混乱处理也可以改善CS30A的性能。 (该主板具有250kHz 24v升压转换器和1MHz 12v电池充电器,可以从两者中获取噪声。)
研究了优秀的应用笔记,想知道最聪明的事情是不是:a)将CS30移动到尽可能接近检测电阻(因为已经知道可以提供更好的结果); b)将输出运行10-15cm到uC(它将具有更好的S / N比); c)在ADC的输入引脚上放置一个简单的RC LPF; d)在代码中实现移动平均滤波器? 顺便说一句。是不是必须在CS30A的Vcc引脚上放置一个去耦电容?在任何电路原理图中都没有看到过。 以上来自于谷歌翻译 以下为原文 This is most helpful. Even messily tacking on a couple of decoupling capacitors improved the performance of the CS30A. (The board has a 250kHz 24v boost convertor and a 1MHz 12v battery charger and could be picking up noise from both.) Having studied the excellent app note wonder if the most intelligent thing to do would not be to: a) move the CS30 as close as possible to the sense resistor (since already know that gives better results); b) run the output the 10-15cm to the uC (it will have a much better S/N ratio); c) place a simple RC LPF at the input pin for the ADC; d) implement a moving average filter in code? btw. is it not necessary to place a decoupling capacitor on the Vcc pin of CS30A? Have not seen that in any circuit schematics. |
|
|
|
嗨R k
实际上CS30似乎处于嘈杂的环境中,在这种情况下,强烈建议使用去耦电容。而且你完全正确的电源去耦也是非常重要的。让我们说Vcc上的10μF和100pF应该是好的.... 但最重要的一点是要注意PCB。 EMI可以直接与PCB走线,扁平电缆和IC封装引线框架耦合,干扰频率越高,寄生耦合有效的布线长度越短。 有效地,PCB走线可以看作是电阻路径,也可以看作是电感元件。 在低频率下,迹线充当电阻,但直到频率增加越来越多的电感之间的迹线,并将充当捕获然后传导任何RF或EMI噪声的天线。并且PCB走线的电感与其长度相关联。这就是为什么保持迹线尽可能短以便限制高频天线效应的重要性。还建议使用平面图。 可以添加过滤器,但是为了增强CS30的稳健性。我将在CS30的输出附近添加一个RC滤波器,避免任何寄生电流进入CS30的输出,再一个RC滤波器关闭μC以保护ADC免受噪声影响。并且最好使CS30靠近分流器。 亲切的问候 萨科 以上来自于谷歌翻译 以下为原文 Hi R k Effectively the CS30 seems in a noisy environment, in this case the use of decoupling capacitances is highly recommended. And you are totally right power supply decoupling is extremely important as well. let's says 10µF and 100pF on Vcc should be good.... But one of the most important point is to take care to PCB. EMI can couple directly with PCB traces, flat cables and IC package lead frame the higher the interference frequency the shorter the length of the wiring at which parasitic coupling is effective. Effectively the PCB trace can be seen as for sure a resistive path, but also as an inductive component. In low frequency the traces acts as a resistance but till the frequency increase the trace between more and more inductive and will act as an antenna which catch and then conduct any RF or EMI noise. And the inductance of the PCB trace is linked to its length. This is why it is important to keep the traces as short as possible in order to limit the antenna effect in high frequency. Using a ground plan is also recommended. Filter can be added, but to reinforce the robustness of CS30. I will add a RC filter close to the output of the CS30, avoiding any parasitic to enter by the output of the CS30 and one more RC filter close the µC to protect the ADC against noise. And it would be preferable to keep the CS30 close to the shunt. Kind regards Nicolas |
|
|
|
我一定会对此提出建议。
虽然在较大的元件和模块的Vcc-in中使用了10uF,但是CS30消耗的电流很少,从来没有猜到这么高的电容可能是有用的。 再次感谢。 以上来自于谷歌翻译 以下为原文 I will certainly take your advice on this. Whilst having used 10uF at Vcc-in of larger components and modules, the CS30 consumes so little current would never have guessed such a high capacitance might be useful. Thanks again. |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2741 浏览 1 评论
3244 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1813 浏览 1 评论
3653 浏览 6 评论
6044 浏览 21 评论
1342浏览 4评论
203浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
356浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
446浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
275浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-26 18:43 , Processed in 1.256607 second(s), Total 84, Slave 68 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号