FOOTHOLD POSITION CONTROL SYSTEM AND METHOD FOR BIPED ROBOT

Abstract
A foothold position control system and method for a biped robot are provided. 1) A feasible collision-free path is planned by using a path planning algorithm; 2) an available foothold area of a swing foot is determined according to step-length constraints, movement capabilities, foot sizes, and center offsets of a biped robot; and 3) fuzzy processing is performed to determine a specific foothold position of the biped robot. Selection of suitable foothold positions on both sides of a path when a biped robot executes specific walking actions after finishing path planning is realized. The foothold position control system and method has the advantages of being simple and easy to implement, having low computational load and high speed, being capable of exerting extreme movement capabilities of different biped robots, enabling more flexible movement of the biped robots, and so on.
Description
TECHNICAL FIELD

The present disclosure belongs to the technical field of biped robots, and specifically, relates to a foothold position control system and method for a biped robot.


BACKGROUND

With the development of science and technology, there are more and more kinds of robots which have been more and more widely used. A biped robot is a comprehensive electromechanical integration platform integrating multiple disciplines such as mechanics, sensing, electronics, control, artificial intelligence, and bionics. The biped robot has a humanoid structure and is easy to implement most human actions, and is even more suitable for accomplishing some tasks in the areas of disaster relief, family services, aerospace, and so on. Although the biped robot has achieved remarkable results in walking, running, jumping, and so on, and has made great progress in straight walking, balance adjustment, modular management, and other control aspects, there is still a big gap in intelligent and autonomous movement compared with other types of robots or the human beings the biped robot imitates. Especially when a path from a start location to a task location is known in the environment, the selection of a foothold position after the biped robot specifically takes a step is particularly important and directly affects the performance of the robot such as the capability of following the path, flexibility, walking balance, and stability.


In the prior art, 10 to 50 available foothold positions of a swing foot with respect to a support foot are established in advance by permutation and combination according to structural constraints and movement capabilities of the biped robot, and are combined into one to three sets. In this way, other steps the biped robot may take at a certain time and under certain circumstances are severely restricted in the x-coordinate direction, y-coordinate direction, and angular direction, and the foothold position is limited to these fixed options, which is unfavorable for flexible movement of the biped robot. Besides, the non-autonomous and non-intelligent characteristics of the biped robot have been decided in selecting the foothold position from the fixed sets, and the foothold position is actually determined as soon as a planned path from a start position to a target position is determined in some methods, in which there is no process of selecting variable foothold positions.


SUMMARY

In view of the deficiencies in the prior art, the present disclosure provides a foothold position control system and method for a biped robot, where after path planning, fuzzy processing is performed to determine a specific foothold position of a robot, and the foothold position is variable, thereby ensuring flexibility and stability when the robot lands.


The present disclosure achieves the aforementioned technical objective by the following technical means.


A foothold position control system for a biped robot includes a laser radar or vision sensor, a gyroscope, a six-component force sensor, and an industrial computer, where a fuzzy controller in the industrial computer separately uses xsd, xen, ysd, yen, θsd, and θpt as inputs and performs fuzzy processing to obtain a specific foothold position of a swing foot in an available foothold area, where xsd, ysd is a real-time position of a support foot of a biped robot obtained by the six-component force sensor, xen, yen is a position of an obstacle in a robot body coordinate system obtained by the laser radar or vision sensor, θsd is an initial yaw angle of the biped robot obtained by the gyroscope, and θpt is an angle between a straight line formed by a current path node and an associated path node in a next step and an x axis of a world coordinate system.


In the aforementioned technical solution, the








θ

p

t


=


tan

-
1






y


p

t

+
1


-

y

p

t





x


p

t

+
1


-

x

p

t






,




(


x


p

t

+
1


,

y


p

t

+
1



)

=


min

1

i

n






(


x
next

-

x
i


)

2

+


(


y
next

-

y
i


)

2





;





where xpt, ypt is a path node closest to a position of a current support foot, xpt+1, ypt+1 is a path node closest to a foothold position after a current swing foot lands, xnext, ynext is a specific foothold position of the swing foot in an available foothold range, and xi, yi is a path node.


A foothold position control method for a biped robot includes planning a passing path; determining an available foothold area of a swing foot on the passing path according to step-length constraints, movement capabilities, foot sizes, and center offsets of a biped robot; and performing fuzzy processing to determine a specific foothold position of the robot.


Further, the fuzzy processing includes fuzzification, fuzzy rule reasoning, and defuzzification.


Furthermore, a process of fuzzy processing on xen and xsd is: inputting xpt−xpt−1 and xen, and outputting Δxnext;


(1) fuzzification


fuzzifying xpt−xpt−1 as backward, small step forward, medium step forward, and big step forward, with corresponding ranges being respectively







[


-

D
min


,
0

]

,

[

0
,


1
2



D
max



]

,

[



1
3



D
max


,


2
3



D
max



]

,



and

[



1
2



D
max


,

D
max


]

;





fuzzifying xen as very near, near, medium, far, and very far, with corresponding ranges being respectively







[



1
2



D
max


,

D
max


]

,

[



3
4



D
max


,

2


D
max



]

,


[



3
2



D
max


,

3


D
max



]

,

[



5
2



D
max


,


4


D
max



]

,



and

[


4


D
max


,


5


D
max



]

;





fuzzifying Δxnext as backward, short, medium, and long, with corresponding ranges being respectively







[


-

D
min


,
0

]

,

[

0
,


1
2



D
max



]

,


[



1
3



D
max


,


2
3



D
max



]

,


and

[



1
2



D
max


,

D
max


]

,




where Dmax is a maximum forward movable distance of the swing foot, and Dmin is a maximum backward movable distance of the swing foot;


(2) fuzzy rule reasoning


if xpt−xpt−1=backward, then xnext=backward;


if xpt−xpt−1=small step forward, and xen=very near; then xnext=short;


if xpt−xpt−1=small step forward, and xen=near; then xnext=short;


if xpt−xpt−1=small step forward, and xen=medium; then xnext=medium;


if xpt−xpt−1=small step forward, and xen=far; then xnext=long;


if xpt−xpt−1=small step forward, and xen=very far; then xnext=long;


if xpt−xpt−1=medium step forward, and xen=very near; then xnext=short;


if xpt−xpt−1=medium step forward, and xen=near; then xnext=short;


if xpt−xpt−1=medium step forward, and xen=medium; then xnext=medium;


if xpt−xpt−1=medium step forward, and xen=far; then xnext=long;


if xpt−xpt−1=medium step forward, and xen=very far; then xnext=long;


if xpt−xpt−1=big step forward, and xen=very near; then xnext=short;


if xpt−xpt−1=big step forward, and xen=near; then xnext=short;


if xpt−xpt−1=big step forward, and xen=medium; then xnext=medium;


if xpt−xpt−1=big step forward, and xen=far; then xnext=medium;


if xpt−xpt−1=big step forward, and xen=very far; then xnext=long; and


(3) defuzzification using a centroid method







Δ


x

n

e

x

t



=




(


x

p

t


-

x


p

t

-
1



)



μ


x

p

t


-

x


p

t

-
1





+


x

e

n




μ

x

e

n







μ


x

p

t


-

x


p

t

-
1




+

μ

x

e

n









where u is a membership value.


Furthermore, a process of fuzzy processing on yen and ysd is: inputting ypt−ypt−1 and yen, and outputting Δynext;


(1) fuzzification


fuzzifying ypt−ypt−1 as inward, small swing outward, medium swing outward, and big swing outward, with corresponding ranges being respectively







[


L
min

,
B

]

,

[

B
,

B
+


1
2



(


L
max

-
B

)




]

,


[


B
+


1
3



(


L
max

-
B

)



,

B
+


2
3



(


L
max

-
B

)




]

,



and

[


B
+


1
2



(


L
max

-
B

)



,

L
max


]

;





fuzzifying yen as very near, near, medium, far, and very far, with corresponding ranges being respectively







[


L
max

,

2


L
max



]

,

[



3
2



L
max


,


5
2



L
max



]

,


[


2


L
max


,

3


L
max



]

,

[



5
2



L
max


,


7
2



L
max



]

,



and

[


3


L
max


,


4


L
max



]

;





fuzzifying Δynext as inward, small, medium, and large, with corresponding ranges being respectively







[


L
min

,
B

]

,

[

B
,

B
+


1
2



(


L
max

-
B

)




]

,


[


B
+


1
3



(


L
max

-
B

)



,

B
+


2
3



(


L
max

-
B

)




]

,


and

[


B
+


1
2



(


L
max

-
B

)



,

L
max


]

,




where Lmax is a maximum outward movable distance, Lmin is a maximum inward movable distance, and B is a distance between projections of centers of gravity of two legs when the biped robot stands upright;


(2) fuzzy rule reasoning


if ypt−ypt−1=inward, then Δynext=inward;


if ypt−ypt−1=small swing outward, and yen=very near; then Δynext=small;


if ypt−ypt−1=small swing outward, and yen=near; then Δynext=small;


if ypt−ypt−1=small swing outward, and yen=medium; then Δynext=medium;


if ypt−ypt−1=small swing outward, and yen=far; then Δynext=large;


if ypt−ypt−1=small swing outward, and yen=very far; then Δynext=large;


if ypt−ypt−1=medium swing outward, and yen=very near; then Δynext=small;


if ypt−ypt−1=medium swing outward, and yen=near; then Δynext=small;


if ypt−ypt−1=medium swing outward, and yen=medium; then Δynext=medium;


if ypt−ypt−1=medium swing outward, and yen=far; then Δynext=large;


if ypt−ypt−1=medium swing outward, and yen=very far; then Δynext=large;


if ypt−ypt−1=big swing outward, and yen=very near; then Δynext=small;


if ypt−ypt−1=big swing outward, and yen=near; then Δynext=small;


if ypt−ypt−1=big swing outward, and yen=medium; then Δynext=medium;


if ypt−ypt−1=big swing outward, and yen=far; then Δynext=large;


if ypt−ypt−1=big swing outward, and yen=very far; then Δynext=large; and


(3) defuzzification using a centroid method







Δ


y
next


=




(


y

p

t


-

y


p

t

-
1



)



μ


y

p

t


-

y


p

t

-
1





+


y

e

n




μ

y

e

n







μ


y

p

t


-

y


p

t

-
1




+

μ

y

e

n









where u is a membership value.


Furthermore, a process of fuzzy processing on θsd and θpt is: inputting θsd and θpt, and outputting Δθnext;


(1) fuzzification


fuzzifying θsd as inward yaw, small-amplitude outward yaw, medium-amplitude outward yaw, and large-amplitude outward yaw, with corresponding ranges being respectively







[


-

θ
min


,
0

]

,


[

0
,


1
2



θ
max



]

,

[



1
3



θ
max


,


2
3



θ
max



]

,



and

[



1
2



θ
max


,

θ
max


]

;





fuzzifying θpt as negative big orientation, negative small orientation, medium, positive small orientation, and positive big orientation, with corresponding ranges being respectively







[



-

π
2


,

-

π
4


]

,

[



-

π
3


,

-

π
6


]

,

[


-

π
4


,

π
4


]

,

[


π
6

,

π
3


]

,



and

[


π
4

,

π
2


]

;





fuzzifying Δθnext as inward yaw, small-amplitude outward yaw, medium-amplitude outward yaw, and large-amplitude outward yaw, with corresponding ranges being respectively







[


-

θ
min


,
0

]

,

[

0
,

1
2



θ
max


]

,

[


1
3



θ
max

,

2
3



θ
max


]

,


and

[


1
2



θ
max

,

θ
max


]

,




where θmin is a maximum inward yaw angle of the swing foot, and θmax is a maximum outward yaw angle of the swing foot;


(2) fuzzy rule reasoning


when a support foot is a left foot:


if θsd=inward yaw, and θpt=negative big orientation; then Δθnext=large-amplitude outward yaw;


if θsd=inward yaw, and θpt=negative small orientation; then Δθnext=medium-amplitude outward yaw;


if θsd=inward yaw, and θpt=medium; then Δθnext=small-amplitude outward yaw;


if θsd=inward yaw, and θpt=positive small orientation; then Δθnext=inward yaw;


if θsd=inward yaw, and θpt=positive big orientation; then Δθnext=inward yaw;


if θsd=small-amplitude outward yaw, and θpt=negative big orientation; then Δθnext=large-amplitude outward yaw;


if θsd=small-amplitude outward yaw, and θpt=negative small orientation; then Δθnext=medium-amplitude outward yaw;


if θsd=small-amplitude outward yaw, and θpt=medium; then Δθnext=small-amplitude outward yaw;


if θsd=small-amplitude outward yaw, and θpt=positive small orientation; then Δθnext=inward yaw;


if θsd=small-amplitude outward yaw, and θpt=positive big orientation; then Δθnext=inward yaw;


if θsd=medium-amplitude outward yaw, and θpt=negative big orientation; then Δθnext=large-amplitude outward yaw;


if θsd=medium-amplitude outward yaw, and θpt=negative small orientation; then Δθnext=medium-amplitude outward yaw;


if θsd=medium-amplitude outward yaw, and θpt=medium; then Δθnext=inward yaw;


if θsd=medium-amplitude outward yaw, and θpt=positive small orientation; then Δθnext=inward yaw;


if θsd=medium-amplitude outward yaw, and θpt=positive big orientation; then Δθnext=inward yaw;


if θsd=large-amplitude outward yaw, and θpt=negative big orientation; then Δθnext=medium-amplitude outward yaw;


if θsd=large-amplitude outward yaw, and θpt=negative small orientation; then Δθnext=small-amplitude outward yaw;


if θsd=large-amplitude outward yaw, and θpt=medium; then Δθnext=inward yaw;


if θsd=large-amplitude outward yaw, and θpt=positive small orientation; then Δθnext=inward yaw;


if θsd=large-amplitude outward yaw, and θpt=positive big orientation; then Δθnext=inward yaw;


when the support foot is a right foot:


if θsd=inward yaw, and θpt=negative big orientation; then Δθnext=inward yaw;


if θsd=inward yaw, and θpt=negative small orientation; then Δθnext=inward yaw;


if θsd=inward yaw, and θpt=medium; then Δθnext=small-amplitude outward yaw;


if θsd=inward yaw, and θpt=positive small orientation; then Δθnext=medium-amplitude outward yaw;


if θsd=inward yaw, and θpt=positive big orientation; then Δθnext=large-amplitude outward yaw;


if θsd=small-amplitude outward yaw, and θpt=negative big orientation; then Δθnext=inward yaw;


if θsd=small-amplitude outward yaw, and θpt=negative small orientation; then Δθnext=inward yaw;


if θsd=small-amplitude outward yaw, and θpt=medium; then Δθnext=small-amplitude outward yaw;


if θsd=small-amplitude outward yaw, and θpt=positive small orientation; then Δθnext=medium-amplitude outward yaw;


if θsd=small-amplitude outward yaw, and θpt=positive big orientation; then Δθnext=large-amplitude outward yaw;


if θsd=medium-amplitude outward yaw, and θpt=negative big orientation; then Δθnext=inward yaw;


if θsd=medium-amplitude outward yaw, and θpt=negative small orientation; then Δθnext=inward yaw;


if θsd=medium-amplitude outward yaw, and θpt=medium; then Δθnext=inward yaw;


if θsd=medium-amplitude outward yaw, and θpt=positive small orientation; then Δθnext=small-amplitude outward yaw;


if θsd=medium-amplitude outward yaw, and θpt=positive big orientation; then Δθnext=medium-amplitude inward yaw;


if θsd=large-amplitude outward yaw, and θpt=negative big orientation; then Δθnext=inward yaw;


if θsd=large-amplitude outward yaw, and θpt=negative small orientation; then Δθnext=inward yaw;


if θsd=large-amplitude outward yaw, and θpt=medium; then Δθnext=inward yaw;


if θsd=large-amplitude outward yaw, and θpt=positive small orientation; then Δθnext=small-amplitude outward yaw;


if θsd=large-amplitude outward yaw, and θpt=positive big orientation; then Δθnext=medium-amplitude inward yaw; and


(3) defuzzification


defuzzification using a centroid method:







Δ


θ
next


=




θ
pt



μ

θ
pt



+


θ

s

d




μ

θ
sd






μ

θ
pt


+

μ

θ
sd








