An analog switch can change a held voltage at the moment it opens. Compare that opening step with two hold capacitors, then restore the first capacitor. A larger capacitor should turn a similar transferred charge into a smaller voltage change. This experiment measures an effective charge for the complete fixture, using a fitted discharge curve to distinguish the opening pedestal from the subsequent decay.

The circuit uses a Texas Instruments TMUX1101DBVR switch at 3.3 V, a fixed 2 V source and two small ceramic capacitors. A deliberately added bleed resistor gives the held node a measurable off-state time constant. The oscilloscope records the control drive and held voltage together. A separate pickup blank checks the nearby control wiring while the switch itself stays off.

Before connecting any input or output cables, connect the RIGOL DHO804’s rear Ground Terminal to earth ground using the supplied ground cable, as required by the DHO800 User Guide. Its Type-C power input does not ground the instrument through the power cord. Use the supplied power adapter and keep the AFG1022’s and SPD3303X’s protective earth connected. The G0 signal-return connections described below do not replace this separate chassis earth lead.

Give the opening step a precise meaning

A sample-and-hold circuit connects a capacitor to a source while sampling and isolates it while holding. The TMUX1101 is a complementary metal-oxide-semiconductor (CMOS) integrated circuit (IC). Its single-pole, single-throw (SPST) signal path acts as one electronically controlled contact. A high select input closes that contact. A falling select signal opens it.

Charge stored in the switch’s internal capacitances can be transferred to its signal terminals during a control transition. Capacitive coupling from the control signal, called feedthrough, can also move the held node. The resulting voltage offset is often called an opening pedestal. In this article, the operational pedestal is the extrapolated post-opening voltage at the control-drive midpoint minus the measured pre-opening plateau.

ΔV = Vpost,extrapolated(t0) − Vbefore
Ceff = τ / Reff
Qeff = Ceff × ΔV

The time constant τ is the interval over which an exponential’s difference from its equilibrium falls to about 36.8% of its starting value. Capacitance is shown in picofarads (pF), where 1 pF = 10⁻¹² farad, and charge in picocoulombs (pC), where 1 pC = 10⁻¹² coulomb. A microsecond (µs) is 10⁻⁶ second. Qeff includes the switch, control feedthrough, probe and layout contributions, and the chosen time reference. The manufacturer’s charge-injection measurement uses its own source resistance, capacitance and bias. Keep the two measurement scopes explicit when interpreting a result.

Use the exact switch and package

Use TI TMUX1101DBVR, the active five-pin small-outline transistor package SOT-23, TI package DBV. TI’s current main data sheet is SCDS410D, revised February 2024. Read its DBV top-view drawing when identifying the physical pads. The original diagram below shows functional connections with those pin numbers.

TMUX1101DBVR connections
PinFunction and connection
1, DDrain terminal to HOLD, the capacitor, bleed resistor and scope CH2 tip.
2, SSource terminal from the 2 V bias through 1 kΩ.
3, GNDCommon G0 reference.
4, SELSelect input from J1, with 100 kΩ to G0. J2 grounds it during the blank.
5, VDD3.3 V supply with local 100 nF bypass to pin 3.

The recommended supply is 1.08–5.5 V, and the analog signal terminals operate from GND through VDD. At 3.3 V, the specified select-input high boundary is 1.35 V and the low boundary is 0.8 V. This fixture drives approximately 0–3.3 V and keeps the analog path near 0–2 V.

At the data sheet’s 3.3 V, 25 °C test conditions, on-resistance is typically 3.7 Ω with an 8.8 Ω maximum. The added 1 kΩ dominates the source resistance here. Even a discharged capacitor initially takes only about 2 mA through that resistor. The sheet’s 6 V supply absolute maximum is a stress boundary. Set and verify the actual 3.3 V operating rail.

TI quotes typical −1.5 pC charge injection at a 1 V source, zero source resistance and a 1 nF load. The data sheet also plots a typical charge-versus-source-voltage curve. This experiment’s 2 V source, 1 kΩ series resistor, smaller capacitors and probe differ from that test. It qualifies a resolved system pedestal and its scaling with effective capacitance.

A TMUX1101DBVR connects a 2-volt source through 1 kilohm to a hold node with a 100-picofarad or 330-picofarad capacitor and a 1-megohm bleed. J1 connects the control drive to SEL and J2 grounds SEL for the pickup blank. Scope tips monitor DRIVE and HOLD, with both returns at G0. Calculated plots show an opening step and exponential decay.
J1 is closed and J2 open for normal captures. Reverse those links for the pickup blank. Both probe returns connect to G0. The calculated plots assume a 2.000 V pre-opening plateau, 25 pF added capacitance, a −3 pC effective charge and a 0.4 mV equilibrium. The left plot magnifies the first microseconds, while the right shows the longer decay. The drawing omits the DHO804 power adapter and separate chassis earth lead; connect them as described before adding any input or output cables. Full-size PNG · Editable SVG

Make the off-state decay useful

Use KEMET C315C101J5G5TA for 100 pF and C315C331J5G5TA for 330 pF. Both are nonpolar C0G ceramic parts rated 50 V direct current (DC), with ±5% nominal capacitance tolerance and 2.54 mm lead spacing. C0G identifies a ceramic dielectric with small temperature-dependent capacitance change. Use the same compact capacitor footprint for both parts.

A 1 MΩ resistor from HOLD to G0 makes the off-state decay predictable. The RIGOL PVP2350 probe in 10× mode places approximately 10 MΩ and 10 pF across the same node. The probe’s specified resistance tolerance is ±1% and its capacitance is 10 pF ±5 pF. Keep this probe on the same HOLD pad throughout the sequence.

Reff = 1 MΩ ∥ 10 MΩ = 0.90909 MΩ
Vhold(t) = B + A exp[−(t − t0)/τ]
Vpost,extrapolated(t0) = B + A

The symbol ∥ denotes parallel resistance. B is a fitted long-time equilibrium, allowing a constant leakage current or voltage offset. Other conductance, voltage-dependent leakage and multiple decay mechanisms can change the inferred capacitance. The model assumes the known bleed and probe dominate the discharge. Ceff includes the physical capacitor, switch output capacitance, probe and wiring. It is a conditional fixture estimate.

The following example assumes 25 pF total added capacitance and a −3 pC effective opening charge. It uses an illustrative observed pre-opening plateau of exactly 2.000 V. With an actual 2.00 V source and the 1 kΩ feed resistor, the circuit’s loaded DC plateau is instead near 1.9978 V before other errors. The analyzer always uses the recorded plateau.

Constructed example with nominal discharge resistance
Quantity100 pF part330 pF part
Effective capacitance125 pF355 pF
Off-state τ113.636 µs322.727 µs
Opening step−24.000 mV−8.451 mV
Effective charge−3.000 pC−3.000 pC

A smaller voltage step accompanies a longer decay time. The ratio depends on effective capacitance, so include the probe and fixture when comparing it with the nominal 330/100 ratio.

Wire the normal and blank configurations

Use a compact soldered SOT-23 adapter with verified pad numbering and short HOLD wiring. Mount the bypass directly between VDD and GND. A Vishay MKT1820410015 provides the nominal nonpolar 100 nF bypass. Use Vishay MRS25 ±1% resistors for the 1 kΩ source resistor, 1 MΩ bleed, 100 Ω control-series resistor and two 100 kΩ pull-downs. Their fixture dissipation is far below their documented 0.6 W rating at 70 °C under the stated mounting conditions.

SIGLENT SPD3303X channel 1 supplies 3.30 V with a 20 mA current limit. Independent channel 2 supplies 2.00 V with a 10 mA current limit. Tie both negative terminals to G0. Require constant-voltage operation and actual measured supply of 3.25–3.35 V and bias near 2.00 V. Measure the unpowered bleed resistance and enter it in the analyzer.

