Author Archives: eloranta

New multi-cmp program for antenna comparisons (FT8)

NOTE: I have released this program separately at github.com. It has executables for Linux, Windows, and Mac.

After playing with Google’s AI, I (or it did) came up with a unified code that reads both audio channels *simultaneously* (left channel = RX, right channel = sub RX) and passes the data to separate jt9 instances for decoding. It collects data and shows statistics at the end. This is much more accurate than using the previous multi program. Note that multi program is still useful for DXing but for antenna comparisons, use multi-cmp. It runs on the command line. You need to enter the stations used for collecting the statistics (ALL, NA, SA, AS, EU, AF, OC, AN) as the first argument when running it. Note that the new version asks for the audio device in the beginning. The old version had the device hard coded into the program and worked only only on Linux.

[eloranta@ham ~]$ /usr/local/bin/multi-cmp ALL
Dual-Channel RX active (48000 Hz -> 12000 Hz, period=15s). Press Ctrl+C to stop and print summary table.
[20:24:30 UTC] [LEFT]  000000   9 -0.3  751 ~  N2XSG WB8DDV EN82                        
[20:24:30 UTC] [LEFT]  000000  22  0.1 1685 ~  E75C K4MPM EM73                          
[20:24:30 UTC] [LEFT]  000000  -4  0.2  698 ~  MI7XHT AA8AA EN82                        
[20:24:30 UTC] [LEFT]  000000  -4  0.2 1457 ~  CQ WB2VLM FN10                           
[20:24:30 UTC] [LEFT]  000000 -19  0.1 1101 ~  W0GJW W3LAM R-13                         
[20:24:30 UTC] [LEFT]  000000  -3  0.1 1574 ~  CQ WB4HAM FM04                           
[20:24:30 UTC] [LEFT]  000000  -8  0.0 1395 ~  CQ DX KC4OQB EM13                        
[20:24:30 UTC] [LEFT]  000000 -25  0.1 1217 ~  UA4FKT EA2KP +04                         
[20:24:30 UTC] [LEFT]  000000 -15  0.2 1608 ~  VA3BYE N1EDF RR73                        
[20:24:30 UTC] [LEFT]  <DecodeFinished>   0   9        0
[20:24:30 UTC] [RIGHT] 000000   9 -0.3  751 ~  N2XSG WB8DDV EN82                        
[20:24:30 UTC] [RIGHT] 000000  21  0.1 1685 ~  E75C K4MPM EM73                          
[20:24:30 UTC] [RIGHT] 000000  -4  0.2  698 ~  MI7XHT AA8AA EN82                        
[20:24:30 UTC] [RIGHT] 000000  -5  0.2 1457 ~  CQ WB2VLM FN10                           
[20:24:30 UTC] [RIGHT] 000000 -20  0.1 1101 ~  W0GJW W3LAM R-13                         
[20:24:30 UTC] [RIGHT] 000000  -3  0.1 1574 ~  CQ WB4HAM FM04                           
[20:24:30 UTC] [RIGHT] 000000  -9  0.0 1395 ~  CQ DX KC4OQB EM13                        
[20:24:30 UTC] [RIGHT] 000000 -25  0.1 1217 ~  UA4FKT EA2KP +04                         
[20:24:30 UTC] [RIGHT] <DecodeFinished>   0   8        0
[20:24:30 UTC] — Channel dB Comparison (Left – Right) —
 WB8DDV     | N2XSG WB8DDV EN82      |  751 Hz | L:  +9 dB | R:  +9 dB | Diff:  +0 dB (EQUAL)
 K4MPM      | E75C K4MPM EM73        | 1685 Hz | L: +22 dB | R: +21 dB | Diff:  +1 dB (LEFT stronger)
 AA8AA      | MI7XHT AA8AA EN82      |  698 Hz | L:  -4 dB | R:  -4 dB | Diff:  +0 dB (EQUAL)
 WB2VLM     | CQ WB2VLM FN10         | 1457 Hz | L:  -4 dB | R:  -5 dB | Diff:  +1 dB (LEFT stronger)
 W3LAM      | W0GJW W3LAM R-13       | 1101 Hz | L: -19 dB | R: -20 dB | Diff:  +1 dB (LEFT stronger)
 WB4HAM     | CQ WB4HAM FM04         | 1574 Hz | L:  -3 dB | R:  -3 dB | Diff:  +0 dB (EQUAL)
 KC4OQB     | CQ DX KC4OQB EM13      | 1395 Hz | L:  -8 dB | R:  -9 dB | Diff:  +1 dB (LEFT stronger)
 EA2KP      | UA4FKT EA2KP +04       | 1217 Hz | L: -25 dB | R: -25 dB | Diff:  +0 dB (EQUAL)
 N1EDF      | VA3BYE N1EDF RR73      | 1608 Hz | L: -15 dB | R:   —  | LEFT only

[20:25:00 UTC] [LEFT]  000000  23  0.1 1685 ~  E75C K4MPM EM73                          
[20:25:00 UTC] [LEFT]  000000  10 -0.3  751 ~  N2XSG WB8DDV R+19                        
[20:25:00 UTC] [LEFT]  000000 -11  0.2  698 ~  MI7XHT AA8AA EN82                        
[20:25:00 UTC] [LEFT]  000000  -4  0.1 1457 ~  CQ WB2VLM FN10                           
[20:25:00 UTC] [LEFT]  000000  -2  0.1 1574 ~  CQ WB4HAM FM04                           
[20:25:00 UTC] [LEFT]  000000  -6  0.0 1395 ~  CQ DX KC4OQB EM13                        
[20:25:00 UTC] [LEFT]  000000 -25  0.1 1101 ~  W0GJW W3LAM R-13                         
[20:25:00 UTC] [LEFT]  000000 -25  0.1  292 ~  CQ EA7R IM66                             
[20:25:00 UTC] [LEFT]  000000 -18  0.2 1608 ~  CQ N1EDF FN42                         a1
[20:25:00 UTC] [LEFT]  <DecodeFinished>   0   9        0
[20:25:00 UTC] [RIGHT] 000000  22  0.1 1685 ~  E75C K4MPM EM73                          
[20:25:00 UTC] [RIGHT] 000000   9 -0.3  751 ~  N2XSG WB8DDV R+19                        
[20:25:00 UTC] [RIGHT] 000000 -11  0.2  698 ~  MI7XHT AA8AA EN82                        
[20:25:00 UTC] [RIGHT] 000000  -5  0.1 1457 ~  CQ WB2VLM FN10                           
[20:25:00 UTC] [RIGHT] 000000  -3  0.1 1574 ~  CQ WB4HAM FM04                           
[20:25:00 UTC] [RIGHT] 000000  -7  0.0 1395 ~  CQ DX KC4OQB EM13                        
[20:25:00 UTC] [RIGHT] 000000 -25  0.1 1101 ~  W0GJW W3LAM R-13                         
[20:25:00 UTC] [RIGHT] 000000 -25  0.1  292 ~  CQ EA7R IM66                             
[20:25:00 UTC] [RIGHT] 000000 -19  0.2 1608 ~  CQ N1EDF FN42                         a1
[20:25:00 UTC] [RIGHT] <DecodeFinished>   0   9        0
[20:25:00 UTC] — Channel dB Comparison (Left – Right) —
 K4MPM      | E75C K4MPM EM73        | 1685 Hz | L: +23 dB | R: +22 dB | Diff:  +1 dB (LEFT stronger)
 WB8DDV     | N2XSG WB8DDV R+19      |  751 Hz | L: +10 dB | R:  +9 dB | Diff:  +1 dB (LEFT stronger)
 AA8AA      | MI7XHT AA8AA EN82      |  698 Hz | L: -11 dB | R: -11 dB | Diff:  +0 dB (EQUAL)
 WB2VLM     | CQ WB2VLM FN10         | 1457 Hz | L:  -4 dB | R:  -5 dB | Diff:  +1 dB (LEFT stronger)
 WB4HAM     | CQ WB4HAM FM04         | 1574 Hz | L:  -2 dB | R:  -3 dB | Diff:  +1 dB (LEFT stronger)
 KC4OQB     | CQ DX KC4OQB EM13      | 1395 Hz | L:  -6 dB | R:  -7 dB | Diff:  +1 dB (LEFT stronger)
 W3LAM      | W0GJW W3LAM R-13       | 1101 Hz | L: -25 dB | R: -25 dB | Diff:  +0 dB (EQUAL)
 EA7R       | CQ EA7R IM66           |  292 Hz | L: -25 dB | R: -25 dB | Diff:  +0 dB (EQUAL)
 N1EDF      | CQ N1EDF FN42                         a1 | 1608 Hz | L: -18 dB | R: -19 dB | Diff:  +1 dB (LEFT stron
ger)

