(b) finite energy signal
DESCRIPTION
(b) Finite energy signal. The area is simply. And the total energy. Example : A repetitive triangular waveform as shown in the Figure below. (i) Find the area, and total energy of one pulse of the waveform. (ii) Find the mean, mean square and variance of the repetitive waveform. (a). (b). - PowerPoint PPT PresentationTRANSCRIPT
1
(b) Finite energy signal
The area is simply
dt)t(f
dt)t(fE 2And the total energy
2
Example: A repetitive triangular waveform as shown in the Figure below. (i) Find the area, and total energy of one pulse of the waveform. (ii) Find the mean, mean square and variance of the repetitive waveform.
3
2
0
32
0
22
0
2
0
3
2
32
2
22
2
AtA
dttA
dt)t(f
AtA
dttA
dt)t(f
tA
)t(f:tt
Energy
Area
to 0 for (a)
TT
A
T
AA
Tff
AT
dttA
Tdt)t(f
Tf
T
Adtt
A
Tdt)t(f
Tf
/T
/T
/T
/T
3
2
3
2
3
221
21
222222
2
0
22
2
22
0
2
2
(b)
4
(ii) Frequency domain average
(a) Finite mean power signals
Assume that the filter passes a narrow band of frequencies of bandwidth δf , with a centre frequency f , and the gain is unity.0
For a continuous random signal, the plot of meter reading versus centre frequency f would be similar to0
5
The power spectrum P(f), sometimes called power spectral density, is the distribution of mean power per unit bandwidth, and is obtained by dividing the mean square power voltage by δf.
The total mean power is given by) (or Pf 2
0
df)f(PP
6
Example: Repetitive pulses
The zero line is simply the squares of mean value, i.e.
2)T/A(
Total mean power is just the sum of the power Pn in the lines
0n
nPP
7
Fourier series for the function f(t) can be written in the following trigonometric form:
8
%The following Matlab code rectangular.m demonstrates that a rectangular wave can be generated from a series of sine wave;clear;%clear work space;clf;%clear figure space;n=input('how many sine waves?(>2)');%number of sine wave to be used, try changing n from small to large for better approximation;i=1:500;%500 data point;t=i/5;%5 points per time step;a(1,i)=2.5+10/pi*sin(pi*t/4);% the first sine wave plus a constant term (offset);for j=2:n;a(j,i)=10/(2*j-1)/pi*sin(pi*t*(2*j-1)/4);end;% wave forms that you generatedwave_rec=sum(a);%the rectangular wave is form by summing these waves;plot(t,wave_rec);xlabel('t');ylabel('wave forms');hold on;plot(t,a(1,:),'r');%the first sine wave (shown as red);plot(t,a(2,:),'g');%the second sine wave (shown as green);
9
4
4
1052
1
tx
)nx(csint
.)t(f
x
xsin)x(csin
n
n corresponds to frequency. The amplitude versus frequency is determined by sinc function. Power spectrum takes square value of amplitude.
10
(b) Finite energy signals
Finite energy signal (discrete) have no power spectrum, but it can be represented by a continuous energy spectrum.
Total energy
0
df)f(EE
11
Type of signal Time domain Frequency domain
Finite power continuous
(random)
repetitive
Continuous power spectrum
Discrete, lines at 1/T,T/2, etc
Finite energy Area, total energy E Continuous energy spectrum
etc,,f,f 22
etc,,f,f 22
A Summary of time and frequency domain average
12
• Time and ensemble averages
(a) Time average, e. g.
repetitive if
2
2
2
2
1
1
/T
/T
/T
/TT
dt)t(fT
dt)t(fT
limf
(b) Ensemble average, e. g.
dx)x(xpx
If applied to the same signal, both must give the same value.
13
Consider Johnson noise produced by a large number of identical resistors
Ensemble average from complete set of resistors at instant τ.
Time average from any one resistor average over a long time.
14
Example: Triangle wave as shown below. Find the mean (shown here), mean square and variance using time average and ensemble averages.
2
2
22212
02
2
02
2
0
2
2
At
T
A
T
tdtT
A
Ttdt
T
A
Tx
Tt
T
Ax
/T
/T/T
/T
to from Time average:
22
1
1
01
0
2
0
Ax
A
xdxA
dx)x(xpx
AA
)x(p
A
A
to from Ensemble average: