3.5.52 · D1Guidance, Navigation & Control (GNC)

Foundations — Optimal guidance — ZEM - ZEV formulation

1,869 words8 min readBack to topic

Why this page exists

The parent note freely writes things like , , , and "Lagrange multipliers." If any of those look like magic runes to you, you cannot follow the derivation. So here we earn each symbol one at a time: plain words → a picture → why the topic needs it. Read top to bottom; each idea leans on the one above it.


1. Position, velocity, acceleration — the three moving arrows

Imagine a spacecraft as a single glowing dot in space. To describe where it is and how it moves we need three quantities. Because motion happens in more than one direction (up/down, left/right), each is an arrow — a vector — not just a number.

Figure — Optimal guidance — ZEM - ZEV formulation
  • — the position arrow: points from a chosen origin to where the vehicle is at time . Picture: the arrow tip sits on the dot.
  • — the velocity arrow: how fast and in which direction the position is changing. Picture: an arrow riding on the dot, pointing the way it's heading; longer arrow = faster.
  • — the acceleration arrow: how the velocity itself changes. This is our steering control — the thrust the engine commands. Picture: a push applied to the velocity arrow.

Why the topic needs these: guidance is the art of choosing so that and arrive where we want. You literally cannot state the problem without these three arrows.


2. Gravity — the free push we didn't ask for

is the gravitational acceleration arrow: a constant pull the vehicle feels whether or not the engine fires. On the Moon its length is pointing down; on Earth .


3. Time symbols: , , and

Three moments matter:

  • now, the current instant.
  • — the final time, the deadline when we must have arrived (landing touchdown, intercept moment).
  • — the time-to-go, how many seconds are left:
Figure — Optimal guidance — ZEM - ZEV formulation

Why the topic needs it: every coefficient in the guidance law (, ) is written in , and the dramatic "commands blow up as " behaviour is entirely about this shrinking clock.


4. "Coasting" and the double integrator — free-fall prediction

If we coast, the standard schoolbook motion formulas apply. These come from integrating twice — a system called the double integrator (velocity is one integral of accel, position is two). See Double Integrator Dynamics.

Why the topic needs it: ZEM and ZEV are defined entirely from the coast prediction. No coast → no ZEM/ZEV.


5. ZEM and ZEV — the two "if I do nothing" errors

Now the star symbols. We want to end at target position and (for soft landing) target velocity . Compare wanted with predicted-if-coasting:

Figure — Optimal guidance — ZEM - ZEV formulation

Substituting the coast formulas gives the parent's boxed expressions:

Why the topic needs them: the entire guidance law is . These two arrows are the inputs.


6. The integral sign and the cost

The guidance is optimal because it minimizes control effort:

Why the topic needs it: without a cost to minimize there are infinitely many ways to hit the target. is what makes one answer the answer.


7. The lever-arm weight

In the parent's Step 1, position gets a weighted integral . Why the weight?

Figure — Optimal guidance — ZEM - ZEV formulation

Why the topic needs it: this weight is why the position constraint is while velocity is the plain .


8. Lagrange multipliers

The heavier machinery behind this — that a quadratic cost forces the optimal to be a straight line in time — comes from Calculus of Variations & Pontryagin's Minimum Principle. You do not need to master it to use ZEM/ZEV; you only need to trust that it hands you the profile .

Why the topic needs it: the multipliers are the bridge from "minimize " to the clean system whose solution gives the coefficients and .


9. The dot product

The Lagrangian in the parent uses .


Prerequisite map

Vectors r v a

Double integrator dynamics

Gravity g constant push

Time symbols t tf tgo

Coast prediction

ZEM and ZEV errors

Integral and cost J

Minimize effort

Lever arm weight tf minus tau

Lagrange multipliers

Dot product

ZEM ZEV guidance law

Proportional Navigation N equals 3


Equipment checklist

Cover the right side and test yourself.

What does a bold symbol like mean, versus ?
is an arrow (magnitude + direction); is just its length, a plain number.
What does a dot over a symbol () denote?
The rate of change per second; is acceleration.
Why is gravity kept separate from the control ?
is what we command; is a known external pull we plan around, not choose.
Define in words.
The time-to-go, , a countdown clock shrinking to zero at the deadline.
What does "coast" mean and what formulas govern it?
Set ; then and .
State ZEM and ZEV in one line each.
ZEM = target position minus coasting final position; ZEV = target velocity minus coasting final velocity.
What does represent geometrically?
The area under over the time interval — a running total.
Why do we minimize specifically?
It measures total control effort; squaring punishes big thrusts and yields a unique gentlest solution.
Why does the position integral carry the weight ?
Early thrust has more time to accumulate into distance; the weight is its remaining leverage.
What job do the Lagrange multipliers do?
They enforce the two constraints (hit ZEM and ZEV) while minimizing effort, producing the linear-in-time optimal .