Next Article in Journal
Industry 4.0 Lean Shopfloor Management Characterization Using EEG Sensors and Deep Learning
Previous Article in Journal
Gait Variability Using Waist- and Ankle-Worn Inertial Measurement Units in Healthy Older Adults
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on the Stationarity of Hexapod Robot Posture Adjustment

Department of Automation, Ocean University of China, Qingdao 266100, China
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Sensors 2020, 20(10), 2859; https://doi.org/10.3390/s20102859
Submission received: 13 April 2020 / Revised: 15 May 2020 / Accepted: 15 May 2020 / Published: 18 May 2020
(This article belongs to the Section Physical Sensors)

Abstract

:
This paper proposes a smooth adjustment method for the instability problem that occurs during the start and stop of a multi-footed robot during attitude change. First, kinematics analysis is used to establish the mapping relationship between the joint angles of the robot support legs and the body posture. The leg joint angle is a known quantity that can be measured accurately and in real time. Therefore, when the position of the foot end of the support leg is unchanged, a unique set of joint angles can be obtained with the change of body posture at a certain moment. Based on the designed mapping model, the smooth adjustment of the posture can be achieved by the smooth adjustment of the support legs. Second, a constraint index that satisfies the requirements of the robot’s steady adjustment of the robot is given. The S-curve acceleration/deceleration method is used to plan the body’s attitude angle transformation curve, and then the mapping control relationship is used to obtain the control trajectory requirements of the joint to achieve smooth adjustment. In addition, this paper also gives a simple choice and motion control method for the redundancy problem caused by the number of support legs of a multi-footed robot when the attitude is changed. The simulation and prototype experiments verify and analyze the proposed method. The results of comparative experiments show that the posture adjustment method proposed in this paper has continuous acceleration without breakpoints, the speed changes gently during the start and stop phases of the attitude transformation, and there is no sudden change in the entire process, which improves the consistency of the actual values of the attitude planning curve with the target values. The physical prototype experiment shows that the maximum deviation between the actual value of the attitude angular velocity and the target value changes from 62.5% to 5.5%, and the degree of fit increases by 57.0%. Therefore, this study solves the problem of the instability of the fuselage when the robot changes its attitude, and it provides an important reference for the multi-footed robot to improve the terrain adaptability.

1. Introduction

Multi-legged robots have the ability to overcome obstacles and adapt to complex terrain, and they can be used as multi-degree-of-freedom operating platforms to complete mobile tasks in rugged areas [1,2]. This is because the robot can adjust its attitude according to the surrounding environment, and the continuous adjustment of the attitude can ensure the efficiency and stability of the robot when completing the mobile task. However, when the robot adjusts its attitude, especially when the robot is working under a large load, the body is prone to shaking due to the discontinuity of the acceleration of the body. The shaking can even cause the robot to tip over. Therefore, it is necessary to study the stability of the robot to solve the problem of body shaking during posture adjustment.
In order to improve the adaptability of hexapod robots on terrain, many scholars have carried out research on posture adjustment from the perspective of robot mechanical structure, force/position control, improved algorithms, and control strategies. Roennau et al. [3] proposed a reactive attitude control method to ensure the stability of the robot under severe rugged terrain by adding an additional rotary joint. Bjelonic et al. [4] studied a new type of hexapod robot, where each leg has five joints, of which two redundant joints improve the robot’s terrain adaptability by controlling the body posture and the direction of the leg relative to the ground. The above improvements to the mechanical structure have improved the adaptability of the robot to higher slopes to a certain extent. Agheli [5] proposed an improved foot force stability margin method, which uses measured contact foot force as a measure of stability, simplifying data and calculation requirements, and making the robot suitable for flat and uneven terrain. Xie et al. [6] proposed a four-legged robot attitude control method that uses the hip-side swing joint moment of the support leg to balance the body’s turnover. Portilla et al. [7] proposed an underwater zero moment point (Uzmp) method to generate the trajectory of the robot’s center of mass. The method stabilizes the balance of the robot before being subjected to any external interference, and successfully realizes the dynamic walking of the legged robot in the underwater environment. KAI-XIAN et al. [8] designed a novel impedance control method for the hydraulic drive unit (HDU) on hydraulically driven legged robots. Experiments show that the HDU with a new impedance control method can solve the problem of robot joint motion stall caused by the disappearance of the load force, and instantaneously switch between position control and force control. This force/position control strategy enables the robot to rely on high-precision sensors to adjust the posture according to the force at the end of the foot. Jemin et al. [9] proposed a neural network control strategy and applied it to the NYmal quadruped robot. Experiments show that NYmal can accurately and energy-efficiently follow high-level body speed commands and can even recover from a fall in a complex configuration. Goldschmidt et al. [10] developed a neural control mechanism for a six-legged robot that can generate basic walking behaviors and enable the robot to effectively perform reactive climbing behaviors. Kim [11] proposed a six-legged robot in which the pressure center control algorithm establishes the robot as an inverted pendulum model with springs and dampers. The sensory feedback controller is used to control the equilibrium position, and the robot can walk stably in free gait. Belter et al. [12] took the Messor robot as their research object, proposed an attitude optimization algorithm based on particle swarm optimization algorithm, and combined body motion planning to achieve body attitude control when crossing obstacles, ultimately proposing a new method for robot pose adjustment from the perspective of improved algorithms. Zhang et al. [13] introduced a complex leg force sensing system and designed a joint torque sensor to implement a force sensing system within the robot control architecture. Belter [14] proposed a new constraint evaluation method for path planning of multi-leg walking robots. Through the application of Gaussian Mixture (GM) to establish the constraint model, with the help of the proposed analytical constraint function, the robot can check the self-collision and the working space within a few microseconds, and effectively plan the robot’s motion. Faigl et al. [15] proposed a self-adaptive control method based on a low-sensor-less robot as a carrier to reduce the stress and torque of the robot structure and servo motor without any additional sensors. Uchida [16], using the attitude control method of the impedance model, taking into account the actuator dynamics, and using the torque of the rotating link and the reaction force of the thigh and calf links as control inputs, established a type I servo system, and designed a linear quadratic integral control system to complete the attitude control of the six-legged robot. Wang [17] proposed a control strategy for the inclined-face walking of the six-legged robot. The robot obtained the rotation matrix through an inertial measurement unit while walking on the inclined face and used the fuzzy controller to adjust the angle of the motor of the support leg to adjust the attitude. Li [18,19] equivalently converted the body motion planning of the additional attitude into independent foot end trajectory planning of each support foot and simplified the inverse solution of the parallel mechanism. The improved control strategy enabled the robot to adjust its pose more intelligently and efficiently. Chen [20,21] established a speed inverse kinematics model of a six-legged walking robot and adopted a proportional–integral–derivative (PID) control strategy for the position and attitude of the robot to realize the closed-loop posture control of the six-legged walking robot. Li et al. [22,23] proposed a method for adaptively adjusting the attitude of a quadruped robot on a slope using a diagonal jogging state. Han et al. [24] developed effective control strategies to allow the robot to pass smoothly over rough terrain. However, these studies on position and posture have not considered the problem of the inertial force of the fuselage when the robot adjusts its attitude, which will cause the robot to shake when the robot is running. Therefore, it is necessary to plan the robot’s posture adjustment to avoid the problem of body shaking and further improve the terrain adaptability of the robot.
This study aimed to solve the problem of robots shaking when adjusting their posture when the robot is fixed at the end point of the foot. First, the stability during posture adjustment was studied. It was found that body shaking during posture adjustment is mainly a result of the shock caused by the sudden change of inertial force due to the discontinuity of acceleration. In this paper, S-curve acceleration and deceleration planning was performed for the attitude discontinuity curve for the problem of acceleration discontinuity, and a posture adjustment method with zero and constant acceleration start and stop was designed. Then, the number of support legs during posture adjustment was judged according to the constraints of the robot’s mechanical structure and terrain, and the legs were divided into support legs and follower legs. From the planned attitude angle curve, the joint angle curve of the support leg was obtained according to the established joint angle-attitude angle mapping model and kinematic model. A high-end polynomial method was used to design the follower legs that did not meet the constraints. Finally, a simulation was performed in the MATLAB (MathWorks, Inc., Natick, MA, USA) environment according to the actual parameters of the robot. Experiments were carried out using a prototype of a six-legged robot developed independently by the laboratory, which verified the correctness of the method. Therefore, this study provided a smooth planning method for the posture adjustment of the six-legged.

2. System Overview

The body posture of the six-legged robot is adjusted by the rotation of the joint angles of the support legs. In this section, by establishing the kinematics model and attitude angle-joint angle mapping model of the robot, the relationship between the attitude angle of the body and the joint angles of the support legs is obtained.

2.1. Kinematics Model

In this paper, an insect-like double-triped hexapod robot was taken as the research object. The body was an axisymmetrical hexagon, each leg had three degrees of freedom, the robot’s weight was concentrated in the center of the body, and the center of gravity of the robot and the center of the body were approximately set to coincide. The kinematics model was established based on the simplified structure of the robot shown in Figure 1. The structural parameters are shown in Table 1. The coordinate system was set as follows:
Reference coordinate system W : the origin is located at the center of mass of the robot; z W is opposite to the direction of gravity; the y W axes are pointing directly in front of the robot body in parallel to the horizontal direction; and the x W axes are determined according to the right-hand rule. This coordinate system was used to simplify the description of the body’s posture.
Body coordinate system B : the center of mass of the robot is the origin of the coordinates; the z B axis is perpendicular to the body; the y B axis points directly in front of the body; and the x B axis points right to the robot body.
Heel joint coordinate system G i : the origin is the heel joint of the i-th leg, and the directions of the coordinate axes are consistent with the coordinate axes of the body coordinate system.
The D-H method was used to obtain the i-th leg foot position G i P i in the root joint coordinate system G i ,
G i P i = G i x i , G i y i , G i z i T = 1 i c i 1 l 1 + l 2 c i 2 + l 3 c i 23 s i 1 l 1 + l 2 c i 2 + l 3 c i 23 l 2 s i 2 + l 3 s i 23
where c i j = c o s θ i j , c i 23 = c o s θ i 2 + θ i 3 , s i j = s i n θ i j , s i 23 = sin θ i 2 + θ i 3 , and j = 1 , 2 , 3 ; the same below.
According to the one-leg inverse kinematics equation, the joint angle matrix θ i = θ i 1 , θ i 2 , θ i 3 T , i = 1 , 2 6 was obtained from the six foot end positions G i P i , where
θ i 1 = s g n G i y i a r c t a n ( G i y i G i x i ) θ i 2 = a r c c o s l 2 2 + x i 2 + G i z i 2 l 3 2 2 l 2 x i 2 + G i z i 2 a r c t a n G i z i x i θ i 3 = a r c c o s l 2 2 + l 3 2 x i 2 + G i z i 2 2 l 2 l 3 π
where x i = G i x i c o s θ i 1 s g n G i x i l 1 .
When the foot is moving, the transformation relationship between the foot end speed of the i-th leg of the robot and the angular velocity of the joint is
θ ˙ i = θ ˙ i 1 , θ ˙ i 2 , θ ˙ i 3 T = J 1 i G i P ˙ i
J i is the Jacobian matrix:
J i = J 11 J 12 J 13 J 21 J 22 J 23 J 31 J 32 J 33
where J 11 = s i 1 l 1 + l 2 c i 2 + l 3 c i 23 , J 12 = c i 1 l 2 s i 2 + l 3 s i 23 , J 13 = l 3 c i 1 s i 23 , J 21 = c i 1 l 1 + l 2 c i 2 + l 3 c i 23 , J 22 = s i 1 l 2 s i 2 + l 3 s i 23 , J 23 = l 3 s i 1 s i 23 , J 31 = 0 , J 32 = l 2 c i 2 + l 3 c i 23 , and J 33 = l 3 c i 23 .
By establishing the forward and inverse kinematics model, the corresponding relationship between the leg joint angle and the foot end position was obtained. The velocity Jacobian matrix of (3) was used to prepare for the later establishment of a model of attitude angular velocity and joint angular velocity mapping.

2.2. Pose-Joint Angle Mapping Model

As shown in Figure 2, the attitude angle matrix E = α , β , γ T of the six-legged robot was defined, where α , β , and γ represent the yaw angle, pitch angle, and roll angle of the robot posture, respectively.
Relative to the reference coordinate system, the angular relationship of the rotation of each axis of the body coordinate system can be described by the rotation matrix W R B ,
W R B = R o t z o , α R o t x o , β R o t y o , γ = c α c β s α c γ + c α s β s γ s α s γ + c α s β c γ s α c β c α c γ + s α s β s γ c α s γ + s α s β c γ s β c β s γ c β c γ
The relationship between the coordinates of the foot endpoint in the heel joint coordinate system and the coordinates in the body coordinate system can be expressed as
B P i = B P G i + G i P i
where B P i is the position of the heel joint in B , which is determined by the structure of the body:
B P G i = B P G 1 B P G 2 B P G 3 B P G 4 B P G 5 B P G 6 = λ 1 2 λ 1 2 λ 2 2 λ 2 2 λ 1 2 λ 1 2 L L 0 0 L L 0 0 0 0 0 0
The relationship between the coordinates of the foot endpoint in the body coordinate system and the coordinates in the reference coordinate system can be expressed as
W P i = W R B B P i
where B P i is the position of the leg end of the support leg in the body coordinate system; W P i is the position of the leg end of the support leg in the reference coordinate system; and W R B is the rotation matrix of the body coordinate system relative to the reference coordinate system.
Since W R B is an orthogonal matrix, W R B 1 = W R B T . From Equations (6) and (8), the relationship between the position of the foot end in the heel joint coordinate system and the attitude angle can be expressed as
G i P i = W R B T W P i B P G i
Therefore, when the position of the support foot is fixed, the mapping relationship between the position of each support leg in the coordinate system of the heel joint and the attitude angle can be established by Equation (9). According to this position, the joint angle under the current body attitude angle can be further obtained from inverse kinematics. Equations (2) and (9) provide a mapping model for the attitude angle of the body and the joint angle of the support leg when the end points of the support leg and foot are fixed.

3. Smooth Adjustment Method of Robot Posture

In order to enable the robot to perform a smooth posture adjustment, it is necessary to determine a smooth adjustment target and plan an attitude angle curve. From the planned attitude angle curve, according to the attitude angle-joint angle mapping model and kinematic model, the joint angle change curve of the support leg at the fixed foot position can be obtained.

3.1. Body Steady Adjustment Target

In order to achieve the goal of stability with no shaking of the body when adjusting the attitude, the constraint indicators that the six-legged robot should meet were established as follows.
  • The attitude angle should not change too quickly at the beginning and end of the adjustment;
  • The angular velocity of the attitude is zero at the beginning and end of the adjustment cycle, and the curve should be continuous without breakpoints;
  • The angular acceleration of the attitude is zero at the beginning and end of the adjustment period, and the curve is continuous without breakpoints;
  • During the adjustment of attitude angle, the support leg joint angle must be within the rotation angle range, and the joint angular velocity cannot exceed the allowable limit value.
The above goals are equivalent to the following constraints:
E ( 0 ) = E f , E ( T ) = E a E ˙ ( 0 ) = 0 , E ˙ ( T ) = 0 E ¨ ( 0 ) = 0 , E ¨ ( T ) = 0 θ i j θ i j m i n , θ i j m a x , v i j V e , i [ 1 , 6 ] ; j [ 1 , 3 ] l i m t > a + E ˙ ( t ) = l i m t > a E ˙ ( t ) = E ˙ ( a ) , a [ 0 , T ] l i m t > a + E ¨ ( t ) = l i m t > a E ¨ ( t ) = E ¨ ( a ) , a [ 0 , T ]
In Equation (10), E f is the initial attitude angle; E a is the target attitude angle; E t is the attitude angle curve; E ˙ t is the attitude angular velocity curve; E ¨ t is the attitude angular acceleration curve; θ i j is the angle of the j-th joint of the i-th leg; θ i j m i n is the minimum angular value of the joint; θ i j m a x is the maximum angular value of the joint; v i j is the angular velocity of the joint; V e is the limit of the angular velocity of the joint; and T is the adjustment period.

3.2. Planning Method Based on S-Curve Acceleration/Deceleration

According to the D’Alembert’s principle of the particle, the main force acting on the particle, the binding force, and the imaginary inertia force form a balanced force system in form. The equivalent inertial force at the real-time center of mass of the robot can be expressed as
F I = m B + m l E ¨ t + i = 1 6 m l e g i W P ¨ legi
In the formula, m B , m l are the mass of the robot body and the load carried by it, and m l e g i is the mass of the i-th leg of the robot. W P ¨ legi is the acceleration matrix of the i-th leg.
Because the mass of the torso of the robot is large and the mass of the legs is negligible, the main factor affecting the inertial force of the robot is the angular acceleration of the posture of the body. Reasonable planning attitude angle curve during robot posture adjustment can reduce the influence of inertial force.
In order to clearly describe the movement of E t in its value range, the amount of calculation when the initial and target angles and attitude angles were changed was simplified so that τ = t T . Hence, the attitude angle change curve could be described as
E t = E f + E a E f s τ E ˙ t = 1 T E a E f s τ E ¨ t = 1 T 2 E a E f s τ
Each element value in E t was not greater than the corresponding element value in E a . Hence, 0 s τ 1 , where s τ is the proportionality factor and independent variable of the angle change, and it describes the change process of the angle. The design of the s τ function can realize the planning of the attitude angle.
Based on the constraints of multiple indicators above, a five-stage “S” curve acceleration and deceleration planning method was used for interpolation. The curve was divided into five sections: acceleration, acceleration, deceleration, uniform speed, deceleration, and deceleration. Except for the uniform speed section, the other four stages were symmetrical. The slopes of the four shift sections were A, the time of the four sections was T a , and the acceleration and deceleration section displacements were L 1 and L 2 .
Then
L 1 = 1 6 A T a 3 L 2 = 5 6 A T a 3 T = 4 T a + 1 2 L 1 2 L 2 A T a 2
Then the acceleration function of s ( τ ) is
s ( τ ) = A τ , ( 0 τ T a ) A ( τ 2 T a ) , ( T a τ 2 T a ) 0 , ( 2 T a τ T 2 T a ) A   [ τ ( T 2 T a ) ] , ( T 2 T a τ T T a ) A   ( τ T ) , ( T T a τ T )
The velocity function of s ( τ ) can be obtained by integrating the acceleration,
s ( τ ) = 1 2 A τ 2 , ( 0 τ T a ) 1 2 A ( τ 2 T a ) 2 + A T a 2 , ( T a τ 2 T a ) A T a 2 , ( 2 T a τ T 2 T a ) 1 2 A ( τ T + 2 T a ) 2 + A T a 2 , ( T 2 T a τ T T a ) 1 2 A ( τ T ) 2 , ( T T a τ T )
The s ( τ ) function can be obtained by integrating the speed,
s ( τ ) = 1 6 A τ 3 , ( 0 τ T a ) 1 6 A ( τ 2 T a ) 3 + A T a 2 τ A T a 3 , ( T a τ 2 T a ) A T a 2 τ A T a 3 , ( 2 T a τ T 2 T a ) 1 6 A ( τ T + 2 T a ) 3 + A T a 2 τ A T a 2 , ( T 2 T a τ T T a ) 1 6 A ( τ T ) 3 2 A T a 3 + A T a 2 T , ( T T a τ T )
In this section, according to the goal of smooth posture adjustment, an acceleration and deceleration planning method with zero acceleration starting and ending and continuous changes was designed. The robot can realize smooth posture adjustment according to this method, which is called the smooth adjustment method. The next section will analyze the preparations before posture adjustment.

4. Hexapod Robot Support Leg Judgement

Because the six-legged robot may adjust the position of a certain leg of the support leg during posture adjustment, it is necessary to analyze and classify all support legs before posture adjustment and then perform attitude angle planning.

4.1. Support Leg Discrimination Algorithm

All supporting legs involved in the posture adjustment process need to satisfy the joint Angle constraint. During the adjustment, the robot needs to be stable. The dynamic stability margin is chosen to measure the stability of the robot due to the influence of adding speed in the robot planning process. The pressure center method was selected as the criterion for dynamic stability [25,26]. S c o p is defined as the projection of the center of mass to the support surface along with the external force. If the projection point is in the support polygon, that is S c o p > 0 ,the robot is stable.
Selection process of support legs
Set the initial flags of all support legs to “1.” The joint angle obtained by using the joint angle sensor can be obtained according to Equations (1), (6), and (8) to obtain the position of the supporting leg and foot end in the reference coordinate system. Under the premise of fixed foot position, Equations (2) and (9) can establish a mapping model of attitude angle-joint angle. From the target posture E a , the three joint angles of each support leg are obtained by Equations (2) and (9), and the joint angle is compared with the joint angle constraint range. If any joint angle of a support leg exceeds the constraint range, the leg flag is immediately set to “0” as a follower leg for planning.
The supporting polygon formed by all the legs satisfying the supporting angle constraint, and then the dynamic stability margin is judged. If the entire adjustment process satisfies the dynamic stability constraint, all legs marked “1” participate in the attitude angle adjustment process; otherwise, the robot is unstable and needs to reset E a until the joint angle constraint and stability constraint index are both satisfied. The process ends.
Support leg judgement is shown in Algorithm 1.
Sensors 20 02859 i001

