Non-Inverting Level Shifter : +/-5V signal into a 0 to 3.3V
With portable battery-operated devices continuing to add functionality while shrinking in size, printed-circuit-board real estate becomes increasingly valuable. Single-supply circuitry can help by saving space and cost. Adding audio or video, however, may pose a problem because those signals are usually referenced to ground, and most single-supply ICs must be configured for signals above ground.
Therefore, the circuit must shift most audio or video input signals to an appropriate level above ground. Also, polarity must be preserved for video signals. Unfortunately, using a single-supply voltage while preserving signal polarity is impossible with traditional op-amp level shifters, which require two op amps and a negative rail.
The circuit in Figure 1 meets all of these requirements, level-shifting a ground-referenced signal with one op amp while running on a single-supply voltage. The op amp’s non-inverting summing configuration creates the level-shifted output by summing a reference voltage with the input signal. A standard potentiometer with a bypass capacitor sets the reference voltage, but any voltage reference able to provide enough bias current for the op amp and summing resistors will suffice.
This example circuit includes the 75-Ω termination resistors required in a standard video application. The op amp shown features a small footprint plus the wide bandwidth needed for video. Figure 2 shows the circuit’s operation, shifting a 10-MHz ground-referenced input signal by +1.5 V.
http://www.daycounter.com/Calculators/Op-Amp/NonInverting-Op-Amp-Resistor-Calculator.phtml
A common engineering task is to convert a positive to negative signal into a range suitable for a single supply ADC.
This circuit will convert a +/-5V signal into a 0 to 3.3V signal so that it can be sampled by an ADC on a 3.3V microprocessor.
Equations:
A = (R4/R1) x (R1+R2)/(R3+R4)
If R1= R3, and R2=R4, then
A= (R4/R1)
We want to convert a 10Vpp signal to a 3.3V signal so the gain should be 1/3. We can choose R4 to be 33K and R1 to be 100K.
Now we need to choose the positive offset such that the signal is centered at 1.6V.
The gain off the offset voltage is:
Aoffset= (R2+R1)/R1 x R3/(R3+R4) = R3/R1.
For the previous resistor values, the gain is 1 since R3=R1, and so we use an offset voltage of 1.6V.
http://www.daycounter.com/Calculators/Op-Amp/NonInverting-Op-Amp-Resistor-Calculator.phtml
This calculator determines the bias and feedback resistors for a non-inverting op-amp, given the gain and desired output bias point.
There are many free parameters to the design so enter the value of R1, which will scale the other resistors.
Use V1 as the input for the inverting Op-Amp, and V2 as a voltage offset if needed.
Set V2 to zero if no offset is required.
To use the calculator you first need to determine the desired gain of the ac signal,
and the quiescent output voltage (the value when the AC input signal is zero).
R4 injects a non-zero V2 voltage component into the circuit and correspondingly offset Vout.
Another way of looking at it is, if V2 is zero and the DC component of V1 is zero then Vout will also be zero.
The amplified output signal will ride on the quiescent output voltage.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本