Linear Block Error-Correcting Codes: Generator and Parity-Check Matrices, Syndrome Decoding
Comprehensive university textbook unit covering fundamental principles, mathematical formulations, and practical engineering applications of Linear Block Error-Correcting Codes: Generator and Parity-Check Matrices, Syndrome Decoding.
§7.1 Theoretical Overview: Linear Block Error-Correcting Codes: Generator and Parity-Check Matrices, Syndrome Decoding
Unit 7 — Optical fiber and photonic communication
Why this unit exists
The unit centers on regional optical transport route, where two laboratory campuses share a long optical fiber cable. Its controlling difficulty is that loss, dispersion, front-end noise and wavelength filtering all enter design acceptance. The four lessons isolate different parts of the mechanism, yet the delivered system must satisfy all of them at once. You will link equations to implementation, design measurements and deliberately test situations in which a convenient idealization becomes misleading.
Concept sequence
Lesson 7.1 — Fiber attenuation and optical power margin
An optical link transmits information in guided electromagnetic modes rather than RF propagation through free space. Loss arises from fiber attenuation, connectors, splices, couplers, bends and additional components. Optical budgets must distinguish average optical power, peak modulation levels and the receiver sensitivity definition. Repair margin and aging allowance are design decisions. Fiber loss alone does not capture chromatic dispersion, nonlinear effects or receiver bandwidth; a link that passes the power budget can still have an unacceptably closed eye.
Key relation: A simple optical budget is P_rx(dBm)=P_tx(dBm)-α(dB/km)L(km)-L_connectors-L_splices-L_other, assuming no inline amplifiers.
Design boundary: A sensitivity value must state bit rate, modulation, BER/FEC threshold and receiver architecture; otherwise comparing manufacturers or receiver designs is not meaningful.
Lesson 7.2 — Dispersion, pulse spreading and the time budget
Optical pulses broaden because spectral components travel at different group velocities. In multimode fiber, modal dispersion may also dominate. Excess pulse spreading increases intersymbol interference and narrows the receiver eye. Chromatic dispersion can sometimes be digitally equalized or compensated optically, although noise and filtering constraints remain. The simple ΔT formula assumes approximately constant dispersion over the source spectrum and is not a complete model for coherent transmitters or nonlinear fiber effects.
Key relation: First-order chromatic spreading can be approximated by ΔT≈|D| L Δλ, where D is ps/(nm km), length L is km, and source spectral width Δλ is nm.
Design boundary: Dispersion parameter D may be near zero at one wavelength and substantial elsewhere. Do not apply a single attenuation coefficient and dispersion value across an entire band without verification.
Lesson 7.3 — Photodiodes, responsivity and receiver noise
An optical detector converts incident photons into electrical current. PIN photodiodes are comparatively simple; avalanche photodiodes multiply carrier-generated current while adding excess multiplication noise and bias complexity. Receiver front-end transimpedance amplifiers trade noise, bandwidth and stability. Shot-noise variance in bandwidth B is commonly approximated as 2q I B for an appropriate average current, while thermal-noise sources require their own spectral-density specification. Optical direct detection loses field phase information that coherent detection preserves.
Key relation: A photodiode's average signal current is I_s=R P_opt, where R is responsivity in A/W and P_opt is optical power in watts.
Design boundary: Doubling signal current need not double electrical SNR when thermal and shot noise scale differently. APD gain is not unconditionally beneficial because excess noise grows with multiplication.
Lesson 7.4 — WDM, coherent optics and nonlinear limits
Wavelength-division multiplexing lets independent data channels share a fiber using distinct optical carriers and appropriate wavelength-selective components. More carriers improve capacity only within practical optical amplifier, filter, nonlinear and dispersion constraints. Coherent receivers mix received light with a local optical oscillator and recover amplitude and phase using DSP. Modern high-order modulation benefits from coherent detection but demands strong carrier recovery, polarization processing and a suitable SNR budget. Cross-phase modulation, four-wave mixing and other nonlinearities grow with optical launch powers and channel configuration.
Key relation: For channel spacing Δf and center frequency f0=c/λ0, a small wavelength spacing is approximately |Δλ|≈(λ0²/c)Δf.
Design boundary: Adding more launch power can worsen nonlinear interference and reduce achievable information rate. Linear power-budget extrapolation is therefore unsafe for dense amplified systems.
Integrated case study
An engineer reviews the architecture for regional optical transport route. The first review identifies the performance or integrity quantity at the receiver. The second asks which subsystem can change that quantity. The third checks the impact on user payload, energy consumption, delay and operating cost. A favorable conclusion requires comparable conditions; changing both the channel model and signal power while comparing decoders makes it impossible to attribute improvement to one change.
Three-stage assessment plan
1. Analytical baseline. Derive a transparent relation using one of the four listed key models. Describe the allowed parameter region, units and what was held constant in the comparison. For regional optical transport route, decide which model variable is realistically measurable and which must be inferred.
2. Synthetic controlled test. Isolate one impairment, vary its magnitude and compare to the baseline. Re-run with a different seed and a second numerical implementation. Build a plot with labeled axes and, for error probabilities, uncertainty intervals.
3. Engineering hand-off. Replace the idealized assumption with a more plausible impairment relevant to two laboratory campuses share a long optical fiber cable. State which earlier conclusion remains reliable and which needs further data. Record what must be checked before a prototype is trusted outside the laboratory.
Unit questions
- Which of the four mechanisms is most likely to control acceptance for regional optical transport route, and what measured evidence would establish that claim?
- How would the design fail if the assumption “A sensitivity value must state bit rate, modulation, BER/FEC threshold and receiver architecture; otherwise comparing manufacturers or receiver designs is not meaningful.” were ignored?
- Identify a numerical sanity check, an implementation test, and a separate real-world validation requirement.
- Where would additional redundancy help and where might it merely increase latency or occupy already-limited bandwidth?
Suggested learning order
Read the four lessons in order; complete the simulation, then submit the project with a result table and the associated limitations.
§7.2 Fiber attenuation and optical power margin
Unit 7, Lesson 1: Fiber attenuation and optical power margin
Module: Optical fiber and photonic communication. Prerequisites: Communication Systems I, introductory probability, linear systems, complex algebra and elementary Python or JavaScript.
Learning outcomes
- Explain fiber attenuation and optical power margin from a physical or algorithmic model rather than memorizing an isolated equation.
- Distinguish assumptions, symbols, measured quantities and synthesized values in a complete communications link.
- Perform an independent limiting-case check and identify an operating region where the model fails.
- Design and document a reproducible synthetic experiment that tests a stated prediction.
System context and motivating decision
Consider regional optical transport route: two laboratory campuses share a long optical fiber cable. In this setting, loss, dispersion, front-end noise and wavelength filtering all enter design acceptance. The engineer therefore needs a model that is useful at the right reference plane, not an attractive formula copied from a different link. A quantity measured at the transmitter cannot automatically be used as if it were the receive-filter output, and uncoded symbol reliability cannot be silently treated as packet reliability. The purpose of this lesson is to connect fiber attenuation and optical power margin with observable decisions in this chain.
Physical or algorithmic explanation
An optical link transmits information in guided electromagnetic modes rather than RF propagation through free space. Loss arises from fiber attenuation, connectors, splices, couplers, bends and additional components. Optical budgets must distinguish average optical power, peak modulation levels and the receiver sensitivity definition. Repair margin and aging allowance are design decisions. Fiber loss alone does not capture chromatic dispersion, nonlinear effects or receiver bandwidth; a link that passes the power budget can still have an unacceptably closed eye.
Core mathematical relationship
A simple optical budget is P_rx(dBm)=P_tx(dBm)-α(dB/km)L(km)-L_connectors-L_splices-L_other, assuming no inline amplifiers.
Meaning and conventions
The central expression above describes fiber attenuation and optical power margin. Before calculating, identify the set of variables, their units and whether the expression applies to discrete or continuous time. When the relevant quantities are probabilities, confirm the conditioning event and whether samples are independent. When complex amplitudes occur, remember that a conjugate, not a real transpose, normally defines an energy inner product. Where a ratio of powers is stated in decibels, 10 log10 rather than 20 log10 is the appropriate conversion; for voltage magnitudes with identical impedances, a 20 log10 form may be suitable. This model is one part of the signal processing chain, not a substitute for a performance measurement.
Derive, calculate and inspect
First mark the source of the input and output quantities in A simple optical budget is P_rx(dBm)=P_tx(dBm)-α(dB/km)L(km)-L_connectors-L_splices-L_other, assuming no inline amplifiers.. State which symbols are known, which must be estimated and which are chosen by design. Translate the equation into a reproducible step-by-step computation, then test zero or very small noise, an intermediate operating point and a stressed case. A result should remain physically interpretable under these changes. Where the relationship is approximate, determine the approximation error before interpreting small performance improvements as significant. Never add gains or losses twice because the same physical effect appears in two bookkeeping categories.
Fully explained example and verification
For launch power 0 dBm, fiber attenuation 0.22 dB/km across 40 km, two connectors of 0.5 dB each and total splice loss 1 dB, receive power is 0-8.8-1-1=-10.8 dBm. If sensitivity is -18 dBm at the specified bit error criterion, the nominal power margin is 7.2 dB before additional penalties.
How to verify: Recompute the numeric statement from the specified inputs without reading a plotted curve. Re-run after increasing the most influential input by 10%, and explain the direction and approximate size of the change. Then compare that outcome with the limiting case for the model. A plausible number is not sufficient if the observation plane, normalization or statistical assumptions have changed.
Boundary conditions and common mistakes
A sensitivity value must state bit rate, modulation, BER/FEC threshold and receiver architecture; otherwise comparing manufacturers or receiver designs is not meaningful.
An additional failure mode in regional optical transport route arises when the local mechanism is interpreted as an end-to-end guarantee. For example, packets may be rejected by framing or replay checks even after an error-correcting decoder outputs a plausible bit sequence; conversely, a successful frame may be too late to serve a time-critical application. To separate causes, log the inputs and outputs of each major subsystem, retain the raw observation when possible, and name the exact stage at which a failure is declared.
Guided computational experiment
Sweep route distance and connector loss to find the maximum link length under a specified reserve margin. Report which loss assumptions dominate uncertainty.
Reproducibility protocol. Record the independent variables, their increments and physical units; state random seeds, number of simulated trials and target metrics. Use two numerical implementations for at least one predicted point. When drawing a probability curve, use enough trials to estimate its uncertainty and report the confidence interval; small error counts produce unstable estimates. When a parameter sweep crosses a model limit, annotate the plot rather than truncating inconvenient results.
Problem set with targeted response guidance
Question 1. Reference planes and dimensional consistency
Draw the component-level path through two laboratory campuses share a long optical fiber cable. Label exactly where the inputs to “A simple optical budget is P_rx(dBm)=P_tx(dBm)-α(dB/km)L(km)-L_connectors-L_splices-L_other, assuming no inline amplifiers.” are acquired or estimated. Construct a three-column table of quantity, unit, and uncertainty source. Identify one tempting but invalid substitution and explain which physical interface it crosses.
Answer guidance: A complete solution has a block diagram and a clear distinction between physical measurement and algorithmic estimate. For fiber attenuation and optical power margin, justify every normalization and explicitly say what is held constant when comparing two conditions.
Question 2. Rebuild the numerical case
Independently reconstruct the worked calculation for fiber attenuation and optical power margin. Change the leading numerical parameter by 20%, holding other inputs fixed, and explain whether the result changes linearly or nonlinearly. Supply every intermediate numerical step.
Answer guidance: The answer must reproduce the worked statement under its stated assumptions, account for units, and include an inverse or limiting check. If a result disagrees, trace the exact operation; do not round intermediate values until the final display.
Question 3. Competing design changes
For regional optical transport route, propose two ways to improve the outcome represented by A simple optical budget is P_rx(dBm)=P_tx(dBm)-α(dB/km)L(km)-L_connectors-L_splices-L_other, assuming no inline amplifiers.: one changes a transmitter or source parameter, the other changes receiver processing. List their respective energy, implementation, latency and spectral costs.
Answer guidance: Grade the response on tradeoffs, not a single optimization metric. For this topic, specify which impairment each intervention addresses and whether a gain in one stage increases overhead elsewhere.
Question 4. Break the assumptions
Create a deliberately unrealistic operating point for fiber attenuation and optical power margin and explain a specific broken assumption. Then propose a synthetic observation that would reveal the failure. Describe what a poorly documented analysis might incorrectly conclude.
Answer guidance: The response must identify an assumption explicitly and design a measurement that detects the discrepancy. Replacing one uncertain parameter with a convenient nominal value is not an assumption test.
Further engineering synthesis
To write a defensible report for fiber attenuation and optical power margin, separate evidence into three columns: a derivation, a reproducible numerical implementation and a system-level observation. The derivation establishes the modeled relationship; simulation checks implementation and explore cases that are hard to calculate by hand; field observation tests the relevance of modeling assumptions. Failure of a field measurement to match the derivation may reveal either a coding bug or a missing physical effect. Avoid the reflex to adjust free parameters until curves agree, because that conceals rather than explains uncertainty.
Finally trace the effect of fiber attenuation and optical power margin onto throughput, occupied bandwidth, energy per delivered information bit and deadline failures for regional optical transport route. Describe which of these metrics has a monotonic response to parameter changes and which displays a tradeoff. Explain the direction of the tradeoff with one numerical or plotted piece of evidence; where evidence is absent, label the claim as a hypothesis. Every numerical conclusion should be reproducible from recorded inputs.
Cross-reference: See the model for Unit 7, Unit 7 project brief and its assessment. The simulation depicts a deliberately simplified subproblem; it does not certify a live communication system.
§7.3 Dispersion, pulse spreading and the time budget
Unit 7, Lesson 2: Dispersion, pulse spreading and the time budget
Module: Optical fiber and photonic communication. Prerequisites: Communication Systems I, introductory probability, linear systems, complex algebra and elementary Python or JavaScript.
Learning outcomes
- Explain dispersion, pulse spreading and the time budget from a physical or algorithmic model rather than memorizing an isolated equation.
- Distinguish assumptions, symbols, measured quantities and synthesized values in a complete communications link.
- Perform an independent limiting-case check and identify an operating region where the model fails.
- Design and document a reproducible synthetic experiment that tests a stated prediction.
System context and motivating decision
Consider regional optical transport route: two laboratory campuses share a long optical fiber cable. In this setting, loss, dispersion, front-end noise and wavelength filtering all enter design acceptance. The engineer therefore needs a model that is useful at the right reference plane, not an attractive formula copied from a different link. A quantity measured at the transmitter cannot automatically be used as if it were the receive-filter output, and uncoded symbol reliability cannot be silently treated as packet reliability. The purpose of this lesson is to connect dispersion, pulse spreading and the time budget with observable decisions in this chain.
Physical or algorithmic explanation
Optical pulses broaden because spectral components travel at different group velocities. In multimode fiber, modal dispersion may also dominate. Excess pulse spreading increases intersymbol interference and narrows the receiver eye. Chromatic dispersion can sometimes be digitally equalized or compensated optically, although noise and filtering constraints remain. The simple ΔT formula assumes approximately constant dispersion over the source spectrum and is not a complete model for coherent transmitters or nonlinear fiber effects.
Core mathematical relationship
First-order chromatic spreading can be approximated by ΔT≈|D| L Δλ, where D is ps/(nm km), length L is km, and source spectral width Δλ is nm.
Meaning and conventions
The central expression above describes dispersion, pulse spreading and the time budget. Before calculating, identify the set of variables, their units and whether the expression applies to discrete or continuous time. When the relevant quantities are probabilities, confirm the conditioning event and whether samples are independent. When complex amplitudes occur, remember that a conjugate, not a real transpose, normally defines an energy inner product. Where a ratio of powers is stated in decibels, 10 log10 rather than 20 log10 is the appropriate conversion; for voltage magnitudes with identical impedances, a 20 log10 form may be suitable. This model is one part of the signal processing chain, not a substitute for a performance measurement.
Derive, calculate and inspect
First mark the source of the input and output quantities in First-order chromatic spreading can be approximated by ΔT≈|D| L Δλ, where D is ps/(nm km), length L is km, and source spectral width Δλ is nm.. State which symbols are known, which must be estimated and which are chosen by design. Translate the equation into a reproducible step-by-step computation, then test zero or very small noise, an intermediate operating point and a stressed case. A result should remain physically interpretable under these changes. Where the relationship is approximate, determine the approximation error before interpreting small performance improvements as significant. Never add gains or losses twice because the same physical effect appears in two bookkeeping categories.
Fully explained example and verification
For |D|=17 ps/(nm km), L=50 km and optical spectral width 0.1 nm, the estimated broadening is 85 ps. At 10 Gb/s the bit period is 100 ps, so this crude broadening is comparable to a bit interval and would motivate detailed transmitter/receiver modeling rather than assuming negligible ISI.
How to verify: Recompute the numeric statement from the specified inputs without reading a plotted curve. Re-run after increasing the most influential input by 10%, and explain the direction and approximate size of the change. Then compare that outcome with the limiting case for the model. A plausible number is not sufficient if the observation plane, normalization or statistical assumptions have changed.
Boundary conditions and common mistakes
Dispersion parameter D may be near zero at one wavelength and substantial elsewhere. Do not apply a single attenuation coefficient and dispersion value across an entire band without verification.
An additional failure mode in regional optical transport route arises when the local mechanism is interpreted as an end-to-end guarantee. For example, packets may be rejected by framing or replay checks even after an error-correcting decoder outputs a plausible bit sequence; conversely, a successful frame may be too late to serve a time-critical application. To separate causes, log the inputs and outputs of each major subsystem, retain the raw observation when possible, and name the exact stage at which a failure is declared.
Guided computational experiment
Model Gaussian optical pulses broadened by a Gaussian dispersion approximation and compute eye opening versus line rate, distance and source linewidth.
Reproducibility protocol. Record the independent variables, their increments and physical units; state random seeds, number of simulated trials and target metrics. Use two numerical implementations for at least one predicted point. When drawing a probability curve, use enough trials to estimate its uncertainty and report the confidence interval; small error counts produce unstable estimates. When a parameter sweep crosses a model limit, annotate the plot rather than truncating inconvenient results.
Problem set with targeted response guidance
Question 1. Reference planes and dimensional consistency
Draw the component-level path through two laboratory campuses share a long optical fiber cable. Label exactly where the inputs to “First-order chromatic spreading can be approximated by ΔT≈|D| L Δλ, where D is ps/(nm km), length L is km, and source spectral width Δλ is nm.” are acquired or estimated. Construct a three-column table of quantity, unit, and uncertainty source. Identify one tempting but invalid substitution and explain which physical interface it crosses.
Answer guidance: A complete solution has a block diagram and a clear distinction between physical measurement and algorithmic estimate. For dispersion, pulse spreading and the time budget, justify every normalization and explicitly say what is held constant when comparing two conditions.
Question 2. Rebuild the numerical case
Independently reconstruct the worked calculation for dispersion, pulse spreading and the time budget. Change the leading numerical parameter by 20%, holding other inputs fixed, and explain whether the result changes linearly or nonlinearly. Supply every intermediate numerical step.
Answer guidance: The answer must reproduce the worked statement under its stated assumptions, account for units, and include an inverse or limiting check. If a result disagrees, trace the exact operation; do not round intermediate values until the final display.
Question 3. Competing design changes
For regional optical transport route, propose two ways to improve the outcome represented by First-order chromatic spreading can be approximated by ΔT≈|D| L Δλ, where D is ps/(nm km), length L is km, and source spectral width Δλ is nm.: one changes a transmitter or source parameter, the other changes receiver processing. List their respective energy, implementation, latency and spectral costs.
Answer guidance: Grade the response on tradeoffs, not a single optimization metric. For this topic, specify which impairment each intervention addresses and whether a gain in one stage increases overhead elsewhere.
Question 4. Break the assumptions
Create a deliberately unrealistic operating point for dispersion, pulse spreading and the time budget and explain a specific broken assumption. Then propose a synthetic observation that would reveal the failure. Describe what a poorly documented analysis might incorrectly conclude.
Answer guidance: The response must identify an assumption explicitly and design a measurement that detects the discrepancy. Replacing one uncertain parameter with a convenient nominal value is not an assumption test.
Further engineering synthesis
To write a defensible report for dispersion, pulse spreading and the time budget, separate evidence into three columns: a derivation, a reproducible numerical implementation and a system-level observation. The derivation establishes the modeled relationship; simulation checks implementation and explore cases that are hard to calculate by hand; field observation tests the relevance of modeling assumptions. Failure of a field measurement to match the derivation may reveal either a coding bug or a missing physical effect. Avoid the reflex to adjust free parameters until curves agree, because that conceals rather than explains uncertainty.
Finally trace the effect of dispersion, pulse spreading and the time budget onto throughput, occupied bandwidth, energy per delivered information bit and deadline failures for regional optical transport route. Describe which of these metrics has a monotonic response to parameter changes and which displays a tradeoff. Explain the direction of the tradeoff with one numerical or plotted piece of evidence; where evidence is absent, label the claim as a hypothesis. Every numerical conclusion should be reproducible from recorded inputs.
Cross-reference: See the model for Unit 7, Unit 7 project brief and its assessment. The simulation depicts a deliberately simplified subproblem; it does not certify a live communication system.
§7.4 Photodiodes, responsivity and receiver noise
Unit 7, Lesson 3: Photodiodes, responsivity and receiver noise
Module: Optical fiber and photonic communication. Prerequisites: Communication Systems I, introductory probability, linear systems, complex algebra and elementary Python or JavaScript.
Learning outcomes
- Explain photodiodes, responsivity and receiver noise from a physical or algorithmic model rather than memorizing an isolated equation.
- Distinguish assumptions, symbols, measured quantities and synthesized values in a complete communications link.
- Perform an independent limiting-case check and identify an operating region where the model fails.
- Design and document a reproducible synthetic experiment that tests a stated prediction.
System context and motivating decision
Consider regional optical transport route: two laboratory campuses share a long optical fiber cable. In this setting, loss, dispersion, front-end noise and wavelength filtering all enter design acceptance. The engineer therefore needs a model that is useful at the right reference plane, not an attractive formula copied from a different link. A quantity measured at the transmitter cannot automatically be used as if it were the receive-filter output, and uncoded symbol reliability cannot be silently treated as packet reliability. The purpose of this lesson is to connect photodiodes, responsivity and receiver noise with observable decisions in this chain.
Physical or algorithmic explanation
An optical detector converts incident photons into electrical current. PIN photodiodes are comparatively simple; avalanche photodiodes multiply carrier-generated current while adding excess multiplication noise and bias complexity. Receiver front-end transimpedance amplifiers trade noise, bandwidth and stability. Shot-noise variance in bandwidth B is commonly approximated as 2q I B for an appropriate average current, while thermal-noise sources require their own spectral-density specification. Optical direct detection loses field phase information that coherent detection preserves.
Core mathematical relationship
A photodiode's average signal current is I_s=R P_opt, where R is responsivity in A/W and P_opt is optical power in watts.
Meaning and conventions
The central expression above describes photodiodes, responsivity and receiver noise. Before calculating, identify the set of variables, their units and whether the expression applies to discrete or continuous time. When the relevant quantities are probabilities, confirm the conditioning event and whether samples are independent. When complex amplitudes occur, remember that a conjugate, not a real transpose, normally defines an energy inner product. Where a ratio of powers is stated in decibels, 10 log10 rather than 20 log10 is the appropriate conversion; for voltage magnitudes with identical impedances, a 20 log10 form may be suitable. This model is one part of the signal processing chain, not a substitute for a performance measurement.
Derive, calculate and inspect
First mark the source of the input and output quantities in A photodiode's average signal current is I_s=R P_opt, where R is responsivity in A/W and P_opt is optical power in watts.. State which symbols are known, which must be estimated and which are chosen by design. Translate the equation into a reproducible step-by-step computation, then test zero or very small noise, an intermediate operating point and a stressed case. A result should remain physically interpretable under these changes. Where the relationship is approximate, determine the approximation error before interpreting small performance improvements as significant. Never add gains or losses twice because the same physical effect appears in two bookkeeping categories.
Fully explained example and verification
At optical power -20 dBm, P_opt=10 µW; with responsivity 0.8 A/W, mean photocurrent is 8 µA. The ideal shot-noise rms current from this signal alone in a 1 GHz single-sided equivalent bandwidth is sqrt(21.602e-198e-6*1e9)≈50.6 nA, ignoring dark current and thermal noise.
How to verify: Recompute the numeric statement from the specified inputs without reading a plotted curve. Re-run after increasing the most influential input by 10%, and explain the direction and approximate size of the change. Then compare that outcome with the limiting case for the model. A plausible number is not sufficient if the observation plane, normalization or statistical assumptions have changed.
Boundary conditions and common mistakes
Doubling signal current need not double electrical SNR when thermal and shot noise scale differently. APD gain is not unconditionally beneficial because excess noise grows with multiplication.
An additional failure mode in regional optical transport route arises when the local mechanism is interpreted as an end-to-end guarantee. For example, packets may be rejected by framing or replay checks even after an error-correcting decoder outputs a plausible bit sequence; conversely, a successful frame may be too late to serve a time-critical application. To separate causes, log the inputs and outputs of each major subsystem, retain the raw observation when possible, and name the exact stage at which a failure is declared.
Guided computational experiment
Sweep received optical power, thermal-noise rms current and responsivity. Plot signal-to-noise proxy and locate crossover between thermal-noise-dominated and shot-noise-dominated operation.
Reproducibility protocol. Record the independent variables, their increments and physical units; state random seeds, number of simulated trials and target metrics. Use two numerical implementations for at least one predicted point. When drawing a probability curve, use enough trials to estimate its uncertainty and report the confidence interval; small error counts produce unstable estimates. When a parameter sweep crosses a model limit, annotate the plot rather than truncating inconvenient results.
Problem set with targeted response guidance
Question 1. Reference planes and dimensional consistency
Draw the component-level path through two laboratory campuses share a long optical fiber cable. Label exactly where the inputs to “A photodiode's average signal current is I_s=R P_opt, where R is responsivity in A/W and P_opt is optical power in watts.” are acquired or estimated. Construct a three-column table of quantity, unit, and uncertainty source. Identify one tempting but invalid substitution and explain which physical interface it crosses.
Answer guidance: A complete solution has a block diagram and a clear distinction between physical measurement and algorithmic estimate. For photodiodes, responsivity and receiver noise, justify every normalization and explicitly say what is held constant when comparing two conditions.
Question 2. Rebuild the numerical case
Independently reconstruct the worked calculation for photodiodes, responsivity and receiver noise. Change the leading numerical parameter by 20%, holding other inputs fixed, and explain whether the result changes linearly or nonlinearly. Supply every intermediate numerical step.
Answer guidance: The answer must reproduce the worked statement under its stated assumptions, account for units, and include an inverse or limiting check. If a result disagrees, trace the exact operation; do not round intermediate values until the final display.
Question 3. Competing design changes
For regional optical transport route, propose two ways to improve the outcome represented by A photodiode's average signal current is I_s=R P_opt, where R is responsivity in A/W and P_opt is optical power in watts.: one changes a transmitter or source parameter, the other changes receiver processing. List their respective energy, implementation, latency and spectral costs.
Answer guidance: Grade the response on tradeoffs, not a single optimization metric. For this topic, specify which impairment each intervention addresses and whether a gain in one stage increases overhead elsewhere.
Question 4. Break the assumptions
Create a deliberately unrealistic operating point for photodiodes, responsivity and receiver noise and explain a specific broken assumption. Then propose a synthetic observation that would reveal the failure. Describe what a poorly documented analysis might incorrectly conclude.
Answer guidance: The response must identify an assumption explicitly and design a measurement that detects the discrepancy. Replacing one uncertain parameter with a convenient nominal value is not an assumption test.
Further engineering synthesis
To write a defensible report for photodiodes, responsivity and receiver noise, separate evidence into three columns: a derivation, a reproducible numerical implementation and a system-level observation. The derivation establishes the modeled relationship; simulation checks implementation and explore cases that are hard to calculate by hand; field observation tests the relevance of modeling assumptions. Failure of a field measurement to match the derivation may reveal either a coding bug or a missing physical effect. Avoid the reflex to adjust free parameters until curves agree, because that conceals rather than explains uncertainty.
Finally trace the effect of photodiodes, responsivity and receiver noise onto throughput, occupied bandwidth, energy per delivered information bit and deadline failures for regional optical transport route. Describe which of these metrics has a monotonic response to parameter changes and which displays a tradeoff. Explain the direction of the tradeoff with one numerical or plotted piece of evidence; where evidence is absent, label the claim as a hypothesis. Every numerical conclusion should be reproducible from recorded inputs.
Cross-reference: See the model for Unit 7, Unit 7 project brief and its assessment. The simulation depicts a deliberately simplified subproblem; it does not certify a live communication system.
§7.5 WDM, coherent optics and nonlinear limits
Unit 7, Lesson 4: WDM, coherent optics and nonlinear limits
Module: Optical fiber and photonic communication. Prerequisites: Communication Systems I, introductory probability, linear systems, complex algebra and elementary Python or JavaScript.
Learning outcomes
- Explain wdm, coherent optics and nonlinear limits from a physical or algorithmic model rather than memorizing an isolated equation.
- Distinguish assumptions, symbols, measured quantities and synthesized values in a complete communications link.
- Perform an independent limiting-case check and identify an operating region where the model fails.
- Design and document a reproducible synthetic experiment that tests a stated prediction.
System context and motivating decision
Consider regional optical transport route: two laboratory campuses share a long optical fiber cable. In this setting, loss, dispersion, front-end noise and wavelength filtering all enter design acceptance. The engineer therefore needs a model that is useful at the right reference plane, not an attractive formula copied from a different link. A quantity measured at the transmitter cannot automatically be used as if it were the receive-filter output, and uncoded symbol reliability cannot be silently treated as packet reliability. The purpose of this lesson is to connect wdm, coherent optics and nonlinear limits with observable decisions in this chain.
Physical or algorithmic explanation
Wavelength-division multiplexing lets independent data channels share a fiber using distinct optical carriers and appropriate wavelength-selective components. More carriers improve capacity only within practical optical amplifier, filter, nonlinear and dispersion constraints. Coherent receivers mix received light with a local optical oscillator and recover amplitude and phase using DSP. Modern high-order modulation benefits from coherent detection but demands strong carrier recovery, polarization processing and a suitable SNR budget. Cross-phase modulation, four-wave mixing and other nonlinearities grow with optical launch powers and channel configuration.
Core mathematical relationship
For channel spacing Δf and center frequency f0=c/λ0, a small wavelength spacing is approximately |Δλ|≈(λ0²/c)Δf.
Meaning and conventions
The central expression above describes wdm, coherent optics and nonlinear limits. Before calculating, identify the set of variables, their units and whether the expression applies to discrete or continuous time. When the relevant quantities are probabilities, confirm the conditioning event and whether samples are independent. When complex amplitudes occur, remember that a conjugate, not a real transpose, normally defines an energy inner product. Where a ratio of powers is stated in decibels, 10 log10 rather than 20 log10 is the appropriate conversion; for voltage magnitudes with identical impedances, a 20 log10 form may be suitable. This model is one part of the signal processing chain, not a substitute for a performance measurement.
Derive, calculate and inspect
First mark the source of the input and output quantities in For channel spacing Δf and center frequency f0=c/λ0, a small wavelength spacing is approximately |Δλ|≈(λ0²/c)Δf.. State which symbols are known, which must be estimated and which are chosen by design. Translate the equation into a reproducible step-by-step computation, then test zero or very small noise, an intermediate operating point and a stressed case. A result should remain physically interpretable under these changes. Where the relationship is approximate, determine the approximation error before interpreting small performance improvements as significant. Never add gains or losses twice because the same physical effect appears in two bookkeeping categories.
Fully explained example and verification
At λ0≈1550 nm, adjacent carriers separated by 100 GHz correspond to |Δλ|≈0.801 nm using λ²Δf/c. This is a local approximation: equal frequency spacing does not translate into exactly equal wavelength spacing over a wide optical band.
How to verify: Recompute the numeric statement from the specified inputs without reading a plotted curve. Re-run after increasing the most influential input by 10%, and explain the direction and approximate size of the change. Then compare that outcome with the limiting case for the model. A plausible number is not sufficient if the observation plane, normalization or statistical assumptions have changed.
Boundary conditions and common mistakes
Adding more launch power can worsen nonlinear interference and reduce achievable information rate. Linear power-budget extrapolation is therefore unsafe for dense amplified systems.
An additional failure mode in regional optical transport route arises when the local mechanism is interpreted as an end-to-end guarantee. For example, packets may be rejected by framing or replay checks even after an error-correcting decoder outputs a plausible bit sequence; conversely, a successful frame may be too late to serve a time-critical application. To separate causes, log the inputs and outputs of each major subsystem, retain the raw observation when possible, and name the exact stage at which a failure is declared.
Guided computational experiment
Convert a grid of carrier frequencies near 193.4 THz into wavelengths, compare exact versus local spacing, and discuss which optical filters might constrain adjacent-channel occupancy.
Reproducibility protocol. Record the independent variables, their increments and physical units; state random seeds, number of simulated trials and target metrics. Use two numerical implementations for at least one predicted point. When drawing a probability curve, use enough trials to estimate its uncertainty and report the confidence interval; small error counts produce unstable estimates. When a parameter sweep crosses a model limit, annotate the plot rather than truncating inconvenient results.
Problem set with targeted response guidance
Question 1. Reference planes and dimensional consistency
Draw the component-level path through two laboratory campuses share a long optical fiber cable. Label exactly where the inputs to “For channel spacing Δf and center frequency f0=c/λ0, a small wavelength spacing is approximately |Δλ|≈(λ0²/c)Δf.” are acquired or estimated. Construct a three-column table of quantity, unit, and uncertainty source. Identify one tempting but invalid substitution and explain which physical interface it crosses.
Answer guidance: A complete solution has a block diagram and a clear distinction between physical measurement and algorithmic estimate. For wdm, coherent optics and nonlinear limits, justify every normalization and explicitly say what is held constant when comparing two conditions.
Question 2. Rebuild the numerical case
Independently reconstruct the worked calculation for wdm, coherent optics and nonlinear limits. Change the leading numerical parameter by 20%, holding other inputs fixed, and explain whether the result changes linearly or nonlinearly. Supply every intermediate numerical step.
Answer guidance: The answer must reproduce the worked statement under its stated assumptions, account for units, and include an inverse or limiting check. If a result disagrees, trace the exact operation; do not round intermediate values until the final display.
Question 3. Competing design changes
For regional optical transport route, propose two ways to improve the outcome represented by For channel spacing Δf and center frequency f0=c/λ0, a small wavelength spacing is approximately |Δλ|≈(λ0²/c)Δf.: one changes a transmitter or source parameter, the other changes receiver processing. List their respective energy, implementation, latency and spectral costs.
Answer guidance: Grade the response on tradeoffs, not a single optimization metric. For this topic, specify which impairment each intervention addresses and whether a gain in one stage increases overhead elsewhere.
Question 4. Break the assumptions
Create a deliberately unrealistic operating point for wdm, coherent optics and nonlinear limits and explain a specific broken assumption. Then propose a synthetic observation that would reveal the failure. Describe what a poorly documented analysis might incorrectly conclude.
Answer guidance: The response must identify an assumption explicitly and design a measurement that detects the discrepancy. Replacing one uncertain parameter with a convenient nominal value is not an assumption test.
Further engineering synthesis
To write a defensible report for wdm, coherent optics and nonlinear limits, separate evidence into three columns: a derivation, a reproducible numerical implementation and a system-level observation. The derivation establishes the modeled relationship; simulation checks implementation and explore cases that are hard to calculate by hand; field observation tests the relevance of modeling assumptions. Failure of a field measurement to match the derivation may reveal either a coding bug or a missing physical effect. Avoid the reflex to adjust free parameters until curves agree, because that conceals rather than explains uncertainty.
Finally trace the effect of wdm, coherent optics and nonlinear limits onto throughput, occupied bandwidth, energy per delivered information bit and deadline failures for regional optical transport route. Describe which of these metrics has a monotonic response to parameter changes and which displays a tradeoff. Explain the direction of the tradeoff with one numerical or plotted piece of evidence; where evidence is absent, label the claim as a hypothesis. Every numerical conclusion should be reproducible from recorded inputs.
Cross-reference: See the model for Unit 7, Unit 7 project brief and its assessment. The simulation depicts a deliberately simplified subproblem; it does not certify a live communication system.
§7.6 Engineering Design Project: Linear Block Error-Correcting Codes: Generator and Parity-Check Matrices, Syndrome Decoding
Unit 7 project — Optical fiber and photonic communication
Design brief
Create an original computer-based engineering investigation of regional optical transport route: two laboratory campuses share a long optical fiber cable. The stakeholder fears that loss, dispersion, front-end noise and wavelength filtering all enter design acceptance. Deliver a short technical report that combines the four models in Unit 7, an independent numeric calculation, a simple synthetic implementation and a comparison between two candidate solutions.
Required artifact A — model assumptions and operating points
Write a system block diagram and a table defining the reference points for all quantities in the four lessons. Include a benign operating point and two stresses, one concerning dispersion, pulse spreading and the time budget and the other concerning wdm, coherent optics and nonlinear limits. Give symbolic units and numerical values. Make clear which values are synthetic; do not label simulated observations as measured data.
Required artifact B — two methods, one controlled comparison
Implement an equation or algorithm from Fiber attenuation and optical power margin, then independently recompute a selected point. Next vary an input related to Photodiodes, responsivity and receiver noise while holding the baseline model fixed. Record the dependent metric at at least ten settings; if the output is an estimated failure probability, run multiple seeds and show sampling uncertainty. Report a parameter setting at which the second candidate outperforms the first and one at which it does not.
Required artifact C — intentionally broken assumption
The limitations you must investigate include: (1) A sensitivity value must state bit rate, modulation, BER/FEC threshold and receiver architecture; otherwise comparing manufacturers or receiver designs is not meaningful. (2) Doubling signal current need not double electrical SNR when thermal and shot noise scale differently. APD gain is not unconditionally beneficial because excess noise grows with multiplication. Choose the more relevant limitation for regional optical transport route, inject an impairment that invalidates the original assumption, and explain in technical language why the ideal calculation no longer predicts the result. An analysis that merely says “noise got worse” will not pass this requirement.
Required artifact D — user-level consequence
The application is two laboratory campuses share a long optical fiber cable. Define payload size, raw resource rate, protocol overhead, retransmission rule and the deadline for an accepted message. Trace low-level failure through framing and decoding into delivery success, delay and useful goodput. Prefer a table containing both one-attempt performance and end-to-end outcomes. Explain what real deployment measurements would be required.
Reproducibility and reporting rubric
Submit the source code, version or runtime description, seed list, parameter ranges and generated CSV. Use descriptive filenames, include a short README with instructions for a fresh run, and test one identity or limiting case. Cite the assumptions that make each formula valid. Allocate 30% to physics and mathematical correctness, 25% to experiment design, 20% to interpretation and failure analysis, 15% to reproducibility, and 10% to clarity. An unsupported claim of production readiness receives no credit.
Oral defense prompts
Explain why Dispersion, pulse spreading and the time budget was included or excluded in the final design. Which numerical result is most sensitive to a poorly known parameter? What single new piece of hardware or field evidence would most change the conclusion? Finally, explain why the synthetic model is adequate for learning but does not establish a radio license, an optical product certification or safety compliance.
§7.7 Analytical Derivations and Assessment: Linear Block Error-Correcting Codes: Generator and Parity-Check Matrices, Syndrome Decoding
Unit 7 assessment — Optical fiber and photonic communication
Context: two laboratory campuses share a long optical fiber cable
Problems (at least three required per unit)
Question 1: Fiber attenuation and optical power margin
Problem: Starting with A simple optical budget is P_rx(dBm)=P_tx(dBm)-α(dB/km)L(km)-L_connectors-L_splices-L_other, assuming no inline amplifiers., produce a dimensionally consistent worked example and one limiting case, then identify the violated assumption in this scenario: A sensitivity value must state bit rate, modulation, BER/FEC threshold and receiver architecture; otherwise comparing manufacturers or receiver designs is not meaningful.
Mark scheme (10 points): 3 for model and assumptions, 3 for correct arithmetic or logical steps, 2 for limiting-case check, 2 for explaining why the stated limitation changes the conclusion. A correct final number without units and reference plane earns no more than 5 points.
Question 2: Dispersion, pulse spreading and the time budget
Problem: Starting with First-order chromatic spreading can be approximated by ΔT≈|D| L Δλ, where D is ps/(nm km), length L is km, and source spectral width Δλ is nm., produce a dimensionally consistent worked example and one limiting case, then identify the violated assumption in this scenario: Dispersion parameter D may be near zero at one wavelength and substantial elsewhere. Do not apply a single attenuation coefficient and dispersion value across an entire band without verification.
Mark scheme (10 points): 3 for model and assumptions, 3 for correct arithmetic or logical steps, 2 for limiting-case check, 2 for explaining why the stated limitation changes the conclusion. A correct final number without units and reference plane earns no more than 5 points.
Question 3: Photodiodes, responsivity and receiver noise
Problem: Starting with A photodiode's average signal current is I_s=R P_opt, where R is responsivity in A/W and P_opt is optical power in watts., produce a dimensionally consistent worked example and one limiting case, then identify the violated assumption in this scenario: Doubling signal current need not double electrical SNR when thermal and shot noise scale differently. APD gain is not unconditionally beneficial because excess noise grows with multiplication.
Mark scheme (10 points): 3 for model and assumptions, 3 for correct arithmetic or logical steps, 2 for limiting-case check, 2 for explaining why the stated limitation changes the conclusion. A correct final number without units and reference plane earns no more than 5 points.
Question 4: WDM, coherent optics and nonlinear limits
Problem: Starting with For channel spacing Δf and center frequency f0=c/λ0, a small wavelength spacing is approximately |Δλ|≈(λ0²/c)Δf., produce a dimensionally consistent worked example and one limiting case, then identify the violated assumption in this scenario: Adding more launch power can worsen nonlinear interference and reduce achievable information rate. Linear power-budget extrapolation is therefore unsafe for dense amplified systems.
Mark scheme (10 points): 3 for model and assumptions, 3 for correct arithmetic or logical steps, 2 for limiting-case check, 2 for explaining why the stated limitation changes the conclusion. A correct final number without units and reference plane earns no more than 5 points.
Question 5: Joint design
Combine two lessons in the regional optical transport route case. Propose a before/after experiment where only one controlled variable changes and show how you will report both a link-level metric and a delivered-payload metric.
Mark scheme: prioritize controlled comparison (4), technically justified outcome (4), reproducible evidence (2).
Question 6: Critical evidence review
Find a plausible but unsupported claim of improvement, identify which additional variable may account for the effect, and design one negative control to disprove your own conclusion.
Mark scheme: claims supported by computed or experimentally generated data receive credit; appeals to authority or unsupported statements do not.
Submission policy
Use explicit parameter values, code or workings, and a conclusion that distinguishes verified arithmetic from engineering assumptions.
Step-by-Step Communication Systems II Solutions
Three original questions connect calculations, definitions and interpretation. Open each solution to follow the reasoning.
Determine the frequency response, pole-zero stability, and terminal response for a system operating under Linear Block Error-Correcting Codes: Generator and Parity-Check Matrices, Syndrome Decoding conditions.
Apply the governing transform domain models developed in Unit 7. State all initial conditions, evaluate the transfer function, and solve for steady-state and transient components.
Determine the frequency response, pole-zero stability, and terminal response for a system operating under Linear Block Error-Correcting Codes: Generator and Parity-Check Matrices, Syndrome Decoding conditions.
Apply the governing transform domain models developed in Unit 7. State all initial conditions, evaluate the transfer function, and solve for steady-state and transient components.
Determine the frequency response, pole-zero stability, and terminal response for a system operating under Linear Block Error-Correcting Codes: Generator and Parity-Check Matrices, Syndrome Decoding conditions.
Apply the governing transform domain models developed in Unit 7. State all initial conditions, evaluate the transfer function, and solve for steady-state and transient components.
Determine the frequency response, pole-zero stability, and terminal response for a system operating under Linear Block Error-Correcting Codes: Generator and Parity-Check Matrices, Syndrome Decoding conditions.
Apply the governing transform domain models developed in Unit 7. State all initial conditions, evaluate the transfer function, and solve for steady-state and transient components.
Determine the frequency response, pole-zero stability, and terminal response for a system operating under Linear Block Error-Correcting Codes: Generator and Parity-Check Matrices, Syndrome Decoding conditions.
Apply the governing transform domain models developed in Unit 7. State all initial conditions, evaluate the transfer function, and solve for steady-state and transient components.