Chapter 1: Introduction and System Architecture¶
Intelligent Unmanned Systems (IUS), as an interdisciplinary integration of cutting-edge technologies—including artificial intelligence, machine vision, and swarm intelligence—serve as a concentrated embodiment of contemporary technological advancement. This chapter systematically reviews the foundational theoretical framework and control principles of intelligent unmanned systems, introduces the basic architecture of the RflySim toolchain, and outlines the assembly and calibration process of a multi-rotor drone, laying a solid theoretical and conceptual foundation for your subsequent in-depth learning.
1.1 Background and Theory¶
With the rapid development of cutting-edge technologies such as artificial intelligence, robotics, embodied intelligence, and autonomous driving, related concepts continue to emerge. Intelligent Unmanned Systems (IUS) build upon traditional unmanned systems by integrating artificial intelligence, endowing them with autonomous capabilities—including perception, reasoning, decision-making, and execution. Based on system scale and organizational complexity, IUS can be categorized into single-unit, formation, and swarm-cooperation systems, operating across underwater, terrestrial, and aerial platforms.
Despite the diversity of intelligent unmanned systems, their underlying concepts and architectures remain highly unified. Scientifically, they can be divided into six core modules: the airframe structure layer, the perception and localization layer, the control and decision-making layer, the actuation and execution layer, the environmental interaction layer, and the swarm collaboration layer. In spatial attitude estimation and control law design, the local navigation coordinate systems (NED / ENU) and the onboard front-right-down (FRD) coordinate system are widely adopted, with vehicle 3D spatial attitude precisely described using Euler angles or quaternions.
Taking multi-rotor drones as an example, a typical physical system comprises an airframe structure, a propulsion system (motors and propellers), a perception system (IMU and GNSS), an autopilot (flight control system), and a data link communication system. After assembly, the system must undergo rigorous steps—including firmware flashing, sensor calibration, power system testing, and field test flights—before it can be deployed for formal R&D experiments.
1.2 Framework and Interfaces¶
The RflySim toolchain supports full-stack development—from low-level control filtering to high-level intelligent perception—and enables smooth transitions (Sim2Real) from pure-software simulation (SITL) to hardware-in-the-loop simulation (HITL) and real hardware deployment.
1.2.1 Overview of the RflySim Toolchain¶
RflySim is a professional, open, and research- and education-oriented simulation and development toolchain for intelligent unmanned systems. Adhering to the core principles of Model-Based Design (MBD) and full hardware-in-the-loop coverage, it provides developers with an integrated development framework supporting multi-rotor, fixed-wing, and unmanned ground vehicle platforms, and natively supports large-scale swarm distributed adversarial simulations involving over 100 nodes.
1.2.2 Core Components and Interfaces¶
The daily operation of RflySim relies on the collaboration of multiple software components: the core simulation engine is CopterSim, a kinematic simulation engine; high-fidelity visual and physical simulation environments are built upon Unreal Engine / RflySim3D; and mission planning and low-level monitoring are handled by the QGroundControl ground station.
For developers, the platform offers not only a firmware-level automatic code generation channel—PX4PSP—based on MATLAB/Simulink for low-level development, but also a rich set of Python / ROS interface libraries (RflySimSDK) for upper-layer AI validation and development.
1.2.3 Recommended Learning Path¶
This course begins with foundational system theory and software operation (Chapters 1–2), guiding you into the construction of high-fidelity 3D environments and mathematical models for various vehicle platforms (Chapters 3–4). After mastering low-level filter design and the core flight control closed-loop (Chapters 5–7), you will advance to high-level practical applications—including multimodal perception, visual mapping, and swarm coordination and game-theoretic adversarial scenarios (Chapters 8–10).
1.3 Showcase of Advanced Cases¶




¶
1.4 Course-Related Video Lectures¶
Lecture recordings for this chapter:
1.5 Chapter Experiment Cases¶
The verification experiments and guided case studies related to this chapter are located in the [Installation Directory]\RflySimAPIs\1.RflySimIntro folder.
1.5.1 Interface Learning Experiments¶
Located in the 1.RflySimIntro\0.ApiExps folder, these experiments cover foundational platform interface tutorials and general introductions to each tool.
Experiment 1: Introduction to RflySim Toolchain Companion Textbooks
- 📦 Version Requirement:
Free Edition - 📁 File Path: 1.RflySim_SupportBook/Readme.pdf
📝 Experiment Overview: Introduces companion textbook resources for the RflySim multirotor design and control platform, comprising 8 experimental tasks covering power systems, modeling, sensor calibration, filtering, and attitude control.
Experiment 2: PDF Document Collection and Merging Experiment
- 📦 Version Requirement:
Free Edition - 📁 File Path: 10.PDF_File_Processing/Readme.pdf
📝 Experiment Overview: Automates the collection, centralized archiving, and bookmarked merging of PDF documents across multiple experiment folders using Python, mastering the pathlib and pypdf libraries as well as natural sorting algorithms.
Experiment 3: Learning PX4 & Pixhawk Flight Control Systems
- 📦 Version Requirement:
Free Edition - 📁 File Path: 2.PX4&Pixhawk_Tutorials/Readme.pdf
📝 Experiment Overview: Provides learning materials for the PX4 open-source autopilot system, QGroundControl ground station software, and MAVLink communication protocol, enabling users to master basic Pixhawk flight controller operations, firmware flashing, parameter configuration, and communication protocol development.
Experiment 4: Python Beginner's Tutorial
- 📦 Version Requirement:
Free Edition - 📁 File Path: 3.Python_Tutorials/Readme.pdf
📝 Experiment Overview: Designed for absolute beginners, this experiment guides learners through 17 progressively structured tasks to systematically master core Python knowledge, including basic syntax, data structures, control flow, functions, library usage, file operations, exception handling, and object-oriented programming.
Experiment 5: MATLAB and Simulink Fundamentals Tutorial
- 📦 Version Requirement:
Free Edition - 📁 File Path: 4.MATLAB&Simulink_Tutorials/Readme.pdf
📝 Experiment Overview: Introduces fundamental concepts and applications of MATLAB and Simulink, enabling users to acquire skills in control system design, data analysis, and algorithm development.
Experiment 6: Basic Functions and Usage of Visual Studio
- 📦 Version Requirement:
Free Edition - 📁 File Path: 5.MicrosoftVisualStudio_Tutorials/Readme.pdf
📝 Experiment Overview: Covers basic features, installation and configuration, project management, and debugging techniques of the Microsoft Visual Studio integrated development environment.
Experiment 7: 3D Scene Construction Using 3Ds Max and Unreal Engine
- 📦 Version Requirement:
Free Edition - 📁 File Path: 6.3DsMax&Unreal-Engine_Tutorials/Readme.pdf
📝 Experiment Overview: Introduces basic operations of 3Ds Max and Unreal Engine, enabling users to master 3D modeling, rendering, and scene construction skills, as well as understand their collaborative workflow.
Experiment 8: Fundamentals of Linux Operating Systems
- 📦 Version Requirement:
Free Edition - 📁 File Path: 7.Linux_Tutorials/Readme.pdf
📝 Experiment Overview: Introduces fundamental concepts, characteristics, and historical development of the Linux operating system, enabling users to master basic Linux system knowledge and operational skills.
Experiment 9: ROS Tutorial
- 📦 Version Requirement:
Free Edition - 📁 File Path: 8.ROS_Tutorials/Readme.pdf
📝 Experiment Overview: Covers fundamental concepts and installation/configuration of the Robot Operating System (ROS), and introduces the communication principles between MAVROS and the PX4 flight control system.
Experiment 10: RflySim Hardware System Configuration
- 📦 Version Requirement:
Free Edition - 📁 File Path: 9.HardwareSys_Introduction/Readme.pdf
📝 Experiment Overview: Introduces configuration methods for Pixhawk-series flight controllers (Pixhawk 2.4.8/6C/6X) and remote controllers (Tian Di Fei ET10, Foxer FS-i6S), helping users master fundamentals of drone hardware selection and assembly.
1.5.2 Basic Usage Experiments¶
Stored in the 1.RflySimIntro\1.BasicExps folder, these experiments provide a comprehensive set of supplementary instructional materials for beginners.
Experiment 1: Multicopter Design and Control Theory
- 📦 Version Requirement:
Free Edition - 📁 File Path: e1_MulticopterTheory/Readme.pdf
📝 Experiment Overview: Learn multicopter design, dynamic modeling, state estimation, and control theory, covering fundamental knowledge in aerodynamics, motor circuits, and structural materials.
Experiment 2: Multicopter Design and Control Practice
- 📦 Version Requirement:
Free Edition - 📁 File Path: e2_MulticopterPractice/Readme.pdf
📝 Experiment Overview: Conduct multicopter flight vehicle design and control experiments using the RflySim toolchain. This includes eight progressive experiments covering power system design, dynamic modeling, sensor calibration, filtering, attitude control, position control, semi-autonomous control, and fail-safe mechanisms, enabling mastery of the complete multicopter design and control workflow.
Experiment 3: Multicopter Flight Vehicle Design and Flight Experiment
- 📦 Version Requirement:
Free Edition - 📁 File Path: e3_MulticopterDesighFly/Readme.pdf
📝 Experiment Overview: Study the textbook “Multicopter Flight Vehicles: From Principles to Practice”, mastering fundamental concepts, flight principles, and system composition of multicopters, as well as becoming familiar with setting up simulation environments and configuring parameters in the RflySim toolchain.
Experiment 4: Multicopter Flight Vehicle Remote Control Practice
- 📦 Version Requirement:
Free Edition - 📁 File Path: e4_MulticopterRemoteCtrl/Readme.pdf
📝 Experiment Overview: This experiment focuses on remote control techniques for multicopter drones, achieving communication between ground stations and flight vehicles via network protocols. It covers principles of flight attitude and position control, and uses the RflySim simulation platform to validate control algorithms.
Experiment 5: Small Fixed-Wing UAV Flight Control Practice
- 📦 Version Requirement:
Free Edition - 📁 File Path: e5_SmallAircraftCtrlPractice/Readme.pdf
📝 Experiment Overview: A hands-on course on flight control for small fixed-wing UAVs. Through eight experiments covering UAV design, modeling, control, planning, and vision algorithms, it trains full-stack flight control development engineers using the RflySim toolchain.
Experiment 6: Python Fundamentals and VSCode Environment Setup
- 📦 Version Requirement:
Free Edition - 📁 File Path: e6_OverviewPython/Readme.pdf
📝 Experiment Overview: Designed for beginners with no prior experience, this experiment teaches how to configure the VSCode editor and Python environment on the RflySim platform, enabling learners to read and modify example source code, and acquire basic code debugging skills.
Experiment 7: Drone Tracking a Ball Experiment
- 📦 Version Requirement:
Free Edition - 📁 File Path: e7_RunPythonProject/Readme.pdf
📝 Experiment Overview: Implement a complete pipeline for a drone to visually track a red ball using Python. Learners will study Python fundamentals—including syntax, data structures, control flow, functions—and learn to use the OpenCV image processing library, as well as master RflySim platform API usage and drone control methods.
Experiment 8: Linux System Fundamentals
- 📦 Version Requirement:
Free Edition - 📁 File Path: e8_IntroductionLinux/Readme.pdf
📝 Experiment Overview: Introduce the characteristics, kernel versions, distributions, and file system structure of the Linux operating system, and guide learners through installing and using Ubuntu’s GUI and Windows WSL.
Experiment 9: Using WinWSL for Linux Command-Line Environment
- 📦 Version Requirement:
Free Edition - 📁 File Path: e9_LinuxCommandLine/Readme.pdf
📝 Experiment Overview: Learn to execute Python or shell scripts in an Ubuntu environment via WinWSL on Windows, enabling cross-platform development and seamless integration between Windows and Linux.
Experiment 10: Assembly and Debugging of a Quadcopter Drone
-
📦 Version Requirement:
Free Edition- 📁 File Path: e10.DroneAssTutorial/1.QuadUAVAss/Readme.pdf
📝 Experiment Overview:
Learn and master the assembly and tuning process of quadrotor UAVs, including the composition and functionality of core subsystems such as the airframe structure, power system, and flight control system. Study component selection, installation, and configuration methods, and acquire fundamental flight operation skills and safety protocols.
Experiment 11: Fixed-Wing UAV Assembly and Simulation
- 📦 Version Requirement:
Free Edition - 📁 File Path: e10.DroneAssTutorial/3.FWAss/Readme.pdf
📝 Experiment Overview:
Introduce the fixed-wing UAV assembly process, covering three scenarios: Software-in-the-Loop (SIL) simulation, Hardware-in-the-Loop (HIL) simulation, and physical assembly. Learn to use the RflySim toolchain for fixed-wing UAV testing.