Next Article in Journal
Transformer-Augmented MCTS for Aircraft Landing Problem
Previous Article in Journal
A Fast Transient Low-Dimensional Cavity Modeling Methodology Incorporating the Coupled Effects of Volume Compliance and Inertial Forces
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Real-Time Algorithm for Nonlinear Optimal Impact Angle Guidance

1
Weapon Systems Department, Faculty of Mechanical Engineering, University of Belgrade, 11000 Belgrade, Serbia
2
Department of Mechanics, Faculty of Mechanical Engineering, University of Belgrade, 11000 Belgrade, Serbia
3
Department of Mathematics, Faculty of Mechanical Engineering, University of Belgrade, 11000 Belgrade, Serbia
*
Author to whom correspondence should be addressed.
Aerospace 2026, 13(5), 439; https://doi.org/10.3390/aerospace13050439
Submission received: 3 April 2026 / Revised: 4 May 2026 / Accepted: 5 May 2026 / Published: 8 May 2026
(This article belongs to the Section Aeronautics)

Abstract

This paper proposes a computationally efficient algorithm for nonlinear optimal guidance with a predefined final flight path angle. Although numerous impact angle guidance methods based on optimal control theory exist, a lack of efficient calculation procedures remains for the exact nonlinear engagement model, leaving practical hardware implementation challenges for the end-user. A fixed-structure algorithm with deterministic computational burden is developed for real-time onboard integration. The performance and optimality of the algorithm are verified through a comparative study with established guidance laws. Unlike methods relying on line-of-sight rate or time-to-go estimations, the proposed approach uses a closed-feedback form based on standard navigation data. A closed-form solution is derived for the climb phase to the cruise altitude. Practical feasibility is demonstrated on a microcontroller-based onboard computer, with execution times analyzed for flight software compatibility. The robustness of the proposed framework is validated via high-fidelity hardware-in-the-loop tests for two distinct scenarios: a multi-phase cruise mission and a short-range ballistic trajectory subject to propulsion uncertainties. Results confirm high precision and accurate impact angles across vastly different flight regimes, ranging from low-altitude cruise to high-dynamic reentry.

1. Introduction

The problem of reaching a target point from a specified direction has been extensively studied over the past several decades. This research is primarily motivated by guidance requirements for spacecraft, reentry vehicles, and tactical interceptors, where the objective is typically to maximize the lethality of directional warheads or to minimize miss distances caused by navigation errors. Controlling the velocity vector orientation is not limited to the terminal phase of flight; effective midcourse guidance is often essential to satisfy terminal phase assumptions regarding small heading errors or to ensure precise waypoint tracking.
Because of its widespread use, this problem formulation is rooted in applications beyond aerospace [1,2]. Early guidance laws that addressed both intercept and impact angle requirements emerged from the optimal rendezvous problem [3], which was later categorized as a form of trajectory shaping guidance [4]. Another notable contribution was the explicit guidance framework originally derived for spacecraft landing [5], which was later generalized to other guidance applications in [6].
The study by Kim and Grider [7] is widely regarded as the pioneering work in impact-angle guidance, in which the authors addressed vertical impact against stationary or slow-moving targets. This research was directly extended by the authors of [8], who examined the effects of control system delays and angle of attack. Song et al. [9] considered optimal guidance of a variable-speed pursuer against a maneuvering target. The resulting guidance law coefficients are formulated as functions of time-to-go and the constant describing the change in pursuer speed. A systematic classification of optimal impact-angle guidance laws was conducted by Ryoo et al. [10], relying on the fact that all such methods are similar to linear-quadratic guidance laws. The contribution of their study is a procedure valid for arbitrary missile dynamics against stationary targets, with closed-form guidance solutions provided for both ideal and first-order autopilot models. The same authors generalized these methods in [11] by minimizing a cost function equivalent to the one used in the explicit guidance formulation of [6]. In [12], an optimal guidance law for maneuvering targets based on linear-quadratic control and differential game theory was proposed. A similar methodology was employed in [13], where the terminal attitude was considered instead of the final flight path angle.
Beyond spacecraft-specific methods, the nonlinear formulation of the optimal impact-angle guidance problem was first addressed in Refs. [14,15]. The specific parameters of the guidance law must be determined numerically by solving a system of three or four nonlinear equations involving elliptic integrals, with the optimal solution selected by comparing two candidate results. Although the optimality of proportional navigation for linearized kinematics was demonstrated in [3], its relationship to nonlinear models was not explored in detail until the study on nonlinear optimal guidance by Lu and Chavez [16]. However, the specific procedure for determining the unknown parameters of the guidance law was not provided. By solving the state-dependent Riccati equation, Ratnoo and Ghose [17] proposed an optimal guidance law, requiring both time-to-go information and the selection of a navigation constant, for which a formal procedure was not given to determine its optimal value.
Over the past decade, the disciplines of guidance and control have undergone a paradigm shift towards computational guidance and control (CG&C) [18], leading to substantial progress in many branches of aerospace science [19]. Although computational methods have become increasingly efficient, their use is primarily justified when traditional optimization approaches do not meet real-time requirements. Solving the two-point boundary value problem (TPBVP) associated with indirect methods [20] is often computationally prohibitive for high-speed guidance. However, if an indirect formulation can be simplified to allow for a rapid numerical solution, it remains highly favorable due to its high solution accuracy. For these reasons, traditional methods remain the subject of active research.
Chen and Shima [21] addressed nonlinear optimal guidance against stationary targets, providing a procedure that reduces the problem to the numerical solution of a nonlinear equation involving elliptic integrals using the bisection method. A mixed cost function incorporating both control energy and flight time was used, as it was demonstrated that the classical formulation (minimizing only control energy) is ill-posed and lacks a global solution. However, this proof relies on the assumption that the range is not a monotonically increasing function, whereas real-world engagement scenarios naturally exclude such looping trajectories. In [22], an optimal guidance law based on a nonlinear kinematic model was developed. This formulation generalizes several existing linear guidance laws, which are shown to be special cases under small-angle approximations. The resulting nonlinear guidance law is defined by two parameters selected to achieve the desired convergence rate toward the target direction. A recent study [23] addressed 3-D optimal guidance against stationary targets without linearization. Efficiency is achieved by parameterizing the TPBVP states and costates using splines. Although the execution times reported were near 15 ms, reliance on polynomial approximations classifies it as a method that simplifies the original TPBVP.
Beyond optimal control theory, there are several robust impact-angle frameworks: biased proportional navigation [24,25,26,27], sliding mode control [28,29,30], circular navigation guidance [31], differential geometric guidance [32], and LOS angle guidance [33]. Despite their practical utility, these methods remain strictly non-optimal.
As established in the preceding review, achieving a purely optimal solution for the nonlinear guidance problem via traditional indirect methods remains a challenge. Although analytical approximations and computational simplifications exist, the original TPBVP has not yet been resolved to a degree that allows for reliable real-time implementation on resource-constrained embedded hardware without compromising optimality.
This paper addresses this gap by proposing a novel algorithm designed to solve the nonlinear optimal guidance problem directly, avoiding any form of linearization. In this work, optimality is defined in terms of minimizing the total control effort. In contrast to the majority of guidance laws that pursue this objective within a linearized framework, the proposed formulation is fully nonlinear and therefore remains valid without relying on small-heading-error approximations. Among approaches that also consider the nonlinear problem, several key distinctions arise. In contrast to Ref. [21], which addresses interception without a prescribed terminal flight-path angle, the present formulation explicitly incorporates the impact-angle constraint. Compared to Refs. [14,15], where the optimal solution is obtained by solving a set of multiple nonlinear equations involving elliptic integrals, the proposed approach reduces the problem to the solution of a single nonlinear equation, thereby significantly simplifying the computational procedure. Furthermore, while Ref. [16] derives a closed-form feedback structure for the optimal control, achieving both interception and a desired impact angle, it does not provide a practical method for computing the associated unknown parameters, particularly in real time. The present work addresses this limitation by introducing a deterministic and computationally efficient procedure for their evaluation. The primary contribution of this work therefore lies in its practical feasibility; the algorithm was deployed and tested on the actual hardware of operational flight vehicles. To demonstrate its real-time capability, execution times were measured under representative flight conditions. The proposed method underwent a comprehensive verification and validation process within high-fidelity simulation environments modeled after these operational systems.
The remainder of this paper is organized as follows. Section 2 formulates the nonlinear optimal engagement problem and derives the optimal guidance law in a closed-feedback form. Section 3 details the algorithm for determining the guidance parameters and identifies a special case where a closed-form solution exists. A comparative study between the proposed method and notable existing guidance laws is provided in Section 4. Section 5 addresses critical phenomena related to real-time implementation of the proposed algorithm. Finally, Section 6 details the hardware implementation methodology, provides an analysis of execution times, and validates the algorithm via hardware-in-the-loop testing, followed by concluding remarks.

2. Statement of the Problem

Although significant contributions have been made in three-dimensional guidance, and several of the aforementioned laws are inherently spatial, many strategies still rely on multi-phase execution to reach the terminal state. Two main approaches can be distinguished in this context. One involves maneuvering the system into a specific plane containing the desired velocity vector, followed by planar guidance toward the target [34]. The other, more traditional approach treats the three-dimensional problem by decomposing it into orthogonal planar components, typically horizontal and vertical, and solving two guidance problems. Such formulations are commonly realized through systems employing two independent guidance channels [35,36].
Within this framework, the planar formulation adopted in this work represents a natural building block for the design of spatial guidance. A three-dimensional guidance method can be synthesized as a vector combination of two planar guidance laws, typically defined in horizontal and vertical planes [14]. Accordingly, the proposed method can be directly extended to three-dimensional engagements by applying the algorithm in two orthogonal planes and combining the resulting commands to obtain the full spatial guidance input.
Therefore, the guidance problem is formulated using a classical planar point-mass model with constant velocity, as illustrated in Figure 1. This assumption is widely adopted in guidance law design for tactical air vehicles, as the speed typically varies slowly and the terminal phase of the engagement is relatively short [22]. The influence of realistic, time-varying velocity profiles is addressed in detail in Section 5 and Section 6.
The point M, with position coordinates ( x , y ) , is required to reach a stationary target T located at ( x 1 , y 1 ) with a prescribed terminal flight-path angle γ 1 . The control variable u is defined as the lateral acceleration acting perpendicular to the velocity vector V, where a positive value corresponds to an increase in the flight-path angle γ . The coordinate frame O x y is arbitrary; however, for analysis in the vertical plane, the total physical control effort must include a gravity compensation term, expressed as u + g cos γ . The relative geometry between M and T is described by the range R and the line-of-sight (LOS) angle λ .
The equations of motion for this engagement problem are formulated as
x ˙ ( t ) = V cos γ ( t )
y ˙ ( t ) = V sin γ ( t )
γ ˙ ( t ) = u ( t ) / V
with boundary conditions
x ( 0 ) = x 0 , y ( 0 ) = y 0 , γ ( 0 ) = γ 0 x ( t 1 ) = x 1 , y ( t 1 ) = y 1 , γ ( t 1 ) = γ 1
The optimal control problem is to find u ( t ) , subject to Equations (1)–(4), which minimize
J = 0 t 1 u 2 ( t ) d t
where the final time t 1 is free.
The problem is solved by applying Pontryagin’s minimum principle [37]. The Hamiltonian is defined as
H = λ x V cos γ + λ y V sin γ + λ γ u V + u 2
where λ x , λ y , and λ γ are costate (adjoint) variables.
The costate equations are given by
λ x ˙ = H x = 0 λ x = c o n s t
λ y ˙ = H y = 0 λ y = c o n s t
λ γ ˙ = H γ = λ x V sin γ λ y V cos γ
The terminal transversality conditions are as follows:
λ x ( t 1 ) = η 1
λ y ( t 1 ) = η 2
λ γ ( t 1 ) = η 3
where η 1 , η 2 , and η 3 are Lagrange’s multipliers [37].
Because both λ x and λ y are constant, Equations (10) and (11) imply that λ x = η 1 and λ y = η 2 .
Substituting the kinematic relations (1) and (2) into the costate equation (9) and integrating from an arbitrary moment to an end yields
λ γ = η 3 η 1 ( y 1 y ) + η 2 ( x 1 x )
The extremal control is given by
H u = 0 u = λ γ 2 V
From Equations (13) and (14), the control as a function of relative separation is expressed as
u = η 1 ( y 1 y ) η 2 ( x 1 x ) η 3 / ( 2 V )
Since the final time is free, an additional transversality condition H ( t 1 ) = 0 is applied, on the basis of which η 3 is determined:
| λ γ ( t 1 ) | = | η 3 | = 4 V 3 ( η 1 cos γ 1 + η 2 sin γ 1 )
Equation (15) provides the optimal impact-angle guidance law in a closed-feedback form. A significant advantage of this formulation is that it relies solely on standard navigation data (position and velocity). However, to maintain a fully closed-loop implementation, the constants η 1 , η 2 , and η 3 must be updated during each guidance cycle. The following section details a procedure for calculating them on the basis of instantaneous navigation information.

