Group 4 Midterm Project - Written Report
Group 4 Midterm Project - Written Report
Topic 4
Mose, Mark; Mora, Rionel; Pascasio, Azel Kaye; Ragadio, Beulah Lyne; Pericon,
Jayvee; Pizarro, Ron; Presillas, Jonas Janoel; Ramos, Loyd
Topic 4
Pulse code modulation (PCM) is a cutting-edge encoding that comes as a digital deal
which means outdated analyzed signals in digital form. This way is the main in
communication with customers as already said it was digital communication as well as the
storage part last and least but not this cool one multimedia will not operate well without PCM
because of its stability and high level of quality which prevents data mismatch among other
things.
The theory applied in PCM is one in which analog signals like speech or music are
converted to a digital string of numbers. It is the simplest form of digital modulation and has
opened up new communication channels and applications in telecommunications and digital
sound.
Specific Objectives
- Describe the evolution of Pulse Code Modulation and its role in enabling modern
digital
communication systems;
- Demonstrate the Pulse Code Modulator circuit, including sampling and transmitting a
given analog signal into an analog form;
- Apply the concepts of PCM in practical communication and audio technologies;
- Analyze the impact of PCM in modern communication systems and technology;
- Examine the differences between PCM and other modulation techniques, focusing on
signal quality and noise immunity and;
- Solve problems involving important principles such as sampling, quantizing,
encoding, pulse shaping, and decoding behind PCM
Discussion Proper
More developments were made in 1920 with the Bartlane cable picture transmission
system which used telegraph signaling of characters punched on paper tape to
transmit samples of images quantized to five levels. This system was the first form of
digital image transmission that was ever to be developed. Paul M. Rainey of Western
Electric Company in 1926 invented a facsimile machine that used 5-bit PCM and
was encoded by an opto-mechanical ADC. While Rainey’s machine never went into
production, it was an early step toward encoding and transmitting digital signals.
These developments put together paved way for PCM since it established the basic
concepts of sampling and quantization. They showed that it is possible to digitize
different kinds of signals, which laid the groundwork for the official definition of
PCM in the subsequent decades.
Moses G. Farmer
Retrieved from https://ethw.org/Moses_G._Farmer
Early Concepts and Inception (1930s – 1940s)
- PCM saw its first practical use in 1943 during World War II, where it was
employed for secure military communications. This application marked the beginning
of PCM's journey from a theoretical concept to an essential technology in digital
communications, demonstrating its value in situations where secure and high-quality
transmission was paramount.
Alec Reeves
Retrieved from https://www.allaboutcircuits.com/news/how-alec-reeves-revolutionized-telecom-pulse-code-modulation
- Unlike a pulse train, PCM generates a series of numbers or digits. Each digit,
expressed in binary code, represents an approximate amplitude of the signal sample at
a specific moment. In PCM, the message signal is encoded as a sequence of coded
pulses, effectively converting the signal into a discrete form in both time and
amplitude.
- On the receiver side, the primary tasks include regenerating degraded signals,
decoding, and reconstructing the quantized pulse train. The block diagram of PCM
illustrates the fundamental components of both the transmitter and receiver sections.
Block Diagram of the Pulse Code Modulation Process
Sampler
- A sampler captures sample data from the message signal at specific intervals to
reconstruct the original signal. According to the sampling theorem, the sampling rate
must be greater than twice the highest frequency component of the message signal
to ensure accurate reconstruction.
Encoder
- The encoder digitizes the analog signal by assigning a binary code to each
quantized level. This process involves the sample-and-hold technique. Along with the
low-pass filter, sampler, and quantizer, which together function as an analog-to-digital
converter, encoding also helps in reducing bandwidth usage.
Regenerative Repeater
- This section enhances the signal strength by using a regenerative repeater circuit.
The repeater compensates for signal loss, reconstructs the signal, and boosts its
strength. Consequently, the channel output is equipped with a regenerative repeater to
ensure signal integrity and strength.
Decoder
- The decoder circuit decodes the pulse coded waveform to reproduce the original
signal. This circuit acts as the demodulator.
Reconstruction Filter
- The reconstruction filter is used to retrieve the original signal after the digital-to-
analog conversion process. In a Pulse Code Modulation (PCM) system, the analog
signal is first digitized, coded, and sampled before being transmitted in digital form.
To recover the original analog signal, the entire process is reversed, and the
reconstruction filter, a type of low-pass filter, is applied to achieve this.
Telecommunication Systems
a. Digital Audio Formats - PCM serves as the foundation for various digital audio
formats, such as WAV and AIFF. In these formats, sound captured by a
microphone is sampled and quantized into digital signals using PCM. A standard
audio CD, for example, uses a sampling rate of 44.1 kHz and 16-bit depth per
sample, providing high-quality, accurate sound reproduction.
b. CD Audio Compact Disc (CD) - audio technology relies on PCM to convert and
store analog music signals digitally. This ensures high fidelity, making CDs a
popular medium for delivering rich, lossless audio quality since their inception.
Broadcasting
a. Voice Over IP (VoIP) - PCM plays an integral role in VoIP systems, converting
analog voice into digital signals for transmission over IP networks. The use of
PCM ensures that voice data is transmitted with high fidelity and low latency,
making it ideal for real-time communication applications.
b. Video Calls - In video conferencing platforms like Zoom and Microsoft Teams,
PCM is used to digitize audio input. Once digitized, these audio signals are
processed and compressed for efficient transmission, but PCM's initial conversion
ensures the audio remains clear and intelligible.
Medical Devices
a. Ultrasound and Imaging Technologies - Medical imaging technologies, such as
ultrasound, apply PCM to convert analog sensor data into digital signals. By
digitizing these signals, PCM allows for enhanced image resolution and detail,
crucial for diagnostic accuracy in medical practices.
Consumer Electronics
a. Bluetooth and Wireless Audio Devices - PCM is used in many wireless audio
devices, such as Bluetooth headphones and speakers, to capture and process
sound before transmission. The data is often compressed for wireless
transmission but originates in PCM format to ensure clarity and fidelity.
- PCM is the foundation for many compression techniques that have revolutionized
communication and multimedia transmission. While PCM itself is a relatively simple
method of encoding, its principles are used in more advanced digital communication
standards and codecs. These codecs, such as MP3 for audio and H.264 for video, rely
on the initial PCM representation of data before applying compression algorithms to
reduce file sizes while maintaining acceptable quality. This ability to compress digital
data efficiently has enabled the proliferation of high-bandwidth applications such as
video streaming, online gaming, and VoIP communication.
- In modern mobile networks, such as 4G and 5G, PCM has been instrumental in
creating advanced digital modulation and compression techniques that optimize
bandwidth usage. By digitizing voice and data signals, these networks can efficiently
allocate resources to multiple users, maximizing throughput while minimizing
latency. PCM, through its digital framework, allows modern networks to manage
large amounts of data without sacrificing quality, making high-speed mobile internet
and real-time video communication possible on a global scale.
- The digitization of communication signals through PCM laid the groundwork for the
convergence of telecommunications and computing technologies. With PCM
transforming analog signals into a digital format, communication networks could now
interoperate with computing systems, leading to the development of the internet and
the modern data-centric communication infrastructure.
- PCM’s digital foundation is compatible with the binary nature of computing systems,
allowing voice, video, and data to be processed and transmitted using the same
protocols. This convergence is evident in Voice over Internet Protocol (VoIP)
technologies, where voice signals are digitized and transmitted as data packets over IP
networks. Services such as Skype and Zoom have further demonstrated how PCM-
driven digitization has blurred the lines between telephony and computing, allowing
for seamless voice and video communication over the internet.
- Similarly, in broadcasting, PCM has enabled the shift from analog television and radio
systems to digital platforms such as Digital Video Broadcasting (DVB) and Digital
Audio Broadcasting (DAB). These systems provide superior sound and picture quality
by transmitting PCM-encoded data, allowing broadcasters to deliver high-definition
content to millions of viewers worldwide. The transition to digital broadcasting has
also made it possible to transmit additional data, such as subtitles and multiple
language tracks, enhancing the overall user experience.
- PCM’s impact extends beyond communication systems into the realm of digital audio
and multimedia technologies. The adoption of PCM in consumer audio formats, such
as the Compact Disc (CD), revolutionized the music industry in the late 20th century.
PCM allowed for high-fidelity audio recording and playback, surpassing the
limitations of analog media such as vinyl records and cassette tapes. The sampling
rate and bit depth of PCM ensured that the digital reproduction of audio was both
accurate and lossless, preserving the quality of the original sound recording.
Advantages:
High noise immunity: PCM signals can be easily regenerated and amplified
without amplifying noise, making them robust in noisy environments.
Compatibility with digital systems: PCM is ideal for use in modern digital
communication systems like telephony, computer networks, and storage media.
Scalability: PCM allows the flexibility to adjust bit depth and sample rate, thus
optimizing for quality or data rate as needed.
Disadvantages:
Requires more bandwidth: PCM encoding can require higher bandwidth compared
to other modulation techniques, particularly for high-fidelity signals.
Complex hardware: Implementing PCM involves additional steps, such as
sampling, quantization, and coding, which requires more sophisticated equipment.
Advantages:
Simple to implement and demodulate.
Widely used in radio broadcasting.
Disadvantages:
Highly susceptible to noise and interference, since noise affects
the amplitude of the signal.
Poor signal quality, especially in environments with high electrical
noise.
Frequency Modulation (FM):
Advantages:
Better noise resistance than AM because noise typically affects
amplitude rather than frequency.
Provides better sound quality, making it ideal for music and
higher-quality audio broadcasts.
Disadvantages:
Requires a wider bandwidth compared to AM, which limits its use
in bandwidth-constrained systems.
More complex circuitry is required for demodulation.
Advantages:
Even better noise immunity than FM, as it is less susceptible to
amplitude and frequency variations caused by noise.
Disadvantages:
More complex than AM and FM in terms of demodulation.
Requires very precise synchronization between transmitter and
receiver to avoid signal distortion.
- QAM modulates both the amplitude and the phase of the carrier
wave, allowing the transmission of more bits per symbol.
Advantages:
Efficient use of bandwidth, as it can transmit multiple bits per
symbol.
Commonly used in digital communication systems like Wi-Fi,
cable modems, and cellular networks.
Disadvantages:
More complex to implement due to the need for both amplitude
and phase synchronization.
More susceptible to noise compared to simpler digital modulation
schemes.
Advantages:
Simple to implement and relatively robust against noise.
Commonly used in low-cost and low-power applications, such as
RFIDs and early modems.
Disadvantages:
Less bandwidth-efficient compared to QAM or PSK.
Limited data rates due to the reliance on distinct frequency
shifts.
Advantages:
Good noise immunity, especially in environments with high
interference.
More bandwidth-efficient than FSK, as multiple bits can be
transmitted per symbol.
Disadvantages:
Requires precise phase synchronization between the transmitter
and receiver, which increases the complexity of the system.
Summary: PCM vs Other Modulation Techniques
PCM: Excellent for digital communication, providing high-quality, noise-
immune transmission at the cost of higher bandwidth and more complex
hardware.
QAM, FSK, PSK: Digital modulation schemes offer more efficient use of
bandwidth and higher noise immunity than analog techniques but vary in
complexity. QAM is bandwidth-efficient but complex, FSK is simple but less
efficient, and PSK balances noise immunity and bandwidth efficiency but
requires phase synchronization.
Each technique has its specific use cases, determined by the balance
between complexity, noise tolerance, bandwidth, and the intended
application.
Comparison Table:
PCM in Telephony
- PCM is the cornerstone of modern telephony systems, enabling high-
quality voice transmission over digital networks. By converting
analog voice signals into digital data, PCM reduces noise, improves
clarity, and allows for efficient transmission over long distances.
Delta Modulation (DM): A simplified form of PCM that transmits only the
difference between consecutive samples.
Step 1: Sampling
According to the Nyquist theorem, the minimum sampling rate should be twice the highest
frequency component in the signal. Here the highest frequency is 4 kHz, so the sampling rate
must be at least 8 kHz.
Given the sampling rate of 8 kHz, the number of samples per second is:
Number of samples=8000samples/sec
For a signal lasting 1 second, the total number of samples is: 8000samples
Step 2: Quantizing
The amplitude of the analog signal is continuous, but for digital conversion, we need to
quantize it into discrete levels. Here, we have 8 quantization levels (since 3 bits are used for
encoding). These levels divide the range of the analog signal into 8 equal segments.
Each sampled amplitude is rounded off to the nearest quantization level. If the input
amplitude varies from -1 to +1, for example, the range is divided into 8 levels, each covering
a specific amplitude range.
Step 3: Encoding
Each quantized level is then represented by a 3-bit binary code, since 3 bits allow for
23=82^3 = 823=8 unique values. The binary codes corresponding to the quantized levels
might look like this:
Level 0 → 000
Level 1 → 001
Level 2 → 010
Level 3 → 011
Level 4 → 100
Level 5 → 101
Level 6 → 110
Level 7 → 111
For each sample, the quantized value is encoded into its corresponding 3-bit binary code.
Over 1 second, we will have 8000 samples, and each sample will be represented by 3 bits.
The total number of bits generated per second (bit rate) is:
If the communication channel has bandwidth limitations, pulse shaping techniques like
Raised Cosine Filtering can be used to reduce bandwidth usage and inter-symbol
interference (ISI). However, in this problem, we’re using simple rectangular pulses.
Step 5: Decoding
At the receiver, the signal is decoded back into its binary form. The receiver reads each group
of 3 bits and decodes it back to the quantized level. For example, the binary code 011 would
be decoded as level 3, and 110 would be decoded as level 6.
After decoding, the quantized values are converted back into an analog signal by a Digital-
to-Analog Converter (DAC). This reconstruction involves interpolation (typically low-pass
filtering) to smooth out the signal and remove high-frequency artifacts.
The quality of the reconstructed signal depends on the number of quantization levels
(higher levels provide better approximation) and the sampling rate (higher rates capture
more detail from the original signal).
This PCM system results in a bit rate of 24 kbps, suitable for real-time transmission of voice
or simple analog signals over a digital network.
Example 2.
An analog signal has a maximum frequency of 3 kHz. You need to digitize this signal using
PCM. What is the minimum sampling rate you should use to avoid aliasing?
Solution:
The Nyquist theorem states that the sampling rate should be at least twice the maximum
frequency of the analog signal to avoid aliasing.
Step 2: Quantization
A PCM system uses 16 quantization levels to represent sampled values. If the amplitude
range of the analog signal is from -5V to +5V, what is the step size for quantization?
Solution:
The step size is the difference in voltage between each quantization level. If the amplitude
range is from -5V to +5V, the total range is:
Total range=5−(−5)=10 V
The step size is the total range divided by the number of quantization levels:
Solution:
First, determine the number of bits required to represent each quantized value. The number of
bits is given by:
Next, the bit rate is the product of the sampling rate and the number of bits per sample:
An analog signal is sampled and quantized into 4 levels. The quantization levels are 0V, 1V,
2V, and 3V, and each sample is encoded using 2 bits. What is the binary encoding for a
sample that measures 2.5V?
Solution:
Since the measured voltage (2.5V) falls between the quantization levels of 2V and 3V, it will
be quantized to the nearest level, which is 3V.
A PCM system uses 256 quantization levels. Calculate the Signal-to-Quantization Noise
Ratio (SQNR) in dB.
Solution:
SQNR (dB)=6.02×n+1.76 dB
Where n is the number of bits. For 256 quantization levels, the number of bits is:
n=log2(256)=8 bits
Now, substitute the value of nnn into the SQNR formula:
SQNR (dB)=6.02×8+1.76=48.16+1.76=49.92 dB
You are using rectangular pulses to represent bits in a PCM system with a bit rate of 64 kbps.
What is the minimum required bandwidth of the transmission channel?
Solution:
For rectangular pulses, the minimum required bandwidth is approximately half the bit rate:
An encoded PCM sequence reads as follows: 101, 110, 111. The quantization levels for the
system are 0V, 1V, 2V, 3V, 4V, 5V, 6V, and 7V. What are the corresponding decoded analog
values?
Solution:
101 = 5 (binary) → 5V
110 = 6 (binary) → 6V
111 = 7 (binary) → 7V
Thus, the decoded analog values are 5V, 6V, and 7V.
References/Additional Resources/Readings
BYJUS. (n.d.). Pulse Code Modulation - Modulation, Types, Advantages and Disadvantages,
Applications. Retrieved from https://byjus.com/physics/pulse-code-modulation
Dubois, C. (2023, November 7). How Alec Reeves Revolutionized Telecom With Pulse-Code
Modulation. Retrieved from https://www.allaboutcircuits.com/news/how-alec-reeves-
revolutionized-telecom-pulse-code-modulation
Electronics Coach. (2018, October 9). Pulse Code Modulation (PCM)? Definition, Block
diagram, Advantages and Disadvantages of PCM system. Retrieved from
https://electronicscoach.com/pulse-code-modulation.html
Engineering and Technology History Wiki (ETHW). (2021, May 12). Pulse Code
Modulation. Retrieved from https://ethw.org/Pulse_Code_Modulation?
fbclid=IwZXh0bgNhZW0CMTEAAR0Ti_HodaX9DpRmPvZBBUNcnJQC4TgB8ddSKS0AtM
DU-06p7fgtFYrctCw_aem_hFlQB6A0XvzUQTECI0gM0g
Group meetings:
(provide photos with captions of your group doing the project; include names of the persons
in photo, date and time taken the photo)