Sie sind auf Seite 1von 47

ELT 054 Eletrnica

Eletrnica Digital Parte I

26/1/2010

Company

LOGO

Eletrnica Analgica x Eletrnica Digital

Sinal analgico: um sinal contnuo no tempo cujo valor varia continuamente

Sinal digital binrio: um sinal contnuo no tempo que s assume dois valores, denominados nveis lgicos zero e um.
Practical Electronics for Inventors - Paul Scherz Copyright 2000 by Mc Graw Hill

Company

LOGO

Sistema Decimal Sistema Binrio

Sistema Decimal (Base 10) Algarismos: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

2810 = 2 x 10 + 8 x 10
1

Sistema Binrio (Base 2) Algarismos: 0, 1

11100 2 = 1 x 2 + 1 x 2 + 1 x 2 + 0 x 2 + 0 x 2
4 3 2 1
1/26/2010
Practical Electronics for Inventors - Paul Scherz Copyright 2000 by Mc Graw Hill

Company

LOGO

Converso binrio - decimal

2 0

2 1

2 0

2 0

2 1

2 0

2 1

2 0

= 2 + 2 + 2 = 7410
6 3 1

bit

1 byte = 8 bits
Practical Electronics for Inventors - Paul Scherz Copyright 2000 by Mc Graw Hill

Company

LOGO

Converso decimal - binrio

Converso Decimal - Binrio 54 0 2 27 1 2 13 1 54 = 00110110b 2 6 0 2 3 1 2 1


5

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

Company

BASES NUMRICAS Binria 2 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111

LOGO

Nmeros Binrios 0000 0


Decimal 10 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Hexadecimal - 16 0 1 2 3 4 5 6 7 8 9 A B C D E F 6

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

Company

LOGO

Converso binrio hexadecimal

Separa-se o nmero binrio em grupos de 4 algarismos e transforma-se diretamente cada grupo para a base 16 Ex: 10110101b para a base hexadecimal 10110101

1011=BH

0101=5H

B5H ou 0xB5

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

Company

LOGO

Converso hexadecimal binrio

Cada algarismo hexadecimal gera 4 algarismos binrios Ex: 0xBF1 1= 0001b F= 1111b B= 1011b

1011 1111 0001b


Practical Electronics for Inventors - Paul Scherz Copyright 2000 by Mc Graw Hill

Company

LOGO

Nmeros inteiros

Nmeros em notao complemento de dois

Bit de sinal

- 27 26 25 24 23 22 21 20 Exemplos: 01010011b = 26 + 24 + 21 + 20 = 83 10101101b = - 27 + 25 + 23 + 22 + 20 = - 83


Practical Electronics for Inventors - Paul Scherz Copyright 2000 by Mc Graw Hill

Company

LOGO

Complemento de dois mtodo 1

0100 1000b

+ 72

1011 0111 0000 0001 1011 1000


Practical Electronics for Inventors - Paul Scherz

Complemento de 1

+1 - 72
Copyright 2000 by Mc Graw Hill

10

Company

LOGO

Complemento de dois mtodo 2


0100 1000b + 72

Inverter os bits aps o primeiro 1 menos significativo:

0100 1000

1011 1000b
Practical Electronics for Inventors - Paul Scherz

- 72
Copyright 2000 by Mc Graw Hill

11

Company

Nmeros inteiros Complemento de 2 0111 0110 0101 0100 0011 0010 0001 0000 1111 1110 1101 1100 1011 1010 1001
Practical Electronics for Inventors - Paul Scherz

LOGO

Decimal 7 6 5 4 3 2 1 0 -1 -2 -3 -4 -5 -6 -7
Copyright 2000 by Mc Graw Hill

1000

-8

12

Company

LOGO
Bit de sinal

Nmeros racionais
0 1 0 1 0 0 1 1

- 2 2 2 1 2 0 2 -1 2 -2 2 -3 2 -4 2 -5 Exemplos:
100.11011b = - 22 + 2-1 + 2-2 + 2-4 + 2-5 = - 3,15625 01010.011b = 23 + 21 + 2-2 + 2-3 = 10,375
13

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

Company

LOGO

Soma de nmeros binrios

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

14

Company

LOGO

Subtrao de nmeros binrios

= - 7 em complemento de dois

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

15

Company

LOGO

Portas Lgicas - inversor


Expresso booleana:

Y=A

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

16

Company

LOGO

