Module 1/5 · Weeks 1–3 · 27 h

Integration planning

UAT 302 UAS Installation and System Integration

About 95 minDraft, awaiting reviewLast updated 30 September 2026

Lesson

By the end of this module you will be able to

  1. Write an interface register for the system to be assembled
  2. Order installation tasks from a dependency graph and find the critical path
  3. Allocate the flight controller's serial ports and I2C addresses and check for conflicts with a program
  4. Set test criteria for each step before moving to the next
  5. Assemble the airframe in order, to the manual's torque, and check the torque log with a program

Prerequisites: UAT 204 (serial interfaces) · UAT 203 (Electrical and Electronic Systems for UAS)

Why this matters

This is a practical course, and it uses one case throughout: a student team assembles a 6S quadcopter survey drone from parts, with a Pixhawk-family flight controller running ArduPilot, GNSS with a compass, a telemetry radio, an RC receiver, a companion computer and a triggered camera. The most common assembly problems are not broken parts but wrong ports, mismatched settings, and installing in the wrong order so that work must be undone. The drone knowledge base’s unit on design and system integration recommends writing verifiable connection requirements before starting. Numbers in this module are hypothetical except values quoted from documentation.

The interface register

The NASA Systems Engineering Handbook and INCOSE both call for recording every interface before integration. For one drone, each row of the interface register should hold at least: the devices at both ends, the port or connector, signal type and protocol, voltage level, data rate, current drawn, and the parameters to set. In this course a program checks the register.

Installation order

Some installation work must come before other work; for example, the power system and flight controller must exist before the GNSS can be tested. These precedences form a dependency graph, and a topological sort orders the tasks so that each comes after everything it depends on. If people can work in parallel, the longest path through the graph is the critical path, which sets the earliest finish time.

Dependency graph of installation tasks: power distribution leads to the flight controller, which branches to the RC receiver, GNSS and compass, telemetry radio, ESCs and motors, and the companion computer; the companion computer leads to the camera; the critical path of power distribution, flight controller, companion computer and camera is shown in pink
Figure 1 Dependency graph of installation tasks

Example 1 Ordering tasks and finding the critical path

tasks = {   # task: (hours, predecessors)
    "power distribution": (3, []),
    "flight controller": (2, ["power distribution"]),
    "RC receiver": (1, ["flight controller"]),
    "GNSS + compass": (2, ["flight controller"]),
    "telemetry radio": (1, ["flight controller"]),
    "ESCs + motors": (3, ["power distribution", "flight controller"]),
    "companion computer": (3, ["power distribution", "flight controller"]),
    "camera trigger": (2, ["companion computer", "flight controller"]),
}

indeg = {t: len(p) for t, (_, p) in tasks.items()}
order, ready = [], [t for t, d in indeg.items() if d == 0]
while ready:
    t = ready.pop(0)
    order.append(t)
    for u, (_, pred) in tasks.items():
        if t in pred:
            indeg[u] -= 1
            if indeg[u] == 0:
                ready.append(u)
assert len(order) == len(tasks), "dependency cycle"

finish, prev = {}, {}
for t in order:
    d, pred = tasks[t]
    start = max((finish[p] for p in pred), default=0)
    prev[t] = max(pred, key=lambda p: finish[p]) if pred else None
    finish[t] = start + d
end = max(finish, key=finish.get)
path, t = [], end
while t:
    path.append(t)
    t = prev[t]
print("order:", " -> ".join(order))
print(f"total effort {sum(d for d, _ in tasks.values())} h, earliest finish with parallel work {finish[end]} h")
print("critical path:", " -> ".join(reversed(path)))
order: power distribution -> flight controller -> RC receiver -> GNSS + compass -> telemetry radio -> ESCs + motors -> companion computer -> camera trigger
total effort 17 h, earliest finish with parallel work 10 h
critical path: power distribution -> flight controller -> companion computer -> camera trigger

One person needs the full total effort, but with two or three people the tasks on the critical path are the ones to watch; the others can slip without delaying the whole job. The program also reports immediately if the graph contains a cycle, which means the written order contradicts itself.

Allocating ports and addresses

According to the ArduPilot documentation for the Pixhawk 6X, SERIAL1 is TELEM1 and SERIAL2 is TELEM2, both with RTS/CTS lines for flow control; SERIAL3 is GPS1 and SERIAL5 is TELEM3. Each port’s protocol is set with SERIALn_PROTOCOL (for example 2 = MAVLink2, 5 = GPS) and its speed with SERIALn_BAUD (for example 57 = 57,600 and 921 = 921,600 bps). The TELEM signals on this board are 3.3 V. On an I2C bus, each device needs a unique 7-bit address; for example, the MS5611 barometer uses 0x76 or 0x77 depending on its CSB pin.

Example 2 Checking port and I2C allocation

PORTS = {"SERIAL1": {"name": "TELEM1", "flow": True}, "SERIAL2": {"name": "TELEM2", "flow": True},
         "SERIAL3": {"name": "GPS1", "flow": False}, "SERIAL5": {"name": "TELEM3", "flow": True}}
PROTO = {2: "MAVLink2", 5: "GPS"}
plan = [   # device, port, SERIALn_PROTOCOL, SERIALn_BAUD, needs flow control
    ("telemetry radio", "SERIAL1", 2, 57, False),
    ("companion computer", "SERIAL3", 2, 921, True),
    ("GNSS", "SERIAL3", 5, 115, False),
    ("ground display radio", "SERIAL5", 2, 57, False),
]
i2c = {"external bus": [("GNSS module compass", 0x0E), ("add-on compass", 0x0E), ("barometer", 0x77)]}

used, issues = {}, []
for dev, port, proto, baud, need_flow in plan:
    if port in used:
        issues.append(f"{port} used by both {used[port]} and {dev}")
    used[port] = dev
    if need_flow and not PORTS[port]["flow"]:
        issues.append(f"{dev} needs flow control but {port} ({PORTS[port]['name']}) has none")
    print(f"{port:<8}{PORTS[port]['name']:<7} {dev:<21} {PROTO[proto]:<9} baud code {baud}")
for bus, devs in i2c.items():
    seen = {}
    for dev, addr in devs:
        if addr in seen:
            issues.append(f"I2C {bus}: {dev} and {seen[addr]} both at 0x{addr:02X}")
        seen[addr] = dev
print("issues:", *issues, sep="\n  ")
free = [p for p in PORTS if p not in used]
print("free ports:", free)
SERIAL1 TELEM1  telemetry radio       MAVLink2  baud code 57
SERIAL3 GPS1    companion computer    MAVLink2  baud code 921
SERIAL3 GPS1    GNSS                  GPS       baud code 115
SERIAL5 TELEM3  ground display radio  MAVLink2  baud code 57
issues:
  companion computer needs flow control but SERIAL3 (GPS1) has none
  SERIAL3 used by both companion computer and GNSS
  I2C external bus: add-on compass and GNSS module compass both at 0x0E
free ports: ['SERIAL2']

This plan has three problems that really do happen: the companion computer is on the GPS port, which clashes with the GNSS and has no flow control, and two compasses of the same model sit on one bus. The fix is to move the companion computer to SERIAL2, which is free and has flow control, and to choose an add-on compass whose address can be changed, or put it on another bus.

A flight controller in the centre with TELEM1, TELEM2, GPS1, TELEM3 and I2C ports: TELEM1 goes to the telemetry radio, TELEM2 to the companion computer, GPS1 to the GNSS, TELEM3 to the ground display radio, and I2C to the compass and barometer
Figure 2 Port map after resolving conflicts

Assembling the airframe

The frame carries every load in flight, so assembly mistakes return later as vibration, loose arms or cracks. The steps below follow the Holybro X500 V2 build guide in the PX4 user guide and the general practice in the FAA’s AC 43.13-1B; the frame manufacturer’s manual always comes first.

  1. Inspect parts before assembly. Carbon plates and tubes must have no cracks, frayed or delaminated edges (layers of the composite coming apart) or damage around holes. AC 43.13-1B’s visual inspection looks for cracks, delamination of composites and chafed wiring under good light, with a magnifier where needed. For carbon parts, tap testing with a coin or a light hammer compares the sound with a known good area: a “flat” or “dead” sound suggests delamination. Tap testing finds only fairly shallow defects, so a suspect part should be replaced rather than trusted.
  2. Follow the build order and wire early. The X500 V2 guide fits the power distribution board to the bottom plate and runs the wiring before the top plate goes on, because wires are hard to insert once the plates are closed, and it does not fasten screws until all the motors are in position. Fit everything loosely first, check that the arms are straight and the motors upright, then tighten.
  3. Tighten to the right torque. AC 43.13-1B warns that too little torque lets fasteners and the parts they hold wear, while too much can break the screw or strip the thread. Use the manufacturer’s torque for that screw size, keep threads clean and dry unless the manufacturer says otherwise, and have the torque tool calibrated at least once a year or immediately after it is dropped. Lock screws with the method the manufacturer specifies, such as threadlocker or lock washers (Module 4).
  4. Mark and record. Put witness marks on critical screws and record each joint’s torque and the tool used in the assembly log, which becomes part of the configuration record in Module 5.

Example 3 Checking the assembly torque log

The team logs every joint as it is tightened. Before accepting the frame, a program checks the torque against the frame manual and the calibration date of each torque driver.

from datetime import date

TODAY = date(2026, 9, 30)
tools = {"TD-01": date(2025, 8, 15), "TD-02": date(2026, 3, 2)}   # torque driver: last calibration
log = [   # joint, torque from the frame manual (N·m), torque applied (N·m), tool (assumed values)
    ("arm clamp 1 (M3)", 1.2, 1.2, "TD-02"), ("arm clamp 2 (M3)", 1.2, 0.9, "TD-02"),
    ("arm clamp 3 (M3)", 1.2, 1.2, "TD-01"), ("arm clamp 4 (M3)", 1.2, 1.2, "TD-02"),
    ("motor 1 mount (M3)", 1.0, 1.0, "TD-02"), ("landing gear (M2.5)", 0.6, 0.9, "TD-02"),
]
TOL = 0.10                      # accept within ±10% of the manual value (assumed team rule)

