Skip to main content
Sandbox Physics

Curvature & Frenet Track Designer

What makes a path need normal acceleration? Normal acceleration is curvature times speed squared. At the same bend, doubling speed gives four times the acceleration.

Edit a path in three dimensions, follow its moving frame and lower the required guide load without changing the journey time.

Interactive modelCurvature & Frenet Track Designer
Speed1.89 m s−11.89\,\mathrm{m\,s^{-1}}
Tangential acceleration−0.529 m s−2-0.529\,\mathrm{m\,s^{-2}}
Normal acceleration1.39 m s−21.39\,\mathrm{m\,s^{-2}}
Osculating radius2.57 m2.57\,\mathrm{m}
Normal guide load / weight0.830.83

Separate turning from speeding up

BackgroundA point can accelerate even when its speed stays constant: its velocity changes direction in a bend. The tangent points along the motion, and the normal points toward the local centre of curvature.

Why it mattersChanging the path and changing the clock affect different parts of the motion. A guide must also resist gravity, so its normal load requires a separate force calculation.

Focus question
Which part of acceleration turns the motion, and what load must the guide supply?
One-sentence intuition
Curvature sets how sharply the path bends; speed sets how much normal acceleration that bend requires.

Core mathematical model

The path and its clock

c(q)=∑i=03(3i)(1−q)3−iqiPiq=u+ϵt2πsin⁡(2πu),u=t/Tv=cqq˙a=cqqq˙2+cqq¨\begin{aligned}\mathbf c(q)&=\sum_{i=0}^3\binom3i(1-q)^{3-i}q^i\mathbf P_i\\q&=u+\frac{\epsilon_t}{2\pi}\sin(2\pi u),\quad u=t/T\\\mathbf v&=\mathbf c_q\dot q\\\mathbf a&=\mathbf c_{qq}\dot q^2+\mathbf c_q\ddot q\end{aligned}

Four points determine the cubic path. The timing is monotone and can pause instantaneously; it is not uniform arc-length motion.

Curvature and acceleration components

κ=∥cq×cqq∥∥cq∥3,ρ=κ−1a=atT+anNat=d∥v∥dt,an=κ∥v∥2\begin{aligned}\kappa&=\frac{\lVert\mathbf c_q\times\mathbf c_{qq}\rVert}{\lVert\mathbf c_q\rVert^3},\quad \rho=\kappa^{-1}\\\mathbf a&=a_t\mathbf T+a_n\mathbf N\\a_t&=\frac{d\lVert\mathbf v\rVert}{dt},\quad a_n=\kappa\lVert\mathbf v\rVert^2\end{aligned}

The curve derivative must be nonzero for geometric curvature. The velocity-based frame also requires nonzero speed. A straight section has no preferred normal or finite osculating circle.

Required normal guide reaction

P⊥=I−TT⊤R⊥m=P⊥(a−g)Fdrivem=T⋅(a−g)\begin{aligned}\mathbf P_\perp&=\mathbf I-\mathbf T\mathbf T^\top\\\frac{\mathbf R_\perp}{m}&=\mathbf P_\perp(\mathbf a-\mathbf g)\\\frac{F_{\rm drive}}m&=\mathbf T\cdot(\mathbf a-\mathbf g)\end{aligned}

A bilateral guide supplies the force perpendicular to the geometric tangent; a separate drive supplies the tangent component. Adding both to gravity gives the required inertial acceleration.

Change the shape while retaining the end directions

P1=P0+λ1(P1,0−P0)P2=P3−λ2(P3−P2,0)J=max⁡u∈U∥R⊥(u)∥mg\begin{aligned}\mathbf P_1&=\mathbf P_0+\lambda_1(\mathbf P_{1,0}-\mathbf P_0)\\\mathbf P_2&=\mathbf P_3-\lambda_2(\mathbf P_3-\mathbf P_{2,0})\\J&=\max_{u\in\mathcal U}\frac{\lVert\mathbf R_\perp(u)\rVert}{mg}\end{aligned}

Positive handle factors keep both end-tangent directions. The search lowers a sampled guide-load peak at fixed timing, then checks a finer grid. The bounded search may not reach the target or find the global best path.

Estimate derivatives from saved positions

