UPDATE: This issue is fixed

This page isn't indexed, but on the off-chance someone stumbles upon it, I should point out that I prepared this in order to document a problem I found. I notified the designer of the HR-50 Amp, Jim Veatch, and within about five hours, he had responded, thanking me, and saying he thought the problem could be fixed by a firmware change. In about 24 hours, he sent me updated firmware which corrected the problem. After I responded that his updated indeed did fix the problem, he told me the fix would be in new shipping units, and the fix would be made available to customers of old units.

This was extraordinarily fast turnaround! Especially considering that this was a fairly minor problem with a very easy workaround.

The fix is in firmware version 3.0E and newer. The problem was discovered in firmware 3.0D.

The rest of this is just a historical document of the process of investigation.


HR 50 Key Clicks issue

Some people in my club got to talking about key clicks, and it prompted me to look into how my own equipment was behaving. After a bit of investigation with a scope, I found an issue with my amplifier, when operating CW at speeds of 20WPM or greater.

Equipment info

I've got a HardRock-50 amp, serial # 1373, with QSK board. It has hardware version F and firmware 3.0D. I'm driving it with an Elecraft KX3, S/N 4299, MCU firmware 02.33 and DSP firmware 01.33. I'm switching the amp via PTT mode, with a homebrew cable between the KX3's ACC2 jack and the amplifier's DE-9 connector. I'm keying the KX3 using a paddle and the KX3's built-in electronic keyer in iambic mode.

Testing results

I connected the amp to a dummy load, to do some measurements. First, I put the scope on the input and output of the amp, and took a shot of a couple of dits at 15 wpm. I scaled the channels so that they had the same relative appearance on the scope, though the output voltage is much higher than the input. CH1, yellow, is the input, CH2, cyan, is the output. I keyed an "S", (3 dits) and set the triggering to capture the 1st and 2nd dits on the screen. The keying waveform looks fantastic, on both the input and output. Notice the nicely tapered envelopes that gently go from zero to full power, and back to zero.


Looks good at 15WPM

It looks just as good up to 18WPM. But around 19 or 20 WPM, something bad starts to happen. It becomes very evident by 25WPM, as seen below.


Clicks at 25WPM

Notice that the first dit has the same nice shape as above. But the second and third dits have poor output shape (cyan). You can see that the ramp is all at low power, as though the input is passing to the output unamplified, and then suddenly the output switches to high power. It's not quite so obvious, but the input waveform (yellow) has an issue, as well. It starts out high, and jumps down a few percent at the same instant when the cyan waveform jumps to its full amplitude.

Looks like the amp is switching on too late, after the dit began.

Could it be that the PTT signal is not telling the amp to switch on soon enough?

I only have a two-channel scope. I'd like to be able to probe the input, output, and PTT line simultaneously, but I can't. So I'll keep channel two (cyan) monitoring the output, and move channel one (yellow) to monitor the PTT line. This is what I see.


PTT line and output

We can see that the PTT line is going low well before the problem dit starts. Notice especially that the time lag between the PTT line going low and the start of the first dit is very nearly exactly the same as the time lag between the PTT line going low and the start of the second dit. But the amp doesn't switch on as quickly for the second dit.

I zoom in on that second dit, both on the horizontal and vertical scales, to get a closer look.


PTT line at 25WPM, zoomed in a bit
For fun, I turned the speed of to 45 WPM, to see what happens:


Clicks at 45wpm
Notice that the timing of all the events between dits seems to be pretty close to identical to what it was at 25WPM. But the duration of the dits themselves is significantly shortened.

Cause?

I dig into the source code, and find the following in functions.c
void setTxOff() {

   // Supress RX (TX_OFF) if RX_delay is active                                 
   if(RX_delay_ms != 0) return;

   txState         = 0;
   TX_OUT          = 0;
   TX_LED          = 0;
   PWR_LED         = 1;
//   lcdFlag         = 1;                                                       
   _50msCount      = 0;
   _10msCount      = 0;

   delay_ms(40);
}

So there is a hardcoded 40 millisecond delay after switching the transmit mode off. During this time, the amplifier will ignore the PTT line and not turn transmit back on under any conditions. And if we look carefully, we see exactly 40 ms (four divisions) between the time when the PTT line goes high and the time when the output switches to high amplitude.

There is a similar 40 ms delay when switching transmit on, but that isn't causing a problem.

Personally, I rarely key over 15 WPM anyway. If I do go fast, I can switch the amp to COR mode. It's not shown here, but my scope tests show excellent keying waveforms using COR mode at all speeds. The COR mode hang time keeps the amp switched on between dits.

But I think there is an issue here which could be addressed.


UPDATE: This issue is fixed

This problem was fixed very quickly. The fix is in firmware version 3.0E and newer. The problem was discovered in firmware 3.0D.

See the top of the page for details.