Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Tema 1 Introduccion 2020-2021
Tema 1 Introduccion 2020-2021
Electrónica Digital
(3º Grado en Ingeniería Electrónica y Automática Industrial)
1
Electrónica Digital (Grado en Ingeniería Electrónica y Automática Industrial)
2
Electrónica Digital (Grado en Ingeniería Electrónica y Automática Industrial)
Ventajas
Desventajas
3
eter), acceleration (airbag collision detection), pressure (oil, manifold), and
flow rate (fuel), to name just a few. Chapter
Electrónica Digital (Grado en Ingeniería Electrónica y 11 will cover the devices that
Automática Industrial)
convert analog to digital.
To illustrate a typical system that uses this approach Figure 1-12
describes a precision temperature regulation system. A user pushes up
or down buttons to set the desired temperature in 0.1° increments (digi-
Ejemplo tal representation). A temperature sensor in the heated space converts the
measured temperature to a proportional voltage. This analog voltage is
Sistema de regulación de temperatura de precisión
Digital input:
Digital signal representing
Set desired temperature
power (voltage) to heater
+ Temperature-controlled
Digital–analog space
Digital processor
conversion
– Sensor
Heat
Analog–digital
conversion
Digital signal representing Analog signal representing
actual temperature actual temperature
4
Just as you realize that the night does not change instantly int
Electrónica Digital (Grado en Ingeniería Electrónica y Automática Industrial)
that no digital signal can truly change instantly from LOW to
is a time of transition. It is common to declare the transiti
ing when the signal is half way between the two states. Mea
taken from the 50% point of waveform. For example, the wid
pulse is measured as shown in Figure 1-10. The period T is
1.1.1 Señales Digitales from 50% points as shown. Chapter 5 will have more to say a
ments of these transition times and the period of a digital wa
Low
• Niveles y flancos/transiciones
• Impulso ideal SI tiene cambios de nivel instantáneos pero el real NO
Edges/Events
Impulso IDEAL Impulso REAL
Whenever you have a system with only two states, the only th
considered an “event” is when the system changes states. A t
LOW to HIGH or HIGH to LOW is considered an “event” in d
On timing diagrams, these transitions appear as sharp “edges
are rising edges and some are falling edges. We will learn
that there are circuits that respond to HIGH levels (activ
circuits that respond to LOW levels (active LOW). Circuits
to a particular level are often considered to be level triggere
of digital circuits respond to either rising edges or falling
are called edge triggered circuits. Chapter 5 will introduce e
devices.
tw: Anchura de pulso. Tiempo transcurrido entre el
50% del flanco de subida y el 50% del de bajada.
7
Electrónica Digital (Grado en Ingeniería Electrónica y Automática Industrial)
El periodo de bit es el intervalo de tiempo definido que ocupa un
bit dentro de una secuencia.
Sistema asíncrono
(UART)
Sistema síncrono
(SPI)
8
Electrónica Digital (Grado en Ingeniería Electrónica y Automática Industrial)
9
being employed.
her hand, it is very easy to design simple, accurate electronicand take that
circuits each symbol (digit) in progression until we reach 9. Then we add
In the binary system, the term binary digit is often abbreviated to the
perate with only two voltage levels. For this reason, almost aevery 1 to the next higher position and start over with 0 in the first position
digital term bit, which we will use from now on. Thus, in the number expressed
Electrónica Digital (Grado en Ingeniería Electrónica y Automática Industrial)
ystem uses the binary (base-2) number system as the basic number (see Figure
system1-14). This process continues until the count of 99 is reached.
in Figure 1-15 there are four bits to the left of the binary point, represent-
Then
its operations. Other number systems are often used to interpret or repre- ing the we add a 1 to the third position and start over with 0s in the first two
integer part of the number, and three bits to the right of the binary
positions.
ent binary quantities for the convenience of the people who work with and point, representing The same pattern is followed continuously as high as we wish
the fractional part. The most significant bit (MSB) is the
se these digital systems. to count.
leftmost bit (largest weight). The least significant bit (LSB) is the rightmost
In the binary system there are only two symbols or possible digit values, bit (smallest weight). These are indicated in Figure 1-15. Here, the MSB
CHAPTER
and 1. Even 1.1.2 Sistemas Numéricos
1/INTRODUCTORY
so, this base-2CONCEPTS
system can be used to represent any quantity has a weight of 23; the LSB has a weight of 2-3. The weights of each digit
FIGURE 1-14 Decimal
hat can be represented in decimal or other number systems. In general increase by01 a factor of 2 as the20 103
21position moves from right to left.
counting.
hough, it will take a greater number of binary digits to express a given 2 22
uantity.
FIGURE 1-13 Decimal Positional values 3 23
All ofvalues
position the statements
as powers made earlier concerning the decimal system Binary Counting
(weights) 4
5
24
25
re
of equally
10. applicable to the binary system. The binary system is also a When we deal 6 with binary numbers,
26 we will usually be restricted to a spe-
ositional-value system, wherein each 10 3 10 2 10 1 10 0 1021 1022 1023
binary digit has its own value or cific number 7 of bits. This restriction
27 is based on the circuitry used to repre-
eight expressed as a power of 2. This is illustrated in Figure 1-15. Here, sent these 89binary numbers. Let’s 28
29 use four-bit binary numbers to illustrate
aces to the left of the binary point (counterpart of the decimal point) are the method 10 for counting in binary.
30
2 7 4
ositive powers of 2 and places to the right are5negative
2 1 4
powers of 2. The 11
The sequence (shown in Figure 1-16) begins with all bits at 0; this is
umber 1011.101 is shown represented in the figure. To find its equivalent called the12 zero count. For each successive count,200
13
199
the units (20) position tog-
the decimal system, we simply take the sum of the
Decimal
products of each digit gles; that is,
14 it changes from one binary value to the other. Each time the
MSD LSD
alue (0 or 1) and its positional value: point 15
units bit changes from a 1 to a 0, the twos (21) position will toggle (change
16 99
states). Each
17 time the twos position
100 changes from 1 to 0, the fours (22) posi-
3 2 1 0
1011.1012 = 11 * 2 2 + 10 * 2 2 + 11 * 2 2 + 11 * 2 2 tion will toggle
18 (change states).101 Likewise, each time999 the fours position goes
-1 -2 -3 from 1 to 19
0, the eights (23 102
) position toggles. 1000 same process would be
This
+ 11 * 2 2 + 10 * 2 2 + 11 * 2 2
Figure 1-13, where the number 2745.214 is represented. The decimal point
separates the 8 + 0 + powers
= positive 2 + 1 +of0.5 10+from
0 + the
0.125negative powers. The number continued for the higher order bit positions if the binary number had more
2745.214 is thus equal to than four bits.
= 11.625 10 It is important to note that in decimal counting, the units position (LSD)
12 * 10 + 32 + 17 * 10 + 22 + 14 * 1012 + 15 * 10 FIGURE
0
2 1-16 changes
Binary upward with each
Weights
step in the count, the tens
23 5 8 22 5 4 215 2 20 5 1
position
Decimal changes
equivalent
counting sequence.
-1 -2upward every -3 10 steps in the count, the hundreds position changes upward
IGURE 1-15 Binary Positional + 12 * 10 2 + 11 * 10 2 + 14 * 10 2 0 0 0 0 0
every 100 steps in the count, 0 and 0so on.
0 1 1
osition values as powers values
0 0 1 0 2
In
2. general, any number is simply the sum of the products
1 1 1 of each digit value
0 1 1 3
8 4 2 1 0
and its positional value. 2 4 8
0 1 0 0 4
23 22 21 20 221 222 223 0 1 0 1 5
0 1 1 0 6
Decimal Counting 0 1 1 1 7
1 0 we
1 start
1 1 0 0 in
1 the units position 1 0 0 0 8
When counting in the decimal system, with 9
1 0 0 1
and take each symbol (digit) in progression until we reach 9. Then we add 1 0 1 0 10
a 1 to the next higher position and start over with 0 in the first position 1 0 1 1 11
MSB Binary LSB
(see Figure 1-14). This process continues until
pointthe count of 99 is reached. 1 1 0 0 12
Then we add a 1 to the third position and start over with 0s in the first two 1 1 0 1 13
1 1 1 0 14
positions. The same pattern is followed continuously as high as we wish
1 1 1 1 15
to count.
ero is counted as a number.
10
LSB
FIGURE 1-14 Decimal 0 20 103
-2 DECIMAL-TO-BINARY
UTCOMES
dentify the weight of each bit in a CONVERSIONSbinary number.
equivalent simply by summing together the weights of the various positions
in the binary number that contain a 1. To illustrate, let’s change 11011 YES 2
to
pon completion
xplained Electrónica Digital (Grado en Ingeniería Electrónica y
in Chapter of this section,
1, the binaryyou number will system
be able
itsisto:
a positional
decimal system
equivalent. Automática Industrial)
END
eUTCOMES
each binary digit (bit) carries a certain weight based on its position Collect R’s into desired
Convert decimal numbers to binary. 1 1 0 1 12 binary number with
ve to the LSB. Any binary number
pon completion of this section, you will be able to: can be converted to its decimal
CALCULATOR4 3 HINT: 1 0
first R as LSB and
1.2 Simbología.
Puertas lógicas:
13
Electrónica Digital (Grado en Ingeniería Electrónica y Automática Industrial)
Flip-Flops:
14
Electrónica Digital (Grado en Ingeniería Electrónica y Automática Industrial)
Circuitos digitales:
15
Electrónica Digital (Grado en Ingeniería Electrónica y Automática Industrial)
El álgebra de Boole define una serie de normas que nos permitirá
operar con sistemas algebraicos binarios.
16
Electrónica Digital (Grado en Ingeniería Electrónica y Automática Industrial)
17
Electrónica Digital (Grado en Ingeniería Electrónica y Automática Industrial)
18
Electrónica Digital (Grado en Ingeniería Electrónica y Automática Industrial)
19
Electrónica Digital (Grado en Ingeniería Electrónica y Automática Industrial)
20