Wednesday, November 13, 2013

160m / 80m / 40m Inverted-L

Can you see it? I can't either. The black wire in the middle
ascends into the tree, but the traps are virtually invisible

The 160m Inverted-L went up nearly a year ago. Six months ago, I added a trap for 80m, making it an 160m / 80m Inverted-L. At that time, it seemed like a good idea to add a 40m trap. It's taken me a few months to do this.

I used CocoaNEC 2.0 to model the trapped inverted-L. With multiple traps, there's lots of interaction in the antenna segment lengths. More than you'd think, since the trap resonant frequencies are well outside the operating frequencies of the antenna. This means that the trap impedance, while high, doesn't completely cut off the flow of current in the rest of the antenna. This means the 160m segment length affects 40 and 80m and vice versa.

My model showed the 40m segment would be about 32.5 feet, the segment between traps would be about 3.6 feet and the rest of the antenna would be about 69 feet. The problem with this model is that it uses NEC 2 -- which assumes a perfect ground, so the real antenna different. My approach was to insert the 40m trap at about 34 feet, and then slowly trim to a resonance in the band. Then I'd trim the segment between traps, and finally the 160m segment.

Comparison of 40m (left) and 80m (right) traps. Note the
turns on the 40m trap are a bit loose
40m trap was built for 6.7 MHz. This required about 7 turns of wire on my 3" schedule 20 PVC pipe form and a 100 pF capacitor.  Same technique was used to trim the trap -- the Heathkit gate-dip oscillator.

Trap went in at 34' and after three trims it was a 29' 7". A couple of trips and the 80m segment was 7' 4" long. Everything looked good.

Note that the between traps segment is considerably longer than the model. Could very well be the traps I built are not exactly the same as what I modeled, in addition to the lossy ground effects. I think the modeling work is useful, though, because it has gotten me in the ballpark.

Another view. 40m trap uses 100 pF, 80m trap uses 200 pF.
Last trip was 4 feet off the 160m segment, for a total of 63'. Hmm. 40m is now resonating just above the band. Drat.

I'm not sure if maybe the turns on the trap may have loosened when I raised it last, or if the 160m trim caused the shift. I ran out of daylight to test it. However, the antenna still works pretty well. I've been running this antenna on all bands through the KAT3 antenna tuner, and it is pretty effective on the designed bands, as well as on 30, 17, 12, 10 and 6m. It works ok on 20 and 15m, but I always feel I'm competing with tribanders and other beams there.

Hasn't been a whole lot of activity on 80m this fall -- I think part of it is because everyone is enjoying the conditions on 10 and 12m. Hope to see more activity as the nights lengthen, so I can work some more DXCC entities there. I also want to try this puppy in the ARRL 160m contest.

This antenna really worked well during SS CW. I used it on all bands through a tuner. Although, for domestic contests, the 80/40m dipole works much better.




Tuesday, September 17, 2013

Wayne Green, W2NSD/1, SK

I learned with some sadness today that Wayne Green passed away this weekend. He was 91. If you are new to amateur radio, you may not have heard of Wayne. He definitely made his mark.

Wayne was a pioneer. In the late 40s, he was an engineer at a television station, and he got into Radio Teletype (RTTY). Back in those days, this mean maintaining very noisy electromechanical monstrosities. Somewhere along the line, he started publishing a newsletter for other RTTY enthusiasts, eventually being hired by CQ Magazine. By the mid-50s, he was the editor of that publication, at least until he had a falling out with the publisher.

So, he started publishing his own amateur radio magazine: 73 Magazine. His initial goal was to get hams building equipment again. He focused on well-written, easy to construct articles. He must have done something right, because 73 continued publication until 2003.

Wayne was well known for his long, rambling editorials, his strong, sometimes bizarre opinions on just about any topic, and his irascible nature.

I've told my novice story, but I neglected to mention the part that Wayne had in it. My brother, NJ8J, started receiving 73 magazine in 1971 or 72. A couple of years later, I began reading these as well, whenever I could sneak them away from my brother. Back in those days, we would both read the print off the page -- absorbing every word. Christmas 1974, my brother gave me my own subscription to 73, starting with the January 1975 issue. (That way, he could read my copies, instead of me stealing his)

I learned virtually everything I knew about amateur radio back then from 73 or from the 1975 ARRL Handbook. I remember visiting the shack of a ham in Grafton, WV in the fall of 1974. Sadly, I don't remember his name or call. He let me make a few contacts on his Swan 500 -- one of the fellows asked me what I was interested in doing if I got licensed. I replied that I was interested in playing with Slow-Scan Television (SSTV). I knew a little bit about SSTV, because Wayne kept publishing articles about it. To date, though, I've never operated SSTV. (Although I did pick up a homebrew SSTV receiver -- replete with P7 phosphor tube -- for a song at a hamfest some 15 years ago. Perhaps another article)

Wayne Green was a visionary. After the Altair 8800 became available in the fall of 1974, Wayne set about creating a magazine for computer hobbyists. He founded Byte magazine. Unfortunately, his ex-wife and business partner made off with the magazine in the fall of 1975. Wayne responded by adding  the I/O section to 73 with the February 1976 issue. Then, he started a competing magazine, initially called Kilobyte, renamed to Kilobaud before the first issue in 1977.

Those articles in the I/O section convinced me to check out these newfangled microcomputers. In the fall of 1977, I used my paper route money to purchase a SWTPc 6800 computer system and CT-64 terminal. Those kits got me started with computers, which lead me to my current career. I have Wayne to thank for that.

73 was a thick publication in the late 70s and early 80s, with some issues closing on 400 pages. Five years later, it was much smaller, as Wayne was focused on the other computing-related publications in his small empire. Around 1984, he sold the entire lot to IDG, which was nearly a disaster for 73. A year later, he bought back the remnants of that magazine from IDG, and continued publishing until 2003. I'm still a mad at him for that -- I renewed my subscription that year for three years, only got seven issues and never got a refund.

I can't stay mad, though. I owe a lot of my interest in technology to the encouraging words Wayne wrote in his editorials so many years ago. Part of that spirit will always stay with me.

Rest in Peace, Wayne.

Saturday, August 31, 2013

The Pursuit of 5BDXCC

I really can't call myself a DXer. I know too many guys who have made the Honor Roll. Those guys are the real DXers.

When I was a Novice back in the mid-70s, I always thought I would get WAS, then move on to DXCC. I found collecting the cards for these awards to be something of a tiresome chore. Ten years later, I slowly got into contesting -- which meant I made a lot more contacts, but getting the QSLs was still a chore.

Then something happened -- the ARRL opened up the Logbook of the World (LotW). Suddenly, getting the confirmations as no longer a tedious chore -- simply upload your contacts and wait for the confirmations to roll in.

I first focused on earning 5BWAS, and I eventually did win that award. I also earned DXCC mixed, CW, Phone and 20 and 15m. Today, I'm sitting on enough credits for 40m, 10m and Digital DXCC. This means I have four of the five bands completed for 5BDXCC.

That leaves 80m. Today, I have 70/71 on that band, which means I need 30 more confirmations for DXCC. 80m is a tough band for working DX. Noise levels in the summertime generally limit DX work on 80m to the winter months. I've been thinking about this most of the summer. My plan is manifold.

I've already gotten the antenna ready. Based on my limited use this summer, it seems to play fairly well on 80m. I also have a K9AY loop I need to get set up. Currently, it has a very simple rotating knob, but I have an idea for a push-button controller. Need to get that going in the next month.

I've also contemplated moving the amplifier from the Gwinnett QTH to Floyd County. As it stands, I can't use the amplifier with the shunt-fed tower. Biggest issue is determining where to plug it in, as it is wired for 240 volt power.

But, the most important thing is to be on the air. My plan is to try and be on 80m in the evening several times a week. You have to be there when the DX is. There are often europeans on the air just after darkness comes locally, and there are several european countries I still need on 80m. Some of them ought to be easy to work.

The goal is to bag 30 countries on 80m this winter season, and maybe work a few on 160m as well. (I have 30/31 confirmed there). Wish me luck.

Friday, August 2, 2013

The Elecraft K3 is a Joy on RTTY

K3 - Right in the operating position
I built the K3 just after Christmas. Since then, it has been a joy to operate in many ways. Having just completed my third RTTY contest this year, I'm especially pleased with how it operates on RTTY.

Although I operated packet radio back in the 1980s, I never got a make a RTTY contact until 2005 - using my Elecraft K2. I built an audio interface using a couple of audio transformers and some resistors.

In many ways, the K2 is a great radio. Gary Breed K9AY told me that the K2 was, "a simple radio, superbly executed." While I do enjoy the K2, it is not at it's best running RTTY or any other digital mode. It suffers several limitations:
  • Duty Cycle - The K2 is designed for a 50% or less duty cycle - CW or SSB. Without supplemental cooling, you can't run the K2/100 much more than about 25-30 watts. I added a small fan on top of my K2, and could safely run 50-75 watts of RTTY without overheating. The K3, of course, is a 100% duty cycle rig - no problem running 100 watts for hours. The case doesn't even get warm.
  • Tuning Rate - Because of it's design, the K2 tunes in roughly 9 Hz steps. While the display shows the nearest 10 Hz at all times, the firmware selects the closest tuning point. As you turn the dial, it's not entirely smooth, sometimes jumping twice as far. With the finicky tuning of RTTY signals, you'll notice this.
  • Frequency Readout - I put this one in my K2 Wish List. The K2 frequency doesn't account for the mark frequency, and thus reads 1-2 kHz high, depending on what audio tones you are using. While some contest software can compensate for this, the K3 works correctly by showing the mark frequency on the display.
  • Variable Transmitter Gain per Band - this is the most annoying thing about using the K2 on RTTY. Because of the way the K2 transmitter gain control system works, you have to adjust your audio levels on each band -- very high levels on the higher frequencies, and extremely low levels on the lower bands. Every time you change bands, you must adjust the transmit audio level. Every time. The K3, on the other hand, calibrates itself so that it has the same gain on every band. 
But the best part isn't that the K3 can run flat out 100 watts, tune smoothly, display the right frequency, or make it so you don't have to mess with the transmit audio level in the middle of the contest. These other features of the K3 really enhance RTTY operation:
  • Variable-Bandwidth IF - My K2 is programmed with a variety of bandwidths for RTTY: 1000 Hz, 500 Hz, and 300 Hz. But this isn't nearly as convenient as being able to select any bandwidth from 100-4000 Hz. On a quiet band, a bandwidth from 600-800 Hz works well. When the QRM gets tough, pulling down to 300 Hz puts it in its place. The K3 allows you to pick exactly the right bandwidth for the situation.
  • Dual Passband - RTTY contests can get downright ugly. Sometimes strong stations are interlaced on top of one another, so the mark or space frequency of one station is right between the tones of another station. This situation does no good for anyone, as it makes it nearly impossible to copy either station. I'm convinced that this is largely due to the over-use of  dual passband filtering. This type of filter puts a huge notch between the mark and space tones. It's not useful for S & P work, because if you are slightly off frequency, you won't hear stations. And, it's not terribly useful for calling CQ, either, since someone can easily move in between your tones and you won't hear them. However, every once in a while, this filter makes the difference between completing a QSO and losing one to the QRM. Just don't use it all the time, OK?
  • Fine Tuning - While the K3 tunes in perfect 10 Hz steps, you can select fine tuning mode with 1 Hz steps. I used this all the time as default for CW and RTTY and move it. It makes tuning across the band take longer, but it's easy enough to switch to 10 Hz steps when you need to.
So, every time I changed bands, tweaked out QRM with the filter or passband tuning, marveling at how cool the rig is running pumping out 100 watts hour after hour or just simply tuned stations in -- I'm consumed with joy over this fine radio. Definitely worth it.


Tuesday, July 16, 2013

My On-Again, Off-Again Relationship with Cocoa

My personal logging program.
It's been a long time ago, but I did Mac development when it was new. I started in August 1984, which was pretty much on the ground floor. My employer switched me back and forth between Mac and DOS, and later Windows development. I really loved doing Mac development in those days. But, in 1994, they abruptly ended all Mac work and later that year filed Chapter 11. I left the company about six months later.

I found another job that was part-Mac, part-Windows. That lasted until they laid me off in 2002, just after WWDC. Those were pretty dark times to be a Mac developer. The Windows hegemony was nearly complete -- with over 90% of personal computers running Microsoft's operating system.

Apple tried very hard to get developers ramped up on Mac OS X. Although you could certainly port over a classic MacOS application using Carbon, the writing was on the wall. Cocoa was the future. At WWDC 2001, Apple seeded every developer with the book Learning Cocoa with Objective-C by Davidson. And in 2002, again with Building Cocoa Applications by Garfinkel and Mahoney. I'm sure these tomes jumpstarted many developers.

I tried. I worked nearly all the problems in both books. In those days, there was no Xcode, just Project Builder and Interface Builder. And they were pretty klunky compared to Metrowerks CodeWarrior. But I only had one machine that could run Mac OS X in those days. I was still fooling around with CodeWarrior and PowerPlant. At least, until I got laid off.

The best I could do at the time was a job that was solely Windows. I figured I'd take it as a bridge job, and here I am still at it ten years later. But, that's another story.

I still love the Mac. My whole family uses Macs. I use mine each day. 

Back in the fall of 2003, I started uploading all my logbooks to Logbook of the World (LotW). All my electronic contest logs were pretty easy, even one Field Day log that had a corrupt binary file was eventually rescued and uploaded. 

The hardest part was entering all the hand-written logs. Some time in 2005, I finished this job. While my contest contacts were in electronic form, I was still hand-writing my casual contacts. By spring of 2006, it was time to give the hand-written logbooks the heave-ho. 

I decided I wanted a Mac program. So, I set about to write one. Back to those Cocoa books again. I wrote a very simple program designed to replace the paper log and not much else. You can see a screen image of it above.

With that immediate problem solved, it seems like I forgot what I learned. A couple of years later, when the iPhone SDK came out, one of the best ways to learn Cocoa was the Aaron Hillegass book, Cocoa Programming for Mac OS X. I managed to get one the earliest copies of the third edition, and was again working my way through a Cocoa book.

But, life intervened, and I never did quite finish all the problems. I've since gotten a couple of other books on iOS programming (and I still need to work my way through those, too). What amazes me is how quickly these books go out of date. They try to hand-hold you through every step in using XCode -- except that XCode has likely changed since the book was printed.

All this came to a head recently a work when another team asked me to put together a presentation on how to get started with iOS programming. This team had an iOS application that was developed by an outside consultant, and they needed to take over development.

Well, despite the absence of recent experience, I manage to put together a pretty good introduction. It was heavy on the things I understood well, such as Objective-C, Interface Builder and many of the design patterns used in Cocoa. If anything was lacking, it was details on the classes in the Cocoa Touch framework. But I felt like I gave them the tools to figure it out.

I've used a number of different object-oriented frameworks over the years, MacApp 2 and 3, TCL, PowerPlant, and even a smattering of MFC before tackling Cocoa. Like any framework, understanding really comes from experience -- the more you use the framework, the better your understanding will be.

Now, where is that book...?

Wednesday, May 29, 2013

The Reason I Hate Windows

It was going to be a typical casual contest weekend. I had the new 160/80m Inverted L ready to go. I had hoped to work a few more countries on 80m for DXCC, as I inch ever closer to 5BDXCC. My employer even let us out a little early, so I should have plenty of time to get everything set up. Right?

Wrong.

It seemed simple enough. Just crank up the Acer and set the N1MM software for the WPX CW contest.   The Acer started ok, but for some reason, the N1MM software would not run. Strange, it ran just fine last time I tried it. Well, that's ok, the copy I have is a few months out of date anyway, I ought to update the software to the latest before the contest.

So, uninstall N1MM, go out to the site, grab the base (2011) installer, install it, then install the latest build. Try running. Oh, it says it has to reboot before you can run. Go to reboot - the Acer waits a long time at Logging Out....

And it was about time to go off to marital arts class, so I just left the computer Logging Out.... I figured it would be done by the time I got back, and maybe I would finish the setup then. But, after three hours of class, I was pretty beat and figured I would tackle that job in the morning.

So, around 1300z, I hop out to the shack and crank up the Acer -- and it is STILL Logging Out.... Well, it spent so long trying to log out that the computer went to sleep. I'm out of patience at this point. So, I pull the battery, and unplug the power, and poof, it is ready to reboot.

Turns out, the reason it was taking forever to log out was because it was installing updates. You see, somewhere in the infinite wisdom of the Windows designers, they decided that the best time to install updates was when you were trying to log out of the computer. It obviously never occurred to them that you might want to log out only to log back in on some other account, or perhaps just reboot the machine so some software you just installed would work. No. You say you are done using that account, and it's time for Windows to take over and install the almighty updates.

