BTW, a PUT and a unijunction are two rather different devices.
The 2N6027/8 are PUTs The 2N2646/7 are unijunctions.
Both have three terminals.. but if you rename a model and stick a PUT in place of a UJT, it won't do what you expect. A PUT actually has three junctions.
If you add a couple appropriate external resistors, a PUT will act similarly to a UJT.
Best regards, Spehro Pefhany
"it's the network..." "The Journey is the reward"
speff@interlog.com Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog Info for designers: http://www.speff.com
Didn't find your answer? Ask the community — no account required.
O
OldGuy
OK so I took the simple .SUB and loaded it into LTSpice. Got to start somewhere. Left-clicking did nothing. I did right-click and found "create symbol". It did. I added some lines to make it look like a unijunction symbol and saved it. I went to my main sch and from the Component \ AutoGenerated folder found my new symbol. Loaded it into the schematic and hooked it up.
Tried to run and got:
--------------------------- LTspice IV
--------------------------- Unknown subcircuit called in: xu1 line n008 output triac
--------------------------- OK
---------------------------
I believe that Triac is built-in i.e. already exists in lib. I looked all over to find a .SUB but found none. So what is line n008 referencing? "output" is the name of a Net Name[ABC] thingy I thought as to be used as a pin for signal monitoring.
------------------------------------------------------------------------ These lines go into C:\Program Files\LTC\LTspiceIV\lib\sym\Misc\2N6027.asy
------------------------------------------------------------------------ Version 4 SymbolType CELL LINE Normal 16 16 16 80 LINE Normal 48 72 48 96 LINE Normal 16 72 48 72 LINE Normal 48 24 48 0 LINE Normal 16 24 48 24 LINE Normal 4 68 16 64 LINE Normal 4 60 16 64 LINE Normal 4 60 4 68 LINE Normal -32 32 -64 32 LINE Normal 0 64 -32 32 LINE Normal 4 64 0 64 WINDOW 3 56 72 Left 2 SYMATTR Value X2N6027 SYMATTR Prefix X SYMATTR Description UJT SYMATTR SpiceModel X2N6027 SYMATTR ModelFile 2N6027.sub PIN 48 0 NONE 0 PINATTR PinName K1 PINATTR SpiceOrder 1 PIN -64 32 NONE 0 PINATTR PinName G PINATTR SpiceOrder 2 PIN 48 96 NONE 0 PINATTR PinName K2 PINATTR SpiceOrder 3
------------------------------------------------------------------------ These lines go into 2N6027.asc