Author Topic: Analog Ground on a buffered R2R ladder DAC  (Read 2860 times)

0 Members and 1 Guest are viewing this topic.

Offline davemisbehaveTopic starter

  • Supporter
  • ****
  • Posts: 6
  • Country: de
Analog Ground on a buffered R2R ladder DAC
« on: December 30, 2014, 12:21:14 am »
Hi!

I've built a simple R2R DAC using resistors, a rail-to-rail opamp and some logic. So far it's been working well on a single supply, but I want to improve upon the design by adding dedicated positive and negative power rails for the analog part of the circuit. I'm re-spinning the board and this time I also want to incorporate separate analog and digital grounds, as well as the analog split supply. I've added a simplified schematic that might help the following two questions I have:

1. Should the first resistor of the R2R ladder (R9 in my picture) be connected to digital ground or analog ground?

2. Should I connect the analog and digital grounds, and if yes, where? At the power supply (DP831A), or should the GND plane and AGND plane be connected somewhere?

Please see the attachment I included for a full understanding of the context.

Cheers,
Dave Misbehave

EDIT: R13 should be 10k (copy/paste error)! Thanks for pointing it out, nitro2k01!
« Last Edit: December 30, 2014, 06:10:57 pm by davemisbehave »
 

Offline Christopher

  • Frequent Contributor
  • **
  • Posts: 429
  • Country: gb
Re: Analog Ground on a buffered R2R ladder DAC
« Reply #1 on: December 30, 2014, 07:31:55 am »
Resistors to digital ground, I think.

Two ground planes, joined at one spot with a 0r resistor.

Don't forget your decoupling.

I'd put a series current limit resistor on the opamp output after the feedback
 

Offline nitro2k01

  • Frequent Contributor
  • **
  • Posts: 845
  • Country: se
Re: Analog Ground on a buffered R2R ladder DAC
« Reply #2 on: December 30, 2014, 07:46:42 am »
Maybe it's just an error in the schematic that is not reflected when you're building the circuit, but look at R13!
Whoa! How the hell did Dave know that Bob is my uncle? Amazing!
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 20411
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Analog Ground on a buffered R2R ladder DAC
« Reply #3 on: December 30, 2014, 10:01:13 am »
Two ground planes, joined at one spot with a 0r resistor.

Usually a mistake; see books/articles  and manufactuers' literature on low power mixed signal PCBs, e.g. for ADCs and DACs.

Much better to consider where the "return" currents flow, and to keep them separate, and to minimise the loop area for each individual contribution (analogue/digital, signal/power) to the total currents flowing.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22302
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Analog Ground on a buffered R2R ladder DAC
« Reply #4 on: December 30, 2014, 01:04:29 pm »
The grounds are one in the same.  Digital VCC should be filtered, or use analog.  Why?  Because it's NOT a digital supply -- you are using the gate output pins as one-bit DACs!  These are, in turn, weighted by the R2R divider.

Also, the output resistance of each pin is a factor in the weight of each, and variation in that resistance limits how stable a conversion you can produce here (over manufacturing and temperature variation).

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline davemisbehaveTopic starter

  • Supporter
  • ****
  • Posts: 6
  • Country: de
Re: Analog Ground on a buffered R2R ladder DAC
« Reply #5 on: December 30, 2014, 06:21:13 pm »
Thanks for the replies. So, my guesstimate would be to connect R9 to AGND and to connect AGND and GND at the power supply (not the planes). Is this correct, and if not why?

P.S.: R13 should be 10k (thx, nitro)
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22302
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Analog Ground on a buffered R2R ladder DAC
« Reply #6 on: December 31, 2014, 12:23:32 am »
Yes.  So it's the same ground plane everywhere.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf