Unit 5: Remote controller and Autopilot

ASE107 — Fundamental Of Drone Technology 10 min read

I. Orientation — Command, Control, and Feedback Architecture

A drone control system converts pilot commands and sensor measurements into controlled changes in motor thrust. The remote controller provides human input, the receiver delivers that input to the aircraft, telemetry returns flight information, and the autopilot stabilizes and navigates the drone using internal and external sensors.

  • Governing principle: Drone flight is a closed-loop control process: a desired state is compared with the measured state, and the resulting error causes a corrective actuator command.
  • Signal flow:
    • Pilot input → remote controller → radio-frequency link → receiver → autopilot.
    • Sensors → autopilot → electronic speed controllers (ESCs) → motors and propellers.
    • Autopilot → telemetry radio → ground station or controller display.
  • Primary control variables: Roll, pitch, yaw, and throttle determine aircraft attitude, heading, and vertical force.
  • Feedback principle: If commanded roll is (10^\circ) and measured roll is (6^\circ), the roll error is (4^\circ); the controller changes motor speeds to reduce that error.
  • Operating frequencies: Command links commonly use the 2.4 GHz industrial, scientific, and medical band, while telemetry may use 433 MHz, 868 MHz, 915 MHz, or 2.4 GHz, subject to local regulations.
  • Safety requirement: Reliable operation depends on correct calibration, interference management, pre-flight checks, geofencing where required, and predetermined responses to radio, navigation, or sensor failure.

II. Remote Command Chain — Pilot Input and Aircraft Reception

The remote command chain transforms physical stick and switch movements into encoded channel values that can be interpreted by the autopilot.

A. Basic Remote Controller

A basic remote controller, also called a transmitter, is the pilot-operated device that sends flight commands and mode selections to the drone.

  • Control sticks: Two spring-loaded sticks usually command four primary channels:
    • Roll: Left-right tilting about the longitudinal axis.
    • Pitch: Forward-backward tilting about the lateral axis.
    • Yaw: Rotation about the vertical axis.
    • Throttle: Collective increase or decrease in motor thrust.
  • Control modes: In Mode 2, widely used for multirotors, throttle and yaw are on the left stick, while pitch and roll are on the right stick; Mode 1 places throttle on the right.
  • Auxiliary channels: Switches, knobs, and sliders can select functions such as Stabilize mode, Altitude Hold, Return-to-Home, camera tilt, landing gear, or payload release.
  • Gimbals: Each stick uses potentiometers or Hall-effect sensors to measure position; Hall sensors detect magnetic-field changes and avoid mechanical contact at the sensing surface.
  • Channel representation: Traditional servo commands often represent minimum, center, and maximum positions near 1000, 1500, and 2000 microseconds respectively, although exact accepted ranges depend on configuration.
  • Radio transmission: The transmitter encodes channel data and sends it through a modulated RF carrier; modern digital systems may use frequency hopping to reduce the effect of narrow-band interference.
  • Binding: Binding associates a transmitter with a compatible receiver using identifying information, helping the receiver reject unrelated transmitters.
  • Trims and calibration: Calibration maps the full stick range, center, and direction into normalized commands; incorrect endpoints can prevent arming or produce unequal response.
  • Control-rate settings:
    • Rate: Limits the maximum commanded rotation or control output.
    • Expo: Reduces sensitivity near stick center while retaining full endpoint authority.
  • Power and range: Link reliability depends on transmitter power, antenna orientation, receiver sensitivity, obstacles, interference, and line of sight—not transmitter power alone.
  • Operational limitation: Buildings, terrain, carbon-fibre frames, damaged antennas, and crowded RF bands can reduce range or create multipath fading.

B. Receiver

The receiver is the airborne radio device that decodes transmitter messages and supplies pilot commands to the autopilot or servos.

  • Core operation: The receiver demodulates the RF signal, checks valid packets, extracts channel values, and outputs them through an electrical interface.
  • Output interfaces:
    • PWM: Uses one wire per channel, with pulse width carrying the command.
    • PPM: Combines several channels into a single pulse train.
    • Serial protocols: Interfaces such as SBUS or CRSF carry multiple channels digitally over fewer conductors.
  • Connection: A typical serial receiver requires power, ground, and signal connections; voltage compatibility must be checked because some units use 3.3 V logic while others accept 5 V supply.
  • Latency and update rate: Latency is the delay between pilot movement and usable receiver output, measured in milliseconds; a higher packet rate can provide more frequent command updates.
  • Antenna diversity: Some receivers use two antennas or receiver paths and select the better signal, reducing losses caused by orientation or polarization.
  • Link-quality indicators: Received signal strength indication, link quality, and packet-loss values help assess connection health, but their scales differ between manufacturers.
  • Failsafe behavior: On signal loss, the receiver or autopilot may hold selected values, set predefined values, land, hover, or initiate Return-to-Home; uncontrolled “hold last command” behavior can be dangerous.
  • Installation practice: Antennas should be separated from high-current wiring, ESCs, video transmitters, and conductive frame parts; diversity antennas are commonly positioned at different angles.
  • Functional check: Before flight, each stick must move the correct autopilot channel in the correct direction, and a controlled transmitter-off test should confirm the configured failsafe.

III. Telemetry Link — Flight Data and Ground Communication

Telemetry creates a data link between the aircraft and a remote display or ground control station, improving monitoring, configuration, and mission supervision.

A. Telemetry System

A telemetry system transmits measured aircraft data to the operator and may carry commands or mission updates back to the autopilot.

  • Typical downlink data: Position, altitude, ground speed, attitude, battery voltage, current, remaining capacity, flight mode, GNSS quality, link quality, and warning messages.
  • Uplink functions: A bidirectional system may upload waypoints, change parameters, command a mode transition, or request a data stream; safety-critical actions require appropriate authorization and validation.
  • Main components: The system normally includes an airborne modem, ground modem or integrated controller, antennas, serial connection, autopilot protocol, and ground-station software.
  • Communication protocols: MAVLink is a common lightweight message protocol for autopilot telemetry; it identifies messages such as heartbeat, position, system status, and mission commands.
  • Data rate: Link capacity is expressed in bits per second; excessive message rates can congest the channel and delay more important status information.
  • Link budget: Received power depends on transmitted power, antenna gains, path loss, and other losses:
    TEXT
    P_r = P_t + G_t + G_r - L_p - L_o
    • (P_r): Received power in dBm.
    • (P_t): Transmitted power in dBm.
    • (G_t, G_r): Transmit and receive antenna gains in dBi.
    • (L_p): Propagation path loss in dB.
    • (L_o): Cable, connector, obstruction, and miscellaneous losses in dB.
  • Worked example: If (P_t=20) dBm, both antenna gains are 2 dBi, path loss is 100 dB, and other losses are 4 dB, then (P_r=20+2+2-100-4=-80) dBm.
  • Range influences: Height, line of sight, Fresnel-zone obstruction, antenna polarization, weather, interference, and receiver sensitivity affect practical distance.
  • Data logging: Telemetry logs help reconstruct battery sag, GNSS degradation, vibration, mode changes, and failsafe events, although onboard logs usually contain higher-rate information.
  • Limitations and security: Telemetry can fail independently of flight control; loss of display data does not always mean loss of control. Authentication and encryption should be used where supported to reduce unauthorized access.

IV. Flight Automation — Stabilization and Mission Control

An autopilot combines computing hardware, firmware, sensor estimates, and control algorithms to stabilize the aircraft and perform assisted or autonomous flight.

A. Introduction to autopilot System

