Abstract
Leveraging the elastic bodies of soft robots promises to enable the execution of dynamic motions as well as compliant and safe interaction with an unstructured environment. However, the exploitation of these abilities is constrained by the lack of appropriate control strategies. This work tackles for the first time the development of closed-loop dynamic controllers for a continuous soft robot. We present two architectures designed for dynamic trajectory tracking and surface following, respectively. Both controllers are designed to preserve the natural softness of the robot and adapt to interactions with an unstructured environment. The validity of the controllers is proven analytically within the hypotheses of the model. The controllers are evaluated through an extensive series of simulations, and through experiments on a physical soft robot capable of planar motions.
1. Introduction
Animals move very differently from rigid robots: they perform dynamic tasks efficiently, and interact robustly, compliantly, and continuously with the external world through their body’s elasticity (Roberts and Azizi, 2011). Inspired by biology and with the aim of reaching a higher level of agility and compliance, researchers are designing soft robots with elastic bodies (Laschi et al., 2016; Polygerinos et al., 2017; Rus and Tolley, 2015). However, despite the emergence of several soft robotic hardware architectures (Holland et al., 2017; Homberg et al., 2019; Katzschmann et al., 2018; Laschi et al., 2012; Seok et al., 2013), examples that show the execution of dynamic movements and controlled compliant interaction with the environment are still missing. One of the main motivations for building soft robots is to improve dynamic movements and compliant interactions, but robots with rigid structures still outperform their soft counterparts in these tasks (Andersson, 1989; Haddadin et al., 2017; Hong et al., 2017; Kuindersma et al., 2016; Leidner et al., 2014).
This limitation is largely to be attributed to the lack of a soft robotic brain exploiting the embodied intelligence that the elastic body of a soft robot provides (Pfeifer et al., 2012). Both tasks, dynamic movements and compliant interactions, are indeed inherently dynamical, whereas most of the existing control algorithms for soft robots rely only on static modeling (George Thuruthel et al., 2018; Godage et al., 2015a; Lismonde et al., 2017; Mahl et al., 2014; Skorina et al., 2016; Till et al., 2015; Wang et al., 2017; Webster III and Jones, 2010; Zhang et al., 2016) .
An issue that slowed down the development of dynamical control strategies is the difficulty of developing reliable yet tractable mathematical models for soft robots. The general formulation of an exact model requires the infinite dimensionality of the robot’s state space to be taken into account (de Payrebrune and O’Reilly, 2016; Rone and Ben-Tzvi, 2014; Rubin, 2013) . However, the theory of infinite state space control is still confined to relatively simple systems (Curtain and Zwart, 2012), and its applications are still preliminary, even if interesting in their own right (Armanini et al., 2017; Luo et al., 2012). This issue drives the development of simplified models that are capable of describing the robot’s behavior through a finite set of variables. For some hybrid soft–rigid systems the rigid part is dynamically dominant, which allows the soft dynamics to be neglected in the control design (Deutschmann et al., 2017a,b; Skorina et al., 2015). Moving to a more general scenario, finite element methods are commonly used in the mechanical design of soft robots (Chenevier et al., 2018; Polygerinos et al., 2015). However, their high dimensionality limits the practical use of these models for feedback control. Simulations provided in Thieffry et al. (2017) use a linearized finite element model (FEM) to regulate postures. Prior work on dynamic models with finite dimensions also includes discrete Kirchhoff–Love models (Bergou et al., 2008; Greco and Cuomo, 2013), and discrete Cosserat models ( Gazzola et al., 2016; Grazioso et al., 2016; Renda et al., 2017; Sadati et al., 2018). We are not aware of any prior work that applies these dynamic models for the control of soft robots. Dynamic models based on the piecewise constant curvature (PCC) hypothesis were presented in Falkenhahn et al. (2015) and Marchese et al. (2016). The models presented in these works are merely used for generating purely feedforward actuations. To the best of the authors’ knowledge, there has been no previous work on the design and validation of dynamical feedback controllers for soft robots in dynamic tasks, except for our previous conference work (Della Santina et al., 2018), of which this article serves as an extension.
Dynamic control of continuum robots with higher Young’s modulus is a relatively well-studied field. Dynamic models based on the PCC assumption were used by Kapadia et al. (2014, 2010) to achieve static posture regulation. The same task was performed under milder assumptions by Gravagne et al. (2003) and Penning and Zinn (2014). Moving to more dynamic tasks, tracking control is addressed by Hisch et al. (2017 ) and Kapadia and Walker (2011), supported by simulation results only. Kapadia et al. (2010) proposed a sliding mode controller specifically designed for tracking control with an extensible robot made of three segments. They also provided preliminary experimental validations in tracking a single sinusoidal trajectory. Thus, even in this field very limited results exists in developing controllers for dynamic task execution.
Leveraging on this literature, and with the goal of making a step towards the proper exploitation of soft robotic potentials, we propose two feedback control architectures specifically designed for controlling soft robots in the execution of dynamic tasks. The first controller aims to achieve dynamic trajectory following of curvatures in free space. The second controller is an impedance controller that allows the position of the end effector to be controlled in free space and can move along a surface, while staying in contact with that surface. Both controllers rely on an augmented formulation linking the soft robot to a classic rigid serial manipulator with a parallel elastic mechanism. Prior tools developed for this classical type of robot model can be exploited under this formulation (Ott, 2008; Sciavicco and Siciliano, 2012). The effectiveness of both controllers is assessed theoretically within the modeling hypotheses, and through extensive simulations and experiments. Note that only the planar case is considered in this article.
This works makes the following contributions to the control of soft robots:
the first closed-loop dynamic controller for a continuum soft robot capable of dynamically tracking desired curvature evolutions;
the first closed-loop controller for a continuum soft robot capable of dynamically moving in Cartesian space and compliantly tracking a surface;
an “augmented formulation” linking a soft robot to a classic rigid-bodied serial manipulator;
validation of the controllers in simulations and experiments using the planar system in Figure 1.

A dynamically controlled soft robot approaches and then traces along an environment. The robot has six actuated soft segments and is controlled through a model-based Cartesian impedance regulator, one of two control architectures presented in this article.
2. Model
In this section, we propose a framework for modeling the dynamics of soft robots, linking it to an equivalent rigid body constrained through a set of nonlinear integrable constraints. The key property of the model is to define a perfect matching under the hypothesis of PCC, enabling the application of control strategies typically used in rigid-bodied robots onto soft robots.
2.1. Kinematics
In the PCC model, the infinite dimensionality of the soft robot configuration is resolved by considering the robot’s shape as composed of a fixed number of segments with constant curvature (CC), merged such that the resulting curve is everywhere differentiable.
Consider a PCC soft robot composed by n CC segments. We introduce n reference frames

Example of a PCC soft robot, composed of four CC elements. (a) The robot’s kinematics, where
In the interest of conciseness, we consider the planar case. Please refer to Webster III and Jones (2010) for more details about the PCC kinematics in the 3D case. Figure 3 shows the kinematics of a single CC segment. Under the hypothesis of non-extensibility, one variable is sufficient to describe the segment’s configuration. We use the relative rotation between the two reference systems as the configuration variable. Let us call this variable

Kinematic representation of the ith planar CC segment. Two local frames are placed at the two ends of the segment,
The ith homogeneous transformation can be derived using geometrical considerations as
Note that for
2.2. Dynamics
Equation (1) can be reformulated using elemental Denavit–Hartenberg (DH) transformations, as described in Hannan and Walker (2003) and Jones and Walker (2006) . Such equivalence implicitly defines a connection between the soft robot and a rigid robot described by the equivalent parametrization. Figure 3(a) and (b) show two examples of rigid robotic structures matching a single CC segment. More complex rigid structures for generic PCC soft robots can be built by interconnecting such basic elements.
From a kinematic point of view, any representation satisfying the condition that the end points of each CC segment coincide with the corresponding reference points of the rigid robot is equivalent. However, as soon as we consider the dynamics of the two robots, another constraint has to be taken into account: the inertial properties of the augmented and the soft robot must be equivalent. In the hypothesis of negligible rotational inertia, this can be obtained by matching the centers of mass of each CC segment by an equivalent point mass attached to the rigid robot structure. Figure 4(c) and (d) present two examples of rigid structures dynamically matching a CC segment. The first example uses the approximation of a point mass placed on the middle of the main chord, whereas the second example can be used to match more accurate hypotheses such as that described by Godage et al. (2015b).

