New(?) Transformer model for LTspice

Could be shit and you'll have to fiddle to see what is or isn't going on.....

I wanted to dop down some windings and then dop down a core and connect them together with some idea of core saturation.....

Blah blah blah.

Anyway

Winding Model

Version 4 SHEET 1 880 680 WIRE -256 144 -288 144 WIRE -144 144 -176 144 WIRE 0 144 -64 144 WIRE 176 144 144 144 WIRE 256 144 224 144 WIRE -144 208 -144 144 WIRE -64 208 -64 144 WIRE 224 208 224 144 WIRE 176 224 176 144 WIRE -144 320 -144 288 WIRE -144 320 -288 320 WIRE -64 320 -64 288 WIRE 176 320 176 272 WIRE 176 320 -64 320 WIRE 224 320 224 288 WIRE 224 320 176 320 WIRE -64 352 -64 320 FLAG 0 144 Hf IOPIN 0 144 Out FLAG 256 144 LV IOPIN 256 144 Out FLAG 144 144 DBf IOPIN 144 144 In FLAG -288 144 1 IOPIN -288 144 In FLAG -288 320 2 IOPIN -288 320 In FLAG -64 352 0 SYMBOL res -160 128 R90 WINDOW 0 0 56 VBottom 0 WINDOW 3 32 56 VTop 0 SYMATTR InstName RL SYMATTR Value {RT*N**2} SYMBOL e 224 192 R0 WINDOW 0 38 42 Left 0 WINDOW 3 36 65 Left 0 SYMATTR InstName E1 SYMATTR Value {N} SYMBOL bv -144 192 R0 WINDOW 0 -134 41 Left 0 WINDOW 3 -134 67 Left 0 SYMATTR InstName B1 SYMATTR Value V=V(LV) SYMBOL bi2 -64 208 R0 WINDOW 0 38 29 Left 0 WINDOW 3 38 55 Left 0 SYMATTR InstName B2 SYMATTR Value I=N*I(B1)

Winding Symbol

Version 4 SymbolType BLOCK LINE Normal -32 -32 -16 -32 LINE Normal -32 32 -16 32 LINE Normal 64 -32 48 -32 LINE Normal 64 32 48 32 RECTANGLE Normal 48 48 -16 -48 CIRCLE Normal -2 -36 -10 -28 TEXT 6 -33 Left 0 Hf TEXT 3 32 Left 0 DBf PIN -32 -32 NONE 8 PINATTR PinName 1 PINATTR SpiceOrder 1 PIN -32 32 NONE 8 PINATTR PinName 2 PINATTR SpiceOrder 2 PIN 64 -32 NONE 8 PINATTR PinName Hf PINATTR SpiceOrder 3 PIN 64 32 NONE 8 PINATTR PinName DBf PINATTR SpiceOrder 4

Core Model

Version 4 SHEET 1 2328 820 WIRE 768 176 736 176 WIRE 1088 176 1024 176 WIRE 1120 176 1088 176 WIRE 1312 176 1264 176 WIRE 1488 176 1440 176 WIRE 736 240 736 176 WIRE 1024 240 1024 176 WIRE 1088 240 1088 176 WIRE 1312 240 1312 176 WIRE 1440 240 1440 176 WIRE 736 352 736 320 WIRE 1024 352 1024 320 WIRE 1024 352 736 352 WIRE 1088 352 1088 320 WIRE 1088 352 1024 352 WIRE 1312 352 1312 320 WIRE 1312 352 1088 352 WIRE 1440 352 1440 320 WIRE 1440 352 1312 352 WIRE 736 384 736 352 FLAG 1488 176 Us IOPIN 1488 176 Out FLAG 768 176 Bf IOPIN 768 176 Out FLAG 736 384 0 FLAG 1264 176 Hf IOPIN 1264 176 In FLAG 1120 176 DBf IOPIN 1120 176 Out SYMBOL bv 1440 224 R0 WINDOW 0 -419 154 Left 0 WINDOW 3 -418 174 Left 0 SYMATTR InstName B3 SYMATTR Value V=Ue*(1/Ue+exp(-((V(Bf))**2)/(2*Bs**2))) SYMBOL bv 736 224 R0 WINDOW 0 37 149 Left 0 WINDOW 3 38 173 Left 0 SYMATTR InstName B1 SYMATTR Value V=Uo*V(Us)*I(VHF)/Le SYMBOL voltage 1312 224 R0 WINDOW 0 36 48 Left 0 WINDOW 3 37 72 Left 0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName VHF SYMATTR Value 0V SYMBOL bi 1024 320 R180 WINDOW 0 82 47 Left 0 WINDOW 3 39 27 Left 0 SYMATTR InstName B2 SYMATTR Value I=V(Bf) SYMBOL ind 1072 224 R0 WINDOW 0 38 32 Left 0 WINDOW 3 39 57 Left 0 WINDOW 39 39 83 Left 0 SYMATTR InstName L1 SYMATTR Value {Ae} SYMATTR SpiceLine Rpar={1/Ae}

Core Symbol

Version 4 SymbolType BLOCK LINE Normal -48 0 -32 0 LINE Normal 80 0 64 0 LINE Normal 80 32 64 32 RECTANGLE Normal 64 48 -32 -16 TEXT -29 0 Left 0 Hf TEXT 16 0 Left 0 DBf TEXT 34 31 Left 0 Bf PIN -48 0 NONE 8 PINATTR PinName Hf PINATTR SpiceOrder 1 PIN 80 0 NONE 8 PINATTR PinName DBf PINATTR SpiceOrder 2 PIN 80 32 NONE 8 PINATTR PinName Bf PINATTR SpiceOrder 3

If that works then cleverer people than what I am will be able to work it out and either rubbish it or make it better/extend it.

What you do is dop down some windings for your transformer, right click on them and give them parameters for RT, resistance of a turn, and N, number of turns.

Then you dop down a core and give it parameters for Uo (4*PI*1E-7) Ae, Le, Ue and Bs (saturation flux density).

Tie all the Hf and Dbf terminals together and away you might go.

Does inductors too. Just use a single winding and core, give em your guesses and Hf and Dbf together.

DNA

Reply to
mrspamizgood
Loading thread data ...

welcome back

martin

Reply to
martin griffith

Welcome back, Your dreams were your ticket out.

Welcome back, To that same old place that you laughed about.

Well the names have all changed since you hung around, But those dreams have remained and they're turned around.

Who'd have thought they'd lead ya (Who'd have thought they'd lead ya) Here where we need ya (Here where we need ya)

Yeah we tease him a lot cause we've hot him on the spot, welcome back, Welcome back, welcome back, welcome back.

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
Reply to
Spehro Pefhany

Now one of Kotter's "Sweathogs" is a real Sweaat Hog, in a fat suit and drag.

--
Service to my country? Been there, Done that, and I've got my DD214 to
prove it.
Member of DAV #85.

Michael A. Terrell
Central Florida
Reply to
Michael A. Terrell

Welcome back.

-- Bill Sloman, Nijmegen

Reply to
bill.sloman

Stupid thing is......

I would have died for you.

DNA

Reply to
Genome

How does your name parse?

Is it Mr. Spam iz good or Mrs. Pam iz good?

Both are food related -- which seems to work for a resurrected DNA. Spam being the meat-like product and Pam being a can of spray stuff for painting your pans before frying or baking.

formatting link
or
formatting link

Reply to
xray

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.