From fbf402da2e9c9d1fa83bebf60f0cc55ff8843820 Mon Sep 17 00:00:00 2001 From: miguel Date: Thu, 19 Nov 2020 19:57:03 +1100 Subject: [PATCH] Adding notes at the bottom. --- magloop.css | 18 ++++++++++++++++-- magloop.html | 42 +++++++++++++++++++++++++++++++++++------- 2 files changed, 51 insertions(+), 9 deletions(-) diff --git a/magloop.css b/magloop.css index 8387e46..4027965 100644 --- a/magloop.css +++ b/magloop.css @@ -86,7 +86,7 @@ section div.antennaSide-container { section.gridLayoutClass { display: grid; grid-template-columns: repeat(2, 1fr); - grid-template-rows: repeat(3, 1fr) 150px 120px; + grid-template-rows: repeat(3, 1fr) 150px 120px 300px; justify-items: stretch; } @@ -118,13 +118,20 @@ section div.antennaSide-container { grid-row-start: 5; grid-row-end: 6; } + + section div.notes { + grid-column-start: 1; + grid-column-end: 3; + grid-row-start: 6; + grid-row-end: 7; + } } @media (orientation: landscape) { section.gridLayoutClass { display: grid; grid-template-columns: repeat(4, 1fr); - grid-template-rows: repeat(2, 1fr) 150px; + grid-template-rows: repeat(2, 1fr) 150px 300px; justify-items: stretch; } @@ -156,6 +163,13 @@ section div.antennaSide-container { grid-row-start: 3; grid-row-end: 4; } + + section div.notes { + grid-column-start: 1; + grid-column-end: 5; + grid-row-start: 4; + grid-row-end: 5; + } } /* @media print (orientation: landscape) { diff --git a/magloop.html b/magloop.html index 2e9bdf9..d838aaa 100644 --- a/magloop.html +++ b/magloop.html @@ -16,19 +16,19 @@
- - + +
- - + +
- +
@@ -44,6 +44,34 @@
+
+ Notes:
+ The Magloop Antenna Calculator was developed to predict the characteritics of a small-loop (aka "magloop") + antenna, given physical dimensions entered via slider widgets. There are many magloop calculators available + online. Some require installing a program on your computer, which is OS dependent. Some others are browser-based, + but require parameters to be input using a keyboard. I wanted to create a tool that took advantage of the + touch-screens and high-speed of modern mobile phones, to allow users to get realtime feedback of the predicted + behaviour of a magloop antenna. This would help a radio amateur to decide on the characteristics for the build.
+ Inputs via the slider widgets: +
    +
  • ⌀a : Conductor diameter in millimeters (mm). Estimated equivalent AWG wire size is also displayed where appropriate.
  • +
  • ⌀b : Loop diameter in meters (m).
  • +
  • N : Number of turns or loops.
  • +
  • c/a : 'c' is the inter-winding spacing, and 'a' is the conductor diameter, so 'c/a' is the spacing ratio. (Must be >= 1.1) + A low-value will increase the resistance due to the proximity effect.
  • +
  • Tx : The transmit power. This affects the predicted voltage across the capacitor.
  • +
+ Calculated parameters: +
    +
  • L : Inductance is calculated using Nagaoka's equation. Value in microhenries.
  • +
  • C : Capacitance for multi-turn loops, which is calculated using Knight's 2016 paper on self-resonance and self-capacitance of solenoid coils.
  • +
  • c : Distance between windings, measured from the conductor centers (mm).
  • +
  • Tuning Cap (pF): The capacitance required to bring the loop into resonance at the given frequency. Value in picofarads.
  • +
  • Vcap (kV): The predicted voltage across the capacitance given the desired transmit power.
  • +
  • BW (kHz): The predicted 3dB bandwidth of the magloop antenna. This is calculated from the predicted Q and the center frequency.
  • +
  • Efficiency (%): Calculated from the radiation resistance divided by the sum of radiation resistance and the loss resistance.
  • +
+
@@ -478,7 +506,7 @@ fctx.font = "12px arial"; fctx.textAlign = "center"; const dia = 1.0 * loop_diameter_slider.value; - fctx.fillText("\u2300a = " + dia.toPrecision(3).toString() + "m", loopx, loopy - 6); + fctx.fillText("\u2300b = " + dia.toPrecision(3).toString() + "m", loopx, loopy - 6); // Draw conductor diameter arrow: fctx.beginPath(); @@ -515,7 +543,7 @@ p1y = loopy + 0.4 * (loop_radius - cond_radius) - 5; //fctx.textAlign = "right"; const cond_dia = 1.0 * conductor_diameter_slider.value; - fctx.fillText("\u2300b = " + cond_dia.toPrecision(3).toString() + "mm", loopx, p1y+2); + fctx.fillText("\u2300a = " + cond_dia.toPrecision(3).toString() + "mm", loopx, p1y+2); } const aside_canvas = document.getElementById("antennaSide2D");