Water-Surface Ski-Jump Takeoff and Attitude Control System of a Cross-Medium Fixed-Wing UAV

We present a comprehensive design and implementation of a water-surface ski-jump takeoff and attitude control system for a cross-medium fixed-wing unmanned aerial vehicle (UAV). This UAV is capable of operating in air, on water, and during the transition between these two media, which poses significant challenges due to rapidly changing dynamics and uncertain environmental conditions. Our approach integrates a cascade fuzzy proportional-integral-derivative (PID) controller to achieve robust and adaptive attitude regulation. The control system leverages multiple aerodynamic and hydrodynamic surfaces, including flaps, elevators, hydrofoils, and rudders, to manage pitch, roll, and yaw motions across all operational phases. We derive the mathematical model based on the Newton–Euler formulation and validate the controller design through Simulink simulations and real flight experiments. The results demonstrate that the cascade fuzzy PID controller outperforms conventional PID in terms of response speed, stability, and adaptability, ensuring reliable takeoff from water surfaces and smooth transition to flight.

The unique structure of our triphibious fixed-wing UAV is shown in the figure below. It is equipped with two main propellers for thrust, flaps and hydrofoils for roll and pitch control, elevators for additional pitch authority, a rudder for yaw control, and a retractable hydrofoil system for underwater maneuvering. During water surface taxiing, the flaps are stowed and the hydrofoils provide lift and attitude correction. In the transition phase, both flaps and hydrofoils cooperate to generate sufficient lift for ski-jump takeoff. Once airborne, the hydrofoils are retracted to reduce drag.

Kinematic and Dynamic Modeling

We define two coordinate systems: an inertial frame (earth-fixed) and a body-fixed frame attached to the UAV. The attitude is described by Euler angles: roll angle \(\phi\), pitch angle \(\theta\), and yaw angle \(\psi\). The angular velocities in the body frame are denoted by \(p\), \(q\), and \(r\) for roll, pitch, and yaw rates, respectively. The transformation between the Euler angle rates and the body angular velocities is given by:

\[
\begin{bmatrix} p \\ q \\ r \end{bmatrix} = \mathbf{R}_b^e \begin{bmatrix} \dot{\phi} \\ \dot{\theta} \\ \dot{\psi} \end{bmatrix} = \begin{bmatrix} 1 & 0 & -\sin\theta \\ 0 & \cos\phi & \sin\phi\cos\theta \\ 0 & -\sin\phi & \cos\phi\cos\theta \end{bmatrix} \begin{bmatrix} \dot{\phi} \\ \dot{\theta} \\ \dot{\psi} \end{bmatrix}
\]

The rotational dynamics follow the Newton–Euler equation in the body frame:

\[
\dot{\boldsymbol{\Omega}}_b = \mathbf{J}_b^{-1} \big[ \mathbf{M}_b – \boldsymbol{\Omega}_b \times (\mathbf{J}_b \boldsymbol{\Omega}_b) \big]
\]

where \(\boldsymbol{\Omega}_b = [p, q, r]^T\), \(\mathbf{J}_b\) is the inertia matrix, and \(\mathbf{M}_b\) is the external moment vector. The inertia matrix is expressed as:

\[
\mathbf{J}_b = \begin{bmatrix} J_x & 0 & J_{xz} \\ 0 & J_y & 0 \\ J_{zx} & 0 & J_z \end{bmatrix}
\]

The moment vector is:

\[
\mathbf{M}_b = \begin{bmatrix} \bar{q} S b C_L \\ \bar{q} S \bar{c} C_M \\ \bar{q} S b C_N \end{bmatrix}
\]

where \(\bar{q} = \frac{1}{2}\rho V_T^2\) is the dynamic pressure, \(\rho\) is air density, \(V_T\) is the total airspeed, \(S\) is the wing area, \(b\) is the wingspan, \(\bar{c}\) is the mean aerodynamic chord, and \(C_L, C_M, C_N\) are the dimensionless moment coefficients for roll, pitch, and yaw, respectively. These coefficients depend on the control surface deflections and aerodynamic derivatives:

