next up previous contents index
Next: 7.5 Notes and references Up: 7.4 Maximum principle for Previous: 7.4.2 Hybrid maximum principle   Contents   Index


7.4.3 Example: light reflection

To illustrate the hybrid maximum principle, we apply it to the familiar light reflection example from Section 2.1.2. We model the propagation of a light ray through the $ n$ -dimensional space via the control system

$\displaystyle \dot x=c(x)u,\qquad \vert u\vert=1$ (7.38)

where $ x\in\mathbb{R}^n$ , $ c:\mathbb{R}^n\to(0,\infty)$ is a $ \mathcal C^1$ function that determines the (varying) speed of light, and $ u$ taking values on the unit sphere in $ \mathbb{R}^n$ defines the direction of motion. We assume that the reflecting surface is a hyperplane, and without loss of generality we take it to be $ S:=\{x: x_n=0\}$ . The initial point and the final point are assumed to lie in the same open half-space relative to $ S$ .

We seek to derive a necessary condition for a trajectory $ x^*$ that starts at a given initial point $ x_0$ at time $ t_0$ , gets reflected off $ S$ at some time $ t_1$ , and arrives at a given final point $ x_f$ at time $ t_f$ to be locally time-optimal with respect to trajectories that hit $ S$ at nearby points. This optimal control problem is not inherently hybrid, since (7.38) is a standard control system and it is capable of producing reflected trajectories. However, the classical formulation of the maximum principle does not allow us to incorporate the fact that we are only interested in trajectories that hit $ S$ along the way. With the hybrid formulation, it is easy to do so by considering a hybrid system with a single discrete state location $ q$ (i.e., $ Q=\{q\}$ ) and the guard $ S_{q,q}:=\Big\{\Big({\textstyle{x}\atop
\textstyle{x'}}\Big):x=x'\in S\Big\}$ . In this hybrid system, discrete transitions occur when the trajectory hits $ S$ , but the underlying control system (7.38) does not change and the trajectory remains continuous. The switching sequence associated with our candidate optimal trajectory $ x^*$ is $ \{q,q\}$ , and the hybrid maximum principle captures local optimality over nearby trajectories with the same switching sequence--which is precisely what we want.

Applying the hybrid maximum principle to this problem entails just a few straightforward computations. The Hamiltonian is $ H=\langle p,c(x)u\rangle +p_0$ . The Hamiltonian maximization condition gives $ u^*=p^*/\vert p^*\vert$ and $ \left.H\right\vert _{*}=c(x^*)\vert p^*\vert+p_0^*$ . Since the final time is free, we have $ \left .H\right \vert _{*}\equiv 0$ which in view of the nontriviality condition implies that $ p_0^*\ne 0$ and $ p^*(t)\ne 0$ for all $ t$ . Normalizing them so that $ p_0^*=-1$ , we obtain $ c(x^*)\vert p^*\vert\equiv 1$ hence $ u^*=p^* c(x^*)$ . Both the costate $ p^*$ and the optimal control $ u^*$ are continuous except possibly at the switching time $ t_1$ . Since there is no switching cost, the switching condition tells us that the vector $ \Big({\textstyle{-p^*(t_1^-)}\atop
\textstyle{p^*(t_1^+)}}\Big)$ must be orthogonal to the tangent space to $ S_{q,q}$ at $ \Big({\textstyle{x^*(t_1)}\atop
\textstyle{x^*(t_1)}}\Big)$ . This tangent space is $ S_{q,q}$ itself, and vectors in it have the form $ (x_1,\dots,x_{n-1},0,x_1,\dots,x_{n-1},0)^T$ . It follows that $ p^*_i(t_1^+)=p^*_i(t_1^-)$ for $ i=1,\dots,n-1$ ; in other words, $ p^*_1,\dots,p^*_{n-1}$ are continuous at $ t_1$ , hence so are $ u^*_1,\dots,u^*_{n-1}$ . Only the last component of $ u^*$ can be discontinuous at $ t_1$ . But since $ \vert u^*\vert=\sqrt{(u_1^*)^2+\dots+(u_n^*)^2}$ is to remain equal to 1, it must be that $ u^*_n(t_1^+)=\pm u^*_n(t_1^-)$ , i.e., $ u^*_n$ either stays continuous or flips its sign at $ t_1$ . Of these two options, only the latter is possible because the light ray cannot pass through $ S$ . We conclude that the velocity vectors before and after the reflection differ only in the component orthogonal to the reflection surface, and the difference is only in the minus sign. We have of course recovered the well-known law of reflection.


next up previous contents index
Next: 7.5 Notes and references Up: 7.4 Maximum principle for Previous: 7.4.2 Hybrid maximum principle   Contents   Index
Daniel 2010-12-20