Basic Files

This commit is contained in:
beri-he
2025-05-29 19:19:47 +02:00
parent 0a1aa70637
commit b0c5b22c30
73 changed files with 198857 additions and 0 deletions

View File

@ -0,0 +1,75 @@
%% Skript zu Auslegung eines Trsanformators für einen SMPS
clear all
close all
%%
p = 1.724e-6; %Spez. Widerstand der Litze [Ohm cm]
D_max = 0.75; %Maximaler Duty Cycle
V_in_min = 350; %Minimale Eingangsspannung [V]
V_in_nom = 511; %Nominelle Eingangsspannung [V]
V_FET = 0.3; %Spannungsabfall an FETs
V_D = 0.7; %Durchlassspannung Diode [V]
V_out = 24; %Ausgangsspannung
P_out = 1e3; %Maximale <Ausgangsleistung
P_loss = 0.01 * P_out; %Akzeptable Verlustleistung [W]
I_out = P_out/V_out; %Ausgangsstrom [A]
n = ((V_in_min-2*V_FET)*D_max)/(V_out+V_D); %Windungszahlverhältnis
D_nom = n * (V_out+V_D)/(V_in_nom-2*V_FET); %Nominaler Duty cycle
fs = 100e3; %Schaltfrequenz [Hz]
lam1 = V_in_nom *D_nom/fs; % Vs pro Schaltperiode
I_1_rms = I_out/n * sqrt(D_nom);
I_2_rms = 0.5 * I_out * sqrt(1+D_nom);
I_tot = I_1_rms + 2*I_2_rms / n;
K_fe = 15.76; %Core loss factor (Curve Fitting) [W/Tcm^3]
Ku = 0.3; %Füllfaktor der Wicklung
beta = 2.39; %Wert aus Curve Fitting
Kg_fe = (p*lam1*lam1*I_tot*I_tot*power(K_fe, 2/beta)) / (4*Ku*power(P_loss, (beta+2)/beta)) * 1e8;
%Angenommen EE40 Kern PC47 --> EE40 könnte Probleme mit Sättigung
%verursachen
Ac = 2.4; %[cm^2]
Wa = 2.29; %[cm^2]
MLT = 7.7; %[cm]
lm = 9.86; %[cm]
A_l = 5340;
%Peak AC Flux density [T]
dB = power((1e8*p*lam1*lam1*I_tot*I_tot/(2*Ku)) * (MLT/(Wa*lm*Ac*Ac*Ac) * 1/(beta*K_fe)),1/(beta+2));
%Primary turns
n1 = lam1 /(2*dB*Ac)*1e4;
n2 = n1/n;
%Runden
n1_r = round(n1);
n2_r = round(n2);
n_r = n1_r / n2_r;
%Area for windings alpha*Wa ergibt die verfügbare Fläche der Windung
alpha1 = I_1_rms/I_tot;
alpha2 = I_2_rms/(n_r*I_tot);
%Wire sizes
Aw1 = alpha1*Ku*Wa/n1_r; %[cm^2] Beispiel AWG 23
Aw2 = alpha2*Ku*Wa/n2_r; %[cm^2] Beispiel AWG 14
%DC Resistance
R1 = p * n1_r*MLT/Aw1;
R2 = p* n2*MLT/Aw2;
%Verluste berechnen
B_new = lam1/(2*n1_r*Ac) *1e4;
P_fe = K_fe * power(B_new,beta) * Ac * lm; %Core losses
P_cu = (p*lam1*lam1*I_tot*I_tot)/(4*Ku) * MLT/(Wa*Ac*Ac) * 1/(B_new*B_new) * 1e8;
P_tot = P_fe + P_cu;
%Magnetizing Inductance berechnen
Lm = A_l * n1_r * n1_r *1e-9;
I_1_rms / (Aw1*100)
I_2_rms / (Aw2*100)

View File

