Strain Gauge Amplification Circuit

Clarus Goldsmith, June 2024

This page will go into how to design a strain gauge amplification circuit that can be balanced in software using a digital potentiometer, using the circuit found here as an example.

Wheatstone bridge

<Purpose of wheatstone bridge goes here>

How to include a digipot in one of the arms

The digipot allows us to balance the Wheatstone bridge in software on data collection startup instead of manually turning a potentiometer. Particularly useful when you have a ton of temperature and humidity sensitive sensors (i.e., the strain gauges) you want to read from across multiple days.

The circuit schematic for the Wheatstone bridge with a digipot included is below. By adjusting the wiper, we adjust the resistance difference between the two arms.

Circuit diagram for the Wheatstone bridge section of the strain amplification circuit.

Note that for this schematic the potentiometer is wired in rheostat mode. This involves "floating" (i.e., not connecting) one of the terminals, and allows the digipot to act as a variable resistor rather than a voltage divider. Digipot manufacturers typically sell versions of their components already wired as a rheostat in the package, meaning you don't have to do anything extra to get it to behave as such.

To help with analysis, we will create a variable Rx2=11/R2+1/RxR_{x2}= \frac{1}{1/R_2+1/R_x} to represent the total resistance of the two parallel resistors. The equation to balance this Wheatstone bridge is:

Rx2R1=RSGR3\frac{R_x2}{R_{1}} = \frac{R_{SG}}{R_{3}}

For our example circuit, the grid resistance of a MMF402103 strain gauge is 350Ī©, so RSGR_{SG} = 350Ī©. 350Ī© resistors are weirdly expensive, so we'll instead use a 352Ī© resistor. As 350352=0.9943\frac{350}{352}=0.9943 our equation becomes:

Rx2R1=0.9943\frac{R_{x2}}{R_{1}} = 0.9943

The digipot we'll use for our example is the MCP4532, a digital rheostat with a total resistance RABR_{AB}of 5kΩ. At startup, the digipot wiper will be at its halfway point, so 2.5kΩ.

Ideally we want the resistance of one tap of the digipot, RsR_{s}, to be approximately 0.1% of the total resistance of the arm to give us enough fine enough precision when adjusting the digipot. From the manual of the digipot:

Rs=RAB128ā‰ˆ39Ā Ī©R_s= \frac{R_{AB}}{128}\approx 39~\Omega

Additionally, we need to choose a resistance value of the digipot for which the bridge will be balanced. For this circuit we'll first the resistance at a tap ~1/4 of the way through the digipot's range, 1753Ī©. Thus, our balance equation becomes:

11/1753+1/R2R1=0.9943\frac{\frac{1}{1/1753+1/R_2}}{R_1}=0.9943

To satisfy our first condition regarding a single tap, we can create a second equation:

11/(1753+39)+1/R2R1=0.9943+.001\frac{\frac{1}{1/(1753+39)+1/R_2}}{R_1}=0.9943+.001
11/1792+1/R2R1=0.9953\frac{\frac{1}{1/1792+1/R_2}}{R_1}=0.9953

Solving each equation in parallel for 1/R21/R_2:

11/1753+1/R2=0.9943R1\frac{1}{1/1753+1/R_2}=0.9943R_1

11/1792+1/R2=0.9953R1\frac{1}{1/1792+1/R_2}=0.9953R_1

11753+1R2=10.9943R1\frac{1}{1753}+\frac{1}{R_2}=\frac{1}{0.9943R_1}

11792+1R2=10.9953R1\frac{1}{1792}+\frac{1}{R_2}=\frac{1}{0.9953R_1}

1R2=10.9943R1āˆ’11753\frac{1}{R_2}=\frac{1}{0.9943R_1}-\frac{1}{1753}

1R2=10.9953R1āˆ’11792\frac{1}{R_2}=\frac{1}{0.9953R_1}-\frac{1}{1792}

We can then set the two equations as equal to find R1R_1:

