Author Topic: How to analyze the opamp circuit  (Read 613 times)

bte and 6 Guests are viewing this topic.

Online VihaanTopic starter

  • Newbie
  • Posts: 8
  • Country: in
How to analyze the opamp circuit
« on: September 13, 2026, 03:53:04 am »
How do i analyze the below circuit? What is the starting point?
 

Offline Konkedout

  • Frequent Contributor
  • **
  • Posts: 424
  • Country: us
Re: How to analyze the opamp circuit
« Reply #1 on: September 13, 2026, 05:07:47 am »
Houston we've had a problem.

The op amp has no negative supply!
 

Online VihaanTopic starter

  • Newbie
  • Posts: 8
  • Country: in
Re: How to analyze the opamp circuit
« Reply #2 on: September 13, 2026, 05:20:25 am »
This is a text book problem and it does not mention the positive and negative supply.
 

Online ledtester

  • Super Contributor
  • ***
  • Posts: 4115
  • Country: us
Re: How to analyze the opamp circuit
« Reply #3 on: September 13, 2026, 05:42:09 am »
Look up: opamp single supply biasing

A web search says the image comes from James Fiore's "Operation Amplifiers and Linear Integrated Circuits", page 153:

https://www2.mvcc.edu/users/faculty/jfiore/OpAmps/OperationalAmplifiersAndLinearICs_3E.pdf

Here is his video on single supply biasing:


 
The following users thanked this post: Vihaan

Offline Andy Chee

  • Super Contributor
  • ***
  • Posts: 2073
  • Country: au
Re: How to analyze the opamp circuit
« Reply #4 on: September 13, 2026, 05:47:44 am »
Houston we've had a problem.

The op amp has no negative supply!
For the purposes of this exercise, calculation of input impedance, and calculation of Av, probably does not require the presence of a correctly connected power supply.  Follow up questions 41 & 42 may require correct connections, who knows.
« Last Edit: September 13, 2026, 05:49:57 am by Andy Chee »
 

Offline MrAl

  • Super Contributor
  • ***
  • Posts: 2260
Re: How to analyze the opamp circuit
« Reply #5 on: September 13, 2026, 06:47:34 am »
How do i analyze the below circuit? What is the starting point?

Hi,

It takes a little experience to understand this circuit because here are some shortcuts that you can take that eliminates some of the components and that makes the approximation easy.  I'll run it by you and then supply some more details for an exact analysis.

First, this circuit does not need a negative supply to work, so I don't know why so many would be mentioning that.  It's already biased to one-half of the positive supply, which also makes the output biased to about 1/2 of the power supply voltage also.  That means if you have a supply of 10 volts then the output is at roughly 5v.
This works because of the two 220k Ohm resistors, which creates a voltage divider putting the junction (and voltage across the 0.5uf cap) at 1/2 of the supply voltage.  With that we see 5v across the 0.5uf cap (10v power supply again).  Since the 100k sees infinite impedance on the right for DC, that puts 5v at the noninverting input of the opamp also.  The left side of the 30k resistor also sees infinite impedance because the input to the opamp is infinite and the 1uf cap has infinite impedance for DC.  That means for DC, the 30k resistor makes the circuit look like a gain of 1 non inverting opamp circuit, which is where we get 5v at the output.  Be aware again this is for DC which is for determining the bias voltages and/or currents.  The AC operation will be different because the capacitors are not open circuits for AC only for DC.
Ok so we have established the DC operating point which for a +10v power supply means 5v at the noninverting input and 5v at the output, and the 30k is the only feedback for now so we have a gain of +1 circuit which is where we get the 5v at the output.

