123 Main Street, New York, NY 10001

Utility Metering Module (Polyphase AFE, RTC, Anti-Tamper)

← Back to: IoT & Edge Computing

A Utility Metering Module is the “measurement + time integrity + tamper evidence” core of an electricity meter: it turns polyphase voltage/current sensing into auditable energy data with trusted timestamps. Its engineering success depends on a closed error budget, drift-controlled calibration, and noise/isolation design that keeps PLC/wireless interfaces from corrupting measurements.

H2-1|What is a Utility Metering Module (and what it is not)

The module is a metering sub-system that turns polyphase voltage/current into billable energy registers and tamper-grade evidence. It must keep measurement and time integrity close to the data source and expose only clean outputs to the rest of the product.

What it owns

Polyphase sensing chain, metering compute outputs, RTC timestamping for TOU/events, tamper detection signals, and a durable event-log contract.

What it exposes

Energy/power telemetry + alarms + event logs over a defined hardware interface (e.g., SPI/UART/I²C), with isolation and noise boundaries clearly stated.

What it is NOT

Not a gateway, not cloud/AMI architecture, not secure OTA workflows, not PTP/SyncE timing algorithms, and not PLC/Wi-Fi/Cellular protocol stacks.

A practical definition is “module-level,” meaning responsibilities are split between the metering core (AFE/SoC), the host controller, and the communications block. The split must be engineered around determinism, traceability, and noise containment:

  • Close to the analog domain: synchronous sampling, stable reference behavior, and raw measurement integrity signals belong to the metering AFE/SoC side to minimize uncontrolled noise and timing ambiguity.
  • Close to the time source: time-stamped events and TOU buckets require a clear “time validity” concept (e.g., backup present, set-time events, drift flags) so disputes can be re-checked later.
  • Close to evidence generation: anti-tamper should produce structured evidence (type, severity, duration, snapshots), not unbounded narratives, to keep logs compact and comparable across firmware revisions.
  • Outside the module boundary: transport protocol stacks and cloud workflows can change frequently; the metering module should only publish a stable hardware/data contract.
Function Best home Why (engineering reason) Minimal interface contract
Synchronous sampling Metering compute Metering AFE / metering SoC Phase coherence and deterministic accumulation are needed for stable P/Q/Wh under PF and harmonics. Registers for instantaneous metrics + energy accumulators; saturation/overrange flags.
RTC timestamp TOU buckets Metering core + backup domain Traceability requires timestamp consistency and explicit time-valid status at the point of event creation. Time-valid flags, set-time event markers, drift/backup status; TOU bucket indexing.
Anti-tamper sensing Event log Metering core (evidence) + host (policy) Local evidence is stable and low-latency; policy/threshold updates may be product-specific and change over time. Event schema: type, severity, duration, timestamp, snapshots pointer; debounced status bits.
PLC / wireless protocol stack Cloud flow Outside the metering module High churn and product-specific; mixing stacks into metering boundary increases risk and debugging ambiguity. Only: physical interface, isolation boundary, power/noise constraints, CRC/retry requirement (concept level).
Boundary rule for cross-references: if a gateway/cloud/OTA topic must be mentioned, keep it to ≤3 sentences and link to the sibling page. Do not expand architecture or procedures inside this metering module page.
Figure U1 — Module boundary: owns measurement + time + evidence
Utility Metering Module (Boundary) Owns: Measure • Time • Evidence In Scope (Metering Sub-System) Out of Scope Sensing Va/Vb/Vc/Vn • Ia/Ib/Ic/In SHUNT CT ROGOWSKI Polyphase Metering AFE ΣΔ ADC • Sync sampling • Accumulators Energy / Power Registers RTC / TOU Integrity Timestamp • Backup rail • Time validity BACKUP TOU Anti-Tamper & Event Log Evidence • Severity • Duration • Snapshots MAG COVER External Interface Boundary SPI / UART / I²C • Isolation boundary • Noise constraints SPI UART I²C Gateway / Cloud Secure OTA PTP / SyncE Protocol Stacks Mention only as a boundary.
Diagram intent: keep measurement/time/evidence inside the metering boundary; treat PLC/wireless, gateway, OTA, and protocol stacks as external systems.

H2-2|System placement & signal/data flow (polyphase → compute → log → link)

A utility metering module must be described as a deterministic pipeline. Every downstream accuracy claim, tamper decision, and field debug step should map back to a specific stage: sensing → conditioning → synchronous sampling → compute outputs → timestamped events → logs → interface boundary.

Pipeline stages

Polyphase inputs → analog conditioning → sync sampling → energy/power outputs → RTC timestamp → tamper events → event log → interface.

Outputs (contract)

Fast telemetry, billable registers, status/alarms, and structured events with time validity and snapshot references.

Interface boundary

PLC/wireless modules are treated as external; only physical interface, isolation boundary, and noise constraints are defined here.

To keep debugging fast and disputes resolvable, the module should publish a data contract rather than raw streams. The contract is best expressed in four layers, each with clear “evidence” and “validity” flags:

  • Fast telemetry: Vrms/Irms, P/Q, PF, frequency, harmonic indicators (concept-level). Used to explain “why the register changed.”
  • Billing registers: Wh/varh accumulators (per phase and total), optionally bucketed for TOU. Used for settlement and audit.
  • Status & integrity flags: overrange/saturation, sensor fault hints, time-valid state, and tamper candidate bits (debounced).
  • Event log entries: type + severity + duration + timestamp + snapshot pointer, enabling consistent forensics across firmware versions.
I/O Class Signal / Item Domain Why it matters Typical evidence to capture
Analog In Va/Vb/Vc/Vn Ia/Ib/Ic/In HV / Analog Defines the measurable envelope; conditioning choices decide noise, phase integrity, and saturation behavior. Overrange flags, channel balance checks, basic stats (min/max/rms), saturation counters.
Digital Out Fast telemetry Wh/varh Pulse out (optional) Digital Telemetry explains register motion; accumulators are audit targets; pulses provide an external sanity check. Telemetry snapshots at event boundaries; accumulator deltas; pulse-rate vs register sanity checks.
Time RTC timestamp TOU bucket index time_valid Backup Disputes require traceable time; time validity must be explicit during backup/resets/time-set events. time_valid transitions, set-time event markers, backup present flag, drift/restore markers (concept-level).
Tamper MAG COVER Reverse / missing neutral Mixed Tamper should be evidence-driven (multiple indicators) to reduce false positives and improve explainability. Event type + severity + duration; pre/post telemetry snapshots; tamper candidate bits and debounce timing.
Interface SPI/UART/I²C IRQ Isolation boundary Isolated / Digital Interfaces must not inject noise into analog domains; isolation placement must be intentional and reviewable. IRQ cause codes, CRC/retry requirement (concept-level), interface error counters, isolation-side supply monitoring.
Boundary rule for PLC/wireless: only hardware coupling, isolation, and noise paths are described here. Protocol stacks and authentication workflows are out of scope.
Figure U2 — End-to-end data flow: polyphase → compute → timestamp → events → link
Signal & Data Flow (Deterministic Pipeline) Polyphase Inputs Va/Vb/Vc/Vn Ia/Ib/Ic/In Analog Conditioning Anti-alias • Protection Phase integrity Polyphase Metering AFE ΣΔ ADC • Sync sampling • Digital filters Sync Sampling Phase-coherent Accumulators Wh / varh / P,Q RTC Timestamp / TOU Integrity time_valid • backup present • set-time events TIMESTAMP Anti-Tamper + Event Log type • severity • duration • snapshots EVENT timestamp snapshot ptr Interface Boundary SPI/UART/I²C • isolation • noise constraints SPI UART I²C External PLC / Wireless Module (Boundary) No protocol-stack deep dive here Isolation boundary (concept) Noise path control
Diagram intent: define a stable pipeline and contracts (telemetry, registers, flags, events) while keeping PLC/wireless as an external boundary.

H2-3|Front-end sensing choices: shunt vs CT vs Rogowski (what breaks first)

Current sensing is the first place metering accuracy can collapse. The best choice is the one whose failure mode is controllable: phase error under low power factor, temperature drift over long dwell, and saturation or nonlinearity during inrush or fault events. This section compares shunt, CT, and Rogowski with the matching front-end blocks and the fastest ways to validate what fails first.

Decision drivers

Min measurable current • max current/inrush • PF/harmonics • allowable burden loss • mechanical install repeatability.

Accuracy killers

Phase mismatch • temperature drift/self-heating • saturation/nonlinearity • noise injection via ground/common-mode paths.

Front-end must-haves

Conditioning (burden/TIA/integrator) • anti-alias • input protection • isolation boundary awareness.

Selection should be done as an engineering closure loop: error source → field symptom → evidence → quickest test. The “break-first” items below are the most common reasons a meter looks stable at nominal load but drifts, undercounts, or becomes PF-sensitive.

  • CT: saturation and phase shift are the top risks; problems amplify at low PF and during high-current transients.
  • Shunt: self-heating and common-mode/ground return noise dominate at long dwell and light-load conditions.
  • Rogowski: integrator drift and low-frequency error dominate; behavior near DC/very low frequency is the weak point.
Type Strength What breaks first Phase / PF sensitivity Temp drift risk Saturation / nonlinearity Typical front-end blocks Anti-tamper observation points (concept)
Shunt Best low-frequency fidelity; direct measurement path; strong linearity when kept in range. Self-heating drift; ground/common-mode noise coupling under mixed-signal stress. Good intrinsic phase; errors mainly from layout/filters and channel mismatch. High (I²R + TCR + thermal gradient). Low unless protection clamps or amplifier range limits are hit. Kelvin sense Diff input / PGA RC anti-alias Input protection Unexpected gain drift vs temperature; phase stable but energy register shifts; channel imbalance patterns.
CT Galvanic isolation by nature; low insertion loss; robust at mid/high currents. Saturation during inrush/fault; phase error under low PF and harmonic-rich loads. Medium–High; phase depends on core, burden, and frequency. Medium (core/material + burden drift). High at transient overcurrent; recovery behavior matters. Burden RC anti-alias Clamp/protection AFE input range Overcurrent events without proportional register motion; PF-dependent bias; saturation flags correlate with error bursts.
Rogowski Wide bandwidth for fast transients; no core saturation in the same way as CT. Integrator drift; low-frequency / near-DC error becomes dominant. Depends on integrator and filtering; delay mismatch can distort P/Q split. Medium–High (integrator components + offset drift). Low core saturation risk; integrator/amplifier rails can still clip. Integrator (concept) Anti-alias Protection Offset control Energy register inconsistent with transient activity; drift visible in long idle; low-frequency test shows large bias.
Out-of-scope reminder: load-side relay/solid-state switching topology and socket control belong to Submeter / Smart Plug. This section only covers the sensing element and the metering front-end chain.
Figure U3 — Sensing choice map: sensor → conditioning → anti-alias → protection → AFE
Front-End Sensing Choices (What Breaks First) SHUNT CT ROGOWSKI SENSOR SHUNT KELVIN SENSE ANTI-ALIAS RC PROTECTION AFE INPUT / PGA SENSOR CT BURDEN ANTI-ALIAS RC CLAMP / PROTECT AFE INPUT RANGE SENSOR COIL INTEGRATOR ANTI-ALIAS PROTECTION AFE INPUT / PGA ! Break-first: HEAT/CM NOISE ! Break-first: SATURATION/PHASE ! Break-first: INTEGRATOR DRIFT All options require: phase integrity • anti-alias discipline • protection that does not corrupt light-load accuracy
Use this map to keep discussions at the sensing + front-end boundary: sensor element, conditioning, anti-alias, protection, and AFE input range.

H2-4|Polyphase metering AFE architecture (ΣΔ ADC, PGA, digital filters, accumulators)

A polyphase metering AFE is not “just an ADC.” It is a controlled chain that turns phase-coherent samples into stable billing registers. Architecture understanding enables correct AFE selection and faster root-cause isolation when low-current accuracy, PF sensitivity, or transient behavior looks wrong.

Inside the AFE

PGA/range control → ΣΔ modulation → decimation (SINC) → phase alignment → compute engine → registers/IRQ/pulse.

Why sync sampling matters

Inter-channel phase mismatch turns into P/Q split error, especially at low PF and harmonic-rich loads.

Low-current accuracy

Determined by usable linear range + noise floor + reference stability, not just “ADC bits.”

  • Input range and PGA: keep signals inside the AFE’s linear window across both light-load and high-current conditions.
  • ΣΔ + decimation (concept): digital filtering suppresses out-of-band noise but introduces group delay that must remain matched across phases.
  • Phase-coherent sampling: consistent timing across channels is a prerequisite for stable power factor and accurate active/reactive separation.
  • Accumulators: energy registers should be treated as deterministic outputs with explicit saturation/overrange and integrity flags.
  • Diagnostics: temperature/overrange/status bits convert “mystery drift” into evidence that can be logged and correlated.
  • Minimal host interface (concept): read telemetry/registers/status; write calibration coefficients; handle IRQ cause codes and pulse outputs.
AFE block Selection focus What goes wrong when mis-sized Useful evidence / hooks (concept)
PGA / input range Linear region coverage for both light-load and peak current; avoid clipping and avoid too-small effective signal. Light-load becomes noisy/biased; peaks clip and recovery causes bursts of error. Overrange flags, clip counters, gain setting readback, per-phase balance sanity checks.
ΣΔ modulator Stable behavior near range limits; predictable overload handling. Nonlinear distortion under stress; unexpected sensitivity to fast transients. Saturation indicators, modulator status bits (if available), telemetry snapshots during events.
Decimation / SINC (concept) Out-of-band noise rejection vs latency; matched delay across phases. PF-sensitive drift due to mismatch; delayed response hides transient evidence. Known group-delay behavior (spec), phase alignment calibration residue (concept), consistent channel latencies.
Compute + accumulators Register granularity (per-phase/total), stable accumulation, and consistent scaling. Registers “move” but cannot be explained; mismatch between telemetry and billing. Energy register deltas + instantaneous P/Q/PF snapshots; pulse output as external sanity check.
Diagnostics & outputs Temperature sensing, integrity flags, pulse/IRQ options for field correlation. Debugging becomes slow; false “tamper” suspicion due to missing evidence trail. IRQ cause codes, temperature readouts, status flags, pulse rate vs accumulator cross-check.
Out-of-scope reminder: secure boot, TPM/HSM platform design, and OTA procedures are not covered here. This section only states the minimal host interface needs for metering operation and logging (concept-level).
Figure U4 — Inside a polyphase metering AFE: range → ΣΔ → SINC → align → compute → outputs
Polyphase Metering AFE — Internal Blocks (Concept) AFE Boundary INPUTS Va/Vb/Vc/Vn Ia/Ib/Ic/In PGA RANGE ΣΔ ADC MODULATOR DECIMATE SINC (concept) ALIGN PHASE COMPUTE ENGINE P/Q/PF • Wh/varh • per-phase + total REGISTERS FLAGS PULSE DIAGNOSTICS TEMP • OVR • IRQ STATUS BITS REF STABILITY CLK SYNC HOST INTERFACE (minimal) Read telemetry/registers/status • Write calibration • Handle IRQ/pulse KEY: PHASE-COHERENT CHANNELS
Diagram intent: treat the AFE as a deterministic pipeline. Range control and phase coherence decide low-current accuracy and PF sensitivity.

