Professional Documents
Culture Documents
INTRODUCCIN AL
PROCESADO DIGITAL DE SEALES.
Conversin A/D, D/A
Procesado Digital de Seales, 4 Ingeniera Electrnica, E.T.S.E
Universitat de Valncia, Profesor Emilio Soria
Objetivos del tema.
Conocer las ventajas que nos ofrece PDS.
Input channels
DSP
hardware
Output channels
Amplifier
Reconstruction Other digital
DAC
y(t) filter y!(t) y(n) systems
,+49%+)*+!,$-.(!"#$%&
CONVERSIN A/D. -1)+'4,+&%*'/&(*-0<+&
MUESTREO. Proceso ' &%'(%<+
por el cual se obtienen una serie de
+!,$-.(/#"01"-'2" muestras a partir de una seal continua. El
tiempo de adquisicin entre muestras se
conoce como periodo de muestreo (su
inversa es la frecuencia de muestreo); en la
!"#$%&'()&'*+,-./01)"#2&(.&*3)&'*,)*40)-&1/+0*05*�)
mayor parte de las aplicaciones este tiempo
+0$+010'*"*&,'6)1&'/0)#"'3)/,'*&'.,.15*�)1&('"%1)/"')
es constante.
$+,-./0)*40)1"#0)107.0'/0),8)1"#$%019
3.5
3 x2(t)
2.5 x1(t)
2 34%&$/$"&
x[n] /#%+(5%#*67
1.5
Tenemos muestras discretas de una
seal continua....podemos tener 1
!
A nivel digital las frecuencias y1 (n) = y 2 (n) 0<!<""0<Fdigital<1/2
f y fk!fm son indistinguibles
!!
!
MUESTREO. UN EJEMPLO SENCILLO
" s (t ) = # S k e jk " 0 t
k = !"
1
and X s (" ) = X (" ) * S (" ) 0 t !B 0 B !
2# xs (t ) X s (! )
1 ) " &
X s (" ) = X (" ) * ( # ! (" ! k " o )% 1/T
T ' k = !" $ ... ...
... ...
" !!s ! B B !s 2! s
1 0 T 2T 3T t 0 !
* X s (" ) =
T
# X (" ! k " )
k = !"
o
Fall 2000 Copyright 1999 Andreas Spanias I-10
Fall 2000 Copyright 1999 Andreas Spanias I-9
!N !N !
(a)
S(j !)
2!
T
From Discrete-Time Signal Processing, 2e by Oppenheim, Schafer, and Buck 1999-2000 Prentice Hall, Inc.
2!s !s 0 !s 2!s 3!s !
(b)
Xs ( j !)
1
T
Xs ( j!)
1
T
Image Original
The IF could be extracted by mixing with a local oscillator
spectrum at 10MHz and
spectrum
Bandpass Sampling Example (cont)
sampled at 6MHz, or could be directly sampled at > 18MHz.
Obtenemos el espectro reflejado entre 1 y 3 MHz. Si
ahora muestreamos la seal original a 6.5 MHz .....
What if we sample at only 6.5M samples/second??
1-3MHz
f (MHz)
-10 -5 0 1 I.F.
3 5 7 9 10
Signal Input (Fs/2) (Fs)
(7-9MHz)
A/D
Image Original
spectra spectrum Se obtiene el espectro de la seal original entre 0.5 y 2.5
In this case the Nyquist frequency would be 5MHz, and the original
spectrum is in the range of Fs/2 to Fs, instead of the range DC-Fs/2 (as weMHz!!!!. Mediante operaciones de filtrado y modulacin
Fs > 6MHz podramos obtener la seal original.
are usedLocal
to seeing).
oscillator
(10MHz)
The original spectrum is aliased into the lower half of the frequencyf (MHz)
0.5 2.5 4 6
band,
3.25 6.5 9.75
reflected about the Nyquist rate of 5MHz, (Fs/2) appearing(Fs) in the frequency
range 3Mhz - 1MHz.
Signal
gital ThisEn
So, time general,
theinoriginal
we have
Processing successfullysi
2700 seconds se
spectrum tiene
liesthe
sampled una using
between
signal seal
Fs and con un
1.5Fs.
a sampling ancho de
rate almost
half the
the spectrum
officiallyisrequired rate
Here, banda B; con frecuencias lmites f
reflected about the sampling rate, to appear in the
H L H y f B=f -fL
range from Fs/2 to Fs, spanning 6MHz - 4MHz.
Signal
gital con Q=f
It isProcessing
then reflected
H a/B y ntime
second
in 2700 seconds entero confinally
about Fs/2, n!Q la frecuencia
appearing in the lower de
half of the sampled frequency range between 0.5MHz and 2.5MHz.
muestreo fs debe cumplir los siguientes limites.
Can we sample at an even lower rate and still get a unique spectrum??
CUANTIZACIN.
Despues de muestrear se hace !"#$%&'()*(+,-,%
()*(+,-,%#.(/,-0#.1 necesario cuantizar < ="'>366'?"$:&3@"'&"A&"$"7%5%397'9B'?343%56'
la seal,
$9#"'D$"BD6'?343%56'$34756$;'231%(34(%",1("
estamos
%397'9B'?343%56'$34756$)'%C"3&'#573AD65%397'57?' en un mundo
:;:!(<)=>*(/,-0#.1(?(/61%&@1(A#05('&$
231%(34(%",1("#1(#.'8(7&&0(839&'&5(,0( discreto!!!!C,%"(13@&(@,03'(5,44&'&08&1D
1%&@1(A#05('&$&#%&5("&'&(43'(8309&0,&08&B
< :E#@$.&()D> 2343
8&1D
0T@3%'$34756'37'%C"'&574"'+'O'%9'(O /9?"
2343%56' QD57%3R5%397' I574"'9B'J75694'
O'%9'(O /9?" ."S"6'NOP K7AD%$'L5AA374'%9'
MC3$'2343%56'/9?"'NOP ((( ++
((+ ((+
+++ +;+++ +;+++ " ! ! +;+H*G ++
++( +;(*G +;+H*G " ! ! +;(EFG (++ +(
(++
(++ +(+ +;*G+ +;(EFG " ! ! +;0(*G
+(( +(
+(( +;0FG +;0(*G " ! ! +;,0FG +(+ +(+ (+
+(+ (++ +;G++ +;,0FG " ! ! +;GH*G ++( (+
(+( +;H*G +;GH*G " ! ! +;HEFG
+++ ((
((+ +;FG+ +;HEFG " ! ! +;E(*G
((( +;EFG +;E(*G " ! " (;+++ ((
! 1
0 50 100 150 n +
(a) x[n] x [n] = x [n] + e [n]
5
From Discrete-Time Signal Processing, 2e
0
# Pseal & by Oppenheim, Schafer, and Buck
Error de
offset
ral nonlinearity is the measure of worst-case deviation from an ideal line drawn
een the full scale analog signal and zero. This is shown in Fig. 5.5 as a monotonic
Error de
inearity.
ganancia
FIGURE 5.4: Gain error.
FIGURE 5.3: Offset error.
Error de no-
3. Integral nonlinearity is the measure of worst-case deviation from an ideal line dra
ain error is defined as an error in the slope of the transfer characteristic shown in Fig. 5.4,
hich can also usually be removed by trimming techniques. linealidad between the full scale analog signal and zero. This is shown in Fig. 5.5 as a monoto
nonlinearity.
CRC Press LLC
Error de no-linealidad
+
funcin no creciente
CUANTIZACIN NO UNIFORME.
En algunas aplicaciones conviene utilizar un cuantificador
no uniforme en el que los escalones digitales no tienen
una separacin constante; de esta forma el error de
cuantizacin mximo es diferente segn el valor de la
seal de entrada
Mu-law u=255;
EEUU y Japn.
A-law A=87.56;
Europa.
CODIFICACIN.
Una vez que se tienen los
diferentes niveles de
cuantificacin tenemos que
codificar cada uno de esos
niveles.
La codificacin depender
de la aplicacin a
desarrollar as como de los
elementos hardware que se
dispongan.
En algunas aplicaciones
donde estos niveles son
asignados a determinados
smbolos la codificacin se
realiza siguiendo criterios
ms complejos (entropa).
CONVERSIN D/A
Como se ha visto el
proceso de muestreo
genera infinitas copias
del espectro de la seal
analgica original.
El procedimiento inverso al
muestreo, la reconstruccin de
la seal analgica a partir de
sus muestras, consistir en la
eliminacin de todas esas
copias espectrales digitales
mediante el uso de un filtro
paso-bajo ideal.
Signal Reconstruction
RECONSTRUCCIN. Analytically for !s =2B xc ( t)
h ( t ) * x s ( t ) $ H (! ) X s ( ! )
"
E s tt e
1 j! t (a)
reconstructor
h (t ) = H ( ) e d sinc ( Bt )
2 " #!"
! ! =
es ideal; no
* " ' se puede
(
+
x(t ) = sinc ( Bt ) * ) x(nT )# (t # nT )&
n = #"
implementar
x ( t)
%
s
"
t
, x (t ) =
uction using an Ideal Filtern = #"
+ x( nT ) sinc ( B (t # nT )) (b)
T
!!s ! B B !s 2! s
0 ! t
T
(c)
Figura 1.11: Operaciones basicas para convertir una senal digital en una
RECONSTRUCCIN.
analogica.
27
ALGUNOS COMENTARIOS
A la hora de muestrear una seal SIEMPRE hay que poner un filtro anti-
aliasing ya que se puede conocer a la perfeccin el contenido espectral de la
seal a muestrear pero no se conoce nada de las posibles interferencias
(ruido). Por ejemplo una seal de 40 KHz no es audible, pero al muestrear a
44 KHz (muestreo en un CD) aparece una componente alias de 4 KHz que
s lo es.........