기본 개념
이 주제는 드론과 PX4 사용에 대한 기본적인 소개를 제공합니다 (주로 초보자를 위한 내용이지만, 경험이 있는 사용자에게도 좋은 입문 자료가 될 수 있습니다).
기본 개념에 이미 익숙하다면, 기본 조립 섹션으로 넘어가서 사용 중인 오토파일럿 하드웨어의 배선 방법을 배우실 수 있습니다. 펌웨어를 설치하고 _QGroundControl_을 사용해 비행체를 설정하려면
기본 설정 섹션을 참조하세요.
드론의 정의
드론(Drones), 또는 무인 차량(Unmanned Vehicles, UV)은 사람이 탑승하지 않은 "로봇형" 차량으로, 수동 또는 자율적으로 제어될 수 있습니다. 드론은 공중, 지상, 수상 또는 수중을 이동할 수 있으며, 항공 사진/영상 촬영, 화물 운송, 레이싱, 수색, 측량 등 다양한 소비자, 산업, 정부 및 군사 분야에서 활용됩니다.
드론은 보다 공식적으로는 무인 항공기(UAV), 무인 지상 차량(UGV), 무인 수상 차량(USV), 무인 수중 차량(UUV)으로 구분됩니다.
INFO
"무인 항공 시스템(UAS)"이라는 용어는 일반적으로 UAV(무인 항공기)와 함께 이를 구성하는 전체 시스템을 의미하며, 여기에는 지상 관제소, 무선 조종기, 드론을 제어하거나 데이터를 수집 및 처리하는 데 사용되는 모든 시스템이 포함됩니다.
드론의 종류
드론에는 다양한 프레임(기체 형태)이 있으며, 각 형태 내에도 여러 가지 변형이 존재합니다. 아래는 드론의 대표적인 형태들과 각 형태에 가장 적합한 활용 사례들입니다.
- 멀티콥터(Multicopters) — 멀티로터는 정밀한 호버링과 수직 이착륙이 가능하지만, 비행 시간이 짧고 속도도 일반적으로 느린 편입니다. 이들은 가장 인기 있는 비행체 유형 중 하나로, 조립이 쉽고 PX4가 제공하는 다양한 비행 모드를 통해 조종이 간편하며, 카메라 플랫폼으로도 매우 적합하기 때문입니다.
- 헬리콥터 — 헬리콥터는 멀티콥터와 유사한 이점을 제공하지만, 기계적으로 더 복잡하고 더 효율적입니다. 이들은 또한 조종이 훨씬 더 어렵습니다.
- 비행기 (고정익) — 고정익 기체는 멀티콥터보다 더 오래, 더 빠르게 비행할 수 있어 지상 조사 등에서 더 넓은 범위를 커버할 수 있습니다.
하지만 멀티콥터보다 조종과 착륙이 더 어렵고, 공중에 머무르거나 아주 느리게 비행해야 하는 경우(예: 수직 구조물 조사)에는 적합하지 않습니다. - VTOL (수직 이착륙) — 고정익/멀티콥터 하이브리드 기체는 두 가지 방식의 장점을 모두 제공합니다. 멀티콥터처럼 수직으로 이륙하고 호버링할 수 있으며, 비행 중에는 비행기처럼 전진 비행으로 전환해 더 넓은 지역을 커버할 수 있습니다. VTOL은 일반적으로 멀티콥터나 고정익 항공기보다 더 비싸며, 제작과 튜닝도 더 어렵습니다. VTOL은 여러 형태로 나뉘며, 대표적으로 틸트로터(tiltrotor), 테일시터(tailsitter), 쿼드플레인(quadplane) 등이 있습니다.
- 에어십/기구 — 공기보다 가벼운 비행체로, 일반적으로 고고도에서 오랜 시간 비행이 가능하지만, 속도나 비행 방향에 대한 제어가 제한되거나 불가능한 경우가 많습니다.
- 로버 — 자동차와 유사한 지상 주행형 비행체입니다. 조작이 간단하고 사용하기에 재미있는 경우가 많습니다. 대부분의 항공기만큼 빠르게 이동할 수는 없지만, 더 무거운 화물을 운반할 수 있으며 정지 상태에서는 전력을 거의 소모하지 않습니다.
- 보트 — 수면 위를 이동하는 수상 차량입니다.
- 잠수정(Submersibles) — 수중에서 운용되는 차량입니다.
더 자세한 정보는 다음을 참고하십시오.
자동조종장치
자율비행장치(오토파일럿)는 드론의 두뇌에 해당하는 장치입니다.
기본적으로 드론 시스템은 실시간 운영체제("RTOS")가 탑재된 비행 컨트롤러(FC)에서 비행 제어용 소프트웨어(비행 스택)를 실행하는 구조로 이루어져 있습니다. 비행 스택은 기본적인 안정화와 안전 기능을 제공하며, 일반적으로 수동 비행 시 조종을 도와주는 보조 기능과 함께 이륙, 착륙, 미리 정해진 임무 수행 같은 작업을 자동으로 실행할 수 있도록 지원합니다.
일부 자율 비행 장치는 고차원 명령과 제어를 수행할 수 있는 범용 컴퓨팅 시스템을 함께 탑재하고 있어, 보다 정교한 네트워킹, 컴퓨터 비전, 기타 고급 기능들을 지원할 수 있습니다. 이 기능은 별도의 보조 컴퓨터로 구현될 수도 있지만, 앞으로는 이러한 시스템이 하나로 통합된 구성 요소로 점점 더 많이 탑재될 가능성이 큽니다.
PX4 자동비행장치
PX4는 NuttX 실시간 운영체제(RTOS) 위에서 구동되는 강력한 오픈소스 자율비행 소프트웨어(flight stack)입니다.
PX4의 주요 특징들은 아래와 같습니다.
- 다양한 기체 프레임/유형을 지원하며, 다음을 포함합니다: 멀티콥터, 고정익 항공기 (비행기), 수직 이착륙기(VTOL) (멀티콥터와 고정익의 하이브리드), 지상 차량, 수중 차량 등.
- Great choice of drone components for flight controller, sensors, payloads, and other peripherals.
- Flexible and powerful flight modes and safety features.
- Robust and deep integration with companion computers and robotics APIs such as ROS 2 and MAVSDK.
PX4 is a core part of a broader drone platform that includes the QGroundControl ground station, Pixhawk hardware, and MAVSDK for integration with companion computers, cameras and other hardware using the MAVLink protocol. PX4 is supported by the Dronecode Project.
Ground Control Stations
Ground Control Stations (GCS) are ground based systems that allow UV operators to monitor and control a drone and its payloads. A subset of the products that are known to work with PX4 are listed below.
QGroundControl
The Dronecode GCS software is called QGroundControl ("QGC"). It runs on Windows, Android, MacOS or Linux hardware, and supports a wide range of screen form factors. You can download it (for free) from here.
QGroundControl communicates with the drone using a telemetry radio (a bidirectional data link), which allows you to get real-time flight and safety information, and to control the vehicle, camera, and other payloads using a point-and-click interface. On hardware that supports them, you can also manually fly the vehicle using joystick controllers. QGC can also be used to visually plan, execute, and monitor autonomous missions, set geofences, and much more.
QGroundControl desktop versions are also used to install (flash) PX4 firmware and configure PX4 on the drone's autopilot/flight controller hardware.
Auterion Mission Control (AMC)
Auterion Mission Control is a powerful and fully featured ground control station application that is optimized for pilots rather than vehicle configuration. While designed to work with Auterion products, it can be used with "vanilla" PX4.
더 자세한 정보는 다음을 참고하십시오.
Drone Components & Parts
비행 콘트롤러
Flight controllers (FC) are the hardware onto which the PX4 flight stack firmware is loaded and run. They are connected to sensors from which PX4 determines its state, and to the actuators/motors that it uses to stabilise and move the vehicle.

PX4 can run on many different types of Flight Controller Hardware, ranging from Pixhawk Series controllers to Linux computers. These include Pixhawk Standard and manufacturer-supported boards. You should select a board that suits the physical constraints of your vehicle, the activities you wish to perform, and cost.
For more information see: Flight Controller Selection
센서
PX4 uses sensors to determine vehicle state, which it needs in order to stablise the vehicle and enable autonomous control. The vehicle states include: position/altitude, heading, speed, airspeed, orientation (attitude), rates of rotation in different axes, battery level, and so on.
PX4 minimally requires a gyroscope, accelerometer, magnetometer (compass) and barometer. This minimal set of sensors is incorporated into Pixhawk Series flight controllers (and may also be in other controller platforms).
Additional/external sensors can be attached to the controller. The following sensors are recommended:
A GNSS/GPS or other source of global position is needed to enable all automatic modes, and some manual/assisted modes.
Typically a module that combines a GNSS and Compass is used, as an external compass can be made less susceptible to electromomagnetic interference than the internal compass in the flight controller.
Airspeed sensors are highly recommended for fixed-wing and VTOL-vehicles.
Distance Sensors (Rangefinders) are highly recommended for all vehicle types, as they allow smoother and more robust landings, and enable features such as terrain following on multicopters.
Optical Flow Sensors can be used with distance sensors on multcopters and VTOL to support navigation in GNSS-denied environments.
For more information about sensors see: Sensor Hardware & Setup.
출력 장치: 모터, 서보, 액츄에이터
PX4 uses outputs to control: motor speed (e.g. via ESC), flight surfaces like ailerons and flaps, camera triggers, parachutes, grippers, and many other types of payloads.
The outputs may be PWM ports or DroneCAN nodes (e.g. DroneCAN motor controllers). The images below show the PWM output ports for Pixhawk 4 and Pixhawk 4 mini.
The outputs are divided into MAIN
and AUX
outputs, and individually numbered (i.e. MAINn
and AUXn
, where n
is 1 to usually 6 or 8). They might also be marked as IO PWM Out
and FMU PWM OUT
(or similar).
WARNING
A flight controller may only have MAIN
PWM outputs (like the Pixhawk 4 Mini), or may have only 6 outputs on either MAIN
or AUX
. Ensure that you select a controller that has enough ports/outputs for your airframe.
You can connect almost any output to any motor or other actuator, by assigning the associated function ("Motor 1") to the desired output ("AUX1") in QGroundControl: Actuator Configuration and Testing. Note that the functions (motor and control surface actuator positions) for each frame are given in the Airframe Reference.
Notes:
- Pixhawk controllers have an FMU board and may have a separate IO board. If there is an IO board, the
AUX
ports are connected directly to the FMU and theMAIN
ports are connected to the IO board. Otherwise theMAIN
ports are connected to the FMU, and there are noAUX
ports. - The FMU output ports can use D-shot or One-shot protocols (as well as PWM), which provide much lower-latency behaviour.FMU 출력 포트는 레이싱 드론처럼 높은 성능이 요구되는 기체에 사용됩니다.
- There are only 6-8 outputs in
MAIN
andAUX
because most flight controllers only have this many PWM/Dshot/Oneshot outputs. 이론적으로는, 보드 버스에서 더 많은 출력 포트를 제공할 수 있습니다. UAVCAN 버스에는 이러한 제한이 없습니다.
ESCs & Motors
Many PX4 drones use brushless motors that are driven by the flight controller via an Electronic Speed Controller (ESC) (the ESC converts a signal from the flight controller to an appropriate level of power delivered to the motor).
PX4가 지원하는 전기변속기와 모터 정보는 여기를 참고하십시오.
- ESC & Motors
- ESC Calibration
- ESC Firmware and Protocols Overview (oscarliang.com)
배터리와 전원
PX4 드론은 리튬-폴리머(LiPo) 배터리를 가장 많이 사용합니다. The battery is typically connected to the system using a Power Module or Power Management Board, which provide separate power for the flight controller and to the ESCs (for the motors).
Information about batteries and battery configuration can be found in Battery Estimation Tuning and the guides in Basic Assembly (e.g. Pixhawk 4 Wiring Quick Start > Power).
Manual Control
Pilots can control a vehicle manually using either a Radio Control (RC) System or a Joystick/Gamepad controller connected via QGroundControl.
RC systems use a dedicated ground-based radio transmitter and vehicle-based receiver for sending control information. They should always be used when first tuning/testing a new frame design, or when flying racers/acrobatically (and in other cases where low latency is important).
Joystick systems use QGroundControl to encode the control information from a "standard" computer gaming joystick into MAVLink messages, and sent it to the vehicle using the (shared) telemetry radio channel. They can be used for most manual flight use cases such as taking off, surveys, and so on, provided your telemetry channel has a high enough bandwidth/low latency.
Joysticks are often used in integrated GCS/manual control systems because it is cheaper and easier to integrate a joystick than a separate radio system, and for the majority of use cases, the lower latency does not matter. 일부 RC에서는 자동조종장치에서 전송한 텔레메트리를 수신할 수 있습니다.
INFO
PX4 does not require a manual control system for autonomous flight modes.
안전 스위치
Vehicles may include a safety switch that must be engaged before the vehicle can be armed (when armed, motors are powered and propellers can turn).
This switch is almost always integrated into the GPS module that is connected to the Pixhawk GPS1
port — along with the buzzer and UI LED.
The switch may be disabled by default, though this depends on the particular flight controller and airframe configuration. You can disable/enable use of the switch with the CBRK_IO_SAFETY parameter.
INFO
Safety switches are optional. Many argue that it is safer for users never to approach a powered system, even to enable/disable this interlock.
부저
Vehicles commonly include a buzzer for providing audible notification of vehicle state and readiness to fly (see Tune meanings).
This buzzer is almost always integrated into the GPS module that is connected to the Pixhawk GPS1
port — along with the safety switch and UI LED. You can disable the notification tunes using the parameter CBRK_BUZZER.
LED
Vehicles should have a superbright UI RGB LED that indicates the current readiness for flight.
Historically this was included in the flight controller board. On more recent flight controllers this is almost always an I2C peripheral integrated into the GPS module that is connected to the Pixhawk GPS1
port — along with the safety switch and buzzer.
텔레메트리 무선 통신
Data/Telemetry Radios can provide a wireless MAVLink connection between a ground control station like QGroundControl and a vehicle running PX4. 비행중인 기체의 매개변수 변경, 실시간 텔레메트로 통신, 임무 변경 등의 작업을 수행할 수 있습니다.
외부 보조 컴퓨터
A Companion Computer (also referred to as "mission computer" or "offboard computer"), is a separate on-vehicle computer that communicates with PX4 to provide higher level command and control.
The companion computer usually runs Linux, as this is a much better platform for "general" software development, and allows drones to leverage pre-existing software for computer vision, networking, and so on.
The flight controller and companion computer may be pre-integrated into a single baseboard, simplifying hardware development, or may be separate, and are connected via a serial cable, Ethernet cable, or wifi. The companion computer typically communicates with PX4 using a high level Robotics API such as MAVSDK or ROS 2.
관련 주제는 다음과 같습니다:
- Companion Computers
- Off-board Mode - Flight mode for offboard control of PX4 from a GCS or companion computer.
- Robotics APIs
SD 카드 (휴대용 저장 장치)
PX4 uses SD memory cards for storing flight logs, and they are also required in order to use UAVCAN peripherals and fly missions.
By default, if no SD card is present PX4 will play the format failed (2-beep) tune twice during boot (and none of the above features will be available).
TIP
The maximum supported SD card size on Pixhawk boards is 32GB. The SanDisk Extreme U3 32GB and Samsung EVO Plus 32 are highly recommended.
SD 카드는 선택 사항입니다. SD 카드가 없는 비행 콘트롤어는 다음의 작업들을 수행하여야 합니다.
- Disable notification beeps are disabled using the parameter CBRK_BUZZER.
- Stream logs to another component (companion).
- Store missions in RAM/FLASH.
Payloads
Payloads are equipment carried by the vehicle to meet user or mission objectives, such as cameras in surveying missions, instruments used in for inspections such as radiation detectors, and cargo that needs to be delivered. PX4 supports many cameras and a wide range of payloads.
Payloads are connected to Flight Controller outputs, and can be triggered automatically in missions, or manually from an RC Controller or Joystick, or from a Ground Station (via MAVLink/MAVSDK commands).
For more information see: Payloads & Cameras
시동 및 해제
A vehicle is said to be armed when all motors and actuators are powered, and disarmed when nothing is powered. There is also a prearmed state when only servo actuators are powered, which is primarily used for testing.
A vehicle is usually disarmed on the ground, and must be armed before taking off in the current flight mode.
WARNING
Armed vehicles are dangerous because propellers can start spinning at any time without further user input, and in many cases will start spinning immediately.
Arming and disarming are triggered by default using RC stick gestures. On Mode 2 transmitters you arm by holding the RC throttle/yaw stick on the bottom right for one second, and to disarm you hold the stick on bottom left for one second. PX4에서 무선 조종 스위치로 시동을 걸 수 있도록 설정할 수 있습니다. 또한, 지상통제국에서 시동 명령을 MAVLink로 전송할 수 있습니다.
To reduce accidents, vehicles should be armed as little as possible when the vehicle is on the ground. By default, vehicles are:
- Disarmed or Prearmed (motors unpowered) when not in use, and must be explicitly armed before taking off.
- Automatically disarm/prearm if the vehicle does not take off quickly enough after arming (the disarm time is configurable).
- Automatically disarm/prearm shortly after landing (the time is configurable).
- 기체는 정상 상태가 아니면, 시동은 걸리지 않습니다.
- Arming is prevented if the vehicle has a safety switch that has not been engaged.
- Arming is prevented if a VTOL vehicle is in fixed-wing mode (by default).
- Arming may be prevented due to a number of other optional arming pre-condition settings, such as low battery.
When prearmed you can still use actuators, while disarming unpowers everything. Prearmed and disarmed should both be safe, and a particular vehicle may support either or both.
TIP
Sometimes a vehicle will not arm for reasons that are not obvious. QGC v4.2.0 (Daily build at time of writing) and later provide an arming check report in Fly View > Arming and Preflight Checks. From PX4 v1.14 this provides comprehensive information about arming problems along with possible solutions.
A detailed overview of arming and disarming configuration can be found here: Prearm, Arm, Disarm Configuration.
비행 모드
Modes are special operational states that provide different types/levels of vehicle automation and autopilot assistance to the user (pilot).
Autonomous modes are fully controlled by the autopilot, and require no pilot/remote control input. These are used, for example, to automate common tasks like takeoff, returning to the home position, and landing. Other autonomous modes execute pre-programmed missions, follow a GPS beacon, or accept commands from an offboard computer or ground station.
Manual modes are controlled by the user (via the RC control sticks/joystick) with assistance from the autopilot. Different manual modes enable different flight characteristics - for example, some modes enable acrobatic tricks, while others are impossible to flip and will hold position/course against wind.
TIP
Not all modes are available on all vehicle types, and some modes can only be used when specific conditions have been met (e.g. many modes require a global position estimate).
An overview of the flight modes implemented within PX4 for each vehicle can be found below:
Instructions for how to set up your remote control switches to enable different flight modes is provided in Flight Mode Configuration.
PX4 also supports external modes implemented in ROS 2 using the PX4 ROS 2 Control Interface. These are indistinguishable from PX4 internal modes, and can be used to override internal modes with a more advanced version, or to create entirely new functionality. Note that these depend on ROS 2 and can therefore only run on systems that have a companion computer.
안전 설정(사고 방지)
PX4는 시스템 사고시에 기체을 보호하고 복구할 수 있는 안전 시스템이 있으며, 이와 관련된 여러가지 설정들이 있습니다. 안정 설정으로 안전 비행 지역과 조건을 지정하고, 안전 장치에서 수행하는 작업(예: 착륙, 위치 유지 또는 지정된 지점으로 복귀)을 설정할 수 있습니다.
INFO
You can only specify the action for the first failsafe event. 이벤트가 발생하면, 시스템은 특별한 처리 코드를 실행하여 안전 장치 트리거가 분리된 시스템에서 기체별 코드에 의해 관리되도록 합니다.
주요 안전장치는 다음과 같습니다.
- 배터리 부족
- RC(원격 제어) 신호 상실
- 위치 상실(GPS 전역 위치 추정 품질이 너무 낮음)
- 외부 보드 연결 손실(예: 보조 컴퓨터와의 연결이 끊어짐)
- 데이터 링크 손실(예: GCS에 대한 텔레메트리 연결이 끊어짐)
- 지리적 경계 위반(가상 실린더 내부로 기체 비행을 제한합니다)
- 미션 안전장치(재 이륙 시 이전 미션이 실행되는 것을 방지합니다)
- 트래픽 회피(예: ADSB 응답기에 의해 작동됩니다)
For more information see: Safety (Basic Configuration).
전진 방향
차량, 보트 및 항공기에는 전진 방향이 정해져 있습니다.
INFO
For a VTOL Tailsitter the heading is relative to the multirotor configuration (i.e. vehicle pose during takeoff, hovering, landing).
차량의 전진 방향을 알아야만 차량의 이동 벡터와 정렬할 수 있습니다. 멀티콥터는 모든 방향에서 대칭인 경우에도 전진 방향이 정의됩니다. Usually manufacturers use a coloured props or coloured arms to indicate the heading.
In our illustrations we will use red colouring for the front propellers of multicopter to show heading.
You can read in depth about heading in Flight Controller Orientation