@ -0,0 +1,42 @@
clear all
close all
D_max = 0.75; %Maximaler Duty Cycle
V_in_min = 350; %Minimale Eingangsspannung [V]
V_in_nom = 511; %Nominelle Eingangsspannung [V]
V_FET = 0.3; %Spannungsabfall an FETs
V_D = 0.7; %Durchlassspannung Diode [V]
V_out = 24; %Ausgangsspannung
P_out = 1e3; %Maximale <Ausgangsleistung
eta = 0.95; %Effizienz
P_loss = (1-eta) * P_out; %Akzeptable Verlustleistung [W]
I_out = P_out/V_out; %Ausgangsstrom [A]
n = ceil(((V_in_min-2*V_FET)*D_max)/(V_out+V_D)); %Windungszahlverhältnis
D_nom = n * (V_out+V_D)/(V_in_nom-2*V_FET); %Nominaler Duty cycle
fs = 100e3; %Schaltfrequenz [Hz]
lam_max = V_in_nom * D_max /fs; %Maximaler Fluss [Vs]
delta_I_out = 0.2 * I_out; %Maximaler Rippel am Ausgang [A]
L_m = (V_in_nom*(1-D_nom)*n) / (delta_I_out*0.5*fs); %Minimale Magnetisierungsinduktivität [H]
%Calculate Secondary RMS Current
I_PS = I_out +delta_I_out/2;
I_MS = I_out -delta_I_out/2;
I_MS2 = I_PS - delta_I_out/4;
I_SRMS1 = sqrt((D_max/2)*(I_PS*I_MS+power(I_PS-I_MS,2)/3)); %Sekundärer RMS Strom, wenn Energie übertragen wird
I_SRMS2 = sqrt((1-D_max)/2 * (I_PS*I_MS+power(I_PS-I_MS,2)/3)); %Sekundärer RMS Strom, wenn beide Sekundärdioden leiten
I_SRMS3 = delta_I_out/2 * sqrt((1-D_max)/6);
I_SRMS = sqrt(I_SRMS1*I_SRMS1 + I_SRMS2*I_SRMS2 + I_SRMS3*I_SRMS3); %Total secondary RMS current
%Calculate primary RMS Currents
delta_I_m = V_in_min * D_max /(L_m*fs);
I_PP = 1/n * (I_out/eta + delta_I_out/2) + delta_I_m;
I_MP = 1/n * (I_out/eta - delta_I_out/2) + delta_I_m;
I_PRMS1 = sqrt(D_max * (I_PP*I_MP+power(I_PP-I_MP,2)/3));
I_MP2 = I_PP - delta_I_out/(2*n);
I_PRMS2 = sqrt((1-D_max)*(I_PP*I_MP2+power(I_PP-I_MP2,2)/3));
I_PRMS = sqrt(I_PRMS1*I_PRMS1 + I_PRMS2*I_PRMS2); %Total primary RMS current

View File

