Model Predictive Control of a Series Elastic Actuator
Recently I had the pleasure to work on what is probably the best-made Series Elastic Actuator (SEA) module in the world: the ANYdrive. from Robotic Systems L...
To demonstrate radio communication relay, a small UAV was constructed using 2 UAVs and a Ground Control Station, which we call “Mini GCS”. As shown in Fig.2, names are given to the UAVs: Mom is the one that relays communication at the middle, and Son is the one that actually executes the mission. Fig.3 shows the critical subsystems of the demonstration UAV system.
Communication
915MHz Radio telemetry by 3DR (3DR Radio) was used to construct the communication network. A total of 4 3DR Radios were used to establish 2 independent radio data links, one between Mom and GCS, and the other between Mom and Son (Fig.4). The 2 radio links are kept interference-free using the Frequency Hopping (FHSS) technique, which is a built-in feature of 3DR Radio. The 2 radio links use different frequency hopping sequence, which are determined by a unique “Net ID” (shown in Fig.5).
In order to detect errors in data transmission, a Cyclic Redundancy Checking (CRC) error checking stage was added. To do this, data is organized into frames, and the frames have fixed format (Fig.6). At then end of each frame, a 4-byte CRC code is attached. When a frame is received by UAV or GCS, the receiver will first record the CRC code received over radio (CRC_remote), and then compute a new CRC code based on the received data (CRC_local). If CRC_remote is equal to CRC_local, then the frame is error-free. Otherwise, the received frame has error(s) in it and has to be discarded. More details about CRC can be found here.
Mission Control
This mission control unit is used to do a number of jobs:
The mission control unit is in fact a software system, developed with ROS, than runs on a Raspberry Pi 2B. The mission control unit communicates with radio telemetries and flight controller through UART ports. So it means as long as you are using a UAV with supported flight controller (in our case, the PixHawk Flight Controller), then you can plug this mission control unit into it and turn it into an on-air communication relay station! The system is totally platform independent, which is cool and convenient.
Flight Control & Aircraft
There is nothing very special with the actual aircraft used. For testing, we built 2 quad-rotor copters out of off-the-shelf components, and used them as Mom and Son. For flight controller, we selected PixHawk Flight Controller because it is powerful and plenty of resources are available online. Fig.8 shows the UAVs during a field flight test.
Ground Control Station (GCS)
We developed our own version of GCS software, which we call “Mini GCS”. It was writen fully in-house using C#. A screen shoot is given in Fig.9 The Mini GCS has a number of cool features:
A number of useful commands:
arm be ready to fly, engage motors
takeoff takeoff and fly to specified height
land land immediately
setmode change to flight mode of the UAV
rtl return to home position, and land there
The video below shows how we tested the communication relay function. First, we let “Son” fly far enough so radio communication with GCS breaks (because radio telemetries are out of range). Then, we deploy “Mom” to serve as relay, after which radio communication of “Son” with GCS resumes. Communication status is indicated by the “Connected/Disconnected” icon in the bottom-right corner of the video, which turns Green when communication is healthy, and turns Red when communication breaks.
+
Fig.10 shows the variation of the radio’s signal and noise levels between “Son” and GCS during a typical mission (measurements not taken during the test shown in the video, but during a later test). As we can see, from t = 0 to t = t1, as “Son” started its mission and its distance to GCS increased, radio signal level dropped steadily. At t = t1, the radio signal level was almost equal to the noise level, implying a lost to radio communication. At this moment, “Mom” was started and deployed to the designated relay position (between “Son” and GCS). as “Mom” approached “Son” and the relay started to function, the signal level gradually rose again. At t = t2, signal level was above noise level, implying that radio communication between “Son” and GCS was re-established.
Leave a Comment