You are on page 1of 27

UNIVERSIDAD PRIVADA DE TACNA

Maestra en Ingeniera Electrnica con


Mencin en Telecomunicaciones

PROCESAMIENTO DIGITAL DE SEALES (IET - 203)

Tema
DIGITALIZACIN Y RECONSTRUCCIN DE SEALES (Parte 1)

Profesor
Prof. MSc. Ing. Christian del Carpio
Seal analgica: una seal analgica tiene cualquier valor de voltaje en cualquier instante
de tiempo.

Dr. Guillermo Kemper Vsquez


Seal Discreta (sin cuantizacin): Presenta cualquier valor de voltaje adquirido en instantes de
tiempo predeterminados, denominados instantes de muestreo.

1.5

T = Periodo de muestreo
1
1
fs = Hz muestras/s

0.5 fs = Frecuencia de muestreo

T 2T 3T 4T 5T 6T
0
t

-0.5

-1

-1.5
-1 0 1 2 3 4 5 6
Dr. Guillermo Kemper Vsquez
Seal Discreta (con cuantizacin): Valores de voltaje adquiridos en instantes de tiempo
predeterminados (muestreo) y aproximados a voltajes predeterminados (cuantizacin).

V31

V0.5
2
Seal Discreta (sin cuantizacin)
00 7T 8T 9T
T 2T 3T 4T 5T 6T
V-0.5
1

V0-1
V310 0.5 1 1.5 2 2.5 3 3.5 4 4.5 11

V0.52 10
Seal Discreta (con cuantizacin)
00 7T 8T 9T
T 2T 3T 4T 5T 6T
V-0.51 01

V0-1 00
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 Dr. Guillermo Kemper Vsquez
Donde:
V0, V1, V2 y V3 son niveles de cuantizacin
V0 = 00
V1 = 01
V2 = 10
V3 = 11
r = bits/muestra
r
L = 2 No. de niveles cuantizacin (o No. de intervalos de cuantizacin)

Digitalizacin (PCM) : Muestreo => Cuantizacin => Codificacin binaria


Para tiempo real, la tasa de bit de salida del A/D, debe ser mnimo de:

Tasa = fS . r (bit/seg)

Dr. Guillermo Kemper Vsquez


: Intervalo de cuantizacin
Seal Digital:
Seal discreta cuantizada expresada en bits
2.5

Xmax
2

Q(x)
1.5 V3 = 11

V2 = 10
0.5
Rango de
Q(x)
Cuantizacin
0 [Xmin, Xmax]
Q(x)
V1 = 01 Cuantizador
-0.5
Uniforme

-1

-1.5 V0 = 00
Q(x)
-2 Xmin
Dr. Guillermo Kemper Vsquez
Muestreo:
x(t) y(t) (en rojo)
1 1

0.9
0.9
0.8

0.8 0.7

0.6
0.7
0.5

0.6
0.4

0.3
0.5

0.2
0.4
0.1

0
0 0.5 1
multiplicador1.5 2 2.5 3 00 T
0.5 2T
1 3T
1.5 4T
2 5T
2.5 6T3
x(t)
X y(t)= x(-2T) t + 2T +x(-T) t + T + x(0) t +
x(T) t T + x(2T) t 2T .

= t + 2T + t + T + t + t T + t 2T

Tren de impulsos
Dr. Guillermo Kemper Vsquez
Anlisis en el tiempo

y t = x t . T (t)

y t =x t . (t nT)
n=

y t = + x t . (t 2T) + x t . (t T) +x t . (t) +x t . (t + T)
+x t . t + 2T

y t = x nT . (t nT) Muestreo en tiempo


n=

Dr. Guillermo Kemper Vsquez


Anlisis en frecuencia

x t X(w) Seal continua original

y t Y(w) Seal muestreada


Pares
Fourier
T (t) = t nT ws w = ws (w k. ws )
n= k=

Donde:
2
ws = 2fs = T
rad/s

1 Hz => 2 rad/s
1
1 rad/s => 2 Hz

Dr. Guillermo Kemper Vsquez


Fy t = F{x t . T (t)}

X w ws (w)
Y w =
2

X w ws k= (w k. ws )
Y w =
2
1.5
ws (w)

ws
1

0.5

0 w
-2.2 -3w
-1.65
s -2w
-1.1s -w
-0.55
s 0
0 w
0.55
s 2w
1.1s 3w
1.65
s 2.2

Dr. Guillermo Kemper Vsquez


2
X w k= (w k. ws )
Y w = T
2

2
X w T k= (w k. ws )
Y w =
2


X w k= (w k. ws )
Y w =
T
1 1
Y w = k= X w (w k. ws ) = k= X(w k. ws )
T T

X(w2ws ) X(wws ) X(w) X(w+ws ) X(w+2ws )


Y w = + + + + + +
T T T T T

Muestreo en
1
frecuencia Y w = X(w k. ws )
T
k=

Dr. Guillermo Kemper Vsquez


Anlisis de muestreo de seales

2
X(w) Ancho de banda
1. 8
Solo positivo
1. 6 B Se mide en:
1. 4
B Hz
1. 2

