Computational Design of Skinned Quad-Robots
Xudong Feng, Jiafeng Liu, Huamin Wang, Yin Yang, Hujun Bao, Bernd, Bickel, Weiwei Xu

TL;DR
This paper introduces a computational system for designing, optimizing, and fabricating quad-robots with soft skins, integrating multibody dynamics and elastic behavior for accurate motion control and practical manufacturing guidance.
Contribution
It presents a novel integrated design and optimization framework for soft-skinned quad-robots, including a new motion control strategy and fabrication tools, validated through simulations and prototypes.
Findings
Successful simulation of robot dynamics and motion trajectories.
Fabricated prototype demonstrating system feasibility.
Efficient optimization scheme reduces computational costs.
Abstract
We present a computational design system that assists users to model, optimize, and fabricate quad-robots with soft skins.Our system addresses the challenging task of predicting their physical behavior by fully integrating the multibody dynamics of the mechanical skeleton and the elastic behavior of the soft skin. The developed motion control strategy uses an alternating optimization scheme to avoid expensive full space time-optimization, interleaving space-time optimization for the skeleton and frame-by-frame optimization for the full dynamics. The output are motor torques to drive the robot to achieve a user prescribed motion trajectory.We also provide a collection of convenient engineering tools and empirical manufacturing guidance to support the fabrication of the designed quad-robot. We validate the feasibility of designs generated with our system through physics simulations and…
| Robot | Joints | Skin | Glue | Weight | Opt. |
|---|---|---|---|---|---|
| Beetle-like | |||||
| Monster-like | |||||
| Lizard-like |
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.
Taxonomy
TopicsHuman Motion and Animation · 3D Shape Modeling and Analysis · Music Technology and Sound Studies
Computational Design of Skinned Quad-Robots
Xudong Feng, Jiafeng Liu, Huamin Wang, Yin Yang, Hujun Bao, Bernd Bickel, and Weiwei Xu Xudong Feng, Jiafeng Liu, Hujun Bao and Weiwei Xu are with State Key Lab of CAD& CG, Department of Computer Science, Zhejiang university, Zhejiang 310058, China. Weiwei Xu is the corresponding author.
E-mail:{bao, xww}@cad.zju.edu.cn Huamin Wang is with Department of Computer Science and Engineering, Ohio State University. E-mail:[email protected]. Yin Yang are with the Department of Electrical and Computer Engineering, University of New Mexico. E-mail: [email protected]. Bernd Bickel are with Institute of Science and Technology Austria, Vienna, Austria. E-mail: [email protected].
Abstract
We present a computational design system that assists users to model, optimize, and fabricate quad-robots with soft skins.Our system addresses the challenging task of predicting their physical behavior by fully integrating the multibody dynamics of the mechanical skeleton and the elastic behavior of the soft skin. The developed motion control strategy uses an alternating optimization scheme to avoid expensive full space time-optimization, interleaving space-time optimization for the skeleton and frame-by-frame optimization for the full dynamics. The output are motor torques to drive the robot to achieve a user prescribed motion trajectory.We also provide a collection of convenient engineering tools and empirical manufacturing guidance to support the fabrication of the designed quad-robot. We validate the feasibility of designs generated with our system through physics simulations and with a physically-fabricated prototype.
Index Terms:
Computational Fabrication, Motion Design, 3D-Printing, Physics-based Simulation.
1 Introduction
The design and construction of robots that can execute compelling motions is a challenging task. It requires careful geometric planning of robotic mechanisms and professional knowledge of the kinematic and dynamic behavior of the robot. Embedding such knowledge into procedures of computational robot design [1, 2] in conjunction with rapid prototyping techniques, such as 3D printing technology, bears tremendous potential to accelerate the construction of personalized robots. For instance, Megaro et al. [3] used a kinematic optimization algorithm for the design of multilegged robots consisting of rigid links. However, real-world creatures are not merely rigid skeleton rigs. The muscle and flesh surrounding the skeleton provides diverse morphologies, enriched expressivity. For instance, people wearing a prosthetic limb often prefer a highly realistic rubbery artificial arm over a more functional mechanical one [4]. Moreover, skins and muscles might be essential for facilitating challenging tasks, such as reproducing compliant grasping of a hand or swimming motions of a fish [5, 6].
Different to the simulation of the robots with rigid links only, the influence of the soft body on the control torques at actuators and on the contact forces at the ground should be simulated and fully taken care of to judge the plausibility of a designed soft robot. This imposes a significant computational challenge for the motion design and fabrication of skinned robots. In this paper, our goal is to address this problem by integrating both dynamic simulation and kinematic optimization into the motion design of quad-robot systems, with soft skins attached as their organic embodiments. Its kernel is an optimization problem that integrates both user-provided kinematic preference and physical constraints of the robot to obtain a dynamically feasible motion plan. The primary physical constraint is the dynamic viability of the skeleton trajectory when a soft skin is attached. The dynamics of the robot is formulated as two-way coupled subsystems of the rigid multibody system and the deformable skin. In addition, our system also incorporates motor constraints and a stability constraint. The motor constraints ensure that the calculated joint torques are within the physical limits of the installed servo motors, whereas the stability constraint requires the center of projection (COP) of the robot structure to fall inside the supporting polygon. As a result, given the surface mesh and desired kinematic trajectories of the robot, our pipeline generates a physically-valid motion plan that can be realized under the given hardware constraints. The robot itself can be fabricated using rapid prototyping technology.
While space-time optimization is widely used in long-horizon motion design problem, it is computationally prohibitive if directly applied to our case of two-way coupled system, mostly due to the large number of DOFs of the soft skin mesh coupled with the skeleton and various physcial constraints. To this end, we propose an alternating optimization algorithm of two optimization steps to mitigate the computational cost: (1) Space-time optimization with repect to the DOFs of the rigid skeleton while assuming the deformation of the soft skin remains the same as the previous iteration. (2) Frame-by-frame optimization as in [7] to further optimize the motion plan obtained in step 1 according to all the physical constraints at each frame. To this end, we non-trivially extend the spring-based control force formulation in [7] to handle the full simulation of the two-way coupled rigid skeleton and soft skin. Our solver can efficiently handle the Lagrange multipliers introduced by the coupling constraints and the collisions between the skeleton and skin. With a proper initialization, these two steps are alternatively executed until the convergence. In the space-time optimization step, the influence of the soft skin to the rigid skeleton is treated as known quantity and simplified to be the coupling forces and the influence of the center of mass (COM) at each link in the skeleton due to the skin deformation. This setting makes the space-time optimization computationally efficient through decoupling the skin mesh DOFs, which is critical to achieve global effect in the motion design. The skin deformation is updated after each frame-by-frame optimization.
To ease fabrication, we provide a convenient workflow with tailored engineering tools and empirical fabrication guidance embedded in a standard CAD software, empowering regular users to design quad-robots. The modular design scheme allows the user to quickly start from a design template of the mechanical skeleton in SolidWorks and adapt it to the body shape. The rigid skeleton is fabricated via 3D printing, and the skin is separately fabricated using injection molding by pieces. We tested the optimization algorithm on skinned quad-robots with varying body-to-leg ratios and different mechanical skeletons. Both physical and numerical experiments show that the proposed algorithm is an effective means of obtaining physically valid motions of the skinned quad-robots.
2 Related Work
Computational fabrication aims at designing and creating physical artifacts with the help of computational methods. A large class of methods addresses inverse design problems by incorporating fabrication limitations in geometric design algorithms via constrained optimization or the integration of fast simulation techniques [8, 9]. This line of research enables the design of objects with a wide range of controllable physical and mechanical properties, such as appearance [10, 11, 12, 13], deformation [14, 15, 16, 17], articulation [18, 19, 20], and mechanical motion [21, 22, 23, 24, 25]. Some existing contributions also investigated how to instantiate virtual characters as 3D-printable physical entities like mechanical robots [21, 3]. Yet, these methods merely focus on robots consisting of rigid links and basic balancing constraints and/or velocity limits.
Bickel et al. [26] proposed a process for designing synthetic skin and actuation parameters for animatronic characters that mimic facial expressions of a given subject. Skouras et al. [15] optimized the internal material distribution so that the resulting character exhibits the desired deformation behavior. Focusing on actuation, Bern et al. [27] computed the layout of winch-tendon networks to animate plush toys, and Ma et al. [28] optimized the chamber structure and material distribution for designing soft pneumatic objects.
Our work shares some of these goals but takes a significantly different approach. Instead of relying on a rigid or quasi-static underlying simulation of the skin deformation in our case, the influence of the soft skin on the embedded moving mechanical skeleton makes us face a dynamic two-way coupled multibody-elastic problem. It is much more challenging to accurately simulate and optimize due to the drastically increased system complexity, nonlinearity and discontinuity, i.e., due to the complimentary constraints enforced at the contact vertices.
Physics-based character motion generation has vast applications in both graphics and robotics. Algorithmic approaches include leveraging space-time optimization with necessary physical constraints and developing controllers to drive forward simulations.
The seminal work by Witkin and Kass [29] generated motion trajectories by optimizing physical constraints and animator controls at key frames, a well-known space-time constraints framework for animation. With proper motion data, the space-time optimization produces realistic articulated motions for bipedal or multilegged characters through different physical properties [30, 31, 32, 33, 34, 35, 36, 37, 38]. It can be used to transform motion capture data into physically plausible motions [39].
The locomotion controller aims to compute joint torques or control forces to drive the locomotion behaviors of articulated figures. The joint torques are usually calculated via the proportional and derivative (PD) controller such that the rigid skeleton of a character follows designated joint angle trajectories [40, 41, 42]. Balance control strategies, such as the swing foot placement or zero moment point, are essential to generating stable locomotions. [40, 41, 43, 44, 45, 46, 47, 48]. Continuous adaptation of the target joint trajectory for balancing a walking human was developed in [49]. Controllers that produce highly dynamic skills for human animation were suggested in [50, 51, 52]. The joint torques can also be computed via optimal control to approximate the motion capture data or motion data from kinematic simulators [53, 54].
Our work is inspired by studies on how to drive the soft skin deformation with the underyling rigid skeletons or pseudo muscle force [55, 56, 7]. Two-way coupling of rigid bodies and elastic bodies was considered in [57]. Fast simulation and control of soft robots of various configurations and actuations has also been studied using finite element method and the reduced formulation of compliance matrix [58, 59, 60, 61, 62].
Elastic body simulation focuses on the formulation of an elastic deformation energy and the proper handling of contact constraints to simulate realistic deformations of soft bodies [63, 64, 65, 66]. A comprehensive survey of physics-based elastic deformation models can be found in [67].
Space-time optimization techniques can also be applied to control the motion of elastic bodies that are represented by volumetric meshes. To reduce the number of variables used to control the vertex positions in the optimization, model reduction techniques are frequently used [68, 69, 70]. Barbič et al. [68] imposed the equation of motion constraint in elastic body deformation, using the discrete adjoint method to compute the gradients of control forces. Pan et al. [71] integrated the contact forces as additional variables to handle environment interactions and solved the space-time objective with alternating optimization, but did not handle the two-coupling problem we want to solve.
3 Overview
Given an input surface mesh of a quad-robot, we first design mechanical skeleton and skin mesh (Section 6.1) for the robot, and then use the proposed two-step alternating algorithm to optimize for a physically plausible motion plan (Section 5). The overall system flowchart is illustrated in Fig. 1.
During the alternating optimization, the first space-time optimization step outputs joint angle trajectories for the design according to the user-specified end-effector and COM trajectories (Section 5.1). This step is made possible by only considering the approximated skin deformation. The second frame-by-frame optimization step improves the physical plausibility of the joint angle trajectories with full simulation and various physical constraints(Section 5.2), such as physical torque limits for the selected motors in the design. Two-way coupled multibody-elastic dynamics (Section 4) are adopted in this step for the full simulation.
Finally, the designed robot is fabricated by fast prototyping methods for a physical validation (Section 6.2), and stepper motors are mounted to drive the skeleton and the attached soft skin to realize the motion plan.
4 Two-way Coupled Multibody-Elastic Dynamics
A core ingredient of our system is the dynamic simulation of the robot using a self-actuated rigid skeleton with a soft skin attached. We are inspired by existing coupled simulation systems in graphics [72, 73, 74] and exploit the Lagrange multipliers method to enforce the two-way coupling between the skeleton and the soft skin, which can be naturally integrated into the subsequent locomotion optimization. The Lagrange multipliers are used to guarantee that the skeleton and skin are attached to each other at prescribed locations, and we solve for all the unknown DOFs from both subsystems simultaneously.
4.1 Two-Way Skeleton-Skin Coupling
We use Lagrangian mechanics for both the rigid skeleton and soft skin and obtain a symmetric formulation for these two subsystems. To ease the formulation of motion contraints, we use the generalized coordinates to parameterize the entire skeleton, where . The vector is composed of the Cartesian coordinates of the center of mass (COM) at the root link and the three Euler angles at each joint . We opt to model the soft skin using the neo-Hookean material model [75] because it has been demonstrated to be well suited for robotic skins made out of silicone [76] and can handle large local deformations induced by joint rotation observed in our examples. If necessary, however, our approach should be easily extensible to more sophisticated material models such as Mooney-Rivlin and Ogden. The DOFs representing the vertex displacements of the tetrahedral skin mesh are denoted by the vector . Though numerical discretization, the equations of the forward simulation of rigid skeleton and soft skin at each time step can be written into a linear system , where is the system matrix and is a vector of the sum of constant terms and external forces. The detailed derivation of two linear systems, , for rigid skeleton and , for soft skin, are elaborated in Appendix A.
The two subsystems are coupled by attaching the soft skin to the underlying skeleton at prescribed glue vertices. Mathematically, this straightforward treatment leads to a set of nonlinear position constraints:
[TABLE]
The matrix converts the positions on the rigid links where the skin is attached, , from local to world coordinates. This operation can be easily expressed as a rotation chain from the links all the way back to the root. Meanwhile, concatenates the root translations of the rigid links, and denotes the positions of the glue vertices on the skin mesh , where is a selection matrix.
Using the Lagrange multipliers method, we obtain the coupled multibody-elastic system:
[TABLE]
The coupling constraint is linearized via . In each time step, we solve for the changes of the system DOFs in Eq. 30. Thus, we have and , where the superscript indicates the frame index.
4.2 Collision and Contact Handling
There are two types of collisions/contacts we need to take care of in our simulation. The first is the collision between the robot’s feet and the ground surface, which provides necessary support and friction forces to the robot. As will be detailed in Sec. 5.2, we resolve them using linear complementary constraints (LCP) to guarantee the physical feasibility of the locomotion.
The second is the self-collision of the soft skin; rotating joints tend to compress the inward skin and induce self-collisions. Moreover, skin-skeleton collisions111As discussed in Sec. 6, skin-skeleton collisions can occur between the skin and the bracing unit, not the mechanical skeleton. could also occur when the skeleton is being articulated. Because such collisions typically take place under low relative velocities, we handle them using the explicit penalty force method [77, 78].
5 Motion Plan Optimization
As the system input, the trajectories of the COM, end effectors, and the footfall pattern are provided by the user. Our system generates a dynamically feasible motion plan for the robot that resembles as much as possible the one prescribed by the user. A motion plan, defined as , includes the skeleton configuration of the -th frame for to , and the time step size .
Previous works, e.g. [Megaro et al 15], solved the motion design problem by simultaneously finding the optimal skeleton configuration for all the frames in . However, this problem becomes much more challenging in the case of a multibody-elastic system, due to the large number of DoFs and associated physical constraints. Thus, the global approach with full DOFs is infeasible in our case. In this section, we elaborate the details of our two-step alternating motion plan optimization algorithm which uses approximated skin deformation to significantly improve the efficiency of the global space-time optimization. Specifically, the influence of the skin deformation on the skeleton is approximated as the coupling forces at glue vertices and the influenced COM positions of each link. The convergence of the algorithm is tested considering the difference between the space-time optimized one and the optimized one after the frame-by-frame optimization step. Fig. 2 illustrates the algorithm flowchart.
5.1 Space-time Optimization With Skin Deformation Approximation
Similar to the formulation in [36], for each -th frame, we consider the set of generalized coordinates of the rigid skeleton, , together with the contact forces and torques that are exerted on the -th end effector in contact with the ground. The influence of the skin deformation to the skeleton at -th frame is simplified to be the coupling forces at glue vertices and the skin deformation . They are obtained from the previous frame-by-frame optimization and not optimized in this step. The displacements in are represented into the local coordinate frames of links at each frame in order to compute the influence of the skin deformation to the COM of the robot.
Given these quantities, the optimization objective is defined as the weighted sum of six terms that balance the user-specified end effector and COM trajectories and the smoothness of the optimized motion:
[TABLE]
The first term is standard in space-time optimization to minimize the torques exerted at the joints:
[TABLE]
The torques are computed using inverse dynamics, and the coupling forces are integrated as the external forces exerted by the elastic skin at the coupling points.
The second term encourages the smoothness of the optimized motion, which is:
[TABLE]
The two terms, and , enforce the optimized motion to follow the user-specified end-effector and COM trajectories respectively:
[TABLE]
where the functions and define how to compute the end effector and COM positions, given the generalized coordinates of the skeleton and the deformation of the skin mesh. For each end effector, we select one vertex closest to the end effector of the rigid skeleton and represent this vertex into the local coordinate system of the end effector to compute (see Fig. 3).
The term penalizes the deviation from the motion generated in the previous frame-by-frame optimization or the initialized motion plan at the first iteration:
[TABLE]
After the frame-by-frame optimization step, the weight of the term to follow the motion plan of the previous iteration in the space-time optimization is increased by 10%, which means the algorithm leans toward physical plausibility.
The last term enforces that the end-effectors in the contact are flat:
[TABLE]
where is a function to compute the orientation of the end effector and is set to be , the normal of the support plane. The formulation of this term is motivated by the fact our skinned robot is soft and hence a contact area appears whenever feet contact the ground. We try to maximize the contact area at the moment of contact because it is important to achieve a stable motion. Similarly, when the foot is about to hover, we want to clear as many contact vertices as possible. Therefore, when an end effector is close to these important moments, we add to the objective function, which try to make the end effector face the upright direction of the ground.
We also impose hard kinematic and dynamic constraints on the optimized variables to obtain a stable motion plan. The kinematic constraints include the contact constraint, the center of pressure (COP) constraint and the optional periodic constraint, while the dynamic constraints include the momentum and the friction force constraints as in [36].
Contact constraint: In the optimization, we need to enforce the footfall pattern that is specified by the user to encode when the foot should leave or touch the ground. This constraint can be written into:
[TABLE]
where is a binary variable set to 1 if the -th end effector is in contact with the ground at the -th frame. This variable can be directly derived from the footfall pattern. The coordinate of the end effector, denoted by , should be [math] since the ground is set to be .
COP constraint: The COP should be inside the supporting polygon for a stable motion plan. This constraint can be written into:
[TABLE]
where the funtion computes the COP position using the same method as in [3]. The rows in represent edges of the supporting polygon. Since the space-time optimization requires the foot to be flat on the supporting plane, the supporting polygon is formed by the convex hull of the vertices that represent the sole meshes of the end-effectors in contact. However, the contact forces and torques at a sole are simplified to be exerted on a single point of the end effector to ease the optimization. Fig. 3 illustrates the contact points (red balls) selected as the positions of the end-effect for the beetle-like robot.
Periodic constraint: When the user desires a periodic motion, the joint angles are expected to be the same in the first and the last frame of the optimized motion plan:
[TABLE]
where extracts the joint angles from the generalized coordinates.
Momentum constraint: The change of the linear and angular momentum of the robot should be determined by the external contact forces and torques, which can be formulated into the following equations:
[TABLE]
where and are, respectively, the total linear and angular momentum of the robot at -th frame, and gives the contact position of the -th end effector.
Friction force constraint: The contact force should be inside the friction cone to satisfy the Coulomb model of friction. Specifically, we have:
[TABLE]
where and represent the components of the contact force perpendicular and parallel to the ground respectively. The first equation requires the contact force to be inside a friction cone. The second equation relates the contact force and the contact torque, where and are set to be the radius of the circumcircle of the sole mesh.
Optimization: With the defined objective function and constraints, the space-time optimization step can be written into:
[TABLE]
where and represent the equality and inequality constraints respectively. We solve this sequential quadratic programming problem using the Gauss-Newton algorithm. The weights in the objective function are specified as follows: , and .
5.2 Frame-by-frame Optimization with Full Dynamics
In the frame-by-frame optimization, we drop the simplification of the previous step and consider the full dynamics formulated in Eq. (30) in a similar way as in [7]. This allows us to further improve the physical plausibility of the motion. In practice, this requires the solution of a difficult quadratic programming problem with complementarity constraints (QPCC) to handle contact and friction. Different to the soft body only formulation in [7], the coupling constraints between multi-body skeletion and elastic skin introduce a large number of Lagrange multiplier variables and largely increase the complexity of the solver. To speed up the solution, we follow the condensation technique widely used in physical simulation [79, 80]. Specifically, we select the driving torques at joints and foot contact forces as optimization variables and lump the DOFs of mesh vertices and rigid skeletons to these variables through the condensation of the system matrix in Eq. (30). This choice facilitates the formulation of the physical torque limit constraints of motors as well. In this section, we describe the details of the matrix condensation and the per-frame optimization problem.
System matrix condensation: With the coupled multibody-elastic system defined in Eq.(30), the nonlinear relation between the simulated DOFs and and the vector and can be revealed by eliminating the unknown Lagrange multipliers in the matrix condensation (see Appendix.B for the detailed derivation):
[TABLE]
where .
According to the formulation of and in Appendix.A, the joint torques and the contact forces exerted on the soft skin are absorbed into the vector and . Since the rest terms in and are constant, we can use and to represent Eq. (10) more precisely:
[TABLE]
Here, and are magnitudes of normal and tangent forces at all the contact vertices on the skin mesh, and represnets the join torques. To handle LCP constraints, the contact force at a contact vertex is modeled as instead of the 3D vector representation in Section 5.1, where represents the upright supporting force along the contact normal and is the force magnitude. is a matrix and its columns are the vectors that span the contact plane. In our system, we use four directions to form the friction cone [81] and is the tangent magnitude. The explicit penalty forces for resolving the collision between the skeleton and skin are pre-determined quantities and merged into the constant terms in and .
Given and , and determine the positions and orientations of COM, COP, and end effectors at the th frame. Thanks to Eq. (11), these kinematics variables are now functions of , , and . Therefore, we can derive the functions required in the computation of kinematic information, namely and , if external forces , , and are given. Note that the purpose of these functions are explained in the space-time optimization (see Sec. 5.1).
Optimization: We follow the control strategy used in [7] to optimize the input motion plan on a frame-by-frame basis. It is used to make sure that the output joint angle trajectories of the space-time optimization step are physically feasible, which is achieved using the two-way coupled multibody-elastic dynamics as constraints. At each frame, it can be formulated as a quadratic programming problem with complementarity constraints.
Specifically, we seek for joint torques () and contact forces (, ) such that the corresponding and satisfy necessary hard constraints and the resulting locomotion matches the input locomotion as much as possible. Mathematically, it is formulated as
[TABLE]
In Eq. (12), the first hard inequality constraint of is the motor constraint requiring for all the motors that the computed torque magnitude is within its physical limit . The second inequality constraint requires the position of the COP to be within the supporting polygon as in Sec. 5.1. The last complementary constraint is enforced at each individual contact vertex. It characterizes the contact mechanism such that when normal force exists, the relative velocity between the ground and the contact vertex along the contact normal should be zero, etc. Here, is the incremental displacement of a contact vertex. The auxiliary vector is related to the tangent velocity of a sliding contact; is the friction coefficient; and is a vector of ones, that is, .
The objective function has four terms:
[TABLE]
where:
[TABLE]
The first energy term is the smoothness penalty, which favors motions with consistent velocities. The term penalizes the deviation from the motion generated in the previous space-time optimization. is the same soft constraint on the orientation of an end effector as in Eq. (3), which can maximize the contact area for a stable motion. is used to penalize the large variation of the control torques at joints between frames. The last term imposes a penalty to moving end effectors who are responsible for supporting feet. In other words, if a foot is in contact with the ground and supporting the body, we use to reduce the risk of its possible tangent sliding. Here, is an elementary matrix that picks positions of supporting end effectors. The weighting constants for each of these penalty terms are as follows: , , , and .
5.3 Solving the QPCC
The key to solving the QPCC problem of Eq. (12) is to have a feasible configuration for all the contact vertices. Our strategy is similar to that of [7]: We flip complementary constraints when the inequality constraint reaches the boundary. Specifically, contact vertices fall into one of the three following categories:
- •
Contact breakage means that the contact vertex will leave the ground plane in the next frame, and the complementary constraints should be lifted.
- •
Sliding indicates that the contact vertex is moving within the ground plane. In this situation, the complementary constraint for its normal force becomes:
[TABLE]
and the complementary constraints for the tangent force are:
[TABLE]
- •
Static friction implies that the contact vertex is fixed on the contact plane. In this case, the complementary constraint for its normal force is the same as Eq. (15). The constraints for the tangent force are:
[TABLE]
The inequality constraint of specifies the friction cone constraint in the case of static friction. d
We begin solving Eq. (12) by assuming all the contact vertices are fixed, which simplifies the original problem to
[TABLE]
where returns the incremental displacements of all the contact vertices. This assumption of fixing all the contact vertices is realized via the Lagrange multipliers method, and the resulting multipliers correspond to the constraint forces at these vertices. Now, let be the constraint force at one of the contact vertices. It can be decomposed along normal and tangent directions as:
[TABLE]
We label all the contact vertices as contact breakage, static friction, or sliding by checking and . If , which indicates a contact breakage, we remove the constraint at the vertex in the next iteration. If , we further examine the magnitudes of and . If , the vertex falls into the static friction category, otherwise the vertex is considered sliding. After all the contact vertices are labelled, we can convert the complementary constraints into a set of equality or inequality constraints, as explained in Eqs. (15), (16), and (17), and re-solve the QP optimization. It is known that QPCC is NP-complete, and few contact vertices could make the optimization procedure computationally intractable. Therefore, we simplify this procedure by grouping vertices on the planar surface of the foot mesh into five patches similar to [7]. In our experiments, we found that such initial vertex grouping often provide a good start for the QPCC solver. Typical converging curves are plotted in Fig. 4, and we stop the optimization after 10 iterations. We observe that the condensed QPCC solver is around 50x faster than the QPCC without condensation.
5.4 Initialization
Given the mechanical skeleton and the skin mesh of a robot, we first associate the mesh vertices to the links of the skeleton to obtain its skinning information. Hence, the mesh vertices can be deformed with the skeleton in the space-time optimization step, while the local coordinates of the vertices should be computed using their deformed positions and the local frame of the links at each frame. The initial motion plan are computed through the space-time optimization step without the trajectory following terms . In this step, the skin deformation is assumed to be static and each link has additional weights from its associated vertices. Afterwards, the initial skin mesh deformation is simulated by imposing the coupling constraints in the elastic simulation of the skin, and the initial coupling force is then obtained according to the deformation of the tetrahedra connected to the coupling points [56].
6 Design and Fabrication
Designing and fabricating a quad-robot is a challenging task. We facilitate the design by using a set of mechanical skeleton templates, and narrow the gap between professional and regular users by creating several SolidWorks scripts. This allows even an inexperienced user to tweak high-level semantic parameters. Fig. 6 shows three built-in mechanical skeleton templates provided in our system for quad-robots. Each template is built of modularized CAD parts to ease the fabrication cost. The first one is the design used in the beetle-like robot, which consists of a torso structure and four limb structures. Their exploded views are detailed in the figure as well. The torso structure has four shoulder joints that connect to its four limbs. A microcontroller board sending trigger signals to the motors is mounted inside of the torso. The limb structure includes linkage parts of an upper leg, a lower leg, and a foot. On each limb, two uniaxial motors are mounted to provide necessary rotational freedoms at the knee and the ankle. The other two templates vary in different initial poses and foot link geometries.
In the following, we describe the details of the design pipeline and the fabrication procedure respectively.
6.1 Design and Editing of Mechanical Skeleton
The design starts with a given 3D model that corresponds to the appearance of the robot. Our system extracts an initial skeletal line using the mesh contraction method [82] as shown in Fig. 5. This skeleton is actually an approximation of the medial axis of the model, and it is used as a general guide for the follow-up template embedding and editing. We employed the modular design idea so that the user can edit the geometry of a template mechanical component to obtain a customized mechanical skeleton for quad-robots of various morphologies. To this end, several SolidWorks scripts are developed to assign semantic parameters
of a link, such as the link length, motor mount size, etc., and the user only needs to tweak these intuitive parameters to obtain a personalized design without creating one from scratch. The size of pilot holes on the link for screw installation remains unchanged under such edits. An example is given in Fig. 7, where the lengths of the link and the motor bay are increased. Although a few iterations may be necessary during embedding, the developed SolidWorks scripts greatly accelerate the procedure.
Typically, given a new surface model of a quad-robot, we embed limbs first and then adjust the geometry of the torso to make sure it fits the exterior skin. Specifically, a global scale of the mechanical structure template and local rotations of the links are first performed so that the template can be inside the input surface mesh. Then, the user can select the start and end points of a link on the extracted skeletal line and trigger the designed script to edit the link geometry to match the specified length and adjust the width of the link. Finally, the bracing unit of the torso is generated in a similar way as the skin creation(the details follows shortly), and we dig out holes to reduce its weight, for instance, the bracing unit for the torso of the beetle-like robot shown in the first picture in the second row of Fig. 1.
Skin and folding regions creation: The exterior skin of the robot is designed to be mm thick at the foot and mm thick at other parts by default, and it is created by the mesh hollow operation in Materialize Magics. This operation treats the space surrounded by the input 3D surface model as a solid and hollows the interior space of the solid to match the specified thickness parameters to create the skin that is amenable to fabrication. When it is being bent, the skin can yield rather large resisting forces under stretching deformations. Regular commercial motors may not possess sufficient power to overwhelm the internal stretching. To resolve this practical issue, we add a few folding regions on the original skin mesh, as shown in Fig. 8. The folding region is created by applying a sweeping cut operation in Solidworks over the original skin surface where the motor is installed. This small treatment increases the skin area where substantial bending occurs and effectively reduces the resulting stretching force. Note that the hollow operation is performed after the creation of the folding regions. Fortunately, the two software are compatible in mesh file format.
6.2 Fabrication
The mechanical structure of the robot is 3D printed with polypropylene-like stereolithography (SLA) resin, which is a widely used material for fabricating joints and low-friction moving parts. The exterior skin of the robot is made of a layer of soft rubbery material and fabricated via injection molding. To reduce the effort and cost of creating the skin molds, we fabricate the skin on a piece-by-piece basis: one limb has one skin piece, and the torso has two pieces as shown in Fig. 1 (Skin pieces). The skin-skeleton attachment is physically realized by another 3D printed bracing unit between the skin and the skeleton. This bracing unit is attached to each link on the skeleton and serves as a supporting structure between the rubbery skin and the mechanical skeleton (see Fig. 1 & Fig. 9). The purpose of this design is to expect that the friction between the skin and the printed parts can disable the relative motion between skin and skeleton at these parts, which is verified in the physical validation. We thus select the glue vertices in Fig. 9 according to the position of skin-skeleton attachment parts so that the coupling constraints can reflect this physical setting. The mass matrix and the inertia tensor of this bracing unit are integrated in our multibody subsystem dynamics. Finally, skin pieces are glued together after all skin pieces are installed using nonreactive PVA adhesive.
Motor specification We use the MG995R servo motor to drive the motion of the skinned robot. The motor’s size is mm with the maximum torque of kgcm under V (i.e. Nm in Eq. (12)). In total, 12 motors are installed in the beetle-like robot. All the motors are controlled with an Arduino board, which supports up to 32 motors.
7 Experimental Results
In this section, we first report the torque limits and folding region experiments in the motion design of the beetle-like robot to validate its physical feasibility. The mechanical skeleton of this robot is designed based on the first template in Fig. 6 and fabricated using 3D printing. A comparison to kinematic optimization only is also provided for this robot. Second, we report the motion design results for two additional quad-robots: a monster-like robot and a lizard-like one. The performance of our optimization algorithm depends on the number of vertices on the skin mesh, the number of glue vertices, and the number of joints of the mechanical skeleton. The frame interval is second, and we employ the discrete collision detection algorithm to handle self-collisions and foot-ground collisions. Normally a motion cycle has around frames. Our optimization algorithm was implemented on a desktop PC with an intel i7-7700 CPU and 16 GB memory. The soft skin is made of isotropic rubber material whose Young’s modulus is , and Poisson’s ratio is . Table I reports some essential physical and simulation statistics of these three examples. The space-time optimization step with approximated skin deformation for a skeleton is around 40 seconds. For the slow-walking motions as shown in Fig. 1 and Fig. 19, we only need one iteration to converge, since the frame-by-frame optimization can reproduce the motion from space-time optimization step well with physical constraints. For the relatively fast trotting motion in Fig. 18, the algorithm converges after two iterations.
Torque limit: The torque limit in the motion optimization (i.e. Eq. (12)) of the beetle-like robot is set as Nm to match the physical torque limit of the used MG995R motor. To verify if this hard constraint is faithfully enforced during the optimization, we examine torque values that are calculated by our motion design system after per-frame optimization. The result is reported in Fig. 10, where torque curves at an ankle joint and a shoulder joint are plotted. It can be seen that the imposed motor constraint successfully bounds the torque magnitude to be within the limit to ensure that the designed motion is physically possible.
Folding regions Adding folding regions to the robot’s skin is an effective fabrication artisanry to enable the robot assembly using off-the-shelf servo motors and lower the fabrication cost. To demonstrate its advantage, we compare the skin deformation under the joint rotation when the robot is attached to a regular soft skin and a folded skin. Both skins are fabricated using the same materials. It can be seen from Fig. 11 that rotating joints yield large stretching stress over the skin, which could easily go beyond the physical capacity of many commercial servo motors. In this test, we follow the aforementioned motor specification by setting the maximal torque to Nm and test if this power is sufficient to generate the necessary skin deformation. We set our target bending angle to , which is a common value in many walking gaits. The motor is programmed to reach this target in seconds. Our simulation shows that the smooth robot skin without folding region prevents the motor from producing sufficient joint rotation and the maximum angle that can be reached is only about . With the folding region, swept by an mm-depth tooth over the smooth skin, our simulation predicts that the motor is able to generate the desired rotation. The physical experiment results are quite consistent with our simulation prediction as reported side by side in Fig. 11.
VS. kinematic-only optimization: In contrast to robots with only rigid mechanical skeletons, skinned robots exhibit a much more complicated dynamic behavior, which should be fully incorporated during the motion design. To illustrate the necessity of incorporating influences of the soft skin, we compare the motion plans generated using our method and the one by Megaro et al. [3]. Because the primary focus in [3] is to design robot creatures with only rigid links, Megaro and colleagues used a kinematic-based optimization strategy, which includes the trajectories of COM, COP, end effectors, and the footfall pattern. Based on the resulting motion plan, we compute the corresponding driving torques at joints using inverse dynamics. Specifically, the driving torques are computed by imposing another set of rotation constraints over the skeleton in Eq. (30) using the Lagrange multipliers method (with necessary complimentary constraints and inequality constraints to handle the ground contact and motor torque limit). The constrained joint rotation corresponds to the one obtained from the kinematic-based motion plan, and the multipliers represent required generalized constraint force, which are converted to joint torque via to achieve the target joint rotation. As shown in Fig. 12, the physical simulation results suggest that a kinematically valid joint trajectory does not guarantee a smooth walking cycle of the skinned robot, even though the constraints of COM/COP are also specified in the kinematic optimization without skin information. The coincidence, for the knee joint, of the joint angle curves of kinematic and inverse dynamics shows that our inverse dynamics computation can track the kinematic motion plan well, and the roll angle of the root link experiences a larger variation in the inverse dynamics simulation. This is also verified in the physical experiment as shown in Fig. 13. The motion plan obtained using only kinematic optimization leads to a shaky motion. We also observe backward motions as highlighted in the figure. Our method, because it fully considers various physics conditions and constraints, yields a much better result.
Motion design results: Fig. 14 illustrates the simple foot lifting motions designed by our system for the beetle-like robot. These two motions, i.e., single-foot lifting and double-foot lifting, are also used to show the COP is constrained to be inside the support polygon with our optimization algorithm. Please see the accompanying video for the animation.
The embedded skeleton of the monster-like robot shown in Fig. 6 is designed using the third template. The weight of this robot is , and its size is cm 64.6 cm 27 cm. The young modulus at the tail and belly of the monster is reduced by 85% to demonstrate the dynamics of the skin. Two different input foot trajectories are used to generate the walking motions for the robot. As shown in the leftmost column in Fig. 17, the first trajectory has a longer stride length but lower step, while the second one has shorter stride and higher step. Our system is able to accommodate such variations and produces a smooth and physically correct motion plan. The walking speed for these two walking motions are meter/second and meter/second.
We generate a trotting motion of meter/second speed for the monster-like robot to demonstrate that our system can support fast motion. In this example, the trajectories of joint positions are labelled using the horse motion pictures photographed by Eadweard Muybridge, a famous photographer for his work on motions. The joint positions are mapped to a horse motion with the specified speed using the method in [83] and re-targeted to the skeleton of our monster. This initial kinematic motion (please see the accompanying video for the motion) is then optimized using our alternating motion optimization algorithm to turn it into a physically feasible motion.
We notice that the flighting phase of the initial kinematic motion is not consistent with the foot contact plan. To be more specific, the time of the flighting phase is not enough for the monster to return back to the ground. Thus, the space-time optimization with physical constraints, especially the momentum constraint, is necessary to eliminate such inconsistency, which is critical to the success of the alternating optimization. Fig. 16 illustrates the effect of the COP optimization. The red balls indicate that the COP positions at two frames in the initialized trotting motion plan are outside of supporting polygon after the first space-time optimization that does not account for the deformation of the skin mesh. Thus, the frame-by-frame simulation fails to produce a stable trotting motion with its initially optimized motion plan, as shown in the second row of Fig. 18. The COP constraint is turned off to produce this failed example once this constraint can not be satisfied by the solver. After the second iteration, the COPs are moved into supporting polygons, as indicated by the green balls. A smooth trotting motion can then be generated as shown in the first row on the right of Fig. 18. The comparisons of the optimized joint angles and the components of COP are illustrated in Fig. 15. The variation of components indicates the COP moves from left to right so that it is inside the supporting region.
Another example is reported in Fig. 19. The mechanical skeleton of this robot is further edited based on the second template of Fig. 6. We lengthened the torso and shortened the limbs to fit this template into the input model ( cm 47 cm 46 cm). Our system also produces plausible motion plans for this quad-robot.
Failure case: While our system is stable in the generation of slow walking motion, we find the generation of fast trot motion is sensitive to the physical parameters. When the mass of the monster is increased to two times, its influence on the mass center cannot be balanced in the optimization and the COP constraint is violated in the space-time optimization result, possibly due to its conflict between the foot contact constraint. Hence, the frame-by-frame optimization will fail to produce a stable motion. Such situation might be handled through the integration of foot plan sampling step in [36].
8 Conclusion and Future Work
In this paper, we have presented a fabrication-oriented motion planing algorithm and detailed design/fabrication procedures for personalized skinned quad-robots. The physical constraints, such as the equations of motion of the skinned robot and the motor constraints, are integrated into the motion planning such that the resulting motion plan is physically and dynamically feasible. The condensation formulation allows us to conveniently establish the nonlinear relationship between external forces and the target kinematic parameters of the locomotion and to reach a QPCC formulation for the motion design. Our experiments show that the system is able to assist regular users to obtain natural and smooth motions designed for skinned quad-robots.
In the future, we want to explore a gait synthesis algorithm to generate the motion plan from high-level parameters, such as velocity and turning angles. Combining captured gait data and optimization with dynamic constraints has the potential to significantly reduce users’ labor efforts of creating such motion planning. Currently, the coupling between the FEM simulation of the soft skin and the rigid body dynamics of the mechanical structure is not fast enough for a closed-loop control of skinned quad-robots. We want to explore model reduction or homogenization techniques to reduce the computational cost of FEM simulation and produce interactive feedback to control skinned robots online.
Appendix A The Equations of Motion
Lagrangian multibody dynamics: The multibody rigid skeleton of the robot is a kinematic tree of links connected by joints. Its classic Lagrangian mechanics formulation can be found in [84], where the DOFs of the skeleton are specified as the the generalized coordinate of the joint angles and the root translation.
The equation of motion for the articulated rigid skeleton can be written as
[TABLE]
where the subscript denotes variables for the skeleton rig. Detailed derivation of and in Eq. (20) can be found in the excellent tutorial by Liu and Jain [85]. is the damping matrix. We refer to as the rigid mass matrix in order to differentiate it from the mass matrix of the soft skin. For a skeleton with links,
[TABLE]
where is the identity matrix, is the inertia tensor for the th rigid link, and is the mass of the link. The Jacobian matrix , where , relates the Cartesian coordinate of the link’s COM to the generalized coordinate . Similarly, relates the angular velocity to the generalized velocity such that . It is noteworthy that the rigid mass matrix is not constant because of the orientation-dependent inertia tensor and the Jacobian matrix.
Non-inertia forces like Coriolis and centrifugal forces that couple the generalized coordinate are included in . The right-hand side of Eq. (20) is the generalized external force applied to the skeleton, which includes the gravity force and torques from the actuating motors:
[TABLE]
FEM elastic simulation: The dynamics of the soft skin can also be formulated using Lagrangian mechanics, and we can obtain the equation of motion in a similar form:
[TABLE]
The subscript denotes variables for the deformable skin, and is the external force applied to the soft skin. We discretize the volume of the skin by a tetrahedral mesh. The deformable mass matrix is constant and can be assembled using the standard FEM [86]. is the damping matrix, and denotes the internal elastic force, and it is the negative gradient of the strain energy such that . The specific formulation of depends on the material model chosen. Typically, it is computed based on three isotropic invariants of the deformation gradient tensor :
[TABLE]
For the robot with soft skin, its articulated skeleton motion will induce large local compression, especially near the joint. Material models like the StVK and co-rotational models that have been widely used in previous research [74, 72] become unstable under extreme compression. We therefore opted to use the Neo-Hookean material, whose strain energy density is defined as
[TABLE]
where and are Lamé constants. The first Piola-Kirchhoff stress tensor can be computed based on Eq. (25) using the chain rule:
[TABLE]
The final formulation of is
[TABLE]
Here, is a third-order tensor. For a tetrahedral element with linear shape functions, is constant and can be precomputed and stored at each element.
Implicit backward euler time integration: We discretize the equation of motions for both the rigid skeleton and deformable body using the implicit backward Euler method to improve the stability of the simulation. Let and , where the superscript is the frame index. Given the time interval between frame and , the velocity and acceleration of at frame can be discretized as: and . The velocity and acceleration of can be derived similarly. Subsequently, Eqs. (20) and (23) can be linearized as
[TABLE]
and
[TABLE]
In Eq. (28), we compute and using state variables at frame . Therefore, Eq. (20) is only semi-implicitly discretized [87, 88].
Linear systems: The two-way coupled multibody-elastic system in Eq.[2] in Sec. 4.1 of our paper is as follows:
[TABLE]
The matrices in this equation are just the abbreviation of system matrices in Eqs. (28) and (29), where and . Analogically, we have \mathbf{b}_{r}=\Delta t^{2}\big{(}\mathbf{g}_{r}-\mathbf{D}_{r}\dot{\mathbf{q}}^{i}-\mathbf{C}(\mathbf{q}^{i},\dot{\mathbf{q}}^{i})\dot{\mathbf{q}}^{i}\big{)}, and \mathbf{b}_{d}=\Delta t^{2}\big{(}\mathbf{g}_{d}-\mathbf{f}_{d}(\mathbf{u}^{i})-\mathbf{D}_{d}\dot{\mathbf{u}}^{i}\big{)}.
Appendix B System Matrix Condensation
The system matrix condensation in Sec.5.2 starts with eliminating the Lagrange multipliers in Eq. (30) (the same equation with Eq.[2] in Sec. 4.1). We first expand the second line of this equation, which yields:
[TABLE]
Similarly, expanding the first line in Eq. (30), we can produce an equation similar to Eq. (31) but for skeleton DOFs:
[TABLE]
Expanding the third line of Eq. (30) gives the linearized position constraint:
[TABLE]
Substituting both Eqs. (31) and (32) into Eq. (33) yields:
[TABLE]
where . By substituting Eq. (34) back into Eqs. (31) and (32), we obtain the condensed formulas in Eq.[10] in our paper.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] C. Leger, “Automated synthesis and optimisation of robot configurations: An evolutionary approach,” Ph.D. dissertation, The Robotics Institute, Carnegie Mellon University, Pittsbugh, PA 15213, USA, 1999, c MU-RI-TR-99-43.
- 2[2] R. Desai, Y. Yuan, and S. Coros, “Computational abstractions for interactive design of robotic devices,” in 2017 IEEE International Conference on Robotics and Automation (ICRA) , May 2017, pp. 1196–1203.
- 3[3] V. Megaro, B. Thomaszewski, M. Nitti, O. Hilliges, M. Gross, and S. Coros, “Interactive design of 3d-printable robotic creatures,” ACM Trans. Graph. , vol. 34, no. 6, pp. 216:1–216:9, Oct. 2015.
- 4[4] P. Gallagher and M. Maclachlan, “Adjustment to an artificial limb: a qualitative perspective,” Journal of health psychology , vol. 6, no. 1, pp. 85–100, 2001.
- 5[5] C. Majidi, “Soft robotics: a perspective - current trends and prospects for the future,” Soft Robotics , vol. 1, no. 1, pp. 5–11, 2014.
- 6[6] Z. Wang, G. Hang, J. Li, Y. Wang, and K. Xiao, “A micro-robot fish with embedded sma wire actuated flexible biomimetic fin,” Sensors and Actuators A: Physical , vol. 144, no. 2, pp. 354–360, 2008.
- 7[7] J. Tan, G. Turk, and C. K. Liu, “Soft body locomotion,” ACM Trans. Graph. , vol. 31, no. 4, pp. 26:1–26:11, Jul. 2012.
- 8[8] X. Chen, H. Li, C.-W. Fu, H. Zhang, D. Cohen-Or, and B. Chen, “3d fabrication with universal building blocks and pyramidal shells,” in SIGGRAPH Asia 2018 Technical Papers , ser. SIGGRAPH Asia ’18, 2018, pp. 189:1–189:15.
