Physics and assessing realism

Separate pretty visuals from the model of forces, mass, wind, and damping, with a method for comparative experiments

Last updated:

A drone on a scale with test weights and a response plot
Concept rendering created with AI; not a screenshot or a confirmed supported device model

Realistic visuals do not confirm realistic forces

The rendering system creates what the user sees, while the dynamics model computes motion from forces and moments. The two layers may have different levels of fidelity. RotorPy focuses on models and research, whereas practice tools focus on the piloting experience, so the choice must depend on the problem and on measurable evidence.

While hovering in a simple model, total vertical thrust must balance the weight, T ≈ mg, but this equation should not be converted directly into a throttle percentage, because the propulsion system and the control system have their own responses.

Diagram: thrust / wind / mass → airframe dynamics → measurable response

Variables that change behaviour

Variable What to observe Cautions in interpretation
Mass and centre of gravity Climb and attitude holding Adding mass without adjusting inertia may not represent the real aircraft
Thrust and motor lag Response time and overshoot Maximum thrust and response speed are different quantities
Wind and drag Deviation from the path Wind direction and variability must be specified
Sensors and latency Oscillation and heading correction Low FPS is not evidence that sensor latency has been simulated

Read the aerodynamic effects model of the project you use before enabling options. Do not conclude that the presence of the word physics means every phenomenon is covered.

One-factor-at-a-time experimental design

Set up a calm-wind baseline case using the same simulated airframe and the same path, and record settling time and error. Then change only mass or wind. Repeat at least three times per the proposed practice criterion, and also record variable values and the software version.

To claim closeness to a real aircraft, you need data from that aircraft, similar conditions, and a separate dataset not used to tune the model. No such validation was done in this round, so this lesson is used to learn how to pose questions and design experiments.

Build on this with calculating mass and centre of gravity and testing principles

Bibliography and original sources

Documents checked on 23 September 2026 (B.E. 2569)

F10: how one PID cycle accumulates and limits the command

Feedback loop: reference minus measurement gives the error, which passes through PID and an output clip before the plant

Variable Meaning and units, input → output Range/source of value
r, y, e Target, measured value, and error, dimensionless (input/output) finite; e=r−y in the educational model
Δt Interval between samples, s (input) > 0; real or simulator timestamp
I_prev, I Integral before/after, s (input/output) finite; state the initial value
e_prev, D Previous error (input), derivative 1/s (output) finite; state the initial value, do not guess the first sample
Kp, Ki, Kd Gains with units 1, 1/s, s (input) ≥ 0 for this exercise; not tuning values for a real aircraft
u_raw, u Command before/after clip, dimensionless (output) u lies in [u_min,u_max]; bounds finite and min < max

Applied level · Question: when the error changes, how do P, I, and D combine into a command?

e = r − y; u(t) = Kp e(t) + Ki ∫e(t)dt + Kd de/dt

I_k = I_(k−1) + e_k Δt; D_k = (e_k − e_(k−1))/Δt

u_raw = Kp e_k + Ki I_k + Kd D_k; u = min(u_max, max(u_min, u_raw))

This is a positional PID for teaching: the rectangle integral uses the current error and a backward derivative on the error; it is not PX4 source code. According to the PX4 v1.15 documentation, the rate controller limits the integral and D uses the filtered gyro derivative, so gains cannot be compared directly. If error or u has other units, the gain units must change accordingly.

This model shows the clip so that saturation can be seen, but clipping the command alone does not prevent integral windup, and a derivative on the error can kick when the setpoint changes. A real implementation must design anti-windup, a D-filter, timestamps, and state reset. Test in a simulator first; do not copy these gains to a real aircraft.

Worked substitution example

Set r=3, y=1, e_prev=1, I_prev=0, Δt=0.1 s, Kp=0.2, Ki=0.5/s, Kd=0.01 s and a command range of [−1,1]. This gives e=2, I=0+2×0.1=0.2 s, D=(2−1)/0.1=10/s, so u_raw=0.4+0.1+0.1=0.6 and u=0.6. Each term returns to a dimensionless command.

Exercise: change the values

Change r to 7 while keeping the previous state and the remaining values unchanged. Compute the values before and after the clip and state whether the integral stops accumulating.

Open the F10 answer

e=6, I=0.6 s, D=50/s, u_raw=1.2+0.3+0.5=2 and u=1, with a tolerance of ±0.000001 per value. The integral still accumulates according to the equation, so there is no anti-windup yet.

Reference: PX4 User Guide v1.15, Controller Diagrams, Multicopter Angular Rate Controller (P3E03); checked 26 September 2026 (B.E. 2569)

Extending to aerodynamics and flow equations

Read the Navier–Stokes equations then try Re/Mach and flow between parallel plates to separate flow models from drone motion models

Download the engineering and sensor formula practice set (CSV/JSON with answers) · synthetic data for practising calculation and checking assumptions

Used in courses

How to cite this page

Drone Institute, Rangsit University. (2026). Physics and assessing realism. In UAS Technology Knowledge Hub (B.Tech.). https://rsu-uat.pk-research.work/en/kb/knowledge/drone-simulation/physics/

Original from Drone-Hub: https://drone.pk-research.work/knowledge/drone-simulation/physics/ · © PK-Research