Pspice-Duty Ratio Buck Converter

Thread Starter

ayractgc

Joined Feb 3, 2018
52
I have a buck converter and ı should give an input DC 200 V and the output shoud be 72 V.
How can ı set a voltage 72V at the output of this buck converter?
Is there any ratio code? I sent the calculations and netlist file
 

Attachments

kubeek

Joined Sep 20, 2005
5,796
I am not sure what you are asking. Your pwm source right now has duty cycle set to 50%, so you need to change the on time to get the duty cycle that you want.
 

kubeek

Joined Sep 20, 2005
5,796
use these lines at the end of the file
.TRAN 0 10m 9m
.meas maxx max V(3)
.meas minn min V(3)
.meas percent_ripple PARAM (maxx-minn)/(maxx+minn)/2*100
 

kubeek

Joined Sep 20, 2005
5,796
max-min is the peak to peak value
(max+min)/2 is a sort of average, but you could use same actual average function instead and have the result more accurate and versatile.
Ratio of those two is the percentage of ripple.

200-200=0
(200+200/2)=200
0/200=0 so the result should be 0, not 1 and not 200.
I think you have an issue with the brackets.
 
Top