Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Formula for calculating DAC output

Status
Not open for further replies.

graciousparul

Full Member level 2
Full Member level 2
Joined
Jan 19, 2008
Messages
128
Helped
6
Reputation
12
Reaction score
0
Trophy points
1,296
Activity points
2,053
Hi,

The logic levels used in a 6-bit R-2R ladder DAC are 0=0v and 1=+5v.What is the binary input when the analog output is 4V?

Thanks in advance...
 

Re: DAC

Hi,
(4÷5)64 in binary.
Regards,
Laktronics
 

Re: DAC

i think major are saying right
 

Re: DAC

hi laktronics,
Can u say me is this standard formulae of just...?
Thanks
 

Re: DAC

Hi friends,

The standard formula for calculating the DAC output is, for example of 6 bit DAC

Output of DAC in Volts =
((32*D5 + 16*D4 + 8* D3 + 4*D2 + 2*D1 + 1*D0)*SUPPLY VOLTAGE)/(2 POWER 6)

Thats all.

All the best,

N.Muralidhara
 
Re: DAC

graciousparul said:
hi laktronics,
Can u say me is this standard formulae of just...?
Thanks

see the attached jpg.

hello laktronics you also check it and please let me kno is it true or false..??

Thanks you..
 
Re: DAC

Hi H_D_R,

The equation given by you is same as that given by Mr Murali as shown below:

Vo = KRf ( A1/2 +......+ A8/256) ----(a) ; where A1..A8 is a binary number

From the above equation,

Vref = KRf (1) ----(b) ; (A1/2+... +A8/256) =1 since for Vref A1 to A8 all are one.

Dividing (a) by (b),

Vo/Vref = (A1/2 +.....+A8/256)

Multiplying both sides by 256,

(Vo/Vref) 256 = (128.A1+64.A2 +......+ A8 ) ....(c) which is same as Mr.Murali's
eqtn. applied to a 6bit DAC.

The above eqation (c) will be valid for unipolar DACs.For bipolar offset binay DACs also it will hold good if you take Vref as total span of -Vref to +Vref.
The equation also applies to similar ADCs if you replace Vo by Vin.

Then there are sign magnitude and 2's complement codes for which +ve and -ve outputs are coded separately.

Regards,
Laktronics
 

Re: DAC

yes, i knew that laterly...

bt i think this will make more clear to my friend "graciousparul".

thats it...
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top