Monday, March 30, 2015

A couple of antenna analyzers (Fall 2014) Corrected Link

Because of a downed tree during a storm I had to put up new antennas.  I had limited space so waned to go to a multi-band antenna.  From previous attempts to adjust a multi-band with just a standard SWR meter, I knew that I needed something that can scan a large frequency range at one time.  I found several web sites with information on different types of antenna analyzers, but one by Beric Dunn (K6BEZ )looked like it would be the easiest to build. 
Corrected Link

He has versions for both PIC and Arduino based projects.   I had just finished a VFO  using a SI5351 and had working code to control it, I wanted to try using that instead of the AD9850 module he used.  I bread boarded the bridge circuit and connected the 5351 VFO after adding a simple LC low-pass filter.  Then modified the antenna analyzer code to incorporate the 5351 code I had written.  Using the PC based software from Beric, it looked like I was getting valid data when connected to different resistive loads. Connecting to a simple dipole antenna the results also looked like what I would expect.  I used this to help tune a G7FEK antenna I put up.

 Since The Nokia display and driver software I used was capable of doing  graphics,  I re-worked the code to display the sweep on the screen.  Later I decided to store the SWR values in an array, and wrote code to scroll through the completed sweep using the rotary encoder.  Also used the push-button on the encoder to enable band switching.

When everything looked like it was working, I designed and etched a small circuit board.  Because of the small size of the Adafrit SI5351 module I used, I was able to put everything in an Altoids tin.

I wondered if harmonics  from the square-wave output of the 5351 would cause problems in the results.  I decided to build a version using and AD9850, which had a sine-wave output.  Also switched to a color TFT display.  Doing comparison tests I found very little difference in the results I was getting.  Because of the size of the 9850 module and power requirements I was not able to to get it and the battery to fit in the Altoids tin.  But stacking two of them, one for the board, and one for the battery pack worked out.

Although both versions were usable I am looking at replacing the simple resistive bridge in the original design and going to a 3 voltage scheme to also compute impedance values.
I have a slightly larger TFT display that should work well to display the additional information.  Will update when I get around to that project.


  1. Hi DuWayne,
    The link at the top of this article might have got skewed when you pasted it:
    even when you correct the missing space after "com", it doesn't work.
    Is this perhaps K6BEZ's project page?

    Kind regards
    Tony G4WIF

  2. Hi DuWayne
    I am building the antenna analyzer as you describe above, the one with the Nokia display and the Si5351 DDS.
    I have a couple of questions if you don't mind answering them.
    I have the software from the KB6EZ Yahoo group and it is compiled and loaded on a Pro Mini.
    The display and all controls work fine as well as the Si5351.
    I built the MCP6002 opamp detector as described on the Yahoo page.
    I changed the gain to 34 by changing the 5K res to 22K. I also used AA143 diodes.
    When I run a scan from 1 to 30 with a 50 ohm load the SWR climbs to over 5 by the time it gets to about 5 Mhz. This I don't understand.
    I have not added a low pass filter yet as you did. What filter did you use?
    I also found that if I take the FWD and REF values and take the square of each before I calculate VSWR that I get an almost perfect value. Did you do any calculations on yours to see how close it actually was at say 50, 100 and 200 ohms?
    I am building this as a prototype for a possible club project if that is okay with you. I am a member of the St. Louis QRP Society club here in St.Louis, MO. We are a very small club and only do projects for club members and no profit.
    Any help or suggestions would be highly appreciated.
    Larry Naumann n0sa (at) att (dot) net

  3. One other question.
    How did you wire up the battery monitor circuit?

  4. Hi, do you have the code available for the si5351 and Nokia screen?.
    Thanks, Ellis