Analog and Digital Electronics Overview
Analog and Digital Electronics Overview
18CS33
The Figure (a) describes the basic operation of an optocoupler. When current is not being applied via Pin
1, the LED is off, and the circuit connected to Pins 4 and 5 is experiencing no current flow. When power
is applied to the input circuit, the LED switches on, the sensor detects the light, closes the switch and
initiates current flow in the output circuit, as shown in the Figure (b).
Applications:
• Input and output switching in electronically noisy environments.
• Controlling transistors and triacs.
• Switch-mode power supplies.
• PC/ Modem communication.
• Signal isolation.
• Power control.
BJT BIASING
A transistor (Bipolar Junction Transistor-BJT) is a sandwich of one type of semiconductor (P-type or N-
type) between two layers of other type. Transistors are of two types: p-n-p transistor and n-p-n transistor.
There are three distinct regions (hence, terminals) in a transistor: Emitter, Base, and Collector.
For any circuit, four-terminals would be required: two-input-terminals and two-output-terminals. Hence,
for a transistor, one of the three terminals will be common to both input and output in a circuit. Thus,
there are three different modes of operation for a transistor: Common-Base Connection (CB), Common
Emitter Connection (CE), and Common Collector Connection (CC).
Transistor Biasing is the establishment of suitable dc-values such as IC, VCE, IB, etc., by using a dc-source.
When BJT is properly biased, amplification of signal takes place. There are mainly three types of biasing
a transistor: Base bias or Fixed bias, Collector-to-Base bias, Voltage-divider bias.
7
ANALOG AND DIGITAL ELECTRONICS
18CS33
Applying Kirchoff’s Voltage Law (KVL) to the base circuit;
VCC – IBRB – VBE = 0
Or, IB = (VCC – VBE)/RB --------------------- (1)
VBE is 0.7 V for Silicon and 0.3 V for Germanium transistor.
Applying the KVL to the collector circuit;
VCC – ICRC – VCE = 0
Or, VCE = VCC - ICRC -------------------- (2)
Note that, the voltage and current polarities are reversed in base bias circuits of npn- and pnp-transistors;
but, the same KVL equations are applicable.
8
ANALOG AND DIGITAL ELECTRONICS
18CS33
9
ANALOG AND DIGITAL ELECTRONICS
18CS33
COLLECTOR-TO-BASE BIAS CIRCUIT:
The collector-to-base bias circuit shown in the following Figure, has the base resistor RB connected
between the transistor collector and base terminals. This circuit has significantly improved bias stability
for hfe changes compared to base bias.
Effect of IC or β: Any changes in VCE changes IB, the change in IB causes IC to change. If IC increases
above the design level, there is an increased voltage drop across RC; resulting in reduction of VCE. The
reduced VCE causes IB to be lower. If IB decreases, IC also decreases, as IC = βIB. Similarly, a reduction in
IC produces an increase in VCE, which increase IB, thus tending to increase IC back to the original level.
Thus an increase/ decrease in IC produces a feedback effect that tends to return IC toward its original level.
In the collector-to-base bias circuit, the feedback from the collector-to-base reduces the effect of
β (due to transistor replacement). Thus collector-to-base bias has greater stability than base bias, for a
given range of β values.
10
ANALOG AND DIGITAL ELECTRONICS
18CS33
VOLTAGE DIVIDER (EMITTER CURRENT) BIAS CIRCUIT:
Voltage divider bias is the most stable of the three basic transistor biasing circuits. A voltage divider
circuit is shown in the following Figure.
There is an emitter resistor RE connected in series with Emitter terminal, so that the total dc load in series
with the transistor is (RC + RE). Resistors R1 and R2 constitutes a voltage VB.
Applying KVL to the loop VCC, R1, and R2, we get;
VCC – I1R1 – I2R2 = 0 Or, I1R1 + I2R2 = VCC -------------------- (5)
We have; I1 = I2 + IB
Voltage divider bias circuits are normally designed to have a voltage divider current I2 very much greater
than transistor base current IB. i.e., I2 >> IB. Hence, I1 ≈ I2 -------------------- (6)
Using 6 in 5; I2R1 + I2R2 = VCC i.e., I2 (R1 + R2) = VCC Or, I2 = (VCC) / (R1 + R2)
VB is the voltage across R2. i.e., VB = I2R2 Or, VB = (VCC * R2) / (R1 + R2)
VE is the voltage across RE. i.e., VE = IERE
Applying KVL to the collector-emitter loop; VCC – ICRC – VCE – ICRE = 0 [IE ≈ IC]
i.e., VCE = VCC – IC (RC + RE)
11
ANALOG AND DIGITAL ELECTRONICS
18CS33
MULTIVIBRATORS USING IC-555
A multivibrator (like an oscillator) is a circuit with regenerative feedback, which produces a pulsed
output. There are three basic types of multivibrator circuits:
• Astable – has no stable states, but switches continuously between two states. This action produces
a train of square wave pulses at a fixed frequency.
• Monostable – one of the states is stable, but the other state is unstable (transient).
• Bistable – the circuit is stable in either state.
Timer IC-555:
Timer IC-555 is the one of the most commonly used general-purpose linear integrated circuits.
12
ANALOG AND DIGITAL ELECTRONICS
18CS33
OPERATIONAL AMPLIFIER (OP-AMP) APPLIATION CIRCUITS
An Op-Amp is a direct-coupled high gain, high bandwidth differential amplifier with very high value of
input impedance and very low value of output impedance.
3. Open-loop (differential voltage) gain, Ad = ∞ Output Impendence is zero Output impedance range from 10Ω
to 100Ω
Based on these three assumptions,
Open loop differential voltage gain is Open loop gain is in the range of
other assumptions can be derived: infinite 10,000 to 100,000
20
ANALOG AND DIGITAL ELECTRONICS
18CS33
PEAK DETECTORS:
Peak detector detects holds the most positive value attained by the input signal. The following Figure
shows peak detector circuit.
During positive half cycle of the input, D-conducts and capacitor charges to peak (highest) value of the
input. Capacitor retains its charged value unless and until it discharges with a help of switch.
The op-amp is connected as a voltage follower and its output voltage will be equal the drop
across capacitor which is positive peak value of the applied voltage and will remain that for long periods
until next more higher peak occurs at the input. For negative cycle of input, the diode is reverse biased
and capacitor retains its value.
Modified Peak Detector:
More sophisticated peak detector that buffers the signal source from the capacitor is shown in the
following Figure.
As Op-Amp (A1) is connected as voltage follower, the circuit presents very high impedance to the signal
source. Op-Amp (A2) acts as a buffer between the capacitor and the load. Output (V0) at any given time is
equal to the voltage on the capacitor which is nothing but, the peak value of the input occurred up to that
time.
Whenever the input signal has higher peak than the present one, the capacitor charges up to new
high input level. Whenever input level gets dropped, then capacitor retains the peak value of input, as
21
ANALOG AND DIGITAL ELECTRONICS
18CS33
diode D1 gets reverse biased and diode D2 prevents amplifier A1 output from going into negative
saturation.
To hold the negative peak of the input signal, reverse the diode connections in the above Figure.
Applications:
o Used for AM in communication
o Used in test and measurement instrumentation applications.
Hence, the voltage at the output switches from +Vsat to –Vsat or vice-versa; are called Upper Trigger Point
(UTP) and Lower Trigger Point (LTP). The difference between two trigger points is called Hysteresis.
The upper and lower trigger points can be written as;
𝑅𝑅2 𝑅𝑅2
𝑈𝑈𝑈𝑈𝑈𝑈 = 𝑒𝑒 𝑉𝑉𝑠𝑠𝑠𝑠𝑠𝑠 𝐿𝐿𝐿𝐿𝐿𝐿 = (−𝑉𝑉𝑠𝑠𝑠𝑠𝑠𝑠 )
(𝑅𝑅1 +𝑅𝑅2 ) (𝑅𝑅1 +𝑅𝑅2 )
22
ANALOG AND DIGITAL ELECTRONICS
18CS33
Non-Inverting Schmitt Trigger:
The input voltage Vin is applied to the non-inverting input terminal and the feedback voltage also goes to
the non-inverting terminal. The inverting terminal is grounded..
Initially, assume that the output is in the negative saturation (–Vsat). Then the feedback voltage is also
negative. This feedback voltage will hold the output in negative saturation, until the input voltage
becomes positive enough to make voltage positive.
When Vin becomes positive and its magnitude becomes greater than (R2/R1)Vsat, then the output switches
to +Vsat. Therefore, the UTP at which the output switches to +Vsat is given by;
𝑅𝑅2 𝑉𝑉𝑠𝑠𝑠𝑠𝑠𝑠
𝑈𝑈𝑈𝑈𝑈𝑈 =
𝑅𝑅1
Similarly, when Vin becomes negative and its magnitude becomes greater than (R2/R1)Vsat, then the output
switches to –Vsat. Therefore, the LTP at which the output switches to –Vsat is given by;
𝑅𝑅2 𝑉𝑉𝑠𝑠𝑠𝑠𝑠𝑠
𝑈𝑈𝑈𝑈𝑈𝑈 = −
𝑅𝑅1
𝑅𝑅2
𝑉𝑉ℎ𝑦𝑦𝑦𝑦 = 𝑈𝑈𝑈𝑈𝑈𝑈 − 𝐿𝐿𝐿𝐿𝐿𝐿 = 2 � � 𝑉𝑉𝑠𝑠𝑠𝑠𝑠𝑠 = 2𝛽𝛽𝑉𝑉𝑠𝑠𝑠𝑠𝑠𝑠
𝑅𝑅1
𝑅𝑅2
𝛽𝛽 =
𝑅𝑅1
Applications of Schmitt Trigger:
Schmitt trigger is used in many applications, where level needs to be sensed. Hysteresis is used to reduce
the multiple transitions that can occur around.
o Digital to analog conversion
o Level detection
o Line reception.
23
ANALOG AND DIGITAL ELECTRONICS
18CS33
24
ANALOG AND DIGITAL ELECTRONICS
18CS33
25
ANALOG AND DIGITAL ELECTRONICS
18CS33
26
ANALOG AND DIGITAL ELECTRONICS
18CS33
ACTIVE FILTERS:
Filter is a frequency selective circuit commonly used in signal processing that passes signal of specified
range of frequencies and blocks the signals of frequencies outside the band. Active filters are attractive
due to their –
• Flexibility in gain control
• Small component size
• No loading Problem
• Pass band gain
• Use of the inductors can be avoided
Filters are useful in many areas of applications, such as Communication and Signal Processing. They are
found in electronic systems like Radio, Television, Telephones, Radars, satellites, and Biomedical
instruments.
Filters
Passive filters work for high frequencies; but at audio frequencies, the inductors become problematic, as
they are large, heavy, high power dissipation, and expensive.
Active filters use Op-Amp as the active element, resistors and capacitors as passive elements.
SNo. Passive Filters Active Filters
Filters with only components like Filters with components such as Op-Amps,
1 resistors, capacitors, and inductors are transistors, and other active elements are known
known as passive filters. as active filters.
Passive filters do not require an external
Active filters require an external power supply
2 power source for operation; incapable of
for operation; capable of providing power gain.
providing power gain.
Better stability and can withstand large Oscillations and noise will be generated due to
3
currents. feedback loops.
4 A passive filter has no frequency Due to active elements, active filters have
27
ANALOG AND DIGITAL ELECTRONICS
18CS33
limitations. frequency limitations.
Passive filters circuits are bulky/ heavy
due to the presence of inductors; they Active filters circuits are more compact, less
5
consume more power and operate with heavy; and operate with high speed.
limited speed.
Difficult to fabricate in IC form and
Can be fabricated in IC form and usually
6 usually designed using discrete
designed using discrete components.
components.
Frequency Response:
28
ANALOG AND DIGITAL ELECTRONICS
18CS33
Design:
An active filter generally uses Op-Amp. Op-Amp has very high input impedance and low output
impedance. The gain is determined by the resistive network in the feedback loop.
First Oder Active Low-Pass Filter (LPF):
The first-order low-pass butter worth filter consists of a single RC filter stage, providing a low frequency
path to the non-inverting input of an Op-Amp. The circuit diagram and the frequency response of the
circuit is given below:
• From the graph; the gain (AF) is almost constant for the frequency range: 0 < f < fH.
• At cut-off frequency, f = fH, the gain is 0.707AF.
• After cut-off frequency fH, the gain decreases at the rate of 20 dB/decade.
1
• The cut-off frequency is given by: 𝑓𝑓𝐻𝐻 =
2𝜋𝜋𝜋𝜋𝜋𝜋
𝑅𝑅𝑓𝑓
• Pass band gain is given by: 𝐴𝐴𝐹𝐹 = 1 + 𝑅𝑅1
29
ANALOG AND DIGITAL ELECTRONICS
18CS33
30
ANALOG AND DIGITAL ELECTRONICS
18CS33
• After cut-off frequency fH, the gain decreases at the rate of 40 dB/decade.
1
• The cut-off frequency is given by: 𝑓𝑓𝐻𝐻 = .
2𝜋𝜋 �𝑅𝑅2 𝑅𝑅3 𝐶𝐶2 𝐶𝐶3
1
o If R2 = R3 = R & C2 = C3 = C; then 𝑓𝑓𝐻𝐻 =
2𝜋𝜋𝜋𝜋𝜋𝜋
𝑅𝑅𝑓𝑓
• Pass band gain is given by: 𝐴𝐴𝐹𝐹 = 1 + 𝑅𝑅1
31
ANALOG AND DIGITAL ELECTRONICS
18CS33
𝑉𝑉
• At low frequency: f < fL, 𝑉𝑉 0 < AF. AF increases at the rate of 20 dB/decade till f = fL.
𝑖𝑖𝑖𝑖
32
ANALOG AND DIGITAL ELECTRONICS
18CS33
1
• The cut-off frequency is given by: 𝑓𝑓𝐿𝐿 = .
2𝜋𝜋 �𝑅𝑅2 𝑅𝑅3 𝐶𝐶2 𝐶𝐶3
1
o If R2 = R3 = R & C2 = C3 = C; then 𝑓𝑓𝐿𝐿 =
2𝜋𝜋𝜋𝜋𝜋𝜋
𝑅𝑅𝑓𝑓
• Pass band gain is given by: 𝐴𝐴𝐹𝐹 = 1 + 𝑅𝑅1
33
ANALOG AND DIGITAL ELECTRONICS
18CS33
The cut-off frequency of the low-pass filter is higher than the cut-off frequency of the high-pass filter; and
the difference between these frequencies at the –3dB point will give the ‘bandwidth’ of the band-pass
filter. A band-pass filter can be characterized by Quality factor (Q). The relation between Q, 3dB
𝑓𝑓 𝐶𝐶 𝑓𝑓 𝐶𝐶
bandwidth, and the centre frequency, fC, is given by; 𝑄𝑄 = 𝐵𝐵𝐵𝐵
= 𝑓𝑓 𝐻𝐻 − 𝑓𝑓𝐿𝐿
34
ANALOG AND DIGITAL ELECTRONICS
18CS33
Wide Band-Pass Filter:
A low Q-filter will have a wide-pass-band; i.e., with Q < 10. It has wide flat response over the range of
frequencies and bandwidth is large.
𝑓𝑓 𝐶𝐶 1 𝑅𝑅1
• 𝑄𝑄𝐵𝐵𝐵𝐵 = 𝐵𝐵𝐵𝐵 3𝑑𝑑𝑑𝑑
= �
2 𝑅𝑅2
35
ANALOG AND DIGITAL ELECTRONICS
18CS33
𝑅𝑅
• Maximum Gain, 𝐴𝐴𝑣𝑣 = − 2𝑅𝑅2 = −2𝑄𝑄 2
1
36
ANALOG AND DIGITAL ELECTRONICS
18CS33
37
ANALOG AND DIGITAL ELECTRONICS
18CS33
A twin-T network offers very high reactance at the resonance frequency and very low reactance at
frequency off-resonance. In the circuit diagram, very low frequency signals find their way to the output
via low-pass filter (formed by R1 – R2 – C3); and very high frequency signals find their way to the output
via high-pass filter (formed by C1 – C2 – R3). Hence, in an intermediate band of frequencies, both filters
pass signals to the output; due to cancellation of +ve phase shift of high-pass filter with the –ve phase
shift of the low-pass filter.
38
ANALOG AND DIGITAL ELECTRONICS
18CS33
The above Figure shows a non-linear amplifier, where diode ‘D’ is used in negative feedback path. By
virtual ground concept; as node B is grounded, node A will be virtually grounded. Therefore, VA = 0.
MAHESH PRASANNA K., VCET, PUTTUR
39
ANALOG AND DIGITAL ELECTRONICS
18CS33
𝑉𝑉 𝑖𝑖𝑖𝑖 −𝑉𝑉𝐴𝐴 𝑉𝑉 𝑖𝑖𝑖𝑖
We have;𝐼𝐼 = 𝑅𝑅
= 𝑅𝑅
since VA = 0.
Let If be the current through the diode. The voltage across diode is VA – V0. Since, VA = 0, the voltage
across diode is –V0.
𝐼𝐼
Diode equation: −𝑉𝑉0 = 𝜂𝜂𝑉𝑉𝑇𝑇 ln � 𝑓𝑓 �
𝐼𝐼𝑟𝑟
The above equation shows that, the output voltage is a logarithmic function of input voltage.
RELAXATION OSCILLATOR:
Relaxation oscillator is a non-linear electronic oscillator circuit that generates a continuous non-sinusoidal
output signal in the form of rectangular wave, triangular wave or a saw-tooth wave. The time period of
non-sinusoidal output depends on the charging time of the capacitor connected in the oscillator circuit.
The relaxation oscillator basically contains a feedback loop that has a switching device in the form of
transistor, relays, operational amplifiers, comparators, or a tunnel diode that charges a capacitor through a
resistance till it reaches a threshold level then discharges it again. The following Figure shows the basic
circuit of an Op-Amp based relaxation oscillator.
40
ANALOG AND DIGITAL ELECTRONICS
18CS33
Assume that, the output is initially in positive saturation. As a result, voltage at non-inverting input of Op-
Amp is +VSAT * R1 / (R1 + R2). This force the output to stay in positive saturation as the capacitor C is
initially in fully discharged state. Capacitor C starts charging towards +VSAT through R. The moment the
capacitor voltage exceeds the voltage appearing at the non-inverting input, the output switches to –VSAT.
Now, the voltage appearing at the non-inverting input changes to –VSAT * R1 / (R1 + R2). The
capacitor starts discharging and after reaching zero, it begins to discharge towards –VSAT. Again, as soon
as it becomes more negative than the voltage appearing at the non-inverting input of the Op-Amp, the
output switches back to +VSAT.
1+𝛽𝛽
The expression for the time period of the output rectangular waveform is given by; 𝑇𝑇 = 2 𝑅𝑅𝑅𝑅 ln ( )
1−𝛽𝛽
In the above equation; the natural logarithm is used, which is logarithm to base e. By varying the value
of resistor R, the time period of the output waveform can be varied.
β is the feedback fraction/ factor and is given by β = R1/ (R1+R2)
When the output voltage V0 is at at +VSAT the feedback voltage is known as upper threshold voltage VUTP
and is given by +VSAT x R1/ (R1+ R2)
When the output voltage V0 is at at –VSAT the feedback voltage is known as lower threshold voltage VLTP
and is given by –VSAT x R1/ (R1+ R2)
𝑉𝑉 𝑖𝑖
Since, voltage at node A is Vi; 𝑉𝑉𝑖𝑖 = 𝐼𝐼𝐿𝐿 𝑅𝑅1 Or, 𝐼𝐼𝐿𝐿 = 𝑅𝑅1
41
ANALOG AND DIGITAL ELECTRONICS
18CS33
b) Voltage to Current Converter with Grounded Load: The circuit is shown in the following
Figure.
42
ANALOG AND DIGITAL ELECTRONICS
18CS33
VOLTAGE REGULATORS
All electronic systems that we use daily, requires a stable power supply voltage source; and voltage
regulators accomplish that. Voltage regulator is a circuit that keeps the output voltage constant under all
operating conditions. Voltage regulation is the process of keeping a voltage steady under conditions of
changing applied voltage, changing load and temperature.
There are two types of voltage regulators: shunt and series.
Input to the voltage regulator is unregulated pulsating DC obtained from filter rectifier. Its output is
constant DC voltage which is almost ripple free. The following Figure shows block diagram of regulated
power supply.
The transformer provides voltage transformation and electrical isolation between the input power supply
(AC mains) and the DC output. The rectifier circuit changes the AC voltage appearing across the
transformer secondary to DC (unidirectional output). The rectifier circuit always has some AC content
known as ripple. The filter circuit smoothens the ripple of the rectifier circuit. The regulator is a type of
feedback circuit that ensures that the output DC voltage does not change from its nominal value due to
change in line voltage or load current.
43
ANALOG AND DIGITAL ELECTRONICS
18CS33
Factors Affecting the Load Voltage:
The variables affecting the load voltage in a power supply are given below:
1. Load current (IL): Ideally the output voltage should remain constant in-spite of changes in the
load current, but practically the power supply without regulator, the load voltage decreases as
load current, IL, increases. For practical power supply regulator, the load voltage must be constant
through load to full load condition.
2. Line voltage: The input to the rectifier is AC (230 V) is the line voltage. This input decides the
output voltage level. If input changes, output also changes. So this affects the performance of
power supply. So ideally voltage must remain constant irrespective of any changes in the line
voltage.
3. Temperature: In the power supply, the rectifier unit is used which uses PN-junction diode. As the
diode characteristics are temperature dependent, the overall performance of the power supply is
temperature dependent.
44
ANALOG AND DIGITAL ELECTRONICS
18CS33
3. Voltage Stability factor (SV): Voltage stability factor shows the dependency of output voltage on
the input line voltage. Voltage stability factor is defined as the percentage change in the output
voltage which occurs per volt change in input voltage, where load current and temperature are
assumed to be constant. Smaller the value of this factor, better is the performance of power
supply.
4. Temperature Stability Factor (Sr): As in the chain of power supply we are using semiconductor
devices (diodes in rectifier block) the output voltage is temperature dependent. Thus the
temperature stability of the power supply will be determined by temperature coefficients of
various temperature sensitive semiconductor devices. So, it is better to choose the low
temperature coefficient devices to keep output voltage constant and independent of temperature.
Sr must be as small as possible, and ideally it should it should be zero for a power supply.
5. Ripple Rejection Factor (RR): The output of rectifier and filter consists of ripples. Ripple
rejection is defined as a factor which shows how effectively the regulator rejects the ripples and
attenuates it from input to output. As ripples in the output are small compared to input, the RR is
𝑉𝑉𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅 (𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂 )
very small and in dB, it is in negative value. Ripple rejection factor =
𝑉𝑉𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅 (𝐼𝐼𝐼𝐼𝐼𝐼𝐼𝐼𝐼𝐼 )
𝑉𝑉𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅 (𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂 )
When expressed in decibels, ripple rejection equals 20 log � 𝑉𝑉𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅 (𝐼𝐼𝐼𝐼𝐼𝐼𝐼𝐼𝐼𝐼 )
� 𝑑𝑑𝑑𝑑
𝑉𝑉𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅 (𝐼𝐼𝐼𝐼𝐼𝐼𝐼𝐼𝐼𝐼 )
Also, 𝑉𝑉𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅𝑅 (𝑜𝑜𝑜𝑜𝑜𝑜𝑜𝑜𝑜𝑜𝑜𝑜) =
1+𝐿𝐿𝐿𝐿𝐿𝐿𝐿𝐿 𝐺𝐺𝐺𝐺𝐺𝐺𝐺𝐺
Example: Two power supplies A and B are available in the market. Power supply A has no-load and full-
load voltages of 40 V and 30 V respectively; whereas these values are 30 V and 28 V for power supply B.
Which one do you think is better power supply?
Supply A: VNL = 40 V, VFL = 30 V
% Voltage regulation = [(VNL – VFL)/VFL]*100 = [(40 – 30)/30]*100 = 33 %.
Supply B: VNL = 30 V, VFL = 28 V
% Voltage regulation = [(VNL – VFL)/VFL]*100 = [(30 – 28)/28*]*100 = 7 %.
Conclusion: The power supply which has lower voltage regulation is better. Hence, power supply B is
between than power supply A.
Example: A regulated power supply operates from 220 ± 20 VAC. It produces a no-load regulated
output voltage of 24 ± 0.5 VDC. Also, the regulated output voltage falls from 24 VDC to 23.8 VDC as the
load changes from no-load to full-load condition for the nominal value of input voltage. Determine (a)
line regulation and (b) load regulation.
Line regulation = (24.5 – 23.5)/24 = 1/24 = 0.0417 = 4.17%
Load regulation = (24 – 23.8)/23.8 = 0.2/23.8 = 0.0084 = 0.84%.
45
ANALOG AND DIGITAL ELECTRONICS
18CS33
Example: A regulated power supply provides a ripple rejection of –80dB. If the ripple voltage in the
unregulated input were 2V, determine the output ripple.
V RIPPLE (OUTPUT )
Ripple rejection in dB is given by; 20 log � � dB = –80dB
V RIPPLE (INPUT )
V RIPPLE (OUTPUT )
Or log � V RIPPLE (INPUT )
�= –4
V RIPPLE (OUTPUT )
Or � V RIPPLE (INPUT )
� = 10–4
Example: The following Figure shows load voltage versus load current characteristics of a regulated
power supply. Determine the output impedance of the power supply.
Output impedance is given by ratio of change in the output voltage for known change in the load current.
From the given characteristic curve, output impedance = (24 – 23.5)/((10 – 0) = 0.5/10 = 0.05Ω = 50mΩ.
Three-Terminal Regulators:
Three-terminal regulators require no external components. These are available in fixed output voltage
(positive and negative) as well as adjustable output voltage (positive and negative) types with current
rating 100mA, 500mA, 1.5A and 3.0A.
o LM/MC 78XX-series and LM 140XX/340XX-series are the popular three-terminal positive
output voltage regulators.
o LM/MC 79XX-series and LM 120XX/320XX-series are the popular three-terminal negative
output voltage regulators.
o LM 117/217/317 is common adjustable positive output voltage regulators.
o LM 137/237/337 is common adjustable negative output voltage regulators.
A two-digit number in place of “XX” indicates the regulated output voltage.
The minimum unregulated input to regulated output differential voltage required for the regulator to
produce the intended regulated output voltage is known as dropout voltage. For example, consider a 5V
regulator with a 2V dropout voltage; for this to give a regulated output, the input voltage must be least
46
ANALOG AND DIGITAL ELECTRONICS
18CS33
equal to the output voltage (5V) plus the dropout voltage (2V), which is 7V; any input below 7V will
result into unregulated voltage output.
The following Figures show the basic application circuits using LM/MC 78XX-series and Lm/MC 79XX-
series three-terminal regulators.
Example: Refer three-terminal regulator circuit of following Figure. Determine (a) load current; (b)
current through LM 7812; (c) current through external transistor; (d) power dissipated in LM 7812. Take
VBE (Q1) = 0.7V.
47
ANALOG AND DIGITAL ELECTRONICS
18CS33
LM317 is a classic example of positive adjustable voltage regulator, whose output voltage can be varied
over a range of 1.2 V to 57 V. LM337 is an example of negative adjustable voltage regulator. LM337 is
actually a compliment of LM317 which are similar in operation and design with the only difference being
polarity of regulated output voltage.
D TO A & A TO D CONVERTERS
The digital system such as computers also need to communicate with physical processes and with people
through analog signals. So there is a need of digital to analog converters.
48
ANALOG AND DIGITAL ELECTRONICS
18CS33
circuit while conversion is taking place. The discrete signal from the sample and hold circuit is fed to
analog to digital converter (ADC). The ADC gives digital output signal that can be easily processed,
stored, or transmitted by digital systems or computer system.
The digital signal is converted back to by digital to analog converter (DAC). The output of DAC is
usually stair-case waveform, which is passed through smoothing filter to reduce the quantization noise.
The diagram shown in the above Figure can be used in the applications such as digital signal processing,
digital audio mixing, music and video synthesis, data acquisition, pulse code modulation, and
microprocessor instrumentation.
n-bit DAC
The DAC output can either be a voltage or current signal. For a voltage output DAC, the conversion
characteristic can be expressed by;
𝑉𝑉0 = 𝑘𝑘𝑉𝑉𝐹𝐹𝐹𝐹 (𝑏𝑏1 2−1 + 𝑏𝑏2 2−2 + 𝑏𝑏3 2−3 + … 𝑏𝑏𝑛𝑛 2−𝑛𝑛 )
Where, V0 – Output voltage
VFS – Full scale output voltage
k – Scaling factor (usually 1)
b1. . ., bn – n-bit binary fractional word with decimal point located at the left
b1 – MSB with a weight = VFS/2
bn – LSB with a weight = VFS/2n
49
ANALOG AND DIGITAL ELECTRONICS
18CS33
Where, VOFS – Full scale output voltage.
If we know the resolution, we can obtain input-output relation for DAC:
V0 = Resolution x b
Where, b – Decimal values of digital input.
1
For example, in a 4-bit system, using ladder, the LSB has a weight of . This means that, the
16
1
smallest increment in the output voltage is 16 of the input voltage. If we assume that, this 4-bit
1
system has input voltage levels of +16 V; (since has a weight of 16 ) a change in LSB results in a
change of 1 V in the output. Thus, the output voltage changes in steps of 1 V.
Hence, this converter can be used to represent analog voltages from 0 to +15 V in 1-V
increments. But, this converter cannot be used to resolve voltages into increments smaller than
1V. If we desire to produce +4.2 V, using this converter, the actual output voltage would be +4.0
V. This converter is not capable of distinguishing voltages finer than 1 V, which is the resolution
of the converter.
If we want to represent voltages to a finer resolution, we would have to use a converter
with more input bits. For example, the LSB of a 10-bit converter has a weight of 1/1024. If this
1
converter has a +10 V full-scale output, the resolution is approximately, +10 * = 10 mV.
1024
Problem: What is the resolution of a 9-bit D/A converter which uses a ladder network? What is
the resolution expressed as a percentage? If the full-scale output voltage of this converter is +5
V, what is resolution in volts?
1
Solution: The LSB in a 9-bit D/A converter has a weight of . Thus, this converter has a
512
The voltage resolution is obtained by multiplying the weight of the LSB by the full-scale output
1
voltage. Thus, the resolution in volts is: * 5 = 10 mV.
512
Problem: How many bits are required at the input of a converter, if it is necessary to resolve
voltage to 5 mV and the ladder has +10 V full-scale?
1
Solution: The LSB of an 11-bit D/A converter has a resolution of . This would provide a
2048
1
resolution at the output of 2048 * 10 = +5 mV.
2. Accuracy: The accuracy of the D/A converter is primarily a function of the accuracy of the
precision resistors used in the ladder and the precision of the reference voltage supply used.
Accuracy is a measure of how close the actual output voltage is to the theoretical output value.
MAHESH PRASANNA K., VCET, PUTTUR
50
ANALOG AND DIGITAL ELECTRONICS
18CS33
𝑉𝑉𝑜𝑜𝑜𝑜𝑜𝑜
𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝑦𝑦 =
(2𝑛𝑛 − 1)2
Problem: Calculate the accuracy of a 8-bit DAC, if the full scale output voltage is 10.0 V?
𝑉𝑉𝑜𝑜𝑜𝑜𝑜𝑜 10.0
Solution: 𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴 = (2𝑛𝑛 −1)2
= (28 −1)2
= 19.8 𝑚𝑚𝑚𝑚.
1
3. Setting Time: Setting time is the time required for a DAC output to settle within ± 𝐿𝐿𝐿𝐿𝐿𝐿 of
2
4. Stability: The performance of a DAC is not stable due to the parameters such as temperature,
power supply variations, and ageing.
𝑉𝑉𝑅𝑅
When the switch is ON; 𝐼𝐼 = 𝑅𝑅
When the switch is OFF; I = 0.
Due to very high input impedance of Op-Amp, the toatl current I will flow through Rf. The total current
trough Rf is; 𝐼𝐼 = 𝐼𝐼1 + 𝐼𝐼2 + 𝐼𝐼3 + … + 𝐼𝐼𝑛𝑛
𝑉𝑉𝑅𝑅 𝑉𝑉𝑅𝑅 𝑉𝑉𝑅𝑅 𝑉𝑉𝑅𝑅
= 𝑏𝑏 + 𝑏𝑏 + 𝑏𝑏 + … + 𝑛𝑛 𝑏𝑏𝑛𝑛
21 𝑅𝑅 1 22 𝑅𝑅 2 23 𝑅𝑅 3 2 𝑅𝑅
𝑉𝑉𝑅𝑅
= [𝑏𝑏 2−1 + 𝑏𝑏2 2−2 + 𝑏𝑏3 2−3 + … + 𝑏𝑏𝑛𝑛 2−𝑛𝑛 ]
𝑅𝑅 1
The output voltage is; V0 = – IfRf
−𝑉𝑉𝑅𝑅
𝑖𝑖. 𝑒𝑒. , 𝑉𝑉0 = 𝑅𝑅 [𝑏𝑏 2−1 + 𝑏𝑏2 2−2 + 𝑏𝑏3 2−3 + … + 𝑏𝑏𝑛𝑛 2−𝑛𝑛 ]
𝑅𝑅 𝑓𝑓 1
If Rf = R; Or, 𝑽𝑽𝟎𝟎 = −𝑽𝑽𝑹𝑹 �𝒃𝒃𝟏𝟏 𝟐𝟐−𝟏𝟏 + 𝒃𝒃𝟐𝟐 𝟐𝟐−𝟐𝟐 + 𝒃𝒃𝟑𝟑 𝟐𝟐−𝟑𝟑 + … + 𝒃𝒃𝒏𝒏 𝟐𝟐−𝒏𝒏 �
Drawbacks: (1) Large range of resistor values are required, as resistance values increases like
21R, 22R, 23R, . . . , 2nR.
(2) Practically it’s difficult to fabricate large values of resistors on IC.
MAHESH PRASANNA K., VCET, PUTTUR
51
ANALOG AND DIGITAL ELECTRONICS
18CS33
R-2R Ladder type DAC:
In R-2R ladder, only two values, R and 2R are used. The circuit diagram is given below:
Each binary bit connects switch either to ground (non-inverting input) or to the inverting terminal of Op-
Amp. Due to virtual ground, both the positions of the switches are at ground potential, and currents
through the resistances are constant.
The current flowing through each of 2R resistances;
𝑉𝑉𝑅𝑅 𝑉𝑉𝑅𝑅 /2 𝑉𝑉𝑅𝑅 𝑉𝑉𝑅𝑅 /4 𝑉𝑉𝑅𝑅 𝑉𝑉𝑅𝑅 /(2𝑛𝑛 − 1)
𝐼𝐼1 = 𝐼𝐼2 = = 𝐼𝐼3 = = 𝐼𝐼𝑛𝑛 =
2𝑅𝑅 2𝑅𝑅 4𝑅𝑅 2𝑅𝑅 8𝑅𝑅 2𝑅𝑅
But, 𝑉𝑉0 = −𝐼𝐼𝑓𝑓 𝑅𝑅𝑓𝑓 = −𝑅𝑅𝑓𝑓 (𝐼𝐼1 + 𝐼𝐼2 + … + 𝐼𝐼𝑁𝑁 )
𝑉𝑉𝑅𝑅 𝑉𝑉𝑅𝑅 𝑉𝑉𝑅𝑅
𝑖𝑖. 𝑒𝑒. , 𝑉𝑉0 = −𝑅𝑅𝑓𝑓 � 𝑏𝑏1 + 𝑏𝑏2 + … + 𝑛𝑛 𝑏𝑏𝑛𝑛 �
2𝑅𝑅 4𝑅𝑅 2 𝑅𝑅
𝑉𝑉𝑅𝑅
Or, 𝑉𝑉0 = − 𝑅𝑅𝑓𝑓 [𝑏𝑏1 2−1 + 𝑏𝑏2 2−2 + … + 𝑏𝑏𝑛𝑛 2−𝑛𝑛 ]
𝑅𝑅
52
ANALOG AND DIGITAL ELECTRONICS
18CS33
53
ANALOG AND DIGITAL ELECTRONICS
18CS33
A-D CONVERTERS:
ADC takes the analog signal as input and converts into digital output. The functional diagram of DAC is
given below:
ADC is provided with two control inputs start (input to initiate the conversion) and end of conversion
(output to indicate the end of conversion). Direct type ADCs and Integrated type ADCs are the two types
of ADCs available.
54
ANALOG AND DIGITAL ELECTRONICS
18CS33
The resistive network is to set to equal reference voltages at each node. The comparactor compares set
reference value at inverting terminal of Op-Amp with analog output at non-inverting terminal. The
truthtable for ADC is given below:
55
ANALOG AND DIGITAL ELECTRONICS
18CS33
Advantages:
1. High speed
Disadvantages:
1. Number of comparators required is almost double for each added bit
Eg.: For 2-bit ADC; No. of Comparators = 4 (22)
For 3-bit ADC; No. of Comparators = 8 (23)
56
ANALOG AND DIGITAL ELECTRONICS
18CS33
Figure shows a successive approximation register (SAR), the output of which is connected to DAC and
output latch circuit. The input signal (Vin) is compared with the analog output signal (Va) of the DAC.
Output of the comparator is feedback into SAR. The control logic inside SAR adjusts its digital output;
until it is equal to the analog input signal. The operation could be understood by the code tree given
below.
At the start of conversion cycle, start conversion terminal is made high. On the first clock pulse, the
output of the SAR is made 1000. The DAC produces an analog voltage (Va) proportional to 1000. This
analog voltage is compared with input analog signal (Vin).
If Vin > Va, the comparator output will be high and SAR keeps Q3 high. On the other hand, if Vin < Va,
then the comparator output becomes low and SAR resets Q3 to low. If Vin > Va, SAR follows the upward
path in code tree and if Vin < Va, SAR follows downward path.
The conversion time for n-bit successive approximation ADC is (n + 2) clock periods.
Advantages:
1. Considerably good speed
2. Good resolution.
57
Shunt voltage regulators control voltage by shunting excess current to ground, maintaining voltage across the load by varying the portion of the total current that bypasses the load, typically used in applications needing small current variations . In contrast, series voltage regulators maintain a constant output voltage by varying the resistance in series with the load to adjust the current flow. This type of regulator is generally more efficient and suitable for applications with larger current variations and requirements for reduced power dissipation, achieving regulation over a broader range of conditions .
Load and line regulation are crucial for maintaining consistent power supply performance. Load regulation indicates how the output voltage changes with variations in load current, ideally remaining constant to ensure stable circuit operations under varying loads . Line regulation refers to the ability to maintain output voltage despite changes in input voltage, ideally being zero to guard against external fluctuations affecting performance . Both parameters should be minimal to ensure optimal stability and reliability in electronic devices, which is critical for preventing erratic behavior and potential component failures under diverse operational conditions .
A voltage regulator in a power supply stabilizes the output voltage against fluctuations in line voltage, load current, and temperature changes . It functions as a feedback circuit and ensures that the output DC voltage is constant despite changes in these factors by compensating for any variations in the input or operational conditions . By maintaining a steady voltage, the regulator protects electronic circuits from erratic operations and potential damage .
A non-inverting amplifier converts voltage to current through the configuration where input voltage Vi is initially turned into output current IL. The load current IL is proportionate to the input voltage Vi, which is dictated by the equation IL = Vi/R . The feedback resistor Rf in this circuit helps in setting the gain and impacts the proportional relationship between the input voltage and the output current, controlling the current level that results from a given input voltage .
The Quality factor (Q) of a band-pass filter is significant as it measures the filter's selectivity or sharpness in separating different frequencies. A higher Q indicates a narrower bandwidth with higher selectivity, allowing the filter to more precisely target specific frequency ranges while suppressing others. This makes the filter more effective in applications like communications where precise frequency selection is crucial. A low Q results in a wider bandwidth, which may be beneficial in applications requiring broader signal passage. Q affects the steepness of the filter's roll-off and its potential bandwidth efficiency .
First order high-pass filters have a gain that increases at the rate of 20 dB/decade as the frequency increases past the cut-off frequency fL; below fL, the gain is less than the pass band gain AF . In second order high-pass filters, the gain at the stop-band rolls off at a steeper rate of 40 dB/decade. This means that second order filters attenuate frequencies below fL more aggressively than first order filters, providing better suppression of unwanted low frequencies as they move into the pass band region .
Active band-pass filters use both low-pass and high-pass filters cascaded together. The low-pass filter's cut-off frequency is higher than that of the high-pass filter, creating a band of frequencies that the filter allows to pass through. The difference between the cut-off frequencies at the -3dB point defines the 'bandwidth' of the band-pass filter, which is the range of frequencies that the filter effectively transmits. This configuration focuses on the desired frequency band while attenuating frequencies outside this range, making the filter useful for specific signal processing tasks .
Operational amplifiers serve as central components in current to voltage (C to V) converter circuits by using feedback that maintains a virtual ground at the inverting input. The current to be converted flows through a feedback resistor (Rf), producing a voltage drop directly proportional to the current. The operational amplifier outputs this as the output voltage (V0), where V0 = IS * Rf, with IS being the input current. The negligible input current of the operational amplifier ensures most of the current flows through Rf, maintaining the proportionality and ensuring the precision of the conversion .
The key factors affecting load voltage stability in power supply systems include load current, line voltage, and temperature. Load current impacts voltage stability because, without a regulator, the load voltage decreases as the load current increases, potentially causing erratic circuit operation . Line voltage is significant because changes in the input AC voltage to the rectifier affect the DC output level, impacting performance; it ideally should remain constant . Temperature affects stability due to the temperature-dependent characteristics of the PN-junction diodes used in rectifier units, leading to potential variations in performance .
By adding an extra RC-network to a first order low-pass filter, it transforms into a second order low-pass filter. This modification increases the rate at which gain decreases beyond the cut-off frequency. In a first order filter, the gain decreases at a rate of 20 dB/decade, but in a second order filter, the stop band gain rolls off at 40 dB/decade . This change enhances the filter's ability to attenuate unwanted frequencies beyond the cut-off point more sharply.