Engineering Understanding High Entropy Expressions in Circuit Analysis

  • Thread starter Thread starter peasngravy
  • Start date Start date
  • Tags Tags
    Voltage
AI Thread Summary
The discussion revolves around a complex circuit analysis problem involving operational amplifiers (op-amps) and filters. The original poster is confused about estimating quiescent voltages and overall voltage gain, particularly regarding the frequency of operation. Participants suggest starting with the bias points and understanding the op-amp configurations to calculate gain. They emphasize the importance of recognizing the circuit's low-pass and high-pass filter characteristics and how to apply nodal analysis and complex impedance in calculations. The conversation highlights the challenges of advanced circuit analysis while providing guidance on approaching the problem systematically.
peasngravy
Messages
72
Reaction score
6
Homework Statement
Estimate the quiescent voltages at the inputs and outputs of the two
op-amps and the overall voltage gain (in decibels) of the circuit at the
frequency of operation. State any assumptions made.
Relevant Equations
None
Hi

I am completely stumped by this question - I have no idea where I am supposed to start with it. I have the answer to part a), which I had no trouble with.

Part B confuses me as I am not sure what the frequency of operation is. Would someone be able to help me to understand where to start with this?

Thanks
1605798954439.png
1605798954439.png
 
Physics news on Phys.org
peasngravy said:
Homework Statement:: Estimate the quiescent voltages at the inputs and outputs of the two
op-amps and the overall voltage gain (in decibels) of the circuit at the
frequency of operation. State any assumptions made.
Relevant Equations:: None

Hi

I am completely stumped by this question - I have no idea where I am supposed to start with it. I have the answer to part a), which I had no trouble with.

Part B confuses me as I am not sure what the frequency of operation is. Would someone be able to help me to understand where to start with this?

Thanks
View attachment 272781View attachment 272781
So it sounds like you were able to figure out the bias points, and are now asking about how to calculate the gain? Can you take a guess at what each of those two opamp topologies are? That will get you started on the 2nd part...
 
Sorry that must have been confusing, there are 2 parts to this question, the part a) being related to the 12-5v converter. I forgot I only posted part b), so you can completely ignore anything about that.

Basically I have no idea where to begin - it is a far more advanced circuit than we have seen so far in any of our notes
 
You should be able to figure out the bias points though, no? You have voltage dividers setting the + input voltages, and ignore the capacitors to figure out all of the DC voltages.

And for the AC analysis, you don't have a guess what kind of basic function each stage is configured for? If not, have a look at basic opamp topologies to see if you can figure it out. Once you know what each stage is basically doing, that makes it easier to answer the question about the gain...

https://en.wikipedia.org/wiki/Operational_amplifier_applications

http://www.physics.unlv.edu/~bill/PHYS483/op_amp_filt.pdf
 
  • Like
Likes peasngravy
So the capacitors are there to act as a low pass filter for that part of the circuit which i can use to calculate the frequency of operaion here?

Ok so for the non-inverting input of both op amps i just get
Vin = 5(R1/R1+R12)
Vin = 5(22k/22K+33K) = 2V at + terminals
Does that sound right so far?

Edit - the low pass filter seems to be set at 7.23hz = (1/(2*pi*rc))
 
peasngravy said:
Ok so for the non-inverting input of both op amps i just get
Vin = 5(R1/R1+R12)
Vin = 5(22k/22K+33K) = 2V at + terminals
Does that sound right so far?
Seems like a good start...
peasngravy said:
So the capacitors are there to act as a low pass filter for that part of the circuit which i can use to calculate the frequency of operaion here?
Keep in mind that RC circuits can form two kinds of filters, depending on how they are configured. What are the two basic RC filter types? And what can happen when you combine those two types in the right way?
 
  • Like
Likes DaveE
Here are a couple of hints just to make the problem more clear.

1) Because they didn't tell you anything about the sensors and the MOSFET, and because they labeled Vn. You can safely ignore everything to the left of C9. You will assume the input is the voltage Vn.

2) You should also ignore C4 and C6, they were put there by an idiot*. They won't really effect your answer anyway. You can assume that each op-amp solely determines the voltage at it's output based on it's inputs.

I'm not helping you solve the problem, these things are just irrelevant to the calculations/understanding intended and could cause confusion.

*OK, perhaps unfair. That is a very unusual thing to do and it may have been put there for a legitimate, but strange reason. [note to others: typical zo for this part is 150Ω]
 
DaveE said:
1) Because they didn't tell you anything about the sensors and the MOSFET, and because they labeled Vn. You can safely ignore everything to the left of C9. You will assume the input is the voltage Vn.
I note that the schematic labels that section "PIR", which is industry-speak for Passive InfraRed sensor. Or Pyroelectric InfraRed sensor, depending upon your industry jargon preference. Eh, doesn't matter. It's a PIR, and a bit of Google wrangling will quickly lead you to a theory of operation.

The point is that any signal from the sensors will likely be very low frequency, depending upon the change in infrared influx due to the motion of warm bodies in the field of view of the sensor. One can presumably estimate the Hertz range by shear intuition, or by exercising a bit more Google-foo, find some datasheets to mine for relevant data. Probably overkill for this exercise.
 
DaveE said:
2) You should also ignore C4 and C6, they were put there by an idiot*.
DaveE said:
*OK, perhaps unfair. That is a very unusual thing to do and it may have been put there for a legitimate, but strange reason. [note to others: typical zo for this part is 150Ω]
Good eye, I missed those. They would seem capable of doing bad things with feedback loop stability...
 
  • Like
Likes DaveE and gneill
  • #10
gneill said:
The point is that any signal from the sensors will likely be very low frequency,... One can presumably estimate the Hertz range by shear intuition
OK, you can also deduce this by multiplying any of the RC combinations in the schematic.
 
  • #11
Tell us more about your background in analysis. Are you comfortable with complex numbers and phasors? AC circuit analysis and impedance? Laplace transforms? Bode plots? Ideal op-amp models? Simple RC circuits?

It's OK if you're not, we just need to know how to target our answers. Frankly, the way I would approach this problem may be simple to me but not to you.
 
  • #12
DaveE said:
Tell us more about your background in analysis. Are you comfortable with complex numbers and phasors? AC circuit analysis and impedance? Laplace transforms? Bode plots? Ideal op-amp models? Simple RC circuits?

It's OK if you're not, we just need to know how to target our answers. Frankly, the way I would approach this problem may be simple to me but not to you.

Sorry for the late reply, different time zone :)

I am familiar with simple RC circuits, ac circuit analysis and just learning about op-amps now. I have not done any of the above in any great depth to be honest
 
  • #13
berkeman said:
Seems like a good start...

Keep in mind that RC circuits can form two kinds of filters, depending on how they are configured. What are the two basic RC filter types? And what can happen when you combine those two types in the right way?

Ok so this is a band-pass filter - looking at the pdf you linked to, this particular band pass filter gives a higher gain and steeper roll-off frequency. Thanks for that as it has helped me out here - however I am not quite sure why both C5 and C8 are included
 
  • #14
peasngravy said:
So the capacitors are there to act as a low pass filter for that part of the circuit which i can use to calculate the frequency of operaion here?

Ok so for the non-inverting input of both op amps i just get
Vin = 5(R1/R1+R12)
Vin = 5(22k/22K+33K) = 2V at + terminals
Does that sound right so far?
The problem asks for the voltage at the output of the opamps as well.

peasngravy said:
Edit - the low pass filter seems to be set at 7.23hz = (1/(2*pi*rc))

What part of the circuit are you referring to as a low pass filter? Which R and C are you using in the formula?
 
  • #15
The Electrician said:
The problem asks for the voltage at the output of the opamps as well.
What part of the circuit are you referring to as a low pass filter? Which R and C are you using in the formula?

I used C3 and R5 for that formula

I am working on the outputs at the moment - the inverting terminals will be at the some potential as the non-inverting terminals due to the negative feedback right?
 
  • #16
When you say you are "working" on the outputs, just exactly what are you doing? You should be writing some equations. Show us what you are doing in that regard. You should probably be solving for the response of the opamp stages separately, and when you have the individual responses, you can combine them to get the overall response.
 
  • #17
The Electrician said:
When you say you are "working" on the outputs, just exactly what are you doing? You should be writing some equations. Show us what you are doing in that regard. You should probably be solving for the response of the opamp stages separately, and when you have the individual responses, you can combine them to get the overall response.

Ok so i was looking at the first op amp to work out what was involved.

So for the gain, I was looking at
Av = - (R5/R4) = -(2200000/10000) = -220

So it looks like each Op-amp has a band pass filter. For the first op-amp, on the left, the high pass filter is C9 and R3 with a cutoff frequency of 0.72hz, and the low pass filter is c3 and r5 with a frequency of 7.23hz so the first parts operates between those frequencies.

2nd op amp's high pass, I went with C8 and r6 as I wasn't sure of the function of C5. Using those, and C7 and R9 for the high pass, i get an operating range of 0.22-7.23 hz
 
Last edited:
  • #18
What about C2 and C3?

Do you know how to perform a nodal analysis?

If you work on the first opamp you would need 4 equations involving the 4 nodes I've marked here:
Opamp1.png
 
  • #19
Do you know how to get an expression for the complex impedance of a resistor R in parallel with a capacitor C?

The impedance of a capacitor is given by 1/ (j ω C). Using the product over the sum formula for elements in parallel, you get Z (the equivalent impedance of the parallel combination) = (R * 1/(j ω C))/(R + 1/(j ω C)).

Do you know how to do this sort of complex algebra?
 
  • Like
Likes peasngravy
  • #20
What do j and omega relate to in that formula?

I really need to go back to basics with the nodal analysis stuff I think, I learned that a LONG time ago, maybe 20 years ago
 
  • #21
j is the imaginary quantity √-1 and ω is the radian frequency 2*π*f. These are used when performing a phasor analysis of a circuit with capacitors and resistors.

The gain of the first opamp is not just -(R5/R4); you have to also take into account the capacitors. Have you learned how to do that?

The corner frequency of the input high pass is not just given by R3 and C9; you also have to take into account the effect of R1 and R12. You calculate the parallel combination of R1 and R12 and add that to the value of R3, then multiply that quantity by 2, Pi, and C9, and reciprocate.

You have a complicated overall circuit here. :smile:

I've got to go to bed now. Some of the other helpers will take over when they wake up.
 
  • Like
Likes peasngravy
  • #22
The Electrician said:
j is the imaginary quantity √-1 and ω is the radian frequency 2*π*f. These are used when performing a phasor analysis of a circuit with capacitors and resistors.

The gain of the first opamp is not just -(R5/R4); you have to also take into account the capacitors. Have you learned how to do that?

The corner frequency of the input high pass is not just given by R3 and C9; you also have to take into account the effect of R1 and R12. You calculate the parallel combination of R1 and R12 and add that to the value of R3, then multiply that quantity by 2, Pi, and C9, and reciprocate.

You have a complicated overall circuit here. :smile:

I've got to go to bed now. Some of the other helpers will take over when they wake up.

Yeah it is very complicated, I have found it a bit overwhelming to be honest and the maths you have shown me does not make me feel much better :D But thank you for your time helping me, i appreciate it
 
  • #23
DaveE said:
You should also ignore C4 and C6, they were put there by an idiot*.

*OK, perhaps unfair. That is a very unusual thing to do and it may have been put there for a legitimate, but strange reason. [note to others: typical zo for this part is 150Ω]
Concerning C4 and C6, it is NEVER a good idea to hang a capacitor directly on the output of an op-amp. I will defend your original statement about them being put there by an idiot.
-
Now, that being said, many years ago I was likely guilty of doing that exact same thing in some homebrew project before I knew better. If something like this were to ever help prevent an oscillation it is likely an example of 2 wrongs making a right. And that in and of itself is still wrong.
 
  • Like
Likes berkeman
  • #24
The reason designers like to use op-amp is their (nearly) ideal characteristics. These are infinite input impedance, infinite gain, zero output impedance (for voltage amplifiers). This allows you to solve feedback networks by splitting them easily into parts that don't interact.

So, if you aren't familiar with this yet. First study the simple op-amp configurations like on https://www.electronics-tutorials.ws/opamp/opamp_2.html (there are about a million places on the web for this stuff, I chose this one at random). You will want to first understand and memorize the simplest negative feedback results (inverting and non-inverting circuits). These sites will all initially show you the answers for simple resistors, but in filter circuits like the one you posted you can combine reactive elements into a complex, frequency dependent, impedance. So, for example, R9||C7 can be treated as an impedance Z=R9/(1+jω⋅R9⋅C7). This example is an impedance whose magnitude |Z|=R9/√(1-ω2⋅R92⋅C72) is Z≅R9 at low frequencies, but around the frequency fc=1/(2π⋅R9⋅C7) will start to decrease, at high frequencies it will be dominated by the capacitor C7 with Z≅1/(jω⋅C7).

