left_bar.jpg (821 bytes)

logo.jpg (15296 bytes)
Home

Products
Windows:
  B2 Spice A/D v4 Pro
  B2 Spice A/D v4 Std
  B2 Spice A/D v4 Lite
  Digital Logic

Macintosh:
  B2 Spice 2.1
  B2 Logic 3.1

Eagle:
  Layout Editor
  Schematic Editor
  Autorouter

Customers &
Testimonials

Educational

Pricing

Ordering

Resources
  Case Studies
  Sample Circuits

Tech Support

Forum

Demos

Dealers

Links

FTP site

 

Search Beige Bag


 

 

Beige Bag Software, Inc.
phone 734.332.0487
fax 734.332.0392
info@beigebag.com

 

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.