Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,12 +271,17 @@ torsional stiffness instead of the bearing damper.

The feathering EOM (per blade, time domain in the VPM):

I_theta * theta'' + C_theta * theta' + k_aero * theta = M_servo + M_camber
I_theta * theta'' + C_theta * theta'
+ (I_theta * omega^2 + k_aero) * theta = M_servo + M_camber

- `C_theta` (bearing damper) is the ONLY dissipation. In the
damper-dominated limit (`C_theta >> I_theta*omega`) it sets the ~90 deg
cyclic phase lag between flap command and feathering response. The lag
is NOT from a spring resonance.
- For a thin blade with negligible section-thickness inertia,
`I_theta * omega^2` approximates centrifugal restoring stiffness. It
cancels the 1/rev inertial term in the harmonic solve but remains in the
DC trim balance.
- `k_aero` is the aerodynamic spring from the AC offset:
`k_aero = 0.5*rho*omega^2*cl_alpha*ac_offset*Int(c r^2 dr)`.
- `M_camber` from `blade_Cm_AC` sets the DC trim.
Expand All @@ -296,7 +301,8 @@ Nose-down pitching moment is **negative**, consistent throughout.
- `ac_offset_m = x_ac - x_feathering_axis`, in metres, with section `x`
increasing from leading edge toward trailing edge. Positive means AC
**aft** of the axis: `k_aero > 0`, restoring. Negative means AC forward:
`k_aero < 0`, destabilising. Zero is the Kaman ideal (axis at AC, no
`k_aero < 0`, a destabilising contribution. Total static stability depends
on `I_theta * omega^2 + k_aero`. Zero is the Kaman ideal (axis at AC, no
offset spring). The physical spring moment is `-k_aero * theta_f`;
this sign describes the offset contribution, not complete-system
stability. It is not a NED-axis or cyclic-phase sign. See
Expand Down Expand Up @@ -331,9 +337,12 @@ Known limitations:
feathering + damper)
- No direct sectional `dCL/d_delta * delta_f` lift increment yet
- No servo actuator lag model yet
- DC flap path uses quasi-static approximation; for AC-on-axis configurations
(`k_aero ~= 0`) it falls back to collective pass-through to retain authority
- `mu` cross-term in flap forcing uses scalar advance ratio only
- DC flap path uses quasi-static trim in BEM and time integration in VPM;
both include centrifugal restoring stiffness
- BEM servo-flap forcing uses a first-order tangential-wind harmonic;
axial-flow and higher-harmonic dynamic-pressure terms are omitted
- BEM flapping is a post-sweep hub-load correction, so it is not coupled to
the feathering solve. VPM couples both DOFs through the section loads.

The old `kaman_flap:` block under `control:` remains metadata-only and
is not consumed by the Rust aero solvers. Use the `pitch_actuation:`
Expand Down
45 changes: 38 additions & 7 deletions docs/BEM_COMMON.md
Original file line number Diff line number Diff line change
Expand Up @@ -543,24 +543,48 @@ agent-facing sign rules are in

### Equation of Motion (psi-domain)

$$I_\theta\,\delta\theta'' + C_\theta\,\delta\theta' + k_\text{aero}\,\delta\theta = M_\text{servo}(\psi)$$
$$I_\theta\Omega^2\,\delta\theta'' + C_\theta\Omega\,\delta\theta' + (I_\theta\Omega^2 + k_\text{aero})\,\delta\theta = M_\text{servo}(\psi) + M_\text{camber}(\psi)$$

where primes denote $d/d\psi$, and:

$$k_\text{aero} = \tfrac{1}{2}\rho\,c_{L\alpha}\,c\,x_\text{AC}\,R^3/3 \quad \text{(zero if AC at feathering axis)}$$
$$k_\text{aero} = \tfrac{1}{2}\rho\Omega^2\,c_{L\alpha}\,\text{ac\_offset}\int_{r_\text{root}}^R c(r)r^2\,dr \quad \text{(zero if AC at feathering axis)}$$

