Physics Library
 An open source physics library
Encyclopedia | Forums | Docs | Random  

From Electrostatics to a GPS Software Receiver: An Integrated PhysicsLibrary Lecture and Laboratory Roadmap

(Topic)

PLR00: From Electrostatics to a GPS Software Receiver

An Integrated PhysicsLibrary Lecture, Experiment, and algorithm Roadmap

Educational destination. Begin with a charged rod and a freely suspended pith ball. Develop electric field, potential, circuits, magnetism and induction. Build a ferrite-rod AM crystal receiver. Derive Maxwell’s Equations and electromagnetic-wave reception. Progress through analog and digital radio communications, quadrature sampling, noise, correlation and spread spectrum. Finally, construct a GPS L1 C/A software receiver using a recorded signal and the RTL-SDR, through acquisition, tracking, navigation-message processing and a position solution. The final laboratory strand characterizes receiver quality using C∕N0, noise spectra and carefully controlled synthetic interference.

Course policy. The experiment is not an afterthought appended to a completed mathematical chapter. Instead, a visible effect motivates the first model; calculations predict a measurement; the apparatus exposes approximations; and the result prepares the next theory lesson. Each stage has a learning gate, an independently demonstrable capability required for later stages.

PIC

Figure 1. The core progression from electrostatics to a GPS solution. The highlighted radio-communications bridge M6 is intentionally broad: receiving a signal must become familiar before GNSS acquisition is attempted.

1 1. Scope, article status, and use of existing material

PhysicsLibrary already has a substantial electrostatics teaching sequence: ES00–ES09 and their worked-example families have been developed in the current project; ES10 is the planned computational capstone. The E00 mini-lecture plan supplies short introductions to voltage, current, instruments, RC circuits and noise. EDL00 defines the broader electrodynamics laboratory program, and EDL02E3 is the first experiment chosen for this route. Existing EM and FS material covers much of electromagnetic waves, energy, Fourier analysis and transforms. The proposed MEX, RCM, RNL, GPSR, and some RBL lesson labels in this roadmap are future content assignments, not claims that those articles already exist. References to an existing article are reading assignments, not a demand to read every companion problem at once.

The ten milestones M1–M10 below describe competencies, not new article identifiers. A learner may revisit an earlier laboratory with improved mathematics. For example, pith-ball attraction can be observed without a meter, explained by polarization later, and quantified with force-balance geometry still later.

2 2. Teaching principles: what comes before what?

  1. Observe before instrumenting. Begin with charging rods, pith balls and balloons. Postpone the DMM until potential difference and current have meaning.
  2. Introduce mathematics at the point of need. vectors accompany Coulomb forces; one-variable integrals accompany charge distributions; gradients accompany potential maps; differential equations accompany oscillators; Fourier methods accompany actual waveforms; complex baseband accompanies downconversion.
  3. Reuse apparatus at increasing depth. A capacitor first stores charge, then becomes a dielectric experiment, then a transient and displacement-current example. A ferrite winding first illustrates induction, then resonance, then magnetic antenna reception.
  4. Separate controlled simulation from real receiver behavior. A known synthetic signal permits deterministic debugging. Real I/Q captures add gain, clock errors, quantization, environmental noise, and unknown propagation conditions.
  5. No artificial prerequisites. One does not need Green functions or complex contour integration before winding a coil or receiving an FM station. Advanced ES06–ES10 may run in a parallel theory track once the introductory foundation is established.

3 3. First eight lectures: electric charge before circuits

Lesson 1: What is charge? Begin with ES00 and the conceptual opening of ES01. Introduce positive, negative, neutral and conservation of charge, Conductors, insulators, and an uncharged reference condition. Have students predict whether a freshly rubbed rod might affect a neutral pith ball. Lab: apparatus inspection, baseline observation, safe rubbing of rods and cloths.

Lesson 2: Why does a neutral body move? Introduce induced charge separation without first invoking a circuit. In EDL02E3 Experiment A, bring a charged rod toward a neutral coated pith ball without contact. Repeat with different charging materials and neutralize between trials. State the distinction between zero net charge and an unchanged internal charge distribution.

Lesson 3: charging by contact. Explain triboelectric transfer and conservation; rubbing is not creation of charge. Use EDL02E3 Experiment B. Observe attraction before touch and test whether repulsion follows contact. Stress that attraction alone does not prove opposite-sign net charge, while repulsion is stronger evidence of like-sign charges.

Lesson 4: Coulomb’s force. Introduce test charge, the inverse-square point-charge model and force directions from ES01E1–E2. Repeat the qualitative rod-to-ball distance investigation, but do not claim that this finite rod and induced pith-ball dipole constitute two fixed point charges or must obey a strict r−2 force law.

