Docsity

Signal Encoding Techniques: Digital and Analog Signal Modulation, Lecture notes of Voice

Partial preview of the text

Download Signal Encoding Techniques: Digital and Analog Signal Modulation and more Lecture notes Voice in PDF only on Docsity!

09-04-

Signal Encoding

Techniques

Presentation C

CSE 3461/5461: Introduction to Computer Networking & Internet Technologies

Study: 5.1, 5.2 (pages 151-155 only), Gojko Babić 5.3, 5.4 (Figure 5.24 only)

gbabic Presentation C 2

Signal Encoding Technique

gbabic Presentation C 3

  • Encoding (Modulation) Techniques:
    • Digital data  digital signal
    • Analog data  digital signal
    • Digital data  analog signal
    • Analog data  analog signal
  • Interpreting signals at receiver needs to know
    • Timing of bits - when they start and end
    • Signal levels
  • Factors affecting successful interpreting of incoming signals:
    • Signal to noise ratio: increased SNR decreases error rate
    • Data rate: increased data rate increases error rate
    • Bandwidth: increased bandwidth allows increasing data rate
    • Encoding schema

Encoding & Modulation

gbabic Presentation C 4

  • Signal Spectrum
    • Lack of high frequencies reduces required bandwidth
    • Lack of dc component is desirable, i.e. it should be avoided
    • Concentrate power in the middle of the bandwidth
  • Clocking, i.e. synchronizing transmitter and receiver
    • External clock
    • Sync mechanism based on signal
  • Error detection
    • Can be built into signal encoding
  • Signal interference and noise immunity
    • Some codes are better than others
  • Cost and complexity
    • Higher signal rate (& thus data rate) lead to higher costs
    • Some codes require signal rate greater than data rate

Data Encoding/Modulation Evaluation Factors

gbabic Presentation C 7

NRZ Techniques: Illustration

  • NRZI Encoding:
    • constant voltage 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
    • This is an example of differential encoding:
      • Data represented by changes rather than levels
      • More reliable detection of transition rather than level

gbabic Presentation C 8

Multilevel Binary Techniques: Illustration

  • Use more than two levels 0 1 0 0 1 1 0 0 0 1 1

gbabic Presentation C 9

  • Bipolar-AMI Encoding
    • zero represented by no line signal
    • one represented by positive or negative pulse
    • one pulses alternate in polarity
    • No loss of synchronization if a long string of ones (zeros still a problem)

Multilevel Binary Techniques

  • Pseudoternary Encoding
    • One represented by absence of line signal
    • Zero represented by alternating positive and negative
    • No loss of sync if a long string of zeros (ones still a problem)
    • No advantage or disadvantage over bipolar-AMI

gbabic Presentation C 10

  • Not as efficient as NRZ:
    • Each signal element only represents one bit
    • Receiver must distinguish between three levels (+A, -A, 0)
    • Requires approximately 3dB more signal power for same probability of bit error

Multilevel Binary Techniques: Pros & Cons

  • Pros:
    • No net dc component
    • Error detection capabilities
    • Synchronization capabilities
    • Lower bandwidth required
  • First two pros above are cons of NRZ techniques
  • NRZ techniques used for magnetic recording and not often used for signal transmission

gbabic Presentation C 13

Data Rate and Modulation Rate

  • Modulation rate is the rate at which signals are generated.
  • Data rate = 1/T, where T is a bit time, i.e. a bit duration.

Figure 5.

gbabic Presentation C 14

  • 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

Biphase Techniques: Pros and Cons

gbabic Presentation C 15

Scrambling Techniques (1)

  • Use scrambling to replace sequences that would produce constant voltage
  • These filling sequences must: o produce enough transitions to sync o be recognized by receiver & replaced with original o be same length as original
  • Design goals o have no dc component o have no long sequences of zero level line signal o have no reduction in data rate o give error detection capability

gbabic Presentation C 16

Scrambling Techniques (2)

  • Both B8ZS and HDB3 encoding based on bipolar-AMI
  • Replace sequences that would produce constant voltage

Figure 5.

gbabic Presentation C 19

  • Amplitude Shift Keying – ASK - Values represented by different amplitudes of carrier - Usually, one amplitude is zero - i.e. presence and absence of carrier is used - Susceptible to sudden gain changes - Relatively inefficient over copper lines - But efficiently used over optical fiber
  • Frequency Shift Keying – FSK - Most common form is binary FSK or BFSK - Two binary values represented by two different frequencies - Less susceptible to error than ASK - Multi FSK: more than two frequencies used - each signalling element represents more than one bit - more bandwidth efficient - but more prone to error

Amplitude & Frequency Shift Keying

gbabic Presentation C 20

  • Phase of carrier signal is shifted to represent data
  • Two-level (Binary) PSK
    • Two phases represent two binary digits
  • Differential PSK
    • Phase shifted relative to previous transmission rather than some reference signal
  • Four-level (Quadrature) PSK - QPSK
    • More efficient use by each signal element representing more than one bit
    • e.g. shifts of /2 (90o) and each element represents two bits
  • In the presence of noise, bit error rate of PSK and QPSK are about 3dB superior to ASK and FSK

Phase Shift Keying

gbabic Presentation C 21

Differential PSK

Figure 5.

gbabic Presentation C 22

  • Multilevel PSK
    • Can use more phase angles and have more than one amplitude
    • 9600bps modem use 12 angles , four of which have two amplitudes, for total of 16 different signaling elements
  • Quadrature Amplitude Modulation - QAM is combination of

ASK and PSK, and essentially multilevel PSK

  • QAM is used in ADSL

Multilevel PSK

gbabic Presentation C 25

  • Voice over telephone lines:
    • Voice data limited to below 4000Hz, thus it require 8000 sample per second
    • 128 levels considered sufficient  7 bit per sample
    • 8000 x 7 = 56kbps for PCM over telephone lines
  • CD - quality audio:
    • Standard sampling rate: 44.1k samples per second, since music is limited to about 20kHz
    • 16 bits per sample (i.e. 2^16 = 64*1024 levels) used in an attempt to minimize the effect of quantization noise
    • the stereophonic music requires 2 separate channels
    • Total bit rate = 2 × 16 × 44.1 × 10^3 = 1.411Mbps
    • Capacity for 1 hour = 1.411 × 10^6 × 3600 sec = 5079.6Mbits = 634.95Mbytes
    • CD disc capacity: about 750Mbytes

PCM Applications

gbabic Presentation C 26

DVD and High Quality Music

  • What does DVD acronym stand for?
    • Digital Video Disc or
    • Digital Versatile Disc
  • DVD disc capacity:
    • Single side/single layer = 4.37Gbytes
  • DVD–A (audio) characteristics (different from DVD–V (video)):
    • 6 channels (instead of 2 in stereo music))
    • 24 bits per sample (instead of 16)
    • 96k samples per sec (instead of 44.1k)
    • Max bit rate = 6× 24 × 96 × 10^3 =13.824Mbps
    • DVD specification limits max rate to 9.6Mbps
    • MLP (Merdian Lossless Packing) compression used, where (uncompressed) PCM goes through an additional step
  • Super Audio CD (SACD): an alternative to DVD–A
  • HD DVD and Blue Ray disk with capacity over 20 Gbytes

gbabic Presentation C 27

Analog Data  Analog Signal

  • Why modulate analog signals? - Higher frequency can give more efficient transmission - Permits frequency division multiplexing

Figure 5.