VHF locator database

One of my projects on this site is a program to create a locator database for various contest programs. The project is already from 2011, but it is still in use and there are some new things.

Ralf in Contest

This article is mainly for radio amateurs interested in contesting. For the uninitiated reader here is a short introduction what this is all about.

In VHF amateur radio, the aim of contests is to make as many connections as possible over as long distances as possible within the contest time (24h). In the final result the bridged kilometers are added up. Each connection consists of the exchange of a serial number and the locator – the GPS position in Maidenhead format. The connection is recorded by a special program (contest log program, common are mainly WinContest, Win-Test and the N1MM logger) and the results are uploaded for comparison. There the sequence number and also the Locator must be correct, otherwise the connection is not evaluated. In addition, we usually use antennas with high directivity on these frequencies. If you have fished a callsign out of the noise, it is quite useful to know the location of the antenna in order to turn it correctly. Besides, you don’t need to spend so much time for a connection with a station 50km away in the valley, while the effort for a station 500km away is already worthwhile. In other words, there are several reasons to have a database in the contest with callsigns and the locator usually used by the station. The creation of this database is what this is all about.

Recently the DARC server, where the results of the contests are published, makes all submitted logs available for inspection. It takes a bit of brain power to download them all automatically, but in principle the info is public. This gives now completely new possibilities to create an own locator database. Driven by these new perspectives, I have reworked my program from 2011 and provide the new version on the project page.

Most important new features:

It is now possible to use multiple directories of data (e.g. competition log files or results lists). This makes it easier to separate different data sources and, if necessary, create customized databases from different sources for different competitions. For example, many stations use different sites in March and November due to limited mobile activity on mountain tops.

Logs can in principle contain errors and extraneous logs are beyond control anyway. However, with the amount of data now available, the program can detect errors statistically. This has been improved and will certainly be further improved in future versions.

The program can be downloaded from the project page.
If you are looking for suitable data sources, please feel free to contact me.

Since a good database is a competitive advantage in the market, I will not make the finished databases freely available here 😉

Posted in Allgemein | Leave a comment

China Gadget: 35MHz – 4.4 GHz LTDZ Spectrum Analyzer

In VHF contests, the question sometimes arises of how far I can drive my power amplifier without causing too much interference. In Ilmenau, we have many stations in a relatively small area, and we don’t want to interfere with each other unnecessarily. The other recurring question when setting up for the contest: Does my transverter on the mast transmit anything at all?

For both problems a small spectrum analyzer is the ideal instrument. A spectrum analyzer is a measuring instrument that scans an adjustable frequency range and plots the measurable field strengths as a graph. Possible peaks can then be measured in their size and the exact frequency. Spectrum analyzers were expensive professional equipment in the 10k€++ price segment years ago. Now there are several types between 30 and 500 € on AliExpress. Yes, our Chinese…

At my friend Jens, DH1AKY, I saw the Tiny Spectrum Analyzer, which goes from 100 kHz to 350 MHz and has a 2.5″ display. A nice thing, but I wanted a bigger display and if possible also cover our transverters in the 13cm and 9cm band, so see something up to about 3.5 GHz.

So I spontaneously decided to order a no-name 35 MHz – 4.4 GHz spectrum analyzer at AliExpress, which was offered there by many dealers in the price range of 40 – 150 €. So for a total of 50,-€ such a copy landed with me.

 

In the package was the hand-sized spectrum analyzer and surprisingly a small rubber  antenna. Nothing else, also no manual.

So I connected it to a USB charger (USB-C) and charged the internal battery.

In the meantime, you can take a look at what kind of antenna this is. So this plugged into my nano VNA. All matching SMA.

Note the yellow curve, which makes a clear dip at about 148 MHz.

Aha, so this is obviously an antenna for PMR-446 walki-talkies. More suitable would have been a wideband antenna, which I have to order for a few Eur when I get the chance. But for the first use of the part, the PMR antenna is a nice gimick.

Technics

The missing manual is not a big problem at first. Men seldom read manuals anyway 😉 and you quickly get to know how things work when playing with the device.

The Spektrum Analyzer does not have a touchscreen, everything is operated via the rotary/push button on the side. Sometimes this is a bit awkward, but it works. The functionality is also not really big:

  • Start/Stop scanning
  • Start frequency
  • Bandwidth
  • Offset and gain

The first unpleasant thing to notice is that the span (swept frequency range) or the stop frequency results from the set bandwidth. The smaller the bandwidth, the smaller the span. I can understand the principle behind it, there are exactly 700 points on the display and the step size is just so that each display point is a measuring point. This keeps the refresh rate constant at about 800ms. But I still think this is much too short thought, with a little more programming effort, this could have been made nicer and more useful. This is so typical Chinaware. A German engineer would have invested more, before such a thing is let loose on mankind (I say now, as a German engineer 😉 ).

It’s not immediately obvious, but the manual reveals that the “Magnification” and Offset settings directly change the calibration of the device. The calibration is hardly credible anyway with the mini hardware and the giant frequency range. Who needs it, however, has the possibility to provide defined ratios here even for the interested frequency range via a known attenuator (and depending on the requirement of a known calibrated signal source). Practical consequence is however that one cannot simply magnify a weak signal out (see below), without adjusting the calibration. In my opinion, an instrument calibration also does not belong in the first menu level (but there is only one here).

So, as in the X-axis, a zoom option has been forgotten in the Y-axis as well. As a software engineer, who has to deal with similar things every day, I grab my head. The uninitiated hobbyist (I can’t call this anything else) has saved the entire abstraction layer for the representation of the data. Eh, this is not a hobby project (or is it?), the part is obviously mass produced.

First Tests

As a test device I took my Baofeng UV-5 dual-band walkie-talkie.

Great, you can see the transmission frequency as a clear spike (see first picture). The part works in principle. But the width of the spike seems visually too large. The set bandwidth of 100kHz is not plausible. More about this below. Probably the power of the PMR antenna on the 70cm band is too high due to the walkie-talkie next to it. However, this is all less bad in principle.

 

Much more unpleasant: When my Baofeng transmits in the 70cm band, I see needles on the spectrum analyzer even at about 150MHz. Should the Baofeng produce such spurious emissions there? That would be pretty cheeky.

So let’s compare it with a real spectrum analyzer of the 20k€ class, a Rhode&Schwarz FSL. There is nothing to see at 150 MHz. So the culprit is the small spectrum analyzer, which obviously sees some kind of mirror frequencies here. That is now really unpleasantly, although with the cheap hardware now not so unexpectedly. I was allowed to spend a beer evening with the developer of the FSL input part at the beer table at the Ham-Radio fair 🙂 In any case, I can say that the effort here is on a several orders of magnitude different level. In this respect, the expectations of the Chinese miracle should be kept very low, but it is still unattractive.

 

Next try, I want to see my IC-9700 with my Yagi on the roof transmitting on 144MHz. For this I first take an antenna resonant on 144 MHz for the spectrum analyzer. Nevertheless I see only a very timid peak. So the part is quite insensitive, which is almost clear.

To see something nevertheless, one can increase the “Magnification” in the menu (see above). In other words, turn up the digital gain. Unfortunately, this also moves the noise level. I.e. the signal disappears completely from the screen. With the offset settings you can get the signal back. With a little bit of persistence you can get the transmit signal of the IC-9700.

Again annoying at this point is that the software makes it so hard for you by complete lack of any inherent intelligence. It would be quite possible to adjust the offset automatically and only change the scale accordingly. Then you could easily adjust the sensitivity of the device to the conditions via the magnification.

Deeper internal inspection

This spectrum analyzer is also sold as a bare PCB without case, display and battery. There is also a reference to a Windows software for use, but I have not yet found and thus not yet tested. The PCB and the manual (Google search: “ltdz spectrum analyzer manual”) give some insight into the internals.

The core of the spectrum analyzer is an ST microprocessor with ARM core. This controls the tracking generator, an ADF4351, which specifies the usable frequency range of 35 – 4400 MHz. Apparently there is no input amplifier, the input signal and the tracking generator meet directly at a mixer. Behind the mixer sits a detector and after that an AD-converter. The specified 90dB dynamic range fits well with a 16-bit ADC. According to the manual, the detector should have a fixed bandwidth of 500 kHz.

Due to the price, one has to live with the following disadvantages:

– The missing input amplifier makes the spectrum analyzer quite deaf. The manual points out to connect an external amplifier if necessary. These are also available for little money, but in portable field use this might be rather uncomfortable. But for fixed applications you could build something together with a suitable antenna.

– Of course there is no switchable attenuator, which would be useful for strong signals.

– On the hardware side, there is only a fixed bandwidth of the detector of 500kHz. The software adjustable lower levels are not supported in the hardware. Possibly the above described backlash frequency problem is caused by this. In any case the peak of the Baofeng which appears too wide. In expensive commercial spectrum analyzers one drives an unimaginably larger expenditure at this point.

– Of course all measures to compensate the frequency response of the analog circuit are missing. A little bit is compensated by software, the parameters available for this in the menu are described very rudimentary.

Summary

These were the impressions of a first quite short test. With time, you will probably warm up to it even better and what it brings for the actually intended application, you have to see first.

I haven’t searched and tried the PC software yet. That will surely come.

For 50,-€ you should not ask too much and first the spectrum analyzer is also a great toy. The hardware is really minimalistic. That is first for the price OK, but for the double money one could have gotten the tenfold use out. The software, however, is on a dilettante level and disappoints at several points. That is really annoying. Maybe it will improve. Theoretically, the ST processor should be able to be updated, but it is completely unclear whether anything will follow.

Therefore, I don’t recommend buying it, but I don’t know if there is anything better in the cheap class that would cover my use case.

Should someone still decide to buy it: This spectrum analyzer is offered by many Chinese dealers in many versions (bare PCB, device without and with battery, possibly with different accessories). You have to be very careful. The same version as described here but WITHOUT battery I have also seen for twice the price.

Posted in Amateurfunk, Testberichte | 1 Comment

Solar eclipse 2021

The last solar eclipse in 2015 has been announced very loud by all public media. This time there was nearly nothing to hear and to read about this upcoming event. Only a very short sentence in the morning news has point me to that.

At 13:37 o’clock local time we had the largest covering of the sun. Less intense as 2015, but always nice.

Looking deeper into the image we can see a sun spot group. The solar activity is yet weak at the moment. We ham radio operators are waiting for coming much more.

My self made filter from 2015 I luckily found in my stored equipment. Following are two pictures from the making of.

In 2015 I had tested different versions of filtering. I found that only this cap like filter construction works. If there is even the smallest gap for the sun to come unfiltered into the lens, the reflections inside the lens will prevent any acceptable image.

Posted in Foto | Leave a comment

Xiaomi Mi A1 GPS Problem

My mobile phone, the Xiaomi Mi A1, is no longer one of the current models, but it works great and still receives the latest security updates. Well, a few months ago the GPS was a bit weak. It got worse and worse and then stopped working completely. After a short time (and some panic) it worked again. A few months later it started again, while jogging in the forest it got worse and worse, then it stopped working again.

The first time the search on the Internet did not yield anything, now the forums are full of this problem. Anyway, you are not alone, comforting enough, but I still haven’t found a solution. The answers are rich but all very confused.

The symptom doesn’t look like a software problem, nor does it look like a hard circuit or wire defect. The error is not sudden enough. Therefore from the beginning I suspected a plug or contact problem. In a forum I read that someone changed the battery and since then his GPS has been working again.

So I opened the phone. You need a suitable Micro-Torx for the screws next to the USB socket and a plastic lever to push the two shells of the case apart. I didn’t have one and used an old German Bahncard. It has Credit card size but is softer and tougher than a credit card and worked quite well. On YouTube there are a number of videos showing the disassembly, just search for “Mi A1 battery change” or “Mi A1 disassembly”.

But after disassembling you won’t see anything that points to a GPS module or antenna. A closer inspection shows that the antennas are obviously glued to the back of the disassembled cover and are contacted by small spring contacts on silver contact surfaces. You can also clearly see the impressions of the contact springs on the contact surfaces. This seems to be the problem. The silver contact surfaces on the inside of the lid corrode over time or (less likely) the springs rub the contact surfaces away. Also realistic: Over time, the springs press themselves into the contact foil, so that the foil is pushed away and the spring tension is no longer sufficient for contact. In any case, the indentations are clearly visible. Whatever the cause: GPS doesn’t work anymore because of the contact problems between body and lid.


A1 with cover removed: The contact surfaces are clearly visible in the cover.


Detail: Left are the contact springs, right the corresponding contact surfaces in the cover.

I cleaned the contacts with a fiberglass brush (both sides, springs and contact surfaces), tighten a bit the springs and reassembled the phone.

And the GPS works again. The whole action took 10 minutes and the most difficult part was the pushing apart of the two halves of the case with the Bahncard. Let’s see how long that lasts.

Posted in Allgemein | 8 Comments

Lost Places: Glaswerk Ilmenau, Teil 2, Neubau

Sorry, this entry is only available in Deutsch.

Der Altbau beherbergte einst die Glasrohrzuglinie, eine Mitte/Ende der 80er Jahre aus Japan importierte Fertigungslinie für technische Glasrohre. Damals war sie sicher eine der modernsten der Welt. Die Produktion im Altbau steht nun schon seit vielen Jahren still. Teilweise wurde die riesige Halle als Lager und Garage benutzt.

Jetzt: großes Abstelllager 

Diese Rohre wurden hier u.a. hergestellt:

Rohre aus TGI-Produktion 

Für uns überraschenderweise befindet sich in der Halle aber auch noch große Teile einer ehemaligen Glasanlage, einschließlich der Wannen. Die farbige Kennzeichnung der Rohre verleiht dem Ganzen fast schon dem Charme einer Fisher-Price-Spielwelt.

Reste einer kompletten Glasanlage 

Einige der Sachen muten dabei echt an, wie mitten im Betrieb stehen gelassen und gegangen. Für Lost-Places Fans eine wahre Freude… Unvorstellbar.

wunderbar, bleifreies Glas 😉 

Daneben sieht man aber auch, dass offensichtlich die Spinde schon lange keiner mehr benutzt hat und die Natur sich ihren Raum selbst in einer Halle wieder zurück holt:

Die Natur holt sich irgendwann alles wieder 

Witziges Detail, hier ist echt keiner mehr zu Hause

wirklich keiner mehr da 

Im Obergeschoß gab es auch noch ein paar echte Perlen zu heben. Z.B. das IT Lager mit mehreren MC-80, 8-bit Computer aus dem Beginn der PC-Zeit. Ich hatte den zu Beginn meines Studiums 1986 noch benutzt, obwohl er schon da nicht mehr ganz auf der Höhe der Zeit war. Datenkasetten waren auch noch da, siehe in der Galerie unten.

MC-80, einer meiner ersten Computer an der Uni. 1986 🙂 

Und wie zu besten Basterzeiten, das Elektronik-Ersatzteillager. Da lacht mein Herz.

Elektronik-Ersatzteillager 

Allerdings stimmt die Beschriftung der Fächer nicht mehr so ganz, SZX18/xx waren große Zenerdioden, aber da liegen Leistungstransistoren. Müsste mal wieder aufgeräumt werden.

Noch viele schöne Bilder gibt es in der Galerie. Ich bin aber noch nicht dazu gekommen, alle mit einer erklärenden Bildunterschrift zu versehen. Lasst einfach den optischen Eindruck wirken:

Posted in Foto | 5 Comments