This approach will allow you to split up your analysis into pieces like I've shown below. Except for their inclusion in the basic formulas, you don't have to worry about interactions between the groups.

Untitled-1.jpg
 
  • Like
Likes peasngravy
  • #25
  • Like
Likes peasngravy
  • #26
peasngravy, do you want any more help on this, or will post #22 be your last post here?
 
  • #27
The Electrician said:
peasngravy, do you want any more help on this, or will post #22 be your last post here?

Hi - I am based in Europe so it’s just early in the morning here now. I will spend some time today digesting some of the info you guys have given and have another go at an answer when my daughter allows me to spend the time :). Thanks to everyone for your time so far.

I have not seen anything like the stuff that has been posted so far in my notes so it seems like a bit of a jump to just throw this stuff in without really teaching us about it - this is the first op-amp circuit in the course to use capacitors so far.

This is a distance learning course so it’s difficult to understand some of it without speaking to someone.
 
  • #28
DaveE said:
The reason designers like to use op-amp is their (nearly) ideal characteristics. These are infinite input impedance, infinite gain, zero output impedance (for voltage amplifiers). This allows you to solve feedback networks by splitting them easily into parts that don't interact.

So, if you aren't familiar with this yet. First study the simple op-amp configurations like on https://www.electronics-tutorials.ws/opamp/opamp_2.html (there are about a million places on the web for this stuff, I chose this one at random). You will want to first understand and memorize the simplest negative feedback results (inverting and non-inverting circuits). These sites will all initially show you the answers for simple resistors, but in filter circuits like the one you posted you can combine reactive elements into a complex, frequency dependent, impedance. So, for example, R9||C7 can be treated as an impedance Z=R9/(1+jω⋅R9⋅C7). This example is an impedance whose magnitude |Z|=R9/√(1-ω2⋅R92⋅C72) is Z≅R9 at low frequencies, but around the frequency fc=1/(2π⋅R9⋅C7) will start to decrease, at high frequencies it will be dominated by the capacitor C7 with Z≅1/(jω⋅C7).

This approach will allow you to split up your analysis into pieces like I've shown below. Except for their inclusion in the basic formulas, you don't have to worry about interactions between the groups.

View attachment 272841

this is very helpful to see it broken down this way, I didn’t realize they could almost be looked at as independent circuits
 
  • #29
Suppose C3 and C7 were removed, and C9, C2, C5 and C8 were replaced with a short (each replaced with a wire in other words), could you calculate the voltage gain Vout/Vin? Then the circuit would be all resistors, no capacitors; opamps still there, of course.
 
  • #30
The problem statement says:

"Estimate ... the overall voltage gain (in decibels) of the circuit at the
frequency of operation. State any assumptions made. "

Notice that it says "estimate". You made some calculations and found that the operating frequency is probably in the neighborhood of a few hertz. Assume that it's one hertz for easy calculations. State that you have made this assumption and explain that it's based on your calculations of the high and low pass frequencies.

Now calculate the reactance of each capacitor at one hertz; you get a value in ohms. Replace each capacitor with a resistor whose value is equal to the reactance in ohms. Now you have a circuit without any capacitors, just resistors. Calculate the gain Vout/Vin for this modified circuit. This can be your "estimate", and it's not completely unreasonable.
 
  • #31
So I estimated the voltage at the non-inverting terminal as 3.707V

(R1*R3)/(R1+R3) = 7674
5V*(7674/(7674+R12)) = 3.707V

Ideal op-amp so this voltage applies across both input terminal

Gain of non-inverting op amp:
Av = 1+ (Rf/Rin)
Rin being R4 here, 10k
Av = 1+ (2.2meg/10k) = 221
Av = Vout/Vin
Vout = Vin*Av = 3.307*221
Vout = 819V

Seems rather high but hopefully I am the right track here?
 
  • #32
peasngravy said:
So I estimated the voltage at the non-inverting terminal as 3.707V

(R1*R3)/(R1+R3) = 7674
5V*(7674/(7674+R12)) = 3.707V
The 5V is a DC voltage and it's blocked by capacitors.

It looks like you're calculating the quiescent voltage on the non-inverting terminal of the first opamp. You already did that correctly in post #5. Now you're doing it incorrectly.

peasngravy said:
Ideal op-amp so this voltage applies across both input terminal

Gain of non-inverting op amp:
Av = 1+ (Rf/Rin)
Rin being R4 here, 10k
Av = 1+ (2.2meg/10k) = 221
Av = Vout/Vin
Vout = Vin*Av = 3.307*221
Vout = 819V

Seems rather high but hopefully I am the right track here?

Now you're calculating the gain of the opamp for the DC on the "+" terminal. The capacitor C2 prevents the opamp from having any gain (other than unity) for DC because for DC the 10k resistor R4 is not Rin. Rin is the series combination of R4 and C2 and the resistance of C2 for DC is infinite. The resistor R5 connects the "-" terminal to the output for DC so the gain of the opamp for DC is just 1. The voltage at the "-" terminal is the same as the opamp output voltage.

The problem statement wants you to estimate the overall voltage gain. They are referring to the small signal gain: https://en.wikipedia.org/wiki/Small-signal_model

The AC signal at Vin is at a frequency of around 1 or 2 hertz, but it is a small signal, probably only millivolts.

The incoming small AC signal passes through C9 and R3. Those two components appear to be high pass but their output is loaded by R1 and R12 which changes the frequency determined by the C9 R3 pair.

Also, the small signal which has passed through the C9 R3 pair is decreased in amplitude because of the loading from R1 and R12. Note that for small signal purposes, the 5 volt line is a ground for small signals so that R1 and R12 are effectively in parallel as a load on the C9 R3 pair.

For small signals the series combination of R4 and C2 serves as Rin in the formula for non-inverting gain, but you must calculate the impedance magnitude |Z| of the R4 C2 series connected pair to use in the formula.

The formula also needs a value for Rf. This value will be the impedance magnitude |Z| of the parallel combination of C3 and R5.
 
  • Like
Likes peasngravy
  • #33
The Electrician said:
The 5V is a DC voltage and it's blocked by capacitors.

It looks like you're calculating the quiescent voltage on the non-inverting terminal of the first opamp. You already did that correctly in post #5. Now you're doing it incorrectly.
Now you're calculating the gain of the opamp for the DC on the "+" terminal. The capacitor C2 prevents the opamp from having any gain (other than unity) for DC because for DC the 10k resistor R4 is not Rin. Rin is the series combination of R4 and C2 and the resistance of C2 for DC is infinite. The resistor R5 connects the "-" terminal to the output for DC so the gain of the opamp for DC is just 1. The voltage at the "-" terminal is the same as the opamp output voltage.

The problem statement wants you to estimate the overall voltage gain. They are referring to the small signal gain: https://en.wikipedia.org/wiki/Small-signal_model

The AC signal at Vin is at a frequency of around 1 or 2 hertz, but it is a small signal, probably only millivolts.

The incoming small AC signal passes through C9 and R3. Those two components appear to be high pass but their output is loaded by R1 and R12 which changes the frequency determined by the C9 R3 pair.

Also, the small signal which has passed through the C9 R3 pair is decreased in amplitude because of the loading from R1 and R12. Note that for small signal purposes, the 5 volt line is a ground for small signals so that R1 and R12 are effectively in parallel as a load on the C9 R3 pair.

For small signals the series combination of R4 and C2 serves as Rin in the formula for non-inverting gain, but you must calculate the impedance magnitude |Z| of the R4 C2 series connected pair to use in the formula.

The formula also needs a value for Rf. This value will be the impedance magnitude |Z| of the parallel combination of C3 and R5.

this is really helpful. Thank you. As soon as I get a chance I’ll have another shot at this
 
  • #34
Hi, peasngravy, any luck on your latest efforts?
 
  • #35
The Electrician said:
Hi, peasngravy, any luck on your latest efforts?

Hi - I actually tried building this circuit in pspice to help me understand it a bit better yesterday but I didn't have much luck.

Most of my learning material was in my workplace so I didn't have access to a lot of it over the weekend so I am looking through this now.

