DAC3bit

You might also like

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 2

Design and analysis of a 3-bit DAC

R2 10 kohm
R1 20 kohm
R0 40 kohm

n PB2 PB1 PB0 kohm equation DAC out (V)


0 0 0 0 0.000
1 0 0 3.3 R2||R1 6.666667 3.3*(R1||R2)/(R0+R1||R2) 0.471
2 0 3.3 0 R2||R0 8 3.3*(R2||R0)/(R1+R2||R0) 0.943
3 0 3.3 3.3 R1||R0 13.33333 3.3*R2/(R2+R1||R0) 1.414
4 3.3 0 0 R1||R0 13.33333 3.3*(R1||R0)/(R2+R1||R0) 1.886
5 3.3 0 3.3 R2||R0 8 3.3*R1/(R1+R2||R0) 2.357
6 3.3 3.3 0 R2||R1 6.666667 3.3*R0/(R0+R2||R1) 2.829
7 3.3 3.3 3.3 3.300

DAC output 3.3V 40k


n=1
3.500

3.000 3.3V 20k


n=2
2.500

2.000 3.3V 13.3k


DAC output n=3
1.500

1.000 3.3V 10k


n=4
0.500

0.000 3.3V 8k


0 1 2 3 4 5 6 7 8 n=5
3.3V 6.7k
n=6
10k
PB2
20k Vout
PB1
40k
PB0

3.3V 40k 6.7k


Vout
3.3V 20k V 8k
out
3.3V 13.3k 10k
Vout
3.3V 10k 13.3k
Vout
3.3V 8k V 20k
out
3.3V 6.7k 40k
Vout

You might also like