I made this some time ago,
formatting link
UC3843 based flyback, very much a stock circuit, with an RCD snubber added to the transistor I think. 12V input, but 24V is fine too, with a UC3842 and a couple component values changed.
Interesting part is the transformer, which has this windup,
formatting link
3 layers of copper foil tape primary, with the secondary interleaved between layers 1-2 and 2-3. Each secondary is 15 turns 28AWG. They are wired in series, with the CT used as a ground point, and the rectifiers being complementary. Thus, effectively the output is (up to) +/-400V.
Core is EE33, slightly gapped. (Hmm, weird, I thought those cores were closer to 1uH/t^2 ungapped. Did that particular one just happen to overperform?..) Way overkill for this power level (under 50W) but I have a bunch of them on hand. :)
This module grounds the negative, so a positive output is obtained and a feedback divider can be used to regulate. (The divider is adjustable for a
100-800V range.)
For isolated application, the feedback divider has to be secondary side only and a TL431 used for error amp, into an opto, in the usual way. It should probably be powered by an aux winding, say 10V (about one turn?) so you don't have to draw several mA from the full HV to run it.
The balanced secondary design is essentially mandatory for an isolated converter. This cancels out most of the EMI; rather than 400V of delta V across the isolation barrier, there's only ~40V due to the primary's still unbalanced voltage. This could be improved further by adding shields, at some expense to leakage inductance.
I don't know where you would find such a transformer off-the-shelf. They're not hard to wind if you just need a few, or you could ask someone like Xfmrs to make them. The interleaving, and balanced design where possible, are critical to performance, and having sane EMI.
And by "sane" I mean, if the secondary is unbalanced, you'll literally be running a low amplitude EFT generator or some bullshit like that. Futile to filter. And you probably don't want too much filtering impedance so as to keep it reasonably well isolated at AC too..?
Tim