Added Material 68

master
miguel 2023-09-24 15:36:07 +10:00
rodzic 269a1e8b76
commit 2410d78142
2 zmienionych plików z 65 dodań i 7 usunięć

BIN
.DS_Store vendored

Plik binarny nie jest wyświetlany.

Wyświetl plik

@ -7,7 +7,7 @@
<link rel="stylesheet" href="toroid.css">
</head>
<body>
<header>Miguel <a href="mailto:vk3cpu@gmail.com">VK3CPU</a> - RF Toroid Calculator v1.3<br></header>
<header>Miguel <a href="mailto:vk3cpu@gmail.com">VK3CPU</a> - RF Toroid Calculator v1.4<br></header>
<section class="gridLayoutClass">
<div id="chart-container" class="chart-container">
<canvas id="chartCanvas" class="chartCanvasClass">
@ -155,6 +155,8 @@
</ul>
<br>
<b><u>Change history:</u></b><br>
<b>[24-Sep-23] - v1.4</b> <br>
* Added Material 68 to ferrites" <br>
<b>[4-Sep-23] - v1.3</b> <br>
* Added 5943001601 which I have called the "FT122-43" <br>
<b>[2-May-23] - v1.2</b> <br>
@ -391,6 +393,31 @@
},
color : 'grey',
},
'68' : {
size : {
'FT240' : { PN:'5968003801', A:61.0, B:35.55, C:12.7, W:106.0, CC:9.20, le:14.5, Ae:1.58, Ve:22.8, Al:16.0 },
'FT140' : { PN:'5968002701', A:35.55, B:23.00, C:12.7, W:33.00, CC:11.20, le:8.90, Ae:0.79, Ve:7.00, Al:13.0 },
'FT118' : { PN:'5968021001', A:29.95, B:19.45, C:7.50, W:21.80, CC:19.39, le:7.52, Ae:0.388, Ve:2.917, Al:7.7 },
'FT87' : { PN:'5968001801', A:22.10, B:13.70, C:6.35, W:7.20, CC:20.70, le:5.41, Ae:0.262, Ve:1.42, Al:7.3 },
'FT50' : { PN:'5968001101', A:12.70, B:7.90, C:6.35, W:2.40, CC:20.80, le:3.12, Ae:0.15, Ve:0.47, Al:7.2 },
'FT50' : { PN:'5968000301', A:12.70, B:7.15, C:4.90, W:2.00, CC:22.90, le:2.95, Ae:0.129, Ve:0.38, Al:6.6 },
'FT37' : { PN:'5968000201', A:9.50, B:4.75, C:3.30, W:0.83, CC:28.60, le:2.07, Ae:0.073, Ve:0.15, Al:5.3 },
'FT24' : { PN:'5968020901', A:6.10, B:3.12, C:1.65, W:0.19, CC:63.68, le:1.33, Ae:0.021, Ve:0.027, Al:2.3 },
},
manufacturer : "Fair-Rite",
mat : "NiZn",
mu_i : 16,
B : 2700,
H : 40,
Br : 1000,
Hc : 7,
Tc : 500,
R : 1.0e7,
complex_mu : {
freq: [1000000.0, 1040000.0, 1080000.0, 1130000.0, 1170000.0, 1220000.0, 1270000.0, 1320000.0, 1380000.0, 1430000.0, 1490000.0, 1550000.0, 1620000.0, 1680000.0, 1750000.0, 1820000.0, 1900000.0, 1970000.0, 2060000.0, 2140000.0, 2230000.0, 2320000.0, 2410000.0, 2510000.0, 2610000.0, 2720000.0, 2830000.0, 2950000.0, 3070000.0, 3190000.0, 3320000.0, 3460000.0, 3600000.0, 3750000.0, 3900000.0, 4060000.0, 4230000.0, 4400000.0, 4580000.0, 4760000.0, 4960000.0, 5160000.0, 5370000.0, 5590000.0, 5820000.0, 6060000.0, 6310000.0, 6560000.0, 6830000.0, 7110000.0, 7400000.0, 7700000.0, 8020000.0, 8350000.0, 8690000.0, 9040000.0, 9410000.0, 9790000.0, 10200000.0, 10700000.0, 11100000.0, 11500000.0, 11900000.0, 12300000.0, 12800000.0, 13400000.0, 13900000.0, 14400000.0, 15000000.0, 15500000.0, 16000000.0, 16600000.0, 17300000.0, 18000000.0, 18700000.0, 19400000.0, 20100000.0, 20800000.0, 21600000.0, 22500000.0, 23400000.0, 24300000.0, 25200000.0, 26200000.0, 27100000.0, 28100000.0, 29300000.0, 30500000.0, 31700000.0, 32900000.0, 34100000.0, 35300000.0, 36500000.0, 37900000.0, 39500000.0, 41100000.0, 42700000.0, 44300000.0, 45900000.0, 47500000.0, 49300000.0, 51400000.0, 53500000.0, 55600000.0, 57700000.0, 59800000.0, 62000000.0, 64100000.0, 66500000.0, 69300000.0, 72100000.0, 74900000.0, 77700000.0, 80500000.0, 83300000.0, 86500000.0, 90100000.0, 93700000.0, 97400000.0, 101000000.0, 105000000.0, 108000000.0, 112000000.0, 117000000.0, 122000000.0, 127000000.0, 132000000.0, 137000000.0, 141000000.0, 146000000.0, 152000000.0, 158000000.0, 164000000.0, 171000000.0, 177000000.0, 184000000.0, 190000000.0, 197000000.0, 206000000.0, 214000000.0, 223000000.0, 231000000.0, 239000000.0, 248000000.0, 256000000.0, 266000000.0, 277000000.0, 289000000.0, 300000000.0, 311000000.0, 322000000.0, 333000000.0, 346000000.0, 361000000.0, 375000000.0, 390000000.0, 404000000.0, 419000000.0, 433000000.0, 450000000.0, 469000000.0, 488000000.0, 508000000.0, 527000000.0, 546000000.0, 565000000.0, 585000000.0, 607000000.0, 633000000.0, 658000000.0, 684000000.0, 709000000.0, 735000000.0, 760000000.0, 789000000.0, 823000000.0, 857000000.0, 891000000.0, 924000000.0, 958000000.0, 992000000.0, 1030000000.0, 1070000000.0, 1110000000.0, 1150000000.0, 1200000000.0, 1240000000.0, 1290000000.0, 1330000000.0, 1380000000.0, 1440000000.0, 1500000000.0, 1560000000.0, 1620000000.0, 1680000000.0, 1740000000.0, 1800000000.0, 1800000000.0] ,
mu_1: [14.92, 14.85, 14.89, 14.79, 14.94, 14.85, 14.99, 14.97, 14.96, 14.97, 14.98, 14.96, 14.96, 14.93, 14.93, 14.92, 14.96, 14.98, 14.98, 14.97, 14.99, 15.01, 14.99, 14.99, 14.98, 15.02, 15.03, 15.04, 15.04, 15.02, 15.04, 15.07, 15.09, 15.05, 15.05, 15.06, 15.08, 15.07, 15.07, 15.08, 15.09, 15.09, 15.1, 15.1, 15.09, 15.11, 15.11, 15.1, 15.12, 15.12, 15.13, 15.13, 15.15, 15.15, 15.15, 15.15, 15.16, 15.16, 15.16, 15.19, 15.19, 15.18, 15.19, 15.18, 15.19, 15.2, 15.21, 15.2, 15.2, 15.2, 15.2, 15.21, 15.22, 15.22, 15.23, 15.23, 15.23, 15.24, 15.24, 15.24, 15.25, 15.25, 15.25, 15.26, 15.27, 15.26, 15.26, 15.28, 15.28, 15.29, 15.3, 15.31, 15.3, 15.3, 15.31, 15.32, 15.33, 15.34, 15.35, 15.36, 15.37, 15.38, 15.39, 15.41, 15.42, 15.44, 15.46, 15.47, 15.49, 15.52, 15.54, 15.57, 15.59, 15.62, 15.65, 15.69, 15.73, 15.78, 15.81, 15.87, 15.93, 15.98, 16.04, 16.12, 16.2, 16.29, 16.39, 16.49, 16.58, 16.68, 16.86, 17.03, 17.21, 17.42, 17.65, 17.9, 18.18, 18.54, 19.03, 19.6, 20.28, 21.03, 21.72, 22.26, 22.55, 22.6, 22.27, 21.63, 20.88, 20.07, 19.31, 18.58, 17.83, 17.06, 16.38, 15.76, 15.19, 14.68, 14.19, 13.69, 13.11, 12.55, 12.08, 11.64, 11.17, 10.72, 10.32, 9.88, 9.35, 8.85, 8.36, 7.86, 7.4, 6.97, 6.49, 5.88, 5.32, 4.79, 4.25, 3.72, 3.19, 2.7, 2.13, 1.43, 0.79, 0.17, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] ,
mu_2: [0.18, 0.17, 0.17, 0.17, 0.17, 0.17, 0.16, 0.16, 0.15, 0.15, 0.16, 0.16, 0.17, 0.17, 0.16, 0.16, 0.16, 0.16, 0.16, 0.16, 0.16, 0.16, 0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.14, 0.14, 0.14, 0.14, 0.14, 0.14, 0.14, 0.14, 0.14, 0.13, 0.13, 0.13, 0.13, 0.13, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.11, 0.11, 0.11, 0.11, 0.12, 0.13, 0.13, 0.14, 0.15, 0.18, 0.19, 0.23, 0.26, 0.3, 0.37, 0.49, 0.65, 0.9, 1.33, 2.01, 2.89, 3.85, 5.03, 6.29, 7.35, 8.17, 8.8, 9.27, 9.61, 9.91, 10.18, 10.37, 10.56, 10.66, 10.79, 10.89, 10.99, 11.18, 11.21, 11.3, 11.39, 11.5, 11.57, 11.61, 11.69, 11.79, 11.87, 11.95, 12.01, 12.05, 12.11, 12.18, 12.18, 12.26, 12.27, 12.31, 12.32, 12.34, 12.31, 12.3, 12.25, 12.26, 12.17, 12.1, 11.96, 11.88, 11.79, 11.71, 11.67, 11.61, 11.57, 11.54, 11.49, 11.45, 8.88] ,
},
'67' : {
size : {
'FT240' : { PN:'5967003801', A:61.0, B:35.55, C:12.7, W:106.0, CC:9.20, le:14.5, Ae:1.58, Ve:22.8, Al:55.0 },
@ -694,6 +721,24 @@
const Rac = 1/(Math.PI * cu_sigma * k * (2*r - k));
return Rac;
};
// Calculate B due to primary:
var B = (this.Vrms * 1e8) / (4.44 * frequency * this.N * this.core['Ae']);
// Now calculate mismatch:
var Zp = Zl*(Np/Ns)**2;
var SWR = (Zp - Z0) / (Zp + Z0);
// Winding loss:
var Pw = 0;
// Core loss: (use V^2 / R)
var Pc = 0;
// Define 'k' as:
var k = Pw / Pc;
// Calculate efficiency:
}
this.recalculate = function (frequencies) {
// Input variables:
@ -2351,6 +2396,20 @@
function drawTransformer(fctx, originX, originY, outerRadius, innerRadius, wireRadius, turns) {
// Draw toroid former:
fctx.beginPath();
fctx.arc(originX, originY, outerRadius, 0.0, 2.0 * Math.PI, false);
fctx.stroke();
fctx.beginPath();
fctx.arc(originX, originY, innerRadius, 0.0, 2.0 * Math.PI, false);
fctx.stroke();
fctx.lineWidth = 1.0;
x1 = originX + (innerRadius - wireRadius) * Math.cos(((i+1.0)/(turns-1.5)) * (Math.PI - theta) + Math.PI);
y1 = originY + (innerRadius - wireRadius) * Math.sin(((i+1.0)/(turns-1.5)) * (Math.PI - theta) + Math.PI);
x2 = originX + (outerRadius + wireRadius) * Math.cos(((i+0.5)/(turns-1.5)) * (Math.PI - theta) + Math.PI);
y2 = originY + (outerRadius + wireRadius) * Math.sin(((i+0.5)/(turns-1.5)) * (Math.PI - theta) + Math.PI);
drawWire(fctx, x1, y1, x2, y2, wireRadius, "black");
}
}
fctx.arc(originX, originY, outerRadius, 0.0, 2.0 * Math.PI, false);
fctx.stroke();
fctx.beginPath();
@ -2423,10 +2482,6 @@
fctx.fill();
}
}
function drawBalun(fctx, originX, originY, outerRadius, innerRadius, wireRadius, turns) {
//
}
function drawDesign() {
const win_width = document.getElementById("inductor-container").clientWidth;
@ -2447,8 +2502,11 @@
let inner_radius = outer_radius * controller.toroid.core.B / controller.toroid.core.A;
let thickness = 2.0 * outer_radius * controller.toroid.core.C / controller.toroid.core.A;
drawInductor(fctx, loopx, loopy, outer_radius, inner_radius, cond_radius, controller.toroid.N, thickness, controller.toroid.mat.color);
//drawTransformer(fctx, loopx, loopy, outer_radius, inner_radius, cond_radius, toroid.N);
if(controller.t_mode == "Transformer") {
drawTransformer(fctx, loopx, loopy, outer_radius, inner_radius, cond_radius, controller.toroid.N);
} else {
drawInductor(fctx, loopx, loopy, outer_radius, inner_radius, cond_radius, controller.toroid.N, thickness, controller.toroid.mat.color);
}
const y_offset = loopy + outer_radius + 20;
var arrow_size = 10.0;