How a digital to analog converter works

AI Thread Summary
A digital to analog converter (DAC) works by receiving binary data from a computer, typically through software like LabVIEW, and converting it into an analog voltage output. The DAC card or module processes this data at each clock tick, generating corresponding analog signals, which can represent waveforms like sine waves. The terminal block facilitates easier connection and probing of these signals with an oscilloscope. Whether using an internal DAC card or an external module like the Lab-NB board, the fundamental operation remains the same, involving data transfer and configuration settings for output ranges. Understanding these components and their interactions is crucial for effective DAC implementation.
variable
Messages
14
Reaction score
0
can someone please explain how a digital to analog converter works if say your equipment includes a computer with a software like Labview, a Lab-NB board, a terminal block (USB) and an oscilloscope. what is each component doing and what is being transferred between them? thanks.
 
Engineering news on Phys.org
Do you understand how a DAC works? If not, here's a tutorial on the R-2R DAC (as opposed to a binary-weighted DAC, which has some limitations):

http://www.allaboutcircuits.com/vol_4/chpt_13/3.html

National Instruments also has some good tutorials and articles about their boards. Check out this jump-off site:

http://zone.ni.com/zone/jsp/zone.jsp

Basically, to answer your question, the software on the PC writes to the DAC card to tell it what binary data it should convert into an analog voltage. The data transfers can happen in several different ways, but the simplest way to think about it is that the PC program writes a new data value to the card at each clock tick (whichever clock), and the DAC card drives the analog value for that data out at each clock tick. The PC software could write values out that made a sine wave at the analog output, for example. The DAC card typically has configuration registers that set whether the digital data represents a single-ended output voltage range (like 0V to 10V) or a bipolar range (like -5V to 5V).

The terminal block that is connected to the DAC card's output cable just makes it easier to probe the signals with an oscilloscope. In real applications of the DAC card, the cable connects to whatever circuit you want to drive the output analog waveforms into (like a speaker, or whatever).

Hope that helps. -Mike-
 
thanks, that really helps. just one follow-up question. does the board have the same function as the card? I've been trying to look through the manual for the board and it's several hundred pages long so haven't been too successful.
 
variable said:
thanks, that really helps. just one follow-up question. does the board have the same function as the card? I've been trying to look through the manual for the board and it's several hundred pages long so haven't been too successful.
Sorry, I read your question fast and assumed that you were using an NI DAC card (like one that plugs into the PCI bus in a PC). Is the Lab-NB board an external DAC module or something? I tried searching NI.com for Lab-NB but got no hits, so it's probably from some other DAC supplier? Does it use USB or GPIB or some other interface to the PC?

If the Lab-NB is the DAC module, then yes, what I said in reference to an internal DAC card in the PC applies similarly to an external module connected to the PC via some digital interface cable.
 
It's connected to the terminal block which uses USB and it's external. I think they are the same because I remember reading something about registers in the manual and the bipolar range, etc. Thank you so much for your help!
 
Last edited:
Very basic question. Consider a 3-terminal device with terminals say A,B,C. Kirchhoff Current Law (KCL) and Kirchhoff Voltage Law (KVL) establish two relationships between the 3 currents entering the terminals and the 3 terminal's voltage pairs respectively. So we have 2 equations in 6 unknowns. To proceed further we need two more (independent) equations in order to solve the circuit the 3-terminal device is connected to (basically one treats such a device as an unbalanced two-port...
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Back
Top