I was confused on what the AC input signal (vin) is though, the one you said will be in mV - i am not sure how to calculate that
 
  • #36
You don't calculate Vin--it's a given. You assume a sine wave of voltage at a frequency of 1 Hz is applied to Vin. I like to assume that the voltage of the input is 1 volt AC, but any voltage is OK. Then you calculate the way this voltage signal is amplified as it passes through the circuit. The voltage at Vout is your final result. The voltage gain is then given by Av = Vout/Vin.

In the real world the voltage at Vin due to the sensors will probably be on the order of millivolts, but for your problem since it's just math, you can assume any Vin. Since the circuit is being treated as if it's perfectly linear with unlimited output voltage capability from the opamps for the purpose of doing the math, any Vin will do.
 
  • #37
Averagesupernova said:
Concerning C4 and C6, it is NEVER a good idea to hang a capacitor directly on the output of an op-amp. I will defend your original statement about them being put there by an idiot.
-
Now, that being said, many years ago I was likely guilty of doing that exact same thing in some homebrew project before I knew better. If something like this were to ever help prevent an oscillation it is likely an example of 2 wrongs making a right. And that in and of itself is still wrong.
Yes, however, in this case it doesn't matter for stability. That pole is around 1MHz and these circuits cross-over at 1-2KHz. Still, I have no idea what they think it's supposed to do.
 
  • #38
DaveE said:
Yes, however, in this case it doesn't matter for stability. That pole is around 1MHz and these circuits cross-over at 1-2KHz. Still, I have no idea what they think it's supposed to do.

Based on the frequency response of the circuit, it appears that the operating frequency is about 1-2 Hz, not 1-2 kHz.
 
  • #39
The Electrician said:
You don't calculate Vin--it's a given. You assume a sine wave of voltage at a frequency of 1 Hz is applied to Vin. I like to assume that the voltage of the input is 1 volt AC, but any voltage is OK. Then you calculate the way this voltage signal is amplified as it passes through the circuit. The voltage at Vout is your final result. The voltage gain is then given by Av = Vout/Vin.

In the real world the voltage at Vin due to the sensors will probably be on the order of millivolts, but for your problem since it's just math, you can assume any Vin. Since the circuit is being treated as if it's perfectly linear with unlimited output voltage capability from the opamps for the purpose of doing the math, any Vin will do.

Well I wish I asked you that much sooner as I spent a long time on google trying to work it out :D
 
  • #40
In pspice you simply connect an AC voltage source to Vin. Set the parameters of the source for your desired frequency and voltage amplitude.
 
  • #41
Given that it's an ideal op-amp and the gain can't be anything other than unity, then all inputs and outputs of the op-amps are 2vdc?

And I just need to perform a small signal ac analysis to work out the overall voltage gain?
 
  • Like
Likes berkeman
  • #42
peasngravy said:
Given that it's an ideal op-amp and the gain can't be anything other than unity, then all inputs and outputs of the op-amps are 2vdc?

And I just need to perform a small signal ac analysis to work out the overall voltage gain?

Yes and Yes.
 
  • Like
Likes peasngravy and berkeman
  • #43
Have you tried to derive the non-inverting gain of just the first opamp stage using equivalent impedance of the C3 R5 pair as Rf, and the C2 R4 pair equivalent as Rin? Ignore the effect of C9, R2, R1 and R12; they are just a voltage divider in front of the "+" input of the first opamp.
 
  • #44
The Electrician said:
Have you tried to derive the non-inverting gain of just the first opamp stage using equivalent impedance of the C3 R5 pair as Rf, and the C2 R4 pair equivalent as Rin? Ignore the effect of C9, R2, R1 and R12; they are just a voltage divider in front of the "+" input of the first opamp.

I did calculate those pairs - using 1hz frequency, I got Z values of 16.06Meg and 12.34K for those which gave me a gain of 1301 (1+(rf/rin))

I checked this on circuitlab (with an AC source at 1V and 1 hz) and found the value did not match up so I am a bit lost now. This gave me a gain of around 135. These are the values
1606216948950.png
 
  • #45
peasngravy said:
I did calculate those pairs - using 1hz frequency, I got Z values of 16.06Meg and 12.34K for those which gave me a gain of 1301 (1+(rf/rin))

If you'll show your work, I can see where you went wrong and suggest a fix.
 
  • #46
Sure - so using 1hz as the frequency, ω = 2πf = 6.283
C2 = 22uF
R4 =10k
|Z| = √ R² +(1/(ωC²))
|Z| = √ 10k² +(1/(6.283*0.000022²))
|Z| = 12342 for Rin

I just noticed where I went wrong actually, and I used this equation for both pairs, but one is in series and the other is parallel.

So the other pair using this formula
|Z|=1√(1R)2+(ωC)2

Gives me 2.179Meg for Rf

Av = 1+(Rf/Rin)
= 1+(2179000/12342)
=176

Which is a bit closer but still slightly out
 
  • #47
You need to carry more digits in your arithmetic.

When I carry out this division: (2179000/12342) I get 176.55161238
After adding 1, I get 177.55161238

But carrying more digits in all the calculations, I get the desired quotient as: 2179278.18/12342.4196 = 176.568148
The after adding 1 I get: 177.568148

What do you think the correct result is, and where did you get the value you believe is correct?

You will get a tiny error in your calculations because you aren't using complex arithmetic. When you add 1 to the quotient of the two impedances, the impedances should be kept in complex form for the exactly correct final result which is: 177.4516107

I don't think spice will give you that many digits, but that is the exact correct result.

Your problem statement asks you for an estimate. I would say you have a very good estimate, but do carry a few more digits so your result is 177.55, not 176.

Next, what is the ratio of the voltage divider made of C9, R3, R1 and R12.

Then, show your work for the second opamp stage.
 
  • Like
Likes peasngravy
  • #48
The Electrician said:
You need to carry more digits in your arithmetic.

When I carry out this division: (2179000/12342) I get 176.55161238
After adding 1, I get 177.55161238

But carrying more digits in all the calculations, I get the desired quotient as: 2179278.18/12342.4196 = 176.568148
The after adding 1 I get: 177.568148

What do you think the correct result is, and where did you get the value you believe is correct?

You will get a tiny error in your calculations because you aren't using complex arithmetic. When you add 1 to the quotient of the two impedances, the impedances should be kept in complex form for the exactly correct final result which is: 177.4516107

I don't think spice will give you that many digits, but that is the exact correct result.

Your problem statement asks you for an estimate. I would say you have a very good estimate, but do carry a few more digits so your result is 177.55, not 176.

Next, what is the ratio of the voltage divider made of C9, R3, R1 and R12.

Then, show your work for the second opamp stage.

I think the number around 177 is mathematically correct so it has to be the correct value - the pspice was simply to use a as a bit of a guide and I was hoping they'd be a bit closer, that's all.

Thank you for that answer

For the voltage divider you mentioned, can I use the Z value of C9 and R3 in there?
 
  • #49
The signal coming in at Vin passes through the series combination of C9 and R3. Calculate the |Z| of those two and that forms a voltage divider followed by a resistance to ground equal to the parallel combination of R1 and R12, with the output of the divider applied to the "+" input of the opamp. You will multiply the voltage divider ratio (which will be less than unity) times the gain of the first opamp. That will give the gain from Vin to the first opamp output.

Then you will calculate the gain of the second opamp and multiply that factor into get the overall gain.
 
  • #50
The Electrician said:
The signal coming in at Vin passes through the series combination of C9 and R3. Calculate the |Z| of those two and that forms a voltage divider followed by a resistance to ground equal to the parallel combination of R1 and R12, with the output of the divider applied to the "+" input of the opamp. You will multiply the voltage divider ratio (which will be less than unity) times the gain of the first opamp. That will give the gain from Vin to the first opamp output.

Then you will calculate the gain of the second opamp and multiply that factor into get the overall gain.

So R1 and R12 have a ratio of 0.4 - I am not quite sure how to factor in the impedance of c9 and r3.

The ratio of 0.4v is quite close to what my pspice model suggests as the input (430mv)

After that - I think I have to calculate the series capacitance of c5+c8 and then use that figure to calculate the impedance of the rc series along with r6 which should be my Rin for the second op amp?
 

Similar threads

Replies
1
Views
828
Replies
4
Views
988
Replies
7
Views
2K
Replies
6
Views
3K
Replies
8
Views
2K
Replies
1
Views
2K
Back
Top