ENGLISH 简体中文 日本語 한국어  


애플리케이션 노트  3971

Using a Digital Potentiometer for Push-and-Hold Control-Setting Adjustments

Abstract: Many devices that require a user interface to adjust temperature, backlight intensity, and supply voltage are subjected to inadvertent adjustments to their settings. Using a digital potentiometer in these devices enables designers to implement a simple hardware-based technique to avoid these inadvertent adjustments.

Overview

With a microprocessor, one can write a routine that debounces the control input and adds the delay-before-adjustment switch closure needed to prevent inadvertent adjustments to settings. However, using a microprocessor to implement user-friendly control adjustments can involve a lengthy process of code design and validation. In contrast, the design illustrated in this application note uses a digital potentiometer to implement a simple hardware-based technique that ensures that control adjustments are only made when they are truly desired.

Figure 1. This design uses an extended-delay manual-reset device and a 32-tap nonvolatile digital potentiometer to implement a push-and-hold switch to adjust control settings.
Figure 1. This design uses an extended-delay manual-reset device and a 32-tap nonvolatile digital potentiometer to implement a push-and-hold switch to adjust control settings.

Implementing Push-and-Hold Control-Setting Adjustments

Figure 1 provides a schematic of the design implemented in this application note. This design allows the user to increment/decrement control settings through a user-friendly interface. In the design, an extended-delay manual-reset device (U1, MAX6343) is used to avoid nuisance switch presses, and a 32-tap nonvolatile digital potentiometer (U2, MAX5471) is used to increment/decrement the control setting VADJ. VADJ can be used in the feedback loop of a power supply or backlight converter, or it can be read directly by an A/D converter.

For the user interface, switch S2 is first used to select either an increment or decrement command. Pressing and holding S1 causes the initiation of the process.

The MAX6343's actove-low MR input requires a nominal 6.7s set-up period before it detects a valid actove-low MR signal. Thus, 6.7s after the user depresses and holds S1, actove-low RESET will go low.

A high-to-low transition on the INC pin of the MAX5471 causes the digital potentiometer to either increment or decrement the variable resistor's output by 1/32 of its previous value. (Since the MAX5471 features nonvolatile memory, prior settings remain in its memory even after an unpowered condition).

To prevent the user from having to "tap" on S1 to make an adjustment, transistor Q1 was added to reset the 6.7s timer on the MAX6343 after every reset or increment/decrement command. The user can thus hold S1 until the desired setting (VADJ level) is achieved. The design will increment/decrement the setting once every 6.7s. Since the MAX6343's actove-low MR input has a 50kΩ pullup resistor, Q1 can be a generic-signal npn like the MMBT3904; a 200kΩ resistor for R1 ensures that the transistor is saturated when actove-low RESET is high.

Figure 1 shows a typical feedback network that uses resistors R3 and R4 in series with the variable resistor of the MAX5471 (RADJ). The actual implementation will determine the values selected; however, with R3 = R4 = 200kΩ, we can use the following equation to calculate VADJ:

VADJ = ((RADJ + R4)/(R3 + R4 + RADJ)) x 3.3V     (Eq. 1)

With RADJ = 0Ω (min setting): VADJ = 1.65V

With RADJ = 50kΩ (max setting): VADJ = 1.83V

Thus, (1.83 - 1.65)/32 (steps) = 5.7mV/step

Summary

With the implementation of the circuit described in this application note, a simple hardware-based technique can be used to avoid the problem of nuisance user adjustments to control settings. It is now necessary for the user to select the increment/decrement control and depress and hold S1, which allows for slow and user-friendly control adjustments.


의견을 보내주세요!
위 내용이 도움이 되셨나요?
여러분의 의견을 기다립니다 — Maxim은 보내주신 정정이나 제안사항을 반영하고 있습니다. 이 페이지를 평가하고 의견을 보내주십시오.


자동 업데이트
관심있는 분야의 애플리케이션 노트가 나올 때 자동으로 업데이트 받고 싶으세요? 그렇다면 EE-Mail™을 신청하십시오.



추가 정보  APP 3971: Dec 22, 2006
MAX5128 2mm x 2mm µDFN 패키지로 제공되는 128탭, 비휘발성, 선형 테이퍼 디지털 포텐쇼미터 전체 데이터 시트
(PDF, 316kB)
무료 샘플
MAX5471 SOT23 패키지로 제공되는 32탭, 비휘발성, 선형 테이퍼 디지털 포텐쇼미터 전체 데이터 시트
(PDF, 296kB)
무료 샘플
MAX6343 전원 고장 비교기가 내장되어 있는 6핀 µP 리셋 회로 전체 데이터 시트
(PDF, 556kB)
무료 샘플
 

다운로드, PDF 형식다운로드, PDF 형식 (28kB)
 AN3971, AN 3971, APP3971, Appnote3971, Appnote 3971


      개인정보보호 정책    법적 고지

      Copyright © 2008 by Maxim Integrated Products, Dallas Semiconductor