Next Article in Journal
Modeling Wicking Fabric Inhibition Effect on Frost Heave
Previous Article in Journal
Dysprosium Absorption of Aluminum Tolerant- and Absorbing-Yeast
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Design of a Parallel Quadruped Robot Based on a Novel Intelligent Control System

School of Mechanical Engineering and Automation, Dalian Polytechnic University, Dalian 116034, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2022, 12(9), 4358; https://doi.org/10.3390/app12094358
Submission received: 23 March 2022 / Revised: 23 April 2022 / Accepted: 23 April 2022 / Published: 25 April 2022
(This article belongs to the Topic Motion Planning and Control for Robotics)

Abstract

:
In order to make a robot track a desired trajectory with high precision and steady gait, a novel intelligent controller was designed based on a new mechanical structure and optimized foot trajectory. Kinematics models in terms of the D-H method were established to analyze the relationship between the angle of the driving joint and the foot position. Inspired by a dog’s diagonal trot on a flat terrain, foot trajectory planning in the swing and support phases without impact were fulfilled based on the compound cycloid improved by the Bézier curve. Both the optimized cascade proportional–integral–derivative (PID) control system and improved fuzzy adaptive PID control system were applied to realize the stable operation of a quadruped robot, and their parameters were optimized by the sparrow search algorithm. The convergence speed and accuracy of the sparrow search algorithm were verified by comparing with the moth flame optimization algorithm and particle swarm optimization algorithm. Finally, a co-simulation with MATLAB and ADAMS was utilized to compare the effects of the two control systems. The results of both displacement and velocity exhibit that the movement of a quadruped bionic robot with fuzzy adaptive PID control systems optimized by the sparrow search algorithm possessed better accuracy and stability than cascade PID control systems. The motion process of the quadruped robot in the co-simulation process also demonstrates the effectiveness of the designed mechanical structure and control system.

1. Introduction

Quadruped robots have received extensive research because of their excellent stability and carrying capacity [1,2], which are less complicated than the hexapod and eight-legged robots [3,4]. These advantages lead to the acceptance of quadruped robots in various working environments, both on rugged and flat ground [5]. The legs are the key component determining the application performance of the quadruped robots. Therefore, many studies have focused on the design of mechanical structure, gait planning, and motion control algorithm to optimize the kinematic performance of the legs.
The mechanical structures of the legs of quadruped robots are mainly divided into series and parallel forms. With respect to the study on the series structure of the robot’s legs, Poulakakis et al. [6] developed telescopic column legs using springs to reduce weight and inertia, but this led to a reduction in load capacity. Wensing et al. [7] constructed articulated legs with offset-arranged joints to obtain a larger range of motion during the movement of a robot. Li et al. [8] designed articulated legs using a two-link mechanism composed of a hip flexion joint and a knee joint to simplify the mechanical structure. As mentioned above, the robot’s legs of the series structure are simple and have a large working space, but also have the disadvantages of low load capacity, complicated control systems, and high cost. These shortcomings are usually addressed using parallel structural legs. Kau et al. [9] developed Stanford Doggo with the legs of a parallel four-link mechanism to achieve eight-degree-freedom movement with high speed and load capacity performances. Unfortunately, the two motors located in one joint resulted in reduced stability during motion from friction. Simultaneously, a great deal of effort has been made to improve the stability and rhythm of the gait. Methods of static stability margin (SSM) [10] and central mode processor (CPG) [11,12,13,14,15] were adopted to plan the gait of quadruped robots. In particular, gait trajectory planning based on bionics methodology has recently become a hot topic [16]. Moreover, a control strategy based on structure design also plays an important role in completing the prescribed gait. A proportional–integral–differential (PID) controller was used to control the robot motion with a predetermined, trajectory to achieve small errors [17,18,19,20]. To ensure that the controller has acceptable performance, Shabnam et al. used fuzzy systems, and these gains were adaptively tuned for the best performance of the robot against uncertainties in system parameters, external disturbances, and measurement noises [21,22]. However, the control system is complicated. Some more effective and novel swarm intelligence optimization algorithms, such as the Particle Swarm Optimization algorithm [23], Genetic algorithm [24], and Fruit Fly algorithm [25], have emerged for the parameter optimization of a control strategy. Among them, the sparrow search algorithm (SSA) [26] had fewer parameters and stronger robustness compared with other algorithms; thus, it was used to optimize the controller in this study.
This paper aims to solve the problem of quadruped robot walking forward with low accuracy and stability; thus, a quadruped robot with a new mechanical structure, optimized foot trajectory and a novel intelligent control system was designed. The quadruped robot was designed with a five-link leg structure to mimic a dog’s diagonal trot. Each leg was a parallel five-link structure with two degrees of freedom, which leads to more even force distribution on the mechanical structure and more carrying capacity. In addition, two joint motors were used to drive two independent kinematic chains simultaneously to reduce kinematic errors. To determine the relationship between the foot position and the angle of the driving joint, the D-H method was used to analyze the kinematics model of the robot’s leg. Foot trajectory planning was also completed for decreasing impact force of the robot in the process of movement. Cascade PID controllers and fuzzy adaptive PID controllers were designed according to the mechanical structure and motion form. These controllers were optimized using SSA to find the optimal parameters. The performance of the two control systems was compared through two MATLAB/ADAMS co-simulation experiments.