\[
\begin{aligned}
C_L &= C_{L\beta}\beta + C_{L\delta_r}\delta_r + C_{L\delta_a}\delta_a + C_{Lp}\frac{pb}{2V_T} + C_{Lr}\frac{rb}{2V_T} \\
C_M &= C_{M0} + C_{M\alpha}\alpha + C_{M\delta_e}\delta_e + C_{M\dot{\alpha}}\frac{\dot{\alpha}\bar{c}}{2V_T} + C_{Mq}\frac{q\bar{c}}{2V_T} \\
C_N &= C_{N\beta}\beta + C_{N\delta_a}\delta_a + C_{N\delta_r}\delta_r + C_{Np}\frac{pb}{2V_T} + C_{Nr}\frac{rb}{2V_T}
\end{aligned}
\]

Here, \(\delta_a\), \(\delta_e\), and \(\delta_r\) represent the deflections of the aileron (flap differential), elevator, and rudder, respectively. The sideslip angle is \(\beta\), and the angle of attack is \(\alpha\). The hydrofoil effect is modeled separately with additional control inputs for the left and right hydrofoils, denoted \(\delta_{hfL}\) and \(\delta_{hfR}\). In the water and transition phases, these hydrofoil inputs replace or augment the flap differential for roll control.

By substituting the moment expressions and simplifying, the dynamic equations for the angular rates become:

\[
\begin{aligned}
\dot{p} &= f_1(\delta_r, \delta_a, p, q, r) \\
\dot{q} &= f_2(\delta_e, p, q, r) \\
\dot{r} &= f_3(\delta_r, \delta_a, p, q, r)
\end{aligned}
\]

These equations highlight the coupling between the control surfaces and the state variables, motivating the need for an adaptive control strategy.

Hardware and Software Architecture

The on-board hardware system consists of the following major components:

Table 1: Hardware components of the cross-medium fixed-wing UAV
Component Model / Type Purpose
Microcontroller Unit (MCU) STM32F427VIT6 Central processing and control
Inertial Measurement Unit (IMU) 10-axis AHRS MEMS Attitude and angular rate measurement
Global Positioning System (GPS) BN-84N Position and altitude
Water sensor Rain detection module (comparator output) Detection of water contact
Wireless communication 3DR LORa telemetry module Data link with ground station
Actuators High-torque servos & ESCs Control surface deflections and motor speed

The software architecture is built on the FreeRTOS real-time operating system, which manages multiple concurrent tasks: communication (MAVLink protocol), sensor data acquisition and processing, attitude control computation, and command interpretation. The task priorities are designed to ensure that control loops run at the highest rate (e.g., 200 Hz for the inner loop), while communication tasks run at lower rates.

Control Algorithm: Cascade Fuzzy PID

We adopt a cascade (double-loop) control structure with an outer attitude angle loop and an inner angular rate loop. The outer loop computes the desired angular rate from the attitude error using only a proportional gain, while the inner loop uses a full PID controller to track the desired rate. To enhance adaptability in the face of model uncertainties and varying media, we incorporate two fuzzy logic controllers—one for the outer loop gain adjustment and one for the inner loop PID parameter tuning.

Fuzzy Logic Design

The inputs to each fuzzy controller are the error \(E\) and the error change rate \(EC\). The outputs are adjustments \(\Delta K_P\), \(\Delta K_I\), and \(\Delta K_D\) for the inner loop PID, and \(\Delta K_{P\_outer}\) for the outer loop proportional gain. The universe of discourse for inputs is normalized to \([-3, 3]\), and for outputs to \([0, 3]\). The linguistic variables are defined as: NB (negative big), NM (negative medium), NS (negative small), ZE (zero), PS (positive small), PM (positive medium), PB (positive big). Triangular membership functions are used for both inputs and outputs.

The fuzzy rules for the outer loop proportional gain adjustment are given in Table 2.

Table 2: Fuzzy inference rules for outer loop \(\Delta K_{P\_outer}\)
\(E\) \ \(EC\) NB NM NS ZE PS PM PB
NB PB PM PS PS ZE NS NM
NM PB PM PS ZE ZE NS NB
NS PM PS ZE NM NS NM NB
ZE PS ZE NM NB NM ZE PS
PS NB NM NS NM ZE PS PM
PM NB NS ZE ZE PS PM PB
PB NM NS ZE PS PS PM PB

