Electronics
Electronics
ELEMENTS
Electronics – Controlling the Flow
of Current
• To make an electronic device (like a motor
for sewing machine or a electrical weaving
machine ) do something useful we need to
control and manipulate the flow of current.
• There are a number of different electronic
components that we use to do this.
The Resistor
• The function of the • Circuit Symbol
resistor is to restrict
(limit) the flow of
current through it.
• Electrical energy is
converted to heat.
• Measured in Ohms
Resistors
• Fixed
• Non-Polarized
• Electrolytic
• Variable
The Inductor
• The function of the
inductor is to • Circuit Symbol
temporarily store
electric current.
– Is basically a coil of
wire.
– Stores energy in a
magnetic field.
– Resists changes in
current. • Measured in Henrys
Inductors
Reactance
NPN PNP
The Transistor
• Bipolar transistors are • Circuit Symbol
constructed with three (Bipolar Transistors)
alternating layers of
semiconductor material.
• The connections are the
emitter, the collector and
the base.
• How much signal
amplification is present is
the gain of the device.
NPN PNP
Transistor Types
The Integrated Circuit
• The integrated circuit • Circuit Symbol
is a collection of
components contained
in one device that
accomplishes a
specific task .
• Transistors, diodes,
capacitors, inductors,
resistors.
– Acts like a “black-
box”
Protective Components – Intentional
Open Circuits
• Fuses and circuit • Circuit Symbols
breakers are designed
to interrupt the flow of
current if the current
becomes uncontrolled.
– Fuses blow – one time
protection.
– Circuit breakers trip –
can be reset and reused.
Protective Components
• Never replace a fuse or • Circuit Symbols
circuit breaker with
another that has a
higher amperage rating.
You could damage the
equipment or cause a
fire.
• Use the same amperage
and voltage rating.
Control Devices
• Switches
• On / Off
• Poles
• Single
• Double
• Throw
• Relays – electrically controlled
switches
Putting It All Together in a Circuit
Diagram
Basic Logic Gates
NOT Gate -- Inverter
NOT X Y
X Y 0 1
1 0
Y = ~X
NOT
• Y = ~X (Verilog)
• Y = !X (ABEL)
• Y = not X (VHDL)
• Y = X’
•Y = X
•Y = X (textook)
• not(Y,X) (Verilog)
NOT
X ~X ~~X = X
X ~X ~~X
0 1 0
1 0 1
AND Gate
AND
X Y Z
X 0 0 0
0 1 0
Z
1 0 0
Y 1 1 1
Z = X & Y
AND
OR
X Y Z
X 0 0 0
Z 0 1 1
Y 1 0 1
1 1 1
Z = X | Y
OR
•X | Y (Verilog)
•X # Y (ABEL)
•X or Y (VHDL)
•X + Y (textbook)
•X V Y
•X U Y
• or(Z,X,Y) (Verilog)
Basic Logic Gates
and Basic Digital Design
• NOT, AND, and OR Gates
• NAND and NOR Gates
• DeMorgan’s Theorem
• Exclusive-OR (XOR) Gate
• Multiple-input Gates
NAND Gate
NAND
X Y Z
X 0 0 1
0 1 1
Z
1 0 1
Y 1 1 0
Z = ~(X & Y)
nand(Z,X,Y)
NAND Gate
NOT-AND
X Y W Z
X 0 0 0 1
W 0 1 0 1
Z
1 0 0 1
Y 1 1 1 0
W = X & Y
Z = ~W = ~(X & Y)
NOR Gate
NOR
X Y Z
X 0 0 1
Z 0 1 0
Y 1 0 0
1 1 0
Z = ~(X | Y)
nor(Z,X,Y)
NOR Gate
NOT-OR
X Y W Z
X 0 0 0 1
W
Z 0 1 1 0
Y 1 0 1 0
1 1 1 0
W = X | Y
Z = ~W = ~(X | Y)
Basic Logic Gates
and Basic Digital Design
• NOT, AND, and OR Gates
• NAND and NOR Gates
• Exclusive-OR (XOR) Gate
• Multiple-input Gates
NAND Gate
X Z X Z
=
Y Y
Z = ~(X & Y) Z = ~X | ~Y
X Y W Z X Y ~X ~Y Z
0 0 0 1 0 0 1 1 1
0 1 0 1 0 1 1 0 1
1 0 0 1 1 0 0 1 1
1 1 1 0 1 1 0 0 0
Analog to Digital
Converters
Analog Signals
Digital Signals – have only two states. For digital computers, we refer
to binary states, 0 and 1. “1” can be on, “0” can be off.
Examples:
• Light switch can be either on or off
• Door to a room is either open or closed
Examples of A/D Applications
• Microphones - take your voice varying pressure waves in the air and
convert them into varying electrical signals
• Strain Gages - determines the amount of strain (change in dimensions)
when a stress is applied
• Thermocouple – temperature measuring device converts thermal
energy to electric energy
• Voltmeters
• Digital Multimeters
Just what does an
A/D converter DO?
Nyquist Rule:
• Use a sampling frequency at least twice as high as the
maximum frequency in the signal to avoid aliasing.
Overall Better Accuracy
• Converters
• Flash ADC
• Delta-Sigma ADC
• Dual Slope (integrating) ADC
• Successive Approximation ADC
Digital to analog
converters
What is a DAC?
100101… DAC
What is a DAC?
Analog Output Signal
0000 0001 0010 0011 0100 0101 0110 01111000 10011010 1011
Digital Input Signal
Types of DACs
V1 V2 V3 Vn LSB
Vout IRf Rf n -1
R 2R 4R 2 R
Binary Weighted Resistor
If Rf=R/2
V1 V2 V3 Vn
Vout IRf n
2 4 8 2
For example, a 4-Bit converter yields
1 1 1 1
Vout Vref b3 b2 b1 b0
2 4 8 16
Where b3 corresponds to Bit-3, b2 to Bit-2, etc.
Binary Weighted Resistor
• Advantages
• Simple Construction/Analysis
• Fast Conversion
• Disadvantages
• Requires large range of resistors (2000:1 for 12-bit
DAC) with necessary high precision for low resistors
• Requires low switch resistances in transistors
• Can be expensive. Therefore, usually limited to 8-bit
resolution.
R-2R Ladder
V3
Vref V1 V2 V3
Ideal Op-amp
2R 2R
Req
2 R 2 R R
2 R 2 R
R-2R Ladder
Vref V1 V2 V3 V2 V3
R R
R 1
V3 V2 V2
RR 2
I
Likewise,
1
V2 V1
Vout 2
1
V1 Vref
2
Vout IR
R-2R Ladder
Results:
Vref V1 V2 V3 1 1 1
V3 Vref , V2 Vref , V1 Vref
8 4 2
1 1 1 1
Vout Vref b3 b2 b1 b0
2 4 8 16
For general n-Bit R-2R Ladder or Binary Weighted Resister DAC
n
1
Vout Vref bn i i
i 1 2
R-2R Ladder
• Advantages
• Only two resistor values (R and 2R)
• Does not require high precision resistors
• Disadvantage
• Lower conversion speed than binary weighted DAC
Specifications of DACs
• Resolution
• Speed
• Linearity
• Settling Time
• Reference Voltages
• Errors
Questions please
Practice questions--
What is the ability to store energy in an electric
field called?
• A. Inductance
• B. Resistance
• C. Tolerance
• D. Capacitance
What is the basic unit of capacitance?
• A. The farad
• B. The ohm
• C. The volt
• D. The henry
What is the ability to store energy in a
magnetic field called?
• A. Admittance
• B. Capacitance
• C. Resistance
• D. Inductance
What is the basic unit of inductance? (T5C04)
• A. The coulomb
• B. The farad
• C. The henry
• D. The ohm
What electrical component is used to oppose
the flow of current in a DC circuit? (T6A01)
• A. Inductor
• B. Resistor
• C. Voltmeter
• D. Transformer
What type of component is often used as an
adjustable volume control?
• A. Fixed resistor
• B. Power resistor
• C. Potentiometer
• D. Transformer
What electrical parameter is controlled by a
potentiometer?
• A. Inductance
• B. Resistance
• C. Capacitance
• D. Field strength
What electrical component stores energy
in an electric field?
• A. Resistor
• B. Capacitor
• C. Inductor
• D. Diode
What type of electrical component consists of
two or more conductive surfaces separated by
an insulator?
• A. Resistor
• B. Potentiometer
• C. Oscillator
• D. Capacitor
What type of electrical component stores
energy in a magnetic field?
• A. Resistor
• B. Capacitor
• C. Inductor
• D. Diode
What electrical component is usually
composed of a coil of wire?
• A. Switch
• B. Capacitor
• C. Diode
• D. Inductor
What electrical component is usually
composed of a coil of wire?
• A. Switch
• B. Capacitor
• C. Diode
• D. Inductor
What electrical component is used to connect
or disconnect electrical circuits?
• A. Zener diode
• B. Switch
• C. Inductor
• D. Variable resistor
What electrical component is used to protect
other circuit components from current
overloads?
• A. Fuse
• B. Capacitor
• C. Shield
• D. Inductor
What class of electronic components is
capable of using a voltage or current signal to
control current flow? (T6B01)
• A. Capacitors
• B. Inductors
• C. Resistors
• D. Transistors
What electronic component allows current to
flow in only one direction? (T6B02)
• A. Resistor
• B. Fuse
• C. Diode
• D. Driven element
Which of these components can be used as an
electronic switch or amplifier? (T6B03)
• A. Oscillator
• B. Potentiometer
• C. Transistor
• D. Voltmeter
Which of these components is made of three
layers of semiconductor material? (T6B04)
• A. Alternator
• B. Bipolar junction transistor
• C. Triode
• D. Pentagrid converter
Which of the following electronic components
can amplify signals? (T6B05)
• A. Transistor
• B. Variable resistor
• C. Electrolytic capacitor
• D. Multi-cell battery
How is a semiconductor diode’s cathode lead
usually identified? (T6B06)
• A. Bipolar transistor
• B. Field effect transistor
• C. Silicon diode
• D. Bridge rectifier
Which semiconductor component has a gate
electrode? (T6B11)
• A. Bipolar transistor
• B. Field effect transistor
• C. Silicon diode
• D. Bridge rectifier
What is the term that describes a transistor’s
ability to amplify a signal? (T6B12)
• A. Gain
• B. Forward resistance
• C. Forward voltage drop
• D. On resistance
What is the name for standardized
representations of components in an electrical
wiring diagram? (T6C01)
• A. Electrical depictions
• B. Grey sketch
• C. Schematic symbols
• D. Component callouts
Which of the following is accurately
represented in electrical circuit schematic
diagrams? (T6C13)
• A. Wire lengths
• B. Physical appearance of components
• C. The way components are interconnected
• D. All of these choices are correct
Which of the following devices or circuits
changes an alternating current into a varying
direct current signal? (T6D01)
• A. Transformer
• B. Rectifier
• C. Amplifier
• D. Reflector
Which of the following devices or circuits
changes an alternating current into a varying
direct current signal? (T6D01)
• A. Transformer
• B. Rectifier
• C. Amplifier
• D. Reflector
Which best describes a relay? (T6D02)
• A. Potentiometer
• B. Transistor
• C. Meter
• D. Relay
Which of the following can be used to display
signal strength on a numeric scale?
• A. Potentiometer
• B. Transistor
• C. Meter
• D. Relay
What component is commonly used to change
120V AC house current to a lower AC voltage
for other uses? (T6D06)
• A. Variable capacitor
• B. Transformer
• C. Transistor
• D. Diode
What component is commonly used to change
120V AC house current to a lower AC voltage
for other uses?
• A. Variable capacitor
• B. Transformer
• C. Transistor
• D. Diode
Which of the following is commonly used as a
visual indicator?
• A. LED
• B. FET
• C. Zener diode
• D. Bipolar transistor
Which of the following is used together with an
inductor to make a tuned circuit?
• A. Resistor
• B. Zener diode
• C. Potentiometer
• D. Capacitor
What is the name of the device that combines
several semiconductors and other components
into one package?
• A. Transducer
• B. Multi-pole relay
• C. Integrated circuit
• D. Transformer
What is the name of the device that combines
several semiconductors and other components
into one package? (T6D09)
• A. Transducer
• B. Multi-pole relay
• C. Integrated circuit
• D. Transformer
What is the purpose of a fuse in an electrical
circuit? (T0A04)