DSP Lecture1
DSP Lecture1
The band-limited signal is sampled and converted via the ADC unit
into the digital signal, which is discrete both in time and in amplitude
The digital signal processor then accepts the digital signal and
processes the digital data according to DSP rules such as lowpass,
highpass, and bandpass digital filtering, or other algorithms for different
applications.
Digital signal processor unit is a special type of a digital computer can
either be general-purpose digital computer, a microprocessor, or an
advanced microcontroller; furthermore,
DSP rules can be implemented using software in general
The processed digital output signal is generated when the specific
logarithm is defined into the digital signal processor.
The generated signal is behaving in similar manner of the defined the
specific algorithm
The DAC unit, converts the processed digital signal to an analog output
signal. As shown, the signal is continuous in time and discrete in
amplitude
In general, analog signal processing does not require software, algorithm,
ADC, and DAC. The processing relies entirely on the electrical and
electronic devices such as resistors, capacitors, transistors, operational
amplifiers, and integrated circuits (ICs)
CD players,
Text-to-speech synthesis, and
Digital tone generators, among others.
BASIC DIGITAL SIGNAL PROCESSING EXAMPLES IN BLOCK
DIAGRAMS
Digital noise filtering and signal frequency analysis, using block
diagrams
DIGITAL FILTERING
Depicting a digitized noisy signal obtained from digitizing analog
voltages (sensor output) containing useful low-frequency signal and
noise that occupy all of the frequency range.
After ADC, the digitized noisy signal x(n), where n is the sample
number, can be enhanced using digital filtering
Signal contains low-frequency components, the high-frequency
components above the cutoff frequency of our useful signal are
considered as noise, which can be removed by using a digital lowpass
filter.
The digitized noisy signal x(n), the digital lowpass filter produces a
clean digital signal y(n).
The cleaned signal y(n) is applied to another DSP algorithm for a
different application or convert it to analog signal via DAC and the
reconstruction filter.
Digital
lowpass
filter
The simple digital filtering block.
SIGNAL FREQUENCY (SPECTRUM) ANALYSIS
DSP applications often require that time domain information and the
frequency content of the signal be analyzed.
A digitized audio signal and its calculated signal spectrum (frequency
content), defined as the signal amplitude vs. its corresponding
frequency for the time being via a DSP algorithm, called fast Fourier
transform (FFT)
SIGNAL FREQUENCY (SPECTRUM) ANALYSIS
The analog signal is first filtered by an analog lowpass filter to remove high-
frequency noise components and is then passed through the ADC unit, where the
digital values at sampling instants are captured by the digital signal processor.
The captured data are compressed using data compression rules to reduce the
storage requirement.
The compressed digital information is sent to storage
The compressed digital information can also be transmitted
efficiently, since compression reduces the original data rate.
Digital voice recorders, digital audio recorders, and MP3
players are products that use compression techniques
COMPACT-DISC RECORDING SYSTEM
A compact-disc (CD) recording system.
The analog audio signal is sensed from each microphone and then fed to the anti-
aliasing lowpass filter.
The filtered audio signal is sampled at the industry standard rate of 44.1kilo-
samples per second, quantized, and coded to 16 bits for each digital sample in each
channel.
The two channels are further multiplexed and encoded, and extra bits
are added to provide information such as playing time and track
number for the listener.
The encoded data bits are modulated for storage, and more
synchronized bits are added for subsequent recovery of sampling
frequency.
The modulated signal is then applied to control a laser beam that
illuminates the photosensitive layer of a rotating glass disc.
When the laser turns on and off, the digital information is etched on
the photosensitive layer as a pattern of pits and lands in a spiral track.
This master disc forms the basis for mass production of the
commercial CD from the thermoplastic material.
COMPACT-DISC RECORDING SYSTEM
During playback,
A laser optically scans the tracks on a CD to produce digital signal.
The digital signal is then demodulated.
The demodulated signal is further oversampled by a factor of 4 to
acquire a sampling rate of 176.4 kHz for each channel and is then
passed to the 14-bit DAC unit.
The oversampling process is like interpolation, that is, adding three
samples between every two original samples.
COMPACT-DISC RECORDING SYSTEM
After DAC, the analog signal is sent to the anti-image analog filter,
which is a lowpass filter to smooth the voltage steps from the DAC unit.
The output from each anti-image filter is fed to its amplifier and
loudspeaker.
The purpose of the oversampling is to relieve the higher-filter-order
requirement for the anti-image lowpass filter, making the circuit design
much easier and economical
COMPACT-DISC RECORDING SYSTEM
Software audio players that play music from CDs, such as Windows
Media Player and RealPlayer, installed on computer systems, are
examples of DSP applications.
The audio player has many advanced features, such as a graphical
equalizer, which allows users to change audio with sound effects
including boosting low-frequency content or emphasizing high-
frequency content to make music sound more
entertaining
VIBRATION SIGNATURE ANALYSIS FOR DEFECTED GEAR
TOOTH
1000 rpm
Inputf shaft 16.17Hz is
frequency
i
60