H2-5|Accuracy & error budget that actually closes (gain/phase/offset/drift/harmonics)

“Accuracy” must be treated as a closed budget, not a slogan. A metering chain can look stable in nominal conditions yet undercount or drift when power factor drops, harmonics rise, or the load enters the light-current region. This section converts the common error sources into a verifiable template: each item maps to a physical cause, a calibratability class, and a concrete validation method with evidence that should be logged.

Error categories

Gain • phase • offset • noise • drift/temperature • frequency/harmonics • sensor nonlinearity/saturation.

Where errors amplify

Light load (noise/offset dominate) • low PF (phase becomes highly sensitive) • harmonic-rich waveforms.

Closure rule

Every error line must specify: source → calibratable? → field symptom → validation evidence.

Polyphase metering errors are coupled: a small phase mismatch across channels can become a billing error because real power depends on the V–I phase relationship. The practical lesson is simple: phase issues often hide at PF≈1 and appear suddenly when PF decreases or when waveform distortion increases.

P ≈ Vrms · Irms · cos(φ)
Phase error Δφ ⇒ P’ ≈ Vrms · Irms · cos(φ + Δφ)
Sensitivity grows as PF decreases (larger φ) and as harmonics increase (effective phase and distortion effects).
  • Looks right, bills wrong at low PF: channel-to-channel phase mismatch, filter/group-delay mismatch, CT phase behavior, or timing misalignment.
  • Light-load instability: offset/noise floor dominates, PGA/range not optimized, reference drift, leakage/protection parasitics.
  • Harmonic-rich loads: frequency/phase response of the sensing + anti-alias chain and the digital filter configuration becomes decisive.
Error item Primary source Calibratable? Dominant conditions Field symptom Validation method Evidence to log (concept) Mitigation knob (concept)
Gain Sensor sensitivity; burden/shunt/TIA; PGA/REF scaling Yes All loads; shows as proportional bias Consistent kWh bias across conditions Two/three-point gain check (low + mid + high) Per-phase gain coefficients; ref/temperature snapshot Factory gain calibration; range setting policy
Phase CT phase; channel delay mismatch; filter group delay; sampling alignment Partial Low PF; harmonic-rich waveforms PF-dependent billing error; P/Q split anomalies PF sweep / controlled phase shift test (concept) Phase coefficients; channel latency config; PF snapshots Phase alignment; matched filtering; channel sync discipline
Offset Amplifier offset; integrator drift; ADC/DC bias Yes Light load Non-zero power at near-zero current; drift after warm-up Zero-input / near-zero test; warm-up drift observation Zero-point registers; temperature; elapsed time since power-up Offset calibration; periodic zero tracking (bounded)
Noise floor Analog noise; quantization; EMI coupling via ground/common-mode No Light load; noisy environments Jittery readings; random kWh creep Repeatability test; spectrum/variance snapshot (concept) RMS variance; channel imbalance; supply noise snapshot Layout/CM control; filtering choice; range optimization
Temperature drift Shunt self-heating (TCR); reference drift; sensor/core temp behavior Partial Long dwell; temperature cycles Slow bias that correlates with temperature Temperature sweep; hold at plateaus (concept) Temperature vs error curve; coefficient version LUT/model compensation; mechanical/thermal design controls
Nonlinearity / saturation CT saturation; amplifier clipping; protection clamp conduction Mostly No Inrush; overload; fast transients Error bursts after high-current events; recovery artifacts Step/overload event test; recovery observation Overrange flags; event timestamps; burst error windows Headroom policy; protection strategy; sensor selection limits
Frequency / harmonics Sensing chain frequency response; anti-alias & digital filter choice Partial Harmonic-rich waveforms Condition-dependent bias; waveform-dependent P/Q deviation Waveform class test (sin vs distorted) (concept) Configuration tags (filter/range); PF and distortion indicators Matched response; filter configuration control
Out-of-scope reminder: this page does not walk through standards clause-by-clause. Treat “targets/grades” as constraints, and close the budget using verifiable error lines and evidence.
Figure U5 — Error budget map: sources → amplifiers (light load / low PF / harmonics) → kWh deviation
Accuracy Closure: Error Budget Map (Concept) ERROR SOURCES SENSOR GAIN PHASE NONLIN ANALOG FRONT-END OFFSET NOISE DRIFT SAMPLING & SYNC PHASE MISM. JITTER CLK DIGITAL FILTERS GROUP DELAY HARM SCALE AMPLIFIERS LIGHT LOAD offset + noise dominate LOW PF phase becomes sensitive HARMONICS freq/phase response matters OUTCOME kWh DEVIATION EVIDENCE LOG IT MITIGATE CAL / DESIGN CAL / PARTIAL / NO
Use the map to keep the discussion “budget-based”: identify the error source class and the condition that amplifies it, then log evidence and close the loop.

H2-6|Calibration & compensation workflow (factory, field, drift control)

Calibration must be a controlled workflow with acceptance criteria and record fields, not an ad-hoc knob turning exercise. The goal is to establish a stable baseline (factory), decide when field re-check is justified (evidence-based), and apply compensation only within validated boundaries—so repeated recalibration does not “improve yesterday and break tomorrow.”

Factory baseline

Few-but-effective points: offset + multi-point gain + phase alignment; limited temperature points to capture drift direction.

Field decision

Recalibrate only when drift is repeatable and correlated to evidence—not when symptoms indicate system-level issues.

Compensation control

LUT or simple models with verification; track coefficient versions; protect NVM consistency and endurance.

  • Factory: offset → gain points → phase alignment → temperature points → repeatability check.
  • Field check first: confirm whether the symptom follows load class (light-load/low PF/harmonics) or follows temperature/time/event history.
  • Recal trigger (concept): systematic bias with repeatability; strong temperature correlation; stable measurement conditions but persistent deviation.
  • Compensation boundary: LUT/model is valid only within the validated range; mechanical changes and sensor saturation behavior are not “fixed” by math.
  • NVM write robustness (concept): versioned records, two-copy strategy, and write throttling to avoid endurance burn and power-loss corruption.
Stage Input conditions (concept) Steps Acceptance (concept) Record fields (concept)
Factory baseline Stable mains and current source; warm-up completed; known PF class if applicable. Zero/offset → low/mid/high gain points → phase alignment sanity → repeatability. Per-point error within target; per-phase consistency; repeatability within limit. Coeff version; test set ID; temperature; timestamp; pass/fail code; configuration tag.
Temperature sweep Limited but representative points (e.g., ambient + one side or both sides). Measure drift trend → fit LUT/model → verify on hold plateaus. Error curve collapses after compensation; no new PF sensitivity introduced. Temp points; fitted parameters; residual error; coefficient version.
Field check Known reference load or portable check; stable wiring; minimize unknowns. Classify symptom: light-load vs low PF vs harmonics vs event-linked. Decision is evidence-based: recalibrate only if repeatable systematic bias. Load class tag; PF snapshot; distortion indicator (if available); status flags; temperature.
NVM update Power stable; write throttling enabled. Write new coeff set with versioning; keep previous copy; verify readback. Atomicity: one valid copy always present; checksum/version match. Active version; previous version; checksum; write count; last-good marker.
Out-of-scope reminder: firmware update signing/rollback belongs to Secure OTA Module. This section only covers calibration, compensation control, and NVM robustness at the metering-module boundary (concept-level).
Figure U6 — Closed-loop calibration: factory baseline → verify → store → field check → decide → compensate → verify → log
Calibration & Compensation — Closed Loop Workflow FACTORY BASELINE offset • gain • phase VERIFY repeatability STORE COEFF versioned • two-copy LOG fields + tags FIELD CHECK classify symptom DECIDE: RECAL? only with evidence ! Avoid blind recalibration COMPENSATE LUT / model VERIFY residuals NVM ROBUSTNESS (concept) write throttling • versioning • two-copy • power-loss safe update • readback check Rule: classify the symptom first (light-load / low PF / harmonics / event-linked), then recalibrate only with repeatable evidence.
Workflow intent: preserve a stable factory baseline, avoid blind field recalibration, and keep compensation within validated boundaries with versioned records.

