Update for 15-11-21 15:45
This commit is contained in:
parent
e546f3095a
commit
364399d85f
@ -6,5 +6,21 @@ This is also known as sampling.
|
|||||||
|
|
||||||
== Overview ==
|
== Overview ==
|
||||||
|
|
||||||
|
=== Parallel ===
|
||||||
|
|
||||||
1) Analog voltage is converted to a codeword, by running the voltage through a
|
1) Analog voltage is converted to a codeword, by running the voltage through a
|
||||||
series of comparators, each tied to a different voltage
|
series of comparators, each tied to a different voltage
|
||||||
|
2) The series of codewords are put through a series of logic gates that convert
|
||||||
|
the code words to a n-bit value, ranging from 0V to VREF
|
||||||
|
- ie. VREF = 5V, 10-bit ADC, each step is 5/(2^10) = 4.9mV
|
||||||
|
|
||||||
|
This is a very fast way to implement a ADC, however for a n-bit resolution it
|
||||||
|
requires 2^n - 1 comparators, and 2N resistors (for voltage dividers) to
|
||||||
|
convert the signal
|
||||||
|
|
||||||
|
=== Counting ===
|
||||||
|
|
||||||
|
1) Compare the analog input voltage to an output from a [[DAC]]
|
||||||
|
2) Each time a comparison fails, increment a counter
|
||||||
|
3) When the [[DAC]] voltage is larger than the analog voltage, we have found the
|
||||||
|
correct value
|
||||||
|
9
tech/DAC.wiki
Normal file
9
tech/DAC.wiki
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
= DAC =
|
||||||
|
|
||||||
|
A Digital to Analog Converter (DAC) is a type of circut that converts a digital
|
||||||
|
signal to a voltage somehwere between GND and VREF (usually VCC). A common
|
||||||
|
use of a DAC is when converting digital music to a sound signal
|
||||||
|
|
||||||
|
== Overview ==
|
||||||
|
|
||||||
|
1) A voltage divider (resistors in series) split the VREF into equal parts
|
Loading…
Reference in New Issue
Block a user