@ -0,0 +1,53 @@
# -*- coding: utf-8 -*-
"""
Created on Sun Mar 16 15:27:04 2025
@author: Vincents Laptop
"""
import femmt as fmt
import materialdatabase as mdb
geo = fmt.MagneticComponent(simulation_type=fmt.SimulationType.FreqDomain,
component_type=fmt.ComponentType.Transformer,
working_directory=r"C:\Users\Vincents Laptop\OneDrive\Dokumente\TU Berlin\Fasttube\Electronics\DCDC\Konzept\PSFB\Trafo\FEMMT",
verbosity=fmt.Verbosity.ToConsole)
core_dimensions = fmt.dtos.SingleCoreDimensions(core_inner_diameter=0.0156, window_w=0.0141, window_h=0.02805, core_h=0.0156)
core = fmt.Core(core_type=fmt.CoreType.Single,
core_dimensions=core_dimensions,
detailed_core_model=False,
material=mdb.Material.N95, temperature=50, frequency=1000,
permeability_datasource=fmt.MaterialDataSource.Measurement,
permeability_datatype=fmt.MeasurementDataType.ComplexPermeability,
permeability_measurement_setup=mdb.MeasurementSetup.LEA_LK,
permittivity_datasource=fmt.MaterialDataSource.Measurement,
permittivity_datatype=fmt.MeasurementDataType.ComplexPermittivity,
permittivity_measurement_setup=mdb.MeasurementSetup.LEA_LK,
mdb_verbosity=fmt.Verbosity.Silent)
geo.set_core(core)
insulation = fmt.Insulation(flag_insulation=True)
insulation.add_core_insulations(0.001, 0.001, 0.001, 0.001)
insulation.add_winding_insulations([[0.0001, 0.001], [0.0001, 0.001]])
geo.set_insulation(insulation)
winding_window = fmt.WindingWindow(core, insulation)
vww = winding_window.split_window(fmt.WindingWindowSplit.NoSplit)
winding1 = fmt.Conductor(winding_number=0, conductivity=fmt.Conductivity.Copper)
winding1.set_litz_round_conductor(conductor_radius=None, number_strands=100, strand_radius=0.0001007/2,
fill_factor=0.7, conductor_arrangement=fmt.ConductorArrangement.Square)
vww.set_winding(winding1, 38, None, fmt.Align.CenterOnHorizontalAxis,
placing_strategy=fmt.ConductorDistribution.VerticalDownward_HorizontalRightward,
zigzag=False)
geo.set_winding_windows([winding_window])
geo.create_model(freq=100000, pre_visualize_geometry=True, save_png=False)
geo.single_simulation(freq=100000, current=[4.5], phi_deg=[0],
plot_interpolation=False, show_fem_simulation_results=True)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,272 @@
{
"core_type": "Single",
"p_outer": [
[
0,
-0.017925
],
[
0.023247580519271248,
-0.017925
],
[
0,
0.017925
],
[
0.023247580519271248,
0.017925
]
],
"p_ww": [
[
0.0078,
-0.014025
],
[
0.0219,
-0.014025
],
[
0.0078,
0.014025
],
[
0.0219,
0.014025
]
],
"p_air_gap_center": [],
"lengths_air_gap": [],
"p_cond_center_1": [
[
0.009401797604799866,
0.012384154491197478,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
0.011080559281597744,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
0.009776964071998009,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
0.008473368862398275,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
0.00716977365279854,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
0.0058661784431988055,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
0.004562583233599071,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
0.0032589880239993364,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
0.001955392814399602,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
0.0006517976047998675,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
-0.0006517976047998668,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
-0.001955392814399601,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
-0.0032589880239993355,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
-0.00456258323359907,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
-0.005866178443198805,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
-0.007169773652798539,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
-0.008473368862398273,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
-0.009776964071998007,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
-0.011080559281597742,
0.0,
7.522470059998339e-05
],
[
0.009401797604799866,
-0.012384154491197476,
0.0,
7.522470059998339e-05
],
[
0.010705392814399601,
0.012384154491197478,
0.0,
7.522470059998339e-05
],
[
0.010705392814399601,
0.011080559281597744,
0.0,
7.522470059998339e-05
],
[
0.010705392814399601,
0.009776964071998009,
0.0,
7.522470059998339e-05
],
[
0.010705392814399601,
0.008473368862398275,
0.0,
7.522470059998339e-05
],
[
0.010705392814399601,
0.00716977365279854,
0.0,
7.522470059998339e-05
],
[
0.010705392814399601,
0.0058661784431988055,
0.0,
7.522470059998339e-05
],
[
0.010705392814399601,
0.004562583233599071,
0.0,
7.522470059998339e-05
],
[
0.010705392814399601,
0.0032589880239993364,
0.0,
7.522470059998339e-05
],
[
0.010705392814399601,
0.001955392814399602,
0.0,
7.522470059998339e-05
],
[
0.010705392814399601,
0.0006517976047998675,
0.0,
7.522470059998339e-05
],
[
0.010705392814399601,
-0.0006517976047998668,
0.0,
7.522470059998339e-05
],
[
0.010705392814399601,
-0.001955392814399601,
0.0,
7.522470059998339e-05
],
[
0.010705392814399601,
-0.0032589880239993355,
0.0,
7.522470059998339e-05
],
[
0.010705392814399601,
-0.00456258323359907,
0.0,
7.522470059998339e-05
],
[
0.010705392814399601,
-0.005866178443198805,
0.0,
7.522470059998339e-05
],
[
0.010705392814399601,
-0.007169773652798539,
0.0,
7.522470059998339e-05
],
[
0.010705392814399601,
-0.008473368862398273,
0.0,
7.522470059998339e-05
],
[
0.010705392814399601,
-0.009776964071998007,
0.0,
7.522470059998339e-05
]
],
"radius_cond_1": 0.0006017976047998676
}

View File

@ -0,0 +1 @@
{}

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

View File

