Hi,
But maybe I can start by buying SMPS power supply and learn from them.
There are many application notes around from reliable sources like the semiconductor manufacturers.
They are much more detailed than a forum thread can be.
And they are straight forward.
In a forum there are many people - each of them may have good skills - but they may have different styles to design a SMPS.
I don´t think it´s a good idea to buy an SMPS and try to learn how they built them.
I rather recommend to go through onlie tutorials with design examples.
They show you step by step what to do and show with the examples how this looks like.
***
When you open a SMPS you may see the parts, but you don´t see the specification of the parts.
Some examples:
* Often SMPS use low ohmic resistors for current sense. Maybe a simple 0.47 Ohms resistor ... but usually you don´t recognize that this needs to be a "low inductive" one (no wire wound).
--> use a wire wound 0.47 Ohms resistor and it won´t work.
And maybe you don´t recognize the kelvin wiring.
--> Witout kelvin wiring you get wrong current limits.
* SMPS use electrolytics. You don´t recognize that these are "low ESR" types designed for high frequuency and high ripple current.
--> but a standard electrolytics capacitor and your output voltage will look "noisy" and maybe the capacitor heats up and explodes.
***
Don´t be afraid of looking into application notes. The semiconductor manufacturer have a good reason why the provide them. They have the experience that designers come back and claim the SMPS IC is not working properly. But in 98% (my estimation) there are design mistakes. Thus they assist the designers with information to build reliably running SMPS.
Klaus
****
Added:
Your LM317 circuit:
Don´t rely on random internet schematics. --> read the datasheet, go to the manufacturer´s internet site and look for additional information. They are most reliable.
****
You ask about current limit:
Why don´t you look for a IC with built in current limit? Like the L200...
--> Be sure for most of the ideas you have there already is a solution. Others had the same problems before. No need for breaking your head, no need for your own pitfalls and no need to reinvent the wheel.
Take it easy and straight forward.
30 years ago we had no internet. There were only a couple of really good application eniginers that are able to teach you. And there were books - but maybe you didn´t know that these books exist.
Nowadays you have the internet with a huge ammount of informations. Lucky you. Use it.
..and learn to find the
reliable sources.