Now for the AC analysis.
For this the caps become non-zero impedances and this means there could be a small effect or a large effect, and for this circiut for most frequencies there will be a large effect, but only on the AC output result not the DC.
The input comes in through the 0.1uf cap which works with the 100k resistor, and that creates a voltage divider with the voltage across the 0.5uf cap.  Since the input DC is biased at 1/2 of the supply voltage Vcc, the AC voltage will cause some AC voltage to ride on the 5v DC bias, which means the opamp effectly sees the AC voltage alone, and for a first approximation we consider the 0.5uf cap to be large enough so that the DC voltage across it does not change much, and this is reasonable for now.
Since the 0.1uf impedance will be fairly low compared to the 100k resistor for most AC frequencies, we can approximate the input at the noninverting input to be EQUAL to the input voltage itself.
Now before we saw the 1uf cap be open circuit for DC, but now we have AC so we have to consider it as having a significant effect.  Since the 1uf and 2k shunt some of the current away from the inverting input, that means the gain will change.  Before we had a gain of 1, now we have to change that because of the voltage divider effect of the 30k and the 2k in series with the 1uf cap.
The voltage divider effect has to take into account the impedance of the 1uf cap, there's no way around that except at very low frequencies.  The impedance of the 1uf cap is:
Z=1/(2*pi*f*C)
and with C=1e-6 that makes the impedance:
Z=1/(2*pi*1e6*f)
which is about:
Z=1/(6.3e6*f)=f*1.6e-7
The series string with the 2k resistor makes that string:
Zs=Z+2000
This comes out to about :
Zs=2000.0-(159154.9430918953*i)/f
This will be close to 2000 for frequencies around 1kHz and above, so let's use that as a starting approximation.
Combined with the 30k resistor, the voltage divider effect is 1/16, so we get one-sixteenth of the output voltage at the inverting input.  This means the output will be 16 times greater than the voltage at the inverting input, which means the AC again will be much higher than the DC gain.
Since this is a noninverting op amp circuit now, the gain is:
G=1+Ginv
where Ginv is the inverting opamp gain.  Since Ginv=15 that puts the AC again at 16.
This of course means that if we input 0.1vac we will get about 1.6vac output at frequencies around 1kHz or above, up to the frequency where the opamp does not function well.

So that's the short cut approximation just so you can get an idea how this works without going too deep in the math yet.
If you want a full analysis, then you have to go to describing all the capacitors as complex impedances, combine those with the resistances, and then calculate the output.  This analysis will allow calculating a result with frequencies lower than 1kHz as well as others.
I can show you how to do this if you would like to see how it is done.  It is more complicated, but if you understand complex numbers it is basically easy.

Just to add a little here, opamps are not perfect devices so sometimes we have to take into account other parameters such as open loop frequency response and slew rate.  For the analysis above we assume the opamp can follow any input perfectly, but if you need a higher frequency response then you have to go to a better opamp then a cheaper general purpose opamp.  You can find details about this on the web.




« Last Edit: September 13, 2026, 11:59:11 am by MrAl »
 
The following users thanked this post: Vihaan

Offline EEVblog

  • Administrator
  • *****
  • Posts: 42138
  • Country: au
    • EEVblog
Re: How to analyze the opamp circuit
« Reply #6 on: September 13, 2026, 06:56:15 am »
How do i analyze the below circuit? What is the starting point?

Because it says impedance, that means AC resistance. And because the frequency isn't specified, step 1 is to assume all capacitors are a short circuit.

Step 2 is to now work out the input impedance. All caps are a short circuit so the input current has nowhere to go but into the 100k resistor. No current flows into an opamp input.
Power supplies are a short circuit for AC, so the two 220k resistors are in parallel, but that doesn't matter because they are also in parallel with the 0.5uF cap which is a short circuit.
Therefore the input impedance is just the 100k resistor.

The gain Av is just the standard unity gain formula of 30k/2k + 1 = 16 because the 1uF cap is also short circuit. Av in this case mean "AC gain".
« Last Edit: September 13, 2026, 07:03:07 am by EEVblog »
 
The following users thanked this post: tooki, Vihaan

Offline EEVblog

  • Administrator
  • *****
  • Posts: 42138
  • Country: au
    • EEVblog
Re: How to analyze the opamp circuit
« Reply #7 on: September 13, 2026, 06:59:39 am »
Now for the AC analysis.
For this the caps become non-zero impedances and this means there could be a small effect or a large effect, and for this circiut for most frequencies there will be a large effect, but only on the AC output result not the DC.

I doubt an exam question like this is asking for such detail given that it doesn't specify any frequency at all. So the answer they want is to assume the caps are just a short circuit.
If they wanted a detailed frequency analysis answer the question would have been worded in more detail.
 

Offline MrAl

  • Super Contributor
  • ***
  • Posts: 2260
Re: How to analyze the opamp circuit
« Reply #8 on: September 13, 2026, 07:01:16 am »
Now for the AC analysis.
For this the caps become non-zero impedances and this means there could be a small effect or a large effect, and for this circiut for most frequencies there will be a large effect, but only on the AC output result not the DC.

I doubt an exam question like this is asking for such detail given that it doesn't specify any frequency at all. So the answer they want is to assume the caps are just a short circuit.
If they wanted a detailed frequency analysis answer the question would have been worded in more detail.

Hi,

Sure, and they probably don't even care about the DC biasing :)
 

Offline EEVblog

  • Administrator
  • *****
  • Posts: 42138
  • Country: au
    • EEVblog
Re: How to analyze the opamp circuit
« Reply #9 on: September 13, 2026, 07:05:21 am »
Sure, and they probably don't even care about the DC biasing :)

I'm sure they don't!
Especially given that it's exam question #40, you are expected to just rip through these things with a minimal of explanation. No extra marks to be had for being smart and giving multiple answers based on frequency analysis.
« Last Edit: September 13, 2026, 07:13:06 am by EEVblog »
 