@ -0,0 +1,14 @@
x, y
0.1002494289906044, 80.71024122016841
0.10802869649936904, 94.89628792946644
0.11816471441148023, 117.0179072146259
0.1286093870259706, 142.92852915528385
0.13928158865877746, 176.24711912279753
0.15425950151920617, 230.1145910535005
0.16831339878741391, 281.0675803330006
0.18641330305011272, 356.6345145611606
0.20852721551354678, 461.2209191017241
0.22752520290227124, 574.1807178652496
0.24702019565443625, 701.3183488513777
0.26751830544534283, 840.4440174219649
0.2970254238548787, 1097.3140005634307
1 x y
2 0.1002494289906044 80.71024122016841
3 0.10802869649936904 94.89628792946644
4 0.11816471441148023 117.0179072146259
5 0.1286093870259706 142.92852915528385
6 0.13928158865877746 176.24711912279753
7 0.15425950151920617 230.1145910535005
8 0.16831339878741391 281.0675803330006
9 0.18641330305011272 356.6345145611606
10 0.20852721551354678 461.2209191017241
11 0.22752520290227124 574.1807178652496
12 0.24702019565443625 701.3183488513777
13 0.26751830544534283 840.4440174219649
14 0.2970254238548787 1097.3140005634307

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

View File

@ -0,0 +1,24 @@
x, y
0.09980911940244717, 63.09573444801933
0.10369689340507997, 67.55066513294419
0.11002434828571836, 78.75829328777596
0.11496712074250538, 87.24503892398667
0.12013194404476639, 100
0.126733735451327, 112.68130079648544
0.1331884038422887, 124.82348288165197
0.13997181456763289, 143.07229891937573
0.14879674393106349, 163.98903672222477
0.1560766123737784, 184.78497974222907
0.16496861828626572, 208.21811885006582
0.17270939514740014, 234.62288481422624
0.1815056471454183, 259.9051079393097
0.19002238643913313, 292.8644564625237
0.19931921604642963, 330.0034791125285
0.20907089227662543, 371.8522129376553
0.2209820914113209, 426.2158829015325
0.2317936220347043, 480.265601054672
0.24406496195855046, 532.0175096324757
0.2604460790820152, 630.9573444801937
0.2716269754224496, 698.9473207273486
0.2838296410465342, 774.263682681127
0.2977159828600288, 857.6958985908946
1 x y
2 0.09980911940244717 63.09573444801933
3 0.10369689340507997 67.55066513294419
4 0.11002434828571836 78.75829328777596
5 0.11496712074250538 87.24503892398667
6 0.12013194404476639 100
7 0.126733735451327 112.68130079648544
8 0.1331884038422887 124.82348288165197
9 0.13997181456763289 143.07229891937573
10 0.14879674393106349 163.98903672222477
11 0.1560766123737784 184.78497974222907
12 0.16496861828626572 208.21811885006582
13 0.17270939514740014 234.62288481422624
14 0.1815056471454183 259.9051079393097
15 0.19002238643913313 292.8644564625237
16 0.19931921604642963 330.0034791125285
17 0.20907089227662543 371.8522129376553
18 0.2209820914113209 426.2158829015325
19 0.2317936220347043 480.265601054672
20 0.24406496195855046 532.0175096324757
21 0.2604460790820152 630.9573444801937
22 0.2716269754224496 698.9473207273486
23 0.2838296410465342 774.263682681127
24 0.2977159828600288 857.6958985908946

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,15 @@
clear all
close all
data = readtable("Losses_PC95_100kHz_60C.csv");
B = data.x;
P = data.y;
figure
loglog(B*1e3, P);
grid minor
xlabel("B_{max} in mT")
ylabel("Core Losses in kW/m^3")
title("Core Losses")

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,26 @@
Version 4
SymbolType BLOCK
TEXT -64 -64 Left 0 My_custom_magnetic
TEXT -64 64 Left 0 Made with OpenMagnetics
RECTANGLE Normal -72 -72 72 72
SYMATTR Prefix X
SYMATTR Value My_custom_magnetic
SYMATTR ModelFile My_custom_magnetic.cir
PIN -72 -16 LEFT 8
PINATTR PinName P1+
PINATTR SpiceOrder 1
PIN -72 16 LEFT 8
PINATTR PinName P1-
PINATTR SpiceOrder 2
PIN 72 -48 RIGHT 8
PINATTR PinName P2+
PINATTR SpiceOrder 3
PIN 72 -16 RIGHT 8
PINATTR PinName P2-
PINATTR SpiceOrder 4
PIN 72 16 RIGHT 8
PINATTR PinName P3+
PINATTR SpiceOrder 5
PIN 72 48 RIGHT 8
PINATTR PinName P3-
PINATTR SpiceOrder 6