3. Computational Synthesis of the Guidance Law

In this section, the optimal control problem is solved by considering the system at an instantaneous state ( x 0 , y 0 , γ 0 ) , which represents the current feedback from the navigation computer. Consequently, Equation (15) can be reformulated for the initial instant as
u = η 1 Δ y η 2 Δ x η 3 / ( 2 V )
where Δ x = x 1 x 0 and Δ y = y 1 y 0 .
The unknown constants η 1 and η 2 in Equations (17) and (16) can be represented using new constants r and α by
η 1 = r cos α η 2 = r sin α
where r 0 and π α π . On the basis of Equations (10)–(12) and (14), the Hamiltonian takes the form
H = r V ( cos γ cos α + sin γ sin α ) λ γ 2 4 V 2
Because time does not appear explicitly in Equation (6), the Hamiltonian is zero, and λ γ can be expressed using the new constants as
λ γ 2 = 4 r V 3 cos ( γ α )
A useful relation for subsequent phase trajectory analysis is obtained by combining Equations (3), (14), and (20):
γ ˙ 2 = r V cos ( γ α )
from which the following inequality holds:
π 2 γ α π 2
Because x increases monotonically in the scenario considered, the remaining variables can be expressed as functions of downrange. Dividing Equations (2) and (3) by Equation (1) leads to
d y d x = tan γ
d γ d x = λ γ 2 V 3 cos γ
Substituting the square root of (20) into Equation (24) yields
γ = d γ d x = r V 3 cos ( γ α ) cos γ
The choice of sign in Equation (25) is determined by the convexity of the trajectory. Because γ α is bounded within an interval of at most π according to (22), it follows that γ vanishes at most once. This implies that the trajectory can undergo at most one change in convexity. Consequently, four distinct cases for the sign of the flight path angle derivative may occur:
(A)
γ < 0 along the entire trajectory;
(B)
γ > 0 during the initial phase, followed by γ < 0 ;
(C)
γ < 0 during the initial phase, followed by γ > 0 ;
(D)
γ > 0 along the entire trajectory.
The relationship between d x and d γ is obtained from Equation (25), on the basis of which substitution into Equation (23) yields a system of two equations:
d x = V 3 r cos γ cos ( γ α ) d γ
d y = V 3 r sin γ cos ( γ α ) d γ
This system must be solved to determine the two unknown quantities, r and α , which then allow the calculation of η 1 and η 2 on the basis of Equation (18). The specific solution for these variables depends on whether the convexity changes along the optimal trajectory, leading to the two cases described next.

3.1. Constant Convexity Trajectories

Case A implies a constant negative sign of the flight path angle derivative, corresponding to a monotonic altitude decrease. In Figure 2a, a trajectory of this type is presented for boundary conditions representing the transition from the cruise phase to terminal guidance: x 0 = 0 m, y 0 = 200 m, γ 0 = 0 ° , x 1 = 1000 m, y 1 = 0 m, and γ 1 = 30 ° , with a velocity of V = 160 m/s.
By integrating Equations (26) and (27), the following system is obtained:
Δ x = V 3 r γ 0 γ 1 cos γ cos ( γ α ) d γ
Δ y = V 3 r γ 0 γ 1 sin γ cos ( γ α ) d γ
The integrals in the preceding expressions are denoted by I N ( α ) and I D ( α ) , respectively. By introducing the change of variables β = γ α , these integrals are transformed into the following form:
I N ( α ) = cos α γ 0 α γ 1 α cos β d β sin α γ 0 α γ 1 α sin β cos β d β
I D ( α ) = cos α γ 0 α γ 1 α sin β cos β d β + sin α γ 0 α γ 1 α cos β d β
In Equations (30) and (31), two fundamental integral types appear:
I 1 ( a , b ) = a b cos ξ d ξ
I 2 ( a , b ) = a b sin ξ cos ξ d ξ = 2 cos a cos b
where the first one is identified as an incomplete elliptic integral of the second kind.
The final form of Equations (30) and (31) is expressed as
I N ( α ) = cos α I 1 ( γ 0 α , γ 1 α ) sin α I 2 ( γ 0 α , γ 1 α )
I D ( α ) = cos α I 2 ( γ 0 α , γ 1 α ) + sin α I 1 ( γ 0 α , γ 1 α )
By dividing Equations (28) and (29), a single equation in the unknown α is obtained, defined as N ( α ) = 0 , where
N ( α ) = Δ x I D ( α ) Δ y I N ( α )
On the basis of the inequality (22), the solution for α must be sought within the interval
γ π 2 α γ + π 2
where the maximum value of the flight path angle is used to determine the lower bound, and the minimum value is used for the upper bound
max ( γ 0 , γ 1 ) π 2 α min ( γ 0 , γ 1 ) + π 2
The function N ( α ) is plotted over the interval defined in Equation (38) in Figure 3a, corresponding to the engagement scenario previously illustrated in Figure 2a. The zero-crossing, which identifies the numerical solution for the parameter α , is indicated by the red circle. A schematic representation of the phase trajectory, governed by Equation (21), is provided in Figure 4a.
Case D describes a constant increase in the flight path angle, representing a trajectory with fixed positive convexity. The resulting system of equations is identical to Equations (28) and (29), with the exception that a positive sign is applied. In the absence of a saddle point, the integrals I N and I D maintain the same form as in Case A. Consequently, the calculation procedure remains identical, and this case is not independently analyzed.

3.2. Changing Convexity Trajectories

This case involves an increase in the flight path angle during the initial portion of the trajectory until the saddle point is reached, after which the behavior reduces to that described in Case A. A representative trajectory of this type is presented in Figure 2b, illustrating a transition from the cruise phase where an initial climb is required to satisfy the terminal constraints. The boundary conditions for this example are identical to those used in Figure 2a, with the exception of the desired impact angle, which is set to γ 1 = 60 ° .
The schematic phase portrait, based on Equation (21) and accounting for the existence of a saddle point where γ ˙ = 0 , is shown in Figure 4b. Because of the sign change of the derivative γ along the trajectory at the point where γ = α + π / 2 , the system of Equations (26) and (27) is expressed in the following integral form:
Δ x = V 3 r γ 0 α + π / 2 cos γ cos ( γ α ) d γ α + π / 2 γ 1 cos γ cos ( γ α ) d γ
Δ y = V 3 r γ 0 α + π / 2 sin γ cos ( γ α ) d γ α + π / 2 γ 1 sin γ cos ( γ α ) d γ
Following the procedure established for Case A, the same form for Equation (36) is obtained, in which the integrals I N and I D are defined as
I N ( α ) = cos α I 1 γ 0 α , π / 2 sin α I 2 γ 0 α , π / 2 + cos α I 1 γ 1 α , π / 2 sin α I 2 γ 1 α , π / 2
I D ( α ) = cos α I 2 γ 0 α , π / 2 + sin α I 1 γ 0 α , π / 2 + cos α I 2 γ 1 α , π / 2 + sin α I 1 γ 1 α , π / 2
The function N ( α ) for this specific scenario is illustrated in Figure 3b, corresponding to the trajectory shown in Figure 2b. The same function is also plotted using Equations (34) and (35) to demonstrate that an incorrect convexity assumption leads to no solution for α within the valid interval.
Similarly to Case B, Case C involves a change in trajectory convexity where the sign of the derivative γ reverses; however, this transition occurs at the point γ = α π / 2 . By applying the same analytical procedure, expressions identical to those in Case B are derived, with the limit π / 2 being replaced by π / 2 . Because small impact angles are rarely required in practical applications, Case C is primarily encountered during trajectory corrections in the final stages of terminal guidance.

3.3. General Algorithm

A common requirement for all analyzed cases is the solution of the transcendental equation N ( α ) = 0 to determine the parameter α . The various scenarios are distinguished by the specific forms of the integrals I N and I D , which are expressed in the following general form:
I N ( α ) = cos α I 1 ( α ) sin α I 2 ( α )
I D ( α ) = cos α I 2 ( α ) + sin α I 1 ( α )
where
I 1 ( α ) = I 1 ( γ 0 α , γ 1 α ) , for case A I 1 γ 0 α , π / 2 + I 1 γ 1 α , π / 2 , for case B I 1 γ 0 α , π / 2 + I 1 γ 1 α , π / 2 , for case C
I 2 ( α ) = I 2 ( γ 0 α , γ 1 α ) , for case A I 2 γ 0 α , π / 2 + I 2 γ 1 α , π / 2 , for case B I 2 γ 0 α , π / 2 + I 2 γ 1 α , π / 2 , for case C
Once the value of α is determined, the parameter r is calculated using either the first or second equation of the characteristic system, Equations (28) and (29) or Equations (39) and (40):
r = V 3 I N ( α ) / Δ x 2
Subsequently, the parameters η 1 and η 2 are obtained on the basis of Equation (18).
To complete the procedure for the closed-feedback guidance law in Equation (17), η 3 must be calculated using Equation (16). This requires the prior determination of its sign. From Equations (14) and (12), it follows that the sign of η 3 is governed by the trajectory convexity at the terminal moment. Consequently, η 3 is positive for Case B and negative for Case C, whereas Case A requires further analysis.
For this purpose, two characteristic regions of the engagement space are identified, leading to three distinct cases based on the relationship between Δ x and Δ y / tan γ 1 . The current position is categorized as being left of, right of, or directly on the line defined by the desired velocity vector at the target. These geometric configurations are illustrated in Figure 5, where the corresponding cases are denoted as Cases 1 ° 3 ° . The region to the left of the terminal velocity vector direction is shaded in red, while the region to the right is shaded in blue. Within each of these categories, three additional geometric subcases, denoted by a–c, are possible depending on the orientation of the initial velocity vector relative to the line of sight.
If the system is positioned along the line defined by the desired terminal velocity vector (Case 2 ° ), the terminal constraints can be satisfied by a change in the convexity of the trajectory (Subcases 2 ° a and 2 ° c) or by a rectilinear path (Subcase 2 ° b). Consequently, the procedure for Case A is not applicable in these instances, as it fundamentally assumes strictly constant convexity.
If the system is located to the left of the terminal velocity vector direction (Case 1 ° ), Case A is feasible only for Subcase 1 ° c. In this scenario, the condition γ < 0 is maintained throughout the engagement, which requires a positive sign for η 3 . For example, the scenarios illustrated in Figure 2a,b both correspond to Subcase 1 ° c; however, Case A remains valid only for the γ 1 = 30 ° instance. Similarly, for a system positioned to the right of the terminal velocity vector direction (Case 3 ° ), Case A is applicable only for Subcase 3 ° a. Because γ > 0 holds throughout the trajectory in this subcase, the sign of η 3 must be negative.
The specific convexity case for a given engagement is generally not known a priori. As demonstrated in Figure 3b, a solution does not exist if an invalid convexity assumption is applied. Therefore, Case A is initially assumed, and if the function N ( α ) yields no solution within the specified interval, the algorithm proceeds to evaluate Case B and, if necessary, Case C.
The existence of a root is verified by evaluating the sign of N ( α ) at the boundaries of the interval defined in Equation (38). If the function maintains the same sign at both ends of the interval, the current convexity case is discarded and the next case is tested. Conversely, if a sign change is detected across the interval, the case is adopted as valid. Because the function N ( α ) possesses a unique root within the considered interval, robust numerical methods such as bisection may be used to determine α . The additional computational overhead associated with testing multiple cases is negligible, as verifying the existence of a root requires only two function evaluations per case.
On the basis of this analysis, the general algorithm for calculating the optimal control is summarized next. For conciseness, the notation N ( α , s ) with s { A , B , C } is employed to denote the specific forms of the integrals I N and I D corresponding to each convexity case (Algorithm 1).
Algorithm 1 Computation of the optimal control.
  1:
Input:  Δ x , Δ y , γ 0 , γ 1 , V
  2:
l b = max ( γ 0 , γ 1 ) π / 2
  3:
u b = min ( γ 0 , γ 1 ) + π / 2
  4:
if  N ( l b , A ) N ( u b , A ) < 0  then
  5:
      Solve N ( α , A ) = 0 for α
  6:
       r = V 3 I N ( α , A ) / Δ x 2
  7:
      if  Δ x > Δ y / tan γ 1  then
  8:
             sgn ( η 3 ) = 1
  9:
      else
10:
             sgn ( η 3 ) = 1
11:
      end if
12:
else if  N ( l b , B ) N ( u b , B ) < 0  then
13:
      Solve N ( α , B ) = 0 for α
14:
       r = V 3 I N ( α , B ) / Δ x 2
15:
       sgn ( η 3 ) = 1
16:
else if  N ( l b , C ) N ( u b , C ) < 0  then
17:
      Solve N ( α , C ) = 0 for α
18:
       r = V 3 I N ( α , C ) / Δ x 2
19:
       sgn ( η 3 ) = 1
20:
else
21:
       u = 0
22:
      return u
23:
end if
24:
η 1 = r cos α
25:
η 2 = r sin α
26:
η 3 = sgn ( η 3 ) 4 V 3 ( η 1 cos γ 1 + η 2 sin γ 1 )
27:
u = η 1 Δ y η 2 Δ x η 3 / ( 2 V )
28:
return u

3.4. Special Case: Climb Phase to Cruise Altitude

A special case of the previously defined problem is now considered, involving a specific terminal velocity vector orientation. This scenario is characteristic of an initial climb phase, followed by a transition to horizontal flight prior to cruising toward the target area where terminal guidance is eventually initiated.
The optimization problem is formulated similarly to the general case, but the boundary conditions are modified as follows:
x ( 0 ) = x 0 y ( 0 ) = y 0 γ ( 0 ) = γ 0 y ( t 1 ) = y 1 γ ( t 1 ) = 0
The primary distinction from the initial optimization problem is the absence of a downrange constraint, meaning x 1 is free and consequently η 1 = 0 . Furthermore, because the vehicle transitions from a climb phase to horizontal flight, the final flight path angle is zero. Given that η 1 = 0 , it follows from Equation (16) that η 3 is also zero.
Because of these conditions, Equation (13) is reduced to a new form:
λ γ = η 2 ( x 1 x )
Consequently, Equation (15) is modified to
u = η 2 ( x 1 x ) / ( 2 V )
To use Equation (50) to determine the required control, both the unknown parameter η 2 and the terminal downrange x 1 must be identified.
Using the relationship (49), Equation (24) is integrated while accounting for the terminal condition of horizontal flight to obtain
2 V 3 sin γ = η 2 2 ( x 1 x ) 2
By expressing sin γ from Equation (51), Equation (23) is integrated to yield
Δ y = η 2 x 0 x 1 ( x 1 x ) 2 16 V 6 η 2 2 ( x 1 x ) 4 d x
By evaluating Equation (51) at the initial condition x ( 0 ) = x 0 , the parameter η 2 is expressed and substituted into Equation (52) to obtain
x 1 = x 0 + 2 sin γ 0 I Δ y , η 2 = V 3 ( Δ y ) 2 I 2
where
I = 0 γ 0 sin w d w
Since the unknown parameters x 1 and η 2 are expressed in terms of the known values x 0 , γ 0 , Δ y , and V, the optimal control u is determined using Equation (50):
u = V 2 2 ( Δ y ) 2 I 2 ( x 0 x ) + 2 sin γ 0 I Δ y
By expressing the control at the initial point and omitting the index 0, the following closed-feedback form is obtained:
u = V 2 sin γ Δ y 0 γ sin w d w
Naturally, the optimal climb problem can also be solved by applying the general Algorithm 1, although this requires an explicit specification of x 1 . To compare these two approaches, the trajectories for fixed values of x 1 = 600 m and x 1 = 1200 m are plotted alongside the trajectory where x 1 is free in Figure 6a, for a desired cruise altitude of 200 m. The values of other boundary conditions are x 0 = 200 m, y 0 = 100 m, γ 0 = 25 ° , and velocity is 160 m/s.
The comparison illustrates that for a specified x 1 , the trajectory may exhibit variable convexity. It also reveals the interesting phenomenon that certain fixed-range cases can result in a lower control energy than the free- x 1 case. The cost function (5) for these examples yields the following values:
J | x 1 = 600 m = 1960 m 2 / s 3 , J | x 1 free = 1492 m 2 / s 3 , J | x 1 = 1200 m = 1444 m 2 / s 3
This result is expected, as a large maneuver is required to satisfy altitude and flight path angle constraints over short distances. The cost function continues a decreasing trend toward infinity, suggesting that the globally optimal trajectory is one where x 1 is infinite, as depicted in Figure 7. The red marker denotes the point corresponding to the free-final-range trajectory, which is situated at the saddle point of the J ( x 1 ) curve.
Consequently, the trajectories obtained using Equation (56) satisfy the necessary conditions of optimality and therefore represent local extremals. However, they do not correspond to a global minimum of the cost J with respect to x 1 . Despite this, they exhibit properties that are advantageous from an implementation standpoint. In particular, when x 1 is not pre-specified, the desired altitude is reached precisely at the instant when the control input vanishes, as illustrated in Figure 6b, ensuring no further change in the flight-path angle. This enables a smooth transition from the climb phase to horizontal flight, avoids abrupt variations in normal acceleration, and prevents altitude overshoot.

4. Comparison with Existing Methods

In this section, a comparison is presented between the optimal trajectories obtained using the proposed Algorithm 1 and several notable existing impact angle guidance methods. The analysis uses a planar kinematic model illustrated in Figure 1 and described by Equations (1)–(3). The simulation parameters, detailed in Table 1, represent the terminal engagement of the ground target after the cruise phase. An impact angle of 90 ° is selected for this comparison, as it represents the most demanding scenario for highlighting the performance differences between the various methods.
For all methods, a fixed simulation step size of 10 4 s is used. To mitigate potential numerical issues arising in the final phase of the simulation, the guidance laws are evaluated until the relative separation reaches 1 m, after which the last computed control input is held constant for the remaining steps. In addition, the control input is uniformly saturated at | u | 100 m/s2 for all guidance methods. These measures prevent nonphysical terminal spikes in normal acceleration as the range-to-go approaches zero, which would otherwise lead to disproportionate control effort. Consequently, the comparison reflects the representative portion of the trajectories, ensuring that no method is unfairly penalized due to terminal singularities.
Table 2 provides an overview of the notable guidance laws used for impact angle control, positioned alongside the guidance law proposed in this work (referred to as OPT). For each entry, the guidance law equation for a stationary target is presented as derived from its respective reference. Several of these guidance laws use tuning parameters such as N and M [22], η , α , and N [24], and k [27]. All other variables appearing in these equations are standard in engagement kinematics and are consistent with the definitions in Figure 1.
It should be noted that many existing methods rely on time-to-go ( t go ) information. When a specific t go computation was proposed in the original reference—particularly when demonstrated to outperform standard approximations—that formulation was adopted. For methods where no such computation was provided, the standard approximation based on range and closing velocity ( t go = R / V c ) is used. The same principle is applied to guidance-law parameters: parameter values are taken directly from the original references, without additional retuning, in order to reflect the intended performance of each method.
To focus solely on trajectory optimality in this part of the paper, a lag-free autopilot is assumed in this simulation. Under this assumption, all commanded inputs are realized without error, and therefore per-cycle updates of the guidance parameters are not required. Accordingly, the unknown parameters of the proposed method, η 1 , η 2 , and η 3 , are computed only once at the beginning of the trajectory. Nevertheless, the guidance law itself is evaluated in closed-loop form throughout the simulation, as it depends on state variables that evolve along the trajectory, consistent with the implementation of the comparison methods. This setup ensures that the observed performance differences are attributable to trajectory optimality rather than to differences in feedback updating schemes. A detailed analysis of the real-time implementation, in which the parameters are updated at each guidance cycle to account for disturbances, is provided in Section 5.
The first group of guidance laws for comparison includes optimal impact angle methods derived from linearized engagement geometry. The results of the widely used trajectory shaping guidance (TSG) [4] are presented alongside the optimal guidance law with constrained terminal intercept angle (OGL-CTIA) [12], given their similar formulations. Both methods rely on time-to-go information, which was calculated using the range-to-closing-velocity ratio. As illustrated in Figure 8, the two linear-based methods produce nearly identical results in both trajectory profiles and control variable histories. However, both deviate from the optimal guidance proposed in this work. The most prominent difference occurs near the target point; the linear methods exhibit a sharp increase in the control variable profile, leading to high maneuver demands and a larger total control effort in the terminal phase.
The second comparison involves the optimal guidance law for impact angle control (OGL/IAC-0) for a lag-free autopilot, as presented in Refs. [10,11]. The guidance law in [11] represents a more general formulation that reduces to the same structure as in [10] when the same cost function is applied. In this analysis, for time-to-go estimation, the first method uses Method 2 from [10], whereas the second method implements the estimation presented in [11] (here referred to as Method 3). The results are presented in Figure 9. Unfortunately, both of these approximate t go calculation methods lead to high commanded normal acceleration values as the range-to-go approaches zero.
The first representative of nonlinear guidance laws selected for comparison is the state-dependent Riccati equation (SDRE) based guidance law proposed in Ref. [17]. This method employs a segmented time-to-go calculation: the standard range-over-closing-velocity ( R / V c ) is used when the closing velocity exceeds one-half of the vehicle speed; otherwise, t go is approximated as the range divided by one-half of the vehicle speed. Although the original reference provides no specific procedure for selecting the navigation constant N, a value of N = 3 is used for this comparison to remain consistent with the examples presented in the source paper.
As shown in Figure 10, the resulting trajectory differs significantly from the optimal one proposed in this work. This discrepancy remains pronounced even at lower, less demanding impact angles.
In the same figure, results are presented for the nonlinear optimal impact-angle-constrained guidance (NOIACG) proposed in [22]. Although the formulation of this guidance law in Table 2 does not explicitly call for t go , this quantity is implicitly embedded within the term R / ( V cos η ) , where η represents the velocity lead angle. Because the cost function in this work is not weighted by time-to-go, the values of N = 3 and M = 1 were chosen for comparison.
Although non-optimal, biased proportional navigation (BPN) methods are simple to implement and computationally efficient, warranting a comparison with the proposed method. The first guidance law selected from this category is the method proposed in Ref. [24], with guidance parameters η = 1.3 , α = 0.28 , and N = 2.9 , consistent with the values used in the original work. The comparative results are presented in Figure 11. Interestingly, this method requires the least amount of normal acceleration during the initial phase of the terminal engagement; however, this is compensated for by significantly larger required maneuvers as the target is approached.
Another notable non-optimal approach is described in Ref. [25], which employs a standard proportional navigation form with a variable navigation gain. This gain is switched at the instant a specific inequality involving the line-of-sight angle, flight path angle, and desired impact angle is satisfied. Unfortunately, as is common with switching-gain proportional navigation, large discontinuities in normal acceleration occur at the switching point. These jumps result in extreme maneuver demands to satisfy the impact angle constraint; consequently, a direct comparison with these types of methods is not presented here.
Among other notable works in the BPN category is Ref. [26]; however, its implementation essentially functions as an open-loop control where the bias value is predetermined. In contrast, the interception angle control guidance (IACG) proposed in Ref. [27] uses biased proportional navigation with error feedback. Because this method relies on time-to-go information, the specific estimation method provided in that reference was implemented for this comparison. The results for the IACG method are also included in Figure 11.
Table 3 provides an overview of the total control effort, calculated using Equation (5), for the previously analyzed guidance methods. Since all compared methods successfully achieve the mission objective, the analysis is focused exclusively on the total control effort, and no additional performance metrics (such as miss distance or impact-angle error) are reported. The proposed method yields the minimum control effort for the defined engagement model, as it is the direct solution to the underlying optimal control problem.
It should be noted that certain values in this table may appear disproportionately high. For example, the OGL/IAC-0 method, although generally efficient, incurs a large control effort primarily due to late-stage trajectory shaping, which leads to increased acceleration demand in the final phase of flight.
In addition, it is observed that some methods produce control-effort values relatively close to those obtained with the proposed approach. This behavior is scenario-dependent and reflects the fact that the considered engagement represents a single representative case (with a fixed initial range and a demanding impact angle of 90 ° ). Different engagement geometries may lead to different ordering of total control effort values. However, even in cases where the numerical values are similar, important qualitative differences remain. In particular, the proposed method produces smoother control variable profiles, resulting in less aggressive maneuvering requirements. Furthermore, several of the compared methods rely on explicit time-to-go estimation for their implementation, whereas the proposed approach requires only standard navigation information (position and velocity). These aspects further distinguish the proposed method even in cases where the total control effort appears comparable.
In general, some methods could yield lower control-effort values if more accurate time-to-go estimation schemes or improved parameter–mission mappings were available. However, further refinement of existing methods is beyond the scope of this work, whose primary objective is to present and evaluate the proposed approach. Nevertheless, this comparative analysis clearly demonstrates that the trajectory obtained using Algorithm 1 is optimal and provides a unique performance profile among existing impact angle control methods.

5. Real-Time Application Analysis

This section analyzes topics related to the real-time implementation of the proposed Algorithm 1. The same planar engagement simulation from Section 4 is used, but a first-order autopilot is now included with a time constant of τ = 0.1 s.
Because the autopilot is no longer ideal, the optimal guidance command is recalculated every 16 ms guidance cycle. The nonlinear equation N ( α ) = 0 is solved using the bisection method. This robust brute force approach is chosen to demonstrate that the algorithm can run in real time even under the worst-case number of iterations.
All other simulation parameters are identical to those in Section 4. Results for the full six-degrees-of-freedom simulation are provided later in Section 6.2.

5.1. Numerical Solver Accuracy Requirements

This subsection defines the accuracy requirements for the numerical solution of the nonlinear equation N ( α ) = 0 . By establishing a relationship between the iteration count and desired guidance command accuracy, the computational load of the guidance loop can be strictly bounded.
The optimal control (17) can be expressed as a function of α (where the dependence on flight parameters x , y , γ is omitted for clarity):
u ( α ) = η 1 ( α ) Δ y η 2 ( α ) Δ x η 3 ( α ) / ( 2 V )
By performing a Taylor series expansion of the control u around the true solution α 🟉 , we obtain
u ( α ^ ) u ( α 🟉 ) + u α α 🟉 ( α ^ α 🟉 )
where α ^ represents the numerical approximation derived from the iterative solution to N ( α ) = 0 .
By neglecting higher-order terms, the relationship becomes
u ( α ^ ) u ( α 🟉 ) = u α α 🟉 ϵ α
where ϵ α is the solution error.
The left side of this equation represents the error in the control variable. By bounding this with the allowable control error ϵ u , the upper bound for the solution error is established:
ϵ α < ϵ u ( u / α ) α 🟉
To determine the derivative u / α , Equation (57) is written in expanded form using Equations (16), (18), and (47):
u = ( η 1 Δ y η 2 Δ x ) / ( 2 V ) sgn ( η 3 ) V η 1 cos γ 1 + η 2 sin γ 1 = = V 2 2 ( Δ x ) 2 I N 2 ( cos α Δ y sin α Δ x ) sgn ( η 3 ) V 2 Δ x I N 2 cos ( α γ 1 )
The derivative is then derived as
u α = V 2 ( Δ x ) 2 I N I N α ( cos α Δ y sin α Δ x ) I N 2 2 ( sin α Δ y + cos α Δ x ) sgn ( η 3 ) V 2 Δ x 1 cos ( α γ 1 ) sgn ( I N ) I N α cos ( α γ 1 ) | I N | 2 sin ( α γ 1 )
When calculating the derivative u / α , the specific expressions for I N corresponding to the trajectory convexity must be used. The relevant expressions for the derivative I N / α are provided in Appendix A.
In Figure 12a, the allowable error ϵ α , determined using Equations (60) and (62), is shown for a variable convexity trajectory with γ 1 = 60 ° . The error is plotted for two values of allowable control variable error, ϵ u .
Two characteristic zones on the graph exhibit low allowable error values. The first zone occurs at the very end of the flight. This is of little practical concern, as ϵ α only drops to 10 3 when the distance to the target is less than 0.5 m. The second zone occurs near the trajectory saddle point, where the allowable error tends toward zero. It should be noted that the duration within this second zone is very short. Furthermore, the minimum value of ϵ α depends directly on the chosen ϵ u ; for ϵ u = 0.1 , the minimum error bound is ϵ α 10 6 , whereas for ϵ u = 0.01 , it reaches ϵ α 10 7 .
The allowable error for the control variable should be selected on the basis of the control system capabilities. Because this algorithm is primarily intended for flight vehicles, requiring an accuracy of 0.01 m/s2 may be physically over-engineered. However, it is clear that regardless of the chosen ϵ u , there exists a specific point on the trajectory where maximum accuracy for α is required.
To ensure that the algorithm is robust for real-time use on hardware that may not support a floating point unit (FPU) and to maintain compatibility with single-precision formats (which offer 6–7 significant digits), a fixed absolute accuracy of 10 6 is adopted for solving N ( α ) = 0 .
Although Figure 12a shows that the allowable error is much larger than 10 6 for most of the flight, this worst-case accuracy for every guidance cycle is chosen to avoid the additional computational expense of recalculating the allowable error dynamically. The primary advantage of this approach is a fixed computational burden; once the algorithm is verified, it guarantees a predictable execution time. This deterministic behavior is highly favorable, ensuring the onboard computer can reliably perform its other flight-critical functions alongside the guidance logic.
Because the interval in which the solution is sought is at most π , as defined by Equation (38), the expected number of iterations for the bisection method to obtain 10 6 accuracy is 22. Other nonlinear solving methods offering faster convergence [38] may be employed because the derivative of N ( α ) is available and provided in Appendix A. It can be shown that with proper adaptive limits, which rely on the observation that the solution to N ( α ) does not vary significantly between guidance cycles, these higher-order methods find the solution in only two iterations for the majority of the flight. The only exception is the saddle point, where the required number of iterations remains comparable to the bisection method due to the pathological behavior of the function N ( α ) in that vicinity. Consequently, the analysis is continued using the bisection method; if it is demonstrated that the fixed-structure algorithm can operate in real time with this brute-force approach, compatibility with more efficient nonlinear solvers is guaranteed.

5.2. Numerical Integration Analysis

The function N ( α ) incorporates the integral I 1 defined in Equation (32); therefore, this section analyzes the numerical procedure used to determine its value. The primary focus is the compromise between accuracy and computational effort, as this integral must be evaluated at least as many times as the function N ( α ) itself during the bisection process.
Similarly to the previous subsection, the ultimate accuracy requirement is derived from the allowable error in the control variable ( ϵ u ). This tolerance dictates the permissible error in the solution for α ( ϵ α ), which in turn defines the allowable error in the evaluation of Equation (45), referred to as ϵ I 1 . Because the integral I 1 appears at most twice in Equation (45), the relationship between the cumulative evaluation error and the individual integral error is established as ϵ I 1 = ϵ I 1 / 2 . This logical flow is illustrated schematically in Figure 13.
To establish the required accuracy for the numerical integration, Equation (36) is rewritten using the general form given by Equations (43) and (44) to explicitly show the dependence on α , I 1 , and I 2 :
N ( α , I 1 , I 2 ) = ( Δ x cos α + Δ y sin α ) I 2 + ( Δ x sin α Δ y cos α ) I 1
Let N ^ represent the function N calculated using an approximate value of the integral with error ϵ I 1 . Expanding this around the true value yields
N ^ ( α ) = N ( α , I 1 + ϵ I 1 , I 2 ) N ( α , I 1 , I 2 ) + N I 1 ϵ I 1
where the partial derivative is determined from Equation (63) as
N I 1 = Δ x sin α Δ y cos α
Defining α 🟉 as the true zero of N ( α ) and α ^ as the zero of N ^ ( α ) and expanding N ^ ( α ^ ) in a Taylor series around α 🟉 gives
N ^ ( α ^ ) N ^ ( α 🟉 ) + N ^ α α 🟉 ( α ^ α 🟉 )
Since α 🟉 is the true zero, the first term in Equation (66) is approximated via Equation (64) as
N ^ ( α 🟉 ) N I 1 α 🟉 ϵ I 1
Because α ^ is the true zero of the approximate function N ^ ( α ) , substituting the previous approximation into Equation (66) yields
N I 1 α 🟉 ϵ I 1 + N ^ α α 🟉 ( α ^ α 🟉 ) = 0
It can be shown that the derivative of the approximate function is
N ^ α = N α + ( Δ x cos α + Δ y sin α ) ϵ I 1
where the detailed procedure for determining N / α is provided in Appendix A.
Substituting Equations (65) and (69) into Equation (68) results in
α ^ α 🟉 = Δ x sin α 🟉 Δ y cos α 🟉 ( 1 / ϵ I 1 ) N / α α 🟉 + ( Δ x cos α 🟉 + Δ y sin α 🟉 )
Since the allowable error in the approximation of α 🟉 is bounded by ϵ α , the following governing inequality must hold:
1 ϵ I 1 N α α 🟉 + ( Δ x cos α 🟉 + Δ y sin α 🟉 ) | Δ x sin α 🟉 Δ y cos α 🟉 | ϵ α
In Figure 12b, the allowable integral calculation error based on inequality (71) is presented for two different values of control variable accuracy, for a variable convexity trajectory with γ 1 = 60 ° .
In both cases, in the part of the trajectory where x < 1400 m, the allowable error ϵ I 1 is high. Low error values are most pronounced in the last 10 m for case ϵ u = 0.1 and the in last 20 m for case ϵ u = 0.01 , where the allowable error is approximately 10 6 .
In accordance with the worst-case design philosophy adopted in this work, if a specific phase of the engagement requires maximum algorithmic complexity, such as the peak iteration count of an iterative procedure or the highest precision of an approximation, the algorithm is evaluated in this most demanding form across the entire trajectory. This ensures that the fixed-structure algorithm remains computationally viable even when maximum accuracy is required throughout the flight. By adopting this approach, deterministic timing and performance are guaranteed, which is critical for real-time validation on hardware with limited resources.
To evaluate the integral I 1 from Equation (32), a 10-node Gauss-Legendre quadrature formula, denoted as G , is adopted. This choice balances computational efficiency with the precision requirements established in the previous section. The numerical approximation over arbitrary limits a and b is given by
I 1 ( a , b ) = a b cos ξ d ξ G ( a , b )
Error analysis can be simplified to a single half-plane on the basis of integrand parity. Because of the square-root singularity at the interval ends, quadrature errors increase rapidly as the integration interval approaches these boundaries. This is particularly evident in Case B, where the upper limit is fixed at π / 2 . When the lower limit a is far from π / 2 , the error accumulates; however, as a approaches zero, the exact integral value approaches the integral over the entire right-half-plane ( I R H P ), which can be pre-calculated with extremely high precision. To maintain accuracy, it is more effective to integrate directly when the lower limit is near π / 2 and to use the complement ( I R H P minus the integral from 0 to a) when a is near zero.
In Figure 14, the error obtained using these two approaches is compared. The intersection point, denoted as c 🟉 1.515 , serves as the optimal switching threshold. For Case B, where the lower limit a can also be negative, the general evaluation algorithm is defined as
I 1 ( a , π / 2 ) G ( a , π / 2 ) , a c 🟉 I R H P G ( 0 , a ) , 0 < a < c 🟉 I R H P , a = 0 I R H P + G ( 0 , | a | ) , c 🟉 < a < 0 2 I R H P G ( | a | , π / 2 ) , a c 🟉
For Case C, where the upper bound is fixed at π / 2 , the same logic is applied by leveraging symmetry:
I 1 ( a , π / 2 ) G ( π / 2 , a )
Although the integration limits for Case A can be arbitrary, there is no guarantee that they will remain safely away from the problematic regions near ± π / 2 . Unlike Cases B and C, Case A requires only a single evaluation of I 1 according to Equation (45). However, because the integration interval can still be large, the same phenomenon of error accumulation persists.
To address this, a similar logic to Case B is adopted for Case A. Although this expands the simplest case into a two-integral calculation, it ensures maximum accuracy regardless of the limits and, crucially, maintains a fixed algorithm structure. This uniformity guarantees constant computational burden across all convexity cases. The comprehensive procedure is summarized in Algorithm 2. To visualize the decision logic, Figure 15 illustrates the possible positions of the upper limit b relative to the threshold c 🟉 and the corresponding domains for the lower limit a.
Finally, Figure 16 illustrates the absolute error in the calculation of integral I 1 using Algorithm 2 across the entire grid of possible integration limits. The calculations were performed in single-precision format, and the resulting error remains less than 10 6 for the majority of the grid. Small exceptions occur in regions where one limit lies to the left of c 🟉 and the other to the right; in these instances, a doubling of the characteristic error at point c 🟉 is observed. However, even in these regions, the error is less than 2 × 10 6 . In all other cases, the numerical error is several orders of magnitude lower than the required tolerance. This analysis confirms that the results obtained using Algorithm 2 are well within the allowable accuracy limits established previously.
A similar methodology is applied to evaluate the integral (54) required for the optimal command during the climbing phase. Because the integrand is now sin ξ , a 10-node quadrature formula is denoted as G . The corresponding evaluation logic is detailed in Algorithm 3. In this case, the maximum error occurs at the intersection point c 🟉 0.056 and is less than 1.2 × 10 6 .
Algorithm 2 Calculation of I = I 1 ( a , b ) , given by Equation (32)
  1:
if  a = b  then
  2:
     I 0 ; return
  3:
end if
  4:
if  a > b  then
  5:
     I I 1 ( b , a ) ; return
  6:
end if
  7:
c * 1.515032499555405
  8:
I rhp 1.198140234937978
  9:
if  b c *  then
10:
     I b G ( b , π / 2 )
11:
    if  a c *  then
12:
         I a G ( a , π / 2 )
13:
         I I a I b
14:
    elseif  a 0  then
15:
         I a G ( 0 , a )
16:
         I I rhp ( I a + I b )
17:
    elseif  a > c *  then
18:
         I a G ( 0 , | a | )
19:
         I I rhp I b + I a
20:
    else
21:
         I a G ( | a | , π / 2 )
22:
         I 2 I rhp ( I a + I b )
23:
    end if
24:
elseif  b 0  then
25:
     I b G ( 0 , b )
26:
    if  a 0  then
27:
         I a G ( 0 , a )
28:
         I I b I a
29:
    elseif  a > c *  then
30:
         I a G ( 0 , | a | )
31:
         I I a + I b
32:
    else
33:
         I a G ( | a | , π / 2 )
34:
         I I rhp I a + I b
35:
    end if
36:
elseif  b > c *  then
37:
     I b G ( 0 , | b | )
38:
    if  a > c *  then
39:
         I a G ( 0 , | a | )
40:
         I I a I b
41:
    else
42:
         I a G ( | a | , π / 2 )
43:
         I I rhp ( I a + I b )
44:
    end if
45:
else
46:
     I b G ( | b | , π / 2 )
47:
     I a G ( | a | , π / 2 )
48:
     I I b I a
49:
end if
Algorithm 3 Calculation of I ( 0 , γ ) , given by Equation (54).
  1:
if  γ = 0  then
  2:
     I 0 ; return
  3:
end if
  4:
c * 0.055768846485867
  5:
I rhp 1.198140234937978
  6:
if  γ < c *  then
  7:
     I G ( 0 , γ )
  8:
else
  9:
     I g G ( γ , π / 2 )
10:
     I I rhp I g
11:
end if

5.3. Influence of Delay in Updating Guidance Parameters

The optimal guidance command defined by Equation (17) can be expressed in the compact form u ( x , η ) , where x = ( x , y , γ ) represents the state vector and η = ( η 1 , η 2 ) is the vector of optimal guidance parameters. This guidance law functions as a closed-loop feedback system on the basis of the states provided by the navigation system. Consequently, the optimal command can be calculated immediately as new navigation data become available. However, determining the parameters η requires finite computational time for the execution of Algorithm 1.
This computational overhead is modeled as a discrete delay d, representing the number of navigation cycles elapsed prior to guidance parameters update. Guidance command is thus rewritten in discrete form:
u k = u ( x k , η k d )
Figure 17 illustrates the performance for various delay levels d for the previously studied scenario. As the trajectories showed no significant deviations, the analysis focuses on the control variable profile during the first and last 100 m of flight: intervals where sensitivity to parameter updates is expected to be highest.
The results indicate that even with a delay of five cycles, there is no substantial impact on the guidance performance. This robustness suggests that the autopilot time constant exerts a far greater influence than the minor latency in updating the guidance parameters, which remain relatively slow-changing throughout most engagement scenarios.

5.4. Influence of Variable Speed

Up to this point, the application of Algorithm 1 has been analyzed under the assumption of constant velocity. This assumption is widely adopted in guidance law design for tactical air vehicles, as the speed typically varies slowly and the terminal phase of the engagement is relatively short [22]. Although this assumption underlies the derivation of the optimal guidance law (17), it is rarely satisfied in practice. Since the objective of this work is to develop an algorithm capable of determining all guidance-law parameters in real time, variations in velocity do not violate the problem formulation. Each instant of flight—i.e., each guidance update—is treated as a new initial condition, resulting in a closed-loop guidance law expressed in terms of state variables available from the navigation system at every guidance cycle.
To assess the influence of variable speed, a linear time-varying velocity profile is introduced into the numerical simulation:
V ( t ) = 160 ± 2 t
where 160 m/s represents the nominal value about which the variation is applied. This profile is selected solely for illustrative purposes; the analysis is not restricted to linear variations and remains valid for arbitrary time-varying velocity profiles. All other simulation parameters correspond to those given in Table 1, except for the desired impact angle of γ 1 = 60 ° .
The time-varying velocity is applied only in the kinematic Equations (1)–(3), while two strategies are considered for the velocity term V in the guidance law (17). In the first approach, the nominal value V = 160 m/s is used in the guidance law despite the varying flight speed. The corresponding control profile is shown in Figure 18a. In the second approach, the guidance command is computed using the actual time-varying velocity. The resulting control profile is shown in Figure 18b. Because both approaches produce nearly identical trajectories, only the control input profiles are presented.
The comparison clearly indicates that, in the first case, significant increases in the control variable occur when the actual speed deviates from the nominal value, due to the mismatch between the assumed and true flight conditions. In contrast, incorporating the actual velocity into the guidance law yields a control profile consistent with the true dynamics and avoids excessive control effort. This effect is also reflected in the total control effort values summarized in Table 4, where the use of an incorrect (nominal) speed results in consistently higher values.
Based on these results, it is concluded that the optimal guidance law should be implemented using the actual velocity, i.e., the value available from the navigation system at each guidance cycle.

6. Hardware-in-the-Loop Validation and Results

This final section addresses the practical implementation of the proposed guidance algorithm on flight hardware and its subsequent validation via high-fidelity six-degrees-of-freedom (6DOF) numerical simulations. To ensure that the results represent actual operational conditions, tests are conducted in a hardware-in-the-loop (HIL) laboratory environment.
The HIL architecture, shown in Figure 19, integrates the onboard computer (OBC) with a 6DOF real-time simulator and physical actuators. The OBC is mounted on a three-axis platform that receives attitude commands from the simulator via UDP. Initial mission parameters are uploaded via RS-232 from ground control station. Flight data and acceleration measurements are provided to the OBC over Ethernet. During flight, the OBC transmits control surface commands via the CAN protocol to real actuators. The resulting physical deflections, measured by high-resolution encoders, are fed back into the 6DOF simulation to close the control loop. All flight data are broadcast by the OBC via UDP for synchronized recording on a dedicated workstation.
The target onboard computer is a microcontroller based on the ARM Cortex-M3 architecture. By using the same production-grade environment for these tests, we can verify that the algorithm effectively manages the computational constraints of an embedded processor while maintaining the required guidance precision throughout the flight envelope.

6.1. Onboard Computer Integration and Performance

The navigation architecture of the target OBC follows the dual-rate structure described in [39]. High-frequency tasks occur at 500 Hz basic step (2 ms period) to process IMU increments, whereas position and velocity updates are completed every eight steps at a base rate of 62.5 Hz (16 ms period). To ensure the guidance law uses the most recent state estimates, the guidance update cycle is synchronized with this 16 ms navigation interval.
As established in Section 5.1, the worst-case scenario for the nonlinear solver requires 22 iterations. To maintain a fixed computational load and prevent CPU spikes, the solver is distributed across the 16 ms window. By executing three iterations per 2 ms basic step, the solution is guaranteed within less than eight full steps, thus leaving the initial step available for determining the trajectory convexity case.
The chronological flow around the kth cycle is illustrated in Figure 20. The horizontal time axis is divided into basic steps (indexed 0–7), each lasting 2 ms, forming the full 16 ms cycle. In this specific navigation architecture, fresh state data x k become available at the fourth basic step. At this instant, the optimal command is immediately calculated using the most recent navigation information and the guidance parameters from the previous cycle: u ( x k , η k 1 ) . The process of determining the new parameters η k then begins, using the remaining basic steps to ensure that they are ready prior to the next update. This maintains a deterministic lag of exactly one guidance cycle.
The execution time of the main algorithm was measured using the microcontroller’s internal timer during a HIL test involving engagement of a target at a range of 6.5 km. Data was transmitted via Ethernet at 500 Hz for monitoring purposes; however, the transmission overhead was excluded from the measurements as it is not present in actual flight operations.
As shown in Figure 21a, prior to the terminal phase (which begins 3 km from the target), the baseline execution time is approximately 450 μs. This leaves a significant margin of 1.5 ms within each 2 ms basic step. Upon activating the proposed terminal guidance algorithm with three iterations per step, the total execution time rises to approximately 1200 μs. This confirms a healthy timing reserve of 800 μs for any additional background tasks.
Further CPU optimization can be achieved by reducing the number of iterations performed per basic step. Although this increases the total time required to solve the nonlinear equation N ( α ) = 0 , it maximizes the instantaneous free time available in each cycle. Figure 22 illustrates a modified flow using only two iterations per step. In this configuration, a solution is reached in twelve steps (including the convexity check). Consequently, the guidance parameters η are updated twice every three navigation cycles. This corresponds to a maximum delay of d = 3 in the guidance law (75), which was shown in Section 5.3 to have no significant impact on performance.
Figure 21b presents the execution times for this optimized two-iteration configuration. In this case, the peak execution time during the terminal phase is less than 1 ms, providing a safety margin equal to 50 % of the 2 ms basic step. Such substantial timing margins suggest that the main algorithm frequency could potentially be doubled if required by more complex mission requirements.
In both configurations, the available timing margins can be utilized to extend the method to three-dimensional guidance by executing an additional instance of the same algorithm for a second, orthogonal plane. When using three iterations per basic step, this effectively doubles the computational load, resulting in near-full utilization of the 2 ms cycle while still meeting real-time constraints. In the two-iteration configuration, approximately 200 μs of timing margin remains available even after such an extension. Furthermore, if additional computational resources are required for other background tasks, the number of iterations per step can be further reduced. As previously demonstrated, the resulting delay in updating the guidance parameters does not significantly affect performance, provided that the navigation data remains sufficiently up to date.
An identical timing analysis was conducted on the OBC for a ballistic trajectory, using a similar task architecture with a 2 ms basic cycle. In this configuration, the baseline execution time is slightly less than 400 μs due to a reduced number of active subsystems and different guidance method. By integrating the proposed algorithm with two iterations per cycle, the total execution time increases to approximately 920 μs.

6.2. HIL Simulation Results

In this section, the results of high-fidelity 6DOF numerical simulations conducted in the HIL laboratory environment for both flight vehicles are presented. In all scenarios, the proposed optimal impact angle guidance is implemented in the vertical plane, whereas the original guidance methods are maintained for the horizontal plane.
The optimal guidance command u given by Equation (17) is supplemented with the gravity compensation term. After coordinate transformation, the commanded specific force in the vertical plane is expressed as
f z ˜ , cmd = ( u cos ( θ γ ) + g cos θ )
where θ is the pitch angle provided by the navigation system. Because both flight vehicles use a conventional three-loop autopilot, the command is issued as a specific force to align with accelerometer measurements. To evaluate the true generated control effort (excluding gravity), the performance index is defined as the integral of the squared achieved specific force:
J = t 0 t 1 f z 2 ( t ) d t

6.2.1. Cruise Mission Climb Phase

The first scenario validates the optimal climb guidance law (56). Figure 23 compares the trajectories for various desired cruise altitudes, starting from an initial pitch angle of 45 ° . To ensure system stability, the guidance law is engaged only after the altitude of 100 m is reached, allowing launch-related transients to settle.
The total control effort (78) decreases as the cruise altitude increases:
J 400 = 1073 m 2 / s 3 , J 500 = 707 m 2 / s 3 , J 600 = 510 m 2 / s 3 , J 700 = 399 m 2 / s 3
This trend is physically consistent: an initial pitch of 45 ° requires significant maneuvering to level off at lower altitudes, whereas it is naturally more suited for reaching higher cruise altitudes with minimal correction, as shown in Figure 23c.
Crucially, in all cases, the flight path angle γ converges to the required zero value at the desired altitude, enabling a seamless transition to the trajectory-tracking cruise phase. Furthermore, Figure 23b illustrates the velocity profiles. Although the guidance law was derived assuming constant velocity, its closed-loop feedback nature demonstrates excellent robustness, successfully meeting mission requirements despite the varying speed profiles typical of real flight.
It should be noted that the velocity profiles are presented over the entire flight segment, including the initial boost phase, to provide a complete view of how the speed evolves with respect to different cruise altitudes. However, the guidance law is not active during the low-speed portion of the trajectory, where aerodynamic control authority is limited. As previously stated, guidance is engaged only after the altitude of 100 m is reached, at which point sufficient velocity—and thus maneuverability—is attained. Consequently, the results reflect the influence of moderate, trajectory-dependent speed variations typical of real flight conditions, rather than the initial acceleration from launch to cruise speed.

6.2.2. Cruise Mission Terminal Phase

The terminal engagement performance was evaluated using Algorithms 1 and 2. Figure 24 presents comparative results for engagements initiated 2 km from the target at various cruise altitudes, with a commanded impact angle of γ 1 = 85 ° . In all scenarios tested, a successful target intercept was achieved. As evidenced by the pitch angle profiles in Figure 24f, a vertical attitude is achieved prior to impact. The velocity profiles in Figure 24e further confirm the algorithm’s efficacy for variable-speed airframes, even in scenarios requiring a significant altitude increase relative to the cruise level to satisfy high-impact-angle constraints.
The selection of mission parameters, such as cruise altitude ( h cruise ) and the terminal phase initiation distance ( Δ x start ), can be critical for operational success. These parameters are typically dictated by terrain constraints, obstacle avoidance, and counter-measure environments. A sensitivity analysis of these parameters is summarized in the performance surfaces of Figure 25.
The results in Figure 25a,b indicate that the target is consistently hit within the desired impact angle tolerances. The marginal increase in impact angle error at shorter initiation distances is a physical consequence of the maneuverability limits when attempting steep dives over short ranges; however, these errors remain negligible at less than 1 ° . Although Figure 25c suggests that larger initiation distances reduce the peak specific force, the data from Figure 25e,f show that this also results in higher peak altitudes and greater velocity loss. This drop in speed can ultimately degrade maneuverability in the final seconds of flight.
Although a multi-parameter optimization could be employed to determine the ideal h cruise and Δ x start for a specific threat environment, such an analysis lies outside the scope of this paper. The primary objective, validating the real-time performance and precision of the proposed guidance algorithm, is successfully met by these HIL results.

6.2.3. Ballistic Trajectory

The final case study evaluates the algorithm’s performance in a short-range ballistic scenario. To demonstrate the robustness of the proposed method under extreme deviations from the nominal trajectory, the system was tested against a total impulse variation of ± 2 % .
The engagement involves a target at a range of 180 km with a commanded impact angle of γ 1 = 45 ° , which corresponds to the nominal trajectory for an initial angle of γ 0 = 46.35 ° . To mitigate rocket motor disturbances during the active phase and to compensate for low control effectiveness at high altitudes, optimal guidance is activated immediately after launch.
Figure 26 presents the HIL results for these scenarios. In all cases, a successful target hit was achieved. The most significant trajectory shaping occurs during the initial climb and the final reentry into denser atmospheric layers, as observed in the specific force profiles in Figure 26c. For the 2 % total impulse deviation, more maneuverability is required during the terminal phase to prolong the trajectory toward the target, as illustrated in Figure 26a. Conversely, in the + 2 % case, the guidance performs more aggressive shaping during the early climb to manage excess energy. Despite these variations, the required specific force remains well within the maneuverability limits for all three cases. The flight path angle profiles illustrated in Figure 26d confirm that, in addition to a precise target hit, the desired impact angle of 45 ° is successfully achieved in all cases.
The velocity profiles in Figure 26b further illustrate that the closed-loop feedback structure of the proposed guidance method remains effective under highly variable speed conditions. Although the velocity is shown over the entire flight segment, the majority of guidance action occurs in the supersonic regime during both the powered and unpowered phases, where aerodynamic control authority is well established. The observed velocity variations, while significant and far from the constant-speed assumption, are therefore representative of typical supersonic climb and reentry conditions. This confirms that the algorithm maintains full functionality as the system transitions through the wide range of speeds and altitudes characteristic of ballistic trajectories.

7. Conclusions

This paper presented a computationally efficient algorithm for solving the nonlinear optimal impact angle control problem in real time. By comparing the proposed approach with established methods in the literature, it was demonstrated that the resulting trajectories are unique and optimal while offering a significant operational advantage: no line-of-sight rate or time-to-go estimation is required, as the method relies solely on standard navigation data. For the specific case of the cruise mission climb phase, a closed-form solution was derived and verified. The computational synthesis resulted in a fixed-structure algorithm with deterministic execution time, making the method suitable for onboard real-time implementation. A framework was established to align numerical accuracy with the ultimate precision requirements of the guidance command. Practical implementation on a microcontroller-based onboard computer confirmed that the guidance law can be executed in real time without compromising concurrent flight software functions. High-fidelity hardware-in-the-loop testing across two distinct platforms validated the versatility of the algorithm. The cruise mission tests confirmed its efficacy across all flight phases, whereas the ballistic trajectory scenario demonstrated its robustness to compensate for extreme system deviations across vast flight regimes. Future work will focus on the sensitivity of the proposed method to navigation errors. Although position errors are relatively straightforward to manage, the estimation of the flight path angle in the vertical plane presents a unique challenge, as GPS aiding of inertial navigation in the vertical plane remains less robust than horizontal positioning.

Author Contributions

Conceptualization, L.M. and I.T.; methodology, L.M., A.O. and A.P.; software, L.M. and I.T.; validation, L.M., A.O. and I.T.; formal analysis, L.M., A.O., I.T. and A.P.; investigation, L.M. and I.T.; resources, I.T.; data curation, L.M. and I.T.; writing—original draft preparation, L.M.; writing—review and editing, A.O., I.T. and A.P.; visualization, L.M.; supervision, A.O., I.T. and A.P.; project administration, L.M. and I.T.; funding acquisition, I.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Ministry of Science, Technological Development and Innovation of the Republic of Serbia, under contract evidence number 451-03-34/2026-03/200105 from 5 February 2026.

Data Availability Statement

Data are contained within the article.

Acknowledgments

The authors gratefully acknowledge resources and support from the company Engine Development & Production—EDePro, Belgrade, Serbia.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

This section provides the expressions required to calculate the derivative of the function N ( α ) , given by Equation (36). The derivation assumes that all variables depend solely on α , corresponding to an instantaneous state in the flight trajectory where the physical parameters ( Δ x , Δ y , γ ) are treated as constant.
The general form of the derivative of N ( α ) with respect to α is given by
d N d α = Δ x d I D d α Δ y d I N d α
Although this form remains consistent across Cases A, B, and C, the specific definitions of the integrals I N and I D from Equations (43) and (44) vary. Their derivatives follow the general form
d I N d α = sin α I 1 + cos α d I 1 d α cos α I 2 sin α d I 2 d α
d I D d α = sin α I 2 + cos α d I 2 d α + cos α I 1 + sin α d I 1 d α
According to Equations (45) and (46), determining the derivatives d I 1 / d α and d I 2 / d α requires differentiating the integrals I 1 and I 2 defined in Equations (32) and (33). Because the variable α appears in the integration limits, the Leibniz integral rule is applied. The integrand itself is independent of α , and the integration limits are structured such that α , where present, is preceded by a negative sign. Consequently, the derivatives of the limits are restricted to the values 0 or 1 .
It can be demonstrated that d I 1 / d α = I 2 / 2 , resulting in the following relationship
d I 1 d α = I 2 2
Accordingly, Equations (A2) and (A3) can be reformulated in the following compact form:
d I N d α = sin α I 1 + d I 2 d α cos α I 2 2
d I D d α = cos α I 1 + d I 2 d α sin α I 2 2
This formulation implies that to compute the derivative d N / d α , one may use the previously calculated values of I 1 and I 2 used for N ( α ) , supplemented only by the additional derivative calculation
d I 2 d α = sin ( γ 0 α ) cos ( γ 0 α ) sin ( γ 1 α ) cos ( γ 1 α ) , for case A sin ( γ 0 α ) cos ( γ 0 α ) + sin ( γ 1 α ) cos ( γ 1 α ) , for cases B and C
The derivative d N / d α is determined by sequentially applying expressions (45), (46), (A5)–(A7), and (A1).

References

  1. Markov, A.A. Some examples of the solution of a special kind of problem on greatest and least quantities. Soobscenija Charkovskogo Mat. Obs. 1889, 2, 250–276. [Google Scholar]
  2. Dubins, L.E. On curves of minimal length with a constraint on average curvature, and with prescribed initial and terminal positions and tangents. Am. J. Math. 1957, 79, 497–516. [Google Scholar] [CrossRef]
  3. Bryson, A.E. Linear feedback solutions for minimum effort interception, rendezvous, and soft landing. AIAA J. 1965, 3, 1542–1544. [Google Scholar] [CrossRef] [PubMed]
  4. Zarchan, P. Tactical and Strategic Missile Guidance, 6th ed.; AIAA: Reston, VA, USA, 2012; pp. 569–601. [Google Scholar]
  5. Cherry, G. A general, explicit, optimizing guidance law for rocket-propelled spaceflight. In Proceedings of the Astrodynamics Guidance and Control Conference, Los Angeles, CA, USA, 24–26 August 1964. [Google Scholar] [CrossRef]
  6. Ohlmeyer, E.J.; Phillips, C.A. Generalized vector explicit guidance. J. Guid. Control Dyn. 2006, 29, 261–268. [Google Scholar] [CrossRef]
  7. Kim, M.; Grider, K.V. Terminal guidance for impact attitude angle constrained flight trajectories. IEEE Trans. Aerosp. Electron. Syst. 1973, AES-9, 852–859. [Google Scholar] [CrossRef]
  8. York, R.J.; Pastrick, H.L. Optimal terminal guidance with constraints at final time. J. Spacecr. Rocket. 1977, 14, 381–383. [Google Scholar] [CrossRef]
  9. Song, T.L.; Shin, S.J.; Cho, H. Impact angle control for planar engagements. IEEE Trans. Aerosp. Electron. Syst. 1999, 35, 1439–1444. [Google Scholar] [CrossRef]
  10. Ryoo, C.-K.; Cho, H.; Tahk, M.-J. Optimal guidance laws with terminal impact angle constraint. J. Guid. Control Dyn. 2005, 28, 724–732. [Google Scholar] [CrossRef]
  11. Ryoo, C.-K.; Cho, H.; Tahk, M.-J. Time-to-go weighted optimal guidance with impact angle constraints. IEEE Trans. Control Syst. Technol. 2006, 14, 483–492. [Google Scholar] [CrossRef]
  12. Shaferman, V.; Shima, T. Linear quadratic guidance laws for imposing a terminal intercept angle. J. Guid. Control Dyn. 2008, 31, 1400–1412. [Google Scholar] [CrossRef]
  13. Rusnak, I.; Weiss, H.; Eliav, R.; Shima, T. Missile guidance with constrained intercept body angle. IEEE Trans. Aerosp. Electron. Syst. 2014, 50, 1445–1453. [Google Scholar] [CrossRef]
  14. Glizer, V.Y. Optimal planar interception with fixed end conditions: Closed-form solution. J. Optim. Theory Appl. 1996, 88, 503–539. [Google Scholar] [CrossRef]
  15. Idan, M.; Golan, O.M.; Guelman, M. Optimal planar interception with terminal constraints. J. Guid. Control Dyn. 1995, 18, 1273–1279. [Google Scholar] [CrossRef]
  16. Lu, P.; Chavez, F. Nonlinear optimal guidance. In Proceedings of the AIAA Guidance, Navigation, and Control Conference, Keystone, CO, USA, 21–24 August 2006; pp. 1–11. [Google Scholar] [CrossRef]
  17. Ratnoo, A.; Ghose, D. State-dependent Riccati-equation based guidance law for impact-angle constrained trajectories. J. Guid. Control Dyn. 2009, 32, 320–326. [Google Scholar] [CrossRef]
  18. Lu, P. Introducing computational guidance and control. J. Guid. Control Dyn. 2017, 40, 193. [Google Scholar] [CrossRef]
  19. Chai, R.; Tsourdos, A.; Savvaris, A.; Chai, S.; Xia, Y.; Chen, C.L.P. Review of advanced guidance and control algorithms for space/aerospace vehicles. Prog. Aerosp. Sci. 2021, 122, 100696. [Google Scholar] [CrossRef]
  20. Li, J.; Zhang, J.; Ye, J.; Shao, L.; Bu, X. Optimal midcourse guidance with terminal relaxation and range convex optimization. Aerospace 2025, 12, 618. [Google Scholar] [CrossRef]
  21. Chen, Z.; Shima, T. Nonlinear optimal guidance for intercepting a stationary target. J. Guid. Control Dyn. 2019, 42, 2418–2431. [Google Scholar] [CrossRef]
  22. Li, H.; Wang, J.; He, S.; Lee, C.-H. Nonlinear optimal impact-angle-constrained guidance with large initial heading error. J. Guid. Control Dyn. 2021, 44, 1663–1676. [Google Scholar] [CrossRef]
  23. Zhu, Y.; Zhou, C.; Chen, S.; Song, X.; Li, K.; Li, C. A parameterized solution to optimal guidance law against stationary target with impact angle constraint. IEEE Trans. Aerosp. Electron. Syst. 2025, 61, 3993–4003. [Google Scholar] [CrossRef]
  24. Kim, B.S.; Lee, J.G.; Han, H.S. Biased PNG law for impact with angular constraint. IEEE Trans. Aerosp. Electron. Syst. 1998, 34, 277–288. [Google Scholar] [CrossRef]
  25. Ratnoo, A.; Ghose, D. Impact angle constrained interception of stationary targets. J. Guid. Control Dyn. 2008, 31, 1817–1822. [Google Scholar] [CrossRef]
  26. Erer, K.S.; Merttopcuoglu, O. Indirect impact-angle-control against stationary targets using biased pure proportional navigation. J. Guid. Control Dyn. 2012, 35, 700–704. [Google Scholar] [CrossRef]
  27. Lee, C.-H.; Kim, T.-H.; Tahk, M.-J. Interception angle control guidance using proportional navigation with error feedback. J. Guid. Control Dyn. 2013, 36, 1556–1561. [Google Scholar] [CrossRef]
  28. Gu, W.-J.; Zhang, R.-C.; Yu, J.-Y. A three-dimensional missile guidance law with angle constraint based on sliding mode control. In Proceedings of the IEEE International Conference on Control and Automation, Guangzhou, China, 30 May–1 June 2007; pp. 299–302. [Google Scholar] [CrossRef]
  29. Shima, T. Intercept-angle guidance. J. Guid. Control Dyn. 2011, 34, 484–492. [Google Scholar] [CrossRef]
  30. Li, B.; Tang, P.; Xu, H.; Zheng, D. Terminal impact angle control guidance law considering target observability. Aerospace 2022, 9, 193. [Google Scholar] [CrossRef]
  31. Manchester, I.R.; Savkin, A.V. Circular navigation guidance law for precision missile/target engagements. In Proceedings of the IEEE Conference on Decision and Control, Las Vegas, NV, USA, 10–13 December 2002; pp. 1287–1292. [Google Scholar] [CrossRef]
  32. Ariff, O.; Zbikowski, R.; Tsourdos, A.; White, B.A. Differential geometric guidance based on the involute of the target’s trajectory. J. Guid. Control Dyn. 2005, 28, 990–996. [Google Scholar] [CrossRef]
  33. Sun, M.; Xu, Q.; Du, S.; Chen, Z.; Zhang, D. Practical solution to impact angle control in vertical plane. J. Guid. Control Dyn. 2014, 37, 1022–1027. [Google Scholar] [CrossRef]
  34. Erer, K.S.; Tekin, R.; Ozgoren, M.K. Composite impact vector control based on Apollo descent guidance. Chin. J. Aeronaut. 2022, 35, 67–74. [Google Scholar] [CrossRef]
  35. Adler, F.P. Missile guidance by three-dimensional proportional navigation. J. Appl. Phys. 1956, 27, 500–507. [Google Scholar] [CrossRef]
  36. Shinar, J.; Steinberg, D. Analysis of optimal evasive maneuvers based on a linearized two-dimensional kinematic model. J. Aircr. 1977, 14, 795–802. [Google Scholar] [CrossRef] [PubMed]
  37. Ben-Asher, J.Z. Optimal Control Theory with Aerospace Applications; AIAA: Reston, VA, USA, 2010; pp. 94–101. [Google Scholar] [CrossRef]
  38. Press, W.H.; Flannery, B.P.; Teukolsky, S.A.; Vetterling, W.T. Numerical Recipes in C: The Art of Scientific Computing, 2nd ed.; Cambridge University Press: Cambridge, UK, 1992; pp. 347–367. [Google Scholar]
  39. Todic, I.; Kuzmanovic, V. Code optimization for strapdown inertial navigation system algorithm. In Space Flight; Dekoulis, G., Ed.; InTech: Rijeka, Croatia, 2018. [Google Scholar] [CrossRef]
Figure 1. Planar engagement model.
Figure 1. Planar engagement model.
Aerospace 13 00439 g001
Figure 2. Optimal trajectories for different impact angles. x 0 = 0 m, y 0 = 200 m, γ 0 = 0 ° , x 1 = 1000 m, y 1 = 0 m, V = 160 m/s.
Figure 2. Optimal trajectories for different impact angles. x 0 = 0 m, y 0 = 200 m, γ 0 = 0 ° , x 1 = 1000 m, y 1 = 0 m, V = 160 m/s.
Aerospace 13 00439 g002
Figure 3. Function (36) over the interval (38) for different scenarios. The zero of the function is indicated by a red circle. x 0 = 0 m, y 0 = 200 m, γ 0 = 0 ° , x 1 = 1000 m, y 1 = 0 m, V = 160 m/s.
Figure 3. Function (36) over the interval (38) for different scenarios. The zero of the function is indicated by a red circle. x 0 = 0 m, y 0 = 200 m, γ 0 = 0 ° , x 1 = 1000 m, y 1 = 0 m, V = 160 m/s.
Aerospace 13 00439 g003
Figure 4. Phase trajectories calculated using Equation (21) for different scenarios. x 0 = 0 m, y 0 = 200 m, γ 0 = 0 ° , x 1 = 1000 m, y 1 = 0 m, V = 160 m/s.
Figure 4. Phase trajectories calculated using Equation (21) for different scenarios. x 0 = 0 m, y 0 = 200 m, γ 0 = 0 ° , x 1 = 1000 m, y 1 = 0 m, V = 160 m/s.
Aerospace 13 00439 g004
Figure 5. Geometric classification of engagement scenarios based on relative separation and velocity vector orientation. Cases 1 ° 3 ° denote whether the current position is located to the left of, directly on, or to the right of the line defined by the desired terminal velocity vector at the target. Within each case, subcases a–c represent different orientations of the initial velocity vector relative to the line of sight. The red-shaded region corresponds to positions located left of the terminal velocity vector direction, while the blue-shaded region corresponds to positions located right of it.
Figure 5. Geometric classification of engagement scenarios based on relative separation and velocity vector orientation. Cases 1 ° 3 ° denote whether the current position is located to the left of, directly on, or to the right of the line defined by the desired terminal velocity vector at the target. Within each case, subcases a–c represent different orientations of the initial velocity vector relative to the line of sight. The red-shaded region corresponds to positions located left of the terminal velocity vector direction, while the blue-shaded region corresponds to positions located right of it.
Aerospace 13 00439 g005
Figure 6. Comparison of trajectories obtained using Algorithm 1 with fixed terminal range versus the closed-feedback law (56) with free terminal range. x 0 = 200 m, y 0 = 100 m, γ 0 = 25 ° , V = 160 m/s.
Figure 6. Comparison of trajectories obtained using Algorithm 1 with fixed terminal range versus the closed-feedback law (56) with free terminal range. x 0 = 200 m, y 0 = 100 m, γ 0 = 25 ° , V = 160 m/s.
Aerospace 13 00439 g006
Figure 7. Dependence of the cost function (5) on the specified terminal range x 1 for the optimal climb problem solved via the general Algorithm 1. The red marker denotes the point corresponding to the free-final-range trajectory, obtained using Equation (56). x 0 = 200 m, y 0 = 100 m, γ 0 = 25 ° , V = 160 m/s.
Figure 7. Dependence of the cost function (5) on the specified terminal range x 1 for the optimal climb problem solved via the general Algorithm 1. The red marker denotes the point corresponding to the free-final-range trajectory, obtained using Equation (56). x 0 = 200 m, y 0 = 100 m, γ 0 = 25 ° , V = 160 m/s.
Aerospace 13 00439 g007
Figure 8. Comparison of the proposed optimal guidance (OPT) with linear optimal guidance laws (TSG [4] and OGL-CTIA [12]) for the scenario defined in Table 1.
Figure 8. Comparison of the proposed optimal guidance (OPT) with linear optimal guidance laws (TSG [4] and OGL-CTIA [12]) for the scenario defined in Table 1.
Aerospace 13 00439 g008
Figure 9. Comparison of the proposed optimal guidance (OPT) with OGL/IAC-0 methods [10,11] using different t go estimation techniques for the scenario defined in Table 1.
Figure 9. Comparison of the proposed optimal guidance (OPT) with OGL/IAC-0 methods [10,11] using different t go estimation techniques for the scenario defined in Table 1.
Aerospace 13 00439 g009
Figure 10. Comparison of the proposed optimal guidance (OPT) with nonlinear methods (SDRE [17] and NOIACG [22]) for the scenario defined in Table 1.
Figure 10. Comparison of the proposed optimal guidance (OPT) with nonlinear methods (SDRE [17] and NOIACG [22]) for the scenario defined in Table 1.
Aerospace 13 00439 g010
Figure 11. Comparison of the proposed optimal guidance (OPT) with non-optimal biased proportional navigation methods (BPN [24] and IACG [27]), for the scenario defined in Table 1.
Figure 11. Comparison of the proposed optimal guidance (OPT) with non-optimal biased proportional navigation methods (BPN [24] and IACG [27]), for the scenario defined in Table 1.
Aerospace 13 00439 g011
Figure 12. Allowable numerical error for different control variable error tolerances ϵ u . x 0 = 0 m, y 0 = 300 m, γ 0 = 0 ° , x 1 = 1500 m, y 1 = 0 m, γ 1 = 60 ° , V = 160 m/s.
Figure 12. Allowable numerical error for different control variable error tolerances ϵ u . x 0 = 0 m, y 0 = 300 m, γ 0 = 0 ° , x 1 = 1500 m, y 1 = 0 m, γ 1 = 60 ° , V = 160 m/s.
Aerospace 13 00439 g012
Figure 13. Block diagram of the accuracy requirement propagation.
Figure 13. Block diagram of the accuracy requirement propagation.
Aerospace 13 00439 g013
Figure 14. Comparison of integration error using direct quadrature vs. the I R H P complement.
Figure 14. Comparison of integration error using direct quadrature vs. the I R H P complement.
Aerospace 13 00439 g014
Figure 15. Spatial partitioning of integration limits: possible positions of upper limit b relative to threshold c 🟉 and the resulting domains (colored area) for lower limit a.
Figure 15. Spatial partitioning of integration limits: possible positions of upper limit b relative to threshold c 🟉 and the resulting domains (colored area) for lower limit a.
Aerospace 13 00439 g015
Figure 16. Absolute error distribution of the I 1 integral calculation using the Algorithm 2.
Figure 16. Absolute error distribution of the I 1 integral calculation using the Algorithm 2.
Aerospace 13 00439 g016
Figure 17. Control variable profile for different delay levels d in guidance law (75). x 0 = 0 m, y 0 = 300 m, γ 0 = 0 ° , x 1 = 1500 m, y 1 = 0 m, γ 1 = 60 ° , V = 160 m/s.
Figure 17. Control variable profile for different delay levels d in guidance law (75). x 0 = 0 m, y 0 = 300 m, γ 0 = 0 ° , x 1 = 1500 m, y 1 = 0 m, γ 1 = 60 ° , V = 160 m/s.
Aerospace 13 00439 g017
Figure 18. Control variable profiles for fixed-speed and real-time speed feedback guidance under varying speed conditions. x 0 = 0 m, y 0 = 300 m, γ 0 = 0 ° , x 1 = 1500 m, y 1 = 0 m, γ 1 = 60 ° .
Figure 18. Control variable profiles for fixed-speed and real-time speed feedback guidance under varying speed conditions. x 0 = 0 m, y 0 = 300 m, γ 0 = 0 ° , x 1 = 1500 m, y 1 = 0 m, γ 1 = 60 ° .
Aerospace 13 00439 g018
Figure 19. Schematic of the HIL architecture and communication interfaces.
Figure 19. Schematic of the HIL architecture and communication interfaces.
Aerospace 13 00439 g019
Figure 20. Schematic flow of the main algorithm with update of guidance parameters using three iterations per basic cycle.
Figure 20. Schematic flow of the main algorithm with update of guidance parameters using three iterations per basic cycle.
Aerospace 13 00439 g020
Figure 21. Main algorithm execution time for cruise mission scenario.
Figure 21. Main algorithm execution time for cruise mission scenario.
Aerospace 13 00439 g021
Figure 22. Schematic flow of the main algorithm with update of guidance parameters using two iterations per basic cycle.
Figure 22. Schematic flow of the main algorithm with update of guidance parameters using two iterations per basic cycle.
Aerospace 13 00439 g022
Figure 23. Comparison of optimal climb to different cruise altitudes. Initial pitch angle θ 0 = 45 ° .
Figure 23. Comparison of optimal climb to different cruise altitudes. Initial pitch angle θ 0 = 45 ° .
Aerospace 13 00439 g023
Figure 24. Terminal engagement performance for various cruise altitudes at a fixed initiation distance of 2 km ( γ 1 = 85 ° ).
Figure 24. Terminal engagement performance for various cruise altitudes at a fixed initiation distance of 2 km ( γ 1 = 85 ° ).
Aerospace 13 00439 g024
Figure 25. Sensitivity of guidance performance metrics to variations in mission parameters h cruise and Δ x start for γ 1 = 85 ° .
Figure 25. Sensitivity of guidance performance metrics to variations in mission parameters h cruise and Δ x start for γ 1 = 85 ° .
Aerospace 13 00439 g025
Figure 26. HIL simulation results for the ballistic trajectory scenario under ± 2 % total impulse deviation. Initial flight path angle γ 0 = 46.35 ° for the nominal range of 180 km.
Figure 26. HIL simulation results for the ballistic trajectory scenario under ± 2 % total impulse deviation. Initial flight path angle γ 0 = 46.35 ° for the nominal range of 180 km.
Aerospace 13 00439 g026
Table 1. Simulation parameters for comparison with other methods.
Table 1. Simulation parameters for comparison with other methods.
Parameter x 0 y 0 γ 0 x 1 y 1 γ 1 V
Value0 m300 m1500 m0 m 90 ° 160 m/s
Table 2. Overview of guidance laws used for comparative analysis.
Table 2. Overview of guidance laws used for comparative analysis.
MethodEquation
1. OPT u = η 1 Δ y η 2 Δ x η 3 / ( 2 V )
2. TSG [4] u = 4 V λ ˙ + 2 V ( λ γ 1 ) t go
3. OGL-CTIA [12] u = 6 V λ ˙ + 2 V ( γ γ 1 ) t go
4./5. OGL/IAC-0 [10,11] u = V t go ( 6 λ + 4 γ + 2 γ 1 )
6. SDRE [17] u = N t go 2 R sin ( γ 1 λ ) + 2 N V t go sin ( γ γ 1 ) γ γ 1 ( γ γ 1 )
7. NOIACG [22] u = N V λ ˙ + N M V cos η V η R M ( N 1 ) V R / ( V cos η ) ( γ 1 γ ) , η = γ λ
8. BPN [24] u = N ( t ) V λ ˙ η V 2 ( γ 1 λ ) R cos ( γ λ ) , N ( t ) = N + 0.5 α R / V cos ( γ λ )
9. IACG [27] u = V [ k λ ˙ + b ( t ) ] , b ( t ) = k λ γ ( k 1 ) γ 1 t go
Table 3. Comparison of total control effort J for various impact angle guidance methods for the scenario defined in Table 1.
Table 3. Comparison of total control effort J for various impact angle guidance methods for the scenario defined in Table 1.
MethodJ [m2/s3]
1. OPT14,452
2. TSG [4]15,148
3. OGL-CTIA [12]15,467
4. OGL/IAC-0 [10]20,921
5. OGL/IAC-0 [11]19,133
6. SDRE [17]18,337
7. NOIACG [22]14,919
8. BPN [24]16,215
10. IACG [27]14,673
Table 4. Comparison of total control effort J for different speed profiles, using a fixed nominal speed and real-time velocity feedback in the guidance law (17).
Table 4. Comparison of total control effort J for different speed profiles, using a fixed nominal speed and real-time velocity feedback in the guidance law (17).
Speed ProfileJ [m2/s3]
Fixed V Real-Time V
Constant speed58905890
Linearly increasing speed82287698
Linearly decreasing speed43344259
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Miličić, L.; Obradović, A.; Todić, I.; Pejčev, A. Real-Time Algorithm for Nonlinear Optimal Impact Angle Guidance. Aerospace 2026, 13, 439. https://doi.org/10.3390/aerospace13050439

AMA Style

Miličić L, Obradović A, Todić I, Pejčev A. Real-Time Algorithm for Nonlinear Optimal Impact Angle Guidance. Aerospace. 2026; 13(5):439. https://doi.org/10.3390/aerospace13050439

Chicago/Turabian Style

Miličić, Luka, Aleksandar Obradović, Ivana Todić, and Aleksandar Pejčev. 2026. "Real-Time Algorithm for Nonlinear Optimal Impact Angle Guidance" Aerospace 13, no. 5: 439. https://doi.org/10.3390/aerospace13050439

APA Style

Miličić, L., Obradović, A., Todić, I., & Pejčev, A. (2026). Real-Time Algorithm for Nonlinear Optimal Impact Angle Guidance. Aerospace, 13(5), 439. https://doi.org/10.3390/aerospace13050439

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop