English
Language : 

MCP41050-ISN Datasheet, PDF (16/32 Pages) Microchip Technology – Single/Dual Digital Potentiometer with SPI™ Interface
MCP41XXX/42XXX
1/2
MCP42010
VB
A
B
(SIG -)
VA
(SIG +)
VDD
+
-IN
MCP601
A
+IN -
VSS
B
VOUT
VREF
Where:
VOUT
=
(VA
–
VB)
-R----B--
RA
RA
=
R-----A----B---(--2----5---6-----–----D-----n---)
256
RB
=
R-----A----B---D-----n-
256
RAB = Total Resistance of pot
Dn = Wiper setting forDn = 0 to 255
NOTE: Potentiometer values must be equal
FIGURE 4-7:
Single Supply
programmable differential amplifier using digital
potentiometers.
4.2.3 PROGRAMMABLE OFFSET TRIM
For applications requiring only a programmable voltage
reference, the circuit in Figure 4-8 can be used. This
circuit shows the device used in the potentiometer
mode along with two resistors and a buffered output.
This creates a circuit with a linear relationship between
voltage-out and programmed code. Resistors R1 and
R2 can be used to increase or decrease the output volt-
age step size. The potentiometer in this mode is stable
over temperature. The operation of this circuit over
temperature is shown in Figure 2-3. The worst perfor-
mance over temperature will occur at the lower codes
due to the dominating wiper resistance. R1 and R2 can
also be used to affect the boundary voltages, thereby
eliminating the use of these lower codes.
VDD
R1
A
B
VDD
-
-IN
MCP606
+IN +
OUT
VSS
0.1 uF
R2
VSS
FIGURE 4-8:
By changing the values of
R1 and R2, the voltage output resolution of this
programmable voltage reference circuit is
affected.
DS11195C-page 16
4.3 Calculating Resistances
When programming the digital potentiometer settings,
the following equations can be used to calculate the
resistances. Programming code 00h effectively brings
the wiper to the B terminal, leaving only the wiper resis-
tance. Programming higher codes will bring the wiper
closer to the A terminal of the potentiometer. The equa-
tions in Figure 4-9 can be used to calculate the terminal
resistances. Figure 4-10 shows an example calculation
using a 10 kΩ potentiometer.
PA
PW
PB
RWA(Dn)
=
(---R----A----B---)---(--2----5---6-----–----D-----n---)
256
+
RW
RWB(Dn)
=
(---R----A----B---)---(--D-----n---)
256
+
RW
Where:
PA is the A terminal
PB is the B terminal
PW is the wiper terminal
RWA is resistance between Terminal A and wiper
RWB is resistance between Terminal B and Wiper
RAB is overall resistance for pot (10 kΩ, 50 kΩ or 100 kΩ)
RW is wiper resistance
Dn is 8-bit value in data register for pot number n
FIGURE 4-9:
Potentiometer resistances
are a function of code. It should be noted that,
when using these equations for most feedback
amplifier circuits (see Figure 4-4 and Figure 4-5),
the wiper resistance can be omitted due to the
high impedance input of the amplifier.
10 kΩ
PA
Example:
R = 10 kΩ
PW
Code = C0h = 192d
PB
RWA(Dn)
=
(---R----A----B---)---(--2----5---6-----–----D-----n---)
256
+
RW
RWA(C0h)
=
(---1---0----k---Ω-----)---(--2---5----6-----–----1---9----2----) + 52Ω
256
RWA(C0h) = 2552Ω
RWB(Dn)
=
(---R----A----B----)--(--D-----n---)
256
+
RW
RWB(C0h)
=
(---1---0----k---Ω-----)---(--1----9---2----)
256
+
52Ω
RWB(C0h) = 7552Ω
Note: All values shown are typical and
actual results will vary.
FIGURE 4-10:
Example Resistance
calculations.
 2003 Microchip Technology Inc.