5. Troubleshooting Link Quality

5. Troubleshooting Link Quality

Troubleshooting Link Quality

This section covers troubleshooting problems with the link quality. If you are looking for information on optimizing the link quality, please read the guide, “Optimizing the RF Link”, in our technical library [1]. This section is broken down into three sub-sections which cover


1.      No wireless link

2.      Poor throughput at close range

3.      Poor long-range performance


“The radios are not connected to each other at all”

Make sure you can access the radios before troubleshooting the wireless link. If the radios are not connected to each other at all, then the most likely causes are:


1.      The radios have been configured in different modes

2.      The antennas are not connected properly

3.      Power supply issues


The radios are configured in different modes

This could happen if you have inadvertently configured one radio in WDS AP/Client mode and another in Mesh mode or both radios as WDS AP for example. Navigate to the wireless configuration in the web GUI and check whether the mode is “station”, “master”, or “mesh point”. Make sure the two radios are in compatible modes. We suggest using the Simple Configuration menu to configure your radios.

The antennas are not connected properly

Make sure that the connectors on the antennas are compatible with the connectors used on the cables. RP-SMA (reverse polarity SMA) is not compatible with SMA.

Power Supply Issues

Make sure to follow the power supply recommendations of the particular model which you have ordered. The power supply must be of the correct voltage and have sufficient current sourcing capability to power the radio.

“The throughput is poor even at close range”

As the radios are optimized for long range, they do not work well when they are within a close range of each other. At close range, the radios are likely to saturate the RF front-end, resulting in poor performance. For bench evaluation, please use RF attenuators supplied in the Eval kit. You should also reduce the output power of the radios and not use high gain antennas. , It is further possible to enable Transmit-Power Control (TPC). Note that TPC is only recommended for point-to-point networks.

If the radios are more than 5-10 meters apart and the throughput is still poor, then it could be an interference or power supply issue. Please see the advice in the next section.

“The radios are connected, but the range is poor”

This could be a rather wide topic. The datasheets provide typical performance over distance assuming a reasonable fade margin (10-15 dB). The fade margin accounts for variations in the link quality due to things like antenna misalignment or environmental noise. The most common reasons for poor range are:

1.      Not adhering to recommended Fresnel Zone clearance requirements

2.      Noise and Interference

3.      Power Supply Issues

4.      Overheating

5.      Poor choice of antennas

6.      Antenna cable loss

We will only briefly discuss these topics. Before covering these topics, if your radios are linked, then you can use the “sysutils checklink” program to perform a quick link check. Setup the two radios 10m apart from each other and point the antennas straight upwards. Then SSH into one of the radios and run

root@smartradio:~# sysutils checklink -d 10 -h 10.223.216.116 -g 3

Note that -d 10 means 10m distance, and -g 3 means 3-dB total antenna gain (this is the combined antenna gain for both radios, e.g. 2 dBi on radio 1 and 1 dBi on radio 2). The program takes about 1 minute to run, and will perform link test between each antenna. At the end of the test, a log file will be saved at /tmp/results.json. The results report the expected RSSI and measured RSSI, as well as the link throughtput per antenna. An example is shown below

{
"distance": "10",
"total_antenna_gain": "3",
"frequency_band": "2442",
"expected_RSSI": "-37",
"RSSI1": "-42",
"RSSI2": "-58",
"throughput1": "23987123",
"throughput2": "24518300"
}

The peak single-antenna throughput is approximately 40-45 Mbps per 20-MHz channel bandwidth per antenna. In the case above, we are getting around 24 Mbps in a 15-MHz bandwidth due to interference. The expected RSSI was -37 dBm, but the measured RSSI was significantly lower (-58) on the second antenna because of misalignment.

Fresnel Zone Clearance

The required Fresnel Zone clearance is the radius around the line-of-sight path which must be clear of obstancles. The Fresnel Zone clearance is frequency dependent, so we recommend using an RF calculator to calculate the required clearance for your application. Drone applications typically do not need to worry about Fresnel Zone clearance, but it is critical for unmanned ground vehicles (UGV).

Noise and Interference

Background noise and interference has a direct effect on the achievable range. The 2.4-GHz ISM band may be the most crowded frequency band in the world due to the ubiquity of 2.4-GHz WiFi. Therefore, the achievable range in urbanized areas is notably poorer for the 2.4-GHz band than other bands. Aside from the 2.4-GHz band, the 915-MHz band and the 5-GHz bands are also license-free and may be highly congested depending on where the radios are being deployed. You can measure the level of the background noise picked up by the radio using the built-in spectrum analyzer on the wireless configuration page. This is only accessible in the Advanced Settings. The figure below shows the wireless page with Advanced Settings enabled, and a Spectrum Scan button available for the radio0 interface. The spectrum scanner is only available for 10 MHz channel bandwidth or greater.

Fig. 2 – Wireless page with Spectrum Scan available

If you perform a spectrum scan, the radio will scan all channels. We recommend narrowing in on the desired operating channel to check the noise performance as it will be faster and more accurate. Note that the thermal noise floor is approximately -116 dBm per FFT bin in a 20-MHz bandwidth. The operating range is reduced by 2x for every 6 dB increase in the measured noise above the thermal noise floor.

Fig. 3 – Spectrum Scanner results

Power Supply Issues

Please make sure to follow the power supply requirements mentioned in your product’s datasheet. The Smart Radios have voltage and power requirements. Most AC/DC regulators specify an output voltage, and the maximum current they can supply. The maximum power they can supply is simply the voltage multiplied by the current (in amperes). So a 9-V, 2-A adapter can supply 18-W of power. Additionally, for best performance, power supply lines should

1.      be short to minimize the IR drop

2.      be twisted (ground and supply) to minimize their inductance

a.      if they cannot be twisted, keep them as close together as possible

3.      be routed in a star topology. The power lines should  never be daisy-chained

a.      the center of the star should be as close to the power supply as possible

Some power supplies are noisier than others. Devices such as powerful motors create supply noise when they pull current from the source. The Smart Radios have power supply isolation built in, but their effectiveness depends on how noisy the supply really is. If you are unsure whether your supply is causing a problem, power the Smart radio from a separate battery.

Overheating

The Smart Radios are rated to a operate at a case temperature of up to 85 C. At 85 C there will be some degradation in the output power (model dependent, but typically up to 2-3 dB) which will result in reduced operating range. If your application allows it, we recommend good heat sinking.

Poor Choise of Antennas

Antenna selection is a very broad topic, so we will only provide a few important reminders.


1.      Make sure to choose an antenna which is designed for the operating frequency of the Smart Radio. Wideband and dual-band antennas which are designed to work over many bands generally don’t perform as well as narrowband antennas a single particular band of interest.

2.      ¼-wave antennas normally need to be mounted to a ¼-wave radius ground plane. For example, at 915-MHz, the ¼ wavelength is 82 mm in air. Therefore, a ¼-wave antenna would need to be mounted to a metal plane of at least 82-mm radius.

3.      ½-wave dipole antennas normally do not need to be mounted to a ground-plane.

4.      Chip antennas normally need to be mounted on a PCB which serves as a ground plane. These are not recommended unless you are familiar with antenna design.

5.      High gain antennas are directional. That means that the antenna will only have high gain when they are pointed in a particular direction. Look up the radiation chart if you are unsure.

6.      Antennas have a polarization (horizontal, vertical, R/L handed circular). Polarizing TX and RX antennas differently can lead to significant loss.

7.      In general, cheap antennas should not be trusted unless you have tested them.


Antenna Cable loss

When choosing an antenna cable, keep the following in mind.

1.      Make sure to use 50-ohm coaxial cable (not 75-ohm cable)

2.      Coaxial cables have different loss per unit length depending on the type and frequency. Use a calculator like this one https://www.qsl.net/co8tw/Coax_Calculator.htm [2], or look up the loss specifications from the coaxial cable’s datasheet.

3.      Every 3-dB coaxial cable loss results in 3-dB loss in the TX power and 3-dB loss in the RX signal which results in 2x reduction in the operating range.








    • Related Articles

    • 1. Introduction to the Smart Radio Troubleshooting Guide

      Introduction This is a troubleshooting guide for all Smart Radio models. The Smart Radio runs Doodle Labs Mesh Rider® OS. This guide is organized in the following sections ·       System Overview ·       Troubleshooting radio access ·       ...
    • 3. Troubleshooting Radio Access

      Troubleshooting Radio Access This section deals with problems accessing the radios. As explained in the System Overview section, in order to access the radios themselves, host machines do need to be on the same subnet as the Smart Radios. “I have ...
    • Optimizing the RF Link: Factors affecting the RF link

      Factors affecting the RF link By the laws of physics, the RF link range can be expressed in simple terms as Unpacking this shows us that many factors affect the RF link range. Here we list the major factors affecting the RF link and we will briefly ...
    • 7. Centralized Configuration, ACS, and Link Recovery

      Centralized Configuration, ACS, and Link Recovery With the release of the 2022-02 update of the Mesh Rider OS comes a new Centralized Configuration utility along with automatic channel selection (ACS), and link recovery. All three features use the ...
    • Optimizing the RF Link: Conclusion

      Conclusion Our overall recommendation is to design the RF link with about 10-15 dB fade margin to account for changes in the environmental and operational conditions.  Changes in orientation of mobile nodes can affect the link margin. Use the highest ...