For a standard 120V control panel powering an industrial op amp subtraction circuit, use 14 AWG copper THHN wire protected by a 15A breaker. This provides a safe 15-amp capacity for low-power analog control boards while satisfying National Electrical Code (NEC) branch circuit minimums for commercial and industrial enclosures.

Baseline Assumptions for this Sizing:
  • Material: Copper (do not substitute aluminum without resizing)
  • Temperature Column: 75°C (standard for most modern breakers and terminal lugs)
  • Ambient Temperature: 30°C (86°F)
  • Conduit Type: EMT (Electrical Metallic Tubing) with no more than 3 current-carrying conductors

Sizing the 120V Feed for Analog Control Panels

When building a control panel that houses precision analog circuitry—like a differential amplifier used for shunt current monitoring—the physical wiring feeding the panel's power supply must be sized correctly. While the op amp subtraction circuit itself draws only milliamps, the panel's 24VDC power supply, cooling fans, and indicator lights dictate the branch circuit load.

According to NEC Table 310.16, 14 AWG THHN copper wire has an allowable ampacity of 25A in the 90°C column. However, NEC 110.14(C) requires us to use the 75°C column for termination limits, which rates 14 AWG at 20A. Finally, NEC 240.4(D) imposes a hard overcurrent protection limit: 14 AWG copper must not be protected by a breaker larger than 15A.

AWG Size Insulation 75°C Ampacity Max Breaker (NEC 240.4D)
14 AWG THHN/THWN 20A 15A
12 AWG THHN/THWN 25A 20A

Why 14 AWG and not one smaller?

You might wonder why we don't use 16 AWG or 18 AWG wire, given that an analog control panel rarely pulls more than 2 amps. The NEC generally prohibits 16 AWG and smaller conductors from being used as standard branch circuit wiring in commercial/industrial raceways. 14 AWG is the absolute minimum permitted size for a 15A branch circuit, providing necessary mechanical strength and fault-current withstand capability.

Voltage Drop Check at 75 Feet

Let's verify voltage drop for a realistic scenario: a control panel drawing a continuous 2A load, located 75 feet from the subpanel. Using the single-phase voltage drop formula ($VD = \frac{2 \times K \times I \times D}{CM}$):

  • K (Copper resistivity) = 12.9
  • I (Current) = 2A
  • D (Distance) = 75 ft
  • CM (Circular mils for 14 AWG) = 4,110

$VD = \frac{2 \times 12.9 \times 2 \times 75}{4110} = 0.94V$. This represents a 0.78% drop on a 120V circuit, well below the NEC recommended 3% maximum for branch circuits. The 14 AWG wire is perfectly adequate for this distance.

What Changes the Answer?

This sizing assumes standard conditions. You must step up to 12 AWG on a 20A breaker if:

  • Bundling: You pull more than three current-carrying conductors in the same EMT conduit, triggering NEC 310.15(C)(1) derating factors.
  • Material: You switch to aluminum wire (which requires a larger cross-section for the same ampacity and is rarely used for 15A control branches).
  • Distance: The run exceeds 150 feet, pushing voltage drop past acceptable limits for sensitive switching power supplies.

When an Engineer or AHJ Must Confirm

Always defer to your local Authority Having Jurisdiction (AHJ) or a licensed electrical engineer if the control panel houses motor starters, if the continuous load exceeds 12A (requiring a 15A continuous rating, which 14 AWG cannot safely provide without tripping), or if local municipal codes mandate 12 AWG minimums for all commercial branch circuits.

Core Theory: How the Op Amp Subtraction Circuit Works

Now that the panel is safely powered, let's look at the circuit inside. An op amp subtraction circuit (often called a differential amplifier or difference amplifier) is designed to amplify the voltage difference between two input signals while rejecting any voltage common to both inputs. This is critical in industrial environments for measuring small sensor signals riding on top of noisy common-mode voltages.

The standard configuration uses one operational amplifier and four resistors. When the resistor ratios are perfectly matched ($\frac{R_2}{R_1} = \frac{R_4}{R_3}$), the output voltage is defined by:

