Solving an Op Amp Circuit with Mathematica

In summary, the conversation is discussing the use of a temperature-dependent resistor in a circuit and how to maximize its sensitivity. The resistor's value is represented by Rs = R0 - 1.8T, with R0 = 5000 ohms and T in Kelvin. The ideal op amp has +/- 15 V power rails and the goal is to find the appropriate value for Rf to achieve maximum sensitivity. The circuit has been solved for a specific temperature and Rf value, and the approach of using two equations and two unknowns to solve for Rf and Rs is being discussed. It is also mentioned that the sensitivity may be constrained by the op amp railing out and that a high quality FET model may be needed for full
  • #1
engineer23
75
0
Here's my problem:

Rs is a resistor whose value depends on temperature. Rs = R0 - 1.8T, where R0 = 5000 ohms and T is in Kelvin.

If the ideal op amp has +/- 15 V power rails and you want to maximize the circuit's sensitivity, what should Rf be on the op amp? What is your maximum sensitivity at this resistance?

A drawing of the circuit is attached as a file. R2 corresponds to Rs (the temperature-dependent resistor) and R7 = R8 correspond to Rf. Please note that the drawing shows the circuit solved for T = 72 degrees Fahrenheit and Rf = 300 kOhm.

What I have done:
I have solved the circuit (using Mathematica) to obtain an expression for Vout in terms of Rf and Rs. Circuit sensitivity is dVout/dT (first derivative of voltage with respect to temperature), so I also have an expression for this. Since the power rails on the op amp dictate the maximum Vout, I should have Vout = 15. Maximum sensitivity is the second derivative of Vout with respect to T set equal to zero, correct? So then I have two equations and two unknowns and can solve for Rf and Rs.

Is this approach correct? Or am I missing something easier?
 

Attachments

  • circuit.doc
    33.5 KB · Views: 245
Engineering news on Phys.org
  • #3
Hmm, I'd have to write the equations to be sure, but I would think that the sensitivity is monotonic with respect to the feedback resistor values. Increasing the feedback resistance should increase the gain of the bridge output circuit, so it seems more likely that the limiting equation would come from the opamp railing out. For that, we'd need to know the maximum temperature range that is desired to measure, and then that gives us the extremes of the Rs values, which would then constrain the max value of Rs.

And to get close to full rail-to-rail output on the opamp, it would need to be a fairly high quality FET model. (I know they are assuming an ideal opamp in this problem)
 

FAQ: Solving an Op Amp Circuit with Mathematica

How can I use Mathematica to solve an Op Amp circuit?

To solve an Op Amp circuit using Mathematica, you can use the built-in function "TransferFunctionModel" to create a model of your circuit. Then, use the "TransferFunctionSolve" function to find the transfer function and solve for the output. You can also use the "StateSpaceModel" function if you prefer to work with state-space representations.

Can Mathematica simulate the behavior of an Op Amp circuit?

Yes, Mathematica has a built-in circuit simulation tool called "SystemModeler" which can simulate the behavior of Op Amp circuits. You can create your circuit model using either the "TransferFunctionModel" or "StateSpaceModel" function, and then simulate it using the "Simulate" function.

Are there any specific functions in Mathematica for analyzing Op Amp circuits?

Yes, apart from the "TransferFunctionModel" and "StateSpaceModel" functions, Mathematica also has other functions specifically designed for analyzing Op Amp circuits. These include "FeedbackSystemModel" for analyzing feedback systems, "NonlinearStateSpaceModel" for modeling nonlinear circuits, and "ReduceOrder" for reducing the order of a circuit model for faster computation.

Can I plot the frequency response of an Op Amp circuit using Mathematica?

Yes, you can use the "BodePlot" function to plot the frequency response of an Op Amp circuit modeled using the "TransferFunctionModel" or "StateSpaceModel" function. You can also use the "LogLogPlot" function for a logarithmic plot, or the "NyquistPlot" function for a Nyquist plot.

Are there any resources or tutorials available for solving Op Amp circuits with Mathematica?

Yes, there are many online resources and tutorials available for using Mathematica to solve Op Amp circuits. The Wolfram website has a section dedicated to circuit analysis and modeling, which includes tutorials and examples for using Mathematica. You can also find various tutorials and guides on other websites and forums, as well as in books and journals on circuit analysis and Mathematica.

Back
Top