## Description

** Difference amplifier **

A difference amplifier is driven by a sensor with source impedance *R _{s}*. Let

*R*= 10k and

_{f}*R*= 100. Assume ideal opamp behavior.

_{i}- Derive an expression and determine a value for the DC differential input impedance
*Z*of the amplifier. Determine the source impedance_{in}*R*that results in a maximum of 0.1% attenuation of the input voltage._{s} - Simulate the amplifier in Ltspice using the UniversalOpamp2 component (default parameters). Plot
*Z*up to 10MHz using AC analysis to show how it varies as a function of opamp gain._{in}

# Problem 2: Instrumentation amplifier analysis

**Figure 2. Instrumentation amplifier **

Assume the above opamps have a DC gain of 120dB and an *f _{T}* of 1MHz. Nominal resistance values are

*R*

_{fp}= *R _{fm}* = 4.95k,

*R*= 100, and

_{G}*R*=

_{1}*R*= 10k, all with 0.1% tolerance.

_{2}- Determine the differential DC gain of the amplifier and the closed-loop bandwidth.
*Ignore resistor mismatch.* - Based on the value of
*f*, what is the closed-loop gain error at 100Hz?_{T}*Ignore mismatch.* - Including the effect of resistor mismatch, what are the CMRR and the worst-case DC gain error?
*Assume infinite opamp open-loop gain.* - Assume
*U*and_{1}*U*have min/max input offset voltages of 100V but are otherwise identical. What is the maximum allowable offset of_{2}*U*to achieve a_{3}*worst-case**input-referred**offset*(the offset at*V*divided by the differential gain) of 250V?_{out}*Ignore resistor mismatch.* - Simulate the instrumentation amplifier in Ltspice using the UniversalOpamp2 component with appropriate Avol, GBW, and Vos values. Provide the following in your submission:
- Image of your schematic showing the DC operating point (DC voltages at all nodes). Use the worst-case mismatch condition for the resistors. How much is the offset affected by resistor mismatch?
- Plot showing the closed loop gain error at 100Hz using WC analysis. You can do this by selecting ‘list’ for the sweep type under AC analysis. Note that you need to run 128 iterations (2
^{7}, where 7 is the number of resistors) to cover all mismatch combinations. Compare the contributions to gain error from finite opamp gain and resistor mismatch (i.e. which effect is more significant?). - Bode plots demonstrating closed-loop differential gain/phase and closed-loop commonmode gain/phase. For common-mode gain you should use the worst-case mismatch condition for the resistors.