Lecture 7: Analogue to Digital Converter Flashcards

1
Q

What is an ADC?

A

It will take an analogue input and output a digital number that is a representation of the voltage of the input.

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

Why do we need an ADC?

A

Embedded systems only work in digital numbers but the environment is all about analogue.

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

What is sampling?

A

It is the process that allows us to convert from continuous time to discrete time.

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

What is Quantization?

A

It is the process of replacing real values with an approximation from the finite set of discrete values.

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

How many discrete values are there?

A

It is equal to the number of Quantization levels.

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

How many Quantization levels are there?

A

For a N bit ADC, there will be 2^N levels.

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

What is the resolution of our ADC?

A

Range / 2^N

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

What is the range of our ADC?

A

Normally it is the range of reference voltages that we are given.

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

If we get given Vin = Vref * ADC / 1024 then what is our resolution and what bit is the ADC?

A

Resolution will be Vref / 2^10

Therefore it is a 10 bit adc.

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

How much will our digital value be incremented on the ADC output>

A

Every increment will be the resolution size.

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

What is successive approximation?

A

It is the method used by the ATMega8. It will start at the MSB and go down to the LSB. It uses a DAC to generate a voltage that the input signal is compared against. Based on the compare result, the bit is decided to be either a 0 or a 1. It will have a constant conversion time.

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

What is integration as a method of ADC?

A

A reference signal and an input signal will be constantly integrated until both values match. The time taken for this to occur is then converted to the digital representation of the signal.
Varying conversion time depending on the size of the input

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

What is counter based conversion?

A

Uses counter inputs to a DAC. When the DAC is larger than the input signal then the counter will stop and the value is stored. This has a varying conversion time depending on the size of the input signal.

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

What is parallel conversion?

A

Have a high number of comparators to simultaneously compare the input voltage. It is the fastest method but has a high cost.

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

What is the size of the ATMega8 ADC?

A

10 bit

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

What is the size of the ADC multiplexer that the ADC is connected to ?

A

8 bit.

17
Q

How do we enable the ADC?

A

Set the bit in the ADCSRA register.

18
Q

How long does a normal conversion take?

A

13 clock cycles.

19
Q

How long does the first ADC conversion take?

A

25 clock cycles. This is because it has to set up the analogue circuitry.

20
Q

What is the formula for conversion time?

A

Clock cycles required / Clock frequency