ELRS Redundant Diversity RX

Status: Active

Owner: @Nolan Haines @Ishman Mann

Altium: https://warg.365.altium.com/designs/C4975292-FC49-480C-8328-02A26C366B34#design

Table of Contents

Purpose

Why, what, how

Why:

What:

  • Intended for Pegasus

  • Board with fairly minimal size and weight

    • have a bit of leeway here since our drone is bigger than most ELRS platforms, so things like a CAN transceiver is doable.

  • This board will need custom firmware

  • Antennas will be attached to this board but place elsewhere on the drone. (highly likely on the leg, but away from the motors)

    • need to do the math for losses on the cables for the antennas, whether its worth using higher quality/more expensive cables

  • This is a massive test/integration effort.

  • note: it is planned to make a second version of this board with basically the same schem, but a much less dense layout, as a groundside Tx. it is possible to turn the schematic of this PCB into a Tx without changing basically anything by writing different firmware. This will essentially be an alterntive to Farris’s Gemini Tx for test, comparison, whatever EFS wants to do with it

How:

  • ESP32 based system

  • Four LR1121 transceivers

  • one LDO powers everything; LR1121s are ultra low power

  • JST connectors

  • UART pin on the JST for debug and EFS stuff

  • u.fl connectors for the antennas

Diversity and Gemini Explanation

Antenna diversity is when multiple antennas are used to either transmit or receive data in a wireless communication system. In this context, it will be used on the receiving end. Two antennas will be used to receive the same information, on the same frequency. Doing this allows for each antenna to receive a different version of the same signal. It is less likely that each version of the signal will experience significant interference, which means that a diversity setup is more likely to receive data than one without. There are different types of antenna diversity; they are explained in detail later in this section.

Gemini is a new feature added to ELRS. The idea is to transmit the same information at slightly different (~40MHz apart) frequencies to optimize LQ. Farris’s explanation:

The ELRS Gemini TX is a custom PCB that acts as the transmitter controller for the antennas on the ground to communicate with the drone. It involves using 2 transmitter modules with a TX power of 27dBm (about 8km range) simultaneously transmitting the same information on slightly different frequencies. The goal is to reduce the risk of lost data due to poor connectivity with a single antenna - transmitting the same info twice essentially doubles the chances of the command information reaching the drone successfully.

The ELRS Redundant Diversity RX project will combine both Gemini and True Diversity. Each of the signals transmitted by the TX will be received by a pair of antennas configured for True Diversity. This will, in theory, significantly improve LQ as the benefits of both systems are combined.

The rest of this section will explain the different types of diversity, as well as Gemini.

Image

Figure 2: The differences between Antenna Diversity, True Diversity and Gemini.

Basic: One signal is transmitted to one antenna. Least amount of immunity to interference.

Antenna Diversity: One signal is transmitted, but there are two antennas on the receiving end. One receiver is attached to two antennas, and the receiver switches between them (based on the Link Quality?). Better immunity to interference.

True Diversity: One signal is transmitted to two antennas each attached to their own receiver (2 receivers). Whichever receives a valid packet first is sent to the flight controller. (According to someone on the ELRS Discord) Very good signal immunity.

Gemini: “In Gemini Mode, a TX module simultaneously transmits a packet in two frequencies 40MHz apart for 2.4GHz and ~10MHz apart for 900MHz users. The packet separation used is half of the frequency domain selected and will vary a little. A true diversity Receiver is used to receive both packets simultaneously. Transmitting on 2 separate frequencies provides better interference avoidance and/or mitigation, in a similar way DVDA does by sending repeat packets sequentially on different frequencies. This means, the Receiver has an increased chance of receiving the packet. This results in a much higher and stable LQ.”

Design

Board Level System Diagram

prob gonna remove this because the file is corrupted and I can’t edit the original diagram

also it’s duplicate info

 

image-20240825-165055.png

Drone Level System Diagram

Gemini TX ↔︎ RX Diagram

Diagram made by Farris Matar.

NOTE that on the drone side of this diagram it should have a CAN line as well.

Component Selection

Microcontroller: ESP32-PICO-D4

https://www.digikey.ca/en/products/detail/espressif-systems/ESP32-PICO-D4/9381722

RF Transceiver: LR1121

https://www.digikey.ca/en/products/detail/semtech-corporation/LR1121IMLTRT/17874420?s=N4IgTCBcDaIDYCcCMSxJAXQL5A

LDO:

https://www.digikey.ca/en/products/detail/diodes-incorporated/AZ1117IH-3-3TRG1/5699672?utm_adgroup=&utm_source=google&utm_medium=cpc&utm_campaign=Pmax_Shopping_Product_Toronto_CDI&utm_term=&utm_content=&utm_id=go_cmp-21024044764_adg-_ad-__dev-c_ext-_prd-_sig-CjwKCAjwjqWzBhAqEiwAQmtgTzW9OXNfLns1PUK1ImfP7iDuIGbbdWivjksn5OHHSdMZPHlrh7tH-xoCASgQAvD_BwE&gad_source=1&gclid=CjwKCAjwjqWzBhAqEiwAQmtgTzW9OXNfLns1PUK1ImfP7iDuIGbbdWivjksn5OHHSdMZPHlrh7tH-xoCASgQAvD_BwE

The ESP pulls 500mA tops, the LR1121 pull 10mA tops, TCXOs pull 2.5mA tops. This LDO is rated for 1A so we should be more than fine with just the one.

TCXOs:

https://www.digikey.ca/en/products/detail/raltron-electronics/RTX-2520AF333-S-32-000-TR/10273118 (insert justification)

2.4GHz Filter:

https://www.digikey.ca/en/products/detail/johanson-technology-inc/2450FM07D0034001T/9477815

Antenna Connectors:

https://www.digikey.ca/en/products/detail/te-connectivity-linx/CONUFL001-SMD-T/7427732

Input Connector:

Research

This section contains any information I have used/found during research for this project.

 

Interesting pull from Jye that “died on the vine”, implementing basically what we’re doing:

“died on the vine”, but implements what we’re doing almost exactly

adds redundant rx device by JyeSmith · Pull Request #2312 · ExpressLRS/ExpressLRS

 

Schematic also made by Jye:

(right click → open image in new tab to be able to actually read it) profoundly useful resource

 

Application note for TCXO: https://semtech.my.salesforce.com/sfc/p/#E0000000JelG/a/3n000000qQ3O/sATR77HtmHNROXf9p_WoAWuZeyy1avzYq0aQcs_8Y_c

 

Cool video for RF PCBs :

https://youtu.be/_Hfzq1QES-Q?si=C2oIgCVQuJ_ZAhxK