Showing posts with label Work-Around. Show all posts
Showing posts with label Work-Around. Show all posts

2020-10-25

Intermistic Repair of Low Cost Spectrum Analyzer.

 I purchased a low cost spectrum analyzer from China.

This is the LTDZ spectrum analyzer that covers a frequency range of 35 to 4400MHz, with some limitations. 

The first limitation is that the frequency coverage in a single sweep is limited to 350MHz. This does make the analyzer more cumbersome to use, but id does make it possible to "see" signals up to 4.4GHz, and that I could not do before.

The second limitation lies in the type of detection. The LTDZ uses a direct conversion approach to the frequency making the signal visible twice (no image rejection) in narrow sweeps.

The analyzer does have different "IF" bandwidth settings ranging from 5kHz to 500kHz, so it makes for a fair, but far from excellent, resolution of signals in the low microwave range. I suspect the dynamic range will be the limiting factor for this device, but a good indication of spurious signals is better than none.

The model I purchased has no tracking generator, but it it in a shielded case and it does have a built-in screen and battery, making it a good portable device. Just make sure there are no strong transmitter signals nearby, if you use it with an antenna - another repair job to do. I speak from experience, I destroyed the input mixer of an LTDZ, just by having a hand-held transceiver transmitting nearby. 

On the casing it says that you should have no more than "10dB" at the input. I have to assume this means 10dBm. In any case, the linearity of the mixer is probably not sufficient to make good measurements at this level, I suspect that the maximum input level for decent linearity is probably around -20dBm, but this will have to be tested.

When the device arrived the ON/OFF switch had been destroyed. I decided that, rather than having the hassle of sending the device back to China and wait for a repair, I would change the switch myself. OK, I do not have such a small switch at hand, so a preliminary, "emergency" repair has been done.

The existing switch has been removed, and a larger switch has been connected with two wires to the solder pads of the original switch. The external switch is attached to the outside of the casing, duct tape is such a good invention (if it was good enough for the astronaut on Apollo 13, it must be good enough for me ;) ).

I now have a working LTDZ.

One thing, however may need to be attended to. When it is running, the battery indicator seems to jump from a good battery level, sometimes to a zero battery level. It does not seem to interfere with the functionality, but it is annoying to see the battery indicator show an empty battery periodically.

The missing tracking generator is not a huge loss for two reasons:

I do have a NanoVNA v.2, working from 50kHz to 3GHz, so I can make filter and antenna measurements up to 3GHz. Also, when I get the software installed, I do have a PCB based LTDZ board with a tracking generator and a directional coupler covering 3.5 - 8.8 GHz (Would likely work nicely on 3.4GHz, too), so filter measurements are not a problem on the 3.4GHz band. With an external signal generator and a wideband power meter measurements of filters and antennas should work nicely on 5.7GHz.

I do have a signal generator covering up to 13GHz, and with another directional coupler (that I have) and a wideband power meter, measuring on the 10GHz band is possible.

So, in the not too far future a power meter capable of measuring up to the 10GHz band is in the planning. While I do have a bolometer HP-432A, this is not portable, so measuring antennas will be a bit tricky, therefore I intend to get a digital-readout (logarithmic) power meter up and running, and get it calibrated as well as possible.

Oh, yes, I have collected a few pieces of test equipment in my time, but a bit more is needed, now that I have entered a phase of my life with more time for experimentation. 

2019-12-06

Log Upload Trouble, And A Work-Around Solution.

My Electronic log has been updated with more information. The log now covers:
- All QSOs from 2015 - present
- All VHF-UHF QSOs from I received the license in 1973 till the end of 1980.

More is in the works.

For my logging, I use Linux and the native program called XLog. This is a simple logging program with mostly manual entry. The program runs in the Debian based Ubuntu distribution, which installs a version from 2017 as default. I like the simplicity of entering the data, I find it quite convenient in general use.

Recently I uploaded the present 3000 QSOs in the log to QRZCQ, and I made a registration with eQSL The log file must be uploaded in the (amateur radio) standard format, ADIF, and here the trouble starts.
There are different versions of ADIF, the later ones supporting more operating modes (of course). Recently I started using FT8 quite a bit, I have several hundred QSOs in the log already.
When attempting to upload the log to QRZCQ, however, no FT8 QSOs showed up in the log on the website. What happened (?), I had to find out. Did the website log not support FT8? Not likely, others had entered FT8 QSOs. Here is what happened:

I made a test with a short log file having "old modes" and FT8, and looked at the log file. It is a simple text file, easily visible in a text editor, and the file showed all QSOs, including the FT8 one. No surprise there.
Then I exported the file, and looked at the ADIF file. All QSOs **except** the FT8 one were present in the ADIF format (XML) file. Ah! now I knew why it did not upload the FT8 QSOs. They were simply not there. Why?
The version of XLog I am using is not the latest from the developer. It only supported exports in the ADIF 2.x.x format which does not support FT8. Support for ADIF 3.x.x was needed. That takes some time to enter into the Debian/Ubuntu package repository. This leaves two possible solutions:

- Upgrade the program to the latest version. This would entail compiling the program from source, and make sure that the correct dependencies (software libraries) are there. This can get hairy, as I am not really a Linux wizard.
- Make a work-around to edit the files to get the desired result: Uploading the FT8 QSOs along with all the others. A few hundred of those were already in the log file.

I decided to test the work-around, doing the following:

- Edit the log file (*.xlog) to change the mode from FT8 to something supported by ADIF 2.x.x, and a mode that I am very unlikely to use for amateur radio. I decided to use FAX, since it is a "3-letter mode" just like FT8 (this is relevant, because the ADIF format tags contain the number of characters in the data). Here the text editor and the Search-and-Replace function comes in. I replaced every instance of "FT8" (one in the test file) with "FAX" and opened the file in XLog.
Nice! The file was correctly opened.
- Now the log file had to be exported to the ADIF format. All looks good when opening the file in the text editor, and the "FAX" shows up as the mode.
- Another Search-and-Replace in the file replacing "FAX" with "FT8" in the ADIF file, and saving it with a different name. Now comes the interesting moment, see if it works:
- Uploaded the file to eQSL, and the FT8 QSO showed up as it should do.

- Now the above procedure repeated for the full log file (yes, I backed up every file in the .xlog directory before all this).
Voila ! All the FT8 QSOs show up on the eQSL site, the operation was successful.

What to do in the future, until the XLog program is updated? Rather simple:

- Every FT8 QSO will be entered in the log as using the FAX mode in stead of FT8
- export the file to ADIF when I need to update the online log
- run the text editor on the file, replacing every "FAX" with "FT8"
- upload the file

This is, of course, not an ideal solution, but I can live with it, until the XLog program is upgraded in my Linux distribution.

My log, as it is in electronic form, can now be found on the QRZCQ and eQSL web sites.
I will be working slowly through the entering of old paper logs into the computer log, and make updates to the online logs when new stuff is coming in.

Two things remain in my online logging efforts:

- I will get the eQSL certified
- I need to get my logs on ARRL's Logbook of the World

Further, I may have to find a logging program suitable for entering QSOs made on more than one band, e.g. satellite QSOs and crossband QSOs. In my time I have made a substantial amount of 10m/6m crossband QSOs before we got permits extended to 6m transmitting in most of Europe.

I am, indeed, keeping myself busy, this is a long term project, I expect it to take a year or more. After all, I have to do other things than just typing logs into the computer ;)