Research Article | Open Access

Hayato Saigo, Makoto Naruse, Kazuya Okamura, Hirokazu Hori, Izumi Ojima, "Analysis of Soft Robotics Based on the Concept of Category of Mobility", *Complexity*, vol. 2019, Article ID 1490541, 12 pages, 2019. https://doi.org/10.1155/2019/1490541

# Analysis of Soft Robotics Based on the Concept of Category of Mobility

**Academic Editor:**Dan Selişteanu

#### Abstract

Soft robotics is an emerging field of research where the robot body is composed of flexible and soft materials. It allows the body to bend, twist, and deform to move or to adapt its shape to the environment for grasping, all of which are difficult for traditional hard robots with rigid bodies. However, the theoretical basis and design principles for soft robotics are not well-founded despite their recognized importance. For example, the control of soft robots is outsourced to morphological attributes and natural processes; thus, the coupled relations between a robot and its environment are particularly crucial. In this paper, we propose a mathematical foundation for soft robotics based on category theory, a branch of abstract mathematics where any notions can be described by objects and arrows. It allows for a rigorous description of the inherent characteristics of soft robots and their relation to the environment as well as the differences compared to conventional hard robots. We present a notion called the category of mobility to well describe the subject matter. The theory has been applied to a model system and analysis to highlight the adaptation behavior observed in universal grippers, which are a typical example of soft robotics. The aim of the present study is not to offer concrete engineering solutions to existing robotics but to provide clear mathematical description of soft robots by category theory and to imply its potential abilities by a simple soft gripper demonstration. This paper paves the way to developing a theoretical background and design principles for soft robotics.

#### 1. Introduction

Soft robotics is being intensively studied to overcome the difficulties of traditional robots made from a rigid underlying structure and to create new value by exploiting the intrinsically soft and/or extensible material [1–3]. Conventional hard robots with rigid bodies require precision control of a number of discrete actuators for links and joints; they perform well at repeating well-defined motions for massive manufacturing but have severe difficulties in dealing with uncertain environments. In contrast, soft robots employ flexible and compliant materials that provide abilities such as bending, twisting, or deforming of their bodies to adapt their shape to the environment [1]. Experimental demonstrations including the multigait soft robot [4], universal gripper [5], and octopus robot [6] have highlighted the deformability of their bodies. Experimental implementations of more abilities such as logic gates in soft materials [7], camouflage, and displays [8] have also been studied for soft robots.

Soft robotics is inspired by biology, such as the muscle–tendon complex, skin sensors, and retina observed in living organisms [1, 9, 10]. Pfeifer et al. emphasized the aspect of* embodiment*: behavior is not only controlled by the brain (or signal processing units) but is the result of the reciprocal dynamical coupling of the brain, body, and environment [10]. Part of the control of soft robots is outsourced to morphological and material properties; hence, there is a demand for novel design principles that can be applied to soft robotics [10].

However, the theoretical background of soft robotics is limited to a few studies in the literature, which are introduced below. This is in contrast to hard robots, where a vast and deep theoretical foundation is provided, ranging from conventional and modern control theories [11] to architectural insights such as subsumption architecture [12]. Regarding the theory for soft robots, Pfeifer et al. presented an architectural analysis of the controller, mechanical system, sensory system, and task environment [3]; Brown et al. performed an ad hoc but detailed dynamical system modeling of grippers [5]; Hauser et al. examined the morphological computation of compliant bodies [13]; and Ay et al. performed information theoretic analysis of sensorimotor loop by utilizing transfer entropy to examine the causal structures therein [14]. All of these early theoretical studies shed light on the unique aspects and properties of soft robotics. In the present study, we aim at contributing to the literature of soft robotics via category theory. The aim of the study is* not* to provide concrete engineering solutions or algorithms for soft robotics. We contribute to the literature by clarifying the qualitative features involved in soft robotics which can be attained by our categorical method, including manifesting contrasting properties to conventional hard robots, but not by focusing on quantitative analysis. In the later section, we show an analysis of soft gripper inspired by categorical perspectives. However, here we clearly state that the soft gripper analysis herein is a vehicle for highlighting category theoretic insights; we do* not* mean any direct engineering developments by the present study.

The challenges for developing a theoretical basis for soft robotics stem from a variety of unique attributes which are difficult to describe within conventional frameworks. First, soft robots have a huge number of degrees of freedom. For example, the number of elements involved in a deformable body can be on the scale of Avogadro’s number. From an energetic point of view and with respect to Fourier space, the degrees of freedom will be much smaller than Avogadro’s number, but still sufficiently large if the precision needs to be at a very fine scale. Second, soft robots need to adapt to the environment and its uncertainty. Environmental information, such as the shape of the object of interest to be grasped, is difficult to acquire precisely prior to physical interactions unless high-precision measurement systems are assumed. Accommodating a diverse range of environments remains to be addressed.

In this paper, we propose an approach to soft robotics based on category theory, which is a branch of mathematics that simplifies all mathematical notions into objects and arrows [15–17]. Recently, categorical understanding of decision making and solution searching has been demonstrated [18, 19], where the uncertain environmental entities are described and the underlying mechanisms are characterized by utilizing the theorems and axioms known in the triangulated category. In this study, we adapted the notions of functors and natural transformation in category theory [15–17] to soft robotics by introducing the notion of the category of mobility. The unique attributes of a soft robot are matched to the framework of the category of mobility in that it encompasses the relation between two systems (robot and target) and its evolutions.

