Escolar Documentos
Profissional Documentos
Cultura Documentos
Fri 11.00
Two assignments 5+5
First test 6-9 sep
marks 20
Temperature variations
(Region of flicker noise and burst noise)
In electronic circuits transformers and inductors
with ferromagnetic core operate nonlinearly
when the current through them is large enough
to drive core materials into saturations.
In general we may classify all sources of noise
into two categories those which are man made
and those which are not.
Shot noise exists because phenomena such as
light and electric current consists of the
movement of discrete( also called quantized)
packets
at room temperature
Then ( E1 - E2 ) (1 + 2/a)
1 x 10 -5 x 10 -6 ( 1 +2 / 2/9)
If aR= 2 k
and R = 9 k
= 10 x 10 -11 volts
20 x 10 -3 / 10 x 10 -11 = 2 x 10 8
If you give 100 gain
2 x 10 8 = 0.5 x10
2
x 0.5x 10 2 x0.5x
10 2 x
0.5x10 2
then cascading
f = 1/ T
=1/8
=0.125
This is the first period
0.125 x2 =0.25
For the second period
0.125x 3= 0.375
For the third period
0.125 x 4 = 0.5 and so on
We find that by making the transformation from
time domain to frequency domain we can often
sort the signal and noise into their respective
categories
k=
Y(n) = h(n)
h(k) x(n-k)
k= -
k= 0
Linear convolution
Convolution - Given two finite length sequences
x(k) and h(k) of lengths N1 and N2
respectively , their linear convolution is
Y(n) = h(n) * x(n) =
h(k) x(n-k)
M-1
=
Page 464
f(x)dx
= a0 dx
-
-
The first term is given below and all other terms
are zero
an /n
[
-
an /n
( 2Sin n ) - bn /n
x 0
- bn /n x 0 =0
a0 = 1/2 f(x)dx
-
We now determine an , multiplying eqn 1 by
cos mx
a0 cos mx dx = a0 [sin mx / m ] = a0 /m . 2
sin mx ] =0
-
-
0
cos A cos B = [cos ( A+B) + cos (A-B)]
0
0
When n=m
1/2 an cos(n-m)x dx = [ x = an
-
-
an = 1/ cos mx f(x)dx
When n=m
0
bn = 1/ f(x) sin mx dx
-
bn
Example
a0 = 1/2 f(x)dx
-
1/2 (-k + k) dx = 0
0<x<
an = 1/ cos nx f(x)dx
-
0
= 1/ [ -k cos nx dx + k cos nx dx
-
0
0
1/ [ (-k/n) sin nx ] + [ (k/n) sin nx]
-
=0
0
bn = 1/ f(x) sin mx dx
-
cos 2 = 1
-1
for
odd n
cos n =
1 for
even n
2 for odd n
Then ( 1- cos n )=
0 for even n
b 1 = 4k/
since a
b2 = 0 b3 = 4k/3
,a
are 0
= 4k/ sin
Complex numbers
X 2 +3 =0
X = - 3
i 2 = -1
X=i2 3
=i3
X 2 -10 x + 40=0
(-10) 2 - 4 .1.
-----------------------2.1
=5-i3.87
|z| = r
In the polar form
X = r cos
y= r sin
Z = r(cos + i sin )
e iy = cos y + i sin y
e z = 1 + z + Z2 / 2 ! + Z3 / 3 !
+ ----------
e iz = 1 + iz - Z 2 / 2 ! -i Z 3 / 3 ! +
---------Cos z =
---------
1 - Z2 / 2 ! + Z4 / 4 ! +
Sin z = Z - Z 3 / 3 ! + Z 5 / 5 ! + -----
Cos z + i sin z =
1 - Z 2 / 2 ! + Z 4 / 4 ! + --------- + i
(Z - Z 3 / 3 ! + Z 5 / 5 ! + )
= 1+ iz - Z 2 / 2 ! - i Z 3 / 3 !
--------------
e i = cos + i sin
e -i = cos - i sin
-------------------------------Adding e i + e -i
= 2 cos
Cos = ( e i + e -i
By subtracting
2i sin = e i - e -i
sin = 1/2i (e i - e -i )
cos nx = ( e inx + e
i ( e inx - e -inx )
-inx
sin nx =
-inx
c0 = a0 cn = (an - i bn )/2
2
kn = (an + i bn ) /
a0 = 1/2 f(x)dx
-
an = 1/ cos nx f(x)dx
-
bn = 1/ f(x) sin mx dx
-
cn = (an - i bn )/ 2
= 1/2 [
= 1/2 [
-
f(x) e -inx dx
kn = (an
i bn )/ 2
= 1/2 [
-+
= 1/2 [
f(x) e inx dx
-
cn = k n
f(x) = cn e inx
n= -
N-1
X3(m) =
m=0,1.N-1
x1(n) x2((m-n))
n=0
Beginning with m=0 we have
3
X3(0) =
n=0
Now x2((2-n)) 4 is the folded sequence in fig
5.8(b) rotated two units of time in the
counterclockwise direction. The resultant
sequence is illustrated in fig 5.8(d) along with
the product sequence
x1(n) x2((2 -n)) 4
By summing the four terms in the product
sequence we obtain
X3(2) =14
For m=3 we have
3
X3(3) =
x1(n)
x2((3 -n)) 4
n=0
The folded sequence x2((-n))
by three units in time to yield
is now rotated
k=0,1 .N-
n=0
N-1
X2(k) =
1 eq No 2
x1(n) e -j2nk/N
k=0,1 .N-
n=0
If we multiply the two DFTs together , the result
is a DFT, say x3(k) of a sequence x3(n) of
length N. Let us determine the relationship
k=0,1, N-1
X3(m) = 1/N
x3(k) e j2mk/N
k=0
N-1
= 1/N
No 3
x1(k)x2(k) e j2mk/N
eq
k=0
Suppose that we substitute for x1(k) and x2(k)
in eq No 3, using the DFTs given
In eq No 1 and 2
Thus we obtain
N-1 N-1
N-1
X3(m) = 1/N [ x1(n) e
x1(n) e -j2nk/N ] e j2mk/N
-j2nk/N
k=0 n=0
n=0
e inx
(1+ 1/i)
f(x)
= C0 +
(C n e inx + Kn e inx )
n=1
C0 +
(C n e inx + Kn e inx )
where C0 = a0 C n = ( an - i bn )/2 Kn =
( an + i bn )/2
For a periodic function C0 = a0 =0, we
would prove this by an example as
follows
Example 2 - Find the Fourier
coefficients of the periodic function f(x)
a0 = 1/ 2
f(x) dx
-
0
= 1/2
-
= 1/2
[| f(x) dx + f(x) dx ]
0
0
[ -k dx + k dx
= -k[0+ ]
+ k[ -0]
= -k + k
=0
Next
f(x) = a0 + ( a n cos nx + b n Sin nx )
= 0 + a n ( e inx + e inx ) + b n /2i( e
inx
- e inx )
| C n | = an 2 + b n 2
Kn =1/2
-
-
Introducing the Kn
= C
-n
f (x) = C n e inx
f(x) e -inx dx
-
-
where C n = 1/2
f (t) = C n e int
n= -
for digital signal processing .
e int = twiddle factor.
n=1
where t is an independent variable which often
represents time but could for example represent
distance or any other quantity , f(t) is often a
varying voltage versus time waveform but could
be any other waveform = 2 / T p is known as
the first harmonic or fundamental angular
frequency.
related to the fundamental frequency f by = 2
f , T p is the repetition period of the
waveform.
T p/2
a0 = 1/ T p f(t) dt
- T p/2
T=4
2
a0 = f (t) dt
-2
1
= k dt
-1
= k/4 [1+1]
= ( k/4) x2
= k/2
1
an = 2 / 4 k cos (nt/2) dt
-1
1
= 1 / 2 k cos (nt/2) dt
-1
1
= k/2
[ sin(nt/2) / n /2]
-1
= k/ n [ sin n/2
- sin ( - n/2 )]
=
2 k / n sin (n/2)
Thus
an =0 when n is even and a n =
2k/n when n= 1,5,9
an = - 2k/n
1
bn = 2 / 4 k sin (n 2 t/4) dt
-1
1
= k sin (n t/2)
dt
-1
1
=k/2 [ - cos n
t/2 ]
-1
= k/2 [ - cosn
/2 + cosn /2]
=0
for n= 1,2,3 ---
W N - Twiddle factor
Page 122
Emmanual , Barrie
In another book W N is the matrix of the linear
transformation.
Page 405
Proakis , Manolakis
In the third book , for convenience in notation
these equations are often written in terms of the
complex quantity W N
WN = e
- J(2/N)
Page -516
Oppenheim , Schafer
Cov[v(i)] is seen to be the zero mean
autocorrelation function of V(i) at lag n.
Page -265
Emmanual , Barrie
Correlation of discrete time signals
Let us suppose that we have two signal
sequences x(n) and y(n) that we wish to
compare. In radar and active sonar
applications , x(n) can represent the sampled
version of the transmitted signal and y(n) can
represent the sampled version of the received
signal at the output of the analog to digital A/D
converter. If a target is present in the space
being searched by the radar or sonar the
received signal y(n) consists of a delayed
version of the transmitted signal reflected from
the target and corrupted by additive noise.
We can represent the received signal sequence
as y(n) = x(n-D) + w(n) where is some
attenuation factor representing the signal loss
involved in the round trip transmission of the
signal x(n) , D is the round trip delay which is
Page 265
By
Convolution description
1 3/2 z -1 + z -2
= 1+ 3/2 z -1 + 7/4 z -2 + 15/8 z -3 + 31/16 z
-4
+ --------By compairing this relation with
X(z) = x(n) z n
n= -
x(n) = { 1, 3/2, 7/4,
15/8,31/16 ------}
Normalization
In statics and application of statics
normalization can have a range of meaning s . In
the simplest cases normalization of ratings
means adjusting values measured on different
scales to a notionally common scale often prior
to averaging. In more complicated cases
normalization may refer to more sophisticated
adjustment where the intension is to bring the
entire probability distributions of adjusted
values into alignment. In the of normalization
of scores in educational assessment there may
be an intension to align distribution to a normal
distribution.
Cos nx = ( e inx + e -inx ) Sin nx = ( e inx
- e -inx ) Page 482 Erwin kreyzig
( e x +1/ e x = e + 1/ e
= +0
=
9
8
7
Y Axis
6
5
4
3
2
Graph of y =
-x
+e
Numerator
A1
B1
1
5.846399E-02
1.000000E+00
2
1.359507E-01
-1.325263E+00
3
1.820297E-01
1.480202E+00
4
1.359506E-01
-7.841098E-01
5
5.846398E-02
2.339270E-01
Poles
Coefficients
Real
Z -1
imaginary
Z-2
0.247967
-0.495935
0.836885
0.761864
0.414664
0.367559
0.307046
-0.829328
Zeros
coefficients
Real
Z -1
imaginary
Z-2
-0.337859
0.675718
1.000000
0.941197
-0.824828
1.649656
0.565383
1.000000
-1
+ 1.480202 Z -2 0.7841098
Stage 3 : realization
As explained earlier direct realization of H(z) is very
sensitive to many adverse effects of finite
wordlength such as coefficients quantization errors ,
so it is important to break
1.5 kHz
2 f c -------n c
h D (n) = 2 f
n=0
-26 n 26
where
Sin(n c )
h D (n) =
n0
2 f c -------n c
h D (n) = 2 f
n=0
y = r Sin
r =1
x= cos y = Sin
Euler formula e iy = cos y + i sin y
e iT = cos T + i sin T
Z = e jT
=(e
( e inx - e
-inx
inx
+e
-inx
) +i
And letting
k 2 /8
=K
this expands to
-jK3
+ x(5) e
Equation 3.40 contains eight terms on the right hand side. Each term
consists of a multiplication of an exponential term which is always
complex by another term which is real or ccomplex( for example real for
a voltage time series). Each of the product term is added together. There
are therefore eight complex multiplication and seven complex additions
to be calculated. For an N point DFT there will be N and N-1 of them
respectively.There are also eight harmonic to be evaluated. (k= 0,
.7).This number becomes N for an N point DFT. Therefore the
calculation of the eight point DFT requires 8 2 =64 comples
multiplications and 8x7 =56 complex additions. For an N point DFT
these become N 2 and N(N-1) respectively . If N= 1024 then
approximately one million complex multiplications and one million
complex additions are required. Clearly some means of reducing these
numbers is desirable.
The amount of computation involved may be reduced if we note that
there is a considerable amount of built in redundancy in equations 3.40
For example if k=1 and n=2, e
-j k 2
n/8
-j k 2
n/8
-j 2 2
-j 1 2
1/8
2/8
=e
-j /2
-j /2
Poles that are close to the unit circle give rise to large peaks whereas
zeros close to or on the circle produce troughs or minima. Thus by
strategically placing poles and zeros on the z plane we can obtain
simple lowpass or other frequency selective filters.
An important point to bear in mind is that for the coefficients of the filter
to be real and poles and zeros must either be real ( that is lie on the
positive or negative real axes) or occur in complex conjugate pairs. We
will illustrate the method with examples.
Example 8.1 - illustrating the simple pole zero method of calculating
filter coefficients. A band pass digital filter is required to meet the
following specifications;
1. Complete signal rejection at DC and 250Hz
2. A narrow pass band centered at 125 Hz
3. A 3dB bandwidth of 10 Hz
From the pole zero diagram the transfer function can be written
down by inspection
(Z-1 ) (Z+1)
H(z) = ---------------------------------------------( Z r e j/2 ) ( Z r e -j/2 )
Z 2 -1
= -------------------------Z 2 Zre -j/2 - Zre j/2 + r 2 e -j/2 e j/2
Z 2 -1
= ---------------------------
Z 2 -1
= ----------------
Z 2 + 0.877969
1- Z -2
= -------------------1+ 0.877969 Z -2
e iT = cos T + i sin T
- Zre -j/2 = - Zr [cos(- /2 ) + j sin(-/2) = - Zr [0 j 1] = Zr
Page 459