H2-7|RTC, TOU, and time integrity (backup, drift, event timestamping)

In a utility metering module, time is not “nice to have.” Time is part of the auditable metering output: energy + when it happened + whether the timestamp is trustworthy. The RTC domain must survive power transitions, quantify drift, and label time quality so TOU windows and event logs remain reviewable.

Why RTC belongs here

TOU windows, tamper events, calibration changes, and power incidents require timestamps that can be reviewed later.

Time integrity principle

Track not only “time,” but also time quality: valid / suspect / invalid.

Scope boundary

Upstream time sync may exist, but system sync algorithms (PTP/SyncE) are out of scope for this page.

RTC drift & timestamp error sources (what shifts first)

  • Crystal initial tolerance: part-to-part frequency offset and load-capacitance sensitivity.
  • Temperature behavior: short-term drift and slope changes during fast ambient transitions.
  • Aging: slow monotonic drift over months/years (trend, not random noise).
  • Power transitions: supply switchover glitches, backup-domain brownout, or unintended resets.

Backup strategy (keep “time” and the minimum audit trail)

Backup power is selected by holdover time, temperature, maintenance constraints, and transient robustness. The backup domain should preserve: RTC counter calibration/version ID event sequence last critical-event digest so logs remain ordered and reviewable after outages.

Topic What can go wrong Engineering control (concept) How to verify (concept) Evidence to log (concept)
RTC drift Timestamp slowly diverges; TOU boundaries shift Frequency trim; limited temperature points; drift model/LUT bounded by validation Soak + temperature step; trend check vs reference clock (concept) trim value; temperature; elapsed time; time_quality flag
Switchover RTC resets or jumps during main→backup transitions Dedicated backup rail; brownout detection; clean reset handling Power-cycle profile test; switchover waveform observation (concept) power_event timestamp; reset cause; time_valid→suspect window
TOU windows Disputed billing windows due to unclear time basis Window markers stored with time_quality and config tag Window-crossing replay; verify marker continuity TOU window ID; start/end markers; quality flag
Event timestamping Events cannot be reconstructed (missing context) Pre/post snapshots and monotonic event sequence Inject event; confirm snapshot linkage and ordering timestamp + seq + type + duration + snapshot_index
Backup choice Holdover too short; cold/hot operation fails; maintenance burden Coin cell / supercap / small battery selection by constraints Holdover test at temperature extremes (concept) backup type; expected holdover; measured holdover
Practical “time quality” labels (concept): time_valid (recently aligned and stable), time_suspect (during/after power transitions or large temperature steps), time_invalid (detected reset/jump or missing basis). Store the label with each critical log entry.
Figure U7 — Time integrity architecture: main power + backup domain + drift control + time-quality flags
RTC + TOU + Time Integrity (Module Boundary) POWER & BACKUP MAIN POWER 24V / DC REGULATORS SWITCHOVER OR / MUX BROWNOUT BACKUP SOURCES COIN CELL SUPERCAP SMALL BATTERY RTC DOMAIN OSCILLATOR 32k XTAL TEMP SENSOR RTC CORE COUNTER TRIM DRIFT CONTROL LUT / MODEL VERIFY TIME QUALITY VALID SUSPECT BAD TIMESTAMP USERS TOU WINDOWS markers + quality EVENT LOG timestamp + seq pre/post snapshot AUDIT REPLAY ordered evidence OPTIONAL TIME SYNC IN (not expanded) Keep: RTC counter • coeff/version • event sequence • critical-event digest • time_quality
The diagram focuses on module-level time integrity: backup survival, drift control, and explicit time-quality labeling for audit replay.

H2-8|Anti-tamper: what to sense, how to decide, how to log

Anti-tamper becomes actionable only when it closes a loop: observable signals → decision policy → evidence log. The metering module should detect practical tamper classes (wiring tricks, phase anomalies, bypass behavior, magnetic/cover events, and sensor faults) while controlling false alarms using hysteresis, debounce, and multi-evidence voting.

What to sense

V/I consistency • phase/PF anomalies • energy sign • missing phase/neutral indicators • magnetic/cover • sensor health.

How to decide

Threshold + hysteresis + debounce + evidence voting (avoid “single-threshold” traps).

How to log

Timestamp + sequence + type + severity + duration + pre/post snapshots + time_quality (from H2-7).

Common tamper classes (module-level view)

The list below stays in the module boundary. It focuses on detectable contradictions and evidence capture, not on cryptographic signing or cloud forensics.

  • Reverse / backflow: energy sign and phase relationship conflict with expected direction.
  • Missing phase / missing neutral: phase presence mismatch and cross-phase inconsistencies.
  • Phase sequence swap: abnormal phase ordering patterns and PF anomalies (concept).
  • Bypass: voltage present while current path evidence is inconsistent or suddenly drops without physical cause.
  • Strong magnetic field: magnetic sensor event + sensor behavior anomaly (e.g., CT response distortion) (concept).
  • Cover open: cover switch triggers; log context around entry/exit.
  • Sensor open/short/saturation: self-check flags, out-of-range, stuck readings, recovery artifacts.
Tamper scenario Primary observables (concept) Decision guardrails (concept) Evidence log fields (concept)
Reverse / backflow energy_sign phase/PF anomaly V/I consistency Debounce window + severity by duration; confirm with ≥2 signals timestamp, seq, type, sign, duration, pre/post snapshot, time_quality
Missing phase / neutral phase_presence cross-phase mismatch overrange/underrange Hysteresis on presence thresholds; ignore short transient dips timestamp, seq, affected_phase, magnitude, duration, snapshot_index, time_quality
Phase sequence swap phase_order pattern PF discontinuity Require stable pattern for N cycles; avoid triggering on load steps timestamp, seq, type, phase_order_state, duration, pre/post snapshot
Bypass V present I unexpectedly low sudden step change Vote with “suddenness” + persistence; do not trigger on known outages timestamp, seq, type, delta(I), duration, snapshot before/after
Strong magnet mag sensor sensor distortion nonlinearity flags Dual-evidence requirement; classify as warn→critical if persistent timestamp, seq, type, mag_level, sensor_flags, duration, snapshot
Cover open cover switch time window Immediate log; optionally delay alarm until persistence threshold timestamp, seq, entry/exit, duration, time_quality, nearby events
Sensor open/short/saturation health flags overrange stuck readings Prioritize self-check + consistency; record recovery behavior timestamp, seq, sensor_id, fault_code, duration, recovery markers
False-alarm control (concept) should be explicit: hysteresis to avoid edge-chatter, debounce to ignore transients, and multi-evidence voting so a single noisy signal does not create a support incident. Cryptographic signing / cloud chain-of-custody is intentionally out of scope.
Figure U8 — Tamper closure loop: observables → decision pipeline → evidence log (with false-alarm guard)
Anti-tamper Pipeline (Detect → Decide → Log) OBSERVABLES V/I PER PHASE PHASE / PF ENERGY SIGN MAG / COVER SENSOR HEALTH FEATURE CHECKS CONSISTENCY MISSING PHASE/NEUTRAL REVERSE / BACKFLOW BYPASS / SUDDEN STEP MAG / COVER EVENTS DECIDE & LOG THRESHOLD HYSTERESIS DEBOUNCE VOTING (2-of-3) EVIDENCE LOG timestamp + seq + type severity + duration pre/post + time_quality False-alarm guard: transient • temp • switchover
Implementation intent: classify using multiple observables, stabilize decisions with hysteresis/debounce, then store reviewable evidence with timestamp + sequence + snapshots + time_quality.