4.2. Support Leg Planning

For the leg that passes Algorithm 1, the flag is still “1” as the support leg is involved in posture adjustment. On the premise of the fixed position of the foot end of the support leg, according to the E t curve planned above, the joint angle θ i j corresponding to the attitude angle at each time t is obtained, so that the support leg joint angle corresponds to the attitude angle planning curve at each moment in the change curve θ i j t .
When the foot of the support leg does not slide, (8) is used to derive the time to obtain the following expression:
0 = W R ˙ B B P i + W R B B P ˙ i
Because of this relationship,
W R ˙ B = S ω W R B
where S ω is the antisymmetric matrix of the attitude angular velocity vector,
S ω = 0 ω α ω β ω α 0 ω γ ω β ω γ 0
Equation (17) can be written as
0 = S ω W R B B P i + W R B B P ˙ i
Thus, the speed of the foot end point in the body coordinate system can be expressed as
B P ˙ i = W R B T S ω W R B B P i
The derivative of (6) can be obtained, B P ˙ i = G i P ˙ i , and the simultaneous Equation (3) can obtain the change curve of the angular velocity of the support leg joint when the attitude angle changes.
θ ˙ i j ( t ) = J i 1 W R B T S ω W R B B P i

4.3. Planning of Follower Leg

The follower leg is a support leg that cannot cooperate with the current posture adjustment range. Therefore, it is necessary to plan a new footing point for the follower leg and move it to a new position following the posture adjustment cycle, so as to ensure that the leg will not affect the posture adjustment process due to the problem of joint angle limitation. This avoids the problem that the follower legs hang in the air or affect the movement of the body during posture adjustment.
The plan is presented in this section by taking the supporting surface as a plane as an example. The follower leg and foot end point is from the initial point W P f to the target landing point W P a . The planning of follower leg period T and the posture adjustment period T remain synchronized.
In order to simplify the calculation, this article uses the octahedron as the reachable area of the foot. The intersection of an octahedron and a plane or slope with a known inclination produces an effective foot reachable area [27,28]. The boundaries of this area are x m i n , x m a x , y m i n , y m a x , z m i n , and z m a x . At the same time, the center position of the effective reachable area is selected as the new foothold W P a of the following leg. Then, the expected end point coordinate W P a t = x a , y a , z a is
x a = x m i n + x m a x 2 y a = y m i n + y m a x 2 z a = z m i n + z m a x 2
The trajectory of foot W P i ( t ) must satisfy the constraint condition of (24):
W P i ( 0 ) = W P f , W P ˙ i ( 0 ) = 0 , W P ¨ i ( 0 ) = 0 W P i ( T ) = W P a , W P ˙ i ( T ) = 0 , W P ¨ i ( T ) = 0
In Equation (24), W P f is the initial foot end position of the follower leg; W P a is the target foot end position of the follower leg; and W P i t , W P ˙ f t , and W P ¨ i t are the position, velocity, and acceleration curves of the foot end in the reference coordinate system.
According to the constraint condition of (24), the fitting of the end-point curve by the high-order polynomial method can be described as
W P i ( t ) = a 0 + a 1 t + a 2 t 2 + a 3 t 3 + a 4 t 4 + a 5 t 5
Therefore, the trajectory of the follower leg W P f ( t ) = W x ( t ) , W y ( t ) , W z ( t ) T in the reference coordinate system can be described as
W x ( t ) = W x ( 0 ) + 10 ( W x ( T ) W x ( 0 ) ) T 3 + 15 ( W x ( 0 ) W x ( T ) ) T 4 + 6 ( W x ( T ) W x ( 0 ) ) T 5 W y ( t ) = W y ( 0 ) + 10 ( W y ( T ) W y ( 0 ) ) T 3 + 15 ( W y ( 0 ) W y ( T ) ) T 4 + 6 ( W y ( T ) W y ( 0 ) ) T 5 W z ( t ) = W z ( 0 ) + 10 ( W z ( T ) W z ( 0 ) ) T 3 + 15 ( W z ( 0 ) W z ( T ) ) T 4 + 6 ( W z ( T ) W z ( 0 ) ) T 5
In Equation (26), W x ( t ) , W y ( t ) , and W z ( t ) are the change curves of the end points of the foot in the direction of the three coordinate axes in the reference coordinate system.
When the initial and target positions of the follower legs and feet are known and the planning period T is known, the foot-end planning curve can be obtained according to Equation (26).
In this section, motion planning was performed for the support leg and the follower leg when the posture was adjusted smoothly. In the next section, a simulation experiment will be carried out on the body posture smooth adjustment strategy.

5. Simulation

First, Algorithm 1 is used to judge each supporting leg of the robot. For the supporting legs that satisfy Algorithm 1, the angle sensor is used to collect the joint angle, and the position of the foot end in the reference coordinate system is calculated. Then, under the condition that the foot position of the supporting leg is fixed, the attitude angle trajectory is planned according to the known initial posture and target posture. Finally, according to the planned attitude angle curve, the attitude angle-joint angle mapping model is used to obtain the change curve of the support leg joint angle. Analyze and evaluate the joint angle change curve to verify the feasibility of this attitude adjustment method.
The simulation environment of the robot was terrain with a slope of 5. The support legs were leg1, leg2, leg3, and leg6, whereas leg4 and leg5 did not touch the ground. The specific parameter values of the hexapod robot prototype are shown in Table 2. The experimental parameters are shown in Table 3. On the premise that the foot ends of the support legs were not sliding relative to the ground, the posture of the body was changed from the initial attitude angle E f = 0 ° , 5 ° , 0 ° T to the target attitude angle E a = 5 ° , 18 ° , 10 ° T .
According to the judgment of Algorithm 1, it was determined that the knee angle of leg1 was outside the upper and lower limits of the joint angle, the position of the leg state was set to “0,” and it moved as a “follower leg.” However, the joint angles of leg2, leg3, and leg6 were within the constraint range. All joint angles were within the constraint range, the whole process satisfies the dynamic stability margin, so it served as a support leg.
The simulation parameters were set, and the slopes of the four shift sections were smoothly adjusted to A = 8 ° / s 3 and T a = 0.3   s . From the planned attitude angle curve E t and attitude angular velocity curve E ˙ t , according to Equations (2), (9), and (22), the support leg joint angle curve θ i j t and the angular velocity curve θ ˙ i j t were obtained. Because the extreme value of the continuous derivative function can always be obtained at the point where its derivative function is zero, the joint angular velocity curve can obtain the extreme value at t = 2 T a or t = T 2 T a . The speed extremes of the three joint angles of the support leg are presented as V e in Table 2. For each joint, the corresponding adjustment period T i j was obtained, and the largest of all T i j was taken as the adjustment period. This adjustment period T was not only the time to satisfy all joint angular velocity constraints but also the fastest time to achieve this adjustment process. After calculating the knee joint corresponding to leg3, the adjustment time required was the largest, so the adjustment period was T = T 33 = 1.98   s .
Through MATLAB, a comparison experiment of the uniform speed adjustment planning method [29] commonly used in the attitude angle and the smooth adjustment method proposed in this article was performed. The attitude angular velocity curves of the two methods are shown in Figure 3a,b, and the attitude angular acceleration curves of the two methods are shown in Figure 4a,b. The curves of the changes in the leg angle and the angular velocity of the joints of the support leg when planning with the smooth adjustment method are shown in Figure 5 and Figure 6.
Comparing the attitude angular velocity curves of the two planning methods in Figure 3, the angular velocity curve of the uniform speed adjustment method was not as smooth during the entire adjustment cycle compared with the smooth adjustment method, and the speed changed rapidly at the initial and end stages of the adjustment cycle. It can be seen in Figure 4 that the smooth adjustment method had continuous acceleration curves and no abrupt changes throughout the adjustment period, thus satisfying the constraint index of the smooth posture adjustment of (10). However, the acceleration curve of the uniform speed adjustment method was discontinuous and abrupt.
Figure 5 and Figure 6 show the joint angle and angular velocity changes of the support legs leg2, leg3, and leg6. It can be seen from the image that each support leg satisfied the joint angle constraint and joint angular velocity constraint conditions in Equation (10). The support leg joint angle and angular velocity curve continuously changed with time, and the steering gear rotated smoothly.
For the follower leg leg1, Equation (23) calculates that at the end of the posture adjustment, the center position of the contact space between the foot end and the ground is W P a = 18.8 , 10.46 , 10.96 so point W P a is taken as the landing point of the follower leg at the end time. The constraint of Equation (24) was substituted into Equation (26) to get the planning curve of the foot end of the follower leg leg1. The coordinates, velocity, and acceleration curves of the end points of the foot in the three directions of x, y, and z are shown in Figure 7.

6. Prototype Experiment

6.1. Experiment of the Degree of Fit Between the Target Value and the Actual Value of the Planning Curve

In order to verify the reliability of the theory, the robot is equipped with a nine-axis attitude sensor HI219M (Hipnuc inc., Beijing, China) [30] to establish an attitude monitoring environment for comparative experiments. The nine-axis gyroscope is installed in the center of the top of the robot and used as a measuring device. The attitude monitoring environment is shown in Figure 8. The sensor parameters are shown in Table 4. With the help of this sensor, the robot’s attitude angle, angular velocity, and angular acceleration data in the X, Y, and Z directions can be collected in real time, and transmitted to the host computer through the communication module for real-time drawing. The entire control block diagram during posture adjustment is shown in Figure 9.
The experimental process should follow the following steps:
  • Check HI219M. Since the sensor is easily affected by the geomagnetic field, it is necessary to check the accuracy of the sensor before collecting the posture. If the sensor is not checked, the sensor may be affected by the surrounding magnetic field, resulting in inaccurate measurement results. Open the interface of the sensor host and connect the module. Open the IMU interface and rotate 360° around the three coordinate axes. If a relatively complete circle appears in the drawing area, it indicates that there is no large magnetic field around the circle, so attitude measurement can be performed.
  • Confirm the experimental environment. Turn on the robot and place it under the experimental terrain to check whether the robot body has loose parts, whether the support plane is hard, and the initial posture is correct. If the experimental environment is accurate, please proceed to the next step.
  • Collect real-time images. The sensor collects the posture information of the robot to the host computer for real-time drawing during posture adjustment. Taking a random attitude angle as an example, the interface of the host computer is shown in Figure 10.
The experimental environment was the same as the simulation environment in Section 4. The robot adjusted its attitude on three support legs (leg2, leg3, and leg6) on a five-degree slope. The body posture was adjusted from the initial attitude angle E f = 0 ° , 5 ° , 0 ° T to the target attitude angle E a = 5 ° , 18 ° , 10 ° T , and the period T = 1.98   s was adjusted. Taking the angular velocity information during posture adjustment as an example, the degree of fit between the target value of the angular velocity and the actual value was analyzed when using the uniform speed adjustment method (as shown in Figure 11), and the degree of fit of the target value of the angular velocity and the actual value was analyzed when using the smooth adjustment method (as shown in Figure 12). The colored lines in the figures represent the actual values collected by the sensor, and the black lines are the target values of the simulation.
It can be seen from Figure 11 that the angular velocity planned by the uniform speed adjustment method had a strong fluctuation at t = 0.2 s and 1.5 s, which was caused by the discontinuity in the acceleration of the uniform speed adjustment. However, the curves of the target value and the actual value for the smooth adjustment method (Figure 12) had good follow ability, and the degree of fit was higher than that of the uniform speed adjustment method. In Figure 11, the three points a , b , and c represent the points where the deviations of the actual angular velocity of the yaw angle, pitch angle, and roll angle from the target values are greatest in the uniform speed adjustment method. In Figure 12, the three points a , b , and c are used to indicate the points where the actual angular velocity values deviate from the target values of the yaw angle, pitch angle, and roll angle in the smooth adjustment method. The theoretical and measured values of the two adjustment methods are listed in Table 5.
After calculation, the maximum deviations of the uniform speed adjustment method from the actual targets were 62.5%, 8.1%, and 30.1%, respectively. The maximum deviations of the smooth adjustment method from the actual targets in the three directions reached 5.5%, 3.2%, and 2.7%, respectively. From the analysis of the data of the representative points, it was found that the smooth adjustment method had a 57.0% increase in the degree of fit between the target angular velocity and the actual value compared with the uniform speed adjustment method. The experiment proves that by adopting the smooth adjustment method proposed in this paper, the actual value of the planned curve fits the target value well, the fluctuation is small, and the follow ability and stability are greatly improved.

6.2. Comparative Experiment on Stability of two Planning Methods under Load

