Digital Componnents - ADC And DAC Flashcards

(19 cards)

1
Q

The ASCII letter S is 1010011, show the parity bit for the letter S with odd and even parity

A

Even: 01010011

Odd: 11010011

The parity bit is added at the front of the binary code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain how the ADC staircase converter works?

A
  1. A counter counts whilst the analog input is less than the input signal
  2. When the output of the DAC is equal to or greater than the input signal, the clock stops counting and the binary code is read
  3. The counter increases with each clock cycle
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

In the ADC staircase converter, does it use a DAC or ADC converter to provide a comparison voltage?

A

DAC, Digital to Analog

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a disadvantage of the ADC staircase converter?

A

Method is slow, Tavares 2^N clock cycles for N bit.

E.g. for 4 bits it will take 16 clock cycles for the ADC to complete the task

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the initial value of the DAC comparator in the ADC staircase converter?

A

0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Explain how the ADC successive approximation converter (SAC) works?

A
  1. The MSB is set to high, all other bits are low. Is the value greater than my input signal? If yes, MSB is kept high and we move onto the next bit. If not, the MSB is set to LOW and the next bit is checked
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Does the SAC (Shift Approximation Converter) also use a DAC comparator?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the 3 components of a SAC ( Successive Approximation Converter)

A
  1. Comparator
  2. DAC (the comparator will look at the DAC value, we call this a DAC comparator)
  3. Shift approximation register, to actually shift to the next bit to set to HIGH or LOW
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Explain how the ADC Flash converter works

A
  1. In a circuit, a bunch of comparators are set up at specific voltages so that when the input voltage is equal to or greater than that voltage level, the comparator lights up

E.g. if 5 comparators are used, each one has a voltage level for an input signal between 0-1V:

Comparitor 1: 0.2V
….0.4V, 0.6V, 0.8V, 0.9V (for example)

When the input voltage is 0.7V, the first 3 comparitors will LIGHT UP and say ‘Yes the input voltage is equal to or greater than my voltage level’

  1. A logic circuit gets this data, and understand that the input voltage lies between 0.6V and 0.8V and will produce a binary (digital) number accordingly
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the 3 types of ADCs?

A
  1. Staircase converter
  2. Successive Approximation Converter
  3. Flash Converter
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the pro and con of the ADC Flash converter?

A
  1. Works instantly since all comparitors work at the same time
  2. For N number of bits you need 2^N-1 comparitors!

SO for 16 bits, you would need 65,535 comparators

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

When would you use a Flash Converter?

A

When speed is more important than costs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Explain how the DAC Binary Weighted works?

A
  1. Each bit is assigned to a resistor, current flows in the resistors if the bit is 1, current won’t flow through resistor if bit is 0
  2. The MSB has the most control, as it is always connected to the resistor with the lowest resistance. The LSB has the least impact, as it is always connected to the resistor of highest resistance. See page 108
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the formula for Vout in a Binary Weighted DAC?

A

Vout = -Vref * ( (Rf/R) + (Rf/2R) + (Rf/4R) + (Rf/8R)….etc)

Or

Vout = If(current) * Rf(resistance). See page 108

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the equation for step size?

A

Step site = total input / (2^N -1)

N = number of bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

3 Cons of the Binary Weighted DAC?

A
  1. Voltage levels must be exactly the same for each input
  2. Resistors must be insanely accurate! (Very low tolerance)
  3. Difficult and Expensive
17
Q

How would you represent 4.3V in a 7V system using 3 bits?

A
  1. Find step size = 7 / (2^3 - 1)

Step size = 1V

  1. 4.3V is roughly 4V so 010
18
Q

Go to page 111 and solve the DAC question

19
Q

Pro of the SAC?

A

Fixed conversion time