H2-9|Power, isolation, and survival on the mains (24/110/230/400V realities)

A utility metering module must do two things in real mains environments: survive (surge/EFT/ESD, miswiring, ground potential differences) and stay accurate (keep analog references and sampling stable while digital and comm domains switch hard). This chapter focuses on module-level power partitioning, isolation boundaries, protection placement, and “minimum pitfalls” in grounding/layout.

Domain partition

HV entry → primary conversion → analog / digital / comm rails → RTC backup domain.

Isolation boundary

Separate metering-sensitive areas from external comm/debug to block ground loops and common-mode injection.

Protection logic

Place protection to control energy and return paths, not just “add parts.”

Power domains: what is noise-sensitive vs reset-sensitive

Domain separation is primarily about preventing high di/dt currents and comm bursts from contaminating the metering reference. Typical rails include: ANALOG DIGITAL COMM RTC BACKUP with explicit coupling control (filters, return-path control, and switchover integrity).

Domain Typical loads Most sensitive to Design focus (concept) Common failure symptom (concept)
HV entry / primary Input protection, primary conversion Surge energy, EFT fast edges Energy steering, clear return paths, spacing/creepage strategy (concept) Field damage, nuisance resets, protection overheating
Analog rail AFE, reference, anti-alias filters Reference noise, ground bounce Clean local returns, quiet reference routing, limited coupling from comm Light-load inaccuracy, drift-like errors, tamper false triggers
Digital rail Metering SoC/MCU, memory Brownout, clock/EMI injection Reset integrity, decoupling, controlled switching currents Random reboots, corrupted logs, missing events
Comm rail PLC/wireless module, transceivers Burst current, conducted EMI Local bulk caps, filters, isolate return loops from analog areas Measurement “jumps” during transmit, increased false alarms
RTC backup RTC + holdover fields Switchover glitches, long holdover Clean switchover, time-quality labeling, preserve sequence/log continuity Time jump, out-of-order logs, TOU disputes

Isolation boundary: metering vs external comm/debug (principles)

  • Break ground-loop paths: external cables and remote grounds must not inject common-mode currents into metering references.
  • Contain surge energy: keep surge return paths on the “outside” of sensitive measurement areas.
  • Preserve observability: isolate comm/debug while keeping module-level status pins and diagnostics consistent.

Protection placement logic (module-level)

Protection works when it controls where energy flows. Place devices so the high-energy current returns do not cross analog references or digital reset-critical rails. Use a layered strategy: ENTRY INTERFACE ISOLATION BARRIER SENSITIVE LOAD and verify return paths.

Grounding/layout “minimum pitfalls” (concept): keep high di/dt loops tight in their own domain; avoid comm return currents crossing the analog reference region; avoid stitching points that force surge/ESD currents through measurement ground. If a placement change alters accuracy, treat it as a return-path problem first.
Figure U9 — Domain partition + isolation barrier + protection placement (module survival without accuracy loss)
Mains Survival: Power Domains + Isolation + Protection Paths HV ENTRY 24 / 110 / 230 / 400V SURGE / EFT / ESD ENTRY RETURN PRIMARY POWER AC/DC or DC/DC ENERGY STEERING keep currents off metering reference LOW-VOLTAGE DOMAINS ANALOG RAIL AFE / REF (noise-sensitive) DIGITAL RAIL MCU / FLASH (reset-sensitive) COMM RAIL PLC / RF (burst current) RTC BACKUP DOMAIN holdover + time_quality SWITCHOVER BROWNOUT EXTERNAL I/O ISOLATION BARRIER COMM CABLES ground loops risk DEBUG PORT CM injection risk PROTECTION AT I/O ESD/EFT clamp return path control RAIL DIP → REF SHIFT GND BOUNCE Rule: steer high-energy returns away from analog reference • isolate external grounds • keep burst currents in COMM domain
The diagram is module-focused: domains, isolation, and return-path control that directly impacts accuracy and log continuity.

H2-10|PLC / wireless links as a hardware interface (coupling, isolation, noise paths)

PLC and wireless are treated here as hardware interfaces, not protocol stacks. In a metering module they introduce coupling networks, burst currents, clock/EMI sources, and new return paths. The objective is simple: keep comm activity from corrupting measurements or creating false tamper events, while defining interface-level data integrity requirements (frame/CRC/timeout/retry).

PLC coupling reality

Coupling sets impedance/bandwidth constraints and defines surge entry paths that must be steered.

Wireless burst reality

TX bursts and clocks can pollute rails and ground; isolate returns and stabilize the comm rail locally.

Integrity requirements

Define minimal interface needs: frame/CRC, sequence, timeout, retry policy—without protocol deep dive.

PLC: coupling & protection roles (concept constraints)

  • Impedance / bandwidth constraints: coupling network changes what the line “looks like” at the interface.
  • Surge path definition: coupling is a physical entry path; protection must be placed to keep energy off sensitive returns.
  • Common-mode control: keep PLC-related common-mode disturbances from shifting metering references.

Wireless: power and clock noise paths that hit metering

A typical field failure pattern is: TX BURSTCOMM RAIL DROOPGND BOUNCEREF SHIFTERROR / FALSE TAMPER. Mitigation stays in hardware: local energy storage, rail filtering, and return-path confinement in the comm domain.

Interface aspect Minimum requirement (concept) Why it matters to metering Suggested logged evidence (concept)
Frame integrity CRC + frame length checks Prevents corrupted reads becoming “billing” data crc_fail_count, last_fail_time, link_quality (concept)
Ordering sequence field or monotonic counter Stops duplicates/replays from being treated as new events seq_gap, duplicate_count, last_seq
Timeout handling timeout + bounded wait Avoids blocking critical logging/tamper handling timeout_events, recovery_action
Retry policy retry with cap + backoff (concept) Limits comm storms that inject noise into rails retry_count, backoff_state, comm_active_window
Data context Attach timestamp + time_quality + event_seq Keeps auditability when comm is lossy or delayed time_quality, event_seq, payload_tag
Scope reminder: this section does not explain G3/PRIME/Wi-Fi/cellular stacks or certification. It only defines the hardware interface constraints and integrity needs that keep metering and anti-tamper stable.
Figure U10 — PLC / wireless as hardware aggressors: coupling, rail/ground noise paths, and mitigation blocks
PLC & Wireless Interface: Noise Paths and Mitigations LINE / AIR SIDE PLC LINE surge entry path COUPLER IMPEDANCE BANDWIDTH ANTENNA RF burst source WIRELESS MODULE TX burst + clocks INTERFACE & POWER I/F SIGNALS SPI / UART / IRQ COMM RAIL STABILITY LOCAL CAP FILTER RETURN PATH CONTROL keep bursts local ENTRY / I/O PROTECTION clamp + steer returns METERING SENSITIVE AFE / REF reference stability METERING ENGINE sample / compute TAMPER ENGINE avoid false triggers RTC / LOG timestamp + evidence RAIL DIP GND RETURN SURGE PATH Mitigate: local caps • filters • confined returns • protection returns • integrity needs (CRC/seq/timeout/retry)
The figure treats PLC/wireless as physical aggressors: coupling and bursts create surge/rail/return/clock noise paths that must be blocked before they touch metering references.

