Unit - 4,5 & 6
Unit - 4,5 & 6
UNIT I
Semiconductor Devices
Semiconductor Devices
Introduction – Types of semiconductor devices – Operation and Characteristics of PN Junction
Diode, Zener Effect, Zener Diode and its Characteristics. Bipolar Junction Transistor -Principle of
operation and CB, CE, CC Configurations— Elementary Treatment of Small Signal CE Amplifier.
1
Introduction to semiconductor
❖ A semiconductor material is one whose electrical properties (resistivity) lie in between those of
insulators and conductors. Ex: germanium (Ge) and silicon (Si).
❖ Semiconductors have negative temperature co-efficient of resistance i.e. the resistance of a
semiconductor decreases with the increase in temperature and vice-versa.
❖ When a suitable metallic impurity (e.g. arsenic, gallium etc.) is added to a semiconductor, its
current conducting properties change appreciably.
❖ In terms of energy bands as shown in Fig.1, semiconductors can be defined as those materials
which have almost an empty conduction band and almost filled valence band with a very
narrow energy gap (of the order of ≈1 eV) separating the two.
Fig. 1 Energy band diagrams of germanium (Ge) and silicon (Si) atoms
Therefore, relatively small energy is needed by their valence electrons to cross over to the
conduction band. Even at room temperature, some of the valence electrons may acquire
sufficient energy to enter into the conduction band and thus become free electrons. However, at
this temperature, the number of free electrons available is very small. Therefore, at room
temperature, a piece of germanium or silicon is neither a good conductor nor an insulator. For
this reason, such substances are called semi - conductors.
(a) (b)
2
Effect of Temperature on Semiconductors
i) At absolute zero
At absolute zero temperature, all the electrons are tightly held by
the semiconductor atoms. The inner orbit electrons are bound
whereas the valence electrons are engaged in co-valent bonding as
shown in Fig.2. At this temperature, the co-valent bonds are very
strong and there are no free electrons. Therefore, no valence
electron can reach the conduction band to become free electron as
shown in Fig.3. Therefore, the semiconductor crystal behaves as a
perfect insulator. Fig. 3 Energy band diagram
at absolute zero
ii) At above absolute zero
When the temperature is raised, some of the covalent bonds in the
semiconductor break due to the thermal energy supplied. The
breaking of bonds sets those electrons free which are engaged in
the formation of these bonds. The result is that a few free
electrons exist in the semiconductor. These free electrons can
constitute a tiny electric current if potential difference is applied
across the semiconductor crystal. This shows that the resistance
of a semi-conductor decreases with the rise in temperature i.e. it
has negative temperature coefficient of resistance. It may be
added that at room temperature, current through a semiconductor
is too small to be of any practical value. Fig. 4 Energy band diagram at
As the temperature is raised, some of the valence electrons above absolute zero
acquire sufficient energy to enter into the conduction band and thus become free electrons as
shown in Fig.4. Under the influence of electric field, these free electrons will constitute electric
current, i.e., electron current.
It may be noted that each time a valence electron
enters into the conduction band, a hole is created in
the valence band i.e. a missing electron in the
covalent bond. This missing electron is called a
hole which acts as a positive charge, this
constitutes hole current due to the movement of
valence electrons from one covalent bond to
another bond. For one electron set free, one hole is
created. Therefore, thermal energy creates hole-
electron pairs; there being as many holes as the
free electrons. Fig. 5 Energy band diagram for Hole
From Fig.5, due to thermal energy, an electron leaves Current
the valence band to enter into the conduction band, this leaves a vacancy at L. Now the valence
electron at M comes to fill the hole at L. The result is that hole disappears at L and appears at M.
Next, the valence electron at N moves into the hole at M. Consequently, hole is created at N. It is
clear that valence electrons move along the path PNML whereas holes move in the opposite
direction i.e. along the path LMNP.
3
Types of Semiconductors
Semiconductor may be classified as under:
Intrinsic Semiconductors:
An intrinsic semiconductor is one which is made of the semiconductor material in its extremely
pure form.
Examples of such semiconductors are: pure germanium and silicon which have forbidden energy
gaps of 0.72 eV and 1.1 eV respectively. The energy gap is so small that even at ordinary room
temperature; there are many electrons which possess sufficient energy to jump across the small
energy gap between the valence and the conduction bands.
In an intrinsic semiconductor, even at room temperature, hole-electron pairs are created. When
electric field is applied across an intrinsic semiconductor, the current conduction takes place by
two processes, namely; by free electrons and holes as shown in Fig.6. The free electrons are
produced due to the breaking up of some covalent bonds by thermal energy. At the same time,
holes are created in the covalent bonds as shown in Fig.7. Under the influence of electric field,
conduction through the semi-conductor is by both free electrons and holes. Therefore, the total
current inside the semiconductor is the sum of currents due to free electrons and holes.
It may be noted that current in the external wires is fully electronic i.e. by electrons. Referring to
Fig.6, holes being positively charged move towards the negative terminal of supply. As the holes
reach the negative terminal B, electrons enter the semiconductor crystal near the terminal and
combine with holes, thus cancelling them. At the same time, the loosely held electrons near the
positive terminal A are attracted away from their atoms into the positive terminal. This creates new
holes near the positive terminal which again drift towards the negative terminal.
4
Extrinsic Semiconductors:
The intrinsic semiconductor has little current conduction capability at room temperature. To be
useful in electronic devices, the pure semiconductor must be altered so as to significantly
increase its conducting properties. This is achieved by adding a small amount of suitable
impurity to a semi-conductor. It is then called impurity or extrinsic semiconductor. The
process of adding impurities to a semiconductor is known as doping. Depending on the type of
doping material used, extrinsic semiconductors can be sub-divided into two classes:
It is due to the predominance of holes over free electrons that (b) Energy Band diagram
it is called p-type semiconductor (p stands for positive). Fig.9
(i) (ii)
Fig.10
6
Semiconductor Diode
When a p-type semiconductor is suitably joined to n-type semiconductor, the contact surface is
called pn junction as shown in Fig.11a. A pn junction is known as a semi-conductor or crystal
diode. A crystal diode is usually represented by the schematic symbol shown in Fig.11b.
b) Schematic Symbol
a) Pn Junction
Fig.11
Properties of pn Junction:
At the instant of pn-junction formation, the free electrons near
the junction in the n region begin to diffuse across the junction into the
p region where they combine with holes near the junction. The result is
that n region loses free electrons as they diffuse into the junction. This
creates a layer of positive charges (pentavalent ions) near the junction.
As the electrons move across the junction, the p-region loses holes as
the electrons and holes combine. The result is that there is a layer of
negative charges (trivalent ions) near the junction. These two layers of
positive and negative charges form the depletion region (or depletion
layer) as shown in Fig.12(i). The term depletion is due to the fact that
near the junction, the region is depleted (i.e. emptied) of charge carries
(free electrons and holes) due to diffusion across the junction. The
depletion layer is formed very quickly and is very thin compared to
the n-region and the p region.
Fig.12
Once pn junction is formed and depletion layer created, the diffusion of
free electrons stops. In other words, the depletion region acts as a barrier
to the further movement of free electrons across the junction. The
positive and negative charges set up an electric field as shown by a black
arrow in Fig.12 (ii). The electric field is a barrier to the free electrons in
the n-region. There exists a potential difference across the depletion layer
and is called barrier potential (V0). The barrier potential of a pn junction
depends upon several factors including the type of semiconductor
material, the amount of doping and temperature.
Fig.13
The typical barrier potential is approximately: For silicon, V0 = 0.7 V; for germanium, V0 = 0.3 V;
shows the potential (V0) distribution curve in Fig.13.
7
Operation of pn junction diode
Biasing:
In electronics, the term bias refers to the use of d.c. voltage or applying d.c voltage across pn
junction to establish certain operating conditions for an electronic device. In relation to a pn
junction, there are following two bias conditions:
1. Forward biasing
2. Reverse biasing
1. Forward biasing:
When external D.C. voltage applied to the junction is in such a direction that it cancels the
potential barrier, thus permitting current flow, it is called forward biasing.
To apply forward bias, connect positive terminal of the battery to p-type and negative terminal to
n-type as shown in Fig.14(i). The applied forward potential establishes an electric field which acts
against the field due to potential barrier. Therefore, the resultant field is weakened and the barrier
height is reduced at the junction as shown in Fig.14(ii).
(i) (ii)
(i) (ii)
Fig.14
As potential barrier voltage is very small (0.1 - 0.3 V), therefore, a small forward voltage (VF) is
sufficient to completely eliminate the barrier. Once the potential barrier is eliminated by the
forward voltage, junction resistance becomes almost zero and a low resistance (called forward
resistance, Rf) path is established for the entire circuit and the diode acts as a closed switch.
2.Reverse biasing:
When the external d.c. voltage applied to the junction is in such a direction that potential barrier is
increased, it is called reverse biasing.
To apply reverse bias, connect negative terminal of the battery to p-type and positive terminal to n-
type as shown in Fig.15(i). The applied reverse voltage (VR) establishes an electric field which
acts in the same direction as the field due to potential barrier. Therefore, the resultant field at the
junction is strengthened and the barrier height is increased as shown in Fig.15 (ii).
8
The increased potential barrier prevents the flow of charge carriers across the junction. Thus, a
high resistance (called reverse resistance, Rr) path is established for the entire circuit and hence the
current does not flow. Therefore, the diode acts as an open switch.
Fig.15
Fig.16
ii) Forward bias:
At some forward voltage (0.7V - Si and 0.3V - for Ge), the potential barrier is altogether
eliminated and current starts flowing in the circuit. This forward voltage at which the current
through the junction starts to increase rapidly is known as Knee voltage. Therefore, the knee
voltage for silicon diode is 0.7 V and 0.3 V for germanium diode as shown in Fig.17.
Fig.17
From the forward characteristic, it is seen that at first (region OA), the current increases very
slowly and the curve is non-linear. It is because the external applied voltage is used up in
9
overcoming the potential barrier. However, Once the applied forward voltage exceeds the knee
voltage, the current starts increasing rapidly in linear manner. Thus, a rising curve AB is obtained
with forward bias as shown in Fig. 16. and the pn junction behaves like an ordinary conductor.
Avalanche breakdown
Avalanche breakdown occurs in a pn junction diode which is lightly doped and has a thick
junction, so in avalanche breakdown usually occurs when apply a high reverse voltage across the
diode.
(The width of the depletion region is determined by the requirement that the total charge on the
p-side equals the total charge on the n-side, maintaining overall charge neutrality. In a lightly
doped region, the concentration of free carriers is low, so it takes a larger physical distance (a
wider depletion region) to accumulate enough immobile ions to balance the charge from the other
side. Conversely, in a heavily doped region, there is a high concentration of impurity atoms and
therefore more charge per unit area. This means it takes less physical distance (a narrower
depletion region) to accumulate enough charge to achieve balance).
If applied reverse voltage is Va and the depletion layer width is d; then the generated electric field
can be Ea =Va / d.
Even at room temperature, some hole-electron pairs (minority carriers) are produced in the
(ii)
(i)
Fig.18 Avalanche Breakdown
depletion layer as shown in Fig. 18(i). The generated electric field exerts a force on the electrons
10
at junction and it frees them from covalent bonds. These free electrons will gain acceleration and
it will start moving across the junction with high velocity. This results in collision with other
neighboring atoms. These collisions in high velocity will generate further free electrons as shown
in Fig. 18(ii). In this way, an avalanche of free electrons is occurred. These electrons will start
drifting and electron-hole pair recombination occurs across the junction. This results in net current
that rapidly increases. Therefore, the pn junction conducts a very large reverse current. Once the
breakdown voltage is reached, the high reverse current may damage the junction. Therefore, care
should be taken that reverse voltage across a pn junction is always less than the breakdown
voltage.
Zener Diode
A properly doped crystal diode which has a sharp breakdown voltage is known as a zener diode.
The breakdown or zener voltage depends upon the amount of doping. If the diode is heavily
doped, depletion layer will be thin and consequently the breakdown of the junction will occur
at a lower reverse voltage compared to crystal diode / pn junction diode.
Fig. 19 (i) shows the symbol of a zener diode. It is just like
an ordinary diode except that the bar is turned into z-shape.
From Fig. 19(ii), the following points may be noted about the
zener diode: (i)
11
Comparison between Zener Breakdown vs Avalanche Breakdown:
Fig. 20
12
TRANSISTOR
Fig. 21
In each type of transistor:
(i) These are two pn junctions. Therefore, a transistor may be regarded as a combination of
two diodes connected back-to-back.
(ii) There are three terminals, one taken from each type of semiconductor.
(iii) The middle section is a very thin layer. This is the most important factor in the function of a
transistor.
A transistor (pnp or npn) has three sections of doped semiconductors. The section on one
side is the emitter and the section on the opposite side is the collector. The middle section is
called the base and forms two junctions between the emitter and collector.
(i) Emitter (E): The section on one side that emits or supplies charge carriers (electrons or
holes) is called the emitter. The emitter is always forward biased w.r.t. base so that it can supply a
large number of majority carriers.
In Fig. 22 (i), the emitter (p-type) of pnp transistor is forward biased and supplies holes to
its junction with the base. Similarly, in Fig. 22 (ii), the emitter (n-type) of npn transistor has a
forward bias and supplies free electrons to its junction with the base.
(ii) Collector (C): The section on the other side that collects the charges carriers is called the
collector. The Collector is always reverse biased. Its function is to remove charges from its junction
with the base.
In Fig. 22 (i), the collector (p-type) of pnp transistor has a reverse bias and receives holes
that flow in the output circuit. Similarly, in Fig. 22 (ii), the collector (n-type) of npn transistor has
reverse bias and receives electrons.
(iii) Base (B): The middle section which forms two pn-junctions between the emitter and
collector is called the base. The base-emitter junction is forward biased, allowing low resistance
for the emitter circuit. The base-collector junction is reverse biased and provides high resistance
in the collector circuit.
13
Fig. 22
1. The base is much thinner than the emitter while collector is wider than both (During
transistor operation, much heat is produced at the collector junction. The collector is made larger to
dissipate the heat) as shown in Fig.22. However, for the sake of convenience, it is customary to
show emitter and collector to be of equal size.
2. The emitter is heavily doped so that it can inject a large number of charge carriers (electrons or
holes) into the base. The base is lightly doped and very thin; it passes most of the emitter injected
charge carriers to the collector. The collector is moderately doped.
3. The transistor has two pn junctions i.e. it is like two diodes. The junction between emitter and
base may be called emitter-base diode or simply the emitter diode. The junction between the base
and collector may be called collector-base diode or simply collector diode. The emitter diode is
always forward biased (low resistance), whereas collector diode is always reverse biased (high
resistance).
Fig. 25
Note that emitter is shown by an arrow which indicates the direction of conventional current flow
with forward bias. For npn connection, it is clear that conventional current flows out of the
emitter as indicated by the outgoing arrow in Fig. 25 (i). Similarly, for pnp connection, the
conventional current flows into the emitter as indicated by inward arrow in Fig. 25 (ii).
15
CONFIGURATION OF TRANSISTOR CIRCUIT
There are three leads in a transistor viz., emitter, base and collector terminals. However, when a
transistor is to be connected in a circuit, require four terminals; two for the input and two for the
output. This difficulty is overcome by making one terminal of the transistor common to both input
and output terminals. The input is fed between this common terminal and one of the other two
terminals. The output is obtained between the common terminal and the remaining terminal.
Accordingly; a transistor can be connected in a circuit in the following three ways:
TYPES OF CONFIGURATIONS
Input characteristics:
16
Output characteristics:
It is the curve between collector current IC and collector-base voltage VCB at constant emitter current IE.
1. When the value of VCB is raised above 1 − 2 V, the collector current becomes constant as indicated by
straight horizontal curves. It means that now IC is independent of VCB and depends upon IE only. The
transistor is always operated in this region. i.e.,
Active region.
When VEE is negative (Reverse biased), the emitter current IE will be zero. At this time, even if
increase the collector to base voltage (VCB ), the IC almost remains zero (except current due to minority
charge carriers, i.e., reverse saturation current. So, whenever, both emitter-base junction and the collector-
base junction are reverse biased then the BJT will operate in Cut-off Region.
In this circuit arrangement, input is applied between base and emitter and output is taken from the
collector and emitter. Here, emitter of the transistor is common to both input and output circuits
and hence the name common emitter connection. Fig. 27 (i) shows common emitter npn transistor
circuit whereas Fig. 27. (ii) shows common emitter pnp transistor circuit.
17
Input characteristics:
It is the curve between base current IB and base-emitter
voltage VBB or VBE at constant collector-emitter voltage
VCE or VCC.
1. The characteristic resembles that of a forward biased
diode curve, since the base-emitter section of transistor is
a diode and it is forward biased.
2. When VCE is increased (VCE = VCB + VBE ), the width of
the depletion region at the reverse biased collector – base
junction will increase. This will reduce the effective width
of the base region and due to this, the probability of recombination is reduced. Then, most of the
electrons will get collected at the collector terminal and leads to decrease in the base current IB. In
order to provide the same amount of IB, VBE should be increased. Hence, the curves appear to the
right as VCE increases.
Output characteristics:
It is the curve between collector current IC and collector-emitter voltage VCE at constant base
current IB.
When the VCE falls, the IC also decreases rapidly. The collector-base junction of the transistor
always in forward bias and work saturate. In the saturation region, the collector current becomes
independent and free from the input current IB.
18
COMMON COLLECTOR (CC) CONFIGURATION:
In this circuit arrangement, input is applied between base and collector while output is taken
between the emitter and collector. Here, collector of the transistor is common to both input and
output circuits and hence the name common collector connection. Fig. 28 (i) shows common
collector npn transistor circuit whereas Fig. 28 (ii) shows common collector pnp circuit.
VCC VCC
VEE VEE
Fig. 28 CC Configuration for i) npn transistor ii) pnp transistor
Input characteristics:
It is the curve between base current IB and base-collector voltage VCB at constant collector-emitter
voltage VCE.
For the fixed value of VCE, as increase the VCB, then
the base current IB reduces. Because, VCE = VCB +
VBE, as VCB increases, the width of the collector –
base junction increases and effective base width
decreases.
For the fixed value of VCB , as increase the
voltage VCE , the voltage VBE get increased and it
pushes the more electrons into the base region, then IB
increases.
Output characteristics:
It is the curve between emitter current IE and emitter-collector voltage VCE at constant base current
IB. These characteristics are similar to the CE configuration as the output current, i.e., emitter
current (IE) is almost equal to the collector current (IC).
19
Transistor as an Amplifier
A transistor raises the strength of a weak signal and thus acts as an amplifier. Fig. 29
shows the basic circuit of a transistor amplifier. The weak signal is applied between emitter base
junction and output is taken across the load RC connected in the collector circuit. In order to
achieve faithful amplification, the input circuit should always remain forward biased. To do so, a
d.c voltage VEE is applied in the input circuit in addition to the signal.
Fig. 29
(i) (ii)
20
Analysis of collector currents:
When no signal is applied, the input circuit is forward biased by the battery VBB. Therefore, a d.c.
collector current IC flows in the collector circuit. This is called zero signal collector current.
When the signal voltage is applied, the forward bias on the emitter base junction increases or
decreases depending upon whether the signal is positive or negative. During the positive half-cycle
of the signal, the forward bias on emitter-base junction is increased, causing total collector current
iC to increase. Reverse will happen for the negative half-cycle of the signal.
Fig. 30 (ii) Shows the graph of total collector current IC versus time. From the graph it is clear that
total current consists of two components namely,
(i) The dc collector current IC (zero signal collector current) due to bias battery VBB. This is the
current that flows in the collector in the absence of signal.
(ii) The a.c collector current ic due to signal
21
Basic Electronic Circuits and Instrumentation
Rectifiers and power supplies: Block diagram description of a dc power supply, working and
analysis of a Half wave and full wave bridge rectifier, capacitor filter (no analysis), working of
simple Zener voltage regulator.
Electronic Instrumentation: Block diagram of an electronic instrumentation system, Digital
Voltmeter (DVM), Cathode Ray Oscilloscope (CRO).
REGULATED POWER SUPPLY
An electronic circuit that produces a stable DC voltage of fixed value across the load
terminals irrespective of changes in the load is known as regulated power supply. The primary
function of a regulated power supply is to convert an AC power into a steady DC power. The
regulated supply is sometimes called as a linear power supply. The block diagram of regulated
power supply is shown in Fig.1.
(i) (ii)
Fig.2
Circuit details:
Fig. 2(i) shows the circuit where a single crystal diode acts as a half-wave rectifier. The a.c. supply
is given through a transformer and it can be used to step up or step down the a.c. input voltage &
also isolates the rectifier circuit from power line and thus reduces the risk of electric shock.
The a.c. supply Vin = Vm Sin(t) is applied across the secondary winding of the transformer in series
with the diode of resistance Rf and load resistance RL.
Operation:
The a.c. voltage across the secondary winding AB changes polarities after every half-cycle.
During the positive half-cycle of input a.c. voltage, end A becomes positive w.r.t. end B. This
makes the diode forward biased (acts as a closed switch) and hence it conducts current. Apply
KVL to the circuit, which gives Vout = Vin & Iout = I = Vout / RL. It indicates that, the output follows
the input and is shown in Fig. 2(ii).
During the negative half-cycle, end A is negative w.r.t. end B. Under this condition, the
diode is reverse biased (acts as an Open switch) and it conducts no current, then Vout & Iout = 0.
Therefore, current flows through the diode during positive half-cycles of input a.c. voltage only;
it is blocked during the negative half-cycles is shown in Fig. 2(ii). In this way, current flows
through load RL always in the same direction. Hence d.c. output is obtained across R L. It may be
noted that output across the load is pulsating d.c. These pulsations in the output are further
smoothened with the help of filter circuits.
DC Power:
The output current is pulsating direct current. Therefore, in order to find d.c. power, average
current has to be found out.
Area under curve over the full cycle
Iavg = Idc = (1)
base length over the full cycle
2π π 2π π π Vm sint 2Vm
Area = ∫0 i . dt = ∫0 i . dt + ∫π i . dt = ∫0 i . dt + 0 = ∫0 . dt = (2)
Rf +RL Rf +RL
Vm
Where, Im = Rf +RL
𝐈 𝟐
⸫ DC output power, Pdc = Idc 2 ∗ R L = ( 𝛑𝐦 ) ∗ R L (4)
𝟏 𝛑 𝟐𝛑 𝟏 𝛑 𝐈𝐦
𝐈𝐫𝐦𝐬 = √𝟐𝛑 (∫𝟎 𝐢𝟐 . 𝐝𝐭 + ∫𝛑 𝐢𝟐 . 𝐝𝐭 ) = √𝟐𝛑 (∫𝟎 (𝐈𝐦 𝐬𝐢𝐧𝐭)𝟐 . 𝐝𝐭 ) = (6)
𝟐
Rectifier Efficiency:
The ratio of d.c. power output to the applied input a.c. power is known as rectifier efficiency.
𝐈 𝟐
𝐝𝐜 𝐩𝐨𝐰𝐞𝐫 𝐨𝐮𝐭𝐩𝐮𝐭 ( 𝐦 ) ∗ RL 𝟎.𝟒𝟎𝟔 RL 𝟎.𝟒𝟎𝟔
𝛑
ɳ= = I 2 = = Rf (8)
𝐈𝐧𝐩𝐮𝐭 𝐚𝐜 𝐩𝐨𝐰𝐞𝐫 ( m ) ∗ (Rf + RL ) (Rf + RL ) 𝟏+
2 RL
(i)
(ii)
Fig.3
It contains four diodes D1, D2, D3 and D4 connected to form bridge as shown in Fig.3(i). The a.c.
supply to be rectified is applied to the diagonally opposite ends of the bridge through the
transformer. Between other two ends of the bridge, the load resistance RL is connected.
Operation:
During the positive half-cycle of secondary voltage, the end P of the secondary winding becomes
positive and end Q negative. This makes diodes D1 and D3 forward biased while diodes D2 and
D4 are reverse biased. Therefore, only diodes D1 and D3 conduct. These two diodes will be in
series through the load RL as shown in Fig. 4 (i). The conventional current flow is shown by dotted
arrows. It may be seen that current flows from A to B through the load RL.
During the negative half-cycle of secondary voltage, end P becomes negative and end Q positive.
This makes diodes D2 and D4 forward biased whereas diodes D1 and D3 are reverse biased.
Therefore, only diodes D2 and D4 conduct. These two diodes will be in series through the load RL
as shown in Fig. 4 (ii). The current flow is shown by the solid arrows. It may be seen that again
current flows from A to B through the load i.e. in the same direction as for the positive half-cycle.
Therefore, d.c. output is obtained across load RL.
(i) (ii)
Fig.4
DC Power:
The output current is pulsating direct current. Therefore, in order to find d.c. power, average
current has to be found out.
Area under curve over the full cycle
Iavg = Idc = (9)
base length over the full cycle
Vm
Where, Im = Rf +RL
𝟐𝐈𝐦 𝟐
⸫ DC output power, Pdc = Idc 2 ∗ R L = ( 𝛑
) ∗ RL (12)
𝟏 𝛑 𝟐𝛑 𝟏 𝛑 𝟐𝛑 𝐈𝐦
𝐈𝐫𝐦𝐬 = √ (∫𝟎 𝐢𝟐 . 𝐝𝐭 + ∫𝛑 𝐢𝟐 . 𝐝𝐭 ) = √ (∫𝟎 (𝐈𝐦 𝐬𝐢𝐧𝐭)𝟐 . 𝐝𝐭 + ∫𝛑 (𝐈𝐦 𝐬𝐢𝐧𝐭)𝟐 . 𝐝𝐭 ) = (14)
𝟐𝛑 𝟐𝛑 √𝟐
Rectifier Efficiency:
The ratio of d.c. power output to the applied input a.c. power is known as rectifier efficiency.
𝟐𝐈 𝟐
𝐝𝐜 𝐩𝐨𝐰𝐞𝐫 𝐨𝐮𝐭𝐩𝐮𝐭 ( 𝐦 ) ∗ RL 𝟎.𝟖𝟏𝟐 RL 𝟎.𝟖𝟏𝟐
𝛑
ɳ= = I 2 = = Rf
𝐈𝐧𝐩𝐮𝐭 𝐚𝐜 𝐩𝐨𝐰𝐞𝐫 ( m ) ∗ (Rf + RL ) (Rf + RL ) 𝟏+
√2 RL
The output of a rectifier consists of a d.c. component and an a.c. component (also known as ripple).
The a.c. component is undesirable and accounts for the pulsations in the rectifier output. The
effectiveness of a rectifier depends upon the magnitude of a.c. component in the output; the
smaller this component, the more effective is the rectifier.
(i) For Half – wave rectifier:
Im Im
Irms = ; Idc = , then Ripple factor = 1.21 = 121 %.
2 π
It is clear that a.c. component exceeds the d.c. component in the output of a half-wave rectifier.
This results in greater pulsations in the output. Therefore, half-wave rectifier is ineffective for
conversion of a.c. into d.c.
(ii) For Full – wave rectifier:
Im 2Im
Irms = ; Idc = , then Ripple factor = 0.48 = 48 %.
√2 π
This shows that in the output of a full-wave rectifier, the d.c. component is more than the a.c.
component. Consequently, the pulsations in the output will be less than in half-wave rectifier. For
this reason, full-wave rectification is invariably used for conversion of a.c. into d.c.
FILTER CIRCUITS
A filter circuit is a device which removes the a.c. component of rectifier output but allows the d.c.
component to reach the load.
Fig. 5
A filter circuit should be installed between the rectifier and the load as shown in Fig. 5.
Capacitor (C) filter:
Fig. 6(i) shows a typical capacitor filter circuit. It consists of a capacitor C placed across the
rectifier output in parallel with load RL. The pulsating direct voltage of the rectifier as shown in
Fig. 6(ii) is applied across the capacitor.
(i)
(ii)
Fig.6
As the rectifier voltage increases,
it charges the capacitor and also
supplies current to the load. At
the end of quarter cycle [Point A
in Fig. 7], the capacitor is charged
to the peak value Vm of the
rectifier voltage. Now, the
rectifier voltage starts to
decrease. As this occurs, the
capacitor discharges through the
load and voltage across it (i.e.
across parallel combination of R- Fig. 7
C) decreases as shown by the line AB in Fig. 7. The voltage across load will decrease only slightly
because immediately the next voltage peak comes and recharges the capacitor. This process is
repeated again and again and the output voltage waveform becomes ABCDEFG. It may be seen
that very little ripple is left in the output. Moreover, output voltage is higher as it remains
substantially near the peak value of rectifier output voltage.
ZENER DIODE AS VOLTAGE REGULATOR/STABILISER
Equivalent
Circuit of Zener Diode:
OFF state
ON state
Fig. 9
(ii) “OFF” state:
When the reverse voltage across the zener diode is less than VZ but greater than 0 V, the zener
diode is in the “OFF” state. Under such conditions, the zener diode can be represented by an open-
circuit as shown in Fig. 10(ii).
Fig. 10
Voltage Regulator functioning:
A zener diode can be used as a voltage regulator to provide a constant voltage from a source whose
the input voltage Ei and load resistance RL may vary over a wide range. The circuit arrangement
is shown in Fig. 11(i). The zener diode of zener voltage VZ is reverse connected across the load
RL across which constant output is desired. It may be noted that the zener will maintain a
constant voltage VZ (= E0) across the load so long as the input voltage does not fall below VZ.
Fig. 11
(i) Suppose the input voltage increases. Since the zener is in the breakdown region, the zener
diode is equivalent to a battery VZ as shown in Fig. 11(ii). The excess voltage is dropped across
the series resistance R, because output voltage remains constant at VZ (= E0). This will cause an
increase in the value of total current I. The zener will conduct the increase of current in I while
the load current remains constant. Hence, output voltage E0 remains constant irrespective of the
changes in the input voltage Ei.
(ii) Now suppose that input voltage is constant but the load resistance RL decreases. This will
cause an increase in load current IL. The extra current cannot come from the source because source
voltage will not change as the zener is within its regulating range. The additional load current will
come from a decrease in zener current IZ. Consequently, the output voltage stays at constant value.
ELECTRONIC INSTRUMENTATION SYSTEM
5. HORIZONTAL AMPLIFIER
The horizontal amplifier generates the signal which provides voltage to horizontal deflection
plates. The horizontal deflection plates deflect the beam along the horizontal direction. This is
helpful to create the waveform along with the time domain.
The horizontal amplifier is the crucial part. This is because the deflection of the electron
beam in the horizontal direction will be effective only when the signal applied from the output
of the horizontal amplifier is high enough to create the bright spots at the desired location on
the phosphor screen.
6. DELAY LINE CIRCUIT
When the signal from the vertical amplifier is fed to the vertical deflection plates, then some
part of the amplified signal is supplied to the time base generator. This trigger pulse generated
from the time-based generator is amplified with the help of the horizontal amplifier.
After this, it is fed to horizontal deflection plates. This process requires approximately
100ns. Thus, it is crucial to delay the signal generated by the vertical amplifier too in order to
maintain synchronization.
DIGITAL LOGIC FUNDAMENTALS
Overview of Number Systems – Binary, Hexa-decimal and BCD numbers. Boolean
Algebra - Basic Theorems - Truth Tables and Functionality of Logic Gates – NOT,
OR, AND, NOR, NAND, XOR and XNOR. Simple combinational circuits–Half and
Full Adders. Introduction to sequential circuits, Clocked S-R and J-K Flip-flops,
Simple examples of two-bit Registers and Counters.
INTRODUCTION ABOUT DIGITAL SYSTEM
A Digital system is an interconnection of digital modules and it is a system that manipulates discrete
elements of information that is represented internally in the binary form.
Now a day’s digital systems are used in wide variety of industrial and consumer products such as
automated industrial machinery, pocket calculators, microprocessors, digital computers, digital
watches, TV games and signal processing and so on.
Characteristics of Digital systems
• Digital systems manipulate discrete elements of information. Discrete elements are nothing but the
digits such as 10 decimal digits or 26 letters of alphabets and so on.
• Digital systems use physical quantities called signals to represent discrete elements.
• In digital systems, the signals have two discrete values (0 or 1) and are therefore said to be binary.
A signal in digital system represents one binary digit called a bit. The bit has a value either 0 or 1.
❖ The decimal value of the binary number is the sum of the products of all its bits multiplied by the
weights of their respective positions.
❖ In general, a binary number with an integer part of (n + 1) bits and a fraction part of k bits can be
written as Binary Point
Positional Weights 24 23 22 21 20
Binary Number 1 0 1 0 1
❖ In this method, the decimal integer number is converted to the binary integer number by
successive division by 2, and the decimal fraction is converted to binary fraction by successive
multiplication by 2. This is also known as the double-dabble method.
❖ In the successive division-by-2 method, the given decimal integer number is successively
divided by 2 till the quotient is zero. The last remainder is the MSB. The remainders read from
bottom to top give the equivalent binary integer number.
Reading the remainders from bottom to top, the result is 52(10) = 110100(2)
In the successive multiplication-by-2 method, the given decimal fraction and the subsequent
decimal fractions are successively multiplied by 2, till the fraction part of the product is 0 or till the
desired accuracy is obtained. The first integer obtained is the MSB. Thus, the integers read from top
to bottom give the equivalent binary fraction.
To convert a mixed number to binary, convert the integer and fraction parts separately to binary
and then combine them.
Make groups of 4 bits from LSB, and replace each 4-bit group by a hex digit.
LSB
Given binary number is 1011011011
Groups of four bits are 0010 1101 1011
Convert each group to hex 2 D B
The result is 2DB (16)
Ex: Convert 01011111011.011111(2) to hexadecimal.
To convert a hexadecimal number to decimal, multiply each digit in the hex number by its position
weight and add all those product terms.
If the hex number is 𝐝𝐧 𝐝𝐧−𝟏 𝐝𝐧−𝟐 … 𝐝𝟏 𝐝𝟎 . 𝐝−𝟏 𝐝−𝟐 𝐝−𝟑 … 𝐝−𝐤 , its decimal equivalent is
(dn ∗ 16𝑛 ) + (dn−1 ∗ 16𝑛−1 ) + ⋯ (d1 ∗ 161 ) + (d0 ∗ 160 ) + (d−1 ∗ 16−1 ) + (d−2 ∗ 16−2 )
+⋯
To convert a decimal integer number to hexadecimal, successively divide the given decimal number
by 16 till the quotient is zero. The last remainder is the MSB. The remainders read from bottom to
top give the equivalent hexadecimal integer.
To convert a decimal fraction to hexadecimal, successively multiply the given decimal fraction and
subsequent decimal fractions by 16, till the product is zero or till the required accuracy is obtained,
and collect all the integers to the left of the decimal point. The first integer is the MSB and the integers
read from top to bottom give the hexadecimal fraction. This is known as the hex dabble method.
The given decimal number is a mixed number. Convert the integer and the fraction parts separately
to hex.
Note: Conversion of very large decimal numbers to binary and very large binary numbers to
decimal is very much simplified if it is done via the hex route.
The given decimal number is very large. It is tedious to convert this number to binary directly.
So, convert this to hex first, and then convert the hex to binary.
Ex: Convert 1011011101101110 (2) to decimal.
The given binary number is very large. So, perform the binary to decimal conversion via the
hex route.
Numeric codes are codes which represent numeric information, i.e. only numbers as a series of 0s
and 1s. Numeric codes used to represent the decimal digits are called Binary Coded Decimal (BCD)
codes.
A BCD code is one, in which the digits of a decimal number are encoded - one at a time - into
groups of four binary digits. These codes combine the features of decimal and binary numbers. There
are a large number of BCD codes. In order to represent decimal digits 0, 1, 2,…,9 it is necessary to
use a sequence of at least four binary digits.
❖ Logic gates are the fundamental building blocks of digital systems, 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.
❖ Inputs and outputs of logic gates can occur only in two levels. These two levels are termed HIGH
and LOW, or TRUE and FALSE, or ON and OFF, or simply 1 and 0.
❖ A table which lists all the possible combinations of input variables and the corresponding outputs
is called a truth table. It shows how the logic circuit’s output responds to various combinations
of logic levels at the inputs.
BASIC GATES:
An AND gate has two or more inputs but only one output. The
A X = A.B
output assumes the logic 1 state, only when each one of its inputs
is at logic 1 state. The output assumes the logic 0 state even if one B or AB
of its inputs is at logic 0 state.
Fig.1 Logic Symbol
The AND gate may, therefore, be defined as a device whose output is 1, if and only if all its inputs
are 1. Hence the AND gate is also called an all or nothing gate.
With the input variables to the AND gate represented by A, B, the output can be written as X = A.B
which is read as ‘X is equal to A and B . . .’ or ‘X is equal to AB . . .’, or ‘X is equal to A dot B.
The logic symbol two-input AND gate is shown in Fig.1 and truth table mentioned in Table1.
0 0
0 0 Inputs Output
0 1 A B X
0 0 0
0 1 0
1 0 0
1 1
0 1 1 1 1
0 1
Table1. Truth Table
Similarly, the logic symbol three-input AND gate is shown in Fig.2 and truth table mentioned in
Table2.
Inputs Output
A B C X
0 0 0 0
A 0 0 1 0
X = A.B.C
B 0 1 0 0
or ABC
C 0 1 1 0
1 0 0 0
Fig.2 Logic Symbol 1 0 1 0
1 1 0 0
1 1 1 1
2) The OR GATE:
Like an AND gate, an OR gate may have two or more inputs but only one output. The output assumes
the logic 1 state, even if one of its inputs is in logic 1 state. Its output assumes the logic 0 state, only
when each one of its inputs is in logic 0 state.
An OR gate may, therefore, be defined as a device whose output is 1, A
even if one of its inputs is 1. Hence an OR gate is also called an any X=A+B
or all gate. B
Fig.3 Logic Symbol
It can also be called an inclusive OR gate because it includes the condition ‘both the inputs can be
present’.
The symbol for the OR operation is ‘+’. With the input variables to the OR gate represented by A, B
the output can be written as X = A + B. This is read as ‘X is equal to A or B’, or ‘X is equal to A plus
B’.
The logic symbol and the truth table of a two-input OR gate are shown in Fig.3 and truth table
mentioned in Table 3.
0 0 Inputs Output
0 1
0 1 A B X
0 0 0
0 1 1
1 1 1 0 1
1 1 1 1 1
0 1
Table 3. Truth Table
Similarly, the logic symbol and the truth table of a three-input OR gate are shown in Fig.4 and truth
table mentioned in Table 4.
Inputs Output
A A B C X
B X=A+B+C 0 0 0 0
C 0 0 1 1
Fig.4 Logic Symbol 0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
The symbol for NOT operation is ‘–’ (bar). When the input variable to the NOT gate is represented
̅ . This is read as ‘X is equal
by A and the output variable by X, the expression for the output is X = 𝐀
to A bar’.
UNIVERSAL GATES
1. The NAND GATE:
NAND means NOT - AND, i.e. the AND output is NOTed. So, a NAND gate is a combination of an
AND gate and a NOT gate.
A AB A
AB X = AB
B B
0 0 1 1
1 0
1 1
The logic symbol for a three-input NAND gate is shown in Fig.7 and its truth table mentioned in
Table.7.
Inputs Output
A A B C X
B X = ABC 0 0 0 1
C 0 0 1 1
0 1 0 1
Fig.7 Logic Symbol
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 0
Table 7. Truth Table
❖ A NAND gate can also be used as an NOT gate (inverter) by tying all its input terminals
together and applying the signal to be inverted to the common terminal.
X X=X
A
X=AB=A+B
B
A A+B A
A+B X = A+B
B B
The expression for the output of the NOR gate is, X = 𝐀 ̅̅̅̅̅̅̅̅
+ 𝐁 and is Inputs Output
read as ‘X is equal to A plus B whole bar’. The output is logic 1 level, A B X
only when each one of its inputs assumes a logic 0 level. For any other 0 0 1
combination of inputs, the output is a logic 0 level. The logic symbol 0 1 0
for a two-input NAND gate is shown in Fig.8 and its truth table 1 0 0
mentioned in Table.8.
1 1 0
0 1 1 1
0 0
1 1
The logic symbol for a three-input NOR gate is shown in Fig.9 and its truth table mentioned in Table.9
A Inputs Output
B X = A+B+C A B C X
C 0 0 0 1
0 0 1 0
Fig.9 Logic Symbol
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0
X X=X
A
X = A + B = AB
B
❖ An X-OR gate is a two input, one output logic circuit, whose output assumes a logic 1 state when
one and only one of its two inputs assumes a logic 1 state. Under the conditions when both the
inputs assume the logic 0 state, or when both the inputs assume the logic 1 state, the output assumes
a logic 0 state.
❖ Since an X-OR gate produces an output 1 only when the inputs are not equal, it is called an anti-
coincidence gate or inequality detector.
❖ The name Exclusive-OR is derived from the fact that its output is a 1, only when exclusively one
of its inputs is a 1 (it excludes the condition when both the inputs are 1).
The logic symbol and truth table of a two-input X-OR gate is shown in below Fig. 10 and
Table. 10. If the input variables are represented by A and B and the output variable by X, the
̅ B + A𝐁
expression for the output of this gate is written as X = A + B = 𝐀 ̅ and read as ‘X is equal to A
ex-or B’.
0 0 Inputs Output
0 1
0 1 A B X
A X=A +B
0 1 1 1 0 0 0
B
1 0 0 1 1
1 0 1
Fig.10 Logic Symbol
1 1 0
❖ An X-NOR gate is a combination of an X-OR gate and a NOT gate. The X-NOR gate is a two
input, one output logic circuit, whose output assumes a 1 state only when both the inputs assume a 0
state or when both the inputs assume a 1 state. The output assumes a 0 state, when one of the inputs
assumes a 0 state and the other a 1 state.
❖ It is also called a coincidence gate, because its output is 1 only when its inputs coincide. It can be
used as an equality detector because it outputs a 1 only when its inputs are equal.
The logic symbol and truth table of a two-input X-NOR gate is shown in below Fig. 11 and Table.
11. If the input variables are represented by A and B and the output variable by X, the expression for
the output of this gate is written as as X = A . B = AB + 𝐀̅𝐁̅ and read as ‘X is equal to A ex-nor B’.
Inputs Output
0 1 1 1 A B X
0 1
A X=A . B 0 0 1
0 0 1 0
B 0 1 0
1 0
1 0 0
Fig.11 Logic Symbol 1 1 1
Table.11 Truth Table
BOOLEAN ALGEBRA
❖ Boolean algebra is an algebraic system consisting of the set of elements (0,1), two binary
operators called OR and AND and one unary operator called NOT. It is the basic mathematical
tool in the analysis and synthesis of switching circuits / logic circuits.
❖ Boolean algebra differs from both the ordinary algebra and the binary number system. In Boolean
algebra, A + A = A and A . A = A, because the variable A has only a logical value. It doesn’t have
any numerical significance. In ordinary algebra, A + A = 2A and A. A = A2, because the variable
A has a numerical value here. In Boolean algebra, 1 + 1 = 1, whereas in the binary number system,
1 + 1 = 10, and in ordinary algebra, 1 + 1 = 2.
❖ There is nothing like subtraction or division in Boolean algebra. Also, there are no negative or
fractional numbers in Boolean algebra. In Boolean algebra, the multiplication and addition of the
variables and functions are also only logical. They actually represent logic operations. Logical
multiplication is the same as the AND operation, and logical addition is the same as the OR
operation.
1. Complementation Laws
The term complement simply means to invert, i.e. to change 0s to 1s and 1s to 0s.
2. AND Laws
3. OR Laws
4. Commutative Laws
Commutative laws allow change in position of AND or OR variables. There are two commutative
laws.
Law 1: A + B = B + A
This law states that, A OR B is the same as B OR A, i.e. no difference which input of an OR gate
is connected to A and which to B.
Law 2: A . B = B. A
This law states that A AND B is the same as B AND A, i.e. no difference which input of an AND
gate is connected to A and which to B.
5. Associative Laws
The associative laws allow grouping of variables. There are two associative laws.
Law 1: (A + B) + C = A + (B + C)
Law 1: A(B + C) = AB + AC
Law 2: A + BC = (A + B)(A + C)
7. Idempotence Laws
Law 1: A . A = A
Law 2: A + A = A
De Morgan’s Theorem:
𝐋𝐚𝐰 𝟏 ∶ ̅̅̅̅̅̅̅̅
𝐀+𝐁= 𝐀 ̅𝐁
̅
This law states that the complement of a sum of variables is equal to the product of their individual
complements.
̅̅̅̅ = 𝐀
𝐋𝐚𝐰 𝟐 ∶ 𝐀𝐁 ̅ +𝐁
̅
This law states that the complement of the product of variables is equal to the sum of their
individual complements.
Operator Precedence:
The operator precedence for evaluating Boolean expression is (i) parenthesis (ii) NOT (iii) AND
and (iv) OR. In other words, the expression inside the parenthesis must be evaluated before all
other operations. The next operation that holds precedence is the complement, then follows the
AND and finally the OR.
Ex: Reduce the expression 𝐟 = 𝐀 [𝐁 + 𝐂 ̅̅̅̅̅̅̅̅̅̅̅̅
̅ (𝐀𝐁 + 𝐀𝐂̅ )]
The given expression is
̅̅̅̅̅̅̅̅̅̅̅̅
𝐟 = 𝐀 [𝐁 + 𝐂̅ (𝐀𝐁 + 𝐀𝐂̅ )
̅̅̅̅ . ̅̅̅̅
𝐟 = 𝐀 [𝐁 + 𝐂̅ (𝐀𝐁 𝐀𝐂̅ ) - (DE Morgan’s Law - 1)
𝐟 = 𝐀 [𝐁 + 𝐂̅ (𝐀
̅+𝐁 ̅ + 𝐂)]
̅ ) (𝐀 - (DE Morgan’s Law - 2)
𝐟 = 𝐀 [𝐁 + 𝐂̅ (𝐀
̅𝐀̅+𝐀 ̅𝐂 + 𝐁 ̅+ 𝐁
̅𝐀 ̅ 𝐂 )] - (Distributive Law - 1)
𝐟 = 𝐀 [𝐁 + 𝐂̅ 𝐀
̅ + 𝐂̅ 𝐀 ̅ 𝐂 + 𝐂̅ 𝐁 ̅ + 𝐂̅ 𝐁
̅𝐀 ̅𝐂 ] - (Idempotence Laws)
̅ ̅ ̅ ̅
𝐟 = 𝐀 [𝐁 + 𝐂 𝐀 + 𝟎 + 𝐂 𝐁 𝐀 + 𝟎 ]̅ - (AND Laws)
𝐟 = 𝐀𝐁 + 𝐀𝐂̅ 𝐀̅ + 𝐀𝐂̅ 𝐁 ̅𝐀̅ - (Distributive Law - 1)
𝐟 = 𝐀𝐁 + 𝟎 + 𝟎 - (AND Laws)
𝐟 = 𝐀𝐁
̅ )𝐃]
Ex: Reduce the expression 𝐟 = 𝐀 + 𝐁 [𝐀𝐂 + (𝐁 + 𝐂
The given expression is
𝐟 = 𝐀 + 𝐁 [𝐀𝐂 + (𝐁 + 𝐂̅ )𝐃]
𝐟 = 𝐀 + 𝐁 [𝐀𝐂 + 𝐁𝐃 + 𝐂̅ 𝐃 ] - (Distributive Law - 1)
𝐟 = 𝐀 + 𝐁𝐀𝐂 + 𝐁𝐁𝐃 + 𝐁𝐂̅ 𝐃 - (Distributive Law - 1)
𝐟 = 𝐀 + 𝐁𝐀𝐂 + 𝐁𝐃 + 𝐁𝐂̅ 𝐃 - (Idempotence Laws)
𝐟 = 𝐀(𝟏 + 𝐁𝐂) + 𝐁𝐃(𝟏 + 𝐂̅ ) - (Factor)
𝐟 = 𝐀(𝟏) + 𝐁𝐃(𝟏) - (OR Laws)
𝐟 = 𝐀 + 𝐁𝐃
̅̅̅̅̅̅̅̅̅̅
Ex: Reduce the expression 𝐟 = (𝐀 ̅̅̅̅)(𝐀𝐁
+ 𝐁𝐂 ̅ + 𝐀𝐁𝐂)
̅ 𝐂)(𝐁 + 𝐃)
Ex: Reduce the expression 𝐟 = 𝐁 + (𝐁𝐂)(𝐁 + 𝐁
̅ 𝐂 + 𝐁𝐂̅ = 𝐀𝐂 + 𝐁𝐂̅
Ex: Show that 𝐀𝐁 + A𝐁
̅ 𝐂 + 𝐁 + 𝐁𝐃
Ex: Show that A𝐁 ̅ + 𝐀𝐁𝐃
̅ +𝐀
̅𝐂 = 𝐁 + 𝐂
COMBINATIONAL CIRCUITS
❖ A combinational circuit consists of input variables, logic gates, and output variables as shown in
Fig.12.
❖ The output of a combinational circuit depends on its present inputs only.
❖ For ‘n’ input variables, there are 2n possible combinations of binary input values. For each
possible input combination, there is one and only one possible output combination.
Half-Adder:
A combinational circuit that performs the addition of two bits is called a half-adder, with two binary
inputs (augend and addend bits) and two binary outputs (sum and carry bits). It adds the two inputs
(A and B) and produces the sum (S) and the carry (C) bits. The truth table and block diagram of a
half-adder are shown in Fig.13.
Fig.13 Half-adder
Full-Adder:
A combinational circuit that performs the addition of three bits (two significant bits and previous
carry) is called a full-adder and outputs a sum bit and a carry bit.
The full-adder adds the bits A and B and the carry from the previous column called the carry-in Cin
and outputs the sum bit S and the carry bit called the carry-out Cout. The variable S gives the value
of the least significant bit (LSB) of the sum. The variable Cout gives the output carry. The truth table
and the block diagram of a full-adder are shown in Fig.15.
Fig.15 Full-adder
The eight rows under the input variables (A, B, & Cin) designate all possible combinations of 1s and
0s. The 1s and 0s for the output variables (S & Cout) are determined from the arithmetic sum of the
input bits.
1. When all the bits are 0s, the output is 0.
2. The S output is equal to 1 when only 1 input is equal to 1 or when all the inputs are equal to 1.
3. The Cout has a carry of 1 if two or three inputs are equal to 1.
From the truth table, a circuit that will produce the sum and carry bits in response to every possible
combination of A, B, and Cin is described by
̅𝐁
S=𝐀 ̅ 𝐂𝐢𝐧 + 𝐀
̅ 𝐁𝐂̅𝐢𝐧 + 𝐀𝐁
̅ 𝐂̅𝐢𝐧 + 𝐀𝐁𝐂𝐢𝐧 = (𝐀
̅ 𝐁 + 𝐀𝐁
̅ )𝐂̅𝐢𝐧 + (𝐀
̅𝐁̅ + 𝐀𝐁)𝐂𝐢𝐧 = 𝐀 + 𝐁 + 𝐂𝐢𝐧 &
̅ 𝐁𝐂𝐢𝐧 + 𝐀𝐁
𝐂𝐨𝐮𝐭 = 𝐀 ̅ 𝐂𝐢𝐧 + 𝐀𝐁𝐂̅𝐢𝐧 + 𝐀𝐁𝐂𝐢𝐧 = 𝐀𝐁 + (𝐀 + 𝐁) 𝐂𝐢𝐧 = 𝐀𝐁 + 𝐀𝐂𝐢𝐧 + 𝐁𝐂𝐢𝐧
The logic diagram of the full-adder using two X-OR gates and two AND gates (i.e. two half-adders)
and one OR gate is shown in Fig.16.
Fig.17 shows a block diagram of a sequential circuit. The memory elements are connected to the
combinational circuit as a feedback path.
The information stored in the memory element at any given time defines the present state of the
sequential circuit. The present state and the external inputs determine the outputs and the next state
of the sequential circuit.
❖ The sequential circuits may be classified as synchronous sequential circuits and asynchronous
sequential circuits depending on the timing of their signals.
▪ The sequential circuits which are controlled by a clock are called synchronous
sequential circuits (Flip-Flops). These circuits will be active only when clock signal
is present.
▪ The sequential circuits which are not controlled by a clock are called asynchronous
sequential circuits (Latches), i.e. the sequential circuits in which events can take place
any time the inputs are applied are called asynchronous sequential circuits.
FLIP-FLOPS:
Flip-flops are the basic building blocks of most sequential circuits. A flip-flop (FF), known more
formally as a bistable multivibrator, has two stable states (0 or 1). It can remain in either of the states
indefinitely. Its state can be changed by applying the proper triggering signal. It is also called a binary
or one-bit memory.
The S and R inputs of the S-R flip-flop are called the synchronous control inputs because data on
these inputs affect the flip-flop’s output only on the triggering (positive going or negative going) edge
of the clock pulse (CLK). Without a clock pulse, the S and R inputs cannot affect the output. So, it is
also called a Synchronous S-R Flipflop. The logic diagram & the logic symbol are shown in Fig.19.
and truth table & waveforms are shown in Fig.21 respectively.
S
S
Q
Q
CLK CLK
Q
Q
R R
1 1
0 0
1 1
0 0 1 Qn+1
Q=1
(i) Qn = 0
0 1 0 1
Q=1 Qn 1 Qn+1
1 1
1 1
1 1
0 0 0 Qn+1
Q=0
(ii) Qn = 1
CASE A: S= 0, R= 0 & CLK = 1
B. S=0, R = 1: RESET
This will always reset Q = 0, where it will remain even after RESET returns to 0.
0 1 0 1
Q=0 Qn 0 Qn+1
1 1
0
0 0
0
1 1 1 Qn+1
Q=1
(i) Qn = 0
0 1 0 1
Q=1 Qn 0 Qn+1
1 1
0
1 0
0
1 1 1 Qn+1
Q=1
(ii) Qn = 1
CASE B: S= 0, R= 1 & CLK = 1
C. S=1, R = 0: SET
This will always set Q = 1, where it will remain even after SET returns to 0.
1 0 1 0
Q=0 Qn 1 Qn+1
1 1
0 1
1 1
0 0 0 Qn+1
Q=1
(i) Qn = 0
1 0 1 0
Q=1 Qn 1 Qn+1
1 1
1 1
1 1
0 0 0 Qn+1
Q=0
(ii) Qn = 1
CASE C: S= 1, R= 0 & CLK = 1
D. S=1, R = 1: INDETERMINATE
This condition tries to SET and RESET at the same time, and it produces Q = Q ̅ = 1. If the inputs
are returned to zero simultaneously, the resulting output state is erratic and unpredictable. This input
condition should not be used. It is forbidden.
1 0 1 0
Q=0 Qn 1 Qn+1
1 1
0 1
0 0
1 1 1 Qn+1
Q=1
(i) Qn = 0
1 0 1 0
Q=1 Qn 1 Qn+1
1 1
1 1
0 0
1 1 1 Qn+1
Q=1
(ii) Qn = 1
CASE D: S= 1, R= 1 & CLK = 1
̅ may be HIGH, or
If both the inputs are made HIGH, the output is unpredictable, i.e. both Q and Q
both may be LOW or any one of them may be HIGH and the other LOW. This condition is described
as not allowed, unpredictable, invalid or indeterminate.
The J-K flip-flop is very versatile and also the most widely used. The J and K designations for the
synchronous control inputs have no known significance. The functioning of the J-K flip-flop is
identical to that of the S-R flip-flop, except that it has no invalid state like that of the S-R flip-flop.
The logic diagram & the logic symbol are shown in Fig.22 and truth table & waveforms are shown
in Fig.23 respectively.
J
Q J
Q
CLK
CLK
Q
K Q
K
(a) Logic Diagram (b) Logic Symbol
❖ When J = 0 and K = 0, no change of state takes place even if a clock pulse is applied.
❖ When J = 0 and K = 1, the flip-flop resets at the edge of the clock pulse.
❖ When J = 1 and K = 0, the flip-flop sets at the edge of the clock pulse.
❖ When J = 1 and K = 1, the flip-flop toggles, i.e. goes to the opposite state at edge of the clock
pulse. In this mode, the flip-flop toggles or changes state for each occurrence of the of the
clock pulse.
SHIFT REGISTERS
❖ Shift registers are a type of logic circuits, are used basically for the storage and transfer of digital
data.
❖ A flip-flop (FF) can store only one bit of data, a 0 or a 1, it is referred to as a single-bit register.
When more bits of data are to be stored, a number of FFs are used. A register is a set of FFs used
to store binary data.
❖ A register might be used to accept input data from an alphanumeric keyboard and then present
the data at the input of a microprocessor chip.
❖ Data may be available (I/P) in parallel form or in serial form.
▪ Multi-bit data is said to be in parallel form when all the bits are available (accessible)
simultaneously. The data is said to be in serial form when the data bits appear sequentially
(one after the other, in time) at a single terminal.
❖ Data may also be transferred (O/P) in parallel form or in serial form.
▪ Parallel data transfer is the simultaneous transmission of all bits of data from one device
to another. Serial data transfer is the transmission of one bit of data at a time from one
device to another. Serial data must be transmitted under the synchronization of a clock,
since the clock provides the means to specify the time at which each new bit is sampled.
1. Initially, say all the bits of the register are 0. So, whenever there is no clock pulse (CLK), then
irrespective of the input, all the FF will store its current data (No change state). i.e., Q1 = Q2 = 0.
2. Starting from LSB, to shift it into the shift register, apply the value (here it is 0) at the input terminal.
Before CLK, all values are zero and once clock edge (here it is negative edge triggering) arrives,
then all the FFs will respond to their present inputs. For CLK -1, Q1 = 0 (J1 = 0: RESET state); Q2
= 0 (due to previous Q1, i.e., value at CLK-0, Q1 = J2 = 0) and for CLK -2, Q1 = 1 (J1 = 1: SET
state); Q2 = 0 (value at CLK-1, Q1 = J2 = 0).
CLK Input Q1 Q2
NO 0 X 0 0 Previous stored data in the last FF (FF-2) is discarded after zero clock
1 0 0 0
Discarded after first clock
2 1 1 0
Output at Q2 of FF-2
3 - - 1
COUNTERS
❖ A digital counter is a set of flip-flops (FFs) whose states change in response to pulses applied at
the input to the counter.
❖ The FFs 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, as its name implies, a counter
is used to count pulses.
❖ A counter used to perform the timing function as in digital watches, to create time delays, to
produce non-sequential binary counts, to generate pulse trains, and to act as frequency counters,
etc.
Fig.26
❖ The counter is initially reset to 00. When the first clock pulse is applied, FF1 toggles at the
negative-going edge of this pulse, therefore, Q1 goes from LOW to HIGH. This becomes a
positive-going signal at the clock input of FF2. So, FF2 is not affected, and hence, the state of
the counter after one clock pulse is Q1 = 1 and Q2 = 0, i.e. 01.
❖ At the negative-going edge of the second clock pulse, FF1 toggles. So, Q1 changes from HIGH
to LOW and this negative-going signal applied to CLK of FF2 activates FF2, and hence, Q2
goes from LOW to HIGH. Therefore, Q1 = 0 and Q2 = 1, i.e. 10 is the state of the counter after
the second clock pulse.
❖ At the negative-going edge of the third clock pulse, FF1 toggles. So Q1 changes from a 0 to a
1. This becomes a positive-going signal to FF2, hence, FF2 is not affected. Therefore, Q2 = 1
and Q1 = 1, i.e. 11 is the state of the counter after the third clock pulse.
❖ At the negative-going edge of the fourth clock pulse, FF1 toggles. So, Q1 goes from a 1 to a
0. This negative-going signal at Q1 toggles FF2, hence, Q2 also changes from a 1 to a 0.
Therefore, Q2 = 0 and Q1 = 0, i.e. 00 is the state of the counter after the fourth clock pulse.
❖ For subsequent clock pulses, the counter goes through the same sequence of states with Q1 as
the LSB and Q2 as the MSB. The counting sequence is thus 00, 01, 10, 11, 00, 01,…, etc.
Two-bit Ripple Down-counter:
A 2-bit down-counter counts in the order 0, 3, 2, 1, 0, 3,…, i.e. 00, 11, 10, 01, 00, 11, …, etc. Fig.27
shows a 2-bit ripple down-counter, using negative-edge triggered J-K FFs, and its timing diagram.
Fig.27
❖ For down counting, ̅̅ Q̅1̅ of FF1 is connected to the clock of FF2. Let initially all the FFs be
reset, i.e. let the count be 00. At the negative-going edge of the first clock pulse, FF1 toggles,
so, Q1 goes from a 0 to a 1 and ̅Q̅̅1̅ goes from a 1 to a 0. This negative-going signal at Q ̅̅̅1̅
applied to the clock input of FF2, toggles FF2 and, therefore, Q2 goes from a 0 to a 1. So, after
one clock pulse Q2 = 1 and Q1 = 1, i.e. the state of the counter is 11.
❖ At the negative-going edge of the second clock pulse, Q1 changes from a 1 to a 0 and Q ̅̅̅1̅ from
a 0 to a 1. This positive-going signal at ̅̅Q̅1̅ does not affect FF2 and, therefore, Q2 remains at
a 1. Hence, the state of the counter after the second clock pulse is 10.
❖ At the negative-going edge of the third clock pulse, FF1 toggles. So, Q1 goes from a 0 to a 1
and Q̅̅̅1̅ from a 1 to a 0. This negative-going signal at Q
̅̅̅1̅ toggles FF2 and, so, Q2 changes from
a 1 to a 0. Hence, the state of the counter after the third clock pulse is 01.
❖ At the negative-going edge of the fourth clock pulse, FF1 toggles. So, Q1 goes from a 1 to a 0
and Q̅̅̅1̅ from a 0 to a 1. This positive-going signal at Q ̅̅̅1̅ does not affect FF2. So, Q2 remains
at a 0. Hence, the state of the counter after the fourth clock pulse is 00. For subsequent clock
pulses the counter goes through the same sequence of states, i.e. the counter counts in the
order 00, 11, 10, 01, 00, and 11 …