Integrate the true dynamics from now (t) to tf. Why? We need the actual endpoint as a function of the unknown a(τ).
v(tf)=coast partv+gtgo+∫ttfa(τ)dτ.
Position needs a double integral; integrating by parts,
r(tf)=coast partr+vtgo+21gtgo2+∫ttf(tf−τ)a(τ)dτ.
Why the (tf−τ) weight? Because acceleration applied early has more time to move the position — it accumulates through two integrations, leaving a lever-arm (tf−τ).
Minimize J=21∫∥a∥2dτ with two vector constraints. Introduce constant Lagrange multipliers λ1,λ2:
L=∫ttf[21∥a∥2−λ1⋅(tf−τ)a−λ2⋅a]dτ.
Pointwise stationarity ∂L/∂a=0 gives the optimal linear-in-time profile:
a∗(τ)=λ1(tf−τ)+λ2.Why linear? The calculus of variations for a quadratic cost with these constraints forces the control to be an affine function of remaining time — the optimal profile is never "wild."
Plug a∗ back into the two constraints. Let s=tf−τ, so ds=−dτ, s:tgo→0:
∫0tgos(λ1s+λ2)ds=λ13tgo3+λ22tgo2=ZEM,∫0tgo(λ1s+λ2)ds=λ12tgo2+λ2tgo=ZEV.
Solve this 2×2 system for λ1,λ2, then the command applied NOW is a∗(t)=λ1tgo+λ2. Doing the algebra:
Why 6 and 2? Solving the 2×2: λ2=(6ZEM−4tgoZEV)/tgo2 etc.; combining gives coefficients 6/tgo2 and 2/tgo. The signs differ because ZEM (position error) and ZEV (velocity error) must be corrected with opposite-tendency accelerations near the end.
As tgo→0, 1/tgo2→∞. What this means physically: if you still have a miss with almost no time left, you need enormous acceleration to fix it — real thrusters saturate, so a good guidance system drives ZEM→0 early so the command stays bounded. This is why ZEM/ZEV is run as continuous feedback: each cycle recomputes ZEM/ZEV, so tiny residuals are killed while tgo is still large.
Why is the optimal acceleration profile linear in time?
Where do 6 and 2 come from?
What is the interception (PN) special case?
What happens to the command as tgo→0, and why do we run it as feedback?
What is ZEM (Zero-Effort-Miss)?
The position error at the final time if control is set to zero and the vehicle coasts under gravity only: rf−r−vtgo−21gtgo2.
What is ZEV (Zero-Effort-Velocity)?
The final-time velocity error if you coast with zero control: vf−v−gtgo.
Full ZEM/ZEV optimal guidance law (position+velocity)?
ac=tgo26ZEM−tgo2ZEV.
Position-only (interception) guidance law?
ac=tgo23ZEM, equivalent to Proportional Navigation with N=3.
Why is the optimal command profile linear in tgo?
Minimizing ∫∥a∥2 with two integral (moment) constraints via calculus of variations forces a∗(τ)=λ1(tf−τ)+λ2, an affine function of remaining time.
Why does the position term carry a (tf−τ) weight?
Because acceleration is double-integrated to affect position, giving a lever-arm equal to the remaining time.
Why do the coefficients blow up as tgo→0?
1/tgo2→∞: a residual miss with no time left needs infinite accel; run as feedback so ZEM/ZEV are killed early while tgo is large.
What cost functional does ZEM/ZEV minimize?
Control effort J=21∫ttf∥a∥2dτ (fuel/energy proxy).
Recall Feynman: explain to a 12-year-old
Imagine you're throwing a paper ball into a bin while walking. Every moment you ask: "If I let go RIGHT NOW, where would it land and how fast would it hit?" If it would land too far left, you nudge your throw right. If it would land too fast for a gentle drop, you ease off. ZEM is "how far off you'd land," ZEV is "how wrong your landing speed would be." The math just says: nudge harder when there's less time left, and balance fixing where you land against how gently.
Dekho, ZEM/ZEV guidance ka core idea bahut seedha hai. Har instant pe aap ek prediction karte ho:
"Agar main abhi steering (thrust) band kar du aur sirf gravity ke saath coast karu, toh final time pe
main kitna miss karunga?" Position wala miss = ZEM (Zero-Effort-Miss), aur velocity wala error =
ZEV (Zero-Effort-Velocity). Bas inhi do errors ko dekh kar aap acceleration command bana lete ho.
Jo formula aata hai woh hai ac=tgo26ZEM−tgo2ZEV. Yaha
tgo matlab time-to-go (kitna time bacha hai). "6 to place, 2 to pace" yaad rakho — 6 wala term
position sahi karta hai, 2 wala term speed sahi karta hai, aur unke signs opposite hote hain kyunki
end ke paas dono ko balance karna padta hai. Agar sirf target ko hit karna hai (rocket interception),
velocity match nahi chahiye, toh sirf ac=tgo23ZEM — yahi classic Proportional
Nav