View File

@ -0,0 +1,56 @@
* Magnetic model made with OpenMagnetics
* My_custom_magnetic
.subckt My_custom_magnetic P1+ P1- P2+ P2- P3+ P3-
Lladder1_0 P1+ Node_Lladder_1_0 0.00000044286965416607
Rladder1_0 Node_Lladder_1_0 Node_R_Lmag_1 7.18538503187492150204
Lladder1_2 P1+ Node_Lladder_1_2 0.69103838050273735938
Rladder1_2 Node_Lladder_1_2 Node_Lladder_1_0 7.20623790440508482646
Lladder1_4 P1+ Node_Lladder_1_4 0.71311188379117107505
Rladder1_4 Node_Lladder_1_4 Node_Lladder_1_2 7.20106752103035407941
Lladder1_6 P1+ Node_Lladder_1_6 0.62261277835029316119
Rladder1_6 Node_Lladder_1_6 Node_Lladder_1_4 7.17401798641782129096
Lladder1_8 P1+ Node_Lladder_1_8 0.00000000471930635758
Rladder1_8 Node_Lladder_1_8 Node_Lladder_1_6 0.25621019747340834094
Rdc1 P1+ Node_R_Lmag_1 {Rdc_1_Value}
Lmag_1 P1- Node_R_Lmag_1 {NumberTurns_1**2*Permeance}
Lladder2_0 P2+ Node_Lladder_2_0 0.97122895822658428244
Rladder2_0 Node_Lladder_2_0 Node_R_Lmag_2 -2.28919229515785715989
Lladder2_2 P2+ Node_Lladder_2_2 1.85137554136712623176
Rladder2_2 Node_Lladder_2_2 Node_Lladder_2_0 -3.47356156253973402670
Lladder2_4 P2+ Node_Lladder_2_4 1.91471991153135512320
Rladder2_4 Node_Lladder_2_4 Node_Lladder_2_2 -1.43386338614170938399
Lladder2_6 P2+ Node_Lladder_2_6 5.29693060561242479167
Rladder2_6 Node_Lladder_2_6 Node_Lladder_2_4 2.34627597374724494728
Lladder2_8 P2+ Node_Lladder_2_8 8.69104967031313790926
Rladder2_8 Node_Lladder_2_8 Node_Lladder_2_6 4.84126459776134865365
Rdc2 P2+ Node_R_Lmag_2 {Rdc_2_Value}
Lmag_2 P2- Node_R_Lmag_2 {NumberTurns_2**2*Permeance}
K Lmag_1 Lmag_2 {CouplingCoefficient_12_Value}
Lladder3_0 P3+ Node_Lladder_3_0 0.97122812370706945728
Rladder3_0 Node_Lladder_3_0 Node_R_Lmag_3 -2.28918907872464494346
Lladder3_2 P3+ Node_Lladder_3_2 1.85137467345817796627
Rladder3_2 Node_Lladder_3_2 Node_Lladder_3_0 -3.47356077970027499191
Lladder3_4 P3+ Node_Lladder_3_4 1.91471592787993394325
Rladder3_4 Node_Lladder_3_4 Node_Lladder_3_2 -1.43386461402979747959
Lladder3_6 P3+ Node_Lladder_3_6 5.29692655057462946644
Rladder3_6 Node_Lladder_3_6 Node_Lladder_3_4 2.34627642393589308512
Lladder3_8 P3+ Node_Lladder_3_8 8.69104819886462642842
Rladder3_8 Node_Lladder_3_8 Node_Lladder_3_6 4.84126750951934425871
Rdc3 P3+ Node_R_Lmag_3 {Rdc_3_Value}
Lmag_3 P3- Node_R_Lmag_3 {NumberTurns_3**2*Permeance}
K2 Lmag_1 Lmag_3 {CouplingCoefficient_13_Value}
.param MagnetizingInductance_Value=0.005382
.param Permeance=MagnetizingInductance_Value/NumberTurns_1**2
.param Rdc_1_Value=0.029266
.param NumberTurns_1=34
.param Rdc_2_Value=0.000327
.param NumberTurns_2=3
.param Llk_2_Value=0.000007
.param CouplingCoefficient_12_Value=0.999368
.param Rdc_3_Value=0.000390
.param NumberTurns_3=3
.param Llk_3_Value=0.000000
.param CouplingCoefficient_13_Value=1.000000
.ends My_custom_magnetic

