This paper proposed a method to improve the walking behavior of bipedal robot with adjustable step length. Objectives of this paper are threefold. (1) Genetic Algorithm Optimized Fourier Series Formulation (GAOFSF) is modified to improve its performance. (2) Self-adaptive Differential Evolutionary Algorithm (SaDE) is applied to search feasible walking gait. (3) An efficient method is proposed for adjusting step length based on the modified central pattern generator (CPG) model. The GAOFSF is modified to ensure that trajectories generated are continuous in angular position, velocity, and acceleration. After formulation of the modified CPG model, SaDE is chosen to optimize walking gait (CPG model) due to its superior performance. Through simulation results, dynamic balance of the robot with modified CPG model is better than the original one. In this paper, four adjustable factors (Rhs,support, Rhs,swing, Rks,support, and Rks,swing) are added to the joint trajectories. Through adjusting these four factors, joint trajectories are changed and hence the step length achieved by the robot. Finally, the relationship between (1) the desired step length and (2) an appropriate set of Rhs,support, Rhs,swing, Rks,support, and Rks,swing searched by SaDE is learnt by Fuzzy Inference System (FIS). Desired joint angles can be found without the aid of inverse kinematic model.
1. Introduction
Recently, many approaches have been adopted for generation of bipedal walking gait. Some researches [1–3] adopted a simplified dynamic model to generate walking gait calculated through inverse kinematic model which is complex and hence the computation load is high.
Inspired by neural science, some researchers investigated central pattern generator (CPG). The prime reason for arousing their interest is that CPG models provide several parameters for modulation of locomotion, such as step stride and rhythm, and are suitable to integrate feedback sensors. Hence, a good interaction between the robot and the environment can be achieved [4]. According to Ijspeert [4], CPG becomes more and more popular in robot community. Taga et al. [5] integrated feedbacks with neural oscillators for unpredicted environment. Yang et al. [6], Shafii et al. [7], and Yazdi et al. [8] utilized TFS to formulate ZMP-based CPG model as the basic walking pattern of bipedal robot. Or [9] presented a hybrid CPG-ZMP control system for flexible spine humanoid robot. Aoi and Tsuchiya [10] proposed a locomotion control system based on CPG model for straight and curved walking. Farzenah et al. [11] noted that many researches on CPG model are designed for specific motion only and thus cannot generate arbitrary walking gait, such as changing step length and proposed 31 TS-Fuzzy systems for adjusting speed and step length.
Ijspeert [4] and Gong et al. [12] stated that stochastic population-based optimization algorithms have been chosen to optimize parameters of CPG model in many studies. Genetic Algorithm (GA) [6, 13], Genetic Programming (GP) [14], Particle Swarm Optimization (PSO) [7], and Bee Algorithm [8] are adopted in searching the parameters of CPG model. Besides the above-mentioned techniques, there are still other gradient-free optimization techniques. Storn and Price [15] proposed Differential Evolution (DE) and conducted comparisons with some prominent algorithms, such as Adaptive Simulated Annealing (ASA) and the Breeder Genetic Algorithm (BGA). DE outperforms the above-mentioned prominent algorithms in terms of least number of generations for finding global minimum [15]. Similar results are reported in the following studies [16–18]. Hegery et al. [16] carried out comparisons between DE and GA on N-Queen and travelling salesman problem and concluded that the performance of DE is better. Tušar and Filipič [17] carried out comparisons between DE-based variants DEMO and basic GA on multiobjective optimization problem and their result showed that DEMO outperforms basic GA. Vesterstrøm and Thomsen [18] noted that DE outperforms PSO and Evolutionary Algorithms (EAs) on majority of numerical benchmark problems. DE consists of population size (NP), scaling factor (F), and crossover rate (CR) which significantly affect the performance of DE [19–22]. Different problems require different parameters and strategies for effective optimization. Even in the same problem, different regions of search space may require different strategies and parameters for better performance [20]. It is time consuming to search the most appropriate strategy and parameters by trial and error. Hence, Omran et al. [21] and Brest et al. [22] have proposed different methods to adjust CR and F. However, appropriate mechanism for choosing suitable strategies is not considered in [21, 22]. Qin et al. [20] proposed Self-adaptive Differential Evolution Algorithm (SaDE) which can adjust CR, F and choose strategy automatically during optimization. SaDE outperforms conventional DE variants and the other adaptive DE, such as SDE [21] and jDE [22], in terms of higher successful rate.
Based on the above-mentioned findings, this paper focuses on (1) CPG model for trajectory generation and (2) providing an efficient method to adjust step length. In this paper, original CPG model proposed by Yang et al. [6] is adopted since it provides a good foundation for the goal stated in this paper. The angular velocity of trajectories generated by GAOFSF [6] is usually discontinuous which has an adverse effect on ZMP. As a result, GAOFSF is modified to ensure that the trajectory generated is continuous in angular position and its first and second derivatives. After formulation of modified CPG model, parameters of CPG model are searched based on kinematic and dynamic constraints. It shows that the problem can be formulated as a multiobjectives and multiconstraints optimization. Gradient-free optimization technique is chosen since a set of parameters is searched in a highly irregular and multidimensional space which cannot be handled by standard gradient-based search method [12]. SaDE is chosen as the method for optimizing the walking gait of robot in this paper because (1) its performance is superior and (2) appropriate strategies and parameters are not chosen manually. Based on [6, 23], step length can be varied by simply changing several adjustable factors of GAOFSF. Look-up table proposed by Yang et al. [6] is not adopted in this paper because (1) a lot of memory is occupied if tremendous data is stored and (2) arbitrary step length within specific range cannot be commanded to the robot. To deal with this problem, four parameters (Rhs,support, Rhs,swing, Rks,support, and Rks,swing) are added to the modified CPG model and searched by SaD. Four FIS systems are used to learn the relationship between (1) desired step lengths and Rhs,support, Rhs,swing, Rks,support, and Rks,swing. Then, desired joint angles can be found without the aid of inverse kinematics.
2. Kinematic Model and Dynamic Model of Bipedal Robot
In Figure 1, it shows that the bipedal robot consists of 12 DoF. Each leg has 6 DoF. RL and LL represent right and left legs respectively, while 1,2,3,…,6 represent joint number. Figure 1 assumes that right leg is the support leg while the left leg is the swing leg. Joint number n of support leg and swing leg corresponds to different joint shown in Table 1. Also, z-axis of local coordinates attached on different joints acts as rotation axis and the direction of rotation is determined by right-hand rule.
Joint number of support leg and swing leg corresponds to different joints.
Joints of leg
Support leg
Swing leg
Ankle joints
1-2
5-6
Knee joint
3
4
Hip joints
4–6
1–3
Schematic diagram of bipedal robot.
Information of physical dimension of bipedal robot is measured and simplified based on a modified Kondo-3HV. The total mass of the bipedal robot is about 1.4 kg. The mass of upper trunk and lower body is about 0.4 kg and 1 kg, respectively. Since the mass of each link in lower body is almost the same, then their masses are simply obtained by 1kg/12=0.083kg. The height of each link is shown in Table 2.
Height of each link in support leg and swing leg.
Link number
Support leg
Swing leg
0
0.026 m
N/A
1
0.04 m
0.028 m
2
0.0645 m
0.0385 m
3
0.0645 m
0.0645 m
4
0.0385 m
0.064 m
5
0.028 m
0.04 m
6
0.096 m
0.026 m
Since Denavit-Hartenberg notation [24, 25] and iterative Newton-Euler dynamic algorithm [26, 27] are maturely developed and commonly used in many studies of bipedal robot, these two methods are adopted to formulate forward kinematic model and inverse dynamic model, respectively, in this paper. Since this paper focuses on bipedal walking on horizontal flat plane in sagittal plane (parallel to the YG-ZG plane of global coordinate), only ZMPy shown in (1) is considered and acts as an indicator to evaluate the dynamic equilibrium of the bipedal robot. In Figure 2, a local coordinate is attached to the center of support foot to observe the variation of ZMPy with time.
Local coordinate system attached on the foot sole (top view).
Hip and knee trajectories of GAOFSF [6] consist of two different sections. For hip joint, two different Truncated Fourier Series (TFS) are used to formulate the upper portion (θh+) and lower portion (θh-) of trajectory. For knee joint, TFS and lock phase are joined together to formulate the whole trajectory. Based on Figure 3, the angular position is observed to be continuous. However, angular velocity of searched trajectory generated by GAOFSF is usually discontinuous (1) at the transition between θh+ and θh- (t3 and t6 or t0) and (2) at the beginning (t1 or t4) and the end of lock phase (t2 or t5). Abrupt change in angular velocity has an adverse effect on ZMP and hence the dynamic equilibrium of bipedal robot. In this paper, the GAOFSF is modified to ensure that the trajectories generated are continuous in angular position and its first derivative and second derivative. [t5,t2] and [t2,t5] are regarded as the period of left support phase and right support phase, respectively. Then, t2 and t5 are the landing time of left support phase and right support phase, respectively [6]. The time duration (t5-t2) of one step is set as 1 s to ensure a reasonable walking speed. t2 and t5 are set as 0.7 s and 1.7 s while t3 and t6 are set as 1 s and 2 s. Four different parameters (Rhs,support, Rhs,swing, Rks,support, and Rks,swing) are added for adjustment of step length. Details of finding the values of these four parameters are discussed in Section 5. In this section, investigation is mainly focused on the formulation of modified CPG model.
General shape of GAOFSF [6].
3.1. Hip Trajectory in Sagittal Plane
Since the peaks of θh+ and θh- are different, two different TFS are required to formulate the hip trajectory. Yang et al. [6] have proposed 5th order TFS and showed that the amplitudes of 4th and 5th orders are too small which can be neglected. 3rd order TFS is adopted. In (2)-(3), angular velocity of θ˙h- and θ˙h+ at t3 and t6 is set as equal to ensure angular velocity is continuous. Thus, two more orders are added to θh- to satisfy this constraint and are calculated by (4)-(5).
In the knee trajectory, Yang et al. [6] proposed a lock phase ([t1,t2] and [t4,t5]) in knee trajectory which assumes constant joint angle and zero angular velocity and acceleration. This introduces abrupt change in angular velocity. The main goals to be achieved in the modified knee trajectory are (1) continuity in angular position, velocity, and acceleration and (2) the advantage proposed in GAOFSF that can be maintained. Then, a new formulation is proposed in the following equation:
(11)t∈[t0,t2],θlks=∑n=13Rks,swing/supportCnsin(nωk(t+(t6-t5)))+∑n=1N=3Rks,swing/supportCn+ckt∈[t2,t6],θlks=∑n=13Rks,swing/supportCnsin(nωk(t-t2))+∑n=1N=3Rks,swing/supportCn+ckt∈[t0,t5],θrks=∑n=13Rks,swing/supportCnsin(nωk(t+(t6-t5)))+∑n=1N=3Rks,swing/supportCn+ckt∈[t5,t6],θrks=∑n=13Rks,swing/supportCnsin(nωk(t-t5))+∑n=1N=3Rks,swing/supportCn+ckωk=2πt6-t0.
In (11), lock phase is canceled to ensure continuous angular velocity. By adjustingck [6], GAOFSF can achieve energy efficient and stable “bent knee” walking gait. This advantage is still remained in the proposed modified model. The general shape of the hip and knee trajectories generated by modified CPG model is shown in Section 6.
3.3. Ankle Trajectory in Sagittal Plane
Right and left ankle joint trajectories are simply formulated as (12) to ensure that the trunk is upright and swing foot is parallel to the horizontal flat plane.
Consider
(12)θas=-θhs-θks.
4. Optimization of Basic Walking Pattern by SaDE
This section focuses on how to search the basic walking pattern of bipedal robot by SaDE [19, 20]. To simplify the whole process in this section, Rhs,support, Rhs,swing, Rks,support, and Rks,swing are set as 1. The following are the main objectives of basic walking pattern to be achieved through using SaDE.
The desired step length is set as 0.05 m.
Upper bound and lower bound of swing height are set as 0.02 m and 0.01 m, respectively.
Premature landing should not occur throughout the walking cycle.
ZMP is within the area of support polygon throughout the walking cycle.
The procedure of SaDE takes the following steps. Also, a flow chart of SaDE is shown in Figure 30 of the Appendix to facilitate the understanding of readers. Details of the procedure are discussed in Sections 4.1–4.7.
Select fitness functions (fi) and constraints (Si).
Code the parameters to be searched to form target vector (Xi,G).
Initialize the first generation (G1) of population (i).
Initialize crossover rate (CRui,j), scaling factor (Fui,j), and probability (Pj) for each mutation strategies (j) based on CR-j and F-j.
Select mutation strategies (j) based on probability (Pj) through MATLAB function rand() and perform mutation operation to generate mutant vectors (vi).
Perform crossover operation to generate trial vectors (ui).
Perform selection operation to select next generation of target vectors (Xi,G+1).
During learning period (LP), record the successful time (STj) and failure time (FTj) of each strategy (j).
During learning period (LP), record values of CRui,j and Fui,j for each strategy (j) that successfully help the trial vectors (ui) enter the next generation Gi+1.
Upon completion of LP, probability (Pj) for choosing suitable strategies (j) is adjusted based on successful rate of strategy j (SRj) calculated through STj and FTj.
Upon completion of LP, CR-j and F-j are adjusted based on the mean values of stored CRui,j andFui,j, respectively.
Repeat procedures (4)–(11) until maximum generation is completed
4.1. Fitness Functions and Constraints (Step 1)
Fitness functions (fn) and constraints (Sn) are designed or modified based on [6]. Since trunk occupies a large proportion of the whole body mass, abrupt change in trunk velocity can lead to abrupt change in ZMPy. f1 is formulated as follows:
(13)V-trunk=∑n=1NVtrunk,nN,f1=∑n=1N(Vtrunk,n-V-trunk)2N,
where N is number of data.
Strike velocity during landing should be as small as possible since impact between landing foot and the ground can cause mechanical wear of parts and unstable walking. f2 is stated as follows [6]:
(14)f2=Vstrike,x2+Vstrike,y2+Vstrike,z2.
If ZMPy is within the area of support polygon [0.061,-0.061] throughout the walking cycle, dynamic equilibrium of the robot is satisfactory. To deal with the discrepancies between simulation model and physical test bed, a safety factor (0.01 m) is added to ensure good performance during experiment. S1 is formulated as follows:
(15)S1=∑n=1Nmax(|ZMPy,n|-(Ly-saftyfactor),0),
where Ly is length (0.121 m) of foot sole/2.
The robot is assigned to walk forward along positive y-axis. To ensure correct direction, S2 and S3 are designed as follows:
(16)S2=max(-V-trunk,y,0),S3=max(-V-swingfoot,y,0),
where V-trunk,y is mean trunk velocity in y-direction and V-swingfoot,y is mean swing foot velocity in y-direction.
To achieve natural human-like walking gait, S4 and S5 are designed based on the modified CPG model. (17)Ift≥t0&&t≤t3,S4=S4+max(θrhs,n-ch,0)+max(-(θlhs,n-ch),0).Elseift≥t3&&t≤t6,S4=S4+max(θlhs,n-ch,0)+max(-(θrhs,n-ch),0).End(18)S5=∑n=1Nmax(-θlks,n,0).S6 is designed to ensure that the robot can achieve desired step length:
(19)S6=|desiredsteplength-steplength|.
To ensure reasonable swing height, S7 is designed to ensure that the swing height is within the [0.01,0.02] m. (20)Ifmax(Hswingfoot)(21)≥Hlower&&max(Hswingfoot)≤Hupper,S7=0.ElseS7=∑n=1N|Hdesired-HswingFoot,n|.End.S8 is designed to prevent the swing foot from penetrating through the ground and hence reduce the chance of premature landing while S9 is designed to ensure swing foot lands on the ground (Hground=0 m) at landing time which is t2 and t5:
(22)S8=∑n=1Nmax(Hsupportfoot,n-Hswingfoot,n,0),S9=|Hswingfoot,t2|+|Hswingfoot,t5|.
The total scores used for evaluating each target vector (Xi,G) are formulated as follows:
(23)scores=-1200+∑i=1Nωo,nfn+∑i=1Nωp,nSn.
These weightings are set by trial and error to ensure their importance is almost the same and walking gait with satisfactory performance can be obtained:
(24)ωo=[1000,500],ωp=[2500,285,265,100,2200,12000,300,960,25000],
where ωo,n is weighting of fitness functions and ωp,n is weighting of constraints.
4.2. Initialization of Parameters of Target Vectors (Xi,G) (Steps 2 and 3)
The target vector (Xi,G) is formulated as follows:
(25)Xi,G=[A1,A2,A3,B1,B2,B3,C1,C2,C3,ch,ck].
Then, the parameters of population (i) are initialized by MATLAB function rand() which generates [0,1] randomly.
4.3. Initialization of Parameters of SaDE (Step 4)
Since the range [-1,1] of parameters to be searched is small, then population (i) of one generation (G) is set as 30 to balance between good diversity of population and low computation load. Four mutation strategies (j=1,2,3,4) are adopted. For strategy j, MATLAB function normrnd (mean value, σ) is used to generate CRui,j and Fui,j for each trial vector (ui). In the initial phase, the crossover rate (CRui,j) should not be too high to prevent premature convergence while the scaling factor (Fui,j) should not be too small to affect the exploration ability. Hence, a moderate value (0.5) is assigned to CR-j and F-j (mean value) and σ is set as 0.1. This function can generate random numbers from the normal distribution through mean value (CR-j, F-j) and standard deviation (σ). Pj is set as 0.25 for strategy j so that each strategy has the equal chance to be chosen during the first learning period:
(26)CRui,j=normrnd(CR-j,σ),Fui,j=normrnd(F-j,σ,).
4.4. Mutation Operation of SaDE (Step 5)
DE/rand/1, DE/rand/2 and DE/current-to-rand/2 provide good exploration ability while DE/current-to-best/2 demonstrates good convergence speed. To balance between exploration ability and convergence speed, these four strategies are adopted. These four mutation strategies are stated in (27)–(30) as follows:
Because of its popularity, binomial crossover operator [20] is utilized in all mutation strategies. (31)If(rand()≤CRi,j)||(q==qrand),uq,i,G=vq,i,G.Elseif(rand()>CRi,j),uq,i,G=xq,i,G.End,
where q is the parameter number (1,2,3,4,…,11) in the target (Xi,G) and mutant (vi,G) vector. Arbitrary parameter number is assigned to qrand to ensure that trial vector (ui,G) is different from target vector (Xi,G). If values of uq,i,G exceed the desired range [-1,1] of parameters to be searched, uq,i,G is reset by MATLAB function rand ().
4.6. Selection Operation of SaDE (Step 7)
If score of trial vector (ui,G) is lower than that of target vector (xi,G), then trial vector enters the next generation. Otherwise, target vector enters the next generation. (32)Ifscoresui,G≤scoresxi,G,xi,G+1=ui,G.Elsexi,G+1=xi,G.End.
4.7. Adjustment of Pj, CR-j and F-j (Steps 8–11)
Initially, a learning period (LP=5generations) is assigned to balance between good sample size of data and update frequency. During learning period, successful times (STj) and failure times (FTj) of each mutation strategy (j=1,2,3,4) in each generation are recorded. For example, if strategy j is chosen and helps one trial vector (ui,G) to enter next generation, then STj is added by 1. Otherwise, FTj is added by 1. Once learning period is completed, Pj is adjusted by the successful rate (SRj). Then, STj and FTj are reset to zero for the next learning period to eliminate effect of the past data:
(33)SRj=STjFTj,G+STj,GPj=SRj∑j=1N=4SRj.
Similar approach is applied to adjust CR-j and F-j. During learning period (LP = 5 generations), for strategy j, CRui,j and Fui,j corresponding to the trial vectors (ui,G) that successfully enters next generation are stored in database. Once learning period is completed, mean value (CR-j and F-j) of the stored value corresponding to strategy j is calculated and is used to generate a new set of CRui,j and Fui,j. Then, storage data of CRui,j and Fui,j are removed for the next learning period to eliminate the effects of past data.
5. Optimization of Factors (Rhs,support, Rhs,swing, Rks,support, and Rks,swing) for Step Length Adjustment5.1. Objective Functions and Constraints of SaDE
The objective functions and constraints mentioned in Section 4 are adopted to search appropriate value of Rhs,support, Rhs,swing, Rks,support, and Rks,swing corresponding to different desired step length (0.04 m, 0.03 m, 0.02 m, and 0.01 m).
5.2. Lower Bound of Maximum Desired Swing Height
It is natural that the maximum swing height becomes lower to consume less energy if step length is smaller. Lower bound of swing height is reset as lower value for different step lengths (Table 3) while the upper bound (0.02 m) remains the same.
Lower bound of desired swing height corresponding to different step lengths.
Step length (m)
Lower bound of maximum desired swing height (m)
0.05 m
0.01 m
0.04 m
0.009 m
0.03 m
0.008 m
0.02 m
0.007 m
0.01 m
0.006 m
5.3. Smooth Transition of Rjoint,support/swing
Values of Rjoint,support/swing (joint = rhs, lhs, rks, and lks) of support leg and swing leg are different. At the moment of landing time, Rjoint,support is changed to Rjoint,swing since the support leg is changed to swing leg in the next step. In order to have a smooth transition, fifth order polynomial shown in equation (34) is utilized. The period of transition time (tf-t0) is set as 0.4 s which is 40% of time duration (1 s) of one step to balance between rapid transition time and good dynamic equilibrium.
The coefficients of Rjoint,support/swing are solved by the following constraints:
(35)Rjoint,support/swing(t0)=Rjoint,support/swing,initial,Rjoint,support/swing(tf)=Rjoint,support/swing,final,R˙joint,support/swing(t0)=0,R˙joint,support/swing(tf)=0,R¨joint,support/swing(t0)=0,R¨joint,support/swing(tf)=0.
5.4. Fuzzy Inference System (FIS)
Four FISs are adopted to learn the relationship between (1) Rhs,support, Rhs,swing, Rks,support, and Rks,swing and (2) desired step length (5 cm, 4 cm, 3 cm, 2 cm, 1 cm, and 0 cm). The architecture of FIS proposed by [28] is shown in Figure 4. The desired step length (D(n)) is the input of FIS while Rjoint,support/swing is the output of FIS which is obtained through the summation of fm(D(n)). Based on [24], fm(D(n)) is a function of desired step and can be represented as a first order polynomial stated in (40).
Architecture of Fuzzy Inference System (FIS).
In this section, the membership function (Mm) is set as Gaussian function as follows:
(36)μAm=e-0.5((x-cm)/σm)2,(37)ωm=μAm,(38)ω-m=ωm∑m=15ωm,(39)fm(D(n))=km,1+km,2D(n),(40)Rjoint,support/swing=∑m=15ω-mfm(D(n)),
where μAm is degree of membership function of Mm, σm is parameter that affects the width of Gaussian function of Mm, cm is parameter that affects the center of Gaussian function of Mm, ωm is firing strength of rule m, and ω-m is normalized firing strength.
This section focuses on adjusting the consequent parameters (km,1,km,2) of fm(X) by least square estimation (LSE) [28] stated in (41). Gradient descent algorithm is not adopted to adjust premise parameters since the size of training data (N=6) is relatively small. Hence, premise parameters are fixed during the training process. In this paper, c1-5 are set as 0.2, 0.4, 0.6, 0.8, and 1, respectively, while σ1-5 are set as 0.3. After 50 training cycles, an appropriate set of consequent parameters is found. Details of result in this section are stated in Section 6.
Consider(41)K*=(UTU)-1UTY,(42)K*=[k1,1;k1,2;k2,1;k2,2;…k5,1;k5,2],(43)U=[ω-1(1)ω-1(1)D(1)ω-2(1)ω-2(1)D(1)…ω-5(1)ω-5(1)D(1)⋮ω-1(N)ω-1(N)D(N)ω-2(N)ω-2(N)D(N)…ω-5(N)ω-5(N)D(N)],where D is vector of desired step length and Y is vector of desired output.
6. Results and Discussions6.1. Scores and Searched Parameters of Modified CPG Model
According to Figure 5, the maximum generation is set as 200. The scores of the best target vector is −1163.5. The values of fitness functions and constraints are [0.018 ms−1, 0.0369 ms−1] and [0 m,0 ms−1,0 ms−1, 0 rad, 0 rad, 0 m, 0 m, 0 m, and 0 m], respectively. The searched parameters are [0.2290 0.0257 0.0016 −0.3161 −0.0199 −0.0001 0.2892 0.0861 0.0004 −0.1786 0.0619]. The results show that the modified CPG model can achieve a satisfactory performance.
Average scores and scores of best target vector of modified CPG model.
6.2. Kinematic Aspects of Modified CPG Model
The walking gait searched by SaDE is visualized in Figure 6. Figure 7 shows that step achieved by bipedal robot is the same as the desired step length (0.05 m). In Figure 8, maximum height of swing foot is satisfactory based on Table 3. Swing foot lands on the ground at desired landing time (t2=0.7 s and t5=1.7 s). The joint trajectories of modified CPG model are shown in Figure 9. Based on Figures 10 and 11, angular position and velocity of each joint trajectory is observed to be continuous and smooth. Because of the heavy trunk mass, abrupt change in Vtrunk,y should be prevented. From Figure 12, it shows that Vtrunk,y is continuous and smooth except the landing time.
Walking gait of modified CPG model searched by SaDE.
The Landing instant of right swing leg (modified CPG Model).
Variation of height of swing foot with time (modified CPG model).
Joint trajectories of modified CPG model searched by SaDE.
θ˙hs versus θhs of modified CPG model.
θ˙ks versus θks of modified CPG model.
Variation of Vtrunk,y with time (modified CPG model).
6.3. Dynamic Aspects of Modified CPG Model
Figure 13 shows that dynamic equilibrium of the robot is satisfactory since ZMPy is within the area of support polygon [-0.061,0.061] m. The length of foot sole is 0.122 m while ZMPy margin is defined to be (lengthoffootsole/2)-max(|ZMPy|). Based on Figure 13, ZMPy margin is observed to be at least 0.03 m which is large enough to allow larger step. ZMPy is smooth and the only abrupt change happens at the landing time (t2=0.7 s and t5=1.7 s) since ZMPy shifts to the support foot of the next step at these two moments.
Variation of ZMPy with time (modified CPG model).
6.4. Observations on Mutation Strategies of SaDE
During searching parameters of modified CPG model, it shows that mutation strategy 2 and strategy 3 do not favor for searching feasible walking gait since they are suppressed completely after 60 generations (Figure 14). Figure 5 shows that scores of target vectors tend to converge in the range of generation 100 to 200. Strategy 1 can help trial vector converge faster since it involves the best trial vector in the mutation operation. Hence, from generation 100 to 200, the probability for choosing strategy 1 is always higher than that of strategy 4.
Probability of mutation strategy j to be chosen (modified CPG model).
6.5. Results of Original CPG Model
Except constraint 1, the original CPG model [6] is searched by SaDE under the same setting. Safety factor is set as 0 m since it becomes difficult to search a feasible walking gait for original CPG model if safety factor is set as 0.01 m. Based on Figure 15, the scores of the best trial vector is −1105.9. Also, the searched parameters are [0.0519 0.0012 0.0070 −0.5237 −0.0053 −0.0068 0.3579 0.1459 0.0025 0.0891 0.1736]. The values of fitness functions and constraints are [0.0694 ms−1, 0.0484 ms−1] and [0.0002 m, 0 ms−1, 0 ms−1, 0 rad, 0 rad, 0 m, 0 m, 0 m, 0 m], respectively. Compared with the performance of modified CPG model, the original CPG model is less satisfactory. The walking gait of original CPG model searched by SaDE is visualized in Figure 16. Also, in Figure 17, desired step length (0.05 m) is successfully achieved. In Figure 18, maximum height of swing foot is satisfactory based on Table 3. Also, swing foot lands on the ground at desired landing time (t2=0.7 s andt5=1.7 s).
Average scores and scores of best target vector of original CPG model.
Walking gait of original CPG model searched by SaDE.
The landing instant of right swing leg (original CPG model).
Variation of height of swing foot with time (original CPG model).
The joint trajectories of modified CPG model are shown in Figure 19. Based on Figures 20 and 21, angular velocity of each joint trajectory is observed to be discontinuous. The standard deviation (σoriginal=0.0694 ms−1) of VTrunk,y is larger than that (σmodified=0.018 ms−1) of modified CPG model. The prime reason is that, in Figure 22, VTrunk,y is observed to be discontinuous because of discontinuity in angular velocity. In Figure 23, obvious abrupt change in ZMPy is observed. Also, ZMPy exceeds the area of support polygon (S1=0.0002 m). This shows that dynamic equilibrium of bipedal robot is affected by discontinuous angular velocity. Although the area of foot sole can be made larger to tolerate the abrupt change of ZMPy, the agility of the robot is sacrificed. For the original CPG model, a larger step is not allowed since ZMPy has exceeded the support polygon when the robot walks with 5 cm step length.
Joint trajectories of original CPG model searched by SaDE.
θ˙hs versus θhs of original CPG model.
θ˙ks versus θks of original CPG model.
Variation of VTrunk,y with time (original CPG model).
Variation of ZMPy with time (original CPG model).
6.6. Results of Rhs,support, Rks,support, Rhs,swing, and Rks,swing Searched by SaDE
Rhs,support, Rks,support, Rhs,swing, and Rks,swing searched by SaDE are shown in Table 4. In Figure 24, it shows that the bipedal robot can achieve desired step length (4 cm, 3 cm, 2 cm, and 1 cm). Also, in Figure 25, the maximum swing height corresponding to different desired step length reaches reasonable swing height based on Table 3 and no premature landing occurs during walking.
Rhs,support, Rks,support, Rhs,swing, and Rks,swing searched by SaDE.
Desired step length (cm)
Rhs,support
Rks,support
Rhs,swing
Rks,swing
5
1
1
1
1
4
0.8391
0.9419
0.7923
0.9714
3
0.7915
0.8469
0.5576
0.9672
2
0.6090
0.7861
0.3165
0.8709
1
0.4885
0.7157
0.0494
0.7779
0
0
0
0
0
Different step length achieved by bipedal robot.
Variation of height of swing foot with time (different desired step length).
In Figure 26, ZMPy is always within the area of support polygon [0.061,-0.061]. Hence, the dynamic equilibrium of the robot for different desired step length is satisfactory. Then, an attempt is made to show that when desired step length is adjusted in the next step, ZMPy can still be maintained within the area of support polygon [-0.061,0.061]. The bipedal robot is at rest initially and is commanded to change its step length at t2=0.7 s. In Figure 27, it shows that if change in step length is larger, then change in ZMPy is larger. It also shows that, in the case of the largest change in step length (0 cm to 5 cm), ZMPy is still within area of support polygon. Hence, robot can keep its dynamic balance well when desired step length is changed in the next step.
Variation of ZMPy with time (different desired step length).
Variation of ZMPy corresponding to different desired step length change.
6.7. Relationship between Rhs,support, Rks,support, Rhs,swing, and Rks,swing and Desired Step Length Learnt by FIS
The parameters of FLS tuned by LSE are shown in Table 5. Arbitrary desired step lengths (0.041 cm, 0.033 cm, 0.025 cm, and 0.017 cm) within a specific range (0 cm–5 cm) are commanded to the robot. In Figure 28, it shows that the robot can achieve arbitrary desired step length successfully. In Figure 29, premature landing does not occur throughout the whole walking cycle. Hence, the relationship between (1) Rhs,support, Rks,support, Rhs,swing and Rks,swing, and (2) desired step length is learnt successfully.
Height of swing foot (arbitrary desired step length command).
Flow chart of SaDE.
7. Conclusions
In this paper, GAOFSF [6] is modified to ensure that trajectories generated are continuous in angular position and its first and second derivatives. Through simulations, bipedal robot with modified CPG model yields better dynamic balance. SaDE is firstly applied to search the parameters of CPG model of bipedal walking. Performance of modified CPG model searched by SaDE is found to be satisfactory. Four adjustable parameters (Rhs,support, Rks,support, Rhs,swing, and Rks,swing) are added to modified CPG model and searched by SaDE. The robot is able to adjust its step length by simply changing these four factors. Instead of using look-up table [6], the relationship between (1) Rhs,support, Rks,support, Rhs,swing, and Rks,swing and (2) desired step length is successfully learnt. Simulation results show that the robot is able to walk with arbitrary desired step length within specific range (0 cm–5 cm). The desired joint angles can be obtained without the aid of inverse kinematics.
Appendix
For more details see Figure 30.
SymbolsA,B, C:
Coefficients of truncated Fourier series
CR:
Crossover rate
CR-:
Mean crossover rate
f:
Fitness functions
F:
Mutation rate
F-:
Mean mutation rate
g:
Gravity
Hswingfoot:
Height of swing foot
Hdesired:
Desired height of swing foot
Hground:
Height of ground
mi:
Mass of link i
M:
Membership function
q:
Gene number=1,2,3,4,…,11
S:
Constraints
u:
Trial vector
v:
Mutant vector
Vtrunk:
Velocity of trunk
V-trunk:
Mean velocity of trunk
Vstrike:
Velocity of swing foot at landing time
ωh,ωk:
Natural frequency of hip and knee trajectory
ωo/p:
Weighting factor of fitness functions/constraints
X:
Target vector
y:
y-Coordinate of CoM of link i
z:
z-Coordinate of CoM of link i
y¨:
Linear acceleration in y-direction at CoM of link i
z¨:
Linear acceleration in z-direction at CoM of link i
R:
Scaling factor of truncated Fourier series
θhs/ks:
Hip/knee joint angle in sagittal plane
μAm:
Degree of membership function
σ:
Standard deviation.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
Acknowledgment
The authors would like to thank the Department of Mechanical Engineering of The Hong Kong Polytechnic University for providing the research studentship.
KajitaS.KanehiroF.KanekoK.FujiwaraK.HaradaK.YokoiK.HirukawaH.Biped walking pattern generation by using preview control of zero-moment pointProceedings of the IEEE International Conference on Robotics and AutomationSeptember 2003162016262-s2.0-0345308517KimJ.-Y.ParkI.-W.OhJ.-H.Walking control algorithm of biped humanoid robot on uneven and inclined floor20074844574842-s2.0-3394711101110.1007/s10846-006-9107-8ErbaturK.KocaO.TaşkiranE.YilmazM.SevenU.ZMP based reference generation for biped walking robots2009589439502-s2.0-79954526998IjspeertA. J.Central pattern generators for locomotion control in animals and robots: a review20082146426532-s2.0-4004909297110.1016/j.neunet.2008.03.014TagaG.YamaguchiY.ShimizuH.Self-organized control of bipedal locomotion by neural oscillators in unpredictable environment19916531471592-s2.0-002604547810.1007/BF00198086YangL.ChewC.-M.ZielinskaT.PooA.-N.A uniform biped gait generator with offline optimization and online adjustable parameters20072555495652-s2.0-3474890299610.1017/S026357470700344XShafiiN.ReisL. P.LauN.Biped walking using coronal and sagittal movements based on truncated Fourier seriesProceedings of 14th Annual Robo Cup International Symposium2010324335YazdiE.AziziV.HaghighatA. T.Evolution of biped locomotion using bees algorithm, based on truncated Fourier seriesProceedings of the World Congress on Engineering and Computer Science2010378382OrJ.A hybrid CPG-ZMP control system for stable walking of a simulated flexible spine humanoid robot20102334524602-s2.0-7684910309710.1016/j.neunet.2009.11.003AoiS.TsuchiyaK.Adaptive behavior in turning of an oscillator-driven biped robot200723137572-s2.0-3454715415710.1007/s10514-007-9029-8FarzanehY.AkbarzadehA.AkbariaA. A.Online bio-inspired trajectory generation of seven-link biped robot based on T-S fuzzy system2013GongD.YanJ.ZuoG.A review of gait optimization based on evolutionary computation201020101241317910.1155/2010/413179InadaH.IshiiK.Bipedal walk using a central pattern generatorProceedings of International Congress Series2004185188MiyashitaK.OkS.HaseK.Evolutionary generation of human-like bipedal locomotion2003138-97918072-s2.0-003834834210.1016/S0957-4158(03)00003-5StornR.PriceK.Differential evolution—a simple and efficient heuristic for global optimization over continuous spaces19971143413592-s2.0-0142000477HegeryB.HungC. C.KasprakK.A comparative study on differential evolution and genetic algorithms for some combinatorial problemsProceedings of 8th Mexican International Conference on Artificial Intelligence2009TušarT.FilipičB.Differential evolution versus genetic algorithms in multi-objective optimizationProceedings of 4th International Conference on Evolutionary Multi-Criterion Optimization2007VesterstrømJ.ThomsenR.A comparative study of differential evolution, particle swarm optimization, and evolutionary algorithms on numerical benchmark problemsProceedings of the Congress on Evolutionary Computation (CEC '04)June 2004198019872-s2.0-4344714817QinA. K.SuganthanP. N.Self-adaptive differential evolution algorithm for numerical optimizationProceedings of the IEEE Congress on Evolutionary Computation (IEEE CEC '05)September 2005178517912-s2.0-27144475732QinA. K.HuangV. L.SuganthanP. N.Differential evolution algorithm with strategy adaptation for global numerical optimization20091323984172-s2.0-5964908382610.1109/TEVC.2008.927706OmranM. G. H.SalmanA.EngelbrechtA. P.Self-adaptive differential evolutionProceedings of International Conference on Computational Intelligence and Security2005192199BrestJ.GreinerS.BoškovićB.MernikM.ZumerV.Self-adapting control parameters in differential evolution: a comparative study on numerical benchmark problems20061066466572-s2.0-3384719983110.1109/TEVC.2006.872133YangL.ChewC.-M.PooA.-N.Real-time bipedal walking adjustment modes using truncated fourier series formulationProceedings of the 7th IEEE-RAS International Conference on Humanoid Robots (HUMANOIDS '07)December 20073793842-s2.0-6764971628910.1109/ICHR.2007.4813897Hern ndez-SantosC.Rodriguez-LealE.SotoR.GordilloJ. L.Kinematics and dynamics of a new 16DOF Humanoid biped robot with active toe joint20129190ChoiK.-C.LeeH.-J.LeeM. C.Fuzzy posture control for biped walking robot based on force sensor for ZMPProceedings of the SICE-ICASE International Joint ConferenceOctober 2006118511892-s2.0-3425074359610.1109/SICE.2006.315363TlaloliniD.AoustinY.ChevallereauC.Design of a walking cyclic gait with single support phases and impacts for the locomotor system of a thirteen-link 3D biped using the parametric optimization201023133562-s2.0-7424910417910.1007/s11044-009-9175-1SudheerA. P.VijayakumarR.MohandaK. P.Stable gait synthesis and analysis of a 12-degree of freedom biped robot in sagittal and frontal planes2012643644JangJ.-S. R.ANFIS: adaptive-network-based fuzzy inference system19932336656852-s2.0-002760188410.1109/21.256541