BE Descriptive Notes PDF
BE Descriptive Notes PDF
Part –I
ANALOG ELECTRONICS
Chapter -1: Diodes and Applications
The term diode is used to represent a device or element which has two elecrodes.
These divices are characterized by the fact that they allow electric current to flow in one
direction, and block flow of current in the opposite direction. This unilateral behaviour is
predominantly used in swithching and rectification. Diode is in fact, the very first electronic
device invented. Initially, for several years vacuum tube version was in use, and were bulky
in size, required higher power for operation, and were slow. Today, we have semiconductor
diodes, which are very small in size, requires relatively low power and operates at higher
speeds. Semiconductor diodes are available in various forms and are used in wide variety of
applications. In this unit, we shall look at the operating behavior and charecteristics of
semiconductor diodes along with their typical applications such as rectifiers, voltage
regulators and some special purpouse applications.
Module – 1 : Diodes
Learning Outcomes:
1.1.1 Introduction
Materials are broadly classified as metals, insulators and semiconductors. A
semiconductor like Germanium or Silicon has electrical conductivity lying between
conductor and insulator. Semiconductors are the basic materials used in modern electronics.
For example, Diodes, Transistors, Solar cells, Light-emitting diodes (LEDs), and integrated
circuits.
Self Reading:
cause the electrons to move from N-type material to the P-type material and holes to move
from N-type material to the P-type material. This process of movement of charge carriers
form the region of higher concentration to a lower concentration in the absence of external
electric field is called diffusion. Diffusion of charge carriers across the junction will continue
until the equilibrium condition is established. Also at the junction, N-type material will have
positively charged immobile ions and P-type material have negatively charged immobile
ions. Thus the regions on either sides of p–n interface lose their charge neutrality and become
charged. For this reason it is caleld space charge region. As the region is devoid or depleted
of mobile charge carriers it is also called depletion region and is as shown in Figure. 1.1.1.
P N
Figure 1.1.1. Schematic of PN junction
The space charge on either sides of the junction causes a potential difference accross
the P-N junction and it is called the barrier potential. This is the minimum amount of voltage
required to initiate flow of charge carriers across the junction. Doped germanium has a
barrier potential of about 0.3 volts where as, doped silicon has a barrier voltage of about 0.7
volts.
a) Zero Bias: In the absence of any bias voltage, the net flow of charge carriers in any
one direction for a semiconductor diode is zero. This occurs because minority
carriers (holes) in the N-type material will encounter barrier in the depletion region
to cross the junction and move to the P-type region. Same is the case for electrons
in P-type material. This results in depletion region with high impedance, and hence
no current flows through the diode. The built-in potential varies from 0.3 to 0.7 eV
depending upon the type of semiconductor material. A diode operated without any
biasing is shown in Figure 1.1.3.
b) Forward Bias: When a negative voltage is applied to the N-type material and a
positive voltage is applied to the P-type material, the diode is said to be in a Forward
Bias condition. Figure 1.1.4. shows the diode with forward biase. If the external
voltage applied is greater than the value of the barrier potential, the carriers start
crossing eth junction and hence there will be a forward current. The diode is said to
be in the ON condition.
c) Reverse Bias: When a positive voltage is applied to the N-type material and a
negative voltage is applied to the P-type material , the diode is said to be in a reverse
biased condition, as shown in Figure. 1.1.5. The positive voltage applied to the N-type
semiconductor attracts electrons towards the positive electrode and hence away from
the junction. At the same time, the holes in the P-type semiconductor are attracted
towards the negative electrode. This results in widening of depletion layer due to a
lack of electrons and holes near the junction and presents a high impedance path for
the majority carriers. The height of potential barrier is increased, which prevents the
flow of forward current through the diode. However, the applied potential favors the
movement of minority carriers across the junction causing flow of current in the
reverse direction. This current is called reverse saturation current and is represented
by I0 or IS.
Self test:
5. List the methods available for tesing the diode. How cut-in voltage of diode is
measured in practie?
Figure 1.1.7. I-V characteristics of P-N junction diode under forward biased condition.
[http://www.electronics-tutorials.ws/diode/diode_3.html]
Figure. 1.1.8. I-V characteristics of P-N junction diode under reversed biased condition.
[ http://www.electronics-tutorials.ws/diode/diode_3.html]
If the reverse bias voltage VR applied to the diode is increased beyond certain limits
there will a large current due to avalanche effect and cause breakdown. This is shown
in figure 1.1.8.
I D I0 (1.1.3)
Exercise Problem 1:
1. Sketch I versus V to scale for each of the circuits shown below. Assume that the
diodes are ideal and allow V to range from -10 V to +10 V.
i
+
v
_ 2kΩ
3
i (mA)
0
-10 -5 0 5 10
v (V)
2. Sketch I versus V to scale for each of the circuits shown below. Assume that the
diodes are ideal and allow V to range from -10 V to +10 V.
Solution: Diode B is ON for v > 0 and R=1kΩ. Diode A is on for v < 0 and R=2kΩ.
10
5
i (mA)
-5
-10 -5 0 5 10
v (V)
Note that the DC or static resistance of a diode does not depend on the curve shape, it
depends only on the operating point or the values of diode voltage and current.
b) AC or Dynamic Resistance:
To determine the dynamic resistance of a diode, a a tangent is drawn to the curve
through the operating point as shown in Figure 1.1.10.
The dynamic resistance of the diode is found using the following equation:
1 Vd
rd (1.1.6)
slope I d
Also, dynamic resistance is found by the derivative of the diode equation; where:
V
I D I s exp D 1 , (1.1.7)
VT
dI D d V D I s V
I s exp 1 exp (1.1.8)
dV D dV D VT
T
V
VT
dV D VT
(1.1.9)
dI D ID Is
dV D 300
And at room temperature, T=300 K, rd (1.1.12)
dI D 11600 xI D
In an ideal diode, current flows freely through the device when forward biased,
offering no resistance. An ideal diode is simply a P-N junction where the change from P-type
to N-type material is assumed to occur instantaneously, also referred to as an abrupt junction.
The simplified diode model ignores the effect of diode resistance in comparison with values
of other elements of the circuit. The voltage drop across the diode is zero.
A practical diode does offer some resistance to current flow when forward biased. Since there
is some resistance (built-in potential) , there will be some power dissipated when current
flows through a forward biased diode. Therefore, there is a practical limit to the amount of
current a diode can conduct without damage. A reverse biased diode has very high resistance
and excessive reverse bias can cause the diode to damage.
Diode is often replaced by its equivalent circuit during circuit analysis and design. For
DC diode model, characteristics of an ideal diode and the modifications that were required
due to practical considerations has been considered for following cases:
(i) For an Ideal diode Vγ = 0, RR = ∞ and RF = 0 as shown in Figure 1.1.14. In other words,
the ideal diode is a short in the forward bias region and an open in the reverse bias region.
A K
RF = 0
A K Forward bias
RR =
Vγ = 0 A K
Figure 1.1.14 Equivalent circuit of Ideal diode. Reverse bias
(ii) In second approximation: Vγ ≠ 0, RR = ∞ and RF = 0 as shown in Figure 1.1.11.
A K
RF = 0
A K Forward bias
RR =
Vγ
A K Reverse bias
Vγ
Exercise Problem 1:
1. A Silicon diode has a saturation current of 1pA at 200C. Determine (a) Diode bias
voltage when diode current is 3mA (b) Diode bias current when the temperature changes
to 1000C, for the same bias voltage.
2. Find the static and dynamic resistance of a P-N junction germanium diode if
the temperature is 27°C and I0=1μA for an applied forward bias of 0.2V.
Solution:
Given: Applied forward voltage= 0.2 V.
Reverse saturation current I0=1x10-6 A.
Temperature T=27°C = 273+27 = 300°K.
The diode is Ge, η=1.
T 300
VT 25.86 mV
11600 11600
0.2
6 (1x 25.86 x10 3 1)
I D 1x10 e 2.28 mA
V
Static Resistance: 0.087 K
I
ηVT 1x25.86 x10 3
Dynamic resistance 11.33
I D I 0 2.28 x10 3 1x10 6 .
3. Determine the dc resistance levels for the diode at
(a) ID= 2 mA, (b) ID = 20mA, (c) VD = -10V
Solution: From the graph, find corresponding voltage for the mentioned current values.
(a) RD= VD/ID= 0.5V/2mA= 250 Ω.
(b) RD= VD/ID= 0.8V/20mA= 40 Ω.
(c) At VD= -10V, ID= -Is= -1μA (from the curve) and
RD= VD/ID= 10V/1μA= 40 Ω
a) Zener breakdown:
In Zener breakdown , the electric field established due to the reverse voltage capapble of
getting the electrons out of their covalent bonds and away from their parent atoms as
shown in Figure 1.1.13. Electrons are transferred from the valence to the conduction
band. In this situation, the current can still be limited by the limited number of free
electrons produced by the applied voltage so it is possible to cause Zener breakdown
without damaging the semiconductor.
b) Avalanche Breakdown:
Avalanche breakdown occurs when the applied voltage is so large that electrons achieve
kinetic energy sufficiently high and collide with the silicon atoms and knock off more
electrons. These electrons are then also accelerated and subsequently collide with other
atoms. Each collision produces more electrons which leads to more collisions etc as
shown in Figure. 1.1.14. The current in the semiconductor rapidly increases and the
material can quickly be destroyed.
Zener Diodes are used in the "REVERSE" bias mode, i.e. the anode is connected to
the negative supply. From its I-V characteristics curve as shown in Figure. 1.1.16, it can be
said that Zener diode has a region in its reverse bias characteristics of almost a constant
voltage regardless of the current flowing through the diode. This voltage across the diode
(Zener Voltage, Vz) remains nearly constant even with large changes in current through the
diode caused by variations in the supply voltage or load. This ability to control itself can be
used to great effect to regulate or stabilise a voltage source against supply or load variations.
The diode will continue to regulate until the diode current falls below the minimum Iz value
in the reverse breakdown region.
When the Zener diode is forward biased it behaves like ordinary diode. In the reverse
biased condition, as the reverse voltage is increased beyond the break down voltage of the
diode, the current rises sharply with the applied voltage but the voltage across the diode
remains constant. This behavior of Zener diode is used to provide a constant reference
voltage such as in the case of voltage regulation.
N N N N
– +
Vγ VZ
+ –
RR ≈ RZ
RF
P P P P
(a) (b) (c) (d)
Figure. 1.1.17 (a) Zener diode symbol (b) equivalent circuit in forward biased condition
(c) equivalent circuit in reversed biased condition (d) equivalent circuit in breakdown
condition
depletion region acts as a capacitor dielectric because of its nonconductive characteristic. The
p and n regions are conductive and acts as the capacitor plates, as shown in Figure 1.1.18.
Capacitance is determined by the parameters of plate area (A), dielectric constant (ε) ,
and plate separation (d) and is given by
Ax
C (1.1.13)
d
As the reverse-bias voltage increases the depletion region widens, effectively increasing the
plate separation, thus decreasing the capacitance.
Major application of varactors is in tuning circuits. For example very high frequency
(VHF), ultra high frequency (UHF), and satellite receivers employ varactors. When used in a
parallel resonant circuit, the varactor acts as a variable capacitor. Thus, allowing the resonant
frequency to be adjusted by a variable voltage level. They are also used in Frequency
Modulation circuits.
Summary
1. PN junction diode in forward biased condition behaves like a closed switch and in
reversed biased condition behaves like an open switch.
2. The reverse saturation current of a diode doubles for every 100 rise in temperature.
3. There are two breakdown mechanisms in a zener diode: avalanche breakdown and
zener breakdown.
4. The zener diode is generally used in reverse breakdown region.
5. A zener diode maintains a nearly constant voltage across its terminals over a specified
range of zener currents.
6. Varactor diode operates in reverse biased condition and acts as a variable capacitance.
Exercise Problems:
1. In each diode circuit shown below, find whether the diodes are forward or reverse
biased.
2. Determine the state of diode for the circuit shown below and find ID and
VD. Assume practical model for the diode.
3. Calculate the dynamic forward and reverse resistance of a PN junction diode, when
the applied voltage is 0.25V for Germanium Diode. I0 = lμA and T = 300 K.
(Ans: rf=1.734Ω; rr=390MΩ)
4. A germanium diode has reverse saturation current of 0.19μA. Assuming η =1, find
the current in the diode when it is forward biased with 0.3 V at 27oC.
(Ans: 19.5mA)
6. A germanium diode carries a current of 10mA when it is forward biased with 0.2V
at 27oC. (a) Find reverse saturation current. (b) Find the bias voltage required to get a
current of 100mA. (Ans: 4.42μA, 0.259V)
In the previous module we have discussed the behaviour and V-I characeteristics of PN
junction diode. Diode conducts when it is forward biased and behaves like a closed switch.
Whereas, during the reverse bias, it goes off and behaves like an open switch. This unilateral
behaviour depending on the polarity of external voltage applied to the diode is used in many
circuit applications. One such application is conversion of AC voltage to DC, called
rectification. In this module we will study various forms of rectifier circuits and their
analysis in detail.
Learning Outcomes:
1.2.1. Introduction
Today, we cannot imagine life without electronic products like cell phones, computers,
laptops, music systems etc., in our daily lives. Some of these electronic systems work on a
constant DC voltage derived from the AC mains, while others use internal batteries, which
requires regular charging. In any case, some device which at one end receives AC voltage,
which is 230V sinusoidal signal of 50Hz as input and produces a constant DC voltage at its
output is required. This module aims at providing an insight into some of the basic circuits
which converts AC mains in to a constant DC voltage. Such circuits or devices are called
regulated power supplies.
A signal obtained from main AC power supply is purely sinusoidal that can be defined in
terms of Peak amplitude and Frequency.
Peak amplitude: The maximum amplitude of an alternating signal on either sides
measured from its zero value.
Frequency: Number of cycles that passes a given point per second. It is equal to
reciprocal of time taken to complete one full cycle.
It is mathematically expressed as V (t ) A sin(t ) and plotted as shown in Figure 1.2.1,
Average or DC value: The dc value of a signal V (t ) is the average value of that signal. It is
mathematically evaluated as:
1 T
Vav Vdc V (t ) d (t )
Time Period 0
1 2
Vav Vdc V (t ) d ( wt) (1.2.1)
2 0
The root mean square(RMS) value of the signal V (t ) mathematically evaluated as:
1 T 2 1 2
Vrms V (t ) d ( t ) or Vrms V 2 (t ) d (t ) (1.2.2)
Time Period 0
2 0
Note 1 : A pure sinusoidal signal has an average value equal to zero. It means the dc
value of this signal is zero.
Filter
Step down Rectifier Regulator
Transformer circuit circuits
Input AC
mains
LOAD
Figure 1.2.2: Basic block diagram of DC power supply
a) Step down Transformer:
A transformer is used to bring voltage up or down in an AC electrical circuit. A step down
transformer consists of two coils of wire called primary and secondary winding placed such
that they are not in contact with each other as shown in Figure 1.2.3a. The symbolic
representation of the transformer is shown in Figure 1.2.3b.
(a) (b)
Figure 1.2.3: (a) Transformer core with primary and secondary windings (b)
circuit representation of a step down transformer.
A step down transformer converts a high voltage low current power to a low voltage high
current power. A step down transformer has large number of turns in primary coil compared
to the number of turns in the secondary coil. Hence in this case the secondary voltage is less
than the primary voltage and equivalently there is rise in secondary current. The ratio of
primary voltage to secondary voltage is proportional to the ratio of number of turns in the
primary to the number of turns in the secondary. The 155V AC mains applied at the primary
of a step down transformer is stepped down by ten times at the secondary as shown in Figure
1.2.4.
(a) (b)
Figure 1.2.4: (a) Primary voltage waveform with peak amplitude of 220V
(b) Stepped down version is available at the secondary with peak amplitude of 22V
Transformer used in the DC power supply units plays two important roles. First role is, as
discussed earlier, it steps down AC voltage to a suitable value and secondly it provides
electrical isolation to the low voltage low power components on the secondary side of
the transformer. The second equally important role is to provide electrical isolation to the
voltage low power components on the other side of the transformer. This also provides some
amount of safety to the equipments using such DC supplies.
Note 2: The frequency of the primary voltage is equal to the frequency of the secondary
voltage of the transformer.
b) Rectifier circuit:
A rectifier circuit is the heart of a DC power supply. It converts an AC sinusoidal signal that
is bidirectional (with both positive and negative amplitudes) into a signal which is
unidirectional (either only positive or only negative). Thus rectifier circuit forces the current
through the load to flow in only one direction. The rectified output is usually called a pulsating
DC voltage. Thus in general the process of converting an AC signal into pulsating DC signal is
called rectification and the circuit is called rectifier. Rectification is commonly performed
using semiconductor diodes because of its inherent unidirectional conduction property.
The rectified output voltage with respect to the input voltage using a single diode is as shown
in Figure 1.2.5. The rectifier passes positive half cycle to the output and blocks the negative
half cycle. In the case of a full wave rectifier both half cycles will be rectified and available as
unidirectional pulses at the output.
Note 3: The AC component of a rectified output signal is not equal to zero. That is the
rectified pulsating DC signal has both DC and AC components.
c) Filter circuit:
The pulsating DC signal is not suitable for appliances that require pure DC voltage. Filters
can be used to minimize (smooth out) the pulsations or eliminate the AC content from the
rectified signal to achieve approximately constant valued (or a DC) signal. A filter contains a
capacitor, an energy storing component that can hold the voltage to the peak value of the
rectified pulsating DC and then dissipate energy to load when the pulsating DC drops as
shown in Figure 1.2.6. Essentially, the filter minimises the ac component present in the
output of the rectifier. This increases the DC value at the output.
Note 4: The output of filter circuit is a DC signal with small AC component called ripples
d) Regulator
Regulation is defined as the ability of a system to provide near constant supply over a wide
range of load and power line fluctuating conditions. A circuit that can provide constant DC
voltage despite of variations in the mains AC power supply or load variations is called
voltage regulator.
Self test:
1. List out the appliances or electronic products used in daily life which require
DC power supply for their operation. Mention the DC values recemoneded for
their operation.
2. List and classify the appliances or electronic products which use DC and AC
power supply.
During the positive half cycle of the input waveform, voltage at node A is positive with
respect to voltage at node B, which forces the diode to be forward biased and acts as a short.
The equivalent circuit for the positive half cycle is as shown in Figure 1.2.8.This results in
current flow through the load resistance RL. Hence output voltage is approximately equal to
the secondary voltage.
Similarly during the negative half cycle, the voltage at node A is negative with respect to
node B that forces the diode to be reverse biased and acts as open circuit. The equivalent
circuit is as shown in Figure 1.2.9. This results in no current flow through the load.
Thus the diode conducts only during positive half cycle and hence the circuit is referred as
‘Half Wave Rectifier’. The rectified voltage is pulsating DC, which can be smoothened using
filter circuits.
Filter performance is measured using certain standard parameters. Few of them will be
defined and analyzed for each of the filter circuits.
A. Dc voltage Vdc : The average value of the output voltage measured across the load
resistor.
B. Ripple Factor: Ripple factor γ is defined as the ratio of rms value of AC component to
DC component of the signal.
Vr
rms (1.2.3)
Vdc
where Vrrms is the rms value of the ripple (AC component in the pulsating DC) and is given
by
Vrrms Vrms
2
Vdc2 (1.2.4)
Ripple factor actually measures the amount of AC content present as compared to the DC (or
average) content in the pulsating dc.
Using 1.2.3 in 1.2.4, we can write
2
Vrms
1 (1.2.5)
Vdc2
C. Efficiency: Efficiency (η) is the ratio of the DC output power to AC input power
supplied by the secondary of the transformer.
dc output power Pdc
ac input power Pac
Efficiency signifies the outcome of the rectifier circuit to output DC power in comparison to
AC input power. Thus
V2
dc
RL
(1.2.6)
2
Vrms
RL
D. Peak Inverse Voltage (PIV): It is defined as the peak value of input voltage across the
reverse biased diode before the diode breaks down. It is essential that the diode used in
rectifier circuit should be able to withstand the voltage available across it when it is
reversed biased so that it acts as open circuit and does not enter into a breakdown state.
Vdc
Vm
cos (t )0 Vm (1.2.7)
2
V V I
I dc dc m m (1.2.8)
RL RL
Vm2 1 cos 2 t V
Vrms
2 0 (
2
) d (t ) m
2
(1.2.10)
Consider VS Vm Sin ( t ) as the secondary voltage signal applied to the half wave rectifier
and using equation 1.2.7 and 1.2.10 in 1.2.6,
2
Vdc2 Vm
2 L
R
4 0.406 or 40.6% (1.2.12)
Vrms Vm
2
2
2
RL
Self test 2:
1. Input AC signal of 25V peak value is to be rectifed using HWR. For proper working it
is essential to choose the diodes whose PIV rating is
2. In the circuit of figure 1.2.7 what happens when the diode connection is reversed?
Draw the input and output waveforms. Will the values of PIV, ripple factor and
efficiency for this circuit change?
Solved Example
1. A sinusoidal secondary voltage of peak value 10V and frequency 50Hz is applied to
half wave rectifier. If the load resistance is 800Ω. calculate average load current.
The circuit of full wave rectifier is shown in Figure 1.2.11 with the center tap of transformer
grounded. The center tapped transformer consists of two input terminals (nodes) and three
output nodes. The extreme nodes are labelled as node A and node B. The center node is
usually used as a common reference voltage terminal relative to which all the voltages are
measured. Hence the center output node of center tapped transformer is considered to be a
common ground.
The secondary voltage observed between the extreme end nodes i.e. between node A and
node B is a stepped down voltage as shown in Figure 1.2.12(a). The voltages measured
between node A and center node (ground) or node B and center node is half in magnitude in
comparison to the voltage measured between node A and node B. Also voltage at node B is
180° out of phase with the voltage at node A when measured relative to the center node
(ground). All these secondary waveforms are shown in Figure 1.2.12(b) and (c).
During the first half cycle, as shown in Figure 1.2.11, the voltage at node A is positive and
voltage at node B is negative measured with respect to ground. Diode D1 gets forward biased
and acts as a short whereas diode D2 is reverse biased and acts as open. Load resistor is
connected at the junction of cathodes of the two diodes D1 and D2 with respect to ground.
Considering ideal diodes, the equivalent circuit of a center tapped full wave rectifier for half
cycle when voltage at node A with respect to node B is positive is as shown in Figure 1.2.13
This results in a current flow through upper half secondary windings of transformer, diode
D1 and the load RL as shown in Figure 1.2.13. Direction of the current through the load is
towards the ground from node C. Hence the output voltage measured at node C with respect
Similarly, during the second half cycle, as shown in Figure 1.2.12, the voltage at node A is
negative and voltage at node B is positive measured with respect to ground. Diode D1 gets
reverse biased and acts as a open whereas diode D2 is forward biased and acts as short. The
equivalent circuit of a center tapped full wave rectifier for half cycle when voltage at node A
with respect to node B is negative is as shown in Figure 1.2.14. This results in a current flow
through lower half secondary windings of transformer, diode D2 and the load RL as shown in
Figure 1.2.14. Again note that the direction of the current through the load is towards the
ground from node C. Hence the output voltage measured at node C with respect to ground is
equal to voltage at node B measured with respect to ground.
The output waveform observed across load resistor along with voltage waveforms at node A
and node B with respect to ground is shown in Figure 1.2.15.
2
Vm
2 1 1 0.483
2
(1.2.16)
2Vm 8
Computation of Efficiency for center-tapped full wave rectifier
From equation 1.2.6, the efficiency is calculated as
2
Vdc2 2Vm
2 L
R
8
2 0.812 or 81.2% (1.2.17)
Vrms Vm
2
RL 2
Self-test :
Choose the correct answer: (T is the time period of the input signal)
1. In center tapped FWR, each diode is forward biased for what duration of the time
period?
(a) T/2 b) T/4 c) 3T/4 d) T
2. In center tapped FWR, current through the load flows for what duration of the time
period?
(a) T/2 b) T/4 c) 3T/4 d) T
3. Input AC signal of 25V peak value is to be rectifed using center tapped FWR. For
proper working it is essential to choose the diodes whose PIV rating is
(a) 5V (b) 15V (c) 30V (d) both a and b
If the secondary signal given to the bridge is as shown in Figure 1.2.17(a), the output voltage
measured across load is expected to be as shown in Figure 1.2.17(b) assuming ideal diodes.
During positve half cycle, node A is positive with respect to B, D1 and D2 are forward biased
whereas D3 and D4 are reverse biased as shown in Figure 1.2.18. This results in current flow
taking a closed path from node A, through D1, R-Load and D2 and from node B through the
secondary coil as indicated in Figure 1.2.18. Note that current through the load resistor flows
from node C to ground.
During negative half cycle, node B is positive with respect to A, D3 and D4 are forward
biased whereas D1 and D2 are reverse biased as shown in Figure 1.2.19. This results in
current flow taking a closed path from node B, through D4, R-Load and D3 and from node A
through the secondary coil as indicated in Figure 1.2.19. Note that again current through the
load resistor flows from node C to ground. Thus output voltage is unidirectional for both the
half cycles.
Self-test :
Choose the correct answer: (T is the time period of the input signal)
1. In Bridge rectifier, each diode is forward biased for what duration of the time period?
(a) T/2 b) T/4 c) 3T/4 d) T
2. In Bridge rectifier, current through the load flows for what duration of the time period?
Solved Example
2. Find the PIV rating of the diode used for proper working of the bridge rectifier when it
is supplied with 230V, 50 Hz AC mains through a step down transformer with turns ratio
equal to 10.
Given: Input AC mains peak voltage =230V, turns ratio=10,
Solution: Secondary peak voltage Vm =230/10=23V
therefore PIV rating of diode >= Vm=23V
Comparison of rectifier circuits based on the performance parametrs is listed in Table 1.2.1,
considering the input signal Vi (t ) Vm sin(2 fi t )
Table 1.2.1: Comparison of Rectifiers
Parameters of HWR Center-tapped FWR Bridge FWR
rectified signal
Vdc Vm 2Vm 2Vm
VRMS Vm Vm Vm
2 2 2
In each of the positive half cycle, the capacitor charges up to the peak value of the
transformer secondary voltage, Vin. Capacitor tries to maintain this maximum value when
the input drops to zero. The capacitor will discharge through the load resistance slowly until
the input voltage again increases to a value greater than the capacitor voltage. The filtered
output waveform for both HWR and FWR is as shown in figure 1.2.21.
Figure 1.2.20: Filter circuit for (a) half wave rectifier and (b) full wave rectifier
Large value of the product “CRL” results in a small ripple factor. Thus increasing C or RL
(both) an approximate perfect DC voltage can be obtained.
Figure 1.2.21: Filtered waveform (a) half wave rectifier and (b) full wave rectifier
[floyd] (c) filtered and rectified wave (d) approximation of filtered wave
The performance of the filter circuits is measured by ripple factor. The approximate filtered
waveform shown in Figure 1.2.21(d). The ripple factor for Capacitor filter for the HWR and
FWR is given by equation (1.2.18) and (1.2.19) respectively.
1
r (1.2.18)
2 3 fCRL
1
r (1.2.19)
4 3 fCR L
The corresponding dc value for HWR and FWR is given by equation (1.2.20) and (1.2.21)
respectively.
2 f CRL
Vdc Vm (1.2.20)
1 2 f CRL
4 f CRL
Vdc Vm (1.2.21)
1 4 f CRL
Note 5: Here ‘f’ in equation (1.2.18) to (1.2.21) is the frequency of the input signal
Comparison of ripple factor and the output dc voltage achieved from the input
secondary Vi (t ) Vm sin(2ft) is listed in Table 1.2.2
Ripple factor 1 1
r r
2 3 fCRL 4 3 fCRL
Solved Exercise:
3. A sinusoidal voltage of peak value Vi 20 sin(2 50t ) V is applied to FWR. If the load
resistance is 1000Ω. calculate the average and RMS value of load current, efficiency and
ripple factor. Find the frequency of the output signal.
Given
Vm = 20V, f=50Hz, RL = 1000 Ω, Rf=10 Ω
Solution:
V 2I m I
I m m 20mA , I dc 12.73 mA , I rms m 14.142 mA
RL 2
V2
dc
RL
Efficiency 81.2%
2
Vrms
RL
I
Ripple factor = dc 0.6365
I ac
FWR output signal frequency =2 x frequency of the input signal =100Hz.
Given:
Idc = 10 mA, Vdc = 5 V, r = 0.1,
Note: Input is not given but can be assumed appropriately. For example in INDIA, AC
mains has Vi(rms) = 230 2 V, f = 50 Hz
Solution:
V 2I m I
I m m 20mA , I dc 12.73 mA , I rms m 14.142 mA
RL 2
V2
dc
RL
Efficiency 81.2%
2
Vrms
RL
I
Ripple factor = dc 0.6365
I ac
FWR output signal frequency =2 x frequency of the input signal =100Hz.
Given:
Idc = 10 mA, Vdc = 5 V, r = 0.1,
Note: Input is not given but can be assumed appropriately. For example in INDIA, AC
mains has Vi(rms) = 230 2 V, f = 50 Hz
6. For the data provided in problem 4, find the turns ratio required for the transformer.
Solution:
Using equation (1.2.21), the peak value of the secondary is
V (1 4 f CRL )
Vm dc =5.866 V
4 f CRL
Summary
1. A pure sinusoidal signal has an average value equal to zero. It means the dc value of
this signal is zero.
2. A DC power supply unit consists of : Step down transformer, Rectifier circuits, Filter
circuit and Regulator.
3. In a HWR the diode conducts only during positive half cycle and hence the circuit is
referred as ‘Half Wave Rectifier’. The rectified voltage is pulsating DC, which can be
smoothened using filter circuits.
4. In a FWR the diodes conduct in both half cycles and hence the name Full Wave
Rectifier.
5. In a bridge rectifier there are four diodes.
6. A capacitor filter is used in rectifier circuits to remove DC components called as
ripples.
Exercise:
1. Primary voltage is 120V, 60Hz. Turns ratio is 5:1. This transformer supplies
to bridge rectifier employing 4 identical ideal diodes. The load resistance is
1kΩ. Calculate average and rms load voltage, efficiency, ripple factor, PIV
rating and the frequency of output waveform.
(Ans.: 108V, 120V, 81%, 0.484, 169.7V,120HZ)
2. Repeat this problem for center tapped FWR. Comment on the results
comparing it with results of problem 1.
5. A half wave rectifier with capacitor filter has to supply an average voltage of
30V to 900Ω load. Calculate the rms input voltage and value of capacitor
needed to get ripple factor of 0.05, assuming f = 50Hz.
(Ans. : a) 23V, 128.3μF)
6. Repeat problem 5 for a full wave rectifier.
Learning Outcomes:
In Figure 1.3.1, there is a power supply that outputs unregulated voltage of 12-volts.
A load, represented by resistor RL , requires a regulated 5-volt source. Using a 5-volt Zener
diode as illustrated, this requirement can be met. In the circuits, load drops a portion of the
source voltage. Since the Zener Diode is in series with resistor R, Zener diode will drop 5-
volts (VZ) and series resistor R will drop the remaining 7 Volts. With the load, R L, connected
across the Zener Diode, it will provide a constant 5-volts; regardless of any variation of the
power supply.
If the power supply voltage drops to 10-volts from initial 12 volts as mentioned
above. The Zener diode still drops 5-volts (designed voltage) and the series resistor R will
drop 5 volts. Again, because the load is connected across the Zener diode, it will produce 5-
volts. Therefore, irrespective of change in line voltage, output voltage remains constant of
5V.
Self test:
1. If the series resistance increases in an unloaded Zener regulator, the Zener current
a. Decreases
b. Stays the same
c. Increases
d. Equals the voltage divided by the resistance
A zener diode can be used as a shunt voltage regulator (shunt meaning connected in
parallel), and voltage regulator being a class of circuit that produces a stable voltage across
varying load and input voltages.
Consier the circuit for the voltage regulator as shown in Figure 1.3.2.
The circuit has to mainatin constant voltage across a load resisitor RL. The circuit holds the
voltage across the load RL almost equal to the voltage across zener VZ even after the input Vin
and load resistor RL undergo changes. If the unregulated DC voltage Vin rises, the current
through R increases. This extra current is directed to the zener diode instead of flowing
through the load. The zener diode voltage is virtually unaffected by the increase in this
current and load voltage which is same as the diode voltage Vz remains constant. If the load
requires more current when RL is decreased, the zener diode can supply the extra current
without affecting the load voltage.
I Iz IL
Vin Vz
I (1.3.1)
R
Vin VZ
R (1.3.3)
I
Vin VZ
R (1.3.4)
IZ IL
VZ
(i) For Line regulation RL is constant and IL R is also constant and Vin varies between
L
Vin(min) to Vin(max)
(ii) For Load Regulation, Vin is constant and RL varies between RLmin and RLmax and load
VZ VZ
current is given by I Lmin and I Lmax
R Lmax R Lmin
Vin(min) Vz
I min , (1.3.5)
R
Vin (max) VZ
Similarly when Vin=Vin(max) I max , (1.3.7)
R
The selected R must be small enough to permit minimum zener current to ensure that
the diode is in its breakdown region. That is R must be small enough to ensure that minimum
current IZ(min ) flows under worst condition. This is when Vin falls to its smallest possible
value Vin(min) and IL is its largest possible value ILmax (Load Regulation). At the same time R
must be selected large enough to ensure that the current through the zener diode should not
exceed the maximum zener current Iz(max) so that power desipation in the diode will not
exceed Pz. That is the condition when Vin rises to the value of Vin(max) and load current IL to
its minimum ILmin
Therefore,
Vin(min) VZ Vin(max) VZ
R and R (1.3.9)
I zmin I Lmax I zmax I Lmin
Applications:
As Voltage regulators
As Voltage Limiters
Wave shaping
Protection diode
Fixed reference voltage
A Zener diode can be used as a voltage regulator. To illustrate this, let’s use a Zener diode
1N4740A in the circuit as shown in Figure 1.3.3.
As VIN changes IZ changes, the limitations on the input voltage variation (VIN(.min) and
VIN(.max) ) are set by the minimum and maximum current levels (IZK and IZM ) with which the
Zener diode can operate.
The minimum current value IZK = 0.25 mA (from the 1N4740A Zener diode datasheet).
Maximum current can be calculated from the power specification ratings, PD(.max) = 1 Watt as
follows:
Figure 1.3.4 shows a Zener voltage regulator with a variable load resistor across its terminal:
To understand the Zener Regulation with a variable load (load regulation), consider the
following example.
PZ 1 V 8
I Z max 125mA , RL min o 160
Vo 8 I L max 50mA
To find current limiting series resistance,
Vin min Vo 30 8
Rmax 400
I L max I Z min 0.05 0.005
Vin max Vo 30 8
Rmin 176
I L min I Z max 0 0.125
Example Problem 1:
What is the smallest load resistor that can be used before losing regulation? Assume the ideal
model for the zener diode?
Solutions:
This is the maximum load current in regulation, therefore the minimum value of load
resistance RL(min)= VZ / INL = 12 V/ 25.5 mA = 470 Ω.
Note that if RL is less than 470 Ω it will draw more of the total current away from the
zener diode and IZ will be reduced below IZK. This will cause the zener diode to come out
of break down and hence output will not be regulated.
2. A certain zener diode has a V z = 7.5 V and an Rz = 5 Ω at a certain current. Draw the
equivalent circuit.
3. When the reverse current in a particular zener diode increases from 20 mA to 30 mA,
the zener voltage changes from 5.6 V to 5.65 V. What is the resistance of this device?
Solutions:
4. Determine the minimum input voltage required for regulation to be established in the
figure shown below. Assume an ideal zener diode with minimum zener current = 1.5 mA
and Vz = 14 V.
Solutions:
The internal limiting and thermal shutdown features of this regulator makes it
essentially immune to overload. When used as a replacement for a Zener diode-resistor
combination, an effective improvement in output impedance can be obtained together with
lower-bias current. For output current up to 1A, no external components are required. The
input capacitor is used to cancel the inductive effects due to long distributive leads and the
output capacitor to improve the transient response.
IC regulator like LM117, LM317, LM338 are adjustable voltage regulators. The
LM117 series of adjustable 3-terminal positive voltage regulators is capable of supplying in
excess of 1.5A over a 1.2V to 37V output range. They are exceptionally easy to use and
require only two external resistors to set the output voltage. Further, both line and load
regulations are better than standard fixed regulators. Normally, no capacitors are needed
unless the device is situated more than 6 inches from the input filter capacitors in which case
an input bypass is needed. An optional output capacitor can be added to improve transient
response.
Summary
Exercise problems
Learning Outcomes:
8.
9. Understand the basic components of complete regulated power supply.
1.4.1 Light Emitting Diode
Light emitting diode (LED) is a diode that emits light in visible or invisible (infrared)
range when forward biased. In any P-N junction there is a recombination of holes and
electrons. During this process energy possessed by the free electron is transferred to another
state. Some of this energy is transferred as heat and some in the form of photons. In silicon
and germanium greater percentage is converted into heat and the emitted light is insignificant.
However in materials like Gallium Arsenide(GaAs) the light emission dominates and hence
used in LEDs.
By using elements like Gallium, Arsenic and Phosphorous, LEDs produce red, green,
yellow, blue, orange or infrared (visible) light. LED’s have replaced incandescent lamps in
many applications because of their low voltage, long life, and fast on-off switching.
Diodes emitting light in the infrared region find applications in security systems, industrial
processing, optical coupling etc. Figure 1.4.1 shows the circuit symbol and structure of a
typical LED.
(a) (b)
(c)
Figure 1.4.1 (a) Circuit symbol of LED (b) Different color LEDs (c) Structure of a typical
LED
One of the common applications of the LED is in seven segment display. A common
anode seven segment display arrangement is shown in Figure 1.4.2. It can be used to display
any alphanumeric character.
LEDs are also used in burglar alarm system, digital meters, electronic display panels,
optical communication system etc. LED's are much cheaper, last nearly indefinitely, and
consume less energy. The biggest disadvantage is the cost of replacement to the consumer.
For example, in the past, if a single instrument cluster bulb went out, it could be easily
replaced. Today, if a single LED goes out on the instrument cluster, it is not replaceable. The
entire instrument cluster must be replaced.
A photodiode consists of an active P-N junction which is operated in reverse bias as shown in
Figure 1.4.3. When light falls on the junction, reverse current flows which is proportional to
the illuminance. The linear response to light makes it useful photodetectors for some
applications. It is also used as the active element in light-activated switches.
(a)
(b) (c)
Figure 1.4.3. (a) Symbol of photo diode (b) Circuit using photodiode (c) Characteristic of
photodiode. [http://hyperphysics.phy-astr.gsu.edu/hbase/electronic/photdet.html]
Photo diodes are used as/in light detectors, demodulators, encoders, high speed counting,
switching circuits etc.
1.4.3 Optocoupler:
An optocoupler, also called opto-isolator, is an electronic component that transfers an
electrical signal or voltage from one part of a circuit to another or from one circuit to another,
while electrically isolating the two circuits from each other as shown in Figure 1.4.4. It
consists of an infrared emitting LED chip that is optically in-line with a light-sensitive silicon
semiconductor chip, all enclosed in the same package. The silicon chip could be in the form
of a photo diode, photo transistor, photo Darlington, or photo SCR(silicon controlled
rectifier).
Self Test
1. A LED is a diode that gives off ...........when .........biased.
A solar cell (also called a photovoltaic(PV) cell) is an electrical device that converts the
energy of light directly into electricity by the photovoltaic effect. It is a form of photoelectric
cell when exposed to light, can generate and support an electric current without being
attached to any external voltage source, but do require an external load for power
consumption.
Cover - a clear glass or plastic layer that provides protection to external elements.
Transparent Adhesive - holds the glass to the rest of the solar cell.
Anti-reflective Coating - this substance is designed to prevent the light that strikes the cell
from bouncing off so that the maximum energy is absorbed into the cell.
Front Contact - Transmits the electric current.
N-Type Semiconductor Layer - This is a thin layer of silicon which has been mixed with
phosphorous to make it a better conductor.
P-Type Semiconductor Layer - This is a thin layer of silicon which has been mixed or
doped with boron to make it a better conductor.
Back Contact - Transmits the electric current.
[www.solarbc.ca/sites/default/files/pdf/how_a_solar_cell_works__dec_9.pdf].
N-Layer- is often formed from silicon and a small amount of Phosphorus. Phosphorus gives
the layer of excess of electrons and therefore has a negative character. The N-layer is not a
charged layer but it has an equal number of protons and electrons. Also some of the electrons
are not held tightly to the atoms and are free to move.
P-Layer- is formed from Silicon and Boron and gives the layer a positive character because
it has a tendency to attract electrons. The P-layer is not a charged layer and it has an equal
number of protons and electrons.
P-N Junction - when the two layers are placed together, the free electrons from the N-layer
are attracted to the P-layer. At the moment of contact between the two wafers, free electrons
from the N-layer flow into the P-layer, then form a barrier to prevent more electrons from
moving from one layer to the other. This contact point and barrier is called the P-N junction.
Once the layers have been joined, there is a negative charge in the P-layer and a
positive charge in the n-layer section of the junction. This imbalance in the charge of the two
layers at the P-N junction produces an electric field between the p-layer and the N-layer. If
the PV cell is placed in the sun, radiant energy strikes the electrons in the P-N junction and
energizes them, knocking them free of their atoms. These electrons are attracted to the
positive charge in the N-layer and are repelled by the negative charge in the P-layer. A wire
can be attached from the P-layer to the N-layer to form a circuit. As the free electrons are
pushed into the N-layer by the radiant energy, they repel each other. The wire provides a path
for the electrons to flow away from each other. This flow of electrons constitutes electric
current. The electron flow provides the current, and the cell’s electric field causes a voltage.
With both current and voltage, power is obtained, which is the product of the two. Solar array
is shown in Figure 1.4.6.
Figure 1.4.7 shows equivalent circuit of a solar cell. Solar cells are used to generate
electricity. Incident sunlight can be converted into electricity by photovoltaic conversion
using a solar panel.A solar panel consists of individual cells that are large-area semiconductor
diodes, constructed so that light can penetrate into the region of the p-n junction. The junction
formed between the n-type silicon wafer and the p-type surface layer governs the diode
characteristics as well as the photovoltaic effect. Light is absorbed in the silicon, generating
both excess holes and electrons.These excess charges can flow through an external circuit to
produce power.
Figure 1.4.8. shows the equivalent circuit to describe a solar cell. The diode current
I D I o (eV V 1)
D T
comes from the standard I-V equation for a diode. It is clear
that the current I that flows to the external circuit is I = Isc - ID , where ISC is short circuit
current. If the solar cell is open circuited, then all of the ISC flows through the diode and
produces an open circuit voltage Voc of about 0.5-0.6V. If the solar cell is short circuited,
then no current flows through the diode, and all of the short-circuit current ISC flows through
the short circuit.
Since the Voc for one solar cell is approximately 0.5-0.6V, then individual cells are
connected in series as a “solar panel” to produce more usable voltage and power output
levels. Most solar panels are made to charge 12 V batteries and consist of 36 individual cells
(or units) in series to yield panel Voc ≈ 18-20 V. The voltage for maximum panel power
output is usually about 16-17 V.
Summary
Exercise Problems:
1. Light Emitting Diodes (LED) is used in fancy electronic devices such as toys emit
A. X-rays B. Ultraviolet light C. visible light D. radio waves
2.The maximum wave length of photons that can be detected by a photo diode made of
a semiconductor of band gap 2 eV is about…………………………
3. What value of series resistor is required to limit the current through a LED to
20 mA with a forward voltage drop of 1.6 V when connected to a 10V supply? Given
VD=1.6 V.
(Ans: 420 Ω)
5. Define sensitivity of the photo-diode.
6. How reverse biased voltage effects the capacitance of the varactor diode ? Explain
with the help of the curve.
Chapter 2
BJT and Applications
The first Bipolar Junction Transistor (BJT) was demonstrated by a team of scientists at Bell
laboratories in 1947. BJT has attractive features like, small in size, light weight, low power
consumption and low operating voltages. These devices are used in applications such as
signal conditioners, amplifiers, electronic switches, oscillators, etc.
a. BJT Structure
It is a three terminal, three-layered, two junction semiconductor device.
Two types:
Thin layer of n-type material is placed between two p-type materials (called PNP
transistor)
Thin layer of p-type material is placed between two n-type materials (called NPN
transistor)
b. BJT Operation
Working of NPN transistor is discussed here. Working of PNP transistor is similar (roles of
free electrons and holes are interchanged and current directions are reversed).
As shown in Figure 2.1.2(a), EB junction is forward biased. The depletion region at EB
junction is narrow. Similarly CB junction is reverse biased. The depletion region at CB
junction is wide. The free electrons from emitter region cross the junction and reach base
region. (Repelled by the negative potential at the emitter terminal). Some of these free
electrons combine with the holes in the base region. They move towards the base terminal
and form the base current. There are less number of holes available in base. Therefore, most
electrons (about 99%) that comes out of emitter do not combine with holes, they enter the
collector region(Attracted by the positive potential at the collector terminal). Hence the
emitter emits electrons and the collector collects these electrons. Directions of three currents
are indicated in Figure 2.1.2(a).
Current directions are opposite to the flow of electrons. IE is the emitter current, IB is the base
current and IC is the collector current. Arrow head represents the direction of current flow
through emitter in the transistor symbols shown in Fig 2.1.2(b).
2.1.2 BJT Configurations
Transistor is a three terminal device. For amplifier circuit, four terminals are required,
two for input and two for output. Hence, one of the three terminals of transistor is made
common to both input and output. Accordingly, there are 3 configurations:
Common base (CB) configuration
Common emitter (CE) configuration
Common collector (CC) configuration
As shown in Figure.2.1.4, base is common to both emitter and collector. The emitter is the
input terminal and the collector is the output terminal.
b. Common emitter configuration
In this emitter is common to both base and collector terminals. The base is input terminal and
the collector is output terminal
Self test:
Where, dc is fraction of emitter current that flows to the collector. From (2.1.2)
I I ( 2.1.3)
dc C CBO
IE
Since ICBO is very small,
IC (2.1.4)
dc
IE
Also,
IC (2.1.5)
dc
IB
I CBO (2.1.13)
I CEO
(1 dc )
Self test:
c. Cut-off region: This is the region below IE=0 curve (Figure 2.1.6). In this emitter
current IE is less than zero (E-B diode is reverse biased) and collector to base voltage
VCB is positive (C-B diode is reverse biased).Transistor is said to be in OFF state
since IC is zero.
Self test:
Example Problem 1:
1. A BJT has alpha (dc) 0.998 and collector-to-base reverse sat current 1μA. If Emitter
current is 5mA. Calculate <i> Collector current <ii> Base current.
Ans: <i> I C dc I E I CBO
= 0.998*5*10-3+ 10-6
= 4.99 mA.
<ii> IB = IE - IC
= 5mA - 4.99mA = 10 μA.
Summary
Exercises:
1. An NPN transistor has collector current 4mA and base current 10 μA.
Calculate the alpha and beta values of the transistor, neglecting the reverse
saturation current ICBO. (Ans: 0.9975, 400)
2. In a transistor, 99% of the carriers injected into the base cross over to the
collector region. If collector current is 4mA and collector leakage current is 6
μA, Calculate emitter and base currents. (Ans: 4.034 mA, 34 μA)
3. In a transistor circuit, when the base current is increased from 0.32 mA to 0.48
mA, the emitter current increases from 15 mA to 20 mA. Find αac and βac
values. (Ans: 0.968, 30.25)
Biasing means application of external voltage to the device so as to make it to operate in the
required region. For transistor to work as an amplifier, it is biased in active region. Similarly
if it has to work as a switch, it must be biased either in saturation or cut-off region.
IC = VCC/RC 2.2.10
By joining these two points defined by 2.2.9 and 2.2.10, the straight line can be drawn on the
output characteristics as shown in Figure.2.2.3. The resulting line on the graph is called the
load line since it is defined by the load resistor RC. The intersection of load line with the base
current results in operating point or Q point.
The variation of the Q-point up or down the load line with varying values of IB, RC and VCC
are shown in Figure 2.2.4. With IB variation Q point moves along the load line (Figure
2.2.1(a)). If RC of the circuit is varied, the slope of the load line changes (Figure 2.2.1(b). VCC
will shift the load line keeping the slope constant (Figure 2.2.1(c)).
Figure 2.1.1(d): Effect of an increasing value of RC on the load line and the Q-point
Figure 2.1.1(e): Effect of lower values of VCC on the load line and the Q-point
Self test:
One of the simple way of biasing the ttransistor is by using fixed biasing technique.
The circuit diagram of a fixed bias transistor is as shown in Figure.2.2.2. Compared with CE
configuration in Figure 2.1.1(a), here base resistor RB is connected to Vcc (Instead of VBB).
Negative terminal of Vcc is not shown. It is assumed to be at ground.
Applying KVL to the input side, (base emitter loop) which consists of VCC, RB, base, emitter
and ground, we get:
Vcc I B RB VBE 0 2.2.1
Rearranging, we get
VCC VBE
IB 2.2.2
RB
Vcc is constant, VBE is almost constant (0.7V for silicon). So by selecting proper RB, we can
fix IB as required. Applying KVL to the collector loop, which consists of VCC, RC, collector,
emitter and ground, we get:
VCC IC RC VCE 0 or VCE VCC I C RC 2.2.3
IC is related to IB by β.
2.2.4
So, VCE can be fixed by selecting proper RC.
VCE can also be written as
2.2.5
using single subscript notations, where are voltages from collector and emitter to
ground, respectively. In the case of fixed bias, since emitter is grounded directly.
Therefore,
2.2.6
In a similar way,
2.2.7
and since
2.2.8
Example Problem 1:
1. For a fixed bias circuit using Si transistor, RB = 500 kΩ, RC = 2 kΩ, VCC = 15 V and
β = 70. Find the collector current IC and VCE. Take VBE as 0.7 V.
Solution:
From the input loop expression,
Exercises:
1. A Si transistor is biased for a constant base current. If β = 80, VCEQ = 8 V, RC = 3
kΩ and VCC = 15 V, find ICQ and the value of RB required. ( Ans: 2.33mA,
493KΩ)
2. Repeat problem 1 if the transistor is a Germanium device. ( Ans: 2.33mA,
507KΩ)
Self test:
1. Mention the extreme end points of the load line for a fixed biased circuit.
2. Identify the operating region of the transistor when biasing circuit is used.
Input side of the above circuit called as voltage divider circuit, is redrawn below in Figure
2.2.6.
RTH is the resistance seen between the same points A & B with VCC replaced by short circuit.
RR
RTH R1 || R2 1 2 2.2.12
R1 R2
Self-bias circuit with its input loop replaced by equivalent circuit is shown in Figure 2.2.7.
Applying KVL to the input loop we get:
VTH I B RTH VBE I E RE 0 2.2.13
Substituting I E ( 1) I B and rearranging, we get
VTH VBE
IB 2.2.14
RTH ( 1) RE
Applying KVL to the output loop, we get
VCC I C RC VCE I E RE 0 2.2.15
Rearranging, we get
VCE VCC I C RC I E RE 2.2.16
Also using single subscript notation,
VC VCC I C RC 2.2.17
where, VC is voltage from collector to ground and,
VE I E RE 2.2.18
where, VE is voltage from emitter to ground.
To show IC is independent of :
Since >> 1, we have ( +1) . If RE >> RTH, then equation for IB reduces to:
VTH VBE
IB 2.2.19
RE
VTH VBE
Now, IC I B 2.2.20
RE
Since equation for IC does not contain , we say that IC is independent of temperature
variation and transistor replacement.
Exercises:
1. For a self-bias circuit using silicon transistor, RE = 300 Ω, RC = 500 Ω, VCC = 15 V,
β = 100 and β RE = 10R2. Find the values of R1 and R2 to get VCEQ = VCC / 2.
(Ans: 9.03KΩ)
2. For a self-bias circuit, the transistor is a Si device, RE = 200 Ω, R1 = 10R2 = 10 kΩ,
RC = 2 kΩ, β = 100 and VCC = 15 V. Determine the values of ICQ and VCEQ. ( Ans:
(Ans: 3.13mA, 8.11V)
Self test:
1. What are the modifications done to fixed bias circuit to transform it into self bias circuit?
2. Explain how the stability of the Q point is achieved in self bias circuit.
Summary
Amplifier is a circuit which increases the magnitude of input signal applied. Bipolar junction
transistor basically amplifies current. In CE configuration, base current is the input current
and the collector current will be the output current. As collector current is beta times more
than the input current ( ib ), it is an amplified version of the input. This is the effect of
transistor.
By suitably designing transistor circuit, we can get voltage amplification and power
amplification also. To work as amplifier, transistor should be in active region throughout the
input signal cycle. This is achieved by proper use of biasing circuit. Consider the working of
the circuit shown in Figure 2.3.1: Batteries VBB and VCC ensure that transistor is operating in
the active region. It causes direct currents IB, IC and IE to flow in the circuit. Vin is a weak
input signal to be amplified. This causes an alternating current ib to flow through input
circuit. Total base current into the base terminal iB is sum of IB and ib, which is a shifted
sinusoidal signal. During positive quarter cycle of input waveform, as input voltage increases,
ib and hence iB increases. Due to transistor action, iC also increases. We have iC iB , where
β is current amplification factor. Since β is very large, even for small increase in i B, there is a
large increase in iC. Hence large alternating voltage iCRC develops across resistor RC. Vout
=VCC- iCRC will decrease. During second quarter cycle of input waveform, as input voltage
decreases, iB decreases, and also iC decreases. During negative half cycle of input waveform,
E-B junction still remains forward biased because, VBB is so chosen that it is greater than
peak value of Vin. So, during negative half cycle when iB decreases, iC also decreases, and
hence iCRC decreases. Thus output voltage Vout increases. Hence Vout is exact replica of input
voltage Vin, but magnified many times with 180o out of phase with input.
generally used in amplifier circuits. Positive feedback will increase the gain but decrease the
stability and bandwidth. It will be used in oscillator circuits (negative and positive feedback
significance).
CE is called emitter by-pass capacitor. It is used to provide a negative feedback signal to the
amplifier. The negative feedback in amplifiers will improve the performance such as stability,
frequency response of the amplifier. CE offers low reactance path for ac component, thus
preventing ac component from passing through RE. With this ac voltage drop across the
resistor RE is zero. The circuit is named as RC coupled amplifier without feedback as there is
no feedback signal available to the input. On the other hand if the capacitor C E is removed
from the circuit, then ac signal passes through RE, there will be ac voltage drop across it. As it
is a negative feedback, this will decrease VBE, bringing down output voltage. Hence circuit is
named as RC coupled amplifier with feedback. RL is the equivalent resistance of the load
connected at output of amplifier. As explained earlier, when input voltage varies, iB varies,
this varies the iC proportionally. Thus the output voltage is a amplified version of the input
voltage, but with a phase shift of 1800.
Here, fl is called lower cut-off frequency; fh is called upper cut-off frequency. These are also
called 3 dB frequencies
Bandwidth is defined as
BW = fh – fl 2.3.1
Summary
1. Amplifier circuits are used for increasing the strength of week signal.
2. The working of an RC coupled amplifier with and without feedback.
3. The Gain of the amplifier defined as ratio of output signal to input signal.
4. The frequency response is a plot of frequency v/s gain of the amplifier and defines the
bandwidth.
5. Gain of multistage amplifiers will be obtained by multiplying gain of each individual stage.
Exercises:
1. An amplifier is known to have a power gain of 40 dB. If the output power is 4
watts, determine the input power.(Ans: 0.4mW)
2. What output power is obtained from an amplifier whose power gain is 55 dB,
when the input power is 1 mW? (Ans: 316.23W)
3. In a three-stage amplifier, the voltage gain of first stage is 40 dB, gain of
second stage is 200 (not in dB) and that of third stage is 0 dB. Find the overall
gain of the amplifier.(Ans: 86.02dB)
4.
Learning outcomes:
In the previous section we have explored the use of transistor as an amplifier, where it was
configured in active region. In this module we will study the use of transistor configured in
other regions of operation.
2.4.1 Introduction
Transistor can be made to operate as “ON/OFF” solid state switches. Transistor switches can
be used for controlling high power devices such as motors, solenoids or lamps, as well as
they can be used in low power digital electronics and logic gate circuits. To be specific the
transistor must operate in the extreme ends of the load line curve: i.e. in cut-off and saturation
regions. To review, in cut-off region both junctions of the transistor are reverse biased, (VBE
< 0.7V and IC = 0) whereas, in saturation region both junctions were forward biased, ( VBE >
0.7V and IC = Maximum). The operating conditions of the transistor in the cut off region and
saturation regions are listed in the table given below. Therefore transistor in cut off region
acts as a “Fully-OFF” switch. In saturation region the transistor acts as a “Fully-ON” switch.
Figure 2.4.1 Transistor as switch. (a) circuit diagram (b) and (c) are equivalent circuits when
the switch is OFF and ON respectively.
The circuit diagram of the transistor switch is as shown in Figure 2.4.1 with the equivalent
circuits. With a zero Vin signal applied to the Base of the transistor it turns “OFF” acting like
an open switch and zero collector current flows. With a positive Vin signal applied to the
Base of the transistor, it turns “ON” acting like a closed switch and maximum circuit current
flows through the device, provided the base current is large enough to drive the transistor in
to saturation.
2.4.2 Transistor as LED driver:
The circuit of an LED driver is as shown in Figure. 2.4.2 The series resistor R is used to
provide the required base current of the transistor. With the input voltage Vin =0V, no current
flows through the base of the transistor, and hence the transistor is in cut-off region.
Therefore, with the collector current zero, the LED does not turn on. When Vin ≈ VCC, the
flow of base current through the transistor drives it to saturation and behaves like a closed
switch. The amplified collector current turns the LED on. If the Vin is directly connected to
LED through the resistor R, without any transistor, the current through the LED would be
I=Vin/R, which is not sufficient to drive the LED.
2.4.3 Transistor as Inverter.
Self test:
1. State the operating regions required for the transistor to be used as a switch.
2. Which circuits are named as driver circuits?
3. With what value of Vin the switch is said to be closed?
Summary
Chapter: 3
The integrated operational amplifier has gained wide acceptance as a versatile, predictable,
and economic system building block because of its small size, high reliability, and reduced
cost.
Learning Outcomes:
1. Draw the internal block diagram of an OP-AMP and briefly describe the functions
2. List and define key parameters of an OP-AMP.
3. Discuss OP-AMP based amplifier topologies.
4. Design OP-AMP based circuits for simple mathematical operations.
3.1.1 Introduction
An operational amplifier is a high gain direct coupled amplifier which can amplify signals
over a wide range of frequencies. The circuit symbol of op-amp is shown in Fig. 3.1.1, which
has two inputs and a single output. The input terminal that is marked as positive is called non-
inverting terminal and that marked as negative is known as inverting terminal. The output
signal of an Operational Amplifier is the amplified version of the difference between the two
signals being applied to the two inputs. One of the common IC versions of op-amp is µA741.
Input stage: It is a dual input, dual output differential amplifier. Its function is to amplify the
difference between the two input signals. It provides high differential gain, high input
impedance and low output impedance. The differential amplifier mainly helps to minimize
the effect of noise.
Intermediate stage: The overall gain requirement of an op-amp is very high. Since the input
stage alone cannot provide such a high gain, an intermediate stage is used to provide the
required additional voltage gain.
Buffer and Level shifting stage: The dc quiescent voltage level of previous stages may get
amplified and applied to the next stage causing distortion at the output. Hence the level
shifting stage is used to eliminate the dc level. Buffer is a unity voltage gain amplifier usually
used for impedance matching.
Output stage: This stage contributes to the overall gain of the op-amp and also provides low
output impedance.
The pin diagram for a typical µA741 op-amp with 8 pin DIP (Dual In-line Package) is shown
in Figure. 3.1.4.
Differential Amplifier
The circuit shown in Figure 3.15 shows a generalized form of a differential amplifier with
two inputs marked V1 and V2. The two identical transistors TR1 and TR2 are both biased at
the same operating point with their emitters connected together and returned to the common
rail, -VEE by way of resistor RE.
Op-amp specifications:
Output offset voltage (Voo): The output voltage, when both the inputs are zero is called the
output offset voltage. It is due to input offset voltage and input bias current.
Input bias current (Ib): It is the average of the current that flows into the inverting and non-
inverting input terminals when both of the two inputs are grounded.
Input offset current (Iio): It is the algebraic difference between the currents flowing into non-
inverting and inverting terminals of balanced op-amp.
Input resistance (Ri): It is the equivalent resistance that can be measured at either the
inverting or non-inverting terminal with the other terminal connected to ground.
Slew Rate(SR): It is defined as the maximum rate of change of output voltage per unit time.
i.e: SR = max.
Supply Voltage Rejection Ratio (SVRR): The change in op-amp input offset voltage caused by
variations in one of the power supply voltage is called SVRR.
Output resistance (Ro): The equivalent resistance observed between the output terminal and
the ground.
Common Mode Rejection Ratio (CMRR): This is a figure of merit for an op-amp. It is defined
as the ratio of the magnitude of differential gain to the common mode gain.
dB (3.1.1.1)
For ideal op-amp, the characteristic do not change with temperature. Ideally, the op-amp is
perfectly balanced, if Vo = 0, when V1 = V2
The input impedance of an ideal op-amp is infinite (Ri =∞), that means there is no current
flowing into the op-amp. As the differential voltage gain of an ideal op-amp is infinite, V1-V2
tends to zero. This is equivalent to virtual short between two input terminals and hence if one
of the terminals is grounded the other terminal also experiences the same potential even
though they are not electrically connected. Therefore, it is called virtual ground.
Transfer Characteristics of a typical op-amp:
The transfer characteristics of op-amp is as shown in Figure 3.1.6. In the linear region, any
change in the input difference voltage, ±Vid produces a proportional output voltage. The
range of input difference voltage to operate the op-amp in linear region is approximately
equal to 100 mV. Beyond 100mV of ±Vid, the output becomes ±Vsat because of very high
gain offered by the op-amp. The output will be at +Vsat if it is used in non- inverting mode or
-Vsat if it is configured in inverting mode.
In linear applications, the op-amp is operated as a closed loop amplifier in the active region.
The difference between the input voltages is maintained around 100mV so as to produce a
linear output voltage. In nonlinear applications, the op-amp is driven to saturation either in
open loop or closed loop configuration by applying a difference input voltage exceeding
100mV.
Self test:
Summary:
Learning Outcomes:
3.2.1 Inverting amplifier: The circuit diagram for an inverting amplifier is as shown in
Figure 3.2.1.
The inverting input terminal is at virtual ground, i.e. Vg = 0. Substituting in the above
expression,
The negative sign indicates that there is 180° phase difference between input and output
signals. The voltage gain depends only on the resistor values as long as the op-amp is in
linear region.
Since there is virtual short between inverting and non-inverting input terminals, Vin appears
across R1.
Rf
Vout Vin 1
R1
(3.2.5)
The closed loop voltage gain for non-inverting amplifier is given by,
By applying KCL to the inverting input node and making use of the virtual ground concept,
the output voltage is,
(3.2.8)
Thus, summing amplifier produces an output voltage which is an inverted (in sign), weighted
sum of all inputs.
If R1 = R2 =……….= Rn , then,
(3.2.9)
If R1 = R2 =……….= Rn = Rf then
(3.2.10)
The circuit is therefore acts as an adder or summer. Strictly speaking, this circuit is acting as
an inverting adder.
R2
When V2=0, Vout1 V1 (3.2.11)
R1
R R4 R2
When V1=0, Vout2 V 1 2 V2 1 (3.2.12)
R1 R3 R4 R1
R4 R2 R
Then, Vout Vout2 Vout1 V2 1 V1 2 (3.2.13)
R 3 R4 R1 R1
R2
If R2 / R1 = R4 / R3 then,. Vout (V2 V1 ) (3.2.14)
R1
The circuit is called a difference amplifier and if, R1 = R2 = R3 = R4, the above equation
simplifies to Vout V2 V1 and the circuit acts as a subtractor.
3.2.6 Integrator
The circuit for an integrator is shown in Figure. 3.2.6. It produces an output voltage which is
proportional to the integral of input voltage.
Vi n 0 d (0 Vo ut )
C (3.2.15)
R dt
3.2.7 Differentiator
The differentiator circuit is shown in Figure 3.2.7. It produces an output voltage which is
proportional to the differential of input voltage.
Fig.3.2.7: Differentiator
Exercises:
1.
Realize each of the following equations using single OPAMP.
Draw the circuit diagram. Derive the input output relation and
determine the component values.
(i) Vo = -5V1
(ii) Vo = +5V1 (iii) Vo = -( 5V1 + 7V2) (iv) Vo = V1 – 0.5V2
2. Realize the equation using OPAMP V0= 3V1- 0.8V2 + 0.5V3
3. Sketch the output waveform for an inverting integrator if the
input signal is square wave with Amplitude is 5V and frequency
1KHz.
4. A 200mV peak to peak sine wave form voltage is applied to an
OPAMP inverting amplifier with Rf/R1 =10. Sketch the output.
Summary:
1. The closed loop voltage gain Av = -(Rf/Ri). The negative sign indicates that
there is 180° phase difference between input and output signals.
2. Voltage follower is a special case of non-inverting amplifier with unity gain.
3. Summing amplifier produces an output voltage which is an inverted (in sign),
weighted sum of all inputs.
4. The circuit of an integrator produces an output voltage which is proportional
to the integral of input voltage.
5. The differentiator circuit produces an output voltage which is proportional to
the differential of input voltage.
Learning Outcomes:
At the end of this module, students will be able to :
1. Discuss different types of OP-AMP based Comparators.
2. Draw the circuit of square wave generator using op-amp.
The output of the op-amp will be at either positive or negative saturation voltages (±Vsat)
depending on V1 and V2 i.e.
Vout VSat V1 V2
VSat V1 V2
R1
V2 Vout Vout (3.3.20)
R1 R2
R1
where β is feedback factor given by (3.3.21)
R1 R2
When Vout = +Vsat, capacitor will charge towards +Vsat. When the voltage across capacitor V1
exceeds Vsat , output makes a transition to –Vsat and capacitor will start discharging towards
–Vsat. When the voltage across capacitor V1 becomes slightly less than (Vsat ) , output makes
a transition to +Vsat and this action repeats.
1
T= 2RC ln (3.3.22)
1
R1
Where (3.3.23)
R1 R2
Exercises:
1. Design a square wave generator using OP-AMP for the following specifications:
Frequency of oscillation = 1KHz, V0 (p-p) = 12.4V.
2. What should be the TON and TOFF of a square wave signal of frequency 2KHz and
duty cycle of 50% ?
Summary:
2. The output of the op-amp in a square wave circuit will be at either positive or negative
saturation voltages (±Vsat) depending on V1 and V2
Part –II
DIGITAL ELECTRONICS
Learning Outcomes:
We discuss binary, decimal, octal and hexadecimal number systems in this module. A radix
or base is an important part of any number system. The total number of symbols in every
number system is equal to its base or radix. In fact the name of the number system is derived
from its base.
This system has 10 symbols, namely 0,1,2,3,4,5,6,7,8 and 9. The decimal number system is
also called the base ‘10’ system as it has ‘10’ digits. Example: (781)10, (82.901)10
A number system that uses only two symbols ‘0’and’1’ is called binary number system or
base 2 system or radix-2 system. The symbols are called bits. Example: (100010)2, (0.1011)2.
Octal Number System: A number system that uses 8 symbols (0-7) is called an octal number
system. The radix or base of octal number system is 8. Example: (723)8, (6.76)8.
The hexadecimal number system has base 16. It has 16 distinct symbols. It uses the digits 0-
9 in addition to alphabets A,B,C,D, E and F as 16 symbols to represent the numbers.
Self test:
1. The hex numbering system has a base of ________, and the binary numbering
system has a base of ________.
2. The value of a particular digit in a number is determined by its relative position in
a sequence of digits. (T/F)
3. A single hexadecimal digit can represent how many binary bits: (a) two, (b) three,
(c) four?
4. The bases of the binary and decimal numbering systems are multiples of 2. (T/F)
4.1 Conversion of numbers: The decimal system is a more familiar system than the other
systems. So it is essential to understand the conversion of a number from any base to decimal
and vice versa. The computer systems accept the data in decimal form, whereas they store
and process the data in binary form. Therefore, it becomes necessary to convert the numbers
represented in one system into the numbers represented in another system.
Decimal to Binary: The given decimal number is repeatedly divided by 2, which is the base
number of binary system till quotient becomes ‘0’ and the remainder is collected from bottom
to top. To convert the fractional part into binary, fraction part is multiplied by 2 repeatedly
and any carry in integer place is recorded. The string of integer obtained from top to bottom
gives the equivalent fraction in binary number system.
Decimal to Octal: The given decimal number is repeatedly divided by 8, which is the base
number of octal system till quotient becomes ‘0’ and the remainder is collected from bottom
to top. To convert the fractional part into octal, fraction part is multiplied by 8 repeatedly and
any carry in integer place is recorded. The string of integer obtained from top to bottom gives
the equivalent fraction in the octal number system.
Decimal to Hexadecimal: The given decimal number is repeatedly divided by 16, which is
the base number of hexadecimal system till quotient becomes ‘0’ and the remainder is
collected from bottom to top. To convert the fractional part into hexadecimal, fraction part is
multiplied by 16 repeatedly and any carry in integer place is recorded. The string of integer
obtained from top to bottom gives the equivalent fraction in the hexadecimal number system.
Binary to decimal: Multiply the number by its equivalent binary weights. Add the products
to get the decimal number.
Octal to decimal: Multiply the number by its equivalent octal weights. Add the products to
get the decimal number.
= (0.267969)10
Hexadecimal to Binary: Each group of 4 binary bits is equal to one hexadecimal digit.
Hexadecimal to Decimal: Multiply the number by its equivalent hexadecimal weights. Add
the products to get the decimal number.
Self test:
Addition in Binary system: It is a simple task to add two binary numbers and it is very
similar to addition of decimal numbers.
1010 = 10
+ 0111 = 7
10001 = 17
Addition in Octal system: Add the digit in each column in decimal and convert this sum into
octal. Write the sum in that column and carry the carry term to the next higher significant
column.
Addition in Hexadecimal system: Add the digit in each column in decimal and convert this
sum into hexadecimal number. Write the sum in that column and carry term to the next
higher significant column.
Self test:
The subtraction operation and logical manipulations become easy in digital computers by
using the concept of complements. For a given number ‘N’ in base-‘r’, two types of
complements are defined, namely, r’s complement and (r-1)’s complement.
The following rules are used in performing complement subtraction in binary system.
Note: To find 1’s complement of a binary number we need to invert each bit.
To find 2’s complement of a binary number find 1’s complement and add 1 to the result.
Exercises:
1. Subtract (AEF3.6D)16 from (445.63)8 using 1’s complement method.
2. Perform the following
(i) (257.75) - (128.825) using binary 2’s complement arithmetic
10 10
(ii) (ABCD) = ( ? ) = ( ? ) = ( ? )
16 10 2 8
5. Convert each of the following hexadecimal number into its equivalent in the binary
number system
i) 1C.3
ii) F2.C
iii) 450.B
iv) 8EA.59
Summary
Module 2 - Codes
Learning Outcomes:
When numbers, letters or words are represented as a specific group of symbols based on
certain rules, it is said to be encoded. The group of symbols is called a code. Codes are
represented, stored and transmitted in the form of binary bits. The codes may also use alpha
numeric characters.
Advantages of Binary Code:
Weighted Codes
Non-Weighted Codes
Alphanumeric Codes
Error Detecting Codes
Error Correcting Codes
Value of the number given by the code can be obtained using the following equation.
N d3w3 d2 w2 d1w1 d0 w0 (4.2.1)
w3, w2, w1 and w0 are the weights selected for a given BCD code:
w3 w2 w1 w0
8 4 2 1
EXCESS-3 CODE
The Excess-3 code is also called XS-3 code. It is non-weighted code used to express decimal
numbers. The Excess-3 code words are derived from the 8421 BCD code words by adding
(0011)2 or (3)10 to each code word in 8421.
GRAY CODE
The Gray code is neither a decimal code, nor is it an arithmetic code. The essential feature of
a Gray code is that there is only a single bit difference between successive code words.
Table 4.2.2 BCD, Excess-3 and Gray code equivalent for decimal numbers
1 0001 0 1
2 0010 0 1
3 0011 1 0
4 0100 0 1
5 0101 1 0
6 0110 1 0
7 0111 0 1
8 1000 0 1
9 1001 1 0
Self test:
1. Example: In an even parity scheme, which of the following words contain an error?
a. 10101010 Ans: No
b. 1110110 Ans: Error
c. 10111001 Ans: Error
2. Example: In an odd parity scheme, which of the following words contain an error?
a) 10110111 Ans: Error
b) 10011010 Ans: Error
c) 11101010 Ans: No
In this code, to each group of m information, k parity checking bits denoted by P 1.to Pk
located at position 2(k-1) from left are added to form an (m+k) bit code word. To correct the
error, k parity checks are performed on selected bits of each code word, and the position of
the error bit is located by forming an error word and the error bit is then complemented. The
k bit error word is generated by putting a 0 or a 1 in the 2(k-1)th position depending upon
whether the check for parity involving the parity bit Pk is satisfied or not.
To transmit 4 data bits, 3 parity bits located at positions 20 21 and 22 from left are added to
make a 7 bit code word which is then transmitted. The word format
P1 P2 D3 P4 D5 D6 D7
Where the D bits are data bits and P bits are parity bits.
P1 is to be set to 0 or 1 so that it establishes even parity over bits 1,3,5 and 7.
P2 is to be set to 0 or 1 so that it establishes even parity over bits 2,3,6 and 7.
P4 is to be set to 0 or 1 so that it establishes even parity over bits 4,5,6 and 7.
P1 P2 D3 P4 D5 D6 D7 P1 P2 D3 P4 D5 D6 D7
0 0 0 0 0 0 0 0 1 0 0 0 0 1 1
1 1 1 0 1 0 0 1 1 0 0 1 1 0 0
2 0 1 0 1 0 1 1 0 1 0 0 1 0 1
3 1 0 0 0 0 1 1 1 1 0 0 1 1 0
4 1 0 0 1 1 0 0 0 0 0 1 1 1 1
5 0 1 0 0 1 0 1 1 1 1 0 0 0 0
6 1 1 0 0 1 1 0 0 0 1 1 0 0 1
7 0 0 0 1 1 1 1 1 0 1 1 0 1 0
8 1 1 1 0 0 0 0 0 1 1 0 0 1 1
9 0 0 1 1 0 0 1 0 1 1 1 1 0 0
At the receiving end, the message received in the hamming code is decoded to see if any
errors have occurred. Bits 1,3,5, 7 and bits 2,3,6,7 and 4,5,6,7 are all checked for even parity.
If they all check out, there is no error. If there is an error, the error bit can be located by
forming a 3 bit binary number C3 C2 C1
C3 D4 D5 D6 D7
C 2 P2 D3 D6 D7
C1 P1 D3 D5 D7
Example: Encode data bits 1101 into 7 bit even parity hamming code.
P1 P2 D-3 P4 D5 D6 D7
1 1 0 1
Exercises:
1. Consider the sequence of digits 10001001010110000011. Determine the
number being represented in each of the following BCD coding schemes:
a. 8421 code
b. Excess-3 code
c. 2 4 2 1 code
2. The message coded in the 7 bit hamming code 1001001 is transmitted through
a noisy channel. Decode the message assuming that at most a single error occurred.
Learning Outcomes:
George Boole in 1854 invented a new kind of algebra known as Boolean algebra. It is
sometimes called switching algebra. Boolean algebra is the mathematical frame work on
which logic design is based. It is used in synthesis and analysis of binary logical function.
History
The algebraic system known as Boolean algebra named after the mathematician George Boole.
George Boole Invented multi-valued discrete algebra (1854) and E. V. Huntington developed
its postulates and theorems (1904). Historically, the theory of switching networks (or systems)
is credited to Claude Shannon, who applied mathematical logic to describe relay circuits
(1938). Relays are controlled electromechanical switches and they have been replaced by
electronic controlled switches called logic gates. A special case of Boolean Algebra known as
Switching Algebra is a useful mathematical model for describing the combinational circuits.
These have been derived by using Boolean postulates. These laws are used to design and
analyze logic circuit mathematically. Table 5.1.1 summarizes the Boolean theorems.
Laws of union
Law1: A + 0 = A
Law2: A + 1 = 1
Laws of intersection
Law3: A . 1 = A
Law4: A . 0 = 0
Laws of tautology
Law5: A + A = A
Law6: A.A = A
Laws of complements
Law7: A + A’ = 1
Law8: A.A’ = 0
Law9: A’’ = A
Laws of commutation
Law10: A + B = B + A
Law11: A.B = B.A
Laws of association
Law12: A + ( B + C ) = ( A + B) + C
Law 13: A. ( B . C ) = ( A . B ) . C
Laws of distribution
Law14: A ( B + C ) = AB + AC
Law15: ( A+B ) ( C+D ) = AC + AD + BC + BD
Laws of absorption
Law16: A ( A+B ) = A
Law17: A + AB =A
Law18: A ( A’+B ) = AB
Law19: AB + B’ = A+B’
Law20: AB’ + B = A+B
Self test:
b) Principle of Duality: One more important property of Boolean algebra is called Duality
principle. The Dual of any expression can be obtained easily by the following rules.
Example 1:
1 X+0=X X.1=X
2 X+Y=Y+X X.Y=Y.X
3 X+1=0 X.0=1
De Morgon’s First Theorem: It states that “the complement of product of variables is equal
to sum of the complements of individual variable”.
A B A B A.B AB A+B
0 0 1 1 0 1 1
0 1 1 0 0 1 1
1 0 0 1 0 1 1
1 1 0 0 1 0 0
De Morgon’s Second Theorem: It states that “the complement of sum of variables is equal
to product of complement of two individual variables”.
i.e. A B = A.B . The proof is shown using a truth table given below.
A B A B A+B A B A.B
0 0 1 1 0 1 1
0 1 1 0 1 0 0
1 0 0 1 1 0 0
1 1 0 0 1 0 0
It will be always desirable to simplify any Boolean Expression to its simplest form before
converting to a logic circuit so that the circuit is constructed with minimum number of logic
gates. It makes cost effective and more reliable due to lesser number of interconnections.
Example 2: Simplify
i. F = X’Y’Z + X’YZ ii) F = X ( X’ + Y ) iii) F = B ( A+C ) + C
Solution:
i. F = X’Y’Z + X’YZ
= X’Z (Y’ +Y) (Y’+Y=1)
= X’Z
ii. F = X ( X’ + Y )
= X.X’ + XY (X.X’ = 0)
= XY
iii. F = B ( A +C ) +C
= BA + BC +C
= BA + C ( 1+B ) (1+B = 1)
= BA + C
Exercise:
Summary
4. The Dual of any expression can be obtained easily by the following rules - 1. Change
all 0’s to 1’s, 2. Change all 1’s to 0’s, 3. AND’s (dot’s) are replaced by OR’s (plus)
and 4. OR’s (plus) are replaced by AND’s (dot’s).
5. De Morgon’s First Theorem: It states that “the complement of product of variables is
equal to sum of the complements of individual variable”.
6. De Morgon’s Second Theorem: It states that “the complement of sum of variables is
equal to product of complement of two individual variables”.
7. Simplification of Boolean algebraic expressions makes cost effective and more
reliable logic circuits due to lesser number of interconnections.
Learning Outcomes:
Logic gate is an electronic circuit, which makes logic decisions. It is a digital circuit with one
or more input signal and only one output signal. It produces one output level when some
combinations of input levels are present and a different output level when other combinations
of input levels are present. All input or output signals are either low voltage or high voltage.
A digital circuit is referred to as logic gate for simple reason that, it can be analyzed based on
Boolean algebra. To make logical decisions, three basic gates are used. They are OR, AND
and NOT gate. These logic gates are building blocks, which are available in the form of an
Integrated circuit (IC). The input and output of the binary variables for each gate can be
represented in a tabular column called as truth table.
a) Basic gates
i) OR Gate: The OR gate performs logical additions commonly known as OR function. The
OR gate has two or more inputs and only one output. The operation of OR gate is such that a
HIGH (logic 1) on the output is produced when any of the input or both the inputs are HIGH.
The output is LOW(logic 0) only when all the inputs are LOW. If A and B are the input
variables of an OR gate and Y is its output, then Y=A+B. Similarly for more than two
variables, the OR function can be expressed as Y=A+B+C.
A
Y
B
Input Output
A B Y= A+B
0 0 0
0 1 1
1 0 1
1 1 1
Realization of OR gate using diodes: Two input OR gate using "diode-resistor" logic is
shown in Figure 5.2.2, where X, Y are the inputs and F is the output.
D1
X
F
Y
RL
D2
If X = 0 and Y = 0, then both the diodes D1 and D2 are reverse biased and thus both
the diodes are in cut-off and thus F is LOW.
If X = 0 and Y = 1, D1 is reverse biased, thus does not conduct. But D2 is forward
biased, thus conducts and thus pulling F to HIGH
If X = 1 and Y = 0, D2 is reverse biased, thus does not conduct. But D1 is forward
biased, thus conducts and thus pulling F to HIGH.
If X = 1 and Y = 1, then both the diodes D1 and D2 are forward biased and thus both
the diodes conduct and thus F is HIGH
ii) AND Gate: The AND gate performs logical multiplication, and commonly known as
AND function. The AND gate has two or more inputs and a single output. The output of an
AND gate is HIGH only when all the inputs are HIGH. Even if any one of the input is LOW,
the output will be LOW. If A and B are input variables of an AND gate and Y is its output,
then Y=A.B
A
Y
B
A B Y=A.B
0 0 0
0 1 0
1 0 0
1 1 1
Realization of AND gate using diodes: Two input AND gate using "diode-resistor" logic is
shown in Figure 5.2.4, where X, Y are inputs and F is the output.
+Vcc
RL
D1
X F
Y
D2
If X = 0 and Y = 0, then both the diodes D1 and D2 are forward biased and thus both
the diodes conduct and pulls F to LOW.
If X = 0 and Y = 1, D1 is reverse biased, thus does not conduct. But D2 is forward
biased, thus conducts and pulls F to LOW.
If X = 1 and Y = 0, D2 is reverse biased, thus does not conduct. But D1 is forward
biased, thus conducts and pulls F to LOW.
If X = 1 and Y = 1, then both the diodes D1 and D2 are reverse biased and thus both
the diodes are in cut-off and there is no drop in voltage at F. Thus F is HIGH.
iii) NOT Gate (Inverter): The NOT gate performs the basic logical function called
inversion or complementation. The purpose of his gate is to convert one logic level into the
opposite logic level. It has one input and one output. When a HIGH level is applied to an
inverter, a LOW level appears at the output and vice-versa.
Input Output
A Y= A
0 1
1 0
Realization of NOT gate using Transistors: A NOT gate using a transistor is shown in Figure
5.2.6. ‘A’ represents the input and ‘F’ represents the output.
+Vcc
RL
F
A
A
Y
B
Input Output
A B Y = AB
0 0 1
0 1 1
1 0 1
1 1 0
ii) NOR Gate: The output of the NOR gate is HIGH only when all the inputs are LOW.
A
Y
B
Input Output
A B Y = A B
0 0 1
0 1 0
1 0 0
1 1 0
iii) XOR Gate or Exclusive OR gate: In this gate output is HIGH only when any one of the
input is HIGH. The circuit is also called as inequality comparator, because it produces output
when two inputs are different.
Y= A B =A B + A B
A
Y
B
Input Output
A B Y = A B
0 0 0
0 1 1
1 0 1
1 1 0
iv) XNOR Gate or Exclusive NOR Gate: XNOR gate is a gate with two or more inputs and
one output. XNOR operation is complementary of XOR operation. i.e. The output of XNOR
gate is High, when all the inputs are identical; otherwise it is low.
A
Y
B
Input Output
A B Y = A B +AB
0 0 1
0 1 0
1 0 0
1 1 1
Self test:
How many two input AND and OR gates are required to realize the following expressions in addition to
inverters?
a) F1=ABC+AB’CD+EF’+AD
b) F2=A(B+C+D’)(B’+C+E’)(A+B’+C+E)
c) What is the uniqueness of XOR logic? Explain briefly.
d) List two typical applications of XOR logic.
NAND and NOR gates are called Universal gates or Universal building blocks, because both
can be used to implement any gate like AND, OR and NOT gates or any combination of these
basic gates.
1. NOT operation:
A A
A
A
2. AND operation:
A AB Y=A.B
B
3. OR operation:
A
A
AA
A A+B
B
B
B BB
4. NOR operation:
A
A+B A B
B
1. NOT operation:
A A
A
A
2. AND operation:
A
A A.B
A
B
B
B
3. OR operation:
A A B A+B
B
4. NAND operation:
A A
AB AB
B
B
Exercise:
1. Draw the logic circuit for the Boolean expression. Y= BC+A’ C+AB’C.
3. The most suitable gate to check whether the number of 1’s in a digital word is
even or odd is
1.
5.2.3 Classification of digital circuits
Digital circuits are circuits constructed using digital gates and operate as per digital logic.
Basically digital circuits can be classified into two types.
Combinational Circuits
Sequential Circuits
a) Combinational Digital Circuits:
Logic circuits whose output at any instant of time is entirely dependent upon the input signals
present at that time are known as combinational digital circuits as shown in Figure 5.2.11. In
particular, the output of the combinational circuit doesn’t depend upon any past input or
output. The circuit doesn’t possess any memory. The output signals of combinational circuits
are not fed back to any other part of the circuit.
A Sum
Half Adder
Carry
B
Input Output
Augend Addend Sum Carry
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
The expression for sum and carry is given in expressions 5.2.1 and 5.2.2 respectively.
The circuit for Half Adder using Basic Gates is shown in Figure 5.2.14
A B
A B
Sum= AB+AB =A B
Carry = A.B
Sum= AB+AB =A B
Carry = A.B
ii) Full Adder: Full adder is a combinational circuit that performs the arithmetic sum of three
input bits. It consists of three inputs and two outputs. Two of the inputs are variables, denoted
by A and B, which represent the two significant bit to be added. The third input ‘Cin’
represents carry from the previous lower significant position. The logical symbol of full adder
is shown in Figure 5.2.16 and the truth table is given in table 5.2.9.
A Sum
B Full Adder
Carry
Cin
The expression for sum and carry of full adder is given in expressions 5.2.3 and 5.2.4
respectively.
= A [B Cin]+A[ B Cin ]
= A B Cin (5.2.3)
= B( A Cin+A)+Acin =B(A+Cin)+Acin
=AB+BCin+ACin (5.2.4)
A B Cin
A B Cin A B
AB Cin
AB
BCin AB+BCin+ACin
ACin
Summary
Exercise:
a. Y=A B C + A B C + B C +A C
The required Boolean results are transferred from a truth table onto a two-dimensional grid.
The cells are addressed by Gray code, and each cell represents one combination of input
conditions ( Minterm or Maxterm), while each cell value represents the corresponding output
of the function. Optimal groups of 1s or 0s are identified, which represent the terms of a
canonical form of the logic in the original truth table. These terms can be used to write a
minimal Boolean expression representing the required logic.
Learning Outcomes:
Product of sums (POS) is the logical expression in which AND of multiple sum terms are
present. Each sum term is the logical OR of literals. (X+Y’)((X’Y+Z)(X+Y+Z) is an example
of POS. In POS all the individual terms do not involve all literals. If each term in POS
expression contains all the literals then that POS is known as standard or canonical POS.
Every individual term in the standard POS is a Maxterm.
In first term B is missing literal, in second term C is missing literal and in third term
A is missing literal.
In first term C is missing literal, second term A is missing literal and third term B is
missing literal.
F = (A+B+C.C’)(B+C+A.A’)(C+A+B.B’)
F= (A+B+C)(A+B’+C)(A+B+C)(A’+B+C)(A+B+C)(A+B’+C)
F = (A+B+C)(A’+B+C)(A+B’+C)(A+B+C’)
The canonical SOP and Canonical POS representation of a Boolean function are
complementary. The variables which exists in SOP representation do not appear in POS
representation. Similarly all the variables which exist in POS representation do not appear in
SOP representation. To convert from one canonical form to other canonical form, the
symbols Σ and п will be interchanged and the list of variables will be present in new form
which is actually missing from original form.
Ex3: Determine the Boolean function from the truth table in terms of minterms. Also
give canonical POS form of the expression.
Inputs Output
A B C Y
0 0 0 1
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 0
Size of K-map: The size of K- map with n Boolean variables is determined by 2n. The size of
the group within a K-map with n Boolean variables and k number of terms in the resulting
Boolean expression is determined by 2nk. Common sized maps are of 2 variables which is a
2×2 map, 3 variables which is a 2×4 map and 4 variables which is a 4×4 map. These maps are
shown in Figure 5.3.1.
The K-Map method may theoretically be applied for the simplification of any Boolean
expression regardless of its number of variables, but is most often used when there are fewer
than six variables because K-Maps of expressions with more than six variables are complex
and tedious to simplify. Each variable contributes two possibilities: the complemented and
un-complemented forms. It therefore organizes all possibilities of the system. The variables
are arranged in Gray code in which only one variable changes between two adjacent grid
boxes.
B 0 1
1 1
A
0 0 0
1
f(A,B)=A’
F (A,B,C) = Σm(0,1,3,7)
BC
A 00 01 11 10
0 1 1 1 0
0 0 1 0 F = A’B’ + BC
1
f(A,B,C,D)=AB’+AD+C
Sl.No. A B C D f
0 0 0 0 0 0
1 0 0 0 1 0
2 0 0 1 0 0
3 0 0 1 1 0
4 0 1 0 0 0
5 0 1 0 1 0
6 0 1 1 0 1
7 0 1 1 1 0
8 1 0 0 0 1
9 1 0 0 1 1
10 of the
1 given truth
0 table is1as follows:0 1
K-map
11 1 0 1 1 1
12 1 1 0 0 1
13 1 1 0 1 1
14 1 1 1 0 1
15 1 1 1 1 0
.
K-map generally becomes more cluttered and hard to interpret when the number of variables
increase. For expressions with larger numbers of variables, we have other algorithms. One
such algorithm is called Quine McCluskey algorithm and is suitable for automation.
Note:
So far, the expressions considered have been completely specified for every combination of
the input variables, that is, each minterm (maxterm) has been specified as a 1 or a 0. For
certain input combinations, the value of the output is unspecified either because the input
combinations are invalid or because the precise value of the output is of no consequence. The
combinations for which the values of the expression are not specified are called don’t care
combinations. The don’t care terms are denoted by ‘d’ or ‘X’. During the process of design
using SOP map, each don’t care is treated as a 1 if it is helpful in map reduction; otherwise it
is treated as a 0 and left out. During the process of design using a POS map, each don’t care
is treated as 0 if it is useful in reduction, otherwise it is treated as a 1 and left out.
A 00 01 11 10
0 0 0 1 X
1 X 0 X
1
F = AB’ + A’B
Summary
Exercise:
1. Consider the truth table of a function. Transfer the outputs to the K map and
write the Boolean expression.
A B Y
0 0 0
0 1 1
1 0 1
1 1 1
2. Simplify the following Boolean expressions using K maps.
(a) F = Σm(0,2,4,6)
(b) F = Σm(0,2,4,6) + d( 5,7).
Learning Outcomes:
The first electronic flip-flop was invented in 1918 by William Eccles and F. W. Jordan. It was initially
called the Eccles–Jordan trigger circuit and consisted of two active elements (vacuum tubes) now it
is realized using transistors.
a) Clock Signal
A “clock” is derived using a special circuit that sends electrical pulses, called clock in the
context of digital applications as shown in Figure 6.1.1. Each pulse has a precise width and
there is a precise interval between pulses – known as clock cycle time. Figure 6.1.2 shows
various parts of the clock signal for which the circuit will respond.
The word latch is mainly used for storage elements, while clocked devices are described
as flip-flops. A latch is level-sensitive, whereas a flip-flop is edge-sensitive. Based on the
triggering condition, Flip flops are divided into positive edge-triggered ( active when
transition of clock is 0 to 1) and negative edge-triggered (active when transition of clock is 1
to 0).
c) SR Flip-Flop:
The SR flip-flop can be considered as one of the most basic sequential logic circuit possible.
This simple flip-flop is basically a one-bit memory bi-stable device that has two inputs, one
which will “SET” the device (output Q = “1”), and is labeled S and another which will
“RESET” the device (output Q = “0”), labeled R.
a) b)
Figure 6.1.3 (a): Logic diagram of Clocked SR Flip flop (b) Logical Symbol
A basic NAND gate SR flip-flop circuit provides feedback from both of its outputs back to its
opposing inputs and is commonly used in memory circuits to store a single data bit as shown
in Figure 6.1.3 (a). The SR flip-flop actually has three inputs, Set, Reset and its current
output Q relating to it’s current state or history. The term “Flip-flop” relates to the actual
operation of the device, as it can be “flipped” into one logic state (SET) or “flopped” back
into the opposing logic state (RESET). Figure 6.1.3 (b) shows symbolic representation of SR
Flip-Flop.
1 0 0 Qn Previous Output
1 0 1 0 Reset
1 1 0 1 Set
1 1 1 Invalid Invalid
0 X X Qn Previous Output
Note: Practical available Flip flops are edge triggered, that means flip flop responds for clock edges
either positive edge or negative edge. Following are the symbolic representation of positive edge and
negative edge triggered flip flops. Observe the ‘not’ (bubble) symbol at the clock of negative edge
triggered flip flop.
a) Positive edge triggered Flip flop b) Negative edge triggered Flip flop
d) D Flip-Flop:
The D flip-flop shown in Figure 6.1.4 (a) is a modification of the clocked SR flip-flop. The D
input goes directly into the S input and the complement of the D input goes to the R input.
The D input is sampled during the occurrence of a clock pulse. If it is 1, the flip-flop is
switched to the set state (unless it was already set). If it is 0, the flip-flop switches to the clear
state. The R and S inputs will be always in complimentary form, thus preventing R = S = 1
condition from occurring. When the clock (CLK) is low, previous data is stored, i.e, it
exhibits memory as shown in table 6.1.2.
a) b)
Figure 6.1.4: (a) Logic diagram of D Flip flop (b) Logic Symbol
Table 6.1.2: Truth Table
En D Q(n+1 Mode
1 0 0 Reset
1 1 1 Set
0 X Qn Previous Output
e) JK Flip-Flop:
a) b)
f) T Flip-flop:
Figure 6.1.6 shows the logic circuit of T flip-flop in which J and K inputs of a JK flip flop are
combined and taken as a single input T. When T = 0, output of T flip-flop will remain as it
was previously. When T = 1, output of T flip-flop will be complement of its previous output
and hence this circuit is known as toggle circuit. The excitation table is as shown in Table
6.1.4.
(a) (b)
Figure 6.1.6: (a) Logic Diagram of T Flip-flop (b) Logic symbol of T Flip-flop
1 0 Qn No change
1 1 Qn’ Toggle
0 X Qn Previous Output
Self test:
1. Implement clocked SR flip flop and JK flip flop using only NOR gates and write the truth
table.
2. Convert SR flip flop to D flip and T flip flop. Show using appropriate logic diagram.
3. Compare a) SR and JK flip flop b) T and D flip-flop.
4. Draw the timing diagram for a) SR Flip flop and b) JK Flip flop
6.1.2 Counters:
A digital counter is a set of flip flops whose states change in response to pulses applied at the
input to the counter. In binary counter, the flip flops are interconnected such that their
combined state at any time is the binary equivalent of the total number of pulses that have
occurred up to that time. Thus a counter is used to count pulses. Each of the counts of the
counter is called state of the counter. The number of states through which the counter passes
before returning to the starting state is called modulus of the counter. In general an n-bit
counter will have ‘n’ flip flops and 2n states and divides the input frequency by 2n. Hence it is
a divide by 2n counter.
a) Classification of counters
Note:
Practical available Flip flops are edge triggered, so counters can be realized using positive edge
triggered or negative edge triggered flip flops.
We can realize other than 2n counter by appropriately setting the asynchronous inputs of flip flop
using logic gates. For example Decade counter counts 10 states of a counter which is not a 2n
counter.
b) Applications of counter:
1. As Frequency divider,
2. To perform the timing function as in digital watches
3. To create time delays
4. To produce non-sequential binary counts
5. To generate pulse trains
6. To act as frequency counters.
c) Ripple Counters:
Asynchronous counters are also called as ripple counters. In ripple counters the flip flops
within the counter are not made to change the states at exactly the same time. In this counter,
JK flip flops or T flip flops are used with J and K inputs or T input of the flip flops connected
to 1. This makes the flip flop output to toggle when a clock pulse is applied. It is also called
as serial or series counters.
Example 3:
Design Two bit ripple up counter using negative edge triggered JK flip flops:
Steps:
1. Select 2 JK flip flops (number of flip flops depends upon number of bits to count).
2. Connect JK inputs to high
4. Write the truth table of 2 bit up counter as shown where Q1 and Q2 are the outputs
of 2 JK flip flops.
1 0 0
2 0 1
3 1 0
4 1 1
5. Observe when higher bit (Q2) is changing. In this case, Q2 is changing when Q1 is
changing from logic 1 to logic 0 (At clock pulse 3). Since we require –ve edge counter which
responses when clock is changing from 1 to 0 is required, connect Q1 as the clock for the
next flip flop as shown in Figure 6.1.7 (a)
Figure 6.1.7 (a) Asynchronous 2 bit up counter using -ve edge triggered flip flops (b) Timing
diagram
Working principle: For the clock pulse applied to FF1, the output of FF1 toggles. For the Q1
pulse applied to FF2, the output of FF2 toggles. Thus the 2 bit up counter counts in the order
0, 1, 2, 3, 0, 1, ….Figure 6.1.7 shows a 2 bit ripple up counter using negative edge triggered
JK flip flops and its timing diagram.
Example 4:
Design Two bit ripple up counter using positive edge triggered JK flip flops:
Steps:
3 Apply the +ve edge clock pulse to first JK flip flop (Observe the Clk signal in Figure 6.1.7
5 Observe when higher bit (Q2) is changing. In this case, Q2 is changing when Q1 is
changing from logic 1 to logic 0. Since we require +ve edge counter which responses when
clock is changing from 0 to 1 is required, connect Q1’ (Q1 complement) as the clock for the
next flip flop (because when Q1 is changing 1 to 0 Q1’ will change 0 to 1 which is the
positive edge of the clock) as shown in Figure 6.1.8
Figure 6.1.8 (a) Asynchronous 2 bit up counter using +ve edge triggered flip flops. (b)
Timing diagram.
Working principle: The output Q1’ of FF1 is connected to the clock input of FF2. For the
clock pulse applied to FF1, the output of FF1 toggles. For the Q1’ pulse applied to FF2, the
output of FF2 toggles. Thus the 2 bit up counter counts in the order 0, 1, 2, 3, 0, 1,
Example 5:
Design Two bit ripple down counter using negative edge triggered JK flip flops:
Steps: Steps 1, 2 and 3 are same as example 3
4 Write the truth table of 2 bit down counter as shown
1 1 1
2 1 0
3 0 1
4 0 0
5 Observe when higher bit (Q2) is changing. In this case, Q2 is changing when Q1 is
changing from logic 0 to logic 1. Since we require –ve edge counter which responses when
clock is changing from 1 to 0, connect Q1’ (which changes 1 to 0 at clock pulse 3) as the
clock for the next flip flop as shown in Figure 6.1.9
(a)
(b)
Figure 6.1.9 (a) Asynchronous 2 bit down counter using -ve edge triggered flip flops. (b)
Timing diagram.
Working principle: The output Q1’ of FF1 is connected to the clock input of FF2. For the
clock pulse applied to FF1, the output of FF1 toggles. For the Q1’ pulse applied to FF2, the
output of FF2 toggles. Thus the 2 bit down counter counts in the order 0, 3, 2, 1, 0, 3 …
Figure 6.1.8 shows a 2 bit ripple down counter using negative edge triggered JK flip flops
and its timing diagram.
Self test:
Registers are digital circuits which are used to store ‘n’ bits information in the same time.
Generally registers are built with D flip flops. Each flip flop can store a one bit, so a register
composed of ‘n’ flip flops can store ‘n’ bit number. All these flip flops are driven by a
common clock and they are set or reset simultaneously. Therefore, the data processing
happens sequentially. The output of one flip flop is fed as input to the next flip flop.
In a register data can be entered in serial form or data can also be output in serial form. Then
this register is called as shift register since data bits are shifted in the flip flops with each
clock pulse. Data can be shifted either towards right or left or even in both the directions.
When the data is shifted from left to right, it is known as right shift register. If data is shifted
right to left, it is called as left shift register. In bidirectional shift register, data can be shifted
either left to right or right to left, depending upon the mode control signal. Data transmission
in shift register is shown in Figure 6.1.10.
There are four basic types of shift registers namely, Serial in Serial out (SISO), Serial in
Parallel out (SIPO), Parallel in Parallel out (PIPO) and Parallel in Serial out (PISO) shift
registers.
In SISO shift register, data input is in serial form and clock pulses are applied to each
flipflop. After each clock pulse, data moves by one position. The output can be obtained in
serial form. In this type of shift register data moves either in left or right direction.
The logic diagram of a 4 bit SISO shift right shift register is shown in Figure 6.1.11 with four
flip flops, the register can store up to four bits of data. Serial data is applied at the D input of
the FF1. The Q output of FF1 is connected to the D input of FF2, the Q output of FF2 is
connected to the D input of FF3 and the Q output of FF3 is connected to D input of FF4.
When serial data is transferred into a register, each new bit is clocked into the first flip flop
FF1 at the positive going of each clock pulse. The bit that was previously stored by FF1 is
transferred to FF2. The bit that was stored by FF2 is transferred to FF3 and so on. The bit that
was stored by the last FF4 is shifted out.
Table 6.1.5 shows the operation of 4 bit SISO shift register to store 1010(2). The LSB bit is
entered first in the register D1 and 4 clock pulse required to store 4 bit data and 5th clock
pulse Data present in D4 will be taken out. So SISO requires (2n-1) clock pulses to take out
n bit data i.e in above example MSB bit 1 is taken out from Q4 at 7th clock pulse.
Table 6.1.5 Data shifting in 4 bit SISO shift register for data 1010
SIPO shift register is shown in Figure 6.1.12. In this type of register, the data bits are entered
into the register serially, but the data stored in the register is shifted out in parallel form. Once
the data bits are stored, each bit appears on its respective output line and all bits are available
simultaneously, rather than on a bit-by-bit basis as with the serial output. The serial-in
parallel-out shift register can be used as a serial-in serial-out shift register if the output is
taken from the Q terminal of the last FF.
Table 6.1.6 Data shifting in 4 bit SIPO shift register for data 1010
Summary
1 latch is a level triggered bi-stable multi-vibrator circuit while a flip flop is an edge triggered.
2 Flipflop is an electronic circuit or device which is used to store data in binary form. . Latch is a
class of flip-flops whose output responds immediately to appropriate changes in the input.
3 We have studied the working principle of SR, D, JK and T flip flops using NAND gates.
4 In binary counter, the flip flops are interconnected such that their combined state at any time
is the binary equivalent of the total number of pulses that have occurred up to that time.
5 Asynchronous counters are also called as ripple counters
6 Registers are digital circuits which are used to store ‘n’ bits information in the same time
7 Shift registers are commonly used to store digital data during arithmetic and logical operations.
Exercises:
2 Design mod 4 down counter using +ve edge triggered T flip flop.
3 Design 4 bit up counter using –ve edge triggered JK flip flop with the neat
timing diagram
4 Compare SISO and SIPO
5 Consider data 101110 is given to SISO,SIPO. Data is entered from LSB.
After how many clock pulse, MSB is retrieved?
Part –III
Learning Outcomes:
In a broad sense, the term electronic communication refers to the sending, receiving and
processing of information by electronic means. It can also be defined as the process of
transmitting the information or signal from one point known as the source to another point
known as the destination. Information can be continuous such as speech, music, image,
picture etc. or discrete signals like data from computer etc.
a. Information Source: The first stage of communication system is the information source
because a communication system transmits information from an information source to the
destination. The physical form of information is represented by a message that is originated
by an information source. The examples of message are voice, live scenes, music, image,
written text and e-mail etc.
b. Input/output transducer: The input transducer converts physical quantity (non-electrical)
to an electrical signal. This electrical signal is called as baseband signal/ message signal. For
example, voice is converted to electrical signal using microphone. Similarly at the
destination, output transducer is used to convert electrical signal back to physical quantity.
For example a loudspeaker is used to convert electrical signal back to voice. Likewise for
video, the input transducer can be camera and output transducer can be any picture display
unit such as Cathode Ray Tube (CRT) or Liquid Crystal Display (LCD).
c. Transmitter: The baseband signal generated by the transducer may not be in the form
suitable for the transmission. Hence some kind of processing and signal conditioning is
required to make it suitable for transmission. The transmitter section processes the signal
before transmission, which mainly consists of filters, amplifiers, modulator and transmitting
antenna (for wireless transmission). The filter is used to eliminate the unwanted component
of signal generated by the transducer. The desired signal is further amplified to the required
level using amplifier. The baseband signal is applied to the modulator, which translates the
baseband signal from its low frequency to high frequency, makes it suitable for the
transmission in the chosen environment. The modulated signal is then transmitted through a
transmission channel.
d. Transmission channel: It is a medium over which the electronic signal is transmitted from
one point to another. The type and characteristics of the channel along with the noise power
decides the transmitter and receiver selection and design and hence the cost of the
communication system. The communication medium can be either wired or wireless. An
example for wired communication is telephony, where a pair of physical wires is running
parallel between transmitter and receiver. Now-a-days optical fibers are used in between
transmitter and receiver in which light carries the information. Similarly an example for
wireless communication is radio communication, where free space is used as a transmission
channel. Antennas are used to couple the signal to and from the channel to the
communication system.
e. Noise: It is a random, undesirable electrical energy that interferes with the transmitted
signal. Noise is a highly undesirable part of the communication system which must be
minimized. The noise introduced in the transmission medium is called external noise and the
noise introduced in the transmission and reception equipment is called as internal noise. The
main cause of internal noise is the thermal agitation of atoms and electrons of the electronic
components used in the equipment.
f. Receiver: The receiver block mainly consists of receiving antenna, filter, demodulator and
amplifier. The signal received from receiving antenna is filtered and desired signal is
amplified. It is further demodulated to get back the information signal. Finally an output
transducer is employed to convert back the information in electrical form to physical form.
Modulation is a process of varying some of the characteristics of high frequency carrier wave
in accordance with the instantaneous amplitude of base band signal. After modulation the
baseband signal of low frequency is transferred to the high frequency carrier, which carries
information in the form of some variations. The three parameters of a sinusoidal carrier that
can be varied are: amplitude, phase and frequency. A given modulation scheme can result in
the variation of one or more of these parameters.
Self- test:
Note:
=
=
=
Where, is the modulation index of AM signal which is defined as ratio of the amplitude of
modulating signal to that of carrier signal i.e. . The significance of modulation index is, it
decides the depth of modulation. If it is less than one, then AM signal is known as under
modulated signal. If it is more than one, then AM signal is known as over modulated signal.
If it is equal to one, then AM signal is known as perfect modulated signal. To obtain the
original information, modulation index should always be less than or equal to one. The effect
of modulation index on AM wave is illustrated in Figure 7.1.4
m=0.5
m=1
m=1.5
As shown in Figure 7.1.5, the spectrum of AM consists of three frequency components, one
at and other two at and respectively. The frequencies and
are known as sideband frequencies i.e. is Upper Side Band (USB) and
is the Lower Side Band (LSB). For this reason this is called AM DSB (Amplitude
Modulation with Double Side Band) system. The difference between the two side band
frequencies is defined as bandwidth of AM signal. Therefore the bandwidth of AM signal is
Self -test:
1. What is a spectrum? What are all the information obtained from the spectrum of AM
signal?
2. Imagine that there is a signal with two frequency components, and with . If
they modulate a carrier with frequency ,
Where, is the carrier power, and are the side band signal powers.
or
i.e. 66.67% of total power is carried by the carrier and only 33.33% of total power is
available in the sidebands. As the information is available only in the sidebands, and carrier
does not in any way contribute to the information, 66.67 % of power is wasted if AM DSB
with full carrier is used.
Or
Example Problem 1:
1. An audio signal of volts amplitude modulates a carrier of
volts. Find
i. Modulation index
ii. Sideband frequencies
iii. Bandwidth
iv. Total power delivered if RL = 1kΩ
v. Amplitude of each side band components
Solution:
Am 10
i. Modulation index: m = = = 0.25
AC 40
ii. Sideband frequencies :
Upper side band = fC + fm = 3000Hz
Lower side band = fC - fm = 1000Hz
iii. Bandwidth = 2fm = 2kHz
iv. Total power delivered:
AC2 m2 1600 (0.25)2
PT= (1+ ) = (1+ ) = 0.825 Watts
2R 2 2000 2
A 40
v. Amplitude of each sideband = m C =0.25 * = 5V.
2 2
Example Problem 2:
Certain AM transmitter radiates 9 kW of power with carrier unmodulated and 10.125kW of
power when carrier is sinusoidally modulated. Calculate the modulation index. If another sine
wave corresponding to 40% modulation is transmitted simultaneously, determine the total
power radiated.
Solution:
i. Given: PC = 9kW
PT= 10.125kW
2
m
PT = PC { 1 + }
2
P
m = 2 T 1 =0.5.
PC
ii. m1 = 0.5, m2 = 0.4 , PC = 9kW.
mt = m12 m22 = 0.64.
2
mt
PT = PC { 1 + } = 10.84kW
2
Exercises:
VMAX VMIN
1. Show that modulation index = , where VMAX and VMIN are maximum
VMAX VMIN
and minimum voltage values of the envelope of AM signal.
2. A 360W carrier is simultaneously modulated by two audio waves with percentage
modulation of 55 and 65 respectively. Find the modulation index, total power radiated
and power in each sideband. Assume RL=1Ώ. [Ans: mt = 0.85, PT =490W, PUSB =
PLSB = 65W].
3. A broadcast AM transmitter radiates 10kW when the modulation percentage is 60.
How much of this is the carrier power? [Ans: Pc=8.47 kW]
It is another form of AM modulation, where one sideband is completely present, and a part
(vestige) of other sideband is retained. If the carrier signal is transmitted along with the side
bands, then the recovery of the baseband signal becomes easier. This also reduces the
complexity of the receiver circuit and which in turn reduces its cost.
Note:
Comparison and Applications of various forms of AM signals:
AM-DSB signal is also referred as DSB with full carrier (DSB-FC) and the AM
without carrier is called DSB with suppressed carrier (DSB-SC) signal.
Watch this Video forTable 7.1.1:ofComparison
animation of differentoutput
amplitude modulated types with
of AMdifferent
modulation indices (DSB): http://www.youtube.com/watch?v=1wUjLWNgqMs
% of power
Side band saving as Typical
AM Scheme Bandwidth Carrier power
power compared to Applications
AM-DSB
AM radio
AM-DSB 66.67% 33.33% NIL
broadcast
Non-commercial
DSB-SC NIL 33.33% 66.67%
systems
Carrier telephony
SSB NIL 16.67% 83.33% systems, military
applications
Self-test:
2. Calculate the percentage of power saving when the carrier and one of the side bands
are suppressed in an AM wave modulated to a depth of (a) 100% (b) 50%
Amplitude modulation or AM is one of the most straight forward ways of modulating a radio
signal or carrier. In the process of demodulation (detection), the audio signal is removed from
the radio carrier in the receiver. Demodulation is a process of recovering the original base
band signal (information) from the modulated signal. The simple and highly effective method
for demodulation is by using envelope detector.
Envelope detector produces an output signal that follows the input signal waveform exactly.
Figure 7.1.6 shows the circuit diagram of an envelope detector that consists of a diode and a
resistor-capacitor filter.
This is essentially a half wave rectifier with filter circuit, which allows only half of the
alternating waveform through. The capacitor bypasses the high frequency carrier component
and allows low frequency message signal to go to the output. This demodulator is applicable
only for AM-DSB and the main advantage of this form of AM demodulator is that it is very
simple and cost effective.
Antenna
There are a great variety of receivers in communication systems based on the requirements
such as the modulation scheme, the operating frequency and its range. One of them is super-
heterodyne type, which uses frequency mixing or heterodyning to convert a received signal to
get a fixed intermediate frequency (IF). This allows the processing of signal easier as the
circuits after IF needs to be designed for narrow band of frequency. The functional block
diagram is shown in Figure 7.1.7.
The received signal from the antenna is amplified by the RF amplifier and is fed to the mixer
stage, which performs the heterodyning of the incoming signal with the local oscillator signal
to produce the sum and the difference of those two frequencies. The IF amplifier will be
tuned to the difference frequency as it is smaller among the two, and is known as the
intermediate frequency (IF). A typical value of IF for an AM communication receivers is 455
KHz. The difference frequency is at a lower frequency than either the RF input or oscillator
frequencies.
Once the IF stage/stages have amplified the intermediate frequency to a sufficient level, it is
fed to the detector. The detector is used to demodulate the signal and to get back the message.
The detector stage consists of a rectifying device and filter, which respond only to the
amplitude variations of the IF signal. This develops an output voltage varying at an audio-
frequency rate. The output from the detector is further amplified in the audio amplifier and is
used to drive a speaker or earphones.
Summary
2. Definition of modulation, which is nothing but varying some parameter of a known signal called
carrier in accordance with the amplitude of the message signal called modulating signal.
3. Modulation is necessary for the following reasons:
a) Ease of radiation b) efficient transmission and c) supporting multiplexing
4. To draw the waveforms for amplitude modulated signal with respect to the chosen modulating
and carrier signals.
5. Modulation index gives the depth of modulation or the extent to which the carrier is modulated
by the signal and is given by
6. Draw the spectrum of AM-DSB signal for a single tone modulation and identify two sidebands
and the carrier. The bandwidth of AM DSB is given by 2fm, where fm is the maximum frequency
component of the modulating signal.
7. The power content of AM DSB is given by
8. The different types of AM signal are AM DSB with carrier, DSB SC, SSB SC, SSB with carrier and
VSB.
9. AM DSB can be demodulated by relatively simple process of envelope detection.
10. One of the popular AM reception method is called super heterodyne principle, where in the
input RF signal is translated to an IF signal by mixing or beating it with the output of local
oscillator. Since the local oscillator frequency is maintained above the incoming signal
frequency it is called Super- heterodyning.
Learning Outcomes:
Where is the frequency sensitivity, is the carrier frequency and is the message
signal or modulating signal.
Let the message signal where is the peak amplitude of the
modulating signal and is the modulating signal frequency. Substituting for in
equation (7.2.1), the equation for the FM signal is,
where is the frequency deviation. It signifies the amount by which the carrier frequency
gets deviated.
Multiplying by on both sides of equation (7.2.2)
(since
Spectrum of FM
Figure 7.2.2 shows the spectrum of FM for different values of . It is seen that as the
modulation index, increases, more number of sidebands appear. Therefore any FM signal
with large will have a large number of sidebands and hence larger bandwidth. Ideally, FM
signal has infinite bandwidth. However, for practical purpose, Carson’s rule is followed,
which says that for good reception of FM, it is enough if those many side bands which
constitutes 98% of power is taken. This acts as the basis for estimation of bandwidth for FM.
Self -test:
1 DefineFig.7.2.2
frequencySpectrum
modulation.of FM for different modulation indices
2 Write the time domain expression for frequency modulation and explain.
3 Define modulation index and write the expression for the same.
4 List the factors that affect the bandwidth of FM signal?
Example Problems:
1 Given a FM equation VFM (t) = 10 cos [2 108t + )], calculate carrier
frequency, modulating frequency, frequency deviation and bandwidth.
Solution:
Carrier frequency: fc = 108Hz
Modulating frequency: fm = 15 kHz
Frequency deviation: Δf = β fm = 5 * 15 = 75 kHz
Bandwidth = 2(Δf + fm) = 2(75 + 15) = 180 kHz
Exercises
1 A carrier of amplitude 5V and frequency 90MHz is frequency modulated by a
sinusoidal voltage of amplitude 5V and frequency 15 KHz. The frequency sensitivity is
1Hz/V. Calculate the frequency deviation and modulation index. (Ans: Δf = 5Hz,
β=0.0003)
2 The carrier frequency in an FM modulator is 1000 KHz. If the modulating frequency is
15 KHz, what are the first three upper sideband and lower sideband frequencies?
(Ans: 955kHz, 970kHz, 985kHz, 1015kHz,1030kHz,1045kHz)
.
Sl. Parameter AM FM
no
1 Amplitude of the Varies constant
modulated wave instantaneously with
the modulating signal
amplitude
2 Frequency of the Contains Carrier and Contains carrier and
modulated wave sideband frequency infinite sideband
components frequency components
3 Modulation Index
4 Noise immunity Less More
5 Adjacent channel More Less due to guard bands
interference
6 Bandwidth Less More
7 Circuit complexity Less More
8 Coverage area More Less
Self -test:
Exercises
1 Explain why FM waves cover shorter distances as compared to AM?
2 What is guard band? Explain.
1. http://www.youtube.com/watch?v=_5JyiFWLn-w
Summary
Chapter-8
Type your tex
Introduction to digital communication
In analog communication, the message signals are continuous in nature and can take infinite
amplitude levels. When these signals are transmitted over long distances, even a small
disturbance (noise) can cause distortion in the signal. Once the signal is distorted, the noise
cannot be removed and as a result the original signal cannot be recovered perfectly at the
receiver. With digital techniques, these disturbances can be removed by detecting and
correcting the errors. Hence digital communication has more benefits as compared to analog
communication. In digital communication, the message signal is in discrete form with finite
amplitude levels. If the message signal is analog, it must be converted to digital form by the
process of Analog-to-Digital Conversion.
For any analog information to be transmitted using digital communication system, the signal
must be converted to digital form. The Analog-to-Digital conversion process comprises of
sampling, quantizing and encoding the analog signal. The digitized signal is then modulated
using digital modulation techniques.
Learning Outcomes:
The basic principles of Analog to Digital Conversion are as shown in Fig 8.1.1.Sampling of
analog signals is the first step used to digitize analog information. Sampling can be observed
in numerous real life applications. For example, music CDs (Compact Discs) are produced by
sampling music signal at frequent intervals followed by quantizing and encoding each
sample. Even in digital photography, periodic snapshots (samples) are taken
to capture continuous phenomena. If the sampling rate is fast enough, the human sensory
organs cannot discern the gaps between each snapshot when they are played back. This is the
principle behind motion pictures. If the sampling rate is not fast enough, there will be
distortion in the reconstructed picture obtained from the digitized samples. Therefore, while
sampling an analog signal, there is a minimum sampling rate requirement, called the Nyquist
Sampling rate that avoids distortion in the reconstructed signal. Harry Nyquist proved the
sampling theorem which states that “It is possible to reconstruct a band-limited analog signal
from periodic samples, as long as the sampling rate ( fs)is at least twice the highest frequency
component (fm)of the signal”.
fs ≥ 2fm (8.1)
Where fs is the sampling frequency and fm is highest frequency component in the signal. This
theorem is also commonly called the Nyquist criteria for sampling or Sampling theorm.
This means that , for example if a voice signal has frequencies ranging from 0 to 4kHz (Low
pass signal), then according to the Nyquist Sampling Theorem, in order to sample this signal
without distortion, the minimum required sampling rate is equal to 8kHz. If an analog signal
has frequency components ranging from 2 kHz to 5 kHz (Band pass signal), then according to
the sampling theorem, the Nyquist sampling rate is equal to twice that of the bandwidth of the
signal.ie. 2*(5-2) kHz = 6 kHz and not 10 kHz.
Self -test:
6 kHz
12 kHz
14.4 kHz
Department20 kHz
of Electronics and Communication Engineering, M.I.T. Manipal. Page 177
ECE - 1051 : Basic Electronics
Example Problem:
1 Consider the analog signal x (t) =3cos100 π t. Determine the minimum sampling
rate required to avoid aliasing .
Solution:
The frequency of the analog signal can be calculated as 2πfc=100π.
Therefore fc=50Hz.According to the Nyquist sampling rate, the minimum sampling
rate required to avoid aliasing is fs = 100 Hz.
Exercise:
1 Consider the analog signal x (t) = 3cos50πt+10sin300πt-cos100πt. What is
the Nyquist rate of sampling for this signal? (Ans: 300Hz)
Note: The effect of incorrect sampling rate can be seen when the rotation of a
helicopter blade is observed. As the speed of the blade increases, our eyes are under
sampling the true speed of the blade with a rate which is limited by the human brain.
Similarly, in movies, when the motion of car wheels with increasing speed is
observed, the movie camera is under sampling the motion of car wheels by sampling
at a rate equal to the fixed frames per second of the camera. In both the examples it
is observed that as the speed increases, it creates an illusion of backward rotation.
This is because in both cases the actual speed is under sampled.
For Analogy of sampling to Wagon wheel effect, visit the following link:
http://www.youtube.com/watch?v=6XwgbHjRo30
required. At the receiving end, the original waveforms can be reconstructed from such
samples, if the samples are taken as per the sampling theorem or Nyquist criteria . In
analog pulse modulation, the sample amplitude may be infinitely variable while in digital
pulse modulation such as PCM and DM, a code which indicates the sample amplitude
that is assigned the nearest predetermined discrete amplitude level is sent.
A pulse train has three parameters, namely, Pulse Amplitude, Pulse Width and the instant
of occurrence of the pulse – Pulse Position. The information to be transmitted can be
used to vary any of these parameters according to the instantaneous amplitude of the
modulating signal. This leads to three different types of pulse modulation and they are
Pulse Amplitude Modulation, Pulse Width Modulation and Pulse Position Modulation as
shown in Fig 8.1.2.
In this method, both the amplitude and the duration are kept constant while the position of
each pulse in relation to the position of a recurrent reference pulse is varied by each
instantaneous sampled value of the modulating signal (Refer Fig 8.1.2). PPM is used in
both analog and digital data transmission. It is commonly used in optical fibre
communication, remote controls for TV, toys etc.
The pulse modulation techniques discussed in the previous section are used to transmit
message signals over short distances. They are also called baseband modulation
techniques. If message signals have to be transmitted over longer distances, then the
pulse modulation technique is not suitable because the modulated signal is in digital
form (information is contained in either the amplitude or width or position of the train of
pulses). For this reason, digital modulation techniques is used, also called band pass
modulation techniques. Here a continuous signal such as a high frequency sinusoidal
signal acts as carrier. Digital modulation is achieved by varying either the amplitude or
frequency or phase of the carrier in accordance with the digital data to be transmitted.
Fig 8.1.4 shows the functional elements of a digital communication system. The function
of each block is explained as follows:
Many of the real world signals are physical in nature. The device used to convert these
physical parameters to corresponding electrical signals is called input transducer.
Examples of physical parameters are voice, speech, image etc. The input transducer used
to convert voice, speech or music signal or image to an electrical signal. Examples of
input transducers are microphone, camera etc. Usually, the output signal from the
transducer will be analog in nature. This analog signal is converted into digital form by
using analog –to-digital converter. The analog- to-digital conversion consists of sampling,
quantizing and encoding. In the case of the output data of a computer, the signal is
available in digital form directly.
The aim of the source coding is to represent the digital signal efficiently with as much
less number of bits as possible. This will reduce the bandwidth required for transmission.
Ex: Huffman coding. The source decoder performs the inverse operation of source
encoder. ie. It is used to get back the data in its original representation.
Channel coding consists of systematically adding extra bits in a known manner to the
digital data to be transmitted. These extra bits do not convey any information but help the
receiver to detect and / or correct some of the errors in the received data. Channel
encoding is done by using either Block Coding or Convolution Coding methods. The
channel decoder performs the inverse operation of channel encoder. ie. It is used to
extract the digital data from its encoded form with minimum possible error. The decoder
helps in detecting and/or correcting the errors in the received data that gets introduced
during transmission.
d. Modulator/ Demodulator
The Modulator converts the input digital information into an electrical waveform suitable
for transmission over the communication channel. Mainly there are three types of Digital
modulation techniques viz., Amplitude Shift Keying (ASK), Frequency Shift Keying
(FSK) and Phase Shift Keying (PSK).The extraction of the digital data from the received
signal is accomplished by the demodulator.
e. Channel
The channels are either wired such as pair of wires, coaxial cable and optical fiber or
wireless (free space) such as radio channel, satellite channel or combination of any of
these. The communication channels have only finite bandwidth and the signal often
suffers amplitude and phase distortion as it travels over the channel in addition to
attenuation of signal. It may also get corrupted by unwanted, unpredictable electrical
signals referred to as noise. The two important parameters used to measure the channel
characteristics are Signal to Noise power Ratio (SNR) and usable bandwidth.
There are three basic types of digital modulation techniques. They are:
i. Amplitude Shift Keying (ASK)
ii. Frequency Shift Keying (FSK)
iii. Phase Shift Keying (PSK)
In all these techniques, amplitude, frequency or phase of a sinusoidal carrier is varied to
represent the information which is to be sent. Here the digitized information is mapped
into any one of the above three aspects of sine wave and then transmitted. The sine wave
at the receiver is remapped back to the information. The digital modulation techniques are
widely used in MODEMs ( MOdulator DEModulator) , mobile communication etc.
Usually, FSK and PSK modulations are more frequently used than ASK.
Summary
Data communication is the exchange of data between two or more devices via some form of
transmission medium. For data communication to occur, the communicating devices must be
part of a communication system, which is made up of a combination of hardware and
software, and works based on a set of rules called protocol.
Multiplexer: Combines the signals from different sources to transmit on the channel.
At the receiving end, a demultiplexer is used to separate the signals.
Multiple access: When two or more users share the same channel, each user has to
transmit the signal only at a specified time or using a specific frequency band.
Source coding: If the channel has a lower bandwidth than the input signal bandwidth,
the input signal has to be processed to reduce its bandwidth so that it can be
accommodated on the channel.
Error detection and correction: If the channel is noisy, the received data will have
errors. Detection, and if possible correction, of the errors has to be done at the
receiving end. This is done through a mechanism called channel coding.
Different packets may take different amounts of time to reach the destination and the order of
arrival of packets may be different from the one that has been sent. The packets are collected
at the destination and reordered before it is delivered.
Example: Internet
In the bus network topology, every workstation is connected to a main cable called the bus.
Therefore, in effect, each workstation is directly connected to every other workstation in the
network.
In the star network topology, there is a central computer or server to which all the
workstations are directly connected. Every workstation is indirectly connected to every other
through the central computer.
In the ring network topology, the workstations are connected in a closed loop configuration.
Adjacent pairs of workstations are directly connected. Other pairs of workstations are
ndirectly connected, with the data passing through one or more intermediate nodes.
If a Token Ring protocol is used in a star or ring topology, the signal travels in only one
direction, carried by a so-called token from node to node.
The mesh network topology employs either of two schemes, called full mesh and partial
mesh. In the full mesh topology, each workstation is connected directly to each of the others.
In the partial mesh topology, some workstations are connected to all the others, and some are
connected only to those other nodes with which they exchange the most data.
The tree network topology uses two or more star networks connected together. The central
computers of the star networks are connected to a main bus. Thus, a tree network is a bus
network of star networks.
Logical (or signal) topology refers to the nature of the paths the signals follow from node to
node. In many instances, the logical topology is the same as the physical topology. But this is
not always the case.
9.1.5 Network protocols and Reference models: A protocol is a set of rules that governs
how two communicating parties are to interact. In the Web browsing example, the
HTTP(Hypertext transfer protocol) protocol specifies how the Web client and server are to
interact. Many protocols are required in computer communication to tackle different issues.
Network protocols like HTTP, TCP/IP, and SMTP provide a foundation on which the
Internet is built on.
Self -test:
1. Physical layer
2. Data link layer
3. Network layer
4. Transport layer
5. Session layer
6. Presentation layer
7. Application layer
Each layer performs a specific set of functions. Each protocol layer adds a header and passes
the packet to the layer below. Because the header is interpreted only by the corresponding
layer in the receiving system, the communication is called peer-to-peer communication. Peer
means a layer at the same level.
1. Physical layer: The physical layer specifies the physical interface between devices.
This layer describes the mechanical, electrical, functional, and procedural
characteristics of the interface.
An example of the physical layer is Electronic Industries Association (EIA) RS232,
which specifies the serial communication interface. A modem is connected to the PC
through the RS232 interface.
2. Data link layer: The data link layer's job is to activate the link, maintain the link for
data transfer and deactivate the link after the data transfer is complete. Error detection
and control, and flow control are also done by the data link layer.
3. Network Layer: The important function of the network layer is to relieve the higher
layers of the need to know anything about the underlying transmission and switching
technologies. The functions of the network layer are:
Switching and routing of packets
Management of multiple data links
Negotiating with the network for priority and destination address
4. Transport Layer: The transport layer can provide two types of services namely,
connection-oriented and connectionless. In connection-oriented service, a connection
is established between the two end systems before the transfer of data. The transport
layer functionality is to ensure that data is received error-free, packets are received in
sequence, and that there is no duplication of packets. The transport layer also has to
ensure that the required quality of service is maintained. Quality of service can be
specified in terms of bit error rate or delay. In connectionless service, the packets are
transported without any guarantee of their receipt at the other end
5. Session Layer: The session layer specifies the mechanism for controlling the
dialogue in the end systems. Session layer functionality is as follows:
Dialogue discipline: whether the communication should be full duplex or half
duplex.
Exercises:
Summary
Mobile radio communication generally refers to any radio communication link between two
terminals, of which one or both are in motion or stationary in unspecified location. That
means, the system is able to establish communication even when the terminal is on the transit
or situated in a new location. The very objective of electronic communication is to enable
communication with a person, at any time, at any place and in any form. In general, Mobile
communication meets this objective and enhances personal communication. Mobile
communication allows the user to be able to establish communication even when he is on the
transit by providing mobility to the terminal or device. Terminal or device mobility is enabled
by wireless access. Personal mobility can be supported by providing unique number to the
user and creating dynamic connection with the terminal. Additional facility such as service
portability can also be provided by making use of intelligent network (IN) capabilities. In
short, Mobile communication provides unlimited reachability, accessibility and rich services
to the user.
With the increase in the number of users, accommodating them within the limited available
frequency spectrum became a major problem. To resolve this problem, the concept of cellular
communication was developed. In cellular communication a basic geographical area of a
particular dimension called cell is defined. Each cell is in the form of a hexagon and consists
of base station acting as a transceiver located at the center. To accommodate multiple users
various multiple access technology is employed.
Learning Outcomes:
A cellular radio system provides a wireless connection to the public telephone network for
any user location within the radio range of the system. Cellular systems accommodate a large
number of mobile units over a large area within a limited frequency spectrum. Figure 10.1.1
shows a basic cellular structure used in mobile communication system. These are
conceptualised by hexagonal seven cell structures. The cell number 1 in the Figure10.1.1
(shaded) has six additional neighbouring cells surrounding it. This concept is extremely
important to understand the frequency reuse is concerned. The basic seven cells use 7
frequencies for communication and the next set of seven cells can reuse the same set of
frequencies to communicate as there will be sufficient distance between the cells.
Mobile phone networks are divided into thousands of overlapping, individual geographic
areas or cells each with a base station. Each mobile communicates via radio with one or more
base stations. An illustration of mobile to mobile communication is as shown in the Figure
10.1.2.
Each mobile contains a transceiver (transmitter and receiver), an antenna, and control
circuitry. The base stations consist of several transmitters and receivers, which
simultaneously handle full duplex communications and generally have towers that support
several transmitting and receiving antennas. The base station connects the simultaneous
mobile calls via telephone lines, microwave links, or fiber-optic cables to the switching
center. The switching center coordinates the activity of all of the base stations and connects
the entire cellular system to the public telephone network.
The channels used for transmission from the base station to the mobiles are called forward or
downlink channels, and the channels used for transmission from the mobiles to the base
station are called reverse or uplink channels. The two channels responsible for call initiation
and service request are the forward control channel and reverse control channel.
Once a call is in progress, the switching center adjusts the transmitted power of the mobile
(this process is called power control) and changes the channel of the mobile and base station
(handoff) to maintain call quality as the mobile moves in and out of range of a given base
station. A call from a user can be transferred from one base station to another during the call.
This process of transferring a call from one base station frequency to another is called
handoff.
When roaming users enter an area outside their home region, special procedures are required
to provide the cellular phone service. To automatically provide roaming service, a series of
interaction is required between the home network and the visited network, using the
telephone signaling system. When the roamer enters a new area, the roamer registers in the
area by using the setup channels.
In 2010, 3G and 4G telecom spectrum were auctioned in a highly competitive bidding. The winners
were awarded spectrum in September, and Tata Docomo was the first private operator to launch 3G
services in India. The Government earned 677 billion from the 3G spectrum auction. While the
broad band wireless spectrum auction generated a revenue of 385 billion. The Government earned
total revenue of over 1062 billion from both auctions. The auction took place over 34 days and
consisted of 183 rounds of bidding. The five most expensive circles were Delhi, Mumbai,
Karnataka, Tamil Nadu and Andhra Pradesh. They accounted for 65.56% of the total bids. So the
spectrum is very scarce and valuable resource.
Figure 10.1.3 illustrates the three basic multiple access methods used in mobile
communication.
In case of FDMA, users share the available spectrum in the frequency domain and each user
is allocated a part of the frequency band, on a demand basis.
In TDMA available spectrum is partitioned into narrow frequency bands (as in FDMA),
which in turn are divided into a number of time slots. An individual user is assigned a time
slot that permits access to the frequency channel for the duration of the time slot.
The CDMA system utilizes the spread spectrum technique, whereby a spreading code (called
a Pseudo-random Noise or PN code) is used to allow multiple users to share a block of
frequency spectrum.
Self- test:
Base Station Subsystem (BSS): Base Station Subsystem is composed of two parts:
Base Transceiver Station (BTS)
Base Station Controller (BSC)
Base Transceiver Station (BTS): Houses the radio transceivers that define a cell and
handles radio-link protocols with the Mobile Station
Base Station Controller (BSC): The tasks performed by BSC are
Manages Resources for BTS
Handles call set up
Location update
Handover for each MS
Network subsystem (NSS): The NSS provides the link between the cellular network and the
public switched telephone network (PSTN). The NSS controls handoffs between cells in
different BSSs, authenticates users and validates their accounts, and includes functions for
enabling worldwide roaming of mobile users.
Mobile Switching Center (MSC):
The central component of the Network Subsystem
Handles billing activities
Handover management
Communication with HLR,VLR,MSC’S
Controlling of connected BSC’S
Home Location Registers (HLR): The HLR stores information, both permanent and
temporary, about each of the subscribers that “belongs” to it. It is the most important database
Visitor Location Registers (VLR): The VLR maintains information about subscribers that are
currently physically in the region covered by the switching center.
Authentication Center (AuC): This database is used for authentication activities of the
system; for example, it holds the authentication and encryption keys for all the subscribers in
both the home and visitor location registers.
Equipment Identity Register (EIR): The EIR keeps track of the type of equipment that exits
at the mobile station. It also plays a role in security e.g., blocking calls from stolen mobile
stations and preventing use of the network by stations that have not been approved.
Summary
1. A cellular radio system provides a wireless connection to the public telephone
network for any user location within the radio range of the system.
2. Mobile phone networks are divided into thousands of overlapping, individual
geographic areas or cells each with a base station.
3. The channels used for transmission from the base station to the mobiles are called
forward or downlink channels, and the channels used for transmission from the
mobiles to the base station are called reverse or uplink channels.
4. A call from a user can be transferred from one base station to another during the
call. The process of transferring is called handoff.
5. The three basic multiple access methods are: Frequency division multiple access
(FDMA), Time division multiple access (TDMA), Code division multiple access
(CDMA).
6. Global System for Mobile Communications (GSM), is a standard developed by the
European Telecommunications Standards Institute (ETSI) to describe protocols for
second generation digital cellular networks used by mobile phones.
Exercise: