Frenet Arc-Length Conversion
An interactive examination of how closely the oriented arc-length increment of a vehicle trajectory matches the reference-path arc-length increment under different vehicle states.
On this page
Conversion relationship
Starting from the Frenet representation of vehicle position and the vehicle-heading unit vector, “Frenet Vehicle Kinematics” derives the local relationship between reference-path arc length and the oriented arc length of the vehicle trajectory in Equation (3):
The interactive figures below vary the heading error , lateral deviation , and reference curvature separately and jointly to show how changes.
Here, is the reference-path arc-length coordinate of the vehicle’s nearest projection point; is the oriented arc-length coordinate of the vehicle rear-axle-center trajectory, positive in the vehicle-heading direction; is the signed lateral deviation measured from the projection point along the left unit normal of the reference path, positive to the left and negative to the right; is the heading error between the vehicle heading and the reference-path tangent at the projection point, positive counterclockwise; and is the signed curvature of the reference path at the projection point, positive for a left turn and negative for a right turn.
Using the interactive figures
Each relationship curve or surface shares one parameter set with the local Frenet geometry on its right. Move the pointer over a sampled point on a curve or a grid point on a surface to update the geometry immediately; on a touch device, tap a data point to select it.
All local arc-length conversion plots use the same visual notation: blue curves or gradient surfaces represent ; purple dotted lines or translucent planes represent ; orange dashed lines mark ; and red boundary lines mark . The later plots of retain the blue relationship curve, purple unit reference line, and red degeneracy boundary. In the geometry view, increasing defines the positive direction of the reference path, lateral deviation is positive to the left, and counterclockwise rotation of the vehicle heading from the reference-path tangent is positive.
The geometry view treats the current projection point as its local origin. A line segment of fixed length represents the oriented vehicle-trajectory arc-length increment, while determines the magnitude and direction of the corresponding reference-path arc-length increment. When , the highlighted arc extends backward from the current projection point. The reference curve represents only the local curvature at that point. When and , the complete highlighted arc is drawn. Only after the arc exceeds one sixth of a circle is it truncated, with an ellipsis shown in the correct direction; the osculating circle is not treated as the entire reference path and used to search for another projection point. When , no finite exists and none is drawn.
The single-value sliders under “Experimental conditions” fix variables that are not represented by the current plot axes. The range sliders under “Plot window” change only the displayed coordinate or analysis range; they do not alter the mathematical relationship. Expand “Advanced range settings” to explore beyond the default limits. “Reset” restores all initial parameters and display ranges for the current experiment.
Effect of one variable on the local arc-length conversion relationship
Nonlinear variation caused by heading error
This interactive figure requires JavaScript. The article text and figure caption remain available.
Figure 1. With fixed, varies nonlinearly with heading error through . The purple dotted line marks . When the horizontal range is extended to , the orange dashed lines mark , where the curve is interrupted. If , diverges near this boundary.
Linear variation caused by lateral deviation
This interactive figure requires JavaScript. The article text and figure caption remain available.
Figure 2. With fixed, varies linearly with lateral deviation . When and the signed radius of curvature lies within the horizontal range, the red dashed line marks . At this position, and the differential of the normal-coordinate map is degenerate; it must not be interpreted as in a valid Frenet coordinate state.
Linear variation caused by reference curvature
This interactive figure requires JavaScript. The article text and figure caption remain available.
Figure 3. With fixed, varies linearly with reference curvature . When and lies within the horizontal range, the red dashed line marks , the degeneracy boundary of the normal-coordinate map .
Local arc-length conversion with two varying factors
Combined effect of heading error and lateral deviation
This interactive figure requires JavaScript. The article text and figure caption remain available.
Figure 4. The independent variables are and the surface height is ; reference curvature is set by the “Experimental conditions” slider. The translucent purple plane represents . At , the arc-length-domain parameterization fails. When , is the degeneracy boundary of the normal-coordinate map.
Combined effect of heading error and reference curvature
This interactive figure requires JavaScript. The article text and figure caption remain available.
Figure 5. The independent variables are and the surface height is ; lateral deviation is set by the “Experimental conditions” slider. Heading error produces the nonlinear factor . When , is the degeneracy boundary of the normal-coordinate map.
Combined effect of lateral deviation and reference curvature
This interactive figure requires JavaScript. The article text and figure caption remain available.
Figure 6. The independent variables are and the surface height is ; heading error is set by the “Experimental conditions” slider. The intersection between the surface and the zero plane satisfies . This intersection is the degeneracy boundary of the normal-coordinate map and must not be interpreted as in a valid Frenet coordinate state.
Effect of the relationship between lateral deviation and curvature radius at the projection point
The term is the part of the local arc-length conversion relationship
that is jointly determined by the lateral deviation and the reference curvature at the projection point. Within the domain where this relationship applies, once the heading error is fixed, the complete influence of and on is expressed through this factor.
Only the local relationship at the current projection point is considered below. Let the reference-path arc-length coordinate of this point be , and abbreviate . For , define
is the radius of curvature of the osculating circle at the projection point, while is the signed coordinate of its center measured along the left unit normal. The center of curvature is located at , and
The factor is therefore determined by the position of the vehicle’s lateral deviation relative to the normal coordinate of the center of curvature:
- : the vehicle and the center of curvature lie on opposite sides of the reference path, so ;
- : the vehicle lies between the reference path and the center of curvature, so ;
- : the vehicle position coincides with the center of curvature at the current projection point, so ;
- : the vehicle lies beyond the center of curvature, so .
The center of curvature here describes only the second-order local geometry of the reference path at the current projection point; it does not imply that the reference path itself is a circular arc. The relationship between and the nearest projection can be established directly from the distance between the vehicle and the reference path.
Fix the vehicle position , and let a candidate point move along the reference path, where is the candidate point’s arc-length coordinate and is the particular coordinate of the current perpendicular foot. Define
is one half of the squared distance from the vehicle to the candidate point. The constant does not change the extrema; it only simplifies differentiation. Because the reference path is parameterized by arc length,
Keeping fixed, differentiate with respect to the candidate coordinate :
At the current perpendicular foot , the vehicle position satisfies
Because , substituting into the first derivative gives
This establishes only that is a stationary point of the distance function. To determine whether it is a local minimum or a local maximum, differentiate again:
Finally, at , substitute , , and :
The term comes from the unit tangent length , while comes from the curvature-induced rotation of the reference-path tangent. Consequently, if , is a strict local minimum of the distance function. If , is a strict local maximum and cannot be the vehicle’s nearest projection point. If , the second-derivative test is inconclusive: whether the point remains a local minimum and whether the projection is unique cannot be determined from and at that point alone. Even when , it guarantees only a local minimum; global uniqueness of the nearest projection still depends on the geometry of the complete reference path.
Positive curvature: center of curvature to the left of the reference path
When , and the center of curvature lies on the left-unit-normal side. As the vehicle moves leftward from the reference path toward the center of curvature, increases from to and decreases linearly from to . When the vehicle is on the right side of the reference path, and the factor is greater than . When , the factor is negative, so the current reference point cannot be the vehicle’s nearest projection. This region therefore does not belong to a Frenet coordinate state constructed from that point as the nearest projection.
Figure 7 fixes a positive reference curvature and varies lateral deviation to compare directly with the current curvature radius. Figure 8 fixes lateral deviation and varies positive reference curvature to show how the same relationship changes as the radius and center of curvature move.
This interactive figure requires JavaScript. The article text and figure caption remain available.
Figure 7. When , the signed normal coordinate of the center of curvature is . The red dashed line marks , and the grid in the right-hand local geometry extends at least to this center of curvature. Adjust “Reference curvature” to observe the resulting changes in the curvature radius, center position, and .
This interactive figure requires JavaScript. The article text and figure caption remain available.
Figure 8. Lateral deviation is set by the “Experimental conditions” slider, and positive reference curvature is on the horizontal axis. varies linearly with . If and lies within the current horizontal range, the red dashed line marks where the vehicle position coincides with the center of curvature. Adjust to observe whether this point lies in the positive-curvature range and how it moves with lateral deviation.
Negative curvature: center of curvature to the right of the reference path
When , and the center of curvature lies on the right-unit-normal side. As the vehicle moves rightward from the reference path toward the center of curvature, decreases from to and likewise decreases linearly from to . When the vehicle is on the left side of the reference path, and the factor is greater than . When , the factor is negative, so the current reference point likewise cannot be the vehicle’s nearest projection. This region therefore does not belong to a Frenet coordinate state constructed from that point as the nearest projection.
Figure 9 fixes a negative reference curvature and varies lateral deviation; Figure 10 fixes lateral deviation and varies negative reference curvature. The two figures examine the same relationship as the positive-curvature experiments, but with the center of curvature on the right side of the reference path.
This interactive figure requires JavaScript. The article text and figure caption remain available.
Figure 9. When , the signed normal coordinate of the center of curvature is . The red dashed line marks , and the grid in the right-hand local geometry extends at least to this center of curvature. The variation is the same as in Figure 7, except that the center of curvature and the corresponding lateral deviation lie to the right of the reference path.
This interactive figure requires JavaScript. The article text and figure caption remain available.
Figure 10. Lateral deviation is set by the “Experimental conditions” slider, and negative reference curvature is on the horizontal axis. varies linearly with . If and lies within the current horizontal range, the red dashed line marks where the vehicle position coincides with the center of curvature. This figure differs from Figure 8 only in the signs of the reference curvature, center-of-curvature direction, and corresponding lateral deviation.
When , the curvature radius at the projection point is infinite, no finite center of curvature exists, and for every . Lateral deviation then has no effect on this part of the local arc-length conversion relationship, so no separate plot is needed.
Sources and further reading
- Frenet Vehicle Kinematics: the full derivation of the conversion relationship, definitions of its variables, nearest-projection conditions, and references.
- Planar Frenet Frame: the unit tangent, left unit normal, and signed-curvature conventions used here.