Group One Assignments
Group One Assignments
Contents
fc(En)coder/Decoder = codec
Modulator/
demodulator
= modem
Modulation: encode source data onto a carrier signal with frequency fc(
2
Digital Data, Digital Signal
•Digital signal–Discrete, discontinuous voltage pulses–Each pulse is a signal element; the
rate at which pulses are sent is called the signallingrate–Binary data encoded into signal
elements•Most obvious example: high voltage = bit 1; low voltage = bit 0•However, these is
not used in practice!•Some techniques encode multiple bits into one signal element (pulse)
Interpreting Signals
Encoding Schemes
•An encoding schemes:
–Define the sequence of high and low signals to transmit 0’s and 1’s
3
–The benefits of different encoding schemes can be:
•Can shape the output spectrum to be more efficient
–Very low frequencies (DC components) cannot pass through some systems; often need to
remove these components from signal
•Detect errors: if a sequence of signals are received that are unexpected, then an error may be
detected
•Avoid errors due to noise
•Simplify digital circuits (hence lower cost)
–Higher signallingrate for a given data rate leads to higher cost
–Examples: Non-return to Zero (NRZ); Alternate Mark Inversion (AMI); Manchester; B8ZS;
HDB3; …
4
•B8ZS
–Same as bipolar AMI, except that any string of 8 zeros is replaced by a string with two code
violations
•HDB3
–Same as bipolar AMI, except that any string of 4 zeros is replaced by a string with one code
violation
•The public (fixed, wired) telephone system is best example of analog transmission system
–Analog signals are sent in the voice frequency range of 300Hz to3400Hz
–(Voice over telephone system is example of analog data, analog signal)
–To make use of this analog transmission system to send digital data, need to modulate data
onto a analog signal (carrier)
–Device that modulates and demodulates: modem
•Encoding techniques
–Modulation is performed by varying analog signal amplitude, frequency or phase
•Amplitude Shift Keying (ASK)
•Frequency Shift Keying (FSK)
•Phase Shift Keying (PSK)
•And combinations …
Modulation Techniques
5
Amplitude Shift Keying
6
Phase Shift Keying
•Differential PSK
–Phase shifted relative to previous transmission rather than somereference signal
•QuadraturePSK
–Shift phase by 90 degrees; a signal represents two bits (00, 01,10, 11) depending on phase
shift (45°, 135°, 225°, 315°)
–More efficient: carry more information (bits) per signal
•QuadratureAmplitude Modulation
–Combines ASK and PSK
–Used, for example, in ADSL modems
7
•PCM is used to convert analog data to digital data
•Sampling theorem:
–“If a signal is sampled at regular intervals at a rate higher than twice the highest signal
frequency, the samples contain all information inoriginal signal”
–E.g. 4000Hz voice data, requires 8000 samples per second
•Sampling an analog signal (data) creates Pulse Amplitude Modulation (PAM) samples
–E.g. Assume the analog data has an normalized amplitude between 0 and 16. Then one
sample gives a PAM value of 1.1, the next sample a PAM value of 9.2, and so on…
•Each PAM sample is assigned a code (Pulse Code Modulation)
–E.g. Assume using 4-bit samples, then code 0000 (decimal 0) would be assigned to the
samples with PAM between 0 and 1; code 0001 (decimal 1) assigned to PAM between 1 and
2; and so on…
•The PCM codes represent the digital data to send
PCM Example
PCM Performance
8
•Nothing needed –just send the analog data as a signal?
–But often want to send the analog data at a different frequency,that is, modulate the analog
data onto a carrier signal
•Why modulate analog signals?
–Higher frequency can give more efficient transmission
•Example: for wireless transmission need a larger antenna for lower frequencies. The low
frequencies music and speech would need antennas many kilometresin diameter if not
modulated!
–Makes Frequency Division Multiplexing easier (combined multiple signals into one signal -
covered in later topic)
•Types of modulation
–Amplitude (AM)
–Frequency (FM)
–Phase (PM)
•Trade-offs between techniques: bandwidth used, power required, resilience to errors, …
THANK YOU
END
9
10
11
12
13
14
15
16
17
18
19