Euler spiral


An Euler spiral is a curve whose curvature changes linearly with its curve length. Euler spirals are also commonly referred to as spiros, clothoids, or Cornu spirals.
Euler spirals have applications to diffraction computations. They are also widely used as transition curves in railroad engineering/highway engineering for connecting and transitioning the geometry between a tangent and a circular curve. A similar application is also found in photonic integrated circuits. The principle of linear variation of the curvature of the transition curve between a tangent and a circular curve defines the geometry of the Euler spiral:

Track transition curve

To travel along a circular path, an object needs to be subject to a centripetal acceleration. If a vehicle traveling on a straight path were to suddenly transition to a tangential circular path, it would require centripetal acceleration suddenly switching at the tangent point from zero to the required value; this would be difficult to achieve, putting mechanical stress on the vehicle's parts, and causing much discomfort.
On early railroads this instant application of lateral force was not an issue since low speeds and wide-radius curves were employed. As speeds of rail vehicles increased over the years, it became obvious that an easement is necessary, so that the centripetal acceleration increases linearly with the traveled distance. Given the expression of centripetal acceleration, the obvious solution is to provide an easement curve whose curvature,, increases linearly with the traveled distance. This geometry is an Euler spiral.
Unaware of the solution of the geometry by Leonhard Euler, Rankine cited the cubic curve, which is an approximation of the Euler spiral for small angular changes in the same way that a parabola is an approximation to a circular curve.
Marie Alfred Cornu also solved the calculus of the Euler spiral independently. Euler spirals are now widely used in rail and highway engineering for providing a transition or an easement between a tangent and a horizontal circular curve.

Optics

The Cornu spiral can be used to describe a diffraction pattern.
Consider a plane wave with phasor amplitude which is diffracted by a "knife edge" of height above on the plane. Then the diffracted wave field can be expressed as
,
where is the Fresnel integral function, which forms the Cornu spiral on the complex plane.
So, to simplify the calculation of plane wave attenuation as it is diffracted from the knife-edge, one can use the diagram of a Cornu spiral by representing the quantities as the physical distances between the points represented by and for appropriate and. This facilitates a rough computation of the attenuation of the plane wave by the knife-edge of height at a location beyond the knife edge.

Integrated optics

Bends with continuously varying radius of curvature following the Euler spiral are also used to reduce losses in photonic integrated circuits, either in singlemode waveguides, to smoothen the abrupt change of curvature and coupling to radiation modes, or in multimode waveguides, in order to suppress coupling to higher order modes and ensure effective singlemode operation.
A pioneering and very elegant application of the Euler spiral to waveguides had been made as early as 1957, with a hollow metal waveguide for microwaves. There the idea was to exploit the fact that a straight metal waveguide can be physically bent to naturally take a gradual bend shape resembling an Euler spiral.

Auto racing

Motorsport author Adam Brouillard has shown the Euler spiral's use in optimizing the racing line during the corner entry portion of a turn.

Typography and digital vector drawing

has released Spiro as a toolkit for curve design, especially font design, in 2007 under a free licence. This toolkit has been implemented quite quickly afterwards in the font design tool Fontforge and the digital vector drawing Inkscape.

Map projection

Cutting a sphere along a spiral with width and flattening out the resulting shape yields an Euler spiral when tends to the infinity. If the sphere is the globe, this produces a map projection whose distortion tends to zero as tends to the infinity.

Whisker shapes

Natural shapes of rat's mystacial pad vibrissae are well approximated by pieces of the Euler spiral. When all these pieces for a single rat are assembled together, they span an interval extending from one coiled domain of the Euler spiral to the other.

Formulation

Symbols

Derivation

The graph on the right illustrates an Euler spiral used as an easement curve between two given curves, in this case a straight line and a circle. The spiral starts at the origin in the positive x direction and gradually turns anticlockwise to osculate the circle.
The spiral is a small segment of the above double-end Euler spiral in the first quadrant.

Expansion of Fresnel integral

If a = 1, which is the case for normalized Euler curve, then the Cartesian coordinates are given by Fresnel integrals :

Normalization and conclusion

For a given Euler curve with:
or
then
where and .
The process of obtaining solution of of an Euler spiral can thus be described as:
  • Map L of the original Euler spiral by multiplying with factor a to L′ of the normalized Euler spiral;
  • Find from the Fresnel integrals; and
  • Map to by scaling up with factor. Note that.
In the normalization process,
Then
Generally the normalization reduces L' to a small value and results in good converging characteristics of the Fresnel integral manageable with only a few terms.

Illustration

Given:
Then
And
We scale down the Euler spiral by, i.e.100 to normalized Euler spiral that has:
And
The two angles are the same. This thus confirms that the original and normalized Euler spirals are geometrically similar. The locus of the normalized curve can be determined from Fresnel Integral, while the locus of the original Euler spiral can be obtained by scaling back / up or denormalizing.

Other properties of normalized Euler spirals

Normalized Euler spirals can be expressed as:
Or expressed as power series:
The normalized Euler spiral will converge to a single point in the limit, which can be expressed as:
Normalized Euler spirals have the following properties:
And
Note that also means, in agreement with the last mathematical statement.

Code for producing an Euler spiral

The following SageMath code produces the second graph above. The first four lines express the Euler spiral component. Fresnel functions could not be found. Instead, the integrals of two expanded Taylor series are adopted. The remaining code expresses respectively the tangent and the circle, including the computation for the center coordinates.

var
p = integral
q = integral
r1 = parametric_plot
r2 = line,
x1 = p.subs
y1 = q.subs
R = 0.5
x2 = x1 - R*sin
y2 = y1 + R*cos
r3 = circle
show

The following is Mathematica code for the Euler spiral component :

ParametricPlot

The following is Xcas code for the Euler spiral component:

plotparam

The following is SageMath code for the complete double ended Euler spiral:

s = var
parametric_plot, )

The following is JavaScript code for drawing an Euler spiral on a canvas element:

function drawEulerSpiral
drawEulerSpiral

The following is Logo code for drawing the Euler spiral using the turtle sprite.

rt 90
repeat 720

OWIKI.org. Text is available under the Creative Commons Attribution-ShareAlike License.