1
A 2 B rad/s
0. 8

0. 6

0. 4

0. 2

0
-6 -4 -2 0 2 4 6

-2B 0 2B w
Caso ws > 2(2 B):
Respuesta en frecuencia del
2 Y(w) Filtro de Reconstruccin
1. 8

1. 6 T
1. 4

1. 2

1
A/T
0. 8

0. 6

0. 4

0. 2

0
-8 -6 -4 -2 0 2 4 6 8

-2ws -ws -2B 0 2B ws 2ws w

-ws/2 ws/2
Regin de Inters
Dr. Guillermo Kemper Vsquez
Se disminuye ws pero los datos an son
Caso ws = 2(2 B): Y(w) recuperables.
T

A/T

6 -4 -2 0 2 4

-2ws -ws -2B 2B ws 2ws


-ws/2 ws/2
Regin de Inters

En el caso de disminuir an ms la
Caso ws < 2(2 B): Y(w) frecuencia ws , aparece la distorsin
2

8
por aliasing.
6
T
4

1
A/T
8

0
-5 -4 -3 -2
-2B
-1 0
2B1 2 3 4 5

-2ws -ws -ws/2 ws/2 ws 2ws


Aliasing
Regin de Inters
Dr. Guillermo Kemper Vsquez
Seal de
ws 1.2

wc 1 entrada
2 0.8

0.6
Filtro pasa baja Salida
wc ws/2
0.4

0.2

wc = frecuencia de corte 0
0 1 2 3 4 5 6 7 8 9 10 11

ws = frecuencia de muestreo
Teorema del muestreo
Para garantizar la perfecta reconstruccin de una seal discreta (sin cuantizacin) y no
introducir aliasing en el proceso de muestreo, se deben satisfacer las siguientes
condiciones:
En Hz En rad/seg Como consecuencia, la regin de inters
est limitada a los siguientes intervalos
fs 2B
ws 2(2B)
1 En rad/seg
T En Hz
2B 2B
T fs fs 1 1 ws ws
1
B , ; , , ; ,
2T 2 2 2T 2T 2 2 T T
fs
B
2

Dr. Guillermo Kemper Vsquez


RECONSTRUCCIN
Reconstruccin Ideal: Considera la seal discreta formada por impulsos.
Seal reconstruida
idealmente

y(t) Filtro de Reconstruccin xR (t)


1.2
(Filtro suavizante)
1.2
x(2T) (Filtro interpolador)
1
x(T) x(3T) 1

0.8
HR (w)
0.8
x(0) x(4T) T
0.6
0.6

0.4 x(5T) 0.4

0.2 x(6T) 0.2

0 t
00 T 2T 3T 4T 5T 6T w
0
0.5 1 1.5 2 2.5 3 3.5
t 4

wc wc 0 0.5 1 1.5 2 2.5 3 3.5 4


0
ws: frecuencia de muestreo
wc: frecuencia de corte
HR(w): respuesta en ws
wc convolucin
frecuencia de filtro de 2
reconstruccin
hR(t): respuesta impulsiva
de filtro de reconstruccin y t hR t = xR (t)

Dr. Guillermo Kemper Vsquez


t w0 w
hR t = sinc HR w = T = HR w = T
T ws ws

hR t HR (w)
1.2
Caso No Causal
1
T
0.8

0.6

0.4

0.2

-4T -3T -2T -T 0 T 2T 3T 4T t 0


-1.5
-1

-0.5 0 0.5
1 w 1.5
0
2 2

-10 Las0sincs son funciones


10 interpoladoras.
20 30

Dr. Guillermo Kemper Vsquez


1.- Anlisis en el tiempo Y(w) : Es el espectro de la seal
muestreada.

xR (t) = y t hR (t) HR(w) : Respuesta en frecuencia del filtro


de Reconstruccin.

t Perfecta Reconstruccin:
xR (t) = x nT . (t n. T) sinc
T
n=
XR(w) = X(w)
t nT
xR (t) = x nT . sinc
T
n= XR w
2

1.8

2.- Anlisis en frecuencia 1.6


ws = 2(2B)
1.4

1.2

1
XR w = Y w . HR (w) 0.8

0.6

0.4

1 w 0.2

XR w = X(w k. ws ) T 0
T ws -5 -4 -3 -2 -1
0
0 1 2 3 4
w
5

Dr. Guillermo Kemper Vsquez


1.5 xR(t)

x(T) x(2T)
1
La funcin sinc se llama
interpoladora porque genera x(3T) Caso No Causal
voltajes internos a partir de x(4T)
x(5T)
voltajes externos x(0)
0.5

0
0
-2T -T T 2T 3T 4T 5T

1.2 y(t)
-0.51

-30
0.8
-20 -10 0 xR(t)
10 20 30
0.6

0.4 hR(t)
0.2

0
0 1 2 3 4 5 6 7 8 9 10 11

Dr. Guillermo Kemper Vsquez


Caso Causal 2

1.2
1.5
1
Seal
reconstruida
0.8
1
0.6

hR(t)
0.4
0.5
0.2

0
0
0
00.5 T1 2T
1.5
3T
2
4T 5T
2.5 3 3.5 4

