Brachistochrone: Difference between revisions
RobertLampel (talk | contribs) |
RobertLampel (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 5: | Line 5: | ||
}} | }} | ||
The '''brachistochrone problem''' (from Greek ''brachístos chrónos'', "shortest time") is one of the founding problems of the calculus of variations, and serves as a classical benchmark in optimal control | The '''brachistochrone problem''' (from Greek ''brachístos chrónos'', "shortest time") is one of the founding problems of the calculus of variations, and serves as a classical benchmark in optimal control. | ||
First posed by Johann Bernoulli in 1696 as a public challenge, the problem asks for the shape of a frictionless curve connecting two fixed points in a vertical plane such that a particle released from rest at the upper point reaches the lower point in minimum time under gravity. | First posed by Johann Bernoulli in 1696 as a public challenge, the problem asks for the shape of a frictionless curve connecting two fixed points in a vertical plane such that a particle released from rest at the upper point reaches the lower point in minimum time under gravity. | ||
As an optimal control problem, the system state consists of the horizontal position, vertical position, and speed of the particle, while the control is the instantaneous angle of the velocity vector | As an optimal control problem, the system state consists of the horizontal position, the downward vertical position, and the speed of the particle, while the control is the instantaneous angle of the velocity vector measured below the horizontal. | ||
The terminal time is free and is the quantity to be minimised. | The terminal time is free and is the quantity to be minimised; it is handled by augmenting it as a global time-scaling variable and optimising over a normalised unit horizon. | ||
The analytical solution is a cycloid, obtainable through Pontryagin's minimum principle or the classical Euler–Lagrange equations. | The analytical solution is a cycloid, obtainable through Pontryagin's minimum principle or the classical Euler–Lagrange equations. | ||
| Line 16: | Line 16: | ||
<math> | <math> | ||
\begin{array}{lll} | \begin{array}{lll} | ||
\displaystyle \min_{ | \displaystyle \min_{\theta,\, t_\mathrm{f}} && t_\mathrm{f} \\[6pt] | ||
\text{subject to} \\ | \text{subject to} \\ | ||
\quad \dot{x} | \quad \dot{x}(t) &=& v(t)\,\cos(\theta(t)), \\ | ||
\quad \dot{ | \quad \dot{y}(t) &=& v(t)\,\sin(\theta(t)), \\ | ||
\quad \dot{ | \quad \dot{v}(t) &=& g\,\sin(\theta(t)), \\ | ||
\quad x(0) &=& (0,\; 0,\; 0) | \quad (x(0),\, y(0),\, v(0)) &=& (0,\; 0,\; 0), \\ | ||
\quad | \quad x(t_\mathrm{f}) &=& x_\mathrm{f}, \\ | ||
\quad | \quad y(t_\mathrm{f}) &=& y_\mathrm{f}, \\ | ||
\quad | \quad \theta(t) &\in& [0,\, \pi] \quad \forall\, t \in [0, t_\mathrm{f}], | ||
\end{array} | \end{array} | ||
</math> | </math> | ||
</p> | </p> | ||
where <math> | where <math>x(t)</math> is the horizontal position (m), <math>y(t)</math> is the downward vertical position (m, positive downward), and <math>v(t)</math> is the speed of the particle (m/s). | ||
The speed dynamics | The control <math>\theta(t) \in [0, \pi]</math> is the angle of the velocity vector below the horizontal: <math>\theta = 0</math> corresponds to purely horizontal motion and <math>\theta = \pi/2</math> to straight downward motion. | ||
The speed dynamics <math>\dot{v} = g\sin\theta</math> follow from the component of gravitational acceleration along the direction of motion. | |||
Since <math>v(0) = 0</math>, the particle starts from rest. | |||
The constraint <math>\theta \in [0, \pi]</math> restricts the particle to descent arcs (no upward motion). | |||
== Parameters == | == Parameters == | ||
| Line 40: | Line 42: | ||
! Symbol !! Value !! Description | ! Symbol !! Value !! Description | ||
|- | |- | ||
| align=center | <math>g</math> || align=right | 9.81 || Gravitational acceleration (m s<sup>−2</sup>) | | align=center | <math>g</math> || align=right | 9.81 || Gravitational acceleration (m s<sup>−2</sup>) | ||
|- | |- | ||
| align=center | <math>x_ | | align=center | <math>x_\mathrm{f}</math> || align=right | 1.0 || Target horizontal position (m) | ||
|- | |- | ||
| align=center | <math> | | align=center | <math>y_\mathrm{f}</math> || align=right | 0.5 || Target downward vertical position (m) | ||
|} | |} | ||
| Line 52: | Line 54: | ||
<gallery caption="Reference solution plots" widths="500px" heights="300px" perrow="1"> | <gallery caption="Reference solution plots" widths="500px" heights="300px" perrow="1"> | ||
Image: Brachistochrone.png | Optimal trajectory and control for the brachistochrone problem (cycloid solution). | Image:Brachistochrone.png| Optimal trajectory and control for the brachistochrone problem (cycloid solution). | ||
</gallery> | </gallery> | ||
| Line 58: | Line 60: | ||
The analytical solution is a cycloid: the locus traced by a point on the rim of a circle rolling along a flat surface. | The analytical solution is a cycloid: the locus traced by a point on the rim of a circle rolling along a flat surface. | ||
It can be parametrised as | It can be parametrised as | ||
<math> | <math>x(\phi) = r(\phi - \sin\phi)</math>, <math>y(\phi) = r(1 - \cos\phi)</math>, | ||
where the radius <math>r</math> is determined by the boundary conditions. | where the radius <math>r</math> is determined by the boundary conditions. | ||
The brachistochrone problem is a standard example in textbooks on optimal control and the calculus of variations, and is used as a test case for direct transcription methods due to its free terminal time and the mild singularity at <math>t = 0</math> where the speed vanishes. | The brachistochrone problem is a standard example in textbooks on optimal control and the calculus of variations, and is used as a test case for direct transcription methods due to its free terminal time and the mild singularity at <math>t = 0</math> where the speed vanishes. | ||
A detailed formulation and further discussion can be found in [[#Bryson|[1]]]. | |||
== References == | == References == | ||
<span id=" | <span id="Bryson">[1]</span> Bryson, A. E., & Ho, Y.-C. (1975). <i>Applied Optimal Control: Optimization, Estimation, and Control</i>. Taylor & Francis.<br> | ||
[[Category:MIOCP]] | |||
[[Category:ODE model]] | [[Category:ODE model]] | ||
[[Category:Free terminal time]] | [[Category:Free terminal time]] | ||
Latest revision as of 11:27, 4 September 2026
| Brachistochrone | |
|---|---|
| State dimension: | 1 |
| Differential states: | 3 |
| Discrete control functions: | 1 |
The brachistochrone problem (from Greek brachístos chrónos, "shortest time") is one of the founding problems of the calculus of variations, and serves as a classical benchmark in optimal control.
First posed by Johann Bernoulli in 1696 as a public challenge, the problem asks for the shape of a frictionless curve connecting two fixed points in a vertical plane such that a particle released from rest at the upper point reaches the lower point in minimum time under gravity. As an optimal control problem, the system state consists of the horizontal position, the downward vertical position, and the speed of the particle, while the control is the instantaneous angle of the velocity vector measured below the horizontal. The terminal time is free and is the quantity to be minimised; it is handled by augmenting it as a global time-scaling variable and optimising over a normalised unit horizon. The analytical solution is a cycloid, obtainable through Pontryagin's minimum principle or the classical Euler–Lagrange equations.
Mathematical formulation
where is the horizontal position (m), is the downward vertical position (m, positive downward), and is the speed of the particle (m/s). The control is the angle of the velocity vector below the horizontal: corresponds to purely horizontal motion and to straight downward motion. The speed dynamics follow from the component of gravitational acceleration along the direction of motion. Since , the particle starts from rest. The constraint restricts the particle to descent arcs (no upward motion).
Parameters
These fixed values are used within the model:
| Symbol | Value | Description |
|---|---|---|
| 9.81 | Gravitational acceleration (m s−2) | |
| 1.0 | Target horizontal position (m) | |
| 0.5 | Target downward vertical position (m) |
Reference Solutions
Here is one local solution to the above control problem.
- Reference solution plots
-
Optimal trajectory and control for the brachistochrone problem (cycloid solution).
Miscellaneous and Further Reading
The analytical solution is a cycloid: the locus traced by a point on the rim of a circle rolling along a flat surface. It can be parametrised as , , where the radius is determined by the boundary conditions. The brachistochrone problem is a standard example in textbooks on optimal control and the calculus of variations, and is used as a test case for direct transcription methods due to its free terminal time and the mild singularity at where the speed vanishes. A detailed formulation and further discussion can be found in [1].
References
[1] Bryson, A. E., & Ho, Y.-C. (1975). Applied Optimal Control: Optimization, Estimation, and Control. Taylor & Francis.