Electronic – Manual transformer winding – dots convention

phaseswitch-mode-power-supplytransformerwinding

I've already seen this and this. But I can't decide how to correctly wind a SMPS transformer. This is the transformer:

enter image description here

I mantain the same turns direction (CCW if you look at transformer from the top).

I start winding the first half of primary. I consider this the dotted end.

enter image description here

Now I wind secondary in the same direction. Which is the dotted end? On the dotted end I must connect the anode of the fast rectifier diode and I don't know which one is it.

enter image description here

Now I wind the auxiliary. Considering the dot at start is correct?

enter image description here

And finally the second half of secondary. But now I'm winding from the top of the transformer towards its bottom. Is this correct?

enter image description here

The drawings do not reflect the actual number of turns.

Best Answer

Winding from top to bottom or bottom to top does not change the "dot" (which represents the direction of the magnetic north/south pole for a given current direction).

You can use the "right hand rule" to keep this straight.

enter image description here

Place your right hand around the coil with your fingers in the direction of current flow. Your thumb points to the North magnetic pole. The ends with the "dot" will be the ones that create the same direction of magnetic field when current flows from that end to the other.