H2-11|Validation & debug playbook (what to measure first, what evidence to keep)

This chapter defines an evidence-first debug order for a metering module: capture objective evidence, draw a bounded conclusion, apply a targeted fix, and retest under reproducible stress. The goal is to avoid “blind tweaks” that move the problem without closing it.

1) Minimal validation bench (capabilities, not brands)

A practical bench is defined by capabilities: 3-phase source phase angle control harmonic injection programmable load thermal drift rail ripple / brownout. These capabilities enable reproducible reproduction of phase/PF errors, light-load sensitivity, and tamper false positives.

Example equipment part numbers (reference, not mandatory): Fluke Calibration 6105A electrical power standard :contentReference[oaicite:0]{index=0}; Yokogawa WT5000 precision power analyzer :contentReference[oaicite:1]{index=1}; Chroma 63800 Series AC/DC electronic load (e.g., 63804) :contentReference[oaicite:2]{index=2}.

2) The “three priority evidence” rule (measure these first)

  • Raw sampling statistics: clipping/saturation flags, RMS/peak/crest summaries, missing samples/overruns, per-phase channel skew. RAW
  • Phase & power-factor evidence: phase angle vs load, PF vs temperature, PF behavior under harmonics and low PF. PHASE/PF
  • Temperature & rail ripple evidence: AFE/reference temperature, COMM burst correlation, rail dips/brownouts and reset integrity. TEMP/RIPPLE

If these three evidence classes are captured, most field issuesព诶 problems become bounded quickly: “sensor/analog,” “phase chain,” or “power/return-path.”

3) Tamper validation: reproducible triggers + false-positive evaluation

Tamper validation closes only when a scenario is repeatable and the decision is explainable by logged evidence. Validation must include both: (a) correct trigger under intended tamper stimulus, and (b) false-positive screening under edge operating corners: light load low PF harmonics temperature drift COMM bursts.

Example metering ICs with waveform/harmonic analysis hooks can accelerate reproducible evidence capture (e.g., ADE9000 waveform buffer/harmonics app notes) :contentReference[oaicite:3]{index=3}.

4) Logging strategy: fields that make replay possible

Logs must enable replay without guessing. A minimal replay-capable event record (concept) includes: timestamp time_quality event_seq boot_id config_id plus “before/after snapshots” of RAW, PHASE/PF, TEMP/RIPPLE summaries and COMM activity windows.

Example RTC material part numbers (backup switchover, timestamping): Microchip MCP7940N :contentReference[oaicite:4]{index=4}; NXP PCF2129 with backup battery switchover / timestamp function :contentReference[oaicite:5]{index=5}.

Example material list (part numbers) for validation & debug

The list below is a practical reference BOM for building a bench and enabling evidence capture. Equivalent parts are acceptable.

Category Example part number(s) Used for Evidence it supports
Power source / standard Fluke Calibration 6105A :contentReference[oaicite:6]{index=6} Controlled V/I, phase angle, stress scenarios (concept) PHASE/PF, harmonic sensitivity (bench)
Power analyzer Yokogawa WT5000 :contentReference[oaicite:7]{index=7} Reference measurements (multi-channel, harmonics) PHASE/PF, harmonic-related deltas
Programmable load Chroma 63800 Series (e.g., 63804) :contentReference[oaicite:8]{index=8} Light-load / crest factor / PF corner simulation RAW (clipping), PHASE/PF under corners
Logic capture Saleae Logic Pro 16 :contentReference[oaicite:9]{index=9} SPI/UART/IRQ timing, event correlation, buffer overruns RAW stats correlation, reset/IRQ evidence
Metering AFE (debug hooks) Analog Devices ADE9000 :contentReference[oaicite:10]{index=10} Waveform buffer / harmonic analysis hook-up (concept) RAW evidence, harmonic evidence
Metering MCU/SoC (integrated AFE) Texas Instruments MSP430I2041 :contentReference[oaicite:11]{index=11} Compact metering AFE + MCU reference platform (concept) RAW + PHASE/PF capture consistency
RTC (backup switchover) Microchip MCP7940N :contentReference[oaicite:12]{index=12}; NXP PCF2129 :contentReference[oaicite:13]{index=13} Time integrity, timestamping, holdover labeling Event replay integrity
Optional “evidence sensors” Examples: TI TMP117 (temp); Winbond W25Q64JV (SPI flash); Vishay VEML7700 (enclosure light) Temperature correlation; durable logging; tamper context (concept) TEMP/RIPPLE; log completeness
Protection / survivability Examples: Littelfuse SMBJ TVS series; Bourns 2038 GDT series; TDK ACM common-mode chokes Keep benches and prototypes stable under transients (concept) Noise-path isolation during tests
Isolation for debug ports Examples: ADI ADuM141E; TI ISO7741 (digital isolators) Prevent ground-loop injection during debug Cleaner RAW/TEMP evidence

Output: 5-step debug loop (symptom → evidence → decision → fix → retest)

Step What to do first What evidence to save Bounded conclusion
1) Classify symptom Light-load / low PF / harmonics / temperature drift / COMM-correlated / tamper FP/ FN Test condition snapshot (V/I/PF/frequency/temperature/COMM state) Pick the correct evidence path (RAW vs PHASE/PF vs TEMP/RIPPLE)
2) Capture 3 priority evidence RAW stats + PHASE/PF + TEMP/RIPPLE (in that order) RAW summary + phase angle/PF trace + rail dip/brownout counters Analog/sensor vs phase chain vs power/return-path
3) Decide with boundaries Use one evidence class to exclude two others Decision notes linked to event_seq and config_id Fix is scoped (no “random” parameter tweaks)
4) Apply targeted fix One change at a time: analog chain OR phase alignment OR rail/return-path OR tamper debounce/vote Before/after configuration delta, updated thresholds, layout/return-path note Fix has a measurable target
5) Retest & regress Reproduce original condition, then sweep corners (light-load/low PF/harmonics/temperature/COMM burst) Same evidence set as Step-2 + pass/fail summary Closed loop (repeatable improvement, not accidental)
Figure U11 — Evidence-first validation loop (stimulus → capture → decide → fix → retest)
Validation & Debug Loop (Evidence First) STIMULUS / STRESS PHASE ANGLE HARMONICS LIGHT LOAD TEMP DRIFT COMM BURST rail dip & EMI METERING MODULE AFE / ADC COMPUTE RTC / TIME QUALITY TAMPER DECISION EVENT LOG timestamp + snapshots PRIORITY EVIDENCE RAW STATS clip / skew / overrun PHASE / PF vs load & harmonics TEMP / RIPPLE drift & rail dips DECISION bounded conclusion targeted fix Loop: capture evidence → decide → apply one fix → retest original + corner cases → close with logs
Diagram intent: the bench creates controlled stimulus; the module must expose RAW/PHASE/TEMP evidence; decisions are bounded; fixes are targeted; regression closes the loop.

