NivaarExam PrepOfficial exam papers ↗

22-Elec-A3 Signals and Communications · December 2014

Question 4 of 7: Modulator outputs and demodulators for a square-wave message (20 marks)

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

Paper format. Association of Professional Engineers of Ontario, Annual Examinations — 07-Elec-A3 Signals and Communications, December 2014, 3 hours, closed book (a standard non-programmable calculator is the only aid). Seven questions, all of equal value (20 marks each); the rubric states that any five questions constitute a complete paper and that only the first five appearing in the answer book are marked. All seven are solved here, because the set is a study resource rather than a graded script.

Reference texts.

Two conventions are used throughout. Frequency is written in hertz (variable $f$) whenever the question asks for it in hertz, and in radians per second (variable $\omega = 2\pi f$) only inside time-domain expressions.



Question 4 — Modulator outputs and demodulators for a square-wave message (20 marks)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Given. Message $m(t)$ is a zero-mean square wave of unit amplitude, so $m(t) = \pm1$ V with period $T_m$ and $|m|_{\max} = 1$. Carrier $c(t) = A_c\cos\omega_c t$ with $\omega_c \gg 2\pi/T_m$ (typical values assumed where the question leaves a parameter open: unit carrier amplitude, a carrier many times the message rate, and for FM a peak deviation $\Delta f$ of a few message-rate multiples).

Find. For each of the four schemes, a labelled sketch of the modulator output and a block diagram of the matching demodulator.

tm(t)Tm/2Tm3Tm/22Tm1-1
The message: a zero-mean square wave of unit amplitude and period Tₘ.

Approach. Write each modulated signal as an explicit function of the two message levels $m = \pm1$, read the envelope and phase behaviour off that expression, and then choose the demodulator that inverts exactly the property the modulator used to carry the information — envelope for AM, coherent multiplication for suppressed-carrier schemes, and frequency-to-amplitude conversion for FM.

(a) AM with modulation index $a = 0.5$

The modulated wave is $s(t) = A_c\bigl[1 + a\,m(t)\bigr]\cos\omega_c t$. With $a = 0.5$ and $m = \pm1$ the envelope alternates between two strictly positive levels:

$$E_{\max} = A_c(1 + a) = 1.5A_c, \qquad E_{\min} = A_c(1 - a) = 0.5A_c .$$

Because $a \lt 1$, the envelope never reaches zero and never inverts, so no phase reversal occurs — this is exactly the condition under which envelope detection is valid.

ts(t) AM, a = 0.5Tm/2Tm3Tm/22Tmenvelope 1.5Ac / 0.5Ac — never crosses zero
(a) AM with a = 0.5. The envelope switches between 1.5A₌ and 0.5A₌ and never reaches zero, so no phase reversal occurs and envelope detection is valid.

The demodulator is therefore the simplest of the four: a diode envelope detector recovers $A_c[1 + a\,m(t)]$, a d.c. block removes the constant $A_c$, and a baseband low-pass filter removes the carrier ripple, leaving a scaled replica of the square wave.

s(t)envelopedetectord.c. block(remove Ac)basebandLPFm̂(t)
(a) AM demodulator: diode envelope detector, d.c. block to remove the A₌ pedestal, then a baseband low-pass filter.

(b) DSB with suppressed carrier

Here $s(t) = A_c\,m(t)\cos\omega_c t$. The envelope $|m(t)|A_c$ is constant at $A_c$, but the carrier phase jumps by $180^\circ$ at every message transition, because $m$ changes sign. The transmitted power is entirely in the sidebands, which is the efficiency advantage of DSB-SC; the price is that an envelope detector would recover $|m(t)|$, a constant, and lose the information completely.

ts(t) DSB-SCTm/2Tm3Tm/22Tm180° phase reversal at every transition
(b) DSB-SC. The envelope is constant at A₌ but the carrier phase reverses by 180° at every message transition.

Coherent (synchronous) detection is mandatory. Multiplying by a locally generated $2\cos\omega_c t$ of the correct frequency and phase gives $A_c m(t)\bigl[1 + \cos 2\omega_c t\bigr]$, and a low-pass filter removes the double-frequency term. The local carrier is obtained from the received signal itself by a squaring loop or, more usually, a Costas loop; a phase error $\phi$ scales the output by $\cos\phi$, so lock quality directly sets the recovered amplitude.

s(t)LPFB <= Wm̂(t)carrierrecovery2cos wct (PLL / Costas loop, phase-locked)
(b) DSB-SC demodulator: coherent product detector with a carrier recovered by a Costas or squaring loop.

(c) Frequency modulation

The instantaneous frequency is $f_i(t) = f_c + k_f m(t)$, so with a two-level message the carrier simply hops between $f_c + \Delta f$ and $f_c - \Delta f$, where $\Delta f = k_f$ for unit-amplitude $m$ — this is binary FSK. The envelope is rigidly constant, which is why FM is immune to amplitude disturbances, and the phase is continuous through each transition provided the modulator integrates $m(t)$ (as a true FM modulator does). Taking a typical deviation ratio, Carson’s rule gives a transmission bandwidth $B \approx 2(\Delta f + f_m)$.

ts(t) FM (binary FSK)Tm/2Tm3Tm/22Tmfc+Δf on the +1 level, fc−Δf on the −1 level; envelope constant
(c) FM (binary FSK). The carrier hops between f₌+Δf and f₌−Δf; the envelope is rigidly constant.

The classical demodulator converts frequency deviation into amplitude deviation and then detects the envelope: a hard limiter first strips any amplitude disturbance, a differentiator (or slope circuit) gives an output proportional to $\omega_i$, an envelope detector recovers that amplitude, and a low-pass filter cleans up the baseband. A phase-locked loop is the modern equivalent, with the loop-filter voltage serving directly as the demodulated output.

s(t)limiter(remove AM)differentiatord/dtenvelopedetectorLPFm̂(t)
(c) FM demodulator: limiter, differentiator (frequency-to-amplitude conversion), envelope detector and low-pass filter. A PLL is the modern equivalent.

(d) Phase modulation with $k_p = \pi/2$ rad/V

Here $s(t) = A_c\cos\bigl[\omega_c t + k_p m(t)\bigr]$ with $k_p m = \pm\pi/2$. Expanding,

$$s(t) = A_c\cos(\omega_c t)\cos\!\left(\tfrac{\pi}{2}m\right) - A_c\sin(\omega_c t)\sin\!\left(\tfrac{\pi}{2}m\right) = -m(t)\,A_c\sin\omega_c t ,$$

because $\cos(\pm\pi/2) = 0$ and $\sin(\pm\pi/2) = \pm1$. The carrier term vanishes completely. With this particular modulator constant, phase modulation of a $\pm1$ square wave degenerates into a DSB-SC signal on a quadrature carrier — that is, into binary phase-shift keying. The envelope is constant and the phase reverses by $180^\circ$ at every transition, so the waveform is indistinguishable in form from part (b).

ts(t) PM, kp = π/2Tm/2Tm3Tm/22Tm±90° phase steps give -/+ Ac sin wct: identical to DSB-SC (BPSK)
(d) PM with kₚ = π/2. The phase steps by ±90°, the carrier component vanishes and the waveform becomes BPSK — identical in form to DSB-SC.

The demodulator is consequently the coherent detector again, but referenced to the quadrature carrier $-2\sin\omega_c t$: multiplying and low-pass filtering returns $A_c m(t)$. In the general PM case the low-pass filter output is $\tfrac{1}{2}A_c\sin(k_p m)$ and an $\arcsin(\cdot)/k_p$ stage is needed to linearise it, but at $k_p = \pi/2$ with a two-level message that stage collapses into a simple sign (bit) decision.

s(t)LPFarcsin( · )/ kpm̂(t)PLLcarrier ref.quadrature reference −2 sin wct; for kpm = ±π/2 thearcsin stage degenerates to a sign (bit) decision
(d) PM demodulator: coherent detection against the quadrature carrier; the arcsin stage linearises general PM but degenerates to a sign decision at kₚ = π/2.

Check: where the question leaves a parameter open (“assume typical values”) the sketches use unit carrier amplitude, a carrier frequency of roughly a dozen cycles per message period so that both the envelope and the phase reversals are visible, and an FM deviation of about five times the message rate. The qualitative features being examined — envelope levels, phase reversals, constant-envelope behaviour — do not depend on these choices.

SchemeModulator output for $m = \pm1$EnvelopeDemodulator
(a) AM, $a = 0.5$$A_c[1 + 0.5m]\cos\omega_c t$$1.5A_c$ / $0.5A_c$, no reversalEnvelope detector + d.c. block + LPF
(b) DSB-SC$A_c m\cos\omega_c t$constant $A_c$, $180^\circ$ reversalsCoherent product detector (Costas / squaring loop)
(c) FMfrequency hops $f_c \pm \Delta f$ (binary FSK)constant $A_c$Limiter + differentiator + envelope detector + LPF, or PLL
(d) PM, $k_p = \pi/2$$-m A_c\sin\omega_c t$ — carrier suppressedconstant $A_c$, $180^\circ$ reversalsCoherent detector on the quadrature carrier (BPSK)