Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to Simulate Switching Power Supply

Status
Not open for further replies.

nadiro

Member level 1
Joined
Jul 23, 2012
Messages
34
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Activity points
1,601
Hi everybody
I want to start working with SMPS (Switching Mode Power Supply) But I don't know how I should start.

would you please show me the way?

I prefer to start by a simple circuit and simulate it at first then I test it in practice.What is your idea?

What is the right software for simulating switching circuits?

- - - Updated - - -

Recently I found a circuit for Cell Phone Battery Charger with the output of 5V/1A. The circuit attached.
5.PNG
I start simulate it with Orcad(Pspice) but there was some errors which I couldn't solve them.
my problem are:
1.How I should simulate transformer?
2.I can't find the optocupler which has simulation ability in Orcad libraries.What should I do?
3.Is it important to mention the power of resistors and voltage of electrolytic capacitors in simulation? If yes, How?
 

Attachments

  • DN06009D.rar
    54.9 KB · Views: 12

BradtheRad

Super Moderator
Staff member
Joined
Apr 1, 2011
Messages
14,056
Helped
2,796
Reputation
5,592
Reaction score
2,705
Trophy points
1,393
Location
Minneapolis, Minnesota, USA
Activity points
104,853
Re: How to Simulate Swiching Power Supply

An animated interactive simulator is helpful to further the learning process. See the thread below where I put posts about the buck, boost, and buck-boost converters.

They include links which allow you to run the same schematics in my posts. They make use of Falstad's simulator (Java applet).

https://www.edaboard.com/threads/268178/

--------------------------------------------------

I also have a Youtube video which consists of animated simulations, with narrations. These are from my homebrew simulator.

"Buck Boost Buckboost converters (Animated)"

www.youtube.com/watch?v=FT_sLF5Etm4
 
  • Like
Reactions: nadiro

    nadiro

    Points: 2
    Helpful Answer Positive Rating

treez

Advanced Member level 5
Joined
Sep 22, 2008
Messages
7,980
Helped
586
Reputation
1,175
Reaction score
566
Trophy points
1,393
Location
cambridge
Activity points
78,631
Re: How to Simulate Swiching Power Supply

simulator for SMPS = LTspice.....

the best free smps simulator in the world....and that's not marketing, as its free...they don't want your money

its from linear.com
 
  • Like
Reactions: nadiro

    nadiro

    Points: 2
    Helpful Answer Positive Rating

nadiro

Member level 1
Joined
Jul 23, 2012
Messages
34
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Activity points
1,601
Re: How to Simulate Swiching Power Supply

An animated interactive simulator is helpful to further the learning process.

Hi BradtheRad
what do you mean by animated interactive simulator?
I searched about it but I couldn't understand it.
 

treez

Advanced Member level 5
Joined
Sep 22, 2008
Messages
7,980
Helped
586
Reputation
1,175
Reaction score
566
Trophy points
1,393
Location
cambridge
Activity points
78,631
Re: How to Simulate Swiching Power Supply

download ltspice and look at the made up simulations, that they call test jigs, of switchmode power supplies. All you have to do is open the file and hit the running man icon
 

BradtheRad

Super Moderator
Staff member
Joined
Apr 1, 2011
Messages
14,056
Helped
2,796
Reputation
5,592
Reaction score
2,705
Trophy points
1,393
Location
Minneapolis, Minnesota, USA
Activity points
104,853
Re: How to Simulate Swiching Power Supply

what do you mean by animated interactive simulator?

The inductor is the heart of the action. And the action is complicated. If a picture is worth a thousand words, then a video is worth a million.

My Youtube video animates the action, making it easier to understand. It depicts current flow through the circuit. It portrays the inductor's flux field building and collapsing. It portrays counter-emf as a lug (or something with inertia), rattling back and forth.

It isn't interactive, of course. (Unless you're at my PowerMac, playing with my one-of-a-kind homebrew simulation program.)

Falstad's circuit simulator is interactive.

www.falstad.com/circuit

The circuit library does not have a smps, however. Interactive smps circuits can be found by reading my posts in the thread:

https://www.edaboard.com/threads/268178/

Those simulations are bare-bones simple, to clarify the concept of operation.

If you are looking for a smps project which you can adapt for your purposes, you can look at LTspice (as recommended in post #5).
 

treez

Advanced Member level 5
Joined
Sep 22, 2008
Messages
7,980
Helped
586
Reputation
1,175
Reaction score
566
Trophy points
1,393
Location
cambridge
Activity points
78,631
I want to start working with SMPS
Then you must start designing and laying out and making it now. Do not wait until you think you have filled your head with enough knowledge. None of us will ever know it all. We only learn by doing it in SMPS, and electronics as a whole. Do it, wear your safety glasses (!!!!), put fuses on everything, and just do it. Don't touch it whilst its switched on, till you know what you are doing
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top