The Tektronix AFG1022 drives a 100 Hz, 50% square wave through 100 Ω to DRIVE. Set its high-impedance (High Z) amplitude display for approximately 3.3 V peak-to-peak (Vpp), centered at +1.65 V. Verify the actual DRIVE plateaus rather than inferring them from the display. The typical physical generator output resistance remains 50 Ω. Connect its Bayonet Neill–Concelman (BNC) connector shell to G0 and use the center conductor for the drive signal.

J1 links DRIVE to pin 4 SEL. DRIVE has its own 100 kΩ load to G0, and SEL has a separate 100 kΩ pull-down. In normal operation J1 is closed and J2 is open. For the blank, open J1 and close J2 from SEL to G0. The generator continues driving the adjacent DRIVE net while the switch stays off. Scope CH1 remains at DRIVE after the 100 Ω resistor and before J1. The comma-separated values (CSV) field drive_v always refers to that point.

The blank checks gross control-wiring pickup at the discharged HOLD node. It does not reproduce the internal coupling of an actively opening switch or every bias-dependent parasitic effect. The measured Qeff retains those system contributions.

Follow the source order before changing parts

  1. Start with both supply outputs and generator output disabled. Inspect the exact pin mapping, capacitor polarity class, resistor values and common G0. Install the 100 pF capacitor. For the blank, leave J1 open and J2 closed.
  2. Enable the 3.3 V rail first and verify it. Enable the 2 V analog source second. Enable the control generator last. Check actual DRIVE levels and confirm SEL remains near G0 in blank mode.
  3. For shutdown, force DRIVE low and set the analog bias to zero while its channel remains enabled. Wait at least 10 ms and verify both S and HOLD are within 10 mV of G0. Disable the analog source and then the 3.3 V supply. Keep the signal terminals discharged while VDD is off.
  4. Change J1/J2 or the capacitor only with all sources off and the nodes discharged. Reapply power in the same order. Use the normal configuration for the 100 pF capture, then the 330 pF capture, then the restored original 100 pF capture.

The 5 ms high part of the control period gives ample settling relative to the roughly microsecond acquisition time of this small-capacitor, 1 kΩ source network. The 5 ms off interval also exceeds the expected decay time by many time constants. Confirm the observed plateau and tail for the actual fixture.

Capture a millivolt pedestal and a two-volt tail

Use two compensated PVP2350 probes in 10× mode on the RIGOL DHO804, with both ground springs at G0. Scope CH1 measures DRIVE and CH2 measures HOLD. Use DC coupling, the same 20 MHz bandwidth limit on both channels, roughly 1 V/div for CH1 and 500 mV/div for CH2. Position the zero-volt references near the bottom so the complete 0–3.3 V control and 0–2 V decay remain visible. Preserve these settings across all four captures.

Before and after the sequence, check CH2 with its tip at G0 using the same scale and position. Require a stable mean within ±1 mV. Put both tips on DRIVE for a timing sanity check and require their observed midpoints within one native sample interval, at most 20 ns. Return the CH2 tip to HOLD afterward. Keep its capacitor contact and ground connection fixed through the actual comparison.

Select Average acquisition with 256 averages. The DHO800 guide permits power-of-two counts and 1 Mpts (one million stored sample points) memory with two channels in Average mode. Restart acquisition after each state change and let the waveform settle before stopping and exporting. Averaging reduces random noise, while repeatable coupling and quantization can remain. Nominal converter bit depth alone does not establish millivolt resolution.

Set memory depth explicitly to 1 Mpts and begin near 1 ms/div, triggering on the DRIVE falling midpoint. Verify the actual native sample spacing is at most 20 ns. Save one simultaneous two-channel Memory CSV through Storage, Save, Choose, Save Wave. Each CSV contains one native sample row at each timestamp. Keep the original export and scope settings.

