← All notes

Why Point-Vortex Models Are Enough for Real-Time Planning

  • motion-planning
  • aerodynamics

A full computational fluid dynamics solve gives you an accurate flow field, but it’s far too slow to sit inside a planner’s inner loop. The question we actually care about for planning isn’t “what is the flow everywhere,” it’s “what force will this wing feel over the next few seconds along candidate trajectories.” That’s a much smaller question, and it turns out a point-vortex approximation answers it well enough to plan with.

The model

We represent the disturbance field as a finite set of point vortices, each inducing a velocity at a query point x\mathbf{x} according to the Biot–Savart law:

v(x)=∑i=1NΓi2πri θ^i\mathbf{v}(\mathbf{x}) = \sum_{i=1}^{N} \frac{\Gamma_i}{2\pi r_i} \, \hat{\mathbf{\theta}}_i

where Γi\Gamma_i is the circulation of vortex ii, ri=∥x−xi∥r_i = \lVert \mathbf{x} - \mathbf{x}_i \rVert is the distance to it, and θ^i\hat{\mathbf{\theta}}_i is the unit tangential direction around it. Summing over a few dozen particles is cheap enough to evaluate thousands of times per planning cycle, which is what actually matters for a receding-horizon controller running onboard.

Why this is enough

The point-vortex model is wrong in plenty of ways — it ignores viscosity, and it doesn’t capture fine-grained turbulent structure. But for planning purposes we don’t need the flow field to be right, we need the induced velocity at the vehicle’s position to be right in the right order of magnitude, in the right direction, a few seconds out. In practice, fitting particle strengths and positions online from onboard airflow sensing gets us there:

struct VortexParticle {
    Eigen::Vector3d position;
    double circulation;
};

Eigen::Vector3d induced_velocity(const Eigen::Vector3d& query,
                                  const std::vector<VortexParticle>& particles) {
    Eigen::Vector3d v = Eigen::Vector3d::Zero();
    for (const auto& p : particles) {
        Eigen::Vector3d r = query - p.position;
        double r_norm = r.norm() + 1e-6;   // avoid singularity near the core
        Eigen::Vector3d theta_hat = r.unitOrthogonal();
        v += (p.circulation / (2 * M_PI * r_norm)) * theta_hat;
    }
    return v;
}

Folding this into the planner’s dynamics model means the trajectory optimizer can route the vehicle with a gust rather than fighting it after the fact — which is the difference between an aggressive maneuver that stays inside actuator limits and one that doesn’t.

← All notes