Eec 234 Electronics II Lecture Note
Eec 234 Electronics II Lecture Note
Eec 234 Electronics II Lecture Note
LECTURE NOTE
COURSE TITLE: ELECTRONICS II
A practical amplifier has a gain of nearly one million i.e. its output is one million times the input.
Consequently, even a casual disturbance at the input will appear in the amplified form in the
output. There is a strong tendency in amplifiers to introduce hum due to sudden temperature
changes or stray electric and magnetic fields. Therefore, every high gain amplifier tends to give
noise along with signal in its output. The noise in the output of an amplifier is undesirable and
must be kept to as small a level as possible.
The noise level in amplifiers can be reduced considerably by the use of negative feedback i.e. by
injecting a fraction of output in phase opposition to the input signal.
A transistor raises the strength of a weak signal and thus acts as an amplifier.
There are two basic types of transistors: the bipolar junction transistor (BJT) and the field-
effect transistor (FET) The bipolar junction transistor is used in two broad areas of electronics
as a linear amplifier to boost an electrical signal and as an electronic switch.
Basically, the bipolar junction transistor consists of two back-to-back P-N junctions
manufactured in a single piece of a semiconductor crystal. These two junctions give rise to three
regions called emitter, base and collector. As shown in Fig. 1.1 junction transistor is simply a
sandwich of one type of semiconductor material between two layers of the other type. Fig. 1.1
(a-i) shows a layer of N-type material sandwiched between two layers of P-type material. It is
described as a PNP transistor. Fig. 1.1 (a-ii) shown an NPN – transistor consisting of a layer of
P-type material sandwiched between two layers of N-type material
The basic function of a transistor is to do amplification. The weak signal is given to the base of
the transistor an amplified output is obtained in the collector circuit. One important requirement
during amplification is that only the magnitude of the signal should increase and there should be
no change in signal shape. The increase in magnitude of the signal without any change in shape
is known as faithful amplification. In other to achieve this, means are provided to ensure that
input circuit (i,e. base-emitter junction) of the transistor remains forward biased during all parts
of the signal. This is known as transistor biasing.
The theory of transistor reveals that it will function properly if its input circuit (i.e. base-emitter
junction) remains forward biased and output circuit (i.e. collector-emitter junction) remains
reverse biased at all times. This is then the key factor for achieving faithful amplification. To
ensure this, the following basic conditions must be satisfied:
The conditions (i) and (ii) ensure that the base-emitter junction shall remain properly biased
during all parts of the signal. On the other hand, condition (iii) ensures that emitter-collector
junction shall remain properly reverse biased at all times.
The proper flow of zero signal collector current and the maintenance of proper collector-emitter
voltage during the passage of signal is known as transistor biasing.
The basic purpose of transistor biasing is to keep the base-emitter junction properly forward
biased and collector-emitter junction properly reverse biased during the application of signal.
This can be achieved with a bias battery or associating a circuit with a transistor. The latter
method is more efficient and is frequently employed. The circuit which provides transistor
biasing is known as biasing circuit.
The steady state operation of a transistor depends a great deal on its base current, collector
voltage, and collector current values and therefore, if the transistor is to operate correctly as a
linear amplifier, it must be properly biased around its operating point.
Establishing the correct operating point requires the selection of bias resistors and load resistors
to provide the appropriate input current and collector voltage conditions. The correct biasing
point for a bipolar transistor, either NPN or PNP, generally lies somewhere between the two
extremes of operation with respect to it being either ―fully-ON‖ or ―fully-OFF‖ along its DC
The function of the ―DC Bias level‖ is to correctly set the transistors
Q-point by setting its Collector current ( IC ) to a constant and steady
state value without any external input signal applied to the transistors
Base.
This steady-state or DC operating point is set by the values of the
circuits DC supply voltage ( Vcc ) and the value of any biasing
resistors connected the transistors Base terminal.
Since the transistors Base bias currents are steady-state DC currents,
the appropriate use of coupling and bypass capacitors will help block
any biasing currents from other transistor stage affecting the bias
conditions of the next.
In practice (for low powered transistors), the following steps are taken to design transistor
biasing and stabilization circuits:
Step 1: It is a common practiceto take RE = 500 - 1000Ω. Greater the value of RE , better is the
stabilization. However, if RE is very large, higher voltage drop across it leaves reduced voltage
drop across the collector load. Consequently, the output is decreased. Therefore, a compromise is
reached in ther selection of the value of RE .
Step 2: The zero signal current Ic is chosen according to the signal swing. However, in the initial
stages of most of most transistor amplifiers, zero signal Ic = 1mA is sufficient, the main
advantages of selecting this value are:
(i) The output impedance of a transistor is very high at 1mA. This increases the voltage
gain
(ii) There is little danger of overheating as 1mA is quite a small collector current.
It may be noted here that working the transistor below zero signal Ic = 1mA is not advisable
because of strongly non-linear transistor characteristics.
Step 4: The zero signal Ic should be a little more (say 20%) than the maximum collector current
swing due to signal. Selecting zero signal Ic below this value may cut off a part of negative half-
cycle of a signal. On the other hand, selecting a value much above this value (say 15mA) may
unnecessarily overheat this transistor, resulting in wastage of battery power.
One of the most frequently used biasing circuits for a transistor circuit is with the self-biasing of
the emitter-bias circuit were one or more biasing resistors are used to set up the initial DC values
for the three transistor currents, ( IB ), ( IC ) and ( IE ).
The two most common forms of bipolar transistor biasing are: Beta Dependent and Beta
Independent. Transistor bias voltages are largely dependent on transistor beta, ( β ) so the biasing
set up for one transistor may not necessarily be the same for another transistor as their beta
values may be different. Transistor biasing can be achieved either by using a single feed back
resistor or by using a simple voltage divider network to provide the required biasing voltage.
The goal of Transistor Biasing is to establish a known quiescent operating point, or Q-point for
the bipolar transistor to work efficiently and produce an undistorted output signal. Correct DC
biasing of the transistor also establishes its initial AC operating region with practical biasing
circuits using either a two or four-resistor bias network.
In bipolar transistor circuits, the Q-point is represented by ( VCE, IC ) for the NPN transistors or
( VEC, IC ) for PNP transistors. The stability of the base bias network and therefore the Q-point is
generally assessed by considering the collector current as a function of both Beta (β) and
temperature.
The following are examples of transistor Base bias configurations from a single supply ( Vcc ).:
1. Fixed Base Biasing a Transistor
This type of transistor biasing configuration, often called self-emitter biasing, uses both emitter
and base-collector feedback to stabilize the collector current even further. This is because
resistors RB1 and RE as well as the base-emitter junction of the transistor are all effectively
connected in series with the supply voltage, VCC.
The downside of this emitter feedback configuration is that it reduces the output gain due to the
base resistor connection. The collector voltage determines the current flowing through the
feedback resistor, RB1 producing what is called ―degenerative feedback‖.
The current flowing from the emitter, IE (which is a combination of IC + IB) causes a voltage drop
to appear across RE in such a direction, that it reverse biases the base-emitter junction.
Here the common emitter transistor configuration is biased using a voltage divider network to
increase stability. The name of this biasing configuration comes from the fact that the two
resistors RB1 and RB2 form a voltage or potential divider network across the supply with their
center point junction connected the transistors base terminal as shown.
This voltage divider biasing configuration is the most widely used transistor biasing method. The
emitter diode of the transistor is forward biased by the voltage value developed across
resistor RB2. Also, voltage divider network biasing makes the transistor circuit independent of
changes in beta as the biasing voltages set at the transistors base, emitter, and collector terminals
are not dependant on external circuit values.
To calculate the voltage developed across resistor RB2 and therefore the voltage applied to the
base terminal we simply use the voltage divider formula for resistors in series.
Generally the voltage drop across resistor RB2 is much less than for resistor RB1. Clearly the
transistors base voltage VB with respect to ground, will be equal to the voltage across RB2.
EXAMPLE 1:
In the circuit shown under the voltage divider biasing method above, if the operating point is
chosen such that Ic = 2mA, Vce = 3V. If Rc = 2.2kΩ , Vcc = 9V and β = 50, determine the
values of R1, R2 and RE ?
Solution:
As IB is very small as compared to I1 , therefore , we can assume with reasonable accuracy that I1
flowing through R1 also flows through R2.
Now, I1 =
Therefore, R1 + R2 = = = 22.5 KΩ
Applying Kirchhoff‘ voltage law to the collector side of the circuit , we get
RE = = 0.8 kΩ = 800Ω
Coupling occurs in multistage amplifiers and refers to the way in which the output of one stage is
connected to the input of next stage, in such a way as to allow every DC signals from one stage
to another.
ASSIGNMENT 1
2. Design a common emitter single stage transistor biasing amplifier with β = 100, using a voltage
divider method and observing all the conditions required for faithful amplification, proper zero
signal collector current etc.
QUIZ 1
1. What are the advantages and disadvantages of capacitive and transformer coupling?
2. State five applications of transistor
3. Differentiate between Class A and Class B amplifier
The principle of feedback is probably as old as the invention of first machine but it is only some
50 years ago that feedback has come into use in connection with electronic circuits. It has been
found very useful in reducing noise in amplifiers and making amplifier operation stable.
Depending upon whether the feedback energy aids or opposes the input signal, there are two
basic types of feedback in amplifiers viz positive feedback and negative feedback.
(i) Positive feedback. When the feedback energy (voltage or current) is in phase with the input
signal and thus aids it, it is called positive feedback. This is illustrated in Fig. . Both amplifier
and feedback network introduce a phase shift of 180°. The result is a 360° phase shift around the
loop, causing the feedback voltage Vf to be in phase with the input signal Vin.
(ii) Negative feedback. When the feedback energy (voltage or current) is out of phase with the
input signal and thus opposes it, it is called negative feedback. This is illustrated in Fig. 13.2. As
you can see, the amplifier introduces a phase shift of 180° into the circuit while the feedback
network is so designed that it introduces no phase shift (i.e., 0° phase shift). The result is that the
feedback voltage Vf is 180° out of phase with the input signal Vin.
Negative feedback reduces the gain of the amplifier. However, the advantages of negative
feedback are: reduction in distortion, stability in gain, increased bandwidth and improved input
and output impedances. It is due to these advantages that negative feedback is frequently
employed in amplifiers.
For an ordinary amplifier i.e. one without feedback, the voltage gain is given by the ratio of the
output voltage Vo and input voltage Vi. The input voltage Vi is amplified by a factor of A to the
value Vo of the output voltage.
Therefore A = Vo /Vi . This gain A is often called open-loop gain
Suppose a feedback loop is added to the amplifier . If Vo´ is the output voltage with feedback,
then a fraction β* of this voltage is applied to the input voltage which, therefore, becomes :
(Vi ± βVo´) depending on whether the feedback voltage is in phase or antiphase with it.
Assuming positive feedback, the input voltage will become (Vi + βVo´). When amplified A
times, it becomes A(Vi + βVo´).
Therefore A (Vi + βVo ´) = Vo´
or Vo´ (1 – βV A) =AVi
The amplifier gain A´ with feedback is given by:
The expression (1 ± βA) is called loop gain. The amplifier gain A´ with feedback is also referred
to as closedloop gain because it is the gain obtained after the feedback loop is closed.
The sacrifice factor is defined as S = A/A´.
Solution. (a) A´ = = 20
(b) V0´ = A´ Vi = 20 × 50 mV = 1V
(c) feedback factor = βA = 0.04 × 100 = 4
(d) Feedback voltage = βVo´ = 0.04 × 1 = 0.04 V
ASSIGNMENT 2
QUIZ 2
1. The gain and distortion of an amplifier are 150 and 5% respectively without feedback. If the stage
has 10% of its output voltage applied as negative feedback, find the distortion of the amplifier
with feedback?
2. State five applications of negative feedback and three applications of positive feedback
SINUSOIDAL OSCILLATORS
Many electronic devices require a source of energy at a specific frequency which may range
from a few Hz to several MHz. This is achieved by an electronic device called an oscillator.
Oscillators are extensively used in electronic equipment. For example, in radio and television
receivers, oscillators are used to generate high frequency wave (called carrier wave) in the tuning
stages. Audio frequency and radio-frequency signals are required for repair of radio, television
and other electronic equipment. Oscillators are widely used in radar, electronic computers and
other electronic devises.
An electronic oscillator may be defined in any one of the following four ways :
1. It is a circuit which converts dc energy into ac energy at a very high frequency;
2. It is an electronic source of alternating current or voltage having sine, square or sawtooth or
pulse shapes;
3. It is a circuit which generates an ac output signal without requiring any externally applied
input signal;
4. It is an unstable amplifier.
An oscillator has a good frequency stability i.e. frequency once set, remains constant for a
considerable period of time. An oscillator also has a very high efficiency
An oscillator differs from an amplifier in one basic aspect : the oscillator does not require an
external signal either to start or maintain energy conversion process. It keeps producing an utput
signal so long as the dc power source is connected. Moreover, the frequency of the output signal
is determined by the passive components used in the oscillator and can be varied at will.
The active devices (bipolars, FETs or unijunction transistors) in the above mentioned circuits
may be biased class-A, B or C. Class-A operation is used in high-quality audio frequency
oscillators. However, radio frequency oscillators are usually operated as class-C.
Non-sinusoidal Waveforms
Any waveform whose shape is different from that of a standard sine wave is called non-
sinusoidal waveform. Examples are : square, rectangular, sawtooth, triangular waveforms.
It is also called LC circuit or tank circuit. The oscillatory circuit (Fig. ) consists of two reactive
elements i.e. an inductor and a capacitor. Both are capable of storing energy. The capacitor
stores energy in its electric field whenever there is potential difference across its plates.
Similarly, a coil or an inductor stores energy in its magnetic field whenever current flows
through it. Both L and C are supposed to be loss-free (i.e. their Q-factors are infinite).
As shown in Fig. (a), suppose the capacitor has been fully-charged from a dc source.
LC Oscillator Example 1
An inductance of 200mH and a capacitor of 10pF are connected together in parallel to create an
LC oscillator tank circuit. Calculate the frequency of oscillation.
Then we can see from the above example that by decreasing the value of either the
capacitance, C or the inductance, L will have the effect of increasing the frequency of oscillation
of the LC tank circuit.
LC Oscillators Summary
The basic conditions required for an LC oscillator resonant tank circuit are given as follows.
For oscillations to exist an oscillator circuit MUST contain a reactive (frequency-
dependant) component either an ―Inductor‖, (L) or a ―Capacitor‖, (C) as well as a DC
power source.
In a simple inductor-capacitor, LC circuit, oscillations become damped over time due to
component and circuit losses.
Voltage amplification is required to overcome these circuit losses and provide positive
gain.
The overall gain of the amplifier must be greater than one, unity.
Oscillations can be maintained by feeding back some of the output voltage to the tuned
circuit that is of the correct amplitude and in-phase, (0o).
Oscillations can only occur when the feedback is ―Positive‖ (self-regeneration).
The overall phase shift of the circuit must be zero or 360o so that the output signal from the
feedback network will be ―in-phase‖ with the input signal.
For an RC oscillator to sustain its oscillations indefinitely, sufficient feedback of the correct
phase, that is positive (in-phase) Feedback must be provided along with the voltage gain of
the single transistor amplifier being used to inject adequate loop gain into the closed-loop
circuit in order to maintain oscillations allowing it to oscillates continuously at the selected
frequency.
The basic RC Oscillator which is also known as a Phase-shift Oscillator, produces a sine
wave output signal using regenerative feedback obtained from the resistor-capacitor (RC)
ladder network. This regenerative feedback from the RC network is due to the ability of the
capacitor to store an electric charge, (similar to the LC tank circuit).
Where:
Crystals
For an exceptionally high degree of frequency stability, use of crystal oscillators is essential. The
crystal generally used is a finely-ground wafer of translucent quartz (or tourmaline) stone held
between two metal plates and housed in a package about the size of a postal stamp. The crystal
wafers are cut from the crude quartz in two different ways. The method of ‗cutting‘ determines
the crystal‘s natural resonant frequency and its temperature coefficient. When the wafer is cut so
The figure below shows the use of a crystal to stabilise the frequency of a tuned-collector
oscillator which has a crystal (usually quartz) in the feedback circuit. The LC tank circuit has a
frequency of oscillation
f = 1/ 2π √ i.e.
The circuit is adjusted to have a frequency near about the desired operating frequency but the
exact frequency is set by the crystal and stabilized by the crystal.
For example, if natural frequency of vibration of the crystal is 27 MHz, the LC circuit is made to
resonate at this frequency.
Here, the crystal is excited in the series resonance mode because it is connected as a series
element in the feedback path from collector to the base. Since, in series resonance, crystal
impedance is the smallest, the amount of positive feedback is the largest. The crystal not only
provides the feedback but also the necessary phase shift.
As usual, R1, R2 and R3 provide a voltage-divider stabilized dc bias circuit. C2 bypasses R3 to
avoid degeneration. The RFC coil provides dc collector load and also prevents any ac signal
from entering the dc supply. The coupling capacitor C1 has negligible reactance at circuit
operating frequency but blocks any dc flow between collector and base. The oscillation
frequency equals the series-resonance frequency of the crystal and is given by:
1. It is a very simple circuit because no tuned circuit other than the crystal itself is required.
2. Different oscillation frequencies can be obtained by simply replacing one crystal with another.
It makes it easy for a radio transmitter to work at different frequencies.
3. Since frequency of oscillation is set by the crystal, it remains unaffected by changes in supply
voltage and transistor parameters etc.
QUIZ 3
SWITCHING CIRCUITS
A circuit which can turn ON of OFF current in an electrical circuit is known as a switching
circuit. A switching circuit essentially consists of two parts viz: (i) A Switch and (ii) Associated
Circuitry.
The Switch is the most important part of the switching circuit. It actually makes or breaks the
electrical circuit. The function of associated circuitry is to help the switch in turning ON or OFF
current in the circuit. The associated circuitry is particularly used with electronic switches.
CLASSIFICATIONS OF SWITCHES
As long as the switch is open, there is no current in the circuit. It is easy to see that the whole
current flows the load and rhe switch.
LIMITATIONS
(i) For a large load current, the switch contacts have to be made heavy to enabke them to
carry the necessary current without overheating. This increases the size of the switch
(ii) There is sparking at the contacts of the switch when carrying a large load current;
resulting in wear anf=d tear of the contacts.\
(iii) Due to high inertia of a mechanical switch, the speed of operation is very small
Application: Mechanical switches are restricted to situations where setching speed is small and
the load current to be handled is not very heavy.
Transistor as a Switch
Transistor switches can be used to switch a low voltage DC device (e.g. LED‘s) ON or OFF by
using a transistor in its saturated or cut-off state
When used as an AC signal amplifier, the transistors Base biasing voltage is applied in such a
way that it always operates within its ―active‖ region, that is the linear part of the output
characteristics curves are used.
However, both the NPN & PNP type bipolar transistors can be made to operate as ―ON/OFF‖
type solid state switch by biasing the transistors Base terminal differently to that for a signal
amplifier.
Then bipolar transistors have the ability to operate within three different regions:
Active Region – the transistor operates as an amplifier and Ic = β*Ib
Saturation – the transistor is ―Fully-ON‖ operating as a switch and Ic = I(saturation)
Cut-off – the transistor is ―Fully-OFF‖ operating as a switch and Ic = 0
The areas of operation for a transistor switch are known as the Saturation Region and the Cut-
off Region. This means then that we can ignore the operating Q-point biasing and voltage
divider circuitry required for amplification, and use the transistor as a switch by driving it back
and forth between its ―fully-OFF‖ (cut-off) and ―fully-ON‖ (saturation) regions as shown below.
The pink shaded area at the bottom of the curves represents the ―Cut-off‖ region while the blue
area to the left represents the ―Saturation‖ region of the transistor. Both these transistor regions
are defined as:
1. Cut-off Region
Here the operating conditions of the transistor are zero input base current ( IB ), zero output
collector current ( IC ) and maximum collector voltage ( VCE ) which results in a large depletion
layer and no current flowing through the device. Therefore the transistor is switched ―Fully-
OFF‖.
Then we can define the ―cut-off region‖ or ―OFF mode‖ when using a bipolar
transistor as a switch as being, both junctions reverse biased, VB < 0.7v and IC = 0. For
a PNP transistor, the Emitter potential must be negative with respect to the Base.
2. Saturation Region
Here the transistor will be biased so that the maximum amount of base current is applied,
resulting in maximum collector current resulting in the minimum collector emitter voltage drop
which results in the depletion layer being as small as possible and maximum current flowing
through the transistor. Therefore the transistor is switched ―Fully-ON‖.
Saturation Characteristics
Then we can define the ―saturation region‖ or ―ON mode‖ when using a bipolar transistor as a
switch as being, both junctions forward biased, VB > 0.7v and IC = Maximum. For a PNP
transistor, the Emitter potential must be positive with respect to the Base.
Then the transistor operates as a ―single-pole single-throw‖ (SPST) solid state switch. With a
zero signal applied to the Base of the transistor it turns ―OFF‖ acting like an open switch and
zero collector current flows. With a positive signal applied to the Base of the transistor it turns
―ON‖ acting like a closed switch and maximum circuit current flows through the device.
The simplest way to switch moderate to high amounts of power is to use the transistor with an
open-collector output and the transistors Emitter terminal connected directly to ground. When
used in this way, the transistors open collector output can thus ―sink‖ an externally supplied
voltage to ground thereby controlling any connected load.
An example of an NPN Transistor as a switch being used to operate a relay is given below. With
inductive loads such as relays or solenoids a flywheel diode is placed across the load to dissipate
the back EMF generated by the inductive load when the transistor switches ―OFF‖ and so protect
the transistor from damage. If the load is of a very high current or voltage nature, such as motors,
heaters etc, then the load current can be controlled via a suitable relay as shown.
Multivibrators (MV)
Multivibrators are sequential logic circuits that operate continuously between two distinct states
of HIGH and LOW. These devices are very useful as pulse generating, storing and counting
circuits. They are basically two-stage amplifiers with positive feedback from the output of
one amplifier to the input of the other. This feedback is supplied in such a manner that one
transistor is driven to saturation and the other to cut-off. It is followed by new set of conditions
in which the saturated transistor is driven to cut-off and the cut-off transistor is driven to
saturation.
Active HIGH – if the state change occurs from a ―LOW‖ to a ―HIGH‖ at the clock‘s
pulse rising edge or during the clock width.
Active LOW – if the state change occurs from a ―HIGH‖ to a ―LOW‖ at the clock‘s
pulses falling edge.
Duty Cycle – this is the ratio of the clock width to the clock period.
Clock Width – this is the time during which the value of the clock signal is equal to a
logic ―1‖, or HIGH.
There are three basic types of MVs distinguished by the type of coupling network employed.
The first one is the non-driven type whereas the other two are the driven type (also called
triggered oscillators).
It is also called free-running relaxation oscillator. It has no stable state but only two quasistable
(half-stable) states between which it keeps oscillating continuously of its own accord without any
external excitation. In this circuit, neither of the two transistors reaches a stable state. When one
is ON, the other is OFF and they continuously switch back and forth at a rate depending on the
RC time constant in the circuit. Hence, it oscillates and produces pulses of certain mark-to-space
ratio. Moreover, two outputs (180° out of phase with each other) are available. It has two energy-
storing elements i.e. two capacitors.
It is also called a single-shot or single swing or a one-shot multivibrator. Other names are :
delay multivibrator and univibrator. It has:
(i) one absolutely stable (stand-by) state and
(ii) one quasistable state.
It can be switched to the quasi-stable state by an external trigger pulse but it returns to the stable
condition after a time delay determined by the value of circuit components. It supplies a single
output pulse of a desired duration for every input trigger pulse. It has one energy-storing element
i.e. one-capacitor.
It is also called Eccles-Jordan or flip-flop multivibrator. It has two absolutely stable states. It
can remain in either of these two states unless an external trigger pulse switches it from one state
to the other. Obviously, it does not oscillate. It has no energy storage element.
Example:
In the Astable MV shown in figure above, if R2 = R3 = 10kΩ, and C1 = C2 = 0.01µF. Determine
the time period and frequency of the square wave.
Solution:
R = 10kΩ, C = 0.01µF = 10-8F
Time Period of the Square wave is:
T = 1.4 x RC = 1.4 x 10-4 x 10-8 second
= 0.14msec
= 7kHz
1. In groups of two/three, students are to construct simple circuits using NPN transistor in
addition to active/passive components.
2. Demonstrate how the above circuits can prove the action of switching transistor in the
saturation and active modes.
3. Your report should show necessary load lines/graph
A logic gate is an electronic circuit which makes logic decisions. It has one output and one or
more inputs. Logic gates refer to digital circuits used to implement Boolean algebraic equation.
The basic logic gates are: NOT, AND & OR gates as well as their complements: NAND and
NOR. Since a logic gate is a switching circuit (i.e. a digital circuit), its output can have only one
of the two possible states viz: either HIGH (1) or LOW (0). It is either ON or OFF. Whether the
output voltage of a logic gate is HIGH (1) or LOW (0) will depend upon the conditions at its
input.
The operation of a logic gate may be described either by truth table or Boolean algebra.
Boolean Expression: The algebra used to symbolically describe logic function logic functions is
called Boolean algebra
An OR gate is a logic gate that has two or more inputs but only one output. However, the output
Y of the OR gate is LOW when all inputs are LOW. The output Y of an OR gate is HIGH if any
or all the inputs are HIGH.
Logic OR gates are available as standard i.c. packages such as the common TTL 74LS32
Quadruple 2-input Positive OR Gates. As with the previous AND Gate, OR can also be
―cascaded‖ together to produce circuits with more inputs such as in security alarm systems (Zone
A or Zone B or Zone C, etc).
Logic AND gates are available as standard i.c. packages such as the common TTL 74LS08
Quadruple 2-input Positive AND Gates, (or the 4081 CMOS equivalent) the TTL 74LS11 Triple
3-input Positive AND Gates or the 74LS21 Dual 4-input Positive AND Gates. AND Gates can
also be ―cascaded‖ together to produce circuits with more than just 4 inputs.
The NOT gate or inverter is the simplest of all logic gates. It has only one input and one output;
where the output is opposite of the input. It is called inverter because it inverts the input.
The inversion indicator for a logic NOT function is a ―bubble‖, ( O ) symbol on the output (or
input) of the logic elements symbol. In Boolean algebra the inverting Logic NOT Function
follows the Complementation Law producing inversion.
When designing logic circuits and you may only need one or two inverters within your design,
but do not have the space or the money for a dedicated Inverter chip such as the 74LS04. Then
you can easily make a logic NOT function easily by using any spare NAND or NOR gates by
simply connecting their inputs together as shown below.
(i) NAND Gate: it is a combination of AND gate and NOT gate. In other words, output
of AND gate is connected to the input of a NOT gate
The outputs of all NAND gates are high if any of the inputs are low. The symbol is
an AND gate with a small circle on the output. The small circle represents inversion.
The Boolean expression for NAND function is:
Y = A.B i.e. Y = not A . B
The Logic NOR Function output is only true when all of its inputs are false, otherwise the output
is always false
The Logic NOR Function only produces and output when ―ALL‖ of its inputs are not present
and in Boolean Algebra terms the output will be TRUE only when all of its inputs are FALSE.
The truth table for the NOR function is the opposite of that for the previous OR function because
the NOR gate performs the reverse operation of the OR gate. Then we can see that the NOR gate
is the complement of the OR gate.
The NOR Function is sometimes known as the Pierce Function and is denoted by a downwards
arrow operator as shown, A NOR B = A↓B.
Logic NOR gates are available as standard i.c. packages such as the TTL 74LS02 Quadruple 2-
input NOR Gate, the TTL 74LS27 Triple 3-input NOR Gate or the 74LS260 Dual 5-
input NOR Gate.
Boolean Algebra uses a set of Laws and Rules to define the operation of a digital logic circuit
As well as the logic symbols ―0‖ and ―1‖ being used to represent a digital input or output, we can
also use them as constants for a permanently ―Open‖ or ―Closed‖ circuit or contact respectively.
A in parallel with
A+1=1 Annulment
closed = ―CLOSED‖
A in parallel with
A+0=A Identity
open = ―A‖
A in series with
A.1=A Identity
closed = ―A‖
A in parallel with
A+A=A Idempotent
A = ―A‖
A in series with
A.A=A Idempotent
A = ―A‖
NOT NOT A
NOT A = A Double Negation
(double negative) = ―A‖
A in parallel with
A+A=1 Complement
NOT A = ―CLOSED‖
A in series with
A.A=0 Complement
NOT A = ―OPEN‖
A in parallel with B=
A+B = B+A Commutative
B in parallel with A
The basic Laws of Boolean Algebra that relate to the Commutative Law allowing a change in
position for addition and multiplication, the Associative Law allowing the removal of brackets
for addition and multiplication, as well as the Distributive Law allowing the factoring of an
expression, are the same as in ordinary algebra.
Each of the Boolean Laws above are given with just a single or two variables, but the number of
variables defined by a single law is not limited to this as there can be an infinite number of
variables as inputs too the expression. These Boolean laws detailed above can be used to prove
any given Boolean expression as well as for simplifying complicated digital circuits.
A brief description of the various Laws of Boolean are given below with A representing a
variable input.
Annulment Law – A term AND´ed with a ―0‖ equals 0 or OR´ed with a ―1‖ will equal 1
Identity Law – A term OR´ed with a ―0‖ or AND´ed with a ―1‖ will always equal that term
Complement Law – A term AND´ed with its complement equals ―0‖ and a term OR´ed with
its complement equals ―1‖
Commutative Law – The order of application of two separate terms is not important
Double Negation Law – A term that is inverted twice is equal to the original term
Distributive Law – This law permits the multiplying or factoring out of an expression.
Absorptive Law – This law enables a reduction in a complicated expression to a simpler one
by absorbing like terms.
1. NULL 0
2. IDENTITY 1
3. Input A A
4. Input B B
5. NOT A A
6. NOT B B
DeMorgan´s Theorem and Laws can be used to to find the equivalency of the NAND and NOR
gates.
DeMorgan’s Theory
DeMorgan’s Theorems are basically two sets of rules or laws developed from the Boolean
expressions for AND, OR and NOT using two input variables, A and B. These two rules or
theorems allow the input variables to be negated and converted from one form of a Boolean
function into an opposite form.
DeMorgan‘s first theorem states that two (or more) variables NOR´ed together is the same as the
two variables inverted (Complement) and AND´ed, while the second theorem states that two (or
more) variables NAND´ed together is the same as the two terms inverted (Complement) and
OR´ed. That is replace all the OR operators with AND operators, or all the AND operators with
an OR operators
0 0 0 1 1 1 1
0 1 0 1 0 1 1
1 0 0 1 1 0 1
We can also show that A.B = A+B using logic gates as shown.
The top logic gate arrangement of: A.B can be implemented using a NAND gate with
inputs A and B. The lower logic gate arrangement first inverts the two inputs
producing A and B which become the inputs to the OR gate. Therefore the output from
the OR gate becomes: A+B
Thus an OR gate with inverters (NOT gates) on each of its inputs is equivalent to a NAND gate
function, and an individual NAND gate can be represented in this way as the equivalency of
a NAND gate is a negative-OR.
0 0 0 1 1 1 1
0 1 1 0 0 1 0
1 0 1 0 1 0 0
1 1 1 0 0 0 0
We can also show that A+B = A.B using logic gates as shown.
The top logic gate arrangement of: A+B can be implemented using a NOR gate with
inputs A and B. The lower logic gate arrangement first inverts the two inputs
producing A and B which become the inputs to the AND gate. Therefore the output from
the AND gate becomes: A.B
Thus an AND gate with inverters (NOT gates) on each of its inputs is equivalent to a NOR gate
function, and an individual NOR gate can be represented in this way as the equivalency of
a NOR gate is a negative-AND.
Although we have used DeMorgan‘s theorems with only two input variables A and B, they are
equally valid for use with three, four or more input variable expressions, for example:
For a 3-variable input
A.B.C = A+B+C
and also
A+B+C = A.B.C
For a 4-variable input
A.B.C.D = A+B+C+D
and also
A+B+C+D = A.B.C.D and so on.
EEC 234 (Electronics 2)_ By Engr. A. Ojo-Williams For ND II
DeMorgan’s Equivalent Gates
We have seen here that DeMorgan‘s Theorems replace all of the AND (.) operators with OR (+)
and vice versa and then complements each of the terms or variables in the expression by
inverting it, that is 0‘s to 1‘s and 1‘s to 0‘s before inverting the entire function.
Thus to obtain the DeMorgan equivalent for an AND, NAND, OR or NOR gate, we simply add
inverters (NOT-gates) to all inputs and outputs and change an AND symbol to an OR symbol or
change an OR symbol to an AND symbol as shown in the following table.
First observations tell us that the circuit consists of a 2-input NAND gate, a 2-input EX-OR gate
and finally a 2-input EX-NOR gate at the output. As there are only 2 inputs to the circuit
labelled A and B, there can only be 4 possible combinations of the input ( 22 ) and these are: 0-
0, 0-1, 1-0 and finally 1-1. Plotting the logical functions from each gate in tabular form will give
us the following truth table for the whole of the logic circuit below.
A B C D Q
0 0 1 0 0
0 1 1 1 1
1 0 1 1 1
1 1 0 0 1
From the truth table above, column C represents the output function generated by
the NAND gate, while column D represents the output function from the Ex-OR gate. Both of
these two output expressions then become the input condition for the Ex-NOR gate at the output.
It can be seen from the truth table that an output at Q is present when any of the two
inputs A or B are at logic 1. The only truth table that satisfies this condition is that of
an OR Gate. Therefore, the whole of the above circuit can be replaced by just one single 2-
input OR Gate.
This system may look more complicated than the other two to analyse but again, the logic circuit
just consists of simple AND, OR and NOT gates connected together.
As with the previous Boolean examples, we can simplify the circuit by writing down the Boolean
notation for each logic gate function in turn in order to give us a final expression for the output
at Q.
The output from the 3-input AND gate is only at logic ―1‖ when ALL the gates inputs are HIGH
at logic level ―1‖ (A.B.C). The output from the lower OR gate is only a ―1‖ when one or both
inputs B or C are at logic level ―0‖. The output from the 2-input AND gate is a ―1‖ when
input A is a ―1‖ and inputs B or C are at ―0‖. Then the output at Q is only a ―1‖ when
inputs A.B.C equal ―1‖ or A is equal to ―1‖ and both inputs B or C equal ―0‖, A.(B+C).
By using ―de Morgan’s theorem‖ inputs B and input C cancel out as to produce an output
at Q they can be either at logic ―1‖ or at logic ―0‖. Then this just leaves input A as the only input
needed to give an output at Q as shown in the table below.
0 0 0 0 1 1 1 0 0
0 0 1 0 1 1 1 1 1
0 1 0 0 0 1 1 0 0
0 1 1 0 0 1 1 1 1
1 0 0 0 1 0 1 0 0
1 0 1 0 1 0 1 1 1
1 1 0 0 0 0 0 0 0
1 1 1 1 0 0 0 0 1
Then we can see that the entire logic circuit above can be replaced by just one single input
labelled ―A‖ thereby reducing a circuit of six individual logic gates to just one single piece of
EEC 234 (Electronics 2)_ By Engr. A. Ojo-Williams For ND II
wire, (or Buffer). This type of circuit analysis using Boolean Algebra can be very powerful and
quickly identify any unnecessary logic gates within a digital logic design thereby reducing the
number of gates required, the power consumption of the circuit and of course the cost.
Q= (A + B).(A + C)
(i) (A + B) (B + C + D) A (C = D) + B
(ii) X = (A + B) . (C + D)
QUIZ 5
1. Show the circuits to demonstrate how the AND gate, NAND gate and OR gate can be
used as switches
2. State the two laws of De-Morgan‘ theorems
3. Find the Boolean algebra expression for the following system.
The power supply can be defined as it is an electrical device used to give electrical supply to
electrical loads. The main function of this device is to change the electrical current from a
source to the accurate voltage, frequency and current to supply the load. Sometimes, these
power supplies can be named to as electric power converters. Some types of supplies are
separate pieces of loads, whereas others are fabricated into the appliances that they control.
The Power supply circuit is used in various electrical & electronic devices. The power supply
circuits are classified into different types based on the power they utilize for providing for
circuits or devices. For instance, the microcontroller based circuits are generally the 5V DC
regulated power supply (RPS) circuits, which can be designed with the help of different method
for changing the power from 230V AC to 5V DC.
The power supply circuit and the step by step conversion of 230V AC to 12V DC are discussed
below.
An SMPS power supply or computer power supply is one type of power supply that includes a
switching regulator for converting electrical-power powerfully. Similar to other power supplies,
this power supply transmits the power from a DC source or AC source to DC loads, such as a PC
(personal computer), while changing the characteristics of current and voltage. Please refer this
link to know more about Know All about Switch Mode Power Supply.
A UPS (uninterruptible power supply) is an electrical device that permits a PC to keep working
for some time as the main power supply is lost. This device is also given protection from power
flow.
When both the primary and secondary power sources run out, any data in your PC‘s RAM
(random access memory) is erased. When power loss occurs, a secondary power source stops the
loss of power so that it doesn‘t harm the personal computer. Please refer this link to know more
about Uninterruptible Power Supply Circuit Diagram and Working
3) AC Power Supply
Typically, an AC power supply acquires the voltage from the mains supply and the voltage can
be step up or step down by using a transformer to the required voltage and some filtering may
take place. The different types of AC power supplies are designed to offer an almost stable
current, and o/p voltage may change based on the load‘s impedance. In some cases, as the power
supply is DC, a step-up transformer and an inverter may be utilized for converting it into AC
power. Some sorts of AC power alteration don‘t use a transformer.
If the input and output voltages are the similar and main function of the apparatus is to filter AC
power. If the apparatus is designed for providing backup power, then it may be named as an
uninterruptable power supply (UPS). At present, AC power supplies are classified into two types
namely single phase systems as well as three phase systems. The main differences between these
two are dependability of delivery. These supplies can also be applicable for changing the voltage
as well as frequency
4) DC Power Supply
A DC power supply is one that provides a consistent DC voltage to its load. Based on its plan, a
DC power supply might be controlled from a DC supply or from an AC supply like the power
mains.
This type of power supply permits remote control for its operation via analog input otherwise
digital interfaces like GPIB or RS232. The controlled properties of this supply include current,
voltage, frequency. These type of supplies are used in a wide range of applications like
fabrication of semiconductors, X-ray generators, monitoring of crystal growth, automated
apparatus testing.
Generally, these types of power supplies use an essential microcomputer for controlling as well
as monitoring the operation of a power supply. A power supply provided with an interface of
computer uses standard (or) proprietary communication protocols, and device control language
like SCPI (standard-commands-for-programmable-instruments)
The power supply unit in a computer is the part of the hardware that is used for changing the
power supplied from the outlet into utilizable power for the several parts of the computer. It
converts the alternating current into direct current
It also controls over-heating through controlling voltage, which may modify manually or
automatically based on the power supply. The PSU or power supply unit is also called as a power
converter or a power pack
An RPS (regulated power supply) is a fixed circuit used to change unregulated alternating
current into a stable direct current. Here rectifier is used to change AC supply to DC, and its
main function is to give a stable voltage to a device or circuit that should be functioned in a
particular limit of the power supply. The output of the RPS may be changing (or) unidirectional,
but it always DC (direct current).
The sort of stabilization used can be controlled to ensuring that the o/p remains in certain
restrictions beneath various load conditions
The process of obtaining unidirectional currents and voltages from alternating currents and
voltages is called rectification. The process of converting the AC current into DC current is
called rectification. Rectification can be achieved by using a single diode or group of diodes.
These diodes which convert the AC current into DC current are called rectifiers.
Automatic switching in circuits is carried out by diodes. For methods of half-wave and full wave
rectification, see the figures below:
A half wave rectifier is defined as a type of rectifier that only allows one half-cycle of an AC
voltage waveform to pass, blocking the other half-cycle. Half-wave rectifiers are used to convert
AC voltage to DC voltage, and only require a single diode to construct as shown in figure 5.1
A full wave rectifier is a type of rectifier which converts both half cycles of the AC signal into
pulsating DC signal.
As shown in the figure below, the full wave rectifier converts both positive and negative half
cycles of the input AC signal into output pulsating DC signal.
The full wave rectifier is further classified into two types: center tapped full wave rectifier and
full wave bridge rectifier
240V
50Hz
The power supply is the essential component in every electrical or electronic system. There are
various requirements that need to be considered while choosing an exact power supply such as;
necessities of power for the circuit or load mainly include voltage and current. The safety
features of the power supply circuit like current and voltage limits for protecting the load,
efficiency, physical size, and system noise immunity.
FILTER CIRCUITS
Active Filter
Passive Filter
Active Filters
Filter Circuit which consists of active components like Transistors and Op-amps in addition to
Resistors and Capacitors is called Active Filter.
Passive Filters
Filter circuit which consists of passive components such as Resistors, Capacitors and Inductors is
called as Passive Filter (e,g. Capacitor filter, choke input filter and capacitor input filter). The
operating frequency range of the filter banks on the components used to build the circuit. Hence
the filter can be further categorized based on the operating frequency of a particular circuit. They
are:
Low Pass Filter
High Pass Filter
Band Pass Filter
Band Stop Filter
All Pass Filter
VOLTAGE STABILIZATION
A rectifier with an appropriate filter serves as a good sources of d,c output. However, the major
disadvantage of such a power supply is that the output voltage changes with the variations in the
input voltage or load. Thus if the input voltage increases, the d,c output voltage of the rectifier
also increases. Similarly, if the load current increases, the output voltage falls due to the voltage
drop in the rectifying element, filter chokes, transformer windings etc. in many electronic
applications, it is desired that the output voltage remain constant regardless of the variations in
the input voltage or load. In other to ensure this, a voltage stabilizing device, called voltage
stabilizer is used.
IC VOLTAGE REGULATORS
Voltage regulators comprise a class of widely used IC Regulator. IC units contain the circuitry
for for reference source, comparator amplifier, control device and overload protection all in a
single IC. IC units provide regulation of either a fixed negative , or an adjustably set voltage.
Fixed-Output Regulator
Positive Regulator in Negative Configuration
Adjustable Output Regulator
Current Regulator
Adjustable DC Voltage Regulator
Regulated Dual-Supply
Output Polarity-Reversal-Protection Circuit
Reverse bias projection Circuit
The IC 7805 also finds usage in building circuits for inductance meter, phone charger,
portable CD player, infrared remote control extension and UPS power supply circuits.
If we have a system with input 15 volts and output current required is .5 amperes, we
have: (15 – 5) x 0.5 = 10×0.5 =5W;
So twice the energy, that is actually utilized is wasted. On the other hand, if 9V is given
as input at the same amount of load: (9-5) x 0.5 = 2W
Note: The higher the input voltage, the less efficient the 7805 will be.
IC Output Minimum
Part Voltage Voltage (V)
7806 +6 +8.3
7808 +8 +10.5
7810 +10 +12.5
7812 +12 +14.6
7815 +15 +17.7
7818 +18 +21
7824 +24 +27.1
7905 -5 -7.3
7906 -6 -8.4
7908 -8 -10.5
7909 -9 -11.5
7912 -12 -14.6
7915 -15 -24
7918 -18 -20.8
7924 -24 -27.1
ASSIGNMENT 6
1. In groups of three, design and construct by choosing any of 5v or /12v or /24v regulated
power supply
2. Write your report to include various testing carried out
3. What are the benefits and challenges in using a regulated power supply