$V_{out} = \frac{R_2}{R_1} (V_2 - V_1)$

A Concrete Numeric Example

Imagine you are measuring the current through a 0.1Ω shunt resistor on a 24V motor line. The voltage at the high side of the shunt ($V_2$) is 12.050V, and the low side ($V_1$) is 12.000V. The actual differential signal is just 50mV, but it's buried in a 12V common-mode voltage that would destroy a standard microcontroller ADC.

We wire an op amp subtractor with $R_1 = R_3 = 10k\Omega$ and $R_2 = R_4 = 100k\Omega$, giving a differential gain of 10.

  • $V_{diff} = 12.050V - 12.000V = 0.050V$ (50mV)
  • $V_{out} = 10 \times 0.050V = 0.50V$ (500mV)

The 12V common-mode voltage is entirely rejected (ideally), and the microcontroller safely reads 0.50V, which translates to 0.5A of motor current. For deeper design theory, Analog Devices provides excellent primers on the internal mechanics of difference amplifiers.

Component Selection and Real-World Edge Cases

In textbook theory, the op amp subtraction math is flawless. On the workbench, resistor mismatch and op-amp limitations introduce errors. The primary enemy of this circuit is poor Common-Mode Rejection Ratio (CMRR).

If your four resistors are standard 1% tolerance parts, the ratios will inevitably mismatch. A 1% mismatch in the resistor network can drag the circuit's CMRR down to roughly 40dB, meaning a 12V common-mode voltage will leak about 120mV of error into your output—completely swamping your 50mV shunt signal.

Bench Tip: Never build a discrete op amp subtractor for precision current sensing using 1% or 5% resistors. Either use 0.1% matched thin-film resistors, or bypass the headache entirely by using an integrated difference amplifier IC like the Texas Instruments INA134 or AD8276, which have laser-trimmed internal resistor networks guaranteeing >80dB CMRR.

Furthermore, standard op-amps like the LM358 cannot handle input voltages near or above their positive supply rail. If you are subtracting signals near 12V, the op-amp must be powered by at least 15V (or use a high-voltage part like the OPA454) to prevent input stage saturation.

Op Amp Subtraction FAQs

How does an op amp subtraction circuit handle common-mode noise?

It handles noise through symmetry. Because the noise appears equally on both the inverting and non-inverting inputs, the differential gain stage mathematically cancels it out ($V_{noise} - V_{noise} = 0$). However, this cancellation relies entirely on the precision of the external resistor ratios. Any asymmetry in the resistor network converts common-mode noise into differential noise, which the op-amp then amplifies.

Why use an op amp subtraction configuration over a single-ended ADC?

A single-ended ADC measures voltage relative to a shared system ground. If your sensor is located far from the ADC, ground potential differences (ground loops) and induced EMI will corrupt the reading. An op amp subtraction circuit measures the potential difference directly across the sensor terminals, ignoring the shifting ground reference. This is mandatory for high-side current shunts, bridge circuits, and thermocouples in noisy industrial panels.

What resistor tolerances are required for accurate op amp subtraction?

For general-purpose level shifting where a few millivolts of error won't matter, 1% metal film resistors are acceptable. For precision measurement (like 4-20mA loop receivers or shunt monitors), you must use 0.1% or 0.01% matched resistors. Better yet, use a monolithic integrated difference amplifier where the silicon die ensures the resistors track each other perfectly across temperature changes.

Can an op amp subtraction circuit output a negative voltage?

Yes, if $V_1$ is greater than $V_2$, the mathematical result is negative. However, the physical op-amp can only output a negative voltage if it is powered by a dual (split) power supply (e.g., ±15V). If your op-amp is powered by a single supply (e.g., 0V and 5V), the output will hard-clip at 0V (or the op-amp's specified low-level output saturation voltage, typically ~20mV for an LM358). If you need to measure bidirectional current with a single-supply system, you must add a DC reference offset (biasing the output to mid-supply, like 2.5V) so the signal can swing both up and down.