Isolated Voltage Sensor with Divider (isolatedVoltageSensor)
A resistive divider into a high-impedance isolated amplifier, giving a low-voltage reading of a high voltage.
Group: ICs · Kind: {"definition":"isolatedVoltageSensor","kind":"subsystem"}
When to use it
Use it to read a DC-link or line voltage with isolation and pass it to a controller. Use Voltmeter for a plain measurement.
Pins
| Pin | Domain | Meaning |
|---|---|---|
HVP |
electrical | High-voltage input, top of the divider |
HVN |
electrical | High-voltage reference, bottom of the divider |
OUTP |
electrical | Positive output, read as OUTP minus OUTN |
OUTN |
electrical | Negative output, sits above GND2 |
GND2 |
electrical | Ground reference of the output side |
Common parameters
rTop: Divider resistor from HVP to the amplifier input (your choice) (Default: 2000000)rBottom: Divider resistor across the amplifier input, to HVN (your choice) (Default: 10000)gain: Nominal gain (Default: 1)bw: Output bandwidth: the single pole of the response (Default: 220000)clip: Clipping differential output: limited to plus and minus this (Default: 2.49)
Parameters
| Key | Unit | Default | Typical range | Description | Datasheet source |
|---|---|---|---|---|---|
rTop |
Ω | 2000000 | 1k – 10g Ω | Divider resistor from HVP to the amplifier input (your choice) | assumption: with rBottom, 400 V gives 1.99 V, inside the 2 V full scale of section 7.3, p.6 |
rBottom |
Ω | 10000 | 1 – 1g Ω | Divider resistor across the amplifier input, to HVN (your choice) | assumption |
gain |
V/V | 1 | 100m – 100 V/V | Nominal gain | Section 7.9 nominal gain 1 V/V, p.10 |
gainErr |
— | 0 | -100m – 100m | Gain error as a fraction (typically 0.4 %; 0 = nominal) | Section 7.9 EG typ 0.4 %, p.10 (set to 0 here) |
bw |
Hz | 220000 | 1k – 100meg Hz | Output bandwidth: the single pole of the response | Section 7.9 BW typ 220 kHz, p.10 |
vos |
V | 0.0004 | -10m – 10m V | Input offset voltage (the data sheet gives it as +/-) | Section 7.9 VOS typ +/-0.4 mV, p.10 |
clip |
V | 2.49 | 100m – 5 V | Clipping differential output: limited to plus and minus this | Section 7.9 VCLIPout typ 2.49 V, p.10 (the negative limit is an assumption) |
vcm |
V | 1.44 | 0 – 5 V | Common-mode output voltage (the output pins sit this far above GND2) | Section 7.9 VCMout typ 1.44 V, p.10 |
rIn |
Ω | 1000000000 | 1k – 1t Ω | Input resistance of the amplifier, across rBottom | Section 7.9 RIN typ 1 GOhm, p.10 |
noise |
V | 0 | 0 – 1 V | RMS output noise; 0 = a noiseless amplifier | Section 7.9 output noise typ 220 uV rms (100 kHz), p.10 (set to simulate) |
seed |
— | 1 | 0 – 9007t | Whole-number seed of the noise | model parameter |
tDelay |
s | 0.000001599 | 0 – 1m s | Signal delay ahead of the bandwidth pole: with the pole, a step reaches 50 % this plus ln 2 / (2 pi bw) late | Section 7.10 IN to OUTx signal delay (50 % - 50 %, AMC1311) typ 2.1 us (max 3.1 us), p.12, less the pole's own 50 % time ln 2 / (2 pi 220 kHz) = 0.501 us (derived) |
Parameter descriptions are in English in both languages.
Model
rTop runs from HVP to the amplifier input and rBottom from the input to HVN, with the input resistance rIn across rBottom, so the divider draws its current from the measured node. A voltage meter across rBottom reads the input. The differential output V(OUTP) - V(OUTN) is gain * (1 + gainErr) * (v + vos), delayed by tDelay, then a first-order low-pass at bw, then seeded Gaussian noise of noise volts rms, then a limit to plus or minus clip. V(OUTN) sits at vcm above GND2. The isolation barrier and the fail-safe output are not modelled.
Common mistakes
- The amplifier's linear input is only -0.1 to 2 V. Choose rTop and rBottom so that the highest voltage gives about 2 V across rBottom; the defaults give 1.99 V at 400 V.
- Read the output as OUTP minus OUTN, not against ground: each pin sits near 1.44 V.
Problems rules: step.too_large, param.out_of_range
Datasheet and sources
gain is the nominal gain (1 V/V), bw is the output bandwidth, vos is the typical input offset and gainErr the gain error as a fraction. clip is the clipping differential output, vcm the common-mode output, rIn the input resistance and noise the output noise. tDelay is the 2.1 us signal delay of section 7.10 less the pole's own 0.501 us. rTop and rBottom are your divider. The defaults are the TI AMC1311, SBAS786C. Pass them to ic.fromSpec with the isolatedVoltageSensor template, or place the AMC3330 preset (SBASA34B: gain 2, ±1 V input, 375 kHz, 1.6 us), whose divider is the 1001 V bus divider of the thesis design.
Example
Open the example with the command file.openExample and the name demo:isolatedVoltageSensor.
Generated by cargo xtask reference from the usage texts and parameter specs. Do not edit by hand.