Introduction

Bio-inspiration and bio-mimetics are growing research fields. In the last years, the animal kingdom has served as an example in the development of several bio-inspired structures and mechanisms, especially in robotics. An example of this is legged locomotion, that allows agile movements, great stability on different terrains, high speed and energy efficient running1,2,3.

Some of the first walking machines were ODEX one4, PVII Quadruped Vehicle5 and SILO46, that achieved optimal gait patterns through a statically stable walking. These prototypes had important movement restrictions, since at least three of their legs had to be in stance with the ground.

In the field of running legged robots representative examples are KOLT7, Scout II8, BigDog9, Star1ETH10 and the MIT Cheetah 211. However, these prototypes do not take advantage of the flexibility of the trunk in order to achieve fast galloping speed and power efficiently as their natural counterparts do, like, e.g., cheetahs, horses and greyhounds1.

In our current work, we focus on such key feature, and aim at designing legged robots with high energy efficiency and speed using a compliant backbone. In the literature, research devoted to understanding and developing the mechanics of bending of the trunk can be found. Three types of flexible trunks have been proposed: actuated, semi-actuated and passive.

In the class of robots with actuated trunk, the work presented in12 showed how the performance of a quadrupedal can be improved actuated joints that allow flexion and extension of the trunk, compared to a rigid bodied robot. The quadruped robot presented in13 was equipped with a tensegrity-based spine that helped maintaining movement and balance during gaits. Lastly, robot Stoch214 showed the advantages of actuated spine.

As far as legged robots with semi-actuated trunk is concerned, a comparison between three types of flexible spines in the Lynx-robot was performed in15. The first of such spines was actuated for both flexion and extension movements, while the other two, made of a glass fiber rod with different stiffness, were actuated only for the flexion movement and the extension movement was passive.

Concerning legged robots with passive trunk, in16 the effect of trunk flexibility on the dynamics of a quadruped robot running with a bounding gait was studied. This model was composed of two rigid bodies representing the hindquarters and forequarters, connected through a torsion spring. It was demonstrated that at a constant energy level, the trunk oscillation range and the average forward speed are inversely related. In17 a robot with a flexible backbone whose stiffness could be changed varying the pressure of pneumatic actuators was used to study the stability of gait pattern for different the trunk stiffnesses. Finally, in18 the difference between rigid and passive articulated trunk was investigated. The authors showed that the articulated trunk allowed longer strides and significantly affects the dynamics of the robot as well as its power efficiency. Such effect has been observed also in19,20 and21 for hopping robots with compliant legs, and on flexible backbones for fish-like robots22. Also, a similar effect is also present in insects and birds, whose thoraxes contain compliant structures that accumulate and release energy during the flapping cycle at the benefit of consumption, and also flight stability, see, e.g.23,24.

In our current work we are investigating flexible backbones for legged robots, and how this can be exploited for fast and energy efficient running for quadruped robots. We have shown how a flexible spine can greatly help to achieve low power consumption storing and releasing energy during gait. Additionally, a dramatic energy saving can be obtained when the oscillations of the trunk reach a quasi-resonant regime25.

It is important to highlight that in most rigid-bodied running quadrupedal robots the legs mass is considered negligible for the purpose of studying robots body dynamics. Such assumption allows a simpler dynamic modeling, and light legs allow faster movements, and therefore faster running. However, when it comes to flexible trunk, this plays a key role, since the motion of the masses of the legs (plus tail and head) and their contact with the ground generates the trunk bending26,27.

In a running gait, the center of mass of the leg reaches its lowest point at the middle of step. The kinetic energy and gravitational potential energy reaction force are stored as elastic energy during the stance phase, when the leg touches the ground, and recovered during the flight phase, when the leg leaves the ground (see Fig. 1, steps h, a, b).

Figure 1
figure 1

Illustrations of the stance and flight stages of the rotary gallop of the cheetah (top) and the transverse gallop of the horse (bottom). Adapted from 26.

The most studied model for robotic legs for running gaits is the SLIP (Spring Loaded Inverted Pendulum) model (see Fig. 2, top). In the flight phase the spring has no effect and thus is not considered, so the dynamics of the leg is represented taking into account only the point mass.

Figure 2
figure 2

Diagram of the SLIP leg model (top) and Mass-Mass-Spring (MMS) leg model (bottom).

One of the first works on the SLIP model is due to Marc Raibert28, who showed that SLIP can describe the characteristics of running, trotting or hopping in one leg for bipeds and quadrupeds. Aspects such as stability, dynamics and energy efficiency can be taken into account in this model. Also, Fumiya Iida et al.29 showed that walking can be described using the bipedal version of this model. Using the SLIP model, various types of quadruped robots have been development, such as KOLT7, Scout II8, BigDog9, Start1ETH10 and the MIT cheetah30, which are capable of walking, trotting and galloping at high speeds in different terrains.

However, the SLIP model characterizes the dynamic formulation in a simple way, since it represents the robot’s leg as a point mass and a massless spring that extends towards to the ground. This neglects the inertia of the leg31. Hence, this model falls short when it comes to the flight phase of the legs of a galloping robot, i.e. when the leg is not in stance with the ground, since it does not allow generating a force for bending the trunk. In most animals the mass of the leg is very important when performing the galloping movement, especially in quadrupeds with flexible trunks26. As mentioned earlier, the mass of the legs helps bending the trunk, allowing it to store and release elastic energy, which allows smoother movements and a more energy efficient gallop25,27,32. Therefore, in order to study the effect of the legs’ masses in the dynamics, new models need to be developed. In this paper, we propose a Mass-Mass-Spring (MMS) leg model, as an alternative for quadruped robots with flexible trunk, and demonstrate that considering the mass of the leg in its dynamic modeling, it is possible to control the rotational force at the hip, and therefore induce a bending moment at the end of the trunk in the flight phase.

The motion of the leg has two main phases. The stance phase represents the system dynamics while it is in contact with the ground and where the spring k, which joins the mass m of the leg with the ground, acts passively (Fig. 2). Then, the flight phase represents the system dynamic during the flight, with the spring resting as the mass m. These two phases alternate in time, achieving a continuous movement pattern that causes the system to move along the x and y coordinates (Fig. 3).

Figure 3
figure 3

Sequence of the movement of the MMS model. The stance phase in the center of the image and the flight phase is on the sides of the image.

In the following we compare the proposed Mass-Mass-Spring (MMS) leg model with the Spring Loaded Inverted Pendulum (SLIP) model. As can be seen in Fig. 2 (top), the SLIP model is composed of a point mass, M, which represents the hip, and a linear spring, k, that transmits the reaction forces between the ground and the hip, acting as energy storage during the stance phase. The kinematic and dynamic analyses are explained in the Appendix (see also33,33,34,36). In addition to the mass of the hip, the MMS model takes into account also the mass of the leg, located at the knee joint, and a spring that establishes the contact between the mass of the leg and the ground, as shown in Fig. 2 (bottom). Thanks to the additional mass m, it is possible to model the forces that allow the trunk to bend in the flight phase.

The Mass-mass-spring model

The dynamic equations that represent the model for stance phase in horizontal and vertical axes are:

$$\mathop x\limits^{ \cdot \cdot }_{m} \left( t \right) = \frac{1}{M + m}\left[ {kL_{0} \sin \left( {\alpha - \beta } \right) - kx_{m} \left( t \right) + ML_{hk} \left( {\mathop \alpha \limits^{ \cdot \cdot } \cos \alpha - \dot{\alpha }{\text{asin}}\alpha } \right)} \right]$$
(1)
$$\mathop x\limits^{ \cdot \cdot }_{M} \left( t \right) = \frac{{kL_{0} \sin \left( {a - \beta } \right) - m\mathop x\limits^{ \cdot \cdot } \left( t \right) - kx_{m} \left( t \right)}}{M}$$
(2)
$$\mathop y\limits^{ \cdot \cdot }_{m} \left( t \right) = \frac{1}{M + m}\left[ {KL_{0} \cos \left( {\alpha - \beta } \right) - ky_{m} \left( t \right) + \left( {M + m} \right)g + ML_{hk} \left( {\dot{\alpha }cos\alpha + \mathop \alpha \limits^{ \cdot \cdot } \sin \alpha } \right)} \right]$$
(3)
$$\mathop y\limits^{ \cdot \cdot }_{M} \left( t \right) = \frac{{kL_{0} \cos \left( {\alpha - \beta } \right) - ky_{m} \left( t \right) + Mg + m\left( {g - \mathop y\limits^{ \cdot \cdot }_{m} \left( t \right)} \right)}}{M}$$
(4)

