Op-Amp Circuit Synthesis: From Specifications to Resistors

Op-Amp Circuit Synthesis starts with the voltage relationship you need and works backward to a circuit that produces it. For example, a sensor may provide the correct information over the wrong voltage range. Your task is to specify the required gain and offset, assign signal and reference inputs, and choose resistor values that satisfy both requirements.

Translate the specification into an equation

An affine transfer combines multiplication by a constant with addition of a constant voltage:


vout=avin+bv_{\text{out}}=a v_{\text{in}}+b


Here, aa is the dimensionless signed gain and bb is the output offset in volts. The offset is the predicted output at zero input, even when zero lies outside the specified input range.


If the specification maps vin,Lv_{\text{in},L} to vout,Lv_{\text{out},L} and vin,Hv_{\text{in},H} to vout,Hv_{\text{out},H}, calculate


a=vout,H−vout,Lvin,H−vin,L,b=vout,L−avin,La=\frac{v_{\text{out},H}-v_{\text{out},L}}{v_{\text{in},H}-v_{\text{in},L}},\qquad b=v_{\text{out},L}-a v_{\text{in},L}


Keep the endpoint pairs together. If the output decreases as the input increases, the signed gain is negative.


For instance, mapping 0.400.40–1.60 V1.60\ \text{V} to 1.001.00–7.00 V7.00\ \text{V} requires


a=7.00−1.001.60−0.40=5.00,b=1.00−5.00(0.40)=−1.00 Va=\frac{7.00-1.00}{1.60-0.40}=5.00,\qquad b=1.00-5.00(0.40)=-1.00\ \text{V}



Match the equation to a circuit

Use established circuit relations as building blocks. Assume an ideal op-amp operating linearly with negative feedback, positive resistances, and independently driven voltage sources. All voltages share the same ground reference.


An op-amp has input u at its non-inverting terminal, input w through Rg, and feedback through Rf.


For the circuit shown, define r=Rf/Rgr=R_f/R_g. Its transfer relation is


vout=(1+r)u−rwv_{\text{out}}=(1+r)u-rw


Coefficient matching means equating the multiplier of each independent input and the constant term to those in your target equation. Assigning the signal to different terminals gives two useful cases:


Required signed gain

Input assignment

Matching equations

a>1a>1

u=vinu=v_{\text{in}}, w=Vrefw=V_{\text{ref}}

r=a−1r=a-1, b=−rVrefb=-rV_{\text{ref}}

a<0a<0

u=Vbu=V_b, w=vinw=v_{\text{in}}

r=−ar=-a, b=(1+r)Vbb=(1+r)V_b


The references are signed voltages. A calculated negative reference requires a source capable of providing that voltage. These two assignments do not cover every possible affine transfer; use another arrangement when neither assignment fits the specification.


For the positive-gain example above, r=5.00−1=4.00r=5.00-1=4.00. The required reference is


Vref=−br=1.00 V4.00=0.250 VV_{\text{ref}}=-\frac{b}{r}=\frac{1.00\ \text{V}}{4.00}=0.250\ \text{V}


Notice that the reference voltage differs from the output offset because the circuit also multiplies the reference.

Select values and verify the complete design

Once the ratio is known, choose one resistor and calculate the other. With Rg=10.0 kΩR_g=10.0\ \text{k}\Omega, the example requires Rf=40.0 kΩR_f=40.0\ \text{k}\Omega. Substitution gives


vout=5.00vin−4.00(0.250 V)=5.00vin−1.00 Vv_{\text{out}}=5.00v_{\text{in}}-4.00(0.250\ \text{V}) =5.00v_{\text{in}}-1.00\ \text{V}


The endpoints are therefore 1.00 V1.00\ \text{V} and 7.00 V7.00\ \text{V}, as required. A midpoint input of 1.00 V1.00\ \text{V} gives 4.00 V4.00\ \text{V}, providing a useful arithmetic check.


Resistor ratios determine this ideal transfer. Scaling both resistors by the same positive factor preserves the equation, although practical source and loading requirements can constrain the absolute values. Treat the reference as an actual circuit connection: an unbuffered divider may change voltage when connected to the feedback network.



Finally, verify that the required input, reference, and output voltages lie within the operating ranges assumed for the design. Algebraic agreement alone does not establish those operating conditions.


What to remember

  • Convert paired endpoints into a signed gain and an output offset.
  • Match coefficients to determine resistor ratios and reference voltages.
  • Substitute the completed design and check its endpoints and operating ranges.

Example: Scaling a Pressure-Sensor Voltage

A pressure sensor produces 0.6000.600–2.400 V2.400\ \text{V}. A recording interface requires these endpoints to become 1.201.20–8.40 V8.40\ \text{V}, respectively, with an affine transfer between them. Use the circuit shown with Rg=12.0 kΩR_g=12.0\ \text{k}\Omega.


Assume an ideal op-amp operating linearly over all required voltages, ideal sensor and reference sources, and a common ground. The permitted output range is 00–12.0 V12.0\ \text{V}. The circuit equation is


vout=(1+RfRg)vin−RfRgVrefv_{\text{out}}=\left(1+\frac{R_f}{R_g}\right)v_{\text{in}}-\frac{R_f}{R_g}V_{\text{ref}}


