Author Topic: Variable analog voltage from a digital circuit?  (Read 1329 times)

0 Members and 1 Guest are viewing this topic.

Offline mstachoTopic starter

  • Supreme Robot
  • *****
  • Posts: 376
  • Helpful? 10
Variable analog voltage from a digital circuit?
« on: May 26, 2011, 09:24:11 AM »
In my old lab we had a board that was able to generate a variable (+/- 10 V) analog signal, but it appeared to be a digital board.  It worked by sending it the voltage you want from the PC, which had 12 bit precision, and then it would output the voltage.

Does anyone know how they did that?  Was it just PWM across an RC circuit or something?  I guess the crux of this question is: how does a Digital-to-Analog converter work?

MIKE
Current project: tactile sensing systems for multifingered robot hands

Offline waltr

  • Supreme Robot
  • *****
  • Posts: 1,944
  • Helpful? 99
Re: Variable analog voltage from a digital circuit?
« Reply #1 on: May 26, 2011, 10:21:48 AM »
DAC (Digital to Analog Converter), google it.

Offline growler

  • Jr. Member
  • **
  • Posts: 24
  • Helpful? 0
Re: Variable analog voltage from a digital circuit?
« Reply #2 on: May 26, 2011, 04:46:38 PM »
The only DAC I've built out of mostly discretes was an R-2R ladder, simple circuit once you get the concept but it needs a lot of separate inputs, one for each bit of precision. Also takes a lot of resistors of the same value.

Offline Daanii

  • Robot Overlord
  • ****
  • Posts: 138
  • Helpful? 3
Re: Variable analog voltage from a digital circuit?
« Reply #3 on: May 26, 2011, 05:22:24 PM »
As far as I've seen, most DAC chips are resistor ladders or resistor strings. Again as far as I've seen, resistor strings are better but need more components than resistor ladders.

At one time I thought some DACs might be, as you say, pulse-width modulation with a resistor-capacitor filter. But apparently that does not work well.

Offline vinniewryan

  • Full Member
  • ***
  • Posts: 56
  • Helpful? 2
Re: Variable analog voltage from a digital circuit?
« Reply #4 on: May 27, 2011, 10:24:33 AM »
It can work well in unison with a variable voltage regulator. I've built DAC's this way, but your current is then limited to the chosen regulator.

 


data_list