Single switch controls digital potentiometer
Jim Bach, Delphi Delco Electronics Systems, Kokomo, IN -- 9/19/2002
This Design Idea is an evolution and simplification of another (Figure 1, Reference 1). Replacing the three inverted-input NOR gates with their logical equivalents, positive-input NAND gates, makes these three gate symbols consistent with the fourth, which was drawn as a positive-input NAND gate. The 74HC132's data sheet describes the device as a quad, two-input NAND gate with hysteresis.
As the earlier design also describes, you can activate the DPDT rocker switch, S1, to produce either a "count-up" or a "countdown" effect at the digital potentiometer, CAT5114. Moving the switch up causes S1A to ground the input of IC1A, thus causing the NAND-gate flip-flop, IC1A and IC1B, to switch high, thereby commanding the CAT5114 to count up. At the same time, S1B causes the 1-µF capacitor on IC1C's upper input to discharge through a 10-kΩ resistor. Eventually the output of IC1C also switches high, thus enabling the oscillator comprising IC1D. Similarly, moving the switch down causes S1B to ground the input of IC1B, thus causing the NAND-gate flip-flop to switch low, thereby commanding the CAT5114 to count down. At the same time, S1A causes the 1-µF capacitor on IC1C's lower input to discharge through a 10-kΩ resistor, thereby eventually enabling the oscillator comprising IC1D.
The first step in simplifying this design is to rearrange the connections of S1 so that the A and B sections are not cross-connected between operating the flip-flop and the oscillator-enabling circuit. You can rewire the interface structure as shown in Figure 2. This circuit uses S1A to control the flip-flop, whereas S1B controls the oscillator-enable circuit. This step does nothing directly to reduce the parts count of the circuit; however, it does make the subsequent step more obvious. The next step in the simplification is to recognize that the two RC networks on the inputs of IC1C both do the same thing but in opposite switch positions. As far as IC1C is concerned, either switch position performs the same function; that is, to debounce the switch contacts and eventually enable the oscillator. Thus, you need only one RC network, and you can tie it to both of S1B's active positions (Figure 3). Moving the switch in either direction discharges the 1-µF capacitor through the 10-kΩ resistor, eventually causing the output of IC1C to switch high, thus enabling the oscillator. When you release the switch, S1B goes to the open, or off, state, and the 1-µF capacitor recharges through the 100-kΩ resistor, thus turning off the oscillator.
Is this the best Design Idea in this issue? Select at www.edn.com.
| Reference |
|
© 2009, Reed Business Information, a division of Reed Elsevier Inc. All Rights Reserved.

