Exact isoholonomic motion of the planar Purcell's swimmer
Sudin Kadam, Karmvir Singh Phogat, Ravi N. Banavar, Debasish, Chatterjee

TL;DR
This paper formulates and solves the exact isoholonomic motion planning problem for the planar Purcell's swimmer using a structure-preserving discrete model and the Discrete Pontryagin maximum principle, demonstrating effective numerical solutions.
Contribution
It introduces a discrete-time, structure-preserving model for the Purcell's swimmer and applies the Discrete Pontryagin maximum principle to solve the isoholonomic motion planning problem.
Findings
Successful formulation of the discrete isoholonomic problem.
Derivation of necessary optimality conditions as a boundary value problem.
Numerical experiments demonstrating the effectiveness of the approach.
Abstract
In this article we present the discrete-time isoholonomic problem of the planar Purcell's swimmer and solve it using the Discrete-time Pontryagin maximum principle. The 3-link Purcell's swimmer is a locomotion system moving in a low Reynolds number environment. The kinematics of the system evolves on a principal fiber bundle. A structure preserving discrete-time kinematic model of the system is obtained in terms of the local form of a discrete connection. An adapted version of the Discrete Maximum Principle on matrix Lie groups is then employed to come up with the necessary optimality conditions for an optimal state transfer while minimizing the control effort. These necessary conditions appear as a two-point boundary value problem and are solved using a numerical technique. Results from numerical experiments are presented to illustrate the algorithm.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Exact isoholonomic motion of the planar Purcell’s swimmer
Sudin Kadam
Systems and Control Engineering Department, Indian Institute of Technology Bombay, Mumbai, India
,
Karmvir Singh Phogat
Systems and Control Engineering Department, Indian Institute of Technology Bombay, Mumbai, India Electrical Engineering, Korea Advanced Institute of Science and Technology, Daejeon, South Korea [email protected]
,
Ravi N. Banavar
Systems and Control Engineering Department, Indian Institute of Technology Bombay, Mumbai, India
and
Debasish Chatterjee
Systems and Control Engineering Department, Indian Institute of Technology Bombay, Mumbai, India
Abstract.
In this article we present the discrete-time isoholonomic problem of the planar Purcell’s swimmer and solve it using the Discrete-time Pontryagin maximum principle. The 3-link Purcell’s swimmer is a locomotion system moving in a low Reynolds number environment. The kinematics of the system evolves on a principal fiber bundle. A structure preserving discrete-time kinematic model of the system is obtained in terms of the local form of a discrete connection. An adapted version of the Discrete Maximum Principle on matrix Lie groups is then employed to come up with the necessary optimality conditions for an optimal state transfer while minimizing the control effort. These necessary conditions appear as a two-point boundary value problem and are solved using a numerical technique. Results from numerical experiments are presented to illustrate the algorithm.
Key words and phrases:
low Reynolds number swimming; discrete optimal control; principal fiber bundle; Purcell’s swimmer.
1. INTRODUCTION
In the microscopic world of biological systems where inertia is negligible, viscosity dominates motion. This effect is observed in the very low Reynolds numbers regime, in which the viscous forces far dominate the inertial forces in such biological systems. This effectively implies that the mechanism comes to a complete halt as soon as the propulsion through changes in the shape of the biological system is stopped. A vast majority of living organisms are found to perform motion at microscopic scales at such low Reynolds number conditions. From the modelling and mathematical perspective, for a large class of such locomotion systems the configuration space is amenable to the framework of a principal fiber bundle [1], [2], and geometric tools lead to insightful solutions to control theoretic problems. The configuration variables are partitioned as the base and the group variables, and the former are, usually, fully actuated. The low Reynolds number effect gives rise to a principal kinematic form of the equations of motion, and further, the shape space as well as the structure group of many of these systems is either the Special Euclidean group or one of its subgroups; the reader is referred to [3], [4] for many illustrative examples.
A gait of a locomotion system on a principal fiber bundle corresponds to a closed curve in the base space of the bundle. Optimal gait design, i.e., the design of gaits that minimize control energy, is one of the open problems in the control of locomotion systems. The isoholonomic problem falls in this class: it pertains to finding closed loops in the base space that result in the desired displacement in the structure group (the gross motion of the body) with minimal control effort (movement of the limbs). The falling cat problem is one of the famous examples in this context [5], and other examples include [6], [7], [8]. In [6], for instance, the authors have solved an optimal control problem for a similar form of principal kinematic system, but in the continuous time setting. We note that a closed form solution was obtained in that case because of the amenable form of system equations. In this article we present results for the isoholonomic problem for the 3-link planar Purcell’s swimmer [9], the simplest possible microswimmer. This mechanism has given rise to considerable research in the areas of modelling, control, optimal gait design, etc.; see [10], [11], [12], and the references therein. However, to the best of our knowledge, the discrete-time isoholonomic problem has not been addressed in the literature so far.
A few well-established approaches to solve the continuous-time optimal control problem involve variational principles or, more generally, applications of the Pontryagin Maximum Principle (PMP), and/or dynamic programming techniques [13], [14], [15]. However, state and control inequality constraints are not easily handled with these techniques. The necessary mathematical conditions of optimality obtained via either of the first two approaches invariably tend to be difficult to solve analytically for most engineering systems, and the last technique, further, suffers from the curse of dimensionality. More importantly, however, we would like to obtain a time-discretization of the control law to enable implementation. A conventional approach to discretization proceeds along one of the following two ways: In the first, the entire control synthesis is performed in the continuous time and the final controller is then discretized for the purpose of implementation. This is, therefore, an approximation and the performance deviates from those predicted by the continuous-time models, in particular, for nonlinear systems evolving on non-flat manifolds. In the second, the continuous-time plant is initially discretized, and then the synthesis is carried out in the discrete domain. Here, the discretization is not exact and does not preserve inherent mechanical system invariants like momentum and/or energy and/or constraints. Adopting the discrete mechanics approach, as we do here, preserves such invariants of the system and ensures that the discretization is exact [16].
A general discrete-time PMP that addresses a wide class of discrete-time optimal control problems in Euclidean spaces with state and action constraints appears in the work of Boltyanski [17]. A discrete-time PMP for systems evolving on matrix Lie groups was established in [18] by an extension of Boltyanski’s techniques. In this article, with the discrete mechanics based model of the Purcell’s swimmer, we adopt the approach outlined in [18] to obtain a discrete time control law. We arrive at necessary optimality conditions by extension of the results on matrix Lie groups to the principal kinematic form of systems where the base manifold evolves on . The discrete-time optimal control, solved by applying the PMP on matrix Lie groups, leads to a two point boundary value problem, which is then solved numerically to obtain the optimal control sequences. The utility of this work is that the results obtained can be extended to wide class of systems satisfying the principal kinematic form of equations [1], [2], [6].
This article is organized as follows. In §2 we present the mathematical preliminaries and define the topology of locomotion systems along with the principal kinematic form of equations. §3 explains the continuous time isoholonomic problem. We then introduce the model of the planar Purcell’s swimmer in the principal kinematic form. A structure-preserving discretization of its kinematic equations in terms of the discrete connection form is presented in this section. §4 presents the formulation of the discrete isoholonomic problem for the swimmer model, followed by the necessary optimality conditions obtained by using the discrete maximum principle on matrix Lie groups. In §5, the results of numerical experiments are presented.
2. Preliminaries
We provide a brief overview of basic notations and definitions from differential geometry that are frequently encountered in this article.
Let be a Lie group with as the group identity, and be the Lie algebra of the Lie group . Let be the left action on the Lie group by itself. We further assume that the left group action is free , i.e., for all , implies . The tangent lift of is the action
[TABLE]
where T_{h}\Phi_{g}(v)\coloneqq\left.\frac{d}{ds}\right|_{s=0}\Phi_{g}\big{(}\gamma(s)\big{)} with a smooth curve on such that and The cotangent lift of , is the action
[TABLE]
where \big{\langle}T_{\Phi_{g}(w)}^{*}\Phi_{g^{-1}}(a),v\big{\rangle}\coloneqq\big{\langle}a,T_{\Phi_{g}(w)}\Phi_{g^{-1}}(v)\big{\rangle} for all , . The adjoint action of on is defined as
[TABLE]
The coadjoint action of on is the inverse dual of the adjoint action, given by
[TABLE]
where for all and Consider a trivial principal fiber bundle with the base manifold and the structure group as A free left action of on is induced by the left action of on the group component of as
[TABLE]
see Figure 1.
3. The planar Purcell’s swimmer and the isoholonomic problem
The planar Purcell’s swimmer is a micro-swimmer made up of slender links with two rotary joints; see Figure 2. The configuration manifold of the Purcell’s swimmer admits the topology of a trivial principal fiber bundle , where the base manifold describes the configuration of the internal shape variables of the mechanism, and the Lie group describes the position and the orientation of the micro-swimmer in plane.
We further consider that the Outer Link 1 and the Outer Link 2 are not allowed to overlap with Link 0; that is ensured if Based on the Cox theory, the kinematic model of the Purcell’s swimmer depends on the lengths of the three links and viscous drag coefficient [19], and is given by
[TABLE]
where \mathbb{R}\ni t\mapsto\big{(}\alpha(t),g(t)\big{)}\in M\times G defines the state trajectory of the system, defines the control trajectory of the system and is the Lie algebra valued local connection form.
3.1. Isoholonomic problem
Before we formally define the isoholonomic problem, let us introduce the notions related to holonomy for the system (5). For a principal kinematic system with trajectory \mathbb{R}\ni t\mapsto q(t)=\big{(}\alpha(t),\,g(t)\big{)}\in M\times G, the tangent space for each , can be split into the horizontal subspace and the vertical subspace using the system’s connection form111A detailed discussion on connection forms and kinematic systems on trivial principal fiber bundles may be found in [2], [3]. The horizontal subspace for the system (5) is defined through the local connection form as
[TABLE]
The horizontal lift of a continuous curve passing through a point is a continuous curve such that the following hold:
- (1)
\pi\big{(}\gamma^{*}(t)\big{)}=\gamma(t)\>\>for\>\>t\in[0,T], 2. (2)
The geometric phase or holonomy of a continuous curve with is that is determined by the horizontal lift of as
[TABLE]
see Figure 1.
Isoholonomic problem [5], [7]: Among all loops with a given holonomy find a loop in the base space that corresponds to the least control effort. To define it formally, for a given holonomy and a fixed point , the isoholonomic problem for the locomotion kinematics (5) is defined as
[TABLE]
where accounts for the running cost.
The continuous-time optimal control problem (6) is typically solved numerically, and that requires discretization of the system kinematics (5). Therefore, we turn to derive a variational integrator of the system kinematics (5) that preserves the manifold structure and the system symmetries unlike standard discretization schemes such as Euler’s steps and its derivatives [20]. Further, we define the optimal control problem (6) in discrete-time and solve it using discrete-time Pontryagin’s maximum principle on matrix Lie groups [18].
3.2. Discrete-time kinematic model of the Purcell’s swimmer
We now derive a variational integrator of the Purcell’s swimmer (5) using the discrete mechanics approach described in [16]. Suppose denote the integers from zero to . Let us discretize the time horizon uniformly in subintervals such that the system configurations and the control actions at discrete-time instances with a fixed step length are given by
[TABLE]
We assume that the system kinematics (5) is actuated by a piecewise constant control, i.e.,
[TABLE]
and the local connection form in (5) is approximated as
[TABLE]
Under the approximations (7) and (8), the discrete-time kinematics system for the Purcell’s swimmer is derived by integrating the continuous-time kinematics (5) as
[TABLE]
where is the exponential map.222The exponential of is the map where is the one-parameter subgroup generated by , or equivalently the integral curve of starting at the group identity [21, p. 522].
Remark 1**.**
Note that the preceding discretization scheme has the following properties [16]:
- •
It preserves the configuration manifold of the system; i.e., the states always remain on the original configuration manifold, and
- •
The horizontal subspace at all is equivariant with respect to the group action.
4. Discrete isoholonomic problem for the planar Purcell’s swimmer
Let us define the discrete-time isoholonomic problem for the variational integrator (9) and then derive the necessary conditions for optimality for the discrete-time isoholonomic problem using the discrete-time Pontryagin’s maximum principle [18] to arrive at an optimal control function.
4.1. Isoholonomic problem in discrete-time
Considering a quadratic cost function
[TABLE]
the isoholonomic problem (6) is defined in discrete-time as
[TABLE]
It is important to note that the problem (10) is not a fixed endpoint problem because of the holonomy constraint, i.e., . However, using the group invariance property of the system kinematics (9) and the cost functions , the discrete-time optimal control problem (10) is translated to a fixed endpoint problem as explained in §4.2.
4.2. Translation of (10) to a fixed endpoint problem
First we prove that the optimal control problem (10) is invariant under the left translation of the initial group configuration , or equivalently the optimal control problem is insensitive to the initial group configuration of the system. Considering , the final group configuration of the system is given by
[TABLE]
that leads to the following holonomy condition
[TABLE]
which is independent of the initial group configuration . In particular, choosing the initial group configuration as the group identity, i.e., , the discrete isoholonomic problem is defined as a fixed end point problem as:
[TABLE]
4.3. The necessary conditions for optimality
Before proceeding with the derivation of the necessary conditions for optimality, recollect that the Link 1 and the Link 2 are only allowed to move such that their respective link angles lie in , and therefore, in the subsequent discussions, the base manifold is identified with The necessary optimality conditions for the isoholonomic problem (11) for the planar Purcell’s swimmer is given by the following theorem:
Theorem 1**.**
Let be an optimal controller that solves the problem (11) with the corresponding state trajectory. There exist an adjoint trajectory and a scalar such that, with
[TABLE]
the following hold:
- (P-a)
state dynamics (5), 2. (P-b)
adjoint dynamics
[TABLE]
where
[TABLE] 3. (P-c)
optimal control, for
[TABLE] 4. (P-d)
non-triviality conditions and do not vanish simultaneously.
Proof.
We now apply the discrete-time PMP presented in the Appendix A to the optimal control problem (11). We define the Hamiltonian
[TABLE]
for Applying Theorem (2) leads to the following set of conditions:
- (1)
Condition (P-a) is identical to condition (M-a). 2. (2)
With the definition of the Hamiltonian (4.3), condition (M-b) immediately leads to condition (P-b). 3. (3)
Note that for each and therefore, the Hamiltonian non-positive gradient condition leads to
[TABLE]
and for , it gives optimal control (P-c). 4. (4)
Condition (P-d) is identical to condition (M-d).
∎
5. Numerical experiments
We now present the numerical experiments for solving the necessary optimality conditions for an isoholonomic problem of the planar Purcell’s swimmer. The viscous drag coefficient is chosen as one and also all the links are taken to be of unit length in the discrete kinematic model (9). The time discretization step is taken as . Starting from the configuration of the swimmer where the base link is aligned with the x-axis of the reference frame and the outer links are extended outwards to be collinear with the base link, a translational displacement of the base link of is commanded in both and directions along with the condition that the shape should return back the initial position.
The initial conditions at seconds are taken to be:
[TABLE]
where the group position is written as as shown in figure 2. The terminal conditions at seconds are:
[TABLE]
The necessary optimality conditions (P-a), (P-b) with these boundary conditions form a two-point boundary value problem in and with the control at each time instant is given by the condition (P-c). The boundary value problem is solved using Casadi [22], an open-source software tool with interior point technique for solving optimization problems. Figures 3 to 6 show the time variation of the states and control action. Figure 7 gives the loop in the base manifold. Figure 8 shows the time-lapse representation of the swimmer’s shape and macro position at 5 second interval. The swimmer’s link lengths in figure 8 are scaled down by a factor of for better representation.
We observe that the swimmer, instead of directly moving towards the desired final position of , moves first in the negative direction. Also even the position of the swimmer overshoots the desired value. This is due to the constraint that there should not be any net shape change at the end of the entire maneuver. The optimal solution also results in the low values of the angular rates of the swimmer’s limbs.
\DTLloaddb
[noheader=false]PhasePortraitDataPhasePortrait.txt
APPENDIX
5.1. Discrete maximum principle on matrix Lie groups
In this section we state a modified version of a theorem on the discrete maximum principle on matrix Lie groups for fixed end point optimal control problems for systems whose kinematics evolves on a matrix Lie group , and the dynamics evolves on a Euclidean space [18]. The modification of the original theorem is inspired by the need of applying the discrete maximum principle to principal kinematic form of systems such as that of the Purcell’s swimmer. The system model (9) is at the kinematic level and has base kinematics which evolves on and the group kinematics which evolves on a matrix Lie group . The general form of discrete-time kinematics for for these systems is given as follows:
[TABLE]
where,
[TABLE]
The following assumptions are made:
- (A-a)
The maps are smooth. 2. (A-b)
There exists an open set such that:
- •
the exponential map is a diffeomorphism, and
- •
the integration step . 3. (A-c)
The set of feasible control actions is convex and compact for each
Remark 2**.**
The reader may note that there are following two key differences between the system (16) and that in the original theorem [18, Theorem 2.5]:
- (1)
The map in (16) is a function of the control input in addition to , and 2. (2)
The dynamics in the system in **[18]** is replaced by the kinematics on the base space which has the similar evolution on under the map .
However, the Pontryagin maximum principle [18, Theorem 2.5] carries over with minor and obvious changes to the one that we provide below; in particular, the proof technique stays identical to that in [18]. We suppress the tedious details in the interest of brevity.
With as a map that accounts for the cost-per-stage for each the problem is to synthesize a controller by minimizing the performance index
[TABLE]
Theorem 2**.**
*Let be an optimal controller that solves the above problem. Define a Hamiltonian *
[TABLE]
for . Then there exists
- •
an adjoint trajectory , and
- •
a scalar
such that, with
[TABLE]
the following conditions hold:
- (M-a)
state dynamics
[TABLE] 2. (M-b)
adjoint dynamics
[TABLE] 3. (M-c)
Hamiltonian non-positive gradient condition
[TABLE] 4. (M-d)
Non-triviality condition: The adjoint variables and the scalar do not vanish simultaneously.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J. Ostrowski and J. Burdick, “Geometric perspectives on the mechanics and control of robotic locomotion,” in Robotics Research , pp. 536–547, Springer, 1996.
- 2[2] A. M. Bloch, P. Krishnaprasad, J. E. Marsden, and R. M. Murray, “Nonholonomic mechanical systems with symmetry,” Archive for Rational Mechanics and Analysis , vol. 136, no. 1, pp. 21–99, 1996.
- 3[3] S. D. Kelly and R. M. Murray, “Geometric phases and robotic locomotion,” Journal of Field Robotics , vol. 12, no. 6, pp. 417–431, 1995.
- 4[4] J. Ostrowski and J. Burdick, “The Geometric Mechanics of Undulatory Robotic Locomotion,” The International Journal of Robotics Research , vol. 17, no. 7, pp. 683–701, 1998.
- 5[5] R. Montgomery, “Isoholonomic problems and some applications,” Communications in Mathematical Physics , vol. 128, no. 3, pp. 565–592, 1990.
- 6[6] P. Krishnaprasad, R. Yang, and W. Dayawansa, “Control problems on principal bundles and nonholonomic mechanics,” in Proceedings of the 30th IEEE Conference on Decision and Control , pp. 1133–1138, IEEE, 1991.
- 7[7] W. S. Koon, Reduction, Reconstruction and Optimal Control of Nonholonomic Mechanical Systems with Symmetry . Ph D thesis, University of California, Berkeley, 1997.
- 8[8] A. Cabrera, “Base-controlled mechanical systems and geometric phases,” Journal of Geometry and Physics , vol. 58, no. 3, pp. 334–367, 2008.
