Voltecx is in beta. The macOS build comes first; Windows and Linux packages are still being tested.Beta. macOS comes first; Windows and Linux are still in testing. What's new
Documentation

Isolated Amplifier with Shunt, ±50 mV (isolatedAmplifierAmc1302)

A low-loss shunt and an isolated amplifier with a ±50 mV input and a gain of 41.

isolatedAmplifierAmc1302

Component reference · 繁體中文

Group: ICs · Kind: {"definition":"isolatedAmplifierAmc1302","kind":"subsystem"}

When to use it

Use it to measure a large current, such as an inverter leg, on a small shunt that loses little power. Use Isolated Amplifier with Shunt for a ±250 mV input.

Pins

Pin Domain Meaning
IPP electrical Primary current in, positive reading
IPN electrical Primary current out
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

  • rSense: The shunt resistor between IPP and IPN (your choice, not part of the IC) (Default: 0.0015)
  • gain: Nominal gain (Default: 41)
  • bw: Output bandwidth: the single pole of the response (Default: 280000)
  • vFsr: Linear full-scale input: up to plus or minus this the gain is linear (Default: 0.05)
  • clip: Clipping differential output voltage: the output is limited to plus and minus this (Default: 2.49)

Parameters

Key Unit Default Typical range Description Datasheet source
rSense Ω 0.0015 1u – 10 Ω The shunt resistor between IPP and IPN (your choice, not part of the IC) assumption: the 1.5 mOhm leg shunt of the thesis 12 kW design, 50 mV at 33.3 A
gain V/V 41 1 – 100 V/V Nominal gain Section 6.9 nominal gain, p.8
gainErr — 0 -100m – 100m Gain error as a fraction (typically +/-0.04 %; 0 = nominal) Section 6.9 EG typ +/-0.04 %, max +/-0.2 %, p.8 (set to 0 here)
bw Hz 280000 1k – 100meg Hz Output bandwidth: the single pole of the response Section 6.9 BW typ (220 kHz min), p.8
vos V 0.0000025 -1m – 1m V Input offset voltage (the datasheet gives it as +/-) Section 6.9 VOS typ +/-2.5 uV, max +/-50 uV, p.8
vFsr V 0.05 1m – 1 V Linear full-scale input: up to plus or minus this the gain is linear Section 6.3 VFSR +/-50 mV, p.7
vClipIn V 0.064 1m – 1 V Input at which the output reaches clip; between vFsr and this the gain falls Section 6.3 VClipping +/-64 mV, p.7; the straight line from vFsr to it is an assumption (section 7.3.3, p.19)
clip V 2.49 100m – 5 V Clipping differential output voltage: the output is limited to plus and minus this Section 6.9 VCLIPout typ +/-2.49 V, p.8
vcm V 1.44 0 – 5 V Common-mode output voltage (the output pins sit this far above GND2) Section 6.9 VCMout typ, p.8
rIn Ω 4900 1k – 1g Ω Differential input resistance, across the shunt Section 6.9 RIND typ, p.8
noise V 0 0 – 1 V RMS output noise; 0 = a noiseless amplifier Section 6.9 output noise typ 260 uV rms with a 100 kHz brickwall filter, p.8 (set to simulate)
seed — 1 0 – 9007t Whole-number seed of the noise model parameter
tDelay s 0.000001206 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 6.10 VINx to VOUTx signal delay (50 % - 50 %) typ 1.6 us (max 2.1 us), p.9, less the pole's own 50 % time ln 2 / (2 pi 280 kHz) = 0.394 us (derived)
vIowm V 2121 0 – 100k V Isolation working voltage (DC, peak): the largest voltage across the barrier the part is rated for (0: not set, no check) Section 6.6 VIOWM at DC voltage 2121 VDC (1500 VRMS at AC sine; VIORM 2121 VPK), p.6

Parameter descriptions are in English in both languages.

Model

The primary path is the shunt rSense in series with a current meter, with the input resistance rIn across it. The meter gives gain * (1 + gainErr) * (rSense * i + vos) through a first-order low-pass at bw, with seeded noise, limited where the input reaches vClipIn. The output is that value up to the input vFsr. From vFsr to vClipIn it rises at a lower slope and reaches clip at vClipIn, and above that it stays at clip. V(OUTN) sits at vcm above GND2. The straight line between vFsr and vClipIn is an assumption, because the data sheet gives no curve there. The reading is delayed by tDelay ahead of the low-pass. The isolation barrier, the signal delay and the fail-safe output are not modelled.

Common mistakes

  • The linear input is only plus or minus 50 mV. With the default 1.5 mOhm shunt, 33.3 A gives the full-scale output of 2.05 V. Above that the reading is low, and above about 42.7 A (64 mV) it is flat at 2.49 V.
  • Read the output as the difference between OUTP and OUTN, not against ground. Each pin sits near 1.44 V.
  • The part delays the signal by 1.6 us typical (2.1 us max): tDelay (1.206 us) ahead of the bw pole gives that 50 % delay. Delay the ADC sample in your controller by the same time, and set tDelay to 1.706 us to study the slowest part.
  • The noise is 0 by default. Set 260u to see the data sheet noise, and use another seed for another noise.

Problems rules: step.too_large, param.out_of_range

Datasheet and sources

The defaults are the TI AMC1302, data sheet SBAS812D (revised June 2021). vFsr and vClipIn are the linear full-scale and clipping inputs of section 6.3. gain, gainErr, bw, vos, clip, vcm, rIn and noise are the typical column of section 6.9. tDelay is the 1.6 us signal delay of section 6.10 less the pole's own 0.394 us. rSense is your design value; the default 1.5 mOhm is an assumption taken from the thesis 12 kW design. Pass them to ic.fromSpec with the isolatedAmplifierAmc1302 template and rename the pins to the data sheet names.

Example

Open the example with the command file.openExample and the name demo:isolatedAmplifierAmc1302.


Generated by cargo xtask reference from the usage texts and parameter specs. Do not edit by hand.