Lesson 5: Electric field. Define field as the force per unit suitably small positive test charge, distinguish the field from force on a negative probe, and sketch source-to-observer vectors. Use ES01E3 and ES01E6. Compare the sketches with the observed pith-ball motion.

Lesson 6: superposition and geometry. work vector components, several point charges, null-field points and sign checks from ES01E2–E5. Lab: two pith balls and a qualitative discussion of mutual repulsion, supported by controlled field-diagram exercises.

Lesson 7: Induction and the meaning of grounding. Introduce the conceptual dipole material in ES02. Carry out EDL02E3 Experiment C: approach the ball with a charged rod, briefly connect a charge-transfer path, disconnect it before withdrawing the rod, and repeat with the order reversed as a control. An outlet ground is unnecessary and inappropriate.

Lesson 8: Conductors versus dielectrics. Use EDL02E3 Experiment D to compare a conducting pith ball and an insulating balloon. The first redistributes mobile carriers; the second responds through dielectric polarization. Both can be attracted. Connect to the motivation for dipoles in ES02.

Gate M1. Explain the four EDL02E3 demonstrations, the role of charge conservation and polarization, and why the observation of attraction is insufficient to infer charge sign. A written prediction and sketch accompany each observation. No DMM, current measurement, or formal circuit knowledge is required to pass this gate.

4 4. Next eighteen lessons: electrostatics and the first instruments

Lesson 9: ES01E4–E10.
Field cancellation, vector superposition, charged-particle motion and numerical field-map checks. Introduce a short Python plotting exercise only after vector direction is understood.
Lesson 10: ES02E3–E5.
Exact and approximate dipoles, finite charged rods and integral setup. Return to the pith ball, measure displacement at a few repeatable separations, and discuss the limitations of idealized induced-dipole formulas.
Lesson 11: ES02E6–E8.
Ring, disk and nonuniform distributions; simple numerical quadrature and far-field checks.
Lesson 12: ES03.
Field flux, oriented area and derivation of Gauss’s Law. Physical models of closed Gaussian surfaces, without powered apparatus.
Lesson 13: ES03E1–E8.
Spheres, cylinders, planes, and examples where total flux is known but pointwise field cannot be inferred without symmetry.
Lesson 14: ES04.
Work, potential energy, potential difference and voltage. Define volt as joule per coulomb; equipotentials prepare the first voltmeter connection.
Lesson 15: ES04E1–E6, E01, E09.
First DMM use: measure a low-voltage source, then a resistor’s potential difference. Explain why voltage is measured between two points and why an ohmmeter is used only on unpowered components.
Lesson 16: E02–E08 and EDL01.
Introduce current, resistance, Ohm’s law, nodes, circuit schematics, Kirchhoff’s laws and a source’s internal resistance. Measure both voltage and current using the bench and handheld DMM.
Lesson 17: ES04E7–E8, E10–E11 and EDL03.
Map V (x,y) on conductive paper or an analogous resistive sheet; estimate electric field from a spatial voltage gradient. Introduce measurement loading and elementary uncertainty.
Lesson 18: ES05 conductors and EDL02.
Conductor equilibrium, cavities and shielding; revisit polarization and the equipotential condition.
Lesson 19: ES05E3–E4, E14 and EDL04.
Build adjustable parallel-plate capacitors. First LCR meter: capacitance versus area, gap and dielectric insertion.
Lesson 20: E12–E17 and EDL01.
First oscilloscope/function generator: a slowly driven RC circuit, scope grounding, probe loading, step response and the meaning of time constant.
Lesson 21: ES05E5–E10 and EDL04.
Dielectric susceptibility, bound charge, dielectric stacks and fixed-charge versus fixed-voltage energy accounting.
Lesson 22: ES06.
Uniqueness and electrostatic images. Compare calculated induced charge and the conductor’s boundary conditions, using a safe low-voltage analogy where useful.
Lesson 23: ES07.
separation of variables, Fourier modes, Green functions and a numerical comparison with the EDL03 potential map.
Lesson 24: ES08.
Dipole/quadrupole expansions and controlled truncation-error tests.
Lesson 25: ES09.
Interfaces, multilayer dielectrics, anisotropic material response and a return to the EDL04 capacitor.
Lesson 26: ES10, planned.
Finite-difference solutions of Laplace and Poisson equations, geometric boundary conditions and convergence verification.

Gate M2. Configure a current-limited supply safely; measure voltage and current; draw a circuit; construct a potential map; measure an RC time constant and a capacitance; and report a repeatable numerical comparison with uncertainty. Finishing all advanced ES examples is not required to proceed into magnetic fields.

5 5. Theory, mathematics and laboratory lanes

PIC

Figure 2. The course uses three interleaved lanes. A theory explanation motivates a measurement; measurement creates a signal to model; computational methods then provide a reference and a new experiment.

The E-series (E01–E18) is the short bridge between electrostatic concepts and bench measurements. The FS series supplies Fourier, Laplace, convolution, differential-equation and spectral methods when they become necessary. The laboratory sequences EDL and RBL make assumptions testable, while the later GPSR series becomes primarily computational with periodic live receiver captures.

6 6. M3: magnetic fields and magnetic materials

Magnetism 1: current and current density.
Use EDL05 to measure resistance versus length, cross-sectional area and material. Define J and the local relation between current flow and the electric field.
Magnetism 2: magnetic field and Lorentz force.
Introduce B, the moving-charge force and field direction, with a magnetic compass or suitable Hall probe.
Magnetism 3: Biot–Savart law.
Derive the field of a wire and a circular loop; use EDL06 to measure the field versus current and position.
Magnetism 4: Ampère’s law.
Predict field behavior inside and outside a solenoid and compare with measured scaling.
Magnetism 5: magnetic matter and ferrite.
Use EDL07 to compare air-core and ferrite-core inductance and discuss permeability, losses and frequency dependence. Do not assume a single constant permeability across frequency.

Gate M3. Wind and characterize a coil; predict the effect of changing turns and ferrite; measure a reproducible magnetic-field or inductance change. The student is now prepared to understand a ferrite-rod receiving antenna.

7 7. M4: induction, energy storage, resonance and the first radio

Use EDL08 to derive Faraday’s law from magnetic-flux change, discuss Lenz’s law and demonstrate mutual inductance and transformer coupling. Move to EDL09: a capacitor and inductor exchange field energy; resistance dissipates energy. A series RLC circuit with charge q(t) obeys

L ¨q + R ˙q + q = v (t).
           C     s
(1)

Its undamped natural frequency is

     --1---          ---1----
ω0 = √LC--,     f0 = 2π √LC--.
(2)

Now bring in FS26E2, its expanded convolution and residues primers as optional mathematical deepening, and FS26E2S1 on the physical origin of resonance. A student need not know residue calculus to tune a receiver.

RBL04: Ferrite-rod crystal AM receiver, early version. Divide the build into four experiments: RBL04A, wind and characterize the ferrite winding; RBL04B, tune a parallel LC tank with a variable capacitor and measure the resonance and loading; RBL04C, add a germanium or Schottky diode and an appropriate envelope-detector load, testing a controlled AM input on the bench; RBL04D, listen with a sensitive high-impedance earphone or add a powered audio amplifier if needed. Passive reception is contingent on local signal strength and proper antenna coupling. Do not treat an arbitrary generator connection as a correct matched RF test interface.

Gate M4. Demonstrate a resonant peak, calculate an approximate f0, describe the diode’s envelope-detection role, and receive or successfully demodulate a controlled AM signal. Building a crystal radio here is deliberate: it creates real questions that Maxwell’s equations will answer.

8 8. M5: Maxwell’s equations and electromagnetic radiation

Develop the physical foundations through existing EM material with new MEX cross-links where necessary. The MEX01--MEX08 labels are editorial placeholders, not an assertion of publication.

MEX01: continuity and displacement current.
Explain the charging-capacitor problem and why the Ampère–Maxwell law is necessary for local charge conservation.
MEX02: the integral equations.
Connect Coulomb/Gauss, absence of magnetic monopoles, Faraday induction and the Ampère–Maxwell law into one system.
MEX03: the differential equations.
Introduce divergence and curl as local relationships; show the divergence theorem and Stokes’ theorem in the geometry already encountered.
MEX04: wave equation.
Derive propagating electric and magnetic fields in vacuum and their speed c = 1∕√-----
 μ0 𝜖0.
MEX05: field energy.
Develop energy density and the Poynting vector, connecting to EM17 and EDL10.
MEX06: transmission lines.
In EDL12, launch low-power pulses through coaxial lines; compare open, shorted and matched loads and calculate the reflection coefficient.
MEX07: antennas and induction.
In EDL13, connect receiving-loop voltage, antenna orientation and electromagnetic wave reception; distinguish reactive near fields from radiation fields.
MEX08: polarization, gain, aperture and antenna noise.
Use EM wave and antenna articles to motivate the signal level arriving at an actual receiver front end.

