Gradient-based optimization for robot design
The gradient-based optimization method addresses the challenge of designing 3D robot body models by optimizing deformable material distribution and actuation signals, enhancing kinematic performance and computational efficiency.
Patent Information
- Application Number
- JP2024018875
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-10
- Filing Date
- 2024-02-09
- Publication Date
- 2024-08-23
AI Technical Summary
Existing methods for designing 3D robot body models with deformable parts are inadequate, particularly in optimizing the distribution of deformable materials and actuation signals for improved kinematic performance.
A gradient-based optimization method is employed to design 3D robot body models by simulating the robot's motion metrics using a continuous objective function, distributing density and actuation coefficients across voxels, and performing iterative simulations with meshless methods like MPM to optimize the distribution of deformable materials and actuation signals.
The method achieves optimal robot performance by efficiently optimizing the distribution of deformable materials and actuation signals, leading to improved kinematic metrics and faster convergence to optimal solutions, reducing computational time and memory requirements.
Smart Images

Figure 2024114672000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to the field of computer programs and systems, and more particularly to methods, systems, and programs for designing a 3D robot body model. [Background technology]
[0002] For the design, engineering and manufacturing of objects, several solutions, hardware and software, are offered on the market. CAD is an acronym for Computer-Aided Design, which relates, for example, to software solutions for designing objects. CAE is an acronym for Computer-Aided Engineering, which relates, for example, to software solutions for analyzing and simulating the physical behavior of future products. CAM is an acronym for Computer-Aided Manufacturing, which relates, for example, to software solutions for defining product manufacturing processes and resources. In such computer-aided design solutions, the graphical user interface plays a key role with regard to the efficiency of the techniques. These techniques can be integrated into Product Lifecycle Management (PLM) solutions. PLM refers to an engineering strategy that helps companies share product data, apply common processes and leverage enterprise knowledge for product development from product conception to its end of life, across the concept of extended enterprise. The PLM solutions offered by Dassault Systèmes (under the trademarks CATIA, SIMULIA, DELMIA, and ENOVIA) provide an Engineering Hub to codify product engineering knowledge, a Manufacturing Hub to manage manufacturing engineering knowledge, and an Enterprise Hub to enable enterprise integration and connectivity to both the Engineering and Manufacturing Hubs. Together, these solutions provide a common model that links products, processes and resources to enable dynamic knowledge-based product creation and decision support that drives optimized product definition, manufacturing preparation, production, and service.
[0003] Existing solutions provide tools for designing robots with a robot body that comprises one or more deformable parts, each made of a deformable material. Such robots, often called "soft robots", offer a wide range of advantages, such as avoiding damaging pieces that their deformable parts may collide with. Thus, such robots are used in particular, but not exclusively, in the food industry, and their use across various industries is becoming more widespread.
[0004] Non-Patent Document 1 discloses evolving soft robots using multiple materials and a powerful generative encoding called a compositional pattern-producing network (CPPN). The document teaches that CPPN evolves robots faster than direct encoding, and that CPPN morphology looks more natural. The document also teaches that locomotion performance increases as more material is added, that shape and behavior diversity can be increased using different cost functions without stifling performance, and that organisms can be evolved at different resolution levels.
[0005] Within this context, there remains a need for improved solutions for designing 3D robot body models. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] European Patent No. 3327593 [Non-patent literature]
[0007] [Non-Patent Document 1] Cheney, "Unshackling evolution: evolving soft robots with multiple materials and powerful generative encoding", GECCO 2013 [Non-licensed document 2] https: / / my.3dexperience.3ds.com / welcome / fr / compass-world / rootroles / nc-shop-floor-programmer [Non-licensed document 3] https: / / my.3dexperience.3ds.com / welcome / fr / compass-world / rootroles / nc-mill-turn-machine-programmer
Non-licensed Document 4
Non-licensed Document 5
Non-licensed Document 6
Non-licensed Document 7
[0008] Accordingly, a computer-implemented method for designing a 3D robot body model is provided. The 3D robot body model represents a robot body formed of one or more materials, the robot body having one or more deformable parts each made of a deformable material, at least a portion of the one or more deformable parts configured to be actuated. The method includes providing an objective function based on predetermined parameters, the objective function being a continuous function of the design variables. The objective function quantifies a kinematic metric of the robot. An optimal value of the objective function corresponds to an optimal performance of the robot with respect to the kinematic metric. The predetermined parameters include a plurality of voxels forming a gridding of the 3D space, one or more parameters associated with the one or more materials, and an actuation function representing an actuation signal. The actuation signal actuates the deformation of the deformable material over a period of time. The design variables include a distribution of density values across the plurality of voxels. Each density value represents, for a voxel, a percentage at which the voxel is filled with material, continuously and monotonically between empty and full. The design variables further include a distribution of actuation coefficients across the plurality of voxels. Each actuation coefficient represents, for a voxel, a response of a material within the voxel to an actuation signal. The method further includes exploring the design variables to perform a gradient-based optimization of the objective function, thereby obtaining optimal continuous values of the design variables. The method further includes determining a 3D robot body model based on the optimal continuous values of the design variables.
[0009] The method may include one or more of the following.
[0010] Performing the gradient-based optimization includes an iterative process, each iteration including simulating the robot based on given variables, thereby obtaining values of simulation variables over a period of time, and the simulating is optionally a meshless method.
[0011] -In each iteration of the gradient-based optimization, simulating includes a material point method (MPM), which includes defining a number of particles positioned relative to a gridding formed by a number of voxels; assigning to each particle a Young's modulus based on values of design variables, a mass value based on density values of one or more corresponding voxels, and an actuation signal value based on an actuation coefficient and an actuation function; and iterating the MPM simulation steps based on the Young's modulus, mass value, and actuation signal value assigned to the particle.
[0012] The robot body comprises one or more deformable parts, each made of a deformable material, and the design variables comprise a distribution of density values and a distribution of actuation coefficients across a number of voxels.
[0013] the value of the mass assigned to each particle is proportional to the density value of the corresponding voxel or voxels; the robot body further comprises one or more rigid parts, each made of a rigid material, and the design parameters further comprise a distribution of hardening parameter (κ) values across the plurality of voxels, each hardening parameter value representing, for a voxel, a level of hardness of the material filling the voxel, continuously and monotonically between a first level and a second level harder than the first level.
[0014] Performing the gradient-based optimization involves an iterative process, where each iteration involves calculating a distribution of Young's modulus values across multiple voxels based on density values and hardening parameter values for each voxel.
[0015] The calculation of the Young's modulus value for a voxel is of the following type:
[0016]
number
[0017] where E is the calculated Young's modulus and E max is the Young's modulus of the rigid material, and Emin is the minimum Young's modulus, and E act is the Young's modulus of the deformable material, ρ is the density value, and κ is the value of the hardening parameter,
[0018]
number
[0019] It is.
[0020] - performing a gradient-based optimization of the objective function further comprises imposing constraints on the volume fractions, the volume fractions being calculated from the respective distributions of density values, optionally the imposing constraints on the volume fractions, at a given voxel, are of the following type:
[0021]
number
[0022] In the above formula,
[0023]
number
[0024] where η is a parameter and V frac is the volume fraction, ρ is the constrained density value,
[0025]
number
[0026] is the unconstrained density value,
[0027]
number
[0028] is a function on multiple voxels.
[0029]
number
[0030] is the sum of N voxel is the total number of voxels in the plurality of voxels.
[0031] -Performing a gradient-based optimization of the objective function further includes imposing constraints on the actuation energy, the actuation energy being a function of the design variables, and optionally, the imposing constraints on the actuation energy, at a given voxel, are of the following type:
[0032]
number
[0033] In the above formula,
[0034]
number
[0035] and
[0036]
number
[0037] is the constrained actuation coefficient,
[0038]
number
[0039] are the unconstrained (i.e. raw) actuation coefficients,
[0040]
number
[0041] is a function on multiple voxels.
[0042]
number
[0043] is the sum of
[0044]
number
[0045] is the absolute value of the unconstrained actuation coefficient at voxel i, and ρ i is the density value at voxel i, and Γ frac is the energy fraction, N voxel is the total number of voxels in the plurality of voxels.
[0046] -Exploring the design variables further includes updating a distribution of values of the design variables based on the previous values and the calculated derivatives, further updating the updated values of the density using the updated values of the density and the constraints on the volume fraction, and further updating the updated values of the actuation coefficients using the further updated values of the density and the constraints on the actuation energy.
[0047] - performing the gradient-based optimization further includes calculating partial derivatives of the objective function with respect to the design variables, where performing the gradient-based optimization includes: providing a plurality of time points between an initial time and an end of the time period, thereby defining a plurality of time intervals, each formed between the two resulting time points, whereby obtaining values of the simulation variables over the time period includes obtaining values of the simulation variables at the plurality of time points; performing a forward simulation on each time interval from the initial time to the next-to-last time, where performing the forward simulation on the time interval is based on the initial conditions and / or forward simulation on the previous time interval; performing a forward simulation and a backward simulation on the last interval based on the initial conditions and / or forward simulation on the previous time interval; performing a backward simulation on each time interval from the next-to-last time interval to the first time interval based on the initial conditions and / or forward simulation on the previous time interval.
[0048] and / or Determining the 3D robot body model based on optimal continuous values of the design variables includes thresholding optimal values of one or more of the design variables across a plurality of voxels.
[0049] Further provided is a computer program comprising instructions for carrying out the method.
[0050] Further provided is a computer readable storage medium having the computer program recorded thereon.
[0051] Further provided is a system comprising a processor coupled to a memory, the memory having the computer program recorded thereon. [Brief description of the drawings]
[0052] Non-limiting examples will now be described with reference to the accompanying drawings. [Figure 1] FIG. 2 is a diagram illustrating an example of a graphical user interface of the present system. [Diagram 2] FIG. 1 illustrates an example of the present system. [Diagram 3] FIG. [Figure 4] FIG. [Diagram 5] FIG. [Figure 6] FIG. [Figure 7] FIG. [Figure 8] FIG. [Figure 9A] FIG. [Figure 9B] FIG. [Figure 10] FIG. [Figure 11] FIG. [Figure 12A] FIG. [Figure 12B] FIG. [Figure 13A] FIG. [Figure 13B] FIG. [Figure 14A] FIG. [Figure 14B] FIG. [Figure 15A] FIG. [Figure 15B] FIG. [Figure 16] FIG. [Figure 17] FIG. [Figure 18A] FIG. [Figure 18B] FIG. [Figure 19] FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0053] A computer-implemented method for designing a 3D robot body model is proposed. The 3D robot body model represents a robot body formed of one or more materials. The robot body has one or more deformable parts, each made of a deformable material. At least a portion of the one or more deformable parts are configured to be actuated. The method includes providing an objective function based on predetermined parameters. The objective function is a continuous function of the design variables. The objective function quantifies a kinematic metric of the robot. An optimal value of the objective function corresponds to an optimal performance of the robot with respect to the kinematic metric.
[0054] The predetermined parameters include a plurality of voxels forming a gridding in 3D space. The predetermined parameters further include one or more parameters related to the one or more materials, and the predetermined parameters also include an actuation function. The actuation function represents an actuation signal that actuates a deformation of the deformable material over a period of time.
[0055] The design variables include a distribution of density values across the plurality of voxels, each density value representing, for a voxel, the percentage at which the voxel is filled with material, continuously and monotonically between empty and full. The design variables further include a distribution of actuation coefficients across the plurality of voxels, each actuation coefficient representing, for a voxel, the response (e.g., its phase and amplitude) of the material within the voxel to an actuation signal.
[0056] The method further includes exploring the design variables to (i.e., through) performing a gradient-based optimization of the objective function (the design variables are thus free variables of the optimization, i.e., variables that are allowed to vary during the optimization, i.e., variables that are allowed to be explored). The method thereby obtains optimal continuous values of the design variables. The method further includes determining a 3D robot body model based on the optimal continuous values of the design variables.
[0057] Such a method constitutes an improved method for designing a 3D model of a robot body: in fact, the method optimizes both the distribution of density values and the distribution of actuation coefficients in a gradient-based optimization approach.
[0058] On the one hand, the actuation coefficients are the design variables to be optimized, which allows the method to optimize the response of the robot to the actuation signals. In other words, the method finds the optimal actuation behavior of the robot, i.e. the optimal spatial distribution of the deformable parts to be actuated to achieve an optimal performance in terms of kinematic metrics. This therefore constitutes a design solution in which, in addition to the topology of the robot (i.e. based on the distribution of the obtained density values), the actuation layout of the robot (i.e. the layout of the passive and active elements of the robot) can also be optimized. This improves the performance of the method, since, in contrast to known methods in the art that consider actuation, the location and shape of the active parts of the robot are not predefined.
[0059] On the other hand, to obtain optimal values of the design variables, the method performs a gradient-based optimization. This is made possible thanks to the fact that the performance of the robot in terms of metrics related to the robot's motion can be expressed as an objective function of the continuous design variables, since the motion behavior depends continuously on the material distribution and the actuation layout. Gradient-based optimization methods have better scalability in terms of the number of optimization variables compared to gradient-free methods. This means that by using gradient-based optimization, the method can obtain optimal design variables faster in terms of computation time and / or obtain more complex designs of the robot body with a larger number of degrees of freedom. Furthermore, using gradient-based optimization guarantees convergence to an optimal solution, at least in a local sense, unlike gradient-free global search strategies.
[0060] Each of the two aspects discussed above allows the method to obtain a design with a better fit with the design conditions (thanks to more degrees of freedom) and also to improve the performance of a robot manufactured based on this design under real conditions.
[0061] Moreover, as discussed above, each density value provides a continuous and monotonic representation of the percentage of a voxel that is filled with material. Each actuation coefficient may also continuously and monotonicly represent, for a voxel, the response of the material inside the voxel to an actuation signal. This allows the method to employ a continuous representation of various properties of the robot body (e.g., material distribution and / or mechanical response to actuation). This improves the method by providing continuity in the behavior of the objective function with respect to the free variables of the optimization problem, thereby allowing the method to benefit from gradient-based optimization techniques. Such continuity further improves the method by obtaining continuous optimal values of the design variables. By "continuous" it is meant that the optimal design variables obtained by the optimization according to the method can take any value within a respective continuous range, sometimes referred to as a tolerance region / range. Such continuity within the tolerance ranges means, in particular, that the method does not restrict the optimization to searching for discrete values and / or values that are in a particular predefined set. Moreover, such continuity means that the optimization does not apply (post-hoc) filtering to the obtained optimal values. This improves the designs obtained by the method, since the optimization can work computationally faster (since there are no constraints in the optimization to limit the values through the optimization) and the optimization can obtain a more optimal solution, i.e. a solution with a more optimal value of the objective function, the larger the space of search. A more optimal value can be a larger value if the optimization is a maximization, and a smaller value if the optimization is a minimization. This makes the designs obtained by the method better meet the design objectives (expressed in the optimization problem).
[0062] The method includes a step of determining a 3D robot body model based on optimal values of the design variables. The method may thus form a process of manipulating modeled objects in general, or may form at least a part of such a process. The 3D model determined by the method based on optimal values of the design variables may be a 3D CAD model, a finite element model (FEM), a 3D mesh, a 3D point cloud, a B-rep, or any other known modeled object. The modeled object is any object defined by data stored, for example, in a database. By extension, the expression "modeled object" refers to the data itself. Some examples of modeled objects are discussed herein below. As discussed above, at least some of the design variables of the method are continuous representations of properties of the robot. The method may apply further processing to the obtained design variables in order to obtain the respective 3D robot body models in the step of determining a 3D robot body model based on optimal continuous values of the design variables. In an example, such processing may include applying a thresholding step to the (optimal) density values. By "thresholding" is meant mapping to a discrete set of values based on a threshold. For example, the method may determine that each voxel having a density value higher than 0.5 is a voxel filled with the respective material, and each voxel having a density value lower than 0.5 is a voxel empty of material. In an example, a similar thresholding step may be applied to the optimal actuation coefficients. The method may employ the optimal actuation coefficients to provide an improved solution in designing what areas of the robot body should stretch and / or contract in what order, and what forces and displacements should be applied to the robot body. This provides the user / designer with an effective tool to design the actual actuator to produce a prescribed effect according to the obtained actuation coefficients.
[0063] Alternatively, the method may not apply thresholding to the process for the obtained optimal continuous design variables, or may apply thresholding only partially. In such partial thresholding, the method may apply thresholding only to values smaller or larger than a threshold. For example, the method may set only density values smaller than 0.5 to 0, but not apply any rounding to density values larger than 0.5. Such an example is particularly suitable when the designed robot is to be fabricated by some modern fabrication methods, such as 3D printing. Such fabrication methods can locally control the density, and thereby fabricate the robot, for example by controlling the porosity, based on the optimal continuous density values. This improves the final fabricated robot's compliance with the design objectives.
[0064] In both cases where the method applies thresholding to the optimal design variables and where it does not, the output of the method is a voxel-wise distribution of the design variables (e.g., density and actuation coefficients). Optionally, this voxel representation may be converted into a parametric CAD model (e.g., with parametric surfaces including B-Rep) in any known manner, but this is outside the scope of this disclosure.
[0065] The method is particularly relevant for designing a 3D model of a robot body. By "robot body" is meant a substantial portion of the material that constitutes the robot structure. The robot body may comprise deformable parts (active or passive) and optionally rigid parts. The robot body represents the form of the robot. In addition to the robot body, the robot may also comprise one or more actuators (e.g., for actuating said deformable parts). In addition, the robot may also comprise other components such as fixtures, e.g., connector elements (e.g., joints) used to connect various elements of the robot together. The robot body may, for example, account for more than 60% or more than 80% of the total mass of the respective robot. Each robot may itself be connected to and / or cooperate with a larger robot. In addition to designing the robot body, the method may further include designing actuators based on the obtained optimal design variables, e.g., according to any known method. The exact design scheme of the actuators is outside the scope of this disclosure.
[0066] By designing a manufacturing product (or a modeled object thereof), e.g. a "robot body" or a robot, what is meant is any action or sequence of actions that is at least part of the process of elaborating the modeled object of this manufacturing product. In other words, designing a modeled object denotes any action or sequence of actions that is at least part of the process of elaborating the modeled object. Thus, the method may include generating a 3D modeled object (3D robot body model) from scratch. Alternatively, the method may include providing a previously generated 3D modeled object and then modifying this 3D modeled object. The method may form such a process or may form at least a part of this process. The method may be followed by a further design step to obtain a detailed design of the robot based on the obtained optimal design variables of the robot body. For example, the further design step may obtain the type and / or specific position for one or more actuators to correspond to the obtained optimal actuation coefficient distribution. Alternatively or additionally, the further design step may obtain a detailed geometry of the robot based on the obtained optimal density value distribution. Such steps may further include determining the manufacturing steps required to obtain this geometry, for example in a machining process, a milling process, a molding process, or by additive manufacturing. Alternatively or additionally, further design steps may include one or other further editing or optimization steps (e.g., for fatigue analysis) and / or conversion to / from other models (e.g., converting the designed model obtained by the method to a FEM model evaluated by stress / fatigue analysis software). Such further steps may also be related to fabrication requirements. Further details regarding some of such further steps are discussed below.
[0067] The method may also be included in a manufacturing process, which may include producing, after implementation of the method, a physical product corresponding to the modeled object, i.e., a robot body represented by the designed 3D robot body model, or an entire robot having such a robot body. In either case, the modeled object designed by the method may represent a manufacturing object. Thus, the modeled object may be a modeled solid (i.e., a modeled object representing a solid). Since the method improves the design of the modeled object, the method also improves the manufacturing of the product, thus increasing the productivity of the manufacturing process.
[0068] Depending on the type of system, the modeled objects may be defined by various data. The system may in fact be any combination of a CAD system, a CAE system, a CAM system, a PDM system, and / or a PLM system. In these various systems, the modeled objects are defined by corresponding data. Thus, one may refer to CAD objects, PLM objects, PDM objects, CAE objects, CAM objects, CAD data, PLM data, PDM data, CAM data, CAE data. However, these systems are not exclusive of one another, as the modeled objects may be defined by data corresponding to any combination of these systems. Thus, a system may well be both a CAD, CAE, PLM and / or CAM system.
[0069] By CAD solution (e.g. CAD system or CAD software) is additionally meant any system, software or hardware adapted at least to designing a modeled object based on a graphical representation of the modeled object and / or on a structured representation thereof (e.g. feature tree), such as CATIA. In this case, the data defining the modeled object includes data enabling the representation of the modeled object. For example, a CAD system may provide a representation of the CAD modeled object using edges or lines, possibly faces or surfaces. The lines, edges or surfaces may be represented in various ways, for example with non-uniform rational B-splines (NURBS). In particular, a CAD file contains a specification from which a geometry may be generated, and this geometry enables a representation to be generated. The specification of the modeled object may be stored in a single CAD file or in multiple CAD files. A typical size of a file representing a modeled object in a CAD system is in the range of 1 megabyte per part.
[0070] In the context of CAD, a modeled object can be any object that is modeled by data that allows its representation, typically a 3D representation. A 3D representation allows the part to be viewed from all angles. For example, a 3D modeled object, when represented in 3D, can be manipulated and rotated about any of its axes or about any axis in the screen on which the representation is displayed. The display of a 3D representation facilitates design (i.e., increases the speed at which a designer statistically accomplishes his task). Since the design of a product is part of the manufacturing process, this speeds up the manufacturing process in this industry.
[0071] The modeled object may be a manufactured product, i.e., a product to be manufactured. The modeled object may represent the geometry of a product to be manufactured in the real world following completion of its virtual design, e.g., using a CAD / CAE software solution or CAD / CAE system, which may be a (e.g., mechanical) part, or an assembly of parts (or, equivalently, an assembly of parts, since from the point of view of the method, an assembly of parts may be considered a part in itself, or the method may be applied independently to each part of the assembly), or more generally, any rigid assembly (e.g., a mobile mechanism), etc. CAD / CAE software solutions enable the design of products in diverse and limitless industrial sectors, including aerospace, architecture, construction, consumer goods, high-tech devices, industrial equipment, transportation, maritime, and / or offshore oil / gas production or transportation. Thus, the 3D modeled object designed by the present method may represent an industrial product, which may be any mechanical part, such as a general mechanical part, an electro-mechanical part or an electronic part (including, e.g., security and / or control and / or measurement products, computing and communication equipment, semiconductors, medical devices and instruments), a part of a packaging mechanism (including, e.g., food, beverage and tobacco, beauty and personal care, household product packaging).
[0072] What is additionally meant by CAE solution is any solution, by software or hardware, adapted to the analysis of the physical behavior of a modeled object. A well-known and widely used CAE technique is the Finite Element Model (FEM), which is equivalently referred to below as CAE model. FEM usually involves the division of the modeled object into elements, i.e. finite element meshes, whose physical behavior can be calculated and simulated by means of equations. Such a CAE solution is offered by Dassault Systèmes under the trademark SIMULIA®. Another growing CAE technique involves the modeling and analysis of complex systems consisting of multiple components from various physics fields, without CAD geometric data. CAE solutions allow the simulation, and thus the optimization, refinement and validation, of the products to be manufactured. Such a CAE solution is offered by Dassault Systèmes under the trademark DYMOLA®. CAE can be used to ensure that various structural requirements, such as but not limited to mass, stiffness, strength, durability, etc., are achieved by the new CAD model. Some of these requirements may be called key performance indicators (KPIs). In many industrial products (e.g., automotive, aerospace, consumer packaged goods, high tech), these KPIs are in conflict: for example, lower mass usually means lower stiffness. Therefore, optimization methods are often applied to find the best trade-off between the KPIs.
[0073] By CAM solution is meant any solution, by software or hardware, adapted to the management of the manufacturing data of a product. The manufacturing data generally includes data related to the product to be manufactured, the manufacturing process, and the resources required. A CAM solution is used to plan and optimize the entire manufacturing process of a product. For example, it may provide the CAM user with information about the feasibility, the duration of the manufacturing process, or the number of resources that can be used in a particular step of the manufacturing process, such as a particular robot, thus enabling decisions regarding the management or investments required. CAM is a follow-up process of the CAD process and potentially the CAE process. For example, a CAM solution may provide information about the machining or forming parameters that match the extrusion features provided in the CAD model. Such CAM solutions are offered by Dassault Systèmes under the trademarks CATIA, Solidworks, or DELMIA®.
[0074] Therefore, CAD and CAM solutions are closely related. In fact, CAD solutions focus on the design of a product or part, and CAM solutions focus on how to make it. Designing a CAD model is the first step to computer-aided manufacturing. In fact, CAD solutions offer key capabilities such as feature-based modeling and boundary representation (B-Rep) to reduce the risk of errors and loss of precision during the manufacturing process, which are handled with CAM solutions. In fact, the CAD model is intended to be manufactured. It is therefore a virtual twin of the object that will be manufactured, also called the digital twin, which has two purposes:
[0075] - Checking the correct behavior of the object to be manufactured in a specific environment.
[0076] -Ensuring manufacturability of the object to be manufactured.
[0077] As discussed above, the modeled object designed by the method is determined from voxel distributions of design variables, i.e., optimal distributions of density values and actuation coefficients, or additionally from hardening parameters. Such voxel representations of density values, i.e., the presence or absence of material, form a discrete geometric representation of the manufactured product. This discrete geometric representation is a data structure that includes a discrete set of data. Each data may specify an element of the product, sometimes referred to as a discrete element.
[0078] The discrete geometric representation may include, in examples, more than 100, 1000, or 10000 such data. Each data may represent a respective geometric entity positioned in 3D space such that the data forms a solid representation of the product. The aggregation (i.e., union or juxtaposition) of the geometric entities together represents the 3D object as a solid / volume. The method may include obtaining a 3D discrete geometric representation using the obtained optimal values of the design variables. In particular, the method may use the obtained optimal distribution of density values to reconstruct a solid representation of the robot body (e.g., by obtaining a B-Rep).
[0079] The method may be included in a production process, which may include, after implementation of the method, producing a physical product (a robot body, or an entire robot having such a robot body) corresponding to the modeled object designed / processed / output by the method. The production process may include the following steps:
[0080] - applying the method (e.g. automatically), thereby obtaining a CAD or CAE model output by the method.
[0081] -Use the obtained CAD or CAE model to manufacture products.
[0082] The method may also include converting the CAE model into a CAD model. Such conversion may include performing the following (e.g., fully automatic) conversion process that takes the CAE as input and converts it into a CAD model that includes a feature tree that represents the product. The conversion process includes the following steps (there are known fully automatic algorithms for implementing each of these steps):
[0083] - Segmenting the CAE model, or its outer surface / skin, thereby obtaining a segmentation from the CAE model, for example into segments each forming a surface part of the model.
[0084] - Detecting the geometry of CAD features by processing segments, which includes for example detecting segments, or groups of segments, each of which forms a given CAD feature geometry (e.g., an extrusion, a revolve, or any canonical primitive), and optionally its geometric properties (e.g., an extrusion axis, a revolve axis, or a profile).
[0085] - Parameterizing the detected geometry, for example based on the geometry and / or its above mentioned geometric properties.
[0086] - Fit each of the CAD operators to a respective portion of the CAE model based on the geometry of that portion, e.g., by aggregating neighboring segments that are detected as part of the same feature geometry.
[0087] -Encode the geometry and corresponding CAD operators into a feature tree.
[0088] - Optionally, run the feature tree to obtain a B-rep representation of the product.
[0089] - Output a feature tree and optionally a B-rep. The feature tree and optionally a B-rep form the CAD model.
[0090] Using a CAD model for manufacturing refers to any real-world action or series of actions that are involved in / involved in the manufacturing of the product represented by the CAD model. Using a CAD model for manufacturing may include, for example, the following steps:
[0091] -Edit the obtained CAD model.
[0092] - carrying out simulations based on the CAD model or the corresponding CAE model (e.g. the CAE model from which the CAD model is derived after a CAE to CAD translation process), such as simulations for validating mechanical, usage and / or manufacturing properties and / or constraints (e.g. structural simulations, thermodynamic simulations, aerodynamic simulations, etc.);
[0093] -Edit the CAD model based on the results of the simulation.
[0094] Optionally (i.e. depending on the manufacturing process used the production of the mechanical product may or may not include this step), determining (e.g. automatically) manufacturing files / CAM files based on the (e.g. edited) CAD model for the production / manufacturing of the manufactured product.
[0095] -Send CAD and / or manufacturing / CAM files to the factory.
[0096] and / or - Based on the determined manufacturing / CAM files or CAD models, (e.g. automatically) producing / manufacturing the machine product originally represented by the model output by the method. This may involve (e.g. automatically) feeding the manufacturing / CAM files and / or CAD files to a machine that performs the manufacturing process.
[0097] This final production / manufacturing step may be called the manufacturing or production step. This step produces / fabricates the part / product based on the CAD model and / or CAM file, for example, when the CAD model and / or CAD file are fed to one or more manufacturing machines or to a computer system that controls the machines. The manufacturing step may include performing any known manufacturing process or sequence of manufacturing processes, for example, one or more additive manufacturing steps, one or more cutting steps (e.g., laser cutting or plasma cutting steps), one or more stamping steps, one or more forging steps, one or more bending steps, one or more deep drawing steps, one or more forming steps, one or more machining steps (e.g., milling steps), and / or one or more punching steps. Since the design method improves the design of the model (CAE or CAD) representing the part / product, the manufacturing and its productivity are also improved.
[0098] The CAM file may include a manufacturing step-up model obtained from the CAD model. The manufacturing step-up may include all data required to manufacture the machine product, which therefore has a geometry and / or material distribution corresponding to that captured by the CAD model, possibly even with manufacturing tolerances. Determining the production file may include applying any CAM (Computer Aided Manufacturing) or CAD-to-CAM solution (e.g., any automated CAD-to-CAM conversion algorithm) for determining (e.g., automatically) the production file from the CAD model. Such a CAM or CAD-to-CAM solution may include one or more of the following software solutions, which allow for the automatic generation of manufacturing instructions and tool paths for a given manufacturing process based on a CAD model of the product to be manufactured:
[0099] -Fusion 360 -FreeCAD -CATIA -SOLIDWORKS -Dassault Systèmes' NC Shop Floor programmer, which is described in Non-Patent Document 2. -Dassault Systèmes' NC Mill-Turn Machine Programmer, which is described in Non-Patent Document 3. and / or -Dassault Systèmes' Powder Bed Machine Programmer, which is described in Non-Patent Document 4.
[0100] The product / part may be an additively manufacturable part, i.e. a part to be manufactured by additive manufacturing (i.e. 3D printing). In this case, the production process does not include a step of determining a CAM file, but proceeds directly to the production / manufacturing step by directly (e.g. and automatically) feeding the 3D printer with a CAD model. The 3D printer is configured to, when fed with a CAD model representing the mechanical product (e.g. and when 3D printing is initiated by the 3D printer operator), directly and automatically 3D print the mechanical product according to the CAD model. In other words, the 3D printer receives the CAD model fed to it (e.g. automatically), reads the CAD model (e.g. automatically), and prints the part (e.g. automatically) by adding material, e.g. layer by layer, to reproduce the geometry and / or material distribution captured by the CAD model. The 3D printer adds material, thereby actually closely reproducing the geometry and / or material distribution captured by the CAD model up to the resolution of the 3D printer, and optionally with or without tolerances and / or manufacturing corrections. Manufacturing may include determining such manufacturing corrections and / or tolerances, for example by a user (e.g., an operator of the 3D printer) or automatically (e.g., by the 3D printer or a computer system controlling it), for example by modifying the CAD file to match the specifications of the 3D printer. The production process may additionally or alternatively include determining from the CAD model (e.g., automatically by the 3D printer or a computer system controlling it), for example, the print direction to minimize the amount of overhang (as described in U.S. Patent Application Publication No. 2005 / 0133991, incorporated herein by reference), layer slicing (i.e., determining the thickness of each layer and the pass / trajectory for each layer), and other characteristics for the 3D printer head (e.g., in the case of a laser beam, e.g., pass, speed, intensity / temperature, and other parameters).
[0101] Alternatively, the product may be a machined part (i.e. a part produced by machining), such as a milled part (i.e. a part produced by milling). Alternatively, the product may be a molded part, i.e. a part produced by molding (e.g. injection molding). In such a case, the production process may include a step of determining a CAM file. This step may be performed automatically, by any suitable CAM solution for automatically obtaining the CAM file from a CAD model of the product. Determining the CAM file may include (e.g. automatically) checking whether the CAD model has any geometrical features (e.g. errors or artifacts) that may affect the production process, and (e.g. automatically) correcting such features.
[0102] In the case of machining, in addition to checking, determining the CAM file may also include (e.g. automatically) determining the machining or milling path, i.e. the path to be followed by the machining tool to machine the product. Thus, the result of determining the CAM file is a CAM file containing the machining path and, optionally, the set machine parameters and / or the configured nesting specifications, which is output. This output CAM file may then be (e.g. directly and automatically) fed to the machining tool and / or the machining tool may then be (e.g. directly and automatically) programmed by reading the file, at which point the production process includes a production / manufacturing step, in which a machine performs the machining of the product according to the production file, e.g. by directly and automatically executing the production file. The machining process includes a machining tool cutting a real-world block of material to reproduce, e.g., to a tolerance (e.g., tens of microns in the case of milling), the geometry and / or material distribution captured by the CAD model.
[0103] In the case of molding, in addition to checking, determining the CAM file may then further include determining, based on the CAD model, the amount of liquid material to be used for molding and / or the time for the liquid material to harden / solidify inside the mold, and outputting a CAM file containing these parameters. The production process then includes performing the molding (e.g., automatically) based on the output file, and the mold shapes the liquid material into a shape corresponding to the geometry and / or material distribution captured by the CAD model, for example, up to a tolerance (e.g., incorporating a draft angle for demolding or correcting the draft angle), over the determined hardening time.
[0104] Next, the manufacture of a robot body represented by a designed 3D robot body model, or the manufacture of a robot having such a robot body, will be discussed in more detail as an example.
[0105] The method may result in a 3D robot body model representing a robot with deformable parts made from many deformable materials and capable of being actuated in various ways. The robot body or robots may be manufactured from materials such as silicon and they may be actuated by fluid pressure, typically pneumatic pressure. Other actuations may be used, for example cables. In particular, robots designed using the method may use pneumatic actuation, although this is also the most common approach. The (virtual) design obtained by the method may be realized in fabrication using techniques known in the art.
[0106] A robot made according to the design obtained by the present invention may have several different areas / parts, deformable and / or rigid, and the deformable areas can be passive or active. The active areas are those that are configured to be actuated, and the passive areas are those that will not be actuated. Similar to the anatomy of living creatures, the active areas may be equivalently referred to as "muscles" and the rigid areas may be equivalently referred to as "bones" or "skeleton". Each of the passive or active areas may be deformable to some degree or may be non-deformable, i.e. rigid. The active areas may be actuated in various ways. Actuated rigid areas may only show negligible deformation due to their rigidity. Thus, the method may consider the rigid areas passive. Separate parts with different properties may require different and / or independent fabrication processes and may need to be assembled all together later. This can be done according to methods known in the art for robots with deformable parts that serve different purposes. According to such methods, each part may be fabricated separately and then assembled to reach the desired result. An example is given in non-patent document 5.
[0107] In an example, the method may further include manufacturing the robot body or (overall) robot based on the determined 3D robot body model based on optimal continuous values of the design variables. The method may manufacture each of the deformable active / passive parts and / or non-deformable passive / active parts according to a respective manufacturing process and respective material. The method may then assemble these parts together to manufacture the robot. The manufacturing may be performed automatically, or at least partially automatically, when a command is received from an operator (e.g., for validation or input of material types or material availability for a manufacturing tool).
[0108] Having established that it is possible to assemble a robot from as many elements as desired, the construction of each of the individual areas of the robot, including muscle control, will next be discussed.
[0109] The varying stiffness of the passive areas can be produced, for example, by known 3D printing techniques utilizing lattice microstructures, according to the document (Non-Patent Document 6).
[0110] Actuation for individual muscle behaviors, controlled by fluid pressure, can be individual, thanks to individual air pressure supplies by tubes or individual air pump units. This allows the amplitude and timing (e.g. phase shift) of actuation to be controlled accordingly. As for the amount of muscle force and displacement generated for a given air pressure, this can be adapted locally to be a function of the amplitude value assigned to each location in the design. To perform this adaptation, methods of structural optimization can be used. This makes it feasible to adapt the muscle movement, within reasonable error, to any form and behavior generated (i.e. designed) by the method. Topology optimization can move material inside the muscle, arriving at an internal structure that modifies the behavior to match the prescribed stretches and contractions.
[0111] The muscle control strategy can be implemented according to many control strategies in the art and is in no way limited to simple actuations such as sinusoidal actuation. As will be discussed later, the method can implement gradient-based optimization by back chaining through physics, so that the chain rule can be traced back through any control strategy to the parameters governing the actuation, which can then be co-optimized with the robot morphology. This forms another advantage relative to known robot generation methods that do not utilize gradients, since this co-optimization and control strategy is not possible.
[0112] As discussed above, the robot body model has one or more deformable parts, each made of a deformable material. As known in engineering, deformation refers to the change in size or shape of an object under a force (or its stress). In practice, all materials found in reality are deformable, i.e., they deform when pressure is applied. Thus, a rigid material, i.e., a material that does not deform under a force, is hypothetical. In engineering, a rigid material is generally considered to be a material that has negligible deformation, e.g., less than 1% deformation in any direction, when a force (or its stress) is applied. In other words, a rigid body / rigid object is a solid body with zero deformation or so small that it is negligible. The distance between any two given points on a rigid body remains constant in time, regardless of the external force or moment exerted on it. Rigidity may be defined according to a hardness parameter defined by the Young's modulus of each material. For example, in an application of the present method, each material having a Young's modulus higher than a threshold value may be considered rigid, i.e., non-deformable. The threshold value may depend on the forces and stresses that the robot body or robot is expected to experience when put into practice. The threshold may be, for example, 20 GPa, 50 GPa, or 100 GPa. In general, a rigid object may also be defined by a maximum percentage elongation (i.e., strain), especially when compact and not very stretched. For example, a rigid part may not deform more than 1% in any direction. Furthermore, at least a part of the one or more deformable parts is configured to be actuated. By actuation is meant an active deformation of the deformable material, for example contraction or stretching. An active deformation is a deformation under an applied force / stress. An actuation function represents such an active deformation. The force / stress required in designing an actuator (as discussed above) may be determined in any known manner. In an example, the active deformable material may consist of a network of air pockets.The network can be configured such that air can be pumped into the network to create a tensile (expansive) force, or air can be pumped out to create a contractile (contractive) force. In another example, the active deformable material can include an array of linear actuators (e.g., pneumatic or electric) configured to push or pull against a plurality of elastic walls, thereby creating an expansive or contractive force. A designer can then design the actuators to create such an expansive and / or contractive effect.
[0113] By "providing an objective function based on predetermined parameters" is meant that the method obtains an objective function defined using (a set of) predetermined parameters as parameters in the objective function. The objective function is also a continuous function of (a set of) design variables. By "motion metric" is meant a measure relating to the motion of the robot. The motion may include macroscopic motions, such as the displacement and / or rotation of the robot. In an example, the objective function may at least partially calculate the displacement of the center of mass / center of gravity of the robot during a time period. In such an example, the optimization problem may consist in maximizing the displacement over this time period, i.e. maximizing the average velocity. As a result of such an optimized design, a more efficient robot (e.g. in terms of energy consumption and / or time consumption) is obtained under practical conditions for performing a mission or technical task. Alternatively or additionally, the motion may include microscopic motions, such as deformations when a force is applied. In an example, the objective function may at least partially calculate the (e.g. maximum) deformations of the robot under axial forces and / or torsions. The kinematic metric may be according to the application in which the robot designed (and manufactured) according to the method is envisaged to be used. The objective function may then be related to the robot behavior of interest in this application. The optimal value of the objective function corresponds to the optimal performance of the robot with respect to this kinematic metric. By "quantifying a kinematic metric of the robot" it is meant that the objective function outputs a quantity as a metric of this kinematic metric, for example a displacement in centimeters or a deformation in micrometers.
[0114] As discussed above, the predetermined parameters include a plurality of voxels that form a gridding in 3D space. Such a plurality of voxels provides a discrete space within which the geometry of the robot may be described. In an example, the plurality of voxels may form a cube in 3D space. The size of the plurality of voxels (e.g., the size of the edge of the cube formed by the voxels) may be large enough to allow for the design of a variety of robots of a desired maximum size (depending on the application).
[0115] The predetermined parameters further include one or more parameters related to one or more materials. Such parameters may be equivalently referred to as material parameters in the following. These parameters may be mechanical and / or chemical properties including one or more of stiffness (Young's modulus), hardness, toughness, shear modulus, Poisson's ratio, Lamé modulus, specific mass, etc. What is meant by "related to one or more materials" is that each of the material parameters may represent a mechanical and / or physical property of one or more materials. In other words, each of the material parameters may either be equal to a mechanical and / or physical property of one of the one or more materials or represent a range of acceptable values of one of the one or more materials. For example, the material parameters may include minimum and / or minimum values of stiffness of deformable and / or non-deformable materials. In this case, the method may determine one or more deformable / non-deformable materials for the robot to meet the respective maximum and / or minimum upon obtaining the optimal design variables.
[0116] The predetermined parameters further include an actuation function. The actuation function represents an actuation signal that actuates the deformation of the deformable material over a period of time. The actuation signal represents an actuation applied to the robot from one or more actuators or external forces. The actuation function may be defined using one or more parameters. In an example, the actuation function may be a time-dependent function. The actuation function may be a periodic and / or oscillatory function, e.g., a sinusoidal function defined by frequency, phase, and amplitude parameters. Alternatively, the actuation function may be a sum of such periodic and / or oscillatory functions, e.g., a sum of sinusoidal functions with different phases, frequencies, and / or amplitudes.
[0117] The predefined variables may additionally include a time period. The time period may be automatically defined according to the application of the robot and the nature of the forces applied to the robot and / or may be determined by a user. In some examples, the time period may be a time interval during which the behavior of the robot is of interest, such as a time period during which an object is to be grasped. In some examples, the time period may be a time interval long enough for the state of the robot to reach a corresponding stationarity, such as when the robot arm reaches its stationary velocity or when a structure under an external force reaches a stationary deformation state.
[0118] As discussed above, in some examples, the actuation function may be a periodic function, i.e., a function that repeats its value in a regular cycle defined by the frequency. Employing a periodic actuation function may constitute an improved solution by allowing the robot body to undergo repeated actuations where the optimization benefits from the repetition of previous actuation cycles. On the one hand, allowing a large number of loading cycles is computationally costly. On the other hand, significantly reducing the number of cycles may provide the robot with unsatisfactory motion metrics (i.e., the optimal values of the design variables do not provide a satisfactory value of the objective function). In examples, the method may set the time period and / or the frequency such that the time period includes a sufficiently large number of actuation cycles. In certain examples, the method may keep the time period fixed and set the frequency large enough to allow at least 6 or at least 10 (loading) cycles to fit into the time period.
[0119] As discussed above, the method takes the activation function as a given variable. This allows the method to obtain a more efficient optimization strategy, since no additional parameters related to the activation function are required to be determined. Moreover, this allows the method to set the activation function so that the optimization problem converges to the optimal continuous solution faster, i.e. in fewer iterations. For example, the method may set the activation function to a periodic function, as discussed above. On the other hand, periodic functions can be efficiently used to model many practical actuators, such as linear actuators as discussed above or especially air pockets. On the other hand, the periodic function may be sinusoidal, which may allow an optimal behavior of the robot, especially in terms of energy consumption given the power achieved. Periodic functions such as sinusoidal are particularly appropriate when the objective function is the speed.
[0120] The predetermined variables may include multiple other parameters used in the optimization, for example, a parameter indicating a limit on the volume fraction of voxels filled with material, a parameter indicating a limit on the actuation energy of the robot, a parameter indicating a minimum Young's modulus attributed to emptiness, a maximum mass, one or more parameters that control the gradient-based optimization.
[0121] As discussed, the design variables include a distribution of density values across multiple voxels, i.e., a density distribution with a value defined at each voxel. Each density value represents, for a voxel, the percentage of the voxel that is filled with material, continuously and monotonically between empty and full. In an example, each density value may represent the volume fraction of the voxel that is filled with material. In such an example, the density values may range between 0 and 1, with 0 meaning an empty voxel and 1 meaning a completely filled voxel.
[0122] The design variables further include a distribution of actuation coefficients across multiple voxels, i.e., with values defined at each voxel. Each actuation coefficient represents, for a voxel, a response of a material inside the voxel to an actuation signal. The response may be represented by the phase and amplitude of the response. The response may be represented in relation to the actuation signal, i.e., by representing how there is a phase shift between the actuation signal and the response and / or how much the response is amplified compared to the actuation signal.
[0123] In an example, the activation signal at a given voxel is a function of the respective activation function at the given voxel, the value of the density at the given voxel, and the activation coefficient at the given voxel. The activation signal may be a function of the penalized value of the density. Specifically, the activation signal at a given location may be a multiplication of the penalized density, the activation function, and the activation coefficient.
[0124] The method then obtains optimal continuous values of the design variables by exploring the design variables to perform a gradient-based optimization of the objective function. By "exploring the design variables" is meant evaluating the values of the objective function by setting the design variables to various values in a domain (also called an allowable domain) to perform the optimization of the objective function. By "performing the optimization of the objective function" is meant obtaining a set of optimal values of the design variables to obtain an optimal value of the objective function. Performing the optimization may include or may be a minimization or maximization of the objective function. Thus, the optimal value of the design variable may be a value that minimizes or maximizes the objective function. The optimization is a gradient-based optimization, i.e., exploring the design variables is based on transitioning from one candidate design variable (i.e., candidate density variables and candidate actuation coefficients) in one optimization iteration to another candidate design variable in the next iteration using the respective gradients of the objective function. Such transition from one iteration to another may be a continuous map, e.g., a continuous linear combination between the candidate design variables and the weighted gradients in the previous iteration. The gradient of each of the objective functions may be or may include a partial derivative of the objective function with respect to this candidate design variable (e.g., at a given voxel). The gradient-based optimization may be by any known method.
[0125] As discussed above, the obtained optimal design variables are continuous, i.e., they can take any value in a continuous range during the optimization. On the other hand, at the output of the optimization, the obtained optimal values are one single value of the continuous range for each of the optimal design variables in each voxel. In an example, the optimal density value can be any value between the value of a voxel filled with material and the value of an empty voxel, for example between 0 and 1. At the output of the optimization, the obtained density values can form a set of different values, for example a set of at least three different values. In other words, at least three different values from the continuous range of density values appear in the result of the optimization, i.e. in the resulting optimal density value. For example, one of the different values can represent an empty voxel, one can represent a fully filled voxel, and one can represent a partially filled voxel. In an example, at the output of the optimization, the set of all obtained optimal actuation coefficient values can include at least four different values, one of these representing a passive region and at least two of these representing different phases of the active region. In other words, at least four different values from a continuous range of actuation coefficient values appear in the optimization result, i.e. in the resulting optimal actuation coefficient value.
[0126] The method then determines a 3D robot body model based on optimal continuous values of the design variables. In an example, the method may reconstruct the robot geometry using any reconstruction method for voxels and based on an optimal distribution of density values (proportional to the voxel filling).
[0127] Performing the gradient-based optimization may include an iterative process. Each iteration of the iterative process may include simulating the robot based on given variables, thereby obtaining values of the simulation variables over a time period. By "simulation variables" is meant a number of variables that describe / define the state of the robot at a number of times during the simulation time period. In an example, the simulation variables may be a set of position, velocity, and deformation gradient variables over the time period. Obtaining the values of the simulation variables over the time period may further relate to the respective values of the (candidate) design variables. The method may then obtain values of the objective function corresponding to the obtained simulation variable values for the candidate design variables over the time period. Thus, each iteration of the optimization step may include at least one simulation step for evaluating the respective values of the objective function of the candidate design variables for that iteration.
[0128] The method may perform the simulation according to any known method of simulating physics and mechanics. In an example, the simulating may be a meshless method (also known as a mesh-free method). The use of a meshless method is particularly beneficial when the robot is composed of a deformable material. In contrast to mesh-based methods such as finite element methods, meshless methods do not use meshes for materials that may undergo large deformations and / or strains. In such cases, large deformations / strains of the material impose large deformations and / or strains on the respective meshes attached thereto, which may result in singularity problems in obtaining the simulation in the application of mesh-based methods for deformation mechanics.
[0129] In an example, at each iteration of the gradient-based optimization, simulating may include a material point method (MPM). As known in the art, MPM is a meshless method. MPM may include defining a number of particles (i.e., material points) that are positioned relative to a gridding formed by a number of voxels. By "positioned relative to a gridding formed by a number of voxels" it is meant that a (global or universal) location of each particle is defined relative to the gridding. The multiple particles provide a discretization of the robot's geometry.
[0130] The MPM implementation according to the present method may further include assigning each particle a Young's modulus based on the values of design variables. These design variables may be, among others, respective distributions of density values. The MPM may assign Young's modulus to penalize the presence of intermediate density values between filled voxels (e.g., of value 1) and empty voxels (e.g., of value 0). In other words, the MPM implementation according to the present method may suppress the formation of intermediate densities that have no real physical significance, which leads to sharper forms of density close to 1 or 0. In yet another word, the penalization may modify the relationship between stiffness and density such that intermediate densities exhibit significantly lower Young's modulus, thereby allowing the optimization to avoid exploring these values.
[0131] In examples, the MPM may assign the following types of Young's moduli:
[0132]
number
[0133] where E is the assigned Young's modulus, ρ is the density value, p1 is the penalization parameter, and E max is the maximum Young's modulus, and E minis the minimum Young's modulus. In an example, the penalization parameter may be a constant greater than 3, e.g., p1=4. The maximum Young's modulus may be an upper range related to the Young's modulus of one or more materials, as discussed above with respect to the material parameters. The minimum Young's modulus may be a small constant for numerical stability. In other words, E min can be a small number to represent the Young's modulus in the empty case. In the example, E min =0.01.
[0134] Moreover, the MPM may further include assigning to each particle a value of mass based on the density values of one or more corresponding voxels. These corresponding voxels may include the voxel in which the particle is located and / or a group of neighboring voxels of this voxel. For example, the MPM simulation may initially include generating a set of particles, one particle for each voxel, and the mass assigned to the particle may be based (exclusively) on the density value of each voxel, e.g., proportional to such density value. In another example, the density value of the one or more corresponding voxels may be a weighted average of the density values at the corresponding voxels. The weighted average may include a set of weights, each weight corresponding to one of the corresponding voxels. The assigned mass value may be proportional to the weighted average, e.g., by a constant across multiple voxels.
[0135] In an example, multiple particles may be located relative to a gridding such that each voxel contains only one particle. In such an example, the MPM may assign a mass value proportional to the density value of the respective voxel in which the particle is located. The assigned mass value may be of the following types:
[0136] m p =M max ×ρ (2)
[0137] In the above formula, m ρ is the mass assigned to the particle, ρ is the density value, and M maxis a constant across voxels that represents the maximum mass for a particle. max The value of may be set to 1.
[0138] Alternatively, the assigned mass value may be of the following type:
[0139] m p =M max ×min(ρ(1+γκ),1) (3)
[0140] In the above equation, in addition to the notation defined above, κ is a hardening parameter, as will be discussed in detail later. The parameter γ is a weighting parameter that may be a value less than 10, for example 7.
[0141] Furthermore, the MPM may further include assigning to each particle a value of the actuation signal based on the actuation coefficient and the actuation function. In an example, the assigned actuation signal value may be proportional to the respective value of the actuation coefficient, the respective penalized value of the density, and the respective actuation function. The respective value of the density may be obtained as a weighted average of the density values discussed above. Similarly, the MPM may obtain the respective value of the actuation coefficient using a weighted average, optionally using the same weight as for the density. The MPM may use penalization for the respective value of the density. This improves the physical meaning of the model, since, from a modeling point of view, the actuation signal drops to zero as the density approaches zero. Furthermore, such penalization improves numerical stability by avoiding obtaining high amplification of the deformation gradient for deformable and light particles. The assigned actuation signal value may be of the following type:
[0142]
number
[0143] where A is the activation signal to be assigned, ρ is the density value, p2 is the penalization parameter, and A is a constant across voxels. max The value of A may be set to a constant less than 10, such as a constant less than 5. In an example, the method max is the maximum Young's modulus of the deformable part of the robot, i.e., E max (or, in the multi-stiffness example discussed below, E act ) can be reduced to about one-fifth to one-seventh of the original value.
[0144] Furthermore, sin(ωt) is a time-varying (with respect to time t) operating function having a frequency ω. In an example where the time period is 1 to 1.5 seconds, the method may set the frequency to a value between 1 and 100, e.g., less than 50. In other examples, the sine function may be a general operating function f(t), e.g., a linear combination of several sine functions with various frequencies, amplitudes, or phase shifts.
[0145] The MPM may further include iterating the MPM simulation steps based on the Young's modulus, mass values, and actuation signal values assigned to the particles. In an example, at each iteration of the simulation steps, the MPM determines a mesh / grid corresponding to a plurality of material points. In other words, at an initialization step of the simulation, the MPM may determine this mesh by considering a mesh for a plurality of particles. The MPM may obtain a plurality of velocities using the determined mesh, as known in the art (as will be discussed later in the implementation as the "grid calculation" stage). More specifically, the MPM may calculate an actuation stress tensor for the determined mesh, e.g., for the nodes of the mesh, and based on the configuration variables and the predetermined parameters. The MPM may then apply Newton's laws of motion and, optionally, one or more boundary conditions to obtain the above-mentioned plurality of velocities. The MPM may then calculate the displacement of each particle based on the obtained velocities (as will be discussed later in the implementation as the "grid to particle" stage).
[0146] As known in the art, the determined mesh of the MPM is where Newtonian mechanics are computed to find new fields (i.e., distributions) of position, velocity, and deformation gradients. The MPM then uses interpolation to transfer the calculated new fields back onto the particles. Such grid / particle transfer and interpolation can be performed according to any known scheme in the art, which is outside the scope of this disclosure.
[0147] In an example, the MPM may calculate, for each particle and for the determined mesh, a working Cauchy stress tensor according to the following relationship:
[0148]
number
[0149] In the above formula, σ a is the stress, F is the deformation gradient, J is the determinant of F, and I is the identity matrix. Here, λ and μ are Lamé coefficients obtained using the assigned Young's modulus and Poisson's coefficient. Since the Poisson's coefficient varies only slightly for different materials, especially between isotropic continuous materials, the method may consider a constant value for the Poisson's coefficient across multiple voxels. For example, the method may set a constant value of the Poisson's ratio between 0.01 and 0.5, e.g., between 0.1 and 0.45, or between 0.2 and 0.3, e.g., 0.25.
[0150] In an example, a 3D robot body model may consist of one or more deformable parts, each made of a deformable material. In other words, in such an example, the robot body is deformable. In such an example, the design variables may consist of a distribution of density values and a distribution of actuation coefficients across multiple voxels. In particular, in such an example, a value of mass assigned to each particle (when MPM is used) may be proportional to the density value of one or more corresponding voxels, e.g., according to equation (2).
[0151] In an example, the 3D robot body model may further comprise one or more rigid parts, each made of a rigid material. In such an example, the design parameters may further comprise a distribution of hardening parameter values across the plurality of voxels. Each hardening parameter value may represent, for a voxel, a level of hardness of the material filling the voxel, continuously and monotonically between a first level and a second level that is harder than the first level. In an example, the first level may represent a hardness level for the deformable part, and the second level may represent a hardness level for the rigid part. The first level may be set to a value of 0, and the second level may be set to a value of 1. In such an example, the optimal hardening parameter may be a continuous value as discussed above. In other words, the value of the hardening parameter may be any value between the first level and the second level. As a result, the obtained optimal hardening parameter value at the output of the optimization may be from a set of at least three different values of this continuous range. In other words, there are at least three different values of the range in the final set of optimized hardening parameter values. For example, one value may represent a completely rigid voxel, one value may represent a completely deformable voxel, and one value may be between these two extremes.
[0152] Allowing one or more rigid parts in the robot body constitutes an improved solution for the performance of the robot. The presence of rigid parts helps the robot to transfer motion more efficiently and therefore move with less energy consumption, thanks to the interaction between the rigid and deformable parts of the robot. On the other hand, also in a mathematical sense, the presence of rigid parts reduces the amount of deformable parts (or muscles), thereby reducing the energy consumed by the robot when deforming. Moreover, the method obtains the location and size of such rigid parts automatically and through an optimization procedure, rather than leaving it to be selected by the user's intuition.
[0153] Additionally, and similar to that discussed above, the method employs a continuous representation of the hardening parameter, in this example, for the hardness of the material, which improves the solution by providing continuity in the behavior of the objective function with respect to additional free variables of the optimization problem (i.e., the hardening parameter), thereby allowing the method to benefit from gradient-based optimization techniques.
[0154] In such an example, the method may further apply further processing to the obtained hardening parameters to obtain the respective 3D robot body model in the step of determining a 3D robot body model. In an example, such processing may include applying a thresholding step to the (optimal) hardening parameters. For example, the method may determine that each voxel having a hardening parameter higher than the average of the first level and the second level is a rigid voxel.
[0155] In particular, in such an example, the value of the mass assigned to each particle (when MPMs are used) may depend on a function of their respective densities and their respective hardening parameters, such a function may for example be according to equation (3).
[0156] In such an example, performing the gradient-based optimization may include an iterative process. Each iteration of the iterative process may include calculating a distribution of Young's modulus values across a plurality of voxels based on the density value and the hardening parameter value for each voxel. Such calculation of the Young's modulus distribution may be part of the MPM simulation (e.g., in the initialization of the MPM) for each iteration of the optimization. In such an example, the calculation of the Young's modulus values for the voxels is of the following type:
[0157]
number
[0158] where E is the calculated Young's modulus and E maxis the Young's modulus of the rigid material, and E min is the minimum Young's modulus, and E act is the Young's modulus of the deformable material, ρ is the density value, and κ is the value of the hardening parameter,
[0159]
number
[0160] It is.
[0161] In an example, performing a gradient-based optimization of the objective function may further include imposing constraints on the volume fractions, which are calculated from the respective distributions of density values. This improves the optimization to converge to a feasible solution. In particular, imposing the constraints weakly, i.e., not constraining the density values to exact values (e.g., as would be the case with Lagrangian multipliers, and which the method of this example does not do), helps the optimization to better explore the solution space. In an example, the method may apply such weak constraints in the form of renormalization, as discussed below.
[0162] In an example, imposing constraints on the volume fraction, at a given voxel, may be of the following type:
[0163]
number
[0164] In the above formula,
[0165]
number
[0166] It is.
[0167] where η is a parameter and V frac is the volume fraction, ρ is the (constrained) density value,
[0168]
number
[0169] is the unconstrained (or raw) density value,
[0170]
number
[0171] is a function on multiple voxels.
[0172]
number
[0173] is the sum of N voxel is the total number of voxels in the plurality of voxels, which is equal to the total number of particles in the example with one particle per voxel.
[0174] In such examples, performing a gradient-based optimization of the objective function may further include imposing constraints on the actuation energy, which is a function of the design variables. This constitutes an improved solution by setting bounds on the energy consumed by the robot over a period of time, taking into account the amount of actuation and / or the amount of deformable parts that will be used. On the other hand, such examples provide a more efficient solution than multi-objective optimization for optimizing the objective function and the consumed energy. Furthermore, imposing constraints weakly helps the optimization to better explore the solution space, as discussed above. In examples, the method may apply such weak constraints in the form of renormalization, as discussed below.
[0175] In the example, the constraints imposed on the actuation energy, at a given voxel, are of the following type:
[0176]
number
[0177] In the above formula,
[0178]
number
[0179] where α is the constrained actuation coefficient (which is simply called the actuation coefficient),
[0180]
number
[0181] are the unconstrained or raw actuation coefficients,
[0182]
number
[0183] is a function on multiple voxels.
[0184]
number
[0185] is the sum of
[0186]
number
[0187] is the absolute value of the raw actuation coefficient at voxel i,
[0188]
number
[0189] is the (constrained) density value at voxel i, where Γ frac is the energy fraction, N voxel is the total number of voxels in the set of voxels. Here, the energy on a voxel is
[0190]
number
[0191] The function tanh in equation (9) above acts as a soft limit. Such soft limits have little effect when the energy is much lower than the limit, and become stronger as the limit is approached.
[0192] In an example, the predetermined variables discussed above may further include any of the parameters required to simulate the robot. In particular, the predetermined variables may include any of the parameters discussed above with respect to the MPM method, such as the penalization parameters p1, E min , M max , γ, V frac , Γ frac may include one or more of:
[0193] Next, the initialization steps are discussed.
[0194] In an example, the optimization may begin with the initialization of design variables. For example, the method may set density variables to the respective volume fractions V frac As discussed above, the method may provide the volume fraction as a predetermined variable. In such an example, the optimization loop may strongly constrain the value since it only has to move the density while the total remains constant. In an example where the energy consumption usage is a function of the deformable parts and the actuation coefficients range from -1 to 1, the coefficient values are set to neutral, i.e., 0, in all voxels since any other initialization value may introduce bias.
[0195] In such an example, exploring the design variables may further include updating a distribution of values of the design variables based on the previous values and the calculated derivatives. The updating may include a gradient descent update. In other words, the method may update each of the density and actuation coefficients according to a respective gradient and a respective step size along the gradient. The method may further update the updated value of the density using the updated value of the density (i.e., according to gradient descent) and the constraint on the volume fraction. The method may further update the updated value of the actuation using the further updated value of the density and the constraint on the actuation energy.
[0196] In an example, performing the gradient-based optimization may further include computing partial derivatives of the objective function with respect to the design variables. The method may use such computed partial derivatives when updating the values of the design variables as discussed above (e.g., when using gradient descent). Performing the gradient-based optimization may include a time-local method for computing the partial derivatives. Such a time-local method constitutes an improved solution to the limitations of robot design due to differentiable simulations known as "time-global" differentiation. In an example where the optimization proceeds by steepest descent method for the partial derivatives of the objective function relative to the design variables, said derivatives are obtained as a result of running the simulation (e.g., using MPM) forward in time and then integrating the gradient backwards from the end of the simulation. Solving backwards in time in this manner requires saving all intermediate states for every time step in the forward simulation. Because there are a large number of time steps in the simulation, the amount of data to be saved is very large and prohibitive in terms of memory footprint. By employing time-local methods, it becomes possible to simulate and optimize robots that have significantly more design variables and are therefore more complex, have a higher level of detail, and / or are capable of performing longer missions.
[0197] In such an example, performing the gradient-based optimization may include providing a plurality of time points between the initial time and the end of the time period, thereby defining a plurality of time intervals, each formed between the two resulting time points. Thus, obtaining values of the simulation variables over the time intervals may include obtaining the simulation variables at the plurality of time points. Furthermore, simulating the robot based on the given variables may include performing a forward simulation on each time interval from the initial time to the last but one time. Here, performing a forward simulation on a time interval may be based on initial conditions (e.g., for the first interval) and / or a forward simulation on the previous time interval. In other words, the method may divide the forward simulation into several intervals and solve them sequentially. The method may then perform a forward simulation and a backward simulation on the last interval based on the initial conditions and / or a forward simulation on the previous time interval. The method may then perform a backward simulation (i.e., backward in time) on each time interval from the last but one time interval to the first time interval based on the initial conditions (i.e., for the last interval) and / or a forward simulation on the previous time interval.
[0198] In an example, calculating the partial derivatives of the objective function with respect to the design variables may be determined at each time step (i.e., time interval) according to the simulation variables using an equation of the following type:
[0199]
number
[0200] where L is the objective function, ρ is the density value, T0 is the initial time point, and T f is the last of the time points (it is the end of the time period), where s t are the simulation variables at time t, and ρ tis the density value at time t. A similar relationship is given by
[0201]
number
[0202] and
[0203]
number
[0204] It can also be used to calculate
[0205] This means that the method can split the simulation into several parts, deploy the chain rule to get the gradients for each time step, and assemble the gradients. For a division into n subparts, this process requires 2n-1 simulations, i.e., n-1 forward simulations, one simulation in the last interval, and n-1 backward simulations.
[0206] In such instances, the method does not approximate the intermediate states, but instead may reconstruct them by repeating the simulation and using the following type of equation, also known as the "chain rule":
[0207]
number
[0208] term s t is used to simplify the notion of the state of a particle (i.e., position, velocity, deformation gradients) at each time step t.
[0209] Such a decomposition of partial derivatives is particularly possible because the gradients of the design variables and actuations are calculated at each time step of the simulation from the gradients of the simulation variables (e.g., positions, velocities), and the deformation gradients are calculated from chain rule backpropagation from the objective function.
[0210] Using the partial derivatives obtained by the decomposition method, and in examples where the optimization proceeds by the steepest descent method on the partial derivatives of the objective function relative to the design variables, the method may, at each iteration, update each of the design variables at each voxel according to an equation of the following type:
[0211] For the density value ρ,
[0212]
number
[0213] Regarding the operating coefficient α,
[0214]
number
[0215] The hardening parameter κ is
[0216]
number
[0217] Here, δ ρ , δ α , and δ κis the step size in each steepest descent method, sometimes equivalently referred to as the learning rate, as known in gradient descent algorithms in the field of machine learning. The method may set the initial values of each step size (e.g., according to input by a user) and may modify them in the iterations of the optimization (e.g., at each iteration) and according to the convergence behavior of the optimization. In an example, the method may set the values of the step sizes as δ ρ = 0.02, δ α = 0.1, and δ κ = 0.3. The arrow symbol ← indicates that the old value of the operand to the left of the operator will be updated / replaced by the value to the right.
[0218] In the example, the predetermined variables discussed above are the step size δ ρ , δ α , and δ κ It may further include.
[0219] The method is computer-implemented. This means that the steps of the method (or substantially all steps) are performed by at least one computer or any similar system. The steps of the method are thus performed by a computer, possibly fully or semi-automatically. In an example, triggering at least some of the steps of the method may be performed through user-computer interaction. The level of user-computer interaction required may depend on the level of automaticity foreseen and may be balanced against the need to implement the user's wishes. In an example, this level may be user-defined and / or predefined.
[0220] A typical example of a computer implementation of the method is to carry out the method using a system adapted for this purpose. The system may comprise a processor coupled to a memory and a graphical user interface (GUI), the memory having recorded thereon a computer program comprising instructions for carrying out the method. The memory may also store a database. The memory is any hardware adapted for such storage, and may possibly include several physically distinct parts (e.g. one for the program and possibly one for the database).
[0221] FIG. 2 shows an example of the GUI of the present system, where the present system is a CAD system.
[0222] In FIG. 2, the robot body model obtained by the method is presented as a 3D modeled object 2000. The GUI 2100 may be a typical CAD-like interface and may have standard menu bars 2110, 2120 and bottom and side toolbars 2140, 2150. Such menu bars and toolbars include a set of icons selectable by the user, as known in the art, each icon associated with one or more operations or functions. Some of these icons are associated with software tools adapted to editing and / or processing the 3D modeled object 2000 displayed in the GUI 2100. The software tools may be grouped into workbenches. Each workbench includes a subset of software tools. In particular, one of the workbenches is an editing workbench suitable for editing geometric features of the modeled product 2000. In operation, the designer may, for example, pre-select a part of the object 2000 and then initiate an operation (e.g. changing dimensions, color, etc.) or edit geometric constraints by selecting the appropriate icon. For example, a typical CAD operation is modeling punching or folding of a 3D modeled object displayed on a screen. The GUI may display, for example, data 2500 related to the displayed product 2000. In the illustrated example, the data 2500 displayed as a "feature tree" and their 3D representation 2000 relate to a brake assembly including a brake caliper and a disk. The GUI may further show various types of graphic tools 2130, 2070, 2080, for example to facilitate 3D orientation of objects, or to trigger a simulation of the operation of the edited product, or to render various attributes of the displayed product 2000. A cursor 2060 may be controlled by a haptic device to enable the user to interact with the graphic tools.
[0223] FIG. 3 shows an example of the system, where the system is a client computer system, such as a user's workstation.
[0224] The client computer in this example comprises a central processing unit (CPU) 1010 connected to an internal communication bus 1000, and a random access memory (RAM) 1070 also connected to the bus. The client computer further comprises a graphical processing unit (GPU) 1110 associated with a video random access memory 1100 connected to the bus. The video RAM 1100 is also known in the art as a frame buffer. A mass storage device controller 1020 manages access to mass memory devices such as a hard drive 1030. Mass memory devices suitable for tangibly embodying computer program instructions and data include all forms of non-volatile memory, including, by way of example, semiconductor memory devices such as EPROM, EEPROM, and flash memory devices; magnetic disks such as internal hard disks and removable disks; and magneto-optical disks. Any of these may be supplemented by or incorporated in specially designed ASICs (application specific integrated circuits). A network adapter 1050 manages access to a network 1060. The client computer may also comprise a haptic device 1090, such as a cursor control device or a keyboard. A cursor control device is used in the client computer to allow a user to selectively position a cursor anywhere desired on the display 1080. In addition, the cursor control device allows a user to select various commands and input control signals. The cursor control device includes some signal generating devices for inputting control signals into the system. Typically, the cursor control device may be a mouse, with the mouse buttons used to generate signals. Alternatively or additionally, the client computer system may be equipped with a sensitive pad and / or a sensitive screen.
[0225] The computer program may include instructions executable by a computer, the instructions including the means for making the system perform the method. The program may be recordable on any data storage medium, including the memory of the system. The program may be implemented, for example, in digital electronic circuitry, or in computer hardware, firmware, software, or a combination thereof. The program may be implemented as an apparatus, for example, as an article tangibly embodied in a machine-readable storage device for execution by a programmable processor. The method steps may be performed by a programmable processor executing a program of instructions to perform the functions of the method by operating on input data to generate output. Thus, the processor may be programmable and may be coupled to transmit and receive data and instructions to and from a data storage system, at least one input device, and at least one output device. The application program may be implemented in a high-level procedural or object-oriented programming language, or in assembly or machine language, if desired. In either case, the language may be a compiled or interpreted language. The program may be a full installation program or an update program. The application of the program on the system results in, in either case, instructions for performing the method. Alternatively, the computer program may be stored and executed on a server in a cloud computing environment, the server being in communication with one or more clients via a network, in which case a processing unit executes instructions contained in the program, thereby causing the method to be performed in the cloud computing environment.
[0226] Next, implementation of the method is discussed.
[0227] An implementation of the method concerns a solution to the technological design problem of generating a soft robot capable of walking or swimming given a neutral initialization volume, typically a cube, with no a priori shape or actuation strategy. Furthermore, the solution must not be limited in terms of scalability. This means that the computational requirements and especially the memory footprint remain manageable in terms of robot complexity and simulation time.
[0228] An implementation of the method may belong to the field of robotics, especially in robotics using deformable parts. Such field deals with any robotic device that closely interacts with humans, such as exoskeletons, where at least a part of the robot derives its motion from large deformation flexibility. In such robots, there may be further joints or articulations. Such robots have found much success in gripper applications for automated product handling in industry. For example, the company Soft Robotics Inc supplies the food service industry with a gripper called mGrip, which uses a pneumatic flexible clamp to grasp and manipulate very soft objects such as steaks, pastries, and dough balls. Such a flexible robotic gripper concept is also promising for fruit picking.
[0229] In particular, the implementation of the method introduces a novel robot model with flexible members that allows efficient computation of both the configuration and actuator placement for realization of a given behavior. The implementation provides a scalable and convergent solution by reformulating the robot generation problem in terms of continuous variables for both density and actuation. By combining this with a differentiable physics solver, the density and actuation values can be evolved by gradient descent, exhibiting significantly better performance and scalability of the generative process. The implementation also provides an original and effective solution to the memory usage problems of known methods inherent in time-dependent optimization processes involving a large number of variables.
[0230] By providing an efficient scheme for generating virtual robots with deformable parts, the implementations facilitate the design and subsequent construction of physical robots made from silicon or other flexible materials and actuated by air or other fluid-filled chambers.
[0231] Implementation can significantly reduce the trial-and-error process of evaluating different physical designs, and therefore dramatically reduce development time. This effect has already been observed in the automotive world, where the introduction of virtual CAD models of mechanical parts and assemblies has helped reduce car development time by more than a factor of two.
[0232] The implementation can generate effective robots with deformable parts according to an objective function while avoiding the aforementioned drawbacks by using a gradient-based method that provides fast convergence and scalability. The particular advantage of relying on gradient descent in high-dimensional spaces is that it is widely used in training neural networks and is therefore well-studied and efficiently supported by software and hardware. The implementation allows the generation of soft robots in which all components, i.e. muscles (actuators) and more or less rigid passive areas, are free to occupy any position and shape in the design volume for best performance.
[0233] The implementation will produce a virtual 3D robot that can serve as a model for the construction of a real-world soft robot. The robot in the robot model is designed to automatically configure itself to perform a certain behavior. For example, such a behavior can be to move in a given direction, which can be defined as along the X-axis.
[0234] The table below provides a description of each concept used, along with the range within which they may vary.
[0235] [Table 1]
[0236] According to the above, the robot according to the implementation is represented by a density field ρ describing the presence or absence of material, and an actuation field α representing the phase and amplitude of the actuation. Density and actuation can be directly represented as per-voxel values. Both density and actuation fields are defined by real sample values at regular XYZ grid volume locations, i.e. on a voxel field where field values (density, actuation) are defined at each voxel location.
[0237] In a simplified model according to the implementation, the robot is initialized to a basic shape, which can be, for example, a cube. The density can vary between 1 (full of material) and 0 (empty, or no material) anywhere in the space of this shape, resulting in changes in shape and connectivity (i.e., topology). The actuation coefficient can vary between -1 and 1, where -1 and 1 are opposite actuations (out of phase of 180 degrees), and the median value 0 represents passive, non-actuated voxels. In other words, a value of -1 means active minus muscles, a value of 0 means passive muscles, and a value of +1 means active plus muscles. The active minus muscles and the active plus muscles have actuations with a phase difference equal to π, so when one is contracting, the other is stretching.
[0238] The phase and amplitude values shift and multiply the base sine wave. In variants where a hardening parameter exists, this parameter can vary between 0 and 1. The goal of the implementation is to find values of density and actuation in this voxel field that produce the most successful robot behavior. Successful behavior can be defined by one or more criteria, such as jumping, lifting an object, or any other task. According to some implementations, success (i.e., successful behavior) is being able to move as far as possible in a given direction within a certain simulation time.
[0239] Referring to FIG. 3, the gradient-based optimization method according to the implementation follows the following steps.
[0240] Step 301 includes the initialization of the robot variables. Such initialization can be to identical values or randomized values according to a distribution. If the implementation includes implementing (i.e. imposing) a target volume fraction, i.e. a given percentage of voxels from full to empty in the finished robot, the initialization of the density variables can be set to the respective volume fraction.
[0241] Step 302 involves simulating the robot with the MPM, where the robot moves under actuation for a given number of time steps and the distance traveled by the robot's center of mass is recorded, which is the value of the objective function.
[0242] In step 303, gradients of the variables are determined with respect to the objective function. In step 304, the gradient values are smoothed by the geometric mean with the gradients of neighboring voxels. Such smoothing helps to prevent high local variation. Step 305 involves updating the variables according to a gradient descent strategy.
[0243] The iterative loop of steps 302-305 is repeated until a final design is reached in step 306. Completion of the design, i.e., step 306, occurs when the first of the following occurs: i) the maximum allowable computation time is reached, ii) the design stabilizes, i.e., the design variables (density, actuation) do not change from one iteration to the next.
[0244] As discussed above, the implementation simulates the robot using material point method simulation (see Non-Patent Document 7). Material point method (MPM) is a mesh-free numerical simulation method for continuum materials, including fluids and solids, and multiphase interactions. MPM is a hybrid Eulerian-Lagrangian method suitable for modeling objects with large deformations. In the Lagrangian perspective, MPM is represented as a set of particles (with individual properties) and in the Eulerian perspective, as a grid of simulation space with a fixed resolution (for solving the equations of motion). MPM re-evaluates node connectivity at every time step, making it robust against large deformations of soft objects, contrary to finite element methods, where large deformations require very costly remeshing steps to avoid node inversions. In addition, MPM is easily differentiable. These properties make the MPM method suitable for gradient-based optimization.
[0245] In particular, the implementation may perform MPM according to the document (Non-Patent Document 8), which is incorporated herein by reference. The MPM implementation in the cited document is the moving least squares material point method (MLS-MPM), which is a version of MPM in which the interpolation function used to transfer the particle properties to the MPM grid is replaced by a quadratic projection kernel, which significantly speeds up the algorithm.
[0246] MPM consists of three stages. In the first stage, the so-called "particle-to-grid" stage, MPM calculates particle stresses using their deformation gradient F. The mass of each grid node is calculated by a weighted sum of the nearest particles. Furthermore, the node velocity is calculated using the same weighting as the particle velocity and stress. In the second stage, the "grid operation", external forces are applied to the grid nodes and the boundary conditions are solved to obtain the final node velocity. In the third stage, the "grid-to-particle", the particle velocity is obtained by the inverse operation of the first stage. The implementation then calculates the new position of the particle, for example using an explicit Euler solver. These three stages are repeated for each time step of the simulation. All of these operations are differentiable and the gradients of each operation are calculated analytically and combined via the chain rule.
[0247] FIG. 4 shows an example of an MPM. The model consists of a set 400 (left side of FIG. 4) of particles (i.e. material points) associated with a 3D voxel field 410 that models density and actuation. In the voxel field 410, a robot of size 420 is considered by a number of particles 400. In an initialization step, the voxel field 410 covers the design volume of the soft robot. During the simulation, the particles are free to move anywhere in the simulation environment 440, but their density and actuation remain defined by their initial position in the voxel field 410. The simulation environment 440 is divided into an MPM simulation grid 450, which should not be confused with the voxel field 410. The simulation environment has a size 460, which is larger than the robot size 420 (to allow the movement of the robot in the simulation environment 440). During the simulation, the particles 400 can move freely in the simulation environment 440.
[0248] The various grayscale levels in FIG. 4 may represent the distribution of a design variable (e.g., density value) across the particles. For example, darker grayscale means a larger value for each of the design variables. The left side of FIG. 4 shows an initial state where this design variable is set to a constant value across multiple voxels (and thus particles during interpolation). For example, an implementation may set the initial density value to a volume fraction for all voxels. The right side of FIG. 4 may represent the same set of particles 400 during or after optimization. Thus, each particle on the right side of the figure corresponds to a relative particle on the left side.
[0249] Next, various encoding implementations are discussed.
[0250] The implementation discussed above in which design variables are directly presented as per-voxel values may equivalently be referred to as direct encoding.
[0251] In contrast, some implementations may determine the design variables by an encoding that uses fewer variables, known as an implicit model, or neural encoding. Such implementations use a neural network as an implicit function to assign values in the field according to the voxel position in the 3D space. In this case, the optimization optimizes the weights of the network. However, the principles of the method remain the same.
[0252] 5 presents an example of the method using neural encoding. The encoding uses a neural network 510 as an implicit model. The network 510 establishes connections between design variables 520 (e.g., density fields or actuation fields) and the inputs of the network, which are voxel positions 515. The method may obtain optimal values based on MPM simulations 530 similar to the direct encoding method.
[0253] In general, neural encoding benefits from the fact that the neural network provides a 3D implicit model, where the method can obtain a more detailed robot by interpolating between points in a grid (formed by multiple voxels), whereas direct encoding is more beneficial in having a more neutral initialization and better numerical stability.
[0254] The implementation links the fields to the MPM simulation by considering each particle to be linked to its corresponding field voxel. In this regard, the implementation uses the density field to modify the morphology of the robot in the simulation. More specifically, the implementation assigns the mass of the particle as the density and penalizes the presence of intermediate density values. This approach modifies the relationship between stiffness and density such that intermediate densities exhibit anomalously low Young's modulus. As a result, the solver avoids the use of these values. The relationship may be as follows:
[0255] E = (E max -E min )ρ p +E min (16) In the above formula, E max is the maximum Young's modulus, and E min is the minimum Young's modulus. As discussed above, E min can be a small number to represent the Young's modulus in the empty case. In the example, E min = 0.01 and the penalization parameter p = 4.
[0256] To move the robot, the implementation applies a time-varying actuation signal “A” to the deformation gradient, where A=(A max ×α×ρ p ×f(t).I, where f(t) is the actuation function. To obtain the actuation signal, the implementation multiplies the actuation function by a penalized density. Such penalization makes sense from a modeling perspective in that the actuation drops to zero as the density approaches zero. In addition, such actuation improves numerical stability. The actuation signal may be equivalently referred to as a weighted actuation function. In some implementations, the actuation signal may be composed of actuation functions such as a sum of sine functions. In these cases, a is a vector with one parameter per (sine) function.
[0257] The implementation may then obtain the particle's stress (i.e., the Cauchy stress) as follows:
[0258]
number
[0259] In the above formula, σ a is the stress, F is the deformation gradient, J is the determinant of F, and I is the identity matrix, where λ and μ are the Lamé coefficients obtained using Young's modulus and Poisson's coefficient equal to 0.25.
[0260] For the optimization iterations, the implementation may obtain gradients for each of the design variables using the split-and-chain rule discussed with respect to equations (11) and (12). The implementation may smooth these gradients by convolving them with a Gaussian kernel to remove noisy values.
[0261] In some implementations related to walking soft robots, the actuation function may be set to a sine function. Such implementations may consider gravity and ground reaction forces upon contact as the only external forces. The objective function will be to maximize the displacement of the robot's center of mass.
[0262] Figure 6 shows the evolution of a walking robot 600 and the characteristic push-off and jump positions in the final robot's (locomotion) walking cycle. Step 610 presents the robot's initial shape, step 620 is the intermediate shape at 50 iterations, and step 630 presents the final shape after 100 iterations. As can be seen in Figure 6, after 50 iterations the robot's legs 622 and 624 are already present. Steps 640 and 650 present the locomotion cycle push-off and locomotion cycle jump of the final design of the robot 600.
[0263] An implementation may modify the grid calculation to obtain, for example, a swimming soft robot. To do this, the implementation may remove gravity and ground reaction forces by assuming the soft robot is neutrally buoyant, and add drag forces as a function of the robot's surface normals. These normals are obtained by a Sobel filter on the MPM grid.
[0264] FIG. 7 shows examples of swimming robot designs after 50 iterations (710), 100 iterations (720), 150 iterations (730), and 600 iterations (740) of the method.
[0265] The implementation may also accommodate pipelines (such as 300 in FIG. 3) that use different objective functions. For example, the implementation may
[0266]
number
[0267] In such an implementation, the goal is to minimize the acceleration (i.e.
[0268]
number
[0269] The goal is to create a soft damper that minimizes the measure of
[0270]
number
[0271] Such an objective function presents the 6-norm of the acceleration in time for each particle of the robot body. Such a norm can effectively replace the infinity norm (i.e. the maximum norm) with a better behavior in optimizing the objective function. In other words, using such an objective function the optimizer tries to lower the peak acceleration values, which improves as the damage to the damper is reduced.
[0272] 8A-B show an unoptimized passive damper 810 and an optimized example 820. A particular particle is shown as 830.
[0273] The implementation directly optimizes the density and the actuation field. In other words, the implementation performs an optimization of several variables per voxel. Thanks to the scalable behavior of gradient descent in high-dimensional space, the implementation can perform such optimization efficiently.
[0274] Next, example memory management solutions are discussed.
[0275] A known limitation of robot generation by differentiable MPM simulation is the use of so-called "time-global" differentiation. The optimization proceeds by steepest descent on the gradient of the objective function relative to the design variables. The gradient is obtained as a result of running the simulation forward in time and then integrating the gradient backwards from the end of the simulation.
[0276] Solving backwards in time in this way requires saving all of the intermediate states for every time step in the forward simulation. Because there are many time steps in the simulation, the amount of data to be saved can be very large, making this approach prohibitive in memory footprint.
[0277] To avoid such limitations that make it impossible to create soft robots with a high level of detail and / or capable of performing long missions, implementations divide the simulation into several subparts in time and assemble the gradients. An implementation may divide the simulation into four subparts, in which case obtaining the gradients would require seven simulations. For a division into n subparts, the process is identical, amounting to 2n-1 simulations. This is known as a "time-local" approach.
[0278] 9A shows an example of such a time-local approach. The process 700 follows the following steps when n=4:
[0279] - Step 710: For the first three runs, the implementation only does a forward pass and saves the final state of the simulation. Each simulation starts with the state loaded from the previous simulation (i.e. the simulation of the previous time step).
[0280] - Step 920: In the fourth run (i.e., on the last subpart), the implementation proceeds as in the previous three runs, through the gradient of the objective function with respect to the simulation variables as in equation (11), and the gradient of the simulation variables with respect to the design variables, and additionally performs a backward (also called backpropagation) pass from the objective function.
[0281] - Step 930: The implementation re-runs each of the first three runs in reverse order (i.e., third, second, and first) using the saved simulation values. In the reversed order simulation, the implementation (back)propagates the gradient of the objective function to obtain the gradient of the objective function with respect to the design variables as in equation (11).
[0282] - Step 940: The implementation assembles the design variable gradients to obtain the final variables, which are equal to the gradients of a single-step simulation with the same parameters, i.e. the global gradients used in the optimization as in Equation (11).
[0283] Using partitioning, our implementation limits the memory usage of the simulation to 1 / n. This allows the use of a larger number of particles, increasing the resolution of our robots, and thus enabling soft robots to produce more sophisticated behaviors. The increase in simulation cost is actually quite justified given that the memory footprint barrier is removed.
[0284] FIG. 9B shows the partial derivative of the objective function with respect to the density variables using n time steps (i.e.
[0285]
number
[0286] We present another example of a time-local approach to compute the time-local feature vector (T0, T1, T2) for four explicitly specified time points. i1 , Ti2 , and T f , where T0 is the initial time and T f is the final time. The downward arrows indicate forward simulation and the backward arrows indicate backward simulation (or backpropagation). Starting from an initial time T0, block 950 represents run 1, which is the first forward simulation, and block 960 represents runs 3 through n-1 of the forward simulation. Block 970 represents run n, which is the forward and backward simulation. The final time T f 9B , proceeding backwards from block 980, which represents backward simulation runs n+1 to 2n-2, and block 990, which represents backward simulation run 2n-1. As previously mentioned, partial derivative 999 can be expanded as a sum of different temporal sub-portions, i.e., 998, 997, and 996 in FIG. 9B . Sub-portion 998 is calculated from blocks 990 and 950, sub-portion 997 is calculated from blocks 980 and 960, and sub-portion 996 is calculated from block 970.
[0287] The implementation uses gradients from a differentiable physics solver and reconstructs intermediate states by repeating the simulation. The implementation may, for example, compute gradients via the checkpointing trick described in the document (Non-Patent Document 9), which is incorporated herein by reference, using the method described therein.
[0288] Fig. 10 presents a schematic representation of the optimization. Young's modulus 1030 and activation signal 1040 are each calculated in dependence on density variable 1010 and actuation coefficient 1010. Density variable 1010 and actuation coefficient 1010 are calculated using equations (7) to (9), Young's modulus 1030 and activation signal 1040 are calculated using equations (1) or (6), and equation (4), respectively. For better clarity of the figure, potential dependencies on curing parameters are not presented.
[0289] Then, based on the design variables 1030 and 1040, an MPM simulation 1050 T The final simulation state can be obtained at each time step.
[0290]
number
[0291] (Time step T f The values of the simulation variables in are provided to the objective function L. Backpropagation 1060 using the chain rule as in equation (12) and equation (11) completes the optimization to obtain gradients for the design variables and update the design variables using equations (13), (14), and (15).
[0292] Next, an application example for designing a multi-rigidity robot is discussed.
[0293] In a variant, the implementation allows the robot to naturally evolve a skeleton. By skeleton, it is meant that some areas of the robot can be pseudo-rigid, just like the bones of vertebrates, or the arm segments of industrial robots. Combining musculature with a skeleton allows for a leveraged action, which is a more effective way to implement mobility.
[0294] To allow for the emergence of skeletal elements that are much stiffer than other tissues, the implementation allows the optimization to consider configurations where the Young's modulus of active and passive particles is very different. The SIMP formula as discussed above only relates the modulus to density, which means that passive and active particles of the same density have the same Young's modulus. To address this limitation and obtain passive particles with higher modulus, the implementation introduces another formula to replace equation (16).
[0295]
number
[0296] where E is the adjusted Young's modulus and E max is the Young's modulus of the rigid material, and E min is the minimum Young's modulus, and E act is the Young's modulus of the deformable material, ρ is the density value,
[0297]
number
[0298] The stiffening parameter κ is a design variable distributed across multiple voxels that controls the stiffening of the robot.
[0299] According to equation (18), a stiff part may also have an actuation signal, but high stiffness leads to a low deformation gradient and negligible actuation. For κ=0, equation (18) has the same behavior as equation (16), where E act is the E for the deformable part of the robot. max That is, the overall E when the robot is not multi-rigid. max It is similar to.
[0300] However, using equation (18), the mass and Young's modulus E min and E act This leads to multiple solutions for the relationship between , which can lead to particles with high Young's modulus but low mass, resulting in poor behavior. To overcome this issue, implementations can use a relationship to add the effect of stiffness to the mass according to the following equation instead of equation (2):
[0301] m p =M max ×min(ρ(1+γκ),1) (19)
[0302] In the above formula, m ρ is the mass assigned to the particle, ρ is the density value, and M max is a constant across voxels. M maxThe value of may be set to 1. Furthermore, κ is a hardening parameter, as will be discussed in detail later. The parameter γ is a weighting parameter that may be a value less than 10, for example 7.
[0303] Equation (19) always assumes that m p =M max We aim to avoid particles that are too light by setting , which corresponds to the intuition that hard areas should not have a lower weight than would be predicted by their density alone.
[0304] In addition to the advantages discussed above, one of the major advantages of using a differentiable physics solver is that corrections such as Eq. (19) are seamlessly integrated into the chain rule and gradient-based optimization.
[0305] In addition, the implementation also limits the amount of energy used to avoid the optimizer placing active material everywhere. Real-world robots want to use the least amount of energy possible, so not limiting the energy is unrealistic. To address this, the implementation introduces an energy fraction similar to the volume fraction in topological optimizations. Imposing such a fraction encourages the optimizer to use muscle actuations sparingly and try to gain mechanical advantage in combination with the skeletal structure.
[0306] To implement this formulation, the implementation assumes that the energy of the model is
[0307]
number
[0308] In this case, we assume that the sigma-based linear function is related to the activation function according to
[0309]
number
[0310] Where:
[0311]
number
[0312] It is.
[0313] The advantages of this formulation include:
[0314] 1) It allows for the emergence of skeletal structures in an automated manner, something that has not been observed in the previous state-of-the-art techniques.
[0315] 2) It constrains the maximum energy usage by the robot without using multi-objective functions that can be difficult to balance.
[0316] 3) It allows for a fully passive initialization thanks to the tanh function (smoothed Heaviside model), which ensures a smooth transition from passive to active particles. Fully passive initialization is best for the evolutionary emergence of the final robot morphology, since it makes no prior assumptions about where the actuation will be.
[0317] Figure 11 presents an example of a locomotion cycle for a robot 1100 with multi-stiffness due to the skeleton. The muscles (either expanding or contracting) are presented in dark grey, the skeleton in light grey.
[0318] In examples with or without rigid parts, the volume fraction and energy fraction may not take the full range of [0,1] provided in the table discussed above. In practical examples, the value of the volume fraction may be between 0.4 and 0.8, e.g., between 0.65 and 0.75. In some examples, to design a lightweight and efficient robot, a lower volume fraction may be desired, e.g., less than 0.5, e.g., less than 0.4. Smaller values of the volume fraction, e.g., less than a threshold value, e.g., less than 0.2 or 0.1, may not be useful. In examples, the value of the energy fraction may be between 0.2 and 0.6, e.g., between 0.3 and 0.4, e.g., 0.25.
[0319] Prototype implementation The prototype implementation directly optimizes the density and actuation field values using the MPM gradients. The implementation initializes by setting the fields to target values with clamping within a defined interval.
[0320] The prototype implementation may use either neural or direct encoding.
[0321] According to neural encoding, the implementation uses a fully connected neural network with two hidden layers to produce an encoder. It takes voxel space coordinates as input and outputs density and actuation of the voxel. The first output is the density output, and the network uses a sigmoid function to obtain a value between 0 and 1. The network has three outputs for the actuation values fed into a soft argmax function to obtain an actuation function between -1 and 1. To initialize the network, the method pre-trains the network to obtain an actuation value of 0 for each voxel that is equal to the target volume fraction for density. These values are fed into an MPM simulation, and the resulting gradients are used to optimize the weights of the neural network.
[0322] Because the network is an implicit function that will output density and actuation for any voxel coordinate, it is possible to perform simulations and optimizations at a lower resolution and then evaluate the network on a higher resolution grid to obtain a finer-grained definition of the robot.
[0323] With direct encoding, the method directly optimizes the values of density and actuation fields using MPM gradients. The method initializes by setting the fields to target values with clamping within a defined interval. The method applies smoothing with a 3D Gaussian convolution kernel to the gradients to limit high frequencies. Without this operation, filled voxels may appear surrounded by empty voxels, which is unrealistic.
[0324] The implementation involves applying smoothing with a 3D Gaussian convolution kernel to the gradients to limit high frequencies. Without this operation, filled voxels may appear to be surrounded by empty voxels, which is unrealistic.
[0325] 1) MPM implementation form The prototype implementation adopts the MLS-MPM implementation provided in the document (Non-Patent Document 9), which is incorporated herein by reference. The prototype implementation makes some modifications to the above implementation to obtain variable density and adapt the force and actuation functions to different scenarios of the implementation.
[0326] 2) The implementation in the cited document (Difftaichi), originally an extension of Taichi and now integrated in TaichiLang (see non-patent document 10), incorporates automatic differentiation and provides the gradient of the objective function with respect to the space of design variables. This allows gradient-based optimization of simulated objects. TaichiLang is a programming language built on Python and designed to handle sparse structures. It is particularly aimed at implementing high-performance 3D physics and computer graphics approaches using parallel computing.
[0327] 3) Division of global time into local time The prototype implementation uses n=4, i.e. a partition into four. The importance of the partition in time has been verified. On the other hand, on the consumer PC used for testing, it was not possible to obtain a simulation of a robot with 40x40x40 particles. With the partition, this robot was simulated to learn how to walk.
[0328] Memory usage is t*m 3 where t is the simulation time and m is the number of particles along one axis of the robot design domain. This shows that the non-partitioned approach becomes infeasible, no matter what hardware is provided.
[0329] Gripper Scenario As discussed above, an application of the present method may be employed in designing flexible grippers, which is of significant interest in industry. An example of such an application will now be discussed with reference to Figures 8A-B.
[0330] 8A, an exemplary initial configuration of a flexible gripper is presented with gripper 810 and payload 820. The initial state of gripper 810 is a hollowed out cube with payload 820 fitted inside. This is merely an example; other initial states are possible.
[0331] 8B presents a schematic diagram of the gripper 810 and payload 820 relative to a ground surface 840. g 850 is considered along the z-axis 845. Payload 820 will be lifted by gripper 810 and both are simulated together in the MPM, which natively reflects collisions / contacts between payload 820 and gripper 810 (e.g., in gap zone 805).
[0332] The objective function is defined only for the payload 820, and density and actuation updates are defined only for the gripper 810. In MPM, an external force 850 is applied in the positive Z direction and distributed across the top 815 of the gripper 810. The goal is to lift the payload 820 upwards, so the value of the external force 850 should exceed the downward force of the gripper 810 and the object it is to be lifted with (due to gravitational action, i.e., mass times gravity). In other words, F g =-βg(m pl +M gr ), where β>1 so that the gripper can accelerate upwards while holding the payload in its grip. Here, M pl is the mass of the payload 820, M gr is the mass of the gripper 810 and g is the acceleration due to gravity.
[0333] The objective function of the optimization problem will be to maximize the Z value of the payload center of gravity (CG) 825. The final value of the (lifted) height, or an average value, can be used for the Z value. Using the average Z objective has the advantage of producing a reward (gradient) for partial successes, such as when the payload is lifted but falls off the gripper in the last time step.
[0334] Experiments and Results Next, some experimental results with the present method and using the prototype implementation described above are discussed.
[0335] The standard robot resolution for the experiments is 50x50x50, with one particle per voxel, resulting in 125000 particles. This results in a good balance between time computation and 3D resolution. In all experiments, the objective function to maximize is the distance traveled on the x-axis by the centroids of all particles of the robot. The implementation does not take into account particle density for the centroid calculation. The experiments were performed on an Nvidia A6000 GPU. The maximum mass of a particle M max is equal to 1 in all experiments. For material properties, E max = 25. For the operating value, A max = 4.65 and ω of 40, which guarantees at least 6 working cycles. For the optimizer, the implementation uses Adam (from Non-Patent Document 11, incorporated herein by reference) with learning rates of 0.1 for muscle variables and 0.02 for density variables.
[0336] First case: walking robot For the walking robot, the implementation simulated the robot using 768 time steps of 0.002. The volume fraction is set to 0.75. The optimization is performed over 200 iterations.
[0337] FIG. 13A presents the optimized robot motion after these iterations. FIG. 13B presents the evolution of the distance traveled over the optimization with associated evolution at 15, 45, 75, and 200 iterations. The 1 in the distance is the length of the cubic robot. As can be seen, the morphology naturally converged to a bipedal soft robot. In the first iteration, the easiest way to improve the objective function score is to fall over, but the robot naturally built a second leg and walked, improving the objective function. The graph of distance traveled vs iteration in FIG. 13B is convex, which is an indicator of robust convergence.
[0338] Second case: Climbing stairs and avoiding obstacles The robustness of the method is tested in the “stair climbing” and “obstacle avoidance” scenarios. In the stair scenario, the MPM grid resolution is 64 × 64 × 64, and E max = 25. In the obstacle scenario, the MPM grid resolution is 100 × 100 × 100, and E max = 35. In both of the following experiments, the volume fraction is set to 0.65.
[0339] Figures 14A-B present the staircase scenario and the results obtained. As seen in Figure 14A, the scenario is on a staircase with two steps, each step having 1 / 10th the height of the robot, followed by a flat area. Figure 14A presents the optimized robot motion and Figure 14B presents the evolution of the distance traveled over the optimization with associated evolution at iterations 15, 45, 75 and 150. Here, the robot converges to a bipedal robot adapted for climbing stairs and also adapted for walking on flat surfaces. The robot performs 1100 1.4 x 10 -3 The simulation was performed over a time step of 1000 ms (Figure 8). Figures 15A-B present an obstacle scenario and the obtained results. As seen in Figure 15A, the scenario consists in three poles arranged in a triangle. The robot tries to find a trajectory that avoids the poles. The optimized morphology here is very different from the walking scenario or the staircase scenario, both of which are asymmetric and use the inertial effect from the flap-like appendages. The robot is able to overcome 1100 1.1 × 10 -3 The time steps were simulated over 10, 45, 90, and 400. Fig. 15A presents the optimized robot motion and Fig. 15B presents the evolution of the distance traveled over the optimization with associated evolution at iterations 10, 45, 90, and 400.
[0340] Case 3: High-resolution robots In this case, we discuss the optimization of a robot on a voxel grid with a resolution of 100x100x100 and 2 million variables, also with memory management (by the partitioning discussed above). This is 4 orders of magnitude more than what common algorithms can handle. The same parameters as in the "walking" scenario were used with only 512 time steps. Figure 16 presents the results. This experiment also shows the stability of the implementation with respect to resolution, since the results are similar to those of a lower resolution optimized under the same conditions and parameters.
[0341] Fourth case: Multi-rigid robots In this case, the initialization geometry is set to 70 × 35 × 50 along with the addition of a hardening parameter (i.e., stiffness variable). The parameter γ is set to 7. For comparison, a fully soft robot with the same parameters is also simulated. MPM uses explicit time step integration, with a high Young's modulus used in the multi-stiffness robot, and the time step is reduced to avoid numerical instabilities. For our soft robot, the initial shape is set to 2 × 10 -3 time step and E of 25 max In the multi-stiffness case, E max Set to 1500 and 4 x 10 -4 time step, which increases the required computation time.
[0342] The results are presented in Figures 17 and 18A-B. Figure 17 (left) presents the optimized multi-rigid robot, with lighter greyscale representing stiffer materials up to Emax1500. Figure 17 (right) presents the optimized soft robot with the same parameters. Figure 18 (top) presents the motion of the optimized multi-rigid robot, and Figure 18 (bottom) presents the evolution of the traveled distance over the optimization with associated evolution at 15, 50, 75, and 300 iterations. Curves 1810 and 1820 present the soft robot and the multi-rigid robot, respectively.
[0343] As can be seen in these figures, the distance traveled is the same for both robots, but the multi-stiffness robot uses far fewer muscles for the same result and has a radically different morphology. The learning rate of the stiffness parameter κ, i.e., the initial learning rate, δ in equation (15), κ is 0.3 in this experiment. The resulting robot uses its exoskeleton to transmit motion.
[0344] Fifth Case: Energy Limited In this experiment, the same parameters as the walking robot are used in the simulation for only 512 time steps. The energy used by the robot is calculated using the formula
[0345]
number
[0346] It is calculated by:
[0347] The results are presented in FIG. 19, which shows the evolution of the distance traveled by the robot. Point 1910 is the distance traveled by the robot with energy constraint. The lighter parts of the robot in the greyscale are the stiff parts. As can be seen in FIG. 19, the resulting morphology is surprisingly similar to the robot without energy constraint. For Γ higher than 0.25, frac For , the distance traveled by the energy-constrained robot is greater than the unconstrained one, meaning that the unconstrained robot was suboptimal. The constraint is supposed to encourage better gradient descent and avoid local minima. Indeed, optimizing with different values of the energy fraction amounts to searching for a set of Pareto-efficient solutions that maximize the distance traveled while minimizing energy usage.
Claims
1. 1. A computer-implemented method for designing a 3D robot body model, comprising: The 3D robot body model represents a robot body formed of one or more materials, the robot body having one or more deformable portions each made of a deformable material, at least a portion of the one or more deformable portions configured to be actuated, and the method includes: providing an objective function based on predetermined parameters, the objective function being a continuous function of design variables, the objective function quantifying a kinematic metric of the robot, an optimal value of the objective function corresponding to an optimal performance of the robot with respect to the kinematic metric; The predetermined parameters are: A plurality of voxels forming a gridding in a 3D space; one or more parameters related to the one or more materials; an actuation function (f(t)) representing an actuation signal (A), said actuation signal actuating a deformation of said deformable material over a period of time; Including, The design variables are: a distribution of density values across the plurality of voxels, each density value representing, for a voxel, the proportion of the voxel that is filled with material, continuously and monotonically between empty and full; and a distribution of actuation coefficients across the plurality of voxels, each actuation coefficient representing, for a voxel, a response of a material within the voxel to the actuation signal; and exploring the design variables to perform a gradient-based optimization of the objective function, thereby obtaining optimal continuous values of the design variables; determining a 3D robot body model based on the optimal continuous values of the design variables; The method according to claim 1, further comprising:
2. The robot body further comprises one or more rigid parts, each made of a rigid material, and the design parameters include:
2. The method of claim 1, further comprising a distribution of hardening parameter (κ) values across the plurality of voxels, each hardening parameter value representing, for a voxel, a level of hardness of a material filling the voxel, continuously and monotonically between a first level and a second level that is harder than the first level.
3. 3. The method of claim 2, wherein performing the gradient-based optimization comprises an iterative process, each iteration comprising calculating a distribution of Young's modulus values across the plurality of voxels based on the density value and the hardening parameter value for each voxel.
4. 4. The method according to claim 3, wherein the calculation of the Young's modulus value for a voxel is of the following type: [0010] where E is the calculated Young's modulus, and E max is the Young's modulus of the rigid material, and E min is the minimum Young's modulus, and E act is the Young's modulus of the deformable material, ρ is the density value, and κ is the value of the hardening parameter, [0025] It is.
5. 2. The method of claim 1, wherein the robot body is comprised of one or more deformable parts, each made of a deformable material, and the design variables comprise a distribution of the density values and a distribution of the actuation coefficients across the plurality of voxels.
6. 6. The method of claim 5, wherein the value of mass assigned to each particle is proportional to the density value of one or more corresponding voxels.
7. 7. The method according to claim 1, wherein performing the gradient-based optimization of the objective function comprises imposing constraints on volume fractions, the volume fractions being calculated from respective distributions of density values, and optionally imposing constraints on the volume fractions, at a given voxel, of the following type: [0030] In the above formula, [0045] where η is a parameter and V frac is the volume fraction, ρ is the constrained density value, [0050] is the unconstrained density value, [006] on the plurality of voxels [0070] is the sum of N voxel is the total number of voxels in the plurality of voxels.
8. 5. The method of claim 2, wherein performing the gradient-based optimization of the objective function comprises imposing constraints on an actuation energy, the actuation energy being a function of the design variables, and optionally the imposition of the constraints on the actuation energy, at a given voxel, is of the following type: [0080] In the above formula, [0090] and [0089] is the constrained actuation coefficient, ##EQU00011## is the unconstrained actuation coefficient, ##EQU00012## on the plurality of voxels ##EQU00013## is the sum of ##EQU00014## is the absolute value of the unconstrained actuation coefficient at voxel i, and ρ i is the density value at voxel i, and Γ frac is the energy fraction, and N voxel is the total number of voxels, said plurality of voxels.
9. Exploring the design variables includes: updating the distributions of values of the design variables based on previous values and calculated derivatives; further updating the updated value of the density using the updated value of the density and the constraint on volume fraction; further updating the updated values of the actuation coefficients using the further updated values of the density and the constraint on actuation energy; The method of claim 8 further comprising:
10. 10. The method of any one of claims 1 to 9, wherein performing the gradient-based optimization comprises an iterative process, each iteration comprising simulating the robot based on the given variables, thereby obtaining values of simulation variables over the time period, and wherein the simulating is optionally a meshless method.
11. At each iteration of the gradient-based optimization, the simulating includes a material point method (MPM), the MPM comprising: defining a plurality of particles positioned relative to the gridding formed by the plurality of voxels; For each particle, A Young's modulus based on the values of the design variables; a mass value based on the density values of one or more corresponding voxels; and a value of the actuation signal based on the actuation coefficient and the actuation function; and iterating an MPM simulation step based on the Young's modulus, the mass value assigned to the particle, and the value of the actuation signal; 11. The method of claim 10, comprising:
12. Performing the gradient-based optimization further includes calculating partial derivatives of the objective function with respect to the design variables, and performing the gradient-based optimization further comprises: providing a plurality of time points between an initial time and an end of a time period, thereby defining a plurality of time intervals each formed between two resulting time points, such that obtaining values of a simulation variable over said time period includes obtaining said simulation variable at said plurality of time points; performing a forward simulation on each time interval from the initial time to a next to last time, wherein performing a forward simulation on the time intervals is based on initial conditions and / or the forward simulation on previous time intervals; performing a forward simulation and a backward simulation on the last interval based on initial conditions and / or said forward simulation on a previous time interval; performing a backward simulation on each time interval from the time interval before the last to the first time interval based on initial conditions and / or the forward simulation on the previous time interval; 12. The method according to any one of claims 1 to 11, comprising:
13. 13. The method of any one of claims 1 to 12, wherein determining the 3D robot body model based on the optimal continuous values of the design variables comprises thresholding the optimal values of one or more of the design variables across the plurality of voxels.
14. A computer program comprising instructions for carrying out the method according to any one of claims 1 to 13.
15. 15. A system comprising a processor coupled to a memory, the memory having the computer program of claim 14 recorded thereon.
Citation Information
Patent Citations
Orientation of a real object for 3D printing
EP3327593A1
Cited By
System, method, program
JP7939659B1
