Op-Amp Circuit Design
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:
Here, a is the dimensionless signed gain and b 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,L to vout,L and vin,H to vout,H, calculate
Keep the endpoint pairs together. If the output decreases as the input increases, the signed gain is negative.
For instance, mapping 0.40–1.60 V to 1.00–7.00 V requires
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.
For the circuit shown, define r=Rf/Rg. Its transfer relation is
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>1 | u=vin, w=Vref | r=a−1, b=−rVref |
a<0 | u=Vb, w=vin | r=−a, b=(1+r)Vb |
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.00. The required reference is
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Ω, the example requires Rf=40.0 kΩ. Substitution gives
The endpoints are therefore 1.00 V and 7.00 V, as required. A midpoint input of 1.00 V gives 4.00 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.600–2.400 V. A recording interface requires these endpoints to become 1.20–8.40 V, respectively, with an affine transfer between them. Use the circuit shown with Rg=12.0 kΩ.
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 0–12.0 V. The circuit equation is
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.
The required transfer is therefore
The signed gain is +4.00 and the output offset is −1.20 V.
b) Calculate Rf and Vref.
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:
Now match the constant term. The reference is multiplied by the negative resistor ratio:
Choose Rf=36.0 kΩ and an ideal reference of 0.400 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:
At the lower endpoint,
At the upper endpoint,
The midpoint input and its output are
This is also the midpoint of the required output endpoints. Because the gain is positive, the output ranges from 1.20 to 8.40 V, entirely within the permitted 0–12.0 V range. The completed design satisfies the specification under the stated assumptions.
An interface must produce 4.50 V when its sensor input is 0 V and 1.50 V when its sensor input is 1.50 V. Use the circuit shown with an ideal op-amp operating linearly and an ideal bias source Vb. All voltages share the same ground reference. Its transfer equation is
Which component selection satisfies both endpoints?
An ideal op-amp interface must map a sensor range of 0.250–1.750 V to an output range of 1.00–10.00 V, respectively. The sensor drives the non-inverting input. A resistor Rg=6.80 kΩ connects the inverting input to an adjustable ideal reference source, and Rf provides negative feedback. Assume linear operation. The circuit equation is
What feedback resistance is required? Answer in kΩ, to one decimal place.