Gate M5. Starting with Maxwell’s equations, explain why a transmitting antenna produces a propagating wave and why a receiving antenna can deliver an electrical signal. Demonstrate coaxial reflection and controlled coil/antenna coupling. Full graduate-level radiation calculations can remain a parallel extension.

9 9. M6: the full radio-communications bridge before GPS

M6 is deliberately a substantial module, not a brief introduction to the SDR. The goal is to move from the crystal AM receiver to an intelligible analog and digital receiver architecture. A GPS software receiver is a special kind of communications receiver: it requires filtering, complex sampling, local oscillators, synchronization, correlations, noise analysis and interpretation of a very weak encoded signal. Each element should first be encountered in a less demanding experiment.

PIC

Figure 3. Two interpretations of a radio receiver. A crystal radio can tune and envelope-detect an AM signal without a local oscillator. Superheterodyne and direct-conversion receivers introduce mixing and complex baseband; these are essential bridges to the RTL-SDR and GPS.

9.1 9.1 M6A: analog RF fundamentals and receiver blocks

RCM01: electromagnetic signal to antenna terminals.
Receiving antennas, polarization, effective aperture, ferrite-loop coupling and antenna impedance. Lab: rotate a loop or small receiving coil and measure received amplitude.
RCM02: resonance, selectivity and quality factor.
Bandwidth, loaded Q, insertion loss and source/load effects. Lab: sweep the ferrite LC tank and compare measured center frequency and bandwidth to calculations.
RCM03: passive AM crystal receiver.
Carrier, sidebands, amplitude modulation, nonlinear diode detector, filter time constant and earphone loading. Lab: the completed RBL04 receiver with documented test points.
RCM04: RF front ends and noise.
Filtering, attenuation, gain, overload, intermodulation, sensitivity and noise figure as system concepts. Lab: observe overload and gain tradeoffs using a safe low-frequency or contained receiver test.
RCM05: mixers and frequency translation.
Explain multiplication of two sinusoids, sum and difference frequencies, local oscillator, intermediate frequency, image response and filtering. Lab: use a mixer model or analog multiplier to observe translated spectra.
RCM06: receiver architectures.
Crystal, tuned-RF, superheterodyne, direct-conversion and low-IF receivers. Identify signal paths, oscillators, filters and advantages. Lab: block-level comparison with a simple AM receiver and an SDR.

9.2 9.2 M6B: conventional analog communications

RCM07: AM spectrum and modulation depth.
Expand an AM waveform into carrier and sidebands; compute occupied bandwidth. Lab: drive an AM diode detector with a controlled waveform and compare its output.
RCM08: envelope detection and distortion.
Derive the RC time-constant tradeoff between carrier ripple and diagonal clipping; compare simulations and hardware.
RCM09: FM and phase modulation.
Instantaneous phase, instantaneous frequency, deviation and qualitative FM bandwidth. Lab: receive a local broadcast FM station with the RTL-SDR and recover audio.
RCM10: analog receiver performance.
Selectivity, adjacent-channel interference, sensitivity, receiver dynamic range and practical antenna differences. Lab: controlled baseband or digital performance comparisons; document gain and bandwidth.

9.3 9.3 M6C: radio signals become sampled complex data

RCM11: sampled signals.
Sample rate, Nyquist criterion, aliasing, anti-alias filters and quantization. Lab: deliberately alias a known tone in software and demonstrate the necessary sampling bound.
RCM12: complex exponentials and IQ.
Derive ei𝜃 = cos 𝜃 + i sin 𝜃; explain why complex baseband retains sign of frequency and why I and Q are a pair of real streams.
RCM13: quadrature mixing and SDR architecture.
Local oscillator, cosine/sine mixing, low-pass filtering, sample-clock offset, frequency offset, DC offset, IQ imbalance and gain. Lab: examine actual RTL-SDR I/Q samples from a strong permitted broadcast signal.
RCM14: FFT, PSD and spectral estimation.
Transform windows, leakage, bin width, averaging, dB, dBm and dB-Hz. Lab: compare noise spectra against a 50-ohm termination and a receiver input, recording gain and settings.
RCM15: digital filters.
Time-domain convolution, finite impulse response, impulse response, frequency response, decimation and resampling. Lab: create a known filter, apply it to I/Q, and cross-check time and Fourier methods.

9.4 9.4 M6D: digital communication and synchronization

