Basic ELectronics - Material - 14022017 - 081630AM
Basic ELectronics - Material - 14022017 - 081630AM
Basic ELectronics - Material - 14022017 - 081630AM
Prerequisite: N.A.
Rationale: N.A.
Content:
Teaching
Sr. No. Topic
Hrs.
Circuit Concepts
Electrical Quantities
Lumped Circuit Elements
Kirchhoff’s Laws
1 6
Meters and Measurements
Analogy between Electrical and other Non-Electrical Physical
Systems
A case study
Circuit Analysis Techniques:
Thevenin and Norton Equivalent Circuits
Node-Voltage and Mesh-Current Analysis
2 Superposition and Linearity 8
Wye-Delta Transformation
Computer Aided Circuit Analysis
A Case Study
Analog Building Blocks and Operational Amplifiers Basic ideas
The Amplifier Block
Ideal Operational Amplifier
3 8
Practical Properties of Operational Amplifiers
Applications of Operational Amplifiers
A case study
Digital Building Blocks
4 8
Digital System Building Blocks
Digital System Components
Computer Systems
Computer Networks
A case study
Signal Processing:
Signals and Spectral Analysis
5 Modulation, Sampling and Multiplexing 8
Interference and Noise
A case Study
Communication Systems
Waves, Transmission Lines, waveguides and Antenna
Fundamentals
6 6
Analog Communication Systems
Digital Communication Systems
A Case Study
Basic Control Systems
Feedback Control Systems
7 6
Digital Control Systems
A Case Study
Reference Books:
1. Introduction to Electrical Engineering, M S Sarma, Oxford University Press
Course Outcome:
After completion of the course, the student will be able to –
Determine the behavior of simple passive electrical circuits with independent voltage and
current sources.
Design simple analog signal processing functions using operational amplifiers.
Design simple combinational and sequential functions using gates and flip-flops.
Explain the functioning of digital system components including DACs, ADCs, memory and
display devices,
Explain the organization of computer systems and computer networks.
Determine the properties of simple signal processing systems.
Determine the behavior of analog and digital communication systems.
Determine the behavior of simple linear feedback control systems
List of Experiments:
The practical/exercises should be properly designed and implemented with an attempt to develop
different types of skills so that students are able to acquire the competency. Following is the list of
experiments for guidance. A student should perform at least 10 experiments out of the given 14 with
at least one experiment from each Unit
Major Equipment’s:
(1) CRO (At least 20MHz)
(2) Function Generator (Frequency range up to 20 MHz) – need to have sine, square wave
output.
(3) Dual Power Supply (0-12V/15V DC)/3A
(4) Micrometers for measurement of voltage and current with suitable ranges.
(5) Multimeter
(6) Various Electronics Components including different types of Op Amps and digital ICs.
(7) PCs
*PA (M): 10 marks for Active Learning Assignments, 20 marks for other methods of PA;
ACTIVE LEARNING ASSIGNMENTS: Students will prepare power-point slides, which include
videos, animations, pictures, graphics for better understanding theory and practical work – The
faculty will allocate chapters/ parts of chapters to groups of students so that the entire syllabus of
Basic Electronics is covered. The power-point slides should be put up on the web-site of the
College/ Institute, along with the names of the students of the group, the name of the faculty,
Department and College on the first slide. The best three works should be sent to
[email protected].
**PA (I): The faculty may also allocate additional marks out of PA for Practical Work, in addition
to the regular practicals. This work may be as follows:
(i) Practical work planned by students, with the approval/ guidance of the students.
(j) Preparation of a case study on a present day electronic system of choice.
Basic Electronics ( 2110016 ) Chapter 1: Circuit Concepts
CHAPTER 1
CIRCUIT CONCEPTS
1. Introduction
4. Kirchhoff’s Laws
8. Questions
1.1 INTRODUCTION:
Electric circuits are collections of circuit elements. An electric circuit is an inter connection
of simple electric devices that have at least one closed path in which current may flow.
A circuit element is any individual circuit component which gets connected to the other
components in a network.
An electric circuit is an idealized mathematical model of some physical circuit. The ideal
circuit elements are the resistor, the inductor, the capacitor and the voltage and current sources.
Electrical engineering is concerned with the analysis and design of electrical circuits, systems
and devices. In this chapter we will learn the fundamental concepts of all circuits.
To understand the operation of electric circuits we must familiar with electrical quantities such
as charge, current and voltage.
2 Electrons
Electrons are negative charge (-) and it has charge of – 1.6 X 10-19 coulombs (C).
3 Neutron
The neutron has zero charge.
(a) (b)
Fig. 1.2: (a) Repulsion (b) Attraction
Forces 𝐹̅ 21 and 𝐹̅ 12 are due to Q2 and Q1. They are equal in magnitude and opposite of each
other in direction.
The magnitude of the force is proportional to the product of the charge magnitudes.
The magnitude of the force is inversely proportional to the square of the distance between the
charges.
The magnitude of the force depends on the medium.
The direction of the force is along the line joining the charges.
Ex 1: (A) A small region of an impure silicon crystal with dimensions 1.25 × 10−6 m ×10−3 m
×10−3 m has only the ions (with charge +1.6 X 10−19 C) present with a volume density of
1025/m3. The rest of the crystal volume contains equal densities of electrons (with charge −1.6
× 10−19 C) and positive ions. Find the net total charge of the crystal.
(B) Consider the charge of part (A) as a point charge Q1. Determine the force exerted by this
on a charge Q2 = 3μC when the charges are separated by a distance of 2 m in free space as
shown in figure.
(C) If the another charge Q3 = - 2μC is added to the system 1 m above Q2, as shown in figure,
calculate the force excreted on Q2.
Solution:
In the region where both ions and free electrons exist, their opposite charge cancel. So the net
charge density is zero.
The volume charge density = volume × charge
ρ = (1025) (1.6 × 10−19) = 1.6 × 106 C/m3
The resultant force F2 acting on Q2 is in the superposition of F12 and F32 due to Q1 and Q3
respectively.
2. Insulators:
Materials that do not allow charge to move easily. Electric current cannot be made to flow
through it.
An insulator has very high resistance to the flow of charge.
Insulating materials wrapped around the conducting core of the wire.
Examples: Glass, Plastic, Ceramics, Rubber etc.
3. Semi-Conductors:
Semiconductors conductivity lies between conductors and insulators.
Semiconductor has moderate resistance to the flow of charge.
Examples: Silicon, Germanium, Gallium, Arsenide etc.
Current:
Rate of flow of electrons is known as current.
I=Q/t
Where,
I = Current, Q = Charge, t = Time
Magnetic Force:
It shows two loops of wire in free space carrying currents I1 and I2.Considering a differential
element dl1 of loop 1 and a differential element dl2 of loop 2.
The differential magnetic force by the differential current element is
𝜇
d𝐹̅ 21= I1 d𝑙 1̅ × 0 2 [ I2 d𝑙 2̅ × 𝑎̅21 ]
4𝜋𝑅
𝜇
d𝐹̅ 12 =I2 d𝑙 2̅ × 0 2 [ I2 d𝑙 2̅ × 𝑎̅12 ]
4𝜋𝑅
Where 𝑎̅21 and 𝑎̅12 are unit vectors along the line joining the two current elements, R is the
distance between the centers of the elements, μ0 is the permeability of free space.
The magnitude of the force is proportional to the product of the two currents and the product
of the lengths of the two current elements.
The magnitude of the force is inversely proportional to the square of the distance between the
current elements.
Each current element is acted upon by a magnetic field due to the other current element,
d𝐹̅ 21 = I1 d𝑙 1̅ × B2
d𝐹̅ 12 = I2 d𝑙 2̅ × B1
DARSHAN INSTITUTE OF ENGINEERING AND TECHNOLOGY, RAJKOT
6
EC DEPARTMENT / SEM 2 (EC, CE, EE)
Basic Electronics ( 2110016 ) Chapter 1: Circuit Concepts
Where B is known as the magnetic flux density with unit of N/A·m, Webers per square meter
(Wb/m2) or tesla (T).
Current distribution is the source of magnetic field, just as charge distribution is the source of
electric field.
𝜇
𝐵̅2 = 0 2 (I2 d𝑙 2̅ × 𝑎̅21)
4𝜋𝑅
𝜇
𝐵1 = 0 2 (I1 d𝑙 1̅ × 𝑎̅12)
̅
4𝜋𝑅
This equation is known as the Biot–Savart law.
Ex 2: Consider a length of 10−6 m of wire whose center is located at the point (1, 0, 0), carrying
a current of 2 A in the positive direction of x.
(A) Find the magnetic flux density due to the current element at the point (0, 2, 2).
(B) Let another current element of length 10-3 m be located at the point (0, 2, 2), carrying a
̅𝒚 + 𝒂
current of 1 A in the direction of (- 𝒂 ̅𝒛 ). Evaluate the force on this current element
due to the other element located at (1, 0, 0).
Solution:
1.2.4 Definitions:
Unit Charge:
A charge of 1 coulomb is also called as unit charge.
Electric Field:
The region around a charged body where another charged body experiences a mechanical force.
Electric Flux:
Electric flux is defined as the number of lines of force in any particular electric field.
It is measured in Coulomb (C).
Electric potential:
Electric potential is defined as Energy per unit charge. Potential is always reference to some
point.
When electrical forces act on a particle, it will possess potential energy.
Electric Potential = Work done / Charge OR V=W/Q
Unit of electric potential is Joule / Coulomb (J/C) or Volt (V).
One Volt:
A body is said to have a potential of 1 volt, if 1 joule of work is done to give it a charge of 1
coulomb.
VA VB A B
5V 1V
CURRENT
POTENTIAL VA 5V 1V VB
DIFFERENCE
VAB = VA – VB CONNECTED
WIRE
So body A is at higher potential then B and the potential difference between A and B is given
by VAB.
VAB = VA – VB = 5 – 1 = 4 V.
Voltages can be either positive or negative numbers, and it follows that VBA = −VAB.
If VA > VB Positive potential difference.
If VA < VB Negative potential difference.
Energy:
Total work done in an electric circuit is called electric energy.
The energy over a time interval is found by integrating power,
𝑤 = ∫ 𝑝 𝑑𝑡
0
E=Pxt
Power:
Power is defined as the rate of doing work or the rate of change of energy dw/dt.
Power = Work done / Time.
P = I2R = V2/R
Unit of power is Watt. or J/Sec or Volt Ampere.
1 kWh = 1 kW x 1 hr
= 103 x 60 x 60 sec
= 36 X 105 Watt Sec
= 36 X 105 J.
Ex 3: A typical 12-V automobile battery, storing about 5 mega joules (MJ) of energy, is
connected to a4-A headlight system.
(a) Find the power delivered to the headlight system.
(b) Calculate the energy consumed in 1 hour of operation.
(c) Express the auto-battery capacity in ampere-hours (Ah)
(d) compute how long the headlight system can be operated before the battery is completely
discharged.
Solution:
(b) Assuming V and I remain constant, the energy consumed in 1 hour will equal
E = P x t = 48(60 × 60) = 172.8 × 103J = 172.8 kJ
A voltage rise indicates an electric source, with the charge being raised to a higher potential,
whereas a voltage drop indicates a load, with a charge going to a lower potential.
The voltage across the source is the same as the voltage across the load.
Source supplies energy and load absorbs energy.
Node: A node is a point at which two or more components or devices are connected together.
Branch: part of a circuit containing only one component, source, or device between two nodes
is known as a branch.
When current flows out of the positive terminal of an electric source, it implies that nonelectric
energy has been transformed into electric energy.
Examples: Generator Source - mechanical energy → electric energy, Battery Source -
chemical energy → electric energy, Solar-Cell Source - solar energy → electric energy.
When current flows in the direction of voltage drop, it implies that electric energy is
transformed into nonelectric energy.
Examples: Electric Heater - electric energy → thermal energy, Motor Load - electric energy
mechanical energy, Charging Battery - electric energy → chemical energy.
(a) (b)
Fig. 1.8: Voltage sources. (a) Ideal dc source (battery). (b) Ideal sinusoidal ac source.
An ideal current source is defined as one whose current i is a specified function of time,
regardless of the voltage across its terminals.
(a) (b)
Fig. 1.9: Circuit symbols and i–v curves. (a) Ideal voltage source. (b) Ideal current
source
Ideal sources could theoretically produce infinite energy, as infinite values are physically
impossible.
2. Dependent sources:
The sources whose voltage or current does depend on the value of some other voltage or
current. Such sources are known as dependent sources or controlled sources.
+
-
(a) (b)
Fig. 1.10: (a) Dependent voltage source (b) Dependent current source
1.2.9 Waveforms:
Fig. 1.11: (a) Sinusoidal wave (b) Square wave (C) Triangular wave (D) Sawtooth wave
1. Instantaneous value:
The value of an alternating quantity (voltage, current, power etc.) at any instant is called its
instantaneous value.
2. Cycle:
One complete set of positive and negative value of an alternating quantity is known as cycle.
3. Amplitude:
The maximum value (positive or Negative) of an alternating quantity is known as its
amplitude.
4. Time Period or Periodic Time (T):
It is defined as the time taken in second by the any waveform of an ac quantity to complete
one cycle.
T=1/f
5. Frequency:
The number of cycle completed by an alternating quantity per second is known as frequency.
f = 1 /T
Its unit is Hertz (Hz) or (Second)-1
6. Angular frequency:
It is defined as below;
ω = 2πf = 2π / T
1 2𝜋
𝐹𝑎𝑣𝑔 = ∫ Em sin (ωt + φ)𝑑𝑡
𝑇 0
1
𝐹𝑎𝑣𝑔 = 2𝜋
𝐶𝑂𝑆 (1 − 1) = 0
Solution:
1 𝑇2
𝐼𝑟𝑚𝑠 = √ ∫ 𝑖 (𝑡)𝑑𝑡
𝑇 0
Electric circuits or networks are formed by interconnecting various devices, sources, and
components Although the effects of each element (such as heating effects, electric-field effects
or magnetic-field effects) are distributed throughout space, one often lumps them together as
lumped elements.
Mainly two types of components are,
1. Passive components (like R which is represent heating effect, L which is represent
magnetic field, C which is represent electric field )
2. Active components (like transistor, diode, transformer etc.)
An ideal resistor is a circuit element with the property that the current through it is linearly
proportional to the potential difference across its terminals,
i = v/R = G X v or v = iR
Where,
ρ = Resistivity (Ώ-m)
L = Length of conductor (m)
A = Cross-sectional area of conductor (m2)
The resistivity of conductor metals varies linearly over normal operating temperatures
according to
ρT2 = ρT1 ((T2 + T) / (T1 + T))
Where ρT2 and ρT1 are resistivities at temperatures T2 and T1, respectively, and T is a
temperature constant that depends on the conductor material. All temperatures are in degrees
Celsius.
2. Metal-film resistors:
Metal-film resistors are used when a higher tolerance (more accurate value) is needed.
They are much more accurate in value than carbon film resistors. The metal-film resistor
is used for bridge circuits, filter circuits and low-noise analog signal circuits.
3. Composition resistors:
Carbon composition resistors consist of a solid cylindrical resistive element with embedded
wire leads or metal end caps to which the lead wires are attached. The body of the resistor
is protected with paint or plastic.
Fig. 1.13 (B): Calculation of Resistor value from color code chart
Fig. 1.14(b) shows two resistors in parallel sharing the current i in inverse proportion to their
values, while the same voltage v is applied across each of them. At node B,
i = i1 + i2 = v/R1 + v/R2 = v (1/R1 + 1/R2) = v / (R1R2 / R1 + R2) = v / Req
When R1 and R2 are in parallel,
Req = (R1R2) / (R1 + R2)
Ex 5: A no. 14 gauge copper wire, commonly used in extension cords, has a circular wire
diameter of 64.1 mils, where 1 mil = 0.001 inch.
(a) Determine the resistance of a 100-ft-long wire at 20°C.
(b) If such a 2-wire system is connected to a 110-V (rms) residential source outlet in order to
power a household appliance drawing a current of 1 A (rms), find the rms voltage at the load
terminals.
(c) Compute the power dissipated due to the extension cord.
(d) Repeat part (a) at 50°C, given that the temperature constant for copper is 241.5°C.
Solution:
Ex 6: (a) Consider a series parallel combination of resistors as shown in figure. Find the
equivalent resistance as seen from terminal A-B.
(b) determine the current I and power P delivered by a 10 V dc voltage source applied at
terminal A-B, with A being at higher potential than B.
(c) Replace the voltage source by an equivalent current source at terminal A-B.
(d) Show the current and voltage distribution clearly in all branches of the original circuit
configuration.
Solution:
Statement:
“Maximum power will be transferred from a source network to a load if the load resistance
RL is equal to equivalent resistance RS of the source network”
When RL approaches infinity, it is called an open circuit, in which case i L becomes zero and
VL is equal to V. To find the value of the load resistance that will absorb maximum power from
the source.
The power PL absorbed by the load is given by;
So ;
For given fixed values of v and RS, in order to find the value of RL that maximizes the power
absorbed by the load, one sets the first derivative dPL/dRL equal to zero,
So, in order to transfer maximum power to a load, the load resistance must be matched to the
source resistance or, in other words, they should be equal to each other.
Where;
Vint = internal voltage drop.
As seen from above Equation, the voltage actually seen by the load VL is somewhat lower than
the open-circuit voltage of the source.
When the load resistance RL is infinitely large, the load current iL goes to zero, and the load
voltage VL is then equal to the open-circuit voltage of the source V.
Hence, it is desirable to have as small an internal resistance as possible in a practical
voltage source.
Where iint is the internal current drawn away from the load because of the presence of the
internal source resistance.
Thus the load will receive only part of the short-circuit current available from the source.
When the load resistance RL is zero, the load voltage VL goes to zero, and the load current iL
is then equal to the short-circuit current of the source i.
Hence, it is desirable to have as large an internal resistance as possible in a practical
current source.
Ex 7: In the given circuit what is the maximum power that can be absorbed by the load R L
if it varied. What is power absorbed by the load if RL = 7 Ω and RL = 11 Ω.
RS = 9 ohm
V=8V RL
CASE-1: RL = 7 Ω
𝑉 8
𝐼= = = 0.5 𝐴𝑚𝑝
𝑅𝑆 + 𝑅𝐿 9+7
Power absorbed by the load;
𝑃 = 𝐼 2 𝑅𝐿 = (0.5)2 𝑋 7 = 1.75 𝑊𝑎𝑡𝑡𝑠
CASE-1: RL = 11 Ω
𝑉 8
𝐼= = = 0.4 𝐴𝑚𝑝
𝑅𝑆 + 𝑅𝐿 9 + 11
Power absorbed by the load;
𝑃 = 𝐼 2 𝑅𝐿 = (0.4)2 𝑋 11 = 1.76 𝑊𝑎𝑡𝑡𝑠
1.3.3 Capacitor:
Capacitor is an element that store the electrical energy in form of static charges.
Stored Electric energy is in form of charges.
Different types of capacitors are Air capacitor, paper capacitor, Ceramic capacitor, Plastic
capacitor, Electrolytic capacitor, Mica capacitor, Glass capacitor etc.
Its unit is Farad (F)
Solution:
10
50
25
250 V
Similarly;
Q = C1 V1
So; V1 = Q / C1 = 1562.5 / 10 = 156.25 V
Q = C2 V2
So; V2 = Q / C2 = 1562.5 / 50 = 62.5 V
Q = C3 V3
So; V3 = Q / C3 = 1562.5 / 25 = 31.25 V
Solution:
1 1
Energy stored in the capacitor is, E = 2 𝐶𝑉 2 = 10 𝑋 10−6 𝑋 10002 = 5 𝐽𝑜𝑢𝑙𝑒
2
1.3.4 Inductor:
Types of Inductor:
2 Variable inductor
Mutual Inductance:
When more than one loop or circuit is present, the flux produced by the current in one loop
may link another loop, thereby inducing a current in that loop.
Such loops are said to be mutually coupled, and there exists a mutual inductance between
such loops.
The mutual inductance between two circuits is defined as the flux linkage produced in one
circuit by a current of 1 ampere in the other circuit.
Let us now consider a pair of mutually coupled inductors, as shown in Figure 1.21.
The self-inductances L11 and L22 of inductors 1 and 2, respectively, are given by
Coefficient of coupling:
It is defined as the ratio of flux linkage to the total flux.
It is denoted by K.
𝜙12 𝜙21
𝐾= =
𝜙1 𝜙2
𝜙12
As we know 𝑀 = 𝑁2 𝑖1
𝜙21
And 𝑀 = 𝑁1 𝑖2
𝜙12 𝜙21
Multiply above two Eq. so we get, 𝑀2 = 𝑁2 𝑁1 𝑖1 𝑖2
Now put 𝜙12 = 𝐾𝜙1 𝑎𝑛𝑑 𝜙12 = 𝐾𝜙2
𝐾2 𝜙1 𝜙2
So 𝑀2 = 𝑁2 𝑁1 𝑖1 𝑖2
𝑁1 𝜙1 𝑁2 𝜙2
𝑀2 = 𝐾 2 𝑖1 𝑖2
𝑁1 𝜙1 𝑁2 𝜙2
Now put L1 = and L2 =
𝑖1 𝑖2
2 2
𝑀 = 𝐾 𝐿1 𝐿2
𝑀 = 𝐾√𝐿1 𝐿2
𝑀
K=
√𝐿1 𝐿2
Solution:
(a) Leq = L1 + L2 + L3 = 10 + 50 + 25 = 85 H
1 1 1 1 1 1 1 25
(b) = + + = + + = H
𝐿𝑒𝑞 𝐿1 𝐿2 𝐿3 10 50 25 4
Ex 11: A capacitor of capacity of 20 H and current flowing through it is 1 Amp. Find energy
stored in inductor.
Solution:
1 1
Energy stored in the capacitor is, E = 2 𝐿𝐼 2 = 20 𝑋 12 = 10 𝐽𝑜𝑢𝑙𝑒
2
1.3.5 Transformer:
Transformer is a static device because it does not contain any rotating or moving parts.
It is used to transfer electric power from one ac circuit to other ac circuit. During transfer of
power frequency remains same.
Input and output in the transformer both are ac quantities.
There are two types of transformer
1. Step up
If output voltage is higher than input voltage then it is known as step up transformer.
2. Step down
If output voltage is lower than input voltage then it is known as step down transformer.
It consist of core and on to the core primary and secondary coil is wounded.
It also consist of two coils/ windings;
1. Primary coil / winding
The coil which is connected to ac supply it is known as primary coil.
2. Secondary coil / winding
The coil which is connected to load it is known as secondary coil.
In transformer primary and secondary windings are isolated from each other as well as from
iron coil so there is no physical connections between primary and secondary windings.
Due to ac current which is produced in primary coil thus flux f is produce in the core.
Most of produced flux f gets linked with the secondary coil through core.
The varying flux f will induce voltage into the secondary coil due to mutual inductance
according to the faraday’s law of electromagnetic.
Ideal transformer:
Fig. 1.23 (B): Equivalent circuit viewed from source terminal for ideal transformer
An ideal transformer is one that has no losses (associated with iron or copper) and no leakage
fluxes (i.e., all the flux in the core links both the primary and the secondary windings).
In ideal transformer primary and secondary winding resistance are zero.
For ideal transformer V2 = E2 and V1 = E1 so;
𝑉1 𝐸1
𝑎= =
𝑉2 𝐸2
Efficiency of an ideal transformer is 100% because of no losses taking place.
Kirchhoff was a German scientist. He formulated two laws related with electrical circuits.
The two laws are;
1. Kirchhoff’s current law (KCL)
2. Kirchhoff’s voltage law (KVL)
These are basic laws that must be satisfied among circuit currents and circuit voltages. These
laws are fundamental for the systematic analysis of electric circuits.
These laws are used to determine the current in different branches and voltage at different node
of an electric circuit.
KVL states that the algebraic sum of the voltages (drops or rises) around a closed loop of a
circuit must be zero.
In other words, the sum of the voltage rises is equal to the sum of the voltage drops in a loop.
A loop that contains no other loops is known as a mesh.
Ex 12: Consider the circuit shown in Figure and determine the unknown currents using KCL.
Let us assign a + sign for currents entering the node and a − sign for currents leaving the node.
Applying KCL at node a, we get
+ iS − i1 − i4 − i5 = 0
10 − 5 − 3 − i5 =0
i5 = 2 A
Ex 13: For the circuit shown in Figure use KCL and KVL to determine i1, i2, vbd and vx. Also,
find veb
Using KVL around the loop abdea in the clockwise direction, we have
vab + vbd + vde + vea = 0
or
5 + vbd + 8 − 20 =0
vbd = 20 − 8 − 5 = 7 V
Applying KVL around the loop abfcea in the clockwise direction, we get
vab + vbf + vfc + vce + vea = 0
5 + 0 + 3 + vx + (−20) =0
vx = 20 − 3 − 5 = 12 V
Note that a direct connection between b and f implies ideal connection, and hence no voltage
between these points.
Voltmeter:
In order to measure the potential difference between two terminals or nodes of a circuit, a
voltmeter is connected across these two points.
A practical voltmeter can usually be modeled as a parallel combination of an ideal voltmeter
(through which no current flows) and a shunt resistance RV, as shown in Fig. 1.26.
The internal resistance RV of an ideal voltmeter is infinite, while its value in practice is of the
order of several million ohms.
There are what are known as DC voltmeters and AC voltmeters. An AC voltmeter usually
measures the rms value of the time-varying voltage.
Ammeter:
In order to measure the current through a wire or line of a circuit, an ammeter is connected in
series with the line.
A practical ammeter can usually be modeled as a series combination of an ideal ammeter and
an internal resistance RI.
The potential difference between the two terminals of an ideal ammeter is zero, which
corresponds to zero internal resistance.
There are what are known as DC ammeters and AC ammeters.
An AC ammeter usually measures the rms value of the time-varying current.
Note that for the ammeter to be inserted for measuring current, the circuit has to be broken,
whereas for the voltmeter to be connected for measuring voltage, the circuit need not be
disassembled.
Multimeter that measures multiple ranges of voltage and current are available in practice.
Ohmmeters measure the dc resistance by the use of Ohm’s law.
A Multimeter with scales for volts, ohms, and milli amperes is known as VOM.
An ohmmeter should not be used to measure the resistance of an electronic component that
might be damaged by the sensing current.
Instrument Transformers:
These are generally of two types, potential transformers (PTs) and current transformers
(CTs).
They are designed in such a way that the former may be regarded as having an ideal potential
ratio, whereas the latter has an ideal current ratio.
The accuracy of measurement is quite important for ITs that are commonly used in AC circuits
to supply instruments, protective relays, and control devices.
PTs are employed to step down the voltage to a suitable level, whereas CTs (connected in
series with the line) are used to step down the current for metering purposes.
Often the primary of a CT is not an integral part of the transformer itself, but is a part of the
line whose current is being measured.
In addition to providing a desirable low current in the metering circuit, the CT isolates the
meter from the line, which may be at a high potential.
Note that the secondary terminals of a CT should never be open-circuited under load.
The student is encouraged to reason and justify this precaution.
One of the most useful instruments for measuring currents in the ampere range is the clip-on
ammeter combining the CT with one-turn primary and the measurement functions.
Oscilloscope:
To measure time-varying signals (voltages and currents), an instrument known as an
oscilloscope is employed.
It can be used as a practical electronic voltmeter which displays a graph of voltage as a function
of time.
Such a display allows one not only to read off the voltage at any instant of time, but also to
observe the general behavior of the voltage as a function of time.
The horizontal and vertical scales of the display are set by the oscilloscope’s controls, such as
5 ms per each horizontal division and 50 V per each vertical division.
For periodic waveforms, the moving light spot repeatedly graphs the same repetitive shape,
and the stationary waveform is seen.
For non-periodic cases, a common way of handling is to cause the oscilloscope to make only
one single graph, representing the voltage over a single short time period.
This is known as single-sweep operation.
Since the display lasts for only a very short time, it may be photographed for later inspection.
Digital meters are generally more accurate and can be equipped with more scales and broader
ranges than analog meters.
On the other hand, analog meters are generally less expensive and give an entire range or scale
of reading, which often could be very informative.
A digital oscilloscope represents the combination of analog and digital technologies.
By digital sampling techniques, the oscilloscope trace is digitized and stored in the digital
memory included with the digital oscilloscope.
Digital oscilloscopes are generally more costly than analog ones, but their capability in the
analysis and processing of signals is vastly superior.
Wheatstone bridge:
Null measurements are made with bridge circuits and related configurations.
They differ from direct measurements in that the quantity being measured is compared with a
known reference quantity.
The balancing strategy avoids undesirable interaction effects and generally results in more
accurate measurement than the direct one.
By far the most common is the Wheatstone bridge designed for precise measurement of
resistance. Fig. 1.27 shows the basic circuit in which the measurement of an unknown
resistance Rx is performed by balancing the variable resistances Ra and Rb until no current
flows through meter A.
Where;
Rs is the known standard resistance.
There are other bridge-circuit configurations to measure inductance and capacitance.
Typical instruments utilizing bridge circuits are found in strain gauges measuring stress and in
temperature measuring systems with thermocouples and thermistors.
1. Pressure – Voltage:
Fig. 1.28(b) shows full of water tank. This is where the water pressure is stored. The more
amount of water in tank, the greater the water pressure.
The water tank in fig. 1.28(b) can be compared to the battery in fig. 1.28(a), where a battery
in an electric circuit stores the electric pressure (voltage).
An empty tank of water with no pressure is similar to an empty battery with no electric
pressure.
2. Flow – Current:
Turning of tap in Fig. 1.28(b) allows water, pushed out of the tank by pressure to flow
through the pipe and water wheels. This cause the wheels to rotate.
Similarly, in fig. 1.28(a) turning ON switch allows current flow, pushed out of the battery
due to electric pressure through the wire and bulb.
3. Restriction – Resistance:
The pipe size and wheel construction cause a restriction to the water flow. The restriction
of water flow is similar to resistance in an electric circuit.
In fig. 1.28(a) the wire and bulb offer a resistance to current flow. The size of wire and
bulb affect the amount of current flowing.
Thermal – Electrical analogy as below;
The resistance of a conductor with a circular cross-sectional area A, length l, and conductivity
σ is given by
R = l / (σA)
Depending on the compression or elongation as a consequence of an external force, the length
changes, and hence the resistance changes. The relationship between those changes is given
by the gauge factor G,
G = (ΔR/R) / (Δl / l)
Where, the factor Δl / l, the fractional change in length of an object, is known as the strain.
Alternatively, the change in resistance due to an applied strain ε (= Δl / l) is given by
ΔR = R0Gε
Where R0 is the zero-strain resistance, that is, the resistance of the strain gauge under no strain.
A typical gauge has R0 = 350 Ώ and G = 2. Then for a strain of 1%, the change in resistance is
ΔR = 7 Ώ.
A Wheatstone bridge is usually employed to measure the small resistance changes associated
with precise strain determination.
QUESTIONS
1.1 INTRODUCTION:
1. Give definitions of Circuit and Circuit Elements.
16. Two charges of equal magnitude 5 μC but opposite sign are separated by a distance of 10
m. find the net force experienced by a positive charge Q = 2 μC that is placed midway
between the two charges.
V = 15 V RL
2 ohm 2 ohm
12 V 6 V
10 ohm 3 ohm
4 ohm
24 V
2.1 Introduction:
In this chapter we consider some circuit analysis techniques, since one needs not only
basic knowledge but also practical and efficient techniques for solving problems
associated with circuit operations.
One simplifying technique often used in complex circuit problems is that of breaking the
circuit into pieces of manageable size and analyzing individually the pieces that may be
already familiar.
Equivalent circuits are introduced which utilize Thevenin’s and Norton’s theorem to
replace a voltage source by a current source or vice versa. Nodal and loop analysis
methods are then presented. The principles of superposition and linearity are discussed.
Also, wye-delta transformation is put forth as a tool for network reduction. Finally,
computer- aided circuit analysis with SPICE and MATLAB are introduced. The chapter
ends with a case study of practical application.
1) Network: The interconnection of two or more elements (sources, resistors etc.) is called
an electric network.
2) Circuit: If a network contains at least one closed path, it is called an electric circuit.
3) Node: The point at which two or more elements are connected together is generally
called as node e.g. A, B, C and E, in figure.
4) Junction: It is a point where three or more elements are connected together e.g. B and E
in figure-2.1.
5) Branch: A Section or portion of a network or circuit which lies between two junction
points is called as branch. As shown in figure-2.1, there are three branches between the
junctions B and E such as BE, BAE and BCE.
6) Loop: Any closed path in a network is called a loop e.g. ABEA, BCEB, ABCEA are the
loops in figure-2.1.
7) Mesh: It is the most elementary form of a loop and cannot be further divided into other
loops e.g. ABEA and BCEB are the meshes in figure-2.1 because they cannot be further
divided into other closed loops. But ABCEA cannot be called as mesh because it
encloses two loops ABEA and BCEB.
Statement:
Thevenin’s theorem states that any network having a number of energy sources and
resistances, when viewed form open its output terminal A and B and can be replaced by
simple equivalent network consisting of a single equivalent voltage source ( ) in series
with a single equivalent resistance ( ).
Where,
VTH = Thevenin’s equivalent voltage source
= Open circuit voltage across AB terminals
RTH = Thevenin’s equivalent resistance
= Equivalent resistance across AB terminals when all the sources set to zero.
Example-1
Figure-2.3
Solution:
Step-1: Disconnect the resistor from the network and redraw the remaining network.
Figure-2.4
Step-3: Determine the Thevenin resistance ( ) by using voltage source is replaced by short
circuit and current source is replaced by open circuit.
Figure-2.5
= = 2.30 Ω
Step-4: Draw Thevenin’s equivalent circuit and reconnect resistor between terminal A and B.
and find out the load current by using KVL.
Figure-2.6
OR
Example-2
Apply Thevenin’s theorem to calculate current flowing through 5 Ω resistor.
Figure-2.7
Solution:
Step-1: Disconnect the resistor from the network and redraw the remaining network.
Figure-2.8
Step-2: Determine the Thevenin voltage ( ) by using voltage divider method or
Kirchhoff’s Voltage Law.
Apply KVL in close loop
12-1I-2I-3I=0
I= = 2
=
Step-3: Determine the Thevenin resistance ( ) by using voltage source is replaced by short
circuit and current source is replaced by open circuit.
Figure-2.9
+ 2.5
=[ +2.5
+ 2.5 = 1.5 + 2.5 = 4 Ω
Step-4: Draw Thevenin’s equivalent circuit and reconnect resistor between terminal A and B.
and find out the load current by using KVL.
Figure-2.10
Example-3
Using Thevenin’s theorem find the current in 8Ω resistor in the given circuit of figure-
2.11.
Figure-2.11
Solution:
Step-1: Disconnect the resistor from the network and redraw the remaining network.
Figure-2.12
Step-2: Determine the thevenin voltage ( ) by using voltage divider method or Kirchhoff’s
Voltage Law.
Figure-2.13
So
Step-3: Determine the Thevenin resistance ( ) by using voltage source is replaced by short
circuit and current source is replaced by open circuit.
Figure-2.14
=
=3Ω
Step-4: Draw Thevenin’s equivalent circuit and reconnect resistor between terminal A and B.
and find out the load current by using KVL.
Figure-2.15
= = = 2 Amp
Statement:
Norton’s theorem states that any network having a number of energy sources and
resistances, when viewed form open its output terminal A and B and can be replaced by
simple equivalent network consisting of a single equivalent current source ( ) in
parallel with a single equivalent resistance ( ).
Example-4
Using Norton’s theorem, determine the current through 6 Ω resistor in figure-2.17
Figure-2.17
Solution
Step-1: Place a short circuit across the terminal A and B and calculate the short circuit
current ( ) as follows.
Figure-2.18
Figure-2.19
= 3.33 Ω
Step-4: Draw Norton’s equivalent circuit and reconnect resistor between terminal A and B.
and find out the load current.
Figure-2.20
=4 = 1.427 Amp
Example-5
Determine Norton’s equivalent circuit at terminal AB for the circuit shown in figure-
2.21
Figure-2.21
Solution
Step-1: Place a short circuit across the terminal A and B and calculate the short circuit
current ( ) as follows.
=
= 2+ 2 = 4 Amp
Figure-2.22
Step-3: Determine the Norton resistance or equivalent resistor or Thevenin resistor ( )
= 3.33 Ω
Figure-2.23
Example-6
Consider the circuit shown in Figure 2.24(a). Reduce the portion of the circuit to the left of
terminals a–b to (a) a Thevenin equivalent and (b) a Norton equivalent. Find the current
through R = 16 Ω, and comment on whether resistance matching is accomplished for
maximum power transfer.
Solution:
(a) Thevenin equivalent
The 6-A source with 24 Ω in parallel can be replaced by a voltage source of 6 × 24 = 144 V
with 24 in series using source transformation, in terms of voltage sources, the equivalent
circuit to the left of terminals a–b is shown in Figure 2.24(b).
Deactivating or zeroing all ideal sources, i.e., replacing voltage sources by short circuits in
the present case, the circuit of Figure (b) reduces to that shown in Figure-2.24(c). Terminals
a–b, the 48-Ω resistor and the 24- Ω resistor are in parallel, in figure-2.24(c)
The Thevenin equivalent to the left of terminals a–b, attached with the 16- Ω resistor, is shown
in Figure-2.24(d). Note that the Thevenin equivalent of any linear circuit consists of a single
Thevenin voltage source in series with a single equivalent Thevenin resistance.
The current in the 16- Ω resistor to the right of terminals a–b can now be found,
I = 128/32 = 4 A
Solution:
The 96-V source with 48 Ω in series can be replaced by a current source of 96/48 = 2A with
a parallel resistance of 48 Ω. Thus, by using source transformation, in terms of current
sources, the equivalent circuit to the left of terminals a–b is given in Figure-2.24.
Figure-2.24(e)
Shorting terminals a–b, find Isc ,
Isc = 6+2=8 A.
Replacing current sources by open circuits, viewed from terminals a–b,
RTh = = 16 Ω ,
which is the same as in part (a). The circuit of Figure-2.24(e) to the left of terminals a–b
reduces to that shown in Figure-2.24(f).
Example-7
Consider the circuit of Figure 2 . 25 (a), including a dependent source. Obtain the Thevenin
equivalent at terminals a–b.
Figure-2.25 (a)
Solution:
First, the open-circuit voltage at terminals a–b is to be found.
KCL at node a: I + 9I = , or = 10 I
KVL for the left-hand mesh:
2000 I + 200 = 10, or 4000 I = 10, or I = 1/400 A
Voc = 200 = 200 × 10 I = 2000(1/400) = 5V
Because of the presence of a dependent source, in order to find RTh, one needs to determine
I sc after shorting terminals a–b, as shown in Figure 2.25(b).
⁄
Thus, the Thevenin equivalent is given in figure-2.25(c)
The node-voltage and mesh-current methods, which complement each other, are well-
ordered systematic methods of analysis for solving complicated network problems.
The former is based on the KCL equations, whereas the KVL equations form the basis
for the latter.
A set of node-voltage variables that implicitly satisfy the KVL equations is selected in
order to formulate circuit equations in this nodal method of analysis.
A reference (datum) node is chosen arbitrarily based on convenience, and from each of
the remaining nodes to the reference node, the voltage drops are defined as node-voltage
variables.
The circuit is then described completely by the necessary number of KCL equations
whose solution yields the unknown nodal voltages from which the voltage and the
current in every circuit element can be determined.
Thus, the number of simultaneous equations to be solved will be equal to one less than
the number of network nodes.
All voltage sources in series with resistances are replaced by equivalent current sources
with conductances in parallel.
Note that the nodal-voltage method is a general method of network analysis that can be
applied to any network.
Figure-2.26 is redrawn as Figure-2.27, in which one can identify three nodes, A, B, and O.
Notice that the voltages VAO, VBO, and VAB satisfy the KVL relation:
where the node voltages VA and VB are the voltage drops from A to O and B to O,
respectively. With node O as reference, and with VA and VB as the node-voltage unknown
variables, one can write the two independent KCL equations:
(1)
(2)
An examination of these equations reveals a pattern that will allow nodal equations to be
written directly by inspection by following the rules given here for a network containing no
dependent sources.
1. For the equation of node A, the coefficient of VA is the positive sum of the conductances
connected to node A; the coefficient of VB is the negative sum of the conductances
connected between nodes A and B. The right-hand side of the equation is the sum of
the current sources feeding into node A.
2. For the equation of node B, a similar situation exists. Notice the coefficient of VB to be
the positive sum of the conductances connected to node B; the coefficient of VA is the
negative sum of the conductances connected between B and A. The right-hand side of the
equation is the sum of the current sources feeding into node B.
Example-8
Use nodal analysis to find the voltage across 5 Ω resistor, for the network of figure-
2.28
Figure-2.28
Solution:
Step-1 Identify the no. of nodes in the given circuit.
Figure-2.29
There are three nodes named A, B and C. Let us consider node C as reference node.
Let us assume potential at node A is and potential at node B is is as shown.
Step-2 Applying KCL at node-A,
(1)
Applying KCL at node-B,
(2)
Example-9
Find current through 2 Ω resistance using nodal analysis.
Figure-2.30
Solution:
Step:1 Convert voltage source into current source and write conductance value in place of
resistance value
Figure-2.31
Step-2 Applying KCL at node-1
(1)
(2)
Example-10
By means of nodal analysis, find the current delivered by the 10-V source and the voltage
across the 10- Ω Resistance in the circuit shown in Figure-2.32 (a)
Figure-2.32 (a)
Solution:
Figure-2.32 (b)
Step 1: Replace all voltage sources with series resistances by their corresponding Norton
equivalents consisting of current sources with shunt conductances. The given circuit is
redrawn in Figure 2.32(b) by replacing all resistors by their equivalent conductances.
Step 2: Identify the nodes and choose a convenient reference nodes O. this is also shown in
figure 2.32(b).
Step 3: In terms of unknown node-voltage variables, write the KCL equations at all nodes
(except, of course, the reference node) by following rules 1 and 2 for nodal equations given
in this section.
Node A:
Node B:
Node C:
Rearranging, one gets
Step 4: Simultaneously solve the independent equations for the unknown nodal voltages
by Gauss elimination or Cramer’s rule. In our example, the solution yields
Figure-2.32 (c)
Step 5: Obtain the desired voltages and currents by the application of KVL and Ohm’s law.
To find the current I in the 10-V source, since it does not appear in Figure 3(b) redrawn for
nodal analysis, one has to go back to the original circuit and identify the equivalence
between nodes A and O, as shown in Figure-2.32(c).
or
Now one can solve for I, delivered by the 10-V source
The voltage across the 10-Ω resistance is VB − VC = 8.43 − 17.77 = −9.34 V. The negative
sign indicates that node C is at a higher potential than node B with respect to the reference
node O.
Example-11
For the network shown in figure, find the current in each resistor by means of nodal
analysis
Figure-2.33
Note that the reference node is chosen at one end of an independent voltage source, so that
the node voltage VA is known at the start,
Note that we cannot express the branch current in the voltage source as a function of VB and
VC. Here we have constrained nodes B and C. Nodal voltages VB and VC are not independent.
They are related by the constrained equation
VB − VC = 24 V
Let us now form a supernode, which includes the voltage source and the two nodes B and
C, as shown in Figure-2.33. KCL must hold for this supernode, that is, the algebraic sum of
the currents entering or leaving the supernode must be zero. Thus one valid equation for the
network is given by
OR
which reduces to
VB + VC = 10 V
Loop ABDA: or
(1)
Loop BCDB: or
(2)
Notice that current I 1 exists in R1 and R2 in the direction indicated; I2 exists in R2 and R3
in the direction indicated; hence, the net current in R2 is I1 − I2 directed from B to D. An
examination of Equations (1) and (2) reveals a pattern that will allow loop equations to be
written directly by inspection by following rules:
1. In the first loop equation with mesh current I 1, the coefficient of I 1 is the sum of the
resistances in that mesh; the coefficient of I 2 is the negative sum of the resistances
common to both meshes. The right-hand side of the equation is the algebraic sum of the
source voltage rises taken in the direction of I 1.
2. Similar statements can be made for the second loop with mesh current I 2. (See also the
similarity in setting up the equations for the mesh-current and nodal-voltage methods of
analysis.)
Such a formal systematic procedure will yield a set of N independent equations of the
following form for a network with N independent meshes containing no dependent
sources:
Example-12
For the given network, of figure write the mesh curr ent equations and
determine the currents.
Figure-2.37
Solution:
Applying KVL to the above circuit,
1st loop equation,
(1)
2nd loop equation
(2)
So
10/40 =0.25 A
Put the value of in equation (1)
So,
Example-13
Determine the mesh currents I 1, I 2 and I 3 for network shown figure.
Figure-2.38
Solution:
Applying KVL to the above circuit
The mesh current equations are,
KVL for loop-1,
(1)
KVL for loop-2
(2)
KVL for loop-3
(3)
From equation (1), (2) and (3)
[ ] =[ ] [ ]
Now,
| |
| |
| |
| |
Example-14
By means of mesh-current analysis, obtain the current in the 10-V source and the voltage
across the 10-Ω resistor in the circuit.
Figure-2.39
Solution:
Step-1: Replace all current sources with shunt resistances by their corresponding Thevenin
equivalents consisting of voltage sources with series resistances. Conductances included in
the circuit are replaced by their equivalent resistances.
In this example, since there are no current sources and conductances, the circuit of Figure-
2.39 is redrawn as Figure 2 for convenience.
Step-2: Identify elementary loops (meshes) and choose a mesh-current variable for each
elementary loop, with all loop currents in the same clockwise direction. Mesh currents I 1, I 2,
and I 3 are shown in Figure 3.
Step-3: In terms of unknown mesh-current variables, write the KVL equations for all
meshes by following the rules for mesh analysis.
Step-4: Simultaneously solve the independent equations for the unknown mesh currents
by Gauss Elimination or Cramer’s rule.
In this example the solution yields
I1 = 1.132 A; I2 = 0.711 A; I3 = 1.645 A
Figure-2.40
Solution:
Note that we cannot express the voltage across the current source in terms of the mesh currents
I1 and I2 . The current source does, however, constrain the mesh currents by the following
equation:
Let us now form a supermesh, which includes meshes 1 and 2, as shown in Figure. We now
write a KVL equation around the periphery of meshes 1 and 2 combined. These yields
Now we have the three linearly independent equations needed to find the three mesh
currents I1, I2, and I3
, ,
The current delivered by the 10-V source is −I2 , or −20/9 A. That is to say, the 10-V source is
absorbing the current 20/9 A.
The voltage across the 3-Ω resistor is Vx = 3 = 3(70/27) = 70/9 = 7.78 V.
Since a controlled source acts at its terminals in the same manner as does an independent
source, source conversion and application of KCL and KVL relations are treated
identically for both types of sources.
Because the strength of a controlled source depends on the value of a voltage or current
elsewhere in the network, a constraint equation is written for each controlled source.
After combining the constraint equations with the loop or nodal equations based on
treating all sources as independent sources, the resultant set of equations are solved for the
unknown current or voltage variables.
Example-16
Consider the circuit in Figure-2.41, which include a controlled source, and find the current in
the 5-V source and the voltage across the 5-Ω resistor by using (a) The loop-current method
and (b) The node-voltage method.
Figure-2.41
Solution:
(a) Loop-Current Method:
The voltage-controlled current source and its parallel resistance are converted into a voltage-
controlled voltage source and series resistance. When you are source transforming dependent
sources, note that the identity of the control variable (i.e., the location in the circuit) must be
retained.
Figure-2.42
The converted circuit is shown in Figure-2.42 with the chosen loop currents I 1 and I 2
Combining the constraint equation with the loop equations, one gets
; or
from which
Thus, the current through the 5-V source is , and the
voltage across the 5- Ω resistor is
Figure-2.43
The constraint equation is
Combining these with the nodal equations already written, one has
Superposition theorem is used to solve electrical circuits which have more than one
energy source.
This theorem is applicable to only linear circuit.
Therefore, it is not applicable to circuit which have non-linear elements such as diodes,
transistors etc.
Example-17
To explain the superposition theorem let us find the current 9 Ω resistor as shown in
the circuit.
Figure-2.44
Solution:
Step-1 Let us first consider voltage V1 only and reduce the current source to zero (open circuit)
Figure-2.45
Therefore,
from A to B
Step-2 Let us now consider current source I2 alone reducing voltage source, V1 to zero(replacing
it by short circuit)
Figure-2.46
from A to B
Step-3 Calculation of I9
Therefore, current in 9 Ω resistor when both the sources are acting,
I9 = algebraic sum of the two current
Example-18
Determine the current in each resistor of figure using the superposition theorem.
Figure-2.47
Solution:
Step-1: Consider 50 V source alone
Figure-2.48
The total resistance across 50 V =
Current supplied by 50 V source,
Current in 10 Ω resistor,
Current in 3Ω resistor,
Current in 5Ω resistor,
Figure-2.49
Current in 3 Ω resistor,
Current in 10 Ω resistor,
Figure-2.50
Example-19
Determine the voltage across the 20-Ω resistor in the following circuit of Figure 2.51 with the
application of superposition. (W-2014) (7)
Figure-2.51
Solution:
Let us suppress the independent sources in turn, recognizing that there are two independent
sources.
First, by replacing the independent current source with an open circuit, the circuit is drawn
in Figure-2.52.
Figure-2.52
Notice that the designation of V’ across the 12-Ω resistor and V’/3 as the dependent current
source for this case. At node B,
or
= = 64 V
Figure-2.53
Next, by replacing the independent voltage source with short circuit, the circuit is shown in
figure-2.53. Notice the designation of across the 12-Ω resistor and as the dependent
current source for this case. At node A,
or V
and at node B,
( ) or V
Thus, the voltage across the 20-Ω resistor for this part of the solution is
V
Then the total net response, by superposition, is
The principle of superposition is indeed powerful tool for analyzing a wide range of linear
systems in electrical, mechanical, civil or industrial engineering.
= (1)
Now consider start connection. The resistance between the same terminals 1 and 2
(figure-2.55(b)) is . (2)
Since the two systems are identical, resistance measured between terminals 1 and 2 in
both systems must be equal. Therefore equating the equation (1) and (2), we get.
(3)
Similarly for terminals 2 and 3 and terminals 3 and 1, we get
(4)
And
(5)
Now subtracting (4) from (3) and adding the result to (5) we get,
Similarly,
Figure-2.57
From result of delta-star transformation we know that
(1)
(2)
(3)
Multiplying equation (1) to (2), (2) to (3) and (3) to (1), we get
(4)
(5)
and (6)
( )
Similarly,
Figure-2.58
Example-20
Find out resistance between terminals A and B.
Figure-2.59
Solution:
First convert delta ∆ ACD into star.
Figure-2.60
Figure-2.61
The resistance 10 Ω and 10 Ω are in series. Again these series combinations are in parallel.
Thus equivalent resistance is given by
Figure-2.62
Example-21
Find the resistance between the terminal A and B in the network shown in the figure-
2.63.
Figure-2.63
Solution:
Convert star to delta equivalent:
Figure-2.64
Figure-2.65
Figure-2.66
Figure-2.67
Example-22
Use delta–wye transformation for network reduction and determine the current through the
12-Ω resistor in the circuit of Figure-2.68
Figure-2.68 (a)
Figure-2.68 (b)
By current division,
Ideally, we would actually build and test actual circuits to understand all of its behaviors.
However, we would need breadboard, components, connecting wires etc. actual circuits
also require expensive equipment like power supplies, signal generators and
oscilloscopes.
SPICE included following analysis:
1) AC analysis
2) DC analysis
3) DC transfer curve analysis
4) Noise analysis
5) Transfer function analysis
6) Transient analysis
Figure-2.69 (a)
What is MATLAB?
MATLAB is computer program that combines computation and visualization power that
makes it particularly useful tool for engineers.
MATLAB is an executive program, and a script can be made with a list of MATLAB
commands like other programming language.
Voltage and current in an electric network are easily measured. They obey Kirchoff’s laws,
KCL and KVL, and facilitate the monitoring of energy flow. For these reasons, voltage and
current are used by engineers in order to describe the state of an electric network.
When a car battery is weak, say 11 V in a 12-V system, in order to jump-start that car,
we bring in another car with its engine running and its alternator charging its battery.
Let the healthy and strong battery have a voltage of 13 V. According to the recommended
practice, one should first connect the positive terminals with the red jumper cable, as
shown in Figure-2.70, and then complete the circuit between the negative terminals with
the aid of the black jumper cable.
Note that the negative terminal of any car battery is always connected to its auto chasis.
Figure-2.70 Jumper cable connections for jump starting a car with a weak battery.
where vg1 is the voltage across the airgap, or the voltage existing between the black jumper
cable and the negative terminal of the weak battery.
Now suppose one makes, by mistake, incorrect connections, as shown in Figure-2.71. Note
that the red jumper cable is connected between the positive terminal of the strong battery
and the negative terminal of the weak battery. Application of the KVL now fields.
or
where vg2 is the gap voltage with incorrect connections. With such a large voltage difference,
when one tries to complete the black jumper cable connection, it presents a danger to both
batteries and to the person making the connections.
Figure-2.71 Incorrect connections for jump starting a car with a weak battery.
P = V I = 12.5 × 60 = 750 W
W = 750 × 10 = 7500 J
Thus, simple circuit models can be used to simulate various physical phenomena of
practical interest. They can then be analyzed by circuit-analysis techniques to yield
meaningful solutions rather easily.
Problems:
1) Reduce the circuit of figure-2.73 to a Thevenin and a Norton equivalent circuit.
Ans.( )
Figure-2.73
2) Find the Thevenin and Norton equivalent circuits for the configuration of figure-2.74 as
viewed from terminal a-b. Ans.( )
Figure-2.74
3) Use the node-voltage method to find the current I through the 5-Ω resistor of the circuit
of figure-2.75 Ans.
Figure-2.75
4) Use the node-voltage method to determine the voltage across the 12- Ω resistor of the
circuit given figure-2.76. Verify by mesh analysis. Ans.
Figure-2.76
5) (a) Find the voltage across the 8-A current source in the circuit of figure 2.77 with the
use of nodal analysis. Ans.
(b) determine the current in the 0.5 resistor of the circuit by mesh analysis.
Ans.
Figure-2.77
6) Determine the current I through the 10- Ω resistor of the circuit of figure-2.78 by the
application of superposition. Ans.
Figure-2.78
7) Find the current I1 through the 20- Ω resistor of the circuit of figure-2.79 by the
application of superposition. Ans.
Figure-2.79
8) Find the power delivered by the source in the circuit given in figure-2.80. use network
reduction by wye-delta transformation. Ans.
Figure-2.80
AMPLIFICATION
Amplification is process of adding strength to the input signal without changing its
shape.
The circuit which amplifies a small input signal is called as amplifier.
An amplifier receives a signal from transducer or sensor or other input source and
provides a larger version of the signal to some output device or to another amplifier
stage.
An input signal is from transducer generally small in few millivolts from a cassette or
CD input, or a few microvolts from an antenna, microphone. Its needs to be amplified
sufficiently to operate an output device like speaker, relay or other power-handling
device which works at large power.
An amplifier can be modeled as a two-port device, that is, a box with two pairs of
terminals designated as input and output, as shown in Figure 1.1
Figure 1
Figure 1.1
Thus, the amplifier block is a linear circuit block in which the output is proportional
to the input, and the amplifier is characterized by the three constants Ri, Ro, and A.
The input and output resistances may be generalized to input and output impedances
in ac systems.
Vin = IS
Vout =A Vin =
a) Voltage amplification ( AV )
Figure 2
In this circuit a signal voltage VS is applied to the input of the amplifier block,
whereas the output terminals are connected to a load resistance RL.
Evaluate the ratio of the voltage across the load to the signal voltage V L/VS, which is
known as voltage gain AV,
Av = = = RL=
c) Power gain ( AP )
The power gain AP, defined by the ratio of the power delivered to the load to the
power given out by the signal source, is obtained as
For fixed values of Ro and Ri, AP is maximized when RL is chosen equal to Ro, and this
corresponds to maximum power transfer to the load.
EXAMPLE
For given two port block determine:
a) Vi.
b) Ii.
c) Zi.
d) Av.
SOLUTION
Figure 3
The symbol for the OP-AMP is shown in Figure having two terminals labelled Vin+
(non inverting terminal) and Vin− (inverting terminal) are available for inputs. The
voltages of these terminals are labelled with respect to a ground.
The output voltage is related to the difference between the two input voltages as
VO = AV ( Vin + - Vin− )
Figure 4
Input stage
It is a dual input balanced output differential amplifier. This stage provides most of
the voltage gain of the amplifier and also establishes the input resistance(Ri) of the
OPAMP.
Intermediate stage
It is another differential amplifier which is driven by the output of the first stage. This
is usually dual input unbalanced output.
Level Shifting Stage
Because direct coupling is used, the dc voltage level at the output of intermediate
stage is well above ground potential. Therefore level shifting circuit is used to shift
the dc level at the output downward to zero with respect to ground.
Output stage
It is generally a push pull complementary amplifier. The output stage increases the
output voltage swing and raises the current supplying capability of the OPAMP. It
also provides low output resistance (RO).
OPAMP has two input terminals and one output terminal. Input mode can be
determined by how you connect input signal to the both input terminals of OPAMP.
Different OP-AMP input mode listed below.
a) Single input
b) Double-ended or differential input
c) Common-mode operation
a) Single input
In Single-ended input operation the input signal is connected to one input terminal
and the other input terminal connected to ground. Figure 5.1 shows the signals
connected for this operation.
Figure 5.2
In addition to using only one input, it is possible to apply signals at each input it’s
called a double-ended operation.
Figure 5.3 given below shows an input Vd applied between the two input terminals
(recall that neither input is at ground), with the resulting amplified output in phase
with that applied between the plus and minus inputs.
Figure 5.3
Figure 5.4
c) Common-mode operation
When the same input signals are applied to both inputs, common-mode operation
results, as shown in Figure 5.5.
Figure 5.5
Ideally, the two inputs are equally amplified, and since they result in opposite polarity
signals at the output, these signals cancel, resulting in 0-V output. Practically, a small
output signal is present.
Producing a zero output voltage for common mode signal is called as common mode
rejection.
OP-AMP PARAMETERS
OP-AMP characteristics are important in practice because we use them to identify the
performance of various OP-AMP ICs and select the best suitable from them for the
required application.
OP-AMP characteristics can be classified into two categories.
(i) DC characteristics and
(ii)AC characteristics.
DC characteristics include input bias current , input offset current, input offset voltage
and thermal drift whereas AC characteristics include the frequency response, slew
rate, stability of OPAMP, frequency compensation etc.
It is internal voltage gain of the device and represents by the ratio of output voltage to
input voltage when there are no external components.
VO = AV × Vd
2. INPUT RESISTANCE ( Ri )
It is defined as the resistance looking into the two input terminals of OP-AMP.
For Ideal OP-AMP, it is infinite (∞).
A typical value for an OP-AMP 741 is 2 MΩ
3. OUTPUT RESISTANCE ( Ro )
4. BANDWIDTH
It is the difference between the upper and lower frequencies in a continuous set of
frequencies over which OP-AMP can work.
For Ideal OP-AMP, it is infinite (∞).
A typical value for an OP-AMP 741 is 1 MHz
CMRR =
CMRR(dB) = 20 log
Figure 5.8
When both inputs are tied to ground the output voltage should be zero. In practice
there will be some voltage due to mismatches in amplifier components which produce
significant output voltage. The input offset voltage Vios is the differential input
voltage required to make the output zero.
Ideally it is zero.
A typical value for an OP-AMP 741 is few Milivolt range. It is temperature
dependent.
Figure 5.9
This is the average of the currents that flow into the inverting(IB-) and non-inverting
(IB+)input terminals of the op-amp is define as input bias current.
Ideally it is zero.
The algebraic difference between the currents into the inverting and non-inverting
terminals when they connected to ground is referred to as input offset current Iios.
Ideally it is zero.
A typical value for an OP-AMP 741 is 6 nA;
PSRR is defined as the ratio of change in the input offset voltage Vio with a change in
one of the bias power supplying VCC, when the other power supply is held constant.
The term is also called the Supply Voltage Rejection Ratio (SVRR) or Power
Supply Sensitivity (PSS).
PSRR=
It is expressed in microvolt/volt.
Ideally it is zero.
A typical value for an OP-AMP 741 is 150 μV/ V
SR = maximum Volts / μS
It is defined as bandwidth of OP-AMP when voltage gain is 1. Other terms used for it
is close loop bandwidth, unity gain bandwidth and small signal bandwidth.
A typical value for an OP-AMP 741 is 1 MHz.
It is defined as difference between the maximum positive & negative output voltage
by OP-AMP.
It is generally ±0.9VCC (supply voltage) for typical OP-AMP. So its voltage swing
from +0.9VCC to - 0.9VCC.
Example
An operational amplifier has a slew rate of 2 V / µs. If the peak output is 12 V, what is the
power bandwidth?
Solution:
fmax =
As for output free of distribution, the slews determine the maximum frequency of operation
fmax for a desired output swing.
fmax =
Example
Figure 5.11
Solution:
Iin(off) = 20 nA
Vin(off) = 0
(ii) If A = 105 then the output offset voltage Vin(off) = 20 µ V x 105 = 2 volt
Example
Solution
From the measurement shown in Fig. 5.12 a, using the procedure in step 1 above, we obtain
The measurement shown in Figure 5.12 b, using the procedure in step 2 above, gives us
Example
Determine the output voltage of an op-amp for input voltages of Vi1=150µV, Vi2=
140µV. The amplifier has a differential gain of Ad=4000 and the value of CMRR is:
(a) 100.
(b) 105.
Solution
(A)
(B)
IDEAL OP-AMP
Equivalent circuit
Figure 5.13
V1 and V2 are the two input voltage voltages. Ri is the input impedance of OP-AMP.
Ad·Vd is an equivalent Thevenin voltage source and RO is the Thevenin equivalent
impedance looking back into the terminal of an OP-AMP.
This equivalent circuit is useful in analyzing the basic operating principles of OP-
AMP and in observing the effects of standard feedback arrangements
This equation indicates that the output voltage VO is directly proportional to the
algebraic difference between the two input voltages.
In other words the OP-AMP amplifies the difference between the two input voltages.
It does not amplify the input voltages themselves.
The polarity of the output voltage depends on the polarity of the difference voltage
Vd.
The graphic representation of the output equation is shown in figure in which the
output voltage VO is plotted against differential input voltage Vd, keeping gain Ad
constant.
Thus curve is called an ideal voltage transfer curve, ideal because output offset
voltage is assumed to be zero. If the curve is drawn to scale, the curve would be
almost vertical because of very large values of Ad.
PRACTICAL OP-AMP
Characteristics:
1. Very high voltage gain. The gain without feedback (known as the open-loop gain) is
of the order of 200,000.
2. Gain falls with frequency. It is constant up to about 10 kHz then falls until it reaches 1
at the transition frequency, fT. Typically, fT is 1 MHz, but is much higher in some OP-
AMPs.
3. High input resistance. This is usually at least 2 MΩ, often much more.
Virtual Short
The concept of virtual short circuit explained below.
Figure 5.16
As shown in figure 5.16, input impedance (Ri) of ideal OP-AMP is infinite. Hence
current I flowing from one input terminal to another input terminal is zero.
Thus the voltage drop across Ri will be zero and both the input terminals will be at
same potential.
In other words they are virtual shorted (not actually).
V1=V2
Now both at same potential so input terminal of OP-AMP at equal potential will be
consider as virtual short circuit.
Virtual Ground
Figure 5.16
If the non inverting terminal of OP-AMP is connected to ground as shown in figure
5.16 then as per virtual short circuit concept inverting terminal also at ground
potential.
Hence it is said to be at “virtual ground” potential.
If the inverting terminal of OP-AMP is connected to ground then non inverting
terminal also at “virtual ground” potential.
FEEDBACK IN OP-AMP
Figure 5.17
OP-AMP APPLICATIONS
1) INVERTING AMPLIFIER
Figure 5.18
As per ideal characteristics of OP-AMP, input resistance = ∞ so current going into op-
amp is zero. Therefore current I will pass through R1 will also passed through RF as
shown in figure.
AVF = -
An output voltage can be
Vo = AVF x VS
Waveform:
Figure 5.18b
Example:
Solution:
But Vo can never be higher than ±V sat hence Vo will be restricted to -Vsat.
Assuming –Vo(sat) = 0.9 VCC
Example
Find the closed loop gain of the following inverting amplifier circuit.
Figure 5.19
Solution:
Inverting op-amp gain
we can now substitute the values of the resistors in the circuit as follows,
=- = -10.
therefore, the closed loop gain of the inverting amplifier circuit above is given -10 or 20dB
(20log(10)).
2) NON-INVERTING AMPLIFIER
As per ideal characteristics of OP-AMP, input resistance = ∞ so current going into op-
amp is zero.
In this configuration output voltage signal will be in phase with input signal.
As we Consider ideal OP-AMP, input resistance(Rin) = ∞ so current going into both
input terminals of op-amp is zero.(IB1 = IB2 = 0)
So, Vs = Vo
Waveform:
Figure 5.19b
Example
Calculate the output voltage of a non-inverting amplifier for values of V1= 2 V, RF =500
KΩ, and R1=100 KΩ.
Solution
Figure 5.20
This configured can be obtaining by short circuit RF and open circuit R1 connected in
non-inverting amplifier configuration.
Consider expression for closed loop gain of non-inverting amplifier that is,
AVF = 1+
AVF =1
Therefore output voltage will be equal to input voltage and in phase of input voltage.
It is not behave like conventional amplifier but can be used as resistance transformer.
It has also useful feature which are given below.
Feature:
Example
Figure 5.21 shows a source connected to a load with a voltage follower. It is given that
RS = 10 kΩ and RL = 100Ω. (a) Calculate VO. (b) Calculate VO if the voltage follower is
removed and the source connected to the load.
Solution
a) With the voltage follower, there is no current through RS so that the voltage at the op-
amp input is VS. It follows that VO = VS.
b) If the voltage follower is removed and the source is connected directly to the load, VO
is given by VO = VS RL/ (RS + RL) = VS /101. This is a decrease in output of 20 log
101 = 40.1 dB. This example illustrates how a unity gain amplifier can increase the
gain of a circuit.
Figure 5.22
Figure 5.22 shows inverting summing amplifier configuration with three input
V1, V2 and V3.
Likewise, I2 = and I3 =
IF = =
+ + =
VO = -
Above given circuit can also used as a scaling amplifier. This is possible if
each input amplified by a different factor.
VO = - where R1≠R2≠R3
Inverting adder circuit can also be used as averaging circuit by setting R1=R2=R3= R
and RF = R/3
VO = -
Magnitude of output voltage is equal to the average of input three input voltages.
Example
Find the output voltage of the following Summing Amplifier circuit.
Figure 5.23
Solution:
Using the previously found formula for the gain of the circuit
we can now substitute the values of the resistors in the circuit as follows,
we know that the output voltage is the sum of the two amplified input signals and is
calculated as:
Figure 5.24
Expression for output voltage of difference amplifier:
VO = ( V1-V2)
SUBSTRACTOR:
Same circuit can be used as substractor by placing resistor RF = R1= R.
Equation for output voltage.
VO = ( V1 - V2 )
EXAMPLE
For the diff amp circuit of Figure 5.25, it is given that R1 = R3 = 10 kΩ and R2 = RF =20 kΩ.
Solve for the output voltage, the input resistance to the VI1 terminal, and the input resistance
to the VI2 terminal for the three cases: VI1 = 0, VI1 = −VI2, and VI1 = +VI2.
Solution
Because RF /R3 = R2/R1, It follows that VO =2 (VI1 − VI2).
6) CURRENT-TO-VOLTAGE AMPLIFIER
Circuit diagram of current to voltage convertor is shown below.
Figure 5.26
8) CHARGE-TO-CHARGE AMPLIFIER
Circuit diagram of charge to charge convertor is shown below.
Figure 5.28
For analysis we assumed that OP-AMP is ideal so input resistance = ∞ so current
flowing into input terminals of OP-AMP is zero (IB1=IB2=0).
Expression for output voltage
9) INTEGRATORS
Figure of integrator is shown below which is obtained by placing capacitor C in
the feedback branch and resistor R on inverting terminal. Assuming OP-AMP has
ideal characteristics.
VO = dt + C
Figure 5.29 b
Figure 5.30
Department of Electronics & Communication
BE Sem. - 2 Page 29
For analysis we assumed that OP-AMP is ideal so input resistance = ∞ so current
flowing into input terminals of OP-AMP is zero (IB1=IB2=0).
Expression for output voltage of difference amplifier:
VO= - RF C1 ( Vin )
Figure 5.30b
11) FILTER
Filters designed to pass certain frequency band or frequencies and attenuate or block
signal of frequencies outside this band.
Mainly two type of filter available named active filters and passive filter.
Filters made from active components such BJT, FET & OP-AMP along with the
passive components known as ACTIVE FILTERS.
Inductor is not possible to fabricate on IC so in active filter inductor is not present.
Circuit diagram and frequency response of active low pass filter given below in
figure.
This circuits use R-C network for filtering and OP-AMP in non inverting mode as
amplifier.
R-C value decides the cut-off frequency of the filter.
Resistor R1 and RF decide gain of the amplifier.
Circuit diagram and frequency response of active high pass filter given below in
figure.
This circuits use R-C network for filtering and OP-AMP in non inverting mode as
amplifier.
R-C value decides the cut-off frequency of the filter.
Resistor R1 and RF decide gain of the amplifier.
Figure 5.33
Question
Example
1) Design a circuit for an OP-AMP inverting amplifier with a closed-loop gain of -200,
assuming an ideal OP-AMP.
5) Calculate the output voltage of an op-amp summing amplifier for the following sets
of voltages and resistors. Use Rf = 1 MΩ in all cases.
7) Determine the output voltage of an op-amp for input voltages of Vi1=200 µV and
Vi2=140
µV. The amplifier has a differential gain of Ad=6000 and the value of CMRR is:
(a) 200.
(b) 105.
11) Calculate the output voltage developed by the circuit of Figure for Rf =330 KΩ.
CHAPTER 4
DIGITAL BUILDING BLOCKS & COMPUTER SYSTEMS
3. Number systems
4. Logic gates
5. Boolean algebra
8. Binary adders
9. Encoder
10. Decoder
11. Multiplexer
12. Demultiplexer
15. Counters
17. Memory
22. Questions
4.1 INTRODUCTION:
There are two types of signals which are different in terms of their characteristics with respect
to time and value.
1. Analog Signals
2. Digital Signals
A signal whose value is defined at all instances of time is called continuous time signal. On
the other hand signal whose values are defined only at discrete instances of time is called
discrete time signal. Most of the signals that occur in nature are analog in form. A discrete
time signal can be obtained from continuous time signal by process called sampling. This has
been illustrated in Fig. 4.1.
Fig. 4.1: (a) Continuous time signal x(t) sampled at every T interval, (b) Resulting discrete
time signal x(n)
Similarly if a signal can take any value in a given range between some minimum and maximum
value then the signal is called continuous value signal. On the other hand if a signal takes
only certain fixed values in a given range then it is called discrete value signal. The process
of converting a continuous value signal to a discrete value signal is called quantization. This
is illustrated in Fig. 4.2.
Fig. 4.2: Continuous value signal (solid line) and discrete value signal (dotted line)
Analog signal: Signals that are continuous in time and continuous in value are called analog signal.
Digital signal: Signals that are discrete in time and discrete in values are called digital signals.
Digital signals are generally processed by digital systems like computers and hence their values
are represented in terms of binary as shown in Fig. 4.2.
Analog signal being continuous in time will have infinite values in any given period of time.
Practically a digital system like computer cannot handle infinite values due to limited physical
resources and processing power. This is the reason why a continuous time signal has to be
sampled and converted to discrete time signal.
Again analog signals are continuous in value and hence can take any value in a given range.
Now ideally number of values in any given range will be infinite which cannot be represented
by finite number of bits on a computer. For example, as shown in Fig. 4.2, with three bits used
for representing values only eight different values can be represented. Thus a continuous value
signal has to be quantized and converted to discrete value signal.
Levels of Integration
Digital electronic circuits have become increasingly popular and successful due to integrated
circuit (IC) technology. Advancement in IC technology has made it possible to construct large
number of devices (eg. transistor, diode, resistors, capacitors, etc) on a very small chip.
Classification of IC technology based on number of components per chip is as follows.
A digital system uses a building blocks approach. Many small operational units are
interconnected to make up the overall system.
The most basic logical unit system is gate circuit. There are several different types of gates
with each perform differently from other logic gates.
Digital signal consist of only two values, ‘0’ and ‘1’. These two values have logical meaning
i.e. ‘1’ represents the existence of particular condition and ‘0’ represents the absence of
condition.
2. Function Table:
Function table plots inputs and outputs in term of HIGH and LOW voltage levels.
The design of digital system may be roughly divided into three stages;
1. System Design:
It involves breaking the overall system into subsystem and specifying the characteristics
of each subsystem. For example, the system design of a digital computers involves
specifying the number and type of memory, ALU and i/p – o/p devices.
2. Logic Design:
It involves how to interconnect basic logic building blocks to perform specific function.
For example, to make a flip flop different logic gates are needs to be connected in specific
manner.
3. Circuit Design:
It involves specifying the interconnection of specific components like resistors, transistors,
diodes, CMOS etc. to create a logic gates.
Digital system use the binary number system. Therefore, two-state devices are used to
represent the two binary digits 1s & 0s by two different voltage levels, called HIGH and LOW.
Normally, the binary 0 and 1 are represented by the logic voltage levels 0 V and +5 V.
Usually any voltage between 0 V to 0.8 V represents the logic 0 and any voltage between 2 V
to 5 V represents the logic 1. This voltage levels can be varies according to the different logical
systems.
There are three types of logics available in digital systems.
1. Positive Logic
2. Negative Logic
3. Mixed Logic
1. Positive Logic:
In positive logic high voltage level is represent as logic 1 and low voltage level is represent as
logic 0.
High (1)
Leading Edge Trailing Edge
Low (0)
Fig. 4.3: Illustration of positive logic
2. Negative Logic:
In positive logic high voltage level is represent as logic 0 and low voltage level is represent as
logic 1.
High (0)
Low (1)
3. Mixed Logic:
This scheme uses positive logic in some portions (e.g inputs) of the system while applying
negative logic (e.g. outputs) in other portion of the system.
Suppose some function X = AB’ + A’B for this function the representation of all the logics are
as follow;
A
B’
X
A’
B
Truth table of the given function for all the logics is shown as follow;
Table 4.1: Truth table of Positive logic, Negative logic, Mixed logic for X = AB’ + A’B
Number system is the basis for counting various items. On hearing the word ‘number’, we
immediately think of the familiar decimal number system with 10 digits 0 to 9. But modern
computers communicate and operate with binary numbers which use only 2 digits 0 & 1. Also
different types of number systems like octal and hexadecimal are also used widely. Depending
upon the type of number system, we use different digits to represent various numbers.
(ii) Digit
Each symbol in the number system is called a Digit.
(iii) The largest value of a digit is always one less than the base
For ex, in decimal system, the largest digit is 9 (since base is 10)
(iv) Each digit position (i.e. place) represents a different multiple of base
This means that the numbers have positional importance. Hence the number systems are
known as Positional Weighted Number System. It means that the value attached to a
symbol depends on its location with respect to the decimal point.
For example decimal number 123.4 (base 10) can actually be represented as;
(123.4)10 = 1x102 + 2x101 + 3x100 + 4x10-1
The digits on the left side of the decimal point form the integer part of a number and those on
the right side form the fractional part.
The left most digit in any number representation, which has the greatest positional weight out
of all the digits present in that number is called the most significant digit (MSD).
The right most digit in any number representation, which has the least positional weight out of
all the digits present in that number is called the least significant digit (LSD).
Different number systems are used in various applications. The commonly used number
systems along with their base, 1st digit, last digit and available digits are as shown below:
Note: In hexadecimal number system, meaning of A≈10, B≈11, C≈12, D≈13, E≈14 & F≈15.
Decimal number system is the most familiar no. system used in day-to-day life. The decimal
system consists of 10 unique symbols. Hence the base or radix is 10. It is a positional weighted
system. In this system, any number (integer, fraction or mixed) of any magnitude can be
represented by the use of these ten symbols only.
The digits on the left side of the decimal point form the integer part of a decimal number while
those on right side from the fractional part. The digits on the right of the decimal point have
weights which are negative powers of 10 and the digits to the left of the decimal point have
weights which are positive powers of 10. The sum of all the digits multiplied by their weights
gives the total number being represented.
RADIX POINT
Fig. 4.6: Decimal position values as power of 10
The binary number system is a positional weighted system. The base or radix of this number
system is 2. Hence, it has two independent symbols. The base itself cannot be a symbol. The
symbols used are 0 & 1. A binary digit is called a bit. A binary number consists of a sequence
of bits, each of which is either a 0 or a 1. The binary point separates the integer and fraction
part. The weight of each bit position is one power of 2 greater than the weight of the position
to its immediate right. The place values left on the binary point in binary are 64, 32, 16, 8, 4,
2 and 1.
RADIX POINT
Counting in Binary
Counting in binary is very similar to decimal counting. Start counting with 0, the next count is
1. Moving ahead, we put 1 in the column to the left and continue the counting. Thus, 11 is the
maximum we can count using two bits. Similarly, we can continue counting with 5, 6, ... bits.
Applications
The binary number system is used in digital computers because the switching circuits used in
these computers use two-state devices such as transistors, diodes, etc. These devices have to
exist in one of the two possible states: ON of OFF, OPEN or CLOSED. So, these two states
can be represented by the symbols 0 and 1, respectively.
The octal number system was extensively used by early minicomputers. It is also a positional
weighted system. Its base or radix is 8. It has 8 independent symbols 0 to 7.
Since its base 8 = 23, every 3-bit group of binary can be represented by an octal digit. An octal
number is, thus 1/3 rd. the length of the corresponding binary number.
RADIX POINT
In computer work, binary numbers up to 64 bits are not uncommon. These binary numbers do
not always represent a numerical quantity; they often represent some type of code. While
dealing with large binary numbers, it is convenient and more efficient for us to write the
numbers in octal rather than binary. The ease with which conversions can be made between
octal and binary makes the octal system more attractive as a shorthand means of expressing
large binary numbers.
Binary numbers are too long. These numbers are fine for machines butt are too lengthy to be
handled by human beings. So, there is a need to represent the binary numbers concisely. One
number system developed with this objective is the hexadecimal number system (or Hex).
Although it is somewhat difficult to interpret than the octal number system, it has become the
most popular means of direct data entry and retrieval in digital systems.
The hexadecimal number system is positional weighted system. The base or radix is 16 that
means, it has 16 independent symbols. The symbols used are 0 to 9 and A to F. since its base
is 16 = 24, every 4 bit binary digit combination can be represented by one hexadecimal digit.
So, a hexadecimal number is ¼ th the length of the corresponding binary number.
A 4-bit group is called a nibble. Since computer words come in 8, 16, 32 bits and so on, they
can be easily represented in hexadecimal. The hexadecimal number system is particularly used
for human communications with computers. It is used in both large and small computers.
RADIX POINT
15 F 36 24
16 10 37 25
17 11 38 26
18 12 39 27
19 13 40 28
20 14 41 29
The human beings use decimal number system while computer uses binary number system.
Therefore, it is essential to convert decimal number into its equivalent binary while feeding
number into computer and to convert binary number into its decimal equivalent while
displaying result of operation to the human beings.
However, dealing with a large quantity of binary numbers of many bits is inconvenient for
human beings. Therefore, octal and hexadecimal numbers are used as a shorthand means of
expressing large binary numbers. Hence inter conversion among different number systems is
required.
The below table shows the decimal, binary, octal and hexadecimal numbers.
13 1101 15 D
14 1110 16 E
15 1111 17 F
Binary numbers can be converted to their decimal equivalents by the positional weights method.
In this method, each binary digit of the number is multiplied by its position weight and the
product terms are added to obtain the decimal number.
Solution:
Positional weights are: 24 23 22 21 20
1 0 1 0 1 = (1 x 24) + (0 x 23) + (1 x 22) + (0 x 21) + (1 x 20)
= 16 + 0 + 4 + 0 + 1
= 21
Hence, (10101)2 = (21)10
Solution:
Positional weights are: 24 23 22 21 20 . 2-1 2-2 2-3
1 1 0 1.1 0 1 = (1 x 24) + (1 x 23) + (0 x 22) + (1 x 21) + (1 x 20) + (1 x 2-1) + (0 x 2-2) +
(1 x 2-3)
= 16 + 8 + 0 + 2 + 1 + 0.5 + 0 + 0.125
= 27.625
Hence, (11011.101)2 = (27.625)10
To convert an octal number to a decimal number, multiply each digit in the octal number by
the weight of its position and add all the product terms.
Solution:
Positional weights are: 83 82 81 80 . 8-1 8-2
4057.068 = (4 x 83) + (0 x 82) + (5 x 81) + (7 x 80) + (0 x 8-1) + (6 x 8-2)
= 2048 + 0 + 40 + 7 + 0 + 0.0937
= 2095.0937
Hence, (4057.06)8 = (2095.0937)10
Multiply each digit in the hex number by its position weight and add all those product terms.
In this way, we get the decimal equivalent of the hexadecimal number
Solution:
Positional weights are: 162 161 160
5C716 = (5 x 162) + (12 x 161) + (7 x 160)
= 1280 + 192 + 7
= 147910
Hence, (5C7)16 = (1479)10
Solution:
Positional weights are: 163 162 161 160.16-1 16-2 16-3
A0F9.0EB16 = (10 x 163) + (0 x 162) + (15 x 161) + (9 x 160) + (0 x 16-1) + (14 x 16-2)
+ (11 x 16-3)
= 40960 + 0 + 240 + 9 + 0 + 0.0546 + 0.0026
= 41209.057210
Hence, (A0F9.0EB)16 = (41209.0572)10
The conversion of decimal number to binary is carried out in 2 steps. In step 1, we have to
convert integer part and in step 2, we have to convert fractional part.
For integer part conversion, we use successive division-by-2 method. In this method we
repeatedly divide the integer part of the decimal number by 2 until the quotient is zero. The
remainder of each division becomes the numeral in the new radix. The remainders are taken in
the reverse order to form a new radix number. This means that the first remainder is the LSD
and the last remainder is the MSD in the new radix number. Thus the integers read from bottom
to top give the equivalent binary fraction.
Similarly, for fractional part, we use successive multiplication-by-2 method. In this method,
the number to be converted is multiplied by the radix of new number, producing a product that
has an integer part and a fractional part. The integer part (carry) of the product becomes a
numeral in the new radix number. The fractional part is again multiplied by the radix and this
process is repeated until fractional part reaches 0 or until the new radix number is carried out
to significant digits. The integer part (carry) of each product is read from top to bottom to
represent the new radix number.
Here the number is integer number so we need to divide the given decimal number by 2 and
read the remainders from bottom to top to get the equivalent binary number.
2 52 Remainder
2 26 0
2 13 0
2 6 1
2 3 0
2 1 1
0 1
Solution:
Step 1: Separate the integer and fractional parts of the decimal number. Now for integer part, we
carry successive division-by-2 method as follows:
2 163 Remainder
2 81 1
2 40 1
2 20 0
2 10 0
2 5 0
2 2 1
2 1 0
0 1
Step 2: Now the fraction part is 0.87510. Carrying out successive multiplication-by-2 as follows:
0.875 x 2 = 1.75 1
0.75 x 2 = 1.5 1
0.5 x 2 = 1.0 1
Decimal to Octal conversion can be done in similar way as decimal to binary conversion. The
integer and fractional parts are to be separated and the same procedure is carried out. But the
division and multiplication are carried out by 8 as the base of octal number is 8. Following the
same steps, we can get the equivalent octal number of the given decimal number.
Solution:
Step1: Conversion of integer part by successive division-by-8 method.
8 378 Remainder
8 47 2
8 5 7
0 5
0.93 x 8 = 7.44 7
0.44 x 8 = 3.52 3
0.52 x 8 = 4.16 4
0.16 x 8 = 1.28 1
So, 0.9310 = 0.73418
Decimal to hexadecimal conversion is carried out by 2 steps. In the first step, the integer part
of the decimal number is divided by 16 successively and the remainder is noted. The
remainders read from bottom to top gives the equivalent hexadecimal integer. In the second
step, the successive multiplication of fractional part by 16 is done and the integers are noted
down. Reading the integers from bottom to top gives the hexadecimal fraction.
Solution:
Step1: Conversion of integer part by successive division-by-16 method
16 3509 Remainder
16 219 5
16 13 11 = B
0 13 = D
0.75 x 16 = 12.0 12 = C
To convert a given octal number to binary, just replace each octal digit by its 3-bit binary
equivalent.
Solution:
Given octal number is 3 6 7 . 5 2
Convert each octal digit to binary 011 110 111 . 101 010
To convert a given hexadecimal number to binary, just replace each hexadecimal digit by its
4-bit binary equivalent.
Solution:
Given hexadecimal number is 4 B A C
Convert each digit to 4-bit binary 0100 1011 1010 1100
Hence, (4BAC)16 = (100101110101100)2
Solution:
Given hexadecimal number is 3 A 9 . B 0 D
Convert each digit to 4-bit binary 0011 1010 1001 . 1011 0000 110
To convert a binary number to an octal number, starting from the binary point make groups of
3 bits each, on either side of the binary point and replace each 3-bit binary group by the
equivalent octal digit.
Solution:
Group of 3 bits are 110 101 . 101 010
Solution:
Group of 3 bits are 10 101 111 001 . 011 1
= 010 101 111 001 . 011 100
Convert each group to octal 2 5 7 1 . 3 4
Hence, (10101111001.0111)2 = (2571.34)8
To convert a binary number to an octal number, starting from the binary point make groups of
4 bits each, on either side of the binary point and replace each 4-bit binary group by the
equivalent hexadecimal digit.
Solution:
Group of 4 bits are 10 1111 1011 . 0111 11
To convert an octal number to hexadecimal, the simplest way is to first convert the given octal
number to binary and then the binary number to hexadecimal.
Solution:
Given octal number is 1 2 4 5
Solution:
Given octal number is 7 5 6 . 6 0 3
Convert each octal digit to binary 111 101 110 . 110 000 011
To convert hexadecimal number to octal, the simplest way is to first convert the given
hexadecimal number to binary and then the binary number to octal.
Solution:
Given hex number is B 9 F . A E
Convert each hex digit to binary 1011 1001 1111 . 1010 1110
Group of 3 bits are 101 110 011 111 . 101 011 100
We can convert a given number in radix r to decimal by multiplying each digit by its positional
weights and taking sum of all the products.
Solution:
Here, the given number is in base 3. Its positional weights are: 33 32 31 30
1 2 2 1 = (1 x 33) + (2 x 32) + (2 x 31) + (1 x 30)
= 27 + 18 + 6 + 1
= 52
Hence, (1221)3 = (52)10
Solution:
Here, the given number is in base 5. Its positional weights are: 52 51 50 . 5-1 5-2
Decimal number can be converted in any radix by 2 steps. In step1, the integer part of the
decimal number is divided successively by the radix r and the remainders are noted down.
Taking the remainders from bottom to top gives the radix r equivalent of the integer part.
Similarly, the fractional part is successively multiplied by the radix r and the integer part of
the result is noted down. Noting the carry from top to bottom gives the fractional part
equivalent in radix r.
Solution:
Step 1: Separate the integer and fractional parts of the decimal number. Now for integer part, we
carry successive division-by-12 method as follows:
12 1989 Remainder
12 165 9
12 13 9
12 1 1
0 1
Step 2: Now the fraction part is 0.3510. Carrying out successive multiplication-by-12 as follows:
Solution:
We have, (33)10 = (201)b
33 = 2 x b2 + 0 x b1 + 1 x b0
= 2b2 + 1
2b2 = 32
b2 = 16
b = ±4
But base of any number cannot be negative. Hence value of b = 4.
Solution:
We have, (193)b = (623)8
1 x b2 + 9 x b1 + 3 x b0 = 6 x 82 + 2 x 81 + 3 x 80
b2 + 9b + 3 = 384 + 16 + 3
b2 + 9b + 3 = 403
b2 + 9b – 400 = 0
b = 16, b = -25
It is a numeric code that is used to represent decimal using binary bits i.e. 1’s and 0’s. It is
different from representation of a decimal number in binary system i.e. base 2 system.
In BCD representation each digit of a decimal number is represented by a group of four bits.
These bits are given with weights of 8-4-2-1 and hence many a times BCD code is also called
8421 code. Code for each digit of decimal is as follows.
6 0110
7 0111
8 1000
9 1001
Solution:
Decimal: 5 8
0101 1000
Thus (58)10 = (01011000)BCD.
It should be noted that binary representation of (58)10 will be (111010)2 which is quite different
from the BCD representation.
Solution:
BCD: 0010 0101 1001
2 5 9
(001001011001)BCD = (259)10
It can be observed that BCD codes are less efficient for representation compared to binary as
it requires more number of bits then required in binary representation. However, it is popular
because of its ease of conversion to and from decimal.
Logic gates are the fundamental building blocks of digital systems. They are the physical
devices that performs the basic Boolean operations of AND, OR and NOT.
Input and outputs of logic gates (that is basically a voltage signal) can occur only in two levels.
These two levels are termed as High and Low or True and False or ON and OFF or simply 1
and 0. In representation of higher of the two voltage levels is symbolized as 1 and lower
symbolized as 0 the gate is said to be positive logic gate. However, if higher of the two voltage
levels is symbolized as 0 and lower as 1 then it is said to be negative logic gate.
Input output behavior of a gate is generally represented using truth table. It is a table that lists
output for all possible combinations of inputs.
There are total seven logic gates in which three are basic logic gates (AND, OR, NOT) and
two are universal logic gates (NAND, NOR).
1. NOT Gate:
NOT gate has one inputs and one output. The output becomes logic 1 when input is at logic 0
and output becomes logic 0 when the input is at logic 1. Thus it inverts or complements the
logic available at input and hence called and inverter or complement. It is represented by a
bar over the variable “ ̅ ”or with a symbol “ ’ ”. Thus, for example, X = A΄ or X = A read
as “X is equal to Not A or A bar or A complement”. NOT gate and its truth table are shown in
fig. 4.10.
2. AND Gate:
Operation of AND gate can be understood through the example of two switches connected in
series as shown in fig. 4.11. Here we assume switches A and B to present logic 1 when in ON
condition and logic 0 in OFF condition. Similarly, if lamp is ON we assume logic 1 and in OFF
condition we assume it as logic 0. Then it can be determined that the lamp will be ON (at logic
1) only when both the switches A and B are ON (at logic 1).
3. OR Gate:
It also means Inequality detector because it gives output high when both inputs are different.
Exclusive OR gate give output equal to 1 when the two inputs are exclusively different. This
is the reason why it is also known as inequality gate. The schematic symbol and truth table of
the gate is shown in fig. 4.13. It is represented by a symbol . Thus, for example, X A B
is read as “X is equal to A XOR B.” The logic expression this gate in terms of AND, OR and
NOT operation is X A B AB AB .
It also means equality detector because it gives output high when both inputs are same.
Exclusive NOR gate is XOR gate followed by inverter. Thus it is complement of XOR gate.
This is the reason why it is also known as equality gate. The logic symbol, logic expression,
chematic symbol, truth table of the gate is shown in fig. 4.14.
X = AB + A’B’
Universal Gates:
NAND and NOR gates are known as a universal gates because from this two gates all other
gates can be constructed.
6. NAND Gate:
NAND gate represents combination of AND gate followed by NOT gate. It represents
complement of AND operation. Schematic symbol of NAND gate and its truth table are shown
in fig. 4.15. The logic expression is given as X ( A B) or X = (A·B)’.
3. Implementing OR gate
The OR gate is replaced by a NAND gate with all its inputs complemented by NAND gate
inverters.
7. NOR Gate:
NOR gate represents combination of OR gate followed by NOT gate. It represents complement
of OR operation. Schematic symbol of NOR gate and its truth table are shown in fig. 4.16. The
logic expression is given as X ( A B) or X = (A+B)’.
3. Implementing OR gate
The OR is replaced by a NOR gate with its output complemented by a NOR gate inverter.
Any logic gates can be designed to accept three or more input values.
As an example, three-input AND gate produces an output of 1 only if all input values are 1.
Constructing Gates
A transistor is a device that acts, depending on the voltage level of an input signal, either as a
wire that conducts electricity or as a resistor that blocks the flow of electricity
A transistor has no moving parts, yet acts like a switch.
It is made of a semiconductor material, which is neither a particularly good conductor of
electricity, such as copper, nor a particularly good insulator, such as rubber.
A transistor is shown in fig. 4.18.
If A = 0 then A ≠ 1.
If A = 1 then A ≠ 0.
Suppose a system which transmitting 2 bit binary information over 2 line to another system.
So with 2 line, 4 unique code could be represented.
The receiving system may need to identify the presence of certain transmitted codes.
As an example suppose system is to identify the occurrence of the code representing the
decimal number 1 and 2. Each one of these code appear on the 2 lines, a circuit is to generate
an output 1.
When any other code present the output should be 0.
The method of implementing this system is shown in table 4.8.
Fig. 4.20
Its behavior is described by the set of Its behavior is described by the set of
output function. next state function and the set of output
function.
No feedback is available. Feedback is available.
It does not contains periodic clock signal. It contains clock signals.
Faster than sequential circuit. Slower than combinational circuit.
e.g. half adder, full adder, etc. e.g. Flip flop, counter, etc.
Axioms or postulate of Boolean algebra are a set of logical expression that we accept without
proof & upon which we can build a set of useful theorems.
Axioms 1: 0 · 0 = 0
Axioms 2: 0 · 1 = 0
Axioms 3: 1 · 0 = 0
Axioms 4: 1 · 1 = 1
Axioms 5: 0 + 0 = 0
Axioms 6: 0 + 1 = 1
Axioms 7: 1 + 0 = 1
Axioms 8: 1 · 1 = 1
Axioms 9: 1’ = 0
Axioms 10: 0’ = 1
1. Complementation Laws:
The term complement simply means to invert, i.e. to change 0’s to 1’s and 1’s to 0’s.
Law 1: 0’ = 1
Law 2: 1’ = 0
Law 3: If A = 0 then A’ = 1
Law 4: If A = 1 then A’ = 0
Law 5: A’’ = A
2. AND Laws:
Law 1: A · 0 = 0
Law 2: A · 1 = A
Law 3: A · A = A
Law 4: A · A’ = 0
3. OR Laws:
Law 1: A + 0 = A
Law 2: A + 1 = 1
Law 3: A + A = A
Law 4: A + A’ = 1
4. Commutative Laws:
Law 1: A + B = B + A
Proof:
Fig. 4.21
Law 2: A · B = B · A
Proof:
Fig. 4.22
5. Associative Laws:
Law 1: (A + B) + C = A + (B + C)
Proof:
Fig. 4.23
Law 2: (A · B) · C = A · (B · C)
Proof:
Fig. 4.24
6. Distributive Laws:
Law 1: A (B + C) = AB + AC
Proof:
Fig. 4.25
Law 2: A + BC = (A + B) (A + C)
Proof: R.H.S. = (A + B) (A + C)
= AA + AC + BA + BC
= A + AC + BA + BC
= A + BC (B’cz 1 + C + B = 1 + B = 1)
= L.H.S.
Law 3: A + A’B = A + B
Proof: L.H.S. = A + A’B
= (A + A’) (A + B)
=A+B
= R.H.S.
7. Idempotence Laws:
Law 1: A · A = A
Proof:
Case 1: If A = 0 A · A = 0 · 0 = 0 = A
Case 2: If A = 1 A · A = 1 · 1 = 1 = A
Fig. 4.26
Law 2: A + A = A
Proof:
Case 1: If A = 0 A + A = 0 + 0 = 0 = A
Case 2: If A = 1 A + A = 1 + 1 = 1 = A
Fig. 4.27
Law 1: A · A’ = 0
Proof:
Case 1: If A = 0 A’ = 1 So, A · A’ = 0 · 1 = 0
Case 2: If A = 1 A’ = 0 So, A · A’ = 1 · 0 = 0
Fig. 4.28
Law 2: A + A’ = 1
Proof:
Case 1: If A = 0 A’ = 1 So, A + A’ = 0 + 1 = 1
Case 2: If A = 1 A’ = 0 So, A + A’ = 1 + 0 = 1
Fig. 4.29
9. Double Negation Law:
This law states that double negation of a variables is equal to the variable itself.
Law 1: A’’ = A
Proof:
Case 1: If A = 0 A’’ = 0’’ = 1’ = A
Case 2: If A = 1 A’’ = 1’’ = 0’ = A
Fig. 4.30
Any odd no. of inversion is equivalent to single inversion.
Any even no. of inversion is equivalent to no inversion at all.
Law 1: A · 1 = A
Proof:
Case 1: If A= 1 A · 1 = 1 · 1 = 1 = A
Case 2: If A= 0 A · 0 = 0 · 0 = 0 = A
Fig. 4.31
Law 2: A + 1 = 1
Proof:
Case 1: If A= 1 A + 1 = 1 + 1 = 1 = A
Case 2: If A= 0 A + 0 = 0 + 0 = 0 = A
Fig. 4.32
Law 1: A · 0 = 0
Proof:
Case 1: If A= 1 A · 0 = 1 · 0 = 0 = 0
Case 2: If A= 0 A · 0 = 0 · 0 = 0 = 0
Fig. 4.33
Law 2: A + 0 = A
Proof:
Case 1: If A= 1 A + 0 = 1 + 0 = 1 = A
Case 2: If A= 0 A + 0 = 0 + 0 = 0 = A
Fig. 4.34
Law 1: A + AB = A
Proof: L.H.S. = A + AB
= A (1 + B)
= A (1)
=A
R.H.S.
Law 2: A (A + B) = A
Proof: L.H.S. = A (A + B)
= A · A + AB
= A + AB
= A (1 + B)
= A (1)
=A
= L.H.S.
R.H.S. = (A + B) (A’ + C)
= AA’ + AC + BA’ + BC
= 0 + AC + BA’ + BC
= AC + A’B + BC …………………………(2)
Equation (1) = Equation (2)
So. L.H.S = R.H.S.
Law 1: (A + B)’ = A’ · B’
Proof:
Fig. 4.35
Fig. 4.36
Duality theorem arises as a result of presence of two logic system i.e. positive & negative logic
system.
This theorem helps to convert from one logic system to another.
From changing one logic system to another following steps are taken:
1. 0 becomes 1, 1 becomes 0.
2. AND becomes OR, OR becomes AND.
3. ‘+’ becomes ‘·’, ‘·’ becomes ‘+’.
4. Variables are not complemented in the process.
Solution:
[(A + B’) (C + D’)]’
= (A + B’)’ + (C + D’)’
= A’ B’’ + C’D’’
= A’B + C’D
Solution:
[(AB)’ (CD + E’F) ((AB)’ + (CD)’)]’
= (AB)’’ + (CD + E’F)’ + ((AB)’ + (CD)’)’
= AB + [(CD)’ (E’F)’] + [(AB)’’ (CD)’’]
= AB + (C’ + D’) (E + F’) + ABCD
Solution:
[(AB)’ + A’ + AB]’
= AB’’ · A’’ · AB’
= ABA (A’ + B’)
= AB (A’ + B’)
= ABA’ + ABB’
=0
Ex 27: [P (Q + R)]’
Solution:
[P (Q + R)]’
= P’ + (Q + R)’
= P’ + Q’ R’
Solution:
[(P + Q’) (R’ + S)]’
= (P + Q’)’ + (R’ + S)’
= P’ Q’’ + R’’ S’
= P’Q + RS’
Solution:
[[(A + B)’ (C + D)’]’ [(E + F)’ (G + H)’]’]’
= [(A + B)’ (C + D)’]’’ + [(E + F)’ (G + H)’]’’
= [(A + B)’ (C + D)’] + [(E + F)’ (G + H)’]
= A’B’C’D’ + E’F’G’H’
Solution:
A [ B + C’ (AB + AC’)’ ]
= A [ B + C’ (AB)’ (AC’)’ ]
= A [ B + C’ (A’ + B’) (A’ + C) ]
= A [ B + (A’ C’ + B’ C’) (A’ + C) ]
= A [ B + (A’ C’A’ + B’ C’A’) (A’ C’ C + B’ C’ C) ]
= A [ B + (A’C’ + B’ C’A’) (0 + 0) ]
= A [ B + A’C’ ( 1 + B’) ]
= A [ B + A’C’]
= AB + A’AC’
= AB + 0
= AB
Ex 31: A + B [ AC + (B + C’)D ]
Solution:
A + B [ AC + (B + C’)D ]
= A + B [ AC + (BD + C’D) ]
= A + ABC + BBD + BC’D
= A + ABC + BD + BC’D
= A (1 + BC) + BD (1 + C’)
= A (1) + BD (1)
= A + BD
Solution:
(A + (BC)’)’ (AB’ + ABC)
= (A’ (BC)’’) (AB’ + ABC)
= (A’BC) (AB’ + ABC)
= A’BCAB’ + A’BCABC
=0+0
=0
Solution:
(B + BC) (B + B’C) (B + D)
= (BB + BB’C + BBC + BCB’C) (B + D)
= (B + 0 + BC + 0) (B + D)
= B (1 + C) (B + D)
= B (B + D)
= BB + BD
= B + BD
= B (1 + D)
=B
Solution:
AB + AB’C +BC’
= A (B + B’C) + BC’
= A (B + B’) (B + C) + BC’
= A (1) (B + C) + BC’
= AB + AC + BC’
= CA + C’B + AB
= CA + C’B (B’cz of Consensus theorem 1)
Solution:
AB’C + B + BD’ + ABD’ + A’C
= AB’C + B (1 + D’ + AD’) + A’C
= AB’C + B + A’C
= C (A’ + AB’) + B
= C (A’ + A) (A’ + B’) + B
= C (1) (A’ + B’) + B
= C (A’ + B’) + B
= A’C + CB’ + B
= A’C + (C + B) (B’ + B)
= A’C + (B + C) (1)
= A’C + B + C
= C (1 + A’) + B
=B+C
Solution:
A’B’ + A’B = A’ (B’ + B) = A’
Solution:
A’B’ + AB’
= B’ (A’ + A)
= B’
Ex 38: A’B + AB
Solution:
A’B + AB
= B (A’ + A)
= B (1)
=B
Solution:
A’B’ + A’B + AB’ + AB
= A’ (B’ + B) + A (B’ + B)
= A’ + A
=1
Solution:
[(A + B) (A’ + B)] + [(A + B) (A + B’)]
= [AA’ + AB + BA’ + BB] + [AA + AB’ + BA + BB”]
= [0 + AB + A’B + B] + [A + AB’ + AB + 0]
= [B (A + A’ + 1)] + [A (1 + B’ + B)]
=B+A
=A+B
Solution:
[(A + B’) (A’ + B’)] + [(A’ + B’) (A’ + B’)]
= [AA’ + AB’ + B’A’ + B’B’] + [A’A’ + A’B’ + B’A’ + B’B’]
= [0 + AB’ + A’B’ + B’] + [A’ + A’B’ + B’]
= [B’ (A + A’ + 1)] + [A’ + B’(1)]
= B’ + A’ + B’
= A’ + B’
Solution:
(A + B) (A + B’) (A’ + B) (A’ + B’)
= (AA + AB’ + BA + BB’) (A’A’ + A’B’ + BA’ + BB’)
= [A (1+ B’ + B)] [A’ (1 + B’ + B)]
= AA’
=0
Ex 43: For the logic circuit shown fig. 4.37, find the Boolean expression and the truth table.
Identify the gate that given circuit realizes.
Fig. 4.37
Solution:
Here,
Output of OR gate will be (A+B)
Output of NAND gate will be (AB)’
Hence the final out C will be AND of these two outputs
Hence
C = (A+B) · (A·B)’
Truth table for the same can be given in table 4.9.
Table 4.9
Input Output
A B A+B A·B (A·B)’ (A+B) · (A·B)’
0 0 0 0 1 0
0 1 1 0 1 1
1 0 1 0 1 1
1 1 1 1 0 0
From the truth table it is clear that the circuit realizes Ex-OR gate.
Ex 44: For the logic circuit shown fig. 4.38, find the Boolean expression.
Fig. 4.38
Solution:
Here,
Output of top AND gate will be AB’
Output of bottom AND gate will be A’B
Hence the final out C will be OR of these two outputs
Hence
C = AB’+A’B
Ex 45: For the logic circuit shown fig. 4.39, find the Boolean expression and the truth table.
Identify the gate that given circuit realizes.
Fig. 4.39
Solution:
Here, bubble indicates inversion.
Hence input of top OR gate is A’ and B’ and hence its output will be A’+B’
Output of bottom OR gate will be A+B
Hence the final output Y will be AND of these two outputs.
Hence,
Y = (A’+B’)(A+B).
Truth table for the same can be given in table 4.10.
Table 4.10
Input Output
A B A’ B’ A’+B’ A+B (A’+B’) (A+B)
0 0 1 1 1 0 0
0 1 1 0 1 1 1
1 0 0 1 1 1 1
1 1 0 0 0 1 0
Note: that circuit in example 44 is same as circuit in this example. This is because NAND gate is
equivalent to Bubbled OR gate.
Ex 46: For the given Boolean expression draw the logic circuit.
F = X + (Y’ + Z)
Solution:
The expression primarily involves three operators i.e NOT, AND and OR
To generate Y’ a NOT gate is required.
To generate Y’Z an AND gate is required.
To generate final output OR gate is required.
The circuit can be drawn as shown in fig. 4.40.
Fig. 4.40
1. Standard Forms
In this configuration, the terms that form the function may contain one, two, or any number of
literals.
There are two types of standard forms: (i) sum of product (SOP) (ii) product of sum (POS).
The SOP is a Boolean expression containing AND terms, called product terms, of one or more
literals each. The sum denote the ORing of these terms.
An example of a function expressed in sum of product is:
F = Y’ + XY + X’YZ’
The POS is a Boolean expression containing OR terms, called sum terms. Each terms may
have any no. of literals. The product denotes ANDing of these terms.
An example of a function expressed in product of sum is:
F = X (Y’ + Z) (X’ + Y + Z’ + W)
A Boolean expression function may be expressed in a nonstandard form. For example the
function:
F = (AB + CD) (A’B’ + C’D’)
Above function is neither sum of product nor in product sums. It can be changed to a
standard form by using distributive law as below;
F = ABC’D’ + A’B’CD
2. Canonical Forms
Any boolean expression can be expressed in Sum of Product (SOP) form or Product of Sum
(POS) form, they are called canonical form.
A standard SOP form is one in which a no. of product terms, each one of which contains all
the variables of the function either in complemented or non-complemented form, summed
together
Each of the product term is called MINTERM.
For minterms,
Each non-complemented variable 1
Each complemented variable 0
Decimal equivalent is expressed in terms of lower case ‘m’.
For example,
1. XYZ = 111 = m7
2. A’BC = 011 = m3
3. P’Q’R’ = 000 = m0
4. T’S’ = 00 = m0
5. B’C = 01 = m1
Solution:
F1 = X’Y’Z + XY’Z’ + XYZ
= 001 + 100 + 111
= m1 + m4 + m7
= Σm (1, 4, 7)
Ex 48: F2 = P’Q’ + PQ
Solution:
F2 = P’Q’ + PQ
= 00 + 11
= m0 + m3 = Σm (0, 3)
Solution:
F3 = XY’ZW + XYZ’W’ + X’Y’Z’W’
= 1011 + 1100 + 0000
= m11 + m12 + m0
= Σm (0, 11, 12)
A standard POS form is one in which a no. of sum terms, each one of which contains all the
variables of the function either in complemented or non-complemented form, are multiplied
together
Each of the product term is called MAXTERM
For maxterms,
Each non-complemented variable 0
Each complemented variable 1
Decimal equivalent is expressed in terms of upper case ‘M’.
For example,
1. X+Y+Z = 000 = M0
2. P’+Q’+R’ = 111 = M7
3. A’+B+C’+D = 1010 = M10
Solution:
F1 = (P’+Q) (P+Q’)
= (10) (01) = M2·M1
= ΠM (1, 2)
Solution:
F2 = (X’+Y’+Z’+W) (X’+Y+Z+W’) (X+Y’+Z+W’)
= (1110) (1001) (0101) = M14·M9·M5
= ΠM (5, 9, 14)
Solution:
F3 = (A’+B+C) (A+B’+C) (A+B+C’)
= (100) (010) (001)
= M4 M2 M1
= ΠM (1, 2, 4)
The complement of a function expressed as the sum of minterms equals the sum of minterms
missing from original function
This is because the original function is expressed by those minterms that make the function
equal to 1, while its complement is 1 for those minterms that the function is 0.
Solution:
STEP 1:
Take complement of the given function;
F’ (A, B, C) = Σ (0, 2, 3) = (m0 + m2 + m3)’
STEP 2:
Put value of MINTERM in form of variables;
F’= (A’B’C’ + A’BC’ + A’BC)’
= (A+B+C) (A+B’+C) (A+B’+C’)
= M0·M2·M3
= ΠM (0, 2, 3)
In general, mj’ = Mj
Solution:
STEP 1:
Take complement of the given function;
F’(A,B,C,D)= ΠM(1,2,4,5,6,8,9,11,12,13) = (M1 M2 M4 M5 M6 M8 M9 M11 M12 M13)’
STEP 2:
Put value of MAXTERM in form of variables;
F’= [(A+B+C+D’) (A+B+C’+D) (A+B’+C+D) (A+B’+C+D’) (A+B’+C’+D)
(A’+B+C+D) (A’+B+C+D’) (A’+B+C’+D’) (A’+B’+C+D) (A’+B’+C+D’)]’
= (A’B’C’D) + (A’B’CD’) + (A’BC’D’) + (A’BC’D) + (A’BCD’)
(AB’C’D’) + (AB’C’D) + (AB’CD) + (ABC’D’) + (ABC’D)
= m1 + m2 + m4 + m5 + m6 + m8 + m9 + m11 + m12 + m13
= Σm (1, 2, 4, 5, 6, 8, 9, 11, 12, 13)
Ex 55: F = A + B’C
Solution:
A B & C is missing. So multiply with (B + B’) & (C + C’).
B’C A is missing. So multiply with (A + A’).
A = A (B + B’) (C + C’)
= (AB + AB’) (C +C’)
= ABC + AB’C + ABC’ + AB’C’
Ex 56: F = A (B + C’)
Solution:
A = A + BB’ + CC’
= (A + B) (A +B’) + CC
= (A + B + CC’) (A + B’ + CC’)
= (A + B + C) (A + B + C’) (A + B’ + C) (A + B’ + C’)
Ex 57: F = XY + X’Z
Solution:
F = XY + X’Z
= (XY + X’) (XY + Z)
= (X +X’) (Y + X’) (X + Z) (Y + Z)
= (Y + X’) (X + Z) (Y + Z)
X’ + Y = X’ + Y + ZZ’
= (X’ + Y + Z) (X’ + Y + Z’)
= (100) (101)
X + Z = X’ + Z + YY’
= (X + Y + Z) (X + Y’ + Z)
= (000) (010)
Y + Z = Y + Z + XX’
= (X + Y + Z) (X’ + Y + Z)
= (000) (100)
So, F = XY + X’Z
= (100) (101) (000) (010)
= M4 M5 M0 M2
F = ΠM (0, 2, 4, 5)
K-map cells are arranged such that adjacent cells correspond to truth rows that differ in only
one bit position (logical adjacency)
K-Map are often used to simplify logic problems with up to 6 variables
No. of Cells = 2n, where n is a number of variables.
The Karnaugh map is completed by entering a ‘1’ (or ‘0’) in each of the appropriate cells.
Within the map, adjacent cells containing 1's (or 0’s) are grouped together in twos, fours, or
eights and so on.
SOP Minterms A’B’ (m0, 00) ; A’B (m1, 01) ; AB’ (m2, 10) ; AB (m3, 11)
POS Maxterms A + B (M0, 00) ; A + B’ (M1, 01) ; A’ + B (M2, 10) ; A’ + B’ (M3, 11)
A 1 AB’ AB A 1
m2 m3
2 3 2 3
A’ 0 1 0
0 1
A 1 1 1
2 3
Fig. 4.42
Fig. 4.43
Fig. 4.44
F = A’B’ + AB
Ex. 60: F = AB
Solution:
B
B’ B
A 0 1
A’ 0 0 0
0 1
A 1 0 1
2 3
Fig. 4.45
Solution:
B
B’ B
A 0 1
A’ 0 1 1
0 1
A 1 1 0
2 3
Fig. 4.46
Solution:
B
B’ B
A 0 1
A’ 0 1 0
0 1
A 1 1 0
2 3
Fig. 4.47
Ex. 63: F = m0 + m1
Solution:
B
B’ B
A 0 1
A’ 0 1 1
0 1
A 1 0 0
2 3
Fig. 4.48
B
B B B’
B B’ A 0 1
A 0 1
A 0 A+B A+B’ A 0 M0 M1
0 1
0 1
A’ 1 A’+B A’+B’
M2 M3
A’ 1
2 3 2 3
B
B’ B
A 0 1
A’ 0 0 1
0 1
A 1 0 0
2 3
Fig. 4.50
Solution:
B
B B’
A 0 1
A 0 0 1
0 1
0 1
A’ 1
2 3
Fig. 4.51
Ex 65: F = M0·M1·M2
Solution:
B
B B’
A 0 1
A 0 0 0
0 1
0 1
A’ 1
2 3
Fig. 4.52
Ex 66: F = ΠM (1, 3)
Solution:
B
B B’
A 0 1
A 0 1 0
0 1
1 0
A’ 1
2 3
Fig. 4.53
Ex 67: F = m0 + m1
Solution:
B
B’ B
A 0 1
A’ 0 1 1
0 1
A 1 0 0
2 3
Fig. 4.54
F = A’
Solution:
B
B’ B
A 0 1
A’ 0 1 0
0 1
A 1 1 0
2 3
Fig. 4.55
F = B’
Ex 69: F = Σ (1, 3)
Solution:
B
B’ B
A 0 1
A’ 0 0 1
0 1
A 1 0 1
2 3
Fig. 4.56
F=B
Ex 70: F = m0 + m3
Solution:
Fig. 4.57
F = A’B’ + AB
Ex 71: F = ∑m (0, 1, 2, 3)
Solution:
B
B’ B
A 0 1
A’ 0 1 1
0 1
A 1 1 1
2 3
Fig. 4.58
F=1
Ex 72: F = Π (0, 2, 3)
Solution:
B
B B’
A 0 1
A 0 0 1
0 1
0 0
A’ 1
2 3
Fig. 4.59
F = A’B
Solution:
B
B B’
A 0 1
A 0 0 0
0 1
0 1
A’ 1
2 3
Fig. 4.60
F = AB
Ex 74: F = M3·M1·M2
Solution:
B
B B’
A 0 1
A 0 1 0
0 1
0 0
A’ 1
2 3
Fig. 4.61
F = A’B’
Ex 75: F = m2 + m3
Solution:
F = m2 + m3 = Π (0, 1)
B
B B’
A 0 1
A 0 0 0
0 1
1 1
A’ 1
2 3
Fig. 4.62
F=A
Ex 76: F = ΠM (0, 1, 2, 3)
Solution:
B
B B’
A 0 1
A 0 0 0
0 1
0 0
A’ 1
2 3
Fig. 4.63
F=0
Table 4.12
For the case of 3 variables, we form a map consisting of 23=8 cells as shown in Figure
Solution:
Fig. 4.65
Ex 78: F = Σ (1, 6, 7)
Solution:
Fig. 4.66
F = A’B’C + AB
Solution:
Fig. 4.67
F = B’C’ + AC’ + A’BC
Ex 80: F = Σm (0, 1, 2, 4, 5, 6)
Solution:
Fig. 4.68
F = B’ + C’
Ex 81: F = m3 + m4 +m6 + m7
Solution:
Fig. 4.69
F = BC + AC’
Ex 82: F = Σm (3, 7, 1, 6, 0, 2, 5, 4)
Solution:
Fig. 4.70
F=1
Table 4.13
For the case of 3 variables, we form a map consisting of 23=8 cells as shown in Figure
Solution:
Fig. 4.72
F = (A’ + C’)
Ex 84: F = ΠM (1, 2, 5)
Solution:
Fig. 4.73
F = (B + C’) (A + B + C)
Ex 85: F = M0·M3·M7
Solution:
Fig. 4.74
F = (A + B + C) (B’ + C’)
Solution:
Fig. 4.75
F = (B + C) (A + B’ + C’)
Ex 87: F = ΠM (5, 7, 0, 3, 2, 4, 6, 1)
Solution:
Fig. 4.76
F=0
4.7.4 4 variable k-map
Looping:
Fig. 4.81
Solution:
Fig. 4.82
F = C’ + A’D’ + BD’
Solution:
Fig. 4.83
Solution:
Fig. 4.84
Solution:
Fig. 4.85
F = A’C’ + A’D + BD + A’B
Solution:
Fig. 4.86
F = BD + BC + AD + AC
Solution:
Fig. 4.88
F = (B + D) (B + C) (A + B’ + D’) (A’ + B’ + C’)
Solution:
Fig. 4.89
Solution:
Fig. 4.90
Solution:
Fig. 4.91
A binary adder adds two binary bits. Block diagram of half adder is shown in fig. 4.92.
A Sum (S)
Half
Inputs Outputs
Adder
B Carry(C)
There are two input terminals, which are marked as A and B. Binary numbers, the sum of
which has to be made are applied here. There are two output terminals. One terminal is for
sum bit S and the other is the carry bit C. Truth table of half adder is shown in table 4.13
Inputs Outputs
A B S (Sum) C (Carry)
0 0 0 0
1 0 1 0
0 1 1 0
1 1 0 1
From truth table we can write the expression for sum S and carry C.
For sum and carry summing up input combinations for which the output is 1.
S = A’B + AB’
C = AB
It is seen that the sum S can be realized by EX-OR gate and carry C can be realized by an
AND gate. Such circuit is shown in Fig. 4.93
For sum and carry summing up input combinations for which the output is 1.
S = A XOR B XOR Cin
C = (A XOR B) Cin + AB
4.9 ENCODER:
Notice that only one of the eight inputs is allowed to be activated at any given time. The logic
diagram for the 8-to-3 encoder is shown in Fig. 4.97.
4.10 DECODER:
The block diagram of a 3-bit to 8-element decoder is shown in Fig. 4.98, where the three inputs
are decoded into eight outputs, one for each combination of the input variables.
In the truth table, observe that for each input combination, there is only one output that is equal
to 1 (i.e., each combination selects only one of the eight outputs).
Decoding is so common in digital design that decoders are commercially available as MSI
(medium-scale integration) packages in the form of 2-to-4, 3-to-8, and 4-to-10 decoders.
Integrated circuits for decoders are available in different forms.
4.11 MULTIPLEXER:
4.12 DEMULTIPLEXER:
It has one input common data, ‘n’ select lines and ‘m’ output lines
A demultiplexer performs the reverse operation of a multiplexer i.e. it receives one input and
distributes it over several outputs
At a time only one output line is selected by the select lines and the input is transmitted to the
selected output line
Relation between ‘n’ output lines and m select lines is as follows :
n = 2m
1 to 4 Demultiplexer has one data input F; select line inputs a, b and four outputs A, B, C & D
The select lines control the data to be routed. It helps in selecting the output on which the data
will be routed.
Select Line
Output Line
b a
0 0 A
0 1 B
1 0 C
1 1 D
Boolean Equation
A = Fb′a′; B = Fb′a;
C = Fba′; D = Fba;
Working
Implement the following Boolean functions by using one 3-to-8 decoder and three three-input OR
gates:
Solution:
The output of a sequential block depends not only on the present inputs but also on inputs at
earlier times.
Sequential blocks have this kind of memory, and some of them are used as computer memories.
Most sequential blocks are of the kind known as multivibrators, which can be
1. Monostable - the switch remains in only one of its two positions.
2. Bistable - the switch will remain stable in either of its two positions.
3. Unstable - the switch changes its position continuously as a kind of oscillator, being
unstable in both of its two states.
The most common sequential block is the flip-flop, which is a bistable circuit that remembers
a single binary digit according to instructions.
Flip-flops are the basic sequential building blocks. Various types of flip-flops exist, such as
the SR flip flop (SRFF), D flip-flop (or latch), and JK flip-flop (JKFF), which differ from
one another in the way instructions for storing information are applied.
The symbol for the SRFF is shown in Fig. 4.105 (a), in which S stands for “set,” R stands for
“reset” on the input side, and there are two outputs, the normal output Q and the complementary
output Q . The operation of the SRFF can be understood by the following four basic rules.
If S = 1 and R = 0, then Q = 1 regardless of past history. This is known as the set condition.
If S = 0 and R = 1, then Q = 0 regardless of past history. This is known as the reset condition.
If S = 0 and R = 0, then Q does not change and stays at its previous value. This is a highly
stable input condition.
The inputs S = 1 and R = 1 are not allowed (i.e., forbidden) because Q Q = 11; Q is no longer
complementary to Q. This is an unacceptable output state. Such a meaningless instruction
should not be used.
Fig. 4.106 summarizes the specification for an SRFF in terms of a truth table, in which Qn is
the state of the circuit before a clock pulse and Qn+1 is the state of the circuit following a clock
pulse.
Flip-flops can be constructed using combinations of logic blocks. The realization of an SRFF
can be achieved from two NAND gates (plus two inverters), as shown in Fig.4.106.
Edge triggered SRFF symbols are illustrated in Fig. 4.107. The triangle on the Ck (clock) input
indicates that the flip-flop is triggered on the edge of a clock pulse.
(a) (b)
Fig. 4.107: (a) Triggered on positive edge of clock pulse. (b) Triggered on negative edge of
clock pulse
Ex 4.99: The inputs to an SRFF are shown in Fig. 4.108 Determine the value of Q at times t1,
t2 and t3.
Fig. 4.108
Solution:
Notice that the value of Q at time t0 is not given; however, it is not necessary to have this
information. The first pulse of S sets the SRFF in the state Q = 1. Thus at t = t1, Q = 1. While the
second pulse of S tries again to set the SRFF, there will be no change since Q was already 1. Thus
at t = t2, Q = 1. The pulse of R then resets the SRFF and then at t = t3, Q = 0.
The symbol and circuit diagram for the clocked D flip-flop is shown in Fig. 4.109, in which
the two output terminals Q and Q behave just as in the SRFF, and the input terminals are D
and Ck (clock).
The term clocked flip-flop indicates that this device cannot change its state (i.e., Q cannot
change) unless a specific change instruction is given through the clock (Ck) input.
Fig. 4.109: (a) Symbol of D flip-flop (b) Truth table of D flip-flop (c) Circuit Diagram of D
flip-flop
The value of Q after the change instruction is equal to the value of D at the time the change
instruction is received. The value of Q before the change instruction does not matter. Fig. 4.109
(b) illustrates the values taken by Q after the change instruction for various inputs D and prior
values of Q.
While there are several variations of the device, in the rising-edge triggered flip-flop a change
instruction is effected whenever the Ck input makes a change from 0 to 1.
Propagation delay: which means that there is a small delay (about 20 ns) between the change
instruction and the time Q actually changes. The value of D that matters is its value when the
change instruction is received, not its value at the later time when Q changes.
Timing diagram: A timing diagram depicts inputs and outputs (as a function of time) of the
flip-flop (or any other logic device) showing the transitions that occur over time.
Ex 4.100: The positive-edge triggered D flip-flop is given the inputs shown in below fig. 4.110,
with a zero initial value of Q. Draw the timing diagram.
Solution:
The JKFF differs from an SRFF in that output Q is fed back to the K-gate input and, Q to the
J-gate input. Assuming Q Q = 01, gate B is disabled by Q = 0 (i.e., F =1).
The only way to make the circuit changeover is for gate A to be enabled by making J = 1 and
Q = 1 (which it is already). Then when Ck = 1, all inputs to gate A are 1 and E goes to zero,
which makes Q = 1. With Q and F both equal to 1, Q = 0, so the flip-flop has changed state.
Note that the input condition JK = 11 is allowed, and in this condition, when the flip-flop is
clocked, the output always changes state; thus it is said to toggle.
If the clock pulse is short enough to permit the flip-flop to change only once, the JKFF operates
well. However, with modern high-speed ICs a race is more likely to occur.
Race around Condition: It is a condition, in which two pulses are intended to arrive at a
destination gate in some specific order, but due to each one racing through different paths in
the logic with a different number of gates, the propagation delays stack up differently and the
timing order is lost.
This can be eliminated by introducing delays in the feedback paths between outputs (Q and
Q ) and inputs (J and K). A better solution to the problem is the master–slave JKFF.
MASTER–SLAVE JK FLIP-FLOP
Fig. 4.111 illustrates a master–slave JKFF, in which gates A, B, C, and D form the master flip-
flop and T, U, V, and W form the slave.
The output of the master–slave JKFF can be predicted for all combinations of J and K and for
any duration of clock pulse. Thus it is the most versatile and universal type of flip-flop. SRFFs
are also available in master–slave configuration.
A register (Shift register) is a collection of flip flops (and some basic combinational gates to
perform different binary arithmetic and logic operations), where each flip-flop is used to store
1 bit of information.
JKFFs and SRFFs are also used in shift-register construction.
Fig. 4.112 shows the block diagram of a 4-bit shift-right register that uses D flip-flops. JKFFs
and SRFFs are also used in shift-register construction.
Observe in the timing diagram, each successive clock pulse transfers (or shifts) the data bit
from one flip-flop to next one to right and appear at the output in serial form. The shift register
is then known as a serial-in serial-out (SISO) shift register.
Bidirectional shift registers: - Registers that are capable of shifting the data to the left or right
are known as bidirectional shift registers.
Universal register: - The register along with additional gates on a single chip forms an IC
component known as the universal register, which usually includes the shift-left, shift-right,
parallel-input, and no-change operations.
Ex 4.101: Given the block diagram for a 4-bit shift-left register shown in below Figure, draw
the output (Q0, Q1, Q2, Q3, and data out) as a function of time for the clock, clear, and data-
in signals given in below Figure.
(a)
(b)
Solution:
4.15 COUNTERS:
The shift register can be used as a counter because the data are shifted for each clock pulse. A
counter is a register that goes through a predetermined sequence of states when input pulses
are received. Besides, computers, timers, frequency meters, and various other digital devices
contain counters for counting events. There are mainly types discussed below.
Output of each flip-flop activates the next flip-flop throughout the entire sequence of the
counter’s states.
Fig. 4.117: Block diagram of a 3-bit Asynchronous /ripple counter using JKFFs
Notice from the timing diagram that the output Q0 of the leftmost flip-flop will change its state
at every clock pulse if the clear signal equals zero.
The output Q1, controlled by Q0, will change its state every time Q0 changes from 0 to 1.
Similarly Q2 is controlled by Q1.
Outputs for the first 8 clock pulses shown in fig. 4.118 Observe that a 3-bit counter will cycle
through 8 states, 000 through 111. An n-bit ripple counter, in general, will cycle through 2n
states; it is known as a divide-by-2n counter or modulo-2n binary counter.
Taking the outputs from Q2 Q1 Q0, the counter becomes an up-counter; taking the outputs
from 𝑄̅ 2 𝑄̅ 1 𝑄̅ 0 the counter becomes a down-counter, which counts down from a preset number.
The slow speed of operation, caused by the long time required for changes in state to ripple
through the flip-flops, is a disadvantage of ripple counters.
In Synchronous Counter, the external clock signal is connected to the clock input of each
individual flip-flop within the Counter so that all of the flip-flops are clocked together
simultaneously and in parallel at the same time giving a fixed time relationship. In other words,
changes in the output occur in “synchronisation” with the clock signal.
The result of this synchronisation is that all the individual output bits changing state at exactly
the same time in response to the common clock signal with no ripple effect and therefore, no
propagation delay.
Slow speed of operation problem is overcome by using synchronous converters. However,
additional control logic is needed to determine which flip-flops, if any, must change state, since
flip-flops are triggered simultaneously.
It can be seen that the external clock pulses (pulses to be counted) are fed directly to each J-K
flip-flop in the counter chain and that both the J and K inputs are all tied together in toggle
mode, but only in the first flip-flop, flip-flop A (LSB) are they connected HIGH, logic “1″
allowing the flip-flop to toggle on every clock pulse. Then the synchronous counter follows a
predetermined sequence of states in response to the common clock signal, advancing one state
for each pulse.
The J and K inputs of flip-flop B are connected to the output “Q” of flip-flop A, but
the J and K inputs of flip-flops C and D are driven from AND gates which are also supplied
with signals from the input and output of the previous stage.
If we enable each J-K flip-flop to toggle based on whether or not all preceding flip-flop outputs
(Q) are “HIGH” we can obtain the same counting sequence as with the asynchronous circuit
but without the ripple effect, since each flip-flop in this circuit will be clocked at exactly the
same time.
Then as there is no inherent propagation delay in synchronous counters, because all the counter
stages are triggered in parallel at the same time, the maximum operating frequency of this type
of frequency counter is much higher than that for a similar asynchronous counter circuit.
Because this 4-bit synchronous counter counts sequentially on every clock pulse the resulting
outputs count upwards from 0 (“0000″) to 15 (“1111″). Therefore, this type of counter is also
known as a 4-bit Synchronous Up Counter.
As in a synchronous counter, all flip-flops are triggered simultaneously. However, the output
of each flip-flop drives only an adjacent flip-flop. A single pulse propagates through the ring
in a ring counter, whereas all remaining flip-flops are at the zero state.
Some counters are also programmable. Fig. 4.121 shows a 4-bit (modulo-4) ring counter using
D flip-flops; its timing diagram is given in Fig. 4.122.
A modulo-n ring counter requires N flip-flops and no other gates, whereas modulo-N ripple
and synchronous counters need only log2 N flip-flops. However, ripple and synchronous
counters generally use more components than ring counters.
Ex 101: The block diagram for a 3-bit ripple counter is shown in Figure. Obtain a state table
for the number of pulses N = 0 to 8, and draw a state diagram to explain its operation.
(a)
Solution:
State table:
(b)
State diagram:
(c)
The state table and the state diagram are given in Figures (b) and (c). The horizontal arrows
indicate the times when clock inputs are applied to FF2 and FF3. These times are located by
noting that every time Q1 makes a transition from 1 to 0, FF2 is clocked, and when Q2 goes from
1 to 0, FF3 is clocked. In the state diagram, the eight states of the system are indicated by the
values of the three-digit binary number Q3 Q2 Q1.
For the results of digital computations to be used in the analog world, it becomes necessary to
convert the digital values to proportional analog values.
Unlike analog signals, digital data can be transmitted, manipulated, and stored without
degradation. But a DAC is needed to convert the digital signal to analog to drive an earphone
or loudspeaker amplifier in order to produce sound (analog air pressure waves).
Fig. 4.124 shows a 4-bit weighted-resistor D/A converter which includes a reference voltage
source, a set of four electronically controlled switches, a set of four binary-weighted precision
resistors, and an Op-Amp.
Each binary bit of digital input code controls its own switch. The switch closes with a bit value
of 1, and the switch stays open with binary 0. The resistor connected to the most significant bit
(MSB), b0, has a value of R; b1 is connected to 2R, b2 to 4R, and b3 to 8R.
Thus, each low-order bit is connected to a resistor that is higher by a factor of 2. For a 4-bit
D/A converter, the binary input range is from 0000 to 1111.
An important design parameter of a D/A converter is the resolution, which is the smallest
output voltage change, ∆V, which for an n-bit D/A converter is given by
𝑉𝑟𝑒𝑓
∆𝑉 = n
2 −1
The range of resistor values becomes impractical for binary words longer than 4 bits. Also, the
dynamic range of the op amp limits the selection of resistance values.
To overcome these limitations, the R–2R ladder D/A converter is developed.
Fig. 4.125 shows a 4-bit R–2R ladder D/A converter, which contains a reference voltage source,
a set of four switches, two resistors per bit, and an op amp.
The analog output voltage can be shown to be because only two resistor values (R and 2R) are
used, the R–2R ladder converter networks are relatively simple to manufacture, fast, practical,
and reliable.
The commercially available AD558, which is an 8-bit R-2R D/A converter, is an example.
3. 2n - R D/A CONVERTER
An n-bit 2n –R D/A converter needs 2n resistors of equal value R and (2n+1 −2) analog switches.
A 3-bit 2n −R D/A converter is shown in Fig. 4.126, which includes the eight resistors
connected in series to form a voltage divider providing eight analog voltage levels, as well as
14 analog switches controlled by the digital input code such that each code creates a single
path from the voltage divider to the converter output.
A unit-gain amplifier is connected to the output in order to prevent loading of the voltage
divider.
2n − R D/A converters are economically manufactured as LSI packages in spite of the large
number of components needed.
Ex 102: For the 4-bit D/A converter of Fig. 4.124 with Vref = −5 V, determine the range of
analog output voltage and the smallest increment.
Solution:
Ex 103: For the 3-bit 2n–R D/A converter of Fig. 4.126, calculate the analog output voltage
when the input is (a) 100, and (b) 010.
Solution:
(a) For the binary input 100, switches controlled by B0, .B1, and .B2 will be closed. A path is then
produced between the output Vo and point 4, where the voltage is equal to Vref /2. The analog
output voltage is therefore Vref/2.
(b) For the binary input 010, switches controlled by B0, B1, and .B2 will be closed. A path exists
between Vo and point 6, where the voltage is equal to Vref/4. The analog output voltage is thus
Vref/4.
The A/D converter converts analog input signals into digital output data in many areas such
process control, aircraft control, and telemetry. Being the interface between analog systems
and digital systems, it plays a key role in many industrial, commercial, and military systems.
Several types of A/D converters exist: counter-controlled, successive-approximation, and dual-
ramp (dual-slope) converters.
The commercially available LM311 is an example that is widely used by designers.
Resetting the binary counter to zero produces D/A output voltage V2 = 0 and initiates the
analog-to-digital conversion.
When the analog input V1 is larger than the DAC (D/A converter) output voltage, the
comparator output will be high, thereby enabling the AND gate and incrementing the counter.
V2 is increased as the counter gets incremented; when V2 is slightly greater than the analog
input signal, the comparator signal becomes low, thereby causing the AND gate to stop the
counter. The counter output at this point becomes the digital representation of the analog input
signal.
The relatively long conversion time needed to encode the analog input signal is the major
disadvantage of this method.
This converter, shown in Fig. 4.128, also contains a D/A converter, but the binary counter is
replaced by a successive-approximation register (SAR), which makes the analog-to-digital
conversion much faster.
The SAR sets the MSB to 1 and all other bits to 0, after a start-of conversion pulse. If the
comparator indicates the D/A converter output to be larger than the signal to be converted, then
the MSB is reset to 0 and the next bit is tried as the MSB.
On the other hand, if the signal to be converted is larger than the D/A computer output, then
the MSB remains 1. This procedure is repeated for each bit until the binary equivalent of the
input analog signal is obtained at the end.
This method requires only n clock periods, compared to the 2n clock periods needed by the
counter-controlled A/D converter, where n is the number of bits required to encode the analog
signal.
The National ADC 0844 is a popular 8-bit A/D converter based on the SAR.
After a start-of-conversion pulse, the counter is cleared and the analog input Vin becomes the
input of the ramp generator (integrator). When the output of the ramp generator Vo reaches
zero, the counter starts to count.
After a fixed amount of time T, as shown in Fig. 4.130, the output of the ramp generator is
proportional to the analog input signal. At the end of T, the reference voltage Vref is selected,
when the integrator gives out a ramp with a positive slope. As Vo increases, the counter is
incremented until Vo reaches the comparator threshold voltage of 0 V, when the counter stops
being incremented again. The value of the counter becomes the binary code for the analog
voltage Vin, since the number of clock pulses passing through the control logic gate for a time
t is proportional to the analog signal Vin. Dual-ramp A/D converters can provide accuracy at
low cost, even though the process is slow because a double clock pulse count is an inherent
part of the process.
Ex 104: The speed of an 8-bit A/D converter is limited by the counter, which has a maximum
speed of 40 × 106 counts per second. Estimate the maximum number of A/D conversions per
second that can be achieved.
Solution:
The rate of the clock will be constant, independent of the analog input. It must be slow enough to
allow the counter to count up to the highest possible input voltage. This will require 255(= 27 + 26
+ 25 + 24 + 23 + 22 + 21 + 20) counts, which will take 255 / (40 × 106) = 6.375 μs.
Thus, the process can be repeated 106/6.375 = 156,863 times per second.
4.17 MEMORY:
For a digital computer which stores both programs and data, memory can be divided into three
types:
1. Random-access memory
2. Mass storage, and
3. Archival storage.
1. Random-access memory
It includes read-and-write memory (RAM), read-only memory (ROM), programmable read-
only memory (PROM), and erasable programmable read-only memory (EPROM), in which
any memory location can be accessed in about the same time, the time required to access data
in a mass-storage device is relative to its location in the device.
2. Mass storage
Such as magnetic disk memory, has a relatively large storage capacity and is lower in cost per
bit than random access memory.
3. Archival storage
Such as magnetic tape, is long-term storage with a very large capacity, but with a very slow
access time, and may need user intervention for access by the system.
Writing is the same as storing data into memory and reading is the same as retrieving the data
later.
RAM is said to be volatile because its contents are retained only as long as power is present.
A RAM device is a collection of 2n addressable storage locations, each of which contains k
bits.
Its block diagram is shown in Fig. 4.131, in which each cell may be a flip-flop or a capacitor,
and n address lines are decoded to select k cells.
A static RAM, in which each cell is a flip-flop, is the read-and-write memory that retains its
data so long as the power is applied, without any further action needed from the computer.
Static RAM is used in microprocessor-based systems requiring small memory. Common static-
RAM sizes are 2K × 8, 8K × 8, and 32K × 8, where K stands for 210 = 1024.
A dynamic RAM, in which each cell is a capacitor (which leaks charges and therefore requires
continuous refreshing from the computer to maintain its value), is the read-and-write memory
that is used in large memory systems due to its lower cost and greater density. Common
dynamic-RAM packages are available in 16K-bit, 64K-bit, 256K-bit, and 1M-bit (where M
stands for mega = 220) sizes.
ROM is nonvolatile (because it maintains its contents even when its power is shut off) and is
used to store data and programs that do not change during the operation of the system.
It is read-only devices that are programmed for data storage during the manufacturing of the
chip itself. These are generally less expensive devices for mass production. Character-font
memory for laser printers is a good example.
It is nonvolatile and widely used in microprocessor systems for program storage. It can be
erased by shining an ultraviolet light and reprogrammed if necessary. These are produced in
low to moderate volumes.
4. Electrically erasable programmable ROM (EEPROM)
It is used for remote-area applications. The device is provided with special pins which, when
activated electrically, alter the rewriting of selected memory locations.
Magnetic disk memory is nonvolatile and provides large storage capabilities with moderate
access times.
The data are stored on one or more rigid aluminum circular disks coated with iron oxide.
The most common disks have 11-in diameters and 200 tracks (concentric rings of data) per
surface, numbered from 0 to 199, starting with the outside perimeter of the disk, with a typical
track packing density of 4000 bits per inch.
Disks are mounted on a common spindle, and all disks rotate at a typical speed of 3600
revolutions per minute (rpm).
A typical disk has 17 sectors of fixed size per track and 512 bytes (1 byte = 8 bits) of
information per sector. Any desired sector can be quickly accessed.
1. Floppy disks
Floppy disks, also known as flexible disks, are the low-cost, medium-capacity, nonvolatile
memory devices made of soft flexible mylar plastic with magnetically sensitive iron-oxide
coating.
The original 8-in standard floppy is no longer in popular use. The 514 - in mini floppy has a
disk and a disk jacket covering the mylar media for protection, along with a write-protect notch
and index hole.
The present-day mini floppy disks are either double-sided/double-density (DS/DD) with 9
sectors per track or 40 tracks per side or double-sided/quad-density (DS/QD) with 9 or 15
sectors per track and 80 tracks per side.
In a DS/DD mini floppy disk, about 720 kbytes of data can be stored; whereas in a DS/QD
mini-floppy disk, about 1–2 Mbytes of data can be stored. The 312 -in microfloppy disk, also
known as a microdiskette, is enclosed in a rigid protective case and is provided with a write-
protect notch.
Micro diskettes are recorded in quad-density format with a capacity of 2 Mbytes; 4- to 16-
Mbyte 312 -in diskettes are being developed. Also, 2-in diskettes are introduced in electronic
cameras and portable personal computers.
2. Magnetic tapes
Magnetic tapes are ideal devices for storing vast quantities of information inexpensively.
However, the access time is slow because the entire tape must be read sequentially.
The most commonly used tapes are ½-in wide, 2400 or 3600 ft long, and contained in a long
10½-in reel. Tape densities of 200, 556, 800, 1600, 6250, and 12,500 bits per inch (BPI) are
standard.
In addition to these magnetic storage devices, two newer types of secondary storage have come
into use: Winchester disks and videodisks (also known as optical disks).
The former are sealed modules that contain both the disk and the read/write mechanism,
requiring little maintenance and allowing higher-density recording. The latter have been
introduced recently, with high reliability and durability and a storage capacity of 1 Gbyte of
data (equivalent to almost 400,000 typewritten pages of information).
A typical 14-in optical disk has 40,000 tracks and 25 sectors per track, with each sector holding
up to 1 Kbyte of information. While a write-once optical-disk drive is currently available, a
read-and-write drive is being developed.
It is available in red, yellow, or green color; Two-color LEDs are also available in common
size.
2. Liquid-crystal display (LCD)
This display needs only microwatts of power (over a thousand times less than a LED) and is
used in such devices as electronic wrist watches.
With the application of an electric field the molecules of the liquid-crystal material are
straightened out, absorbing the light and the display appears black.
With no electric field applied, the display appears as a silver mirror because the light is
reflected.
3. Segment displays
Seven-segment displays are the most commonly used numeric display devices, while 10- and
16-segment display devices are alphanumeric which are used to display number and character.
(a) (b)
Fig. 4.133: (a) Seven segments (b) Shows its internal structure, consisting of a single LED
for each of the segments
(a) (b)
Fig. 4.134: (a) Displays the digits by an appropriate combination of lighted segments (b)
The 16-segment display commonly used for alphanumeric data
While the CRT display is one of the oldest, it still remains one of the most popular display
Technologies. The raster-scanned display devices work similarly to commercial television sets,
whereas graphics display devices use different technologies to achieve extremely high
resolution.
A CRT video signal has only two levels, with a 0 level causing a dark spot and a 1 level causing
a bright spot. The appropriate combination of 1s and 0s displays data on a CRT screen, with
each Character displayed by dot-matrix displays, typically in 5 × 7 or 7 × 9 display fonts.
Digital computers, in general, are automatic machines that accept data and instructions,
perform predefined operations very quickly on the data, and have the results available to the
user in various forms. They can be classified as microcomputers, minicomputers, mainframes,
and supercomputers.
1. Microcomputers:
Microcomputer has become a common part of everyday life. Today’s 16- and 32-bit
microcomputer systems are also dedicated for real-time applications in a distributed system. A
microprocessor is an LSI device, which is a realization of the computer central-processor unit
(CPU) in IC form. The microprocessor is the CPU of the microcomputer system.
2. Minicomputers:
3. Mainframes
4. Supercomputers:
CPU
This is the brain of the computer as it perform all the calculating, organizing and control
functions.
BUS
A bus, which is a set of wires carrying address, data, and control signals, is employed for
interconnecting the major components of a microcomputer system.
1. Address lines
These are unidirectional signals that specify the address of a memory location of an I/O
device. With a typical 24-bit address bus, the microprocessor can access 224 (over 16
million) memory locations. Memory is generally organized in blocks of 8, 16, or 32 bits.
2. Data bus
It is a bidirectional bus, varying in size from 8 to 32 bits, which carries data between the
CPU, MU, and I/O units.
3. Control bus
It provides signals to synchronize the memory and I/O operations, select either memory or
an I/O device, and request either the read or the write operation from the device selected.
Accumulators
Accumulators are parallel storage registers used for processing the work in progress,
temporarily storing addresses and data, and general functions.
Stacks
It provide temporary data storage in a sequential order and are of use during the execution of
subroutines. A subroutine is a group of instructions that appears only once in the program code,
but can be executed from different points in the program.
Program counter
It is a register/counter that holds the address of the memory location containing the next
instruction to be executed.
Status register
It contains condition-code bits or flags (set to logic 1 or logic 0, depending on the result of the
previous instruction) that are used to make decisions and redirect the program flow.
Instructions
It generally consist of a series of arithmetic and logic type operations, and also include
directions for fetching and transferring data.
Computer network is defined as two or more computers are connected in such a way that they
can share their data, information as well as their resources.
Computer network is the interconnected collection of autonomous computer and peripheral
devices.
The links connecting the devices are called communication channels.
The concepts of connecting computers for sharing resources or data are called networking.
Two computers are said to be interconnected if they are able to exchange information.
Characteristics of LAN
1. It allows users to share storage devices like printer, application data and other network
resources.
2. It transfers data at high speed (more than 1 mbps)
3. Multiple accesses
4. It exists in limited geographically area (up to few kilometers)
5. Its technology is less expensive.
6. It having a lower error rate.
Advantages of LAN
1. LAN are the best means provide a cost effective multi-user computer environment.
2. LAN can fit any site requirement.
3. Any number of users can be accommodated.
A MAN covers a much larger area and might cover an entire city but uses the LAN technology.
It may be a single network which as able television network or it may be means of connecting
a number of LAN’s together into a larger network. So that resources may be shared LAN to
LAN as well as device to device.
For example, a company can use a MAN to connect the LAN’s in all of its offices throughout
a city.
A special category or standard has been adopted for MAN, and this standard is now being
implemented and it is called DQDB (Distributed Queue Dual Bus).
A MAN can support both data and voice.
When a network is spread over wide areas, such as cities, states, countries or continent it is
called a WAN.
Communication on a WAN takes place via telephone lines, satellite or microwave transmission
rather than physical cable.
Most WAN are combination of LANs and other types of communication.
Characteristics of WAN
Computer network architecture refers to the convention used to define how the different
protocols of the system interact with each other support the end users.
The ISO 7-layer model for an OSI is shown in fig. 4.140.
All layers need be implemented; the more layers that are used, the more functionality and
reliability are built into the system. Starting from the bottom layer, the functions of the layers
are as follow.
1. Physical— Defines the type of medium, the transmission method, and the transmission
rates available for the network; provides the means for transferring data across the
interconnection channel and controlling its use.
2. Data Link— Defines how the network medium is accessed, which protocols are used the
packeting/framing methods, and the virtual circuit/connection services; responsible for the
transfer of data across the link; provides for the detection and correction of data
transmission errors.
3. Network— Standardizes the way in which addressing is accomplished between linked
networks; performs networking functions and internetworking.
4. Transport— Handles the task of reliable message delivery and flow control between
applications on different stations; provides source-to-destination data integrity.
5. Session— Establishes two-way communication between applications running on different
stations on the network; provides the user interface into the transport layer.
6. Presentation— Translates data formats so that computers with different “languages” can
communicate; provides the syntax (rules) of representation of data between devices.
7. Application— Interfaces directly with the application programs running on the stations;
provides services such as file access and transfer, peer-to-peer communication among
applications, and resource sharing; provides support to process end users’ applications such
as electronic mail, database management, and file management.
Topology which refers to the way interconnection path between many users.
The five basic network topologies are Bus, Star, Ring, Mesh, Tree topologies as illustrate in
Fig. 4.141.
Bus topology is used predominantly by LANs, whereas star topology is commonly used by
private-branch exchange (PBX) systems.
Ring topology may have centralized control (with one node as the controller) or decentralized
control (with all nodes having equal status).
Tree topology is used in most of the remote-access networks, whereas distributed topology is
common in public and modern communications networks.
Star topology has a dedicated point to point link only to a center controller usually called HUB.
There are not direct linked to each other.
A fully distributed network / mesh topology allows every set of nodes to communicate
directly with every other set through a single link and provides an alternative route between
nodes.
(d) (e)
Fig. 4.141: (a) Bus topology (b) Star topology (c) Ring topology (d) Tree topology (e) mesh
topology
Gateways do not provide direct connections among all pairs of networks. The TCP/IP is
designated to provide a universal interconnection among machines, independent of the
particular network to which they are attached.
Besides gateways that interconnect physical networks, as shown in Fig. 4.142, Internet access
software is needed on each host (any end-user computer system that connects to a network) to
allow application programs to use the Internet as if it were a single, real physical network.
Hosts may range in size from personal computers to supercomputers.
Bounded media, in which signals representing data are confined to the physical media, are
twisted pairs of wires, coaxial cables, and optical-fiber cables, used in most LANs.
Unbounded media, such as the atmosphere, the ocean, and outer space in which the
transmission is wireless, use infrared radiation, lasers, microwave radiation, radio waves, and
satellites.
Data are transmitted from one node to another through various transmission media in computer
communications networks.
Twisted pairs are used in low-performance and low-cost applications with a data rate of about
1 Mbit per second (Mbps) for a transmission distance of about 1 km.
Baseband coaxial cables used for digital transmission are usually 50Ω cables with a data rate
of about 10 Mbps over a distance of about 2 km.
Broad-band coaxial cables used for analog transmission (cable TV) are usually 75 Ω cables
with a data rate of about 500 Mbps over a distance of about 10 km.
Optical fiber cable is the lighter and cheaper fiber-optic cables support data transmission of
about 1 Gbps over a distance of about 100 km.
Data can be transferred between two stations in either serial or parallel transmission.
Parallel data transmission, in which a group of bits moves over several lines at the same time,
is used when the two stations are close to each other (usually within a few meters), as in a
computer–printer configuration.
Serial data transmission, in which a stream of bits moves one by one over a single line, is
used over a long distance. Serial data transfer can be either asynchronous or synchronous.
Asynchronous data communication is most commonly applied in low-speed terminals and
small computers. Large-scale integration (LSI) devices known as UARTs (universal
asynchronous receivers/transmitters) are commercially available for asynchronous data
transfer.
Synchronous data communication is used for transferring large amounts of data at high speed.
USARTs (universal synchronous/asynchronous receivers/transmitters) are commercially
available LSI devices.
Frequency-division multiplexing (FDM) is a technique for data transmission widely used in
telephone, radio, and cable TV systems in which the transmission frequency spectrum (i.e.,
bandwidth) is divided into smaller bands known as sub-channels.
Data transmission between two stations can be achieved in either simplex, half-duplex, or full-
duplex mode.
In a simplex mode, mainly used in radio and TV broadcasts, information travels only in one
direction. This mode is rarely used in data communications.
In a half-duplex mode, used by radio communications, information may travel in both
directions, but only in one direction at a time. The transmitter becomes the receiver and vice
versa. E.g. Walkie – Talkie.
In a full-duplex mode, information may travel in both directions simultaneously. This mode,
used in telephone systems, adopts two different carrier frequencies.
4.20.6 Modem
The serial digital data to be transmitted are modulated, filtered, and amplified for analog
transmission; the analog data received at the receiving end are amplified, filtered, and
demodulated to produce serial digital signals.
There are four different types of modems: half-duplex, full-duplex, synchronous, and
asynchronous.
With half-duplex modems data can be transmitted in only one direction at a time. Fullduplex
modems transmit data in both directions at the same time; one modem is designated as the
originating modem and the other as the answering modem, while transmitting and receiving
data are done at different frequencies.
Asynchronous modems are low-data-rate modems transmitting serial data at a rate of about
1800 bits per second (bps).
Synchronous modems are high-data-rate modems transmitting serial data at a rate of about
10,800 bps.
A microcomputer along with its timing circuit, keypad, and display unit controls the heating
resistor, fan motor, and bread-ingredient mixing motor by means of digitally activated switches.
An analog temperature sensor, through an A/D converter, provides the status of temperature to
the microcomputer.
A digital timer circuit counts down, showing the time remaining in the process.
The control programs are stored in ROM and determine when and how long the machine
should mix the ingredients added to the bread pan, when and how long the heating resistor
should be turned on or off for various parts of the cycle, and when and how long the fan should
be on to cool the loaf after baking is finished. The parameters such as light, medium, or dark
bread crust are entered through the keypad into RAM.
According to the programs stored and the parameters entered, the machine initially mixes the
ingredients for several minutes.
The heating resistor is turned on to warm the yeast, causing the dough to rise while a
temperature of about 90°F is maintained. The time remaining and the temperature are
continually checked until the baked loaf is cooled, and the finished bread is finally ready in
about 4 hours.
Microprocessors and computers in various forms are used extensively in household appliances,
automobiles, and industrial equipment.
QUESTIONS
4.1 Introduction
1. Define analog and digital signal.
2. Give comparison of analog and digital systems.
4.9 Encoder
1. What is encoder? Explain it in detail with necessary diagrams.
2. Explain octal to binary (8 to 3) encoder.
4.10 Decoder
1. What is decoder? Explain it in detail with necessary diagrams.
2. Implement full adder using decoder.
3. Implement following function using decoder: F = Σ(4, 6, 7, 9, 10, 13)
4.11 Multiplexer
1. What is multiplexer? Explain it in detail.
2. Implement the function F(x, y) = ∑(0, 1, 3) using multiplexer.
3. Implement the function F(x, y, z) = ∑(1, 2, 6, 7) using 4 X 1 multiplexer.
4.12 Demultiplexer
1. What is demultiplexer? Explain it in detail.
2. Explain 1 to 8 demultiplexer in detail.
4.15 Counters
1. Explain asynchronous or Ripple counter.
2. Explain synchronous counter.
3. Explain ring counter.
4.17 Memory
1. What is memory? List down applications of it. Also explain ROM, RAM, PROM, EPROM
and EEPROM.
2. Give comparison of ROM, EPROM and EEPROM.
3. Explain various network topologies (Mesh, Ring, Star, Bus, Tree topology) with its
advantages.
4. Write short note on transmission media.
5. Explain various types of data transmission modes.
6. What is modem? Explain it in detail with block diagram.
SIGNAL PROCESSING
Signal and signal classification
Spectral analysis
Modulation
Sampling and Multiplexing
Interference and noise
Practical application: case study
SIGNAL
Signal is the representation of a physical quantity that conveys information about that
quantity.
As electric quantities like voltage or current are relatively easy in processing and
transmitting.
Signals are generally represented in form of voltage or current. Thus electric signal is
a voltage or current waveform whose variation with respect to time or frequency
represents desired information about physical quantity of interest.
For example temperature sensor gives output voltage that is proportional to the
temperature being measured.
Classification of Signals
A signal whose value is defined at all instances of time is called continuous time
signal.
On the other hand signal whose values are defined only at discrete instances of
time is called discrete time signal.
Most of the signals in nature are continuous time signals. A discrete time signal
can be obtained from continuous time signal by process called sampling. This has
been illustrated in Figure 1.
If a signal can take any value in a give range between some minimum and
maximum value then the signal is called continuous value signal.
On the other hand if a signal takes only certain fixed values in a given range then
it is called discrete value signal. For processing the signal on digital systems these
discrete values are represented in terms of binary.
Figure 2: Continuous value signal (solid line) and discrete value signal (dotted line).
Periodic signals are one that repeats itself after a regular interval of time. A
periodic signal x(t) satisfies following property.
where, k is any integer and T is the smallest interval after which the signal
repeats itself, called the period of the signal.
Signals that are not repetitive in nature are aperiodic or non-periodic signals.
(a) (b)
Deterministic signals are those signals whose values are completely specified for
any given time. Thus, a deterministic signal can be modeled by a mathematical
function of time. For example x(t) = Asin(100πt).
Random signals are those signals that take random values at any given time and
hence they cannot be represented as function of time. Such signals are
characterized statistically.
(a) (b)
Figure 4. (a) Even signal (b) Odd signal.
Any signal x(t), in general, can be expressed as the sum of its even and odd parts as
expressed below.
Example
Solution
Since cos 2πf0t is even and sin 2πf0t is odd, it follows that
xe(t) = A cos θ cos 2πf0t and
xo(t) = −A sin θ sin 2πf0t
b) For θ = 0, x(t) = A ej2𝜋fot , the real part and the magnitude are even; the imaginary part
and the phase are odd. Noting that a complex signal x(t) is called hermitian if its real
part is even and its imaginary part is odd, the signal and symmetry are then said to be
hermitian.
A signal whose values are defined for both t < 0 and t > 0 are called non-causal
signals.
A signal is Energy signal if and only if the energy Ex of the signal, is well defined
and finite i.e. 0 < Ex < ∞.
A signal is a power-type signal if and only if the power Px of the signal, is well
defined and finite i.e. 0 < Px < ∞.
Typically for energy signal average power is 0 and for power signal energy is ∞.
Example
Classify each of the following signals as an energy signal or a power signal, by calculating
the energy E, or the power P (A, θ, ω and τ are real positive constants).
1) x1(t) = A | sin(ωt + θ)|
2) x2(t) = Aτ / √τ + jt, j=√−1
3) x3(t) = At2e−t/τ u(t).
Solution
1) Power signal.
and
3) Energy signal
Popular example of complex signal is complex exponential signal x(t) = ej2πft
x(t) = 𝑒 𝑗2𝜋𝑓𝑡 = cos(2𝜋𝑓𝑡) + 𝑗𝑠𝑖𝑛(2𝜋𝑓𝑡)
Example
A signal x(n) is graphically illustrated in Figure given below. Show a graphical representation
of the signals x(n - 3) and x(n + 2).
On the other hand, the signal x(n + 2) is obtained by advancing x(n) by two units in time. The
result is illustrated in Figure.
Note: The Delay corresponds to shifting a signal to the right, whereas advance implies
shifting the signal to the left on the time axis.
SIGNAL PROCESSING
Any operation performed on the signal to achieve the desired purpose is called signal
processing. Simple examples of signal processing can be amplification of a signal so as to
increase the strength of the signal or modulation of a signal so as to communicate it over a
longer distance, etc.
Transducer:
A transducer is usually required to convert the output of a source into an electrical
signal that is suitable for transmission.
Typical examples include a microphone converting an acoustic speech or a video
camera converting an image into electric signals.
Transmitter:
The transmitter (input processor) converts the electric signal into a form that is
suitable for transmission through the physical channel or transmission medium.
For example, in radio and TV broadcasts, the signal is appropriately modulated before
transmission.
Communication channel:
The communication channel (transmission medium) is the physical medium that is
utilized to send the signal from the transmitter to the receiver.
The channel can be wired (land line telephones) or wireless (radio, mobile phones).
The transmission medium is the most vulnerable part of a communication system and
the signal while traveling over the transmission medium may get corrupted (get error)
due to phenomena like attenuation, distortion, interference, noise, etc.
Receiver:
The receiver is to recover the message signal contained in the received signal. For
example a modulated signal when received has to be demodulated to get the desired
information.
The received signal can appropriately converted back to the desired form using output
transducer. For example, loudspeaker to convert electrical signals to sound.
This system to successfully work may require number of signal processing operations like
Block diagram of a digital signal processing system is shown in Figure 6. For each function
performed on transmitter side, there is an inverse operation on the receiver side.
Figure 6. Digital signal processing system showing need of signal processing operations.
On the receiver side opposite signal processing operations are performed starting with
demodulation, channel decoding and source decoding and digital to analog
conversion.
x(t) = A cos(2πft + θ)
Till now a sinusoidal signal has been represented as a function of time t. Such
representation is called time domain representation.
Amplitude Phase
A
In spectrum representation Sinusoidal signals are important because they have unique
(single) frequencies.
An arbitrary signal does not have a unique frequency. The signal shown in Figure 8 is
periodic but not pure sinusoidal. It actually is sum of two sinusoidal signals of
different frequencies represented as follows.
Amplitude
Frequency (Hz)
FOURIER SERIES
From this representation the magnitude and phase of nth frequency component (called
nth harmonics) can be calculated using
(arctan = tan-1)
Example
Find the Fourier series for the square 2π-periodic wave defined on the interval [−π, π]:
Solution
Since ,
we can write:
We can easily find the first few terms of the series. By setting, for example, n = 5, we get
Figure 9.2 n = 5, n = 10
Figure 9.1 n = 10
Example
Find the Fourier series for the function
Solution
First we find the constant a0:
Notice that
Since cos (n − 1)π = (−1)n −1, we get the following expression for the coefficients an:
Graphs of the function and its Fourier expansions for n = 2 and n = 8 are shown in Figure 10.
SPECTRUM ANALYSIS
SIGNAL BANDWIDTH
FILTERING
DISTORTION
Any undesired alteration in the nature of the signal is known as distortion. Generally
when a signal is communicated over a transmission line they may be subjected to
distortion.
Distortionless transmission line is one in which the signal obtained at the output of the
transmission line is replica of the signal at the input. This means that the shape of the
signal is preserved.
Transmission line can be modeled as liner network as shown in the Figure 11 where
H(f) indicates the effect on amplitude of various frequency components of signals
and θ(f) indicates the effect on phase of various frequency components of signal.
Where,
K= scaled factor
td = delayed in time
This means that the transmission line is distortion free if amplitude and phase of all
frequency components present in the signal are uniformly affected. In this case the
overall amplitude of the signal may change and signal may be delayed(td) but still the
nature of shape of the signal remains same.
Types of distortions:
EQUALIZER
Equalizer is a system that is used to compensate for the distortion that may occur in
the signal when communicated over the transmission line.
Equalizer is used at the receiver end of the transmission line. The signal received from
the transmission line is given to the equalizer. Equalizer is designed such that it
affects the amplitude and phase of various frequency components of the signal so as
to compensate for the distortion that may have occurred in transmission line.
MODULATION
Modulation is the process whereby the amplitude (or another characteristic) of a wave
is varied as a function of the instantaneous value of another wave. The first wave,
which is usually a single-frequency wave, is called the carrier wave; the second is
called the modulating wave.
Demodulation or detection is the process whereby a wave resulting from modulation
is so operated upon that a wave is obtained having substantially the characteristics of
the original modulating wave.
Modulation and demodulation are then reverse processes. The information from a
signal x(t) is impressed on a carrier waveform whose characteristics suit a particular
application.
If the carrier is a sinusoid, we will see that a phenomenon known as frequency
translation occurs. If, on the other hand, the carrier is a pulse train, the modulating
signal needs to be sampled as part of the modulation process.
Frequency translation and sampling have extensive use in communication systems.
Both of these lend to multiplexing, which permits a transmission system to handle two
or more information-bearing signals simultaneously.
The basic operation needed to build modulators is the multiplication of two signals.
Whenever sinusoids are multiplied, frequency translation takes place.
Figure 13(a) shows a product modulator, which multiplies the signal x(t) and a
sinusoidal carrier wave at frequency fc to yield
Choosing x(t) to be a low-pass signal with bandwidthW << fc, Figure 13 (b) depicts
the relationship between xc(t) and x(t). The modulated wave xc(t) can now be seen to
have a bandpass spectrum resulting from frequency translation.
If x(t) contains a sinusoidal component Amcos2πfmt, multiplication by a sinusoidal
carrier wave cos2πfct with fc >> fm yields
𝐴𝑚 𝐴𝑚
(Am cos 2πfmt) × (cos 2πfct) = cos 2π(fc − fm)t + cos 2π(fc + fm) t
2 2
Where,
fc =frequency of carrier signal
fm = frequency of modulated signal
Waveforms of the signal, the carrier wave, and the product, as well as their respective
line spectra, are shown in Figure. Notice that the low frequency fm has been
translated to the higher frequencies fc ± fm.
Next, let us consider an arbitrary low-pass signal x(t) with the typical amplitude
spectrum of Figure 13.1.(a). The amplitude spectrum of the modulated wave xc(t) will
now have two sidebands (lower and upper sidebands), each of width W on either side
of fc, as illustrated in
Figure 13.1(b). Thus, we have a signal that can be transmitted over a bandpass system
with a minimum bandwidth of
B = 2W
which is twice the bandwidth of the modulating signal. This process is then known as
double sideband modulation (DSB). Either the lower or the upper sideband may be
removed by filtering so as to obtain single-sideband modulation (SSB) with B=W, if
the bandwidth needs to be conserved.
By choosing the carrier frequency fc at a value where the system has favorable
characteristics, the frequency translation by product modulation helps in minimizing
the distortion and other problems in system design.
Now, in order to recover x(t) from xc(t), the product demodulator shown in Figure 14.
(a),which has a local oscillator synchronized in frequency and phase with the carrier
wave, can be used. The input y(t) to the low-pass filter is given by
indicating that the multiplication has produced both upward and downward frequency
translation.
In Equation above, the first term is proportional to x(t), while the second looks like
DSB at carrier frequency 2fc. Then, if the low-pass filter in Figure 14(a) rejects the
high-frequency components and passes f ≤ W, the filtered output z(t) will have the
desired form z(t) = Kx(t).
Figure 14
SAMPLING
(a) (b)
(b) (d)
Figure 15 (a) Switching sampler (b) Model of sampler (c) Train of pulses as switching
function (d) sampled signal
Example
F= f FS = 75f
F = 25 Hz
Clearly, the sinusoidal signal
PULSE MODULATION
Classification
Figure 16
Figure 17
The pulse generator produces a pulse train with the sampled values carried by the
pulse amplitude, duration, or relative position. These are then known as pulse
amplitude modulation (PAM), pulse duration modulation or pulse width modulation
(PDM or PWM), and pulse position modulation (PPM), respectively.
At the output end, the modulated pulses are converted back to sample values for
reconstruction by low-pass filtering.
Figure 18
Figure 19
Pulse Position Modulation (PPM)
In PPM the position of a constant-width pulse within a prescribed time slot is varied
according to the amplitude of the sample of the analog signal.
The higher the amplitude of the sample, the farther to the right the pulse is positioned
within the prescribed time slot.
The highest amplitude sample produces a pulse to the far right, and the lowest
amplitude sample produces a pulse to the far left.
It is used in special-purpose communications system mainly for the military but are
seldom used for commercial digital transmission
Figure 20 shows how PPM works on analog information signal
MULTIPLEXING
Multiplexing is an operation where in two or more signals are transmitted jointly over
the same transmission channel.
Multiplexing helps to efficiently use resources for communication more information.
In TDM the same transmission channel is used by more than one source of
information in time shared mode. Information from each source is transmitted on the
channel one-by-one. Basic model of TDM is shown in Figure 21.
On the input side an electronic switch obtains samples from each input every Ts
seconds.
The sample taken is passed over the transmission line. Similarly on the output side
another synchronized electronic switch distributes the samples to individual channels
for reconstruction.
Low pass filters (LPF) ensures that sampling and reconstruction occurs without errors
due to sampling.
Application of TDM: Network data transmission, ISDN, WAV audio standard etc
BPF1 Demodulator
Signal 1 Modulator 1 Signal 1
(fc1) 1
Carrier fc1
Common
Communication
Channel BPF2 Demodulator
Signal 2 Modulator 2 Mixer Signal 2
(fc2) 2
Carrier fc2
BPF3 Demodulator
Signal 3 Modulator 3 Signal 3
(fc3) 3
Carrier fc3
Figure 22 Block diagram of FDM.
On the input side each signal is modulated at using different carrier frequencies.
These signals of different frequencies are mixed and transmitted over the channel.
On the receiver side the signal is given to number of bandpass filter designed with
different band frequencies.
The band frequencies are corresponding to carrier frequency on the input side.
Bandpass filter will allow to pass signal corresponding to specific frequency only.
Thus the signals that were mixed gets separated and the information signal can be
received by performing demodulation.
INTERFERENCE
Capacitive coupling, because of the stray capacitance between the system and an
external voltage
Magnetic coupling, because of the mutual inductance between the system and an
external current
Radiative coupling, because of electromagnetic radiation impinging on the system,
particularly in the channel
Ground-loop coupling, because of the currents flowing between different ground
points
Shielding i.e. enclosing the system inside a conducting box which is connected to
earth, so that any interfering signal will get directly by pass to ground.
Interference is generally a common mode signal and hence this can be rejected using
differential amplifier having high CMRR (Common Mode Rejection Ratio).
Using appropriate filters that will help to separate interfering signal from information
signal on basis of their frequencies.
NOISE
Any unwanted signal that contaminates the information signal is called Noise.
Noise may get added to the information signal from number of sources both external
and internal to the system.
Noise can be categorized into four types
1. Thermal noise
2. Intermodulation noise
3. Cross talk
4. Impulse noise
Thermal noise
Thermal noise is due to random motion of electrons in the wire. It is present in all
electronic devices and transmission line. It is proportional to temperature. It uniformly
distributed over all frequencies and hence also called as white noise.
ATTENUATION
As the signal travels over a distance on the transmission line it losses some energy in
form of heat due to resistance of the medium. Because of this strength of the signal
reduces. This is called attenuation.
Attenuation is expressed in decibels as
Pout
Attenuation = 10 log10
Pin
Example:
1) Determine whether or not each of the following signals is periodic. In case a signal is
periodic, specify its fundamental period.
a) x(n) = 3 cos(5𝜋 + n/6)
b) x(n) = 2exp[ j(𝜋 /6 - 𝜋)]
c) x(n) = cos(n𝜋f2) - sin(𝜋n/8) + 3cos(n𝜋/4 + 𝜋/3)
2) Classify the following signals into energy-type or power-type signals, and determine
the energy or power content of the signal.
4) Let x(t) = 12 cos 2π100t + 8 cos 2π150t, and xc(t) = x(t) cos 2πfct, where fc = 600 Hz.
Sketch the amplitude spectrum.
(b) List all the frequencies in the product xc(t) cos 2π500t, where xc(t) is given in part
(a)
QUESTIONS
CHAPTER 6
COMMUNICATION SYSTEMS
A communication system is the means of conveying the information from one place to
other, this information can be of different type such as sound, picture, music, computer
data etc.
The communication between human being can be verbal, non-verbal, via body language,
facial expression, written words etc.
Second World War played an important role in development of various communication
systems.
After 1947 invention of transistor, the communication systems like satellite
communication system & fiber optic communication system are developed.
Figure-1 Frequency bands of the electromagnetic spectrum. (Source: A. Carlson, Communication Systems,
3rd ed., McGraw-Hill, New York, 1986.)
The three possible modes in which an EM wave can propagate through space are:
o Ground wave propagation.
o Sky wave propagation
o Space wave propagation or line of sight (LOS) propagation
Once the signal leaves the antenna it can take any of the following three paths.
The three basic paths that a radio signal can take are:
1) Along the surface of the earth (ground wave propagation).
2) Up to the layer called "ionosphere" and back to the earth (sky wave propagation).
3) From transmitter to receiver in a straight line. (Space wave propagation)
The type of propagation is decided by the path taken by the signal to reach the receiver
from the transmitter.
The path taken by a radio signal depends on many factors including the frequency of the
signal, atmospheric conditions and the time of day.
The figure 2 shows the relation between the type of propagation and frequency.
The ground or surface wave leaves the antenna and remains closed to the earth. The
ground wave will actually follow the curvature of the earth and therefore can travel a
distance beyond the horizon. Figure 3 shows the Ground wave propagation.
The ground wave propagation is the strongest at the low and medium frequency ranges.
The ground wave is the path chosen by the signal when the frequency is between 30 kHz
and 3 MHz.
In the AM radio broadcasting operating in MW band.
The VLF transmission is used for ship communication such as radio navigation and
marine mobile communications.
For the frequencies above 30 MHz the space wave propagation is used.it takes place by
the space waves or direct waves. Figure 5 shows the space wave propagation.
These waves travel in a straight line directly from the transmitting antenna to the
receiving antenna.
Application of space wave propagation is: TV broadcasting, FM radio broadcasting,
Microwave links, Satellite Communication.
Figure-6 EM Wave
Figure 6 shows the EM wave. The electromagnetic waves are oscillations, which
propagate through free space. They travel through free space at the speed of light.
These waves are known as electromagnetic waves because the electric and magnetic
fields are simultaneously present.
The directions of these fields are perpendicular to each other and to the direction of
propagation of the wave.
Characteristic Impedance:
The ratio between the electric field intensity and magnetic field intensity is called as
characteristic impedance of the medium and it is expressed in ohms.
Polarization:
The polarization of a plane EM wave is simply the orientation of the electric field vector
with respect to the earth surface.
If the polarization remains constant then it is called as the linear polarization. The linear
polarization can be of two types:
o Horizontal polarization
o Vertical polarization
The receiving antenna receives the EM waves transmitted by the transmitting antenna and
converts them into electrical signals.
These electrical signals are connected to the receiver via transmission lines.
Transmission lines are conducting wires used for connecting points that are some
distance apart from each other.
They are also used for impedance matching between transmitter and antenna and from
receiving antenna to receiver.
All the practical transmission lines are arranged in some uniform pattern, to simplify the
calculations, reduce cost and increase convenience.
The four constants are: distributed series inductance, a distributed shunt distributed series
resistance and a distributed shunt conductance.
o R is series resistance in ohms/unit length
o L is series inductance in henries/ unit length
o C is shunt capacitance in farads/unit length
o G is shunt conductance in suscptance/unit length.
These are known as primary line constants or primary parameters of line.
Characteristic impedance:
The characteristic impedance is defined as:
Where ⍵ = 2𝜋f
Propagation constant:
6.2.5 Advantages:
Simple construction
Flexibility
High mechanical strength
Not very expensive
6.2.6 Disadvantages:
6.3 Waveguides
6.3.1 Advantages:
Small size.
Reduced losses as compared to a transmission line.
6.3.2 Disadvantages:
Low frequency operation is not possible as they become bulky at low frequencies.
Absolute efficiency is low.
Antenna is a metallic object, often a wire or collection of wire which is used to perform
following functions :
o It couples the transmitter output to the free space, or the received input to the
receiver.
o It must be capable of radiating or receiving the electromagnetic waves.
o It converts the high frequency current into electromagnetic waves and vice versa.
Figure-11 shows how an antenna can be used in communication system.
Where,
Pt =Power generated by the transmitter
Lt, Lr= Transmitting-path and receiving-path loss
Lta, Lra= Transmitting antenna loss and receiving antenna loss
R= Distance of separation between the antennas
S= Signal power available at the lossless antenna output
Sr= Signal power available at the receiver input
An isotropic radiator is a point source antenna which radiates equally in all the directions.
All the points at distance “r” from the source lie on the surface of the sphere and have
equal power densities.
The electromagnetic waves spread uniformly in all the directions in space.
The isotropic radiator is used for study the radiation patterns of other antennas. Figure-12
shows the isotropic radiator.
A graph or diagram which tells us about the manner in which an antenna radiates power
in different directions is known as the Radiation pattern of antenna. Figure-13 shows
radiation pattern of an antenna.
For a receiving antenna the diagram is known as the directional pattern of the antenna.
Directive Gain:
The power gain of an antenna is defined as ratio of power fed to an isotropic antenna to
the power fed to a directional antenna to develop the same field strength at the same
distance, in the direction of maximum radiation.
Antenna Resistance:
Beam width of an antenna is defined as the frequency range over which the operation is
satisfactory. Figure-14 shows the beam width of antenna.
It is the frequency difference between the half power points.
There are two types of bandwidths. One is related to the radiation pattern and the other
one is related to its input impedance.
The angular separation between two 3 dB down points on the field strength of radiation
pattern of antenna.
Beam width is expressed in degrees.
Different types of antennas are being used depending on the frequency range, gain
requirement etc.
The dipole antenna used in the Yagi antenna is folded dipole. The folded dipole is a
single antenna but it consists of two elements. Figure 16 shows the folded dipole antenna.
The first element is fed directly while the second one is coupled inductively at its ends.
The radiation pattern of the folded dipole is same as that of the straight dipole.
But the input impedance of the folded dipole is four times higher than that of the straight
dipole.
Cost efficient.
Impedance matching.
Yagi-Uda Antenna:
The Yagi antenna or Yagi-Uda antenna it is called group of dipole antenna and one or
more parasitic element.
Figure-17 and 18 shows the Yagi antenna & radiation pattern of respectively.
The Yagi antenna can be used as a transmitting or receiving antenna.
The YAGI-UDA array is commonly used for television reception. It is usually seen with
3 to 12 elements, although even 40 elements are sometimes employed. Design
frequencies from 100 to 1000 MHz are typical.
A half-wave or folded half-wave dipole is the active element. The array consists of
parallel dipoles, all lying in the same plane. The reflector, which reflects waves back
toward the active element, enhances radiation in the axis of the array.
The radiation pattern, with linear polarization, exhibits a principal lobe in the direction.
The other elements, called directors, are designed to enhance radiation in the direction.
Gain increases with the number of elements and is often in the range of 10 to 20 dB. The
Bandwidth is usually small.
Advantages:
It is a directional antenna.
It has a moderate gain of about 7dB.
It is very compact.
Large bandwidth.
Can be used at high frequencies.
Adjustable front-to-back Ratio.
Disadvantages:
The gain is not very high.
Needs a large number of elements to be used.
Applications:
Yagi antenna is used as HF transmitting antenna.
It is also used at higher frequencies at VHF as TV receiving antenna.
Microwave Antennas:
The frequency band from l to 100 GHz is called as the microwave frequency antennas
operating in this frequency band are called as the microwave antennas.
The microwave antennas are expected to be highly directional.
Figure-19 shows Dish antenna with a parabolic reflector and direction pattern.
Types of microwave antennas are:
o Dish antenna
o Horn antenna
Dish Antenna:
Dish antennas are the microwave antennas which use parabolic reflectors.
The special geometric property of a parabolic reflector makes it very useful as a
microwave light reflector.
Radiation pattern:
The radiation pattern includes a narrow main lobe in the desired direction AB and small
side lobes in all other directions.
Disadvantages:
Presence of side lobes.
Reception of signals from undesirable sources
Side lobes created due to diffraction.
Applications:
Satellite TV reception.
Point to point microwave links.
Horn Antennas:
Applications:
As feed antennas.
All highly directional microwave antennas
Satellite antennas.
Antennas on the spacecrafts.
Applications:
Radio broadcasting (AM and FM.)
TV broadcasting
Telephones
In the subsequent sections we are going to discuss the analog modulation systems one by
one.
Amplitude modulation (AM) is the type of analog modulation in which the amplitude of
the carrier is varied in proportion with the instantaneous value of information signal.
Conventional AM (DSB-FC):
The conventional AM is also known as double side band full carrier (DSB-FC) system.
The frequency of the sinusoidal carrier is much higher than that of the modulating signal.
Generation of AM wave:
Figure-25 AM waveform
Expression of AM wave
Let the modulating signal be sinusoidal and be represented as,
When , the modulation index m has values between o and 1 and no distortion is
introduced in the AM wave. But if then m is greater than 1. This will distort the
shape of AM signal. The distortion is called as over modulation
This expression represents the Amplitude Modulated (AM) signal i.e. DSB-FC in time.
Simplify we get,
For the second term in the above expression use the following identity:
In the above equation first term is carrier, second is upper sideband (USB) and third is
lower sideband (LSB)
The bandwidth of the AM signal is given by the subtraction of the highest and the lowest
frequency component in the frequency spectrum.
Low bandwidth.
Disadvantages:
Power wastage takes place.
AM needs larger bandwidth.
AM wave gets affected due to noise.
Applications:
Radio broadcasting.
Picture transmission in a TV system.
Operation:
The standard AM wave is applied at the input of the detector.
In detector, at every positive half cycle of the input the detector diode is forward biased.
It will charge the filter capacitor C connected across the load resistance R to almost the
peak value of the input voltage.
As soon as the capacitor charges to the peak value, the diode stops conducting. The
capacitor will discharge through R between the positive peaks.
The discharging process continues until the next positive half cycle. When the input
signal becomes greater than the capacitor voltage, the diode conducts again and the
process repeats itself.
The input-output waveforms for the envelope detector shows the charging discharging of
the filter capacitor and the approximate output voltage.
The envelope of the AM wave is being recovered successfully.
This time constant should not be too long which will not allow the capacitor discharge at
the maximum rate of change of the envelope.
In angle modulation either frequency or phase of the carrier is varied according to the
message signal, but the carrier amplitude is constant.
The amplitude of the FM wave always remains constant. This is the biggest advantage of
FM.
Figure-28 FM waveform
For the FM wave the modulating signal be a sinusoidal signal of amplitude and
frequency .
In FM, the frequency (f) of the FM wave varies in accordance with the modulating
voltage. The instantaneous frequency of the FM wave is denoted by and is given by,
But i.e. the modulation index of FM wave. Hence the equation for FM wave is
given as,
In AM the maximum value of the modulation index m is 1. But for FM the modulation
index can be greater than 1.
Generation of FM wave:
Figure 29 shows the block schematic of a simple FM modulator. It is a simple voltage
controlled oscillator (VCO).
The modulating signal instantaneous value. Thus we get an FM wave at the output of the
VCO.
Advantages of FM:
Improved noise immunity
Low power is required to be transmitted to obtain the same quality of received signal at
the receiver.
Covers a larger area with the same amount of transmitted power.
Disadvantages of FM:
Very large bandwidth is required.
Since the space wave propagation is used, the radius of transmission is limited by the line
of sight.
FM transmission and reception equipment‟s are complex.
Application of FM:
Radio broadcasting
Satellite communication
Point to point communication
Sound broadcasting in TV
Police wireless
Figure-30 FM detector
Demodulation of FM:
A detector or demodulator is a circuit which receives an FM wave at its input and
produces the message signal or modulating signal at its output.
Demodulator or detector is exactly opposite to the modulation process.
The AM detector is basically an envelope detector. But FM demodulator is basically a
frequency to amplitude converter.
It is expected to convert the frequency variation in FM wave at its input into amplitude
variations at its output to recover the original modulating signal. Figure 30 shows FM
detector.
Requirements of FM detector:
The FM demodulator must satisfy the following requirements
It must convert frequency variations into amplitude variations
This conversion must be linear and efficient.
The demodulator circuit should be insensitive to amplitude changes. It should respond
only to the frequency changes.
It should not be too critical in its adjustment and operation.
A general FM demodulator:
Pre-emphasis:
In, FM the noise has a greater effect on the higher modulating frequencies. This effect
can be reduced by increasing the value of modulation index for higher modulating
frequencies .
This can be done by increasing the deviation δ and δ can be increased by increasing the
amplitude of modulating signal at higher modulating frequencies.
Thus if we boost the amplitude of higher frequency modulating signals artificially then it
will be possible to improve the noise immunity at higher modulating frequencies.
The artificial boosting of higher modulating frequencies is called as pre-emphasis.
Boosting of higher frequency modulating signal is achieved by using t pre-emphasis
circuit at the transmitter.
De-emphasis:
The artificial boosting given to the higher modulating frequencies in the process of pre-
emphasis is nullified or compensated at the receiver by a process called de-emphasis.
The artificially boosted high frequency signals are brought to their original amplitude
using the de-emphasis circuit. This is done at the FM receiver.
Phase modulation is very similar to the frequency modulation. The only difference is that
the phase of the carrier is varied instead of varying the frequency. The amplitude of the
carrier remains constant.
As shown in figure 32 as the modulating signal goes positive, the amount of phase lag
increases with the amplitude of the modulating signal. The effect is that the carrier signal
is stretched or its frequency is reduced.
When the modulating signal goes negative, the phase shift becomes leading. This causes
the carrier wave to be effectively compressed. The effect is as if the carrier frequency is
increased.
Thus phase modulation produces frequency modulation.
Note that the PM wave of figure 5 is the same as the FM wave produced by dx(t)/dt i.e.
the derivative of x(t) with respect to time.
So in figure-32 we have plotted the derivation of x(t) which is original x(t) shifted by 90°.
From the discussion it is clear that the difference between FM and PM waves can be
made only by comparing with the original modulating wave.
The PM wave is obtained by varying the phase angle ϕ of a carrier in proportion with the
amplitude of the modulating voltage.
If the carrier voltage is expressed as,
Generation of PM:-
Radio (AM and FM) and television broadcasting are the most common familiar forms of
communication via analog transmission systems.
The receiver used in radio and TV broadcasting are known as the super heterodyne
receivers.
Figure 35 shows the block diagram of a FM receiver. The first thing that strikes us is it‟s
similarly with the AM receiver.
The FM receiver also operates on the principle of super heterodyning, as the AM receiver.
The FM receiver is different from the AM receiver in the following way:
The operating frequency in FM are much higher than in AM.
The FM receivers need the circuits like limiter and de-emphasis.
The FM demodulators are different from AM detectors.
The method to obtain the AGC is different in FM receiver.
Due to the large bandwidth the gain per stage will be low. Therefore two or more IF
amplifiers are required to be used.
The FM wave which is transmitted by the transmitter has constant amplitude. But while
travelling, noise and other unwanted signals get added to it and change its amplitude.
These unwanted amplitude changes in the received FM signal must be removed before
the signal goes for demodulation.
Otherwise distortion appears in the demodulated signal as the demodulators react to
amplitude changes as well as frequency changes.
The amplitude limiter will remove all the unwanted amplitude variations from the
received signal and it is always placed before the FM detector.
The meaning of the word "Television" is to see at a distance. The first demonstration of
television was made in 1925 by J. L. Baird in London and by C. F. Jenkins in USA.
In a TV system both picture and sound are to be transmitted simultaneously and then they
are to be received at a long distance.
To transmit the sound + picture information, a transmitter along with a transmitting
antenna is needed and to receive this signal we need a receiving antenna and a TV
receiver.
A television system is required to reproduce the shape of each object the brightness and
tonal contents, movements, sound, color and perspective contents of picture.
The camera tube at the transmitter acts like a human eye. It converts the image into an
equivalent electrical signal- whereas the picture tube at the receiver converts the electrical
signal into an image. About 150,000 effective elements are displayed in each scene.
There are 25 pictures or frames shown per second. This is related to the 50 Hz ac line
frequency. This is the minimum picture rate required to see a flicker free picture.
A special type of scanning process called as the interlaced scanning is used by TV system
in order to reduce the effect of flicker.
6.7.2 TV camera:
A TV camera tube is a transducer which converts, all the picture information into an
equivalent electrical signal.
The amplitude of the electric signal produced at the output of camera tube is proportional
to the brightness of the point being scanned by the electron Beam.
In order to synchronize the TV receiver with the TV transmitter, synchronizing (sync)
information is transmitted along with the picture information.
At the receiver, the sync signals derived from the transmitted sync signal are used for
controlling the vertical and horizontal sync circuits.
The transmission and reception of black and white pictures take place in this way.
6.7.3 TV Transmitter:
Color TV needs more information. It has to transmit brightness information like black
and white TV and also the color information.
The color information is transmitted via chrominance or chrome signal.
Actually the Red, Green and Blue colors are indicated, but all the other colors can be
made from these three basic colors.
By adding these basic colors together in proper proportion, it is possible to generate any
color.
FDM is used for interleaving the chrominance signal with the luminance signal. Figure
36 shows color TV transmitter.
Figure-36 TV Transmitter
TV camera:
The first block in the TV transmitter is a TV camera which converts the optical
information such as intensity; color etc. into an electrical signal.
The electrical signal obtained at the output of TV camera is called as "video signal.
Video amplifier:
The video signal obtained at the output of the TV camera is weak. Therefore a video
amplifier is used to amplify it to an adequate level.
This amplifier is a wideband amplifier with a bandwidth of about 5 kHz. This is
necessary because video signals can have frequencies anywhere between 0 to 5 MHz
Modulator:
The amplified video signal acts as a "modulating signal." The other input to the
modulator is the "carrier'' signal generated by an RF oscillator.
Power amplifier:
The power amplifier is used to raise the power content of the amplitude modulated video
signal to the required level, so that the transmitted signal can reach a long distance.
Diplexer:
This is a combining network which connects the outputs of video section as well as the
sound section to a common transmitting antenna. It isolates these two sections from each
other.
Microphone:
A microphone is used to convert the sound signal into an equivalent electrical signal.
Sound amplifier:
An audio amplifier is used to amplify$ the weak audio signal coming from the
microphone. This amplified audio signal is then applied as a "modulating signal" to the
sound modulator.
Sound modulator:
The audio signal from the audio amplifier will "frequency modulate" the carrier signal
produced by the RF oscillator. Thus sound is frequency modulated (FM).
Transmitting antenna:
The transmitting antenna converts the AM video signal + FM sound signal into
electromagnetic waves. These waves are transmitted in all the directions. The
transmitting antennas are installed on hill tops or on tall building in order to increase the
range of transmission.
6.7.4 TV reciever:
Figure-37 TV receiver
Receiving antenna:
A special receiving antenna called "Yagi-Uda" antenna is used to receive the TV
transmission.
RF and IF amplifier:
The weak signal coming from the antenna is amplified by the RF amplifier to and
translated to a lower frequency called intermediate frequency (IF)
Detector:
The detector will separate the video, audio and sync. Signals from each other.
Video amplifier:
The demodulated video signal is amplified by a video amplifier to an adequate voltage
level. The video amplifier is a wideband amplifier having bandwidth of approximately 5
MHz
Picture tube:
The amplified video signal is applied to the cathode of a picture tube. It will convert the
electrical signal into an optical signal, to reproduce the originally transmitted picture.
Sound detector:
The separated sound signal is applied to the sound detector. It is an FM demodulator
which demodulates the frequency modulated audio signal to produce the original audio
signal.
Audio amplifier:
The demodulated sound signal is amplified by the audio amplifier and the amplified
signal is used to drive a loud-speaker. The loud-speaker then converts this signal into
sound waves.
In the mobile communication either the transmitter or the receiver or both are going to be
movable. Figure 40 shows the basic structure of mobile telephone network.
Functions of MTSO:
The MTSO controls all the cells and provides the interface between each cell and the
main telephone office.
As the vehicle moves from one cell to the next the system automatically switches from
one cell to the next.
The first generation (1G) of cellular telephony was designed for voice communication
using analog signals.
One of the important first generation (1G) mobile systems used in North America is
AMPS (Advanced Mobile Phone System). It is one of the leading analog cellular systems
in North America.
It makes use of FDMA (Frequency Division Multiple Access) to separate channels in a
link.
The second generation (2G) of cellular telephony was developed in order to improve the
quality of communication.
The second generation was designed for digital voice. Three major systems in the second
generation (2G) are: 1 D-AMPS 2 GSM 3.IS-95
The 3G (third generation) wireless systems show a tremendous improvement in the
field of wireless access. Multimegabit internet access, voice over internet is some of the
examples of 3G systems.
The users are able to receive live music, conduct interactive web sessions and have a
simultaneous voice and data access using a mobile handset.
The 3G version of 2G CDMA systems is called as CDMA 2000.
The 3G evolution for GSM, 15-136 and PDC systems has lead to wideband CDMA (W-
CDMA) which is also known as Universal Mobile Telecommunication Service (UMTS).
6.9.1 Introduction
Definition: The modulation system or technique in which the transmitted signal is in the
form of digital. Pulses of constant amplitude, constant frequency and phase are called as
digital modulation System.
Examples: Pulse Code Modulation (PCM) and Delta Modulation (DM) are the examples
of digital modulation.
In the PCM and DM, a train of digital pulses is transmitted by the transmitter.
The PCM output is in the coded digital form. It is in the form of digital pulses of constant
amplitude, width and position.
The information is transmitted in the form of code words. A PCM system consists of a
PCM encoder (transmitter) and a PCM decoder (receiver).
The essential operations in the PCM transmitter are sampling, quantizing and encoding
figure 41 shows PCM transmitter.
PCM is the simplest and oldest waveform coding scheme for processing an analog signal
by sampling, quantizing, and binary encoding.
Sampling of an analog signal makes it discrete in time.
Quantization consists of rounding exact sample values to the nearest of a set of discrete
amplitudes called quantum levels.
The quantizer is said to be uniform when the step size between any two adjacent quantum
levels is a constant.
After the quantization of message samples, the digital system will then code each
quantized sample into a sequence of binary digits (bits) 0 and 1.
After quantization and coding the samples of the message, a suitable waveform has to be
chosen to represent the bits. This waveform can then be transmitted directly over the
channel figure-42 shows PCM receiver.
The operations of the receiver are basically the inverse of those in the transmitter.
The first and most critical receiver operation is to reconstruct the originally transmitted
PCM signal as nearly as possible to minimize the effect of noise. Figure 43 shows PCM
waveform.
Advantages:
Very high noise immunity.
Due to digital nature of the signal, repeaters can be placed between the transmitter and
the receivers.
The repeaters actually regenerate the received PCM signal. This is not possible in analog
systems.
It is possible to store the PCM signal due to its digital nature.
It is possible to use various coding techniques so that only the desired person can decode
the received signal. This makes the communication secure.
Disadvantages:
The encoding, decoding and quantizing circuitry of PCM is complex.
PCM requires a large bandwidth as compared to the other systems.
Applications:
In telephony systems.
In the space communication space craft transmits signals to earth.
Figure-44 shows input to and output of a PCM system. It is important to understand that
the output is in the form of binary codes. Each transmitted binary code represents a
particular amplitude of the input signal. Hence the “information” is contained in the
“code” which is being transmitted.
The range of input signal magnitudes is divided into 8-equal levels. Each level is denoted
by a three bit digital word between 000 and 111.
Input signal x(t) is sampled. If the sample is in the 5th window of amplitude then a digital
word 101 is transmitted. If the sample is in the 2nd window then the transmitted word is
010 and so on.
In this example we have converted the amplitudes into 3 bit codes, but in practice the
number of bits per word can be as high as 8, 9 and 10.
When the data from many sources in time are interlaced the interlacing of data is called
as time multiplexing, in which a single link can handle all sources.
When a large number of PCM signals are to be transmitted over a communication
channel, multiplexing of these PCM signals is required.
The telephone companies implement TDM (time division multiplexing) through the
hierarchy of digital signals. This is called as Digital Signal (DS) Service.
A DS0 signal is the basic input signal which is a single digital channel (64 kbps PCM
channel).
24 DS0 signals are multiplexed using TDM to produce a DSI signal. The bit rate of DSI
is24 x 64 kbps = 1.544 Mbps plus 8 kbps of overhead.
4 DS1 signals are multiplexed at the second level of multiplexing to obtain the DS2
signal.
7 DS2 signals are multiplexed to produce a DS3 signal. Finally 6 DS3 lines are
multiplexed to obtain a DS4 signal. Its bit rate is 274.176 Mbps.
Figure-47 Digital TDM hierarchy for North American telephone communication system
The digital signals at the input are converted in analog signals. These analog signals are
transmitted over long distances.
The most familiar use of this transformation is for transmitting digital data through the
public telephone network.
The digital signal from the computer is a unipolar NRZ (non-return to zero) signal which
acts as the modulating signal.
The ASK modulator is nothing but a multiplier followed by a band pass filter.
Due to the multiplication, the ASK output will be present only when a binary "1" is to be
transmitted.
The ASK output corresponding to a binary "0" is zero.
In frequency shift keying (FSK), the frequency of a sinusoidal carrier is shifted between
two discrete values.
One of these frequencies (f1) represents a binary “1 and the other value (f0) represents a
binary “0”
There is no change in the amplitude of the carrier.
Advantages:
FSK is relatively easy to implement.
It has better noise immunity than ASK. Therefore the probability of error free reception
of data is high.
BPSK Generation:
GPS allows a person to determine the time and his exact location (in terms of latitude,
longitude and altitude) anywhere on the earth.
The GPS uses MEO (Medium Earth orbit) satellite system in which multiple satellites are
orbiting at an altitude of about 18000 km above the earth.
GPS operates on the principle of triangulation.
The practical GPS system uses 24 satellites in six orbits.
The orbits and the location of the satellites in each orbit are designed in such a way that at
any instant of time, four satellites are visible from any point on the earth. This will satisfy
the necessity of four spheres required for exact positioning.
A GPS receiver can also show your position on the map.
QUESTIONS
MCQ
1) In the given pulse modulations, which one is not the type of pulse modulation?
(a) PWM, (b) PSK, (c) PPM, (d) PAM
2) A radio station transmitting AM wave with 1 MHz frequency band having a wavelength
of ________.
(a) 3 meter, (b) 300 meter, (c) 0.3 meter, (d) 30 meter
3) Commercial FM radio broadcasting utilizes a frequency band ______.
(a) 90 MHz to 110 MHz, (b) 70 MHz to 120MHz, (c) 110 MHz to 180MHz, (d) 88MHz
to 108MHz
4) In Which process Sampling is used?
(a) Frequency Division, (b) Signal amplification, (c) Signal attenuation, (d) Digital
Modulation
5) Minimum bandwidth of an AM wave is ________.
(a) fm (b) 2fm (c) 0.5fm (d) 4fm
6) PCM is a _________Pulse Modulation Technique.
(a) Analog (b) Digital (c) Hybrid (d) None of Above
7) The first cellular systems were ___________.
(a) Analog (b) Digital (c) Hybrid (d) None of Above
8) Electrical energy at a frequency of 1454 Hz is in what frequency range?
(a) Radio (b) Audio (c) High (d) Super-high
9) In a frequency modulation receiver, the __________ is in between the antenna and the
mixer.
(a) audio frequency amplifier (b) high frequency oscillator
(c) intermediate frequency amplifier (d) radio frequency amplifier
Descriptive Questions
CHAPTER 7
BASIC CONTROL SYSTEMS
1. Introduction
5. Transfer Function
10.Questions
7.1 INTRODUCTION:
In modern times control system play a very important role in our daily life.
From a simple bread toaster to a complex modern power plant, there is a series of control
principles that affect our life.
Advanced examples of launching a satellite, regulating the generation in a power plant,
tracking an enemy plane on radar etc.
The principle of control theory is applicable to engineering as well as non-engineering fields.
Important Definitions:
System:-
“A system is an arrangement of or a combination of different physical components connected
or related in such a manner so as to form an entire unit to attain a certain objective.”
Thus a system is a collection of objects etc. in such a manner so as to achieve an aim or
output. Thus a system has an input, an output and a way to achieve this input-output
combination.
Output:-
The actual response obtained from a system is called output.
Input:-
The stimulus or excitation applied to a control system from an external source in order to
produce the output is called input.
Control:-
It means to regulate, direct or command a system so that the desired objective is attained.
Error Detector
It is the comparator which compares the output of the feedback element with the reference
input signal and the difference of these two signals appears as the output of the error detector.
Feedback Element
Feedback element converts the controlled variable to a form which is comparable to the
reference input signal. For e.g., if the reference input is voltage and the controlled variable is
speed, then the feedback element (called transducer) converts speed into voltage which is
compared with the reference input signal which is also in the form of voltage.
Feedback Control
The feedback control is an operation where the output is fed back to the input. The feedback
output may be in-phase or out-of-phase with respect to the input and accordingly it is termed
positive or negative feedback respectively. All control systems are usually negative feedback
systems. The oscillators are the examples of positive feedback systems. In a negative
feedback system, the difference between the reference input and the output produces an error
which is reduced gradually to achieve the desired output in accordance with the reference
input signal.
1) Accuracy:
Accuracy is very high as any error arising should be corrected. Accuracy can be improved by
using feedback element. Because of feedback element, system becomes closed loop system.
In closed loop control system, steady state error tends to zero. To increase the accuracy error
detector should be present in control system.
2) Sensitivity:
A control system senses changes in output due to environmental or parametric changes,
internal disturbance or any other parameters and corrects the same.
Any control system should be insensitive to such parameters but very sensitive to the input
signal.
3) Noise:
Noise is an undesired input signal. A good control system should be in sensitive to such input
signal. A good control system should be able to reduce the effects of wise or undesired input.
4) Stability:
Stability means bounded input and bounded output. In the absence of the time increase. A
good control system response is stable for all variations.
5) Bandwidth:
Operating frequency range decides the bandwidth of any system. For frequency response of
good control system, bandwidth should be large.
The required output means maximum possible output without overshoots and it should be
stable for required input frequency.
6) Speed:
A good control system should have high speed. That is output of system should be as fast as
possible.
7) Oscillation:
For a good control system, oscillations of output should be constant or sustained oscillation
which follows the barkhausein’s criteria.
“Control action is that quantity responsible for activating the system to produce the output”
(1) Open loop control system
(2) Close loop control system
“A system in which the control action is totally independent of the output of the system is
called as open loop system”
Refer figure 7.1, Reference input r(t) is applied to the controller which generates the
actuating signal u(t). u(t) actuates the process to give controlled output c(t). The Control
action has nothing to do with status of output c(t). Hence system is open loop.
A traffic flow control system used on roads is time dependent. The traffic on the road
becomes mobile or stationary depending on the duration and sequence of lamp glow. The
sequence and duration are controlled by relays which are predetermined and not dependent
the rush on the road.
Other Example: Automatic hand driver, Automatic washing machine, bread toaster,
automatic coffee server, automatic milk server, electric lift, theatre lamp dimmer, cold
drinks-milk bottling etc.
“A system in which the control action is somehow dependent on the output is called as close
loop system” or
“Feedback is that property of the system which permits the output to be compared with the
reference input so that appropriate control action is formed”
In this system, the heating system is operated by a valve. The actual temperature is sensed by
a thermal sensor and compared with the desired temperature. The difference between the two,
actuates the valve mechanism to change the temperature as per the requirement.
Advantages:
Accuracy of such system is always very high because controller modifies and manipulated
the actuating signal such that error in the system will be zero.
Such system senses environmental changes, as well as internal disturbances and accordingly
modifies the error
In such system, there is reduced effect of nonlinearities and distortions.
Bandwidth of such system i.e. operating frequency zone for such system is very high.
Disadvantages:
Such systems are complicated and time consuming from design point of view and hence
costlier.
Due to feedback, system tried to correct the error from time to time. Tendency to overcorrect
the error may cause oscillations without bound in the system. Hence system has to be
designed taking into consideration problems of instability due to feedback. The stability
problems are severe and must be taken care of while designing the system.
1.2.1 Difference between closed loop and Open loop control system
Economical Costly
Example : Coffee maker Example : Temperature control of oven
3. Time-invariant systems
When the parameters of a control system are stationary with respect to time during the
operation of the system, the system is known as a time-invariant system.
2. Discrete-time System
A discrete time system is one in which the signal at various parts of the system are all
functions of the discrete time variable t.
Transfer function is defined as the ratio of the Laplace transform of output to the Laplace
transform of input with all initial conditions as zero. The concept of transfer function is
applicable to single-input-single-output, linear time-invariant systems. The dynamics of
linear time-invariant system are represented by a linear differential equation such as:
In the above fig., the control system is negative feedback closed loop control system. The
feedback is added negatively to the reference input. Various signals are,
R(s) = Reference Input Signal
E(s) = Error Signal
B(s) = Feedback Signal
C(s) = Output Signal
G(s) = Transfer Function of Forward path
H(s) = Transfer Function of Feedback path
Now,
C(s) = G(s) · E(s)
Also,
E(s) = R(s) – B(s) and B(s) = C(s) · H(s)
∴E(s) = R(s) – C(s) · H(s)
C(s) G(s)
=
R(s) 1-G(s)∙H(s)
In time domain analysis, time is independent variable. When a system is given an excitation
(input), there is a response (output). This response varies with time, is called the time
response.
Generally the response of any system has two type.
1. Transient Response
2. Steady state Response
1. Transient Response
That part of the time response which goes to zero as time becomes very large is called as
transient response. It is denoted by ct(t).
2. Steady state Response
It is basically the final value achieved by the system output.
“The part of response that remains after the transient have died out is called as steady state
response”
3. Steady state error :
“The difference between desired output and actual output of system is called as steady state
error (ess)”
In many practical cases, the desired performance characteristics are specified in terms of
time-domain quantities.
Frequently, the performance characteristics of a control system are specified in terms of the
transient response to a unit-step input since it is easy to generate and is sufficiently drastic.
1) Delay Time (Td): It is the time required for the response to reach 50% of the final value in
the first attempt.
2) Rise Time (Tr): The time required for the response to rise from 10% to 90% of the final
value for over damped systems. (To rise from 0% to100% of the final value for under
damped systems.)
3) Peak time (Tp): It is the required for the response to reach the first peak.
4) Peak Overshoot (Mp): The maximum overshoot is the maximum peak value of the response
curve measured from unity. It is therefore the largest error between input and output during
the transient period.
5) Settling Time (Ts): It is the time required for the response curve to reach and stay within a
specified percentage of the final value.
1. ON-OFF Control:
In this there are two operating states ON and OFF. The correction depends only on the direction
of the error and not on its magnitude. As for example in ON-OFF type temperature control
system of a furnace, the power is switched on, whenever the temperature is found to be lower
than the desired. Another example is water level controller.
2. Proportional control:
In proportional control system, the control action is proportional to the error. The error is
detected and amplified and control is applied. Greater is the control. The block diagram is shown.
3. Derivative control:
In this type of controller the output of the controller is proportional to the time derivative of the
error i.e. the rate of change of error. In this the response becomes rapid for rapidly changing error.
This is not suitable for slowly changing error as it causes drift.
4. Integral control:
In this type of control the controller output is proportional to the time integral of error or the rate
of change of output is proportional to the error. This eliminates drift but there will be oscillations
or hunting in the system.
In this case the oscillations are damped but the steady state error remains.
Figure 7.16 illustrates a typical digital control system, in which the signal at one or more
points of the system is expressed in a numerical code for digital-computer or digital-
transducer processing in the system.
Because of the digitally coded (such as binary-coded) signals in some parts of the system,
it becomes necessary to employ digital-to-analog (D/A) and analog-to-digital (A/D)
converters.
In spite of the basic differences between the structures and components of a sampled-data
and a digital control system, from an analytical standpoint both types of systems are
treated by the same analytical tools.
The block diagram of Figure 7.17 is a functional representation of a type of digital control
system, in which G and H serve the same function as in any feedback system.
Note that the error signal is sampled and a digital processor is used.
The controller in this system is the digital processor whose output, reconverted to an analog
signal, becomes the excitation for the block G. As usual, G is the subsystem that provides the
output to be controlled.
A central computer which controls several functions could be used as a digital processor; or a
microprocessor (special purpose computer) designed for the particular control function may
also be used as a digital processor.
Large, high-speed computers with their speed, memory, and computational ability, as well as
programmability, are utilized for central control in large automated manufacturing facilities.
Sampled data and digital control offer several advantages over analog systems:
Figure 7.18
The radar detects the presence of the target aircraft through its rotating antenna and passes
the detection signal to the computer indicating the velocity and position of the target.
The computer calculates the firing angle which is the launch command signal.
This command signal is passed to the launcher i.e. the drive motor, through the power
amplifier. The launcher angular position is feedback to the launch computer and the missile
is fired.
Figure 7.19
The system consists of three basic parts: The aircraft, the radar unit and the controlling unit.
The radar unit measures the approximate vertical and lateral positions of the aircraft, which
are then transmitted to the controlling unit. From these measurements, the controlling unit
calculates appropriate pitch and bank commands.
These commands are then transmitted to the aircraft autopilots which in turn cause the
aircraft to respond.
Figure 7.20 shows a block diagram for microcomputer-based control of a physical process,
such as a chemical plant. A slight variation of the system can be used for automotive
instrumentation in which sensors furnish various signals for speed, fuel reserve, battery
voltage, oil pressure, engine temperature, and so on.
The data are presented to the driver in one or more displays on the dashboard. In a
physical process on the other hand, based on the display information, an operator can
assess and direct the operation of the control process through a keyboard or other input
devices to the microcomputer.
Various physical inputs, such as power and materials, are regulated by actuators, which
are in turn controlled by the microcomputer.
Electric signals related to the controlled-process parameters, such as pressure and
temperature, are produced by various sensors, which in turn feed the information to the
microcomputer. Actuators and sensors may be either analog or digital.
Digital-to-analog (D/A) converters are used to convert the digital signals to analog form
so as to suit the analog actuators, where as analog-to-digital (A/D) converters are
employed to convert the analog sensor signals to digital form so as to suit the
microcomputer.
QUESTIONS
1. What is control system? Explain open loop control system and close loop control system.
2. Compare between open loop control system and close loop control system.
3. Classify feedback control system in details.
4. What is transfer function? Give elementary block diagram of closed loop system and find its
transfer function.
5. Defined a transient response and steady state response?
6. Defined following term: Delay time, Rise time, Peak time, Peak Overshoot, Setting time.
7. Explain P, I, D, PI, PD and PID controller.
8. Explain Digital control system with example.