Digital variable resistor compensates voltage regulator
A variable resistor that integrates a programmable, temperature-indexed look-up table can compensate for the temperature drift of a voltage regulator. In this case, the look-up table can change the resistance every 2°C over a range of –40 to +102°C, thereby nulling any regulator-output changes that would otherwise occur because of temperature. A typical regulator circuit comprises a regulating element, a feedback-resistor divider, and capacitors to provide filtering and regulation against transients and load-switching conditions (Figure 1).
The ratio of the two feedback-divider resistors sets the regulator-output voltage. The regulator can generate either a preset 3.3V or any user-defined output within its operating range.
For most regulator circuits, the output voltage varies slightly with temperature, from 97.6 to 101.5% of nominal in this circuit. These numbers are respectable, but you can improve them. First, incorporate a digitally controlled variable resistor, such as a DS1859, into the regulator circuit of Figure 1 by placing it in parallel with R2 (Figure 2).
A temperature-indexed look-up table in an internal nonvolatile memory controls the 50-kΩ digital resistor, allowing you to program a different resistance value for each 2°C window.
You can program the look-up table to provide any resistance-versus-temperature profile. In this example, the look-up table flattens the regulator’s normal curve over temperature. These look-up tables, therefore, provide a positive resistance slope with respect to temperature. The resistor has 256 programmable resistance settings of 0 to 255 decimal, and each one accounts for approximately 192Ω. In this example, the look-up table was programmed with a setting of 143 decimal at –40°C. The settings were incremented by one for every 4 to 6°C change in temperature, resulting in a value of 152 decimal for ambient and 158 decimal for +85°C.
As illustrated in Figure 3, the result of this regulated performance over temperature is a drastic increase in precision:
The variation from –45 to +85°C is now only ±2 mV. For comparison, note the response of the standard regulator circuit in Figure 1 (the black curve). The digital-resistor IC of Figure 2 includes three ADC inputs for monitoring external voltages. An alternative, the DS1847 dual variable resistor, offers similar performance without the ADC monitors and at lower cost.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本