Site icon Homemade Circuit Projects

2 Digital Potentiometer Circuits Explained

In this post I have explained a 2 simple, single chip digital potentiometer circuits which can be controlled through a single pushbutton, a dual pushbutton (up/down) or even through external digital (CMOS/TTL) input triggers.

1) About DS1869 Dallastat

TM is a rheostat or potentiometer. This unit delivers 64 conceivable consistent tap outputs over the over-all resistive spectrum.

The typical resistive stretches are 10 kΩ, 50 kΩ, and 100 kΩ. The Dallastat may be governed by both a mechanical switch contact closure input or simply a computerized reference input for example a CPU.

The DS1869 functions from 3V or 5V supplies. Wiper setting is sustained without having power by means of a EEPROM memory cell range.

The EEPROM cell array is going to endure higher than 50,000 writes. The DS1869 can be obtained from two regular IC packages such as an 8-pin 300-mil DIP and an 8-pin 208-mil SOIC.

The DS1869 could be set up to function employing an individual pushbutton, combined pushbutton or electronic base input by switching power-on setting.

This is drawn out in Figures 1 and 2. The DS1869 pinouts enable entry to each ends of the potentiometer RL, RH, in addition to the wiper, RW.

Control inputs contain the digital reference input, D, the up contact input, UC, and the down contact input, DC. Supplementary pins incorporate the positive, +V, and negative, -V, supply inputs. The DS1869 is stipulated to function from -40°C to +85°C.

Main Features and Pinout Details:

Circuit Operation

The DS1869 could be custom made to execute from an individual contact closure, twin contact closure, or a digital root input. Figures 1 and 2 depict the two contact closure variations.

Contact closure is considered as a changeover from an increased level to a reduced degree on the up contact (UC) or down contact (DC) inputs.

All three control inputs are busy while in a low status and are sedentary while in a high disposition. The DS1869 interprets input pulse widths as the method of regulating wiper motion.

One pulse input on the UC, DC, or D input terminals will result in the wiper placement to relocate 1/64th of the entire resistance.

A changeover from a high to low on these inputs is regarded as the outset of pulse process or contact closure. One pulse has to be more than 1 ms nevertheless running not anymore than 1 second. Pulse timings are presented in Figure 5.

Recurring pulsed inputs may be used to approach via every resistive placement of the unit in a typically rapid technique (see Figure 5b).

The necessity for frequent pulsed inputs is because pulses needs to be split up by optimum time of 1 ms. In the event that the input is not permitted to be sedentary (high) for a minimum of 1 ms, the DS1869 will probably read repetitive pulses as just one pulse.

Pulse inputs continuing more than 1 second will result in the wiper to relocate one place every 100 ms following the preliminary 1-second store time.

The complete time to transcend the whole potentiometer employing a nonstop input pulse is presented the equation below:

≈1 second + 63 X 100 ms = 7.3 (seconds)

Schematic Diagrams

2) Digital Potentiometer using IC X9315

In this second design we investigate the IC X9315 which is actually a solid state digital potentiometer and could be used exactly like a mechanical potentiometer, but through logical supply inputs.

The IC X9315 from Intersil, is a digitally controlled solid state potentiometer, which internally possesses an array of resistors, wiper switches, a controlling system, and a non-volatile memory section.

Block Diagram

The IC utilizes a 3 wire interface for controlling the various positions of the wiper, and the potentiometer function is implemented through the array of resistors which are 31 numbers of resistive network, associated with the wiper switching network.

The entire array along with the end points of this resistive network are all integrated with the wiper network such that the wiper is able to access any point of the resistor array for executing the corresponding values of the potentiometer output through the 3 wire interface.

The CS, U/D and the INC pinouts of the IC actually control the wiper positioning.

The device can be also used as a 2 terminal potentiometer or a 2 terminal variable resistor.

The system becomes enabled and selected as soon as the CS input is applied a LOW logic (0V).
The value of the instantaneous wiper position is saved in non-volatile memory space, whenever the CS pinout is
delivered with a HIGH logic, in conjunction with INC input.