2. Materials and Methods

2.1. The Mechanical Structure and Kinematics Analysis

2.1.1. The Mechanical Structure

A parallel five-link quadruped robot with eight degrees of freedom was designed as shown in Figure 1a. The leg structure illustrated in Figure 1b is a parallel five link with two degrees of freedom, with a hip joint and a knee joint. The leg was driven by two brushless DC motors located in the hip joint. Considering that quadruped robots have the same motion mechanism between the four legs, which have the same running actions except for time intervals, only the single-leg analysis was carried out in the kinematics analysis of the robot leg structure.
Figure 1c displays the schematic diagram of the parallel five link with two degrees of freedom. L1, L2, L3, L4 and L5 represent the link lengths. O11 and O21 are the hip joints of the robot, and O3 is the position of the foot. The link coordinate systems are independently established at the center of the frame and the joint of the two links.

2.1.2. Kinematics Analysis

The D-H method [27] was used to establish the kinematics model of the robot legs. The relationship between the foot position and the angle of the driving joint was obtained.
The D-H method solves the various motion states of the joint when the robot foot moves to the specified position, and it has a wider application range than the geometric method.
The reference coordinate system {X0O0Z0} was established at the center of the frame. The ranges of angles between the two links shown in Figure 1c were θ1 ∈ [−180°, 0], θ2 ∈ [−180°, 0], θ3 ∈ [0, 180°], and θ4 ∈ [−180°, 0].
According to Figure 1c, the parameters of both the right and left branches are separately exhibited in Table 1 and Table 2.
In Table 1 and Table 2, suppose that the current coordinate system is {i}:
αi−1: the angle of rotation {i − 1} from the position of Yi−1 axis to the position of Yi axis about Xi−1 axis;
Li: the distance from the position of {i − 1} from the position of Yi−1 to the position of Yi along the Xi−1 axis;
di: the distance from the position of {i − 1} from Xi−1 to Xi along the Yi axis;
θi: the angle of rotation {i − 1} from Xi−1 to Xi axis position about Yi axis.
If the current coordinate system is {i}, when the coordinate system {i} is rotated and translated to coincide with {i − 1}, the position of {i} in {i − 1} is described as:
T i i 1 = R o t ( x , α i 1 ) · T r a n s ( a i 1 , 0 , 0 ) · R o t ( y , θ i ) · T r a n s ( 0 , d i , 0 )         = [ c θ 0 s θ a i 1 s α i 1 s θ c α i 1 s α i 1 c θ d i c α i 1 c α i 1 s θ s α i 1 c α i 1 c θ d i s α i 1 0 0 0 1 ]
where represents sinθ, and represents cosθ, and these abbreviated forms are also applied in the following context.
For the kinematics analysis of the right branch, the parameters in Table 1 are substituted into (1) to obtain each transformation matrix:
T 11 0 = [ c θ 1 0 s θ 1 L 1 2 0 1 0 0 s θ 1 0 c θ 1 0 0 0 0 1 ]
T 12 11 = [ c θ 3 0 s θ 3 L 2 0 1 0 0 s θ 3 0 c θ 3 0 0 0 0 1 ]
T 3 12 = [ c ( θ 1 + θ 3 ) 0 s ( θ 1 + θ 3 ) L 3 0 1 0 0 s ( θ 1 + θ 3 ) 0 c ( θ 1 + θ 3 ) 0 0 0 0 1 ]
The transformation matrix of the coordinate system relative to the reference coordinate system for each link is obtained as follows:
T 12 0 = T 11 0 T 12 11 = [ c ( θ 1 + θ 3 ) 0 s ( θ 1 + θ 3 ) L 2 c θ 1 + L 1 2 0 1 0 0 s ( θ 1 + θ 3 ) 0 c ( θ 1 + θ 3 ) L 2 s θ 1 0 0 0 1 ]
T 3 0 = T 11 0 T 12 11 T 3 12 = [ 1 0 0 L 3 c ( θ 1 + θ 3 ) + L 2 c θ 1 + L 1 2 0 1 0 0 0 0 1 L 3 s ( θ 1 + θ 3 ) L 2 s θ 1 0 0 0 1 ]
In the model, the direction of the terminal coordinate system is consistent with that of the reference coordinate system (without rotation); therefore, the transformation matrix P of the terminal coordinate system with respect to the reference coordinate system is shown (7).
P = [ 1 0 0 P x 0 1 0 0 0 0 1 P z 0 0 0 1 ]
According to the principle that the position matrix of the foot in the reference coordinate system and the matrix of the terminal coordinate system ({X3O3Z3}) after coordinate system transformation should be equal, (8)–(10) are established:
{ (8) P = T 0 3 = T 11 0 T 12 11 T 3 12 (9)   T 11 0 1 P = T 11 0 1 T 0 3 (10)   T 12 0 1 P = T 12 0 1 T 0 3
Write Equations (11)–(15) according to Equations (8)–(10).
P x × c ( θ 1 + θ 3 ) ( L 1 2 × c ( θ 1 + θ 3 ) + ...... L 3 ( c 2 ( θ 1 + θ 3 ) s 2 ( θ 1 + θ 3 ) ) = 0
P z × c ( θ 1 + θ 3 ) ( L 1 2 × s ( θ 1 + θ 3 ) + ...... + P x × s ( θ 1 + θ 3 ) = 0
P z × c θ 1 P x × s θ 1 L 1 2 × s θ 1 = L 3 × s θ 3
L 3 c ( θ 1 + θ 3 ) + L 2 c θ 3 + L 1 2 = P x
P x × c θ 1 P z × s θ 1 L 1 2 × c θ 1 = L 3 × c θ 3 + L 2
The solutions of 1 and 1 within a certain range are obtained:
s θ 1 = ( L 1 2 P x + L 3 ) × ( a + P z × b L 2 2 ) P z × b L 2 P z
c θ 1 = a + P z × b L 2 2 b
where, a = L 1 / 2 × L 2 P x × L 2 + L 2 × L 3 , b = P x 2 2 P x × L 1 / 2 2 P x × L 3 + P z 2 + ( L 1 / 2 ) 2 + L 1 × L 3 + L 3 2 .
The double variable arctangent function is expressed as:
θ1= arctan2(1, 1), θ1 ∈ [−π, π].
The solution process of the left branch is exactly the same as that of the right branch; thus, it will not be described here.
With the same approach, θ2 could be expressed as:
s θ 2 = P z × ( L 5 + c ) 2 × d
c θ 2 = ( P x + L 1 2 ) × ( L 5 + c ) 2 × d
where c = 4 × P x 2 8 × P x × L 1 2 4 × P z 2 + L 5 2 4 × ( L 1 2 ) 2 , d = P x 2 + 2 × P x × ( L 1 2 ) + P z 2 + ( L 1 2 ) 2 .
Therefore,
θ2= arctan2(2, 2), θ2 ∈ [−π, π].
The angle of the driving joint is calculated in real time using (18) and (21) when the geometric parameters of the leg mechanism and foot position are known, which lay a foundation for the subsequent foot planning and control system design.

2.2. Planning and Improvement of Foot Trajectory

The foot trajectory of a quadruped robot in a diagonal trot gait is planned and designed. The zero-impact compound cycloid trajectory planning algorithm is applied, and it is improved via the Bézier curve.

2.2.1. Foot Trajectory Planning

Aiming to minimize the impact forces when the support phase and the swing phase exchange, the displacement and velocity curves should be smooth. Simultaneously, in order to reduce the dragging phenomenon during the motion of the quadruped robot, a compound cycloid is selected as the foot trajectory of a quadruped robot, which is described as follows (22):
{ X = S [ t T m 1 2 π sin ( 2 π t T m ) ] Z = H [ 1 2 1 2 cos ( 2 π t T m ) ]
where S is the step length, H is the foot height and Tm is the time of swing phase.

2.2.2. Improved Trajectory Planning Based on Bézier Curve

In (22), S representing the stride length is set to 50 mm, H representing the leg lifting height is 20 mm, and the periodic time of the swing phase is 0.5 s. The support phase was acquired to move 50 mm in the X-direction. The results are presented in Figure 2a.
The trajectory cycle of the foot was set as 1 s. The velocity of the support phase was initially designed such that it did not change with time on the premise of sufficient displacement. As a result, the corresponding displacement curves of the foot are described in Figure 2b, and the corresponding velocity curves of foot are illustrated in Figure 2c.
The curves of Figure 2b,c are smooth at 0–0.5 and 0.5–1 s, respectively, but the foot speed value surges and the acceleration increase when the swing phase is exchanged into the support phase, which leads to the foot receiving a large impact.
A Bézier curve under the action of four points was used to improve the motion curve of the support phase to maintain the stability of the robot.
The parameter form of Bézier curve is exhibited in (23).
B ( t ) = i = 0 n ( n i ) P i ( 1 t ) n i t i
where Pi is the control point, and n is the number of control points.
The improved foot trajectory by Bézier curve is presented in Figure 2d,e.
The Bézier curve has many characteristics, such as recursion and geometric invariance, which ensure the continuity and stability of the foot motion of a quadruped robot.

2.3. Control System

Superior controller design is an essential procedure to reduce the operational instability of a joint motor. For this reason, two promising control systems including the cascade PID control system and the fuzzy adaptive PID control system are designed and optimized, respectively, in this section. Each control system requires eight controllers to complete the planned actions.

2.3.1. Cascade PID Controller

A cascade PID controller is used to control the motor with closed-loop servo to rotate the drive joint to rotate with a small error compared to the desired trajectory. The external loop of the cascade PID controller is a position closed loop, and the inner loop is velocity closed loop as presented in Figure 3. The output of the outer loop is the input of the inner loop, and the inner loop sends control parameters to the motor, and the angular displacement and angular velocity of the motor are separately sent to the external and inner loops as feedback signals.
The parameters for each cascade PID controller are manually determined based on the characteristics of the control system before the robot system operation. The determined parameters to the cascade PID controller are input before the robot system operation. Therefore, the cascade PID parameters are not changed in the process of robot system operation. The position closed loop and velocity closed loop have the same control structure, and each cascade PID controller has six parameters, which are two proportional gains (kp), two integral gains (ki), and two differential gains (kd).
PID controller equation:
u P I D ( t ) = k p e ( t ) + k l e ( t ) d t + k D e ( t )
where e(t) is the error between the reference and actual values. The reference value is the expected input value, and the actual value is the actual output response.
The parameters setting of the cascade PID controller directly affects the response of the foot to control. Because the PID parameters are fixed in the system operation, the system operation will be easily interfered by external factors; further improvements are needed to improve accuracy and stability.

2.3.2. Fuzzy Adaptive PID Controller

The fuzzy adaptive PID controller makes the parameters of the PID controller able to adjust adaptively in the process of system operation, such that the control system has higher precision to achieve the purpose of control. The control system block diagram is illustrated in Figure 4.
Each fuzzy controller has two inputs, the error e(t) and the rate of change of the error ec(t). After the input is fuzzified, fuzzy reasoning is carried out by inference engine according to the fuzzy rules, and the outputs of the fuzzy controller are obtained after the value of fuzzy reasoning enter the defuzzification. The fuzzy controller has three outputs to adjust the three parameters Δkp, Δki and Δkd, respectively.
The quantification factor of the e(t) and ec(t) separately is Ke and Kec. Ke and Kec are empirically 1 and 0.5, respectively. The universe of discourse of inputs membership functions is [−6, 6], and the universe of discourse of outputs membership functions is [0, 6], The membership functions select seven language variables, {NL, NM, NS, ZE, PS, PM, PL}. As exhibited in Figure 5, the triangular membership function is designed. The design of fuzzy rules is visually shown in Figure 6.

2.3.3. The Optimization of the Controller

The SSA is adopted to optimize two control systems because of its fast convergence speed and good accuracy. There are three species of sparrow individuals in the sparrow population, namely discoverer, subscriber and watchman. The discoverers are responsible for finding food and providing directions for subscribers. The subscribers are responsible for tracking the discoverers and searching for food around them. The watchmen are the sparrow individuals located in the periphery of the sparrow population, responsible for monitoring the environment and issuing warnings.
First, the SSA parameters and all the candidate parameter groups are initialized as listed in Table 3.
The matrix M of sparrow population initialization is established as (25):
M = [ x 1 , 1 x 1 , m x 2 , 1 x 2 , m x n , 1 x n , m ]
where M matrix represents the candidates of the control system, and n represents the total number of candidate parameter groups. x1i represents the first parameter group, where i = {1, 2,…, m}, x2i represents the second parameter group, where i = {1, 2,…, m}, xni represents the nth parameter group, where i = {1, 2,…, m}.
The fitness value of each sparrow is calculated as follows by designing the fitness function:
F = [ f ( [ x 1 , 1 x 1 , m ] ) f ( [ x 2 , 1 x 2 , m ] ) f ( [ x n , 1 x n , m ] ) ]
where F represents the fitness function matrix, and f represents the fitness value of each sparrow.
Candidate parameter groups are arranged in ascending order in terms of the fitness value after the fitness function values matrix of the parameter groups are obtained. Each parameter group in the M matrix is input into the controller in this step.
The PID parameter values corresponding to each discoverer are obtained by the following formula in the optimization process:
X i , j t + 1 = { X i , j t · e x p ( i α · i t e m m a x 2 )         i f         R 2 < S T X i , j t + Q · L                                           i f         R 2 S T
where t is the number of current iterations, and itemmax is the number of iterations of the algorithm. α ∈ (0, 1) is a random number. R2 ∈ [0, 1]. Q is a random number that follows a normal distribution. L is a 1 × d matrix where all the entries are 1.
The parameter values of the PID controller corresponding to the subscribers are described as:
X i , j t + 1 = { Q · e x p ( X w o r s t X i , j t i 2 )                                                     i f       i > n / 2 X P t + 1 + | X i , j t X P t + 1 | · A + · L                 o t h e r w i s e
where XP is the parameter group with the highest order of fitness function, and Xworst is the parameter group with the lowest order of fitness function. A is the Xworst matrix in which each element is randomly assigned to either 1 or −1, and A+ = AT(AAT)−1.
The initial position of the watchmen is determined randomly, and the position update in the iteration process is described as:
X i , j t + 1 = { X b e s t t + β · | X i , j t X b e s t t |                                       i f           f i > f g X i , j t + K · ( | X i , j t X w o r s t t | ( f i f w ) + ε     )                           i f           f i = f g
where Xbest is the current global optimal position. β is the step-size control parameter. K ∈ [−1, 1]. fg and fw are the first and last digits of the fitness function, respectively. ε is a small constant that makes the divisor nonzero.
In the cascade PID control process, it is necessary to optimize six parameters of cascade PID by SSA because manual adjustment of PID parameters is time-consuming and laborious, and high precision cannot be achieved. The parameters optimized by SSA will be input to the cascade PID controller before the robot operation; thus, the cascade PID parameters remain unchanged during the robot operation. The proportion factor of the fuzzy controller will directly affect the control precision of the fuzzy adaptive PID controller in the control process. Therefore, it is novel and important to choose SSA to optimize the proportion factor in this paper. The flow chart of the control system is shown in Figure 7.
Figure 8a exhibits the comparison among SSA—the moth flame optimization algorithm (MFO) and particle swarm optimization algorithm (PSO) in terms of convergence speed and optimization accuracy when optimizing cascade PID controller. Figure 8b shows the comparison between SSA and other algorithms in terms of convergence speed and optimization accuracy when optimizing the fuzzy adaptive PID controller. It is proven that SSA has faster convergence speed and better optimization accuracy under the same conditions.
The optimization results of cascade PID controller parameters using three different algorithms are shown in Table 4, and the optimization results of fuzzy adaptive PID controller proportion factor are shown in Table 5.
SSA has good performance in convergence speed and optimization accuracy compared with other algorithms, which is proven by the above results.
Figure 9 demonstrates the comparison between the optimized fuzzy adaptive PID controller and the optimized cascade PID controller using SSA for the desired trajectory. The curve of the optimized fuzzy adaptive PID controller angular displacement is much closer to the desired curve. It is proven that the fuzzy adaptive PID controller is much better than the cascade PID controller in controlling the joint motor.

3. Results and Discussions

The mechanical structure system and two control systems mentioned above were simulated, and the simulation results were analyzed.
Figure 10 depicts the motion state of a single leg and the body for the quadruped robot in forward motion. The red lines represent the left branch, and the yellow lines represent the right branch. The trajectory was improved using the Bézier curve. The black and blue dots represent the motion state of the body centroid and foot centroid, respectively. The crowding level of the dots represents the speed value. A high crowding level indicates low speed. The crowding level of the black dots represents the speed value when entering the swing phase. Owing to the force of friction, the foot pushes the body forward as the foot enters the support phase, and the crowding level of the blue dots represents the speed value when entering the support phase. Figure 10 demonstrates that the quadruped robot has a small impact during phase switching.
Subsequently, MATLAB and ADAMS were used to co-simulate the entire movement of the quadruped robot in order to verify the effectiveness of the proposed mechanical structure and control strategy. The input data are transmitted to the interface reserved in ADAMS in the form of a function in MATLAB, and the running state of the quadruped robot is observed in ADAMS in real time. In addition, the post-processing module of ADAMS was used to monitor the robot’s foot trajectory, foot velocity, and joint angle in real time, and the data were transmitted to MATLAB for numerical analysis. The simulation results demonstrate the motion state and performance of the robot under different control systems.
For the diagonal gait of the quadruped bionic robot, the state of the left front leg is consistent with that of the right rear leg, and the state of the right front leg is consistent with that of the left rear leg. Therefore, the simulation of the motion state of the left front leg and left rear leg is sufficient to reflect the motion state of the four legs.
The actual motion of the quadruped robot controlled by the cascade PID controller optimized by SSA and the fuzzy adaptive PID controller optimized by SSA is shown in the figure. Figure 11 shows the foot displacement curves of the quadruped robot under the control of a two-control system, and Figure 12 shows the foot velocity curves of the quadruped robot under the control of a two-control system.
The simulation results demonstrate that the robot can walk forward using the cascade PID controller. However, there is a large error during the combined motion of the four legs. Furthermore, motors also have transmission errors, which worsen the situation. Because the parameters of the cascade PID cannot change adaptively with the operation of the system, there are some uncertainties in the operation of the robot. The errors become increasingly larger with time, leading to a deterioration in robot stability. Consequently, the tracking of the expected joint angle cannot be fully realized, resulting in a loss of system stability.
Simultaneously, the simulation results also demonstrate that the fuzzy adaptive PID has relatively strong adaptive ability in the quadruped robot to walk stably forward. The swing phase moves 50 mm in the X direction in conformity with the desired trajectory presented in Figure 2, and the support phase supports the robot body forward by 50 mm owing to friction. Therefore, the foot moves forward 100 mm each time, except for the first step, and the foot velocity also increases compared with the first step, as described in Figure 11 and Figure 12. The foot displacement and velocity under fuzzy adaptive PID controller conform to the desired trajectory presented in Figure 2c,e. The superiority of the fuzzy adaptive PID controller optimized by SSA in controlling the motion of the quadruped robot was verified.
The simulation process using the cascade PID control system based on SSA to optimize parameters in a complete gait cycle is presented in Figure 13, and the simulation process using the fuzzy adaptive PID control system based on SSA to optimize the proportional factor in a complete gait cycle is presented in Figure 14. The simulation results visually demonstrate that the robot moves forward with higher stability under the fuzzy adaptive PID control. However, the error of the robot movement becomes larger with time under the cascade PID control, leading to an unstable movement. The movements of the four legs are not completely consistent, resulting in the leg drive robot not walking in a straight line.

4. Conclusions

A novel quadruped robot imitating a dog’s diagonal trot was developed in this study. To solve the complex motion control problem of a quadruped robot, the mechanical structure of the robot’s legs and the corresponding control strategy were designed and optimized.
(1)
The mechanical structure of the robot’s leg was designed using a parallel five link with two degrees of freedom. The angle function of the leg joint was obtained using the D-H method for kinematics analysis. Moreover, the phase switch with minimum impact during the entire movement process was realized and verified.
(2)
The cascade PID control system optimized based on the sparrow search algorithm and the fuzzy adaptive PID control system optimized based on the sparrow search algorithm are used to drive the quadruped robot, and the overall performance of the two control strategies are compared in the simulation. The convergence speed and accuracy of the sparrow search algorithm are verified by comparing with the moth flame optimization algorithm and particle swarm optimization algorithm.
(3)
The fuzzy adaptive PID optimized based on the sparrow search algorithm has higher precision and more stable control effect compared with the cascade PID control optimized based on the sparrow search algorithm, which was demonstrated by co-simulation using MATLAB and ADAMS. The simulation results also simultaneously verified that the parallel five link with eight degrees of freedom quadruped robot and its control system provided a reliable solution for the operation of a quadruped robot and provided a reference for other related researchers.

Author Contributions

M.L. designed the project and coordinated the work. Z.L. and M.L. checked and discussed the results and the whole manuscript. H.Z. and M.W. revised the manuscript. G.P. contributed to the discussion of this study. All authors reviewed the manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Scientific Research Fund Project of Education Department of Liaoning Province, grant number LJKZ0510. This research was also funded by the Major Project of Liaoning Industrial Research Institute, grant number 2018LY011.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors would like to thank the Scientific Research Fund of The Education Department of Liaoning Province for the financial support of the present research project (project code: LJKZ0510). The authors would also like to gratefully acknowledge the Major Project of Liaoning Industrial Research Institute for the financial support of the current research project (project code: 2018LY011).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Raibert, M.; Blankespoor, K.; Nelson, G.; Playter, R. Bigdog, the Rough-Terrain Quadruped Robot. IFAC Proc. 2008, 41, 10822–10825. [Google Scholar] [CrossRef] [Green Version]
  2. Wang, L.; Du, W.; Mu, X.; Wang, X.; Xie, G.; Wang, C. A geometric approach to solving the stable workspace of quadruped bionic robot with hand-foot-integrated function. Robot. Comput.-Integr. Manuf. 2016, 37, 68–78. [Google Scholar] [CrossRef]
  3. Tian, X.; Gao, F.; Qi, C.; Chen, X.; Zhang, D. External disturbance identification of a quadruped robot with parallel–serial leg structure. Int. J. Mech. Mater. Des. 2016, 12, 109–120. [Google Scholar] [CrossRef]
  4. Zhang, L.; Li, A.; Gao, Z. Modeling and Analysis of Flexible Foot Vibration of Multi-Foot Bionic Robot. In Proceedings of the 2019 IEEE International Conference on Robotics and Biomimetics (ROBIO), Dali, China, 6–8 December 2019; pp. 136–141. [Google Scholar]
  5. Hirose, S.; Kato, K. Study on quadruped walking robot in Tokyo Institute of Technology-past, present and future. Proc. IEEE Int. Conf. Robot. Autom. 2000, 1, 414–419. [Google Scholar]
  6. Ioannis, P.; James, A.S.; Martin, B. Modeling and Experiments of Untethered Quadrupedal Running with a Bounding Gait: The Scout II Robot. Int. J. Robot. Res. 2005, 24, 239–256. [Google Scholar]
  7. Patrick, M.W.; Albert, W.; Sangok, S.; David, O.; Jeffrey, L.; Sangbae, K. Proprioceptive Actuator Design in the MIT Cheetah: Impact Mitigation and High-Bandwidth Physical Interaction for Dynamic Legged Robots. IEEE Trans. Robot. 2017, 33, 509–522. [Google Scholar]
  8. Rong, X.; Li, Y.; Meng, J. Design for several hydraulic parameters of a quadruped robot. Appl. Math. Inform. Sci. 2014, 8, 2465–2470. [Google Scholar] [CrossRef] [Green Version]
  9. Nathan, K.; Aaron, S.; Natalie, F.; Patrick, S. Stanford Doggo: An Open-Source, Quasi-Direct-Drive Quadruped. In Proceedings of the 2019 International Conference on Robotics and Automation (ICRA), Montreal, QC, Canada, 20–24 May 2019; pp. 6309–6315. [Google Scholar]
  10. Hao, L.; Chen, B.; Liu, Y.; Lu, Y. Guardian Map Approach to Feasible Range of Static Stability Margin of Hypersonic Flight Vehicles with Input Saturation. Int. J. Aerosp. Eng. 2020, 2020, 8895324. [Google Scholar]
  11. Yu, H.; Gao, H.; Ding, L.; Li, M.; Deng, Z.; Liu, G. Gait Generation With Smooth Transition Using CPG-Based Locomotion Control for Hexapod Walking Robot. IEEE Trans. Ind. Electron. 2016, 63, 5488–5500. [Google Scholar] [CrossRef]
  12. Xu, H.; Gan, S.; Ren, J.; Wang, B.; Jin, Y. Gait CPG Adjustment for a Quadruped Robot Based on Hopf Oscillator. J. Syst. Simul. 2017, 29, 3092–3099. [Google Scholar]
  13. Liu, W.; Zhang, C.; Chen, J.; Qi, J. Survey of locomotion control of legged robots inspired by biological concept. Sci. China Ser. F Inf. Sci. 2009, 52, 1715–1729. [Google Scholar]
  14. Zhong, G.; Chen, L.; Jiao, Z.; Li, J.; Deng, H. Locomotion Control and Gait Planning of a Novel Hexapod Robot Using Biomimetic Neurons. IEEE Trans. Control Syst. Technol. 2018, 26, 624–636. [Google Scholar] [CrossRef]
  15. Liu, C.; Wang, D.; Chen, Q. Adaptive walking control of biped robots using online trajectory generation method based on neural oscillators. J. Bionic. Eng. 2016, 13, 572–584. [Google Scholar] [CrossRef]
  16. Alexander, R.M. The Gaits of Bipedal and Quadrupedal Animals. Int. J. Robot. Res. 1984, 33, 49–59. [Google Scholar] [CrossRef]
  17. Gor, M.M.; Pathak, P.M.; Samantaray, A.K.; Yang, J.M.; Kwak, S.W. Control of compliant legged quadruped robots in the workspace. Simulation 2015, 91, 103–125. [Google Scholar] [CrossRef]
  18. Zhao, M.; Liu, L.; Wang, J.; Chen, K.; Zhao, J.; Xu, K. Control system design of THBIP-I humanoid robot. In Proceedings of the 2002 IEEE International Conference on Robotics and Automation (Cat. No.02CH37292), Washington, DC, USA, 11–15 May 2002; Volume 3, pp. 2253–2258. [Google Scholar]
  19. Meinard, C.A.; Manuel, C.R. Bipedal robot locomotion using multivariable control. In Proceedings of the TENCON 2009–2009 IEEE Region 10 Conference, Singapore, 23–26 January 2009; pp. 1–6. [Google Scholar]
  20. Moosavian, S.A.A.; Khorram, M.; Zamani, A.; Abedini, H. PD regulated sliding mode control of a quadruped robot. In Proceedings of the 2011 IEEE International Conference on Mechatronics and Automation, Beijing, China, 7–10 August 2011; pp. 2061–2066. [Google Scholar]
  21. Shabnam, S.; Mohammad, F. Fuzzy-backstepping control of quadruped robots. Intel. Serv. Robot. 2020, 13, 13191–13206. [Google Scholar]
  22. Wu, H.M.; Karkoub, M.; Hwang, C.L. Mixed Fuzzy Sliding-Mode Tracking with Backstepping Formation Control for Multi-Nonholonomic Mobile Robots Subject to Uncertainties. J. Intell. Robot. Syst. 2015, 79, 73–86. [Google Scholar] [CrossRef]
  23. Wang, D.; Tan, D.; Liu, L. Particle swarm optimization algorithm: An overview. Soft Comput. 2018, 22, 387–408. [Google Scholar] [CrossRef]
  24. Rahul, B.; Dharani, J. Genetic Algorithm tuned PID Controller for Aircraft Pitch Control. IJREAM 2019, 4, 303–307. [Google Scholar]
  25. Bezdan, T.; Stoean, C.; Naamany, A.A.; Bacanin, N.; Rashid, T.A.; Zivkovic, M.; Venkatachalam, K. Hybrid Fruit-Fly Optimization Algorithm with K-Means for Text Document Clustering. Mathematics 2021, 9, 1929. [Google Scholar] [CrossRef]
  26. Xue, J. Research and Application of A Novel Swarm Intelligence Optimization Technique: Sparrow Search Algorithm. Master’s Thesis, College of information science and Technology, Donghua University, Shanghai, China, 2020. [Google Scholar]
  27. Liao, W.; Ross, C.; Jonathan, R. An Analytic Approach to Converting POE Parameters into D-H Parameters for Serial-Link Robots. IEEE Robot. Autom. Lett. 2019, 2, 217. [Google Scholar]
Figure 1. Model building of quadruped robot, (a) mechanism schematic of quadruped robot, (b) model of quadruped robot with single leg, (c) single-leg kinematics model of quadruped robot.
Figure 1. Model building of quadruped robot, (a) mechanism schematic of quadruped robot, (b) model of quadruped robot with single leg, (c) single-leg kinematics model of quadruped robot.
Applsci 12 04358 g001
Figure 2. Schematic diagram of motion curve decomposition and optimization of quadruped robot, (a) zero-impact foot trajectories in the swing and support phases, (b) zero-impact displacement trajectory before the improvement, (c) zero-impact velocity trajectory before the improvement, (d) zero-impact displacement trajectory after the improvement, and (e) zero-impact velocity trajectory after the improvement.
Figure 2. Schematic diagram of motion curve decomposition and optimization of quadruped robot, (a) zero-impact foot trajectories in the swing and support phases, (b) zero-impact displacement trajectory before the improvement, (c) zero-impact velocity trajectory before the improvement, (d) zero-impact displacement trajectory after the improvement, and (e) zero-impact velocity trajectory after the improvement.
Applsci 12 04358 g002
Figure 3. Cascade PID controller control block diagram.
Figure 3. Cascade PID controller control block diagram.
Applsci 12 04358 g003
Figure 4. Fuzzy adaptive PID controller control block diagram.
Figure 4. Fuzzy adaptive PID controller control block diagram.
Applsci 12 04358 g004
Figure 5. Membership function graph.
Figure 5. Membership function graph.
Applsci 12 04358 g005
Figure 6. Schematic diagram of fuzzy rules: (a) fuzzy rule diagram of Δkp; (b) fuzzy rule diagram of Δki; (c) fuzzy rule diagram of Δkd.
Figure 6. Schematic diagram of fuzzy rules: (a) fuzzy rule diagram of Δkp; (b) fuzzy rule diagram of Δki; (c) fuzzy rule diagram of Δkd.
Applsci 12 04358 g006
Figure 7. Flow chart of the controller parameters optimized using SSA.
Figure 7. Flow chart of the controller parameters optimized using SSA.
Applsci 12 04358 g007
Figure 8. Convergence rate curve of the fitness of angular displacement during the optimization process, (a) optimize the cascade PID controller, (b) optimize the fuzzy adaptive PID controller.
Figure 8. Convergence rate curve of the fitness of angular displacement during the optimization process, (a) optimize the cascade PID controller, (b) optimize the fuzzy adaptive PID controller.
Applsci 12 04358 g008
Figure 9. Comparison between the optimized angular displacement input curve and the desired curve.
Figure 9. Comparison between the optimized angular displacement input curve and the desired curve.
Applsci 12 04358 g009
Figure 10. The optimized trajectory of a single leg in one gait cycle.
Figure 10. The optimized trajectory of a single leg in one gait cycle.
Applsci 12 04358 g010
Figure 11. Comparison of foot displacement before and after optimization: (a) foot displacement curves in X direction cascade PID (1) and fuzzy adaptive PID (2); (b) foot displacement curves in X direction cascade PID (1) and fuzzy adaptive PID (2).
Figure 11. Comparison of foot displacement before and after optimization: (a) foot displacement curves in X direction cascade PID (1) and fuzzy adaptive PID (2); (b) foot displacement curves in X direction cascade PID (1) and fuzzy adaptive PID (2).
Applsci 12 04358 g011
Figure 12. Comparison of foot velocity before and after optimization: (a) foot velocity curves in X direction cascade PID (1) and fuzzy adaptive PID (2); (b) foot velocity curves in Z direction cascade PID (1) and fuzzy adaptive PID (2).
Figure 12. Comparison of foot velocity before and after optimization: (a) foot velocity curves in X direction cascade PID (1) and fuzzy adaptive PID (2); (b) foot velocity curves in Z direction cascade PID (1) and fuzzy adaptive PID (2).
Applsci 12 04358 g012
Figure 13. Schematic diagram of simulation process using cascade PID control system in a complete gait cycle.
Figure 13. Schematic diagram of simulation process using cascade PID control system in a complete gait cycle.
Applsci 12 04358 g013
Figure 14. Schematic diagram of simulation process using fuzzy adaptive PID control system in a complete gait cycle.
Figure 14. Schematic diagram of simulation process using fuzzy adaptive PID control system in a complete gait cycle.
Applsci 12 04358 g014
Table 1. Right branch parameters.
Table 1. Right branch parameters.
Joint (O1i)αi−1Li/mmdi/mmθi
1 (O21)0L1/20θ2
2 (O22)0L50θ4
3 (O3)0L40θ2θ4
Table 2. Lift branch parameters.
Table 2. Lift branch parameters.
Joint (O1i)αi−1Li/mmdi/mmθi
1 (O11)0L1/20θ1
2 (O12)0L20θ3
3 (O3)0L30θ2θ4
Table 3. Initialization parameters of SSA.
Table 3. Initialization parameters of SSA.
Parameter NamesParameter Values
population100
number of iterations100
proportion of discoverers0.6
proportion of subscribers0.4
proportion of watchmen0.1
Table 4. Parameters factor optimization results of fuzzy controller.
Table 4. Parameters factor optimization results of fuzzy controller.
Algorithmkp1ki1kd1kp2ki2
SSA20.00001.297719.84445.747319.4983
MFO20.00000.024520.000019.592420.0000
PSO20.00000.000020.000019.29430.0149
Table 5. Proportion factor optimization results of fuzzy controller.
Table 5. Proportion factor optimization results of fuzzy controller.
AlgorithmKupKuiKud
SSA19.993620.000020.0000
MFO19.59100.000020.0000
PSO19.63130.000020.0000
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Li, M.; Liu, Z.; Wang, M.; Pang, G.; Zhang, H. Design of a Parallel Quadruped Robot Based on a Novel Intelligent Control System. Appl. Sci. 2022, 12, 4358. https://doi.org/10.3390/app12094358

AMA Style

Li M, Liu Z, Wang M, Pang G, Zhang H. Design of a Parallel Quadruped Robot Based on a Novel Intelligent Control System. Applied Sciences. 2022; 12(9):4358. https://doi.org/10.3390/app12094358

Chicago/Turabian Style

Li, Mingying, Zhilei Liu, Manfu Wang, Guibing Pang, and Hui Zhang. 2022. "Design of a Parallel Quadruped Robot Based on a Novel Intelligent Control System" Applied Sciences 12, no. 9: 4358. https://doi.org/10.3390/app12094358

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