I have a configurable symbol in my symbol library. ...Jim Thompson
--
| James E.Thompson, CTO | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
The only thing bipartisan in this country is hypocrisy
Sure there is, just open "CompliantParts.SLB" on the Subcircuits and Symbols page of my website (it's plain text).
A current source with no reverse current and a finite curvature can be thought of as the same as a (nearly) ideal diode.
It's TANH, so all derivatives are there and smooth, so it converges nicely.
Just set a transition region and a max current to suit.
I'll generate something more understandable by Larkin when I have a free moment :-)
Maybe a symbol with parameters to make it easy :-) ...Jim Thompson
--
| James E.Thompson, CTO | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
The only thing bipartisan in this country is hypocrisy
"John Larkin" wrote in message news: snipped-for-privacy@4ax.com...
You can add Capacitors to the database, but they left out the interface to add a diode. I think you can go into C:\Program Files\LTC\LTspiceIV\lib\cmp\standard.dio and just add your own. It might choke on multi-line model.
Click the D thing and add a diode to the schematic. Rename it Didl.
Then add a spice directive string nearby...
.model Didl D(Ron=0.1 Roff=1G Vfwd=0)
with whatever values you think are close to ideal. For some reason, my sim slows down if I use too low an Ron value. The 0.1 is good enough.
The ideal zener is then just a voltage in series with this diode.
I'm doing what the controls guys call a "high select", to create a voltage that's the greater of two inputs, to switch my power supply from constant-current to constant-voltage mode. I did a clever thing with two switch elements, but it did funny things sometimes and was too hard to think about.
Maybe not even that complex. Maybe just write your own diode equation? ...Jim Thompson
--
| James E.Thompson, CTO | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
The only thing bipartisan in this country is hypocrisy
Power supplies with separate voltage and current set pots have been around for 50 years or so, so there's nothing fundamental about this. Are there still any power supply companies on LI?
About LT Spice: where the heck is the "draw" menu? And why does it keep moving my schematic around in the view window, jamming it against the left and right edges at random?
Ok, now that you have the ideal diode, a zener can also be sim'd by a voltage source and one of your ideal diodes in series with it. Plus a non-ideal one across if your zener needs to also be used in reverse. The voltage source lets you dial in the zenering voltage. There's probably an easier way but I've done it a few times where that was good enough.
--
Regards, Joerg
http://www.analogconsultants.com/
"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.