Sunteți pe pagina 1din 8

TEMA 10 REPREZENTAREA DIGITAL Sistemul binar ponderi poziionale

23 = 8 0 Binar Ponderea

Sisteme de numeraie

Corespondentul zecimal 20 = 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 2 3 4 5 6 7 8 9 10 11

... 23 22 21 20 2-1 2-2 2-3 ... 1 0 1 1 1


punct
cel mai semnificativ binar cel mai puin semnificativ

22 = 4 0 0 0 0 1 1 1 1 0 0 0 0

21 = 2 0 0 1 1 0 0 1 1 0 0 1 1

0 0 0 0 0 0 0 1

bit
(MSB) 1011.1012 =

bit
(LSB)

1 1 1

= 1x23 +0x22 +1x21 + 1x20 + 1x2-1 + 0x2-2 +1x2-3 = (8 + 0 + 2 + 1),(0,5 + 0 + 0,125) = 11,62510

1
1 1 1

1
1 1 1

0
0 1 1

0
1 0 1

12
13 14 15

TEMA 10 REPREZENTAREA DIGITAL

Sisteme de numeraie

conversia zecimal-binar a) scrierea sub form de sum de puteri ale lui 2 2310 = 16 + 0 + 4 + 2 + 1 = 1x24 + 0x23 + 1x22 + 1x21 + 1x20
2310 = 1 0 1 1 12 b) diviziunea repetat cu 2 25 : 2 = 12 rest 1 LSB - cel mai puin semnificativ bit 12 : 2 = 6 rest 0 6:2=3 rest 0 3:2=1 rest 1 1:2=0 rest 1 MSB - cel mai semnificativ bit 2510 = 1 1 0 0 12

TEMA 10 REPREZENTAREA DIGITAL Sistemul octal (se folosesc 8 cifre: 0, 1, 2, ... , 7) ponderi poziionale

Sisteme de numeraie

... 83 82 81 80 8-1 8-2 8-3 ...


3 0 7 6 5
punct

cel mai semnificativ


bit (MSB)

octal cel mai puin semnificativ bit (LSB)

conversia octal-zecimal: 3728 = 3x82 + 7x81 + 2x80 = 3x64 + 7x8 + 2x1 = 25010

conversia zecimal-octal 266 : 8 = 33 rest 33 : 8 = 4 rest 4:8=0 rest

2 1 4

LSB MSB

26610 = 4128

TEMA 10 REPREZENTAREA DIGITAL Conversia octal-binar i binar-octal


Digit octal Echivalentul binar 0 000 1 001 2 010 3 011 4 100 5 101 6 110 7 111

Sisteme de numeraie

octal-binar

binar-octal

4728 4 7 2

110101102 (011)(010)(110)2 011 3 010 2 110 6

100

111

010

4728 = 100 111 0102

110101102 = 3268

TEMA 10 REPREZENTAREA DIGITAL Sistemul hexazecimal


Hexazecimal 0

Sisteme de numeraie

Zecimal 0 1 2 3 4 5 6 7

Binar 0000 0001 0010 0011 0100 0101 0110 0111

2AF16 = 2x162 + 10x161 + 15x160 = 512 + 160 + 15 = 68710

1 2 3 4 5 6

423 : 16 = 26 26 : 16 = 1 1 : 16 = 0

rest rest 10 rest

7 A 1

LSB MSB

8
9 A

8
9 10 11 12 13 14 15

1000
1001 1010 1011 1100 1101 1110 1111

42310 = 1A716

B C D E F

TEMA 10 REPREZENTAREA DIGITAL

Niveluri logice

familia TTL V C C [V]


5 5

familia CMOS V D D [V]

1 LOGIC

1 LOGIC
3 2 3 2

1
0

0 LOGIC

0 LOGIC

TTL - Transistor Transistor Logic CMOS - C omplementary M etal Oxide S emiconductor

TEMA 10 REPREZENTAREA DIGITAL o funcie continu poate fi scris ca o sum finit sau infinit de funcii armonice (sin sau cos)

10

wmax = 15
y(t)=4+0.2sin5t+0.3sin7t+0.4sin11t+0.1sin15t

y(t) [unitati relative]

fmax = wmax/2p
fmax = 2.39 Hz

fsmin =4,78 Hz
Tsmax = 0,21 s
0 2 4 6 8 10

t [s]

TEMA 10 REPREZENTAREA DIGITAL

u(t) [V]
10 9 8 7 6 5 4 3 2 1 0 10 9 8 7 6 5 4 3 2 1 0
SEMNAL ANALOGIC CONTINUU

Ce este un semnal digital ?

t
s
uk(t) [V]
SEMNAL ANALOGIC ESANTIONAT

DIGITIZAREA
EANTIONAREA
Shanon: frecvena de eantionare s fie cel puin egal cu dublul frecvenei maxime a semnalelor armonice din care se compune semnalul eantionat f 2 f s max

CUATIFICAREA

0 0 1 0

0 1 0 1

0 1 1 0

0 1 1 1

.....................
MEMORIE

SEMNAL DIGITAL MEMORAT

S-ar putea să vă placă și