Electrical & Electronics Engineering Electrical & Electronics Engineering major 100% Free Open Access
Chapter 2 • Theory & Derivations

Unit 2: Temperature Sensors: Thermocouples, RTDs, Thermistors, and Cold-Junction Compensation

Comprehensive study of Temperature Sensors: Thermocouples, RTDs, Thermistors, and Cold-Junction Compensation, incorporating analytical formulations, simulation frameworks, and quantitative engineering solutions.

§2.1 Foundational Principles & Curriculum Scope: Temperature Sensors: Thermocouples, RTDs, Thermistors, and Cold-Junction Compensation

Unit 2 — Time, frequency, phase and synchronization

Conceptual thread: Define timestamps before interpreting events. Application scenario: A network of timestamped electrical pulses with a fictional timing reference.

Why this topic matters

A frequency counter and a timestamping system may disagree without either having a defective oscillator. Finite gate time, threshold crossings, jitter, dead time and clock drift have separate mechanisms. Proper timing architecture is an engineering decision about what uncertainties matter, not simply about buying a faster counter. The engineering goal is a measurement whose physical interpretation can survive an independent check. The activity is intentionally model-based: any numbers in assignments, datasets or simulator plots are invented for educational purposes. In actual equipment, frequency-dependent calibration, laboratory safety and environmental ratings would require external evidence.

Learning outcomes

By the end of this unit, you should be able to construct the principal measurement relation and explain its limits; reproduce two independent numerical results; identify at least one coherent alternative explanation for an apparent trend; select the data and metadata needed for a reproducible report; and design a measurement assurance check that does not assume the result it intends to confirm. The last outcome is central: a collection of accurate-looking digital values is not itself a valid measurement.

Suggested sequence

Read the first lesson as a model-building exercise, the second as an instrument or method comparison, the third as an error-analysis problem, and the fourth as a verification and decision exercise. Keep an equation notebook with a units check, an uncertainty table and a record of any assumptions you changed. Then solve the [unit assessment](../assessments/unit-02.html), complete the [integrated project](../projects/unit-02.html) and explore the [interactive model](../simulations/model-02.html).

Model interpretation

The simulator for this unit is Clock drift accumulation. Linear time-error accumulation from a constant oscillator frequency offset; stochastic jitter omitted. It varies only the mathematical quantities visible in its controls; a plotted result does not constitute an equipment qualification or measured sample. For a meaningful parameter study, save the default values, change one input at a time, reproduce a point independently and then look for a counterexample outside the ideal model. The derivative of the curve, not merely its appearance, is often the best clue about sensitivity and where resolution becomes inadequate.

Topics

  • [Lesson 2.1 — Frequency counters and finite gate time](../lessons/U02-L01-frequency-counters-and-finite-gate-time.html)
  • [Lesson 2.2 — Phase measurement and time skew](../lessons/U02-L02-phase-measurement-and-time-skew.html)
  • [Lesson 2.3 — Clock stability, drift and Allan deviation](../lessons/U02-L03-clock-stability-drift-and-allan-deviation.html)
  • [Lesson 2.4 — Trigger uncertainty, time intervals and PTP context](../lessons/U02-L04-trigger-uncertainty-time-intervals-and-ptp-context.html)

Scope and safety. Every dataset in this book is synthetic. Models are intended for offline learning, and do not authorize connection to energized power apparatus, unsafe test voltages, industrial machinery, RF transmitters, clinical devices, or safety-critical control systems. Consult qualified laboratory personnel, current equipment manuals, local rules and appropriate device ratings before any physical work. No certification or calibration is claimed.

§2.2 Frequency counters and finite gate time

2.1 — Frequency counters and finite gate time

Unit: Time, frequency, phase and synchronization Prerequisites: introductory electronics, calculus, signals and probability. Type of evidence: mathematical and synthetic; no physical hardware was tested. Estimated study time: 75–110 minutes including the calculation and verification challenge.

Engineering question and underlying phenomenon

A reciprocal frequency counter measures a time interval for an integral number of cycles; a direct counter counts events within a fixed gate. The dominant quantization mechanism therefore differs. Source stability, timebase accuracy, trigger noise and gate uncertainty have separate contributions. A clean numerical display is not a substitute for a reference-oscillator specification or a stated measurement time.

Within this unit, the example application is a network of timestamped electrical pulses with a fictional timing reference. A useful outcome is not merely a number: the reader must be able to decide what electrical or physical quantity is inferred, how the inference depends on a reference, and which alternative mechanisms might reproduce the observation. A calibrated indication is still conditional on the quantity being measured, reference range, environmental state and acquisition protocol. Consider whether the experiment will distinguish the input phenomenon from the measurement chain itself. If not, a second observable or controlled intervention is required.

Governing model

Central relation: For direct counting N in gate Tg: fhat=N/Tg; one-count scale Δf≈1/Tg.

Interpret every mathematical symbol before substitution. Express frequencies in hertz, durations in seconds, temperatures in the convention required by the equation, and angles in degrees or radians as specified. When an inverse operation is needed, verify that it is unique over the operational range. For ratio measurements, verify that the denominator cannot approach zero; for logarithmic levels, identify the reference quantity, detection bandwidth and impedance convention. More reported digits cannot compensate for an undefined physical variable.

Model development

Classify the relation as a direct physical law, an approximation derived under controlled assumptions, or an empirical calibration curve. Write the independent and dependent variables and check the direction of the physical mechanism. In particular, look for a relevant limiting case: no input, very large impedance, long observation, or an ideal reference.

Specific context: An uncertainty budget needs separate terms for the time reference, signal threshold and event detection algorithm. A small standard deviation of repeated time stamps is not evidence that a systematic delay has been corrected. Even when the equation is correct, it is valid only under its stated physical model. A good laboratory report differentiates assumptions adopted to make a model solvable, experimentally checked operating limits and parameters that remain completely unknown. The first two can be defended; the third must be stated as an unresolved source of uncertainty rather than assigned an attractive but unjustified small value.

Detailed worked calculation

At a 1 s gate, a direct counter observing a nominal 10 kHz signal counts about 10,000 cycles; a one-count change corresponds to 1 Hz, or 100 parts per million. At 10 s gate the count increment corresponds to 0.1 Hz but drift over a longer observation may matter.

Interpretation. This calculation is a model prediction under the stated conditions, not a newly observed experimental result. To audit it, write the substituted numbers next to their units, calculate without premature rounding, and estimate the order of magnitude before accepting the final digits. Distinguish a predicted change caused by a controlled parameter from an apparent change caused by sensor gain, instrument timing, filtering or normalization. If the expected sign of a correction is reversed, review the signal flow and physical reference before changing the equation to match the desired answer.

Checks that should accompany the numerical result

First, change one input while keeping the remaining assumptions fixed and confirm the output moves in the physically expected direction. Second, calculate the result through a different arrangement of the same governing law or a limiting-case approximation. Third, state the span over which the model has been calibrated or independently verified. Fourth, document whether the result is meant to represent an instantaneous value, an RMS estimate, an average over a defined interval or a statistical bound. These distinctions affect what can legitimately be compared with a manufacturer's specification.

Important departures from the ideal model

The ±one-count resolution scale is not a comprehensive uncertainty interval. Threshold jitter and an inaccurate timebase remain even if counting resolution becomes extremely fine.

It is useful to classify the departures by where they enter. Errors before conversion can distort the physical input; errors in amplification or digitization change the measured indication; timebase and software errors corrupt event ordering; calibration errors convert an otherwise faithful electrical reading to an incorrect physical quantity. The appropriate check differs across these cases. Repeated acquisition on the same unmodified chain can measure repeatability but cannot expose every persistent bias. In practice one should prioritize a small number of physically plausible error sources over a long, unweighted list of hypothetical effects.

Practical verification strategy

Compare direct counting and reciprocal period measurement for the same source, including chosen gating and expected dominant errors. Use a second method or reference only when its systematic errors are sufficiently independent. Record conditions that make the check reproducible: model revision, input data, ranges, reference conditions, clock and sample rate, software version, arithmetic precision and the date of the hypothetical experiment. If equipment were involved, the methods would also need actual safety ratings and personnel authorization. The offline simulations in this book test formulas, not equipment compliance.

Three graded exercises

Exercise A — reproduce and interpret (6 marks). Reconstruct the numerical example from the governing relation For direct counting N in gate Tg: fhat=N/Tg; one-count scale Δf≈1/Tg.. Show the dimensional conversion, leading intermediate values and units. Explain the scope of the result in one sentence, and identify one missing uncertainty term. For full credit, the interpretation must not confuse uncertainty with an operating tolerance or a variation of the physical input.

Exercise B — discriminate between explanations (8 marks). Explore 0.1 s, 1 s and 10 s gates, and identify which instrument improvement no longer helps if the timebase has a 10 ppm error. Prepare a two-column table comparing the ideal physical prediction with a competing measurement-chain explanation. Name the variable you would change, the response you would record and the expected observation that distinguishes the hypotheses. A plan that changes two variables at once without controlling confounders does not earn full marks.

Exercise C — construct a defensible measurement plan (10 marks). Design a software-only analysis or a supervised low-energy verification compatible with this topic. Identify one reference quantity, two controlled operating points and the raw evidence required for another person to reproduce the result. State at least two ways your inference might fail. Specify how you would report an inconclusive result instead of force-fitting a conformance label.

Answer guide and criteria

For A, the worked example above supplies an independent numeric target and a way to audit the physical units. The model is accepted only over the assumptions used in its derivation; a final displayed number without an explanation of its meaning is incomplete. For B, a correct response evaluates the parameter dependence explicitly rather than saying only that a quantity “goes up” or “goes down.” If an input is multiplied by two, its effect on the output must be recomputed with the actual nonlinear or proportional relation instead of assuming the whole result doubles. For C, full credit requires a check capable of finding the suggested fault, a data provenance note and a decision rule written before inspecting the result. Common-reference correlations, environmental drift and software interpretation need attention when relevant.

Extension: deeper engineering reasoning

Use the supplied example as an internal consistency check, then change the parameter most likely to reveal a violated approximation. Implement the change using the [interactive model for Unit 2](../simulations/model-02.html) if that model includes the relevant variable; otherwise calculate in a spreadsheet. The model is a unit-level demonstration and may not simulate the exact physical relation of this particular lesson. Compare the two predicted cases, discuss at least one omitted effect and specify an independent observation that could reject your preferred physical explanation. Keep all synthetic calculations clearly labeled in any exported report.

Scope and safety. Every dataset in this book is synthetic. Models are intended for offline learning, and do not authorize connection to energized power apparatus, unsafe test voltages, industrial machinery, RF transmitters, clinical devices, or safety-critical control systems. Consult qualified laboratory personnel, current equipment manuals, local rules and appropriate device ratings before any physical work. No certification or calibration is claimed.

§2.3 Phase measurement and time skew

2.2 — Phase measurement and time skew

Unit: Time, frequency, phase and synchronization Prerequisites: introductory electronics, calculus, signals and probability. Type of evidence: mathematical and synthetic; no physical hardware was tested. Estimated study time: 75–110 minutes including the calculation and verification challenge.

Engineering question and underlying phenomenon

For periodic signals, phase difference can be inferred from a measured delay only when the frequency and the identity of corresponding waveform features are known. Delays are ambiguous modulo one period; rising-edge threshold location is sensitive to noise and slope. In multichannel acquisition, an otherwise accurate time-delay measurement may be dominated by cable delay or scanning skew.

Within this unit, the example application is a network of timestamped electrical pulses with a fictional timing reference. A useful outcome is not merely a number: the reader must be able to decide what electrical or physical quantity is inferred, how the inference depends on a reference, and which alternative mechanisms might reproduce the observation. A calibrated indication is still conditional on the quantity being measured, reference range, environmental state and acquisition protocol. Consider whether the experiment will distinguish the input phenomenon from the measurement chain itself. If not, a second observable or controlled intervention is required.

Governing model

Central relation: Phase angle φ(deg)=360 f Δt; for sinusoidal signals φ is interpreted modulo 360°.

Interpret every mathematical symbol before substitution. Express frequencies in hertz, durations in seconds, temperatures in the convention required by the equation, and angles in degrees or radians as specified. When an inverse operation is needed, verify that it is unique over the operational range. For ratio measurements, verify that the denominator cannot approach zero; for logarithmic levels, identify the reference quantity, detection bandwidth and impedance convention. More reported digits cannot compensate for an undefined physical variable.

Measurement-chain diagnosis

Draw a signal-chain sketch from the physical input through transduction, cabling, gain, filtering, conversion, timing and calculation. Mark any stage that can change the quantity without changing the physical phenomenon. The measurement-chain sketch is often more useful than listing nominal resolution because it reveals where correction or calibration can be placed.

Specific context: An uncertainty budget needs separate terms for the time reference, signal threshold and event detection algorithm. A small standard deviation of repeated time stamps is not evidence that a systematic delay has been corrected. Even when the equation is correct, it is valid only under its stated physical model. A good laboratory report differentiates assumptions adopted to make a model solvable, experimentally checked operating limits and parameters that remain completely unknown. The first two can be defended; the third must be stated as an unresolved source of uncertainty rather than assigned an attractive but unjustified small value.

Detailed worked calculation

Two 2 kHz sinusoids differ in time by 75 µs. The phase offset is 360×2000×75×10^-6=54°. A 5 µs uncorrected channel skew would contribute 3.6° of phase bias at the same frequency.

Interpretation. This calculation is a model prediction under the stated conditions, not a newly observed experimental result. To audit it, write the substituted numbers next to their units, calculate without premature rounding, and estimate the order of magnitude before accepting the final digits. Distinguish a predicted change caused by a controlled parameter from an apparent change caused by sensor gain, instrument timing, filtering or normalization. If the expected sign of a correction is reversed, review the signal flow and physical reference before changing the equation to match the desired answer.

Checks that should accompany the numerical result

First, change one input while keeping the remaining assumptions fixed and confirm the output moves in the physically expected direction. Second, calculate the result through a different arrangement of the same governing law or a limiting-case approximation. Third, state the span over which the model has been calibrated or independently verified. Fourth, document whether the result is meant to represent an instantaneous value, an RMS estimate, an average over a defined interval or a statistical bound. These distinctions affect what can legitimately be compared with a manufacturer's specification.

Important departures from the ideal model

The relation applies to a single consistent frequency component and signed delay convention. A delay estimate with 1/f ambiguity cannot establish absolute phase across different cycles.

It is useful to classify the departures by where they enter. Errors before conversion can distort the physical input; errors in amplification or digitization change the measured indication; timebase and software errors corrupt event ordering; calibration errors convert an otherwise faithful electrical reading to an incorrect physical quantity. The appropriate check differs across these cases. Repeated acquisition on the same unmodified chain can measure repeatability but cannot expose every persistent bias. In practice one should prioritize a small number of physically plausible error sources over a long, unweighted list of hypothetical effects.

Practical verification strategy

Calibrate the complete channel path using a split reference signal and repeat at multiple frequencies to identify frequency-dependent phase mismatch. Use a second method or reference only when its systematic errors are sufficiently independent. Record conditions that make the check reproducible: model revision, input data, ranges, reference conditions, clock and sample rate, software version, arithmetic precision and the date of the hypothetical experiment. If equipment were involved, the methods would also need actual safety ratings and personnel authorization. The offline simulations in this book test formulas, not equipment compliance.

Three graded exercises

