Spectrum of A Digital Signal
Spectrum of A Digital Signal
1 Objective
The aim is to graphically portray the fundamental effects on digital signal within a frequency
spectrum and to understand the effects of filters on digital signal. We also aim to understand
the behaviour digital under frequency domain and time domain.
2 Task 1
RMS of a signal
Vrms=1.61V
measured with a
digital oscilloscope
Figure1: sine wave 50Hz
Vpeak to peak=4.56
measured with a
digital oscilloscope.
Vrms=1.61V
1.59Vrms V peak
Vrms = = 1.61V
2
The variation between the calculated and measured RMS values is very small, thus we
approach almost ideal cases. In most instances there is a large variation between calculated
values and measured values because practical components are defective.
SPECTRUM OF DIGITAL SIGNALS
Vpeak=2.51V
Vpeak-peak=5.08V
3 Task 2
-3dB Filter Point
Filter Design
The required bandwidth is 100 kHz; a capacitor of 1.6nf was chosen to meet bandwidth
specifications.
1 1
R= = = 994.7Ω , 1 k Ω was chosen.
2πfc 2π × 1.6 × 10 −9 × 100000
Vout
Table 1
Input
Output
4
Vout/Vin
3 -3dB Point
Conner frequency
2
0
0 0.2 0.4 0.6 0.8 1 1.2
Log(frequency)(dB)
Power comparison
Task 3
Spectrum of a Digital Signal
2.5V dc
offset
Figure7: Time domain representation of square wave with 2.5V DC offset at 500 Hz.
SPECTRUM OF DIGITAL SIGNALS
Dc component
at 0Hz
2nd
st
1 Harmonic Harmonic
at at 700 Hz
500 Hz
Figure8: frequency spectrum of 500 Hz square wave with harmonics placed odd multiples of
the fundamental frequency.
With reference to figure8, the pulse harmonics are decreasing due to the fact that a Fourier
transforms sums decreasing pulse amplitude with an increase in frequency.
Knee frequency
1 1
k nee = = = 192.73kHz
π × Trise π × 1.656 × 10 − 6
SPECTRUM OF DIGITAL SIGNALS
4 Task 4
Filtering a Digital Signal
Filter design
Fall
Rise
time tf
time tr
Figure10: filter input output wave forms of the RC filter. Time domain spectra.
b)
Figure11: (a) depicts the FFT of the input waveform and (b) if the FFT of low pass filter
output. Frequency domain spectra.
With reference to figure11 (b) we can conclude that a low pass filter bypasses high frequency
components and suppresses low frequency components and the dc value remains unchanged.
Table 2
Input Output
Rise time 415.5μs 708μs
RMS
voltage 1.74V 1.04V
Fall time 503.5μs 776.6μs
Vpeak-
peak 4.48V 3.44V
1
k nee − frequency = = 766 Hz , input signal.
πt rise
1
k nee − frequency = = 449.95 Hz , output signal.
πt rise
Verification calculations
1 1
t rise = = = 636.6us
πf π × 500
Measured rise time value=415.5µs. This could have been caused by the variation in the
resistance value, we designed for 63.6Ω but we only had 68Ω available, however the
difference is good enough for practical purposes.
t rise1 = 1.656 × 10 −6 s
2 2
Output rise time= (t rise1 + t rise 2 ) = 415.5us which is the same as the measured value.
5 Task 5
5.1 Effect of bandwidth on RC filters
a) Transfer function
Vout 1 1
H ( s) = =
Vin 1 + sR1C1 1 + sR2 C 2
b)
Figure12: Input and output of cascaded filters. Same analogy in figure10 applies.
SPECTRUM OF DIGITAL SIGNALS
c)
Table 3
Input Output
Rise time 3.608μs 760μs
RMS
voltage 2.09V 548mV
Fall time 3.608μs 756μs
Vpeak-
peak 4.56V 1.92V
1 1
k nee − frequency = = = 88kHz
πt rise π × 3.608 × 10 −6
Verification Calculations
1
Rise time 250Hz filter= = 1.27 ms
π × 250
Conclusion
The practical was succesful we managed to draw a graphical interface into the insight of
filters affect digital signals and how signals are effect by variation in frequency. The -3dB
point was observed and and we saw how the FFT functions relates to spectrum.
SPECTRUM OF DIGITAL SIGNALS