To facilitate intuitive understanding, we discuss a grasping problem as an example application of the theory. This is schematically shown in Figure 1. The difficulty of conventional hard robotics lies in the precision control of rigid joints to grasp the object of interest, whereas the soft robotics approach with the universal gripper outsources the adaptation to the object to numerous small particles (in this case, coffee beans) contained in the glove at the end of the arm [5]. With regard to grasping theory, Brown et al. presented a mechanical analysis for the universal gripper [5], while Higashimori et al. discussed a preshaping strategy for hard robot hands [20]. In contrast, we focus on the universality and autonomous adaptation of soft robots. A qualitative agreement is observed between the theoretical prediction and the numerical experiment. It should also be emphasized that the notion of scale-dependent fitting measure between the object and the gripper, to be introduced precisely in the experiment section, is inspired by categorical thinking. With such figures, the explosion of the number of possible states and the interstate transitions are clearly observed when overly small scales are considered: such an aspect is accommodated in the theory by means of natural transformation.

**(a)**

**(b)**

The remainder of this paper is organized as follows. In Section 2, we present mathematical theory for soft robots based on category theory. On the basis of the theory, Section 3 demonstrates the modeling and analysis of a universal gripper that serves to highlight the autonomous adaptation process with a massive number of elements. Section 4 concludes the paper.

#### 2. Category Theory as a Foundation of Soft Robotics

We introduce fundamental concepts in category theory such as* category*,* functor*, and* natural transformation*. To formulate the notion of a category of mobility, we first need the notion of a category. To define the notions of soft and effectively soft robots, we need the notions of categorical isomorphism and categorical equivalence. These are defined in terms of the functor and natural transformation. For a more detailed introduction to category theory, see [15] for example.

##### 2.1. Categories

A category is a network formed from composable arrows that intertwine with objects. The objects can be considered to represent some phenomena, while the arrows show a transformation or process between these phenomena. A category is a system consisting of objects and arrows that satisfies the following four conditions:(1)Each arrow is associated with two objects dom(*f*) and cod(*f*), which are called the domain and codomain, respectively. When dom(*f*) =* X* and cod(*f*) =* Y*, the following can be expressed: or The direction of the arrow does not need to be limited to from left to right; if convenient, it can be from bottom to top, from right to left, etc. A subsystem of the category built up with these arrows and objects is called a diagram.(2)Assume that there are two arrows and such that cod() = dom(): Then, there is a unique arrow called the composition of and :(3)Assume the associative law for the following diagram: Then, we can assume the following: When any compositions of arrows with the same codomain and domain are equal, the diagram is called commutative.(4)The last condition is the unit law. For any object* X*, there exists a morphism called the identity of* X* such that the following diagram is commutative for any* f*:* X* →* Y*: In other words,* f * 1_{X} =* f* = 1_{Y}* f*.

Because of the natural correspondence between objects and their identities, we may identify the objects as identities. In other words, we may consider the objects as just the special morphisms. In the rest of this paper, we may adopt this viewpoint without notice.

*Definition 1 (category). *A category is a system composed of two kinds of entities called objects and arrows that are interrelated through the notions of the domain and codomain and is equipped with a composition and identity to satisfy associative law and unit law.

There are so many examples of categories in mathematics; almost everything in mathematics can be formulated in terms of categories. For example, the category** Set** contains sets as objects and mappings as arrows. Another example is the category of propositions, where objects are propositions and arrows are proofs. Any partially ordered set can be considered as a category; objects are elements of the set, and arrows are the order relation (e.g., larger than) between elements. By definition, this category has at most one arrow between two objects. There is a unique arrow if the codomain is larger than the domain and no arrow otherwise. If we consider a category where the objects are propositions and arrows indicate provability, then the category has at most one arrow between two objects. In general, by considering arrows to indicate “-ability” or “-itivity,” we can obtain the same kind of categories. We define another universal example in the next subsection: the category of mobility.

##### 2.2. Isomorphisms

Once a category given, we can define the sameness between different objects in terms of isomorphism.

*Definition 2 (isomorphism). *An arrow is called an isomorphism if there is an arrow that makes the following diagram:In other words,When there is an isomorphism between and , they are called isomorphic and denoted by .

Two different objects are considered essentially the same in the category if they are isomorphic. Since they are connected by an isomorphism, if one is in a certain diagram, the other is in a completely similar diagram. This is why we can count things with both fingers and stones; a set of five fingers and set of five stones are isomorphic in the category of sets and functions. The notion of “five” is obtained by recognizing such isomorphisms.

In summary, this means that, every time one category is postulated, a suitable sameness called isomorphism is determined for objects that are contacted by reversible arrows in the category. Here, we present the basic structure for elucidating the sameness between obviously different phenomena.

##### 2.3. Category of Mobility

In this world, it is impossible for any phenomenon to be completely identical with any other phenomenon. Therefore, there is no repeatable phenomenon in an absolute sense. This is the undeniable nature of things. It is only possible for us to discuss a law in the form of saying “the same thing can be said about similar phenomena” when we set up an equivalence relation between different phenomena.

Although each phenomenon is restlessly changing, and hence there are no completely identical phenomena as mentioned above, first we regard given phenomena being approximately constant with respect to some equivalence relation. Furthermore, while each of the patterns of the relationship between the system and environment is physically fundamentally unique and unrepeatable all time, we consider them under some criteria of equivalence.

The concepts of the system and interface between the system and environment, under certain equivalence relations, should be essential ingredients in every science. In physics, these concepts are formulated in terms of algebras of quantities (i.e., observables), and states are the expectation functionals of the algebras. The pair of the algebra of quantities and its state provide a general framework to describe the statistical law for a certain system in a certain relationship with the environment. The state connects the quantities themselves and their values in a spectrum and reflects the condition based on the relationship between the system and environment. The state connects the past and future; it can be defined through the equivalence between preparation processes and provides a basis for discussing the possible transition of the relationship between the system and environment.

The concept of the category of mobility is based on the idea that the state at a moment is an effect caused by hidden dynamics while at the same time causing the future development of the dynamics. In general, such a development cannot be expected to be deterministic. Then, we can consider all possible transitions between states, starting from the given initial state , to become a category that contains all possible future states as objects and transitions as arrows. We call this the category of the state transition from . The category contains full information of future possibilities. However, for the purpose of the present paper and related works, it is sufficient to consider a rough sketch: the category of mobility from , which is denoted as . This category contains all future states that can be realized in the not-so-long term, and its arrows indicate transitivity between states in the not-so-long term. Here, the seemingly ambiguous term “not-so-long term” has the same implication as for the formulation of the zeroth law of thermodynamics. It simply stresses the importance of the time scale and dependence on the basic hypothesis, such as* ceteris paribus* (i.e., the state of the environment can be seen as constant).

*Definition 3 (category of mobility). *Let be the initial state of a system and suppose that the state of the environment around that system can be considered as constant. The category of mobility of the system with the initial state has future states as objects and possible state transitions in state *ϕ* of the environment as arrows. We denote as when there is no worry of confusion.

The notion of the category of mobility provides a theoretical framework for soft robots. It can be used to define hard, soft, and effectively soft robots together with the basic notions of category theory, which are introduced in the next subsection.

##### 2.4. Functor and Natural Transformation

A functor is defined as a structure-preserving correspondence of two categories.

*Definition 4 (functor). *A correspondence* F* from to that maps each object/arrow in to a corresponding object/arrow in is called a functor if it satisfies the following conditions:(1)It maps in to in .(2) for any (composable) pair of and in .(3)For each in , .

In short, a functor is a correspondence that preserves diagrams or, equivalently, the categorical structure. A functor is a very universal concept. All processes expressed by words such as recognition, representation, construction, modeling, and theorization can be considered to be the creation of functors. Once the notion of a functor is established, it is natural to introduce the concepts of the category of categories and isomorphism of categories.

*Definition 5 (category of categories). *The category of categories, which is denoted by** Cat**, is a category whose objects are categories and arrows are functors. The isomorphism of categories is defined as the isomorphism in** Cat**, i.e., invertible functors. Two categories are categorically isomorphic if they are isomorphic as objects in** Cat**. In other words, two categories and are categorically isomorphic if there is a pair of functors such that = and =, where and are the identity functors of and .

The notion of the isomorphism of categories seems to be quite natural, but the concept of “essentially the same” categories is known to be too narrow for formulations in mathematics. To define such essential sameness in mathematical terms, which is called the equivalence of categories, we need the central notion of category theory: natural transformation.

*Definition 6 (natural transformation). *Let and be functors from category to category . The correspondence is called a natural transformation from to if it satisfies the following conditions:(1) maps each object in to the corresponding arrow in .(2)For any in ,

For the natural transformation, we use the notation . The second condition above is depicted as follows:The upper-right part denotes the arrow in , and the bottom-left part denotes the arrow in . The second condition in the definition for natural transformation means that the above diagram is commutative.

It is easy to see that the functors from to and natural transformation between them become a category: the functor category from to .

*Definition 7 (functor category). *The functor category from to , which is denoted as Fun(, ), is the category whose objects are functors from to and arrows are natural transformations between them. Isomorphism in the functor categories, i.e., invertible natural transformations, is called natural equivalence. Functors from to are called naturally equivalent if they are isomorphic as objects in Fun(, ).

Since any category can be considered as a subsystem of some functor category in some sense, all kinds of sameness that we can define are actually formulated in terms of natural transformations, especially natural equivalence.

For natural equivalence, which is the isomorphism between functors, we introduce the notion of the equivalence of categories. This is the functor that represents the essential sameness between categories.

*Definition 8 (equivalence of categories). *A functor from to is called an equivalence of categories if there is a functor from to such that is naturally equivalent to and . Two categories and are categorically equivalent if there is an equivalence of categories. In other words, two categories and are categorically equivalent if there is a pair of functors and such that and .

One remark here is that isomorphism and categorical equivalence are categorical counterparts of homeomorphism and homotopy equivalence.

##### 2.5. Control

To define and analyze the notion of soft robots, we begin with the fundamental notion of control of composite systems by its subsystems.

The relationships between a composite system and its subsystems are seemingly simple. Once we consider the control phenomena between subsystems and component systems, a fundamental relationship of duality become clear. On one hand, the composite system trivially includes subsystems. On the other hand, the subsystem determines the full systems. This dynamic duality of acting/acted is well-modeled from the viewpoint of category theory. This provides a framework to treat the categories of morphisms of any system as entities on equal footing: small or large, subsystem or supersystem.

The relationship between systems is modeled by functors between categories of mobility. As an important example, consider the subsystem of the system , where and are the corresponding categories of mobility. Then, there should be projection functors that send the states of* S* to the corresponding states of* S*_{0}, especially* φ* to