View File

@ -0,0 +1,26 @@
Version 4
SymbolType BLOCK
TEXT -64 -64 Left 0 My_custom_magnetic
TEXT -64 64 Left 0 Made with OpenMagnetics
RECTANGLE Normal -72 -72 72 72
SYMATTR Prefix X
SYMATTR Value My_custom_magnetic
SYMATTR ModelFile My_custom_magnetic.cir
PIN -72 -16 LEFT 8
PINATTR PinName P1+
PINATTR SpiceOrder 1
PIN -72 16 LEFT 8
PINATTR PinName P1-
PINATTR SpiceOrder 2
PIN 72 -48 RIGHT 8
PINATTR PinName P2+
PINATTR SpiceOrder 3
PIN 72 -16 RIGHT 8
PINATTR PinName P2-
PINATTR SpiceOrder 4
PIN 72 16 RIGHT 8
PINATTR PinName P3+
PINATTR SpiceOrder 5
PIN 72 48 RIGHT 8
PINATTR PinName P3-
PINATTR SpiceOrder 6

View File

@ -0,0 +1,55 @@
* Magnetic model made with OpenMagnetics
* My_custom_magnetic
.subckt My_custom_magnetic P1+ P1- P2+ P2- P3+ P3-
Lladder1_0 P1+ Node_Lladder_1_0 0.00000030421479804392
Rladder1_0 Node_Lladder_1_0 Node_R_Lmag_1 0.13419540110906566510
Lladder1_2 P1+ Node_Lladder_1_2 0.00079916596841206702
Rladder1_2 Node_Lladder_1_2 Node_Lladder_1_0 0.13462143163991721617
Lladder1_4 P1+ Node_Lladder_1_4 0.00101641542806106067
Rladder1_4 Node_Lladder_1_4 Node_Lladder_1_2 0.13471470966351842269
Lladder1_6 P1+ Node_Lladder_1_6 0.00103991519064223050
Rladder1_6 Node_Lladder_1_6 Node_Lladder_1_4 0.13470254028263245472
Lladder1_8 P1+ Node_Lladder_1_8 0.00101434626391949949
Rladder1_8 Node_Lladder_1_8 Node_Lladder_1_6 0.13467810527014462130
Rdc1 P1+ Node_R_Lmag_1 {Rdc_1_Value}
Lmag_1 P1- Node_R_Lmag_1 {NumberTurns_1**2*Permeance}
Lladder2_0 P2+ Node_Lladder_2_0 0.97120103816532932228
Rladder2_0 Node_Lladder_2_0 Node_R_Lmag_2 -2.28908468474037718465
Lladder2_2 P2+ Node_Lladder_2_2 1.85134650449073490108
Rladder2_2 Node_Lladder_2_2 Node_Lladder_2_0 -3.47353537220388908224
Lladder2_4 P2+ Node_Lladder_2_4 1.91458663291217057179
Rladder2_4 Node_Lladder_2_4 Node_Lladder_2_2 -1.43390446656140468917
Lladder2_6 P2+ Node_Lladder_2_6 5.29679493855992156170
Rladder2_6 Node_Lladder_2_6 Node_Lladder_2_4 2.34629103552580886571
Lladder2_8 P2+ Node_Lladder_2_8 8.69100044090401802066
Rladder2_8 Node_Lladder_2_8 Node_Lladder_2_6 4.84136201502596108526
Rdc2 P2+ Node_R_Lmag_2 {Rdc_2_Value}
Lmag_2 P2- Node_R_Lmag_2 {NumberTurns_2**2*Permeance}
K Lmag_1 Lmag_2 {CouplingCoefficient_12_Value}
Lladder3_0 P3+ Node_Lladder_3_0 0.97123001148963794549
Rladder3_0 Node_Lladder_3_0 Node_R_Lmag_3 -2.28919635467207527313
Lladder3_2 P3+ Node_Lladder_3_2 1.85137663675921615436
Rladder3_2 Node_Lladder_3_2 Node_Lladder_3_0 -3.47356255053403906174
Lladder3_4 P3+ Node_Lladder_3_4 1.91472493933481402451
Rladder3_4 Node_Lladder_3_4 Node_Lladder_3_2 -1.43386183641505660091
Lladder3_6 P3+ Node_Lladder_3_6 5.29693572351747388183
Rladder3_6 Node_Lladder_3_6 Node_Lladder_3_4 2.34627540554273572582
Lladder3_8 P3+ Node_Lladder_3_8 8.69105152744398168352
Rladder3_8 Node_Lladder_3_8 Node_Lladder_3_6 4.84126092279998587742
Rdc3 P3+ Node_R_Lmag_3 {Rdc_3_Value}
Lmag_3 P3- Node_R_Lmag_3 {NumberTurns_3**2*Permeance}
K Lmag_1 Lmag_3 {CouplingCoefficient_13_Value}
.param MagnetizingInductance_Value=0.007944
.param Permeance=MagnetizingInductance_Value/NumberTurns_1**2
.param Rdc_1_Value=0.034010
.param NumberTurns_1=38
.param Rdc_2_Value=0.000651
.param NumberTurns_2=3
.param Llk_2_Value=0.000019
.param CouplingCoefficient_12_Value=0.998823.param Rdc_3_Value=0.000707
.param NumberTurns_3=3
.param Llk_3_Value=0.314961
.param CouplingCoefficient_13_Value=-nan
.ends My_custom_magnetic

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 532 KiB

