On Fri, 13 Sep 2013 12:37:57 -0700, Fred Abse wrote:> Left click on the "subckt" line.That should be right click. -- "Design is the reverse of analysis" (R.D. Middlebrook)
LTSpice Help
Started by ●September 13, 2013
Reply by ●September 13, 20132013-09-13
Reply by ●September 13, 20132013-09-13
On Fri, 13 Sep 2013 12:37:57 -0700, Fred Abse <excretatauris@invalid.invalid> wrote:>On Fri, 13 Sep 2013 10:12:20 -0700, Jim Thompson wrote: > >> LTspice symbol creation is rather crude, pretty much the same as the >> schematic capture user interface :-( >> >> It would be handy if Engelhardt made LTspice import PSpice symbols. It >> is trivial to make custom symbols in PSpice. > >Open the subckt file in LTspice. >Left click on the "subckt" line. <<==== should be RIGHT click >A symbol is automatically generated, and the symbol editor opens. You can >then edit the symbol as much as you like. >Saving the symbol creates a new symbol category, "Auto Generated", if it >doesn't already exist. > >No need for an .include, or .lib statement. The file name is automatically >inserted into the symbol "model file" attribute."Right" click on the subckt line ;-) Great! I didn't know that. It even inserts the library call (along with PATH) I was puzzling over... netlist (nothing connected)... XU1 NC_01 NC_02 NC_03 NC_04 MyLM339 .lib C:\PSpice\SymbolLib\mylib.lib Much easier than starting from drawing in the symbol editor... you get all the basics automatically! I like that. The symbol drawing was the main thing limiting my fast response time to "cute" circuits >:-} ...Jim Thompson -- | James E.Thompson | mens | | Analog Innovations | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | San Tan Valley, AZ 85142 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
Reply by ●September 13, 20132013-09-13
On Fri, 13 Sep 2013 13:02:28 -0700, Jim Thompson wrote:> "Right" click on the subckt line ;-)I posted a correction right after. Maybe it didn't propagate fast enough. -- "Design is the reverse of analysis" (R.D. Middlebrook)
Reply by ●September 13, 20132013-09-13
On Fri, 13 Sep 2013 13:09:21 -0700, Fred Abse <excretatauris@invalid.invalid> wrote:>On Fri, 13 Sep 2013 13:02:28 -0700, Jim Thompson wrote: > >> "Right" click on the subckt line ;-) > >I posted a correction right after. Maybe it didn't propagate fast enough.I went off, tried it, posted. Then when I retrieved headers, I saw your correction. ...Jim Thompson -- | James E.Thompson | mens | | Analog Innovations | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | San Tan Valley, AZ 85142 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
Reply by ●September 13, 20132013-09-13
On Fri, 13 Sep 2013 13:09:21 -0700, Fred Abse <excretatauris@invalid.invalid> wrote:>On Fri, 13 Sep 2013 13:02:28 -0700, Jim Thompson wrote: > >> "Right" click on the subckt line ;-) > >I posted a correction right after. Maybe it didn't propagate fast enough.Any tricks to bolden the grid? PSpice, the grid shows nicely (because, in the INI file, you can set the pixel size); LTspice, barely visible. ...Jim Thompson -- | James E.Thompson | mens | | Analog Innovations | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | San Tan Valley, AZ 85142 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
Reply by ●September 13, 20132013-09-13
On 9/13/2013 11:31 AM, OldGuy wrote:> OK so there is a forum. Where? > Look I go to forums and find that most are places where people like to > chit chat about irrelevant stuff.AND YOU CAME HERE !?!?! Boy, are you going to have a rude awakening ! Go ahead Jim, show him. hamilton
Reply by ●September 13, 20132013-09-13
On Fri, 13 Sep 2013 10:51:08 -0700, Jim Thompson wrote:> I'm not at all expert in using LTspice, I use it only to run posted > designs, or simply draw in PSpice, then import the resulting .CIR file > into LTspice and run. > > I noted something in the tutorial I posted about needing a .INCLUDE to > provide the symbol with a model to use. In PSpice that would be > simply a .LIB statement.LTspice supports both .include, and .lib. You can actually .include a URL, (provided it's a valid library file), and LTspice will import it, stick it in /lib/sub, and use it. There's .ferret, too, that gets libraries off the 'net. Never tried either, but they're in the manual. -- "Design is the reverse of analysis" (R.D. Middlebrook)
Reply by ●September 13, 20132013-09-13
On Fri, 13 Sep 2013 13:46:12 -0700, Jim Thompson wrote:> On Fri, 13 Sep 2013 13:09:21 -0700, Fred Abse > <excretatauris@invalid.invalid> wrote: > >>On Fri, 13 Sep 2013 13:02:28 -0700, Jim Thompson wrote: >> >>> "Right" click on the subckt line ;-) >> >>I posted a correction right after. Maybe it didn't propagate fast enough. > > Any tricks to bolden the grid? PSpice, the grid shows nicely > (because, in the INI file, you can set the pixel size); LTspice, > barely visible. >Not that I've ever found. -- "Design is the reverse of analysis" (R.D. Middlebrook)
Reply by ●September 13, 20132013-09-13
OldGuy <OldGuy@spamfree.com> wrote:> I am new to Spice as well as LT Spice. > > I have input most of my circuit after spending much time looking for > components. > I have not run the circuit yet since I have a hole where a unijunction > goes. > > The circuit additionally uses a triac, scr and transistor. > > I found the > *Programable Unijunction Transistor pkg: TO-226AA > .SUBCKT X2N6027 1 2 3 > > for a "generic" (to me) unijunction. > > But I have no clue how to make a symbol and connect to the .SUBCKT. > Why? Because I do not know the terminology. > The .SUBCKT webpage came with instructions to create the "component" > but I cannot follow it. Is there a different tool to use? > > Hopefully if I get steered in the right direction I can incorporate the > unijunction. > > I am using a 2N2647 unijunction. > > *Programable Unijunction Transistor pkg: TO-226AA > .SUBCKT X2N6027 1 2 3 > ************** K1 G K2 > Q1 2 4 3 NMOD > Q2 4 2 1 PMOD > .MODEL NMOD NPN(IS=5E-15 VAF=100 IKF=0.005 ISE=1.85E-12 NE=1.45 > + RB=10 RE=0.5 RC=0.5 CJE=3.5E-11 VJE=0.75 CJC=1.1E-11 VJC=0.75 > TR=4.76E-8 > + TF=16N VJS=0.75 ) > .MODEL PMOD PNP(IS=2E-15 VAF=100 IKF=0.005 ISE=1.9E-12 RB=10 RE=0.5 > + RC=0.5 CJE=3.5E-11 VJE=0.75 TF=1.6E-8 CJC=1.1E-11 VJC=0.75 TR=5.1E-8 > + TF=16N VJS=0.75 ) > .ENDS X2N6027Take a look at http://electronics.stackexchange.com/questions/52023/unijunction-transistor-in-ltspice It's a tutorial that shows step-by-step how to integrate the 2N6027 into LTSpice. -- Don Kuenz
Reply by ●September 13, 20132013-09-13
Don Kuenz wrote on 9/13/2013 :> OldGuy <OldGuy@spamfree.com> wrote: >> I am new to Spice as well as LT Spice. >> >> I have input most of my circuit after spending much time looking for >> components. >> I have not run the circuit yet since I have a hole where a unijunction >> goes. >> >> The circuit additionally uses a triac, scr and transistor. >> >> I found the >> *Programable Unijunction Transistor pkg: TO-226AA >> .SUBCKT X2N6027 1 2 3 >> >> for a "generic" (to me) unijunction. >> >> But I have no clue how to make a symbol and connect to the .SUBCKT. >> Why? Because I do not know the terminology. >> The .SUBCKT webpage came with instructions to create the "component" >> but I cannot follow it. Is there a different tool to use? >> >> Hopefully if I get steered in the right direction I can incorporate the >> unijunction. >> >> I am using a 2N2647 unijunction. >> >> *Programable Unijunction Transistor pkg: TO-226AA >> .SUBCKT X2N6027 1 2 3 >> ************** K1 G K2 >> Q1 2 4 3 NMOD >> Q2 4 2 1 PMOD >> .MODEL NMOD NPN(IS=5E-15 VAF=100 IKF=0.005 ISE=1.85E-12 NE=1.45 >> + RB=10 RE=0.5 RC=0.5 CJE=3.5E-11 VJE=0.75 CJC=1.1E-11 VJC=0.75 >> TR=4.76E-8 >> + TF=16N VJS=0.75 ) >> .MODEL PMOD PNP(IS=2E-15 VAF=100 IKF=0.005 ISE=1.9E-12 RB=10 RE=0.5 >> + RC=0.5 CJE=3.5E-11 VJE=0.75 TF=1.6E-8 CJC=1.1E-11 VJC=0.75 TR=5.1E-8 >> + TF=16N VJS=0.75 ) >> .ENDS X2N6027 > > Take a look at > > http://electronics.stackexchange.com/questions/52023/unijunction-transistor-in-ltspice > > It's a tutorial that shows step-by-step how to integrate the 2N6027 into > LTSpice.Did you try stepping through that? I cannot follow it. --- news://freenews.netfront.net/ - complaints: news@netfront.net ---