i make a boost converter 500hz 15 to 30v but as i simulate it the output voltage drops slowly
why my voltage drops slowly in out instead of constant 30v
thanks
What you see in the waveform is the initial transient response, caused by charging the output capacitor through the boost inductor. There's no controlled boost operation involved so far.
To prevent this transient, which can cause unwanted overvoltage at the output, you can use a bypass diode from input to output.