I absolutely love vintage computers, particularly the good old C64... Now as any enthusiast will say, the weak link in these machines is the terrible factory PSU, which was seriously undersized for even a barebones computer, and can cause serious problems with new, demoscene-made peripherals that draw a significant amount of current.
So since I found none of the available solutions quite good enough, I decided to design and build a replacement PSU. Yea I know it might not be the easiest project to start with. So first I'd like to ask for some insight in planning out the high-level, big black box design of the unit.
The requirements are:
- Input voltage variable or switchable between 110V and 240V
- +5VDC at 3A with floating ground
- 9VAC at 1A, floating ground, ground independent from the +5VDC rail, with a frequency selectable between 50 and 60Hz, independent of the mains supply
The galvanic separation of the two voltage sources is paramount to safety of the design. Many existing designs omit this in order to reduce complexity, but what they achieve is a PSU that is as hazardous to the hardware as the old faulty ones they aim to replace.
The 9VAC frequency doesn't need to be particularly precise, we're just emulating the mains frequency. The c64 uses it for driving a rudimentary real time clock, and considering the average uptime of these computers, it doesn't need to be super accurate (nor do I think it would be even with a perfect 60.000Hz wave).
Now one of the approaches I'm thinking of is a switch mode power supply, with two independent secondary coils. There would be a separate rectifier and buck regulator for each, and an oscillator for getting the 9VAC sinewave.
The other approach would be to get one voltage first, and then use a DC/DC converter to get the separate rail. This seems seriously unviable due to the wattage required. A 15W, or even 9W DC/DC converter is prohibitively expensive.
How should I approach the problem?
Any good web resources on building switchmode supplies, selecting a good controller, transformer, etc.?