View File

@ -0,0 +1,26 @@
Version 4
SymbolType BLOCK
TEXT -64 -64 Left 0 My_custom_magnetic
TEXT -64 64 Left 0 Made with OpenMagnetics
RECTANGLE Normal -72 -72 72 72
SYMATTR Prefix X
SYMATTR Value My_custom_magnetic
SYMATTR ModelFile My_custom_magnetic.cir
PIN -72 -16 LEFT 8
PINATTR PinName P1+
PINATTR SpiceOrder 1
PIN -72 16 LEFT 8
PINATTR PinName P1-
PINATTR SpiceOrder 2
PIN 72 -48 RIGHT 8
PINATTR PinName P2+
PINATTR SpiceOrder 3
PIN 72 -16 RIGHT 8
PINATTR PinName P2-
PINATTR SpiceOrder 4
PIN 72 16 RIGHT 8
PINATTR PinName P3+
PINATTR SpiceOrder 5
PIN 72 48 RIGHT 8
PINATTR PinName P3-
PINATTR SpiceOrder 6

View File

@ -0,0 +1,55 @@
* Magnetic model made with OpenMagnetics
* My_custom_magnetic
.subckt My_custom_magnetic P1+ P1- P2+ P2- P3+ P3-
Lladder1_0 P1+ Node_Lladder_1_0 0.00000059114069486398
Rladder1_0 Node_Lladder_1_0 Node_R_Lmag_1 4.66707896456149029518
Lladder1_2 P1+ Node_Lladder_1_2 1.32519224173765315378
Rladder1_2 Node_Lladder_1_2 Node_Lladder_1_0 4.71078615745042128538
Lladder1_4 P1+ Node_Lladder_1_4 1.25692319041441580296
Rladder1_4 Node_Lladder_1_4 Node_Lladder_1_2 4.58666519054944465950
Lladder1_6 P1+ Node_Lladder_1_6 0.74095390834172325523
Rladder1_6 Node_Lladder_1_6 Node_Lladder_1_4 4.45315927559595525764
Lladder1_8 P1+ Node_Lladder_1_8 0.00000000205455546206
Rladder1_8 Node_Lladder_1_8 Node_Lladder_1_6 0.03324894304252915683
Rdc1 P1+ Node_R_Lmag_1 {Rdc_1_Value}
Lmag_1 P1- Node_R_Lmag_1 {NumberTurns_1**2*Permeance}
Lladder2_0 P2+ Node_Lladder_2_0 0.97121844603239715354
Rladder2_0 Node_Lladder_2_0 Node_R_Lmag_2 -2.28915177870691799455
Lladder2_2 P2+ Node_Lladder_2_2 1.85136460867378715989
Rladder2_2 Node_Lladder_2_2 Node_Lladder_2_0 -3.47355170159003812103
Lladder2_4 P2+ Node_Lladder_2_4 1.91466973071238300008
Rladder2_4 Node_Lladder_2_4 Node_Lladder_2_2 -1.43387885333313214176
Lladder2_6 P2+ Node_Lladder_2_6 5.29687952552585272770
Rladder2_6 Node_Lladder_2_6 Node_Lladder_2_4 2.34628164465407973438
Lladder2_8 P2+ Node_Lladder_2_8 8.69103113491807377500
Rladder2_8 Node_Lladder_2_8 Node_Lladder_2_6 4.84130127638176688265
Rdc2 P2+ Node_R_Lmag_2 {Rdc_2_Value}
Lmag_2 P2- Node_R_Lmag_2 {NumberTurns_2**2*Permeance}
K Lmag_1 Lmag_2 {CouplingCoefficient_12_Value}
Lladder3_0 P3+ Node_Lladder_3_0 0.97123242766796202829
Rladder3_0 Node_Lladder_3_0 Node_R_Lmag_3 -2.28920566718598195166
Lladder3_2 P3+ Node_Lladder_3_2 1.85137914958015414868
Rladder3_2 Node_Lladder_3_2 Node_Lladder_3_0 -3.47356481701222108427
Lladder3_4 P3+ Node_Lladder_3_4 1.91473647315094552823
Rladder3_4 Node_Lladder_3_4 Node_Lladder_3_2 -1.43385828135297010988
Lladder3_6 P3+ Node_Lladder_3_6 5.29694746402894978132
Rladder3_6 Node_Lladder_3_6 Node_Lladder_3_4 2.34627410210733700069
Lladder3_8 P3+ Node_Lladder_3_8 8.69105578771541154026
Rladder3_8 Node_Lladder_3_8 Node_Lladder_3_6 4.84125249238391663908
Rdc3 P3+ Node_R_Lmag_3 {Rdc_3_Value}
Lmag_3 P3- Node_R_Lmag_3 {NumberTurns_3**2*Permeance}
K Lmag_1 Lmag_3 {CouplingCoefficient_13_Value}
.param MagnetizingInductance_Value=0.009361
.param Permeance=MagnetizingInductance_Value/NumberTurns_1**2
.param Rdc_1_Value=0.035749
.param NumberTurns_1=38
.param Rdc_2_Value=0.000649
.param NumberTurns_2=3
.param Llk_2_Value=0.000009
.param CouplingCoefficient_12_Value=0.999507.param Rdc_3_Value=0.000706
.param NumberTurns_3=3
.param Llk_3_Value=180.000026
.param CouplingCoefficient_13_Value=-nan
.ends My_custom_magnetic

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 560 KiB

