Requirements and architecture
UAT 491 Unmanned Aircraft Systems and Automation Technology Capstone Project
Lesson
By the end of this module you will be able to
- Write requirements with the characteristics in the INCOSE guide, especially singular and verifiable statements
- Design the hardware and software architecture and build an interface table
- Compute ground sample distance (GSD) to choose a stand-off distance at which blockages can be seen
- Build a power and endurance budget, check the margin and decide how to split the flights
Why this matters
The design review in week 6 is the last point at which the team can change direction without losing much time. The committee will ask three questions: what exactly must the system do (requirements), what is it made of and how do the parts connect (architecture), and do the key numbers work (design budgets). This lesson answers all three for the rain-gutter inspection drone from module 1. All figures are hypothetical.
Good requirements, the INCOSE way
The INCOSE Guide to Writing Requirements lists nine characteristics of an individual requirement: necessary (C1), appropriate to its level (C2), unambiguous (C3), complete (C4), singular (C5), feasible (C6), verifiable (C7), correct with respect to the stakeholder need (C8) and conforming to the organisation’s agreed format (C9). ISO/IEC/IEEE 29148 applies the same principles to requirements engineering.
Example 1 Rewriting a requirement so it can be verified
The team’s first draft read: “The drone shall inspect the gutters quickly and accurately.” It breaks at least three rules: “quickly” and “accurately” are ambiguous (C3), there are two things in one statement (C5) and there is no number to test (C7). The team split it into singular, verifiable requirements.
| ID | Requirement | Verification |
|---|---|---|
| R1 | The system shall detect at least 85% of blockages of 5 cm or larger in a gutter, when tested with 40 placed blockages | Test |
| R2 | The system shall capture complete images of the gutters of 2 buildings in one flight | Test |
| R3 | The planned time of each flight shall not exceed 70% of the computed endurance | Analysis |
| R4 | The report shall locate each blockage to within 2 m | Test |
Each number comes from the user or from a calculation in this lesson, not from thin air.
Hardware and software architecture
Architecture divides the system into components and defines how data and power flow between them. In practice it helps to keep what flies clearly separate from what stays on the ground. Here the camera sends images to a companion computer, which runs the blockage-detection model and reads the position from the flight controller over the MAVLink protocol. The flight controller takes data from the GNSS and IMU and sends telemetry down to the ground control station (GCS).
Every line in the diagram needs a row in an interface table, a cut-down interface control document that says who sends what to whom, over which channel and how often. Most integration faults happen on these lines.
| Interface | Physical | Data | Rate (example) |
|---|---|---|---|
| Camera → companion computer | USB | JPEG images, 4000 × 3000 | 1 image every 4.8 s |
| Companion ↔ flight controller | UART | MAVLink (position, attitude, capture command) | 921,600 bit/s |
| Flight controller ↔ GCS | Telemetry radio | MAVLink | 57,600 bit/s |
| Companion → report | Files after landing | CSV + detected images | Once per flight |
Image budget: ground sample distance
GSD (ground sample distance) is the real size covered by one pixel; in this job it is measured on the gutter, not on the ground. For a sensor of width , a lens of focal length , an image pixels wide and a camera at distance from the gutter:
If the smallest object must span at least a given number of pixels, invert the equation to find the largest acceptable distance.
Example 2 Stand-off distance and number of photos
The example camera has a 1/2.3-inch sensor 6.17 mm wide, a 4.5 mm lens and images 4000 pixels wide. The smallest blockage, 5 cm, must span at least 10 pixels for the model to detect it. The gutters total 1,200 m and the team wants 30% overlap along the gutter.
import math
SENSOR_W_MM, F_MM, PX_W = 6.17, 4.5, 4000 # example 1/2.3-inch camera (hypothetical)
TARGET_CM, MIN_PX = 5, 10 # smallest blockage 5 cm must span at least 10 pixels
GUTTER_M, OVERLAP = 1200, 0.30
gsd_req = TARGET_CM / MIN_PX / 100 # m/px
d_max = gsd_req * F_MM * PX_W / SENSOR_W_MM
print(f"required GSD <= {gsd_req * 100:.2f} cm/px -> stand-off distance <= {d_max:.1f} m")
D = 10.0
gsd = SENSOR_W_MM / 1000 * D / (F_MM / 1000 * PX_W)
width = gsd * PX_W
step = width * (1 - OVERLAP)
print(f"at {D:.0f} m: GSD {gsd * 100:.2f} cm/px, footprint {width:.1f} m, photo every {step:.1f} m")
print(f"photos for {GUTTER_M} m of gutter: {math.ceil(GUTTER_M / step) + 1}")
required GSD <= 0.50 cm/px -> stand-off distance <= 14.6 m
at 10 m: GSD 0.34 cm/px, footprint 13.7 m, photo every 9.6 m
photos for 1200 m of gutter: 127
The largest acceptable distance is about 14.6 m. The team chose 10 m to allow for position error. At 2 m/s a photo is needed every seconds, the same number as in the interface table.
Power and endurance budget
A design budget allocates a limited resource, such as mass, energy or time, to the parts of the system and checks whether enough margin remains. NASA’s handbook recommends tracking technical performance measures together with their margins throughout the design, because real values are usually worse than estimates.
Example 3 One flight or two?
A 4S 5,000 mAh battery with 80% usable, 170 W to fly, 15 W for the companion computer and camera, image capture at 2 m/s, and a team rule that the planned flight time must not exceed 70% of the computed endurance (requirement R3).
BATT_WH = 4 * 3.7 * 5.0 # 4S 5000 mAh
USABLE = 0.80 # 80% usable, the rest stays in the battery as reserve
P_HOVER, P_PAYLOAD = 170, 15 # W: flight, companion computer + camera
MAX_USE = 0.70 # team rule: planned flight time at most 70% of computed endurance
SPEED = 2.0 # m/s while capturing images
endurance = BATT_WH * USABLE / (P_HOVER + P_PAYLOAD) * 60
print(f"endurance {endurance:.1f} min, planning limit {endurance * MAX_USE:.1f} min")
for name, gutter_m, transit_min in (("one flight, 4 buildings", 1200, 4.0), ("two flights, 2 buildings each", 600, 2.5)):
t = gutter_m / SPEED / 60 + transit_min
verdict = "ok" if t <= endurance * MAX_USE else "too long"
print(f"{name:<30} {t:4.1f} min = {t / endurance:4.0%} of endurance -> {verdict}")
endurance 19.2 min, planning limit 13.4 min
one flight, 4 buildings 14.0 min = 73% of endurance -> too long
two flights, 2 buildings each 7.5 min = 39% of endurance -> ok
One flight covering all four buildings breaks the limit, so the team splits the job into two flights of two buildings each. This changes requirement R2 to “2 buildings per flight” at the design stage, far better than discovering the problem during flight tests.
When the parts are weighed and the real power is measured in module 3, the team must come back and update this budget. If the margin falls below the rule, they will know before test day.
Module lab
Lab: design review package
- Write 8–12 requirements, check each against characteristics C1–C9 and state how it will be verified.
- Draw the architecture as in Figure 1 and complete the interface table for every line.
- Read the real camera specification from the manufacturer and compute GSD and the number of photos as in Example 2.
- Build the energy budget as in Example 3 with manufacturer data and state the margin you set.
- Present to your advisor in week 6 and record the feedback you must act on.
Common mistakes
Watch out
- Vague words in requirements, such as fast, good or accurate, with no number
- Several things in one requirement, so it can partly pass and cannot be judged
- Forgetting an interface, such as where each image’s position comes from
- Computing GSD from the wrong distance, using height above ground instead of distance to the gutter
- Using 100% of battery capacity and setting no endurance margin
Summary
- Each requirement must be singular, unambiguous and verifiable, with its verification method.
- The architecture separates airborne and ground parts, and every connecting line belongs in the interface table.
- chooses the stand-off distance from the smallest object size.
- The energy budget gives the endurance; set a margin and decide on flight splits at the design stage.
Check your understanding
- With the camera from Example 2 at 8 m from the gutter, what is the GSD?
- If the smallest object is 4 cm and must span at least 10 pixels, what is the largest acceptable distance?
- A 4S 4,000 mAh battery, 80% usable, 185 W total. How many minutes can it fly?
- “The system shall fly autonomously and stream images in real time” most clearly breaks which characteristic?
- Photos 9.6 m apart at 2 m/s: how often must a photo be taken?
Answers
- m, about 0.27 cm per pixel
- cm gives m
- Wh, 47.36 Wh usable, divided by 185 W gives 0.256 h, about 15.4 minutes
- C5, not singular: two capabilities in one statement; “real time” is also ambiguous (C3) unless the acceptable latency is stated
- seconds
Key formulas
| Ground sample distance (GSD) | |
| Endurance from the energy budget |
Key references
- INCOSE Requirements Working Group. (2023). Guide to writing requirements (Version 4, INCOSE-TP-2010-006-04). INCOSE. link
- International Organization for Standardization. (2018). Systems and software engineering — Life cycle processes — Requirements engineering (ISO/IEC/IEEE 29148:2018). link
- INCOSE. (2023). INCOSE systems engineering handbook: A guide for system life cycle processes and activities (5th ed.). Wiley. link
- National Aeronautics and Space Administration. (2016). NASA systems engineering handbook (NASA/SP-2016-6105 Rev 2). link
Further reading
Study the assigned knowledge units in advance, review media and take the module quiz
In class / field
Team project work, advisor meetings and progress presentations
Learning evidence: Project milestone deliverables