Examples of rigid robots matching a single CC segment: (a) RPR; (b) RPPR (kin.); (c) RPPR (dyn.); (d) RPRPR. Several of these basic elements can be connected to obtain a representation of a PCC soft robot: (a) and (b) show two robots matching the segment’s kinematic; (c) and (d) show two robots matching the segment’s dynamics, with two different hypotheses on the mass distribution. In (c), the center of mass is in the middle of the chord. In (d), the added rotational degree of freedom allows the center of mass to be moved along the symmetry axis of the arc.
We refer to the state space of the equivalent rigid robot as the augmented state
The map m is such that the nonlinear constraint
Consider, for example, the middle point of the chord as an approximation of the mass distribution of the CC segment, see Figure 4(c). For that representation we report the dynamically consistent DH parametrization in Table 1. The corresponding map is
Description of the rigid robot equivalent to a single CC segment. The parameters
Figure 5 presents the CC segment and the corresponding rigid counterpart for five postures ranging from

Examples of a dynamically consistent augmented robot (RPPR) matching a single segment. We show five different configurations corresponding to the degrees of curvature ranging from
The dynamics of the augmented rigid robot are
where
The dynamics of the soft robot is, thus, described by Equation (6) expressed on the sub-manifold implicitly defined by the map
where
where
This generalized balance of forces can be projected by pre-multiplication with
where
Note that the terms in (6) can be efficiently formulated in an iterative form, as discussed in Featherstone (2014). The dynamic model for the soft robot derived in (10) inherits this computational advantage through (11).
We complete (10) by introducing elastic and dissipative terms. It is convenient to evaluate the impedance directly for the PCC soft robot using the configuration variable q, and its derivative

A segment with CC. An internal torque
where
Similarly, we introduce an infinitesimal linear damper in parallel to each spring. It generates a force equal to
As
Thus, in the PCC hypothesis, elastic and damping actions can be described by two linear terms:
Furthermore, we assume the soft robot is actuated through a pair of internal torques for each segment applied as shown in Figure 6. The mapping between actuations and generalized torques can be evaluated using the Jacobians as defined in (11). In the planar case, the mapping is the identity. For the sake of space we do not report the calculation of these Jacobians. Note that directly controlling
where
2.3. Model properties
The proposed model verifies a set of basic properties of classical rigid robots, of which we report a selection in the following. Note that they could be derived directly by relying on fundamental characteristics of Lagrangian system (Bullo and Lewis, 2004). Nonetheless, we prefer to derive them from scratch, so as to make the work self-contained. These properties are of particular interest for the aim of the present article, because they are used for proving the stability of the two proposed controllers in Section 3.
Proof. We start by evaluating the time derivative of the inertia matrix, using its definition in (11)
Note that in this proof we omit arguments for the ease of reading. Combining (16) with the expression of C in (11) yields
The skew symmetry of the first term of the sum follows by direct application of the quadratic form definition. Indeed, for every
where for the last step we exploit the skew symmetry of
and that the sum of skew-symmetric matrices is also skew symmetric.□
if
Proof. For the first property, we start by considering that
For the second property, the submultiplicative property of the matrix norm of a square matrix tells us that
Proof. The inertia matrix
where
where
Combining (11), (20), and (21), the following holds
The application of the Sylvester inequality (Petersen and Pedersen, 2008) yields
Note that
As B lives in
then
Proof. Extracting the norm from the definition of C in (11) yields
Recalling that
with
We can now plug these inequalities back into (27), obtaining
The thesis follows by defining
□
3. Control design
While it is largely accepted for describing the kinematics, the use of a PCC model in representing the infinite dimensionality of a soft robot can always introduce some mismatch with respect to the real system. The same holds for the introduction of approximations in the inertia distribution. Thus, it is critical to design controllers that are able to exploit the information given by the proposed model, while being robust to uncertainties. We thus avoid the use of complete feedback cancellations of robot dynamics (De Luca and Lucibello, 1998), as well as other kinds of control actions that present robustness issues in classic robots, such as pre-multiplications of feedback actions by the inverse of the inertia matrix (Nakanishi et al., 2008).
In the following, we present two novel feedback controllers following the described design principles. The first aims at implementing trajectory tracking in curvature space, whereas the second targets Cartesian impedance control with surface following. Note that the following results hold for any choice of maps
3.1. Curvature dynamic control
We propose the following controller for implementing trajectory tracking in the soft robot’s state space q
where