A sensor drives the non-inverting input while a reference connects through a 12.0 kiloohm resistor to the inverting input.


a) Determine the required signed gain and output offset.


Find the gain from the output span divided by the input span. Then use a paired endpoint to determine the offset; the lower output endpoint itself is not the offset because the lower input is nonzero.


a=8.40−1.202.400−0.600=7.201.800=4.00a=\frac{8.40-1.20}{2.400-0.600}=\frac{7.20}{1.800}=4.00


b=1.20 V−4.00(0.600 V)=−1.20 Vb=1.20\ \text{V}-4.00(0.600\ \text{V})=-1.20\ \text{V}


The required transfer is therefore


vout=4.00vin−1.20 Vv_{\text{out}}=4.00v_{\text{in}}-1.20\ \text{V}


The signed gain is +4.00+4.00 and the output offset is −1.20 V-1.20\ \text{V}.


b) Calculate RfR_f and VrefV_{\text{ref}}.


Match the signal coefficient first. The positive signal gain contains an added unity term, so the resistor ratio is one less than the desired gain:


1+RfRg=4.00,RfRg=3.001+\frac{R_f}{R_g}=4.00,\qquad \frac{R_f}{R_g}=3.00


Rf=3.00(12.0 kΩ)=36.0 kΩR_f=3.00(12.0\ \text{k}\Omega)=36.0\ \text{k}\Omega


Now match the constant term. The reference is multiplied by the negative resistor ratio:


−3.00Vref=−1.20 V-3.00V_{\text{ref}}=-1.20\ \text{V}


Vref=1.20 V3.00=0.400 VV_{\text{ref}}=\frac{1.20\ \text{V}}{3.00}=0.400\ \text{V}


Choose Rf=36.0 kΩR_f=36.0\ \text{k}\Omega and an ideal reference of 0.400 V0.400\ \text{V} relative to ground.


c) Verify both endpoints, calculate the output at the midpoint input, and check the output range.


Substitute the selected values into the complete circuit equation before evaluating any input. This checks the gain and reference contribution together:


vout=(1+36.012.0)vin−36.012.0(0.400 V)=4.00vin−1.20 V\begin{aligned} v_{\text{out}} &=\left(1+\frac{36.0}{12.0}\right)v_{\text{in}}-\frac{36.0}{12.0}(0.400\ \text{V})\\ &=4.00v_{\text{in}}-1.20\ \text{V} \end{aligned}


At the lower endpoint,


vout,L=4.00(0.600 V)−1.20 V=1.20 Vv_{\text{out},L}=4.00(0.600\ \text{V})-1.20\ \text{V}=1.20\ \text{V}


At the upper endpoint,


vout,H=4.00(2.400 V)−1.20 V=8.40 Vv_{\text{out},H}=4.00(2.400\ \text{V})-1.20\ \text{V}=8.40\ \text{V}


The midpoint input and its output are


vin,M=0.600+2.4002 V=1.500 Vv_{\text{in},M}=\frac{0.600+2.400}{2}\ \text{V}=1.500\ \text{V}


vout,M=4.00(1.500 V)−1.20 V=4.80 Vv_{\text{out},M}=4.00(1.500\ \text{V})-1.20\ \text{V}=4.80\ \text{V}


This is also the midpoint of the required output endpoints. Because the gain is positive, the output ranges from 1.201.20 to 8.40 V8.40\ \text{V}, entirely within the permitted 00–12.0 V12.0\ \text{V} range. The completed design satisfies the specification under the stated assumptions.

A sensor produces 0.20 V0.20\ \text{V} at the lower end of its measurement range and 1.40 V1.40\ \text{V} at the upper end. An interface must map these readings to 1.50 V1.50\ \text{V} and 7.50 V7.50\ \text{V}, respectively, with a linear relationship between them. Which transfer equation meets the specification?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

An interface must produce 4.50 V4.50\ \text{V} when its sensor input is 0 V0\ \text{V} and 1.50 V1.50\ \text{V} when its sensor input is 1.50 V1.50\ \text{V}. Use the circuit shown with an ideal op-amp operating linearly and an ideal bias source VbV_b. All voltages share the same ground reference. Its transfer equation is


vout=(1+RfRg)Vb−RfRgvinv_{\text{out}}=\left(1+\frac{R_f}{R_g}\right)V_b-\frac{R_f}{R_g}v_{\text{in}}


A sensor drives an op-amp through Rg while a bias voltage drives its non-inverting input.


Which component selection satisfies both endpoints?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

An ideal op-amp interface must map a sensor range of 0.2500.250–1.750 V1.750\ \text{V} to an output range of 1.001.00–10.00 V10.00\ \text{V}, respectively. The sensor drives the non-inverting input. A resistor Rg=6.80 kΩR_g=6.80\ \text{k}\Omega connects the inverting input to an adjustable ideal reference source, and RfR_f provides negative feedback. Assume linear operation. The circuit equation is


vout=(1+RfRg)vin−RfRgVrefv_{\text{out}}=\left(1+\frac{R_f}{R_g}\right)v_{\text{in}}-\frac{R_f}{R_g}V_{\text{ref}}


A sensor drives the non-inverting input of an op-amp with a 6.80 kiloohm resistor connected to an adjustable reference.


What feedback resistance is required? Answer in kΩ\text{k}\Omega, to one decimal place.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors