23 mai 2021

XIEGU G90 - ATU problems

Some considerations about Xiegu G90 internal ATU tuning problems.


1. The ATU is a "relay" based.

2. The ATU is driven by the Main Unit MCU STM32F429.

3. The mismatch (SWR ratio) is measured with a Bruener phase compensated bridge, like the one in this picture (too lazy to draw it myself): 



Here is a picture of the SWR bridge from the Xiegu G90:


The outputs of the bridge are fed into a dual OpAmp then sent to the MCU ADC where the values are used to calculate the SWR that is used to find the match solution and it is also sent via UART to the Front Panel MCU to be displayed on the LCD.

4. In some FW versions the ATU seems to do a better job in matching various non-resonant antennas. FW revisions that use high RF power gave more accurate matching solutions than those that uses low RF power.

5. How the tuning sequence is done (in a simplified and presumable description): 
    Frequency is stored in EEPROM;
    -LC relay configuration is stored in EEPROM;
    -SAMPLE(Direct and Reflected are sampled);
    -oldSWR is calculated; oldSWR is stored in EEPROM;
    -change is applied to LC relay configuration;
    -SAMPLE;
    -newSWR is calculated;newSWR is stored;
    -newSWR is compared with oldSWR; decision is made upon this (continue or stop finding a match solution).


In high quality "tuners", the RF is applied only during the SAMPLE and SAMPLE is made when the relays are settled, in a stable state.

In the G90 the RF is present always during the TUNE process.

Depending on the voltages applied function of time, the relays can be in 3 states: ON. OFF and UNSETTLE, the last being an uncertain position between the first two ones and this parameter is defined as “operating time” which, depending on manufacturer can or cannot include the bouncing time.The bouncing time is a time interval in which the contacts are closing and opening erratically for mechanical reasons.

If the SAMPLE is done during the bouncing or inside the operating time interval, the result can be massive altered. (bouncing during the RF presence can make the LC’s to “ring” on various harmonic frequencies also).

This is particulary valid on those relay ATU’s that are working very fast and the ATU in the Xiegu G90 IS A VERY FAST one!

Because all of this, a wrong LC configuration can be selected for that particular frequency thus allowing the radio to transmitt full power on a mismatched antenna system.

This can be a source for errors in ATU sequence and those can be identified very quick by activating the tune sequence several times on the same frequency and the same antenna system. 

Beware! The short press will recall a matching solution already stored in memory for that frequency therefore a long press is desirable, in order to erase that memory and start the matching process from the scrap. (Thanks Dave).

If the results are different, most probable is due to settle time. This time interval is in the 5-10msec range.

The problem can be mitigated by various means, all in the FW code; the most efficient one is to switch on RF after a 10msec timeguard from the LC solution is applied to the relays.

6. Errors in SWR value can came from the intrinsec construction of the SWR bridge. The major source of error are the diodes in the bridge. Injecting low RF (around 1W) into a Bruener bridge based on Si diodes (even Schottky) can be into the non-linear range of the transfer function which also is altered by variation in the ambient temperature. (https://www.analog.com/en/technical-articles/integrated-diode-based-rf-detectors.html#)

Another factor that alter the SWR ratio could be the loses on the Reflected path. On loosy antenna systems, the Reflected power is attenuated by some factors like the lenght in the coaxial cable. This leads to a lower voltage in the non-linear transfer function of the diode therefore reducing more and more the reflected detected voltage and finally affecting the SWR ratio to a point that the MCU "feel" a proper match is achieved even if a non-match solution is set in the LC relays.

Therefore, the SWR calculated value could reflect or not the true SWR. The result is a wrong tuning solution.

This problem can be mitigated by applying one of these solutions:

a.     Replacing the Direct and Reflected detection diodes with lower threshold ones. The actual diodes used in the Xiegu G90 has to be measured to find out if they are normal Si or Schottky.

b.     Biasing the actual diodes to the linear transfer range.

c.     Replacing the diodes with logarithmic amplifier like AD8307

Actually, the last method can be the most successfull one it is also the most complicated and require major modifications that might be not reproductible by most hams so the first and the second one could be further explored.

5 comentarii:

Jordi spunea...

Hi Adrian
Are these low-threshold diodes on the market? do you have any reference

Regarding the fw, if there is no possibility of hacking it we will hardly see improvements. I don't know how you see it. Really, from the fw, it would be easy to make everything work better in the ATU, but I imagine the manufacturer has other work to do than fix something it no longer manufactures.

YO3HJV, Adrian spunea...

Hi Jordi. The diodes can be found by applying filters in online selectors. I am not very keen to proceed to lower the threshold because i don't know how the ADC values are processed into the FW. If an arithmetical ratio is calculated between the FW and REV values, it make sense to lower the threshold. If only the REF is evaluated into the FW, then any modification of the range of the ADC values can produce impredictible results. I have no ideea so, I do not want to make any mods here. Not yet...

YO3HJV, Adrian spunea...

As for the hacking, probably it will be easy to make it from scratch after more and more informations about the HW will appear. The main problem will be the DSP code.

Unknown spunea...

on my g90 the ATU is not working, it is clicking but after it still is same bad swr and AM modulation is downwards not up. please help to find problem, thanks

YO3HJV, Adrian spunea...

"Unknown"> I would first check the situation runnning on a dummy load and an exernal PWR/SWR meter. If you are willing to void the warranty, does worth to check in the interior if the soldering from the PCB to SO239 (antenna output port) is OK. Sometimes there is a failure.
If not, the problem could be a little bit more complex. 73

Most viewed posts in last 30 days