where u is a membership value.


Furthermore, the specific foothold position of the robot is (xnext, ynext, θnext), and xnext=xsd+Δxnext, ynext=ysd+Δynext, and θnextsd+Δθnext.


The beneficial effects of the present disclosure are as follows:


(1) In the present disclosure, xsd, xen, ysd, yen, θsd, and θpt are separately used as inputs of a fuzzy controller, fuzzy processing is performed, fuzzy processing including fuzzification, fuzzy rule reasoning, and defuzzification, finally xnext, ynext, and θnext are output, and a specific foothold position of a swing foot of a robot in an available foothold area is determined; and the planning of the foothold position is determining the available foothold area according to step-length constraints, movement capabilities, foot sizes, and center offsets of the biped robot, instead of setting foothold sets in advance and selecting few limited foothold positions in the foothold sets; it is unnecessary to design a limited number of foothold sets in advance, the flexibility of the biped robot is improved, and movement capabilities of the biped robot are fully exerted, so that the foothold of the biped robot after path planning can be selected in an autonomous and intelligent way.


(2) The fuzzy control process in the present disclosure considers the position of a closest path node, the position of an obstacle, and the position of a current support foot, so that the fuzzy control process is more precise and comprehensive, and the selection of the foothold position is more reasonable.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a schematic structural view of a foothold position control system for a biped robot in the present disclosure.



FIG. 2 is a flowchart of a foothold position control method for a biped robot in the present disclosure.



FIG. 3 is an overall effect diagram of a passing path in the present disclosure.



FIG. 4 is a schematic diagram of an available foothold area of a swing foot in the present disclosure.



FIG. 5 is a schematic diagram of a fuzzy control process in the present disclosure.



FIG. 6 is a schematic diagram of θpt in the present disclosure.





DETAILED DESCRIPTION OF THE EMBODIMENTS

The present disclosure is further illustrated below with reference to the accompanying drawings and specific embodiments, but the protection scope of the present disclosure is not limited thereto.


As shown in FIG. 1, a foothold position control system for a biped robot includes a laser radar or vision sensor 1, a gyroscope 3, a six-component force sensor 6, and an industrial computer; the laser radar or vision sensor 1 is disposed on the top of a biped robot body 2, and is used for obtaining environmental information of a biped robot, and position coordinates (xen, yen) of an obstacle 8 in the environmental information in a robot body coordinate system; the gyroscope 3 is disposed in the upper part of the biped robot body 2, and is used for obtaining an initial value of a yaw angle θsd of the biped robot; the six-component force sensor 6 is disposed in a sole of the biped robot body 2, and is used for obtaining a real-time position (xsd, ysd) of a support foot of the biped robot; the laser radar or vision sensor 1, the gyroscope 3, and the six-component force sensor 6 all perform signal transmission with the industrial computer, a fuzzy controller is disposed in the industrial computer, and the fuzzy controller converts the real-time position (xsd, ysd) of the support foot in a world coordinate system into a path node (xpt, ypt) closest to the position of the current support foot (see equation (1)); xsd, xen, ysd, yen, θsd and θpt are separately used as inputs of the fuzzy controller, and fuzzification, fuzzy rule reasoning, and defuzzification are performed to obtain a specific foothold position (xnext, ynext, θnext) of the swing foot in an available foothold range, and the swing foot is controlled to land. The θpt is an angle between a straight line formed by a current path node and an associated path node in a next step and an x axis of the world coordinate system (see FIG. 6) (see equations (4) and (5) for the obtaining process). The x-axis direction in the figure is the advancing direction of the robot, the y-axis direction is perpendicular to the advancing direction of the robot, and they form the robot body coordinate system; 4 is a lower limb of the robot, and 7 is a foothold position of the robot.


As shown in FIG. 2, a foothold position control method for a biped robot specifically includes the following steps:


Step (1): Path Planning


The laser radar or vision sensor 1 is mounted on the biped robot to obtain an environmental map, grid processing is performed on the environmental map, a start point (xstart, ystart) and a task goal (xgoal, ygoal) are set in the grid map, and an optimal collision-free path (namely, the path 5 in FIG. 3) from the start to the goal is planned by using an A* algorithm, where each path point is called a path node and represented as (xi, yi) (i=1 . . . n); that is, passable path nodes form a passable path Path=(xstart, ystart)∪(x1, y1) . . . ∪(x2, y2) . . . ∪(xN, yN)∪(xgoal, ygoal), as shown in



FIG. 3, where 9 is the start, and 10 is the goal.


Step (2): Determining of Foothold Range


An available foothold area of the swing foot is determined according to step-length constraints, movement capabilities, foot sizes, and center offsets of a specific biped robot.


When the advancing direction of the biped robot is the x-axis direction, xmax=xsd+Dmax, xmin=xsd−Dmin, ymax=ysd+Lmax, ymin=ysd+Lmin;


when the advancing direction of the biped robot is along the y axis, ymax=ysd+Dmax, ymin=ysd−Dmin, xmax=xstand+Lmax, xmin=xsd+Lmin;


when the angle between the advancing direction of the biped robot and the x axis is θ,








x
max

=


x

s

d


+


D
max


cos

(
θ
)




,


x
min

=


x

s

d


-


D
min


cos

(
θ
)




,


y
max

=


y

s

d


+


L
max


cos

(
θ
)




,


y
min

=


y

s

d


+



L
min


cos

(
θ
)


.







Thus it can be determined that the available foothold area of the swing foot of the biped robot is [xmin xmax]∪[ymin ymax]∪[θmin θmax], as shown in FIG. 4, where the area in the dashed box is the available foothold area of the swing foot, where θmax is a maximum outward yaw angle of the swing foot, θmin is a maximum inward yaw angle of the swing foot, Dmax is a maximum forward movable distance, Dmin is a maximum backward movable distance, Lmax is a maximum outward movable distance, Lmin is a maximum inward movable distance, and B is a distance between projections of centers of gravity of two legs when the biped robot stands upright.


Step (3): Determining of Specific Foothold Position


Any (x, y, θ) combination in the available foothold area can represent a possible foothold position of the actual swing foot.


According to the position (xsd, ysd, θsd) of the support foot, the position (xpt, ypt, θpt) of the path node closest to the position of the support foot, and the position (xen, yen) of the obstacle in the environment, x, y, and θ are separately subjected to fuzzification processing in their respective ranges, subjected to fuzzy rule reasoning, and then subjected to defuzzification to finally obtain the specific foothold position (xnext, ynext, θnext) of the swing foot in the available foothold range.


xsd, xen, ysd, yen, θsd, and θpt are separately used as inputs of fuzzy control, and the current support foot of the biped robot is the swing foot in the previous step; thus the value of the yaw angle θsd of the current support foot of the biped robot is the value of θnext−1 of the swing foot in the previous step.


As shown in FIG. 5, the process of fuzzy processing on xen and xsd is as follows:


{circle around (1)} The position of the path node closest to the position of the support foot is obtained through xsd and ysd:










(


x
pt

,

y
pt


)

=


min

1

i

n






(


x
sd

-

x
i


)

2

+


(


y
sd

-

y
i


)

2








(
1
)







A difference xpt−xpt−1 between xpt calculated in this step and xpt−1 in the last step is used as an input, and a step length of the next step is predicted through a step length of the last step; meanwhile, xen is used as another input, and the step length of the next step is predicted through the distance from the obstacle; Δxnext is output according to fuzzy rules and reasoning.


{circle around (2)} Fuzzification processing: the range of xpt−xpt−1 is determined approximately as the range [−Dmin, Dmax] of one step length, and the range is fuzzified and divided into four stages: backward, small step forward, medium step forward, and big step forward, with corresponding ranges being respectively







[


-

D
min


,
0

]

,

[

0
,

1
2



D
max


]

,

[


1
3



D
max

,

2
3



D
max


]

,



and





[


1
2



D
max

,

D
max


]

;





a value range of xen is approximately represented as






[


1
2



D
max

,
5


D
max


]




and is fuzzified as very near, near, medium, far, and very far, with corresponding ranges being respectively







[


1
2



D
max

,

D
max


]

,

[


3
4



D
max

,
2


D
max


]

,

[


3
2



D
max

,
3


D
max


]

,


[


5
2



D
max

,
4


D
max


]

,



and

[

4


D
max

,
5


D
max


]

;





the output Δxnext is fuzzified as backward, short, medium, and long, with corresponding ranges being respectively







[


-

D
min


,
0

]

,

[

0
,

1
2



D
max


]

,

[


1
3



D
max

,

2
3



D
max


]

,



and

[


1
2



D
max

,

D
max


]

.





All the inputs use a triangle method as a membership function, and have respective membership values being μx.


{circle around (3)} Fuzzy rules and reasoning:


IF xptxpt−1=back THEN xnext=backward;


IF xpt−xpt−1=small step forward AND xen=very near, THEN xnext=short;


IF xpt−xpt−1=small step forward AND xen=near, THEN xnext=short;


IF xpt−xpt−1=small step forward AND xen=medium, THEN xnext=medium;


IF xpt−xpt−1=small step forward AND xen=far, THEN xnext=long;


IF xpt−xpt−1=small step forward AND xen=very far, THEN xnext=long;


IF xpt−xpt−1=medium step forward AND xen=very near, THEN xnext=short;


IF xpt−xpt−1=medium step forward AND xen=near, THEN xnext=short;


IF xpt−xpt−1=medium step forward AND xen=medium, THEN xnext=medium;


IF xpt−xpt−1=medium step forward AND xen=far, THEN xnext=long;


IF xpt−xpt−1=medium step forward AND xen=very far, THEN xnext=long;


IF xpt−xpt−1=big step forward AND xen=very near, THEN xnext=short;


IF xpt−xpt−1=big step forward AND xen=near, THEN xnext=short;


IF xpt−xpt−1=big step forward AND xen=medium, THEN xnext=medium;


IF xpt−xpt−1=big step forward AND xen=far, THEN xnext=medium;


IF xpt−xpt−1=big step forward AND xen=very far, THEN xnext=long.


{circle around (4)} Defuzzification


Defuzzification is performed using a centroid method:










Δ


x

n

e

x

t



=




(


x

p

t


-

x


p

t

-
1



)



μ


x
pt

-

x

pt
-
1





+


x

e

n




μ

x

e

n







μ


x
pt

-

x

pt
-
1




+

μ

x

e

n









(
2
)







The process of fuzzy processing on yen and ysd is as follows:


{circle around (1)} The position (xpt, ypt) of the path node closest to the position of the support foot is obtained from equation (1).


A difference ypt−ypt−1 between ypt calculated in this step and ypt−1 in the last step is used as an input, and a step length of the next step is predicted through a step length of the last step; meanwhile, yen is used as another input, and the step length of the next step is predicted through the distance from the obstacle; ynext is output according to fuzzy rules and reasoning.


{circle around (2)} Fuzzification processing: the range of ypt−ypt−1 is determined approximately as the range [Lmin, Lmax] of one step swing, and the range is fuzzified and divided into four stages: inward, small swing outward, medium swing outward, and big swing outward, with corresponding ranges being respectively







[


L
min

,
B

]

,

[


B
,
B

+


1
2



(


L
max

-
B

)



]

,


[

B
+


1
3



(


L
max

-
B

)

,
B

+


2
3



(


L
max

-
B

)



]

,



and

[

B
+


1
2



(


L
max

-
B

)

,

L
max



]

;





a value range of yen is approximately represented as [Lmax, 4Lmax], and fuzzified as very near, near, medium, far, and very far, with corresponding ranges being respectively







[


L
max

,
2


L
max


]

,

[


3
2



L
max

,

5
2



L
max


]

,


[

2


L
max

,
3


L
max


]

,

[


5
2



L
max

,

7
2



L
max


]

,



and

[

3


L
max

,
4


L
max


]

;





the output Δynext is fuzzified as inward, small, medium, and large, with corresponding ranges being respectively







[


L
min

,
B

]

,

[


B
,
B

+


1
2



(


L
max

-
B

)



]

,


[

B
+


1
3



(


L
max

-
B

)

,
B

+


2
3



(


L
max

-
B

)



]

,



and





[

B
+


1
2



(


L
max

-
B

)

,

L
max



]

.





All the inputs use a triangle method as a membership function, and have respective membership values being μy.


{circle around (3)} Fuzzy rules and reasoning


IF ypt−ypt−1=inward THEN Δynext=inward;


IF ypt−ypt−1=small swing outward AND yen=very near, THEN Δynext=small;


IF ypt−ypt−1=small swing outward AND yen=near, THEN Δynext=small;


IF ypt−ypt−1=small swing outward AND yen=medium, THEN Δynext=medium;


IF ypt−ypt−1=small swing outward AND yen=far, THEN Δynext=large;


IF ypt−ypt−1=small swing outward AND yen=very far, THEN Δynext=large;


IF ypt−ypt−1=medium swing outward AND yen=very near, THEN Δynext=small;


IF ypt−ypt−1=medium swing outward AND yen=near, THEN Δynext=small;


IF ypt−ypt−1=medium swing outward AND yen=medium, THEN Δynext=medium;


IF ypt−ypt−1=medium swing outward AND yen=far, THEN Δynext=large;


IF ypt−ypt−1=medium swing outward AND yen=very far, THEN Δynext=large;


IF ypt−ypt−1=big swing outward AND yen=very near, THEN Δynext=small;


IF ypt−ypt−1=big swing outward AND yen=near, THEN Δynext=small;


IF ypt−ypt−1=big swing outward AND yen=medium, THEN Δynext=medium;


IF ypt−ypt−1=big swing outward AND yen=far, THEN Δynext=large;


IF ypt−ypt−1=big swing outward AND yen=very far, THEN Δynext=large.


{circle around (4)} Defuzzification


Defuzzification is performed using a centroid method:










Δ


y
next


=




(


y
pt

-

y

pt
-
1



)



μ


y

p

t


-

y

pt
-
1





+


y

e

n




μ

y

e

n







μ


y
pt

-

y

pt
-
1




+

μ

y

e

n









(
3
)







The process of fuzzy processing on θsd and θpt is as follows:


{circle around (1)} The current support foot of the biped robot is the swing foot in the previous step, and thus the value of the yaw angle θsd of the support foot of the biped robot is the value θnext−1 of the swing foot in the previous step, and is used as an input, and a yaw angle in the next step is predicted through a yaw angle in the previous step; θpt is obtained from equations (4) and (5) and is used as another input, and the yaw angle in the next step is predicted through the yaw angle in the previous step.










(


x

pt
+
1


,

y

pt
+
1



)

=


min

1

i

n






(


x
next

-

x
i


)

2

+


(


y
next

-

y
i


)

2








(
4
)













θ
pt

=


tan

-
1






y


p

t

+
1


-

y

p

t





x


p

t

+
1


-

x

p

t









(
5
)







where xpt+1, ypt+1 is a path node closest to a foothold position after a current swing foot lands.


{circle around (2)} Fuzzification processing


A variation range of θsd is [−θmin, θmax], and the range is fuzzified and divided into four stages: inward yaw, small-amplitude outward yaw, medium-amplitude outward yaw, and large-amplitude outward yaw, with corresponding ranges being respectively







[


-

θ
min


,
0

]

,

[

0
,

1
2



θ
max


]

,

[


1
3



θ
max

,

2
3



θ
max


]

,



and





[


1
2



θ
max

,

θ
max


]

;





the range of θpt is approximately represented as







[


-

π
2


,

π
2


]

,




and is fuzzified as negative big orientation, negative small orientation, medium, positive small orientation, and positive big orientation, with corresponding ranges being respectively







[



-

π
2


,

-

π
4


]

,

[



-

π
3


,

-

π
6


]

,

[


-

π
4


,

π
4


]

,

[


π
6

,

π
3


]

,



and





[


π
4

,

π
2


]

;





the output Δθnext is fuzzified as inward yaw, small-amplitude outward yaw, medium-amplitude outward yaw, and large-amplitude outward yaw, with corresponding ranges being respectively







[


-

θ
min


,
0

]

,

[

0
,

1
2



θ
max


]

,

[


1
3



θ
max

,

2
3



θ
max


]

,



and

[


1
2



θ
max

,

θ
max


]

.





All the inputs use a triangle method as a membership function, and have respective membership values being μθ.


{circle around (3)} Fuzzy rules and reasoning


When the support foot is a left foot:


IF θsd=inward yaw AND θpt=negative big orientation, THEN Δθnext=large-amplitude outward yaw;


IF θsd=inward yaw AND θpt=negative small orientation, THEN Δθnext=medium-amplitude outward yaw;


IF θsd=inward yaw AND θpt=medium, THEN Δθnext=small-amplitude outward yaw;


IF θsd=inward yaw AND θpt=positive small orientation, THEN Δθnext=inward yaw;


IF θsd=inward yaw AND θpt=positive big orientation, THEN Δθnext=inward yaw;


IF θsd=small-amplitude outward yaw AND θpt=negative big orientation, THEN Δθnext=large-amplitude outward yaw;


IF θsd=small-amplitude outward yaw AND θpt=negative small orientation, THEN Δθnext=medium-amplitude outward yaw;


IF θsd=small-amplitude outward yaw AND θpt=medium, THEN Δθnext=small-amplitude outward yaw;


IF θsd=small-amplitude outward yaw AND θpt=positive small orientation, THEN Δθnext=inward yaw;


IF θsd=small-amplitude outward yaw AND θpt=positive big orientation, THEN Δθnext=inward yaw;


IF θsd=medium-amplitude outward yaw AND θpt=negative big orientation, THEN Δθnext=large-amplitude outward yaw;


IF θsd=medium-amplitude outward yaw AND θpt=negative small orientation, THEN Δθnext=medium-amplitude outward yaw;


IF θsd=medium-amplitude outward yaw AND θpt=medium, THEN Δθnext=inward yaw;


IF θsd=medium-amplitude outward yaw AND θpt=positive small orientation, THEN Δθnext=inward yaw;


IF θsd=medium-amplitude outward yaw AND θpt=positive big orientation, THEN Δθnext=inward yaw;


IF θsd=large-amplitude outward yaw AND θpt=negative big orientation, THEN Δθnext=medium-amplitude outward yaw;


IF θsd=large-amplitude outward yaw AND θpt=negative small orientation, THEN Δθnext=small-amplitude outward yaw;


IF θsd=large-amplitude outward yaw AND θpt=medium, THEN Δθnext=inward yaw;


IF θsd=large-amplitude outward yaw AND θpt=positive small orientation, THEN Δθnext=inward yaw;


IF θsd=large-amplitude outward yaw AND θpt=positive big orientation, THEN Δθnext=inward yaw;


When the support foot is a right foot:


IF θsd=inward yaw AND θpt=negative big orientation, THEN Δθnext=inward yaw;


IF θsd=inward yaw AND θpt=negative small orientation, THEN Δθnext=inward yaw;


IF θsd=inward yaw AND θpt=medium, THEN Δθnext=small-amplitude outward yaw;


IF θsd=inward yaw AND θpt=positive small orientation, THEN Δθnext=medium-amplitude outward yaw;


IF θsd=inward yaw AND θpt=positive big orientation, THEN Δθnext=large-amplitude outward yaw;


IF θsd=small-amplitude outward yaw AND θpt=negative big orientation, THEN Δθnext=inward yaw;


IF θsd=small-amplitude outward yaw AND θpt=negative small orientation, THEN Δθnext=inward yaw;


IF θsd=small-amplitude outward yaw AND θpt=medium, THEN Δθnext=small-amplitude outward yaw;


IF θsd=small-amplitude outward yaw AND θpt=positive small orientation, THEN Δθnext=medium-amplitude outward yaw;


IF θsd=small-amplitude outward yaw AND θpt=positive big orientation, THEN Δθnext=large-amplitude outward yaw;


IF θsd=medium-amplitude outward yaw AND θpt=negative big orientation, THEN Δθnext=inward yaw;


IF θsd=medium-amplitude outward yaw AND θpt=negative small orientation, THEN Δθnext=inward yaw;


IF θsd=medium-amplitude outward yaw AND θpt=medium, THEN Δθnext=inward yaw;


IF θsd=medium-amplitude outward yaw AND θpt=positive small orientation, THEN Δθnext=small-amplitude outward yaw;


IF θsd=medium-amplitude outward yaw AND θpt=positive big orientation, THEN Δθnext=medium-amplitude inward yaw;


IF θsd=large-amplitude outward yaw AND θpt=negative big orientation, THEN Δθnext=inward yaw;


IF θsd=large-amplitude outward yaw AND θpt=negative small orientation, THEN Δθnext=inward yaw;


IF θsd=large-amplitude outward yaw AND θpt=medium, THEN Δθnext=inward yaw;


IF θsd=large-amplitude outward yaw AND θpt=positive small orientation, THEN Δθnext=small-amplitude outward yaw;


IF θsd=large-amplitude outward yaw AND θpt=positive big orientation, THEN Δθnext=medium-amplitude inward yaw.


{circle around (4)} Defuzzification


Defuzzification is performed using a centroid method:










Δ


θ
next


=




θ
pt



μ

θ
pt



+


θ

s

d




μ

θ
sd






μ

θ
pt


+

μ

θ
sd








(
6
)







Finally, the three outputs (xnext, ynext, θnext) of the fuzzy controller are:

    • xnext=xsd+Δxnext, ynext=ysd+Δynext, θnextsd+Δθnext


Thus, the specific foothold position of the biped robot in the world coordinate system can be determined.


The described embodiments are preferred embodiments of the present disclosure, but the present disclosure is not limited to the aforementioned embodiments. Any obvious improvements, substitutions or modifications that can be made by those skilled in the art without departing from the essential content of the present disclosure shall fall within the protection scope of the present disclosure.

Claims
  • 1. A foothold position control system for a biped robot, comprising a laser radar or vision sensor, a gyroscope, a six-component force sensor, and an industrial computer, wherein a fuzzy controller in the industrial computer separately uses xsd, xen, ysd, yen, θsd, and θpt as inputs and performs fuzzy processing to obtain a specific foothold position of a swing foot in an available foothold area, wherein xsd, ysd is a real-time position of a support foot of a biped robot obtained by the six-component force sensor, xen, yen is a position of an obstacle in a robot body coordinate system obtained by the laser radar or vision sensor, θsd is an initial yaw angle of the biped robot obtained by the gyroscope, and θpt is an angle between a straight line formed by a current path node and an associated path node in a next step and an x axis of a world coordinate system.
  • 2. The foothold position control system for the biped robot according to claim 1, wherein the
  • 3. A control method of the foothold position control system for the biped robot according to claim 1, comprising: planning a passing path; determining the available foothold area of the swing foot on the passing path according to step-length constraints, movement capabilities, foot sizes, and center offsets of the biped robot; and performing fuzzy processing to determine a specific foothold position of the biped robot.
  • 4. The control method according to claim 3, wherein the fuzzy processing comprises fuzzification, fuzzy rule reasoning, and defuzzification.
  • 5. The control method according to claim 4, wherein a process of the fuzzy processing on xen and xsd is: inputting xpt−xpt−1 and xen, and outputting Δxnext; (1) fuzzificationfuzzifying xpt−xpt−1 as backward, small step forward, medium step forward, and big step forward, with corresponding ranges being respectively
  • 6. The control method according to claim 4, wherein a process of the fuzzy processing on yen and ysd is: inputting ypt−ypt−1 and yen, and outputting Δynext; (1) fuzzificationfuzzifying ypt−ypt−1 as inward, small swing outward, medium swing outward, and big swing outward, with corresponding ranges being respectively
  • 7. The control method according to claim 4, wherein a process of the fuzzy processing on θsd and θpt is: inputting θsd and θpt, and outputting Δθnext; (1) fuzzificationfuzzifying θsd as inward yaw, small-amplitude outward yaw, medium-amplitude outward yaw, and large-amplitude outward yaw, with corresponding ranges being respectively
  • 8. The control method according to claim 5, wherein the specific foothold position of the biped robot is (xnext, ynext, θnext), wherein xnext=xsd+Δxnext, ynext=ysd+Δynext, and θnext=θsd+Δθnext.
  • 9. The control method according to claim 6, wherein the specific foothold position of the biped robot is (xnext, ynext, θnext), wherein xnext=xsd+Δxnext, ynext=ysd+Δynext, and θnext=θsd+Δθnext.
  • 10. The control method according to claim 7, wherein the specific foothold position of the biped robot is (xnext, ynext, θnext), wherein xnext=xsd+Δxnext, ynext=ysd+Δynext, and θnext=θsd+Δθnext.
  • 11. A control method of the foothold position control system for the biped robot according to claim 2, comprising: planning a passing path; determining the available foothold area of the swing foot on the passing path according to step-length constraints, movement capabilities, foot sizes, and center offsets of the biped robot; and performing fuzzy processing to determine a specific foothold position of the biped robot.
  • 12. The control method according to claim 11, wherein the fuzzy processing comprises fuzzification, fuzzy rule reasoning, and defuzzification.
  • 13. The control method according to claim 12, wherein a process of the fuzzy processing on xen and xsd is: inputting xpt−xpt−1 and xen, and outputting Δxnext; (1) fuzzificationfuzzifying xpt−xpt−1 as backward, small step forward, medium step forward, and big step forward, with corresponding ranges being respectively
  • 14. The control method according to claim 12, wherein a process of the fuzzy processing on yen and ysd is: inputting ypt−ypt−1 and yen, and outputting Δynext; (1) fuzzificationfuzzifying ypt−ypt−1 as inward, small swing outward, medium swing outward, and big swing outward, with corresponding ranges being respectively
  • 15. The control method according to claim 12, wherein a process of the fuzzy processing on θsd and θpt is: inputting θsd and θpt, and outputting Δθnext; (1) fuzzificationfuzzifying θsd as inward yaw, small-amplitude outward yaw, medium-amplitude outward yaw, and large-amplitude outward yaw, with corresponding ranges being respectively
  • 16. The control method according to claim 13, wherein the specific foothold position of the biped robot is (xnext, ynext, θnext), wherein xnext=xsd+Δxnext, ynext=ysd+Δynext, and θnext=θsd+Δθnext.
  • 17. The control method according to claim 14, wherein the specific foothold position of the biped robot is (xnext, ynext, θnext), wherein xnext=xsd+Δxnext, ynext=ysd+Δynext, and θnext=θsd+Δθnext.
  • 18. The control method according to claim 15, wherein the specific foothold position of the biped robot is (xnext, ynext, θnext), wherein xnext=xsd+Δxnext, ynext=ysd+Δynext, and θnext=θsd+Δθnext.
Priority Claims (1)
Number Date Country Kind
202010116012.6 Feb 2020 CN national
CROSS REFERENCE TO THE RELATED APPLICATIONS

This application is the national phase entry of International Application No. PCT/CN2020/089343, filed on May 9, 2020, which is based upon and claims priority to Chinese Patent Application No. 202010116012.6, filed on Feb. 25, 2020, the entire contents of which are incorporated herein by reference.

PCT Information
Filing Document Filing Date Country Kind
PCT/CN2020/089343 5/9/2020 WO