digital to analogue converter

Thread Starter

dude521

Joined Nov 1, 2008
37
Hi guys,

I'm using a DAC (the AD569JN, http://www.analog.com/static/imported-files/data_sheets/AD569.pdf) which takes a 16 bit number and outputs that as a percentage of its range. So for example I set up the DA to have a range of 0 - 5V (I have 5.2V on pin 3 and 5V on pin 2, 0V on pin 16 and -0.2V on pin 15). So if I want 5V I output 65535 (0xFFFF). That should give me exactly whatever voltage I have on the +Vref input. But instead I'm getting ~4.54V. Infact, all the voltages are scewed. If I output 13107 (0x3333) which is 1/5th of 65535, I should get 1V, but instead I get 0.91V. The forumla I'm using is this:

outputCode = 65535 * (desiredVoltage / 5);


I'm using a high precision DVM to measure these voltages, and I need the output to be as exact as possible. Is there some sort of trick to getting the correct output? I've read the datasheet several times and it seems like this should work. All the input voltages are exact, but the output just doesn't work.

BTW, I have 3 of these DACs and i've tried them all, they all give the same result.


Thanks.
 

t_n_k

Joined Mar 6, 2009
5,455
This may seem a dumb question - but do you get 0V out with 0x0000?

If so are all the the output values under target by the same ratio?
 

t_n_k

Joined Mar 6, 2009
5,455
Also - exactly how have you set up the (5V) reference input? I realize you've given values at the 4 ref input points, but a circuit diagram of your setup would possibly help in resolving your problem. Show the +/- Vs values, etc.
 

Ron H

Joined Apr 14, 2005
7,063
If you are applying voltage sources to pins 2 and 16, that explains why you are getting the results you listed. You need to apply your reference voltages (0V and +5V) to the inputs of voltage followers, as in Fig. 10. The forcing voltages at pins 3 and 15 will be whatever they have to be to get +5V on pin 2 and 0V on pin 16.
 

Thread Starter

dude521

Joined Nov 1, 2008
37
Thanks guys, I found the problem. I as trying to set it up like figure 10 in the datasheet, where you use op-amps to create a reference voltage and a forced voltage. I had a wiring problem that I now got resolved.
 
Top