Unit 5 Logic Devices
Unit 5 Logic Devices
Unit 5 Logic Devices
TTL Family and Devices: TTL stand for Transistor-Transistor logic. The TTL logic gates and
other digital circuit are made from bipolar transistor and resistor. The term transistor- transistor
is used because both logic function and amplification are made by using transistors. In TTL logic
family 0 V to 0.8 V is logic 0 and 2V to 5 V is logic 1.
VCC =+5V
R1 =4kΩ R2 =1.6kΩ
R4 =130kΩ
Output
R1 =11kΩ
drawn by each of the inputs. This is because the transistor is in reverse active mode. An
approximately constant current flows from the positive terminals, through the resistor and into
base of multiple emitter transistor. This current passes through the base emitter junction of the
output transistor, allowing it to conduct and pulling the output voltage low(logical zero).
Case 2: Both input are logical zero:
Note that the base-collector junction of the multiple-emitter transistor and the base-emitter
junction of the output transistor are in series between the bottom of the resistors and ground.
If one of input voltage becomes zero, the corresponding base-emitter junction of the multiple
emitter transistor is parallel with these two junctions, no current flows through the base of
output transistor, causing it to stop conducting and the output voltage becomes high(logical
one).
When at least one input is logic LOW, transistor T2 and T3 are in cut-off and hence, output of
T3 is HIGH.
When all inputs are HIGH, T1 operates in active inverse mode, driving T2 & T3 in saturation.
Since T3 is ON, the output is LOW.
A B Y
Truth Table NAND gate 0 0 1
0 1 1
1 0 1
1 1 0
CMOS NOR gate: The circuit diagram for two input NOR gate is shown in figure.
Q1
Q2
Q4 Q3
In this circuit, one P-channel MOSFET is added in series and one N-channel is added in parallel
further to the basic inverter.
In first case when both inputs are at low levels, then P-channels MOSFET Q1 and Q2 will be ON
and both N – channel MOSFETS Q3 and Q4 will be OFF which will give output at high level.
5
In the other case When either one or both the inputs are at high level, then P-channel MOSFET
and N-channel MOSFET corresponding to high level input will be OFF and ON respectively giving
output of low level.
VDD
Q1 Q4
Vout
A
Q2
B
Q3
Has the highest fan-out, when compared with TTL and ECL
Works well over a wide range of temperature
Noise immunity is better than TTL and ECL
Average pro
7
pagation
delay is the least in comparison with TTL and ECL
8
The output of an ECL system has a very low impedance, thus having a
fan-out of about 25.
The propagation time is about 1ns, making it the fastest logic family.
A logic low voltage for ECL is about -1.7V to -1.75V.
A logic high voltage for ECL is about -0.8V.
It is the fastest amongst all the logic families.
It has an average propagation delay time of about 1ns-4ns.
Optocoupler
An optocoupler (also called opto isolator) is a semiconductor device that allows an electrical
signal to be transmitted between two isolated circuits. Two parts are used in an optocoupler:
an LED that emits infrared light and a photosensitive device that detects light from the LED.
Both parts are contained within a black box with pins for connectivity. The input circuit takes
the incoming signal, whether the signal is AC or DC, and uses the signal to turn on the LED.
The photosensor is the output circuit that detects the light and depending on the type of
output circuit, the output will be AC or DC. Current is first applied to the optocoupler, making
the LED emit an infrared light proportional to the current going through the device. When the
light hits the photosensor a current is conducted, and it is switched on. When the current
flowing through the LED is interrupted, the IR beam is cut-off, causing the photosensor to stop
conducting.
There are four configurations of optocouplers, the difference being the photosensitive device
used. Photo-transistor and Photo-Darlington are typically used in DC circuits, and Photo-SCR
and Photo-TRIAC are used to control AC circuits. In the photo-transistor optocoupler, the
10
transistor could either be PNP or NPN. The Darlington transistor is a two transistor pair, where
one transistor controls the other transistor’s base. The Darlington transistor provides high gain
ability.
The term optocoupler and optoisolator are often used interchangeably, but there is a slight
difference between the two. The distinguishing factor is the voltage difference expected
between the input and the output. The optocoupler is used to transmit analog or digital
information between circuits while maintaining electrical isolation at potentials up to 5,000
volts. An optoisolator is used to transmit analog or digital information between circuits where
the potential difference is above 5,000 volts.
LED: A light-emitting diode (LED) is a semiconductor device that emits light when an electric
current flows through it. When current passes through an LED, the electrons recombine with
holes emitting light in the process. LED allows the current to flow in the forward direction and
blocks the current in the reverse direction.
Light-emitting diodes are heavily doped p-n junctions. Based on the semiconductor material used and the
amount of doping, an LED will emit a coloured light at a particular spectral wavelength when forward biased.
As shown in the figure, an LED is encapsulated with a transparent cover so that emitted light can come out.
LED Symbol
The LED symbol is the standard symbol for a diode, with the addition of two small arrows denoting the
emission of light.
The circuit consists of an LED, a voltage supply and a resistor to regulate the current and voltage.