Exercise A — reproduce and interpret (6 marks). Reconstruct the numerical example from the governing relation Phase angle φ(deg)=360 f Δt; for sinusoidal signals φ is interpreted modulo 360°.. Show the dimensional conversion, leading intermediate values and units. Explain the scope of the result in one sentence, and identify one missing uncertainty term. For full credit, the interpretation must not confuse uncertainty with an operating tolerance or a variation of the physical input.

Exercise B — discriminate between explanations (8 marks). A 5 µs skew produces a much larger phase error at 20 kHz; calculate the error and discuss cable and anti-alias filter delays. Prepare a two-column table comparing the ideal physical prediction with a competing measurement-chain explanation. Name the variable you would change, the response you would record and the expected observation that distinguishes the hypotheses. A plan that changes two variables at once without controlling confounders does not earn full marks.

Exercise C — construct a defensible measurement plan (10 marks). Design a software-only analysis or a supervised low-energy verification compatible with this topic. Identify one reference quantity, two controlled operating points and the raw evidence required for another person to reproduce the result. State at least two ways your inference might fail. Specify how you would report an inconclusive result instead of force-fitting a conformance label.

Answer guide and criteria

For A, the worked example above supplies an independent numeric target and a way to audit the physical units. The model is accepted only over the assumptions used in its derivation; a final displayed number without an explanation of its meaning is incomplete. For B, a correct response evaluates the parameter dependence explicitly rather than saying only that a quantity “goes up” or “goes down.” If an input is multiplied by two, its effect on the output must be recomputed with the actual nonlinear or proportional relation instead of assuming the whole result doubles. For C, full credit requires a check capable of finding the suggested fault, a data provenance note and a decision rule written before inspecting the result. Common-reference correlations, environmental drift and software interpretation need attention when relevant.

Extension: deeper engineering reasoning

Contrast two independent fault hypotheses and identify a parameter change that makes their predicted results diverge. Implement the change using the [interactive model for Unit 2](../simulations/model-02.html) if that model includes the relevant variable; otherwise calculate in a spreadsheet. The model is a unit-level demonstration and may not simulate the exact physical relation of this particular lesson. Compare the two predicted cases, discuss at least one omitted effect and specify an independent observation that could reject your preferred physical explanation. Keep all synthetic calculations clearly labeled in any exported report.

Scope and safety. Every dataset in this book is synthetic. Models are intended for offline learning, and do not authorize connection to energized power apparatus, unsafe test voltages, industrial machinery, RF transmitters, clinical devices, or safety-critical control systems. Consult qualified laboratory personnel, current equipment manuals, local rules and appropriate device ratings before any physical work. No certification or calibration is claimed.

§2.4 Clock stability, drift and Allan deviation

2.3 — Clock stability, drift and Allan deviation

Unit: Time, frequency, phase and synchronization Prerequisites: introductory electronics, calculus, signals and probability. Type of evidence: mathematical and synthetic; no physical hardware was tested. Estimated study time: 75–110 minutes including the calculation and verification challenge.

Engineering question and underlying phenomenon

Oscillator noise is not fully characterized by a single RMS timestamp jitter number. Frequency offset accumulates a linearly growing time error, whereas different stochastic frequency-noise processes create different averaging-time dependence. Allan deviation analyzes successive averaged fractional frequencies rather than ordinary amplitude scatter. A log-log curve against averaging time can reveal the scale at which more averaging stops helping.

Within this unit, the example application is a network of timestamped electrical pulses with a fictional timing reference. A useful outcome is not merely a number: the reader must be able to decide what electrical or physical quantity is inferred, how the inference depends on a reference, and which alternative mechanisms might reproduce the observation. A calibrated indication is still conditional on the quantity being measured, reference range, environmental state and acquisition protocol. Consider whether the experiment will distinguish the input phenomenon from the measurement chain itself. If not, a second observable or controlled intervention is required.

Governing model

Central relation: For constant fractional frequency offset y, time error Δt ≈ y×elapsed time.

Interpret every mathematical symbol before substitution. Express frequencies in hertz, durations in seconds, temperatures in the convention required by the equation, and angles in degrees or radians as specified. When an inverse operation is needed, verify that it is unique over the operational range. For ratio measurements, verify that the denominator cannot approach zero; for logarithmic levels, identify the reference quantity, detection bandwidth and impedance convention. More reported digits cannot compensate for an undefined physical variable.

Quantitative uncertainty analysis

Differentiate the output with respect to the key input parameters where possible. Absolute uncertainties are appropriate for an additive voltage offset; relative uncertainties are often convenient for proportional scale errors. Correlated calibration terms must not be treated as independent contributions simply because they appear in different datasheets.

Specific context: An uncertainty budget needs separate terms for the time reference, signal threshold and event detection algorithm. A small standard deviation of repeated time stamps is not evidence that a systematic delay has been corrected. Even when the equation is correct, it is valid only under its stated physical model. A good laboratory report differentiates assumptions adopted to make a model solvable, experimentally checked operating limits and parameters that remain completely unknown. The first two can be defended; the third must be stated as an unresolved source of uncertainty rather than assigned an attractive but unjustified small value.

Detailed worked calculation

A clock with a steady +2 ppm frequency offset accumulates approximately 2×10^-6×3600=7.2 ms of time error over one hour if it is not corrected. A good short-term jitter figure does not prevent this accumulation.

Interpretation. This calculation is a model prediction under the stated conditions, not a newly observed experimental result. To audit it, write the substituted numbers next to their units, calculate without premature rounding, and estimate the order of magnitude before accepting the final digits. Distinguish a predicted change caused by a controlled parameter from an apparent change caused by sensor gain, instrument timing, filtering or normalization. If the expected sign of a correction is reversed, review the signal flow and physical reference before changing the equation to match the desired answer.

Checks that should accompany the numerical result

First, change one input while keeping the remaining assumptions fixed and confirm the output moves in the physically expected direction. Second, calculate the result through a different arrangement of the same governing law or a limiting-case approximation. Third, state the span over which the model has been calibrated or independently verified. Fourth, document whether the result is meant to represent an instantaneous value, an RMS estimate, an average over a defined interval or a statistical bound. These distinctions affect what can legitimately be compared with a manufacturer's specification.

Important departures from the ideal model

Real clocks have temperature dependence, aging and stochastic fluctuations. A fractional frequency offset cannot be converted to a standalone Allan deviation without specifying the noise process and the sequence of observations.

It is useful to classify the departures by where they enter. Errors before conversion can distort the physical input; errors in amplification or digitization change the measured indication; timebase and software errors corrupt event ordering; calibration errors convert an otherwise faithful electrical reading to an incorrect physical quantity. The appropriate check differs across these cases. Repeated acquisition on the same unmodified chain can measure repeatability but cannot expose every persistent bias. In practice one should prioritize a small number of physically plausible error sources over a long, unweighted list of hypothetical effects.

Practical verification strategy

Record timestamps against an independent timebase at fixed intervals, remove or report drift explicitly and plot averaging-time-dependent stability. Use a second method or reference only when its systematic errors are sufficiently independent. Record conditions that make the check reproducible: model revision, input data, ranges, reference conditions, clock and sample rate, software version, arithmetic precision and the date of the hypothetical experiment. If equipment were involved, the methods would also need actual safety ratings and personnel authorization. The offline simulations in this book test formulas, not equipment compliance.

Three graded exercises

Exercise A — reproduce and interpret (6 marks). Reconstruct the numerical example from the governing relation For constant fractional frequency offset y, time error Δt ≈ y×elapsed time.. Show the dimensional conversion, leading intermediate values and units. Explain the scope of the result in one sentence, and identify one missing uncertainty term. For full credit, the interpretation must not confuse uncertainty with an operating tolerance or a variation of the physical input.

Exercise B — discriminate between explanations (8 marks). What drift appears over a 24-hour interval at +0.5 ppm, and which observations separate constant offset from random-walk frequency noise? Prepare a two-column table comparing the ideal physical prediction with a competing measurement-chain explanation. Name the variable you would change, the response you would record and the expected observation that distinguishes the hypotheses. A plan that changes two variables at once without controlling confounders does not earn full marks.

Exercise C — construct a defensible measurement plan (10 marks). Design a software-only analysis or a supervised low-energy verification compatible with this topic. Identify one reference quantity, two controlled operating points and the raw evidence required for another person to reproduce the result. State at least two ways your inference might fail. Specify how you would report an inconclusive result instead of force-fitting a conformance label.

Answer guide and criteria

For A, the worked example above supplies an independent numeric target and a way to audit the physical units. The model is accepted only over the assumptions used in its derivation; a final displayed number without an explanation of its meaning is incomplete. For B, a correct response evaluates the parameter dependence explicitly rather than saying only that a quantity “goes up” or “goes down.” If an input is multiplied by two, its effect on the output must be recomputed with the actual nonlinear or proportional relation instead of assuming the whole result doubles. For C, full credit requires a check capable of finding the suggested fault, a data provenance note and a decision rule written before inspecting the result. Common-reference correlations, environmental drift and software interpretation need attention when relevant.

Extension: deeper engineering reasoning

Record a small uncertainty table and calculate which source dominates at the numerical operating point. Implement the change using the [interactive model for Unit 2](../simulations/model-02.html) if that model includes the relevant variable; otherwise calculate in a spreadsheet. The model is a unit-level demonstration and may not simulate the exact physical relation of this particular lesson. Compare the two predicted cases, discuss at least one omitted effect and specify an independent observation that could reject your preferred physical explanation. Keep all synthetic calculations clearly labeled in any exported report.

Scope and safety. Every dataset in this book is synthetic. Models are intended for offline learning, and do not authorize connection to energized power apparatus, unsafe test voltages, industrial machinery, RF transmitters, clinical devices, or safety-critical control systems. Consult qualified laboratory personnel, current equipment manuals, local rules and appropriate device ratings before any physical work. No certification or calibration is claimed.

§2.5 Trigger uncertainty, time intervals and PTP context

2.4 — Trigger uncertainty, time intervals and PTP context

Unit: Time, frequency, phase and synchronization Prerequisites: introductory electronics, calculus, signals and probability. Type of evidence: mathematical and synthetic; no physical hardware was tested. Estimated study time: 75–110 minutes including the calculation and verification challenge.

Engineering question and underlying phenomenon

A timestamp is generated by an analog threshold detector, digital event logic, a local clock and software transfer. The transfer latency is not automatically a timestamp error if the timestamp is latched in hardware, but variable software timestamping latency can be severe. Network time synchronization aligns clock estimates; it does not magically remove source-delay asymmetry or trigger error.

