You don't say, you do not have any suggestion for a model for my case do you?
I have created a schematic with a voltage source with 270VDC(207VAC * 1.4 - 20(Vin,min)) that is feeding a transformer with the three windings. W1 has its other end connected to a N-channel MOSFET and the secondary's has there diode, capacitor and load resistor.
But how to implement the PWM driver..., and the feedback which will depend on the driver.
I will try to use a signal source and manually change duty cycle and see if that works.
- - - Updated - - -
There are tons of flyback ICs but no one that is driven from 230VAC mains and I have hit a wall.
- - - Updated - - -
http://www.linear.com/product/LT3798
Is the best I can do but that is not what I am after at all, this demands its own thread.