Request a Quote

Accepted Formats

pdf, csv, xls, xlsx, zip

Attachment

Drag & drop files here or use the button below.

H2-12 — FAQs (answers + evidence-first triage)

These FAQs convert common field questions into an evidence-first checklist. Each answer gives the first 3 proofs to collect, a fast isolate step to split “sensor vs AFE vs power/noise vs logic,” and a short example parts list (illustrative only).

Light-load accuracy Phase chain CT/Shunt/Rogowski risks RTC/TOU integrity Tamper & logs PLC/Wireless noise paths

FAQ list (12)

Q1 Why is the error often worse at light load, and what 3 error sources should be checked first?

Light-load accuracy is usually limited by “fixed” terms (offset, noise floor, leakage paths, drift) that are negligible at high current but dominate when the true signal is small. The goal is to separate a calibration/compensation gap from a hardware floor.

First 3 checks
  • Offset + noise statistics: raw ADC/code histogram at near-zero current; look for bias and quantization/noise dominance. (Read: H2-5)
  • Temperature correlation: error vs board temperature and time-after-load-step (self-heating vs ambient). (Read: H2-5)
  • Calibration coverage: whether the factory/field points actually include the light-load region and PF/harmonic conditions. (Read: H2-6)

Fast isolate: freeze compensation ON/OFF and repeat at two temperatures; if the residual tracks temperature/time constants, drift is dominant; if it stays flat, noise/offset is dominant.

Example parts: metering AFE/SoC: ADE9000ACPZ-RL, MSP430I2041TRHBT; shunt: WSL3637R0100FEA; temperature sensor: TMP117AIDRVR.

Read next: H2-5 (error budget) → H2-6 (calibration workflow)
Q2 In 3-phase metering, where does “phase error” usually come from, and how to quickly tell sensor vs AFE?

Phase error is almost never a single knob. It is the sum of sensor phase shift (CT/Rogowski/shunt path), analog filtering/group delay, channel-to-channel sampling skew, and digital filter/decimation delay differences. The diagnostic trick is to watch how the phase error changes with frequency, current level, and temperature.

First 3 checks
  • Phase vs frequency shape: CT/Rogowski errors often change with frequency; AFE skew/digital mismatches tend to be flatter. (Read: H2-3/H2-4)
  • Channel skew evidence: verify simultaneous sampling / timing alignment between phases. (Read: H2-4)
  • Budget ownership: confirm which portion of phase error is compensable vs structural (layout/filters/saturation). (Read: H2-5)

Fast isolate: keep the AFE constant and swap only the current sensor path (or inject an equivalent known phase reference). If the phase error moves, the sensor/front-end dominates; if it does not, the AFE timing/filter chain dominates.

Example parts: metering AFE/SoC: ADE9000ACPZ-RL, MSP430I2041TRHBT; Rogowski probe (lab verification): CWT/150/B/4/1000.

Read next: H2-3 (sensor choice) → H2-4 (AFE architecture) → H2-5 (phase-to-kWh impact)
Q3 What “billing anomalies” appear when a CT saturates at high current/inrush, and how to verify it?

CT saturation clips the current waveform, collapsing measured peak/crest factor and distorting phase. The typical symptom is under-reported energy during high-current bursts, PF behaving “strangely,” or event-triggered tamper/quality flags during motor starts or switching loads.

First 3 checks
  • Waveform clipping evidence: capture current waveform (or AFE raw samples) during the burst; look for flattening/plateaus. (Read: H2-11)
  • PF/phase jump: sudden PF collapse or phase angle spikes aligned to the inrush window. (Read: H2-11/H2-5)
  • Burden/protection interaction: verify burden resistor and protection paths are not creating premature nonlinearity. (Read: H2-3)

Fast isolate: reduce burden (or use a higher-headroom CT) and repeat the same inrush. If the anomaly disappears, saturation/burden headroom is the root cause.

Example parts: CT example: SCT-013-000 (non-invasive CT example); metering AFE/SoC: ADE9000ACPZ-RL; shunt monitor for rail evidence: INA226AIDGSR.

Read next: H2-3 (CT risks) → H2-11 (validation captures)
Q4 How does shunt self-heating drift enter the error budget, and how to compensate without making it worse?

Shunt drift enters through TCR (resistance vs temperature), thermal gradients (copper + solder + Kelvin geometry), and amplifier/ADC offset drift. Compensation only helps when it is validated against repeatable thermal behavior, not just “one good run.”

First 3 checks
  • Thermal time constant: step load and track error vs time; true self-heating drift follows a thermal curve. (Read: H2-5)
  • Kelvin integrity: verify 4-terminal routing and current return do not pollute the sense nodes. (Read: H2-9)
  • Compensation residual: after compensation, confirm residual is smaller across temperature and current, not just at one point. (Read: H2-6)

Fast isolate: run the same current with forced airflow (lower ΔT). If the error shrinks materially, self-heating is a primary contributor.

Example parts: 4-terminal shunt: WSL3637R0100FEA; temperature sensor: TMP117AIDRVR; metering AFE/SoC: MSP430I2041TRHBT.

Read next: H2-5 (budget template) → H2-6 (drift control workflow) → H2-9 (layout/grounds)
Q5 Why can the same hardware measure differently in noisy mains environments—measure rail noise first or phase first?

The fastest path is to measure both, but prioritize the one that correlates with the error jump. In the field, many “environment” issues are actually rail dips/ground bounce shifting the reference/analog front end, while true phase problems show up as PF/angle artifacts even when rails are stable.

First 3 checks
  • Rail correlation: rail ripple/brownout counters aligned to error spikes. (Read: H2-11)
  • Phase/PF behavior: phase angle or PF stepping during the same intervals. (Read: H2-11)
  • Activity coupling: comm bursts, PLC coupling, or wireless TX aligning to the error windows. (Read: H2-9/H2-10)

Fast isolate: repeat the test with comm interfaces quiet (no PLC coupling, no TX bursts). If error stabilizes, the path is coupling/power-domain related.

Example parts: rail monitor: INA226AIDGSR; isolators (interface boundary): ADuM141E1WBRQZ or ISO7741FQDBQRQ1; metering AFE: ADE9000ACPZ-RL.

Read next: H2-9 (power/isolation survival) → H2-10 (interface noise paths) → H2-11 (evidence capture)
Q6 How many calibration points are “worth it,” and which errors cannot be fixed by calibration?

Calibration is most cost-effective when it targets dominant, stable terms: gain, offset, and a controlled phase compensation. Errors tied to saturation, leakage paths, ground return geometry, or EMI-driven reference movement are usually not “calibratable” and require hardware/layout changes.

First 3 checks
  • Budget labeling: tag each term as calibratable vs non-calibratable (and why). (Read: H2-5)
  • Residual structure: after calibration, is the residual tied to temperature, PF, harmonics, or bursts? (Read: H2-6)
  • Coverage: include at least one low-current point and one “difficult PF/harmonic” point if those dominate field complaints. (Read: H2-6/H2-11)

Fast isolate: if calibration improves high current but not light load, the limiting factor is offset/noise/leakage/thermal—not gain.

Example parts: metering AFE/SoC: ADE9000ACPZ-RL, MSP430I2041TRHBT; temperature sensor: TMP117AIDRVR.

Read next: H2-5 (budget) → H2-6 (calibration record & acceptance) → H2-9 (non-calibratable layout traps)
Q7 RTC backup: supercap or coin cell—what more often makes time “not trustworthy”?