Within this unit, the example application is a network of timestamped electrical pulses with a fictional timing reference. A useful outcome is not merely a number: the reader must be able to decide what electrical or physical quantity is inferred, how the inference depends on a reference, and which alternative mechanisms might reproduce the observation. A calibrated indication is still conditional on the quantity being measured, reference range, environmental state and acquisition protocol. Consider whether the experiment will distinguish the input phenomenon from the measurement chain itself. If not, a second observable or controlled intervention is required.

Governing model

Central relation: Voltage slew at threshold S=dV/dt; timing perturbation σt≈σV/|S|.

Interpret every mathematical symbol before substitution. Express frequencies in hertz, durations in seconds, temperatures in the convention required by the equation, and angles in degrees or radians as specified. When an inverse operation is needed, verify that it is unique over the operational range. For ratio measurements, verify that the denominator cannot approach zero; for logarithmic levels, identify the reference quantity, detection bandwidth and impedance convention. More reported digits cannot compensate for an undefined physical variable.

Engineering verification

Translate the mathematical relation into a verification protocol that another engineer could repeat. List setup conditions, retained raw data, reference or second method, validity range and the observation that would falsify the conclusion. A protocol that can only reproduce the expected result has insufficient diagnostic power.

Specific context: An uncertainty budget needs separate terms for the time reference, signal threshold and event detection algorithm. A small standard deviation of repeated time stamps is not evidence that a systematic delay has been corrected. Even when the equation is correct, it is valid only under its stated physical model. A good laboratory report differentiates assumptions adopted to make a model solvable, experimentally checked operating limits and parameters that remain completely unknown. The first two can be defended; the third must be stated as an unresolved source of uncertainty rather than assigned an attractive but unjustified small value.

Detailed worked calculation

Suppose RMS threshold noise is 4 mV and a clean event crosses the threshold at 2 V/µs. The approximate RMS timing jitter is 0.004/2=0.002 µs or 2 ns. If the slew rate falls to 0.2 V/µs, jitter becomes about 20 ns.

Interpretation. This calculation is a model prediction under the stated conditions, not a newly observed experimental result. To audit it, write the substituted numbers next to their units, calculate without premature rounding, and estimate the order of magnitude before accepting the final digits. Distinguish a predicted change caused by a controlled parameter from an apparent change caused by sensor gain, instrument timing, filtering or normalization. If the expected sign of a correction is reversed, review the signal flow and physical reference before changing the equation to match the desired answer.

Checks that should accompany the numerical result

First, change one input while keeping the remaining assumptions fixed and confirm the output moves in the physically expected direction. Second, calculate the result through a different arrangement of the same governing law or a limiting-case approximation. Third, state the span over which the model has been calibrated or independently verified. Fourth, document whether the result is meant to represent an instantaneous value, an RMS estimate, an average over a defined interval or a statistical bound. These distinctions affect what can legitimately be compared with a manufacturer's specification.

Important departures from the ideal model

The small-noise approximation fails for multipeaked waveforms, large fluctuations or metastability. Network clock offsets, path asymmetry and timestamp location require separate budgets.

It is useful to classify the departures by where they enter. Errors before conversion can distort the physical input; errors in amplification or digitization change the measured indication; timebase and software errors corrupt event ordering; calibration errors convert an otherwise faithful electrical reading to an incorrect physical quantity. The appropriate check differs across these cases. Repeated acquisition on the same unmodified chain can measure repeatability but cannot expose every persistent bias. In practice one should prioritize a small number of physically plausible error sources over a long, unweighted list of hypothetical effects.

Practical verification strategy

Use a hardware loopback to compare event generation and capture; document trigger threshold, hysteresis, cable length and timestamping point. Use a second method or reference only when its systematic errors are sufficiently independent. Record conditions that make the check reproducible: model revision, input data, ranges, reference conditions, clock and sample rate, software version, arithmetic precision and the date of the hypothetical experiment. If equipment were involved, the methods would also need actual safety ratings and personnel authorization. The offline simulations in this book test formulas, not equipment compliance.

Three graded exercises

Exercise A — reproduce and interpret (6 marks). Reconstruct the numerical example from the governing relation Voltage slew at threshold S=dV/dt; timing perturbation σt≈σV/|S|.. Show the dimensional conversion, leading intermediate values and units. Explain the scope of the result in one sentence, and identify one missing uncertainty term. For full credit, the interpretation must not confuse uncertainty with an operating tolerance or a variation of the physical input.

Exercise B — discriminate between explanations (8 marks). Consider a common 50 ns clock-offset error and 5 ns independent threshold jitter. Explain why ten repeated readings cannot remove the common offset. Prepare a two-column table comparing the ideal physical prediction with a competing measurement-chain explanation. Name the variable you would change, the response you would record and the expected observation that distinguishes the hypotheses. A plan that changes two variables at once without controlling confounders does not earn full marks.

Exercise C — construct a defensible measurement plan (10 marks). Design a software-only analysis or a supervised low-energy verification compatible with this topic. Identify one reference quantity, two controlled operating points and the raw evidence required for another person to reproduce the result. State at least two ways your inference might fail. Specify how you would report an inconclusive result instead of force-fitting a conformance label.

Answer guide and criteria

