Engineering Finding the gain of a circuit (Part Two)

  • Thread starter Thread starter NHLspl09
  • Start date Start date
  • Tags Tags
    Circuit Gain
AI Thread Summary
The discussion focuses on verifying the transfer function and gain calculation for a circuit involving an op-amp. The original poster seeks confirmation of their solution, which involves node equations and algebraic manipulation. Participants point out errors in the mathematical steps, particularly regarding the treatment of terms within parentheses and the implications of setting certain equations to zero. Suggestions include using a common denominator to simplify the expression and ensuring the constant term is made equal to one for clarity. Ultimately, the original poster receives validation for their revised answer after implementing the feedback.
NHLspl09
Messages
96
Reaction score
0
As previously stated in another thread, I have started to work on a summer assignment for my Fall semester EE course. I was given a circuit with an op amp and asked to determine the transfer function and gain. This problem I have completed (not sure if I'm correct) based off of notes from an EE course I took last semester, and am just asking for a simple check as to whether I'm horribly wrong or I did well. Any input is greatly appreciated!

Homework Statement



(Attatchment below - Page 1)
Determine the transfer function of the circuit given.

Homework Equations



(Attatchment below - Page 2)
Node equations

The Attempt at a Solution



(Attatchment below - Page 2)
 

Attachments

Physics news on Phys.org
I don't think the mathematics you committed in the last two lines of the v1 node calculation is kosher, so the line you've designated (1) is not correct.
 
gneill is referring to the fact that if you have a set of parentheses with 4 terms inside, the reciprocal of the content of the parentheses is not just the sum of the reciprocals of the individual terms.

Furthermore, earlier you have the left side of the equation equal to zero, then you set that same left side equal to Vin/R1, which implies that Vin/R1 is equal to zero. This is an error; Vin/R1 is only equal to zero if Vin is zero.

Just as a hint, I get ALF = -R3/R1
 
gneill said:
I don't think the mathematics you committed in the last two lines of the v1 node calculation is kosher, so the line you've designated (1) is not correct.

I think I forgot the -1 outside of the parenthases, making the second to last line equivilent to the last line. Is that not right?

The Electrician said:
gneill is referring to the fact that if you have a set of parentheses with 4 terms inside, the reciprocal of the content of the parentheses is not just the sum of the reciprocals of the individual terms.

Furthermore, earlier you have the left side of the equation equal to zero, then you set that same left side equal to Vin/R1, which implies that Vin/R1 is equal to zero. This is an error; Vin/R1 is only equal to zero if Vin is zero.

Just as a hint, I get ALF = -R3/R1

What I did was bring the -\frac{Vin}{R_1} to the right side of the equation making it \frac{Vin}{R_1}
 
\left( \frac{1}{a} + \frac{1}{b} + \frac{1}{c}\right) \neq \left( a + b + c\right)^{-1}
 
gneill said:
\left( \frac{1}{a} + \frac{1}{b} + \frac{1}{c}\right) \neq \left( a + b + c\right)^{-1}

You're right, I just went back and checked with you. So my best bet would be to just keep it as is in line three? I just feel like that'd get really disgusting with \frac{1}{1/sC_1}
 
The individual term can become s*C1.

What I might suggest is putting everything over a common denominator to start with. Since the expression equals zero you can then discard the denominator. Then collect the voltage terms, make your substitution for v1, and proceed. It ain't pretty, but it'll get you there.
 
gneill said:
The individual term can become s*C1.

What I might suggest is putting everything over a common denominator to start with. Since the expression equals zero you can then discard the denominator. Then collect the voltage terms, make your substitution for v1, and proceed. It ain't pretty, but it'll get you there.

That doesn't sound pretty at all - when you say putting everything over a common denominator do you mean what I have in the first step? Or go another route
 
NHLspl09 said:
That doesn't sound pretty at all - when you say putting everything over a common denominator do you mean what I have in the first step? Or go another route

Ah. I see that you've essentially done this by the time you first write vo/vi on the LHS of the expression. (Sorry about missing that...).

From that point, instead of trying to get the coefficient of the s2 term to be one, look to make the constant term 1. That will put the expression in the form desired:
A_v(s) = A_{LF}\left(\frac{1}{1 + b_1 s + b_2 s^2}\right)
 
  • #10
gneill said:
Ah. I see that you've essentially done this by the time you first write vo/vi on the LHS of the expression. (Sorry about missing that...).

From that point, instead of trying to get the coefficient of the s2 term to be one, look to make the constant term 1. That will put the expression in the form desired:
A_v(s) = A_{LF}\left(\frac{1}{1 + b_1 s + b_2 s^2}\right)

Haha it's no problem at all, I was really confused for a moment :-p

Because of the way I have it in my final answer, 1/((something) + s*(something) + s2), is there an easy way to do what you're saying by making the constant term 1?
 
  • #11
I would just go back to your first vo/vin line and divide numerator and denominator by R1R2.
 
  • #12
gneill said:
I would just go back to your first vo/vin line and divide numerator and denominator by R1R2.

Right :redface: I'm going to give that a shot and see how it goes. Updates soon.
 
Last edited:
  • #13
Took your advice by dividing the numerator and denomenator by R1R2 and it was much cleaner it seemed and also I now have an answer for b2.
 

Attachments

  • #14
Looks fine to me. Well done!
 
  • #15
NHLspl09 said:
What I did was bring the -\frac{Vin}{R_1} to the right side of the equation making it \frac{Vin}{R_1}


I see that now. It was late when I first looked at your work and I missed that point. :-(

You have now got the correct answer. The attachment shows how I got the result using another method.
 

Attachments

  • P4EE.png
    P4EE.png
    7.2 KB · Views: 505
  • #16
gneill said:
Looks fine to me. Well done!

Thank you for all the help :D

The Electrician said:
I see that now. It was late when I first looked at your work and I missed that point. :-(

You have now got the correct answer. The attachment shows how I got the result using another method.

Haha it's no worries at all! Thank you very much for your input and help, and that attatchment makes for a nice check! :smile:
 
Back
Top