Unit 1 - Discrete Time Signals and Systems
Unit 1 - Discrete Time Signals and Systems
Unit 1 - Discrete Time Signals and Systems
Systems
What is signal?
• In signal processing, a signal is a function that
conveys information about a phenomenon.
• In electronics and telecommunications, it refers to any
time varying voltage, current, or electromagnetic wave
that carries information.
• Generally, signal is a time varying physical
phenomenon which is intended to convey information.
OR
Signal is a function of time.
OR
Signal is a function of one or more independent
variables, which contain some information.
Types of Signal
• Signals are classified into the following
categories:
Deterministic and Non-deterministic Signals
Continuous Time and Discrete Time Signals
Even and Odd Signals
Periodic and Aperiodic Signals
Energy and Power Signals
Deterministic and Non-deterministic Signals
• A signal is said to be deterministic if there is no uncertainty with respect to
its value at any instant of time. Or, signals which can be defined exactly by
a mathematical formula are known as deterministic signals.
is defined as
From this equation, note that y[n−k] represents the outputs and x[n−k]
represents the inputs.
The value of N represents the order of the difference equation (or order of the
system) and corresponds to the memory of the system being represented.
Because this equation relies on past values of the output, in order to compute
a numerical solution, certain past outputs, referred to as the initial conditions,
must be known.
Solution of LCCDE
Digital Signal Processing (4th Edition) by John G. Proakis, Dimitris K Manolakis,
Pg: 98 onwards, solved problems
What is Digital signal processing?
• Digital signal processing (DSP) is the process of analyzing and
modifying a signal to optimize or improve its efficiency or
performance.
• It involves applying various mathematical and computational
algorithms to analog and digital signals to produce a signal that's of
higher quality than the original signal.
• DSP is primarily used to detect errors, and to filter and compress
analog signals in transit.
• It is a type of signal processing performed through a digital signal
processor or a similarly capable device that can execute DSP
specific processing algorithms.
• Typically, DSP first converts an analog signal into a digital signal
and then applies signal processing techniques and algorithms.
• For example, when performed on audio signals, DSP helps reduce
noise and distortion. Some of the applications of DSP include audio
signal processing, digital image processing, speech recognition,
biomedicine and more.
Block Diagram of DSP
• The first step is to get an electrical signal. The transducer (in this case, a microphone)
converts sound into an electrical signal. You can use any transducer depending upon the case.
• Once you have an analog electrical signal, we pass it through an operational amplifier (Op-
Amp) to condition the analog signal. Basically, we amplify the signal. Or limit it to protect the
next stages.
• The anti-aliasing filter is an essential step in the conversion of analog to a digital signal. It is a
low-pass filter. Meaning, it allows frequencies up to a certain threshold to pass. It attenuates
all frequencies above this threshold. These unwanted frequencies make it difficult to sample
an analog signal.
• The next stage is a simple analog-to-digital converter (ADC). This unit takes in analog signals
and outputs a stream of binary digits.
• The heart of the system is the digital signal processor. These days we use CMOS chips (even
ULSI) to make digital signal processors. In fact, modern processors, have high-speed, high
data throughputs, and dedicated instruction sets.
• The next stages are sort of the opposite of the stages preceding the digital signal processor.
• The digital-to-analog converter does what its name implies. It’s necessary for the slew rate of
the DAC to match the acquisition rate of the ADC.
• The smoothing filter is another low-pass filter that smoothes the output by removing
unwanted high-frequency components.
• The last op-amp is just an amplifier.
• The output transducer is a speaker in our case. You can use anything else according to your
requirements.
Sampling
• Most discrete-time signals come from sampling a continuous-
time signal, such as speech and audio signals, radar and sonar
data, and seismic and biological signals.
• The process of converting these signals into digital form is
called analog-to-digital (A/D) conversion.
• The reverse process of reconstructing an analog signal from its
samples is known as digital-to-analog (D/A) conversion.
Analog-to-Digital Conversion
• An A/D converter transforms an analog signal into a digital
sequence.
• The input to the A/D converter, xa(t), is a real-valued function of a
continuous variable, t .
• Thus, for each value of t, the function xa(t) may be any real number.
• The output of the A/D is a bit stream that corresponds to a discrete-
time sequence, x(n), with an amplitude that is quantized, for each
value of n, to one of a finite number of possible values.
Sampler (C/D converter)
Quantizer & Encoder
• Because the samples xa(nTs) have a continuous
range of possible amplitudes, the second
component of the A/D converter is the quantizer,
which maps the continuous amplitude into a
discrete set of amplitudes (where T=Ts).
• For a uniform quantizer, the quantization process
is defined by the number of bits and the
quantization interval Δ.
• The last component is the encoder, which takes
the digital signal x(̂ n) and produces a sequence of
binary codewords.
Periodic Sampling
• First, the continuous-time signal is multiplied by a periodic sequence of
impulses,