Navigation and Guidance Report
Navigation and Guidance Report
(AE641, AE410)
x = [x1 , x2 , x3 , x4 , x5 , x6 , x7 ]T
where:
The state transition function models the evolution of the aircraft’s state:
x2
−x4 x7
x4
f (x) = x2 x7
x6
0
1
1.1.4 Jacobians
The EKF requires the linearization of the state transition and measurement models:
∂f
A=
∂x
∂h
H=
∂x
These Jacobians were calculated symbolically and implemented as MATLAB functions
for efficient computation.
The true state xtrue is updated using the state transition model and process noise:
xtrue,k = xtrue,k−1 + ∆t · f (xtrue,k−1 ) + wk
where:
• f (x) is the state transition function,
2
1.3.3 Process Summary
The complete process for the true state and measurement generation is:
ztrue,k = h(xtrue,k ).
R = diag([σr2 , σϕ2 ])
Values used:
σ1 = 0.2, σ2 = 7 × 10−3 , σr = 50, σϕ = 0.1
1.3.5 Initialization
• Initial estimate:
xest (0) = xtrue (0) + Gaussian noise
3
1.4 Extended Kalman Filter Algorithm
The EKF iteratively updates the state and covariance estimates using the following steps:
• Predicted state:
xpred = xest + ∆t · f (xest )
• Predicted covariance:
Ppred = FPFT + Q
where F = I + ∆t · A.
• Measurement residual:
y = z − h(xpred )
• Kalman gain:
K = Ppred HT (HPpred HT + R)−1
• Updated state:
xest = xpred + Ky
• Updated covariance:
P = (I − KH)Ppred
1.5 Results
1.5.1 Root Mean Square Errors (RMSE)
• Position RMSE:
v
u
u1 X N
RMSEpos = t (xtrue, pos (k) − xest, pos (k))2
N k=1
• Velocity RMSE:
v
u
u1 X N
RMSEvel = t (xtrue, vel (k) − xest, vel (k))2
N k=1
4
• Turn rate RMSE:
v
u
u1 X N
RMSEturn =t (xtrue, turn (k) − xest, turn (k))2
N k=1
Table 1: Root Mean Square Errors (RMSE) for Position, Velocity, and Turn Rate
X1 75.87
Position (m) X2 48.14
X3 16.86
X4 53.2955
Velocity (m/s) X5 33.8173
X6 6.7151
1.6 Conclusion
The EKF effectively tracked the aircraft’s position, velocity, and turn rate, with errors
mitigated over time despite noise in measurements and process dynamics. The simulation
demonstrates the robustness of the EKF for nonlinear systems like aircraft tracking.
For Pure Pursuit, where the missile points towards the target:
αM = θ
5
Figure 1: Comparison of Position States
Ṙ = VR = VT cos(αT − θ) − VM (3)
Rθ̇ = Vθ = VT sin(αT − θ) (4)
VR + VM = VT cos(αT − θ) (5)
Vθ = VT sin(αT − θ) (6)
6
Figure 2: Comparison of Velocity States and Turn Rate
2.1.3 Observations
Vθ = 0 and V̇ R = V̇ θ = 0
7
Figure 3: Trajectory of the aircraft in 3D
b R0 (Ṙ0 + 2VM )
tf = =
VM2 − VT2
VM2 − VT2
8
2.1.5 Simulation
1. Initialization of Parameters
• Initial Conditions:
– Initial range between missile and target: R0 = 20, 000 m
π
– Initial Line-of-Sight (LOS) angle: θ0 = 30° = 6
radians
2π
– Target flight path angle: θT = 120° = 3
radians
• Speeds:
– Missile speed: VM = 800 m/s
– Target speed: VT = 400 m/s
• Simulation Parameters:
– Time increment: ∆t = 0.0001 s
– Total simulation duration: T = 100 s
– Time array: t ∈ [0, T ] with step size ∆t
2. Initializing Variables:
3. Simulation Loop:
VR = VT cos(θT − θ) − VM cos(αM − θ)
Vθ = VT sin(θT − θ) − VM sin(αM − θ)
• Update range and LOS angle:
R ← R + VR · ∆t
Vθ
θ←θ+ · ∆t
R
9
• Update missile and target positions:
2.1.6 Results
Fig 5 depicts a pure pursuit scenario where a missile (red path) intercepts a target (blue
path). The missile starts at the origin and continuously adjusts its trajectory to aim directly
at the moving target, which travels along a straight line. The curved missile path reflects
its efforts to pursue and intercept the target’s motion.
Fig 6 illustrates the missile’s flight path angle (αM ) over time in a pure pursuit scenario.
The steadily increasing trend represents the missile’s continuous adjustment of its trajectory
to align with the moving target, leading to a nonlinear escalation of the angle as it approaches
the target.
10
Figure 6: Flight Path Angle for Pure Pursuit
Fig 7 shows the relative velocity components (Vθ vs VR ) during pure pursuit guidance.
The missile continuously points toward the target, causing the tangential velocity (Vθ ) to
increase and the radial velocity (VR ) to decrease (more negative) as the missile closes in.
The graph in Fig 8 demonstrates successful intercept with range decreasing linearly from
20km to 0km in 33.33 seconds.
11
Figure 8: Range variation with time for Pure Pursuit
• Acceleration is perpendicular to the missile velocity vector and hence the missile ve-
locity remains constant.
• PN guidance generates a guidance command to ensure that the rate of rotation of the
missile velocity vector is proportional to the LOS rate:
α̇M = N θ̇
12
2.2.3 Simulation
1. Initialization of Parameters
• Initial Conditions:
– Initial range between missile and target: R0 = 20, 000 m
π
– Initial Line-of-Sight (LOS) angle: θ0 = 30° = 6
radians
2π
– Target flight path angle: θT = 120° = 3
radians
• Speeds:
– Missile speed: VM = 800 m/s
– Target speed: VT = 400 m/s
• Simulation Parameters:
– Navigation Constant: N = 1
– Time increment: ∆t = 0.01 s
– Total simulation duration: T = 100 s
– Time array: t ∈ [0, T ] with step size ∆t
2. Initializing Variables:
R = R + VR · ∆t,
Vθ
θ̇ = ,
R
θ = θ + θ̇ · ∆t.
13
(c) Update the missile angle based on PN guidance:
2.2.4 Results
Fig 9 depicts a proportional navigation scenario where a missile (red path) intercepts a target
(blue path). The missile starts at the origin and continuously adjusts its trajectory to aim
directly at the moving target, which travels along a straight line. In this type of navigation,
the acceleration is perpendicular to the velocity vector.
In Fig 10, the decreasing lateral acceleration demonstrates that the missile makes sig-
nificant initial course corrections, which taper off as the missile nears the target and the
trajectory stabilizes.
14
Figure 10: Lateral Acceleration for Proportional Navigation
In Fig 11, the increasing flight path angle indicates that the missile gradually aligns its
heading with the target, reflecting the adaptive corrections prescribed by the PN law.
15
Figure 12: Range variation with time for Proportional Navigation
In Fig 12, the consistent reduction in the missile-target range reflects the effectiveness of
PN, where the missile adjusts its trajectory to minimize the relative distance to the target.
The missile intercepts the target in 29.8 seconds.
16
In Fig 13, this trajectory shows how PN maintains proportional corrections to ensure the
missile’s velocity vector converges toward the target’s position, minimizing miss distance.
aM = cθ̇, c>0
where aM is the missile lateral acceleration, θ̇ is the LOS angular rate, and c is a propor-
tionality constant.
For the target to be non-maneuvering with constant speed, the equations of motion are:
Ṙ = Vr = VT cos(αT − θ) − VM cos(αM − θ)
For Vr :
= θ̇Vθ
For Vθ :
= −θ̇Vr − aM
17
2.3.3 Key Relations
V̇ r = θ̇V θ
V̇θ = −θ̇Vr − aM
V̇θ = −θ̇(Vr + c)
On integration:
Vθ2 + Vr2 + 2cVr = k
Rearranging:
Vθ2 + (Vr + c)2 = k + c2
Alternatively:
√
|Vθ | < 2N − 1|Vr |
For the capture circle to exist, the navigation constant must satisfy:
1
N>
2
At interception, R = 0:
b R0 (Vr0 + 2c)
tf = − =− 2
k Vθ + Vr2 + 2cVr
18
2.3.7 Characteristics of TPN Guidance
• TPN is effective for non-maneuvering targets but struggles with maneuvering targets
or time-varying speeds.
The capture region shrinks with smaller N values and expands as N increases beyond 1.
2.3.9 Simulation
1. Initialization of Parameters
• Initial Conditions:
– Initial range between missile and target: R0 = 20, 000 m
π
– Initial Line-of-Sight (LOS) angle: θ0 = 30° = 6
radians
2π
– Target flight path angle: θT = 120° = 3
radians
• Speeds:
– Missile speed: VM = 800 m/s
– Target speed: VT = 400 m/s
• Simulation Parameters:
– Navigation Constant: N = 3
– Time increment: ∆t = 0.001 s
– Total simulation duration: T = 100 s
– Time array: t ∈ [0, T ] with step size ∆t
2. Initializing Variables:
19
• Current LOS angle: θ = θ0 = π
6
radians
• Missile flight angle: αM = θ0 = π
6
radians
• Missile initial position: (xM , yM ) = (0, 0)
• Target initial position:
3. Simulation Loop: The simulation loop iterates over the time vector. At each step:
(d) Missile Dynamics: Update the missile’s speed, heading, and position using:
Vm ← Vm + atangential · ∆t,
alateral
γ̇m = , γm ← γm + γ̇m · ∆t,
Vm
xm ← xm + Vm cos(γm ) · ∆t,
ym ← ym + Vm sin(γm ) · ∆t.
20
Figure 14: Interception Path for True Proportional Navigation
2.3.10 Results
Fig 14 compares the trajectories of the missile (red) and the target (blue). Both start at
distinct positions, with the missile initially behind the target. Under the TPN guidance law:
21
Figure 16: Flight path angle for True Proportional Navigation
Figure 17: Range variation with time for True Proportional Navigation
• The missile adjusts its path to intercept the target, leading to a curved trajectory.
• The intercept occurs as the missile accurately predicts and compensates for the target’s
22
Figure 18: Relative Velocity trajectory for True Proportional Navigation
motion.
Fig 15 shows the lateral acceleration of the missile over time. The lateral acceleration
starts at a high value of 50 m/s2 and gradually decreases to 0 m/s2 . This behavior is typical of
the True Proportional Navigation (TPN) guidance law, where the missile adjusts its lateral
acceleration to align with the target’s motion, reducing the acceleration as it converges
towards the target.
Fig 16 depicts the missile’s flight path angle (αM ) gradually increasing from 30° to
70°, showing how the missile adjusts its heading to achieve intercept.
Fig 17 shows the range between the missile and target decreasing linearly from 20
km to 0 km over 26.32 seconds, indicating effective closure rate control.
Fig 18 represents the relative velocity trajectory in Vθ (transverse) vs VR (radial)
space, with the diagonal line indicating coordinated changes in both velocity components to
maintain an optimal interception course.
23