1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
在我的设计中,我试图使用ADC Delsig来测量系统中车载电池的电池容量,通过使用PSoC中的ADC Delsig组件将电池输入电压转换成数字值,然后基于输出计算剩余电池寿命。 我正在测量的电池有一个输入范围的PSoC为2.2 - 2.8 VDC。我的板有VDDA连接到+5VDC,所以我配置Delsig的输入范围为单端,输入范围为“VSSA到Vdda”。然而,当我进行这些设置时,Delsig的VREF被自动设置为“内部VDDA或4”或1.25伏。 当ADC的基准电压设置为VDA/4时,ADC Delsig如何精确地测量VSSA的电压输入范围到Vdda?ADC的参考电压是否需要大于最大输入电压? 谢谢您。 以上来自于百度翻译 以下为原文 Hello, In my design I am trying to use to the ADC Delsig to measure the battery capacity of an on-board battery in my system by converting the battery input voltage to a digital value using the ADC Delsig component in the PSoC and then calculating the remaining battery life based on the output. The battery I am measuring has an input range to the PSoC of 2.2 - 2.8 VDC. My board has Vdda connected to +5VDC, so I configure the input range of the delsig to be single ended with an input range of "Vssa to Vdda." However, when I make these settings, the Vref of the delsig is automatically set to "Internal Vdda / 4" or 1.25 volts. How can the ADC delsig accurately measure a voltage input range of Vssa to Vdda when the reference voltage for the ADC is set to Vdda / 4? Doesn't the reference voltage for the ADC need to be greater than the maximum input voltage? Thank you. |
|
相关推荐
2个回答
|
|
查看ADC Delsig的数据表,它指定当输入范围设置为Vssa到VDDA时,ADC Delsig行为是比率度量。这种说法是,Vref和ADC的输入值都被除以4,所以ADC的输出方程将是:
D=((Vin/4)/VREF)x 2 ^ n,其中D是ADC的N位输出,VREF=VDA/4? 我只是想得到一个明确的答案,因为它不是100%我清楚地从Delsig数据表。 谢谢您。 以上来自于百度翻译 以下为原文 Looking at the datasheet for the ADC Delsig, it specifies that when input range is set to Vssa to Vdda, the ADC delsig behavior is ratiometric. Is this saying that that both Vref and input values of the ADC are being divided by 4, so the output equation for the ADC will be: d = ((Vin/4) / Vref) x 2^n where d is the n-bit output of the ADC and Vref = Vdda / 4? I would just like to get a definitive answer because it's not 100% clear to me from the delsig datasheet. Thank you. |
|
|
|
是的,正如你指出的,测量是比例的。所使用的参考值基于在Delsig ADC组件中选择的输入范围(对于VSSA -VDDA范围),电压(VSSA)配置是CYDWR文件。当选择VSSA-VDDA输入范围时,基准被配置为VDDA或3或VDDA/4(这取决于CydWR设置)。要测量的输入(ADC的输入)被衰减以获得输入/ 4或输入/ 3。然后将衰减的输入与参考进行比较并数字化。
以上来自于百度翻译 以下为原文 Yes, as you have pointed out, the measurement made is ratiometric. The reference value used is selected based on the Input range selected in the Delsig ADC component(for VSSA - VDDA range) and voltage(VSSA) configuration is CYDWR file. When VSSA - VDDA input range is selected, the reference is configured to be VDDA/3 or VDDA/4(this depends on CYDWR setting). The input to be measured (input to the ADC) is attenuated to obtain input/4 or input/3. The attenuated input is then compared against the reference and digitised. |
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2113 浏览 1 评论
1859 浏览 1 评论
3673 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1794 浏览 6 评论
1540 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
581浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
434浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
445浏览 2评论
393浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
1016浏览 2评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-30 22:21 , Processed in 1.143041 second(s), Total 80, Slave 64 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号