{"id":614,"date":"2024-01-22T23:13:53","date_gmt":"2024-01-22T22:13:53","guid":{"rendered":"https:\/\/ramyrashad.com\/?p=614"},"modified":"2024-03-21T13:15:44","modified_gmt":"2024-03-21T12:15:44","slug":"software-and-hardware-architecture-of-aerial-robot","status":"publish","type":"post","link":"https:\/\/ramyrashad.com\/index.php\/2024\/01\/22\/software-and-hardware-architecture-of-aerial-robot\/","title":{"rendered":"Software and Hardware Architecture of Aerial Robot"},"content":{"rendered":"\n<p>In this article, the software and hardware architecture of the Fully actuated aerial robot developed at the Robotics and Mechatronics department used for the experimental validation of the interaction control algorithms developed.<\/p>\n\n\n\n<p><strong>Hardware Architecture<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/Hardware_Architecture_Experiment-1-1024x532.png\" alt=\"\" class=\"wp-image-618\" width=\"731\" height=\"379\" srcset=\"https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/Hardware_Architecture_Experiment-1-1024x532.png 1024w, https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/Hardware_Architecture_Experiment-1-300x156.png 300w, https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/Hardware_Architecture_Experiment-1-768x399.png 768w, https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/Hardware_Architecture_Experiment-1-1536x798.png 1536w, https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/Hardware_Architecture_Experiment-1-2048x1064.png 2048w\" sizes=\"(max-width: 731px) 100vw, 731px\" \/><\/figure><\/div>\n\n\n<p>Our fully-actuated aerial robot was developed in-house based on an off-the-shelf carbon fiber frame with a diameter (rotor hub to rotor hub) of 0.68 m and a nominal total mass less than 2 kg, without batteries. For the generation of thrust, the system uses 11-inch propellers driven by six CM-2217 brushless motors with DYS SN40A electronic speed controllers. Each rotor has the capability to produce a maximum thrust of 12.5 N.<\/p>\n\n\n\n<p><strong>Software Architecture of Experimental Platform<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/Software_Architecture_Experiment-1024x696.png\" alt=\"\" class=\"wp-image-619\" width=\"840\" height=\"570\" srcset=\"https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/Software_Architecture_Experiment-1024x696.png 1024w, https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/Software_Architecture_Experiment-300x204.png 300w, https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/Software_Architecture_Experiment-768x522.png 768w, https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/Software_Architecture_Experiment-1536x1045.png 1536w, https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/Software_Architecture_Experiment-2048x1393.png 2048w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure>\n\n\n\n<p>The vehicle is equipped with a Pixhawk 2.1 flight controller with integrated sensors. The Pixhawk runs the PX4 software, which handles interfacing to the sensors and actuators in addition to providing a modular framework which allows adding new control schemes. We augment the original PX4 software with custom-made modules that enables the control of fully-actuated multi-rotors. This involves modifying the PX4 control allocation module, and low-level orientation controllers. Using a multi-sensor fusion algorithm, the sensor data provided by the inertial measurement unit in the Pixhawk is fused together with the external pose information from the Optitrack motion capture system to provide reliable estimates of the UAV configuration and body twist.<\/p>\n\n\n\n<p><strong>Software Architecture of Software-In-the-Loop Simulation<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/Software_Architecture_SITL-1024x780.png\" alt=\"\" class=\"wp-image-620\" width=\"796\" height=\"605\" srcset=\"https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/Software_Architecture_SITL-1024x780.png 1024w, https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/Software_Architecture_SITL-300x229.png 300w, https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/Software_Architecture_SITL-768x585.png 768w\" sizes=\"(max-width: 796px) 100vw, 796px\" \/><\/figure>\n\n\n\n<p>To assess the validity of our interaction control algorithms and vision-based algorithms on unknown surfaces, the overall impedance control-based interaction framework was implemented and extensively tested in a simulation environment based on Gazebo, the RotorS plugin, and a software-in-the-loop (SITL) version of the PX4 software. The SITL receives the same commands through through ROS, as the real experimental setup. This significantly reduces the time required to validate the theory with real experiments and helps with tuning the different gains present in the control system.<\/p>\n\n\n\n<p><strong>Parameters Identification<\/strong><\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-layout-1 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/BetaX_Flight_1_CAD_plus_actual-eps-converted-to-1024x1003.jpg\" alt=\"\" class=\"wp-image-615\" width=\"370\" height=\"362\" srcset=\"https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/BetaX_Flight_1_CAD_plus_actual-eps-converted-to-1024x1003.jpg 1024w, https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/BetaX_Flight_1_CAD_plus_actual-eps-converted-to-300x294.jpg 300w, https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/BetaX_Flight_1_CAD_plus_actual-eps-converted-to-768x752.jpg 768w, https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/BetaX_Flight_1_CAD_plus_actual-eps-converted-to-1536x1504.jpg 1536w, https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/BetaX_Flight_1_CAD_plus_actual-eps-converted-to-2048x2005.jpg 2048w\" sizes=\"(max-width: 370px) 100vw, 370px\" \/><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/ezgif-5-875ba0ea1d.gif\" alt=\"\" class=\"wp-image-623\" width=\"624\" height=\"351\"\/><\/figure><\/div><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/image.png\" alt=\"\" class=\"wp-image-616\" width=\"423\" height=\"397\" srcset=\"https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/image.png 723w, https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/image-300x282.png 300w\" sizes=\"(max-width: 423px) 100vw, 423px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, the software and hardware architecture of the Fully actuated aerial robot developed at the Robotics and Mechatronics department used for the experimental validation of the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":624,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"ub_ctt_via":"","_mi_skip_tracking":false,"footnotes":""},"categories":[13],"tags":[],"aioseo_notices":[],"featured_image_src":"https:\/\/ramyrashad.com\/wp-content\/uploads\/2024\/01\/RAM.png","author_info":{"display_name":"Ramy","author_link":"https:\/\/ramyrashad.com\/index.php\/author\/ramy-abdelmonemgmail-com\/"},"_links":{"self":[{"href":"https:\/\/ramyrashad.com\/index.php\/wp-json\/wp\/v2\/posts\/614"}],"collection":[{"href":"https:\/\/ramyrashad.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ramyrashad.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ramyrashad.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ramyrashad.com\/index.php\/wp-json\/wp\/v2\/comments?post=614"}],"version-history":[{"count":4,"href":"https:\/\/ramyrashad.com\/index.php\/wp-json\/wp\/v2\/posts\/614\/revisions"}],"predecessor-version":[{"id":626,"href":"https:\/\/ramyrashad.com\/index.php\/wp-json\/wp\/v2\/posts\/614\/revisions\/626"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ramyrashad.com\/index.php\/wp-json\/wp\/v2\/media\/624"}],"wp:attachment":[{"href":"https:\/\/ramyrashad.com\/index.php\/wp-json\/wp\/v2\/media?parent=614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ramyrashad.com\/index.php\/wp-json\/wp\/v2\/categories?post=614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ramyrashad.com\/index.php\/wp-json\/wp\/v2\/tags?post=614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}