RCM16: symbols and Constellations.
BPSK, QPSK, symbol energy, pulse shaping and constellation plots. Lab: synthesize BPSK/QPSK at complex baseband with known symbol sequences.
RCM17: noise and bit-error probability.
Gaussian noise, Power, Eb∕N0, binary decision threshold and the BER curve for a simple coherent link. Lab: Monte Carlo BER versus Eb∕N0 for BPSK; compare with theory.
RCM18: timing recovery.
Symbol clocks, timing offset, eye diagrams, matched-filter output and sampling instant. Lab: recover a deliberately offset symbol clock from synthetic data.
RCM19: carrier synchronization.
Frequency offset, phase error, Costas loop, FLL and PLL. Lab: acquire a BPSK carrier with a known offset and report frequency/phase error.
RCM20: matched filters, detection and correlation.
cross-correlation, autocorrelation, time reversal, coherent integration and decision statistics. Lab: detect a known pulse or symbol sequence inside simulated noise at a selected false-alarm threshold.
RCM21: frames, checks and coding.
Frame synchronization, parity/ and introductory error correction. Lab: recover a short baseband packet and flag deliberately corrupted bits.
RCM22: PRN codes and spread spectrum.
Pseudorandom sequences, code autocorrelation, code delay, processing gain, code division, near-far considerations and Doppler. Lab: recover a delayed PRN code from synthetic noise using a delay search.

9.5 9.5 M6 hands-on demonstrations, in required order

  1. AM crystal receiver: tune, detect and listen. Explain every physical component. Record an LC resonance and a diode-detector waveform.
  2. AM under controlled excitation: generate an RF/IF or lower-frequency bench-compatible AM waveform, view its spectrum, recover the envelope and compare with an analytic sideband model.
  3. FM broadcast with RTL-SDR: acquire I/Q, translate and filter one broadcast signal, apply a digital FM discriminator, decimate and recover intelligible audio.
  4. Digital baseband link: generate BPSK and QPSK signals, pulse shape, add synthetic channel noise and recover symbols with known reference timing and phase.
  5. Synchronizing receiver: add carrier and timing offsets, implement a carrier loop and timing recovery, quantify their errors and measure a BER curve.
  6. PRN acquisition bridge: correlate noisy complex I/Q against a known pseudorandom code, search across delay and carrier offset and identify the correlation peak.

Gate M6: radio-communications readiness. The student can (i) distinguish a crystal radio from a mixer-based receiver; (ii) derive AM sidebands and describe FM demodulation; (iii) explain sample rate, IQ and digital downconversion; (iv) compute a PSD and recognize aliasing; (v) implement a filter and matched correlation; (vi) decode a noisy BPSK link with an independently verified BER curve; (vii) synchronize carrier and timing sufficiently to recover symbols; and (viii) acquire a synthetic PRN signal in delay and frequency. GPSR is not the first occasion on which these ideas appear.

10 10. Noise and receiver measurement: a persistent strand

The proposed RNL01--RNL09 experiments begin during M6 and continue through M10. Thermal noise introduces power spectral density and noise-equivalent bandwidth. For a matched resistor at physical temperature T, the ideal available noise density is

N0  = kBT.
(3)

At approximately 290 K, this corresponds to roughly −174 dBm∕Hz. A receiver’s observed noise floor is not automatically that value: its gain, noise figure, effective bandwidth, calibration and quantization must be included.

RNL01: digital noise model.
Generate complex Gaussian noise; verify mean, variance and power under explicit sample conventions.
RNL02: FFT and PSD.
Compare periodograms, windows, resolution bandwidth and averaging; document units carefully.
RNL03: noise bandwidth.
Measure how integrated noise power scales with equivalent noise bandwidth, not merely with raw FFT bin count.
RNL04: processing gain.
Detect a known tone or PRN in synthetic noise and compare coherent/noncoherent integration.
RNL05: physical noise-source observation.
Build or procure a carefully contained low-frequency noise source; characterize its spectrum, bias dependence and repeatability using suitable instruments.
RNL06: RF input characterization.
Use a 50-ohm termination, a characterized attenuator and an appropriate conducted source, ideally with calibrated reference equipment, to study receiver gain, noise figure and compression. An uncalibrated RTL-SDR spectral display is not an absolute power meter.
RNL07: estimated C∕N0.
Estimate carrier-to-noise density from synthetic and real receiver correlator statistics, compare averaging methods and document estimator bias.
RNL08: interference spectral shape.
Use software injection of known colored, narrowband or broadband synthetic interference and a clearly defined same-point J∕S reference. Hardware alternatives must be nonradiating, shielded and compliant.
RNL09: acquisition/tracking robustness.
Determine detection probability versus false alarms, loss-of-lock probability, tracking error and acquisition time versus simulated signal quality.

For desired received signal power C and one-sided equivalent input noise-density convention N0, the carrier-to-noise-density ratio is

(    )               (       )
  C--                  C-∕N0-
  N0       = 10 log10  1 Hz    .
      dBHz
(4)

The logarithmic numerical shorthand C∕N0 in dB-Hz requires power referenced to the same receiver point and a consistent noise-density convention. For an illustrative ideal coherent integration time Ti, a correlator SNR scaling is

SNRcorr,dB ≃  (C ∕N0 )dBHz + 10log10(Ti∕1s),
(5)

with losses and details determined by the chosen statistic and normalization. As an example, 40 dBHz and Ti = 1 ms give a nominal 10 dB idealized coherent-integration SNR.

The interference-to-signal power ratio (often J∕S) must have both powers referenced at the same point and over clearly stated measurement bandwidths:

(J∕S )dB =  JdBm − SdBm.
(6)

J∕S alone cannot predict C∕N0 degradation: interference power spectral distribution, bandwidth, receiver filtering, and correlation response matter. Begin with software-only, known-power injection; treat real receiver performance as a later verification problem.

PIC

Figure 4. Receiver-noise experiment sequence. Synthetic baseband tests provide known truth. Conducted physical-source comparisons introduce calibration and RF hardware, without radiating disruptive test signals.

Safety boundary. No intentional interference may be transmitted into the environment. GPS and other radio jammers are prohibited in the United States. RF source characterization must be performed through suitable terminated, attenuated and shielded connections with no radiating test path. A receive-only RTL-SDR and fully synthetic noise injection are the preferred instructional arrangements. Never assume the bench function generator or a 200-MHz oscilloscope can directly generate or resolve the GPS L1 carrier at 1575.42 MHz.

11 11. M7–M9: GPS L1 C/A acquisition, tracking and navigation

The actual GPS receiver is now a progression of well-defined algorithm tasks, not an abrupt leap from an FFT lesson to a position fix. Begin with synthetic known-truth signals, then a verified recording, and only then capture real RF data. The RTL-SDR Blog V4 covers the L1 carrier at 1575.42 MHz; the standard GPS L1 C/A sequence consists of 1023 chips at 1.023 million chips per second, repeating every 1 ms, with a legacy 50 bit∕s navigation message. The active antenna must be supplied only with compatible bias voltage/current after connector and device specifications are checked.

11.1 11.1 Proposed GPSR series and required tests

GPSR00: architecture.
Draw RF antenna/front end, sampled I/Q, acquisition, tracking, message decoding, observables and navigation solution. Identify reference frames and clocks.
GPSR01: signal model.
Derive the L1 C/A carrier, code, 1-ms epoch, Doppler effect and navigation data. Explain the distinction between chips, samples, code epochs and bits.
GPSR02: code generation.
Implement G1/G2 C/A code generation; check period, chip signs and known reference PRNs.
GPSR03: correlation.
Recover a known code phase in noise; explain coherent integration and correlation sidelobes.
GPSR04: Doppler.
Derive carrier Doppler search and frequency uncertainty from oscillator error.
GPSR05: acquisition.
Implement time-domain and FFT-based circular correlation; search code delay and Doppler; calibrate a detection threshold and false-alarm statistic.
GPSR06: I/Q capture.
Record RTL-SDR GPS L1 data; log driver, sample rate, tuner frequency, gain, antenna bias, clock environment and file datatype. Evaluate clipping and sample discontinuities.
GPSR07: acquisition on real data.
Acquire at least one PRN with a code-delay/Doppler diagnostic plot; compare a known-good recording before user-recorded data.
GPSR08: code tracking.
Implement early/prompt/late correlators, discriminator and DLL loop filter; quantify code tracking error.
GPSR09: carrier tracking.
Implement FLL/PLL or Costas methods; track frequency, phase, cycle slips and oscillator drift.
GPSR10: C∕N0 estimation.
Compute a correlator-derived estimate with clear normalization; compare against known synthetic inputs and a reference receiver.
GPSR11: navigation message.
Determine bit boundaries, synchronization and parity; identify broadcast timing and data fields.
GPSR12: ephemerides.
Compute satellite position and clock correction with defined coordinate and time systems.
GPSR13: observables.
Construct aligned code-phase timing and pseudorange measurements; understand unknown receiver clock bias and measurement ambiguity.
GPSR14: position and clock.
Solve receiver ECEF position and clock offset with iterative least squares and geometry matrix; compute residuals and DOP.
GPSR15: validation.
Compare against a reference receiver, known recorded data, or surveyed geometry as appropriate; report RMS errors and limitations.
GPSR16: robustness.
Evaluate false alarms, acquisition probability, tracking quality and navigation integrity on controlled noisy recordings.