Normalize a copy to time_s,drive_v,hold_v in seconds and volts. Keep the paired native columns and every row in one contiguous crop from about −15 µs through +1500 µs around the falling edge. A fixed time-origin subtraction is allowed if documented. Keep the absolute normalized timestamps within ±1 s. The program accepts at most 200000 rows and 24 MB per file. Preserve the probe-scaled volts once, without applying a second 10× multiplier.

Record blank.csv, small.csv, large.csv and restore.csv as separate acquisitions. The analyzer rejects identical parsed arrays, while the raw exports and operator record establish provenance. The blank worksheet holds the actual supply, resistance, link, scale and calibration observations.

Fit a pedestal with an honest resolution floor

The analyzer defines t0 at DRIVE’s falling midpoint. Its sampled 80–20% fall must be no longer than 100 ns, with one unambiguous crossing and no repeated exact threshold plateau. The record must include at least −12 µs through +1400 µs. It verifies stable high drive before opening and stable low drive afterward.

The pre-opening plateau is averaged from −12 to −2 µs, with at most 2 mV spread. The first exponential fit uses +5 to +1000 µs. The second uses +15 to +1400 µs. Each fit searches the decay time constant from 40 to 800 µs, solving its amplitude and free equilibrium at each trial. A bounded subset of actual samples locates the profile minimum. The final root mean square (RMS) residual is checked against every sample in that window.

The residual is the difference between recorded voltage and the fitted model. Require RMS fit residual at most 0.7 mV, equilibrium within ±20 mV, fitted opening voltages agreeing within 1.5 mV and time constants agreeing within 2%. These are chosen measurement-quality screens. A free equilibrium handles a constant offset or leakage contribution, while it leaves the conductance assumption in Reff intact. A negative fitted equilibrium can represent that measurement model. Keep actual S and D voltages within GND through VDD, verified by the manual supply and pin checks. Those checks also establish physical pin compliance.

The opening intercept is referenced to the control midpoint, so sample timing, channel skew and the switch’s actual turn-off delay affect the result. For scale, a 100 ns time-origin error at a 2 V plateau and 0.909 MΩ discharge resistance corresponds to about 0.22 pC of apparent charge. TI’s transition-time specification uses 200 Ω and 15 pF, so it does not calibrate this fixture’s opening instant. The +5 µs fit start also omits the earliest ringing or feedthrough peak. Inspect that early neighborhood separately.

The program requires a resolved absolute pedestal of 4–60 mV, effective charge magnitude of 0.5–12 pC and effective capacitance of 95–230 pF for the small part or 310–470 pF for the large part. Those ranges define this experiment’s observable result. The 4 mV floor may reject a real switch and otherwise working fixture. Either charge sign is accepted when it repeats consistently. Neither its sign nor its magnitude is guaranteed from the manufacturer’s typical curve.

The blank must remain within 5 mV of its pre-edge level and show at most a 1 mV mean change across the edge. The large/small effective-charge ratio must be 0.75–1.25, and its effective-capacitance ratio 2–4.5. The voltage-kick ratio must be 1.7–5. Restoring the original capacitor must recover effective capacitance within 5% and charge within 20%. Pre-opening plateaus must agree within 10 mV. Noise, clipping, coarse quantization or window-dependent fits should produce an unresolved worksheet.

Run the complete analyzer

Use Python 3.10 or newer. The experiment archive contains the analyzer, tests, original diagrams, circuit contract, blank worksheet and four constructed example captures. Replace the nominal bleed resistance with its measured value. The probe-resistance parameter expresses the 10 MΩ assumption and its specified ±1% tolerance.

python3 switch_kick.py blank.csv small.csv large.csv restore.csv --bleed-ohm 1000000 --probe-ohm 10000000
python3 -m unittest -v test_switch_kick.py
python3 switch_kick.py synthetic/blank.csv synthetic/small.csv synthetic/large.csv synthetic/restore.csv