Time becomes untrustworthy mainly when backup switchover creates brownout/glitches, or when drift is not bounded/flagged during holdover. Chemistry choice matters less than controlled switchover, low-leakage paths, and a “time quality” indicator stored with each critical event.

First 3 checks
  • Switchover integrity: confirm no timestamp jump during main-to-backup and backup-to-main transitions. (Read: H2-7)
  • Holdover drift: log drift vs temperature and holdover duration; flag when beyond bound. (Read: H2-7)
  • Noise coupling: verify the RTC domain is not polluted by digital rail noise during transients. (Read: H2-9)

Fast isolate: run a “power-cycle sweep” (100+ cycles) and compute timestamp continuity metrics; a switchover issue shows up as rare but repeatable jumps.

Example parts: RTCs: PCF2129AT/2518, MCP7940N-I/SN; rail evidence: INA226AIDGSR.

Read next: H2-7 (RTC/TOU integrity) → H2-9 (power domains & backup survival)
Q8 During TOU switching, how to avoid “time jumps” that cause tariff disputes, and what fields must be logged?

Disputes are prevented by making TOU transitions auditable: every tariff change and every time adjustment must carry a timestamp, a time-quality state, and an immutable sequence number so the history can be replayed. The key is not “perfect time,” but “provable time integrity.”

First 3 checks
  • Time quality flag: backup holdover / unsynchronized / corrected / normal states recorded with events. (Read: H2-7)
  • Monotonic sequence: event_seq + boot_id to prevent duplicate/out-of-order interpretation. (Read: H2-11)
  • Config trace: tariff_table_id (or version), change_reason, and before/after snapshots. (Read: H2-11)

Fast isolate: inject controlled time adjustments (small/large) and verify logs remain monotonic and replayable, with explicit “correction” markers.

Example parts: RTCs: PCF2129AT/2518, MCP7940N-I/SN; storage (example): W25Q64JV (SPI Flash family example).

Read next: H2-7 (TOU & timestamps) → H2-11 (evidence fields & replay)
Q9 What are the most common tamper methods, and what “observable contradictions” map to each one?

Practical tamper detection works when each scenario is tied to a measurable contradiction: voltage present but current missing, energy sign inconsistent with phase direction, phase order impossible, missing neutral behavior, or auxiliary sensors (magnet, cover switch) indicating a physical event.

First 3 checks
  • Electrical contradictions: V/I consistency, energy sign, phase sequence, missing phase/neutral patterns. (Read: H2-8)
  • Sensor plausibility: open/short detection on current channels; “stuck-at” patterns. (Read: H2-8)
  • Aux sensor corroboration: magnet/cover/tilt signals used as supporting evidence, not sole trigger. (Read: H2-8)

Fast isolate: require at least two independent evidences (electrical + auxiliary or two electrical contradictions) before escalating to a “tamper confirmed” state.

Example parts: metering AFE/SoC: ADE9000ACPZ-RL; RTC for tamper timestamping: MCP7940N-I/SN; isolator for external tamper IO: ADuM141E1WBRQZ.

Read next: H2-8 (tamper sensing/decision/log) → H2-11 (reproducible test evidence)
Q10 How to avoid tamper false positives (startup transients/harmonics/low PF)? How to set thresholds and debounce?

False positives usually come from transient windows being treated as steady-state truth. Robust tamper logic uses hysteresis + time debounce + multi-evidence voting, and explicitly masks known “non-representative” intervals (startup, relay events, comm bursts) while still logging them for audit.

First 3 checks
  • Windowing: confirm the decision is based on stable windows, not the first few cycles after a state change. (Read: H2-8)
  • Evidence voting: require multiple conditions (e.g., sign + plausibility + auxiliary) before flagging. (Read: H2-8)
  • Replay logs: store pre/post snapshots to evaluate false-positive rate quantitatively. (Read: H2-11)

Fast isolate: A/B test thresholds on a scripted suite: startup, low PF, harmonic injection, and comm burst events. Track false-positive rate vs missed detection.

Example parts: RTC: PCF2129AT/2518; rail monitor: INA226AIDGSR; metering AFE: MSP430I2041TRHBT.

Read next: H2-8 (decision strategy) → H2-11 (5-step debug flow)
Q11 Why can PLC coupling/surge paths raise metering noise, and what should be changed first in hardware?

PLC coupling networks and surge protection create intentional high-energy paths. If the return path crosses sensitive analog reference/sense areas, PLC activity or surge events can inject common-mode/ground noise that modulates the metering front end, appearing as “random” error or spurious tamper flags.

First 3 checks
  • Correlation: error spikes aligned to PLC transmit/receive bursts or coupling events. (Read: H2-10)
  • Return path sanity: protection device return currents kept out of analog sense/reference domains. (Read: H2-9)
  • Isolation boundary: confirm comm interfaces do not share noisy ground with the analog metering island. (Read: H2-9/H2-10)

Fast isolate: disable PLC coupling (or hold PLC quiet) and repeat the metering test. If stability returns, the root cause is coupling/return-path design rather than core AFE math.

Example parts: isolators: ISO7741FQDBQRQ1 or ADuM141E1WBRQZ; rail monitor: INA226AIDGSR; metering AFE: ADE9000ACPZ-RL.

Read next: H2-10 (PLC interface as hardware boundary) → H2-9 (survival & grounding rules)
Q12 Wireless TX bursts cause metering “jumps”—which loop is most common, and how to isolate power domains?

The most common loop is: TX burst → comm rail droop → ground bounce → reference/sense shift → computed power/energy step. Fixes usually start with domain separation (power + ground), controlled inrush for the radio rail, and evidence logs proving correlation before redesign.

First 3 checks
  • Time alignment: TX activity window aligned to rail dip and metering output step. (Read: H2-10/H2-11)
  • Reference sensitivity: whether the AFE reference/offset changes during the dip. (Read: H2-9)
  • Boundary enforcement: verify comm return currents cannot flow through analog ground/reference areas. (Read: H2-9)

Fast isolate: power the wireless module from an isolated/independent bench rail and repeat. If the jump disappears, the coupling is power/ground-path driven.

Example parts: rail monitor: INA226AIDGSR; isolators: ADuM141E1WBRQZ; RTC for event timestamping: MCP7940N-I/SN.

Read next: H2-10 (wireless as hardware interface) → H2-9 (domaining/isolation) → H2-11 (evidence capture)
Figure F12 — FAQ triage map (symptom → evidence → owning chapter)
Symptoms (FAQ prompts) Light-load error jumps (Q1) Phase/PF drift (Q2, Q5) CT saturation / burst anomalies (Q3) Shunt thermal drift (Q4) RTC/TOU time disputes (Q7, Q8) Tamper false/true triggers (Q9, Q10) PLC/Wireless coupling noise (Q11, Q12) Owning chapters (where fixes live) H2-5 Accuracy & error budget Owns: offset/noise/phase→kWh, harmonics, light-load floors H2-6 Calibration & compensation Owns: point strategy, drift control, acceptance & records H2-3 Sensors (shunt/CT/Rogowski) Owns: saturation, phase, thermal, installation risk H2-7 RTC/TOU time integrity Owns: backup switchover, drift bounds, timestamp fields H2-8 Anti-tamper (sense/decide/log) Owns: contradictions, voting, debounce, audit logs H2-9 Power/isolation/survival Owns: domains, grounding, surge paths, reference stability Use “evidence first”: correlate time windows (rail/PF/comm) before changing thresholds or calibration.
One-page triage: start from symptom → collect 3 proofs → jump to the owning H2 for fixes. (Minimal text, mobile-readable.)