An autopilot system continuously estimates the drone’s state and calculates actuator outputs needed to follow pilot commands or a programmed trajectory.

  • Hardware elements: A flight-control processor, sensor interfaces, memory, power regulation, input/output ports, and redundant components where reliability requirements justify them.
  • State estimation: Sensor fusion estimates attitude, angular velocity, position, velocity, altitude, and heading from measurements that contain noise, bias, and delay.
  • Control hierarchy:
    • Inner loop: Controls angular rate and attitude rapidly using gyroscope and accelerometer data.
    • Outer loop: Controls altitude, position, speed, or path and supplies targets to the inner loop.
  • PID control: A proportional-integral-derivative controller forms an output from present, accumulated, and changing error:
    TEXT
    u(t) = Kp·e(t) + Ki·∫e(t)dt + Kd·de(t)/dt
    • (u(t)): Motor or control-surface command.
    • (e(t)): Difference between desired and measured state.
    • (K_p), (K_i), (K_d): Proportional, integral, and derivative gains.
  • Motor mixing: For a quadcopter, the controller combines throttle, roll, pitch, and yaw corrections into four motor commands according to frame geometry and propeller rotation directions.
  • Flight modes: Manual-rate mode controls rotation rate; attitude mode self-levels; altitude mode regulates height; position mode holds geographic position; autonomous mode follows mission commands.
  • Navigation functions: Waypoint flight uses position and velocity estimates to generate a path, while Return-to-Home typically climbs or maintains a configured altitude, travels toward home, and lands or loiters.
  • Arming logic: The autopilot may block motor arming when calibration is invalid, battery voltage is low, GNSS requirements are unmet, or critical sensors report faults.
  • Limitations: Poor tuning can cause oscillation or sluggish response; inaccurate state estimates, magnetic interference, vibration, software faults, or unsuitable failsafe settings can defeat otherwise correct control logic.

V. Sensor Systems — State Measurement and Environmental Awareness

Sensors provide the measurements from which the autopilot estimates motion and surroundings; “internal” sensors are usually integrated into the flight controller, while “external” sensors are connected as separate modules.

A. Internal Sensors

Internal sensors measure the drone’s immediate motion, orientation-related quantities, and local atmospheric conditions.

  • Gyroscope: Measures angular velocity about three axes, commonly in degrees per second or radians per second; bias causes attitude drift when rates are integrated.
  • Accelerometer: Measures specific force along three axes in (m/s^2) or multiples of (g); when stationary, its gravity measurement helps determine roll and pitch.
  • Inertial Measurement Unit: An IMU combines a three-axis gyroscope and three-axis accelerometer; some controllers include multiple IMUs for redundancy and fault comparison.
  • Magnetometer: Measures the local magnetic field in microteslas and supports heading estimation; motors, steel fasteners, and high-current cables can distort readings.
  • Barometer: Measures atmospheric pressure in pascals or hectopascals; pressure decreases with altitude, enabling relative-height estimation but remaining sensitive to airflow and weather changes.
  • Temperature sensing: Temperature measurements support compensation because gyro bias, pressure readings, and electronic characteristics vary as the controller warms.
  • Vibration control: Soft mounting and balanced propellers reduce high-frequency vibration that can corrupt accelerometer data and cause poor altitude or attitude estimation.
  • Calibration: Accelerometer level calibration, gyro bias estimation, and compass calibration establish offsets, scale factors, and orientation before measurements enter the estimator.

B. External Sensors

External sensors extend the autopilot’s knowledge of global position, nearby surfaces, air movement, and obstacles.

  • GNSS receiver: Uses satellite signals to estimate latitude, longitude, altitude, ground speed, and time; accuracy depends on satellite geometry, signal obstruction, multipath, and correction services.
  • Rangefinder: LiDAR, laser, sonar, or radar measures distance to terrain or obstacles, usually in metres; it supports low-altitude holding and landing but has technology-specific surface limitations.
  • Optical-flow sensor: Tracks image movement across the ground to estimate horizontal motion; useful operation requires suitable texture, lighting, height information, and limited blur.
  • Airspeed sensor: A pitot-static system estimates airspeed from dynamic pressure:
    TEXT
    v = √(2q/ρ)
    • (v): Airspeed in (m/s).
    • (q): Dynamic pressure in pascals.
    • (\rho): Air density in (kg/m^3).
  • Vision sensors: Monocular, stereo, or depth cameras support mapping, visual odometry, target tracking, and obstacle detection but require substantial computation and suitable visibility.
  • External compass: Mounting a magnetometer on a mast with the GNSS antenna can reduce interference from motors and power wiring.
  • Redundancy and fusion: The autopilot compares independent measurements—for example, barometric altitude, GNSS altitude, and rangefinder distance—to improve estimates and detect disagreement.
  • Limitations: External sensors add mass, power demand, wiring, communication delay, and failure points; mounting orientation, field of view, calibration, and environmental suitability directly affect performance.