For A, the worked example above supplies an independent numeric target and a way to audit the physical units. The model is accepted only over the assumptions used in its derivation; a final displayed number without an explanation of its meaning is incomplete. For B, a correct response evaluates the parameter dependence explicitly rather than saying only that a quantity “goes up” or “goes down.” If an input is multiplied by two, its effect on the output must be recomputed with the actual nonlinear or proportional relation instead of assuming the whole result doubles. For C, full credit requires a check capable of finding the suggested fault, a data provenance note and a decision rule written before inspecting the result. Common-reference correlations, environmental drift and software interpretation need attention when relevant.

Extension: deeper engineering reasoning

Define a pass/inconclusive/fail rule using a predeclared metric and record environmental and software versions. Implement the change using the [interactive model for Unit 2](../simulations/model-02.html) if that model includes the relevant variable; otherwise calculate in a spreadsheet. The model is a unit-level demonstration and may not simulate the exact physical relation of this particular lesson. Compare the two predicted cases, discuss at least one omitted effect and specify an independent observation that could reject your preferred physical explanation. Keep all synthetic calculations clearly labeled in any exported report.

Scope and safety. Every dataset in this book is synthetic. Models are intended for offline learning, and do not authorize connection to energized power apparatus, unsafe test voltages, industrial machinery, RF transmitters, clinical devices, or safety-critical control systems. Consult qualified laboratory personnel, current equipment manuals, local rules and appropriate device ratings before any physical work. No certification or calibration is claimed.

§2.6 Engineering Design Project & Numerical Investigation: Temperature Sensors: Thermocouples, RTDs, Thermistors, and Cold-Junction Compensation

Project 2 — Time, frequency, phase and synchronization: reproducible measurement dossier

Scenario. A network of timestamped electrical pulses with a fictional timing reference. Status: synthetic design exercise with no physical implementation. Deliverable: a 5–8 page engineering dossier plus a numerical notebook or spreadsheet and reproducible model output. This project evaluates reasoning and communication, not ability to claim certification.

Part 1 — measurand and system architecture

Specify the intended measurand, realistic operating range and the decision it supports. Draw a signal chain identifying physical source, sensor or test interface, conditioning, clock, digitization and software. Explain which parts should be independently calibrated. Build two competing explanations for a suspicious result, one physical and one instrumentation-related. The two models must predict different responses to at least one controllable input.

Part 2 — baseline and sensitivity

Open the [interactive model for Unit 2](../simulations/model-02.html) and save its complete default inputs. Export the calculated sweep. Independently reproduce three points using the mathematical relation identified in the model. Vary at least two parameters in separate runs and compare the direction and magnitude of their effects. The response should be represented by a labeled graph and a table; neither may be presented as observed field measurements.

Part 3 — model discrepancy and uncertainty

Introduce one nonideal process grounded in the lessons: The relation applies to a single consistent frequency component and signed delay convention. A delay estimate with 1/f ambiguity cannot establish absolute phase across different cycles.. State the size and justification of every invented parameter. Compute a first-order sensitivity where possible and distinguish a correction from a standard uncertainty. Identify a common-reference or shared-clock mechanism that could correlate results. Explain why repeated acquisitions on the same setup might fail to uncover this mechanism.

Part 4 — validation against an alternative mechanism

Construct a test that would tell the main model apart from the following limitation: The small-noise approximation fails for multipeaked waveforms, large fluctuations or metastability. Network clock offsets, path asymmetry and timestamp location require separate budgets.. Identify the reference observation, intervention, evidence to retain and what result would make the conclusion inconclusive. Specify an acceptance or escalation rule before inspecting results. Compare a plausible success case and a boundary case under that same rule.

Part 5 — audit-quality communication

Present a conclusion with three headings: supported by the synthetic model, unverified in a physical instrument, and next evidence required. Include raw data, equations, units, assumption register, uncertainty budget, exported CSV, software version and short reproducibility instructions. Do not include fabricated calibration certificates, genuine-looking measurement signatures or a suggestion that any component was tested in an accredited laboratory.

Marking rubric

20% physics and sensing-chain architecture; 20% reproducible calculations; 20% error modeling and uncertainty; 20% discrimination between fault hypotheses; 20% accurate reporting and evidence hygiene. A beautiful graph with no independent calculation does not pass. An overly confident conclusion must be revised even when its central arithmetic is correct.

Scope and safety. Every dataset in this book is synthetic. Models are intended for offline learning, and do not authorize connection to energized power apparatus, unsafe test voltages, industrial machinery, RF transmitters, clinical devices, or safety-critical control systems. Consult qualified laboratory personnel, current equipment manuals, local rules and appropriate device ratings before any physical work. No certification or calibration is claimed.

THREE WORKED QUESTIONS

Step-by-Step Electrical Measurements & Instrumentation II Solutions

Three original questions connect calculations, definitions and interpretation. Open each solution to follow the reasoning.

Solved Problem Example 2.1: Problem 2.1: Detailed worked calculation

At a 1 s gate, a direct counter observing a nominal 10 kHz signal counts about 10,000 cycles; a one-count change corresponds to 1 Hz, or 100 parts per million. At 10 s gate the count increment corresponds to 0.1 Hz but drift over a longer observation may matter.

