Inverting op amp frequency response Bode plot help

In summary: Some of the stages were driving a complementary-pair of transistors. Complementary-pair is a NPN and a PNP transistor with both their bases driven by the 741, and the Emitters tied together, output from the Emitters. The 2 transistors shared a common, insulated, heatsink. Sometimes, one of those stages would oscillate due to a transistor contacting the heatsink (manufacturing defect). It was then sent back for rework.The "interesting" part occurred when the reworked units came back with the same symptom, a stage that oscillated. Now these were production units with a long successful history, so there had to be something odd going on.
  • #1
alvogel122
4
1
TL;DR Summary
Circuit behaving normally except for bode plot.
Using analog discovery 2 kit and the bode plot produced by the network analyzer is off. The scope looks fine and everything is behaving how it should except for the bode plot. The magnitude of the bode plot will start at the correct dB then right before tapering off it shoots up a few dB and then falls correctly. I'm not sure what would cause this.

Thanks.
 
Engineering news on Phys.org
  • #2
Hello @alvogel122 ,

:welcome: ##\qquad## !​

alvogel122 said:
Summary:: Circuit behaving normally
That's always good news. But: Do we have any idea what circuit you are talking about ? No, our telepathic capabilities fail us utterly :biggrin: !

1644533691302.png

##\ ##
 
  • #3
@BvU
This is the circuit in question. It is an inverting op-amp dutied to produce a gain of 35 dB. Using an input R of 10k and Rf of 560k. Does everything as intended besides this little hiccup in the bode plot. It is a uA741 cp op amp if you want to see the pin out.
If you're not familiar with AD2,
Yellow: waveform gen
Orange: scope ch1 +
Orange/white: scope ch1 -
Blue: scope ch2 +
Blue/white: scope ch2 -

The voltage is all hooked up correctly as well as all of the grounds. The circuits farther down the board (to the right of the picture) all work as intended with this specific amp. I've tried different amps as well.

Thanks

Sorry if it's hard to see in the picture. scope 1 is across the input R, and scope 2 is across the load resistor(2.2k).

IMG_3875.jpg
1644533961988.png
 
  • #4
The schematic circuit would help. It is so much easier to read than a breadboard. The advantage of the breadboard is that it shows no power supply to ground bypass capacitors, which could easily explain some of the unexpected 741 behaviour.
A 741 can also be externally compensated with a small external capacitor, that may be used to reduce the high frequency gain provide by the manufacturer.
 
  • Like
Likes BvU and berkeman
  • #5
Baluncore said:
The schematic circuit would help. It is so much easier to read than a breadboard. The advantage of the breadboard is that it shows no power supply to ground bypass capacitors, which could easily explain some of the unexpected 741 behaviour.
A 741 can also be externally compensated with a small external capacitor, that may be used to reduce the high frequency gain provide by the manufacturer.
Picture1.png
 
  • Like
Likes BvU
  • #6
I would do two separate experiments.

1. Place 10 uF of capacitance between each power supply line and ground, very close to the 741. Does that make a difference ?

2. A frequency compensation cap of between 22 pF and 100 pF.
What difference does that make ?
What value works best ?
 
  • #7
Baluncore said:
I would do two separate experiments.

1. Place 10 uF of capacitance between each power supply line and ground, very close to the 741. Does that make a difference ?

2. A frequency compensation cap of between 22 pF and 100 pF.
What difference does that make ?
What value works best ?
I will conduct the first test later. The only extra cap I have is 10 uF so I will get back to you.
 
  • #8
alvogel122 said:
Summary:: Circuit behaving normally except for bode plot.
The magnitude of the bode plot will start at the correct dB then right before tapering off it shoots up a few dB and then falls correctly. I'm not sure what would cause this.
This is a typical behaviour of closed-loop amplifier with a phase margin smaller than app. 45 deg.
It is somewhat surprising that a 741 type exhibits such a behaviour - I am sure that simulation results will show a rather flat magnitude plot.
Therefore, the mechanical design can be the only reason for this reduced phase margin.

Question: Do you only want to know the reason for the magnitude peak or do you want to compensate it ?
 
  • #9
LvW said:
It is somewhat surprising that a 741 type exhibits such a behaviour - I am sure that simulation results will show a rather flat magnitude plot.
Therefore, the mechanical design can be the only reason for this reduced phase margin.
Not necessarily.

One place I worked manufactured Fuel Control Computers for aircraft. These were all-analog computers using the 741 opamp.

Some of the stages were driving a complementary-pair of transistors. Complementary-pair is a NPN and a PNP transistor with both their bases driven by the 741, and the Emitters tied together, output from the Emitters. The 2 transistors shared a common, insulated, heatsink. Sometimes, one of those stages would oscillate due to a transistor contacting the heatsink (manufacturing defect). It was then sent back for rework.

The "interesting" part occurred when the reworked units came back with the same symptom, a stage that oscillated. Now these were production units with a long successful history, so there had to be something odd going on.

It seems that the purchasing department had switched suppliers and the 741's were a different brand, with slightly different internal compensation leading to a different gain / phase characteristic (i.e. how the gain and internal phase shift changed with frequency).

A shift back to the original brand and we were flying again!

So it funny hump you see could be just the particular brand of 741 that you happen to have.

Cheers,
Tom
 
Last edited:
  • Like
Likes BvU
  • #10
This bode plot looks like a normal 2nd order low pass response. This is the result of two poles created in the circuit. Unfortunately I can't read any of numbers on the plot. So you'll only get a guess for the answer. With accurate measurements from the bode plot you can model the small signal network very accurately.

The first pole is from the limited gain-bandwidth of the 741 op-amp, which you should already know about from reading the data sheet. With a gain of 35dB the amplifier will run out of gain at roughly 20KHz (look at figure 7 in the TI data sheet). You can read about the gain-bandwidth product of amplifiers to learn more about this.

You also have another pole at a nearby higher frequency, maybe 100KHz or so. This is undoubtedly from stray the capacitance of your breadboard*. For a pole at 100KHz with 560KΩ you only need about 3pF.

Anyway, for normal designs that feedback resistor value is quite large. If you reduce the two feedback network resistors by 10-100x you will probably get a more normal single pole response.

*This is why, in real life, analog EE's never use this style of breadboard. Plus it isn't mechanically durable. It's way to easy to accidentally unplug things. Also not very flexible if you have fat leads or tiny parts. This is one version of what our breadboards look like:
20150522_165249.jpg
 
Last edited:
  • Like
Likes BvU
  • #11
Also, as @Baluncore said, I can't stress enough the practical value of using power supply bypass capacitors located as close as possible to every IC in your circuit. My suggestion for hobbyists is that the first part you should by for your lab stock is a bunch of 0.1uF ceramic capacitors for this purpose. Yes, sometimes you can get away without them, but the cost of always adding them is nil, and the time, effort, and confusion you'll save is priceless. Strange things can happen that you won't understand without them. It is also an industry wide standard practice. I honestly NEVER met an EE that was earning their pay in designing circuits that didn't always include them. The discussion in those circles is how many, exactly which type, and how close to the IC you put them, not whether there are any at all. For example, look at figure 18 in that TI data sheet. The IC manufacturers expect you to provide them.

Which leads to my second "always do this" suggestion. Get and read the data sheet for every IC that you are using. The exception is a part you've used repeatedly in the same manner, because you've already read that data sheet many many times, then you can wait until you see something unexpected in the lab at which time you will read it again. You don't have to understand or care about every line or footnote, but you should read all of it to know what you might be missing. Also, of course, to get the information that you know you need for your application.
 
  • Like
Likes BvU
  • #12
DaveE said:
This is why, in real life, analog EE's never use this style of breadboard.
That's a stretch. A 'real' engineer will realize the shortcomings of such a breadboard in various scenarios, but not all.
-
The same way they should realize that the same part from a different manufacturer not working in a design says more about the design than it does the part.
Tom.G said:
It seems that the purchasing department had switched suppliers and the 741's were a different brand, with slightly different internal compensation leading to a different gain / phase characteristic (i.e. how the gain and internal phase shift changed with frequency).
 
  • Like
Likes DaveE
  • #13
Averagesupernova said:
A 'real' engineer will realize the shortcomings of such a breadboard in various scenarios, but not all.
OK, yes, you're right. But, if you worked for me as a controls/analog EE, or were interviewing for anything but an entry level position, I wouldn't look favorably on this expenditure of time and effort. If you gave me a coherent description of why you only needed a low frequency test bed for about 1 day, then I' be OK with it.

It's a valid choice, but one that falls below:
1) Understanding, in advance what will happen. Including reading about device properties and doing a thoughtful initial design.
2) Simulation for common issues and basic function.
3) Building something with a little more effort that is a bit more representative of the final circuit that you can still use 7 days later. It really isn't too much more effort to solder than to stick parts into one of those things.

I suppose it's OK for students that don't have a lab, provided the instructor has vetted the exercise to avoid issues like what's confusing the OP. There is also a great deal of value in teaching people how things can go wrong IRL and how lab work differs from theory. The OP will soon learn how sensitive high impedance circuit bandwidth is to stray capacitance, for example.

But if you are serious about this as an engineer or a hobbyist, you can easily buy the stuff you need to do breadboards right. This is an investment that will continue to pay off as you build more stuff. It's why "real" auto mechanics buy a good set of tools. Yes, you can probably get most bolts loose with a crescent wrench, but that's not how the people that do it often, and do it best, work.

I too have that style of breadboard, and I do use it, rarely. Sometimes you do need to do a quick DC experiment that you then immediately tear down. I say all of this as someone who has spent many hours being confused in the lab chasing down issues caused by poor construction rather than a fundamental issue with my design.

Averagesupernova said:
The same way they should realize that the same part from a different manufacturer not working in a design says more about the design than it does the part.
Yes. OMG, 100% agree. It also says something about the engineer and the management team they work for. If you aren't designing for some sort of "worst case" then your just building $%#@, that's not a design.
 
  • Like
Likes BvU and Averagesupernova
  • #14
DaveE said:
OK, yes, you're right. But, if you worked for me as a controls/analog EE, or were interviewing for anything but an entry level position, I wouldn't look favorably on this expenditure of time and effort.
That may very well be. Similarly, if potential candidate were taking a quick tour of the lab and saw a plug-in breadboard and said: OMG! You use THOSE things?!? The probability of them getting hired would drop. To me it's more of a realization that some things are good enough and some are not and the ability to tell the difference.
-
It's interesting that of the companies I've worked for, the one with the least reliable end products had the best design tools at their disposal and never did I see a plug-in breadboard. But boy oh boy did I ever see a lot of bills of materials that specified a certain manufacturer for parts. Can't use the op-amp from company A, have to go with the other guys. We're not sure why, don't question it, we just know what works.
 
  • Like
Likes Tom.G and DaveE

What is an inverting op amp frequency response Bode plot?

An inverting op amp frequency response Bode plot is a graphical representation of the frequency response of an inverting op amp circuit. It shows the relationship between the input and output signals at different frequencies, and can help in understanding the behavior of the circuit.

Why is it important to understand the Bode plot of an inverting op amp circuit?

Understanding the Bode plot of an inverting op amp circuit is important because it helps in designing and analyzing the circuit. It provides valuable information about the gain, phase shift, and stability of the circuit at different frequencies.

How do I interpret a Bode plot for an inverting op amp circuit?

To interpret a Bode plot for an inverting op amp circuit, you need to understand the two axes of the plot. The horizontal axis represents the frequency in logarithmic scale, while the vertical axis represents the gain or phase shift in decibels. The plot will show how the gain and phase shift change with frequency.

What factors can affect the frequency response of an inverting op amp circuit?

The frequency response of an inverting op amp circuit can be affected by various factors, including the op amp's gain bandwidth product, the feedback network, and the load impedance. Parasitic capacitance and inductance in the circuit can also have an impact on the frequency response.

How can I improve the frequency response of an inverting op amp circuit?

To improve the frequency response of an inverting op amp circuit, you can use a higher gain bandwidth product op amp, optimize the feedback network, and minimize parasitic capacitance and inductance. Adding a buffer or using a higher load impedance can also help in improving the frequency response.

Similar threads

  • Electrical Engineering
Replies
3
Views
800
Replies
12
Views
3K
Replies
3
Views
1K
  • Electrical Engineering
Replies
4
Views
8K
  • Electrical Engineering
Replies
3
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
2K
  • Electrical Engineering
Replies
6
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
8
Views
2K
  • General Engineering
Replies
1
Views
25K
Back
Top