This patent application claims the benefit and priority of Chinese Patent Application No. 202310369387.7 filed with the China National Intellectual Property Administration on Apr. 10, 2023, the disclosure of which is incorporated by reference herein in its entirety as part of the present application.
The present disclosure relates to the technical field of dynamics control allocation of a redundant drive system, and specifically, to a secant line approximation method for a nonlinear constraint of a redundant drive system.
Control allocation is responsible for allocating an expected system control vector to each redundant actuator for execution. A direct allocation method based on a control attainable set is an important method for the control allocation. Calculation of the control attainable set is to determine, in the case of a known variation range of each actuator, a boundary of a system control attainable vector that can be achieved by all actuators acting simultaneously, to obtain a control capability of a redundant drive system. The direct allocation method is based on the calculation of the control attainable set.
A control attainable set of a parallel hybrid redundant drive system can be mathematically expressed as follows:
In the expression (1-1), u represents a control vector, which represents a control input of the redundant drive system, and u=(u1, . . . , um)T, where T represents a matrix transpose symbol, and an ith control component ui is a control action of a corresponding ith actuator, where 1≤i≤m, m represents a quantity of actuators, uimin≤ui≤uimax, uimin represents a minimum control action of the ith actuator, and uimax represents a maximum control action of the ith actuator; there is often a linear or nonlinear constraint between each ui; Ω represents a control set, and Ω={u}; v represents a control attainable vector of the redundant drive system, and v=(v1, . . . , vm)T, which represents a control output of the redundant drive system, where vj represents a jth control attainable component, 1≤j≤n, n represents a dimension of the control attainable vector, and n<m; Φ represents the control attainable set; and B represents a n-row and m-column control efficiency matrix.
The above expression (1-1) is physically used to describe how to determine, based on the control efficiency matrix B, the control attainable vector set Φ composed of n control outputs, provided that the control vector set Q composed of m control inputs of the redundant drive system is known.
The patent “Method for Determining Control Attainable Set of Redundant Drive System under a Plurality of Linear Constraint Control Component Pairs” (Patent No. ZL201911405939.5) solves a problem of determining the control attainable set when there is a linear constraint relationship between control actions of a plurality of actuator pairs.
However, for a redundant drive system with a nonlinear constraint relationship between actuators, such as a four-wheel independently driven, independently braked, and independently steered vehicle, there is currently no effective method for determining a control attainable set of the redundant drive system.
For such a control set formed by a control vector with a nonlinear constraint, problem difficulty can be effectively reduced by approximating the nonlinear constraint, transforming a nonlinear inequality constraint into a plurality of linear constraints, transforming a nonlinear problem into a linear problem, and then calculating the control attainable set by using a mature method.
An objective of the present disclosure is to provide a secant line approximation method for a nonlinear constraint of a redundant drive system to overcome the shortcomings in the existing technologies. The present disclosure solves a linear approximation problem in a redundant drive system where a geometric figure formed by a nonlinear constraint can be divided into a combination of a rectangle and an elliptical triangle. The triangle and the rectangle can be used together to approximate a region enclosed by the nonlinear constraint to transform the nonlinear constraint into a plurality of linear constraints and transform a nonlinear constraint set into a linear constraint set. This can effectively solve a problem that a control attainable set of the redundant drive system cannot be determined due to a nonlinear constraint relationship between actuators in the redundant drive system, which is conducive to achieving real-time control of the redundant drive system.
The present disclosure provides a secant line approximation method for a nonlinear constraint of a redundant drive system, including:
In a specific embodiment of the present disclosure, the method further includes:
The present disclosure has the following characteristics and beneficial effects:
The present disclosure provides a secant line approximation method for a nonlinear constraint of a redundant drive system. The following provides further detailed description based on the accompanying drawings and specific embodiments.
An embodiment of the present disclosure provides a secant line approximation method for a nonlinear constraint of a redundant drive system. An overall process is shown in
Step 1: a control input model for a redundant drive system with any pair of nonlinear constraint components is constructed, and a corresponding closed region of the model on a geometric plane is obtained.
In a specific embodiment of the present disclosure, the control input model for the redundant drive system with any pair of nonlinear constraint components is expressed as follows:
In the above formula, u1 and u2 respectively represent two control actions in the pair of nonlinear constraint components, −a≤u1≤a represents a corresponding range of the control action u1, −b≤u2≤b represents a corresponding range of the control action u2, uimin represents a minimum value of a current control action of an ith actuator, uimax represents a maximum value of the current control action of the ith actuator, i=1,2, −a≤u1min<u1max≤a, and −b≤u2min<u2max≤b. The model described in the formula (1) is geometrically represented as a closed region formed by intersecting a rectangle and an ellipse.
Therefore, a secant line approximation of a nonlinear constraint is how to use a combination of the rectangles and the triangles to approximate a geometric figure formed by the nonlinear constraint, to achieve a linear approximation with higher accuracy and fewer figures for the nonlinear constraint.
Step 2: the closed region in step 1 is divided into a combination of rectangles and elliptical triangles.
In this embodiment, the elliptical triangle is defined as a figure enclosed by two right-angle sides of a right triangle and an elliptical arc connecting two vertices of a hypotenuse of the right triangle.
Perpendicular lines are separately drawn from intersections between the rectangle and the ellipse towards a major axis and a minor axis of the ellipse, the closed region formed by intersecting the rectangle and the ellipse is divided into a union set of the rectangles and the elliptical triangles, the rectangles in the union set are placed into an initially empty set W, and the elliptical triangles are placed into an initially empty set Y.
Step 3: based on the combination of the rectangles and the triangles, the elliptical triangles obtained in step 2 are approximated. Specific steps are as follows:
Step 3-1: any elliptical triangle in the set Y is selected, and the elliptical triangle is denoted as M1P1N. In a specific embodiment of the present disclosure, a schematic diagram of a secant line approximation of the elliptical triangle is shown in
Step 3-2: i=1 is set, and an initially empty set is constructed and denoted as Γ.
Step 3-3: a slope ki of a secant line
When an elliptical triangle MiPiN is in a first or second quadrant, an equation shown in a following formula (2) is solved to obtain the slope ki of
In the above formula, e presents a preset error coefficient. In this embodiment, 0<e≤0.05. xp
When the elliptical triangle MiPiN is in a third or fourth quadrant, an equation shown in a following formula (3) is solved to obtain the slope ki of
It should be noted that in this embodiment, the equation shown in the formula (2) and the equation shown in the formula (3) are derived based on a following process:
A point is found on the elliptical arc PiN and denoted as Pi+1. Coordinates of Pi+1 are denoted as (xp
A length of a perpendicular line segment
A derivative about xr
is set. It can be obtained that:
The xr
When the elliptical triangle is in the third or fourth quadrant, a following equation can be obtained:
Step 3-4: the coordinates of Pi+1 is calculated, and an endpoint of a next to-be-approximated elliptical arc on the elliptical arc PiN is found after completing the one approximation. Specific steps are as follows:
Step 3-4-1: due to non-uniqueness of ki calculated in step 3-3, a real root of the ki is denoted as kij, where j=1, . . . , τ, τ represents a quantity of real roots of the ki, τ≤4, and l=1.
Step 3-4-2: ki=kil is set, and ki is substituted into a following equation set:
Step 3-4-3: a result of step 3-4-2 is determined: If the point Pi+1 is on the elliptical arc PiN, it is determined that the point Pi+1 is the endpoint of the next to-be-approximated elliptical arc on the elliptical arc PiN after completing the one approximation, and step 3-5 is performed.
Otherwise, step 3-4-4 is performed.
Step 3-4-4: if l=τ, a triangle with vertices N, Pi and Mi is placed into the set Γ, such that the elliptical triangle M1P1N is approximated, and step 3-6 is performed; or if l<τ, l=l+1 is set, and step 3-4-2 is performed again.
Step 3-5: the following determination is performed as follows:
If |xp
Otherwise, a perpendicular line is drawn from the point Pi+1 towards a line segment PiMi, and a foot of the perpendicular line is denoted as Ti; a perpendicular line is drawn from the point Pi+1 towards a line segment NMi, and a foot of the perpendicular is denoted as Mi+1; based on the coordinates of the point Pi+1, a triangle TiPiPi+1 and a rectangle MiTiPi+1Mi+1 are determined, and the triangle TiPiPi+1 and the rectangle MiTiPi+1Mi+1 are placed into the set Γ; and then i=i+1 is set, and step 3-3 is performed again to continuously approximate an updated elliptical triangle.
Step 3-6: all rectangles and triangles in the set Γ are placed into the set W, and the elliptical triangle M1P1N is removed from the set Y, where all the rectangles and triangles in the Γ are approximations of the elliptical triangle M1P1N. Step 4 is performed.
Step 4: if the set Y is an empty set, it is determined that all rectangles and triangles in the set W form an approximation result of the closed region formed by intersecting a rectangle and an ellipse that are corresponding to one nonlinear constraint pair obtained in step 1; otherwise, step 3-1 is performed.
Further, the method in the present disclosure further includes the following step:
Step 5: steps 1 to 4 are repeated, and the approximation is completed when approximation results of all pairs of nonlinear constraint components of the redundant drive system are obtained.
In this embodiment, after the approximation result of the nonlinear constraint is obtained, a control attainable set algorithm for a linear constraint is called to calculate a control attainable subset corresponding to each rectangle and triangle constraint in the approximation result. After the calculation is completed, a union set of all control attainable subsets is taken to obtain a control attainable set corresponding to the nonlinear constraint, so as to control the redundant drive system.
The method in the present disclosure is further described below with reference to a specific embodiment.
In a specific embodiment of the present disclosure, a secant line approximation is performed for a nonlinear constraint of a driving wheel of a redundant drive vehicle.
When one driving wheel is in a combined driving/braking and steering condition, longitudinal force Fx and lateral force Fy of a tire are generated. The longitudinal force Fx and the lateral force Fy are two actuators that follow an elliptical nonlinear relationship.
(BOSCH Automotive Handbook, translated by Gu Bailiang et al., Beijing Institute of Technology Press, 2nd edition, February 2004). In
It is required that a linear approximation is performed on a closed region formed by intersecting the rectangle FGHI and the ellipse.
In this embodiment, the secant line approximation method for a nonlinear constraint of a redundant drive system includes the following steps. Step 1: a control input model for a redundant drive system with any pair of nonlinear constraint components is constructed, and a corresponding closed region of the model on a geometric plane is obtained.
This embodiment is intended to use a combination of the rectangles and the triangles to approximate the region formed by intersecting the rectangle and the ellipse, in other words, the region enclosed by the line segment E1F, the line segment FG, the line segment GB1, an arc B1C, and an arc CE1 in
Step 2: the closed region in step 1 is divided into a union set of a plurality of rectangles and a plurality of elliptical triangles.
In this embodiment, the region formed by intersecting the rectangle and the ellipse is the region enclosed by the line segment E1F, the line segment FG, the line segment GB1, the arc B1C and the arc CE1. A perpendicular line is drawn from the point E1 towards a major axis of the ellipse, with a foot of the perpendicular line L1. A perpendicular line is drawn from the point B1 to the minor axis of the ellipse, with a foot of the perpendicular line A1. In this case, the region formed by intersecting the rectangle and the ellipse is a union set of a rectangle FTL1E1, a rectangle TGB1A1, an elliptical triangle A1B1C and an elliptical triangle L1E1C. The rectangle FTL1E1 and the rectangle TGB1A1 are placed into a set W1, and the elliptical triangle A1B1C and the elliptical triangle L1E1C are placed into a set Y1.
Step 3: based on a combination of the rectangles and the triangles, the elliptical triangle obtained in step 2 is approximated. Specific steps are as follows:
Step 3-1: the elliptical triangle A1B1C is selected in the set Y1, with coordinates of the points A1, B1 and C being (0, 19.2), (7, 19.2) and (0, 20) respectively. A length of a semi-major axis of the ellipse is a=25, and a length of a semi-minor axis is b=20. The points A1, B1 and C correspond to points M1, P1 and N in algorithm steps. Therefore, xm
Step 3-2: i=1 is set, and an initially empty set is constructed and denoted as Γ1.
Step 3-3: because the elliptical triangle A1B1C is in a first quadrant, a following equation is solved:
Two real roots, −0.1148 and −0.3603, are obtained. An error coefficient is e. In this embodiment, e=0.01.
Step 3-4: by solving coordinates of a point P2, an endpoint of a next to-be-approximated elliptical arc on an elliptical arc P1N is found after completing one approximation. Specific steps are as follows:
Step 3-4-1: the two real roots calculated in step 3-3 are denoted as k11 and k12, where k11=−0.1148, and k12=−−0.3603.
Step 3-4-2: k1=k11 is set, and k1 is substituted into a following equation set:
The coordinates (xp
Step 3-4-3: because the point P2 is on the elliptical arc P1N, step 3-5 is performed.
Step 3-5: if |yn−yp
Step 3-6: the triangle with vertices A1, B1 and C is placed into Γ1, where all rectangles and triangles in Γ1 are approximations of the elliptical triangle A1B1C; and all the rectangles and triangles in the Γ1 are placed into the set W1, and the elliptical triangle A1B1C is removed from the set Y1. Then, step 4 is performed.
Step 4: if the set Y1 is an empty set, step 3-1 is performed again.
Step 3-1: an elliptical triangle L1E1C is selected in the set Y1, with coordinates of points L1, E1 and C being (0, 18.33), (−10, 18.33) and (0, 20) respectively. A length of a semi-major axis of the ellipse is a=25, and a length of a semi-minor axis is b=20. The points L1, E1 and C correspond to points M1, P1 and N in algorithm steps. Therefore, xm
Step 3-2: i=1 is set, and an initially empty set is constructed and denoted as Γ2.
Step 3-3: because the elliptical triangle L1E1C is in a second quadrant, a following equation is solved:
Two real roots, 0.2223 and 0.4898, are obtained.
Step 3-4: by solving coordinates of a point P2, an endpoint of a next to-be-approximated elliptical arc on the elliptical arc P1N is found after completing one approximation. Specific steps are as follows:
Step 3-4-1: the two real roots calculated in step 3-3 are denoted as k11 and k12, where k11=0.2223, and k12=0.4898.
Step 3-4-2: k1=k11 is set, and k1 is substituted into a following equation set:
The coordinates (xp
Step 3-4-3: because the point P2 is on the elliptical arc P1N, step 3-5 is performed.
Step 3-5: if |yn−yp
Step 3-6: the triangle with vertices L1, E1 and C is placed into Γ2, where all rectangles and triangles in Γ2 are approximations of the elliptical triangle L1E1C; and all the rectangles and triangles in the Γ2 are placed into the set W1, and the elliptical triangle L1E1C is removed from the set Y1. Then, step 4 is performed.
Step 4: if the set Y1 is an empty set, the algorithm is ended, where a figure formed by all the rectangles and triangles in the W1 is a linear approximation of the closed region formed by intersecting the rectangle and the ellipse.
In conclusion, the foregoing are merely descriptions of preferred embodiments of the present disclosure, and are not intended to limit the protection scope of the present disclosure. Any modification, equivalent substitution, improvement, etc. within the spirit and principles of the present disclosure shall fall within the scope of protection of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202310369387.7 | Apr 2023 | CN | national |