Latency Reduction and Packet Synchronization in Low-Resource Devices Connected by DDS Networks in Autonomous UAVs
Author:
Silva Cotta Joao Leonardo1ORCID, Agar Daniel2, Bertaska Ivan R.3, Inness John P.3, Gutierrez Hector4ORCID
Affiliation:
1. Department of Aerospace Engineering, Physics and Space Sciences, Florida Institute of Technology, Melbourne, FL 32901, USA 2. Core Developer, PX4 Autopilot, 8092 Zurich, Switzerland 3. Control Systems Design and Analysis Branch, NASA Marshall Space Flight Center, Huntsville, AL 35812, USA 4. Department of Mechanical and Civil Engineering, Florida Institute of Technology, Melbourne, FL 32901, USA
Abstract
Real-time flight controllers are becoming dependent on general-purpose operating systems, as the modularity and complexity of guidance, navigation, and control systems and algorithms increases. The non-deterministic nature of operating systems creates a critical weakness in the development of motion control systems for robotic platforms due to the random delays introduced by operating systems and communication networks. The high-speed operation and sensitive dynamics of UAVs demand fast and near-deterministic communication between the sensors, companion computer, and flight control unit (FCU) in order to achieve the required performance. In this paper, we present a method to assess communications latency between a companion computer and an RTOS open-source flight controller, which is based on an XRCE-DDS bridge between clients hosted in the low-resource environment and the DDS network used by ROS2. A comparison based on the measured statistics of latency illustrates the advantages of XRCE-DDS compared to the standard communication method based on MAVROS-MAVLink. More importantly, an algorithm to estimate latency offset and clock skew based on an exponential moving average filter is presented, providing a tool for latency estimation and correction that can be used by developers to improve synchronization of processes that rely on timely communication between the FCU and companion computer, such as synchronization of lower-level sensor data at the higher-level layer. This addresses the challenges introduced in GNC applications by the non-deterministic nature of general-purpose operating systems and the inherent limitations of standard flight controller hardware.
Funder
NASA’s Marshall Space Flight Center, Cooperative Agreement Dual-Use Technology Development
Subject
Electrical and Electronic Engineering,Biochemistry,Instrumentation,Atomic and Molecular Physics, and Optics,Analytical Chemistry
Reference26 articles.
1. Bigazzi, L., Basso, M., Boni, E., Innocenti, G., and Pieraccini, M. (2021). A Multilevel Architecture for Autonomous UAVs. Drones, 5. 2. Dehnavi, S., Goswami, D., Koedam, M., Nelson, A., and Goossens, K. (2021, January 1–5). Modeling, implementation, and analysis of XRCE-DDS applications in distributed multi-processor real-time embedded systems. Proceedings of the 2021 Design, Automation & Test in Europe Conference & Exhibition (DATE), Grenoble, France. 3. Time Synchronization Errors in Loosely Coupled GPS-Aided Inertial Navigation Systems;Skog;IEEE Trans. Intell. Transp. Syst.,2011 4. Di Pietra, V., Dabove, P., and Piras, M. (2020). Loosely Coupled GNSS and UWB with INS Integration for Indoor/Outdoor Pedestrian Navigation. Sensors, 20. 5. Bigazzi, L., Basso, M., Gherardini, S., and Innocenti, G. (2021, January 22–25). Mitigating latency problems in vision-based autonomous UAVs. Proceedings of the 2021 29th Mediterranean Conference on Control and Automation (MED), Puglia, Italy.
|
|