redo = []
for tool, cal in tools.items():
    age = (TODAY - cal).days
    print(f"{tool}: calibrated {age} days ago -> {'ok' if age <= 365 else 'OUT OF CALIBRATION'}")
for joint, spec, applied, tool in log:
    reasons = []
    if abs(applied - spec) / spec > TOL:
        reasons.append("under-torqued" if applied < spec else "over-torqued: inspect threads and part for damage")
    if (TODAY - tools[tool]).days > 365:
        reasons.append(f"tool {tool} out of calibration")
    if reasons:
        redo.append(joint)
        print(f"REDO {joint}: {spec} N·m wanted, {applied} applied; {', '.join(reasons)}")
print(f"{len(redo)} of {len(log)} joints to redo before the frame is accepted")
TD-01: calibrated 411 days ago -> OUT OF CALIBRATION
TD-02: calibrated 212 days ago -> ok
REDO arm clamp 2 (M3): 1.2 N·m wanted, 0.9 applied; under-torqued
REDO arm clamp 3 (M3): 1.2 N·m wanted, 1.2 applied; tool TD-01 out of calibration
REDO landing gear (M2.5): 0.6 N·m wanted, 0.9 applied; over-torqued: inspect threads and part for damage
3 of 6 joints to redo before the frame is accepted

Arm clamp 3 reads correct, but the driver’s last calibration was more than a year ago, so that number cannot be trusted and the joint must be redone with a calibrated tool. The under-torqued arm clamp could let the arm twist in flight, changing the thrust direction of its motor. The over-torqued landing-gear screw is 50% above the manual value, so its thread and the carbon around the hole must be checked for crushing or cracks before it is refitted.

Module lab

Lab: an integration plan for the training drone

  1. Write a complete interface register for the training drone using the headings in this lesson
  2. Draw the dependency graph and use Example 1 to find the task order and critical path
  3. Read the flight controller’s page in the ArduPilot or PX4 documentation and allocate ports with Example 2
  4. Set a pass criterion for each step, for example a GNSS 3D fix with HDOP below an agreed value, before moving on
  5. Inspect the frame parts, assemble them in the manual’s order, log the torque of every joint and check the log with Example 3
  6. Have another team review the register and plan before starting

Common mistakes

Watch out

  • Starting assembly without an interface register
  • Connecting a device that needs flow control to a port without it
  • Putting I2C devices with the same address on one bus
  • Installing everything and testing only once at the end
  • Guessing the SERIAL number from the port label without reading the documentation for that board
  • Tightening screws by feel or with a torque tool whose calibration has expired

Summary

  • The interface register records every connection with its protocol, voltage, rate, current and parameters
  • A dependency graph gives the task order, and the critical path gives the earliest finish
  • Serial ports are set with SERIALn_PROTOCOL and SERIALn_BAUD and must match flow-control needs
  • Devices on the same I2C bus need unique addresses
  • Inspect every frame part, tighten to the manual’s torque with a calibrated tool, and record each joint

Check your understanding

  1. Task A takes 2 hours; task B takes 3 hours and needs A; task C takes 1 hour and needs A. What is the earliest finish?
  2. What does SERIAL2_PROTOCOL = 2 mean?
  3. Which kind of port should a companion computer sending at 921,600 bps use?
  4. Which address does an MS5611 barometer use with its CSB pin high?
  5. If the topological sort cannot place every task, what does that mean?
Answers
  1. hours
  2. TELEM2 is set to MAVLink2
  3. A port with flow control, such as TELEM1 or TELEM2
  4. 0x76
  5. The dependency graph has a cycle, so the written order contradicts itself

Key formulas

Earliest finish of a task

Key references

  1. National Aeronautics and Space Administration. (2016). NASA systems engineering handbook (NASA/SP-2016-6105 Rev 2). link
  2. INCOSE. (2023). INCOSE systems engineering handbook: A guide for system life cycle processes and activities (5th ed.). Wiley. link
  3. ArduPilot Dev Team. Serial port configuration. ArduPilot Copter documentation. link
  4. ArduPilot Dev Team. Holybro Pixhawk 6X. ArduPilot Copter documentation. link
  5. ArduPilot Dev Team. Parameter list (Copter stable V4.6.3). ArduPilot Copter documentation. link
  6. Holybro. Pixhawk baseboard pinout (Pixhawk 6X). link
  7. TE Connectivity. (2017). MS5611-01BA03 barometric pressure sensor datasheet. link
  8. Federal Aviation Administration. (1998). Acceptable methods, techniques, and practices: Aircraft inspection and repair (AC 43.13-1B, with Change 1). link
  9. PX4 Autopilot. Holybro X500 V2 (Pixhawk 6C) build. PX4 user guide (main). link

Further reading

Study the assigned knowledge units in advance, review media and take the module quiz

In class / field

Lab or field practice from worksheets with a safety checklist

Learning evidence: Checked worksheets and quiz results

Module quiz

This is a formative self-check, not a graded exam

Knowledge domain: Aircraft, structures and design · Installation, maintenance and testing · Electrical, electronics and power systems · Management, innovation and professional practice