ADC Flashcards
Why do we need ADCs in microcontrollers?
Because many microcontrollers control and monitor the real environment, which is analogue in nature
Diagram showing DAC and ADC connecting to the mc?
DRAW..
How is information contained in analogue signals?
Information lies in the continuously changeable worth of some constituent parameter, such as amplitude, frequency or phase.
What is the resolution and range of analogue signals?(theoretically)
infinite (theoretically)
How to digital signals represent information?
Represent information content as arrangement of discrete characters
What is the range and resolution of digital signals?
Range and resolution limited by the number and type of symbols making up the pattern
What are the main reasons for error in ADC?
Sampling and Quantisation
Can you draw the graph of 3 bit resolution for an analogue signal showing the sampled and quantisised signals? (Goes from 0 to 1 on both axes)
YES OR NO?
What does Shannon’s sampling theorem state?
A signal must be sampled with a frequency of at least twice the maximum frequency of the signal itself.
What is the maximum measurable frequency called and so what value is this compared to the sampling frequency?
The nyquist limit (or frequency) (and so this is half the sampling frequency)
When would aliasing occur?
When the signal frequency is higher than the nyquist limit, because then it is more than half of the sampling frequency
What is aliasing?
The misidentification of a signal frequency, introducing error or distortion.
Can you draw what happens when a signal with max frequency component of 60Hz is sampled at 100Hz?
YES OR NO?
How can aliasing be prevented?
By using an analogue low pass filter (An ANTI-ALIASING filter) to ensure that no components with greater than half the sample frequency remain.
Can you draw what would happen to the signal before if it has been passed through a low pass filter to become 40Hz maximum frequency?
YES OR NO?
When are anti-aliasing filters only really required?
When the analogue signal has significant frequency components above the Nyquist frequency
Can you provide and example of when anti-aliasing filters would be used?
When sampling a high-quality music signal (Fmax
Can you provide an example of when anti-aliasing filters would not be required?
Signals from light or temperature sensors usually have no significant components at higher frequencies and so anti-aliasing filters are not needed.
Why do we get a quantisation error?
Because a digital signal only has a limited number of symbols to portray a corresponding analogue signal (which has an infinite number of levels).
What is the resolution in quantisation?
The resolution is defined by the number of bits used to represent the signal.. with n bits the number of levels is 2^n. Resolution is 1/2^n
How many levels and what resolution is a 3 bit quantisation?
3 bits - 2^3 levels = 8 levels
resolution = 1/2^3 = 0.125
Can you draw graphs showing 3 bit quantisation of an analogue signal and the corresponding error graph?
YES or no?
What are some other sources of error in ADC?
- Linearity of the ADC
- Offset (0 analogue signal does not give 0 digital signal)
- Inaccurate reference voltage
- Noise in analogue signal or sensor
Can you draw the diagram showing the key components needed to read analogue signals into a mc?
YES OR NO?