Exit 0 qualifies all entered records and their relative controls. Exit 1 reports an unresolved waveform or physical screen. Exit 2 reports malformed input or command usage. Results print after all four captures pass. For the constructed example, the small and large fits should recover about 125 and 355 pF and similar −3 pC charges.

"""Compare an analog switch's effective opening charge at two hold capacitances."""
import argparse
import csv
import hashlib
import math
from pathlib import Path
import statistics

ROUNDING = 1e-9


class BadInput(ValueError):
    pass


class Unresolved(ValueError):
    pass


def bound(value, low, high, name):
    if not low-ROUNDING <= value <= high+ROUNDING:
        raise Unresolved(f'{name}: {value:.7g}, expected {low:g}–{high:g}')
    return value


def read_capture(path):
    try:
        if path.stat().st_size > 24000000:
            raise BadInput('capture exceeds 24 MB')
        with path.open(encoding='utf-8-sig', newline='') as handle:
            reader = csv.reader(handle, strict=True)
            if next(reader, []) != ['time_s', 'drive_v', 'hold_v']:
                raise BadInput('header must be time_s,drive_v,hold_v')
            rows = []
            for row in reader:
                if len(row) != 3 or len(rows) >= 200000:
                    raise BadInput('wrong column count or more than 200000 rows')
                values = tuple(float(x) for x in row)
                if not all(map(math.isfinite, values)):
                    raise BadInput('all samples must be finite')
                rows.append(values)
    except (OSError, UnicodeError, csv.Error, ValueError) as error:
        raise BadInput(str(error)) from error
    if len(rows) < 2000:
        raise BadInput('capture requires at least 2000 samples')
    if any(b[0] <= a[0] for a, b in zip(rows, rows[1:])):
        raise BadInput('time must increase strictly')
    for t, sel, hold in rows:
        bound(abs(t), 0, 1, 'absolute timestamp (s)')
        bound(sel, -.05, 3.45, 'raw control (V)')
        bound(hold, -.05, 2.15, 'raw hold voltage (V)')
    return rows, hashlib.sha256(repr(rows).encode()).hexdigest()


def crossing(rows, level):
    if any(a[1] == level == b[1] for a, b in zip(rows, rows[1:])):
        raise Unresolved('control crossing contains a threshold plateau')
    matches = [a[0]+(level-a[1])*(b[0]-a[0])/(b[1]-a[1])
               for a, b in zip(rows, rows[1:]) if a[1] >= level > b[1]]
    if len(matches) != 1:
        raise Unresolved('need one unambiguous falling control crossing')
    return matches[0]


def align(rows):
    high, low = max(r[1] for r in rows), min(r[1] for r in rows)
    bound(high, 3.15, 3.40, 'control high (V)')
    bound(low, -.03, .10, 'control low (V)')
    edge = crossing(rows, (high+low)/2)
    rise20 = crossing(rows, low+.8*(high-low))
    rise80 = crossing(rows, low+.2*(high-low))
    if rise80-rise20 > 100e-9+1e-12:
        raise Unresolved('sampled control 80–20% fall exceeds 100 ns')
    shifted = [(t-edge, sel, hold) for t, sel, hold in rows]
    if shifted[0][0] > -12e-6 or shifted[-1][0] < .0014:
        raise Unresolved('capture must cover at least −12 us through +1400 us')
    maximum_gap = max(b[0]-a[0] for a, b in zip(shifted, shifted[1:]))
    if maximum_gap > 20e-9+1e-12:
        raise Unresolved('native sample gap exceeds 20 ns')
    if any(sel < 3.0 for t, sel, _ in shifted if t < -1e-6):
        raise Unresolved('control must stay high before opening')
    if any(sel > .15 for t, sel, _ in shifted if t > 1e-6):
        raise Unresolved('control must stay low after opening')
    return shifted


def window(rows, start, end):
    chosen = [(t, hold) for t, _, hold in rows if start <= t <= end]
    if len(chosen) < 20:
        raise Unresolved('analysis window is too short')
    return chosen


def mean_before(rows):
    values = [v for _, v in window(rows, -12e-6, -2e-6)]
    if max(values)-min(values) > .002+ROUNDING:
        raise Unresolved('pre-opening plateau spread exceeds 2 mV')
    return statistics.fmean(values)


def fit_decay(rows, start, end):
    full = window(rows, start, end)
    # A bounded set of actual sample pairs locates the scalar profile minimum.
    # The final residual below is evaluated against every sample in the window.
    stride = max(1, len(full)//700)
    samples = full[::stride]
    count = len(samples)
    sum_y = sum(v for _, v in samples)

    def profile(log_tau):
        tau = math.exp(log_tau)
        exponents = [math.exp(-t/tau) for t, _ in samples]
        sum_e = sum(exponents)
        sum_ee = sum(e*e for e in exponents)
        sum_ey = sum(e*v for e, (_, v) in zip(exponents, samples))
        determinant = count*sum_ee-sum_e*sum_e
        if determinant <= 0:
            raise Unresolved('decay fit is singular')
        amplitude = (count*sum_ey-sum_e*sum_y)/determinant
        baseline = (sum_y-amplitude*sum_e)/count
        error = sum((v-baseline-amplitude*e)**2 for e, (_, v) in zip(exponents, samples))
        return error, tau, amplitude, baseline

    grid = [math.log(40e-6)+j*math.log(800/40)/60 for j in range(61)]
    best = min(range(len(grid)), key=lambda j: profile(grid[j])[0])
    if best in (0, len(grid)-1):
        raise Unresolved('decay time constant reaches the search boundary')
    left, right = grid[best-1], grid[best+1]
    for _ in range(48):
        one, two = left+(right-left)/3, right-(right-left)/3
        if profile(one)[0] <= profile(two)[0]:
            right = two
        else:
            left = one
    _, tau, amplitude, baseline = profile((left+right)/2)
    residual = math.sqrt(sum((v-baseline-amplitude*math.exp(-t/tau))**2 for t, v in full)/len(full))
    bound(residual, 0, .0007, 'exponential RMS residual (V)')
    bound(baseline, -.020, .020, 'fitted equilibrium (V)')
    return tau, amplitude+baseline, baseline, residual


def blank_check(rows):
    before = mean_before(rows)
    bound(before, -.005, .005, 'blank pre-edge voltage (V)')
    after = statistics.fmean(v for _, v in window(rows, 5e-6, 25e-6))
    bound(abs(after-before), 0, .001, 'blank edge change (V)')
    bound(max(abs(hold-before) for _, _, hold in rows), 0, .005, 'blank peak pickup (V)')


def analyze(rows, resistance, large):
    before = mean_before(rows)
    bound(before, 1.97, 2.03, 'pre-opening hold (V)')
    first = fit_decay(rows, 5e-6, .0010)
    second = fit_decay(rows, 15e-6, .0014)
    tau, initial, baseline, residual = first
    bound(abs(initial-second[1]), 0, .0015, 'fit-window intercept difference (V)')
    bound(abs(second[0]/tau-1), 0, .02, 'fit-window tau relative difference')
    capacitance = tau/resistance
    bound(capacitance*1e12, 310 if large else 95, 470 if large else 230, 'effective capacitance (pF)')
    step = initial-before
    bound(abs(step), .004, .060, 'resolved absolute opening step (V)')
    charge = capacitance*step
    bound(abs(charge)*1e12, .5, 12, 'absolute effective charge (pC)')
    return dict(before=before, tau=tau, initial=initial, baseline=baseline,
                capacitance=capacitance, step=step, charge=charge, residual=residual)


def main():
    parser = argparse.ArgumentParser(description=__doc__)
    for stage in ('blank', 'small', 'large', 'restore'):
        parser.add_argument(stage, type=Path)
    parser.add_argument('--bleed-ohm', type=float, default=1e6)
    parser.add_argument('--probe-ohm', type=float, default=1e7)
    args = parser.parse_args()
    if not math.isfinite(args.bleed_ohm) or not 990000 <= args.bleed_ohm <= 1010000:
        parser.error('bleed resistance must be 990000–1010000 ohms')
    if not math.isfinite(args.probe_ohm) or not 9900000 <= args.probe_ohm <= 10100000:
        parser.error('probe resistance assumption must be 9900000–10100000 ohms')
    resistance = 1/(1/args.bleed_ohm+1/args.probe_ohm)
    try:
        captures = [read_capture(p) for p in (args.blank, args.small, args.large, args.restore)]
        if len({signature for _, signature in captures}) != 4:
            raise BadInput('captures have identical parsed arrays')
        aligned = [align(rows) for rows, _ in captures]
        blank_check(aligned[0])
        results = [analyze(rows, resistance, index == 1) for index, rows in enumerate(aligned[1:])]
        small, large, final = results
        if small['charge']*large['charge'] <= 0 or small['charge']*final['charge'] <= 0:
            raise Unresolved('opening charge sign must repeat across captures')
        bound(large['charge']/small['charge'], .75, 1.25, 'large/small effective charge')
        bound(large['capacitance']/small['capacitance'], 2, 4.5, 'large/small effective capacitance')
        bound(abs(small['step']/large['step']), 1.7, 5, 'small/large voltage kick')
        bound(abs(final['capacitance']/small['capacitance']-1), 0, .05, 'restored capacitance change')
        bound(abs(final['charge']/small['charge']-1), 0, .20, 'restored effective charge change')
        bound(max(r['before'] for r in results)-min(r['before'] for r in results), 0, .010, 'hold plateau spread (V)')
    except BadInput as error:
        parser.exit(2, f'INPUT: {error}\n')
    except Unresolved as error:
        parser.exit(1, f'UNRESOLVED: {error}\n')
    for stage, result in zip(('small', 'large', 'restore'), results):
        print(f"{stage}: tau={result['tau']*1e6:.3f} us, Ceff={result['capacitance']*1e12:.3f} pF, "
              f"step={result['step']*1000:.3f} mV, Qeff={result['charge']*1e12:.3f} pC, "
              f"equilibrium={result['baseline']*1000:.3f} mV")
    print('PASS: larger effective capacitance reduces the resolved opening voltage step at similar effective charge.')
    return 0


if __name__ == '__main__':
    raise SystemExit(main())

Exercise a failed control

In a copy of the synthetic blank, add a 2 mV persistent change after the control edge. The blank check should reject that pickup. Another supplied host test gives the large capacitor the same voltage kick as the small one. Its inferred charge then changes substantially and fails the cross-capacitor comparison. These faults test the delivered code’s interpretation of actual sample arrays.

The host checks also exercise free equilibrium, two charge signs, waveform contamination, duplicate arrays, control plateaus, resistor assumptions, time origins, restoration and malformed data. All supplied example traces are analytically constructed. The physical bench worksheet remains empty for the reader’s observations.

Challenge — add capacitance to the fixture

Suppose effective hold capacitance changes from 150 pF to 450 pF while the effective opening charge stays −3 pC. What happens to the pedestal and decay time at the same 0.90909 MΩ discharge resistance?

Answer. The pedestal changes from −20.0 mV to −6.667 mV. The decay time changes from about 136.36 µs to 409.09 µs. The larger capacitor reduces the voltage step and lengthens the response by the same factor of three.

The 74HC4066 load-drop experiment measures a switch’s settled conducting path. The capacitor discharge experiment explores how a measuring instrument changes the decay. The opening-pedestal measurement combines a defined probe burden with a separate transition-sensitive result.

Primary references