Offline EEVblog

  • Administrator
  • *****
  • Posts: 42138
  • Country: au
    • EEVblog
Re: How to analyze the opamp circuit
« Reply #10 on: September 13, 2026, 08:30:00 am »
I just shot a whole video answering this question, coming tomorrow.
 
The following users thanked this post: Vihaan

Offline gbaddeley

  • Frequent Contributor
  • **
  • Posts: 284
  • Country: au
Re: How to analyze the opamp circuit
« Reply #11 on: September 13, 2026, 09:36:37 am »
Houston we've had a problem.
The op amp has no negative supply!
One could assume that in this case the opamp -V is connected to ground. Otherwise the circuit would not work if constructed or simulated. A ‘typo’ error  you might say, that doesn’t affect the intent of the exam question.
Glenn
 

Offline MrAl

  • Super Contributor
  • ***
  • Posts: 2260
Re: How to analyze the opamp circuit
« Reply #12 on: September 13, 2026, 12:21:09 pm »
Sure, and they probably don't even care about the DC biasing :)

I'm sure they don't!
Especially given that it's exam question #40, you are expected to just rip through these things with a minimal of explanation. No extra marks to be had for being smart and giving multiple answers based on frequency analysis.

Hello again,

Oh I didn't think that was too complicated.  For example, the input impedance made me think of 'impedance' rather than just 'resistance', and for one single result that's just a tiny bit more complicated:
Zin=100000.0-(1591549*j)/f
or using kilohm and megohm notation:
100k-(j 1.6M)/f
if I did that right.

I guess I am so used to using math software now everything seems easy :)
 

Offline EEVblog

  • Administrator
  • *****
  • Posts: 42138
  • Country: au
    • EEVblog
Re: How to analyze the opamp circuit
« Reply #13 on: September 13, 2026, 09:41:43 pm »
Houston we've had a problem.
The op amp has no negative supply!
One could assume that in this case the opamp -V is connected to ground. Otherwise the circuit would not work if constructed or simulated. A ‘typo’ error  you might say, that doesn’t affect the intent of the exam question.

It could also deliberately have things missing like the ground and the V+ symbol to test whether or not you can ignore the things that don't matter to answering the question. In which case it's a rather clever question, adding in the bias, PS ripple filter and output filter to see how you handle that extra stuff.
 

Offline EEVblog

  • Administrator
  • *****
  • Posts: 42138
  • Country: au
    • EEVblog
Re: How to analyze the opamp circuit
« Reply #14 on: September 13, 2026, 10:55:34 pm »
Here you go:

 
The following users thanked this post: squadchannel, Laval

Offline PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 3310
  • Country: au
Re: How to analyze the opamp circuit
« Reply #15 on: September 13, 2026, 11:41:14 pm »
How do i analyze the below circuit? What is the starting point?

Another poorly done homework question.
At 1Hz the input impedance is above 1.5Meg, as Fin increases it drops and asymptotes toward 100k, from above.
Even at 20kHz it will be measurably slightly above 100k, and the gain will likewise asymptote toward 16.00 from below.
 
The following users thanked this post: Laval

Offline Sensorcat

  • Regular Contributor
  • *
  • Posts: 187
  • Country: de
  • Independent Sensor Consultant
    • Sensorberatung
Re: How to analyze the opamp circuit
« Reply #16 on: Yesterday at 12:50:47 am »
With a few years experience in academic teaching and also grading exams, I see this as an ill-posed problem. It is productive to make students think about what matters for a solution and what doesn't, and why. It is unproductive, however, to make students guess what the professor meant when the problem as such does not lead to a clear conclusion whether or not shortcuts are allowed or necessary. Also, the way problems are given should follow common standards, in order to strengthen the standards that help engineers understand each other.

Specifically:

An opamp should have either two power supply terminals, or none, but not one. Two, if the supply matters to the purpose of the schematic, e.g. product documentation. None, if it doesn't, because the purpose allows abstracting from the supply. There's no such thing as half-abstracting something away. One supply terminal is not consistent. One could argue that students should be able to read it anyway. Yes, but presenting it in teaching only means that this half-baked style is passed to them as good example. But the teacher has to decide: Do I want them to learn that both none and two supply terminals are OK, with application in mind, or do I want to create a mess? Presenting too many confusing items at once means the latter, and nothing achieved.

Regarding the impedance, an exam will always have a reference solution, and if the student delivers less than that, points will be lost (or time, if the problem is for self-study). So, if you are clever and say, easy, it's AC, unspecified frequency, so capacitors are shorts, 100kΩ, while the professor meant: Unspecified frequency => give the impedance for any frequency - bad luck. A complaint about the result will only be successful if the problem had an error, not if the problem was ambiguous and you used the cheapest exit. It's a big, avoidable disappointment for a student who knows the solution, takes the short-cut and reads, when the reference solution is published (or simply after turning the page in self-study):

Zi = .1µF + 100kΩ + (.5µF || 220kΩ || 220kΩ) (actual calculation left out not to bore anyone)

All because the professor was too lazy to write: "What is the input impedance Zi over frequency?".

Been there, done that, on both sides of the counter. Such a waste, and no improvement, nowhere, since I started observing this lazyness in the early 1990s.
 
The following users thanked this post: EEVblog, PCB.Wiz, abeyer

Offline EEVblog

  • Administrator
  • *****
  • Posts: 42138
  • Country: au
    • EEVblog
Re: How to analyze the opamp circuit
« Reply #17 on: Yesterday at 01:22:19 am »
For those wondering, someone on Youtube pointed out this is actually a question from a textbook, page 153:
https://oer.uinsyahada.ac.id/files/original/0a238113fbb49ab2ffe862e61cd5995e.pdf

There is no answer in the back Answers sections, so I'm not sure what's going on there.
 

Offline EEVblog

  • Administrator
  • *****
  • Posts: 42138
  • Country: au
    • EEVblog
Re: How to analyze the opamp circuit
« Reply #18 on: Yesterday at 03:35:36 am »
Part 2:

 
The following users thanked this post: PCB.Wiz, squadchannel

Online tszaboo

  • Super Contributor
  • ***
  • Posts: 9755
  • Country: nl
  • Current job: ATEX product design
Re: How to analyze the opamp circuit
« Reply #19 on: Yesterday at 11:24:57 am »
How do i analyze the below circuit? What is the starting point?

Because it says impedance, that means AC resistance. And because the frequency isn't specified, step 1 is to assume all capacitors are a short circuit.

Step 2 is to now work out the input impedance. All caps are a short circuit so the input current has nowhere to go but into the 100k resistor. No current flows into an opamp input.
Power supplies are a short circuit for AC, so the two 220k resistors are in parallel, but that doesn't matter because they are also in parallel with the 0.5uF cap which is a short circuit.
Therefore the input impedance is just the 100k resistor.

The gain Av is just the standard unity gain formula of 30k/2k + 1 = 16 because the 1uF cap is also short circuit. Av in this case mean "AC gain".
I mean, you can even say:
Av =~ 15.5
or Av=26dB
or "Av is the gain of a circuit"
or Av = 0 because you didn't power the circuit.
I would give extra points to the most sloppy right answer, if I would be the grading teacher.
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 17772
  • Country: fr
Re: How to analyze the opamp circuit
« Reply #20 on: Yesterday at 08:16:03 pm »
To figure out to what extent one should answer that, we need more context (what were the previous questions, which may be an indication of what's expected), the average time per question, and the contents of the relevant courses (exam questions being often linked to courses and so may make some assumptions that are not immediately obvious for people who haven't attended that particular course).

First thing to note is that the circuit is built around an opamp that forms a non-inverting amplifier, with a single supply topology, hence the biasing network (the two 220k resistors + the 0.5 µF cap) and the series capacitor in the feedback loop.

For Av, if we don't need to give an exact value vs frequency, we can indeed just answer that Av < (1+30/2) => Av < 16 and say that it forms a high-pass filter with Av's asymptote being 16. IMO, not even mentioning (even if not quantifying) the effect of the frequency would be a mistake.
(If you just calculate the frequency past which the impedance of the capacitor is negligible - say the 1% point - it gives about 8 kHz. That would be an extra point without having to give the full complex expression of the gain.)
Likewise, you can quickly mention that at DC, the gain for the opamp is 1, but the overall gain of the circuit is 0 as the input (and output) section forms a high-pass filter.

Ditto IMO for input impedance, you can say that ||Zin|| > 100k and that the input section forms a high-pass filter. At DC, it has "infinite" input impedance (modulo leakage in the series capacitor).

Finally, not asked, but if you consider the output stage, you can mention it forms a high-pass filter, and if we assume the opamp is ideal (zero output impedance), then you can give the cutoff frequency (-3 dB) of the output stage, 1/(2*pi*R*C)  ~ 66 Hz and note that it will predominate over the cutoff frequency of the input stage (due to the R*C factor being significantly smaller), so you can say that the overall circuit (with ideal components) is a high-pass filter with > 66 Hz cutoff frequency and a maximum gain of 16. (With real components, it will of course have a bandpass behavior, with attenuation past a certain frequency.)
« Last Edit: Yesterday at 09:54:23 pm by SiliconWizard »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf