(6 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
In this project, a matlab function will be used to show how a finite number of Fourier Series coefficients can approximate a periodic signal.  
 
In this project, a matlab function will be used to show how a finite number of Fourier Series coefficients can approximate a periodic signal.  
  
When there are only 1 non-zero term, the time and frequency domain are shown below:
+
<gallery>
 +
File:code.png|square.m
 +
</gallery>
  
[[Image:code.png]]
+
When there are only 1 non-zero term, the time and frequency domain are shown below:
  
 +
<gallery>
 +
File:time1.jpeg|1.time
 +
File:1freq.jpg|1.freq
 +
</gallery>
 +
 
When 2 non-zero terms
 
When 2 non-zero terms
 +
 +
<gallery>
 +
File:time2.jpg|2.time
 +
File:freq2.jpg|2.freq
 +
</gallery>
 
   
 
   
 
   
 
   
 
When 5 non-zeros terms
 
When 5 non-zeros terms
 +
 +
<gallery>
 +
File:time5.jpg|5.time
 +
File:freq5.jpg|5.freq
 +
</gallery>
 
   
 
   
 
   
 
   
 
When there are 25 non-zero terms
 
When there are 25 non-zero terms
 +
 +
<gallery>
 +
File:time25.jpg|25.time
 +
File:freq25.jpg|25.freq
 +
</gallery>
 
   
 
   
 
   
 
   
Line 23: Line 45:
  
 
A circuit is built to measure the Fourier series  of a Square wave
 
A circuit is built to measure the Fourier series  of a Square wave
 +
 +
<gallery>
 +
File:square_circuit.png|circuit
 +
 +
</gallery>
 +
 +
 
   
 
   
 
For example, we set s(t) to be square wave with A = 3V, T0 = 0.5*10^-6s  
 
For example, we set s(t) to be square wave with A = 3V, T0 = 0.5*10^-6s  
 +
 +
 +
<gallery>
 +
File:square_wave.png|s(t)
 +
 +
</gallery>
 +
 
The frequency domain of output shown in spectrum analyzer will be:
 
The frequency domain of output shown in spectrum analyzer will be:
 +
<gallery>
 +
File:output_frequency_domain.jpg|freq_domain
 +
 +
</gallery>
 
   
 
   
 +
 
The time domain of output shown in oscilloscope will be:
 
The time domain of output shown in oscilloscope will be:
 +
 +
<gallery>
 +
File:output_time_domain.png|time_domain
 +
 +
</gallery>
 
   
 
   
  

Latest revision as of 15:42, 21 April 2018


Approximating Periodic Signals with Finite Fourier Series

In this project, a matlab function will be used to show how a finite number of Fourier Series coefficients can approximate a periodic signal.

When there are only 1 non-zero term, the time and frequency domain are shown below:

When 2 non-zero terms


When 5 non-zeros terms


When there are 25 non-zero terms


Conclusion: From the above diagrams we are able to distinguish that: As the number of Fourier Series Coefficients increases, the output of approximated periodic signal is more accurate.


A circuit is built to measure the Fourier series of a Square wave


For example, we set s(t) to be square wave with A = 3V, T0 = 0.5*10^-6s


The frequency domain of output shown in spectrum analyzer will be:


The time domain of output shown in oscilloscope will be:




Back to 2018 Spring ECE 301 Boutin

Alumni Liaison

Ph.D. 2007, working on developing cool imaging technologies for digital cameras, camera phones, and video surveillance cameras.

Buyue Zhang