Hi, thank you. I attached it. I think I have a problem with my OpAmp usage as I can not get any relevant output from them.hi c57.
Welcome to AAC.
Please post your LTSpice asc file.
E
What is n004?I am new to LTSpice and trying to simulate this circuitView attachment 323321
I am expecting a 24 V output voltage but the result is as following:
View attachment 323322
Can anyone tell me what am I missing ?
Hi, this is homework. My compensation must be poorly designed then. Because Vp=3Volts for PWM signal is given at the question. In the AC sweep the converter gain was 5.64 dB, phase angle was -203 degrees and I designed the compensation circuit with K factor method and I don't think I made any miscalculations. How can i fix this problem? ThanksHi c57,
Is this project a Homework or College assignment?
E
Note: Hint, How can the PWM signal start up the feedback loop with +24V on U2
n000 is output voltage signal & Ns/Np=4 D= 0.286 for flyback converterWhat is n004?
What is the target turns ratio of the transformer?
How did you use external model for opAmp i have same homework can you share the simulation file.Thanks everyone for your help so far. I used an external model for opAmp and set the voltage gain value to 1. I am getting better simulation results (not sure can get worse results than yesterdays simulation) and my circuit looks like this:
View attachment 323383
However, my output voltage is still not 24 Volts and I do not know how to get rid of the transient part of the signal. Can anyone detect what is the problem in the circuit now? Thanks again for your help so far.
View attachment 323384
A question for you comes up: What technique did you use to design this 'compensator' ?Thanks everyone for your help so far. I used an external model for opAmp and set the voltage gain value to 1. I am getting better simulation results (not sure can get worse results than yesterdays simulation) and my circuit looks like this:
View attachment 323383
However, my output voltage is still not 24 Volts and I do not know how to get rid of the transient part of the signal. Can anyone detect what is the problem in the circuit now? Thanks again for your help so far.
View attachment 323384
Hi, thanks for your advice. I determined those values according to K factor method. Should I understand from your comment that my bode plot was wrong and I must analyze the circuit again and re-calculate values?If you mean that sharp rise, that is caused by the forward section of the 'compensator'.
Since R3 and C2 are in parallel with R2 and R3 is so much smaller than R2, the capacitor C2 acts as a differentiator, which would cause a significant high pass response. Think of it as R2 not being there at all.
To get a better response, you would have to either:
1. Increase the value of R3.
2. Decrease the value of C2.
3. Both of the above.
4. Decrease the value of R2.
5. All of the above.
The most reasonable would be #1 above, but you'd still have to make sure it works as you wanted it to work.
This assumes that U2 has the proper internal gain, the schematic seems to indicate it is far too low.
Do you have a link to the "K factor method" or can show it here? I want to be sure of what you did.Hi, thanks for your advice. I determined those values according to K factor method. Should I understand from your comment that my bode plot was wrong and I must analyze the circuit again and re-calculate values?
There should be a transient response but not spike shape and definitely not reaching to 100 volts as you mentioned. I will share AC analysis results and my source for the method as soon as I canDo you have a link to the "K factor method" or can show it here? I want to be sure of what you did.
What bode plot? I did not see any bode plot just a time domain plot.
But yes, if you want to get rid of that spike then you have to figure out what has to be changed.
There is the possibility that it has to be there, but I doubt that. Also, the op amp probably cannot produce that anyway so in a real circuit it would just saturate the op amp, and that could lead to a much slower response due to the recovery characteristics of op amps. Note the max output of the op amp is probably around 30v tops, and the plot shows the spike up to 100 volts![]()
Ok good.There should be a transient response but not spike shape and definitely not reaching to 100 volts as you mentioned. I will share AC analysis results and my source for the method as soon as I can
by Aaron Carman
by Robert Keim
by Robert Keim
by Aaron Carman