*φ*_{0}. Then, we can define the notion of control as follows.

*Definition 9 (control). *Let and be systems, be the composite system, and , , denote their respective categories of mobility. We denote sending to ( = 0, 1) as the projection functors and , which is a section of , as a functor that satisfies . The system is said to controls through in such a situation that the state of the system is (,) when the state of the system is .

One remark on the notion of a composite system is that it includes both the body of the robot and the body of the object under study.

##### 2.6. Hard and Soft Robots

Robots control target systems by making themselves subsystems of the composite system with the target systems. The notion of hardness/softness, which is central to soft robotics, can be defined as follows.

*Definition 10 (hard robot). *A robot is hard when the category of mobility of the composite system of the robot and target entity is isomorphic with the category of mobility of the robot during interaction.

We emphasize the term “isomorphic;” i.e., there is the invertible functor between them. This means a coherent one-to-one correspondence between the state and transitivity of states of the composite system and robots during interaction, as schematically shown in Figure 2(a). In other worlds, the robot controls the state of the composite system deterministically. In contrast, we define the notion of soft robots by replacing “isomorphic” with “categorically equivalent”.

**(a)**

**(b)**

*Definition 11 (soft robot). *A robot is soft when the category of mobility of the composite system of the robot and target entity is categorically equivalent to the category of mobility of the robot during interaction.

We here emphasize that the difference between a hard robot and a soft robot has been successfully defined via exact mathematical notions as the difference in the sameness given by isomorphic and categorical equivalence. Consequently, the categorical equivalence can provide indeterminacy in terms of the control. In other words, as long as the categorical equivalence is satisfied, potentially multiple, in some cases huge, physical states yield the same meaning. In certain contexts, this provides much power for the finding the best or approximately the best way to control, as schematically illustrated in Figure 2(b). In contrast to hard robots, which eliminate the degrees of freedom of composite systems, soft robots make use of such degrees of freedom as some intelligence of nature. In short, soft robotics can be considered as a powerful generalization of conventional robotics based on natural intelligence.

However, not all soft robots are effective because overly soft robots will not work for detailed control. In that sense, there is a tradeoff between finding and keeping the (approximately) best way of control. In the next subsection, we define the notion of effectively soft robots.

##### 2.7. Effectively Soft Robots

What kind of soft robots are effective? To reflect the tradeoff between finding and keeping, we define the notion of* effectively soft robots* as those that are soft at first and hard at the end. More precisely, we define the effectiveness of soft robots based on the notion of critical states for this soft-hard transition.

*Definition 12 (critical state). *A state in the category of mobility of the composite system of a robot and target entity is called a critical state for the soft-hard transition if the category of mobility from , , is isomorphic to the category of mobility of the target entity from , , where denotes the projection functor.

*Definition 13 (effective). *A category of mobility is effective if there is an arrow from any state to some critical state for the soft–hard transition.

*Definition 14 (effectively soft robot). *A soft robot is effectively soft if the category of mobility contains critical states.

The notion of effectively soft robots provides a new idea for the powerfulness of soft robots.

##### 2.8. Universal Gripper as an Effectively Soft Robot

We have focused on the universal gripper [5] as a typical example of an effectively soft robot. The simplest version of the universal gripper consists of a vacuum machine and small bag containing coffee beans [5]. The softness is provided by the mobility of the coffee beans and flexible shape of the small bag. The softness allows the gripper to find the best shape for grasping. However, not all soft robots are effective. What makes the universal gripper an effectively soft robot?

One answer is the vacuum machine because the bag cannot keep its best shape without its help. However, there is another factor: the size of coffee beans.

It is natural to imagine that a smaller size means that the beans have higher mobility. In other words, the category of mobility becomes rich with arrows, and the robot becomes softer. However, the critical states become scarce, so the category of mobility becomes less effective. If this reasoning is correct, there should be optimal size of coffee beans that make the universal gripper effectively soft. In the next section, we present numerical simulations performed to investigate this aspect.

In addition, the notion of categorical equivalence in the definition of a soft robot clearly conveys that fluctuations or deformations are inherently accommodated. Furthermore, in the case of the universal gripper, concerning the fact that the composite system is made by the gripper and the target, the adaptation processes will differ depending on the shape of the target to be handled. In the meantime, we will show that the number of states and transitions is indeed huge if we consider the smaller physical scale involved.

#### 3. Modeling and Analysis: Numerical Demonstrations

To demonstrate the autonomous adaptation of soft robots manifested by the category of mobility as well as quantitatively present the prediction and indication by the theory of effectively soft robot, we present a model system and analysis of a universal gripper [5] as a typical instance of a soft robot. As introduced in the previous section, the gripper contains a number of elemental particles. The purpose of the numerical considerations herein is to demonstrate autonomous adaptation of the gripper to the shape of the object by rearrangements of the internal particles, which correspond to the richness of the transitions of states. In addition, the notion of effectively soft robot implies that an overabundance of transitions will result in faults of intended functionality: we will examine the impacts of physical scale in the adaptation processes.

Before proceeding, we add a few remarks regarding the use of soft gripper. As introduced above, we consider that soft gripper is one of the most visible examples in which the concept of category of mobility is directly applied. We also emphasize that many environmental conditions besides soft gripper and target objects are* not* needed while discussing the concept of the category of mobility in the following numerical studies. On the other hands, in dealing with the ability of moving of soft materials for example, one might have to consider mechanical dynamics of bodies as well as the role of gravity from the beginning. In contrast, we shed light on the concept of category of mobility by simply focusing on the adaptation processes of the soft gripper to the shape of the object. The inclusion of mechanical dynamics will be our future topics.

The object to be grasped is depicted by a one-dimensional surface profile, as schematically shown in the lower side in Figure 3(a), while a universal gripper is represented by an array of particles arranged in an orderly manner in the upper side of Figure 3(a). Once the gripper approaches, touches, and harnesses the object, the particles in the glove of the gripper are rearranged, as schematically shown in Figure 3(b). During the transformation from the initial state to the final state, the particles in the glove move from one place to another, as illustrated by the arrows in Figure 3(b).

Note that each particle in the gripper is not controlled individually; the particles can freely move but are subjected to such a constraint that the total volume, or total number of particles in the glove, is constant.

To highlight such a mechanism, we present the following hierarchical model. Suppose that the surface profiles of the object (i.e., TARGET) and gripper (i.e., GRIPPER) are given by* TARGET*(*x*) and* GRIPPER*(*x*), respectively. The relative difference between GRIPPER and TARGET is denoted by* h*(*x*). We equate grasping to an autonomous modification of the shape of GRIPPER to TARGET because the primary interest is the statistical behavior of particles rather than the mechanical dynamics for lifting objects, such as that studied in [5].

The relative difference* h*(*x*), which is schematically depicted in Figure 3(c)-(i), can be observed at a coarser scale (denoted by Scale* C*), as shown in Figure 3(c)-(ii). In contrast, the detailed differences at a finer scale (Scale* F*) are presented in Figure 3(c)-(iii).

The flow of particles in the glove of the gripper may occur in a region where the difference between the target and gripper is more evident. To quantify such a property, we introduce the following scale- and position-dependent fitting measure:where denotes the height of the difference between GRIPPER and TARGET averaged over the unit at the scale* S* (defined below) at the position* P*, while and represent the average heights of the left- and right-hand-side neighbors, respectively, of* P*. Suppose that TARGET (and GRIPPER) spans a horizontal length of* X* (Figure 3(a)). Further assume that the finest scale of the horizontal resolution is given by* X*/2^{N}, namely, the number of pixels is given by 2^{N}. For simplicity, we can assume that* X* is also given by the power of 2. When the size of a single area is given by* L* = 2^{S}, there are* X*/2^{S} areas in total at the corresponding scale* S*. More specifically, the average height in an area specified at the scale* S* and position* x* is given bywhere* h*^{(0)}, …,* h*^{(0)}(2^{N}) are the height information at the finest scale (*S* = 0).

The movement of particles between adjacent areas is autonomously induced at locations where the scale- and position-dependent metric gives the maximum value. Accordingly, we implement the following model system dynamics.

*Step 1. *Calculate (equation (12)) with respect to TARGET and the present shape of GRIPPER. Here, the scale* S* ranges from to .

*Step 2. *Find the scale and position that maximize .

*Step 3. *Decrease the height of the corresponding area of GRIPPER by a unit if the sign of the content of equation (12), , is positive. This corresponds to a situation where the particles contained in the corresponding area, of which the number is 2^{S}, are flowing out to the neighboring areas. Similarly, increase the height of the corresponding area of the GRIPPER by a unit if the sign of the content of equation (12), , is negative. This corresponds to a situation where the particles contained in the corresponding area are flowing into the neighboring areas.

*Step 4. *Because of the flow of particles getting out of or getting into neighboring areas in Step 3, the heights of the neighbors and increase or decrease. Here, we assume that half of the particles (2^{S-1}) go to the left side, and the other half (2^{S-1}) go to the right side. There are 2^{S} locations for the particles to be settled in the left or right areas. We randomly choose 2^{S-1} positions within such areas of the left- and right-hand-side neighbors, respectively, and reconfigure the height accordingly.

When the area that maximizes (Step 2) is located at the edge of the system, all particles getting out of and into the corresponding area (Step 3) are supposed to move to and from, respectively, its one neighbor. The procedure was implemented in a MATLAB program executed in a personal computer (Panasonic CF-SZ5, CPU: Intel Core i7 2.7 GHz, 16 GB RAM). The random numbers were generated on the basis of Mersenne twister.

Figure 4 summarizes the simulation results. We assumed two kinds of profiles for TARGET, as shown in Figure 4(a) (TARGET A) and Figure 4(b) (TARGET B). These are given as follows:We assumed that the total number of pixels at the finest scale (*S* = 0) in the horizontal direction is given by* N* = 2^{10} (= 1024).

**(a)**

**(b)**

**(c)**

**(d)**

**(e)**

**(f)**

**(g)**

The degree of adaptation of GRIPPER to TARGET is evaluated byThis means that the average of the absolute values of the deviation from the average difference between GRIPPER and TARGET, which is known as* R*_{a}, is used as a measure to quantify the surface roughness in the literature [21, 22]. The initial values of* R*_{a} with respect to the profiles shown in Figures 4(a) and 4(b) are the same.

Figure 4(c) shows the evolution of the profile of GRIPPER when the object is given by TARGET B. As the time elapses, the shape of GRIPPER becomes closer to TARGET B. The metric increases at coarser scales compared with finer scales in the early stages of the adaptation because GRIPPER does not include fine-scale structures. In contrast, as time elapses, shape changes at finer scales are induced. Numerically, the demonstration shown in Figure 4(c) considered six different scales:* S* = 2, 3, …, 7. That is, and defined in Step 1 were 2 and 7, respectively, and the sizes of local areas at each scale (2^{S}) were given by 4, 8, 16, 32, 64, and 128. We repeated the evolution of GRIPPER 1000 times, beginning with the same initial condition (flat surface), and examined the average values in the following analysis.

As shown by the red curve in Figure 4(d),* R*_{a} decreased as time elapsed. We configured to increase, which means that the minimum physical scale considered in the adaptation dynamics was increased, in order to examine the extent of adaptation. This physically corresponds to an increase in the size of the elemental particles contained in the glove of the gripper. The green, blue, and cyan curves in Figure 4(d) represent the evolution of* R*_{a} when was 3, 4, and 5, respectively. The achievable minimum* R*_{a} increased with the minimum scale, which means that the fit between GRIPPER and TARGET was not perfect. Note that increasing the minimum scale obtained certain* R*_{a} faster than at larger scales. For example, until the time cycle of 375,* R*_{a} decreased most rapidly with = 5. Likewise, until the cycles of 888 and 1398,* R*_{a} decreased fastest with of 4 and 3, respectively. It is also noted that* R*_{a} decreases in the same manner until around cycle 200, regardless of the given : this is because the adaptation in the initial phase is dominated by the coarsest scale. A related aspect is further elaborated shortly below.

These results are accounted for by the mathematical framework presented by the category of mobility: the richness of the category of mobility with regard to the minimum physical scale of the model (). A small (e.g., 3) obtains a very small* R*_{a}; however, this can mean that the robot is too soft, either in that the possible friction between the robot and target is weak or that it takes more time to reach a steady state (constant* R*_{a} value). Thus, the concept of an effectively soft robot is demonstrated.

Indeed, the number of states and transitions between states in the numerical model increases exponentially as the physical scale of interests becomes smaller, as shown by the red circles and the blue squares in Figure 4(e), respectively. In this study, for simplicity, the number of states at scale* S* was estimated as the number of arrangements of a total of* N* / 2^{S} blocks over a horizontally expanding area of* N* / 2^{S}. A transition between states is defined such that a block, among* N* / 2^{S} blocks, moves toward either the right- or left-hand side. As shown in Figure 4(e), with* S* = 3 or at a finer scale, the number of states and transitions reaches huge numbers, in the order of 10^{75} and 10^{77}, respectively; whereas at a coarser scale with* S* = 7, they give smaller figures, in the order of 10^{3} and 10^{4}, respectively. With these calculations, it is clear that there is an overabundance of states and transitions, which was argued through natural transformation and the definition of “effectively soft robot” in the previous section. By the way, Mathematica (Version 11.3) was used in deriving the number of states and transitions.

Furthermore, the dynamics of the particle flow behaves differently depending on the shape of the object. Figure 4(f) compares the evolution of* R*_{a} regarding TARGET A and B, which are marked by red and blue curves, respectively.* R*_{a} decreased faster with TARGET A than B. Although the initial value of* R*_{a} was the same for A and B, they had different spatial frequencies, as shown in equation (14). To examine the underlying behavior, Figure 4(g) shows the number of particles transferred between the regions. For example, when the metric was maximized at the scale* S* = 5, the number of particles moving in the system was 2^{5} (= 32). Specifically, here, the number of transferred particles at cycle* t* was evaluated by the average of the number of transferred particles from cycle* t* – 9 to* t* for the purpose of observing the overall evolution. Both TARGETS A (red) and B (blue) behaved similarly in the initial phase until around cycle 100. During this phase, the number of transferred particles was 64, which means that was maximized at the scale* S* = 6; this coincides with the identical initial trajectories of* Ra* observed in Figure 4(d).

When the cycle was around 200, the number of moving particles decreased significantly. This corresponds to the situation where the adaptation between the target and gripper progressed only at the finer scales. This is physically natural because TARGET A had a simple periodic structure; hence, the selected physical scale was basically monotonically decreasing. In contrast, TARGET B exhibited quite different sequences. Because TARGET B had two spatial frequencies, the physical scale that maximized differed depending on the shape in each cycle. Further, especially with TARGET B, the number of particles transferred between the sites exhibited oscillatory behavior from around cycle 100. That is, the physical scale that gives the maximum fitness figure between the gripper and the target may occasionally increase even though* Ra* is monotonically decreasing. These results show the richness of the category of mobility for soft robots where the scale of control is adaptively and autonomously configured. This is another aspect of the concept of an effectively soft robot as described by the theory.

Before finishing the discussions, we add a few remarks. First, while the present study specifically deals with universal gripper as a typical example, the categorical approach in the present paper has general versatile applicability to various sorts of soft robots in such forms as soft-legged robot, octopus’ arm, among others. We emphasize that our approach is surely applicable to other various platforms on the basis of the following reason.

The point is that the effective softness of a robot can be defined whenever we can define the categories of mobility of the composite systems of the robot and the targets. The composite systems in the case of universal gripper are the composite systems of the gripper and the targets to be grasped. The robot is called effectively soft if its control on any target of certain kind is effectively soft. In the case of the walking soft-legged robot, for example, we can define the effective softness by considering the composite systems of the robot and the system of certain kind on which the robot will walk.

Conversely, let us simply consider a continuously deformable soft material, such as a soft ball, under gravity. Here the notion of effective softness cannot be well defined as itself because the equivalence, namely the class of target systems, is not given. Once the class of target systems is specified, in other words, the* purpose* of the robot such as grasp or walk is chosen, then we can define effective softness in our category theoretic framework.

Finally, we discuss the contribution of the present study and future works. One may ask the following question: Is this study a design theory or an architecture for soft robots? We here state that it is the former. We consider that there are huge descriptive benefits in the design of soft robots where the essence of category theory, especially natural transformation, is greatly utilized. Meanwhile, the benefits in synthesis or optimization in the design process of soft robots are unfortunately* not directly* or* not explicitly* derived by the categorical theory itself, at least at this stage of research. Certain specific numerical models, such as the one demonstrated in our paper, taking the universal gripper example, should be accommodated. However, we would like to emphasize that, on the basis of the concept of categorical equivalence, certain specific models can be constructed in a straightforward manner because natural transformation suggests the kinds of aspects that should be highlighted and addressed in the analysis or design processes. Indeed, the derivation of the scale-dependent fitness measure between the gripper and the object demonstrated in the numerical model, as well as the calculation of the estimated number of states and transitions, may* not* be an evident nor obvious examination without categorical understanding of the universal gripper. It is specifically in this sense that the impact on synthesis or optimization aspects of design is partially argued in this paper. Practical ways of refining and extending the categorical concept are, again, our future works including software environment approaches such as biomechanics of bodies [23, 24] where categorical approaches may provide additional insights unlike involving competing interests to existing technologies.

From these considerations, an important future study is construction of theories that provide visible and engineering insights and give fundamental limits for soft robotics from category theory. Indeed, Naruse et al. proposed “short-exact-sequence-based time” based on homological algebra and triangulated category to account for the maximum operating speed in a photon-based solution searching system [18], which addresses the fact that an operation that is too fast does not lead to proper results. A unification of the notions of category of mobility and the theorems known in the triangulated category would be an interesting future study. Of course, we should examine the applicability of the categorical approach by practicing on a variety of concrete engineering systems, not just the universal gripper; for example, reservoir computing, which has been recently implemented in a variety of media such as soft robots [25] and chaotic lasers [26].

#### 4. Conclusion

We have proposed a mathematical foundation for soft robotics based on category theory. The category of mobility with the notions of functors and natural transformation provides a rigorous formulation for soft robots and their interactions with the target object or environment. The difference with hard robots and the effectiveness of a soft robot were mathematically described: the former and the latter are based on isomorphism and categorical equivalence, respectively. Natural transformation provides rich transitions between states providing deformable, autonomous, adaptive behavior of soft robots, whereas a one-to-one correspondence between the state and transitivity of states restricts the rigid movements of hard robots. In the meantime, overabundant transitivity could lead to unstable behavior; for example, a surface profile that is too smooth may not realize successful grasping of target objects. We have introduced the notion of effectively soft robot in order to realize intended functionality with the notion of critical state. As an application of the theory, a model system and analysis have been presented to examine the adaptation behavior observed in universal grippers. The scale dependency of the elemental particles contained in the gripper was observed to agree with the theoretical prediction; indeed, including an overly small scale yields slower adaptation. It should be noted that the scale-dependent adaptation measure has been inspired by the notion of effectively soft robot in the theory. The number of states and transitions therein has been numerically estimated, where smaller scale yield huge numbers. The autonomous adaptation behavior has been demonstrated where different state transitions were clearly observed depending on the profiles of the object where even oscillatory behavior has been observed.

The power of category theory in its descriptive aspect is clear. The benefits in synthesis and optimization have been partially demonstrated in the present study through the modeling and analysis of the universal gripper. As discussed at the end of Section 3, there is a wide range of exciting future studies ranging from constructing general theory, which we can provide benefits to in concrete synthesis processes, not just the exact mathematical description to exercising various application systems, including reservoir computing.

#### Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

#### Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

#### Acknowledgments

We acknowledge K. Nakajima for variable discussions regarding theories and implementations of soft robots. This work was supported in part by the Core-to-Core Program A. Advanced Research Networks, Grants-in-Aid for Scientific Research (A) (JP17H01277) from Japan Society for the Promotion of Science, and CREST program (JPMJCR17N2) from Japan Science and Technology Agency.

#### References