Oh, and if you happen to bypass that by yanking the power and rebooting the machine, Windows takes care of that by installing the updates when you boot up. But, at least during the boot-up phase, it gives you progress information as to what it is doing, rather than simply saying it is Logging Out....

Half an hour later, it finally finished the update process, and I could successfully run N1MM. Set it up for the WPX CW contest and....

It can't talk to the K3.

OK. It was working just fine back in March -- what changed? Well, nothing, really -- except I had just installed an upgraded copy of N1MM. The Elecraft K3 Utility has no trouble talking to the K3 at all through that same port. Hmm. Maybe I should go back to the old version that was working, except when it didn't work for some weird reason.

So, uninstall N1MM, go out to the site, grab the base (2011) installer, install it, then install the latest build. Go to reboot - the Acer waits a long time at Logging Out.... Hey, I just installed all those updates! Pop battery, pull plug, restart. OK, there's just a handful of updates, should only take a few minutes.

And, once Windows had finished updating AGAIN, run N1MM and.... It can't talk to the K3. Looking more closely, it is repeatedly reporting 8020 errors. A bit of searching the internet, and this appears to be a problem related to the serial port drivers. Seems some USB serial port drivers work fine with other applications (and the Elecraft K3 Utility had no trouble talking tot he K3)

So -- what changed? Looking at the Plugable site, the latest driver is v1.8, and that's exactly what's installed. However, from my work back in January, I remember a different version -- v1.7. Maybe that's what happened -- one of those many updates must have updated the serial port driver in a way that's no longer compatible with Visual Basic.

Easily fixed, right? Just install the old driver. Well, first you have to FIND the old driver. Unfortunately, I did not make a copy of it when I installed it in January. Fortunately, after about 15 minutes of searches, I did find a copy of v1.7. Uninstall, reinstall, and pray that plug-and-play doesn't just go update it all anyway.

Behold, start up N1MM and -- it can talk to the K3! It's now almost 1500z, I've wasted two hours of contesting time fighting with the stupid computer over what was, in reality, a dependency of the N1MM software on a serial communications driver that hasn't been supported by Microsoft for five years now. (All Visual Basic support ended in March 2008)

I need to wean myself off Windows software. If only there were decent contesting software for the Mac. Hmm.

Tuesday, May 28, 2013

160m / 80m Inverted L

Just left and below center you can see the trap hung up on
a branch at around 42 feet.
From the minute I put up the 160m Inverted L, I had planned to add a trap for 80m. First, however, came more radials. With the original four 125 foot radials, the antenna seemed rather quiet, and that should have been a sure sign it was too lossy.

Adding four more 125 foot radials made a big difference. Noise level went up, along with the performance. Eight more 62.5 foot radials followed, for a total of sixteen - eight long and eight short ones. For any antenna with ground-mounted radials, sixteen should be considered the minimal number of radials. At least, for any antenna not mounted near salt-water.

I used this antenna to work and confirm two new countries on 80m phone in the WPX Phone contest. 

OK, so radials are easy. Not cheap, since a 500 foot spool goes for $45 these days. The next step was to add an 80m trap. The easy way to do this is to simply create a resonant trap on the operating frequency and stick it into the antenna by trial and error.

80m trap wound and set up for
trimming, Note the temporary solder
connections with the capacitors.
However, that's not the most efficient. W8JI wrote an excellent article about making efficient trap antennas. Two important lessons from this article: traps work best when they are made from very high-Q components, traps should never be resonant at the operating frequency. 

With my previous 80/40m trap antenna, I had followed half of this advice -- but still used coaxial traps. W8JI found that these traps are much more lossy than those made with discrete components.

And since wire is so expensive, trial and error isn't the best way either. The tricky part about using traps that are not resonant at the operating frequency is that some antenna current flows in all parts of the antenna at all frequencies. This means adjusting one part of the antenna affects the resonance at all frequencies. And while a trap at resonance offers an effectively infinite impedance regardless of the actual values of capacitance or inductance -- off-resonance impedance is definitely affected by the choice of capacitance and inductance.

So, how does one figure out all these variables? Antenna modeling! I used CocoaNEC, developed by Kok Chen W7AY. While it is pretty easy to use the spreadsheet model for very simple wire antennas, I ran into some bugs trying to model trap antennas. After e-mailing Chen, I discovered that Chen recommends the NC interface (a C-like programming language) for modeling, rather than the spreadsheet.

Once I figured out the NC interface, I started to get better results. Then the virtual trial and error part began. Lots of programming, running and bug-fixing later, I had a pretty good idea what was needed to build this antenna.

I found some 100 pF 15 kV ceramic disc caps from Mouser, and used two of them for 200 pF. I used a piece of 3 inch schedule 20 PVC for the coil form. I computed that it would take about eleven and a half turns on this form of close-wound 14 gauge THHN wire. THHN is really designed for house wiring inside a conduit, but it is relatively cheap and easily obtained at your local home improvement store. The wire is secured to the form by drilling 1/8 inch holes through the PVC.

Proper technique for measuring trap
resonant frequency. Note wooden work
surface and nothing metallic nearby.
Unless you have a vector impedance analyzer (and who does?), the easiest way to see if you trap is even close to the right frequency is to use a Grid/Gate/Emitter dip oscillator. Mine is a Heathkit HD-1250. I found it at a hamfest years ago for about $30 including all the coils and carry case. It was modified to add a switch to test the battery condition on the meter, and whoever did the mod did a great job. Only two things wrong with this unit: the lettering around the meter has completely rubbed away, and the foam inside the case to hold the coils down completely disintegrated. (I have never seen a HD-1250 carry case where the foam has held up)

Once you have your trap built, careful technique is necessary to measure the frequency. The coil end of the dip oscillator couples to the trap. Couple too closely, and the trap will pull the oscillator, and it will be difficult to find the exactly frequency. Couple too loosely, and you won't find the dip at all.

I set my trap on a wooden workbench and cleared away everything metal for at least 12 inches around. First, couple the coils very closely to be sure you can find a dip in the meter indications somewhere close to what is expected. Then slowly move the meter away for less and less coupling. The best spot is where you get a good meter indication, but it doesn't pull the oscillator too much -- which you can see as you tune across the dip. From the photo, you can see that the best spot was found with the dip oscillator coil just outside the trap form.

Great -- so you've got a good dip on the meter with the right amount of coupling. What frequency are you on? Good question. Unless your dip oscillator has an output for a frequency counter (another useful mod), the easiest is just to spot the oscillator frequency in a nearby receiver. In reality, the exact frequency of the trap doesn't matter so much, so the dip oscillator dial is probably good enough.

Completed trap ready to install.
I modelled my traps at 3450 kHz, but the trap I built was resonant at around 3350 kHz, which I deemed close enough. I drilled a four more 1/8 inch holes for securing the antenna wire to the trap.

With the trap ready, it's time to install the trap into the antenna. My model told me that the trap should go around 47 and 1/3 feet above the feedpoint. I started at 48 feet and used an MFJ-259 antenna analyzer to spot lowest SWR. About three trims later, I have 44 feet to the trap bringing the low SWR just below 3800 kHz.

Completed trap temporary installed for trimming. No solder
used on the connections yet, just twisted together. Note
how the antenna wire (black) is looped up and back down
the trap. This will hold it securely in place.
The modeling work told me that the 80m frequency wasn't affected terribly by changes to length of the upper portion of the antenna. I did a couple of quick calculations on my phone and cut the upper portion to 67 feet. Low SWR came right in at 1830 kHz. Perfect. 

Using the analyzer, the actual antenna measurements don't exactly match the model. For one thing, the NEC 2 model software assumes perfect grounds, and the actual ground is a bit more lossy. The model shows very sharp resonances, but the antenna measures more broadly -- indicating expected ground losses. 

Using NEC 4 would allow more realistic ground models, but I didn't feel like it was worth the $300 to get a license to it. In any case, the modeling did exactly what I expected -- it guided me to produce a workable antenna design in the field.

How does it play? Works pretty well on 160m still, and I used it in the WPX CW to work another new country on 80m with 100 watts. Of course, it's not the right season for low band work right now, but I think this antenna has promise for next fall.

Of course, I could slip in another trap for 40m. Hmm. Let's fire up that antenna modeling software....