MEC 2009-Lecture 2 Switches
MEC 2009-Lecture 2 Switches
MEC 2009-Lecture 2 Switches
ELECTRICAL COMPONENT
Symbols
Switches
Transistor as Switch
Logic gates
Dimensions for commonly used symbols
3
4
5
6
7
Electrical switch
In electrical engineering;
•A switch is an electrical component that can disconnect or connect the conducting
path in an electrical circuit, interrupting the electric current or diverting it from one
conductor to another.
•The most common type of switch is an electromechanical device consisting of one
or more sets of movable electrical contacts connected to external circuits.
– When a pair of contacts is touching current can pass between them, while
when the contacts are separated no current can flow.
8
Switch applications
Fig. 2.1
Fig. 2.2 9
Fig. 2.3 Switch installation
10
• Most modern switch designs have their moving conductors and contact points
sealed inside an insulating case in order to mitigate hazards.
• A photograph of a few modern switch types show how the switching mechanisms
are much more concealed than with the knife design:
15
The transistor collector current is proportionslly limited by its base current
Hence, it can be used as a sort of a current-controlled switch.
Relatively small base current of the transistor has the ability to cotrol a much
larger current flow through the collector
Cut-Off Region
VCC VCC
RL RL
Vout Vout
Switch
Q1
͞Open͟
Rin
VCC VCC
RL RL
Vout Vout
Switch
Q1
͞Closed͟
Rin
17
Relay control using Transistor
18
Logic Gates
19
Applications of Logic Gates:
20
Implementing Logic gates using Resistor Transistor Logic (RTL)
• Using RTL circuit to study the internal connections of NOR, OR, AND, NAND gates.
– As the name suggests, these ccts are constructed using resistors and NPN
transistors.
Vcc Vcc = +5 V
R3
Truth
Table
A Y
R8
Q1 0 1
VA R1
1 0
1
0 D1
1
0
22
NOR Gate Vcc
R3
VA Q1 VB Q2
R1 R2
Fig. 2.14 NOR function implementation 01 0
1
Lamp1 1
00
GND1 GND2
Truth Table
A B Y
0 0 1
0 1 0
1 0 0
1 1 0 23
OR Gate
Vcc
Truth Table
VA Q1 VB Q2
R1 R2 A B Y
01 0
10
0 0 0
0 1 1
R3 Lamp1 101 1 0 1
1 1 1
GND1 GND2
24
Truth Table
AND Gate
A B Y
0 0 0
Vcc
0 1 0
1 0 0
01 VA Q1 1 1 1
R1
10
R3
Lamp1 01
GND1 GND2
25
Vcc
NAND Gate
R3
10 VA Q1
R1
Lamp1
10
Fig. 2.12 NAND function implementation
VB Q2
R2
0110
GND1 GND2
Truth Table
A B Y
0 0 1
0 1 1
1 0 1
1 1 0 26
End of Lecture!
27