0
\$\begingroup\$

I have a sensor that outputs a signal change between -4 to 4 V.

I want to use a bipolar ADC with a 3.3 V reference. I know that I should use a voltage divider, but what is the impact on resolution? I will use a 12-bit ADC (though even 8 bits will be enough).

Will an op-amp with 0.5 V/V gain do the job ? Or maybe a voltage divider with resistors?

\$\endgroup\$
1
  • \$\begingroup\$ Also consider resistors with low temperature coefficient, so that thermal changes are not reflected as much in the sampled values. \$\endgroup\$
    – rdtsc
    Commented Aug 29, 2022 at 14:42

4 Answers 4

0
\$\begingroup\$

I know that I must be using some voltage divider but what is the impact on resolution?

Well, if you don't use the voltage divider either your ADC will be destroyed or your signal range above 3.3 volts and below -3.3 volts is lost.

So, you need a voltage divider irrespective of how the resolution might changes. And anyway, if you are using a 12 bit ADC (but would be OK with an 8 bit ADC), halving the signal input range (voltage divider) is only going to reduce resolution by 1 least-significant-bit to 11 bits.

It's a bit of a no-brainer really.

Op amp with 0.5v/v gain will do the job ? or maybe a voltage divider with resistors?

An op-amp with a gain of 0.5 still has to use a resistive voltage divider.

\$\endgroup\$
6
  • \$\begingroup\$ if the supply voltage for op amp is 3.3v and 0(gnd) the can I invert the input voltage from analog sensor with gain 0.5 ? -4 to 4 will be -2 to 2 \$\endgroup\$
    – Knowledge
    Commented Aug 30, 2022 at 10:45
  • \$\begingroup\$ An op-amp can only produce an output voltage that is within the range of its power rails hence, if the op-amp is powered from 3.3 volts and 0 volts, it cannot produce -2 volts at its output @Knowledge \$\endgroup\$
    – Andy aka
    Commented Aug 30, 2022 at 11:29
  • \$\begingroup\$ If I reduce the voltage with voltage divider by 2 it will be okay ?10kohm and 10kohm i \$\endgroup\$
    – Knowledge
    Commented Aug 31, 2022 at 8:00
  • \$\begingroup\$ You need to check what the maximum source impedance is required by the ADC. If it's above 5 kohm then you are probably OK. \$\endgroup\$
    – Andy aka
    Commented Aug 31, 2022 at 9:25
  • \$\begingroup\$ if the input voltage is -VREF TO VREF ( when vref=3.3v) what is matter about the maximum source impedance? \$\endgroup\$
    – Knowledge
    Commented Sep 1, 2022 at 7:08
2
\$\begingroup\$

It depends a bit on how the ADC is designed and specified.

If it's a 12-bit including polarity and it reads +/-3.3V then you can use a voltage divider to reduce the input by the ratio 3.3/4.0 = 0.825.

If it's a 3.3V single-supply ADC with differential inputs then you'd have to bias one input at 3.3V/2 (maybe with a couple resistors) and divide and offset the signal (maybe with three resistors) so it remains within the 0~3.3V range for -4~+4 input.

In both cases, you'd get full 12-bit resolution.

Whether you need or want an op-amp depends on the details of the source and required output impedances (and the available power supply rails may affect the complexity).

\$\endgroup\$
1
\$\begingroup\$

Since you're saying that 8 bits of resolution is enough (though you don't say what that's based on), this means that you can sample signals 16 times smaller than your full range. Since you're cutting your full range down by between a factor of 2 and a factor of 4, a 12-bit ADC should do the job.

A more precise answer would probably rely on you telling us more about why you're sure 8 bits is enough.

\$\endgroup\$
1
\$\begingroup\$

Your 12-bit ADC with a reference voltage of 3.3V can measure in steps of 3.3V/4096 which is 0.0008V.

If you have some circuit in front of the ADC, which converts -4V - 4V into 0V - 3.3V, then the ADC will measure the output of this circuit in 0.0008V steps. Because this circuit will squish the voltages together, a 0.0008V on the output will mean a 0.002V step on the input. You could also calculate this as 8V/4096.

Note that you didn't ask how to build this circuit, just how it would impact the ADC resolution.

\$\endgroup\$

Your Answer

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

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