Module-2-Digital-and-Analog-Signals
Module-2-Digital-and-Analog-Signals
and Sensors
Module 2
Introduction
To bridge the gap between analog sensors and digital processing, signal conditioning
circuitry is essential. These circuits perform critical functions, including:
When using DSP, deciding where to position the ADC is crucial. Placing
the ADC closer to the sensor shifts more conditioning responsibilities to
the ADC, increasing its complexity. This complexity can manifest as:
• 24-bit ADCs: Modern ADCs, like the AD773x series, can digitize low-level signals
(e.g., 10mV) directly, eliminating the need for additional conditioning.
• Complete Coders-Decoders (Codecs): At voiceband and audio frequencies, devices
like the AD1819B and AD73322 minimize external component requirements
through integrated circuitry.
• Analog Front Ends for Video: For high-speed applications, such as CCD image
processing, devices like the AD9814, AD9816, and AD984x series provide necessary
analog processing capabilities.
1. Medical Devices: ECG Monitors
Consider the implementation of a lowpass filter with a cutoff frequency of 1 kHz, comparing an
analog filter to a digital filter in a sampled data system.
Key Points:
System Requirements:
An ADC/DAC is needed with adequate sampling frequency, resolution, and dynamic range.
The DSP must perform calculations within the sampling interval (1/fs).
Analog Filter:
• Realized as a 6-pole Chebyshev Type 1 filter with a ripple in the passband and none in
the stopband.
• Typically constructed using three 2-pole stages, requiring op-amps, resistors, and
capacitors.
• Maintaining performance (e.g., 0.5 dB ripple) requires precise component selection and
matching.
Digital Filter:
• Implemented as a 129-tap FIR filter with only 0.002 dB passband ripple and linear
phase.
• Offers much sharper roll-off than the analog filter, making it impractical to realize
with analog techniques.
• Advantages include immunity to component matching and drift, as clock
frequencies are crystal-controlled.
Processing Requirements:
• The digital filter requires 129 multiply-accumulate (MAC) operations per output
sample, which must be completed within the sampling interval.
• For a 10 kSPS sampling frequency, 100 µs is available for processing, necessitating
an instruction rate of over 1.3 million instructions per second (MIPS).
• DSPs, such as the ADSP-218x series, can achieve instruction rates up to 75 MIPS,
making them well-suited for this application.
Digitization Process
• Storage and Processing: Digital signals are easier to store and process using digital
computers.
• Robustness to Noise: Digital signals tend to be less affected by noise compared to
analog signals.
Information Loss
Given : Solve :
Amplitude = 5 volts. angular frequency
frequency = 60 hertz mathematical equation
phase shift = π/4 radians voltage output at t=0 seconds & t=0.01 seconds.
1. Angular frequency
W = 2 x 3.14159 x 60
= 376.99 radians / second
Solution:
Given : Solve :
Amplitude = 5 volts. angular frequency
frequency = 60 hertz mathematical equation
phase shift = π/4 radians voltage output at t=0 seconds & t=0.01 seconds.
2. Mathematical equation
Solve for:
Solution:
Given : Solve :
Amplitude = 12 volts. angular frequency
frequency = 50 hertz mathematical equation
phase shift = π/6 radians voltage output at t=0 seconds & t=0.05 seconds.
1. Angular frequency
W = 2 x 3.14159 x 50
= 314.159 radians / second
Solution:
Given : Solve :
Amplitude = 5 volts. angular frequency
frequency = 60 hertz mathematical equation
phase shift = π/4 radians voltage output at t=0 seconds & t=0.05 seconds.
2. Mathematical equation