In order to more intuitively show the comparison of the two planning methods under load conditions, the robot was equipped with red ink for comparison experiments. In this experimental environment, two attitude planning methods were compared using the robot’s pitch angle in one direction. The robot adjusted its attitude on a three-legged support on a 10° slope. The attitude angle changed from the initial attitude angle E f = 0 ° , 10 ° , 0 ° T to the target attitude angle E a = 0 ° , 40 ° , 0 ° T , and the adjustment period was T = 2.5   s . A measuring cup with a capacity of 30 mL filled with red ink was fixed at the central position of the robot, and the liquid level of the measuring cup had no fluctuation in the initial state. The process of the uniform speed adjustment method in the experimental process is shown in Figure 13, and the process of the smooth adjustment method is shown in Figure 14.
As shown in Figure 13, due to the discontinuity of attitude angular velocity and angular acceleration of the uniform speed adjustment method, the sudden change of inertial force in the process of posture adjustment caused the body to shake, and the red ink in the measuring cup overflowed and dripped along the body shell to the support surface. According to the statistics, the red ink level was reduced from 30 mL to 22 mL, and the loss rate was up to 26.7%. Figure 14 shows a photograph of the state of the smooth adjustment method. As the curves of the smooth adjustment method’s attitude angular velocity and angular acceleration were continuous without mutation, the red ink level in the measuring cup changed smoothly without overflow during the whole adjustment period, and the fuselage did not shake greatly during the whole adjustment period. This adjustment method helps the robot to obtain stability.

6.3. Planning Experiment of Follower Leg

In order to verify the effect of the planning of follower leg on the body, a comparative experiment was performed with the robot’s pitch and unidirectional attitude changes. In planar terrain, the attitude angle was adjusted from the initial attitude angle E f = 0 ° , 0 ° , 0 ° T to the target attitude angle E a = 0 ° , 30 ° , 0 ° T , and the period T = 2.8   s was adjusted. The robot had four legs—leg1, leg2, leg3, and leg6. When considering the planning of follower leg, the robot judged that leg2, leg3, and leg6 were the support legs, and leg1 was the follower leg. The projection of the center of mass on the water surface during the adjustment process was within the supporting triangle. A photograph of the adjustment process is shown in Figure 15.
From the analysis of the two sets of images in Figure 15, it can be seen that when the robot did not carry out planning of follower leg, support leg1 reached the upper and lower limits of the knee angle during postural adjustment. Therefore, if planning of follower leg is not done, the steering gear will be seriously damaged, and the robot’s motion will be affected. When the robot carried out planning of follower leg, the follower leg moved to a new landing point according to the planning curve of Equation (25), and the posture was adjusted smoothly in cooperation.
In this section, the deviations between the target values and the actual values of the planned curves of the two adjustment methods were compared with the attitude sensor experiments carried out on the prototype of the six-legged robot. The stability of the body during posture adjustment was compared through two adjustment methods equipped with red ink load experiments, which proved that the smooth adjustment method is more stable. Through the planning of follower leg experiment, it was proved that the planned follower leg can be synchronized with the posture adjustment and will not affect the body’s movement trend. In summary, when the robot adjusts its attitude, the smooth adjustment method can maintain the robot’s good stability and improve the terrain adaptability of the robot.

7. Conclusions

The attitude transformation of a hexapod robot on terrain is of great significance to the efficiency and stability of robot operation. Aiming to solve the problem that the hexapod robot is prone to shaking during posture adjustment, this paper proposed a smooth posture adjustment strategy. The influence of the support leg on the robot during posture adjustment was analyzed. A smooth adjustment method was developed and compared with the traditional uniform speed adjustment method by simulation and experiment. Through simulation and experiments, the degree of fit between the target value and the actual value of the two adjustment methods and the stability of the fuselage under the load state were verified. The experiments showed that the target value and the actual value of the smooth adjustment method had a higher degree of fit. The body shook less during adjustment, which is beneficial to the robot’s ability to adapt to terrain.
The innovations of this paper are as follows: First, all the support legs of the robot’s posture adjustment were divided into two types, which were separately planned and completed synchronously. Second, aiming at the problem of the robot body shaking when adjusting the attitude of the robot, a smooth adjustment method was designed to continuously change the attitude angular acceleration starting from and ending at zero. This study solved the problem of the instability of the fuselage when the robot changes its attitude and provided an important reference for the multi-footed robot to improve the terrain adaptability.
The follow-up work will study the smooth adjustment of the robot’s posture and position so that the robot can make smooth adjustments in a manner closer to that of living things. Furthermore, the robot’s foot end uses a universal foot structure, and the rigid contact between the foot end and the terrain will cause the body to shake to some extent. In the future, the foot end structure will be improved by equipping the robot with a flexible foot end to further reduce the foot impact and further improve the smooth running of the robot.

Author Contributions

Conceptualization, L.Z., Z.G., and F.W.; Methodology, L.Z., F.W., and Z.G.; Software, L.Z. and F.W.; Validation, L.Z., Z.G., and C.L; Formal analysis, F.W., Z.G., and S.G.; Investigation, F.W., S.G., and C.L; Resources, L.Z. and Z.G.; Data curation, Z.G., F.W., and S.G.; Writing—original draft preparation, L.Z., Z.G., F.W., and C.L.; Writing—review and editing, L.Z., Z.G., F.W., and S.G.; Supervision, L.Z.; Project administration, L.Z.; Funding acquisition, L.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the National Natural Science Foundation of China (60704023,40976059).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Wang, G.B.; Chen, D.S.; Chen, K.W.; Zhnag, Z. The Current Research Status and Development Strategy on Biomimetic Robot. J. Mech. Eng. 2015, 51, 27–44. [Google Scholar] [CrossRef]
  2. Schneider, A.; Paskarbeit, J.; Schilling, M.; Schmitz, J. HECTOR, A Bio-Inspired and Compliant Hexapod Robot. In Proceedings of the Conference on Biomimetic and Biohybrid Systems, Milan, Italy, 30 July–1 August 2014; Volume 33, pp. 504–512. [Google Scholar]
  3. Roennau, A.; Heppner, G.; Nowicki, M.; Zoellner, J.M.; Dillmann, R. Reactive Posture Behaviors For Stable Legged Locomotion Over Steep Inclines And Large Obstacles. In Proceedings of the International Conference on Intelligent Robots and Systems, Chicago, IL, USA, 14–18 September 2011; pp. 14–18. [Google Scholar]
  4. Bjelonic, M.; Kottege, N.; Beckerle, P. Proprioceptive Control Of An Over-Actuated Hexapod Robot In Unstructured Terrain. In Proceedings of the International Conference on Intelligent Robots and Systems, Vilamoura, Portugal, 7–12 October 2012. [Google Scholar]
  5. Agheli, M.; Stephen, S.; Nestinger, S.S. Force-Based Stability Margin For Multi-Legged Robots. Robot. Auton. Syst. 2016, 83, 138–149. [Google Scholar] [CrossRef]
  6. Xie, H.X.; Shang, J.Z.; Luo, Z.R.; Xue, Y. Body Rolling Analysis And Attitude Control Of A Quadruped Robotduring Trotting. Robot 2014, 36, 676–682. [Google Scholar]
  7. Portilla, G.; Saltarén, R.; de Espinosa, F.M.; Barroso, A.R.; Cely, J.; Yakrangi, O. Dynamic Walking Of A Legged Robot In Underwater Environments. Sensors 2019, 19, 3588. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  8. Ba, K.-X.; Yu, B.; Ma, G.; Zhu, Q.; Gao, Z.; Kong, X. A Novel Position-Based Impedance Control Method for Bionic Legged Robots’ HDU. Access 2018, 6, 55680–55692. [Google Scholar] [CrossRef]
  9. Jemin, H.; Joonho, L.; Alexey, D.; Dario, B.; Vassilios, T.; Vladlen, K.; Marco, H. Learning Agile And Dynamic Motor Skills For Legged Robots. Robitics 2019, 4, 58–72. [Google Scholar]
  10. Goldschmidt, D.; Hesse, F.; Worgotter, F.; Manoonpong, P. Biologically Inspired Reactive Climbing Behavior of Hexapod Robots. In Proceedings of the International Conference on Intelligent Robots and Systems, Vilamoura, Portugal, 7–12 October 2012. [Google Scholar]
  11. Kim, J.-Y. Dynamic Balance Control Algorithm of a Six-Legged Walking Robot, Little Crabster. J. Intell. Robot. Syst. Theory Appl. 2015, 78, 47–64. [Google Scholar] [CrossRef]
  12. Belter, D.; Skrzypczynski, P. Posture Optimization Strategy for a Statically Stable Robot Traversing Rough Terrain. In Proceedings of the International Conference on Intelligent Robots and Systems, IEEE, Vilamoura, Portugal, 7–12 October 2012; pp. 2204–2209. [Google Scholar]
  13. Zhang, H.; Wu, R.; Li, C.; Zang, X.; Zhang, X.; Jin, H.; Zhao, J. A Force-Sensing System on Legs for Biomimetic Hexapod Robots Interacting with Unstructured Terrain. Sensor 2017, 17, 1514. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  14. Belter, D. Efficient Modeling and Evaluation of Constraints in Path Planning for Multi-Legged Walking Robots. IEEE Access 2017, 7, 107845–107862. [Google Scholar] [CrossRef]
  15. Faigl, J.; Čížek, P. Adaptive Locomotion Control of Hexapod Walking Robot for Traversing Rough Terrains with Position Feedback Only. Robot. Auton. Syst. 2019, 116, 134–147. [Google Scholar] [CrossRef]
  16. Uchida, H. Six-degree-of-freedom Control by Posture Control and Walking Directional Control for Six-legged Robot. J. Mech. Eng. Autom. 2017, 7, 30–45. [Google Scholar]
  17. Wang, W.J.; Chou, G.H.; Chen, Y.J.; Lu, R.-C. Fuzzy Control Strategy for a Hexapod RobotWalking on an Incline. Int. J. Fuzzy Syst. 2017, 19, 1703–1717. [Google Scholar] [CrossRef]
  18. Li, M.H.; Zhang, M.L.; Zhang, J.H.; Zhang, X.J. Body Motion Planning for a Hexapod Robot Based on Relative Motion. China Mech. Eng. 2015, 26, 13–18. [Google Scholar]
  19. Li, M.H.; Zhang, X.J.; Zhang, J.H.; Zhang, M.L. Given Trajectory Oriented Multr Legged Coordinated Control of Hexapod Robot. J. Huazhong Univ. Sci. Technol. Nat. Sci. Ed. 2015, 43, 32–37. [Google Scholar]
  20. Chen, G.; Jin, B.; Chen, Y. Position-posture Closed-loop Control of Six-legged Walking Robot Based on Inverse Velocity Kinematics. Soc. Agric. Mach. 2014, 45, 265–270. [Google Scholar]
  21. Chen, G.; Jin, B.; Chen, Y. Solving Position-Posture Deviation Problem of Multi-Legged Walking Robots with Semi-Round Rigid Feet by Closed-Loop Control. J. Cent. S. Univ. 2014, 21, 4133–4141. [Google Scholar] [CrossRef]
  22. Chai, H.; Meng, J.; Rong, X.; Li, Y. Design and implementation of SCalf, an advanced hydraulic quadruped robot. Robot 2014, 36, 385–391. [Google Scholar]
  23. Zhang, G.T.; Rong, X.W.; Li, Y.B.; Li, B. Control of the Quadrupedal Trotting Based on Virtual Model. Robot 2016, 38, 64–74. [Google Scholar]
  24. Han, B.L.; Jia, Y.; Li, H.S.; Luo, Q.S.; Zhou, C. Posture Adjustment for Quadruped Robot Trotting on a Slope. Trans. Beijing Inst. Technol. 2016, 36, 242–246. [Google Scholar]
  25. Wang, P.F. Research on Stable Walking Planning and Control Technology of Quadruped Robot; Harbin Institute of Technology: Harbin, China, 2007. [Google Scholar]
  26. Papadopoulos, E.G.; Rey, D.A. A New Measure of Tipover Stability Margin for Mobile Manipulators. In Proceedings of the IEEE International Conference on Robotics and Automation, Minneapolis, MN, USA, 22–28 April 1996; Volume 4, pp. 3111–3116. [Google Scholar]
  27. Zhang, L.; Ma, S.G.; Inoue, K. Omni-Directional Walking of a Quadruped Robot with Optimal Body Postures on a Slope. In Proceedings of the IEEE International Conference on Robotics and Automation (ICRA), Barcelona, Spain, 18–22 April 2005; pp. 2976–2981. [Google Scholar]
  28. Zhang, L.; Ma, S.; Inoue, K. Several Insights into Omnidirectional Static Walking of a Quadruped Robot on a Slope. In Proceedings of the IEEE/RSJ International Conference on Robotics and Automation (IROS’06), Beijing, China, 9–15 October 2006; pp. 5249–5254. [Google Scholar]
  29. Meng, J.; Li, Y.B.; Li, B. Control Method and Its Implementation of Quadruped Robot in Omni-Directional Trotting Gait. Robot 2015, 37, 74–84. [Google Scholar]
  30. Beijing Hypernucleus Electronic Technology Co. Ltd. HI219M Nine-Axis Attitude Sensors. Available online: https://github.com/hipnuc/products/2016 (accessed on 30 March 2020).
