完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好,请参考一个数字电位器,如MCP4261。如何从数据表中确定,电阻变化需要多长时间。例如,假设刮水器位于罐的一端,并且发送SPI命令将刮水器移动到锅的另一端。刮水器从一端到另一端需要多长时间?我不是指单独的递增/递减命令,而是一个单独的写入命令,导致从0位移动到127位。
以上来自于百度翻译 以下为原文 Hi, Referring to a digital potentiometer such as MCP4261. how can it be determined from the datasheet, how long it takes for the resistance to change. For example, assuming the wiper is at one end of the pot, and an SPI command is sent to move the wiper to the other end of the pot. How long does it take for the wiper to get from one end to the other. I am not referring to individual increment/decrement commands, but rather a single write command causing movement from position 0 to position 127. thanks |
|
相关推荐
13个回答
|
|
因为它不是一个真正的雨刷必须移动,我会假设相同的公司或DEC命令。
以上来自于百度翻译 以下为原文 Being it is not a real wiper that has to move, I would assume the same as a inc or dec command. |
|
|
|
与SPI通信的速度相比,它应该非常快。
以上来自于百度翻译 以下为原文 Compared to the speed of SPI communication it should be really quick. |
|
|
|
我懂了。因此,一个10MHz的SPI时钟,它将在100NS范围内。
以上来自于百度翻译 以下为原文 I see. so with a 10MHz SPI clock, it would be in the 100nS range. |
|
|
|
使它变得更大,因为它需要10比特来接收一个值。
以上来自于百度翻译 以下为原文 make it more 1uS, since it will need some 10bits to receive a value |
|
|
|
|
|
|
|
我有这种感觉,但巧合是好奇的(无论如何,安定时间不应该与SPI传输速率有关)
以上来自于百度翻译 以下为原文 I had this feeling, still the coincidence was curious (and anyway settling time should not be related to SPI transmission rate) |
|
|
|
嗨,当电阻增加时有一个不希望的延迟,但是当它减小时不存在。我把数字锅的两端连接到3.3V直流电源,并把雨刷连接到示波器上。当罐的电阻从最小值变化到最大值时,当电压从0伏上升到3.3伏时,可以看到大约40ms的延迟。但是,当电阻从最大值变化到最小值时,没有延迟,电压从3.3~0V下降。代码很简单,并且在4MHz的SPI上每5ms发送一个值从0到127。这个值可以在2ms内完全改变。所以我预计延迟大约5ms。这是当电阻减小的时候,但不是在增加的时候。有什么想法吗?感激之情
以上来自于百度翻译 以下为原文 hi, There is an unwanted delay when the resistance increases, but not when it decreases. I have the two ends of the digital pot connected to a 3.3v DC power supply, and the wiper connected to an oscilloscope. When the resistance of the pot changes from minimum to maximum I can see a delay of about 40ms as the voltage rises from 0 to 3.3 volts. However, I do not get the delay when the resistance changes from maximum to minimum and the voltage drops from 3.3 - 0v. The code is simple and sends a value from 0 - 127 to the pot every 5mS over SPI running at 4MHz. The value is capable of full scale change in 2mS. So I am expecting a delay of about 5mS. Which is the case when the resistance is decreasing, but not when it is increasing. Any ideas please? thanks Tim |
|
|
|
它可能取决于内部的一些高阻抗电路,例如,MOS栅控制电荷泵…你能从雨刷上张出一个波形吗?
以上来自于百度翻译 以下为原文 It may depend on some high impedance circuits inside, say, MOS gate controlling charge pumps... Can you post a waveform from the wiper? |
|
|
|
是的,我会。时间设定为50ms,图中显示上升时间和下降时间。跌倒后的颠簸是我意外地控制着。谢谢。
以上来自于百度翻译 以下为原文 yes I can. The time period is set at 50mS. The picture shows the rise and fall time. The bump after the fall time was me moving the control accidentally. thanks Attached Image(s) |
|
|
|
数字罐在步骤之前有足够的时间吗?
以上来自于百度翻译 以下为原文 Was the digital pot powered enough time before the step? |
|
|
|
对。可以持续数小时,那就是上升和下降的波形。
以上来自于百度翻译 以下为原文 yes. Can be on for hours, that that is the waveform that occurs for rise and fall. |
|
|
|
嗨,我已经整理了一些我的延迟问题。但仍有2.5毫秒的上升时间延迟,附图显示上升时间延迟,并且很小的下降延迟。
以上来自于百度翻译 以下为原文 Hi, I have sorted some of my delay problems. But there is still a 2.5mS rise time delay. The attached picture shows the rise time delay, and very little fall delay. thanks Tim Attached Image(s) |
|
|
|
看起来上升时间大约90% fs是非常短的,而最后10%的延迟占大部分延迟,这似乎更像1毫秒(如果范围是2.5毫秒/ div)。如果高电平是Vdd,则可能是数字电位器中的MOSFET在高侧没有得到足够的驱动,从而增加其电阻。看看10%和90%设置之间的转换是否更好。
以上来自于百度翻译 以下为原文 It looks like the rise time to about 90% FS is very short, and the last 10% accounts for most of the delay, which seems more like 1 mSec (if the scope is 2.5 mSec/div). If the high level is Vdd, it may be that the MOSFETs in the digital pot are not getting sufficient drive on the high side, and thus increasing their resistance. See if the transitions between 10% and 90% settings are better. |
|
|
|
只有小组成员才能发言,加入小组>>
5248 浏览 9 评论
2037 浏览 8 评论
1957 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3218 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2265 浏览 5 评论
788浏览 1评论
680浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
608浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
685浏览 0评论
582浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-28 12:12 , Processed in 1.754184 second(s), Total 100, Slave 84 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号