Block scheme of the proposed controller (32), for trajectory tracking in curvature space. The algorithm is composed of a pure feedforward term
The resulting form of the closed-loop system is
The feedforward action
Let us consider for a moment the case for which
Proof. Let us define the error variable
which is a nonlinear time-variant system owing to the explicit dependency from
The thesis can now be proven by considering as radially unbounded Lyapunov candidate the following natural extension of the energy function
Note that in order to become a candidate, B has to be positive definite. This is assured by Corollary 1.
The time derivative of V is
By substituting (35), we obtain
Using Lemma 1, the first term falls away and we obtain
As (35) is time-variant, LaSalle’s invariance principle cannot be applied directly for proving the stability of the closed-loop system (Khalil, 1996). We must instead invoke Barbalat’s lemma (Slotine and Li, 1991), which requires
which can be bounded as follows
where
where we invoked Lemma 3, and we exploited the limitedness of the desired trajectory, which is imposed by hypothesis. The thesis follows by direct application of Barbalat’s lemma (Slotine and Li, 1991).
3.2. Preliminary robustness analysis
Here, we consider uncertainty in the knowledge of the stiffness and damping matrices, represented as
where
Uncertainties only appear as an additional feedforward excitation of the system’s dynamics. Note that the unperturbed closed-loop system (33) is globally asymptotically stable as proven by Theorem 1. This implies that (44) is contractive, as discussed in Lohmiller and Slotine (1998). Contractiveness assures convergence of all the trajectories of the system to a single one independently from the initial condition. To prove practical stability is then sufficient to find at least one trajectory of the system that does not diverge. Consider, for example, a quasi static reference, that is
which, in turn, is globally asymptotically stable thanks to the contractiveness of the system. Therefore, having uncertainty in the knowledge of stiffness and damping matrices just moves the equilibrium by
In case
with
Proof. The closed loop of the system is obtained from the application of (46) to (15) and results in
with
This closed loop generalizes (33). The thesis follows by applying Theorem 1 under consideration of hypotheses
The control approach actually enforces robustness. The system’s closed-loop equilibrium becomes
Here
3.3. Cartesian stiffness control
We consider a set of contact points with coordinates
A correct regulation of the impedance at the contact points is essential to implement robust and reliable interactions with the environment (Ott, 2008). We propose to implement the desired compliant behavior through the following dynamic feedback loop
where
that can be used to map forces in configuration space towards their counterpart in operational space. Here
with the dependencies on
The term

Block scheme of the proposed controller (49), for Cartesian impedance control. The algorithm is composed of three terms: the actual Cartesian spring–damper system
The following theorem assures that the closed-loop system implements the desired compliant behavior at the contact point.
for all
Proof. We augment the operational space of the soft robot at the velocity level through a set of complementary velocities
where
Thus, Equation (54) yields
Using the Jacobian from (54) we can apply a transformation into operational space (Ott, 2008: Ch. 4) on the system (15) to obtain the open-loop operational space dynamics
The matrix
Substituting the controller (49) into (56) yields
where we exploited that
Through simple algebraic manipulations, Equation (57) yields
Note that the controller left the dynamic terms unchanged and only removed the dynamic coupling with the residual dynamics, as discussed earlier in this section.
We prove the thesis for a generic evolution
where
which is radially unbounded and uniformly positive for each
where we used (60) for the first step, and the skew symmetry of
Invoking the LaSalle–Yoshizawa theorem (Khalil, 1996) yields
Remark 4. Equation (49) performs a cancellation of only the parts of the elastic field and the dissipative forces that act on the operational space dynamics. In this way, the redundant degrees of freedom can reach a natural equilibrium without the need to explicitly impose such. This is in contrast to the rigid case where it is necessary to impose the equilibrium (Ott, 2008).
3.4. Contact planning
For the sake of clarity, we consider in the following as a single point of contact the soft robot’s end effector, that is
This allows higher-level policies to be written in an intuitive way. We define a local frame
the coordinate
the occurrence of a contact between the end effector and the environment, acquired by isInContact();
parallel
the final target

The goal of the proposed Cartesian impedance controller is to simulate the presence of a spring and a damper connected between the robot’s end effector and a point in space
We specify the value of
The environment provides guidance for the end effector that helps to keep the error between the desired and the actual position low in the perpendicular direction
4. Simulation results
We first introduce the FEM used for the simulation, followed by a description of the considered identification procedure. We then introduce the benchmark controller, which we then use for comparisons with our proposed curvature and Cartesian impedance controllers. For the simulation results presented in this section, we assume the map given in (4) for the implementation of our control strategies described in Section 3. This map implements the configuration of Figure 4(c) and presents a balanced trade-off between good modeling accuracy and low complexity in the number of states.
4.1. Considered model
In this section, we validate the proposed control strategies outside the design hypothesis of PCC. The control algorithms are applied to a planar soft manipulator that is simulated through a FEM. The model is the discretization of a continuum rod as a series of infinitesimal links (see, for example, Penning and Zinn, 2014).
The total length of the arm is 1 m, and the arm is divided into six actuated segments of length 0.175 m. Each segment is discretized into 10 rigid links, connected through revolute joints with parallel axes. We refer to the joint angles as
The state
4.2. Identification
The model (15) has several free parameters, those are masses
The remaining parameters are identified by minimizing the 2-norm of the error between the estimated and measured evolutions. This can be done by rewriting the dynamics as a balance between the known dynamical forces, and the product of unknown parameters and their regressor (Ljung, 1998). We use the More–Penrose pseudo–inversion to extract the solution
where
4.3. Benchmark controller
We compare the simulated results against state-of-the-art benchmarks in continuum soft robot manipulators. More specifically, for regulating the robot’s configuration q we consider a proportional–integral–derivative (PID) controller as discussed by Bajo et al. (2011), Marchese and Rus (2016), and George Thuruthel et al. (2018) and described by
where
We could not find in the state of the art any insight about tuning the PID gains for soft robots. In order to have a standard comparison, we consider the well-known Skogestad internal model control (SIMC) tuning rule (Skogestad, 2003), which can be regarded as the state of the art in PID tuning. Using the SIMC-PID tuning, the resulting gains are
To regulate the end effector for this comparison, we use the kinematic inversion algorithm
where q is the robot’s configuration,
4.4. Trajectory tracking in curvature space
We test the ability of the curvature controller (32) to produce an accurate trajectory tracking in curvature space q with the following trajectory
We consider
where

Simulation results of the tracking of a sinusoidal reference are shown in curvature space. The task is repeated by varying the frequency

Evolution in curvature space q shown for the trajectory tracking of (67), with
4.5. Cartesian impedance control and surface following
We consider the task of reaching a point on a planar surface. The surface is placed vertically at a
where