Portas Lgicas and (e)


Expresso booleana:

Y = AB

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

17

Company

LOGO

Funo enable com porta and

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

18

Company

LOGO

Portas Lgicas - nand


Expresso booleana:

Y = AB

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

19

Company

LOGO

Portas Lgicas or (ou)


Expresso booleana:

Y = A+ B

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

20

Company

LOGO

Funo enable com porta ou

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

21

Company

LOGO

Portas Lgicas - nor


Expresso booleana:

Y = A+ B

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

22

Company

LOGO

Portas Lgicas - xor

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

23

Company

LOGO

Portas Lgicas - nxor

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

24

Company

LOGO

Portas lgicas com mltiplas entradas

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

25

Company

LOGO

Famlia TTL

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

26

Company

LOGO

Nveis lgicos vlidos na entrada e sada

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

27

Company

LOGO

Famlia CMOS

Nveis lgicos: 0 0V (se VI< 7,5V nvel zero) 1 15V (se VI>7,5 V nvel um)
Practical Electronics for Inventors - Paul Scherz Copyright 2000 by Mc Graw Hill

28

Company

LOGO
1 2 3 4 5 6 7 8

lgebra de Boole
A+ B = B + A

AB = BA
A + ( B + C ) = ( A + B) + C A( BC ) = ( AB )C

A( B + C ) = AB + AC ( A + B )(C + D) = AC + AD + BC + BD
A0 = 0
A 1 = A
Practical Electronics for Inventors - Paul Scherz Copyright 2000 by Mc Graw Hill

29

Company

LOGO
9 10 11 12 13 14 15 16

lgebra de Boole
A+0 = A

A +1 = 1 A+ A = A
AA = A

A= A A+ A =1
AA = 0
A + B = AB
Practical Electronics for Inventors - Paul Scherz

Teorema de De Morgan
Copyright 2000 by Mc Graw Hill

30

Company

LOGO
17 18 19 20 21

lgebra de Boole
AB = A + B
Teorema de De Morgan

A + AB = A + B A + AB = A + B A B = AB + A B = ( A + B)( AB)
A B = AB + A B

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

31

Company

LOGO

Circuitos lgicos combinacionais

Simplificar o circuito:

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

32

Company

LOGO

Nor e Nand Gates universais

1/26/2010

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

33

Company

LOGO

Mapa de Karnaugh

Soma de produtos
1/26/2010
Practical Electronics for Inventors - Paul Scherz Copyright 2000 by Mc Graw Hill

34

Company

LOGO

Mapa de Karnaugh - simplificao

1/26/2010

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

35

Company

LOGO

Mapa de Karnaugh - simplificao

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

36

Company

LOGO

Mapa de Karnaugh - simplificao

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

37

Company

LOGO

Mapa de Karnaugh - exemplos

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

38

Company

LOGO

Mapa de Karnaugh - exemplos

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

39

Company

LOGO

Exerccio

Faa o circuito mnimo para a varivel lgica L A 0 0 0 0 1 1 1 1 B 0 0 1 1 0 0 1 1 C 0 1 0 1 0 1 0 1 L 1 0 1 0 1 1 1 1


40

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

Company

LOGO

Decodificador BCD para Display de 7 segmentos

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

41

Company

LOGO

Circuito interno do display

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

42

Company

LOGO

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

43

Company

LOGO

Soma binria

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

44

Company

LOGO

Somador de dois bits

A1 B1

S1

A0 B0 0

S0

Practical Electronics for Inventors - Paul Scherz

Copyright 2000 by Mc Graw Hill

45

Company

LOGO

Representao digital de sinais


Sinal contnuo no tempo ou sinal analgico

Sinal discreto no tempo e quantizado em amplitude

Figure 1.7 Sampling the continuous-time analog signal in (a) results in the discrete-time signal in (b).
Practical Electronics for Inventors - Paul Scherz Copyright 2000 by Mc Graw Hill

46

Company

LOGO

Nmeros em Ponto Flutuante


v = (1) S 2( E 127) 1.F
23 22 E F 0

Formato IEEE preciso simples:

31 30

sinal 1 bit

expoente 8 bits

mantissa 23 bits

Exemplo:

1 10000001 01100000000000000000000 129 0,375

1.375 2(129127) = 5,500


Practical Electronics for Inventors - Paul Scherz Copyright 2000 by Mc Graw Hill

47

Das könnte Ihnen auch gefallen