Professional Documents
Culture Documents
Theory
Pulse-code modulation (PCM) is a method used to digitally represent sampled analog
signals. It is the standard form of digital audio in computers, compact discs, digital
telephony and other digital audio applications. In a PCM stream, the amplitude of the
analog signal is sampled regularly at uniform intervals, and each sample is quantized to
the nearest value within a range of digital steps.
The PCM DECODER module is driven by an external clock. This clock signal is
synchronized to that of the transmitter. For this experiment a ‘stolen’ clock will be used.
The source of frame timing information has been discussed above.
• extracts a frame synchronization signal FS from the data itself (from the
embedded alternate ones and zeros in the LSB position), or uses an FS signa stolen
from the transmitter (see above).
• extracts the binary number, which is the coded (and quantized) amplitude of the
sample from which it was derived, from the frame.
• presents this voltage to the output Vout. The voltage appears at Vout for the
duration of the frame under examination.
The voltage at Vout of the decoder is identical withs(t) above. The decoder itself has
introduced no distortion of the received signal. But s(t) is already an inexact version of
the sample-and-hold operation at the encoder. This will give rise to quantization
distortion as well as the sampling distortion already mentioned.
II. Objectives
To identify each new frame in the data stream.
To exact the binary from each frame.
To generate voltage that is proportional to binary numbers.
To hold the voltage on the output until the next frame has been decoded.
University of Perpetual Help System Dalta – Calamba Campus
20. Activate the scope’s signal channel 1 input to observe the PCM decoder
module’s output as well as the message signal.
Part C – Viewing decoded PCM signal using the NI ELVIS II Dynamic Signal
Analyzer
21. Suspend the scope’s operation by clicking on its stop control once.
22. Minimize the scope’s VI
23. Launch the NI ELVIS II Dynamic signal analyser VI.
26. use c2 to see whether you can locate the aliases measured earlier
27. suspend the signal analyzer’s VI
28. restart the scope’s timebase control to the 500µs/div
29. Compare the original message with the recovered message.
V. Test questions
1. Why is the PCM decoder module output signal “stepped” instead of
smooth like the original message?
- Because of continuously digital output and variable power
supply.
2. What is the name for this distortion?
- The module’s continuously changing, the PCM data
continuously also.
3. When audible, what does this distortion sound like?
- Change in the form of an electrical signal or sound wave during
processing.
4. If the message is a complex signal consisting of both a 500Hz sine
wave and a 1 kHz sine wave, the PCM decoder module’s output would
consist of?
- Neither a 500 Hz sinewave nor a 1 kHz sinewave.
5. Notices that the PCM decoder module’s output no-longer looks like a
“stepped” copy of the message. Why do you think has happened?
- As the message frequency increases, there are fewer samples
in every cycle.
6. Once the PCM decoder module’s output no-longer look like a “stepped”
copy of the message is no-longer present?
- No, the PCM decoder output always include a copy of the
sinewave the original message.
University of Perpetual Help System Dalta – Calamba Campus
7. What two FOTEx modules can be used to pick out the copy of tye
message?
- PCM decoder module and PCM encoder module.
8. What has happened to the aliases?
- It leads to distortion where the high frequency components of
the sampled signal interfere with each other.
9. The signal on the 3 kHz LPF module’s output is now a much better copy
of the message. What does this tell you about aliases?
- They were responsible for giving the PCM decoder module output
the “stepped”
VI. Observation
VII. Conclusion
Emona-FOTEx-Lab Manual