总线的IO扩展器控制LCD偏置电压

总线的IO扩展器控制LCD偏置电压,第1张



Small, handheld, battery-powered devices often feature an LCD panel and a microcontroller with limited I/O pins. The SMBus is useful for controlling system funcTIons under limited I/O and, for convenience, it should also be able to control the LCD contrast. In Figure 1, this task is accomplished with an SMBus I/O expander (IC2), a step-up converter (IC1), and a digital potenTIometer (IC3).

总线的IO扩展器控制LCD偏置电压,Figure 1. This three-IC circuit enables small battery-powered devices to control their LCD contrast through the internal SMBus.,第2张
Figure 1. This three-IC circuit enables small battery-powered devices to control their LCD contrast through the internal SMBus.

The SMBus I/O expander was designed to drive high-side MOSFETs in power-management systems, but the bidirecTIonal capability of its three output lines makes it useful in applicaTIons unrelated to power-plane switching. Here, for example, it serves to control the wiper position of a digital pot connected in the rheostat configuration. In turn, the rheostat varies IC1's feedback voltage (pin 4) as follows:

Maximum LCD voltage:
1.25V x [(R2 + RPOT-MIN + R1) / (R2 + RPOT-MIN)] = 28.6V,
where RPOT-MIN is the digital pot's minimum resistance (about 400Ω).

Minimum LCD voltage:
1.25V x [(R2 + RPOT-MAX + R1) / (R2 + RPOT-MAX)] = 19.5V,
where RPOT-MAX is the digital pot's maximum resistance (about 50kΩ).

The digital pot's internal wiper moves one step in response to each high-to-low transition at pin 5 (up when pin 4 is high, or down when pin 4 is low). Thus, while controlling pin 4, the host controller decrements the pot by writing the sequence xFF, xFE, xFF to the address x40, and increments the pot by writing xFD, xFC, xFD to the same address.

IC3's rheostat connection can assume 32 levels of resistance between its maximum and minimum values. Its linear taper produces some variation in those step sizes—at the FB terminal of IC1, steps near the minimum voltage are about 0.2V, and steps near the maximum are about 0.44V.

A large departure from the resistor values shown may require a different value of the compensation capacitor (C1) to maintain stability.

A similar version of this article appeared in the ~July-August 2000 issue of Electronic Design magazine.


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/dianzi/2463226.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-08-04
下一篇 2022-08-04

发表评论

登录后才能评论

评论列表(0条)

保存