Following is the tutorial of a DIY magnetic loop antenna for the amateur radio band featuring a remote tuning system implemented on Arduino with a RC servo.
The magnetic loop has a very small form factor and enables decent short wave communication from within buildings and confined spaces where there is no possibility to install any of the larger antenna types that usually would require erecting a tower over the roof or spanning tens of meters of wires across the backyard.
The following figure shows the diagram of a magnetic loop antenna (source: www.i1wqrlinkradio.com/antype/ch9/chiave151.htm).
A magnetic loop is essentially a small loop antenna whose circumference is less than 1/10 of the wavelength. The magnetic loop couples to the to the magnetic field of the radio wave in the region near the antenna, in contrast to a monopole or a dipole which couple to the electric field of the wave. When receiving, the oscillating magnetic field of the incoming radio wave induces a current in the loop by Faraday’s law of induction.
The magnetic loop consists of a conductive loop that is separated at one end by a capacitor, thus forming an LC circuit that has to resonate at the operating frequency of the antenna. A smaller loop is positioned towards the opposite end of the capacitor within the area of the main larger loop. This smaller loop is connected to the transceiver via an impedance-matched feed line. Both small and large loops are magnetically coupled and form a transformer. During transmission, the smaller loop would induce a high-frequency AC current into the larger loop that in turn would radiate the RF signal. During reception, the RF signal is picked-up by the larger loop and current is induced into the smaller loop which is fed into the receiver.
The diameter ratio between the both loops determines the impedance of the antenna which must match with the impedance of the feed line and the output impedance of the transceiver. Further, the LC circuit must be resonating at the transceiver’s operating frequency. In order to achieve this, a variable capacitor is used as part of the LC circuit. Failing to have an impedance-matched and resonant circuit would result in the transmitted signal being reflected back into the transceiver’s power amplifier stage, causing possible damage and what is referred-to as a high standing wave ratio (SWR).
When transmitting with 100 Watts of power, the current within the large loop would amount to several Amperes, while the voltage across the capacitor would be in the order of Kilovolts. This high voltage requires quite a large air capacitor with an adequate separation between its plates. Consequently, this magnetic loop has been built around an old heavy duty Soviet-made variable capacitor originating form some vintage radio equipment.
Since the antenna is typically located several meters away from the radio operator, there must be a way to remotely tune the variable capacitor. This has been achieved by attaching a standard RC grade servo to the capacitor’s shaft and remotely controlling it via a control unit implemented around an Arduino Pro Mini. As one might guess, a significant part of the overall effort went into implementing the remote control system which must comply with the following major requirements:
- It must be precise enough to tune the antenna as close to the operating frequency as possible in order to achieve a reasonably low SWR.
- It must be immune to the very high radio frequency (RF) interference present in the vicinity of a transmitting antenna.
The following sections describe the design of the magnetic loop antenna in more detail.
Following are the main specifications of the magnetic loop antenna:
- Operating bands: 60 m, 40 m, 30 m, 20 m, 17 m, 15 m
- Maximum Tx power: 100 W
- System weight: 5 Kg
- Main loop: 3,94 m circumference, made of Ecoflex 15 cable (15 mm diameter coaxial cable)
- Coupling loop: 10 mm² solid copper wire with adjustable diameter in two different versions:
- For outdoor use: 20 cm – 30 cm diameter
- For indoor use: 40 cm – 50 cm diameter
- Tuning capacitor: Soviet-made dual air capacitor with 2x 14 pF .. 450 pF connected in series
- Tuning motor: “MG946R” digital RC servo with metal gears
- Control unit: Arduino Pro Mini, 4 AA batteries, with 3 push buttons and a fine-tuning potentiometer
- Mast: 2 cm PVC pipes, metal tripod
The following pictures show the antenna in both assembled and disassembled states.
As shown in the above picture, the main loop formed out of the Ecoflex coaxial cable is secured to the top of the PVC pipe using a T-joint. The coaxial cable is connected to both sides of the capacitor box which is located at the bottom of the mast. The inverted-V shaped nylon rope supports the main loop and ensures that its shape resembles a circle.
The coupling loop is secured using Velcro strips at the top of the main loop. The centre wire of the feed line coaxial cable is connected to the coupling loop using a crocodile connector, this enables accurate impedance matching by moving the feed line connection point along the perimeter of the coupling loop.
When operating the magnetic loop within a building, capacitive coupling to metal parts within the reinforced concrete walls, window frames and other objects significantly affect the tuning of the antenna. Whereas a much larger coupling loop is required for indoor operation. Consequently, two coupling loops with different diameters were constructed for indoor and outdoor use.
In order to avoid any loss of efficiency, as few metal parts as possible have been used in constructing the antenna mast, thus the choice of using PVC tubes instead of a full-height retractable metal tripod. A short metal tripod is used to support the PVC mast from below (less than ideal, however no practical alternative was found).
The variable capacitor is remotely controlled through a control unit that is placed besides the transceiver. The control unit is connected with the capacitor using a 10 meter shielded Ethernet cable.
The variable air capacitor and the RC servo are installed within an IP67 rated water-proof enclosure with the dimensions 180 x 110 x 70mm. The following pictures show the details of the capacitor box.
The main loop is connected to the capacitor box using Type-N connectors. These connectors have been chosen because of their water-proof nature. The centre pin has been connected to the body of the connector in order to ensure that both inner conductor and shield of the main loop coax cable are connected. In order to minimise resistive losses, each side of the capacitor is connected to the corresponding N-connectors using two solid copper wires.
The capacitor consists of two 14 pF .. 450 pF variable capacitors connected in series through the common rotor shaft. Each of the two capacitor’s stators is connected to one end of the main loop. Due to the rotors being connected togethr through their common shaft, there is no need to use any lossy wiper contact to connect the main loop to the capacitor’s rotor.
In order to protect it from RF interference, the RC servo has been completely wrapped in adhesive copper foil and its signal wire has been replaced with a coaxial audio cable. A common-mode choke around the signal wire prevents the RF interference from entering the servo. The servo has been mounted on a bracket made out of a piece of circuit board and some angled brackets that came along with the capacitor. The connection between the servo and capacitor shafts has been accomplished using the mounting hardware that came along with both devices.
A heavy-duty RJ45 connector has been mounted towards the bottom of the enclosure, it is soldered to a small stripboard PCB that holds a large electrolytic capacitor and the pin header for connecting the servo cable.
The capacitor box is firmly secured to the antenna mast using 20 mm plastic pipe brackets.
The following pictures show the details of the control unit. It has been built around an off-the-shelf enclosure of type “RND 455-00119” having the dimensions of 130 x 76 x 30 mm. It has a relatively small form factor and nicely fits on top of a Yaesu FT-891 transceiver. The front panel holds a power button (from left), a status LED, increase/decrease buttons and a fine-tuning potentiometer. The back panel holds a heavy-duty RJ45 connector and a 12 V DC power jack for charging the battery pack located inside.
Battery power was chosen because the system consumes very little power and can run for weeks on a single battery charge. The increased weight due to the batteries gives the device more stability and prevents it from sliding around when pressing the buttons. Further, removing the need for a power cable simplifies the setup and avoids a potential source of interference.
In order to mitigate malfunctions due to RF interference, the whole inside of the enclosure has been covered in adhesive copper foil that is connected to the power supply ground.
In order to protect the internals from damage due to electrostatic discharge (ESD), the metal bodies of the push-buttons and potentiometers have been connected to the power supply ground ground. This ensures that an ESD spark would first hit the metal bodies of the control elements, which are the shortest path towards ground.
The internal components have been mounted on a stripboard PCB whose top and bottom layouts are shown in the above pictures. One can see the battery pack along with the Arduino Pro Mini board, power jack and other components. A recession has been carved into the PCB in order to accommodate for the bulky RJ45 connector.
A common-mode choke along the wires coming from the RJ45 connector prevents any RF interference from entering the circuit.
The following picture shows the schematic of the magnetic loop antenna tuner system.
Besides the Arduino board U1, the schematic contains the the blocks listed down below.
Battery charger (D1, R1 to R3, BT1 to BT4): this is a simple circuit for charging the battery pack consisting of 4 NiMH cells. The diode D1 is needed for inverse polarity protection. Resistors R1 to R3 are current-limiting resistors, 1/4 Watt resistors have been used, thus we need three of them in parallel in order to dissipate the resulting thermal energy.
Soft power switch (S1, Q1, Q2, D4, D5, R4, R5): a soft power switch has been implemented in order to enable the auto power-off feature. When S1 is depressed, the gate pin of the field-effect transistor (FET) Q1 is pulled to ground via D4. Q1 becomes conducive and connects the V_BATT terminal to the +5V rail which powers-up the Arduino board. Once booted, the Arduino senses the signal from the power switch on digital input pin 10 (connected via D5). If S1 has been pressed long enough, the Arduino would power-up the NPN transistor Q2 via the digital output pin 7, which in turn will keep the gate of Q1 constantly connected to ground. Q1 will stay conductive even after S1 gets released, as long as the digital output pin 7 is set to high. The Arduino can power down the system anytime by setting digital output pin 7 to low, thus switching off Q2 and Q1. In theory the Arduino could directly drive the gate of the FET Q1 without using Q2 as a buffer; however this would result in approximately 500 µA of idle current constantly flowing through R4 into pin 7 while the system is turned off.
Note: the IRF5305 MOSFET Q1 is over-dimensioned for its task. A logic level p-channel MOSFET such as the IRLML2244 would be a better choice as it has a smaller form factor, a lower gate threshold voltage and a lower corresponding drain-to-source on-resistance .
Human interface (S1 to S3, VR1 and D6): the human interface consists of three push-buttons (S1, S2, S3) a potentiometer (VR1) and a status LED (D6). When pressed, the push-buttons would connect the respective Arduino digital input pins (10, 11, 12) to ground. When the push-buttons are released, the digital pins are connected to +5V via internal pull-up resistors inside of the Arduino’s ATmega microcontroller. Digital output pin 13 drives the LED D6 via the R6 current-limiting resistor. The fine-tuning potentiometer VR1 has its wiper connected to Arduino’s analog pin A0. In order to minimize noise sensitivity, the end terminals of the potentiometer need to be connected as close as possible to the VCC and GND power inputs of the Arduino.
Servo signal transmission line (C1, L1, L2, J2, J3, D2, D3): the signal to RC servo which is located within the capacitor box the antenna side is transmitted via an 10 meter shielded Ethernet cable. In order to reduce the line resistance, each of the positive, negative and signal lines use a pair of the Ethernet cable’s wires connected in parallel. The pulse-position modulation (PPM) signal for driving the servo is generated by Arduino’s digital output pin 9. The 1000 µF capacitor C1 is required for accommodating the current ripples produced by the Servo. The common-mode chokes L1 and L2 are required for suppressing the electromagnetic and RF interference produced by the transmitting antenna. The Schottky diodes D2 and D3 protect the Arduino’s input from accidental high voltage ingress due to electrostatic discharge.
Capacitors C2 and C3 smoothen any power supply voltage ripples caused by the servo and other sources of interference.
Below you can find GitHub download links for the Arduino firmware source code, User Manual, Eagle schematic and bill of material. All of the source code is distributed under the GNU General Public License v3.0 and is free.
Please note that the current implementation uses the watchdog timer functionality which requires the customized Arduino bootloader found under the link below. For more details, please follow the installation instructions found within the README file on GitHub.
Antenna Tuner Control Unit Firmware
Appendix: Mobile Radio Shack
The magnetic loop antenna that is described on this page is part of the mobile radio shack described below. This amateur radio shack belongs to the call sign DD2KH. More information about the callsign can be found on QRZ.com under the following link: www.qrz.com/db/DD2KH.
The amateur radio shack consist of:
- antenna: DIY magnetic loop
- transceiver: Yaesu FT-891
- battery: LiFePO4 12 Ah
- power supply: Alinco DM-430-E (30 A)
- Tx power: 100 W (SSB)
Following are some pictures of the radio shack.
15 thoughts on “Magnetic Loop Antenna”
Thank you for the great in depth description of how to build a mag small loop. This has helped me to actually start building a loop using two 1 metre coils of 15mmm copper tubing.
Thanks John, I’m also in the process of upgrading this mag loop antenna to 22mm copper tubing. Have not tested it yet, but will post some pictures once I do. My experience with the coax cable loop at 100W is the following on both 20m and 40m bands: I could do QSOs with mostly 57 or 59 reports (see log on QRZ.com). QSOs are usually quite short as they require some effort from the counterpart to hear. I tried to call CQ but nobody responds… Location was from within my apartment near a large window and lately on a hill located between two Bavarian lakes. The new loop shall have a 5m circumference of 22mm copper tube as opposed to previously 4m circumference with a 14mm coax shield. According to the AA5TB magnetic loop calculator spreadsheet (https://aa5tb.com/loop.html), the overall efficiency should increase from around 20% to 40% on 40m. Additionally, it has been reported that using coax cable as a radiator generally leads to poor performance (presumably due to the braided shield of the coax and other factors). Best regards and 73, Karim (DD2KH)
I would love to build this and get it up in my attic. Lots to learn and apply. You are amazing. Love it.
I am searching for an arduino sketch that will autotune a capacitor for a mag loop. Can anyone suggest where I might find one?
Hallo Karim. I want to build the antenna for indoor use. Can you specify the size of the coupling loop? Thanks,
Hi Henk, thanks for reaching out. I have updated the project description with the coupling loop diameters. Indoors, I use a coupling loop with an adjustable diameter between 40 cm and 50 cm. The exact diameter varies largely and depends on where you position the antenna inside the room. It’s worth to mention that I use the antenna inside a building made of steel reinforced concrete, so I assume there is significant capacitive coupling with the structure of the building. All in all, it was a trial and error exercise, so you might need a different size for your particular setup.
73, Karim DD2KH
Have you considered using the Arduino for an auto tune circuit for the project?
Thanks Gary, I surely thought about it, however never got the time to implement. One way to do it would be to maximise the radiate power by measuring it using a bit of wire inside the capacitor box. 73 Karim DD2KH
Hi what are the diameters of loops needed to cover 160m Top band to 6m
you may download the loop calculator spreadsheet “aa5tb_loop_v1.22a.xls” from http://www.aa5tb.com/loop.html .
Alternatively, you can use the loop calculator program “rjeloop1.exe” from http://zerobeat.net/G4FGQ/page3.html.
Alternatively you may download both from the following link: https://www.qsl.net/g1kea/pages/magloop.html
is the servo able to adjust the angle of the capacitor precise enough? I am asking because I have a loop controlled by simple motors and for satisfying tuning I am using a second small capacitor for finetuning as a work around (which I do not regard as optimal).
Best regards and 73 DH7DH Dieter from Germany
Hi Dieter, with the help of some tricky software workarounds, i have managed to control the cheap RC servo with an acceptable precision. The main challenge was overcoming the servo’s dead zone when switching the direction of rotation. In practice, it is usually required to turn the fine tuning knob 2-3 times back and forth one step at a time; however i mostly manage to achieve 0 SWR.
Best regards and 73 DD2KH from Munich.
I am very much interested building a Magnatic Loop Antenna for 40 meters. Have read your article , especially focussed about the controller , I am a dummy for Arduino and programming ! I could not see your sketch controlling the motor! Can you please send me a copy of the sketch you have used for the project please!
I am a Ham operator with the call , 4S7LF from Srilanka.
Kind Regards and My Best Of 73!
thank you very much for contacting me, i am happy that you are interested in my Magnetic Loop Antenna project. The Arduino sketch for the control unit is found in the downloads sections or under the following link: https://github.com/microfarad-de/antenna-tuner. You can download the latest release as a zip file from: https://github.com/microfarad-de/antenna-tuner/archive/1.0.2.zip. Download it, unzip it and rename the folder to “antenna-tuner” (remove the version number), as the Arduino IDE requires that the names of the .ino file and its enclosing folder always match. Please feel free to contact me if you have further questions.
73! Karim, DD2KH