NATIONAL COLLEGE OF SCIENCE & TECHNOLOGY
                     Amafel Bldg. Aguinaldo Highway Dasmariñas City, Cavite




                                  EXPERIMENT 5

             Fourier Theory – Frequency Domain and Time Domain




Cauan, Sarah Krystelle P.                                           September 06, 2011

Signal Spectra and Signal Processing/BSECE 41A1                     Score:




                                  Engr. Grace Ramones
                                        Instructor
Objectives:


   1. Learn how a square wave can be produced from a series of sine waves at different

       frequencies and amplitudes.

   2. Learn how a triangular can be produced from a series of cosine waves at different

       frequencies and amplitudes.

   3. Learn about the difference between curve plots in the time domain and the frequency

       domain.

   4. Examine periodic pulses with different duty cycles in the time domain and in the

       frequency domain.

   5. Examine what happens to periodic pulses with different duty cycles when passed through

       low-pass filter when the filter cutoff frequency is varied.
Sample Computation

Step 4 – Frequency (f)




Step 11 – Frequency (f)




Step 19 – Duty cycle (D)




Question in Step 19 – Difference




Step 27 – Duty cycle (D)




Step 31 – First zero crossing point (f)




Step 32 – Bandwidth (BW)
Data Sheet:



Materials:

One function generator
One oscilloscope
One spectrum analyzer
One LM 741 op-amp
Two 5 nF variable capacitors
Resistors: 5.86 kΩ, 10 kΩ, and 30 kΩ


Theory:

Communications systems are normally studies using sinusoidal voltage waveforms to simplify
the analysis. In the real world, electrical information signal are normally nonsinusoidal voltage
waveforms, such as audio signals, video signals, or computer data. Fourier theory provides a
powerful means of analyzing communications systems by representing a nonsinusoidal signal as
series of sinusoidal voltages added together. Fourier theory states that a complex voltage
waveform is essentially a composite of harmonically related sine or cosine waves at different
frequencies and amplitudes determined by the particular signal waveshape. Any, nonsinusoidal
periodic waveform can be broken down into sine or cosine wave equal to the frequency of the
periodic waveform, called the fundamental frequency, and a series of sine or cosine waves that
are integer multiples of the fundamental frequency, called the harmonics. This series of sine or
cosine wave is called a Fourier series.

Most of the signals analyzed in a communications system are expressed in the time domain,
meaning that the voltage, current, or power is plotted as a function of time. The voltage, current,
or power is represented on the vertical axis and time is represented on the horizontal axis.
Fourier theory provides a new way of expressing signals in the frequency domain, meaning that
the voltage, current, or power is plotted as a function of frequency. Complex signals containing
many sine or cosine wave components are expressed as sine or cosine wave amplitudes at
different frequencies, with amplitude represented on the vertical axis and frequency represented
on the horizontal axis. The length of each of a series of vertical straight lines represents the sine
or cosine wave amplitudes, and the location of each line along the horizontal axis represents the
sine or cosine wave frequencies. This is called a frequency spectrum. In many cases the
frequency domain is more useful than the time domain because it reveals the bandwidth
requirements of the communications system in order to pass the signal with minimal distortion.
Test instruments displaying signals in both the time domain and the frequency domain are
available. The oscilloscope is used to display signals in the time domain and the spectrum
analyzer is used to display the frequency spectrum of signals in the frequency domain.
In the frequency domain, normally the harmonics decrease in amplitude as their frequency gets
higher until the amplitude becomes negligible. The more harmonics added to make up the
composite waveshape, the more the composite waveshape will look like the original waveshape.
Because it is impossible to design a communications system that will pass an infinite number of
frequencies (infinite bandwidth), a perfect reproduction of an original signal is impossible. In
most cases, eliminate of the harmonics does not significantly alter the original waveform. The
more information contained in a signal voltage waveform (after changing voltages), the larger
the number of high-frequency harmonics required to reproduce the original waveform.
Therefore, the more complex the signal waveform (the faster the voltage changes), the wider the
bandwidth required to pass it with minimal distortion. A formal relationship between bandwidth
and the amount of information communicated is called Hartley’s law, which states that the
amount of information communicated is proportional to the bandwidth of the communications
system and the transmission time.

Because much of the information communicated today is digital, the accurate transmission of
binary pulses through a communications system is important. Fourier analysis of binary pulses is
especially useful in communications because it provides a way to determine the bandwidth
required for the accurate transmission of digital data. Although theoretically, the
communications system must pass all the harmonics of a pulse waveshape, in reality, relatively
few of the harmonics are need to preserve the waveshape.

The duty cycle of a series of periodic pulses is equal to the ratio of the pulse up time (tO) to the
time period of one cycle (T) expressed as a percentage. Therefore,




In the special case where a series of periodic pulses has a 50% duty cycle, called a square wave,
the plot in the frequency domain will consist of a fundamental and all odd harmonics, with the
even harmonics missing. The fundamental frequency will be equal to the frequency of the square
wave. The amplitude of each odd harmonic will decrease in direct proportion to the odd
harmonic frequency. Therefore,




The circuit in Figure 5–1 will generate a square wave voltage by adding a series of sine wave
voltages as specified above. As the number of harmonics is decreased, the square wave that is
produced will have more ripples. An infinite number of harmonics would be required to produce
a perfectly flat square wave.
Figure 5 – 1 Square Wave Fourier Series

                                                                                XSC1

                                                                                            Ext T rig
               V6                                                                                   +
                                  R1         J1                                                    _
                                                                        A           B

                                10.0kΩ                              +       _   +       _

              10 V
                                          Key = A
                    V1
                                  R2         J2

     10 Vpk                     10.0kΩ
     1kHz                                 Key = B
     0°             V2
                                  R3         J3               4
                                                            155
                                                             0
                                                             8
                                                             160
                                                              14
                                                              13
                                                              12                        R7
                                                            109
                                                             02
                                                              3                         100Ω
      3.33 Vpk                  10.0kΩ
      3kHz                                Key = C
      0°            V3
                                  R4         J4

      2 Vpk                     10.0kΩ
      5kHz                                Key = D
      0°            V4
                                  R5         J5
      1.43 Vpk                  10.0kΩ
      7kHz
      0°                                  Key = E
                    V5                      J6
                                  R6
       1.11 Vpk                 10.0kΩ
       9kHz                               Key = F
       0°                                                                                               .

The circuit in Figure 5-2 will generate a triangular voltage by adding a series of cosine wave
voltages. In order to generate a triangular wave, each harmonic frequency must be an odd
multiple of the fundamental with no even harmonics. The fundamental frequency will be equal to
the frequency of the triangular wave, the amplitude of each harmonic will decrease in direct
proportion to the square of the odd harmonic frequency. Therefore,




Whenever a dc voltage is added to a periodic time varying voltage, the waveshape will be shifted
up by the amount of the dc voltage.
Figure 5 – 2 Triangular Wave Fourier Series

                                                                                     XSC1

                                                                                                 Ext T rig
                V6                                                                                       +
                                    R1          J1                                                      _
                                                                             A           B

                                  10.0kΩ                                 +       _   +       _

              15 V
                                            Key = A
                     V1
                                    R2          J2
       10 Vpk                     10.0kΩ
       1kHz
       90°           V2                     Key = B
                                    R3          J3         13
                                                            12
                                                             1
                                                             2
                                                             3
                                                             4
                                                             5
                                                             8
                                                             9
                                                             11
                                                             0                               R7
                                                            6
                                                            0
       1.11 Vpk                                                                              100Ω
                                  10.0kΩ
       3kHz
       90°           V3                     Key = C
                                    R4          J4
       0.4 Vpk                    10.0kΩ
       5kHz
       90°           V4                     Key = D
                                    R5          J5
       0.2 Vpk                    10.0kΩ
       7kHz
       90°                                  Key = E

For a series of periodic pulses with other than a 50% duty cycle, the plot in the frequency domain
will consist of a fundamental and even and odd harmonics. The fundamental frequency will be
equal to the frequency of the periodic pulse train. The amplitude (A) of each harmonic will
depend on the value of the duty cycle. A general frequency domain plot of a periodic pulse train
with a duty cycle other than 50% is shown in the figure on page 57. The outline of peaks if the
individual frequency components is called envelope of the frequency spectrum. The first zero-
amplitude frequency crossing point is labelled fo = 1/to, there to is the up time of the pulse train.
The first zero-amplitude frequency crossing point fo) determines the minimum bandwidth (BW0
required for passing the pulse train with minimal distortion.

Therefore,
A




                                   f=1/to                               2/to                               f



                                  Frequency Spectrum of a Pulse Train

    Notice than the lower the value of to the wider the bandwidth required to pass the pulse train with
    minimal distortion. Also note that the separation of the lines in the frequency spectrum is equal
    to the inverse of the time period (1/T) of the pulse train. Therefore a higher frequency pulse train
    requires a wider bandwidth (BW) because f = 1/T

    The circuit in Figure 5-3 will demonstrate the difference between the time domain and the
    frequency domain. It will also determine how filtering out some of the harmonics effects the
    output waveshape compared to the original3 input waveshape. The frequency generator (XFG1)
    will generate a periodic pulse waveform applied to the input of the filter (5). At the output of the
    filter (70, the oscilloscope will display the periodic pulse waveform in the time domain, and the
    spectrum analyzer will display the frequency spectrum of the periodic pulse waveform in the
    frequency domain. The Bode plotter will display the Bode plot of the filter so that the filter
    bandwidth can be measured. The filter is a 2-pole low-pass Butterworth active filter using a 741
    op-amp.
Figure 5-3 Time Domain and Frequency Domain
 XFG1
                                                                     XSC1
                        C1                                                                   XSA1
                                                                                 Ext T rig
                                                                                         +
                       2.5nF 50%                                                        _

                       Key=A                                 A
                                                                 _
                                                                         B
                                                                             _
                                                                                                     IN T
                                                         +           +
     R1         R2                   741

    30kΩ       30kΩ

          42
     OPAMP_3T_VIRTUAL
            0
            6
            0
            31
                                                  R3
                     C2                                                      R4
                                                  5.56kΩ
                                                                             10kΩ
                                                                                                  XBP1
                      2.5nF 50%
                      Key=A
                                                  R5                                         IN      OUT
                                                  10kΩ




Procedure:

Step 1       Open circuit file FIG 5-1. Make sure that the following oscilloscope settings are
             selected: Time base (Scale = 200 µs/Div, Xpos = 0, Y/t), Ch A (Scale = 5V/Div,
             Ypos = 0, DC), Ch B (Scale = 50 mV/Div, Ypos = 0, DC), Trigger (Pos edge,
             Level = 0, Auto). You will generate a square wave curve plot on the oscilloscope
             screen from a series of sine waves called a Fourier series.

Step 2       Run the simulation. Notice that you have generated a square wave curve plot on
             the oscilloscope screen (blue curve) from a series of sine waves. Notice that you
             have also plotted the fundamental sine wave (red). Draw the square wave (blue)
             curve on the plot and the fundamental sine wave (red) curve plot in the space
             provided.




                                           T = 1.00 ms
Step 3        Use the cursors to measure the time periods for one cycle (T) of the square wave
              (blue) and the fundamental sine wave (red) and show the value of T on the curve
              plot.

              T1 = 1.00 ms
              T2 = 1.00 ms

Step 4        Calculate the frequency (f) of the square wave and the fundamental sine wave
              from the time period.

              f = 1 kHz

Questions: What is the relationship between the fundamental sine wave and the square wave
frequency (f)?

              Both the fundamental sine wave and the square wave frequency are 1 kHz. They
              are the same

What is the relationship between the sine wave harmonic frequencies (frequencies of sine wave
generators f3, f5, f7, and f9 in figure 5-1) and the sine wave fundamental frequency (f1)?

              The sine wave harmonic frequencies and the sine wave fundamental frequency
              are all odd functions.

What is the relationship between the amplitude of the harmonic sine wave generators and the
amplitude of the fundamental sine wave generator?

              The amplitude of each harmonic sine wave generators is the quotient of amplitude
              of the fundamental sine wave generator to the sine wave harmonic frequencies.
              That is why it decreases as the sine wave harmonic frequencies increases.

Step 5        Press the A key to close switch A to add a dc voltage level to the square wave
              curve plot. (If the switch does not close, click the mouse arrow in the circuit
              window before pressing the A key). Run the simulation again. Change the
              oscilloscope settings as needed. Draw the new square wave (blue) curve plot on
              the space provided.
Question: What happened to the square wave curve plot? Explain why.

              The waveshape shifted upwards. This was caused by the additional dc voltage.

Step 6        Press the F and E keys to open the switches F and E to eliminate the ninth and
              seventh harmonic sine waves. Run the simulation again. Draw the new curve plot
              (blue) in the space provided. Note any change on the graph.




Step 7        Press the D key to open the switch D to eliminate the fifth harmonics sine wave.
              Run the simulation again. Draw the new curve plot (blue) in the space provided.
              Note any change on the graph.
Step 8        Press the C key to open switch C and eliminate the third harmonic sine wave. Run
              the simulation again.

Question: What happened to the square wave curve plot? Explain.

              It became sinusoidal. The square wave is consist of a fundamental and all odd
              harmonics but because of the absence of the sine wave harmonics, the waveshape
              became the sine wave fundamental

Step 9        Open circuit file FIG 5-2. Make sure that the following oscilloscope settings are
              selected: Time base (Scale = 200 µs/Div, Xpos = 0, Y/t), Ch A (Scale = 5V/Div,
              Ypos = 0, DC), Ch B (Scale = 100 mV/Div, Ypos = 0, DC), Trigger (Pos edge,
              Level = 0, Auto). You will generate a triangular wave curve plot on the
              oscilloscope screen from a series of sine waves called a Fourier series.

Step 10       Run the simulation. Notice that you have generated a triangular wave curve plot
              on the oscilloscope screen (blue curve) from the series of cosine waves. Notice
              that you have also plotted the fundamental cosine wave (red). Draw the triangular
              wave (blue) curve plot and the fundamental cosine wave (red) curve plot in the
              space provided.
T = 1.00 ms




Step 11       Use the cursors to measure the time period for one cycle (T) of the triangular
              wave (blue) and the fundamental (red), and show the value of T on the curve plot.

              T1 = 1.00 ms
              T2 = 1.00 ms

Step 12       Calculate the frequency (f) of the triangular wave from the time period (T).

              f = 1 kHz

Questions: What is the relationship between the fundamental frequency and the triangular wave
frequency?

              The triangular wave frequency and the sine wave fundamental frequency are the
              same.

What is the relationship between the harmonic frequencies (frequencies of generators f3, f5, and
f7 in figure 5-2) and the fundamental frequency (f1)?

              The sine wave harmonic frequencies and the sine wave fundamental frequency
              are all odd functions.

What is the relationship between the amplitude of the harmonic generators and the amplitude of
the fundamental generator?

              The amplitude of each harmonic sine wave generators is the quotient of amplitude
              of the fundamental sine wave generator to the square of the sine wave harmonic
              frequencies. That is why it decreases as the sine wave harmonic frequencies
              increases.
Step 13       Press the A key to close switch A to add a dc voltage level to the triangular wave
              curve plot. Run the simulation again. Draw the new triangular wave (blue) curve
              plot on the space provided.




Question: What happened to the triangular wave curve plot? Explain.

              The waveshape shifted upwards. This was caused by the additional dc voltage.

Step 14       Press the E and D keys to open switches E and D to eliminate the seventh and
              fifth harmonic sine waves. Run the simulation again. Draw the new curve plot
              (blue) in the space provided. Note any change on the graph.




Step 15       Press the C key to open the switch C to eliminate the third harmonics sine wave.
              Run the simulation again.

Question: What happened to the triangular wave curve plot? Explain.

              The triangular wave curve plot became sinusoidal. The triangular wave is consist
              of a fundamental and all odd harmonics but because the sine wave harmonics are
              missing, the waveshape became the sine wave fundamental
Step 16       Open circuit FIG 5-3. Make sure that following function generator settings are
              selected: Square wave, Freq = 1 kHz, Duty cycle = 50%, Ampl – 2.5 V, Offset =
              2.5 V. Make sure that the following oscilloscope settings are selected: Time base
              (Scale = 500 µs/Div, Xpos = 0, Y/T), Ch A (Scale = 5 V/Div, Ypos = 0, DC), Ch
              B (Scale = 5 V/Div, Ypos = 0, DC), Trigger (pos edge, Level = 0, Auto). You will
              plot a square wave in the time domain at the input and output of a two-pole low-
              pass Butterworth filter.

Step 17       Bring down the oscilloscope enlargement and run the simulation to one full screen
              display, then pause the simulation. Notice that you are displaying square wave
              curve plot in the time domain (voltage as a function of time). The red curve plot is
              the filter input (5) and the blue curve plot is the filter output (7)

Question: Are the filter input (red) and the output (blue) plots the same shape disregarding any
amplitude differences?

              Yes, they both are square wave.

Step 18       Use the cursor to measure the time period (T) and the time (fo) of the input curve
              plot (red) and record the values.

              T= 1 ms        to = 500.477µs

Step 19       Calculate the pulse duty cycle (D) from the to and T

              D = 50.07%.

Question: How did your calculated duty cycle compare with the duty cycle setting on the
function generator?

              The calculated duty cycle and the duty cycle setting on the function generator
              have difference of 0.07%.

Step 20       Bring down the Bode plotter enlargement to display the Bode plot of the filter.
              Make sure that the following Bode plotter settings are selected; Magnitude,
              Vertical (Log, F = 10 dB, I = -40 dB), Horizontal (Log, F = 200 kHz, I = 100 Hz).
              Run the simulation to completion. Use the cursor to measure the cutoff frequency
              (fC) of the low-pass filter and record the value.

              fC = 21.197

Step 21       Bring down the analyzer enlargement. Make sure that the following spectrum
              analyzer settings are selected: Freq (Start = 0 kHz, Center = 5 kHz, End = 10
              kHz), Ampl (Lin, Range = 1 V/Div), Res = 50 Hz. Run the simulation until the
              Resolution frequencies match, then pause the simulation. Notice that you have
displayed the filter output square wave frequency spectrum in the frequency
              domain, use the cursor to measure the amplitude of the fundamental and each
              harmonic to the ninth and record your answers in table 5-1.

                                        Table 5-1
                               Frequency (kHz)            Amplitude
                     f1               1                     5.048 V
                     f2               2                    11.717 µV
                     f3               3                     1.683 V
                     f4               4                    15.533 µV
                     f5               5                     1.008 V
                     f6               6                    20.326 µV
                     f7               7                   713.390 mV
                     f8               8                    25.452 µV
                     f9               9                   552.582 mV


Questions: What conclusion can you draw about the difference between the even and odd
harmonics for a square wave with the duty cycle (D) calculated in Step 19?

              For a series of periodic pulse with 50% duty cycle, the frequency domain consists
              of a fundamental and odd harmonics while the even harmonics are almost
              negligible.

What conclusions can you draw about the amplitude of each odd harmonic compared to the
fundamental for a square wave with the duty cycle (D) calculated in Step 19?

              The amplitude of each odd harmonic decreases as the fundamental frequency for a
              square wave. Also, the plot in the frequency domain consist of a fundamental and
              all odd harmonics, with the even harmonics missing

Was this frequency spectrum what you expected for a square wave with the duty cycle (D)
calculated in Step 19?

              Yes.

Based on the filter cutoff frequency (fC) measured in Step 20, how many of the square wave
harmonics would you expect to be passed by this filter? Based on this answer, would you expect
much distortion of the input square wave at the filter? Did your answer in Step 17 verify this
conclusion?

              There are square waves. Yes, because the more number of harmonics square
              wave the more distortion in the input square wave.
Step 22       Adjust both filter capacitors (C) to 50% (2.5 nF) each. (If the capacitors won’t
              change, click the mouse arrow in the circuit window). Bring down the
              oscilloscope enlargement and run the simulation to one full screen display, then
              pause the simulation. The red curve plot is the filter input and the blue curve plot
              is the filter output.

Question: Are the filter input (red) and output (blue) curve plots the same shape, disregarding
any amplitude differences?

              No. They do not have the same shape.

Step 23       Bring down the Bode plotter enlargement to display the Bode plot of the filter.
              Use the cursor to measure the cutoff frequency (Fc of the low-pass filter and
              record the value.

              fc = 2.12 kHz

Step 24       Bring down the spectrum analyzer enlargement to display the filter output
              frequency spectrum in the frequency domain, Run the simulation until the
              Resolution Frequencies match, then pause the simulation. Use cursor to measure
              the amplitude of the fundamental and each harmonic to the ninth and record your
              answers in Table 5-2.

                                         Table 5-2
                                Frequency (kHz)             Amplitude
                      f1               1                      4.4928 V
                      f2               2                    4.44397µV
                      f3               3                    792.585 mV
                      f4               4                    323.075 µV
                      f5               5                    178.663mV
                      f6               6                    224.681 µV
                      f7               7                     65.766 mV
                      f8               8                    172.430 µV
                      f9               9                     30.959 mV


Questions: How did the amplitude of each harmonic in Table 5-2 compare with the values in
Table 5-1?

              Compare with the previous table, the amplitude of the harmonics is lower.

Based on the filter cutoff frequency (fc), how many of the square wave harmonics should be
passed by this filter? Based on this answer, would you expect much distortion of the input square
wave at the filter output? Did your answer in Step 22 verify this conclusion?
Based on the fc, there should be less than 5 square wave harmonics.. Yes, there
               have much distortion in the input square wave at the filter output.

Step 25        Change the both capacitor (C) back to 5% (0.25 nF). Change the duty cycle to
               20% on the function generator. Bring down the oscilloscope enlargement and run
               the simulation to one full screen display, then pause the simulation. Notice that
               you have displayed a pulse curve plot on the oscilloscope in the time domain
               (voltage as a function of time). The red curve plot is the filter input and the blue
               curve plot is the filter output.

Question: Are the filter input (red) and the output (blue) curve plots the same shape, disregarding
any amplitude differences?

               Yes, they have the same shape.

Step 26        Use the cursors to measure the time period (T) and the up time (to) of the input
               curve plot (red) and record the values.

               T= 1 ms                       to =

Step 27        Calculate the pulse duty cycle (D) from the to and T.

               D = 19.82%

Question: How did your calculated duty cycle compare with the duty cycle setting on the
function generator?

               The calculated duty cycle compare with the duty cycle setting on the function
               generator are almost the same. Their difference is only 0.18%

Step 28        Bring down the Bode plotter enlargement to display the Bode plot of the filter.
               Use the cursor to measure the cutoff frequency (fC) of the low-pass filter and
               record the value.

               fC = 21.197 kHz

Step 29        Bring down the spectrum analyzer enlargement to display the filter output
               frequency spectrum in the frequency domain. Run the simulation until the
               Resolution Frequencies match, then pause the simulation. Draw the frequency
               plot in the space provided. Also draw the envelope of the frequency spectrum.
5.041 kHz


Question: Is this the frequency spectrum you expected for a square wave with duty cycle less
than 50%?

              Yes.

Step 30       Use the cursor to measure the frequency of the first zero crossing point (f o) of the
              spectrum envelope and record your answer on the graph.

              fo = 5.041 kHz

Step 31       Based on the value of the to measured in Step 26, calculate the expected first zero
              crossing point (fo) of the spectrum envelope.

              fo = 5.045 kHz

Question: How did your calculated value of fo compare the measured value on the curve plot?

              They have a difference of 0.004 Hz

Step 32       Based on the value of fo, calculate the minimum bandwidth (BW) required for the
              filter to pass the input pulse waveshape with minimal distortion.

              BW = 5.045 kHz

Question: Based on this answer and the cutoff frequency (fc) of the low-pass filter measure in
Step 28, would you expect much distortion of the input square wave at the filter output? Did your
answer in Step 25 verify this conclusion?

              No, there is no much distortion of the input square wave at the filter output.
              Because BW is inversely proportion to the distortion formed. Then, the higher the
              bandwidth, the lesser the distortion formed.
Step 33        Adjust the filter capacitors (C) to 50% (2.5 nF) each. Bring down the oscilloscope
               enlargement and run the simulation to one full screen display, then pause the
               simulation. The red curve plot is the filter input and the blue curve plot is the filter
               output.

Question: Are the filter input (red) and the output (blue) curve plots the same shape, disregarding
any amplitude differences?

               No, they do not have the same shape.

Step 34        Bring down the Bode plotter enlargement to display the Bode plot of the filter.
               Use the cursor to measure the cutoff frequency (fc) of the low-pass filter and
               record the value.

               fc = 4.239 kHz

Questions: Was the cutoff frequency (fc) less than or greater than the minimum bandwidth (BW)
required to pass the input waveshape with minimal distortion as determined in Step 32?

               The cutoff frequency (fc) is greater than the minimum bandwidth (BW) required
               to pass the input waveshape with minimal distortion

Based on this answer, would you expect much distortion of the input pulse waveshape at the
filter output? Did your answer in Step 33 verify this conclusion?

               No, if the bandwidth is reduced, there will have much distortion of the input pulse
               waveshape at the filter output .

Step 35        Bring down the spectrum analyzer enlargement to display the filter output
               frequency spectrum in the frequency domain. Run the simulation until the
               Resolution Frequencies match, then pause the simulation.

Question: What is the difference between this frequency plot and the frequency plot in Step 29?

               The amplitude in the frequency plot is much lower than the amplitude in the
               frequency plot in Step 29.
Conclusion:

        After performing the experiment, a nonsinusoidal periodic waveform such as square
wave and triangular wave can be transform into series of fundamental frequency and harmonics.
Both square and triangular waves are odd function and with duty cycle of 50%. Square wave can
be generated through series of sine function and the amplitude of each harmonics is the quotient
of the fundamental amplitude to each harmonics frequency. Triangular wave is series of cosine
function and the amplitude of each harmonics is the quotient of the fundamental amplitude to
square of each harmonics frequency. When a dc voltage source was added, the curve will shift
upwards. The more the harmonics added to the fundamental sine wave the more the curve will
appear like the nonsinusoidal wave form.

        For the last circuit, I can conclude that the increment of the variable capacitor determines
the number of the harmonics. The lower the percentage of the increment of the variable
capacitor, the more the output appears like the input. It also determines the amplitude in
frequency spectrum of the pulse train, in fact, it is inversely proportional to the amplitude. The
value of the capacitance is inversely proportional with the amplitude of the output wave. A lower
value of the capacitance will cause higher amplitude of the curve. Waveforms with duty cycle of
less than 50% have even harmonics. The up time of the pulse train is inversely proportional to
the bandwidth. The bandwidth is also inversely proportional to the distortion formed.

More Related Content

DOCX
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION
PPTX
Diode voltage multiplier
PPT
Armature reaction
DOCX
Recortadores y Sujetadores de señales.
DOCX
132 KV Grid Station Intern ship training report
PDF
Principles of Electromechanical Energy Conversion
PDF
Cicuitos Rectificadores
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION
Diode voltage multiplier
Armature reaction
Recortadores y Sujetadores de señales.
132 KV Grid Station Intern ship training report
Principles of Electromechanical Energy Conversion
Cicuitos Rectificadores

What's hot (20)

PDF
transformer_design.pdf
PPTX
3 phase diode rectifiers/power electronics
PDF
Basics of facts
PPTX
Maxwell's Equations
PPTX
PMMC Instruments
PPT
High Power TVS Overvoltage Protection Diodes
PPTX
Faraday's law's and its applications
PPT
Chapter 2 transmission line parameters
PPTX
Gauss law and its Applications
PPTX
Equal Area Criterion for Transient Stability Studynew.pptx
PPT
electricidad 3 eso.ppt
PPT
Lecture 7 ac waves
PPT
Auto transformer
PPTX
Ic voltage regulators
PDF
Design Of Synchronous Machines, Synchronous Generator
PDF
Lineas 1
PPTX
ELECTRIC FIELD
PPTX
Displacement current
PPTX
Presentacion el transistor
transformer_design.pdf
3 phase diode rectifiers/power electronics
Basics of facts
Maxwell's Equations
PMMC Instruments
High Power TVS Overvoltage Protection Diodes
Faraday's law's and its applications
Chapter 2 transmission line parameters
Gauss law and its Applications
Equal Area Criterion for Transient Stability Studynew.pptx
electricidad 3 eso.ppt
Lecture 7 ac waves
Auto transformer
Ic voltage regulators
Design Of Synchronous Machines, Synchronous Generator
Lineas 1
ELECTRIC FIELD
Displacement current
Presentacion el transistor
Ad

Viewers also liked (20)

DOCX
Documentation bipolar stepper motor driver circuit
DOCX
Satellite communication valladolid
DOCX
Officers
DOC
Agdonexp2 passive
DOCX
Frequency modulation
DOCX
Exp2 bem
RTF
Ass1 introduction to communications (2)
DOCX
Frequency modulation3
DOCX
Class a amplifier5
DOCX
Exp passive filter (8)
DOCX
RTF
Ass1 introduction to communications (3)
DOCX
DOCX
DOCX
Exp5 tagasa
DOCX
SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for PULA)
DOCX
DOCX
DOCX
DOCX
Documentation bipolar stepper motor driver circuit
Satellite communication valladolid
Officers
Agdonexp2 passive
Frequency modulation
Exp2 bem
Ass1 introduction to communications (2)
Frequency modulation3
Class a amplifier5
Exp passive filter (8)
Ass1 introduction to communications (3)
Exp5 tagasa
SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for PULA)
Ad

Similar to Sarah (20)

DOCX
DOCX
DOCX
Exp5 agdon
DOCX
Objectives
DOCX
Exp5 bani
DOCX
Exp5 balane
DOCX
Comm008 e4 pula
DOCX
DOCX
Comm008 e4 pagara
DOCX
Comm008 e4 cauan
PPTX
Class 2: The Fundamentals of Designing with Semiconductors
PPTX
電流臨界モード方式PFC制御回路図
DOCX
Comm008 e4 balane
DOCX
Comm008 e4 bani
PDF
SPICE MODEL of 1MBG10D-060 (Professional+FWDS Model) in SPICE PARK
PDF
SPICE MODEL of uPC24A12HF in SPICE PARK
PDF
USB noise filter
DOCX
Comm008 e4 agdon
PDF
Ee pgecet-2010
DOCX
Comm008 e4 maala
Exp5 agdon
Objectives
Exp5 bani
Exp5 balane
Comm008 e4 pula
Comm008 e4 pagara
Comm008 e4 cauan
Class 2: The Fundamentals of Designing with Semiconductors
電流臨界モード方式PFC制御回路図
Comm008 e4 balane
Comm008 e4 bani
SPICE MODEL of 1MBG10D-060 (Professional+FWDS Model) in SPICE PARK
SPICE MODEL of uPC24A12HF in SPICE PARK
USB noise filter
Comm008 e4 agdon
Ee pgecet-2010
Comm008 e4 maala

More from Sarah Krystelle (15)

DOCX
SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for CAUAN)
DOCX
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for PULA)
DOCX
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for CAUAN)
DOCX
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)
DOCX
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for ABDON)
DOCX
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION COPY 2
DOCX
Exp amplitude modulation (8)
DOCX
Exp amplitude modulation (7)
DOCX
Exp amplitude modulation (6)
DOCX
Exp amplitude modulation (5)
DOCX
Exp amplitude modulation (4)
DOCX
Exp amplitude modulation (3)
DOCX
Exp amplitude modulation (2)
DOCX
Exp amplitude modulation (1)
SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for CAUAN)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for PULA)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for CAUAN)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for ABDON)
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION COPY 2
Exp amplitude modulation (8)
Exp amplitude modulation (7)
Exp amplitude modulation (6)
Exp amplitude modulation (5)
Exp amplitude modulation (4)
Exp amplitude modulation (3)
Exp amplitude modulation (2)
Exp amplitude modulation (1)

Recently uploaded (20)

PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
NewMind AI Weekly Chronicles – August ’25 Week IV
PDF
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
PDF
Introduction to MCP and A2A Protocols: Enabling Agent Communication
PPTX
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
PDF
A symptom-driven medical diagnosis support model based on machine learning te...
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PDF
Connector Corner: Transform Unstructured Documents with Agentic Automation
PPTX
MuleSoft-Compete-Deck for midddleware integrations
PDF
Comparative analysis of machine learning models for fake news detection in so...
DOCX
Basics of Cloud Computing - Cloud Ecosystem
PDF
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
PPTX
Module 1 Introduction to Web Programming .pptx
PPTX
future_of_ai_comprehensive_20250822032121.pptx
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PDF
Improvisation in detection of pomegranate leaf disease using transfer learni...
Convolutional neural network based encoder-decoder for efficient real-time ob...
NewMind AI Weekly Chronicles – August ’25 Week IV
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
Introduction to MCP and A2A Protocols: Enabling Agent Communication
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
A symptom-driven medical diagnosis support model based on machine learning te...
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
Connector Corner: Transform Unstructured Documents with Agentic Automation
MuleSoft-Compete-Deck for midddleware integrations
Comparative analysis of machine learning models for fake news detection in so...
Basics of Cloud Computing - Cloud Ecosystem
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
Module 1 Introduction to Web Programming .pptx
future_of_ai_comprehensive_20250822032121.pptx
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
Improvisation in detection of pomegranate leaf disease using transfer learni...

