Professional Documents
Culture Documents
Sy, Francis Oliver F.-402a-Com01lab-Experiment No. 8
Sy, Francis Oliver F.-402a-Com01lab-Experiment No. 8
FREQUENCY DEMODULATION
Pulse counting method
EXPERIMENT TITLE
Experiment Number 08
Reasoning
Advance
Accuracy
Completeness
OnTime
Analytical Ability
Remarks:
GNR
FM demodulation – Pulse counting method
Preliminary discussion
There are as many methods of demodulating an FM signal as there are of generating one.
Examples include: the slope detector, the Foster-Seeley discriminator, the ratio detector, the
phase-locked loop (PLL), the quadrature FM demodulator and the zero-crossing detector. It’s
possible to implement several of these methods using the Emona Telecoms-Trainer 101 but, for
an introduction to the principles of FM demodulation, only the zero-crossing detector is used in
this experiment.
Figure 1
The received FM signal is first passed through a comparator to heavily clip it, effectively
converting it to a squarewave. This allows the signal to be used as a trigger signal for the zero-
crossing detector circuit (ZCD).
The ZCD generates a pulse with a fixed duration every time the squared-up FM signal crosses
zero volts (either on the positive or the negative transition but not both). Given the squared-up
FM signal is continuously crossing zero, the ZCD effectively converts the squarewave to a
rectangular wave with a fixed mark time.
When the FM signal’s frequency changes (in response to the message), so does the rectangular
wave’s frequency. Importantly though, as the rectangular wave’s mark is fixed, changing its
frequency is achieved by changing the duration of the space and hence the signal’s mark/space
ratio (or duty cycle). This is shown in Figure 2 on the next page using an FM signal that only
switches between two frequencies (because it has been generated by a squarewave for the
message).
FM signal 0V
Comparator's
output
0V
ZCD signal
0V
Figure 2
Recall from the theory of complex waveforms, pulse trains are actually made up of sinewaves
and, in the case of Figure 2 above, a DC voltage. The size of the DC voltage is affected by the
pulse train’s duty cycle. The greater its duty cycle, the greater the DC voltage.
That being the case, when the FM signal in Figure 2 above switches between the two
frequencies, the DC voltage that makes up the rectangular wave out of the ZCD changes
between two values. In others words, the DC component of the rectangular wave is a copy of the
squarewave that produced the FM signal in the first place. Recovering this copy is a relatively
simple matter of picking out the changing DC voltage using a low-pass filter.
Importantly, this demodulation technique works equally well when the message is a sinewave or
speech.
The experiment
In this experiment you’ll use the Emona Telecoms-Trainer 101 to generate an FM signal using a
VCO. Then you’ll set-up a zero-crossing detector and verify its operation for variations in the
message’s amplitude.
Procedure
3. Locate the VCO module and turn its Gain control fully clockwise.
4. Set the VCO module’s Frequency Adjust control to about the middle of its travel.
Figure 3
7. Set the scope’s Timebase control to view two or so cycles of the VCO module’s SINE
output.
1
Note: You do this by adjusting the signal’s period to 100µs (recall that P = )
f
10. Set the scope’s Channel 1 and Channel 2 Input Coupling controls to the DC position.
Figure 4
This set-up can be represented by the block diagram in Figure 5 on the next page. The Variable
DCV module is being used to provide a simple DC message and the VCO module implements an FM
modulator with a carrier frequency of 10kHz.
Message
To Ch.1
Variable DCV VCO
FM signal
DC V To Ch.2
10kHz rest
frequency
Figure 5
13. Vary the Variable DCV module’s DC Voltage control and check that the VCO module’s
output frequency changes above and below its rest frequency.
For the FM demodulator that you’ll wire in this experiment, the FM modulator’s output
frequency must not exceed about 15kHz. And, as the sinewave that you’ll use for the message
later in the experiment is 4Vp-p (or ±2V peak), this means that sensitivity must not be greater
than 2.5kHz/volt.
The VCO module’s sensitivity can be adjusted using its Gain control and the next part of the
experiment gets you to do so.
15. Adjust the VCO module’s Gain control for a 15kHz output.
Note: Take care here – You’re adjusting the VCO module’s output frequency using the Gain
control and not its Frequency Adjust control.
Note: As the VCO module’s operation is fairly linear, the new output frequency should be
about 5kHz.
Part B – Setting up the zero-crossing detector
18. Return the scope’s Trigger Source control to the CH1 (or INT) position.
19. Locate the Twin Pulse Generator module and turn its Width control fully anti-clockwise.
20. Set the Twin Pulse Generator module’s Delay control fully anti-clockwise.
Figure 6
23. Adjust the Twin Pulse Generator module’s Width control for an output pulse that is 12µs
long.
Note: Generally speaking, the longer the pulse the greater it’s DC component and, in the
case of the zero-crossing detector, the greater the size of the recovered message.
However, the pulses cannot be too long otherwise the circuit’s operation breaks down due
to other performance parameters of the TPG module. In this case, 12µs is a compromise.
The additions to the set-up can be represented by the block diagram in Figure 8 on the next
page.
The comparator on the Utilities module is used to clip the FM signal, effectively turning it into a
squarewave. The positive edge-triggered Twin Pulse Generator module is used to implement the
zero-crossing detector. To complete the FM demodulator, the Baseband LPF on the Channel
Module is used to pick-out the changing DC component of the Twin Pulse Generator module’s
output.
FM Demodulated
signal message
To Ch.2
Figure 8
The entire set-up can be represented by the block diagram in Figure 9 below.
Demodulated
message
To Ch.2
Figure 9
26. Vary the Variable DCV module’s DC Voltage control left and right.
Note: If the FM demodulator is working, the DC voltage out of the Baseband LPF should
vary as you do though it will be a small voltage.
Tip: If this doesn’t happen, check that the scope’s Channel 2 Input Coupling control is set
to the DC position before you start checking your wiring.
27. Rearrange the scope’s connections to the set-up as shown in Figure 10 below.
Figure 10
The new scope connections can be shown using the block diagram in Figure 11 on the next page.
Demodulated
ZCD
message
10kHz
FM modulator FM demodulator
Figure 11
Question 1
Why is the FM signal no-longer a sinewave? Tip: If you’re not sure, see the preliminary
discussion.
The FM signal is no longer a sine wave as it has been heavily truncated by the comparator in the setup.
The comparator converts the FM signal to a square wave by removing smooth variations in the amplitude of
the FM signal. The square wave is then used as input to the zero-cross-section detector for subsequent
demodulation.
28. Vary the Variable DCV module’s DC Voltage control left and right to model the FM signal’s
continuously changing frequency.
29. As you perform the step above, examine the waveshape of the Comparator’s output.
Question 2
What type of waveform does the Comparator output?
It is a square waveform.
Question 3
What does this tell us about the DC component of the comparator’s output?
The FM signal is transformed into a square waveform through signal clipping using a Comparator.
The resulting square waveform displays sudden transitions between high and low levels and lacks a
significant DC component. By manipulating the DC Voltage control, variations in the frequency of the
demodulated signal can be observed by analyzing the transitions and timing of the square waveform. This
square waveform is then processed by a zero-crossing detector for additional demodulation. The main
emphasis lies in examining the changing frequency of the FM signal through an analysis of the transitions
and timing characteristics of the square waveform.
30. Rearrange the scope’s connections to the set-up as shown in Figure 12 below.
Figure 12
The new scope connections can be shown using the block diagram in Figure 13 below.
ZCD
Demodulated
message
DC V
10kHz
FM modulator FM demodulator
Figure 13
31. Vary the Variable DCV module’s DC Voltage control left and right to model the FM signal’s
continuously changing frequency.
32. As you perform the step above, compare the outputs from the Comparator and the Twin
Pulse Generator module (the ZCD).
Question 4
What type of waveform does the ZCD output?
it produces a pulse waveform
Question 5
As the FM signal changes frequency so does the ZCD’s output. What aspect of the signal
changes to achieve this?
Question 6
What does this tell us about the DC component of the comparator’s output?
The square waveform produced by the comparator has no significant DC bias, indicating that the
DC component of the original FM signal has been successfully removed. This lack of DC compensation
ensures that the variations in the output frequency of the Zero Cross Detector (ZCD), corresponding to
the variable frequency of the FM signal, are only affected by the frequency components of the signal.
signal instead of DC offset.
The next part of the experiment lets you verify your answer to the previous question.
33. Rearrange the scope’s connections to the set-up as shown in Figure 14 below.
CHANNEL
MODULE
CHANNEL
BPF
BASEBAND
LPF
ADDER
NOISE
SIGNAL CHANNEL
OUT
Figure 14
The new scope connections can be shown using the block diagram in Figure 15 below.
ZCD's o/p
To Ch.1
Demodulated
ZCD
message
DC V
To Ch.2
10kHz
FM modulator FM demodulator
Figure 15
34. Vary the Variable DCV module’s DC Voltage control left and right to model the FM signal’s
continuously changing frequency.
35. As you perform the step above, compare the outputs from the Twin Pulse Generator
module (the ZCD) and the Baseband LPF.
Tip: You may find it helpful to set the scope’s Channel 2 Vertical Attenuation control to
0.5V/div setting.
Question 7
If the original message is a sinewave instead of a variable DC voltage, what would youexpect to see
out of the Baseband LPF?
If the original message is a sine wave instead of a variable DC voltage, the output of the baseband
LPF (low pass filter) will be a filtered version of the input sine wave. The LPF will suppress high frequency
components beyond its cutoff frequency, allowing only the lower frequency components of the sine wave
to pass through. The output will still be a sine wave, but its amplitude is likely to be varied and its
frequency is limited by the characteristics of the LPF.
36. Disconnect the plug to the Variable DCV module’s VDC output.
Note: Leave the other plug that’s connected to the module’s GND output in place.
Figure 16
This modification to the FM modulator can be shown using the block diagram in Figure 17 on the
next page. Notice that the message is now provided by the Master Signals module’s 2kHz SINE
output.
Message
To Ch.1
Master Signals VCO
FM signal
2kHz
10kHz
Figure 17
38. Set the scope’s Channel 2 Input Coupling control to the AC position.
39. Adjust the scope’s Timebase control to view two or so cycles of the Master Signals
module’s 2kHz SINE output.
Note: If your set-up is working correctly, the FM demodulator’s output should be the
same as the message (with some phase shift).
Question 8
What does the FM modulator’s output signal tell you about the ZCD signal’s duty cycle?
The output signal of the FM modulator tells me about the duty cycle of the zero-crossing
detector (ZCD) signal. In frequency modulation, the frequency variations of the FM modulated signal are
converted into changes in the duty cycle of the ZCD signal. The ZCD signal is usually a rectangular
waveform, and its duty period represents the ratio of the time the signal spends in the high state to its
total time. By analyzing the output signal of the FM modulator, we can observe the corresponding
oscillations in the duty cycle of the ZCD signal, which helps to better understand the frequency variations
of the modulated signal. FM mode.
41. To verify your answer to the question above, use the scope’s Channel 2 input to examine
the output of the ZCD.
Tip: Leave the scope’s Channel 1 input connected to the Master Signals module’s 2kHz
SINE output.
42. Locate the Tuneable Low-pass Filter module and set its Gain control to about the middle
of its travel.
43. Set the Tuneable Low-pass Filter module’s Cut-off Frequency Adjust control to about the
middle of its travel.
46. Adjust the signal out of the Tuneable Low-pass Filter module’s fC×100 output to 200kHz.
Note 2: Once the fC×100 output is 200kHz, the Tuneable Low-pass Filter module’s cut-offfrequency is
48. Disconnect the plug to the Master Signals module’s 2kHz SINE output.
51. Without wearing the headphones, plug them into the Buffer module’s headphone socket.
53. As you perform the next step, set the Buffer module’s Gain control to a comfortable
sound level.
54. Talk, sing or hum while watching the scope’s display and listening on the headphones.
Conclusion
Observation
FM Demodulation - Pulse counting method that relies on counting the number of pulses in a given
time period to extract the original message signal. This method works by converting the FM signal into a
series of pulses, where each pulse represents the frequency transition of the signal. By measuring the
number of pulses in a fixed period, the frequency change of the FM signal can be determined. This allows
the original message signal to be restored, since frequency changes in the FM signal are directly related
to variations in the message signal. Therefore, through pulse counting, the FM Demodulation - Pulse Count
method provides a reliable and efficient means of recovering the original message signal from the
modulated FM waveform.