The Role of B2 Spice A/D v4
Lets review the challenges
Designing a power supply with 4 DC outputs:
Many reference designs can be found on the Internet. However, estimating
total current draw or available voltage when configuring the regulators
can be done very quickly using the operating point simulation in B2
Spice. Take an existing design drop it into B2 Spice and customize
to your needs!
Battery charge current limiting for "float" operation:
12V gel batteries are typically charged at 13.8V. Aim for 14.0V with
no load allowing for the diode voltage drop 13.5 - 13.8V. In this
simulation no provision is made to cut the battery power it it falls
below a minimum level. R4 & R13 provide crude current limiting in
the event the battery is deep discharged. See page
3 for more details.
Simulating the battery:
A large value capacitor has been used. I was not able to find
a gel/lead acid battery model at the time of simulation.
Finding a suitable model for the LM317 regulator:
A model can be found in this paper at : LM317
Paper (pdf)
The graph below shows the initial 100ms after power has been turned
on. Note that the transformer "thump" due to the inrush of current
is present (max 6.362A). The main DC supply ripple is easily obtained
by min and max operations. Here it is below 1.3V or +-0.64V.
