[Open Frime TV] has a video addressing this in a novel way, by creating the windings for a switch-mode power supply transformer using stacked PCB coils instead of wire (Russian language ...
Dilshan Jayakody, CC BY-SA 2.0. How does a transformer work? An alternating current in a primary winding induces an opposite current in its secondary winding. The voltage out is equal to the turns ...