Gate M7. Correct PRN generation and code-delay/Doppler acquisition in synthetic data, plus an independently confirmed acquisition from a real recording. Gate M8. Stable code/carrier tracking and meaningful C∕N0 estimates. Gate M9. Recover navigation data, construct adequate measurements from multiple satellites, and produce a validated position/clock solution.

12 12. M10: calibrated receiver-performance experiments

The final milestone integrates the earlier noise lessons with a complete receiver. Students should characterize detection probability, false-alarm probability, coherent/noncoherent integration tradeoffs, tracking errors, bandwidth, oscillator sensitivity, gain and dynamic range. The capstone should include at least one controlled C∕N0 sweep using synthetic data and one J∕S comparison with explicit interference bandwidth and spectral shape. It should distinguish modeled noise from source, antenna, preamplifier, receiver and quantization contributions. For physical RF experiments, include an uncertainty and calibration chain. Raw SDR FFT magnitude is not a substitute for a power standard.

13 13. Instrument readiness and staged introductions

The proposed professional bench provides complementary tools: a four-channel Tektronix oscilloscope, a dual-channel Tektronix waveform generator, a multi-output Keysight supply, a high-resolution Keysight bench DMM, a Keysight LCR meter and a lower-cost Triplett handheld DMM. These are the instruments in the earlier procurement plan; final models and quotes should be verified at purchase. New students encounter them in the following conceptual order:

No instrument: Lessons 1–8.
Charged rods, pith balls and balloons; controlled visual observations.
Two DMMs and DC supply: Lessons 15–17.
Voltage, current, resistance, voltage dividers and potential maps.
LCR meter: Lesson 19 and M3.
Dielectric capacitance, wound inductors and ferrite response.
Scope and function generator: Lesson 20 and M4.
RC/RLC transients, resonance, waveforms and controlled AM detection.
RTL-SDR and active antenna: M6 and M7.
Broadcast IQ and FM reception first; GPS L1 captures only after receiver signal processing is established.
RF characterization accessories: M6–M10.
Known terminations, appropriate attenuators, filters, calibrated references, shielded interconnects, optional spectrum/VNA capabilities and characterized noise sources as the experiments demand.

14 14. Milestone acceptance criteria

M1: electrostatic interpretation.
Predict and explain polarization, contact charging and induction with pith balls.
M2: static measurements.
Read a simple circuit, measure DC quantities, map potential and measure capacitance/RC response.
M3: magnetic fields.
Construct and characterize a coil and measure the effect of ferrite.
M4: resonant AM receiver.
Tune an LC resonator and characterize an AM envelope detector; demonstrate a functioning receiver or reliable controlled-signal demodulator.
M5: Maxwell and antennas.
Derive the wave equation at undergraduate level and explain a receiving antenna and transmission-line reflection.
M6: complete radio-communications foundation.
Explain and demonstrate AM/FM, mixers, receiver architectures, I/Q sampling, Fourier/PSD, digital modulation, clock/carrier synchronization, correlation, BER and synthetic PRN acquisition.
M7: GPS acquisition.
Independently generate GPS C/A codes and acquire code delay and Doppler in known-truth and real I/Q data.
M8: GPS tracking.
Produce stable DLL/carrier tracking and interpretable C∕N0 estimates.
M9: navigation.
Extract navigation data and solve for receiver position and clock bias.
M10: measured robustness.
Produce reproducible receiver-sensitivity and interference/noise results with valid statistical and calibration assumptions.

15 15. Recommended deliverables for every laboratory

Each laboratory manuscript should specify prior knowledge, physical question, prediction and assumptions, apparatus and safety, procedure, measurement plan, analysis equations, uncertainties/limitations, and worked questions. Bench and SDR laboratories must record enough configuration information for repeatability, including instrument ranges or reference impedance, cables and connections, stimulus frequency/amplitude, sampling rate, receiver gain and software version when applicable. Save numerical outputs and scripts with the laboratory package, not just screenshots.

For Python/Octave/Matlab exercises, provide a reference signal, a known-answer test, plots with physical units and automatic checks where feasible. For RF/GPS laboratories, distinguish absolute calibrated power from relative ADC sample statistics, and label every power ratio’s reference point and bandwidth. Student-level acceptance checks should be explicit rather than subjective.

16 16. Practical reading and build strategy

Route A: conceptual learner. Complete Lessons 1–8 before any circuit bench session. Complete ES01–ES05 core concepts, E01–E10 and the first measurements. In M3–M6, use essential mathematics as introduced, then revisit advanced ES06–ES10 and FS derivations as strengthening exercises.

Route B: mathematically ambitious learner. In parallel with experiments, complete ES06–ES10, Fourier and Laplace methods, Green functions and numerical PDE exercises. This enriches but does not block the radio build sequence.

Route C: SDR/programming learner. After the physical circuit and analog radio demonstrations, work independently through RCM11–RCM22, then GPSR00 onward. Never begin live GPS tracking code before validating acquisition and tracking on synthetic known-answer data.

First action. Start with the qualitative parts of EDL02E3 and a short ES01 charge lesson. Once students have explained the four visible behaviors, progress to forces, fields and potential before introducing the bench instruments. This ensures that the eventual GPS receiver remains recognizably connected to the same electromagnetic physics encountered at the beginning.

References

[1]   PhysicsLibrary.org, ES00: Electrostatics on PhysicsLibrary, current project study roadmap, 2026.

[2]   PhysicsLibrary.org, EDL00: Home Electrodynamics Laboratory Roadmap, current project, 2026.

[3]   PhysicsLibrary.org, EDL02E3: Electrostatic Polarization, Induction, and Charge Transfer with Pith Balls and Balloons, current project, 2026.

[4]   PhysicsLibrary.org, E00: Foundations of Electricity and Electrical Measurement, current project, 2026.

[5]   MIT Open Learning Library, Electricity and Magnetism: Electrostatics, MITx 8.02.1x.

[6]   D. J. Griffiths, Introduction to Electrodynamics, Cambridge University Press.

[7]   RTL-SDR Blog, RTL-SDR Blog V4 Users Guide and Datasheet, https://www.rtl-sdr.com/v4/.

[8]   GNSS-SDR, Open Source GNSS Software Receiver Documentation, https://gnss-sdr.org/.

[9]   U.S. Government, GPS.gov: Spectrum and Interference Issues, https://www.gps.gov/spectrum-interference-issues.


"From Electrostatics to a GPS Software Receiver: An Integrated PhysicsLibrary Lecture and Laboratory Roadmap" is owned by bloftin.
(view preamble)
View style:
Keywords:  PhysicsLibrary curriculum, electrostatics, pith-ball demonstrations, circuits, magnetostatics, Maxwell equations, radio communication, AM receiver, ferrite antenna, Fourier analysis, radio frequency, quadrature sampling, software-defined radio, GPS L1 C/A, correlation, tracking loops, GNSS, carrier-to-noise-density ratio, noise sources, interference measurements

Cross-references: static, magnitude, matrix, squares, period, Doppler effect, observables, function, boundary, carrier-to-noise-density ratio, injection, equivalent noise bandwidth, calibration, temperature, spectral density, parity, detect, cross-correlation, diagrams, Power, Constellations, frequency response, impulse, FFT, complex exponentials, aliasing, phase, detection, noise figure, quality factor, amplitude, impedance, effective aperture, module, radiation, transmission lines, EM17, speed, wave equation, Stokes' theorem, divergence theorem, curl, divergence, system, integral equations, displacement current, testing, FS26E2, natural frequency, field energy, frequency, inductance, Lorentz force, relation, current density, periodic, convolution, concepts, magnetic fields, RC time constant, separation of variables, boundary conditions, ES06, stacks, bound charge, probe loading, generator, capacitance, equilibrium, EDL02, ES05, measurement loading, nodes, Ohm's law, resistance, EDL01, E01, equipotentials, potential energy, ES04, Gaussian surfaces, Gauss's Law, flux, ES03, formulas, displacement, charge conservation, dielectric polarization, ES02, grounding, vector, work, superposition, ES01E6, ES01E3, unit, test charge, charging by contact, net charge, insulators, Conductors, ES01, ES00, Green functions, quantization, resonance, dielectric, oscillators, differential equations, gradients, charge, forces, vectors, potential difference, polarization, energy, electromagnetic waves, EDL02E3, program, EDL00, voltage, E00, position, spectrum, Maxwell's Equations, induction, electric field, algorithm

This is version 1 of From Electrostatics to a GPS Software Receiver: An Integrated PhysicsLibrary Lecture and Laboratory Roadmap, born on 2026-12-04.
Object id is 1651, canonical name is FromElectrostaticsToAGPSSoftwareReceiverAnIntegratedPhysicsLibraryLectureAndLaboratoryRoadmap.
Accessed 17 times total.

Classification:
Physics Classification: 01.40.-d (Education)
 01.50.Pa (Laboratory experiments and apparatus )
 84.40.-x (Radiowave and microwave technology)
 84.40.Ua (Telecommunications: signal transmission and processing; communication satellites (for optical communications, see 42.79.Sz)
 07.50.-e (Electrical and electronic instruments and components)

Pending Errata and Addenda

None.

Discussion

No messages.

Interact