Sarah

  • 1. NATIONAL COLLEGE OF SCIENCE & TECHNOLOGY Amafel Bldg. Aguinaldo Highway Dasmariñas City, Cavite EXPERIMENT 5 Fourier Theory – Frequency Domain and Time Domain Cauan, Sarah Krystelle P. September 06, 2011 Signal Spectra and Signal Processing/BSECE 41A1 Score: Engr. Grace Ramones Instructor
  • 2. Objectives: 1. Learn how a square wave can be produced from a series of sine waves at different frequencies and amplitudes. 2. Learn how a triangular can be produced from a series of cosine waves at different frequencies and amplitudes. 3. Learn about the difference between curve plots in the time domain and the frequency domain. 4. Examine periodic pulses with different duty cycles in the time domain and in the frequency domain. 5. Examine what happens to periodic pulses with different duty cycles when passed through low-pass filter when the filter cutoff frequency is varied.
  • 3. Sample Computation Step 4 – Frequency (f) Step 11 – Frequency (f) Step 19 – Duty cycle (D) Question in Step 19 – Difference Step 27 – Duty cycle (D) Step 31 – First zero crossing point (f) Step 32 – Bandwidth (BW)
  • 4. Data Sheet: Materials: One function generator One oscilloscope One spectrum analyzer One LM 741 op-amp Two 5 nF variable capacitors Resistors: 5.86 kΩ, 10 kΩ, and 30 kΩ Theory: Communications systems are normally studies using sinusoidal voltage waveforms to simplify the analysis. In the real world, electrical information signal are normally nonsinusoidal voltage waveforms, such as audio signals, video signals, or computer data. Fourier theory provides a powerful means of analyzing communications systems by representing a nonsinusoidal signal as series of sinusoidal voltages added together. Fourier theory states that a complex voltage waveform is essentially a composite of harmonically related sine or cosine waves at different frequencies and amplitudes determined by the particular signal waveshape. Any, nonsinusoidal periodic waveform can be broken down into sine or cosine wave equal to the frequency of the periodic waveform, called the fundamental frequency, and a series of sine or cosine waves that are integer multiples of the fundamental frequency, called the harmonics. This series of sine or cosine wave is called a Fourier series. Most of the signals analyzed in a communications system are expressed in the time domain, meaning that the voltage, current, or power is plotted as a function of time. The voltage, current, or power is represented on the vertical axis and time is represented on the horizontal axis. Fourier theory provides a new way of expressing signals in the frequency domain, meaning that the voltage, current, or power is plotted as a function of frequency. Complex signals containing many sine or cosine wave components are expressed as sine or cosine wave amplitudes at different frequencies, with amplitude represented on the vertical axis and frequency represented on the horizontal axis. The length of each of a series of vertical straight lines represents the sine or cosine wave amplitudes, and the location of each line along the horizontal axis represents the sine or cosine wave frequencies. This is called a frequency spectrum. In many cases the frequency domain is more useful than the time domain because it reveals the bandwidth requirements of the communications system in order to pass the signal with minimal distortion. Test instruments displaying signals in both the time domain and the frequency domain are available. The oscilloscope is used to display signals in the time domain and the spectrum analyzer is used to display the frequency spectrum of signals in the frequency domain.
  • 5. In the frequency domain, normally the harmonics decrease in amplitude as their frequency gets higher until the amplitude becomes negligible. The more harmonics added to make up the composite waveshape, the more the composite waveshape will look like the original waveshape. Because it is impossible to design a communications system that will pass an infinite number of frequencies (infinite bandwidth), a perfect reproduction of an original signal is impossible. In most cases, eliminate of the harmonics does not significantly alter the original waveform. The more information contained in a signal voltage waveform (after changing voltages), the larger the number of high-frequency harmonics required to reproduce the original waveform. Therefore, the more complex the signal waveform (the faster the voltage changes), the wider the bandwidth required to pass it with minimal distortion. A formal relationship between bandwidth and the amount of information communicated is called Hartley’s law, which states that the amount of information communicated is proportional to the bandwidth of the communications system and the transmission time. Because much of the information communicated today is digital, the accurate transmission of binary pulses through a communications system is important. Fourier analysis of binary pulses is especially useful in communications because it provides a way to determine the bandwidth required for the accurate transmission of digital data. Although theoretically, the communications system must pass all the harmonics of a pulse waveshape, in reality, relatively few of the harmonics are need to preserve the waveshape. The duty cycle of a series of periodic pulses is equal to the ratio of the pulse up time (tO) to the time period of one cycle (T) expressed as a percentage. Therefore, In the special case where a series of periodic pulses has a 50% duty cycle, called a square wave, the plot in the frequency domain will consist of a fundamental and all odd harmonics, with the even harmonics missing. The fundamental frequency will be equal to the frequency of the square wave. The amplitude of each odd harmonic will decrease in direct proportion to the odd harmonic frequency. Therefore, The circuit in Figure 5–1 will generate a square wave voltage by adding a series of sine wave voltages as specified above. As the number of harmonics is decreased, the square wave that is produced will have more ripples. An infinite number of harmonics would be required to produce a perfectly flat square wave.
  • 6. Figure 5 – 1 Square Wave Fourier Series XSC1 Ext T rig V6 + R1 J1 _ A B 10.0kΩ + _ + _ 10 V Key = A V1 R2 J2 10 Vpk 10.0kΩ 1kHz Key = B 0° V2 R3 J3 4 155 0 8 160 14 13 12 R7 109 02 3 100Ω 3.33 Vpk 10.0kΩ 3kHz Key = C 0° V3 R4 J4 2 Vpk 10.0kΩ 5kHz Key = D 0° V4 R5 J5 1.43 Vpk 10.0kΩ 7kHz 0° Key = E V5 J6 R6 1.11 Vpk 10.0kΩ 9kHz Key = F 0° . The circuit in Figure 5-2 will generate a triangular voltage by adding a series of cosine wave voltages. In order to generate a triangular wave, each harmonic frequency must be an odd multiple of the fundamental with no even harmonics. The fundamental frequency will be equal to the frequency of the triangular wave, the amplitude of each harmonic will decrease in direct proportion to the square of the odd harmonic frequency. Therefore, Whenever a dc voltage is added to a periodic time varying voltage, the waveshape will be shifted up by the amount of the dc voltage.
  • 7. Figure 5 – 2 Triangular Wave Fourier Series XSC1 Ext T rig V6 + R1 J1 _ A B 10.0kΩ + _ + _ 15 V Key = A V1 R2 J2 10 Vpk 10.0kΩ 1kHz 90° V2 Key = B R3 J3 13 12 1 2 3 4 5 8 9 11 0 R7 6 0 1.11 Vpk 100Ω 10.0kΩ 3kHz 90° V3 Key = C R4 J4 0.4 Vpk 10.0kΩ 5kHz 90° V4 Key = D R5 J5 0.2 Vpk 10.0kΩ 7kHz 90° Key = E For a series of periodic pulses with other than a 50% duty cycle, the plot in the frequency domain will consist of a fundamental and even and odd harmonics. The fundamental frequency will be equal to the frequency of the periodic pulse train. The amplitude (A) of each harmonic will depend on the value of the duty cycle. A general frequency domain plot of a periodic pulse train with a duty cycle other than 50% is shown in the figure on page 57. The outline of peaks if the individual frequency components is called envelope of the frequency spectrum. The first zero- amplitude frequency crossing point is labelled fo = 1/to, there to is the up time of the pulse train. The first zero-amplitude frequency crossing point fo) determines the minimum bandwidth (BW0 required for passing the pulse train with minimal distortion. Therefore,
  • 8. A f=1/to 2/to f Frequency Spectrum of a Pulse Train Notice than the lower the value of to the wider the bandwidth required to pass the pulse train with minimal distortion. Also note that the separation of the lines in the frequency spectrum is equal to the inverse of the time period (1/T) of the pulse train. Therefore a higher frequency pulse train requires a wider bandwidth (BW) because f = 1/T The circuit in Figure 5-3 will demonstrate the difference between the time domain and the frequency domain. It will also determine how filtering out some of the harmonics effects the output waveshape compared to the original3 input waveshape. The frequency generator (XFG1) will generate a periodic pulse waveform applied to the input of the filter (5). At the output of the filter (70, the oscilloscope will display the periodic pulse waveform in the time domain, and the spectrum analyzer will display the frequency spectrum of the periodic pulse waveform in the frequency domain. The Bode plotter will display the Bode plot of the filter so that the filter bandwidth can be measured. The filter is a 2-pole low-pass Butterworth active filter using a 741 op-amp.
  • 9. Figure 5-3 Time Domain and Frequency Domain XFG1 XSC1 C1 XSA1 Ext T rig + 2.5nF 50% _ Key=A A _ B _ IN T + + R1 R2 741 30kΩ 30kΩ 42 OPAMP_3T_VIRTUAL 0 6 0 31 R3 C2 R4 5.56kΩ 10kΩ XBP1 2.5nF 50% Key=A R5 IN OUT 10kΩ Procedure: Step 1 Open circuit file FIG 5-1. Make sure that the following oscilloscope settings are selected: Time base (Scale = 200 µs/Div, Xpos = 0, Y/t), Ch A (Scale = 5V/Div, Ypos = 0, DC), Ch B (Scale = 50 mV/Div, Ypos = 0, DC), Trigger (Pos edge, Level = 0, Auto). You will generate a square wave curve plot on the oscilloscope screen from a series of sine waves called a Fourier series. Step 2 Run the simulation. Notice that you have generated a square wave curve plot on the oscilloscope screen (blue curve) from a series of sine waves. Notice that you have also plotted the fundamental sine wave (red). Draw the square wave (blue) curve on the plot and the fundamental sine wave (red) curve plot in the space provided. T = 1.00 ms
  • 10. Step 3 Use the cursors to measure the time periods for one cycle (T) of the square wave (blue) and the fundamental sine wave (red) and show the value of T on the curve plot. T1 = 1.00 ms T2 = 1.00 ms Step 4 Calculate the frequency (f) of the square wave and the fundamental sine wave from the time period. f = 1 kHz Questions: What is the relationship between the fundamental sine wave and the square wave frequency (f)? Both the fundamental sine wave and the square wave frequency are 1 kHz. They are the same What is the relationship between the sine wave harmonic frequencies (frequencies of sine wave generators f3, f5, f7, and f9 in figure 5-1) and the sine wave fundamental frequency (f1)? The sine wave harmonic frequencies and the sine wave fundamental frequency are all odd functions. What is the relationship between the amplitude of the harmonic sine wave generators and the amplitude of the fundamental sine wave generator? The amplitude of each harmonic sine wave generators is the quotient of amplitude of the fundamental sine wave generator to the sine wave harmonic frequencies. That is why it decreases as the sine wave harmonic frequencies increases. Step 5 Press the A key to close switch A to add a dc voltage level to the square wave curve plot. (If the switch does not close, click the mouse arrow in the circuit window before pressing the A key). Run the simulation again. Change the oscilloscope settings as needed. Draw the new square wave (blue) curve plot on the space provided.
  • 11. Question: What happened to the square wave curve plot? Explain why. The waveshape shifted upwards. This was caused by the additional dc voltage. Step 6 Press the F and E keys to open the switches F and E to eliminate the ninth and seventh harmonic sine waves. Run the simulation again. Draw the new curve plot (blue) in the space provided. Note any change on the graph. Step 7 Press the D key to open the switch D to eliminate the fifth harmonics sine wave. Run the simulation again. Draw the new curve plot (blue) in the space provided. Note any change on the graph.
  • 12. Step 8 Press the C key to open switch C and eliminate the third harmonic sine wave. Run the simulation again. Question: What happened to the square wave curve plot? Explain. It became sinusoidal. The square wave is consist of a fundamental and all odd harmonics but because of the absence of the sine wave harmonics, the waveshape became the sine wave fundamental Step 9 Open circuit file FIG 5-2. Make sure that the following oscilloscope settings are selected: Time base (Scale = 200 µs/Div, Xpos = 0, Y/t), Ch A (Scale = 5V/Div, Ypos = 0, DC), Ch B (Scale = 100 mV/Div, Ypos = 0, DC), Trigger (Pos edge, Level = 0, Auto). You will generate a triangular wave curve plot on the oscilloscope screen from a series of sine waves called a Fourier series. Step 10 Run the simulation. Notice that you have generated a triangular wave curve plot on the oscilloscope screen (blue curve) from the series of cosine waves. Notice that you have also plotted the fundamental cosine wave (red). Draw the triangular wave (blue) curve plot and the fundamental cosine wave (red) curve plot in the space provided.
  • 13. T = 1.00 ms Step 11 Use the cursors to measure the time period for one cycle (T) of the triangular wave (blue) and the fundamental (red), and show the value of T on the curve plot. T1 = 1.00 ms T2 = 1.00 ms Step 12 Calculate the frequency (f) of the triangular wave from the time period (T). f = 1 kHz Questions: What is the relationship between the fundamental frequency and the triangular wave frequency? The triangular wave frequency and the sine wave fundamental frequency are the same. What is the relationship between the harmonic frequencies (frequencies of generators f3, f5, and f7 in figure 5-2) and the fundamental frequency (f1)? The sine wave harmonic frequencies and the sine wave fundamental frequency are all odd functions. What is the relationship between the amplitude of the harmonic generators and the amplitude of the fundamental generator? The amplitude of each harmonic sine wave generators is the quotient of amplitude of the fundamental sine wave generator to the square of the sine wave harmonic frequencies. That is why it decreases as the sine wave harmonic frequencies increases.
  • 14. Step 13 Press the A key to close switch A to add a dc voltage level to the triangular wave curve plot. Run the simulation again. Draw the new triangular wave (blue) curve plot on the space provided. Question: What happened to the triangular wave curve plot? Explain. The waveshape shifted upwards. This was caused by the additional dc voltage. Step 14 Press the E and D keys to open switches E and D to eliminate the seventh and fifth harmonic sine waves. Run the simulation again. Draw the new curve plot (blue) in the space provided. Note any change on the graph. Step 15 Press the C key to open the switch C to eliminate the third harmonics sine wave. Run the simulation again. Question: What happened to the triangular wave curve plot? Explain. The triangular wave curve plot became sinusoidal. The triangular wave is consist of a fundamental and all odd harmonics but because the sine wave harmonics are missing, the waveshape became the sine wave fundamental
  • 15. Step 16 Open circuit FIG 5-3. Make sure that following function generator settings are selected: Square wave, Freq = 1 kHz, Duty cycle = 50%, Ampl – 2.5 V, Offset = 2.5 V. Make sure that the following oscilloscope settings are selected: Time base (Scale = 500 µs/Div, Xpos = 0, Y/T), Ch A (Scale = 5 V/Div, Ypos = 0, DC), Ch B (Scale = 5 V/Div, Ypos = 0, DC), Trigger (pos edge, Level = 0, Auto). You will plot a square wave in the time domain at the input and output of a two-pole low- pass Butterworth filter. Step 17 Bring down the oscilloscope enlargement and run the simulation to one full screen display, then pause the simulation. Notice that you are displaying square wave curve plot in the time domain (voltage as a function of time). The red curve plot is the filter input (5) and the blue curve plot is the filter output (7) Question: Are the filter input (red) and the output (blue) plots the same shape disregarding any amplitude differences? Yes, they both are square wave. Step 18 Use the cursor to measure the time period (T) and the time (fo) of the input curve plot (red) and record the values. T= 1 ms to = 500.477µs Step 19 Calculate the pulse duty cycle (D) from the to and T D = 50.07%. Question: How did your calculated duty cycle compare with the duty cycle setting on the function generator? The calculated duty cycle and the duty cycle setting on the function generator have difference of 0.07%. Step 20 Bring down the Bode plotter enlargement to display the Bode plot of the filter. Make sure that the following Bode plotter settings are selected; Magnitude, Vertical (Log, F = 10 dB, I = -40 dB), Horizontal (Log, F = 200 kHz, I = 100 Hz). Run the simulation to completion. Use the cursor to measure the cutoff frequency (fC) of the low-pass filter and record the value. fC = 21.197 Step 21 Bring down the analyzer enlargement. Make sure that the following spectrum analyzer settings are selected: Freq (Start = 0 kHz, Center = 5 kHz, End = 10 kHz), Ampl (Lin, Range = 1 V/Div), Res = 50 Hz. Run the simulation until the Resolution frequencies match, then pause the simulation. Notice that you have
  • 16. displayed the filter output square wave frequency spectrum in the frequency domain, use the cursor to measure the amplitude of the fundamental and each harmonic to the ninth and record your answers in table 5-1. Table 5-1 Frequency (kHz) Amplitude f1 1 5.048 V f2 2 11.717 µV f3 3 1.683 V f4 4 15.533 µV f5 5 1.008 V f6 6 20.326 µV f7 7 713.390 mV f8 8 25.452 µV f9 9 552.582 mV Questions: What conclusion can you draw about the difference between the even and odd harmonics for a square wave with the duty cycle (D) calculated in Step 19? For a series of periodic pulse with 50% duty cycle, the frequency domain consists of a fundamental and odd harmonics while the even harmonics are almost negligible. What conclusions can you draw about the amplitude of each odd harmonic compared to the fundamental for a square wave with the duty cycle (D) calculated in Step 19? The amplitude of each odd harmonic decreases as the fundamental frequency for a square wave. Also, the plot in the frequency domain consist of a fundamental and all odd harmonics, with the even harmonics missing Was this frequency spectrum what you expected for a square wave with the duty cycle (D) calculated in Step 19? Yes. Based on the filter cutoff frequency (fC) measured in Step 20, how many of the square wave harmonics would you expect to be passed by this filter? Based on this answer, would you expect much distortion of the input square wave at the filter? Did your answer in Step 17 verify this conclusion? There are square waves. Yes, because the more number of harmonics square wave the more distortion in the input square wave.
  • 17. Step 22 Adjust both filter capacitors (C) to 50% (2.5 nF) each. (If the capacitors won’t change, click the mouse arrow in the circuit window). Bring down the oscilloscope enlargement and run the simulation to one full screen display, then pause the simulation. The red curve plot is the filter input and the blue curve plot is the filter output. Question: Are the filter input (red) and output (blue) curve plots the same shape, disregarding any amplitude differences? No. They do not have the same shape. Step 23 Bring down the Bode plotter enlargement to display the Bode plot of the filter. Use the cursor to measure the cutoff frequency (Fc of the low-pass filter and record the value. fc = 2.12 kHz Step 24 Bring down the spectrum analyzer enlargement to display the filter output frequency spectrum in the frequency domain, Run the simulation until the Resolution Frequencies match, then pause the simulation. Use cursor to measure the amplitude of the fundamental and each harmonic to the ninth and record your answers in Table 5-2. Table 5-2 Frequency (kHz) Amplitude f1 1 4.4928 V f2 2 4.44397µV f3 3 792.585 mV f4 4 323.075 µV f5 5 178.663mV f6 6 224.681 µV f7 7 65.766 mV f8 8 172.430 µV f9 9 30.959 mV Questions: How did the amplitude of each harmonic in Table 5-2 compare with the values in Table 5-1? Compare with the previous table, the amplitude of the harmonics is lower. Based on the filter cutoff frequency (fc), how many of the square wave harmonics should be passed by this filter? Based on this answer, would you expect much distortion of the input square wave at the filter output? Did your answer in Step 22 verify this conclusion?
  • 18. Based on the fc, there should be less than 5 square wave harmonics.. Yes, there have much distortion in the input square wave at the filter output. Step 25 Change the both capacitor (C) back to 5% (0.25 nF). Change the duty cycle to 20% on the function generator. Bring down the oscilloscope enlargement and run the simulation to one full screen display, then pause the simulation. Notice that you have displayed a pulse curve plot on the oscilloscope in the time domain (voltage as a function of time). The red curve plot is the filter input and the blue curve plot is the filter output. Question: Are the filter input (red) and the output (blue) curve plots the same shape, disregarding any amplitude differences? Yes, they have the same shape. Step 26 Use the cursors to measure the time period (T) and the up time (to) of the input curve plot (red) and record the values. T= 1 ms to = Step 27 Calculate the pulse duty cycle (D) from the to and T. D = 19.82% Question: How did your calculated duty cycle compare with the duty cycle setting on the function generator? The calculated duty cycle compare with the duty cycle setting on the function generator are almost the same. Their difference is only 0.18% Step 28 Bring down the Bode plotter enlargement to display the Bode plot of the filter. Use the cursor to measure the cutoff frequency (fC) of the low-pass filter and record the value. fC = 21.197 kHz Step 29 Bring down the spectrum analyzer enlargement to display the filter output frequency spectrum in the frequency domain. Run the simulation until the Resolution Frequencies match, then pause the simulation. Draw the frequency plot in the space provided. Also draw the envelope of the frequency spectrum.
  • 19. 5.041 kHz Question: Is this the frequency spectrum you expected for a square wave with duty cycle less than 50%? Yes. Step 30 Use the cursor to measure the frequency of the first zero crossing point (f o) of the spectrum envelope and record your answer on the graph. fo = 5.041 kHz Step 31 Based on the value of the to measured in Step 26, calculate the expected first zero crossing point (fo) of the spectrum envelope. fo = 5.045 kHz Question: How did your calculated value of fo compare the measured value on the curve plot? They have a difference of 0.004 Hz Step 32 Based on the value of fo, calculate the minimum bandwidth (BW) required for the filter to pass the input pulse waveshape with minimal distortion. BW = 5.045 kHz Question: Based on this answer and the cutoff frequency (fc) of the low-pass filter measure in Step 28, would you expect much distortion of the input square wave at the filter output? Did your answer in Step 25 verify this conclusion? No, there is no much distortion of the input square wave at the filter output. Because BW is inversely proportion to the distortion formed. Then, the higher the bandwidth, the lesser the distortion formed.
  • 20. Step 33 Adjust the filter capacitors (C) to 50% (2.5 nF) each. Bring down the oscilloscope enlargement and run the simulation to one full screen display, then pause the simulation. The red curve plot is the filter input and the blue curve plot is the filter output. Question: Are the filter input (red) and the output (blue) curve plots the same shape, disregarding any amplitude differences? No, they do not have the same shape. Step 34 Bring down the Bode plotter enlargement to display the Bode plot of the filter. Use the cursor to measure the cutoff frequency (fc) of the low-pass filter and record the value. fc = 4.239 kHz Questions: Was the cutoff frequency (fc) less than or greater than the minimum bandwidth (BW) required to pass the input waveshape with minimal distortion as determined in Step 32? The cutoff frequency (fc) is greater than the minimum bandwidth (BW) required to pass the input waveshape with minimal distortion Based on this answer, would you expect much distortion of the input pulse waveshape at the filter output? Did your answer in Step 33 verify this conclusion? No, if the bandwidth is reduced, there will have much distortion of the input pulse waveshape at the filter output . Step 35 Bring down the spectrum analyzer enlargement to display the filter output frequency spectrum in the frequency domain. Run the simulation until the Resolution Frequencies match, then pause the simulation. Question: What is the difference between this frequency plot and the frequency plot in Step 29? The amplitude in the frequency plot is much lower than the amplitude in the frequency plot in Step 29.
  • 21. Conclusion: After performing the experiment, a nonsinusoidal periodic waveform such as square wave and triangular wave can be transform into series of fundamental frequency and harmonics. Both square and triangular waves are odd function and with duty cycle of 50%. Square wave can be generated through series of sine function and the amplitude of each harmonics is the quotient of the fundamental amplitude to each harmonics frequency. Triangular wave is series of cosine function and the amplitude of each harmonics is the quotient of the fundamental amplitude to square of each harmonics frequency. When a dc voltage source was added, the curve will shift upwards. The more the harmonics added to the fundamental sine wave the more the curve will appear like the nonsinusoidal wave form. For the last circuit, I can conclude that the increment of the variable capacitor determines the number of the harmonics. The lower the percentage of the increment of the variable capacitor, the more the output appears like the input. It also determines the amplitude in frequency spectrum of the pulse train, in fact, it is inversely proportional to the amplitude. The value of the capacitance is inversely proportional with the amplitude of the output wave. A lower value of the capacitance will cause higher amplitude of the curve. Waveforms with duty cycle of less than 50% have even harmonics. The up time of the pulse train is inversely proportional to the bandwidth. The bandwidth is also inversely proportional to the distortion formed.