Tuesday, March 31, 2009

Schematic for the Step-start

Dennis N2RIT wrote to ask me about the schematic for the Step-start circuit. Well, Dennis, it's pretty simple. I used the design posted by Rich Measures AG6K here. For the AL-80A, I used the +12 volt supply, which is about 15 volts unregulated. The coil of the relay I used is about 360 ohms, so to get the voltage about right, I used a 100 ohm dropping resistor.

I also added a 1n4148 diode across the relay coil to absorb the back EMF when the relay opens. Probably not needed, but it seemed like cheap protection. 

Friday, March 27, 2009

Step-start for the Ameritron AL-80A

For many years, I did not own an amplifier. I ran barefoot at 100 watts. You can work a lot of stations with just 100 watts. When I contest, I generally enjoy competing in the 100 watt category. But, a four years ago, I bought a used amplifier.

It had been owned by one of my fellow contest club members, K4GA. I didn't know Archie that well, aside from the e-mails we exchanged on the club reflector. After he passed away, his widow wanted his radio equipment to find a good home. I made an offer on the amplifier, and it was mine.

K4BAI later told me that this Amplifier had a bad trip to Barbados once -- it had been damaged in shipping, but had been repaired by insurance. When I got it, it needed a little TLC. The cover was on backwards, and several of the cover screws were missing. The meter switch had been replaced with one that had a shaft about an inch too long. 

I fixed the meter switch with a few minutes work with a hacksaw. I bought all new screws and put the cover on the right way. The meter reading for the high-voltage was a bit low -- this turned out to be a problem with one of the divider resistors. I had much higher-quality replacements in my junk box. That fixed, the meter for high voltage read exactly as it should. The open-frame antenna relay would sometimes leave the receiver antenna disconnected. This was easily taken care of with a little contact cleaner.

This amplifier has given good service in the last four years. I've used it pretty heavily in RTTY contests, running about 400-500 watts out. I've had only a couple of complaints.

One was the jarring THUMP that would sound when I switched the power on. It didn't happen every time, but often. All that inrush current couldn't be good for the power supply components. It didn't take long to figure out I needed a step-start circuit.

Step-start is simple. Low-value resistors are placed on the main power leads. They limit the inrush current when the unit is switched on. Once the capacitors charge to a certain point, the resistors are shorted out by a relay. For the AL-80A, this is easily accomplished with two 10-ohm 10-watt resistors. Selecting the relay was a little trickier. I found a nice 12 volt relay, an Omron G2RL-24. This is a DPDT relay with contacts that can carry 8A at 250 volts. This sealed relay was only about $3.00 from Mouser Electronics. 

I designed a simple circuit board for this project. It was also my first experience with TEC-200 film. The first
 version of the board didn't come out too well, as I tried to flood-fill to leave as much copper in place as possible. The result was pretty ugly, because all that toner didn't stick well to the board. I probably didn't have the heat setting right. I redesigned the board without the flood-fill, and I also beefed up the size of all the traces. Getting the TEC-200 film to transfer the toner with just an iron is going to take more practice, but I'm pleased with the results.

Note from the design -- I layed out this board in 2007, but I didn't get a chance to build it until recently. I will admit that I drilled some of the component holes a little large. I'll have to remember to use the smallest of my numbered drill bits next time I make a circuit board.

The one nice thing about designing your own board -- it's guaranteed to fit your parts. There's only five components on this board, and it goes together with a few minutes of soldering.

Getting the board in the AL-80A took more doing. For one thing, it is heavy. Moving it around is not easy, and must be done with great care to avoid damage to the amplifier and also to myself.

The next problem was getting in to wire the board up. The power connections are on a barrier strip that's close to the power transformer. Fortunately, one can remove the screws and unsolder a few connections and the back panel lays down flat. 

Figuring out how to connect the board was tricky. Like I said, this AL-80A had a bad trip to Barbados. The original transformer had been replaced with an AL-80BX transformer -- which also has buck/boost windings. 

I ended up hooking the board from the connections from the fuses to the barrier strip. 12 volt power from the auxiliary jack drives the relay. 

While I had the amplifier open on the workbench, I also added a glitch resistor to the B- lead from the rectifier stack. This is a 10-ohm 20-watt resistor. If the tube were to become gassy and short out, the glitch resistor will help dissipate the energy stored in the capacitor bank. I borrowed a couple of unused lands on the rectifier board in order to mount the glitch resistor.

Buttoning it all back up, then came the smoke test. Fortunately, I kept the smoke in. Step-start works great. No more loud thump.

Tuesday, March 17, 2009

The Tribander Experience

Most hams start off on HF with modest antennas. Perhaps a simple wire dipole, or maybe a trap vertical. These simple antennas can work, and often work well -- when installed at the proper height and with the appropriate number of radials, respectively.

But those starting off often don't have the experience to do things quite right. My first ham antenna was a simple 40m inverted V -- it followed the roofline of the house on 6" standoffs. The apex was all of 25 feet up -- and the ends were only a couple of dozen inches from the ground. It worked, but not well. With the 50 or so watts I coaxed out of my novice rig, it did OK. I also tried various dipoles strung between trees and buildings, random wires, even a vertical made out of a slinky.

Anyone who uses these simple antennas often dreams of something better. I thought that the guys with the tribander at 50 feet had the high-end installations.

When I bought my own house, I wanted to put up some good antennas. First was a 300 foot longwire at about 15 feet high. Fed with an L-network, it could load up on all bands -- even 160m. It did not work well. For a while, I used a "Loop Skywire" -- a 80m full wavelength loop positioned horizontally. This was about 15 feet up -- just barely higher than the longwire. It worked OK, certainly better than the longwire. But really, none of these were any better than my novice antennas.

Somewhere along the line -- I had an epiphany: for horizontal antennas, the most important single dimension was the height above ground in wavelengths. I built an 80m dipole and got it up in the trees about 45 feet high. This antenna worked great -- much better than the Loop Skywire -- and it only required two supports instead of four.

I eventually put up a beam. First was a Butternut HF4B. It was mounted on a roof tower at a height of about 35 feet (10m). Certainly not optimal for a tribander. I eventually replaced the HF4B with a Cushcraft A3S. I've written about this antenna before -- it is probably one of the best of the small trapped tribanders.

When I moved to my current QTH, I decided not to repeat the roof tower experience. It took nearly seven years before I could save up enough to put up the tower. In the meantime, I used a number of dipoles at successively higher heights, a trapped vertical (the Cushcraft R7000), and even a couple of two-element delta-loop wire beams in the attic for 15 and 10m.

During this time, I had the fortune of being able to guest op at W4AN's superstation near Dahlonegah, GA. NQ4I also invited me to come and operate at his Multi-Multi station. These stations have multiple mono-banders for each band, often at heights much greater than your typical tribander-at-50-feet, and many times stacked mono-banders to certain areas. Operating at a super-station is pretty amazing.

Moving from a simple dipole or vertical to a tribander is an eye-opening experience. With a tribander, the band opens earlier, stays open longer, you have directivity that can bring stations out of the noise or null out unwanted signals. Bands you thought were dead come alive with signals. Pileups that were too big and crowded with a dipole are easily busted with the tribander.

It's curious that going from the tribander to monobanders or even stacked monobanders isn't as dramatic as the shift from a dipole to a tribander. Using a monobander or stacks is much like the tribander, only better. It isn't a sea-change.

Not every ham can afford towers and stacks, but every ham interested in HF ought to consider putting up a modest tower with a tribander. It will make a huge difference.

Tuesday, March 3, 2009

Amateur Receivers circa 1950s

I recently read with some interest K2TQN's column about the HBR Receiver in the February issue of QST. I had never heard about this receiver until this column -- this design likely pre-dates my involvement in amateur radio by 10-15 years. 

When I got into ham radio in the early 1970s, the transceiver was beginning to come of age. In the 1960s, SSB had replaced AM as the primary mode for voice operation. Transmitters and receivers for SSB have many of the same circuits -- so it made sense to share these in a single box. Before then, most hams had separate transmitters and receivers.

Looking at the HBR receiver stage descriptions, the basic design seems foreign to our modern designs. Selectivity is provided by high-Q LC circuits in the low-frequency IF near 100 kHz. But such a low IF frequency wouldn't result in very good image rejection, so a first IF near 1700 kHz comes first. 

Now, in the 1950s and 1960s, the amateur bands were simpler. 160m was covered up with strong LORAN A signals and was virtually unusable. The 30, 17 and 12m bands hadn't been invented yet. So, most radios only needed to cover five bands. The HBR accomplishes this through plug-in coils. 

From a modern view, the lack of bandswitching and sharp IF filtering stand out. It's hard to imagine changing bands by opening up the top cover and swapping out coils -- particularly when a couple of them have potentially dangerous plate voltages on them. Perhaps a band switch was something of a luxury.

The IF filtering confuses me. My little 40m receiver has excellent IF selectivity from just four crystals. Hams in the 1950s could have built ladder filters in their receivers using crystals from 2-10 MHz. Although, I'm not sure the ladder filter design was invented until the 1970s. Perhaps the cost of the crystals was prohibitive -- crystals are often expensive, even today.

In the same issue of QST, there was a reference to an all-transistor receiver design by W2TGP. I looked up the article in the ARRL archive. It was very odd to see a rig using all PNP transistors, especially with a +12 volt supply. (The power goes to the emitters, and the collectors connect to ground -- somewhat opposite of today's convention)

Other than the use of transistors, the design is a curious mix of older and modern elements. The rig is small, so there's plenty of room for a bandswitch for five bands. Selectivity comes from a 455 kHz mechanical filter --  455 kHz is a bit low for good image rejection, so the first IF is around 2000 kHz. 

This transistor receiver likely outperformed the HBR in terms of selectivity, but the HBR likely had better dynamic range. The single-ended mixers of the 1950s can't hold a candle to even simple Gilbert-cell mixers today.


Wednesday, February 18, 2009

Campground Rule for Modifying Code

Dealing with other people's code challenges most software developers. If you program professionally, you can't avoid it. Any project of reasonable size requires multiple developers, meaning someone other than just you. Even if you only deal with your own code, it may look different to you later. At one job, I remember looking at something thinking, "who wrote this?" -- only to find in the comments that it was me, about 10 years earlier.

Code that has been in use for any length of time tends to rot. Design decisions that made a heck of a lot of sense five or ten years ago, when machines were less powerful and memory more expensive, seem silly -- perhaps wrong. As revision after revision is piled on, it tends to make a mess. Add to this the hands of a hundred programmers -- each one knowing the one true way to write code -- and a lot of code tends to become a hopeless jumble.

Worse, that hopeless jumble is tested and works. 

As Joel Spolsky explained, modifying existing code has two dangers. First, code is hard to read, and that hopeless jumble you're trying to enhance already does things that you won't understand without a lot of work. Second, the more you alter the code, the more you'll have to retest to ensure you haven't broken the existing functionality.

Now, if you are lucky enough to have a full suite of unit tests, then you can let yourself go wild and refactor with the assurance that the unit tests will catch any errors. But this is old, revised code. Even if you have unit tests, they probably are out of date or perhaps they no longer work.

One thing that I remember from Boy Scouts -- you have to have the right attitude toward camping. Ideally, you should leave a campsite without any evidence that you had been there. That's probably not possible. But our scoutmasters had  a simple for us to follow: always leave the campsite cleaner than when you arrived. 

This rule applies equally well to code. No matter how badly some bit of code has been abused in the past, you can always have it leave your hands in better shape than when it arrived. If the code needs comments, add them. As you figure out how something works or some obscure requirement that's buried in the code -- note it for future programers. 

If the code has a jumble of if-statements, and you can restructure it to be more clear, do so. If you find dead code, eliminate it. Just be ready to test it fully before you leave it for the next developer. No matter how much you temper your changes, you can always do something to improve the code for the next guy.

And if everyone did this, we'd have fewer hopeless jumbles.

Sunday, February 15, 2009

Your Novice Accent, Revisited

UPDATE 6/16/2017 - The original link for Your Novice Accident (and What to Do about It) below is now returning a 404 error. I found another reference to it here.

When I received my Novice license back in 1975, the ARRL sent me a little pamplet on the proper procedures for CW operating. It was a reprint of an article by Keith S. Williams, W6DTY from the November 1956 issue of QST: Your Novice Accent (and What to Do about It). I read it many times before I had a transmitter on the air. I'd heard some of the poor operating practices that W6DTY noted. Even in 1975, things had changed somewhat since W6DTY penned that article. Still, it was a great resource for proper operating procedures and helpful operating tips.

The Novice bands of the 1970s, 80s and early 90s were hotbeds of slow speed CW activity. Any time of the day, and most of the night, you could find QSOs in progress in the 80 and 40m Novice bands. By the 1990s, things had changed, and the code-less Technician class became the preferred entry into the hobby.

Today, the Novice bands are no longer -- and new CW operators are thrown into the mainstream, as they were in the 1940s. Although it's harder to find slow-speed QSOs on the bands to copy, and many of the operating procedures have changed. Perhaps it is time to revisit Your Novice Accent.

International Morse code is just as much a language today, although the dialect has changed. The old procedures came about from the operating practices in the 1930s, when most stations were crystal controlled. It's hard to imagine today, but a typical contact might take place between two stations who were many kHz (well, kc in those days) apart. With only a handful of crystals, hams would work across the entire band.

The Novice license originally required crystal-controlled transmitters, from the early 1950s until 1972. Most Novices in this era likely had only one or two crystals for each band. (if they were lucky)

Today's operating is almost entirely simplex -- the two stations transmit on almost exactly the same frequency. Certain types of DX and contest operation end up being split in frequency, but split is the exception.

Tune Around

W6DTY's first bit of advice -- tune around and listen. This is great advice today, but for different reasons. Of course, we no longer wait for the filaments to warm up -- solid state rigs are ready to go when switched on. We still tend not to listen much -- tuning around the band will give you an idea of what is happening. I once worked ZL4PW during a very short opening around midnight local on 30m, just from tuning around.

W6DTY advises to answer another CQ rather than adding your own. Tuning around should let you find anyone calling CQ. Given th elower activity levels on today's CW bands, often a CQ or two would be welcome -- many times the bands are open, but no one is transmitting.

If you do CQ, it's no longer expect for you to tune around many kHz for an answer. Crystal control is no longer the norm, so it is OK to expect an answer on or about your frequency. Tuning a kHz on either side of your frequency should be more than sufficient.

Calling & Answering a CQ

The form of a CQ has changed a little bit from the 1950s. While the basic three by three still applies, there's no reason to repeat this three times. Instead, the basic three by three can be interspersed with periods of listening:

CQ CQ CQ DE AA4LR AA4LR AA4LR K
... listening ...
CQ CQ CQ DE AA4LR AA4LR AA4LR K
... listening ...

Listening periods are short, just a few seconds. These short listening periods allow another station to respond without having to wait a long time.

During a contest, this process might be even more abbreviated:

CQ TEST AA4LR
... listening ...
CQ TEST AA4LR
... listening ...

Notice that we have entirely dispensed with prosigns -- the DE and K are implied.

Answering a CQ is also simplified. There's no need to repeat the CQing station's call three times. After all, he's not going to have to tune around to find you -- you should be calling close to his frequency. You still must decide how many times to send your own call. If conditions are good, once might be enough. In more marginal conditions, two or three times may be more appropriate:

AA4LR DE W1YM W1YM

(Note we've omitted the prosign AR) Quite often, operators dispense with the CQing station's call and the DE prosign altogether -- answering stations simply send their own callsign once or twice, and listen for a response.

The DE prosign is most properly used to  separate the called station's callsign from the caller's callsign. If you are just sending your own callsign, there's no reason to send DE.

Making QSOs

The structure of a beginning QSO hasn't changed in 50 years. We still send RST, QTH and Name, and pretty much in that order:

W1YM DE AA4LR R TNX FER CALL BT UR RST 579 579 IN LOGANVILLE GA LOGANVILLE GA BT NAME BILL BILL BT RIG HR ... etc

Prosigns &  Abbreviations

While many of the formal procedures have been dropped for brevity, we still use abbreviations for the same reason. The ES prosign is actually an old American Morse character for the and symbol (&).

W6DTY's advice about using the BT prosign as a separator of thoughts and ideas is still sound today, as well as avoiding the period and comma.

HW? is typically used today. I can't say that I've heard WATSA? recently.

Most operators today dispense with sending the AR before signing over. They simply sign over:

... BT HW? W1YM DE AA4LR K

The prosign KN seems to get more abuse than any other. It was all too commonly used on the Novice bands, and is much less common today. There's probably no need to use KN in ordinary QSOs. Just use K.

The prosign VA appears today as SK (it's the same prosign -- didididadidah, we just abbreviate it differently). Since the use of AR has diminished, SK more frequently appears as a substitute for K.

W6DTY's advice on the proper use of the R prosign is dead-on today. And, I have encountered a few operators who fall into the deadly silences. I hope I don't do that.

Sloppy sending is still around 50 years later. Although you do hear quite a bit of precise, computer-generated CW these days. It's a pleasure to listen to. Practicing sending before getting on the air is great advice today. Be sure you can handle the key or paddles with confidence. 

CW remains great fun, even 50 years later. There's a timeless quality about it -- it never gets old.

Saturday, January 31, 2009

My Novice Story

Seeing a link to the Novice Historical Society, I thought I would write my own Novice Story.

My start in radio was pretty conventional. If you have ever read So You Want To Be A Ham, the conventional entry in amateur radio comes after being a short-wave listener (SWL). You encounter other hams talking on the air, and eventually discover you can do more than just listen. Up until the widespread adoption of SSB, this was perhaps the most popular technique for discovering amateur radio.

I got started through my brother Ben (now NJ8J). Ben is five years older than I, and my mother always joked that I wanted to do everything he did. (And she was surprised when I often could) Christmas 1969 found us with our grandparents, and my Uncle Frank didn't know what to give us boys. He ended up getting Ben a Radio Shack Science Fair Globe Patrol receiver. This was a three transistor regenerative receiver, with AM broadcast and short wave bands. Frank, Ben and Dad built it, and my Grandfather had to step in and troubleshoot it (one reverse connected diode was enough to keep it from working).

Unfortunately for Frank, that was to be his last Christmas, he die tragically in April 1970, just short of age 25. But that little radio started something for both of us. Next Christmas, our parents bought us each Heathkit short-wave radios. Ben received a GR-64, and I a GR-81. We quickly became avid radio listeners.

The GR-81 wasn't that great on short-wave, so I initially concentrated a lot of AM broadcast DXing. (Best DX was WOAI in San Antonio, TX from Fairmont, WV) Ben took to listening to more short-wave broadcast, and he quickly found the ham bands as well. Ben had learned morse code in scouts, so he was "reading the mail" on the CW bands as well.

I had tried to learn morse, and about age 14, I had convinced myself that I was just one of those people who were incapable of mastering it. Then something amazing happened. Ben got his Novice license in February 1975. Of course, I always had to do everything he did, so naturally, I started to learn the code again. I bought and built a Heathkit HR-10B, and I began to practice by listening to W1AW and the Novice bands. By November 1975, I passed my Novice license, and was WN8WOY.

Getting licensed was one trick, actually getting on the air was another. By this time, I had realised that the HR-10B was not a great receiver for CW work -- the IF response was just too wide. Using money from my paper route, I bought a used Heathkit SB-301. The difference between the two receivers was amazing. You really could listen to just one signal -- especially after I bought the 400 Hz CW crystal filter.

The SB-301 kinda broke my budget for a few months, so it wasn't until June 1976 that I could afford a transmitter, in the form of a used Heathkit SB-401. Thus, I had the matching pair of Heathkit SB-series twins. Novices were no longer limited to crystal control, so the SB-401 wasn't a bad choice.

One problem being a Novice in those days -- you were limited to 75 watts power input to the final amplifier. The SB-401 could do about 180 watts, so I removed one tube and operated that way. During that summer, the FCC changed the rules to allow Novices up to 200 watts PEP output. Of course, I didn't find out about this until the fall. The FCC also decide to drop the distinctive Novice callsigns, so in the fall of 1976, I was now WB8WOY.

The summer of 1976, I did a fair amount of operating -- a handful of contacts every day. Mostly 40m, some 80m, and a few 15m. My antenna at first was a 40m inverted-V that was mounted on standoffs just underneath the eves of the house. The ends were within about a couple of feet of the ground, so this antenna really didn't work well. I also build a small L-network tuner for the long-wire I used for SWLing for use on 80m. It didn't work well, either. 

The Novice bands in the 1970s and even 80s were very different from today. Today, most evenings you could tune the CW bands and fail to hear more than a few CW QSOs, and none of them at slow speed. (Of course, if there's a contest or DXpedition active on a weekend, you'll hear lots of activity) Then, the Novice bands were a hotbed of activity, with slow speed QSOs going on all the time, every day.

In a year and a half on the air, before my Novice license expired, I made about 210 QSOs. That experience made a lasting impression on me. When I got my General class license in the summer of 1979, I often found myself operating in the Novice bands.