View File

@ -0,0 +1,42 @@
Version 4
SHEET 1 880 680
WIRE 592 64 256 64
WIRE 216 80 208 80
WIRE 256 80 256 64
WIRE 256 80 216 80
WIRE 16 96 -80 96
WIRE 16 112 16 96
WIRE 72 112 16 112
WIRE 80 112 72 112
WIRE 216 112 208 112
WIRE 384 112 216 112
WIRE 72 144 16 144
WIRE 80 144 72 144
WIRE 216 144 208 144
WIRE 352 144 216 144
WIRE 384 144 384 112
WIRE 592 144 384 144
WIRE 216 176 208 176
WIRE 272 176 216 176
WIRE -80 208 -80 176
WIRE 16 208 16 144
WIRE 16 208 -80 208
WIRE -80 224 -80 208
WIRE 272 224 272 176
WIRE 352 224 272 224
FLAG -80 224 0
SYMBOL voltage -80 80 R0
WINDOW 3 -253 -34 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value PULSE(-300 300 0 5n 5n 5u 10u)
SYMBOL My_custom_magnetic 144 128 R0
SYMATTR InstName U1
SYMBOL res 576 48 R0
SYMATTR InstName R1
SYMATTR Value 100
SYMBOL res 336 128 R0
SYMATTR InstName R2
SYMATTR Value 100
TEXT -328 264 Left 2 !.tran 1m

View File

@ -0,0 +1,14 @@
LTspice 24.0.12 for Windows
Circuit: * C:\Users\Vincents Laptop\Documents\TU Berlin\Fasttube\Electronics\DCDC\Konzept\PSFB\Trafo\Open Magnetics\Sim_Trafo.asc
Start Time: Sat May 10 23:40:16 2025
solver = Normal
Maximum thread count: 16
tnom = 27
temp = 27
method = modified trap
WARNING: Node N003 is floating.
WARNING: Node N005 is floating.
Direct Newton iteration for .op point succeeded.
Total elapsed time: 0.349 seconds.

Binary file not shown.

Binary file not shown.