How Do You Solve an Op-Amp Integrator Circuit with a DC Offset?

  • Thread starter Thread starter rhysticlight
  • Start date Start date
  • Tags Tags
    Op-amp
AI Thread Summary
The discussion focuses on solving an op-amp integrator circuit with a DC offset, specifically involving a square wave input and a capacitor with an initial charge of 1 V. Three methods are proposed: treating the circuit as a simple integrator due to the high frequency of the input signal, using the Laplace domain to account for the initial charge, and applying a textbook formula resembling an STC circuit. Confusion arises regarding the correct approach, particularly in accounting for the capacitor's charging behavior and the effects of the resistor across the capacitor. The suggestion is made to utilize Kirchhoff's current law to derive the voltage across the capacitor and resistor, emphasizing the integrator's nature and the resulting output waveform characteristics.
rhysticlight
Messages
3
Reaction score
0

Homework Statement


The problem is shown in the attached PDF, it is basically applying a square wave signal to an op-amp integrator which has a resistor across the capacitor to correct for small DC signal.

In this case it is given that the capacitor has an initial charge of 1 V on it.


Homework Equations


Relevant equations are the transfer function of such an op-amp:
H(S) = \frac{-R2}{R1} \frac{1}{1+R2_{2}SC}

As well as the time domain equation for the output voltage:
Vout = (-1/R1C)*[ integral from 0 to t (Vindt] - Vc

where Vc is the initial voltage across the capacitor



The Attempt at a Solution


So basically I have found three separate ways to solve this problem, but am not sure which one is correct:

First Way
Recognize the fact that the corner frequency of the low pass filter is 0.5 rad/s while the frequency of our input waveform (from 0 to 500 ms) is 4 pi, which is much greater than the corner frequency and we can therefore neglect the shunt resistor and treat this as a simple integrator.
This would leave the same 1 V charge on the capacitor at the end of the waveform, and for 500 ms < t < inifinity, we simply have an exponential decay of this 1 V charge with a time constant of 2 seconds.

Second Way
Draw the circuit in the Laplace domain, which results in us having to add a voltage source in series with the capacitor to account for the initial charge on the capacitor. The expression for the output in the s-domain then becomes:
(see attachment 2)

This reduces to the same expression for my case of 500 ms < t < inifinity, but I don't think it is correct for the other two intervals, but am not quite sure why (I feel like this expression isn't properly accounting for the fact that the capacitor is charging)

Third Way
Use a formula that I got out of the textbook that basically has the form of the final equation in the attached thumbnail. This basically treats the circuit as a simple STC circuit, I feel like the answers I get with this equation should match up with my second method above, but so far they are not.

Clearly I am pretty confused as to how to best approach this problem and would appreciate any advice you can give as everything I have found online or in books doesn't really examine this type of op-amp in this manner (generally just stops after getting the transfer function and noting its characteristics). Sorry for the long and possibly confusing post!

Thanks!
 

Attachments

  • Question 1b.pdf
    Question 1b.pdf
    243.9 KB · Views: 466
  • Equations for 1b post.png
    Equations for 1b post.png
    2 KB · Views: 607
Physics news on Phys.org
rhysticlight said:

Homework Statement


The problem is shown in the attached PDF, it is basically applying a square wave signal to an op-amp integrator which has a resistor across the capacitor to correct for small DC signal.

In this case it is given that the capacitor has an initial charge of 1 V on it.


Homework Equations


Relevant equations are the transfer function of such an op-amp:
H(S) = \frac{-R2}{R1} \frac{1}{1+R2_{2}SC}

As well as the time domain equation for the output voltage:
Vout = (-1/R1C)*[ integral from 0 to t (Vindt] - Vc

where Vc is the initial voltage across the capacitor



The Attempt at a Solution


So basically I have found three separate ways to solve this problem, but am not sure which one is correct:

First Way
Recognize the fact that the corner frequency of the low pass filter is 0.5 rad/s while the frequency of our input waveform (from 0 to 500 ms) is 4 pi, which is much greater than the corner frequency and we can therefore neglect the shunt resistor and treat this as a simple integrator.
This would leave the same 1 V charge on the capacitor at the end of the waveform, and for 500 ms < t < inifinity, we simply have an exponential decay of this 1 V charge with a time constant of 2 seconds.

Second Way
Draw the circuit in the Laplace domain, which results in us having to add a voltage source in series with the capacitor to account for the initial charge on the capacitor. The expression for the output in the s-domain then becomes:
(see attachment 2)

This reduces to the same expression for my case of 500 ms < t < inifinity, but I don't think it is correct for the other two intervals, but am not quite sure why (I feel like this expression isn't properly accounting for the fact that the capacitor is charging)

Third Way
Use a formula that I got out of the textbook that basically has the form of the final equation in the attached thumbnail. This basically treats the circuit as a simple STC circuit, I feel like the answers I get with this equation should match up with my second method above, but so far they are not.

Clearly I am pretty confused as to how to best approach this problem and would appreciate any advice you can give as everything I have found online or in books doesn't really examine this type of op-amp in this manner (generally just stops after getting the transfer function and noting its characteristics). Sorry for the long and possibly confusing post!

Thanks!

First of all, the resistor across the integration cap forms a highpass filter, not a lowpass filter, IMO.

Second, it would seem to be simpler for this problem to just write an equation for the voltage across the cap based on the virtual ground property of the opamp. You are given the input voltage as a function of time, and you know that the left side of the cap is "grounded", and the current through the source resistor has to all flow through the cap and resistor. You should be able to write a KCL or similar equation, for the voltage across the R//C as a function of time... Maybe try that approach to see if it works for you.

Remember, the circuit is just an integrator, with some leakage off of the cap afforded by the parallel resistor. So the output waveform will look like parts of triangle waves (ramps), with some leakage toward zero volts opposing the ramps away from zero volts (and helping the ramps toward zero volts...).
 
Thread 'Have I solved this structural engineering equation correctly?'
Hi all, I have a structural engineering book from 1979. I am trying to follow it as best as I can. I have come to a formula that calculates the rotations in radians at the rigid joint that requires an iterative procedure. This equation comes in the form of: $$ x_i = \frac {Q_ih_i + Q_{i+1}h_{i+1}}{4K} + \frac {C}{K}x_{i-1} + \frac {C}{K}x_{i+1} $$ Where: ## Q ## is the horizontal storey shear ## h ## is the storey height ## K = (6G_i + C_i + C_{i+1}) ## ## G = \frac {I_g}{h} ## ## C...

Similar threads

Back
Top