Interpretation. This calculation is a model prediction under the stated conditions, not a newly observed experimental result. To audit it, write the substituted numbers next to their units, calculate without premature rounding, and estimate the order of magnitude before accepting the final digits. Distinguish a predicted change caused by a controlled parameter from an apparent change caused by sensor gain, instrument timing, filtering or normalization. If the expected sign of a correction is reversed, review the signal flow and physical reference before changing the equation to match the desired answer.

Checks that should accompany the numerical result

First, change one input while keeping the remaining assumptions fixed and confirm the output moves in the physically expected direction. Second, calculate the result through a different arrangement of the same governing law or a limiting-case approximation. Third, state the span over which the model has been calibrated or independently verified. Fourth, document whether the result is meant to represent an instantaneous value, an RMS estimate, an average over a defined interval or a statistical bound. These distinctions affect what can legitimately be compared with a manufacturer's specification.

Solved Problem Example 2.2: Problem 2.2: Detailed worked calculation

Two 2 kHz sinusoids differ in time by 75 µs. The phase offset is 360×2000×75×10^-6=54°. A 5 µs uncorrected channel skew would contribute 3.6° of phase bias at the same frequency.

Interpretation. This calculation is a model prediction under the stated conditions, not a newly observed experimental result. To audit it, write the substituted numbers next to their units, calculate without premature rounding, and estimate the order of magnitude before accepting the final digits. Distinguish a predicted change caused by a controlled parameter from an apparent change caused by sensor gain, instrument timing, filtering or normalization. If the expected sign of a correction is reversed, review the signal flow and physical reference before changing the equation to match the desired answer.

Checks that should accompany the numerical result

First, change one input while keeping the remaining assumptions fixed and confirm the output moves in the physically expected direction. Second, calculate the result through a different arrangement of the same governing law or a limiting-case approximation. Third, state the span over which the model has been calibrated or independently verified. Fourth, document whether the result is meant to represent an instantaneous value, an RMS estimate, an average over a defined interval or a statistical bound. These distinctions affect what can legitimately be compared with a manufacturer's specification.

Solved Problem Example 2.3: Problem 2.3: Detailed worked calculation

A clock with a steady +2 ppm frequency offset accumulates approximately 2×10^-6×3600=7.2 ms of time error over one hour if it is not corrected. A good short-term jitter figure does not prevent this accumulation.

Interpretation. This calculation is a model prediction under the stated conditions, not a newly observed experimental result. To audit it, write the substituted numbers next to their units, calculate without premature rounding, and estimate the order of magnitude before accepting the final digits. Distinguish a predicted change caused by a controlled parameter from an apparent change caused by sensor gain, instrument timing, filtering or normalization. If the expected sign of a correction is reversed, review the signal flow and physical reference before changing the equation to match the desired answer.

Checks that should accompany the numerical result

First, change one input while keeping the remaining assumptions fixed and confirm the output moves in the physically expected direction. Second, calculate the result through a different arrangement of the same governing law or a limiting-case approximation. Third, state the span over which the model has been calibrated or independently verified. Fourth, document whether the result is meant to represent an instantaneous value, an RMS estimate, an average over a defined interval or a statistical bound. These distinctions affect what can legitimately be compared with a manufacturer's specification.

Solved Problem Example 2.4: Problem 2.4: Detailed worked calculation

Suppose RMS threshold noise is 4 mV and a clean event crosses the threshold at 2 V/µs. The approximate RMS timing jitter is 0.004/2=0.002 µs or 2 ns. If the slew rate falls to 0.2 V/µs, jitter becomes about 20 ns.

Interpretation. This calculation is a model prediction under the stated conditions, not a newly observed experimental result. To audit it, write the substituted numbers next to their units, calculate without premature rounding, and estimate the order of magnitude before accepting the final digits. Distinguish a predicted change caused by a controlled parameter from an apparent change caused by sensor gain, instrument timing, filtering or normalization. If the expected sign of a correction is reversed, review the signal flow and physical reference before changing the equation to match the desired answer.

Checks that should accompany the numerical result

First, change one input while keeping the remaining assumptions fixed and confirm the output moves in the physically expected direction. Second, calculate the result through a different arrangement of the same governing law or a limiting-case approximation. Third, state the span over which the model has been calibrated or independently verified. Fourth, document whether the result is meant to represent an instantaneous value, an RMS estimate, an average over a defined interval or a statistical bound. These distinctions affect what can legitimately be compared with a manufacturer's specification.

Solved Problem Example 2.5: Problem 2.5: Prompt. Define the unknown quantity and the physical equation fir

Prompt. Define the unknown quantity and the physical equation first, then state the numerical or symbolic substitution. Provide the predicted output with its proper unit and a check against a plausible nonideal mechanism. End with one sentence explaining which evidence would be required before treating the output as a real measurement.

Answe...

Answer and grading guidance. Relevant relation: For direct counting N in gate Tg: fhat=N/Tg; one-count scale Δf≈1/Tg.. Use the worked example of [Lesson 2.1](../lessons/U02-L01-frequency-counters-and-finite-gate-time.html) as a numerical reference and modify only the variable requested. The specific limitation is The ±one-count resolution scale is not a comprehensive uncertainty interval. Threshold jitter and an inaccurate timebase remain even if counting resolution becomes extremely fine.. Award 3 marks for correct mathematics, 2 for units and physical interpretation, 2 for identifying an independent check, and 1 for a defensible uncertainty statement.