^C
================================================================================
FINAL SESSION SUMMARY: STATION CALLSIGN vs. CHANNEL dB DIFFERENCE (LEFT – RIGHT)
================================================================================
Callsign     | Matches |  Avg Left | Avg Right | Avg (L – R) | Min / Max Diff
————–+———+———–+———–+————-+—————
AA8AA        |       2 |   -7.5 dB |   -7.5 dB |     +0.0 dB |   +0 /   +0 dB
K4MPM        |       2 |  +22.5 dB |  +21.5 dB |     +1.0 dB |   +1 /   +1 dB
KC4OQB       |       2 |   -7.0 dB |   -8.0 dB |     +1.0 dB |   +1 /   +1 dB
W3LAM        |       2 |  -22.0 dB |  -22.5 dB |     +0.5 dB |   +0 /   +1 dB
WB2VLM       |       2 |   -4.0 dB |   -5.0 dB |     +1.0 dB |   +1 /   +1 dB
WB4HAM       |       2 |   -2.5 dB |   -3.0 dB |     +0.5 dB |   +0 /   +1 dB
WB8DDV       |       2 |   +9.5 dB |   +9.0 dB |     +0.5 dB |   +0 /   +1 dB
EA2KP        |       1 |  -25.0 dB |  -25.0 dB |     +0.0 dB |   +0 /   +0 dB
EA7R         |       1 |  -25.0 dB |  -25.0 dB |     +0.0 dB |   +0 /   +0 dB
N1EDF        |       1 |  -18.0 dB |  -19.0 dB |     +1.0 dB |   +1 /   +1 dB
————–+———+———–+———–+————-+—————
OVERALL MEAN DIFFERENCE ACROSS ALL 17 MATCHED DECODES: +0.59 dB
================================================================================

^C above means that I pressed ctrl-C to end the program. The code is included in multi program that is available on github.com.

Green Heron RT-21 controller with hamlib

When I used qlog + hamlib combo to drive Green Heron RT-21 I was getting random timeouts. This controller is compatible with the Hy-Gain protocol, so I decided to try switching the rotor type to Hy-Gain DCU2/DCU3/YRC-1. Well, this works and no more timeouts! So, there is some sort of problem in the hamlib RT-21 driver.

Linux program for controlling ACOM 2000A amplifier

I have been using old 32bit windows program called ACOM Director to control my amplifier. It has been getting more and more difficult to run such old programs under wine and finally I got frustrated enough and started working on native Linux program using GTK+4. ACOM was kind enough to provide me the programming specs and it took me half a day to put the program together: https://github.com/jmeloranta/acom2000

It is still pretty bare bones implementation but this is sufficient for me at the moment. When running it for the first time, click on Port button to select the serial device for the amplifier and then click Connect button to connect to the amplifier. Now OFF button should become active and clicking on it turns the amplifier to operate (click again to switch back to standby). Once the serial device is selected, it will be stored in $HOME/.acom2000 and next time the application is started, port does not need to be defined again and the application connects to the last device used automatically. If for some reason the serial device is messed up, remove $HOME/acom2000 file and rerun the application. I submitted the application to Arch Linux AUR. Install with: yay -S acom2000-git and keep up to date with yay –devel -Suyy .

Finally you may ask why GTK+ and not QT? Well, I am a C guy who really dislikes C++ that looks like spaghetti and one is never sure what happens under the hood. There are no official C bindings for QT whereas GTK+ is C native. So, GTK+ it is!

Note: Avoid switching the amplifier between operate and standby when drive power is applied. This can trip the amplifier. The application has some protection against this scenario but it is not foolproof…

UPDATE: There are now Linux, Windows, and Mac executables on the github page.

Fan inverted-L antenna

I had originally dual band 160 m / 80 m Battle Creek Special antenna (40 m section not included) as my TX antenna. It had 80 m coaxial trap (taken from Kelemen 160/80 m trap dipole) to separate the 80 m and 160 m sections. This antenna has a low feedpoint impedance and I used a shunt coil at the feedpoint to bring it up to 50 ohms (about 7 turns of copper wire with 4″ diam.; see https://www.dj0ip.de/vertical-antennas/hairpin-match/). The vertical section is approximately 50′ and the rest of the wire is horizontal. I have common mode choke and a bunch of ferrites around the coax at the feedpoint. The radial network consists of over 60 ground radials that are 140′ long, which are used for both bands. Since the radials are on the ground, their length is not critical as long as they are 1/4 wavelength or longer, so they work for both bands.

The first problem was that using the trap made the SWR bandwidth even smaller than the regular inverted-L antenna (which the Battle Creek Special antenna is a variant of). The second issue showed up later after running 1 kW+ into the antenna on FT8: the trap melted. The Kelemen trap was constructed using a coil of RG-400 coax, which has Teflon insulation between the outer and inner conductors. Teflon can withstand high temperatures but the outer insulation is not Teflon and that had melted (shorting the coaxial trap). So, I had to get rid of this trap!

The next iteration of the antenna was to include separate wires going up the mast for 80 m and 160 m bands (thanks to W5ZJ for suggestion). They are connected to the same feedpoint and share the same radial network for both bands. This idea is similar to the well-known fan dipole and hence this antenna is called fan inverted-L antenna. The separation between the two radiator wires is only about 2′ or so and my first thought was that there must be strong interaction between the wires. But surprisingly little in practice, which became evident when tuning the antenna. I was able to adjust the wire lengths fairly easily. The lengths turned out to be very close to what is expected for a regular inverted-L antenna (slightly shorter). I laid out the horizontal sections towards the opposite directions from each other to further minimize any interaction between the antennas. By tuning the wire lengths and adjusting the shunt coil (compress/elongate), SWR on 160 m FT8 frequency is 1.1 and on 80 m FT8 frequency 1.2. And since there is no trap, the SWR bandwidth is now much better. But most importantly I can run 1.5 kW on FT8 into this antenna on both bands and there have been no issues whatsoever!

Stands for BOG

According to the literature BOG performance may be reduced if leaves, grass, vegetation etc. accumulate on top of the antenna wire. I decided to elevate my BOG slightly (2-3″ from ground) to avoid this problem:

In my QTH the ground conductivity is low (rocky soil) and this likely won’t affect much how the antenna works. In some cases it has been reported that rising BOG antenna slightly above the ground would improve the signal strength and the radiation pattern. I have not noticed any significant change with this respect. The 12 AWG two-wire conductor (non-twisted) is inside the 1/2″ corrugated PVC conduit to prevent (or at least slow down) rabbits eating the antenna.

Of course, the downside of all this is that the deer can trip on the antenna wire. I hope these flags will alert them so that they will hop over the elevated antenna wire:

BOG performance evaluation on FT8

As described in my other BLOG posts, I have two KD9SV reversible BOGs (Beverage On Ground) oriented along NE-SW and NW-SE directions. They are both 300′ long (rabbit proofed 12 AWG wire with two parallel conductors) and lay directly on the ground (rocky soil; low conductivity). On 160 m band I use KD9SV preamplifier to bring the signal to approximately the same level as my inverted L antenna (inv-L). I do not have such preamplifier for 80 m at the moment (but use the built-in preamp2 setting on my Elecraft K4). In addition to my BOGs being perhaps a bit too long for 80 m (but note that they still work on 60 m), this lack of external preamp may have reduced BOG performance on 80 m when the band is quiet (as it was during this test). Naturally ionospheric conditions (arrival angles, polarization) have also contributed to the results. There were no major thunderstorms nearby during these tests so QRN was minimal. If storms were located away from the direction of BOG, its RX performance over inv-L (approximately omnidirectional) would improve significantly. Since FT8 uses 15 second RX/TX window, the results obtained represent average signal to noise ratio (SNR) over that period. Note that inv-L antenna is mostly vertical polarization whereas the BOGs are horizontal and collect signals very efficiently at low arrival angles. Here are the results collected using the multi program (described in other BLOG posts) for 80 m band (EU direction / NE; only EU stations included):

Note that the multi program reads the audio data simultaneously from the two RXs in my Elecraft K4, which are connected to inv-L and BOG antennas. The audio data is processed by two separate JT9 processes and aggregated into single WSJT-X instance. The X-axis represents SNR of the decodes obtained on inv-L and the Y-axis the corresponding SNRs on BOG. Each point represents a simultaneous decode from the two antennas. With this axis choice, the points above the straight reference line indicate decodes where BOG SNR was better than inv-L and vice versa for the points below the line. If the given antenna could not decode the signal, this was arbitrarily chosen as SNR -26 dB (below the -25 dB FT8 decode level). The colors indicate how many decode pairs landed on the same point (scale shown on the right; see “Many points” on the graph). Interestingly BOG was able to decode everything that inv-L could but with only one exception (inv-L only). On the other hand, BOG was able to receive many decodes that inv-L could not (BOG only). The intermediate group of blue points below the straight line (where inv-L had better SNR) mainly consisted of one station (calling CQ forever) that was somehow always received better on inv-L – possibly due to the band conditions. While not always giving the best SNR, BOG was able to decode significantly more stations than inv-L could. Note that there have been situations where a QSO could not have been completed by using just one antenna: one decode was obtained only on inv-L and the other only on BOG. This can be achieved with the multi program, which automatically picks up the strongest decode from the two receivers / antennas. Note that FT8 determines SNR which is independent of the signal level calibration of the two RXes. Such calibration is important when comparing absolute signal strengths only. As long as the audio levels are similar, FT8 produces a meaningful SNR figure for comparison.

Here is the corresponding data collected on 160 m band:

While this dataset is smaller than for 80 m band, the results here show a much clearer trend. A large number of stations could not be decoded on inv-L (BOG RX only) and those that are received on both give a better SNR on BOG (i.e., points above the reference line). Only two decodes had a slightly better SNR on inv-L than BOG and inv-L did not hear any stations that BOG could not. The RX performance of BOG on 160 m band is excellent!

Limitations:

  • Running two JT9 processes simultaneous takes a lot of CPU power on a crowded band. When making antenna comparisons it is a good idea to do so on with not too many stations on air. Otherwise it is possible that one JT9 process is able to finish processing on time whereas the other ran out of time. This could artificially skew the results.
  • The two receivers in Elecraft K4 are NOT phase locked. The inherent phase differences in the audio signals for the two stereo channels can influence the decoding process.
  • At the computer there will be a small difference in timing for constructing the audio shared memory segments from the left and right channels, which will in turn influence the decoding process. Especially one should avoid having overlapping and/or strong signals on the band when performing antenna comparisons. Each WSJT-X likely reads both channels regardless of the source setting and this leads to the two processes getting the data at slightly different times (interleaved). This effect can be seen when feeding identical audio data to both channels – there are occasional decoding differences! The only way around this would be to write a program that reads the stereo audio and feeds the two jt9x decoders with data obtained at the same time points.

UPDATE: I should rerun this using multi-cmp, which is free of timing etc. artifacts. Short runs with this new program are shown in separate BLOG posts.

Controlling KD9SV 160 m preamp with computer

I have KD9SV 160 m preamp that I would like to use on 160 m only and have it turned off for all other bands. This unit does not have any computer control – just the old style rocker switch to turn it on/off. So, I decided to keep this manual switch in the on position all them time and install USB relay to control the 12 V power to the unit. This cheap USB relay switch seems to work well (model DSD TECH SH-UR01A):

It sells for $15 on Amazon. It appears as a RS-232 device on the computer (Linux system in my case), which requires baud rate of 9600, 8 data bits and no parity. To turn the relay on, use:

AT+CH1=1

and to turn it off use:

AT+CH1=0

Note that newline or carriage return should not be sent. I use this in my antenna control program (ant.c) where I now have a button to toggle the preamp state.

Rabbit proofing the BOGs

I have had terrible time with rabbits chewing on my BOGs. In order to rabbit proof these antennas, I have replaced the original construction with 12 AWG two conductor wire (300′ long), which is embedded in a 1/2″ split conduit:

I used electrical tape at several points to make sure that the wire cannot come out of the conduit split. I have a nice tool for putting the wire into the conduit which made the it easy! It would be hard to get the wire in there by hand. They can probably still chew this (hope they choke!) but it will at least take a long time before they get to the wire itself.

It is supposed to be Fall but it is still well over 90 F outside and humid. Not the best weather for antenna work!

But now the rabbits are attacking my radials! I have to use bare copper wire (magnet wire) so that they would not find it so attractive.

160 m band power line noise issue resolved

I have had S7 power line noise (RFI) on 160 m for several months now (as measured on inverted-L antenna). I spent almost a month collecting observations and search for possible RFI sources nearby.

The first step was to characterize the noise source. I first observed that the noise goes away during rain, which is expected for arcing power lines. Otherwise it was constantly on 24/7 but its intensity varied slightly from day to day. During heavy winds the noise sometimes showed erratic behavior, like a bad contact. Setting my radio to AM mode on 160 m band and checking the WSJT-X water fall (starting from 0 Hz rather than the usual 200 Hz), one could clearly see peaks at 120 Hz plus its multiples. Occasionally weaker 60 Hz and multiples were also seen. All this is consistent with power line arcing. So, now I knew what I am looking for.

To locate the source, I first used my 160 m receiving antennas to get the approximate direction and then concentrated the search in that approximate direction. Since it could only be heard on the 160 m band, it is likely not very close to me (> 1 mile distance). Google Earth is a great help in mapping out the search area. When I eventually drove near the RFI source, the noise showed up on my car AM radio but then I failed to observe it on portable 120 MHz AM radio, which indicated that I could not get very close to the troublemaker (private properties with barbwire fences, animals etc.). Unfortunately, AM radio observation is often not very reliable because the noise can be conducted through the power line wires (antenna) and radiate over a large area. Fortunately, in this case the information I provided turned out to be sufficient for the power company to locate the problem.

I detailed all the findings (including proof that the RFI is not from my property) and sent a letter to the power company (Craighead Electric). They received the letter and responded the same day (9/28). Even though I was not able to pin point the exact source of the RFI, they found the problem & fixed it in just a couple of hours (9/30)! The actual broken equipment was located using ultrasonic microphone equipped with a parabolic dish. The RFI was caused by arcing of this jumper (see the brown piece on the left where some wire has evaporated):

Over time this would have led to power line failure since the wire was getting evaporated slowly. When it gets thinner (increased resistance), it begins to heat more (on top of the heat produced by arcing) and this accelerates the failure process. This broken equipment was located 2.2 miles east from my QTH. There is still a smaller issue in another location but they promised to search for it soon. This RFI source I am able to hear with my 120 MHz AM handheld radio, which can determine the location more exactly. Interestingly, it can only be heard weakly on the 10 m band at my QTH, mainly because of the higher natural noise floor on the lower bands. It is approximately located 2 miles northeast from me. I used my 10 m yagi to get the direction for the search (signal maximum & side null). It has the same signature as the 160 m noise (120 Hz + multiples and goes quiet when it rains).

Now my day time noise floor sits neat at S3 on 160 m. It turns out that the grandfather of the electric company technology chief is a ham and that probably helped.

Excellent service from Craighead Electric!

Update: The smaller RFI source has disappeared on its own. The hunt will continue if it comes back.