I have been working on a SMPS for quite a while now. It is an offline flyback converter. I have attached the circuit along with the thread. As soon as i turn on the power the output of the SMPS is roughly around 8-9 volts and then after a few minutes it begins to rise until it reaches 24v. However, if i turn off the supply and right after re-start it, the output instantly reaches 24v. When i provide a certain cooling period, the smps output again takes a lot of time to reach 24 v. Please provide help.