Two sequences represent the robot’s behavior during the whole simulation for the two considered controllers: benchmark controller SIMC-PID (64)–(65) in (a), and proposed curvature controller (32) in (b). The trajectory of the end effector is represented by the black solid line. In the first phase, the soft robot approaches the environment, which is represented by a gray rectangle. After that follows the second phase, where the controller tries to move the tip of the robot along the surface to the target point, which is represented by a red cross. The benchmark controller moves in the wrong direction and then remains stuck in an undesired configuration, whereas the proposed controller reaches the desired configuration with negligible error.
Figure 12 shows the resulting behavior of the soft robot for each of the two controllers. The benchmark (Figure 12(a)) behaves well until the contact with the environment is established. After that, it starts moving the end effector in the wrong direction, away from the target. This is due to the non-diagonal form of the Cartesian stiffness matrix. A horizontal force generates a vertical displacement owing to the non-diagonal coupling terms. The robot ends up stuck in an undesired equilibrium while pushing towards the wall. In contrast, the proposed controller produces a desired impedance behavior at the end effector and does not manifest this problem. Figure 13 presents the evolution over time for the position of the end effector.

The evolution of the soft robot’s tip is shown in Cartesian space. The horizontal direction is orthogonal to the surface, and thus after the contact it remains constant.
We present in Figure 14 the evolution of full configuration

The evolution of the curvature of each segment shown over time: (a) segment 1; (b) segment 2; (c) segment 3; (d) segment 4; (e) segment 5; (f) segment 6. The equivalent PCC bending angle q is presented as a solid line, whereas the corresponding FEM angles, ten per segment, are presented as dotted lines. Under PCC hypothesis, the FEM angles of each segment should be identical, and their sum equal to the corresponding PCC bending angle. Thus, to help in graphically evaluating the hypothesis we plotted FEM angles with a scale an order of magnitude smaller than that used for the PCC angles. In this way, dotted and solid lines should be superimposed, under PCC hypothesis. In each segment the actual local curvatures of each finite element are instead widely spread around the PCC curvature q, showing that the FEM simulation is outside the simplifying hypothesis of CC per segment.
Repeating the two simulations for 30 targets equally distributed between
5. Experimental results
In this section, we first describe the experimental setup, followed by the identification procedure. Using these identified parameters, we then validate the proposed curvature controller and the Cartesian impedance controller with surface following. Just as we did it for the simulation, we also assume the map given in (4) for the experimental implementation of our control strategies described in Section 3. Again, the map presents a balanced trade-off between good modeling accuracy and low complexity in number of states.
5.1. Experimental setup
In Figure 1 we show the experimental setup on which we tested the proposed control strategies. It is a modified version of a soft planar robotic arm previously used for kinematic motions within confined environments (Marchese et al., 2014), and for autonomous object manipulation (Katzschmann et al., 2015). The robot is highly deformable, as shown heuristically in Figure 15.

The soft robot used for the validation of our algorithms is highly compliant. (a) The robot at rest. (b) The behavior of the soft robot when subject to a small axial pulling force. (c) and (d) Two different viewing angles showing the result of a large torsional wrench applied to the soft robot.
The soft robot used here is composed of six segments with inflatable cavities that allow for bidirectional actuation of each segment. Each segment of the soft arm is 6.3 cm long. The connecting element between each segment is supported vertically by two ball transfers that allow the arm to move with low friction on a level plane. The independent pneumatic actuation of the bidirectional arm segments is achieved through an array of 12 pneumatic cylinders driven by linear actuators.
2
The available inputs to our soft robot are the desired placements of the pistons within the cylinders. They are expressed in encoder tics, ranging from
where

Steady state in bending angle
We use a motion capture system
4
to acquire the robot’s posture. The system provides real-time measurements of groups of reflective markers along the back of the soft arm. Groups of four markers are placed at the root and the end of each segment in order to identify the reference frames
The software architecture is executed on two PC workstations. The first workstation acquires in real-time data from the motion capture system, evaluates the control action, and communicates it to the second workstation via the User Datagram Protocol (UDP). The code is implemented in MATLAB R2017b. We use Peter Corke’s robotics toolbox (Corke, 1996) to evaluate
5.2. Identification
The identification procedure is analogous to that introduced in Section 4.2. In addition to stiffness and damping, we account here for the presence of the actuators by introducing a set of gains
where
The identification data are collected in three experiments. In each one a saturated ramp is injected into each pneumatic cylinder. The amplitudes are 500 tics, 700 tics, and 900 tics, respectively. We choose a ramp with a slope equal to 166 tics s−1 for all the experiments, manually fixed so to be under the velocity saturation threshold of the motors. We run the whole identification procedure at the beginning of each session of experiments. The identified parameters across 10 runs of the algorithm are
The lengths
5.3. Curvature control
To test the curvature controller (32), we start by considering the tracking of
thus testing the effectiveness of the proposed controller for an exhaustive range of frequencies and amplitudes. The maximum bending amplitude in Cartesian coordinates is reached at the tip, and it is equal to

Experimental performance of the curvature controller (32) is shown for tracking the trajectory (73). We consider 12 pairs with varying amplitude
Figure 18 shows the evolution of bending angle q and commanded torques

Experimental evolutions over time resulting from the application of the curvature controller (32) in tracking the trajectory (73) for

Photo sequence of one oscillation resulting from the application of the curvature controller (32): (a) 17.4 s; (b) 17.75 s; (c) 18.1 s; (d) 18.45 s; (e) 18.8 s; (f) 16.2 s; (g) 16.55 s; (h) 17.9 s; (i) 17.25 s; (j) 17.6 s; (k) 17 s; (l) 17.25 s; (m) 17.5 s ; (n) 17.75 s; (o) 18 s. (a)–(e) show how the arm is tracking trajectory (73), with
In Figure 20 we present the tracking of

Experimental evolutions resulting from the application of controller (32) in tracking trajectory (74). In (a) the bending angle q evolution for the tracking experiment is shown, whereas (b) presents the corresponding actuation torques
with
Finally, in Figure 21 we present the tracking of

Experimental evolutions resulting from the application of controller (32) in tracking trajectory (75). In (a) the bending angle q evolution for the tracking experiment is shown, whereas (b) presents the corresponding actuation torques
with
5.4. Cartesian impedance control and surface following
Figure 22 presents the evolutions resulting from the application of (49) in regulating the soft robot’s end effector position. The input to the pistons is produced by dividing

Experimental evolutions resulting from the application of the Cartesian impedance controller (49) in regulating the end-effector position. (a) The evolution of the end effector x, where dashed lines indicate the desired steady state and solid lines show the resulting evolution. (b) The bending angle q evolution for the tracking experiment. (c) The corresponding actuation torques
The desired end effector position is
However, the main feature of the Cartesian Impedance regulator is to generate reliable interactions with an unstructured environment. We thus test (49) in combination with Algorithm 1, in implementing the desired surface following behavior.
At the beginning of each experiment, a surface is placed in front of the robot, as shown in Figure 24(a), (f), (k), (p), and (u). Remember that the robot is not aware of the exact shape of the surface, or its position. The only information that Algorithm 1 uses are the presence of a contact, a measure of the local tangent direction
As described in Algorithm 1, the experiment is divided into two phases. In the first phase, the end effector of the soft robot is attracted toward a point within the environment, which is defined manually. After contact is established, it triggers the execution of the second phase. The end effector is now pulled towards a new target while staying in contact with the environment.
We repeat the experiment for five different locations of the environment. For all the experiments

Experimental evolutions resulting from the application of the Cartesian Impedance controller (49) in tracing a surface towards a desired end-effector position. Algorithm (9) is used to command a desired end effector evolution. (a) The evolution of the end effector x. (b) The bending angle q evolution for the tracking experiment. (c) The corresponding actuation torques

Five photo sequences of the soft robot controlled to reach the surface of an environment, trace along the surface, and then reach a desired end position at the other end of the surface: (a) 0 s; (b) 1 s; (c) 2 s; (d) 3 s; (e) 4 s; (f) 0 s; (g) 1 s; (h) 2 s; (i) 3 s; (j) 4 s; (k) 0 s; (l) 1 s; (m) 2 s; (n) 3 s; (o) 4 s; (p) 0 s; (q) 0.75 s; (r) 1.5 s; (s) 2.25 s; (t) 3 s; (u) 0 s; (v) 1 s; (w) 2 s; (x) 3 s; (y) 4 s. The Cartesian Impedance controller (49) and Algorithm 1 are used to realize this behavior. The system is able to reach the goal position on the surface for each of the considered placements of the environment.
6. Conclusion
In this article, we have presented two new algorithms that achieve dynamic control of a soft robotic arm and enable interactions between the soft robot and an environment. Both algorithms leverage on the idea of connecting the soft robot to an equivalent augmented rigid robot in such a way that the matching is exact under the common hypothesis of CC, and under the introduced hypothesis on the distribution of mass. Although we consider our modeling approach advantageous for the use in model-based controllers, this model is not the first using lumped parameters to simplify the dynamics of a robot. In addition to the works already discussed in the introduction, we would like to point the interested reader to Giri and Walker (2011), Zheng et al. (2013), Kang et al. (2012), and Giri (2011). This work extends the conference paper (Della Santina et al., 2018) by providing an extended analysis of the augmented formulation mapping a rigid robot to a PCC robot, revised control algorithms together with an in-depth theoretical analysis, simulations that extensively test the performance of the controllers outside the modeling hypotheses, and new experiments on a longer soft robotic arm with larger actuation space. Future work will be devoted to comparing the experimental performance of the proposed algorithms with more standard techniques, as for example PID with kinematic inversion. The control algorithms presented in this article have been evaluated in the context of exploring a two-dimensional surface using a soft planar robotic arm. However, the potential for this work is much broader. The control algorithm is general and has the potential to enable a wide range of dynamic tasks, ranging from exploring three-dimensional spaces through contact, learning the geometry of the world, picking up delicate objects, moving heavy objects, and enabling dynamic interactions with the world. The main limitation preventing a straightforward translation of our algorithms to the three-dimensional case is the well-known kinematic singularity afflicting PCC kinematics in the straight configuration (Jones and Walker, 2007; Webster III and Jones, 2010). We are currently carrying out work expanding on the PCC parametrization for the three-dimensional case by considering alternative kinematic solutions including Godage et al. (2016), Rone and Ben-Tzvi (2014), and Godage et al. (2015a). We preliminary present these results in Katzschmann et al. (2019) and Della Santina et al. (2019).
Our work should be interpreted as a first step towards equipping soft robots with higher-level performances, rather than the definitive solution. This work aims at following the methodological path that emerged as a best practice in control theory, including rigid-bodied robot control. This is to isolate the fundamental properties of the system from ancillary characteristics of the specific systems, tackle the first, and then start considering specific ways of taking into account the latter, one by one. The properties falling in the first category are the inner nonlinearities produced by the mathematical structure of the problem, i.e., by the multi-body dynamics, and its interaction with the robot’s impedance. The practice of control design proved that attacking the problem in this way allows solid theories to be built, which at the same time work well in practice. We will devote a large part of our future work to tackling these robot-specific characteristics, proposing ways of integrating them in the general controllers that we propose in this article We will also investigate the possibility of further increasing the control performances by including actuator dynamics in the model of the robot.
Footnotes
Acknowledgements
Cosimo Della Santina and Robert K Katzschmann contributed equally to this work. Cosimo Della Santina would like to thank Prof. Alessandro De Luca for the very insightful suggestions on how to improve the theoretical soundness of this work.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by the National Science Foundation (grant numbers NSF 1830901 and NSF 1226883).