t0

-0.5
-30 -20 -10 0 10 20 30

dR (w)
t0 retardo de grupo =
dw

Dr. Guillermo Kemper Vsquez


y(t) Reconstruccin Real: Considera la seal discreta formada por pulsos.
1.2
yp (t)
x(2T) 1.2

1
x(T) x(3T) Filtro 1

p(t) 1.5


0.8
0.8

x(0) x(4T) 0.6

0.6 1 1

0.4

x(5T)
0.2
0.4
0.5
0

0.2 x(6T)
0 0.5 1 1.5

0 T 2T 3T 4T 5T 6T
2 2.5 3 3.5 4
t
0


0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5

0
0
0
0.5
T
1
2T
1.5
3T
2
4T
2.5
5T 6T
3 3.5
t 4
t

Y(w) P(w) Yp (w)


A

Filtro de Filtro Ecualizador xR (t)


xR (t)
reconstruccin (nfasis)
hR(t) HR (w) hE (t) HE (w)

A HR (w) XR (w) HE (w) XR (w)

Dr. Guillermo Kemper Vsquez


Anlisis en el tiempo
t 2
yp t = y t p(t) = y t


t 2
yp t = x nT . (t nT)

n=

Por lo tanto: xR t = yp t hR (t)



t 2 nT t
xR t = x(nT) sinc
T
n=

Adems: xR t = xR t hE (t)

t 2 nT t
xR t = x(nT) sinc hE (t)
T
n=

t t 2 nT
xR t = x nT sinc hE (t)
T
n=

(t nT) Para perfecta reconstruccin

Dr. Guillermo Kemper Vsquez


Entonces se tiene que:

t 2 nT
hE T = (t nT)

Condicin que debe ser


aplicada al diseo del filtro
ecualizador para garantizar
perfecta reconstruccin

Dr. Guillermo Kemper Vsquez


Anlisis en Frecuencia: Se tiene que:
t w.
sinc
2
t 2 nT w. w jwnT
sinc e 2e
2

Aplicando transformada de Fourier a ambos de la condicin anterior:


jw
w.
. sinc e 2 ejwnT HE w = ejwnT
2

w. jw t 2
P w = . sinc e 2 p t =
2

XR w = Y w P(w)HR w HE w
Para perfecta reconstruccin:
1
HE w =
P(w)
w
2
e 1
HE w = w. =
. sinc 2 P(w)

Dr. Guillermo Kemper Vsquez


2
X(w)
1.2
1. 8
1
1. 6
0.8
1. 4

1. 2 A 0.6

0.4
1

0. 8 0.2

0. 6 0
0 0.5 1 1.5 2 2.5 3 3.5 4

0. 4

0. 2

0
-6 -4 -2 0 2 4
w 6

2 -2B 0 2B 1.2

1.8 0.8

1.6

1.4
Y(w) 0.6

0.4

0.2
1.2

1 A/T 0
0 0.5 1 1.5 2 2.5 3 3.5 t 4

0.8

0.6

0.4

0.2

0
-8 -6 -4 -2 0 2 4 6
w 8

-2ws -ws -2B 0 2B ws 2

1.8
2ws
1.6

P(w)
1.4

1.2

T 0.8

0.6
=T
0.4

0.2

t
=T
0
0 0.5 1 1.5 2 2.5 3 3.5 4

-2ws -ws
0 ws 2ws w

Dr. Guillermo Kemper Vsquez


Yp (w) = Y(w) P(w)
A

w
-2ws -ws -ws/2 ws/2 ws 2ws
HR (w)
T

w
-ws/2 ws/2
-8 -6 -4 -2 0 2 4 6 8

XR (w) = Yp(w) HR (w)

AT

w
-6 -4 -2
-ws/2 0 2
ws/2 4 6 8

Dr. Guillermo Kemper Vsquez


1 1
HE w = w. =
. sin 2 P(w)

HE (w)

1/T

w
-6 -4 -2
-ws/2 0
ws/2 2 4 6

2
X R (w) = Yp(w) HR (w) HE (w)
1. 8

1. 6

A
1. 4

1. 2

0. 8

0. 6

0. 4

0. 2

0
-6 -4 -2

-2B
0

2B
2 4
w 6

Dr. Guillermo Kemper Vsquez


Si =T wT w w
P(w) = T sinc = T sinc = T sinc
2 2 ws
2
T 3

1.8
2.5

1.6

1.4
P(w) 2

1.5
1.2

1
T 1

0.5
0.8

0.6 0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5

0.4 0 T 2T 3T 4T
0.2

0
-10 -8
-2ws
-6 -4
-ws -2 0 2
ws 4
2ws 6 8 10

Para un = 1 que satisface 1< T Conveniente


w
2

1.8

P(w) = T sinc 1.6


1
2 1.4

1
1.2

1
1 1
0.8

2 2 P(w) 0.6

1
0.4

> 0.2

1 T 0
0

0
1 2 3 4

T
5 6 7 8

2T
9 10

-2ws -ws ws 2ws


Dr. Guillermo Kemper Vsquez

You might also like