18cs33 Module 1
18cs33 Module 1
[email protected]
Introduction
2
Pre-requisite
Basic Electrical Engineering (18ELE13/23)
C programming For Problem Solving (18CSP13/23)
Basic Electronics (18ELN14/24)
Introduction
3
Digital Signals
The transition between the two states is called an edge.
At dawn, when the signal proceeds from HIGH to
LOW, it is considered a falling edge, or negative edge.
Introduction
6
proportional indicator.
E.g.
Speedometer
Thermometers
Digital representation the quantities are represented not by continuously
variable indicators but by symbols called digits.
E.g.
Digital Speedometer
Digital indoor/outdoor thermometer
The major difference between analog and digital quantities, then, can be
simply stated as follows:
Analog ≡ continuous
Digital ≡ discrete (step by step)
Introduction
8
Decimal Counting
Introduction
15
Binary System
Unfortunately, the decimal number system does not lend
itself to convenient implementation in digital systems.
For example, it is very difficult to design electronic equipment
so that it can work with 10 different voltage levels (each one
representing one decimal character, 0 through 9).
On the other hand, it is very easy to design simple, accurate
electronic circuits that operate with only two voltage levels.
For this reason, almost every digital system uses the binary
(base-2) number system as the basic number system of its
operations
Introduction
16
Binary System
Binary position values as powers of 2.
Introduction
17
Binary Counting
Introduction
18
Memory
Difference between non-memory and memory circuits
Introduction
21
Memory
When an input signal is applied to most devices or circuits,
the output somehow changes in response to the input, and
when the input signal is removed, the output returns to its
original state. These circuits do not exhibit the property of
memory because their outputs revert back to normal.
Certain types of devices and circuits do have memory.
When an input is applied to such a circuit, the output will
change its state, but it will remain in the new state even
after the input is removed. This property of retaining its
response to a momentary input is called memory.
Introduction
22
Digital Computers
Introduction
23
Digital Computers
Major Parts of a Computer
Inputunit
Output unit
Memory unit
Arithmetic/logic unit
Control unit
24
Module-1
Referred Books/Sources
25
OP-Amp
Peak Detector Circuit, Active Filters, Non-Linear
Amplifier, Relaxation Oscillator Current-To-Voltage
Converter, Voltage-To-Current Converter.
Multivibrator circuits configuration around digital
integrated circuits,
Multivibrator circuits configured around timer IC 555.
27 Semiconductor diodes
Semiconductor diodes
28
Photodiode
Light Emitting Diode (LED)
Phtocoupler
Photodiode
29
Construction
Photodiode
31
Construction
The surface of a layer of N type is bombarded with P type silicon ions to
produce a P type layer about 1 µm (micrometre) thick.
During the formation of the diode, electrons from the N type layer are
attracted into the P type material and holes from the P type are attracted
into the N type layer, resulting in the removal of free charge carriers close
to the PN junction, so creating a depletion layer.
The (light facing) top of the diode is protected by a layer of Silicon Dioxide
(SiO2) in which there is a window for light to shine on the semiconductor.
This window allow maximum absorption of light and an anode connection
of aluminium (Al) is provided to the P type layer.
Beneath the N type layer is a more heavily doped N+ layer to provide a low
resistance connection to the cathode.
Photodiode
32
Working Principle
Working Principle
Recall that when reverse-biased, a rectifier diode has a very small reverse leakage
current.
The same is true for a photodiode.
The reverse-biased current is produced by thermally generated electron-hole pairs in the
depletion region, which are swept across the pn-junction by the electric field created by
the reverse voltage.
In a rectifier diode, the reverse leakage current increases with temperature due to an
increase in the number of electron-hole pairs.
A photodiode differs from a rectifier diode in that when its pn junction is exposed to
light, the reverse current increases with the light intensity.
When there is no incident light, the reverse current, is almost negligible and is called
the dark current.
An increase in the amount of light intensity, expressed as irradiance (mW/cm2),
produces an increase in the reverse current,
Photodiode
34
Applications:
Smoke Detector Circuit, Compact disc player, TV Remote,
Camera light meter, Street Light,
Light Emitting Diode (LED)
35
Construction
Construction
The external metallic conducting surface connected
to the p -type material is smaller to permit the
emergence of the maximum number of photons of
light energy when the device is forward-biased.
Note in the figure that the recombination of the
injected carriers due to the forward-biased junction
results in emitted light at the site of the
recombination.
Light Emitting Diode (LED)
39
Working Principle
When the device is forward-biased, electrons cross the pn junction from the n-type material and
recombine with holes in the p-type material.
These free electrons are in the conduction band and at a higher energy than the holes in the valence
band.
The difference in energy between the electrons and the holes corresponds to the energy of visible
light.
When recombination takes place, the recombining electrons release energy in the form of photons.
The emitted light tends to be monochromatic (one color) that depends on the band gap (and other
factors).
A large exposed surface area on one layer of the semiconductive material permits the photons to be
emitted as visible light.
This process, called electroluminescence,
Light Emitting Diode (LED)
40
Working Principle
• The forward voltage across an LED is considerably greater than for a silicon diode.
• Typically, the maximum VD for LEDs is between 1.2 V and 3.2 V, depending on the
material.
• Reverse breakdown for an LED is much less than for a silicon rectifier diode (3 V to
10 V is typical).
• The LED emits light in response to a sufficient forward current.
• The amount of power output translated into light is directly proportional to the
forward current.
• An increase in ID corresponds proportionally to an increase in light output.
• The light output (both intensity and color) is also dependent on temperature. Light
intensity goes down with higher temperature.
Light Emitting Diode (LED)
41
Applications
TV Remote, Calculator, Traffic Signals, Watches
and Automotive Head Lamps
Phtocoupler (Optocoupler)
42
Construction
Working Principle
Then the light from the LED hits the photodiode, and this sets
up a reverse current in the output circuit.
This reverse current produces a voltage across the output
resistor.
The output voltage then equals the output supply voltage
minus the voltage across the resistor.
When the input voltage is varying, the amount of light is
fluctuating. This means that the output voltage is varying in
step with the input voltage. This is why the combination of an
LED and a photodiode is called an optocoupler.
Phtocoupler (Optocoupler)
44
Applications:
Switches, SMPS, Signal Isolation, Modem
Communication
45 BJT Biasing
Introduction
46
Types of Biasing
Base Bias or Fixed Bias
Collector to Base Bias
Voltage Divider Bias
Base Bias or Fixed Bias
48
Now IC = βIB
Base Bias or Fixed Bias
49
From Circuit
VCE = VC – VE
VBE = VB – VE
and VE = 0V
So
VCE = VC
VBE = VB
Collector to Base Bias
50
And IC = βIB
Collector to Base Bias
52
and ICQ ≈ IE
Voltage Divider Bias
55
INTRODUCTION TO
OPERATIONAL
AMPLIFIER
Introduction to Operational Amplifier
Ideal v/s practical Op-amp
57
OPERATIONAL AMPLIFIER
APPLICATION CIRCUITS
Peak Detector Circuit
60
RC ≥ 10 T
Peak Detector Circuit
61
During +ve half cycle when the input voltage is positive, the diode is
conducting/ON and capacitor charges to the peak of the input voltage.
Second, when the input voltage is negative during –ve half cycle, the diode is
non-conducting/OFF and the capacitor discharges through the load resistor.
As long as the discharging time constant is much greater than the period of the
input signal (T), the output voltage will be approximately equal to the peak
value of the input voltage.
This can achieved by making discharging time constant RC can be made much
longer than the period of the input signal (RC ≥ 10 T), will get almost perfect
peak detection of low-level signals.
If the peak-detected signal has to drive a small load, to avoid loading effects by
connecting the voltage follower (op-amp buffer) isolates the small load resistor
from the peak detector. This prevents the small load resistor from discharging
the capacitor too quickly.
Comparator
62
Non-Inverting Comparator
Because of the high open-loop voltage gain, a positive input voltage produces
positive saturation, and a negative input voltage produces negative saturation.
Above circuit is called a zero-crossing detector because the output voltage
ideally switches from low to high or vice versa whenever the input voltage
crosses zero (input compares with zero reference voltage).
Comparator
Comparators with Zero Reference
64
Non-Inverting Comparator
Comparator
Comparators with Zero Reference
65
Inverting Comparator
The input signal drives the inverting input of the comparator. In this
case, a positive input voltage produces a maximum negative saturation,
as shown in above diagram. On the other hand, a negative input voltage
produces a maximum positive saturation.
Comparator
Comparators with Zero Reference
66
Inverting Comparator
Comparator
Comparators with Nonzero References
67
When Vin is greater than Vref, the differential input voltage is positive and
the output voltage is high (+Vsat). When Vin is less than Vref, the
differential input voltage is negative and the output voltage is low (-Vsat).
Vin > Vref then Vout = +Vsat
Vin < Vref then Vout = - Vsat
Comparator
Comparators with Nonzero References
68
If the input to a comparator contains a large amount of noise, the output will be erratic when
Vin is near the trip point.
When the noise peaks are large enough, they produce unwanted changes in the comparator
output. In diagram observe that producing unwanted transitions from low to high. When an
input signal is present, the noise is superimposed on the input signal and produces erratic
triggering.
One way to reduce the effect of noise is by using a comparator with positive feedback.
The positive feedback produces two separate trip points that prevent a noisy input from
producing false transitions.
Comparator
Schmitt Trigger or Regenerative Feedback
72
Non-Inverting
Schmitt trigger
Let current through the R1 is Iin (In coming) and R2 is Iout (Out
going)
So
When Vin becomes positive and greater that then the output
switches to +Vsat. Therefore UTP is
Similarly
Comparator
Schmitt Trigger or Regenerative Feedback
80
An electric filter is often a frequency selective circuit that passes a specified band
of frequency and blocks or attenuates signals of frequencies outside this band.
Active filters employs transistor or op-amp in addition to resistor and capacitor.
RC network are used for filter.
The most commonly used filters are follows:
Low pass filters
High pass filter
Band pass filter
Band reject filter.
All pass filter
Next slide shows the frequency response characteristics of the five types of filter.
The ideal response is shown by dashed line. While the solid lines indicates the
practical filter response.
Active Filters
86
Active Filters
87
It is nothing more than an RC lag circuit and a voltage follower. The voltage gain
is: Av = 1.
When the frequency increases above the cutoff frequency, the capacitive
reactance decreases and reduces the noninverting input voltage.
Since the R1C1 lag circuit is outside the feedback loop, the output voltage rolls
off. As the frequency approaches infinity, the capacitor becomes a short and
there is zero input voltage.
Active Filters- Low-pass filter
90
As the frequency increases, the capacitive reactance decreases and reduces the
impedance of the feedback branch. This implies less voltage gain.
As the frequency approaches infinity, the capacitor becomes a short and there is no
voltage gain.
Active Filters- High-pass filter
92
Working:
For small value of input signal, diodes act as open
circuit and the gain is high due to minimum feedback.
When the amplitude of input signal is large, diodes
offer very small resistance and thus gain is low.
Relaxation Oscillator
108
Relaxation Oscillator
109
Lab Experiment:
a) Design and construct a square waveform generator
(Op-Amp relaxation oscillator) for given frequency
and demonstrate its working. (Wired Experiment)
b) Design and implement a square waveform generator
(Op-Amp relaxation oscillator) using a simulation
package and demonstrate the change in frequency
when all resistor values are doubled. (Simulation
Experiment)
Current-To-Voltage Converter
111
Also
called Transconductance
amplifier.
Apply KVL at input side
WAVE SHAPING
CIRCUITS
Integrated Circuit(IC)
114
Multivibrators
A multivibrator circuit oscillates between a “HIGH” state and a “LOW”
state producing a continuous output.
It generates square, rectangular, pulse waveforms, also called nonlinear
oscillators or function generators.
There are basically three types of clock pulse generation circuits:
Astable – A free-running multivibrator that has NO stable states but
and is triggered externally with it returning back to its first stable state.
Bistable – A flip-flop that has TWO stable states that produces a single
Duty cycle (D) is the proportion of time during which the device is operated.
In terms of square wave signal it defines the percentage of time for which signal
is at logic high level.
For square wave it can be calculated as (high time / (high time + low time))
Duty cycle of 50% means that the low time and high time of the signal is same.
Integrated Circuit(IC) Multivibrators
Astable Operation of the 555 Timer
120
Circuit Diagram
Charge
time (High Time)
When Q is low, the transistor is cut off and the capacitor is charging through R1 and R2
resistance. Because of this, the charging time constant is (R1+R2)C. As the capacitor
charges, the threshold voltage (pin 6) increases. Eventually, the threshold voltage
exceeds VCC. Then, the upper comparator sets the flip-flop.
With Q high, the transistor saturates and grounds pin 7. The capacitor now discharges
through R2. Therefore, the discharging time constant is R2C. When the capacitor
voltage drops to slightly less than VCC, the lower comparator resets the flip-flop.
The output is a rectangular wave that swings between 0 and VCC. Since the charging
time constant is longer than the discharging time constant, the output is nonsymmetrical.
Depending on resistances R1 and R2, the duty cycle is between 50 and 100 percent.
When R1 is much smaller than R2, the duty cycle approaches 50 percent. Conversely,
when R1 is much greater than R2, the duty cycle approaches 100 percent.
To make the duty cycle to become less than 50 percent. By placing a diode in parallel
with R2 (anode connected to pin 7), the capacitor will effectively charge through R1 and
the diode. The capacitor will discharge through R2.
Integrated Circuit(IC) Multivibrators
Astable Operation of the 555 Timer
125
Lab Experiment:
Design and implement an Astable multivibrator circuit
using 555 timer for a given frequency and duty cycle.
Integrated Circuit(IC) Multivibrators
Monostable Operation of the 555 Timer
126
dependent.
Need for Regulator
136
For LM317
The load regulation is 0.1 %
Line regulation is 0.01 %
RR is 80dB
LM337 is a Adjustable Negative Linear Voltage Regulators
Advantage of Adjustable Voltage Regulators is
Voltage range from 1.2V to 37V
Output current 0.1A to 1.5A
Better load and line regulation
Improve system performance, reliability and thermal overloading
Good overload protection