SS Final Lecture Notes
SS Final Lecture Notes
KALOL
Electrical Department
Lecture notes of
Semester: - 5TH
Prepared By:-
HOD
KITRC, Kalol
1. Introduction to signal and system
1.1 Introduction
What is Signal?
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. Example:
voice signal, video signal, signals on telephone wires etc.
Note: Noise is also a signal, but the information conveyed by noise is unwanted hence it is considered as
undesirable.
Examples of signals include :
• A voltage signal: voltage across two points varying as a function of time.
A force pattern: force varying as a function of 2-dimensional space.
A photograph: color and intensity as a function of 2-dimensional space.
A video signal: color and intensity as a function of 2-dimensional space and time.
What is System?
System is a device or combination of devices, which can operate on signals and produces corresponding
response. Input to a system is called as excitation and output from it is called as response. For one or
more inputs, the system can have one or more outputs.
Example: Communication System
• Examples of systems include :
• 1. An oscilloscope: takes in a voltage signal, outputs a 2-dimensional image characteristic of the
voltage signal.
2. A computer monitor: inputs voltage pulses from the CPU and outputs a time varying display.
3 An accelerating mass : force as a function of time may be looked at as the input signal, and
velocity as a function of time as the output signal.
4 A capacitance: terminal voltage signal may be looked at as the input, current signal as the
output.
1.2 Application of signal and system
Our bodies are constantly communicating information about our health. This information can be captured
through physiological instruments that measure heart rate, blood pressure, oxygen saturation levels, blood
glucose, nerve conduction, brain activity and so forth. Traditionally, such measurements are taken at
specific points in time and noted on a patient’s chart. Physicians actually see less than one percent of
these values as they make their rounds and treatment decisions are made based upon these isolated
readings.
Biomedical signal processing involves the analysis of these measurements to provide useful information
upon which clinicians can make decisions. Engineers are discovering new ways to process these signals
using a variety of mathematical formulae and algorithms. Working with traditional bio-measurement
tools, the signals can be computed by software to provide physicians with real-time data and greater
insights to aid in clinical assessments. Industrial processes are procedures
involving chemical, physical, electrical or mechanical steps to aid in the manufacturing of an item or
items, usually carried out on a very large scale. Industrial processes are the key components of heavy
industry.
• Digital Signal Processing is the way of life of current generation. You are surrounded by
innumerable devices which do digital signal processing around you. Most of these devices were
analog 2–3 decades before. Now, all of them are digital.
• Examples:
• Television. All the present day TVs are digital. They do a lot of digital processing of video, audio
signal to present them in a better way.
• Mobile Phones. All mobile phones do a lot of digital signal processing. They process our speech
digitally to remove background noise, echo etc. They improve the quality of your images you
click using digital image processing. They enhance the quality of the video you are seeing using
digital signal processing. They record and play audio signal using digital signal processing.
• Watches. (many are using analog watches even today)
• Cameras. All cameras that you use now a days are digital. The name itself says it. DIGITAL
CAMERA
• All the printers you use are digital.
• Not to forget, all the computers you use for any purpose have been digital all along.
• Some of the devices, though they don’t process digital signals as such, use digital data as their
way of representation.
1.3 Representation of signal
The process of (electronic) communication involves the generation, transmission and reception of various
types of signals. The communication process becomes fairly difficult, because: a) the transmitted signals
may have to travel long distances (there by undergoing severe attenuation) before they can reach the
destination i.e., the receiver. b) of imperfections of the channel over which the signals have to travel c) of
interference due to other signals sharing the same channel and d) of noise at the receiver input .
Mathematically, signals are represented as a function of one or more independent variables.
• For instance a black & white video signal intensity is dependent on x, y coordinates and time t f(x,y,t)
• On this course, we shall be exclusively concerned with signals that are a function of a single variable:
time
1.4 Classification of signals
Analog and Digital signal
Analog signal: A signal that is defined for every instants of time is known as analog signal. Analog
signals are continuous in amplitude and continuous in time. It is denoted by x(t). It is also called as
Continuous time signal. Example for Continuous time signal is shown in Fig.
Digital signal: The signals that are discrete in time and quantized in amplitude is called digital signal.
Ramp signal
Unit ramp signal is defined as 𝑟(𝑡) = 𝑡 𝑓𝑜𝑟 𝑡 ≥ 0
= 0 𝑓𝑜𝑟 𝑡 < 0
Parabolic signal
Unit Parabolic signal is defined as 𝑥 (𝑡) = 𝑡2/ 2 𝑓𝑜𝑟 𝑡 ≥ 0
= 0 𝑓𝑜𝑟 𝑡 < 0
Relation between Unit Step signal, Unit ramp signal and Unit Parabolic signal:
Unit Pulse signal is defined as ∏ (𝑡) = 1 𝑓𝑜𝑟 𝑡 ≤ 1 /2
= 0 𝑒𝑙𝑠𝑒𝑤he𝑟e
Exponential signal
Real Exponential signal is defined as 𝑥(𝑡) = 𝐴𝑒𝑎𝑡 where A is amplitude Depending on the value of ‘a’ we
get dc signal or growing exponential signal or decaying exponential signal
Signum function
Sgn(t) = 1 for t > 0
= -1 for t ˂ 0
Rectangular pulse
Rect(t) = 1 for -1/2 ˂ t ˂ ½
= 0 elsewhere
1.6 Basic(Elementary or Standard) Discrete time signals
Step signal
Unit Step signal is defined as 𝑢 (𝑛) = 1 𝑓𝑜𝑟 𝑛 ≥ 0
= 0 𝑓𝑜𝑟 𝑛 < 0
Exponential signal
Real Exponential signal is defined as 𝑥 𝑛 = 𝑎𝑛 𝑓𝑜𝑟 𝑛 ≥ 0
Complex Exponential signal is defined as 𝑥 𝑛 = 𝑎𝑛 𝑒𝑗 (𝜔0𝑛) = 𝑎𝑛 [𝑐𝑜𝑠𝜔0𝑛 + 𝑗𝑠𝑖𝑛𝜔0𝑛] 𝑤h𝑒𝑟𝑒 𝑥𝑟(𝑛) = 𝑎𝑛
𝑐𝑜𝑠𝜔0𝑛 𝑎𝑛𝑑
𝑥𝑖 (𝑛) = 𝑎𝑛 𝑠𝑖𝑛𝜔0n
If the BIBO stable condition is not satisfied, then the system is said to be unstable system
1.8 Examples
Check whether the following is periodic or not. If periodic, determine fundamental time period
Determine whether the signals are energy or power signal
Time Scaling
x(At) is time scaled version of the signal x(t). where A is always positive.
|A| > 1 → Compression of the signal
|A| < 1 → Expansion of the signal
Time Reversal Or Time Folding
Time reversal is also called time folding
In Time reversal signal is reversed with respect to time
i.e. y(t) = x(-t) is obtained for the given function
Amplitude Scaling
C x(t) is a amplitude scaled version of x(t) whose amplitude is scaled by a factor C.
Addition
Addition of two signals is nothing but addition of their corresponding amplitudes. This can be best
explained by using the following example:
-10 < t < -3 amplitude of z(t) = x1(t) + x2(t) = 0 + 2 = 2
-3 < t < 3 amplitude of z(t) = x1(t) + x2(t) = 1 + 2 = 3
3 < t < 10 amplitude of z(t) = x1(t) + x2(t) = 0 + 2 = 2
Subtraction
Subtraction of two signals is nothing but subtraction of their corresponding amplitudes. This can be best
explained by the following example:
-10 < t < -3 amplitude of z (t) = x1(t) - x2(t) = 0 - 2 = -2
-3 < t < 3 amplitude of z (t) = x1(t) - x2(t) = 1 - 2 = -1
3 < t < 10 amplitude of z (t) = x1(t) + x2(t) = 0 - 2 = -2
Multiplication
Here multiplication of amplitude of two or more signals at each instance of time or any other independent
variables is done which are common between the signals. Multiplication of signals is illustrated in the diagram
below, where X1 (t) and X2 (t) are two time dependent signals, on whom after performing the multiplication
operation we get
This is another easy method to obtain convolution of two sequence.this method is similar to
multiplication of multidigit numbers.
2.Parallel interconnection
3.Feedback interconnection
Y1(n) = T1[x(n)]
Y2(n) = T2[Y1(n)]
Y(n) = T1T2[X1(n)]
2.PARLLEL INTERCONNECTION
Y1(n) = T1[x(n)]
Y2(n) = T2[x(n)]
3.Feedback interconnection
The impulse response h(t) completely characterizes an LTI system y(t) = FUNCTION { x(t),h(t) }
Now if you look at the last equality, you see that the output at time n is a linear combination of the values
of the input at all times (the x[k]'s). The coefficients for each x[k] is given by the values of h[n-k]. So, if
the output at n does not depend on x[k] for k>n, this means that the coefficient of all x[k] with k>n must
be zero. Thus h[n-k] must be zero for all k>n. Observe that saying "k>n" is equivalent to saying "k-n<0".
So, if we think of k-n as a new variable u, what we are really saying is that h[u ] must be zero whenever
u<0. But of course, u is just a place holder. We can replace it by n, and our statement becomes h[n]=0 for
all n<0.
Similarly, for a CT LTI system we have
Again, if you look at the last equality, you see that the output at time t is a combination of the values of
the input at all times (i.e. x(t') for t' between minus infinity and infinity). So all the values of x(t') (for all
the different times t') influences the output, unless their coefficient h(t-t') happens to be zero. So if the
system is to be causal, the coefficients h(t-t') must be zero whenever t'>t. This way, the future values of
the input signal are not influencing the integral. But when we say h(t-t') must be zero whenever t'>t, this
is the same as saying h(u) must be zero whenever u<0. Replacing the variable u by the more commonly
used variable t, we get that h(t) must be zero whenever t<0.
You may notice that the arguments above are phrased in such a way to prove that "if a system is causal,
then the unit impulse response satisfies "h(t)=0 for t<0". Actually, the converse is also true, and it would
not be difficult to change the language of the above arguments slightly to prove the "if and only if". You
may try to do this at home if you feel like it. It is always good to practice your logic!
So from now on, you have another way to check for the causality of a system, provided that you know
that the system is LTI. So in an exam question, I could state that a system is LTI and give you its unit
impulse response. I could then ask you whether or not the system is causal. To answer the question, you
should simply check whether "h(t)=0 for t<0" or "h[n]=0 for n<0", depending on whether it is a CT
system or a DT system.
3.Fourier, Laplace and z-transforms
Region of convergence.
The range variation of σ for which the Laplace transform converges is called region of convergence
Properties of ROC of Laplace Transform
ROC contains strip lines parallel to jω axis in s-plane.
If x(t) is absolutely integral and it is of finite duration, then ROC is entire s-plane.
If x(t) is a right sided sequence then ROC : Re{s} > σo.
If x(t) is a left sided sequence then ROC : Re{s} < σo.
If x(t) is a two sided sequence then ROC is the combination of two regions.
3.8 Z-Transform
Z-Transform Properties:
Z-Transform has following properties:
Linearity Property:
Time Shifting Property
Convolution Property
Correlation Property
fs≥2fm.fs≥2fm.
Proof: Consider a continuous time signal x(t). The spectrum of x(t) is a band limited to fm Hz i.e.
Sampling of input signal x(t) can be obtained by multiplying x(t) with an impulse train δ(t) of period Ts.
The output of multiplier is a discrete signal called sampled signal which is represented with y(t)
∴δ(t)=1Ts+Σ∞n=1(2Tscosnωst+0)∴δ(t)=1Ts+Σn=1∞(2Tscosnωst+0)
→y(t)=x(t).δ(t)→y(t)=x(t).δ(t)
=x(t)[1Ts+Σ∞n=1(2Tscosnωst)]=x(t)[1Ts+Σn=1∞(2Tscosnωst)]
=1Ts[x(t)+2Σ∞n=1(cosnωst)x(t)]=1Ts[x(t)+2Σn=1∞(cosnωst)x(t)]
y(t)=1Ts[x(t)+2cosωst.x(t)+2cos2ωst.x(t)+2cos3ωst.x(t)......]y(t)=1Ts[x(t)+2cosωst.x(t)+2cos2ωst.x(t)+2cos3ωst.x(t)......]
Y(ω)=1Ts[X(ω)+X(ω−ωs)+X(ω+ωs)+X(ω−2ωs)+X(ω+2ωs)+...]Y(ω)=1Ts[X(ω)+X(ω−ωs)+X(ω+ωs)+X(ω−2ωs)+X(ω+2ωs)+...]
∴Y(ω)=1TsΣ∞n=−∞X(ω−nωs)wheren=0,±1,±2,...∴Y(ω)=1TsΣn=−∞∞X(ω−nωs)wheren=0,±1,±2,...
To reconstruct x(t), you must recover input signal spectrum X(ω) from sampled signal spectrum Y(ω),
Possibility of sampled frequency spectrum with different conditions is given by the following diagrams:
4.2 Concept of Reconstruction with ideal interpolator, zero-order hold, and first-order hold.
In time domain, the reconstruction of the continuous signal from its sampled
with the general effect of reserving the central portion of the periodic spectrum
while suppressing all its replica at higher frequencies.
Zero-order hold
The reconstructed signals and using 0th or 1st order hold interpolation are certainly
different from the original signal , for the reason that the low-pass filter is non-ideal. To find the
interpolation function for a perfect reconstruction of the original signal , consider an ideal low-pass
filter in frequency domain:
with time domain impulse response
The reconstruction of the continuous signal can now be realized by applying this ideal low-pass
If the cutoff frequency is higher than but lower than , then the central portion
of can be extracted and scaled by factor , while all other replicas beyond the cutoff frequency
are suppressed, i.e., the original signal is perfectly reconstructed:
• In this section we begin a discussion of the very important signal processing topic known as aliasing
The signals we are describing are obviously related to the features of the system as power and energy. The total
energy of the continuous-time signal over the interval is .
Here the brackets are describing the time-continuous interval . The parentheses can be used for describing the
time-continuous interval . The continuous-time power can be obtained by deriving the energy by the time
interval .
The total energy of the discrete-time signal over the interval is the sum .
Where the average power over the indicated interval can be obtained with energy derived by the .
Many systems exist over the infinite interval of the independent variable. For these systems
Some integrals and sums may not converge. These systems are characterised by the infinite energy . For
converging integrals and sums, signals have a finite energy .
The average power for discrete-time and continuous-time signals for an infinite period of time are:
The signals with a finite total energy are characterised with zero average power . The signals with infinite total
energy are characterised by .
We are considering here the most simple and frequent variable transformations that can be combined, resulting
in complex transformations.
1. Time shift is the transformation when two signals and are the same but are displaced relatively to each
other. The same for time-continuous signals and .
2. Time reversal is when the signal is obtained from by reflecting the signal relatively . For continuous-
time signals is a reflection over .
3. Transformation , is where and are given numbers. Here the transformation depends on the value and
sign of numbers, so if and the signal is extended, if and the signal is compressed, if , the signal is
reversed and can be extended or compressed, depending on the magnitude and sign of the signal is
shifted right or left. For discrete-time variables the transformations are the same .
Figure 1 depicts different kinds of signal transformations for continuous-time and discrete-time variables.
Figure 1. a, b – the time shift transformation for continuous-time and discrete-time signals;
• Important Tools:
• Stability
Communication Applications:-
• The channel may be free space, coaxial cable, fiber optic cable
Modulation:-
• Signal processing=Application of algorithms to modify signals in a way to make them more useful.
• Goals:
• Examples:
– Underwater acoustic
The internet of things, or IoT, is a system of interrelated computing devices, mechanical and digital machines,
objects, animals or people that are provided with unique identifiers (UIDs) and the ability to transfer data over a
network without requiring human-to-human or human-to-computer interaction.
A thing in the internet of things can be a person with a heart monitor implant, a farm animal with a biochip
transponder, an automobile that has built-in sensors to alert the driver when tire pressure is low or any other
natural or man-made object that can be assigned an Internet Protocol (IP) address and is able to transfer data
over a network.
The connectivity, networking and communication protocols used with these web-enabled devices largely depend
on the specific IoT applications deployed. IoT can also make use of artificial intelligence (AI) and machine
learning to aid in making data collecting processes easier and more dynamic.
IoT encourages companies to rethink the ways they approach their businesses and gives them the tools to
improve their business strategies.
Generally, IoT is most abundant in manufacturing, transportation and utility organizations, making use of
sensors and other IoT devices; however, it has also found use cases for organizations within the agriculture,
infrastructure and home automation industries, leading some organizations toward digital transformation.
IoT can benefit farmers in agriculture by making their job easier. Sensors can collect data on rainfall, humidity,
temperature and soil content, as well as other factors, that would help automate farming techniques.
The ability to monitor operations surrounding infrastructure is also a factor that IoT can help with. Sensors, for
example, could be used to monitor events or changes within structural buildings, bridges and other
infrastructure. This brings benefits with it, such as cost saving, saved time, quality-of-life workflow changes and
paperless workflow.
A home automation business can utilize IoT to monitor and manipulate mechanical and electrical systems in a
building. On a broader scale, smart cities can help citizens reduce waste and energy consumption.
IoT touches every industry, including businesses within healthcare, finance, retail and manufacturing.
5.2
Role of Sensors and Actuators in IoT.
The Internet of Things is rarely discussed without the conversation steering to data and the new Data Economy.
The intelligence and value from an IoT system is based on what can be learned from the data. Sensors are the
source of IoT data.
Driven by new innovations in materials and nanotechnology, sensor technology is developing at a never before
seen pace, with a result of increased accuracy, decreased size and cost, and the ability to measure or detect things
that weren’t previously possible. In fact, sensing technology is developing so rapidly and becoming so advanced
that we will see a trillion new sensors deployed annually within a few years.
A better term for a sensor is a transducer. A transducer is any physical device that converts one form of energy
into another. So, in the case of a sensor, the transducer converts some physical phenomenon into an electrical
impulse that can then be interpreted to determine a reading. A microphone is a sensor that takes
vibrational energy (sound waves), and converts it to electrical energy in a useful way for other components in the
system to correlate back to the original sound.
Another type of transducer that you will encounter in many IoT systems is an actuator. In simple terms, an
actuator operates in the reverse direction of a sensor. It takes an electrical input and turns it into physical action.
For instance, an electric motor, a hydraulic system, and a pneumatic system are all different types of actuators.
In a typical IoT system, a sensor may collect information and route to a control center where a decision is made
and a corresponding command is sent back to an actuator in response to that sensed input. Later, we will discuss
where the control center resides in the greater IoT system.
There are many different types of sensors in an IoT system. Flow sensors, temperature sensors, voltage sensors,
humidity sensors, and the list goes on. In addition, there are multiple ways to measure the same thing. For
instance, airflow might be measured by using a small propeller like the one you would see on a weather station.
Alternatively, as in a vehicle measuring the air through the engine, airflow is measured by heating a small
element and measuring the rate at which the element is cooling.
Different applications call for different ways of measuring the same thing.
Imagine that you are a bar owner and you want to measure the amount of beer coming out of one of your taps.
One way you might do this is to install a sensor in line with the line that runs from the keg of beer to the tap.
This sensor would most likely have a small impeller inside of it. When the beer ran through the sensor, it would
cause the impeller to spin, just like the propeller on a weather station.
When the impeller spins, it will send a stream of electrical impulses to a computer. The computer will interpret
the impulses to determine how much beer is flowing through. Sounds simple, right?
This is where sensors get interesting. If you look back at our description, you’ll see that we never directly
measured the amount of beer flowing through the sensor; we interpreted it from a stream of electrical impulses.
That means that we must first figure out how to interpret it. Calibration.
To calibrate the sensor, we’d have to take a container with a known carrying capacity, say, a pint glass. Then
we’d have to fill that container under a variety of conditions to determine what the electrical pulse signal looked
like.
For instance, the first pour off a new keg might tend to have more foam, which would read differently than a
pour from the middle of the keg that was all beer. It’s only through repeated trials and a lot of data that we gain
confidence that we can interpret the data and determine how much beer was poured.
Once the correlation is well known, a protocol can be developed to always assure the sensor is reading correctly.
This is called calibration. Reputable manufacturers will deliver fully calibrated devices and provide instruction
on how to re-calibrate to verify sensor accuracy.
The accuracy of sensed data is paramount, since you will make mission-critical decisions based on later analysis
of the data, which will hold little value if the data is wrong.
In LM35 interfacing with Arduino, temperature information will be send to the PC using the code/circuit.
Generally, LM35 is a three pin temperature sensor which is used to measure temperature variations as
An analog output. The operating range of the sensor is about -55 to 150 C.
Connect the output pin of the sensor, to the analog pin (A1) of the MEP_ROBO development board...
Figure : LM35
LM35
MEP_ROBO Board with ATMEGA 328 IC.
USB Cable.
Computer with Arduino software.
Connecting wires(3)
Place the temperature sensor to any of the analog pins A0, A1, A2, and A3.
Here we are using A0.
Connect Vcc of the LM35 with the Vcc of the board.
Connect GND of the sensor with the GND of the board.
Connect output of sensor with A0 of the board.
Step6: Output
The output is seen through the serial monitor. In Arduino IDE, take Tools----Serial Monitor. Set the baud rate to
9600.
Figure: Output