[DSP] W08 - Modulation and Demodulation
contents
- the signal is prepared for transmission through the channel constraints
- this includes modulating the signal
- on the receiver end, the signal is demodulated
- then is decoded to estimate the encoded information
- estimate because there is error in
- the encoding
- the decoding
- also noise is added in the channel during propagation
signal preparation
- the signal flows through the following
- signal in bitstream
- scrambler makes it random and white
- power spectral density is constant across full specrtrum
- QAM mapper encodes bitstream to a complex valued symbol
- resulting in
- upsampler fits encoded signal to channel bandwidth
- K times more samples
- lowpass raised cosine remove the copies obtained after digital upsampling
- cutoff frequency
fig: QAM transmitter schematic
- the signal thus obtained with a QAM decoder is
- is a complex-valued baseband signal
- having been subjected upsampling, its bandwidth is meets the carrier constraint
- but does not sit in the bounds of the carrier’s bandwidth
fig: carrier bandwidth availability (green) and baseband (red)
modulation
- modulation is the process of modifying the complex baseband that has the same size of the carrier bandwidth to sit exactly in the specified bandwidth
- a complex baseband cannot be transmitted over a real physical channel
- to fully reconstruct the information at the other end
- so the complex baseband has to be made real before transmission
discrete-time domain
- let be the center frequency of the channel bandwidth
- then, the modulated, real baseband is obtained as follows
- here,
- the real part of the complex baseband is modulated with a cosine and
- in-phase component
- the imaginary part is modulated with a sine
- quadrature component
- both are at the carrier bandwidth central frequency
- also, they are orthogonal to each other i.e. in quadrature
- this is the source of the name QAM used to encode with the complex number symbols
- the real part of the complex baseband is modulated with a cosine and
-
- is used at the receiver end to recover the complex baseband signal
complex discrete-frequency domain
- before modulation
- real and imaginary component spectrums separated
fig: carrier bandwidth availability (green); baseband real part (blue); baseband imaginary part (pink)
- after modulation
- real and imaginary modulated component spectrums separated
- the real part is symmetric
- the imaginary part is anti-symmetric
fig: carrier bandwidth availability (green); baseband modulated real part (blue); baseband modulated imaginary part (pink)
demodulation
- demodulation is achieved by multiplying received signal by the carrier signal
- in the QAM scenario, there are two carriers in the received signal
- one sine and one cosine
in-phase part extraction
- begin with multiplying by cosine to extract the real part of the received baseband
- the frequency component reveals one half of the real part of the transmitted and received signal
- matched filter configuration: same raised cosine used at the transmitter is used at the receiver
fig: frequency domain of signal after multiplying with cosine wave (blue); raised cosine lowpass applied (green)
- the raised cosine will eliminate everything but the real part of the transmitted baseband
fig: recovered real part of transmitted baseband
quadrature part extraction
- multiply by sine to extract the imaginary part of the transmitted baseband
- the frequency band looks similar to the demodulation of the in-phase part
- the core signal is extracted with a raised cosine lowpass
design example
- to be explored is a system that enables encoding and transmission of complex-valued sequence over a real-valued channel
QAM transmitter
- the signal in a QAM transmitter is processed as follows:
- signal in bitstream
- scrambler makes it random and white
- power spectral density is constant across full specrtrum
- QAM mapper encodes bitstream to a complex valued symbol
- resulting in
- upsampler fits encoded signal to channel bandwidth
- K times more samples
- lowpass raised cosine remove the copies obtained after digital upsampling
- cutoff frequency
- the filtered signal is multiplied with complex exponential whose frequency is the central frequency of carrier bandwidth
- this results in a complex passband signal
- the real part of the complex baseband is extracted along with modulation
- this is sent to the DAC which propagates it into the channel
fig: QAM transmitter signal flow schematic
QAM receiver
- goal of the receiver to obtain the original bitstream which is the core information that was transmitted
- an ideal QAM receiver processes the received signal to retrieve that as follows:
- analog signal is received from the channel
- this analog signal is sampled with appropriate sampling rate
- signal is split into two parts to modulate with cosine and sine separately
- cosine demod results in the real part
- sine demod results in the imaginary part
- both demodulated signals go through their own lowpass filter
- matched filter configuration: same lowpass used at the transmitter
- the imaginary component is multiplied with complex root to and summed with the real part to construct an estimate of the transmitted baseband
- this is then subjected to downsampling
- thus obtained complex symbol sequence is passed through a slicer
- the bit chuck associated with the symbol is obtain so
- these chunks are assembled into a sequence and passed into a descrambler
- this recovers the original bitstream
fig: QAM receiver signal flow schematic
voiceband modem application
channel specifications
- analog telephone channel
- usable bandwidth:
- center frequency:
- pick
- so K = 3
bandwidth constraint
- sampling theorem states that the sampling frequency is to be higher than twice the maximum frequency
- so atleast
- upsampling also has to be considered, so sampling frequency must also be an integer multiple of the channel bandwidth
- channel bandwidth
- with center frequency
- if upsamling factor is chosen to be three, then
- so sampling frequency
- this satisfies the sampling theorem frequency criteria as well
- in the digital domain,
- this is the modulating frequency
power constraint
- maximum SNR:
- pick
- using QAM, find M (number of bits per signal)
- so pick M = 4 and use 16-point constellation
- 4 points in each quadrant
- final data-rate is bits per second
- W: baud rate (bandwidth of the channel)
theoretical channel capacity
-
capacity formula based on signal bandwidth and SNR
- only gives upper bound on the amount of information that can be sent over the channel
-
doesn’t actually state how to build a communication system to meet this specification
- for the previously designed scheme
- bps
- this hits half the channel capacity
- the gap can be narrowed with encoding techniques
- this topic needs a more thorough study of information theory