Increased freq span upto 54 MHz

And improved resolution to 50kHz jumps.
pull/2/head
miguel 2021-09-02 10:49:54 +10:00
rodzic fcaff0b7a5
commit 47854f9d2b
4 zmienionych plików z 10 dodań i 11 usunięć

Wyświetl plik

@ -32,7 +32,7 @@
</div>
<div class="sliders">
<label for="frequency_slider">f:</label>
<input type="range" id="frequency_slider" min="1.0" max="30.0" value="7.0" step="0.1">
<input type="range" id="frequency_slider" min="1.0" max="54.0" value="7.0" step="0.05">
</div>
</div>
<div id="notes" class="notes">
@ -63,8 +63,7 @@
<li>L : Inductance is calculated using Nagaoka's equation incorporating his coefficient.</li>
<li>C : Capacitance is calculated using Knight's 2016 paper on self-resonance and self-capacitance of solenoid coils.</li>
<li>Rdc : DC resistance is calculated using conductor length divided by the conductor cross-sectional area, assuming a copper conductor.</li>
<li>SRF : Self-resonant frequency (MHz) for the unloaded coil. Currently using a lumped reactances model. (Looking into modifying the model to
use the conductor length and velocity factor as described by Knight (2016).</li>
<li>SRF : Self-resonant frequency (MHz) for the unloaded coil. </li>
<li>X&#8343; : Inductive reactance at the given frequency. (&#937;)</li>
<li>|Z| : Impedance at the given frequency. (&#937;)</li>
<li>&#948; : Skin depth due to skin effect (&#956;m)</li>
@ -509,7 +508,7 @@
fctx.font = "12px arial";
fctx.textAlign = "right";
var freq = 1e-6 * inductor.frequency_hz;
fctx.fillText("f = " + freq.toFixed(1) + " MHz", win_width-18, 18);
fctx.fillText("f = " + freq.toFixed(2) + " MHz", win_width-18, 18);
fctx.fillText("X\u2097 = " + inductor.Xl.toFixed(1) + " \u03A9", win_width-18, 32);
fctx.fillText("|Z| = " + inductor.Z.r.toFixed(1) + " \u03A9", win_width-18, 46);
fctx.fillText("\u03B4 = " + (inductor.skin_depth * 1e6).toFixed(1) + " \u03BCm", win_width-18, 60);

Wyświetl plik

@ -32,7 +32,7 @@
</div>
<div class="sliders">
<label for="frequency_slider">f:</label>
<input type="range" id="frequency_slider" min="1.0" max="30.0" value="7.0" step="0.1">
<input type="range" id="frequency_slider" min="1.0" max="54.0" value="7.0" step="0.05">
</div>
</div>
<div id="notes" class="notes">
@ -437,7 +437,7 @@
fctx.font = "12px arial";
fctx.textAlign = "right";
var freq = 1e-6 * inductor.frequency_hz;
fctx.fillText("f = " + freq.toFixed(1) + " MHz", win_width-18, 18);
fctx.fillText("f = " + freq.toFixed(2) + " MHz", win_width-18, 18);
fctx.fillText("X\u2097 = " + inductor.Xl.toFixed(1) + " \u03A9", win_width-18, 32);
fctx.fillText("|Z| = " + inductor.Z.r.toFixed(1) + " \u03A9", win_width-18, 46);
fctx.fillText("\u03B4 = " + (inductor.skin_depth * 1e6).toFixed(1) + " \u03BCm", win_width-18, 60);

Wyświetl plik

@ -32,7 +32,7 @@
</div>
<div class="sliders">
<label for="frequency_slider">f:</label>
<input type="range" id="frequency_slider" min="1.0" max="30.0" value="7.0" step="0.1">
<input type="range" id="frequency_slider" min="1.0" max="54.0" value="7.0" step="0.05">
</div>
</div>
<div id="notes" class="notes">
@ -307,7 +307,7 @@
fctx.stroke();
var coax = "";
switch(1.0*conductor_diameter_slider.value) {
switch(1.0 * conductor_diameter_slider.value) {
case 2.00 :
coax = "RG316";
break;
@ -412,7 +412,7 @@
fctx.font = "12px arial";
fctx.textAlign = "right";
var freq = 1e-6 * inductor.frequency_hz;
fctx.fillText("f = " + freq.toFixed(1) + " MHz", win_width-18, 18);
fctx.fillText("f = " + freq.toFixed(2) + " MHz", win_width-18, 18);
fctx.fillText("X\u2097 = " + inductor.Xl.toFixed(1) + " \u03A9", win_width-18, 32);
fctx.fillText("|Z| = " + inductor.Z.r.toFixed(1) + " \u03A9", win_width-18, 46);
fctx.fillText("\u03B4 = " + (inductor.skin_depth * 1e6).toFixed(1) + " \u03BCm", win_width-18, 60);

Wyświetl plik

@ -32,7 +32,7 @@
</div>
<div class="sliders">
<label for="frequency_slider">f:</label>
<input type="range" id="frequency_slider" min="1.0" max="30.0" value="7.0" step="0.1">
<input type="range" id="frequency_slider" min="1.0" max="54.0" value="7.0" step="0.05">
</div>
</div>
<div id="notes" class="notes">
@ -447,7 +447,7 @@
fctx.font = "12px arial";
fctx.textAlign = "right";
var freq = 1e-6 * inductor.frequency_hz;
fctx.fillText("f = " + freq.toFixed(1) + " MHz", win_width-18, 18);
fctx.fillText("f = " + freq.toFixed(2) + " MHz", win_width-18, 18);
fctx.fillText("X\u2097 = " + inductor.Xl.toFixed(1) + " \u03A9", win_width-18, 32);
fctx.fillText("|Z| = " + inductor.Z.r.toFixed(1) + " \u03A9", win_width-18, 46);
fctx.fillText("\u03B4 = " + (inductor.skin_depth * 1e6).toFixed(1) + " \u03BCm", win_width-18, 60);