In this paper, the brachistochronic motion of a mechanical system composed of variable-mass particles is analysed. Workless (ideal) holonomic and linear nonholonomic constraints are imposed on the system. It is assumed that the system moves in an arbitrary field of known potential and nonpotential forces with prescribed both laws of the time-rate of mass variation of the particles and relative velocities of the expelled (or gained) masses. The first time-derivatives of quasi-velocities are taken as control variables. Using Pontryagin’s maximum principle and singular optimal control theory, the problem of brachistochronic motion of the nonholonomic variable-mass mechanical system is solved as a two-point boundary value problem. In addition, a discussion about the realization of control forces is given. The results are illustrated via an example.
The literature treating nonholonomic variable-mass mechanical systems is rather scarce. The considered class of mechanical systems can embrace important engineering systems such as underwater vehicles, ground mobile robots and manipulators, excavating machines, etc. The available field-related literature can be separated into two groups. The first group includes [1–5], whereas the second covers [6–8]. Note that detailed literature overviews related to holonomic variable-mass mechanical systems is given in [9–12]. The authors in [1–5] consider various problems of analytical mechanics related to nonholonomic variable-mass mechanical systems. Thus, [1–3] discuss the application of Kane’s equations, D’Alembert–Lagrange’s principle and Gibbs–Appell’s equations, respectively, in the case of nonholonomic variable-mass systems, while in [4] the extension of Hamilton’s principle application to this kind of mechanical system is given. On the other hand, in [5], Routh’s equations were derived for a variable-mass mechanical system with nonlinear nonholonomic constraints moving in a noninertial reference frame. The problem of control of variable-mass mechanical systems with nonholonomic constraints is addressed in [6–8]. Note that in [8] the problem of the brachistochronic motion of a nonholonomic two-degree-of-freedom (2DOF) system composed of two variable-mass particles is considered. For the case of the brachistochronic motion of variable-mass mechanical systems with holonomic constraints, see [9].
The goal of our paper is to generalize the results from [8] in the case of an arbitrary variable-mass mechanical system with linear nonholonomic constraints with arbitrary degrees of freedom that performs the brachistochronic motion in an arbitrary field of known potential and nonpotential forces. To the best of our knowledge, this kind of problem has not been reported elsewhere before. In this respect, the paper is organized as follows: in Section 2 the brachistochrone problem of a variable-mass mechanical system with linear nonholonomic constraints is formulated. In Section 3 using the first time-derivatives of quasi-velocities as control variables, the brachistochrone problem is formulated as a singular optimal control task. The corresponding two-point boundary value problem (TPBVP) is defined and the numerical procedure for solving it based on the shooting method is described. The discussion about the realization of brachistochronic motion is shown in Section 4. In Section 5, in order to illustrate the application of the obtained theoretical results, a modified example from [8] is considered. Conclusions are presented in Section 6.
2. Problem formulation
Consider the motion of a mechanical system composed of N particles that can all be of variable mass in a general case. The configuration of the system is defined by generalized coordinates , which determine the position of the system but are geometrically independent. Also, the laws of mass variation of the particles are well-known
where are continuous and differentiable functions of time. Mass variation of the particles may occur due to expelled (or gained) masses of the particles, assuming that the process of expelling (or gaining) is continuous over the observed interval of time.
Relative velocities of expelled (or gained) masses are
where is the vector of generalized velocities. The kinetic energy of a scleronomic mechanical system is a homogeneous quadratic form of the generalized velocities [13–15]
where covariant coordinates of the metric tensor, taking into account (1), are the functions of the generalized coordinates and time t
Note that in this paper the well-known summation convention over pairs of Latin or Greek indices is used, with the following index ranges: . The motion of the considered mechanical system is constrained by ideal independent nonholonomic homogeneous mechanical constraints of the form
where . The number of degrees of freedom of the mechanical system is m = n – l, which simultaneously represents the number of kinematically independent coordinates that correspond to independent generalized velocities .
Independent generalized velocities can be represented as a linear form of independent quasi-velocities [13–15]
Dependent generalized velocities, taking into account (5) and (6), can be expressed as follows
where , and therefore the expressions for transformation of all generalized velocities, in accordance with (6) and (7), can be expressed as a linear form of independent quasi-velocities
where are continuous functions with continuous first derivatives in the region in which the motion of a mechanical system is considered. Thus, the kinetic energy of a nonholonomic scleronomic mechanical system, in accordance with (3) and (8), can be expressed as a homogeneous quadratic form of independent quasi-velocities
where
and where are covariant coordinates of the metric tensor. Let the mechanical system move in the field of known potential forces with potential energy
and let the system be acted on by arbitrary known nonpotential forces, whose generalized forces are of the form
In order to derive differential equations that describe the motion of a nonholonomic mechanical system in the configuration space of kinematically independent coordinates, let us commence from the expression for the Lagrange–D’Alembert principle [13–15] written in the form
that is
where are the covariant generalized forces corresponding to the geometrically independent coordinates.
The contravariant coordinates of acceleration [13–15] can be expressed in the following way
where are the Christoffel symbols of the second kind.
In accordance with the Hertz–Hölder condition [16,17], based on (8), we may write
Taking into account (8), (14), (15) and (16), and after a brief rearrangement, the following is obtained
From expression (17), due to independence of variations , that is, , m differential equations are obtained in the covariant form
where generalized forces corresponding to the kinematically independent coordinates are given as
whereas .
Equation (18) can be represented in the form as follows
where
The generalized forces corresponding to the geometrically independent coordinates can be represented, in a general case, in the following form
The generalized reactive forces that develop due to expelled (or gained) masses are of the form [18,19]
while - are the generalized control forces, whose total power during brachistochronic motion equals zero
whereas, in accordance with (8) and (19), the previous expression can be written in the following form
Note that it is necessary to make a distinction between the brachistochronic motion of the mechanical systems and the time-optimal motion problem of mechanical systems. In both problems the time of motion of a mechanical system is minimized. However, in solving the brachistochrone problem the condition that the power of control forces equals zero is imposed. For example, in the case of Bernoulli’s brachistochrone the control force represents the reaction of a frictionless cycloid. More details about the choice of control forces for realization of the brachistochronic motion of mechanical systems can be found in [20]. On the other hand, an example of technical facility where the time-optimal motion problem is considered (the power of control forces does not equal zero) can be a robotic mechanism where the operation of robot gripper displacement from the specified initial to specified terminal position in a minimum time is realized by control forces representing driving forces in joints of the robot (see e.g. [21]).
Since generalized forces, due to imposed constraints of motion (5), can be represented in the form as follows
where are Lagrange’s multipliers of constraints, and based on (5), (19) and (26), we can write
Since according to (7)
the generalized forces become
Thus, it has been shown that unknown Lagrange’s multipliers of constraints do not figure in the differential equations of motion (20), that is, in the configuration space of kinematically independent coordinates, whereby the procedure for determining the system motion relative to the procedure for determining the reactions of nonholonomic constraints is completely separated. Multiplying both sides of equation (20) by and summing over an index the following is obtained
which can be written in the following form
The last relation enables one to express one arbitrary second time-derivative of a quasi-coordinate as a function of the rest. Taking into account (25) and (29), in equation (31) unknown multipliers of constraints will not figure, nor will the generalized control forces. Now, without loss of generality, we are able to express from relation (31) in the following form
where
where it is assumed that the expression that figures in the denominators of the relations (33) does not equal zero during the system motion, that is, , where and are the initial and final time moment corresponding to the initial and final system position, respectively.
Let the values of generalized coordinates and the value of the system mechanical energy be specified at the initial time moment of motion
and also the values of generalized coordinates at the final system position
where and . The problem of brachistochronic motion of a nonholonomic variable-mass mechanical system in the arbitrary force fields, whose differential equations of motion are given in the form (20), consists of defining the control forces as well as their corresponding system motions , so that the system moves in a minimum time from the known initial state described by (34) and (35) to the final specified state described by (36).
3. The brachistochrone problem as an optimal control task
The presented brachistochrone problem can be formulated as a task of optimal control by introducing the controls
Without loss of generality, the renaming of the variable of the form is introduced, and therefore
First-order differential equations in the normal form, which are known in the optimal control theory as state equations, can be written by introducing the rheonomic coordinate as follows
where as well as .
The problem of the brachistochronic motion of the considered nonholonomic mechanical system described by the state equations (39) consists of determining the optimal controls , as well as their corresponding optimal trajectories in the state space , so that the system moves from the known initial state on the manifold (34) to the final specified state on the manifold (36), with a defined value of the system mechanical energy at the initial time moment (35), in a minimum time. It can be expressed in the form of the condition that the functional
over the interval has a minimum value. In order to solve the optimum control task, formulated by the Pontryagin maximum principle [22], the Hamiltonian [22] is formed as follows
where , , whereas and are costate variables, so that the costate system of differential equations is of the form
Based on (41) it can be written
where
and it is where such a case is referred to as singular in the optimal control theory, and therefore the necessary optimality conditions of the Pontryagin maximum principle are of the form
from where optimal controls cannot be explicitly defined. Now, the boundary conditions can be represented in the following form
where represents the noncontemporaneous variation [13,15] of the quantity (·).
Based on condition (45), we are able to express the costate variables as the functions of a costate variable in the form
Accordingly, the necessary conditions (45) require that the coefficients in (43) be identically equal to zero along the optimal state trajectory. Optimal controls are defined by further differentiation with respect to time (45) in accordance with (39) and (42)
In determining the relations (49), a well-known Poisson brackets formalism [23] is applied, so that
Taking into account (45) as well as the fact that for multidimensional singular controls [23] along an optimal trajectory it holds that
it is obtained that
where and
Now, from equations (52), taking into account (44) and (48), the next relations follows
where
and where are cofactors of a determinant .
Further differentiation of (50) yields
Limiting considerations to the singular controls of the first order () (see [23]), using (48) and (53), and solving the system of linear equations (55) for , yields singular controls of the form
Taking into account that the initial position (34) of a mechanical system is defined, it follows that
Taking into account (57) and applying the noncontemporaneous variation operator to relation (35) yields
and, finally, after substituting (48) and (57) into (46), the following is obtained
Now, based on (57), (58) and (59), it can be clearly seen that the boundary conditions (46) and (47) at the initial system configuration are satisfied.
At the final system configuration (36), since the time is not specified ahead (), the transversality condition results from (47)
and since the quantities and are not specified ahead (), the following natural boundary conditions are obtained from (46)
It is possible, based on (41), (53), (60) and (61), to establish in analytical form the following dependence
where and .
Finally, taking into account all of the above considerations and relations, the problem posed is reduced to solving a system of 2n+3 first-order differential equations in the normal form
If necessary, the differential equations corresponding to in (42) can be solved after the system of equations (63) is solved. Also, the rest of the costate variables can be defined from (48) and (53). In a general case, due to a highly expressed nonlinearity (63), it is necessary to solve the TPBVP [24] by applying some numerical algorithm. In general, methods for solving optimal control problems can be divided into indirect and direct methods. For a survey of different techniques within these two methods see, for example, [25]. It is characteristic of the indirect method that it requires the derivation of the adjoint equations. Instead, the direct method performs discretization of an optimal control problem (the discretization of both control and state variables) yielding the nonlinear program problem. Applications of the indirect and direct methods in solving various optimal control problems have shown that the indirect techniques are more accurate. Our paper applies the shooting technique (the indirect method) [25] that is based on using the nested functions NDSolve[], First[] and FindRoot[] in the Wolfram Mathematica program package. Certainly, the considered problem can be solved by some other techniques of the indirect method. Also, it should be noted that the theoretical considerations in our paper, to Equation (40) inclusive, represent the basis for applying some of the techniques of the direct method. To this end and due to (61) and (62), it is convenient here to perform backward numerical integration of differential equations (63) in the interval . The numerical procedure consists of two steps.
In the first step, taking into account known values (36), as well as that , , and , to solve the posed Cauchy’s problem (63), based on (34) and (35), it is possible to establish the n+1 relations in the numerical form
The functions (64) can be created in the Wolfram Mathematica program package in the following way (see e.g. [26,27])
where the structure of arguments of the nested functions and should be formed in accordance with the definition of these functions as well as with Equations (34), (35) and (63).
In the second step, the equation system (64) is solved for unknown boundary values , and . In this paper, the TPBVP is solved within the Wolfram Mathematica program package by using the nested function FindRoot[]. After the problem is numerically solved and the missing boundary values are obtained, a complete solution is found.
After these steps, it is possible to determine
whereas based on (8), (37) and (56), it is possible to determine
Now, we can define the laws of variations of Lagrange’s multipliers of constraints and control forces. Starting from (14) and taking into account (8), (15), (66) and (67), the following is obtained
Based on (22), (26), (66), (67) and (68), we can write
whereas generalized control forces corresponding to the geometrically independent coordinates are of the form
where are the control forces. Now, n equations of the system (69) are available, which allow us to define the laws of variations of the control forces and multipliers of constraints . If it is necessary to define only the laws of variations of the control forces, this can be done based on (18), (19), (22), (32) and (37)
4. Realization of brachistochronic motion
The brachistochronic motion of a mechanical system in general can be realized by the control forces, whose total power during brachistochronic motion equals zero. The control forces can be represented in the form of active control forces, the constraint reaction forces or their mutual combination. One of the ways to realize the brachistochronic motion of a system, as shown below, has been carried out by the active control forces. Another possible way is subsequent imposition to the system holonomic ideal stationary mechanical constraints, without the action of active control forces (which is closest to Bernoulli’s original idea of realizing the control forces, where the reactions of constraints of subsequently imposed mechanical constraints will replace the action of active control forces) in accordance with previously defined brachistochronic motion, but without the action of other active forces. Furthermore, the constraints must be in accordance with (66) and (67). Therefore, subsequently imposed mechanical constraints are of the form
where the rank of the Jacobian in (72), , is
In this case, the control forces are of the form
where are multipliers of constraints that can be defined based on (66) and (67) if it is necessary.
One of the ways to realize the brachistochronic motion by the subsequent imposition of mechanical constraints (72) can be achieved by the imposition of smooth guides to the specified number of particles, whose motion is determined by previous numerical integration of the corresponding differential equations of motion.
5. Numerical example
A nonholonomic mechanical system is composed of two variable-mass particles A and B, with a restriction imposed on motion in the form of the perpendicularity of velocities by means of the Chaplygin blades of negligible masses, as shown in Figure 1. For the needs of further consideration, it is necessary first to introduce two Cartesian coordinate systems of reference. The stationary coordinate system , whose coordinate plane coincides with the horizontal plane of the system motion, and the moving coordinate system , whose coordinate origin coincides with particle A of the system, so that the coordinate plane coincides with the plane . The axis of the moving coordinate system is defined by the direction , and , whereas the unit vectors of the axes of the moving coordinate system are and , respectively. The variable-mass particles and , as well as the spring of stiffness and free length , are interconnected by a lightweight mechanism of the “forks” type, which allows the distance to change. This example is a modified version of the example considered in [8]. Namely, modification involves the addition of the spring of stiffness .
Nonholonomic variable-mass mechanical system.
The configuration of the system considered is defined by the set of Lagrange coordinates , where and are Cartesian coordinates of the particle A, is the angle between the axis and axis , while is a relative coordinate of the particle B relative to the moving coordinate system.
The laws of mass variation of particles A and B read
where is the mass of particles A and B at the initial time moment , and and are specified positive constants. The intensities of relative velocities of expelled masses, without loss of generality, are constant and mutually equal
where is a specified positive constant, where and .
Compliant with the restriction of motion of particles A and B of the system, nonholonomic homogeneous constraints can be written, in accordance with (5), in the following form
Due to imposed restrictions of motion (77) there occur horizontal reactions of nonholonomic constraints and in particles A and B, respectively.
For independent quasi-velocities, the velocities of particles A and B are taken
According to (8), (77) and (78), all generalized velocities can be expressed as a function of independent quasi-velocities
Kinetic and potential energy of the system, according to (9) and (11), are of the form
where .
Particles A and B, respectively, are acted on by the control forces and whose total power during brachistochronic motion equals zero, that is .
Now, based on (18), (19), (22), (23), (29), (70), (78), (79) and (80), the differential equations of the system motion can be created
Also, based on (21), (33) and (81), relations and are of the form
therefore, according to (32), can be expressed in the following form
The initial and terminal conditions (34), (35) and (36) are known
Using the numerical procedure from Section 3, the TPBVP (63) and (84) has been solved for the following values of the parameters
therefore, relation (62) now has the form
After the numerical procedure is carried out, the following functions are obtained in the numerical form
as well as the time of brachistochronic motion
For different values of the spring stiffness , Table 1 shows the missing boundary values at the values of constants and . Furthermore, it can be clearly seen that as the value of spring stiffness increases, minimum time also increases. Table 2 displays the missing boundary values at different values of the constants and and the spring stiffness value . Figures 2–7 give comparative graphical representation of the results at different values of constants and and the spring stiffness value . Figure 2 shows the trajectories of points A and B, whereas Figure 3 depicts the law of variation of the control . Graphs of the generalized coordinates and are given in Figure 4, whereas the law of variation of velocities and is shown in Figure 5.
Numerical solutions of the two-point boundary value problem at different values of spring stiffness ().
[N/m]
0
15
25
35
Numerical solutions of the two-point boundary value problem at different values of the constants and ().
Trajectories of points A and B.
Graph of the control u(t).
Graphs of the angle and the relative coordinate .
Graphs of the velocities and .
Graphs of the control forces and .
Numerical confirmation of the Kelley optimality condition (88).
According to (71), the control forces and can now be expressed in the following form
The control u, whose law of variation is shown in Figure 3, represents the first-order singular control. The necessary Kelley optimality condition for the first-order singular control is
which can be represented in the following form
Figure 7 presents the law of variation of function K from (89), at different values of the constants and and the spring stiffness value , which leads to a straightforward conclusion that condition (88) is fulfilled.
Another possible way of realizing the motion of the considered 2DOF system is to subsequently impose to the system one holonomic stationary ideal independent mechanical constraint in accordance with previously defined brachistochronic motion but without the action of control forces. The mechanical constraint has been realized by means of a smooth guide whose pathline coincides with the point C trajectory, which is located at the distance , so that the parametric equations are the guide lines
In Figure 8, represents a subsequently imposed mechanical constraint – smooth guide, where . Figure 9 presents the trajectories of point C at different spring stiffness values and different values of the constants and .
Realization of the system brachistochronic motion by means of a smooth guide.
Trajectories of point C at different spring stiffness values and different values of the constants and .
6. Conclusions
In this paper, the problem of brachistochronic motion of a variable-mass nonholonomic mechanical system has been solved. The paper represents the generalization of the results obtained in [8] to the general variable-mass systems with linear nonholonomic constraints and degrees of freedom. Taking the first time-derivatives of quasi-velocities as control variables, the brachistochrone problem considered has been formulated as a singular optimal control task. The results obtained may be used as a base for further researches in the field of minimum time control of mechanical systems composed of variable-mass bodies (for such mechanical systems in engineering practice, see [10–12]).
Footnotes
Funding
Support for this research was provided by the Ministry of Education, Science and Technological Development of the Republic of Serbia under Grants Nos. ON17400 and TR35006. This support is gratefully acknowledged.
References
1.
ChangYHGeZM. Extended Kane’s equations for nonholonomic variable mass system. J Appl Mech (Trans ASME)1982; 49: 429-431.
2.
GeZM. The equations of motion of nonlinear nonholonomic variable mass system with applications. J Appl Mech (Trans ASME)1984; 51: 435-437.
3.
QiaoYF. Gibbs-Appell’s equations of variable mass nonlinear nonholonomic mechanical systems. Appl Math Mech Engl1990; 11: 973-983.
4.
GeZMChengYH. The Hamilton’s principle of nonholonomic variable mass systems. Appl Math Mech Engl1983; 4: 291–302.
5.
LuoYHZhaoYD. Routh’s equations for general nonholonomic mechanical systems of variable mass. Appl Math Mech Engl1993; 14: 285-298.
6.
ApykhtinNGYakovlevVF. On the motion of dynamically controlled systems with variable masses.PMM J Appl Math Mec+1980; 44: 301–305.
7.
AzizovAG. On the motion of a controlled system of variable mass.PMM J Appl Math Mec+1986; 50: 433-437.
8.
JeremićBRadulovićRObradovićA. Analysis of the brachistochronic motion of a variable mass nonholonomic mechanical system. Theor Appl Mech2016; 43: 19–32.
9.
ObradovićAŠalinićSJeremićOet al. On the brachistochronic motion of a variable-mass mechanical system in general force fields. Math Mech Solids2014; 19: 398-410.
10.
CvetićaninL. Dynamics of machines with variable mass. Amsterdam: Gordon and Breach Science Publishers, 1998.
11.
CvetićaninL. Dynamics of bodies with time-variable mass. New York: Springer, 2016.
12.
IrschikHBelyaevAK (eds). Dynamics of mechanical systems with variable mass. New York: Springer, 2014.
13.
LurieAI. Analytical mechanics. Berlin Heidelberg: Springer, 2002.
14.
PapastavridisJG. Analytical mechanics. New York: Oxford University Press, 2002.
BairdDHughesRIGNordmannA (eds). Heinrich Hertz: classical physicist, modern philosopher. Dordrecht: Kluwer Academic, 1998.
17.
VujanovićBDAtanackovićTM. An introduction to modern variational techniques in mechanics and engineering. Boston, MA: Birkhäuser, 2004.
18.
CvetićaninL. Conservation laws in systems with variable mass. J Appl Mech (Trans ASME)1993; 60: 954-958.
19.
PesceCP. The application of Lagrange equations to mechanical systems with mass explicitly dependent on position. J Appl Mech (Trans ASME)2003; 70: 751–756.
20.
ČovićVVeskovićM. Brachistochronic motion of a multibody system with Coulomb friction. Eur J Mech A Solid2009; 28: 882–890.
21.
GeeringHP. Optimal control with engineering applications. Berlin Heidelberg: Springer-Verlag, 2007.
22.
PontryaginLSBoltyanskiiVGGamkrelidzeRVet al. The mathematical theory of optimal processes. New York: Interscience, 1962.
23.
GabasovRKirillovaFM. High order necessary conditions for optimality. SIAM J Control1972; 10: 127–168.
24.
StoerJBulirschJ. Introduction to numerical analysis. New York: Springer, 1993.
25.
BertolazziEBiralFDa LioM. Symbolic-numeric efficient solution of optimal control problems for multibody systems. J Comput Appl Math2006; 185: 404-421.
26.
WolframS. The Mathematica book. 5th ed.Champaign, IL: Wolfram Media, 2003.