where \({\ddot{x}}_{m}\) and \({\ddot{x}}_{M}\) are the horizontal acceleration and \({\ddot{y}}_{m}\) and \({\ddot{y}}_{M}\) are the vertical acceleration of the knee mass, m, and hip mass, M, respectively, for the stance phase.

The dynamic equations that represent the model for flight phase in horizontal and vertical axes are:

$$\mathop x\limits^{ \cdot \cdot }_{m} \left( t \right) = \frac{1}{M + m}\left[ {ML_{hk} \left( {\mathop \alpha \limits^{ \cdot \cdot } \cos \alpha - \dot{\alpha }^{2} \sin \alpha } \right)} \right]$$
(5)
$$\mathop x\limits^{ \cdot \cdot }_{M} \left( t \right) = - \frac{m}{M + m}\left[ {L_{hk} \left( {\mathop \alpha \limits^{ \cdot \cdot } \cos \alpha - \dot{\alpha }^{2} \sin \alpha } \right)} \right]$$
(6)
$$\mathop y\limits^{ \cdot \cdot }_{m} \left( t \right) = \frac{1}{M + m}\left[ {\left( {M + m} \right)g + ML_{hk} \left( {\dot{\alpha }\cos \alpha \left( t \right) + \mathop \alpha \limits^{ \cdot \cdot } \sin \alpha } \right)} \right]$$
(7)
$$\mathop y\limits^{ \cdot \cdot }_{M} \left( t \right) = \frac{{\left( {M - m} \right)g - \left( {\frac{m}{M + m}} \right)\left[ {\left( {M + m} \right)g + ML_{hk} \left( {\dot{\alpha }\cos \alpha + \mathop \alpha \limits^{ \cdot \cdot } \sin \alpha } \right)} \right]}}{M}$$
(8)

where \({\ddot{x}}_{m}\) and \({\ddot{x}}_{M}\) are the horizontal acceleration and \({\ddot{y}}_{m}\) and \({\ddot{y}}_{M}\) are the vertical acceleration of the knee mass, m, and hip mass, M, respectively, for the flight phase.

Methods

In order to assess the impact that the mass of the leg has on the spine of a quadruped legged robot, we considered the two different types of gallop, the so-called “rotary” and “transverse” gallop26.

The rotary gallop is employed, e.g., by the cheetah26,37, while the transverse gallop is employed by the horse38. In both modes it can be observed how the mass of the leg affects the bending of the trunk. To compare these kinds of gallop we analyzed six species of animals, three for each type gallops: cheeta, greyhound and lynx for rotatory gallop, and horse, antelope and alpaca for transverse gallop39.

Figure 1 shows the differences between the two gallops. The rotatory gallop starts with a footfall of one of the forelimbs, to later support with the contralateral forelimb. After that, the flight phase starts, where the legs are completely below itself, and then continue a footfall with the ipsilateral hindlimb and support with the contralateral hindlimb, and then carry out another flight phase where the legs are extended. In contrast, the transverse gallop starts with one footfall of the hindlimbs and later to support with the contralateral hindlimb, following by the contralateral support of the ipsilateral forelimb and later a footfall of the contralateral forelimb, and then carry out flight phase, where the legs are completely below the body26,39.

Figure 4 (bottom-left), shows the diagram of the simulation setup for measuring the energy that can be stored in the trunk thanks to the mass of the leg, located in the knee joint. The leg is attached at one end of a beam, while the other end of the beam was fixed. The aim of this setup is to measure the forces that are exerted at the ends of the beam representing the trunk of the robot.

Figure 4
figure 4

Left: Simplified diagram of a beam with joints for the study of the forces exerted on the trunk. Right: analytical diagram of the minimum bending moment, at the free end, and the maximum bending moment, at the fixed end.

In order to compare the MMS and the SLIP model, the following Key Performance Indicators (KPIs) were used: stride length and hopping height, which are used to evaluate the performance of quadruped robots30,31, and normal effort, tangential stress, minimum bending moment, maximum bending moment, and bending moment difference, which are used to know the stresses in the beam40,41. Here, the most important indicators are the minimum bending moment, maximum bending moment (see Fig. 5, right), that induce the bending at the two endings of the spine.

Figure 5
figure 5

Sequence example of the data acquired by Tracker using the video3, red circle follows the hip, the blue circle follows the knee and green circle follows the foot of the cheetah. The yellow circle is a reference to correct the acquired data.

For the purpose of comparison, the same physical dimensions have been adopted for the two motion patterns, (see Table 1). The physical properties of the hind leg of a cheetah Acinonyx Jubatuss, obtained from42, were taken into account. In order to assess the effectiveness of the two models, we carried out simulations of a galloping cheetah, greyhound and lynx (rotatory gallop) and horse, antelope and alpaca (transverse gallop), using the kinematics and dynamics equations of the models. To acquire the movements described by the hip, knee and foot we analyzed footage of the running sequence of the two animals (”Maverick Galopp”, 2012, https://youtu.be/iWGKOHeSpE0; “The Science of a Cheetah’s Speed”—National Geographic and the Cincinnati Zoo, 2013, https://youtu.be/icFMTB0Pi0g) using the Tracker software (Tracker is a video analysis and modeling tool built on the Open Source Physics (OSP),https://physlets.org/tracker/) for the stance and flight phases (Fig. 5). With the data acquired, the angles α, ß and γ are calculated. These will be the inputs for each of the simulation models. Figure 6 depicts the gamma angles for SLIP model, and Fig. 7 shows the α and ß for MMS model. To perform the simulation, and to visualize of the movements, the Robotics toolbox system of MathWorks was used.

Table 1 Physical parameters of the models used.
Figure 6
figure 6

Input γ angles for the simulation of SLIP model for stance and flight phases, calculated from the acquired movement for the (a) cheetah, (b) greyhound, (c) lynx, (d) horse, (e) antelope and (f) alpaca.

Figure 7
figure 7

Inputs α and ß angles for the simulation of the MMS model for stance and flight phases, calculated from the acquired movement for the (a) cheetah, (b) greyhound, (c) lynx, (d) horse, (e) antelope and (f) alpaca.

Results

Tables 2, 3 and 4 report the results of the cheetah, greyhound and lynx simulations. Although the stride length is bigger in the MMS model and the hopping is slightly bigger in SLIP model, it is important to note the difference in the minimum and maximum bending moments of the two models. In particular, a minimum bending moment is obtained with the MMS mode, while this is null in the SLIP model. Hence, the MMS model is capable of generating a more accurate bending of the trunk (Fig. 8). This is because it is the minimum bending moment that causes a bending of the trunk, similar to one of the cheetah galloping. The SLIP model only allows to obtain a buckling in the spine.

Table 2 Key performance indicators cheetah trajectory.
Table 3 Key performance indicators greyhound trajectory.
Table 4 Key performance indicators lynx trajectory.
Figure 8
figure 8

Scheme of the deformation for the bending moments of the MMS leg model and SLIP leg model in flight phase.

Similar results are obtained in the horse, antelope and alpaca, transverse gallop, reported in Tables 5, 6 and 7. As for the cheetah, in the trajectory of the horse it can be noticed an increase in the minimum bending moment and a decrease in the maximum bending moment for the MMS model, compared to the SLIP model. Again, this is due to the mass of the leg, which induces a rotational force in the hip, which in turn, causes a bending moment to be generated in the spine.

Table 5 Key performance indicators horse trajectory.
Table 6 Key performance indicators antelope trajectory.
Table 7 Key performance indicators alpaca trajectory.

It can be noted that for the “bending difference” parameter (the difference between minimum and maximum bending,) the results are similar in the two models, but the SLIP model produces no “minimum bending”. This is because in the MMS model the mass of the leg is taken into account (about 6% of the total mass), generating the bending moment at the end of the spine. In MMS A lower maximum bending at the fixed end of spine, is generated. Note that the total mass is equal in the two models (M + m in MMS, Mtotal in SLIP).

The tangential stress parameter is useful because it helps to know what force stretches the spine in galloping. This is similar for the two models, despite the masses are distributed between hip and knee in the MMS model while it is concentrated at the hip in the SLIP model.

Figures 9 and 10 show the details of the displacement and velocity of the hip and knee resulting from the simulation of stance phase (solid line) and flight phase (dashed line) for the cheetah and the horse, considering the parameters of Table 1. We choose these two anymals as representative of their respective groups, because < < the transverse gallop is epitomized by the horse and the rotary gallop by the cheetah > > 26.

Figure 9
figure 9

× and y position and velocity of the (a) hip and the (b) knee of the MMS leg model and the (c) hip of the SLIP leg model in the galloping movement of the cheetah. Solid line: stance phase; dashed line: flight phase.

Figure 10
figure 10

× and y position and velocity of the (a) hip and the (b) knee of the MMS leg model and the (c) hip of the SLIP leg model in the galloping movement of the horse. Solid line: stance phase; dashed line: flight phase.

Figures 9a,c and 10a,c depict the movement of the hip, in MMS and SLIP models, describes a parabolic movement in the flight phase, since the heaviest mass is at the hip drives the trajectory of the leg in the flight phase. Similarly, as can be seen in Figs. 9b and 10b, there are abrupt changes in velocities, both in stance phase and flight phase. These are due to the mass in the knee which allows to obtain a moment of force at the end of the spine that helps to accumulate energy during flight phase, and releases energy during the stance phase.

Discussion

The purpose of our current work is to understand and model the mechanics of bending of the trunk in quadrupeds with flexible trunk, with the aim of reproducing the mechanism of storing/releasing energy during galloping. This is a key feature for improving the performance of quadruped robots. Additionally, a flexible trunk helps a smooth deceleration and a fast acceleration of the different parts of the body involved during running, as well as it reduces shocks in the mechanical structure at the benefit of lighter structures and smoother movements.

We have demonstrated how using the modeling the gallop of a quadruped robot with flexible trunk by using the proposed MMS leg model produces better results with respect to the commonly used SLIP leg model. This model allows a moment of force to be generated at the center of mass of the hip when performing the galloping movement, called minimum bending moment. This is because in the MMS model the mass of the leg is taken into account (about 6% of the total mass), generating the bending moment at the end of the spine. Note that the total mass is equal in the two models (M + m in MMS, Mtotal in SLIP). Due to its mathematical formulation, the SLIP model cannot reproduce the bending moment at the free end of the spine. This is precisely the reason we developed the MMS model.

Even if the purpose of the paper is not a comparative analysis of biological data, but to assess the goodness of the proposed mathematical model, some conclusion from the experiments can be drawn, keeping in mind that the small number of animals analyzed does not allow an in-depth statistical analysis.

Comparing the KPIs of the six animals analyzed, it can be seen that in general, the animals that employ rotary gallop have a higher bending moment, while a transversal gallop produces a higher maximum bending moment (Table 8). The transversal gait begins positioning the hind legs on the ground and the front legs in the flight phase, generating a rotational force that allows generating a maximum bending moment higher than the minimum bending moment on its hind limb. On the contrary, the rotary gait begins positioning front legs on the ground and the hind legs in the flight phase, generating a high rotational force in its rear part and consequently a bigger value of the minimum bending moment, allowing a bigger flexion in the trunk and therefore a higher energy storage, which allows more powerful gait when “launching” its forequarters in the beginning of the aerial phase. Therefore, the animals that perform a rotatory gallop, seem to be better at storing and releasing energy. This may explain the higher velocity of the animals employing rotary gallop compared to the animals that employ transversal gallop.

Table 8 Summary of the KPIs.

Indeed, as Biancardi Minetti, point out after the analysis of 89 mammalian species39, even if more than 80% of the species they analyzed use only one kind of gallop at any speed, the other 20% show a preference for transverse canter or gallop at slow speed, and rotary gallop at higher travel speeds. Their results also indicated that < < slower and larger mammals, with relatively longer and thicker limbs, predominantly employ transverse gallop. In contrast, lighter and faster mammals, which have relatively shorter legs and longer body, were more likely to use rotary gallop > > . We believe this is in agreement with the results of our simulations.

This work has focused on gallop, because this is the running sequence where the effect of the bending of the trunk and the accumulation/release of energy is most important. Future work might be devoted to the analysis of different running sequences (e.g., trot) in order to assess the relative behavior of the SLIP and MMS models (and possibly others) and to understand the benefits of implementing this kind of locomotion in quadrupedal robots.