University of Tripoli Faculty of Engineering Electrical and Electronic Engineering Department
University of Tripoli Faculty of Engineering Electrical and Electronic Engineering Department
Faculty of Engineering
Electrical and Electronic
Engineering Department
Objectives: -
To understand how to use a spectrum analyzer in the analysis of a signal.
To use spectrum analyzer and a dipole antenna to discover the radio channels.
Introduction: -
Spectrum analysis of electrical signals is a very important task for engineers and scientists, non-
electrical functions can be converted to electrical signals using corresponding transducers, which
can be analyzed using Fourier series for periodic signals and Fourier, transform for non-periodic
signals.
Electrical Signals can be expressed in two methods, time domain or frequency domain, a signal’s
time domain can be represented using an oscilloscope (amplitude as a function of time), and a
signal’s frequency domain can be represented using a spectrum analyzer (amplitude as a function
of frequency) and the components of the signal in frequency domain are called harmonics.
Fourier series states that any periodic signal can be displayed with an infinite series of sinusoidal
signals each with a different harmonic frequency and amplitude.
Sinusoidal signals are one of the most basic signals, they can easily be generated, their properties
are known, and are encountered very often.
According to the Fourier series, the frequency domain representation of any periodic signal is the
frequency of the sinusoids versus their amplitude or power, and since the sinusoids are
harmonics of the fundamental frequency, they can be represented by a discrete frequency axis.
Theory
A) Harmonics of a square wave:
Figure 1
It can be seen that the signal is odd, therefore, we only have bn coefficients.
2π
ω 0= =1
T0
❑ π 2π
1
a 0= ∫
T0 T
f ( t ) dt a 0=∫ 1∗dt+∫ −1∗dt a 0=π−π=0
0 0 π
❑
2
a n= ∫ f ( t ) cos n ω 0 t dt
T0 T 0
π 2π
a n=2∫ 1∗cos nt dt+ ¿2 ∫ −1∗cos nt dt ¿
0 π
[ ] [ ]
π 2π
1 −1
a n=2∗ sin nt +2∗ sin nt =0
n 0 n π
❑ π 2π
2
b n= ∫ f ( t ) sin n ω0 t dt b n=2∫ 1∗sin nt dt+¿ 2 ∫ −1∗sin nt dt ¿
T0 T 0 0 π
{
8
,n odd
b n= n
0 , n even
∞
sin(2∗i−1) t
∴ f ( t )=8 ∑ ∴ f ( t )=8(sin t +sin 3 t /3+ sin5 t /5+sin 7 t /7+ …)
i=1 (2∗i−1)
It can be seen that the signal is odd, therefore, we only have bn coefficients.
a n=a 0=0
π
❑ 2 π
2 32 nπ nπ
b n= ∫ f ( t ) sin n ω0 t dt b n=2∫ 2t sin nt dt+ 2∫ ( 2−2t ) sin nt dt b n= 2 2 cos sin3
T0 T 0 0 π π n 4 4
{
2
8
, n=1,5 ,…
π n2
2
b n= −8
2 2
, n=3,7 ,…
π n
0 , n even
∞
8 i +1 sin(2∗i−1)t 8
∴ f ( t )= 2 ∑ (−1 ) 2
∴ f ( t )= 2 (sin t−sin 3 t/9+ sin5 t /25−sin7 t /49+ …)
π i =1 ( 2∗i−1 ) π
Equipment
Spectrum Analyser.
Function waveform Generator.
Dual Trace Oscilloscope.
2-input combiner 20 DB attenuator
Low-pass filter
Cables and BNS adaptors
Multisim simulation software
One-piece schottky diode for pulse cct
One piece 47 mH inductor
Three-piece capacitors
Procedure
:
:Assignment one
First of all, before starting the experiment, we turn on the spectrum analyzer and
let it for thirty minutes
:Assignment two
Apply a single tone sinusoidal voltage wave with a frequency equal to
0.4MHz and amplitude 0.6 Vp-p, then read and record the frequency and
.power amplitude in dBm using the marker change the frequency
:the input frequency
VP-P = 0.6V, Ts = 2.5 μsec , Fs = 0.4MHz
Table (1)
le 7 6 5 4 3 2 N Tab
0.04955 0.02884 0.07413 0.025 0.292 0.143 Dn = (2)
An/A1
T
100 %∗√ D1 + D 2 …+ Dn =HD
2 2 2
THD=33.93%
Table (3)
Assignment three:
Change the type of signal to a square voltage wave, we measured the power of the
first seven harmonics like in assignment 2
Figure (4) square wave in time domine
9th 8th 7th 6th 5th 4th 3rd 2nd 1st Harmoni
3.6 3.2 2.8 2.4 2 1.6 1.2 0.8 0.4 Frequency
(MHz)
51.4- 62.2- 47.7- 62- 43- 60.6- 39.3- 60.3- 28.3- Power
(dBm)
0.0027 0.00078 0.004 0.0008 0.0071 0.001 0.011 0.001 0.038 Volt (v)
Table (4)
Table (5)
THD=33.94%
Now we comparing between theoretical difference and measured difference for the
.power of harmonics of squire wave
Percentage error Measured (P1-Pn) Theoretical 10log (A1/An) ² N
15.3% 11 9.54 3
Table (6)
:Assignment four
Change the type of signal to a triangular voltage wave, we measured the power of
.the first seven harmonics like in assignment 2 & assignment 3
Figure (6) triangular wave in time domine
Table (7)
Table (8)
THD=15.71%
Table (9)
Simulation section
:
fc=6.778 KHz
1
fc= =188.12KHz
2biRC
N |x|
1 0.3
2 0.18
3 0.17
4 0.12
5 0.11
6 0.1
7 097.
Y-Values
|x|
nw
:Reference
https://searchnetworking.techtarget.com/definition/spectrum-
analyze