- D. Rus and M. T. Tolley, “Design, fabrication and control of soft robots,”
*Nature*, vol. 521, no. 7553, pp. 467–475, 2015. View at: Publisher Site | Google Scholar - D. Trivedi, C. D. Rahn, W. M. Kier, and I. D. Walker, “Soft robotics: biological inspiration, state of the art, and future research,”
*Applied Bionics and Biomechanics*, vol. 5, pp. 99–117, 2008. View at: Publisher Site | Google Scholar - R. Pfeifer, M. Lungarella, and F. Iida, “Self-organization, embodiment, and biologically inspired robotics,”
*Science*, vol. 318, no. 5853, pp. 1088–1093, 2007. View at: Publisher Site | Google Scholar - R. F. Shepherd, F. Ilievski, W. Choi et al., “Multigait soft robot,”
*Proceedings of the National Acadamy of Sciences of the United States of America*, vol. 108, no. 51, pp. 20400–20403, 2011. View at: Publisher Site | Google Scholar - E. Brown, N. Rodenberg, J. Amend et al., “Universal robotic gripper based on the jamming of granular material,”
*Proceedings of the National Acadamy of Sciences of the United States of America*, vol. 107, no. 44, pp. 18809–18814, 2010. View at: Publisher Site | Google Scholar - C. Laschi, M. Cianchetti, B. Mazzolai, L. Margheri, M. Follador, and P. Dario, “Soft robot arm inspired by the octopus,”
*Advanced Robotics*, vol. 26, no. 7, pp. 709–727, 2012. View at: Publisher Site | Google Scholar - M. Wehner, R. L. Truby, D. J. Fitzgerald et al., “An integrated design and fabrication strategy for entirely soft, autonomous robots,”
*Nature*, vol. 536, no. 7617, pp. 451–455, 2016. View at: Publisher Site | Google Scholar - S. A. Morin, R. F. Shepherd, S. W. Kwok, A. A. Stokes, A. Nemiroski, and G. M. Whitesides, “Camouflage and display for soft machines,”
*Science*, vol. 337, no. 6096, pp. 828–832, 2012. View at: Publisher Site | Google Scholar - M. A. McEvoy and N. Correll, “Materials that couple sensing, actuation, computation, and communication,”
*Science*, vol. 347, no. 6228, Article ID 1261689, 2015. View at: Publisher Site | Google Scholar - R. Pfeifer, M. Lungarella, and F. Iida, “The challenges ahead for bio-inspired 'soft' robotics,”
*Communications of the ACM*, vol. 55, no. 11, p. 76, 2012. View at: Publisher Site | Google Scholar - C. C. de Wit, B. Siciliano, and G. Bastin,
*Theory of Robot Control*, Springer Science & Business Media, 2012. - R. Brooks, “A robust layered control system for a mobile robot,”
*IEEE Journal on Robotics and Automation*, vol. 2, no. 1, pp. 14–23, 1986. View at: Publisher Site | Google Scholar - H. Hauser, A. J. Ijspeert, R. M. Füchslin, R. Pfeifer, and W. Maass, “Towards a theoretical foundation for morphological computation with compliant bodies,”
*Biological Cybernetics*, vol. 105, no. 5-6, pp. 355–370, 2011. View at: Publisher Site | Google Scholar - N. Ay and K. Zahedi, “On the causal structure of the sensorimotor loop,” in
*Guided Self-Organization: Inception*, vol. 9 of*Emergence, Complexity and Computation*, pp. 261–294, Springer, Berlin, Heidelberg, 2014. View at: Publisher Site | Google Scholar - S. Mac Lane,
*Categories for the Working Mathematician*, Springer, 1971. View at: MathSciNet - S. Awodey,
*Category theory*, Oxford Logic Guides, Oxford University Press, 2010. View at: MathSciNet - H. Simmons,
*An Introduction to Category Theory*, Cambridge University Press, 2011. View at: Publisher Site | MathSciNet - M. Naruse, M. Aono, S. Kim et al., “Category theory approach to solution searching based on photoexcitation transfer dynamics,”
*Philosophies*, vol. 2, no. 4, p. 16, 2017. View at: Publisher Site | Google Scholar - M. Naruse, S. Kim, M. Aono et al., “Category theoretic analysis of photon-based decision making,”
*International Journal of Information Technology & Decision Making*, vol. 17, no. 05, pp. 1305–1333, 2018, in press. View at: Publisher Site | Google Scholar - M. Higashimori, M. Kaneko, A. Namiki, and M. Ishikawa, “Design of the 100G capturing robot based on dynamic preshaping,”
*International Journal of Robotics Research*, vol. 24, no. 9, pp. 743–753, 2005. View at: Publisher Site | Google Scholar - E. S. Gadelmawla, M. M. Koura, T. M. A. Maksoud, I. M. Elewa, and H. H. Soliman, “Roughness parameters,”
*Journal of Materials Processing Technology*, vol. 123, no. 1, pp. 133–145, 2002. View at: Publisher Site | Google Scholar - M. Naruse, T. Yatsui, W. Nomura, T. Kawazoe, M. Aida, and M. Ohtsu, “Unveiling the mechanisms of dressed-photon–phonon etching based on hierarchical surface roughness measure,”
*Applied Physics Letters*, vol. 102, no. 7, p. 071603, 2013. View at: Publisher Site | Google Scholar - “Biomechanics of Bodies (BoB),” https://www.bob-biomechanics.com/ (last access: 10 January 2019). View at: Google Scholar
- D. Copaci, E. Cano, L. Moreno, and D. Blanco, “New design of a soft robotics wearable elbow exoskeleton based on shape memory alloy wire actuators,”
*Applied Bionics and Biomechanics*, vol. 2017, Article ID 1605101, 11 pages, 2017. View at: Publisher Site | Google Scholar - K. Nakajima, H. Hauser, R. Kang, E. Guglielmino, D. G. Caldwell, and R. Pfeifer, “A soft body as a reservoir: case studies in a dynamic model of octopus-inspired soft robotic arm,”
*Frontiers in Computational Neuroscience*, vol. 7, p. 91, 2013. View at: Publisher Site | Google Scholar - J. Nakayama, K. Kanno, and A. Uchida, “Laser dynamical reservoir computing with consistency: an approach of a chaos mask signal,”
*Optics Express*, vol. 24, no. 8, pp. 8679–8692, 2016. View at: Publisher Site | Google Scholar

#### Copyright

Copyright © 2019 Hayato Saigo et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.