Electronics 1
Electronics 1
Ezequiel Tuyac
Giovanel Gentiles
Winz Kyle M. Jumalon
1
Winz Kyle M. Jumalon
Digital
Circuits
4
Digital Circuits
However, the digital circuits have many
advantages over analog circuits. Analog
signals are easily converted to digital signals
using commercially available analog-to-digital
converters (ADC). In new designs, digital
circuits will be used wherever possible
5
Digital Circuits
Some of the advantages of digital circuits are
■ Lower power requirements
■ More cost effective
■ Can transmit signals over long distances without loss of
accuracy and elimination of noise.
■ High-speed signal transmission
■ Memory capability for data storage
■ Controller and alpha numeric display compatible
6
1.
Digital
Signals
Digital Signals
Digital signals are either high or
low logic levels. Most digital circuits
use a 5V supply. The logic low
(binary 0) level is from 0 to 1V, the
logic high (binary 1) level is from 2
to 5V; 1 to 2 V is an undefined
region, i.e., any voltage below 1 V is
considered a 0 level and any
voltage above 2 V is considered a 1
level.
8
Digital Signals
In circuits where the supply
voltage is other than 5 V, a 0 level
is still considered as a 0 V level or
the output drivers are sinking
current, i.e., connecting the output
terminal to ground, and a 1 level is
close to the supply voltage or the
output drivers are sourcing current,
i.e., connecting the output terminal
to the supply rail.
9
2.
Binary
Numbers
Binary Numbers
We use the decimal system (base
10) for mathematical functions, whereas
electronics uses the binary system (base
2) to perform the same functions. The
rules are the same when performing
calculations using either of the two
numbering systems (to the base 10 or 2).
11
Binary Numbers
Table 4.1 gives a comparison
between counting in the decimal and
binary systems. The least significant
bit (LSB) or unit number is the right-
hand bit. In the decimal system when
the unit numbers are used we go to
the tens, that is, 9 goes to 10, and
when the tens are used we go to the
hundreds, that is, 99 goes to 100 and
so forth. 12
Binary Numbers
The binary system is the same
when the 0 and 1 are used in the LSB
position, then we go to the next
position and so on, that is, 1 goes to
10,11 goes to 100, and 111 goes to
1000, and so forth. The only
difference is that, to represent a
number it requires more digits when
using a binary system than in the
decimal system.
Binary Numbers
15
Binary Numbers
17
Binary Numbers
Binary circuits are synchronized by clock signals which
are referenced to very accurate crystal oscillators (< ±0.001
percent), using counters and dividers. The clock signal can be
used to generate very accurate delays and timing signals,
compared to RC-generated delays and timing which can have
tolerances of > ±10 percent, so that delays and timing will be
done almost entirely by digital circuits in new equipment.
18
3.
Logic
Circuits
Logic Circuits
The basic building blocks in digital circuits are called gates. These
are buffer, inverter, AND, NAND, OR, NOR, XOR, and XNOR. These
basic blocks are interconnected to build functional blocks such as
encoders, decoders, adders, counters, registers, multiplexers,
demultiplexers, memories, and the like. The functional blocks are then
interconnected to make systems, i.e., calculators, computers,
microprocessors, clocks, function generators, transmitters, receivers,
digital instruments, ADC and digital-to-analog converters (DAC),
telephone systems and the like, to name a few.
20
Logic Circuits
21
Logic Circuits
Figure 4.12b shows the equivalent gate symbol. When the input to
the gate is low (0) the positive-channel MOS (PMOS) is “ON” and the
negative MOS (NMOS) is “OFF” so that the output is held high (1),
23
Logic Circuits
and when the input is high (1) the PMOS is “OFF” and the NMOS
is “ON”, which will hold the output low (0), so that the input sign is
inverted at the output.
24
Logic Circuits
One of the MOS devices is always “OFF”, so that the circuit draws
no current from the supply (except during switching) making CMOS
circuits very power efficient.
25
4.
Analog-to-
digital
conversion
Analog-to-digital conversion
27
Analog-to-digital conversion
28
Analog-to-digital conversion
Several techniques are used for the conversion of analog
signals–to digital signals. These are
➔ Flash converters
➔ Successive approximation
➔ Resistor ladder networks
➔ Dual slope converters
29
Analog-to-digital conversion
31
Analog-to-digital conversion
Flash converters Resistor ladder networks
32
Analog-to-digital conversion
Analog signals are constantly changing, so that for a converter to
make a measurement, a sample-and-hold technique is used to capture
the voltage level at a specific instant in time. Such a circuit is shown in
Fig. 4.13a, with the waveforms shown in Fig. 4.13b.
33
Analog-to-digital conversion
The N-channel field effect transistor (FET) in the sample-and-hold
circuit has a low impedance when turned “ON” and a very high
impedance when turned “OFF”.
34
Analog-to-digital conversion
The voltage across capacitor follows the input analog voltage when
the FET is “ON” and holds the dc level of the analog voltage when the
FET is turned “OFF”. During the “OFF” period the ADC measures the dc
level of the analog voltage and converts it into a digital signal.
35
Analog-to-digital conversion
As the sampling frequency of the ADC is much higher than the
frequency of the analog signal, the varying amplitude of the analog
signal can be represented in a digital format during each sample
period and stored in memory. The analog signal can be
regenerated from the digital signal using a DAC.
36
Analog-to-digital conversion
Figure 4.14a shows the block
diagram of the ADC 0804, a
commercial 8-bit ADC. The analog
input is converted to a byte of digital
information every few milliseconds.
An alternative to the ADC is the
voltage-to-frequency converter. In this
case the analog voltage is converted to
a frequency
37
Analog-to-digital conversion
38
Circuit
Consideration
39
Circuit Consideration
40
Circuit Consideration
Digital circuits can be divided by
the number of components integrated
onto a single silicon chip into small-
scale, medium-scale, and large-scale
integration. In small-scale integration
(up to 100 devices) such as the SN
54/74 family of digital circuits, both
bipolar and CMOS devices are used.
41
Circuit Consideration
43
Circuit Consideration
Systems containing a large number
of gates are now using programmable
logic arrays (PLA) to replace the SN
54/74 gate family of devices, as one of
these devices can replace many gate
devices, requires less power, and can
be configured (programmed) by the
end user to perform all the required
system functions.
44
Thank You
All rights reserved 2024
45