I started to simulate a voltage regulator in ltspice to see the rectifier bridge output, ripple, etc.. I want to build a simple PSU which I can understand and repair easily, but in the first place just for learning purpose. (See Pic1).
I'm following the Elenco XP720 design with a 220V to 17VAC input and I found some diffences between the spice model and the user's manual. I know I could have done a lot of mistakes but I would like to know how accurate this kind of models can be. For example:
a) Block Diagram (see Pic2) shows that the rectifier bridge output voltage is higher than the transformer output, but in the spice model is lower. Am I doing something wrong?
b) Output voltage is about 14.5V when it should be 15V. Is it due to some limitations or errors in the model? See Pic3.
c) Resistor value for RV is 2Kohms (Elenco's value) but I can see a lot of ripple. It gets lower with 1K5. See Pic3 and Pic4 with 2Kohms.
Later, I began to simulate a dual tracking supply with a LM317 and LM337 (See Pic5) and it seems that they are not the exactly opposed or the spice model is wrong because there was to much difference between positive and negative voltage levels.
d) Are LT150A and LT103 a better option than LM317 and LM337 to use them this way? Is the model not accurate enough to get a good result?
I was tired so I started to play a little bit. I didn't want to set a RC filter to the adj pin at first I only wanted to use a a 2Kohms 10 turns pot that I already have. (See Pic6) and I found that the ripple is a lot lower for 3.3V, 9V and 15V in the regulator output. (See Pic7,Pic8 and Pic9)
e) Will it work in real life?
f) Am I seeing ripple or it's something else?
Thanks!