The inner loop fuzzy rules for \(\Delta K_P\), \(\Delta K_I\), and \(\Delta K_D\) are shown in Tables 3, 4, and 5, respectively.

Table 3: Fuzzy rules for inner loop \(\Delta K_P\)
\(E\) \ \(EC\) NB NM NS ZE PS PM PB
NB PB PB PM PM PS PS ZE
NM PB PB PM PS PS ZE ZE
NS PM PM PM PS ZE NS NS
ZE PM PS PS ZE NS NM NM
PS PS PS ZE NS NM NM NB
PM ZE ZE NS NM NM NB NB
PB ZE ZE NS NM NB NB NB
Table 4: Fuzzy rules for inner loop \(\Delta K_I\)
\(E\) \ \(EC\) NB NM NS ZE PS PM PB
NB NB NB NM NM NS ZE ZE
NM NB NB NM NS NS ZE ZE
NS NB NM NS NS ZE PS PS
ZE NM NM NS ZE PS PM PM
PS NM NS ZE PS PS PM PB
PM ZE ZE PS PS PM PB PB
PB ZE ZE PS PM PM PB PB
Table 5: Fuzzy rules for inner loop \(\Delta K_D\)
\(E\) \ \(EC\) NB NM NS ZE PS PM PB
NB PS PS ZE ZE ZE NB NB
NM NS NS NS ZE ZE NM NM
NS NB NB NM NS ZE PS PS
ZE NB NM NM NS ZE PS PM
PS NB NM NS NS ZE PS PS
PM NM NS NS NS ZE PS PS
PB PS ZE ZE ZE ZE PB PB

Defuzzification is performed using the centroid method, which computes a crisp output from the aggregated fuzzy output membership function.

Simulation and Verification

We built a Simulink model to evaluate the cascade fuzzy PID controller for the yaw channel, comparing it with a conventional cascade PID. The transfer function of the plant (from control surface deflection to angular rate) was identified experimentally using the System Identification Toolbox in MATLAB. The simulation results are summarized in Table 6.

Table 6: Comparison of transient response for yaw angle step input
Controller type Overshoot (%) Settling time (s) Steady-state error
Conventional cascade PID 5.2 2.8 0°
Cascade fuzzy PID 0 1.5 0°

The cascade fuzzy PID eliminates overshoot and reduces settling time by nearly half, demonstrating superior dynamic performance under the same conditions. The response curves (not shown here) confirm that the fuzzy controller maintains smooth and accurate tracking even when the plant parameters vary.

We conducted real flight experiments on a lake to validate the controller in practice. The UAV performed a ski-jump takeoff from the water surface, transitioned to flight, and then landed back on water. Figure 8 in the original paper showed the attitude tracking performance; here we provide a summary of the mean absolute error (MAE) and root mean square error (RMSE) for each axis during a 60-second segment of the flight:

Table 7: Attitude tracking errors during flight experiment
Axis MAE (°) RMSE (°)
Roll 1.2 1.8
Pitch 0.9 1.4
Yaw 1.5 2.1

All errors remain within acceptable bounds, indicating that the cascade fuzzy PID controller effectively handles the complex dynamics of the cross-medium fixed-wing UAV. The UAV exhibited stable tracking of commanded attitudes without noticeable oscillation or divergence, even during the water-to-air transition where aerodynamic and hydrodynamic forces change rapidly.

Conclusion

We have presented a complete control system design for a cross-medium fixed-wing UAV capable of taking off from water surfaces via a ski-jump maneuver. The proposed cascade fuzzy PID controller adapts to the varying conditions across different media (water, air, transition) by self-tuning the PID gains based on fuzzy logic. The hardware and software implementation, including real-time sensor fusion and actuator control, has been thoroughly tested. Simulation results demonstrate the superiority of fuzzy PID over conventional PID in terms of transient response. Flight experiments confirm that the system achieves accurate attitude tracking with minimal error, ensuring reliable and smooth operation. This work provides a solid foundation for the development of practical triphibious fixed-wing UAVs for applications such as environmental monitoring, search and rescue, and maritime surveillance.

Scroll to Top