10.9943R1āˆ’11753=10.9953R1āˆ’11792\frac{1}{0.9943R_1}-\frac{1}{1753}=\frac{1}{0.9953R_1}-\frac{1}{1792}
10.9943R1āˆ’10.9953R1=11753āˆ’11792\frac{1}{0.9943R_1}-\frac{1}{0.9953R_1}=\frac{1}{1753}-\frac{1}{1792}
10.9943āˆ’10.9953=R1(11753āˆ’11792)\frac{1}{0.9943}-\frac{1}{0.9953}=R_1(\frac{1}{1753}-\frac{1}{1792})
0.001=R1(1.241eāˆ’5)0.001=R_1(1.241e^{-5})
R1=80.55R_1= 80.55

I also generalized this equation for R1R_1 to make it easier to pick values:

R1=TOL1Rbalanceāˆ’1Rbalance+39R_1=\frac{TOL}{\frac{1}{R_{balance}}-\frac{1}{R_{balance}+39}}

Where TOLTOL is the desired tolerance and RbalanceR_{balance} is the desired digipot resistance when the Wheatstone bridge is balanced.

At this point, check the available resistor values on Digikey to see if this resistance is feasible. 80.6Ω resistors are available, so we'll set R1=80.6ΩR_1 = 80.6\Omega. If resistors for the calculated value aren't available or are too pricey, simply use the next closest one and solve for RbalanceR_{balance} in our generalized equation for R1R_1 to find where the bridge will now balance.

Now that we've selected R1R_1, we can use one of the equations for 1/R21/R_2 to find R2R_2:

1R2=10.9943R1āˆ’11753\frac{1}{R_2}=\frac{1}{0.9943R_1}-\frac{1}{1753}
1R2=10.9943(80.6)āˆ’11753\frac{1}{R_2}= \frac{1}{0.9943(80.6)}-\frac{1}{1753}
1R2=0.0119\frac{1}{R_2}= 0.0119
R2=83.97R_2 = 83.97

Similarly as for R1R_1, we next check if this is a feasible value resistor value. The closest resistor value is 84.5Ω, so we set R2=84.5ΩR_2=84.5\Omega.

This whole process can be highly iterative, depending on the performance you want from the whole circuit. In the final version of the PCB I designed, R1=80.6ΩR_1 = 80.6\Omega and R2=85.6ΩR_2=85.6\Omega, yielding a tolerance of 0.0013 with a balance resistance of 1521Ω.

Thus, for my PCB the Wheatstone bridge schematic becomes:

The Wheatstone bridge schematic with resistor values for the PCB I designed.

Instrumentation Amplifier

The internal schematic for the INA821D instrumentation amplifier

The instrumentation amp takes the signal from the Wheatstone and amplifies it by a gain value set using a gain resistor put between two of the ports.

Choosing the gain resistor

The instrumentation amplifier manual will include an equation for calculating the resistor value for a chosen gain. The example circuit uses the INA821D instrumentation amp, which has the gain equation:

Gain equation for the INA821D, taken from the manual

Past experimentation to design this circuit has shown that we want gains between 56 and 77 to allow for a nice range of adjustment from the digipot without completely overloading the inst amp. These gains are produced by resistors between 898Ī© and 649Ī©, respectively. Anything in that range can be used, depending on the use case for the circuit.

Connection between the Wheatstone bridge and the inst. amp.

The instrumentation amp has two input pins: +IN and -IN. Which arm of the Wheatstone bridge connects to which pin matters. You'll notice that I marked the outputs of the Wheatstone accordingly in the above figures. From my experience:

  • The arm including the digipot needs to go into +IN

  • The arm including the strain gauge needs to go into -IN

If your design ends up being substantially different than this example, I would build the circuit on a breadboard first to double check the inputs to the instrumentation amp are oriented correctly.

Other considerations for the digipot

The digipot is controlled using the I2C bus, so will need to be connected to pins D24 and D25 on the OpenCM. Because I2C relies on pulling voltage down to communicate, we need to supply voltage to these connections before they get into the digipot. As covered in the I2C communication page, a 2kΩ resistor is sufficient for standard I2C speed. Thus, we'll connect a pair of 2kΩ resistors between power and connections from pins D24 and D25.

Other considerations for the inst. amp.

The manual for the instrumentation amp recommends placing a 0.1uF capacitor between the voltage source and the voltage pin, as close to the voltage pin as possible on the physical board.

Final circuit diagram

Full circuit schematic for a single strain amplifier. The strain amplifiers in the lab are six of these circuits combined.

Last updated

Was this helpful?