| Electronics > Projects, Designs, and Technical Stuff |
| Design of SMPS - Not sure what these spikes are being caused by. |
| << < (20/27) > >> |
| Zog:
Thanks for clearing that up magic. I removed the previous post because it was a silly mistake on my part. I figured that little problem out and didn't want to clutter up the forum. |
| Zog:
Having trouble stepping the output load in LTspice Not sure what I am doing wrong but I want to be able to step the load to see the transient analysis. I have looked all over google and can't find a definitive answer. I am not sure how or where to set the flagloads option to flag the external current source to be a load. |
| T3sl4co1l:
Use the PULSE type. Alternately, use some resistors, a switch and a VPULSE. Tim |
| MagicSmoker:
--- Quote from: Zog on August 31, 2019, 10:51:16 pm ---Having trouble stepping the output load in LTspice --- End quote --- There's a couple ways to do this, but I like to use a the voltage controlled switch model ("SW") driven by a pulse source. You need to include a .model statement in your circuit which specifies the relevant parameters for the switch like so: .model SW SW(Ron=1m Roff=10Meg Vt=4 Vh=-1) And then drive it with a voltage pulse source that delivers 10V when on, has the rise and fall times you desire, etc. |
| Zog:
Thank you very much MagicSmoker and Tim, That was a great way to do what I wanted and by providing the .model example I had it completed in 1/2 Hour. I don't want to "bless" you all with my appalling Frankenstein of a hack just yet so will show you the bit that did the trick. Look at that lovely disruption. :clap: P.S. I have to thank treez for getting me into LTSpice too. If he had not provided me with a starting point I would never have got anywhere. Everyone needs a "hello world" to get going ! |
| Navigation |
| Message Index |
| Next page |
| Previous page |