3
\$\begingroup\$

I'm building a circuit to measure signal out of a wheatstone bridge for strain gauge.

here is the schematic:

schematic

simulate this circuit – Schematic created using CircuitLab I applied +-1.5V with digital power supply and measured the output with Arduino. For the bridge circuit, I don't have 350 ohm resistors which have the same resistance as the strain gauge so I used a 0-500 ohm potentiometer to set up the 350 ohm. Reference is connected to ground and those two 47k ohm resistors are for bias, which I made exactly like what is shown in the datasheet.

datasheet for the INA: https://www.ti.com/lit/ds/symlink/ina122.pdf

Now there are some issues:

1. I tried to balance the bridge as much as I can and I can measure around 0.75V(with multimeter) at both inputs so that the output should be 0V. However the output shows around 1.4V. I think it's not saturated yet because I can get exactly 1.5V(measured with multimeter) at the output when I decrease the potentiometer resistance a little.

2. I measured all the voltage above with multimeter and also connect the output to Arduino. The reading on Arduino, however, swings periodically between 1.2V and 1.5V while the reading of output on the multimeter is constantly 1.4V.

\$\endgroup\$
11
  • \$\begingroup\$ Is ground or either supply common mode noise causing Arduino errors on wires? Be specific on errors for voltage and duration and show layout in a photo \$\endgroup\$ Jul 14, 2022 at 14:06
  • \$\begingroup\$ common mode input range of INA122 is 0-3.4V, I don't see a problem here because both inputs are around 0.7V \$\endgroup\$ Jul 14, 2022 at 14:06
  • \$\begingroup\$ @colachicken The problem is that is on 5V and you are not running off 5V. 3.4V max input on 5V supply = 1.6V input from the rails. They don't list what it is on +/-1.5V or 3V so you don't actually know what it is. \$\endgroup\$
    – DKNguyen
    Jul 14, 2022 at 14:07
  • \$\begingroup\$ If there is a noise, why can't I capture that with multimeter? \$\endgroup\$ Jul 14, 2022 at 14:08
  • \$\begingroup\$ you could have 50 kHz noise ignored by DVM \$\endgroup\$ Jul 14, 2022 at 14:08

1 Answer 1

3
\$\begingroup\$

The input common-mode range that can be accommodated without serious error by the INA122 is from the most negative supply (-1.5 volts) up to 1.6 volts below the most positive supply. This means that any input voltage higher than -0.1 volts will not work.

Unfortunately you need to fix this because your common-mode input is circa +2.5 volts. Here's the data sheet extract that shows the data. Of course it isn't a clearly stated thing; you have to fudge the numbers yourself: -

enter image description here

So, on a single 5 volt supply, the usable input range is from 0 volts to 3.4 volts. This means that you can't use the input range encompassing 3.4 volts to 5 volts i.e. the top 1.6 volts are out-of-bounds. Now if we translate that to your power regime it means the usable range precludes the top 1.6 volts. Given that your most positive rail is +1.5 volts, in real numbers the highest usable input voltage is -0.1 volts.

You would improve your circuit by running it from 0 volts and +5 volts. If you can run your bridge from -1.5 volts and +1.5 volts, you could make the upper bridge resistors higher in value to ensure that the bridge midpoint can never rise higher than -0.1 volts (with a safety/clearance margin).

\$\endgroup\$
5
  • \$\begingroup\$ How did you come to the number 2.5 volts for the common-mode input? I could only measure around 0.75 volts at both inputs. \$\endgroup\$ Jul 15, 2022 at 7:56
  • \$\begingroup\$ Is common-mode range specified for the difference between the inputs or the voltage at each input? \$\endgroup\$ Jul 15, 2022 at 8:01
  • \$\begingroup\$ @colachicken look at the bridge; it has roughly equal value resistors and therefore, on each branch, there is a 2:1 potential divider hence, each output should be about 2.5 volts. The common mode range is the range of voltages that the inputs must be within to tick one box in the quest for successful operation. You only measured 0.75 volts because the InAmp was clamping the excessive voltage more than likely. \$\endgroup\$
    – Andy aka
    Jul 15, 2022 at 8:49
  • \$\begingroup\$ I did exactly like you suggeted, now it's working smoothly. Thanks alot! \$\endgroup\$ Jul 18, 2022 at 8:32
  • \$\begingroup\$ @colachicken excellent. \$\endgroup\$
    – Andy aka
    Jul 18, 2022 at 8:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.