Figure 1. Schematic diagram of the six-legged robot. Here is the distance between the heel joints of leg3 and leg4, λ 2 is the distance between the heel joints of leg5 and leg6 (leg1 and leg2), and ξ is the slope of the inclined plane.
Figure 1. Schematic diagram of the six-legged robot. Here is the distance between the heel joints of leg3 and leg4, λ 2 is the distance between the heel joints of leg5 and leg6 (leg1 and leg2), and ξ is the slope of the inclined plane.
Sensors 20 02859 g001
Figure 2. Robot body motion posture description.
Figure 2. Robot body motion posture description.
Sensors 20 02859 g002
Figure 3. Time-curve of attitude angular velocity based on two adjustment methods: (a) uniform speed adjustment method and (b) smooth adjustment method.
Figure 3. Time-curve of attitude angular velocity based on two adjustment methods: (a) uniform speed adjustment method and (b) smooth adjustment method.
Sensors 20 02859 g003
Figure 4. Time-curve of attitude angular acceleration based on two adjustment methods: (a) uniform speed adjustment method and (b) smooth adjustment method.
Figure 4. Time-curve of attitude angular acceleration based on two adjustment methods: (a) uniform speed adjustment method and (b) smooth adjustment method.
Sensors 20 02859 g004
Figure 5. Time-curve of the joint angle of the support legs: (a) joint angle change of leg 2, (b) joint angle change of leg 3, and (c) joint angle change of leg 6.
Figure 5. Time-curve of the joint angle of the support legs: (a) joint angle change of leg 2, (b) joint angle change of leg 3, and (c) joint angle change of leg 6.
Sensors 20 02859 g005aSensors 20 02859 g005b
Figure 6. Time-curve of angular velocity of the joints of the support legs: (a) joint angular velocity change of leg 2, (b) joint angular velocity change of leg 3, and (c) joint angular velocity change of leg 6.
Figure 6. Time-curve of angular velocity of the joints of the support legs: (a) joint angular velocity change of leg 2, (b) joint angular velocity change of leg 3, and (c) joint angular velocity change of leg 6.
Sensors 20 02859 g006
Figure 7. Time-curve of foot end changes with moving legs: (a) position change at the end of the foot, (b) speed change at the end of the foot, and (c) acceleration change at the end of the foot.
Figure 7. Time-curve of foot end changes with moving legs: (a) position change at the end of the foot, (b) speed change at the end of the foot, and (c) acceleration change at the end of the foot.
Sensors 20 02859 g007
Figure 8. Experimental environment diagram of pose adjustment.
Figure 8. Experimental environment diagram of pose adjustment.
Sensors 20 02859 g008
Figure 9. Frame diagram of closed loop control of posture of hexapod robot. Here, E t is the real-time target attitude angle matrix. E I is the attitude angle matrix detected by the HI219M sensor in real time.
Figure 9. Frame diagram of closed loop control of posture of hexapod robot. Here, E t is the real-time target attitude angle matrix. E I is the attitude angle matrix detected by the HI219M sensor in real time.
Sensors 20 02859 g009
Figure 10. HI219M host computer software interface diagram. Here, x represents yaw angle change information, y represents pitch angle change information, and z represents roll angle change information.
Figure 10. HI219M host computer software interface diagram. Here, x represents yaw angle change information, y represents pitch angle change information, and z represents roll angle change information.
Sensors 20 02859 g010
Figure 11. Curves of expected value and actual value of angular velocity with uniform speed adjustment method. Here, a , b and c represent the points where the robot has the largest deviation between the theoretical value and the measured value under the uniform speed adjustment method.
Figure 11. Curves of expected value and actual value of angular velocity with uniform speed adjustment method. Here, a , b and c represent the points where the robot has the largest deviation between the theoretical value and the measured value under the uniform speed adjustment method.
Sensors 20 02859 g011
Figure 12. Curves of expected value and actual value of angular velocity with smooth adjustment method. a , b and c represent the points where the robot has the largest deviation between the theoretical value and the measured value under the smooth adjustment method.
Figure 12. Curves of expected value and actual value of angular velocity with smooth adjustment method. a , b and c represent the points where the robot has the largest deviation between the theoretical value and the measured value under the smooth adjustment method.
Sensors 20 02859 g012
Figure 13. Process diagram of uniform speed adjustment method.
Figure 13. Process diagram of uniform speed adjustment method.
Sensors 20 02859 g013
Figure 14. Process diagram of smooth adjustment method.
Figure 14. Process diagram of smooth adjustment method.
Sensors 20 02859 g014
Figure 15. Comparison chart of planning of follower leg. (a) Screenshot of unplanned follower leg track. (b) Screenshot of the completed tracking leg track.
Figure 15. Comparison chart of planning of follower leg. (a) Screenshot of unplanned follower leg track. (b) Screenshot of the completed tracking leg track.
Sensors 20 02859 g015
Table 1. The parameters of the robot.
Table 1. The parameters of the robot.
Structural Parameter NameSymbolic RepresentationStructural Parameter NameSymbolic Representation
Base length l 1 Heel joint angle θ i 1
Femoral length l 2 Hip joint angle θ i 2
Tibia length l 3 Knee joint angle θ i 3
Body pitch L Body width λ 1 ,   λ 2
The i-th legs l e g i ( i = 1 , 2 , , 6 )
Table 2. Specific parameters of hexapod robot.
Table 2. Specific parameters of hexapod robot.
Structural NameValueStructural NameValue Range
Base length ( l 1 )6 cmHeel joint angle ( θ i 1 )−30°–30°
Femoral length ( l 2 )7 cmHip joint angle ( θ i 2 )−90°–90°
Tibia length ( l 3 )13 cmKnee joint angle ( θ i 3 )−150°–0°
Body pitch ( L )10 cmJoint angular velocity range ( V e )(5°/s, 20°/s, 15°/s)T
Body width ( λ 1 , λ 2 )4 cm, 3 cm
Table 3. Experiment parameters.
Table 3. Experiment parameters.
ParametersValue
MeasurementsLeg 1 initial angle ( θ 1 )(19.4°, −5.0°, −54.2°)T
Leg 2 initial angle ( θ 2 )(10°, 20°, −108°)T
Leg 3 initial angle ( θ 3 )(0°, 10°, −100°)T
Leg 6 initial angle ( θ 6 )(−10°, 2°, −92°)T
CalculatedLeg 1 Foot End Position ( W P 1 )(−20.5 cm, 16.43 cm, −10.72 cm]T
Leg 2 Foot End Position ( W P 2 )(14.7 cm, 12.35 cm, −10.72 cm)T
Leg 3 Foot End Position ( W P 3 )(−14.4 cm, 0 cm, −11.8 cm)T
Leg 6 Foot End Position ( W P 6 )(14.7 cm, −12.35 cm, −12.88 cm)T
Table 4. Sensor parameters.
Table 4. Sensor parameters.
Size12 × 12 mm
Data output rate0–1000 Hz
Resolution±0.01 °~±0.1 °
Serial output rate115,200 bit/s
Table 5. Statistical table of theoretical and measured values.
Table 5. Statistical table of theoretical and measured values.
Adjustment MethodUniform Speed Adjustment MethodSmooth Adjustment Method
a b c a b c
Theoretical value n (°/s)1.523.333.051.754.753.65
Measurements m (°/s)2.473.602.121.654.603.75
Deviation λ (%)62.58.1030.55.503.202.70

Share and Cite

MDPI and ACS Style

Zhang, L.; Wang, F.; Gao, Z.; Gao, S.; Li, C. Research on the Stationarity of Hexapod Robot Posture Adjustment. Sensors 2020, 20, 2859. https://doi.org/10.3390/s20102859

AMA Style

Zhang L, Wang F, Gao Z, Gao S, Li C. Research on the Stationarity of Hexapod Robot Posture Adjustment. Sensors. 2020; 20(10):2859. https://doi.org/10.3390/s20102859

Chicago/Turabian Style

Zhang, Lei, Fucai Wang, Zenghui Gao, Shuangshuang Gao, and Chenghang Li. 2020. "Research on the Stationarity of Hexapod Robot Posture Adjustment" Sensors 20, no. 10: 2859. https://doi.org/10.3390/s20102859

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop