I need to convert a 4v peak to peak signal (-2v to +2v) into a 0 to 3.3V signal to get it into my ADC on LPC 11u24. I have tried several designs but the problem is that all of the designs I found are based on single rail op amps. I only have dual supply op amps. Any suggestions?
Electronic – Level shift 4v peak to peak to 0 – 3.3V
adcleveloperational-amplifier
Related Topic
- Electronic – Peak detector (peak event)
- Electronic – Differential ADC input buffer
- Dual-supply op-amp LDO does not work, but single-supply does
- Electronic – Why do audio op amps require such high rail voltages
- Electronic – Shift voltage only using reference
- Electronic – How to measure bipolar analog signal accurately (to 1mV) on raspberry pi
- Electronic – Op Amp Selection Help for Rail/ Rail IO
Best Answer
Based on this post, a summing amplifier could work. Adjusting the values, the schematic would be as follows:
simulate this circuit – Schematic created using CircuitLab
The output is calculated just like a non-inverting amplifier. Thus, when the sine wave is +2V, the terminals of the op-amp are at 2V. Since
\$V_O = V_I(1+\frac{R_4}{R_3})\$
the output will be 3.3V. When the sine wave is -2V, the terminals will be 0V, since the two voltage sources, \$R_1\$, and \$R_2\$ act as a voltage divider. Then the output will also be 0V.
The caveat here is that you need a rail to rail op-amp, or supply voltages that are less than 0V and greater than 3.3V. Otherwise the op-amp will clip the output.