As soon as the store function is finished the X9315 is put into a low power standby position, until the unit gets selected yet again with a logic LOW.

How the IC X9315 digital pot works

You will find 3 parts in the X9315: the input control, counter and decode sections; the non-volatile memory; and the resistor range.

The input control segment works very much like an up/down counter. The output of this counter is processed and translated to activate a solitary electronic switch integrating a stage from the resistor range with the wiper terminal.

During appropriate and necessary circumstances the details of the counter is often saved in non-volatile memory and held on to for long term usage.

The resistor range is made up of 31 unique resistors attached in a sequence. At both terminate of the range and in between every resistor there exists an electronic switch which interlinks the network at that position with the wiper.

The wiper, during its course across specified end points, works similar to its mechanical counterpart and doesn't shift further than the final location.

That means, the counter will not flip over, if its clocked to either of the extreme end positions. The electronic switches within the product work in a “make before break” kind of setting once the wiper begins changing tap placements.

When the wiper is transferred a few positions, multiple taps tend to get coupled to the wiper for t IW (INC to V W change). The R TOTAL figure for the product may momentarily be minimized with a considerable magnitude when the wiper goes through a number of positions.

Once the unit is switched OFF, the instantaneous wiper position is saved and preserved in the non-volatile memory.

Next time the power is switched ON, the saved data from the memory are usually remembered and the wiper is placed to the position which was on the last stored power OFF.

How to Program The digital Pot IC

The INC , U/D and CS inputs manage the movements of the wiper together with the resistor array. With CS fixed LOW the unit is selected and activated to react to the U/D and INC inputs. HIGH to LOW transitions on INC goes through a a five bit incrementing or decrementing counter sequence (based upon on the state of the U/D input) .

The output from this counter is decoded back to pick one out of thirty two wiper placements together with the resistive array. The position of the counter is saved in non-volatile memory, anytime CS changes HIGH and also when INC input is HIGH.

As soon as the wiper action is carried out as explained previously and once the newest placement is arrived at, the device must maintain INC LOW whilst putting CS at a HIGH. The fresh wiper placement is now preserved as long as it's not altered by the circuit, or a power OFF is not enforced.

Otherwise the system may select the X9315, activate the wiper shifting, and subsequently unselect the unit without saving the newest wiper placement in non-volatile memory.

The above feature makes sure that the IC always switches ON with the last wiper position data from its memory.

Pin Description of the Device

The (RH /VH ) and (RL /VL ) terminals of the X9315 could be compared to the fixed terminals of any standard mechanical pot.

Vcc/Vss:

The Vcc pin is the + DC for the IC, while the Vss is the (-) supply pin of the IC

The minimum voltage is Vss and the maximum is Vcc.

RL /VL and RH /VH and U/D  

The terms RL /VL and RH /VH refer to the relative positions of the potentiometer with respect to the wiper transitional path as selected by the U/D input, and not the voltage level on the terminal.

RW /VW RW /VW

RW /VW RW /VW indicate the wiper link and could be compared with any standard mechanical pot.

A given position of the wiper across the resistor array is determined by the control inputs.

The terminal resistance of the wiper is typically around 200 Ω when the supply at Vcc = 5V.

Up/Down (U/D ) 

The signal on U/D pinout  controls the direction of the wiper movement and determines the incrementing or decrementing situation of the counter.

Increment (INC ) 

The INC input wil respond to a negative-edge trigger. Whenever INC is switched the wiper moves and causes the counter to increment or decrement in the direction which will depend on U/D input logic level.

Chip Select (CS ) 

The potentiometer system becomes enabled and selected as soon as a low logic is applied at the CS pinout of the IC. The instantaneous value of the pot position gets stored in the nonvolatile memory of the chip, as soon as a high logic is detected at the INC pin of the chip. Once this happens the IC goes into low power sleep mode, until the CS pin is selected again with a logic low.

Courtesy: https://www.intersil.com/content/dam/Intersil/documents/x931/x9315.pdf

Exit mobile version