diff --git a/src/Draft1.op.raw b/src/Draft1.op.raw new file mode 100644 index 0000000..bb8df25 Binary files /dev/null and b/src/Draft1.op.raw differ diff --git a/src/Draft1.raw b/src/Draft1.raw new file mode 100644 index 0000000..822bf06 Binary files /dev/null and b/src/Draft1.raw differ diff --git a/src/modelo_transitorio.asc b/src/modelo_transitorio.asc index 3ea79dd..b2d475a 100644 --- a/src/modelo_transitorio.asc +++ b/src/modelo_transitorio.asc @@ -1,14 +1,29 @@ -Version 4 -SHEET 1 1124 852 -WIRE 0 48 -256 48 +Version 4.1 +SHEET 1 1192 852 +WIRE 480 -176 432 -176 +WIRE 544 -176 480 -176 +WIRE 624 -176 544 -176 +WIRE 544 -160 544 -176 +WIRE 432 -144 432 -176 +WIRE 624 -144 624 -176 +WIRE 432 -64 432 -80 +WIRE 544 -64 544 -80 +WIRE 544 -64 432 -64 +WIRE 624 -64 624 -80 +WIRE 624 -64 544 -64 +WIRE 432 -32 432 -64 +WIRE -96 48 -256 48 +WIRE 0 48 -96 48 WIRE 256 48 0 48 WIRE -256 80 -256 48 WIRE 256 80 256 48 WIRE 0 112 0 48 -WIRE 256 192 256 160 +WIRE 256 176 256 160 +WIRE 256 192 256 176 WIRE 0 208 0 176 WIRE -256 240 -256 160 -WIRE 256 320 256 272 +WIRE 256 304 256 272 +WIRE 256 320 256 304 WIRE -256 336 -256 320 FLAG 432 192 0 FLAG 432 112 cont1 @@ -20,6 +35,11 @@ FLAG 432 400 0 FLAG 432 320 cont2 FLAG -256 336 0 FLAG 0 208 0 +FLAG 256 176 V1 +FLAG 256 304 V2 +FLAG 432 -32 0 +FLAG 480 -176 Energia +FLAG -96 48 condensador SYMBOL voltage -256 224 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 @@ -30,6 +50,8 @@ SYMATTR InstName S1 SYMBOL voltage 432 96 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 +WINDOW 0 37 35 Left 2 +WINDOW 3 35 70 Left 2 SYMATTR InstName V2 SYMATTR Value PULSE(0 10 0 1n 1n {toff_sw} {tsim}) SYMBOL cap -16 112 R0 @@ -37,24 +59,38 @@ SYMATTR InstName C1 SYMATTR Value {C} SYMBOL nmos 208 320 R0 SYMATTR InstName M1 +SYMATTR Value IRFZ44N SYMBOL voltage 432 304 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 +WINDOW 0 39 33 Left 2 +WINDOW 3 39 73 Left 2 SYMATTR InstName V3 -SYMATTR Value PULSE(0 50 {ton_mos} 1n 1n {delta} {tsim}) +SYMATTR Value PULSE(0 15 {ton_mos} 1n 1n {delta} {tsim}) SYMBOL ind 240 176 R0 SYMATTR InstName L1 SYMATTR Value {L} SYMBOL res 240 64 R0 SYMATTR InstName R1 SYMATTR Value {R} -TEXT -392 0 Left 2 !.tran 0 {tsim} 0 -TEXT -392 -32 Left 2 !.Model SW SW(Ron=1m Roff=100Meg Vt = 5) -TEXT -128 424 Left 2 !.param tsim 0.3 -TEXT -128 456 Left 2 !.param toff_sw 1m -TEXT -128 488 Left 2 !.param ton_mos 1.5m -TEXT -128 336 Left 2 !.param R 1.942 -TEXT -128 272 Left 2 !.param C 10u -TEXT -128 304 Left 2 !.param L 465.011u -TEXT -128 368 Left 2 !.param V 400 -TEXT -128 520 Left 2 !.param delta tsim-ton_mos +SYMBOL ltspice-lib\\sym\\bi 432 -64 R180 +WINDOW 0 -54 81 Left 2 +WINDOW 3 11 85 Left 2 +SYMATTR InstName B1 +SYMATTR Value I = (V(V1)-V(V2))*I(L1) +SYMBOL cap 608 -144 R0 +SYMATTR InstName C2 +SYMATTR Value 1 +SYMBOL res 528 -176 R0 +SYMATTR InstName R2 +SYMATTR Value 100G +TEXT -320 -16 Left 2 !.tran 0 {tsim} 0 uic +TEXT -320 -48 Left 2 !.Model SW SW(Ron=1m Roff=100Meg Vt = 5) +TEXT -320 -176 Left 2 !.param tsim 100m +TEXT -320 -144 Left 2 !.param toff_sw 1m +TEXT -320 -112 Left 2 !.param ton_mos 1.5m +TEXT -320 472 Left 2 !.param R 1.942 +TEXT -320 408 Left 2 !.param C 1m +TEXT -320 440 Left 2 !.param L 11u +TEXT -320 504 Left 2 !.param V 150 +TEXT -320 -80 Left 2 !.param delta tsim-ton_mos diff --git a/src/modelo_transitorio.net b/src/modelo_transitorio.net new file mode 100644 index 0000000..b067e76 --- /dev/null +++ b/src/modelo_transitorio.net @@ -0,0 +1,28 @@ +* C:\Users\osuescuneli\Desktop\source\src\modelo_transitorio.asc +* Generated by LTspice 24.1.5 for Windows. +V1 N001 0 {V} +S1 N001 condensador cont1 0 SW +V2 cont1 0 PULSE(0 10 0 1n 1n {toff_sw} {tsim}) +C1 condensador 0 {C} +M1 V2 cont2 0 0 IRFZ44N +V3 cont2 0 PULSE(0 15 {ton_mos} 1n 1n {delta} {tsim}) +L1 V1 V2 {L} +R1 condensador V1 {R} +B1 0 Energia I = (V(V1)-V(V2))*I(L1) +C2 Energia 0 1 +R2 Energia 0 100G +.model NMOS NMOS +.model PMOS PMOS +.lib C:\Users\osuescuneli\AppData\Local\LTspice\lib\cmp\standard.mos +.tran 0 {tsim} 0 uic +.Model SW SW(Ron=1m Roff=100Meg Vt = 5) +.param tsim 100m +.param toff_sw 1m +.param ton_mos 1.5m +.param R 1.942 +.param C 1m +.param L 11u +.param V 150 +.param delta tsim-ton_mos +.backanno +.end diff --git a/src/modelo_transitorio.op.raw b/src/modelo_transitorio.op.raw deleted file mode 100644 index 94be870..0000000 Binary files a/src/modelo_transitorio.op.raw and /dev/null differ diff --git a/src/modelo_transitorio.plt b/src/modelo_transitorio.plt new file mode 100644 index 0000000..67c14c3 --- /dev/null +++ b/src/modelo_transitorio.plt @@ -0,0 +1,24 @@ +[Transient Analysis] +{ + Npanes: 2 + Active Pane: 1 + { + traces: 1 {589830,0,"V(V1,V2)*I(L1)"} + X: ('m',0,0,0.001,0.01) + Y[0]: ('K',1,-300,300,3000) + Y[1]: ('K',0,1e+308,1000,-1e+308) + Units: "W" ('K',0,0,1,-300,300,3000) + Log: 0 0 0 + GridStyle: 1 + }, + { + traces: 2 {269025282,0,"V(n001)"} {303104004,1,"I(L1)"} + X: ('m',0,0,0.001,0.01) + Y[0]: (' ',0,-20,20,200) + Y[1]: (' ',0,-10,10,100) + Volts: (' ',0,0,0,-20,20,200) + Amps: (' ',0,0,0,-10,10,100) + Log: 0 0 0 + GridStyle: 1 + } +} diff --git a/src/modelo_transitorio.raw b/src/modelo_transitorio.raw index 2aeb155..5d2c4b6 100644 Binary files a/src/modelo_transitorio.raw and b/src/modelo_transitorio.raw differ