How do you analyze this circuit

  • Thread starter yungman
  • Start date
  • Tags
    Circuit
In summary, the individual is experimenting with a circuit and has concerns about the gain being higher than expected. They have used a simulation tool to test the circuit and have received feedback from others regarding the correct way to calculate gain and the potential for oscillations due to parasitic capacitances.
  • #1
yungman
5,723
242
This in not homework. I am playing with this circuit and I don't understand what is not right. Here are the circuits.
Feedback gain question1.jpg


a) I "built" an opamp out of U6, U7 and U8. I set the gain to 21 by R6/R3+1=20+1=21. The output is OUT1. But I get a little more gain than expected, like 22 or 23.

b) I use U1 as reference as set gain = R4/R5 + 1 = 21, the output is OUT2.

The signal generator is V10, frequency is 1KHz, 0.1Vpeak. You can see the graph OUT2 ( red) is correct at 21, and OUT1(green).

Am I thinking wrong that this is not the right way to do feedback?

Thanks

Alan
 

Attachments

  • Feedback gain question1.jpg
    Feedback gain question1.jpg
    39.9 KB · Views: 785
Last edited:
Engineering news on Phys.org
  • #2
Getting a gain of 22 or 23 vs. the expected 21 could simply be the result of resistor tolerances. Unless you use precision resistors, they are not very precise. ## \\ ## @jim hardy Might you have an input on this one?
 
  • #3
Charles Link said:
Getting a gain of 22 or 23 vs. the expected 21 could simply be the result of resistor tolerances. Unless you use precision resistors, they are not very precise. ## \\ ## @jim hardy Might you have an input on this one?
This is a simulation using LTSpice. It is quite consistent.

Basically I am designing a hifi amp with tube front end section. Due to the inverted nature of the common cathode of tubes, I have to have either two or 4 stages. Two stages don't have enough gain(loopgain of only 56dB), 4 stages have too much gain. It's hard to have 3 stages because of the inverting nature that will make the input impedance too low ( like inverted opamp that input impedance is the gain resistor). So I want to have a non inverting opamp as a front end stage to get some gain ( say loop gain of about 80dB at low frequency).

The problem is in order to have NFB, I need the -ve input to feed back to. This is what I am trying to do, is to have R6 as feedback resistor, R3 is the gain setting resistor to give gain = R6/R3+1=21. But if you look at the circuit, it does look a little funny as U6 has both local feedback(from R21) and global feedback from R6.

I am just guess in this design. I am not 100% sure this is even correct. That's why I come here to let people look at this. If someone has an idea how to close the loop to have negative feedback, I am all ears ( eyes).

I can use transistor differential pair as front end that will give me both +ve and -ve input. But that's a lot more circuit for my taste.

Again, this is not a homework. This is real life design that I eventually will build a complete amp. If anyone use LTSpice IV or XVII, I can try to upload the .asc file.
Thanks

Alan
 
Last edited:
  • #4
I get a gain of approx. 22.999.
You used R6/R3+1=21.
It should be R6/(R3||R21)+1 =20/.90909+1 =23

Cheers,
Tom
 
  • Like
Likes essenmein, jim hardy and yungman
  • #5
Tom.G said:
I get a gain of approx. 22.999.
You used R6/R3+1=21.
It should be R6/(R3||R21)+1 =20/.90909+1 =23

Cheers,
Tom

I think you are right, When I reduce R21 to 500ohm, R21//3 =333ohm and theoretical gain is 61. I got about 56 in the simulation mainly because of low loop gain that cause error. I tried R21= 1K, I got gain about 40. The theoretical gain is 41.

Looks like my idea works, just calculating the gain wrong. I did not think of the output of U6 should be considered as ground.

ThanksEDIT: if this is the way I look at this, then the internal gain of U6 should be R21/(R3//R6). that is in the schematic gain of U6 is 10K/(1K//20K)+1= 10K/0.9524K+1=11.5. So I add about 21.2dB of loop gain. 56+21=77dB of loop gain is respectable. THD should be low enough.

That's great.

Alan
 
Last edited:
  • #6
yungman said:
this is not the right way to do feedback?
You need to be careful connecting feedback across multiple stages like that. The parasitic capacitances and delay through each opamp in that circuit will introduce additional phase shifts, and likely erode your phase margin to the point where you can get oscillations. You should include some typical parasitic capacitance at each node and check how your phase margin changes, IMO...
 
  • Like
Likes Averagesupernova

Related to How do you analyze this circuit

1. How do you determine the voltage across a specific resistor in a circuit?

To determine the voltage across a specific resistor in a circuit, you can use Ohm's law which states that voltage (V) is equal to the product of current (I) and resistance (R). So, V = I x R. You can measure the current using an ammeter and the resistance using a multimeter. Once you have both values, simply multiply them to find the voltage.

2. What is the purpose of analyzing a circuit?

The purpose of analyzing a circuit is to understand how the different components, such as resistors, capacitors, and inductors, are connected and how they affect the flow of electricity. By analyzing a circuit, you can determine the voltage, current, and power at different points in the circuit, and identify any potential issues or malfunctions.

3. How do you calculate the total resistance of a series circuit?

To calculate the total resistance of a series circuit, you simply add up the individual resistances of each component. This is because in a series circuit, the current has to flow through each component one after the other, so the total resistance is equal to the sum of all the individual resistances.

4. What is the difference between series and parallel circuits?

In a series circuit, the components are connected end to end and there is only one path for the current to flow through. In a parallel circuit, the components are connected side by side and there are multiple paths for the current to flow through. This means that in a parallel circuit, the total resistance is lower and the current is divided between the different branches.

5. How do you analyze a complex circuit with multiple components?

To analyze a complex circuit with multiple components, you can use Kirchhoff's laws. Kirchhoff's current law states that the sum of the currents entering a junction is equal to the sum of the currents leaving the junction. Kirchhoff's voltage law states that the sum of the voltage drops in a closed loop is equal to the sum of the voltage sources in that loop. By applying these laws, you can solve for the unknown values in the circuit and understand the behavior of the circuit as a whole.

Similar threads

Replies
4
Views
1K
  • Introductory Physics Homework Help
Replies
2
Views
772
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
3K
  • Electrical Engineering
Replies
7
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
378
  • Engineering and Comp Sci Homework Help
Replies
34
Views
2K
  • Electrical Engineering
Replies
10
Views
3K
  • Electrical Engineering
Replies
15
Views
2K
Replies
4
Views
2K
Back
Top