+ Post New Thread
Results 1 to 9 of 9

14th May 2019, 16:48 #1
 Join Date
 Apr 2011
 Posts
 25
 Helped
 2 / 2
 Points
 1,603
 Level
 9
Feedback SMPS; Transfer function for error amplifier with series RC to GND connection
Dear all
I came across an error amplifier constellation as shown in Figure 1 in the attached graphic. Note how R1/C1 in the local OPamp feedback is connected to GND. I am more familiar with the more commonly used structure as in Figure 2 in the attached graphic, where R1/C1 is in parallel to the capacitor C2 in the local feedback path. For Figure 2, I can comfortably derive the transfer function.
The goal is to obtain the transfer function Vopamp(s)/Vout(s) of the error amplifier as in Figure 1 in order to properly set the gains of the compensator to stabilize the system. Unfortunately, I am struggeling with it since I am not sure how to account for the GND connection.
Does anyone in this group have an idea on how to deal with R1/C1 when connected to GND when it comes to deriving the transfer function of the error amplifier?
PS:
I am not asking for you to do my job; I would be happy to derive the transfer function on my own, though I would need a little help in the beginning as I don't know how to cope with the R1/C1GND constellation.
Thank you.

14th May 2019, 17:57 #2
 Join Date
 Nov 2013
 Posts
 645
 Helped
 162 / 162
 Points
 4,301
 Level
 15
Re: Feedback SMPS; Transfer function for error amplifier with series RC to GND connec
figure 1 hasn't got resistive feedback to ensure the operating point. do you want an integrator or an amplifier here? because it is not an amplifier.
figure 2 has positive feedback, inverting input is nowhere, and hasn't got resistive feedback either, draw it again please."Try SCE to AUX." /John Aaron/

Advertisment

14th May 2019, 18:14 #3
 Join Date
 Apr 2011
 Posts
 25
 Helped
 2 / 2
 Points
 1,603
 Level
 9
Re: Feedback SMPS; Transfer function for error amplifier with series RC to GND connec
Excellent catch, frankrose. I did a mistake in Figure 2 of my drawing. Please have a look at the revised drawing shown below. I also added resistor R2 into the figures for the sake of completeness, although AFAIK resistor R2 does not affect the transfer function. Let me ask you, frankrose, is there a fundamental difference between an error amplifier and an integrator? It is likely that I am using the wrong words in the wrong context here, but I am looking for a Type 2 or Type 3 compensator that acts to attenuate the error of a closed loop controlled SMPS. I apologize if my choice of words caused confusion. I hope that my intention is more clear now.
The revised figures are now correct, and the goal is to obtain Vopamp(s)/Vout(s) of figure 1.

Advertisment

14th May 2019, 18:47 #4
 Join Date
 Nov 2013
 Posts
 645
 Helped
 162 / 162
 Points
 4,301
 Level
 15
Re: Feedback SMPS; Transfer function for error amplifier with series RC to GND connec
Yes, there is a difference, because amplifier has different relationship between its terminals. But as I see in google at the SMPS it is not a case, lot of paper calls above compensator circuit as error amplifier, so I also learnt something today.
Anyway, to get the transfer function maybe a good help the TINA or the SapWin softwares. Last is freeware symbolic analyser tool, I have never used it, google for it."Try SCE to AUX." /John Aaron/

Advertisment

14th May 2019, 19:02 #5
 Join Date
 Apr 2011
 Posts
 25
 Helped
 2 / 2
 Points
 1,603
 Level
 9
Re: Feedback SMPS; Transfer function for error amplifier with series RC to GND connec

14th May 2019, 19:26 #6
 Join Date
 Nov 2013
 Posts
 645
 Helped
 162 / 162
 Points
 4,301
 Level
 15
Re: Feedback SMPS; Transfer function for error amplifier with series RC to GND connec
An inverting amplifier (which is also an error amplifier, with ground reference) has a transfer function: H(s)=Rf/Rin, where Rf is the feedback resistor, and H(s) is independent from s, the complex frequency. https://en.wikipedia.org/wiki/Operat...ting_amplifier
An integrator's transfer function is: H(s)=1/(s*R*C), where C is the feedback capacitance, H(s) here is depending on s, so you can see it is totally else.
Integrator is always used in bigger feedback systems because hard to set otherwise an operating point for the OPAmp. A simply way is the lossy integrator, where a resistor is added in paralel with the capacitance, basically a lowpass filter.
https://www.electronicstutorials.ws/opamp/opamp_6.html"Try SCE to AUX." /John Aaron/

14th May 2019, 20:00 #7
 Join Date
 Apr 2011
 Posts
 25
 Helped
 2 / 2
 Points
 1,603
 Level
 9
Re: Feedback SMPS; Transfer function for error amplifier with series RC to GND connec

14th May 2019, 21:01 #8
 Join Date
 Nov 2013
 Posts
 645
 Helped
 162 / 162
 Points
 4,301
 Level
 15
Re: Feedback SMPS; Transfer function for error amplifier with series RC to GND connec
If the potential, or voltage between the 3 resistors is phi1, these equations are true:
a. Vin/Rin = I_R1
b. I_R1 = phi1/R3 + (phi1  Vopamp)/R2
c. I_R1 = phi1/R1
From c.: phi1 = I_R1 * R1
Place phi1 to b.: I_R1 = I_R1*(R1/R3) I_R1*(R1/R2) Vopamp/R2
Rearrange last equation: I_R1*(1 + (R1/R3) + (R1/R2)) = Vopamp/R2
Express I_R1 from last equation: I_R1 = Vopamp/(R2 * (1 + (R1/R3) + (R1/R2)))
Use a. on the left side of the last equation: Vin/Rin = Vopamp/(R2 * (1 + (R1/R3) + (R1/R2)))
Rearrange: Vopamp/Vin =  (R2 + (R1*R2/R3) + R1)/Rin
You can see, if R3 is infinite, the gain equals with the noninverting amplifier's gain exactly, where Rf = R1 + R2 in above case."Try SCE to AUX." /John Aaron/

Advertisment

15th May 2019, 19:31 #9
 Join Date
 Apr 2011
 Posts
 25
 Helped
 2 / 2
 Points
 1,603
 Level
 9
Re: Feedback SMPS; Transfer function for error amplifier with series RC to GND connec
Hi frankrose,
thank you very much. In fact, I managed to obtain the same results today. Now, replacing some of the resistors with the capacitors and the RC series connection towards GND, I can then obtain the transfer function. It requires a bit of algebra, but should be doable. Let's see how the bode plots differ from each other.
Thanks a lot for your help  much appreciated.
Cheers,
+ Post New Thread
Please login