Voice Digitization and Encoding
Voice Digitization and Encoding
There are two types of pulse amplitude modulation based on signal polarity
It is the base for all digital modulation techniques and it is simple process for both
modulation and demodulation technique.
No complex circuitry is required for both transmission and reception. Transmitter
and receiver circuitry is simple and easy to construct.
PAM can generate other pulse modulation signals and can carry the message or
information at same time.
Bandwidth should be large for transmitting the pulse amplitude modulation signal.
Due to Nyquist criteria also high bandwidth is required.
The frequency varies according to the modulating signal or message signal. Due to
these variations in the signal frequency, interferences will be there. So noise will be
great. For PAM, noise immunity is less when compared to other modulation
techniques. It is almost equal to amplitude modulation.
Pulse amplitude signal varies, so power required for transmission will be more,
peak power is also, even at receiving more power is required to receive the pulse
amplitude signal.
2
B. Pulse Duration Modulation (PDM) or Pulse Width Modulation (PWM):
1. By keeping the leading edge constant and vary the pulse width with respect to
leading edge
2. By keeping the tailing constant.
3. By keeping the center of the pulse constant.
3
Fig 4.3 PWM or PDM diagram
Power will be variable because of varying in width of pulse. Transmitter can handle
the power even for maximum width of the pulse.
Bandwidth should be large to use in communication, should be huge even when
compared to the pulse amplitude modulation.
In the pulse position modulation, the position of each pulse in a signal by taking the
reference signal is varied according to the sample value of message or modulating signal
instantaneously. In the pulse position modulation technique that uses pulses of the same
breath and height but is displaced in time from some base position according to the
amplitude of the signal at the time of sampling. The position of pulse position modulation
is easy when compared to other modulation. It requires pulse width generator and
monostable multivibrator.
4
Pulse width generator is used for generating pulse width modulation signal which will
help to trigger the monostable multivibrator, here trial edge of the PWM signal is used for
triggering the monostable multivibrator. After triggering the monostable multivibrator,
PWM signal is converted into pulse position modulation signal. For demodulation, it
requires reference pulse generator, flip-flop and pulse width modulation demodulator.
Pulse position modulation has low noise interference when compared to PAM
because amplitude and width of the pulses are made constant during modulation.
Noise removal and separation is very easy in pulse position modulation.
Very low power compared to other modulations due to constant pulse amplitude
and width.
Used in non-coherent detection where a receiver does not need any Phase lock loop
for tracking the phase of the carrier.
Used in radio frequency (RF) communication.
Also used in contactless smart card, high frequency, RFID (radio frequency ID) tags
and etc.
• If a signal is sampled at regular intervals at a rate higher than twice the highest
signal frequency, the samples contain all the information of the original signal
— (Nyquist Sampling theorem)
• Voice data limited to below 4000Hz
• Require 8000 sample per second
• Analog samples (Pulse Amplitude Modulation, PAM)
• Each sample assigned digital value
• 4 bit system gives 16 levels
5
• Quantized
— Quantizing error or noise
— Approximations mean it is impossible to recover original exactly
• 8 bit sample gives 256 levels
• Quality comparable with analog transmission
• 8000 samples per second of 8 bits each gives 64kbps
Sampling Rate: The sampling frequency must be at least double the highest
frequency being sampled. (Nyquist).
Bit Rate: This is the number of bits that have to be transmitted per second.
If you need to sample speech, for tolerable quality the highest frequency is
3000Hz or 4000Hz for better mobile phone quality.
The sampling rate would need to be double this at 6000 or 8000Hz.
Eight bit samples give quite good quality so you would need 8 times 6000 or
8000.
48000 bits per second would be the minimum acceptable rate and 64000 bits per
second would be preferred.
Using data compression techniques, fewer bits per second are needed.
6
Nonlinear Encoding
• Quantization levels not evenly spaced
• Reduces overall signal distortion
• Can also be done by companding (Compressing – Expanding)
Fig 4.7 coding with and without nonlinear encoding (Companding/no Companding)
E. Delta Modulation
• Analog input is approximated by a staircase function
• Move up or down one level () at each sample interval
• Binary behavior
— Function moves up or down at each sample interval
7
Delta modulation (DM or Δ-modulation) is an analog-to-digital and digital-to-analog
signal conversion technique used for transmission of voice information where quality is
not of primary importance. DM is the simplest form of differential pulse-code modulation
(DPCM) where the difference between successive samples is encoded into n-bit data
streams. In delta modulation, the transmitted data is reduced to a 1-bit data stream.
To achieve high signal-to-noise ratio, delta modulation must use over - sampling
techniques, that is, the analog signal is sampled at a rate several times higher than the
Nyquist rate.
Derived forms of delta modulation are continuously variable slope delta modulation, and
differential modulation. The Differential Pulse Code Modulation is the super set of DM.
8
Encoding Schemes
• No return to Zero-Level (NRZ-L)
• Non-return to Zero Inverted (NRZI)
• Bipolar -AMI
• Pseudoternary
• Manchester
• Differential Manchester
• B8ZS
• HDB3
Non-return to Zero-Level (NRZ-L)
• Two different voltages for 0 and 1 bits
• Voltage constant during bit interval
— no transition I.e. no return to zero voltage
• e.g. Absence of voltage for zero, constant positive voltage for one
• More often, negative voltage for one value and positive for the other
• This is NRZ-L
Non-return to Zero Inverted
• Non-return to zero inverted on ones
• Constant voltage pulse for duration of bit
• Data encoded as presence or absence of signal transition at beginning of bit time
• Transition (low to high or high to low) denotes a binary 1
• No transition denotes binary 0
• An example of differential encoding
9
Bipolar
• Use more than two levels
• Bipolar-AMI
— zero represented by no line signal
— one represented by positive or negative pulse
— one pulses alternate in polarity
— No loss of sync if a long string of ones (zeros still a problem)
— No net dc component
— Lower bandwidth
— Easy error detection
Pseudoternary
• One represented by absence of line signal
• Zero represented by alternating positive and negative
• No advantage or disadvantage over bipolar-AMI
0 1 0 0 1 1 0 0 0 1 1
• Con
— At least one transition per bit time and possibly two
— Maximum modulation rate is twice NRZ
— Requires more bandwidth
• Pros
— Synchronization on mid bit transition (self-clocking)
— No dc component
— Error detection
• Absence of expected transition
Scrambling
11
B8ZS
HDB3
After line coding, the signal is put through a "physical channel", either a "transmission
medium" or "data storage medium". Sometimes the characteristics of 2 very different-
seeming channels are similar enough that the same line code is used for them. The most
common physical channels are:
The line-coded signal can directly be put on a transmission line, in the form of
variations of the voltage or current (often using differential signaling).
The line-coded signal (the "baseband signal") is further modulated to create the
"RF signal" that can be sent through free space.
The line-coded signal can be used to turn on and off a light in Free Space Optics,
most commonly infrared remote control.
Requires synchronization
Error detection
12
Summary:
Manchester code always has a transition at the middle of each bit period and may
(depending on the information to be transmitted) have a transition at the start of the
period also. The direction of the mid-bit transition indicates the data. Transitions at the
period boundaries do not carry information. They exist only to place the signal in the
correct state to allow the mid-bit transition. Although this allows the signal to be self-
clocking, it doubles the bandwidth requirement compared to NRZ coding schemes.
th
William Stallings Data and Computer Communications 7 Edition Chapter 5
https://www.google.co.ke/?gws_rd=ssl#q=data+encoding+in+computer+networks
http://www.electronicshub.org/modulation-and-different-types-of-modulation/
th
William Stallings Data and Computer Communications 7 Edition Chapter 5
Signal Encoding Techniques
https://www.google.co.ke/?gws_rd=ssl#q=data+encoding+in+computer+networks
http://www.electronicshub.org/modulation-and-different-types-of-modulation/
13