For a thin blade with negligible section-thickness inertia, the centrifugal
term is approximated by the pitch inertia times `Omega^2`. It cancels the
1/rev inertial term in the harmonic balance, but remains in the DC trim
stiffness. The aerodynamic
spring has units of N m/rad and scales with rotor speed squared, matching the
time-domain VPM model. For the BEM pre-pass, sectional dynamic pressure is
approximated by the mean rotational speed plus its first-order tangential
in-plane-wind perturbation; axial-flow and higher-harmonic dynamic-pressure
terms are not included.

The static feathering angle is `M_0 / (I_theta*Omega^2 + k_aero)`. With zero
AC offset, the centrifugal stiffness supplies the finite DC response; there
is no direct-pitch pass-through. The BEM flapping model remains a post-sweep
hub-load correction, so it is not dynamically coupled to this feathering
pre-pass. VPM couples flap and feather motion through the section loads.
Static stability requires `I_theta*Omega^2 + k_aero > 0`; a negative AC offset
is a destabilizing contribution, not by itself proof of a divergent total mode.

### Servo-Flap Aerodynamic Moment

$$M_{f,0} = \delta_{f,0}\,m_\text{dc}, \quad M_{f,1c} = \delta_{f,1c}\,m_\text{dc}, \quad M_{f,1s} = \delta_{f,1s}\,m_\text{dc} + \delta_{f,0}\,m_\mu$$
$$M_{f,0} = \delta_{f,0}\,m_\text{dc} + \tfrac{1}{2}(\delta_{f,1c}m_c+\delta_{f,1s}m_s), \quad M_{f,1c} = \delta_{f,1c}\,m_\text{dc} + \delta_{f,0}m_c, \quad M_{f,1s} = \delta_{f,1s}\,m_\text{dc} + \delta_{f,0}m_s$$

$$m_\text{dc} = \tfrac{1}{2}\rho\Omega^2 C_{M\delta}\,c\,\frac{r_\text{out}^3 - r_\text{in}^3}{3}$$
$$m_\text{dc} = \tfrac{1}{2}\rho\Omega^2 C_{M\delta}\int_{r_\text{in}}^{r_\text{out}}c(r)^2r^2\,dr$$

$$m_\mu = -\tfrac{1}{2}\rho\Omega^2 C_{M\delta}\,c\,\mu R\,(r_\text{out}^2 - r_\text{in}^2)$$
$$m_c = \rho\Omega C_{M\delta}v_{\text{in},y}\int_{r_\text{in}}^{r_\text{out}}c(r)^2r\,dr,\quad m_s = \rho\Omega C_{M\delta}v_{\text{in},x}\int_{r_\text{in}}^{r_\text{out}}c(r)^2r\,dr$$

The `c^2` terms are required because `C_M_delta` is a dimensionless pitching
moment coefficient. The wind terms use hub-frame in-plane velocity components
under the repository's `v_t_extra = v_in,x*sin(psi) + v_in,y*cos(psi)` convention.

### 1/rev Harmonic Balance Solve

Frequency ratio: $p^2 = 1 + k_\text{aero}/(I_\theta\Omega^2)$,
mechanical damping ratio: $\zeta = C_\theta/(2 I_\theta \Omega)$.
The dimensionless frequency factor and damping ratio are `p_sq =
1 + k_aero/(I_theta*Omega^2)` and `zeta = C_theta/(2*I_theta*Omega)`.
The 1/rev diagonal is `p_sq - 1`: centrifugal stiffness cancels inertia,
leaving only the aerodynamic stiffness.

$$\begin{bmatrix} p^2-1 & 2\zeta \\ -2\zeta & p^2-1 \end{bmatrix}
\begin{bmatrix} A \\ B \end{bmatrix}
Expand All @@ -577,6 +601,13 @@ account for this lag through swashplate phase configuration.
In servo-flap mode, $(\delta\theta_0, A, B)$ **replace** the direct
swashplate-to-pitch path in the psi-loop.