x(ti+τ)≃b0+b1τ+b2τ2v^i=b1,a^i=2b2\begin{aligned}\mathbf x(t_i+\tau)&\simeq\mathbf b_0+\mathbf b_1\tau+\mathbf b_2\tau^2\\\widehat{\mathbf v}_i&=\mathbf b_1,\quad\widehat{\mathbf a}_i=2\mathbf b_2\end{aligned}

A local least-squares fit receives only sampled positions and times. Its bias and noise are compared with a separate analytic reference.

Common difficulties

Guide reaction is not the net normal force

Typical misconceptionMultiplying normal acceleration by mass gives the guide load.

Better mental modelGravity can supply part of the normal acceleration. On a horizontal bend it is perpendicular to the turning acceleration; in a vertical bend it can help or oppose it. Use the guide-force view to add the actual force vectors.

Run the experiment

  1. 01

    Move the bend in space

    Drag a control point in Space, Plan and Height views. Switch between Acceleration and Moving basis.

    What to observe: The bead, frame and osculating arc follow the same edited curve. A gold tangential component changes speed; the blue normal component turns the velocity.
  2. 02

    Lower the guide-load peak

    Keep the default timing and select Optimize guide load. Compare the current and original path curves, then open Guide forces.

    What to observe: The internal control points move while endpoints and their tangent directions stay fixed. The load includes gravity, so lowering it can change the normal acceleration differently.
  3. 03

    Check a reconstruction

    Open the position reconstruction, change the noise and sample again. Then change the fitting window.

    What to observe: The fitting window reuses the same positions. Noise suppression competes with smoothing bias; a smooth estimate can still differ from the reference.
Model, numerical limits and sources

The motion is prescribed. Physical coordinates form a right-handed frame in metres: the first two coordinates are horizontal and the third is height. Positive polar angle is counterclockwise viewed from above. The scene rotates these same coordinates rigidly; it does not stretch the geometry. Supports, rail thickness, arm hardware and markers are schematic.

Each vector family uses one display gain throughout the full record. Large ranges reduce that shared gain to keep the vectors in frame. Directions, signs and head-to-tail sums are preserved. A short connector links the physical point to the raised vector origin. Basis arrows have a separate unit-direction display length.

Four control points define a cubic Bézier path. The outer two lie on the path; the inner two steer its end tangents. The dashed control polygon is an editor guide. Clock modulation is monotone, but it is not arc-length timing. Zero speed makes the velocity-based frame undefined; a stationary curve point also has no regular geometric tangent. Straight sections and inflections have no preferred Frenet normal.

The gold osculating arc lies in the local tangent-normal plane and keeps its actual radius. Very large radii and undefined frames omit the arc. Normal acceleration is a net kinematic quantity; the guide load also includes gravity.

Guide-force mode assumes a point mass, a bilateral guide that can push or pull, a separate tangential drive, and uniform gravity: g=9.81 m s−2g=9.81\,\mathrm{m\,s^{-2}}. The normal guide reaction is perpendicular to the geometric tangent. Vehicle attitude, one-sided contact loss, friction, rail deformation and passenger physiology are omitted. This inverse calculation gives the forces required for the prescribed motion; it is not a vehicle or comfort certification.

Shape optimization searches two positive end-handle length factors while keeping the endpoints, their tangent directions and the clock fixed. Control coordinates stay inside the editor box. A coarse search and local refinement minimize the sampled peak normal guide load, followed by an independent four-times-finer grid. The target may remain unreachable. This finite search proves neither a global optimum nor a continuous load bound.

Advanced retiming changes duration for a sampled normal-acceleration target while retaining the shape: Tnew=Tan,sampled/an,targetT_{\rm new}=T\sqrt{a_{n,\rm sampled}/a_{n,\rm target}}. Duration is rounded upward and clamped to the stated range; the sampled peak is checked again. Gravity-dependent guide load must be recalculated.

The default loads a simulated position record. Sampling measures position only at exact times, with bounded deterministic coordinate noise entered in millimetres. A nonuniform final interval is retained. Local quadratic fits use only the saved positions and times; endpoint fits are one-sided. Changing the fitting window keeps the raw record; changing motion or sensor parameters clears it until sampling again.

Larger fitting windows suppress noise but can bias changing motion. Polar fitting unwraps the nearest angular branch and omits the out-of-plane noise channel. It cannot recover missed full turns. Reference motion is used afterwards to calculate RMS errors. The CSV exports every acquired time and Cartesian position, without analytic derivatives or hidden turn counts.

Something broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy