SPICE subcircuitINA240A1DRina240
INA240 (current-sense amplifier, PWM rejection, −4…80 V)
TI INA240: measures the voltage across a shunt at a common mode of −4 V to 80 V with enhanced PWM rejection (inline motor phase or low-side shunt), fixed gain A1 20, A2 50, A3 100, A4 200 V/V, 400 kHz. OUT = gain × (IN+ − IN−) + (REF1 + REF2)/2: REF1 to VS and REF2 to GND gives a bidirectional output around VS/2 (with 3.3 V supply: 1.65 V ± 1.6 V, e.g. ±82 A on 1 mΩ with A1, ±33 A with A2). VS 2.7–5.5 V with 100 nF.
Key data
- Category
- ICs
- Simulation model
- SPICE subcircuit
- Manufacturer part number
- INA240A1DR
- Reference prefix
- U
- Pins
- 7
- Land pattern
- SOIC-8_3.9x4.9mm_P1.27mm
Simulation model
The part is a small SPICE netlist (below), solved by the analog engine together with the rest of the circuit. Pin ids are the node names, {braces} are parameters.
SPICE netlist
RR1 7 r 100k
RR2 r 3 100k
E1 x r 8 1 {gain}
Ep pa 6 x 6 1
Vbp p pa DC 0.02977
Dp p o DCL
En na 2 x 2 1
Vbn na n DC 0.02977
Dn o n DCL
R1 o 5 10
C1 5 2 39.8n
D1 5 6 DCL
D2 2 5 DCL
Rin 8 1 10meg.model DCL D(IS=1e-15 N=0.05)Pins 7
| Pin | Name | Use |
|---|---|---|
| 8 | IN+Analog pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| 1 | IN−Analog pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| 7 | REF1Analog pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| 3 | REF2Analog pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| 5 | OUTOutput pin | Logic output: drives the next input; do not tie outputs together |
| 6 | VSSupply pin | Supply input: decouple with 100 nF close to the pin |
| 2 | GNDGround pin | Ground |
Parameters 1
Gain (V/V)
gainDefault20
2050100200
Fixed by the part number: INA240A1 20 V/V, A2 50 V/V, A3 100 V/V, A4 200 V/V
PCB
Verified land pattern
SOIC-8_3.9x4.9mm_P1.27mm| Package | Land pattern | Status | Source |
|---|---|---|---|
| SOIC-8 (D) · INA240A1DR | SOIC-8_3.9x4.9mm_P1.27mm | Verified land pattern | KiCad Package_SO:SOIC-8_3.9x4.9mm_P1.27mm; TI SBOS662C Table 6-1 (D): 1 IN−, 2 GND, 3 REF2, 4 NC, 5 OUT, 6 VS, 7 REF1, 8 IN+ |