The servo-flap unit and directional tests check equation consistency and
qualitative response; they are not comparisons against measured servo-flap
performance. No dedicated dataset currently establishes quantitative BEM
accuracy for feathering amplitude, phase, or trim. See
[`EMPIRICAL_VALIDATION.md`](EMPIRICAL_VALIDATION.md#servo-flap-pitch-actuation-status)
for the model's empirical-validation status and limitations.

---

## 14. Output Assembly
Expand Down
19 changes: 14 additions & 5 deletions docs/EMPIRICAL_VALIDATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,20 @@ git clone.

## Servo-flap pitch actuation status

The servo-flap actuation model (`dynbem_rs/src/servoflap.rs`)
is currently covered by unit and integration behavior tests, but it is not yet
benchmarked against a dedicated published servo-flap rotor dataset. Treat its
authority and damping response as engineering behavior, not an empirically
calibrated claim.
The servo-flap actuation model (`dynbem_rs/src/servoflap.rs`) has unit tests
and directional VPM checks for internal equation consistency, bounded trim,
and expected qualitative response. These checks are not comparisons against
measured servo-flap amplitudes, phase, trim, or damping, and do not establish
quantitative physical accuracy.

No dedicated published servo-flap rotor dataset is currently used to benchmark
the model. Treat its predicted authority, damping response, and trim as
uncalibrated engineering estimates. In particular, centrifugal pitch stiffness
uses the thin-blade approximation `I_theta * omega^2`; the actual value depends
on the blade's spanwise mass distribution. The BEM feathering model also
linearizes dynamic pressure to the mean and first harmonic of in-plane wind,
while BEM flapping remains a post-sweep hub-load correction. VPM feathering and
flapping interact through their shared section loads.

---

Expand Down
48 changes: 31 additions & 17 deletions docs/VPM_DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -614,21 +614,24 @@ the blade rides a pitch bearing and feathers freely, restrained by the
mechanical bearing damper `C_theta` (the only dissipation) and the
**aerodynamic spring** `k_aero` from any AC offset:

$$I_\theta\,\ddot\theta_f + C_\theta\,\dot\theta_f + k_\text{aero}\,\theta_f
$$I_\theta\,\ddot\theta_f + C_\theta\,\dot\theta_f
+ (I_\theta\Omega^2+k_\text{aero})\,\theta_f
= M_\text{servo} + M_\text{camber},$$

integrated semi-implicitly (implicit on the damper) for unconditional
stability regardless of damper strength. The aerodynamic spring is
integrated with an implicit Euler step for both damping and stiffness. This is
stable for positive total stiffness. Negative total stiffness is a physical
divergence; results require timestep-convergence checks near that instability.
The aerodynamic spring is

$$k_\text{aero} = \tfrac{1}{2}\rho\,\omega^2 C_{L\alpha}\,\cdot ac\_offset
\cdot \int c\,r^2\,dr,$$

a nose-down restoring torque from the extra lift acting at the AC a distance
`ac_offset` aft of the feathering axis. `M_servo` is accumulated over
the flap span from the true local dynamic pressure, and `M_camber`
(from `blade_Cm_AC`) sets the DC trim. With `ac_offset = 0` (Kaman ideal, axis
at AC) the damper alone sets the cyclic phase lag and DC trim comes from
`M_camber`. There is no artificial control-stiffness spring -- all
(from `blade_Cm_AC`) contributes to DC trim. With `ac_offset = 0` (Kaman ideal,
axis at AC), centrifugal stiffness still provides a finite DC equilibrium and
the damper sets the cyclic phase lag. There is no artificial control-stiffness spring -- all
constants are physical and measurable. (The alternative torsional-twist
servo-flap architecture is not modelled yet.)

Expand Down Expand Up @@ -767,8 +770,8 @@ vs direct ($<5\%$ of peak at $\theta = 0.5$).
| `cyclic_sign` | Directional (AGENTS.md) | Collective monotone; cyclic tilt signs | PASS |
| `flap_directional` | Directional | Flap coning in hover; hub-moment relief under cyclic | PASS |
| `vpm_hforce_directional` | Directional | In-plane hub force (H-force) downwind in edgewise flow; ~0 in hover | PASS |
| `servo_flap` | Directional | Kaman servo-flap feathering (zero / collective / cyclic) | PASS |
| `cyclic_phase_servo` | Directional | Direct-mech pitching `My` vs servo-flap rolling `Mx` | PASS |
| `servo_flap` | Directional | Kaman feathering: zero input, bounded/settled collective trim at zero/nonzero offset, and a changed cyclic hub-moment vector | PASS |
| `cyclic_phase_servo` | Directional | Direct-mech pitching `My` vs servo-flap rolling `Mx`, including expected signs and dominant axes | PASS |

Hover thrust tracks BEMT to within ~14-18%; coning `a0` and longitudinal
flapping `a1` match the closed forms to ~14% (the disk tilts back by the right
Expand All @@ -782,6 +785,12 @@ amount). Lateral flapping `b1` is currently under-predicted -- see the TODO.
| `measured_companions` | CG 1600 rpm, CG descent, Wheatley TR-515 | Each theory module anchored to a measured point | PASS |
| `vpm_forward_flight_empirical` | Wheatley & Hood NACA TR-515 Tables III/IV | Forward-flight autorotation lift sweep | <= ~8% to mu = 0.32 |

The servo-flap rows in Section 8.1 are qualitative directional checks, not
empirical validation. No dedicated measured servo-flap dataset currently
validates feathering amplitude, phase, trim, or damping. See
[`EMPIRICAL_VALIDATION.md`](EMPIRICAL_VALIDATION.md#servo-flap-pitch-actuation-status)
for the status and model limitations.

`validation_rs` also validates the QS / Pitt-Peters / Oye BEM models against
the same Castles-Gray data (`hover_ct_empirical`, `hover_cq_empirical`,
`descent_cq_empirical`) -- those check the BEM family, not the VPM, and are
Expand Down Expand Up @@ -916,26 +925,31 @@ The RAWES blades use a **Kaman-type trailing-edge servo flap** for pitch control
step. In servo mode, swashplate collective/cyclic are reinterpreted as
flap-deflection commands and the solved feathering angle replaces direct
swashplate pitch in the section AoA. The servo-flap path:
- Introduces a first-order feathering lag (~90 deg phase at 1/rev)
- Produces a damped feathering response; at zero AC offset, finite damping
gives a 90 deg phase shift at 1/rev
- Attenuates high-frequency cyclic authority
- Requires the `ServoFlapActuation` / `ServoFlapGeometry` parameters from the RAWES YAML
(`beaupoil_2026.yaml`)
- Uses the configured `ServoFlapActuation` / `ServoFlapGeometry` parameters
(for example, those in `beaupoil_2026.yaml`); these have not been calibrated
against a dedicated servo-flap measurement dataset

The VPM's `march_window` passes `fc.collective_rad`, `fc.tilt_lon`, `fc.tilt_lat` through
`cyclic_coeffs` to form the harmonic commands. In direct-mechanical mode those
commands map directly to blade pitch; in servo mode they drive flap deflection
and feathering dynamics. Servo mode is active whenever the rotor carries a
`ServoFlapActuation` (`pitch_actuation: servoflap`). The feathering ODE is

I_theta * theta'' + C_theta * theta' + k_aero * theta = M_servo
I_theta * theta'' + C_theta * theta'
+ (I_theta * omega^2 + k_aero) * theta = M_servo + M_camber

where `C_theta` is the bearing damper (the only dissipation) and `k_aero` is the
**aerodynamic spring** from the AC offset,
where `C_theta` is the bearing damper (the only dissipation), `I_theta*omega^2`
approximates centrifugal pitch stiffness for a thin blade, and `k_aero` is the **aerodynamic spring**
from the AC offset,
`k_aero = 0.5*rho*omega^2*cl_alpha*ac_offset*Int(c r^2 dr)` (a pitch-up makes more
lift at the AC, a distance `ac_offset` aft of the feathering axis, giving a
nose-down restoring torque). With `ac_offset = 0` (axis at AC, Kaman ideal) the
damper alone sets the ~90 deg cyclic phase lag and DC trim comes from the blade
camber moment `blade_Cm_AC`. There is no artificial control-stiffness spring; all
nose-down restoring torque). With `ac_offset = 0` (axis at AC, Kaman ideal),
centrifugal stiffness still supplies a finite DC equilibrium and the damper
sets the ~90 deg cyclic phase lag. The blade camber moment `blade_Cm_AC`
contributes to the equilibrium pitch. There is no artificial control-stiffness spring; all
constants are physical and measurable. (The alternative torsional-twist servo-flap
architecture -- elastic blade twist against spar stiffness -- is not modelled yet.)

Expand Down
6 changes: 2 additions & 4 deletions dynbem_rs/src/oye.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ impl<P: Polar + Clone> AeroModel for OyeBEMModel<P> {
let (theta_1c, theta_1s) = cyclic_coeffs(inputs.tilt_lon, inputs.tilt_lat, gains);

// Quasi-static feathering solve (pre-pass)
let mu = kin.mu;
let feathering_state = match &self.defn.pitch_actuation {
PitchActuation::DirectMechanical => FeatheringState::RIGID,
PitchActuation::ServoFlap(act) => solve_feathering(
Expand All @@ -254,9 +253,8 @@ impl<P: Polar + Clone> AeroModel for OyeBEMModel<P> {
theta_1s,
rho,
omega,
mu,
r_tip,
blade.chord_m,
v_inplane_hub,
&self.grid,
self.defn.airfoil.CL_alpha_per_rad,
),
};
Expand Down
6 changes: 2 additions & 4 deletions dynbem_rs/src/pitt_peters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ impl<P: Polar + Clone> AeroModel for PittPetersModel<P> {
let hub_axis = kin.hub_axis;
let v_climb = kin.v_climb;
let v_edge = kin.v_edge;
let mu = kin.mu;
let v_inplane_hub = kin.v_inplane_hub;

let lam0 = state.lambda_0;
Expand Down Expand Up @@ -225,9 +224,8 @@ impl<P: Polar + Clone> AeroModel for PittPetersModel<P> {
theta_1s,
rho,
omega,
mu,
r_tip,
blade.chord_m,
v_inplane_hub,
&self.grid,
self.defn.airfoil.CL_alpha_per_rad,
),
};
Expand Down
5 changes: 2 additions & 3 deletions dynbem_rs/src/quasi_static_bem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -711,9 +711,8 @@ impl<P: Polar + Clone> AeroModel for QuasiStaticBEM<P> {
theta_1s,
rho,
omega,
mu,
r_tip,
blade.chord_m,
v_inplane_hub,
grid,
self.defn.airfoil.CL_alpha_per_rad,
),
};
Expand Down
15 changes: 10 additions & 5 deletions dynbem_rs/src/rotor_definition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,19 @@ pub struct ControlProperties {
/// bearing damper. Left as future work.)
///
/// EOM (time domain, per blade):
/// I_theta * theta'' + C_theta * theta' + k_aero * theta = M_servo + M_camber
/// I_theta * theta'' + C_theta * theta'
/// + (I_theta * Omega^2 + k_aero) * theta = M_servo + M_camber
///
/// with the aerodynamic spring and camber trim moment both physical &
/// measurable (see the field docs). All are ASCII-safe scalar constants.
/// For a thin blade, I_theta * Omega^2 approximates centrifugal restoring
/// stiffness. The aerodynamic spring and camber trim moment are also physical
/// and measurable (see the field docs).
///
/// Sign conventions (project frame: psi=0 at +X, CCW from above; nose-down =
/// negative pitching moment, consistent with C_M_delta_per_rad):
/// - `ac_offset_m > 0`: AC aft of the feathering axis -> stable (restoring)
/// aerodynamic spring k_aero > 0. `ac_offset_m < 0` is divergent.
/// aerodynamic spring k_aero > 0. `ac_offset_m < 0` is a destabilizing
/// aerodynamic contribution; total stability depends on centrifugal and
/// aerodynamic stiffness together.
/// - `blade_Cm_AC < 0`: cambered-airfoil nose-down zero-lift moment (typical).
/// - `C_M_delta_per_rad < 0`: positive (downward) flap deflection -> nose-down
/// blade pitching moment.
Expand All @@ -153,7 +157,8 @@ pub struct ServoFlapActuation {
pub damper_Nms_per_rad: f64,
/// Distance from the feathering axis to the aerodynamic centre (~25% chord)
/// [m]. Positive when the AC is AFT of the feathering axis, which gives a
/// stable (restoring) aerodynamic spring; negative is divergent. 0.0 =
/// restoring aerodynamic spring; negative is destabilizing. Total static
/// stability depends on centrifugal plus aerodynamic stiffness. 0.0 =
/// feathering axis exactly at the AC (Kaman ideal: no aero spring).
/// Measurable: ruler on the blade section (pitch-axis to quarter-chord), or
/// a calibrated-moment RPM sweep (the aero spring scales with Omega^2).
Expand Down
Loading
Loading