4.1. Simulation Setup
To test the performance of the methodologies in terms of obstacle avoidance and mission completion within the specified time interval capability, and to perform sensitivity analysis to determine key design parameters, several desktop simulations were conducted. For this purpose, both the LTI model extracted using the FLIGHTLAB
® generic helicopter model and the nonlinear model itself were used, and the simulations were performed in the MATLAB/Simulink environment. A block diagram of the desktop simulation setup is shown in
Figure 5.
Different pilot models are used to complete the simulations. The pilot models based on the crossover model [
37,
38] are used to give commands. The transfer function of the pilot model is shown in Equation (
26), where
is the pilot gain,
and
are lead-lag time constants, and
is the time delay. These parameters for each pilot are selected as listed in
Table 2. The pilot gains are the same for both pilot models.
The architecture of the controllers consists of four input channels. The following control architecture is used for inner-loop guidance:
The collective channel tracks the rate of climb guidance. The pilot model finds the appropriate collective input.
In the pedal channel, zero lateral acceleration is achieved for a forward speed greater than 60 knots. The pilot model finds the required pedal input for zero lateral acceleration.
In the longitudinal cyclic channel, the pitch angle guidance is followed. The pilot model finds the required longitudinal cyclic input for that pitch angle.
In the lateral cyclic channel, the pilot model follows the bank angle guidance.
The inner-loop controller architecture is given in
Figure 6.
The gains of the inner-loop pilot models used in this study are given in
Table 3. The gains are arbitrarily selected to achieve successful obstacle avoidance maneuvers with minimal control movements, while maintaining stability.
The following control architecture is used for the outer-loop guidance simulations:
In the collective channel, the cascaded controller structure is used. The outer loop controls the flight path angle, and the inner loop controls the vertical speed.
In the pedal channel, the pilot model achieves zero lateral acceleration.
The longitudinal cyclic channel uses the cascaded controller structure. The deceleration trajectory guidance is followed in the outer loop. The inner loop controls the pitch angle.
In the lateral cyclic channel, the cascaded controller structure is used. The outer loop controls the heading angle, and the inner loop controls the bank angle.
Lead-lag time constants and time delay are kept at zero except for the inner loops in the four input channels. The outer-loop controller architecture is given in
Figure 7.
The gains of the outer-loop pilot models used in this study are given in
Table 4. Similar to inner-loop pilot models, gains of the outer-loop pilot models are selected arbitrarily to achieve successful obstacle avoidance maneuvers with minimal control movements and without compromising stability.
4.3. Results
In order to demonstrate and compare the performance of both inner-loop and outer-loop obstacle avoidance guidance methodologies in terms of obstacle avoidance and mission completion within the specified time interval capability, FLIGHTLAB® high-fidelity nonlinear generic helicopter model is used. Desktop simulations begin with 80 knots forward flight trim conditions with zero sideslip. These simulations are performed using the “Pilot A” pilot models. In all simulations, the mission is plotted as the helicopter moves from the ft coordinates in the inertial frame at 150 ft altitude to the target point = (12,000 ± 50,0 ± 50) ft coordinates in the inertial frame at 150 ± 50 ft altitude. The number, size, and location of obstacles are kept as variables, generating different terrain scenarios. The number of obstacles changes between 5 to 20. The radius of each obstacle ranges from 50 to 500 ft, and the height from 50 to 1000 ft. The obstacles are randomly placed on the area with coordinates ranging from ft to ft. In the simulations, the radius of the sphere surrounding the helicopter is set to 50 ft. Finally, is fixed to 30 s; in other words, the obstacle avoidance algorithm starts to work when the time-to-collision is less than 30 s. The selected limit value for ERITS is conservatively set at 420 ft/s, and the available maximum continuous power is 2796.7 hp.
Figure 8,
Figure 9,
Figure 10 and
Figure 11 compare the performance of the inner-loop and outer-loop guidance methodologies across control movements, power usage, accelerations, and deviation from the mission trajectory. Collectively, the results demonstrate that both methods can successfully complete obstacle avoidance missions while remaining within operational limits. However, distinct behavioral differences are observed between the two control architectures. Data distributions were obtained from successful simulations collected from 200 consecutive runs for both guidance methods. As the nonlinear model simulations used a rubber engine with no strict power limits, several of the simulations, though successful in completing the mission, were found to exceed the engine power limit of 2796.7 hp, perhaps due to the arbitrarily selected pilot model gains. As such, those simulation runs where power limit violations occurred were eliminated from the data distribution results shown in this paper, giving 44 simulations used in the inner-loop guidance evaluations and 37 simulations used in the outer-loop guidance evaluations. This suggests that inner-loop guidance was more successful in completing missions.
Figure 8 compares the control input distributions across the collective, pedal, longitudinal, and lateral cyclic channels. The outer-loop guidance exhibits smaller movements in the control inputs, whereas the inner-loop guidance requires larger lateral cyclic activity to follow the commanded guidance.
Figure 9 compares the required power distributions. The outer-loop guidance simulations display a slightly narrower mean range of standard devices, indicating slightly more stable power management and efficient energy usage.
Figure 10 presents the acceleration distributions along the longitudinal, lateral, and normal directions. The outer-loop guidance simulations maintain accelerations within moderate limits, resulting in smoother motion, while the inner-loop guidance simulations show higher peaks, particularly in the lateral axis, indicating more aggressive maneuvering. However, in one particular case, the outer-loop guidance simulation showed the highest normal acceleration peak, which is 1.8 g.
Figure 11 shows the mean absolute errors of the helicopter’s position in the longitudinal (
), lateral (
), and vertical (
) directions with respect to the initial mission trajectory, indicating the trajectory deviations. The outer-loop guidance yields smaller deviations from the mission trajectory across all axes. In contrast, inner-loop guidance exhibits higher mean absolute errors, especially along the lateral axis. This suggests that the outer-loop guidance achieves smoother path tracking, whereas the inner-loop guidance commands attitude angles directly, resulting in more abrupt corrections and increased positional deviation.
An overall mission-level comparison of the two methods reveals a difference: the outer-loop guidance completes the mission in 93 s, while the inner-loop guidance takes approximately 96 s. Without disruptions, a vehicle traveling at 80 knots would complete the mission in 88.9 s. Due to avoidance maneuvers, missions finish 4 to 7 s later than the theoretical time. A 3-s reduction in mean simulation time further demonstrates the outer-loop methodology’s efficiency in maintaining forward progress with smoother, energy-conscious maneuvers.
In terms of computation time, it is found that both methodologies have very little simulation time and can be used in real time when compared.
To further assess the robustness of each guidance methodology, the closest and farthest clearance distances from obstacles are collected in both the horizontal and vertical planes for both the inner-loop and outer-loop guidance simulations, based on 200 simulations each. For the inner-loop guidance, the closest clearance distance was 78.7 ft, and the farthest clearance distance was 3360.4 ft in the horizontal plane. The closest clearance distance was 11.3 ft, and the farthest clearance distance was 72.9 ft in the vertical plane. For the outer-loop guidance methodology, the closest and farthest clearance distances were 97.9 ft and 3911.7 ft, respectively, in the horizontal plane, and 15.8 ft and 30 ft, respectively, in the vertical plane. These results suggest that the outer-loop guidance maintains a larger minimum clearance and a wider horizontal safety corridor, while the inner-loop guidance provides greater vertical maneuvering freedom.
Table 6 provides a summary of the key performance metrics investigated for both methodologies.
4.3.1. Inner-Loop Guidance Example Desktop Simulation Results
The results of a sample simulation performed for the inner-loop guidance from the top, side, and isometric views are shown in
Figure 12,
Figure 13, and
Figure 14, respectively. For this simulation, the obstacle specifications are given in
Table 7. The obstacle numbers can be seen in
Figure 12,
Figure 13 and
Figure 14.
As can be seen, the trajectory resulting from the inner-loop guidance methods differs from the mission trajectory.
Figure 15 shows the obstacle avoidance maneuvers, as well as the turn, climb, and deceleration commands that lead the helicopter to this different trajectory. It also illustrates the obstacles that are avoided by performing these maneuvers.
Figure 16 shows the helicopter response in all four channels for inner-loop guidance simulations. Pilot models follow the bank angle, the rate of climb, and the pitch angle guidance for the inner-loop guidance.
In this example, the helicopter performs three obstacle avoidance maneuvers: turning, climbing, and decelerating while en route to the target. Since Obstacle #1 lies below the helicopter’s initial altitude, it is passed over without any maneuver. Then, the climb maneuver is initiated upon detecting Obstacle #2. Since the helicopter has enough power, it climbs over Obstacle #2 at its current speed. Then, Obstacle #4 is detected at 19 s, as it is on the helicopter’s trajectory. To avoid Obstacle #4, the climb maneuver continues with an increased rate of climb. Because the excess power is enough to climb over Obstacle #4, the avoidance maneuver is started at 80 knots. An increased yaw rate occurs with increased torque, causing the helicopter to move to the right during the climb maneuver. The heading changes and the avoidance maneuver stops before reaching Obstacle #4. As the Obstacle #5 is below the helicopter, it moves over it without any maneuvers. At 53 s, it encounters Obstacle #7 and initiates a climbing avoidance maneuver to avoid it. At 65 s, the helicopter turns toward the target while still climbing. However, this maneuver causes the helicopter to lose altitude. Therefore, it first slows down in order to continue the climbing maneuver at lower power settings. However, because it cannot climb over Obstacle #7, it then turns slightly left to avoid it. These three maneuvers occur in less than a second. As it avoids Obstacle #7, it moves through the gap between Obstacle #6 and Obstacle #7. When the helicopter faces Obstacle #6, it cannot climb over it, so a turning avoidance maneuver is initiated. After leaving all the obstacles behind, at 75 s, the helicopter begins to lose altitude and make maneuvers to complete the mission, and finally reaches the target at almost 102 s.
4.3.2. Outer-Loop Guidance Example Desktop Simulation Results
The results of the simulation performed for the outer-loop guidance from the top, side, and isometric views are shown in
Figure 17,
Figure 18 and
Figure 19, respectively. In this simulation, the same terrain data given in
Table 7 is used.
Figure 20 shows the obstacle avoidance maneuvers, as well as the turn, climb, and deceleration commands for outer-loop guidance simulations. It also illustrates the obstacles that are avoided by performing these maneuvers.
Figure 21 shows the helicopter response in all four channels.
In the outer-loop guidance simulation example, the helicopter performs two obstacle avoidance maneuvers while navigating to the target: turning and climbing. Avoidance maneuvers are very similar to the inner-loop avoidance maneuver for Obstacles #1 and #2. Since excess power is insufficient even if the helicopter is decelerated, a turn maneuver is performed to avoid Obstacle #4. Due to Obstacle #3, a larger bank angle is required to avoid Obstacles #3 and #4 if a left turn is performed. Therefore, bank angle guidance is generated to avoid Obstacle #4 by making a right turn. After avoiding Obstacle #4, the helicopter starts to climb over, first Obstacle #5, then Obstacle #7, which are both in front of the helicopter. Once the helicopter reaches an altitude higher than Obstacle #7, it turns toward the target and begins to move through the gap between Obstacle #6 and #7. After leaving all obstacles behind in 57 s, the helicopter begins to lose altitude in order to complete the mission. Finally, it reaches the target at around 97 s.