METHOD AND DEVICE FOR INTEGRATED CONTROL OF HANDLING STABILITY OF DISTRIBUTED DRIVE ELECTRIC VEHICLES

20250153720 ยท 2025-05-15

    Inventors

    Cpc classification

    International classification

    Abstract

    A method for integrated control of handling stability of a distributed drive electric vehicle is provided, in which a Magic Formula tire model is subjected to piecewise linear fitting to obtain a piecewise affine tire model; a hybrid logical dynamic model is established based on the piecewise affine tire model; a hierarchical integrated control strategy is adopted to obtain an upper-layer hybrid model predictive controller and a lower-layer four-wheel torque optimal allocation controller, so as to calculate an additional yaw moment, an additional front-wheel steering angle and a wheel drive torque. Related devices for implementing the integrated control method are also provided.

    Claims

    1. A method for integrated control of handling stability of a distributed drive electric vehicle, comprising: (1) subjecting a Magic Formula tire model to piecewise linear fitting to obtain a piecewise affine tire model; (2) constructing a hybrid logical dynamic model based on the piecewise affine tire model through a mixed logical dynamic modeling method; (3) establishing an upper-layer hybrid model predictive controller based on the hybrid logical dynamic model, and calculating an additional yaw moment and an additional front-wheel steering angle based on the upper-layer hybrid model predictive controller; and (4) establishing a lower-layer four-wheel torque optimal allocation controller based on the additional yaw moment, and calculating a wheel drive torque based on the lower-layer four-wheel torque optimal allocation controller; wherein the hybrid logical dynamic model is constructed through steps of: (1) calculating an ideal reference state parameter of the distributed drive electric vehicle based on real-time state information of the distributed drive electric vehicle, wherein the real-time state information comprises speed, yaw rate, center-of-mass side-slip angle and front-wheel steering angle; (2) constructing an error state equation based on the ideal reference state parameter; and (3) constructing the hybrid logical dynamic model based on the error state equation and the piecewise affine tire model.

    2. The method of claim 1, wherein the Magic Formula tire model is constructed based on a stiffness factor, a shape factor, a model peak factor, a model curvature factor and a tire side-slip angle.

    3. The method of claim 1, wherein the additional yaw moment and the additional front-wheel steering angle are calculated based on the upper-layer hybrid model predictive controller through a mixed-integer quadratic programming algorithm.

    4. The method of claim 1, wherein the wheel drive torque is calculated through steps of: calculating a wheel longitudinal force based on the lower-layer four-wheel torque optimal allocation controller with minimization of a tire load factor as an optimization objective; and calculating the wheel drive torque based on the wheel longitudinal force.

    5. The method of claim 4, wherein the wheel longitudinal force is calculated based on the lower-layer four-wheel torque optimal allocation controller with minimization of the tire load factor as the optimization objective through an active set method.

    6. A system for implementing the method of claim 1, comprising: a first construction module; a second construction module; a first calculation module; and a second calculation module; wherein the first construction module is configured to perform piecewise linear fitting on the Magic Formula tire model to construct the piecewise affine tire model; the second construction module is configured to construct the hybrid logical dynamic model based on the piecewise affine tire model through the mixed logical dynamic modeling method; the first calculation module is configured to establish the upper-layer hybrid model predictive controller based on the hybrid logical dynamic model, and calculate the additional yaw moment and the additional front-wheel steering angle based on the upper-layer hybrid model predictive controller; and the second calculation module is configured to establish the lower-layer four-wheel torque optimal allocation controller based on the additional yaw moment, and calculate the wheel drive torque using the lower-layer four-wheel torque optimal allocation controller.

    7. A device, comprising: a memory; and a processor; wherein the memory is configured for storing a computer program; and the processor is configured for executing the computer program to implement the method of claim 1.

    8. A computer-readable storage medium, wherein the computer-readable storage medium is configured for storing a computer program; and the computer program is configured to be executed by a processor to implement the method of claim 1.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0041] FIG. 1 is a flowchart 1 of a method for integrated control of handling stability of a distributed drive electric vehicle according to an embodiment of the present disclosure;

    [0042] FIG. 2 is a nonlinear two-degree-of-freedom vehicle dynamics model according to an embodiment of the present disclosure;

    [0043] FIG. 3 is a piecewise affine result of Magic Formula tire lateral force according to an embodiment of the present disclosure;

    [0044] FIG. 4 is a block diagram of a system for implementing the method provided herein according to an embodiment of the present disclosure;

    [0045] FIG. 5 is a flowchart 2 of the method for integrated control of handling stability of the distributed drive electric vehicle according to an embodiment of the present disclosure; and

    [0046] FIG. 6 is a structural diagram of the system for implementing the method provided herein according to an embodiment of the present disclosure.

    DETAILED DESCRIPTION OF EMBODIMENTS

    [0047] As shown in FIG. 5, the present disclosure provides a method for integrated control of handling stability of a distributed drive electric vehicle, which is performed as follows.

    [0048] Step (1) A Magic Formula tire model is subjected to piecewise linear fitting to obtain a piecewise affine tire model.

    [0049] The Magic Formula tire model is constructed based on a stiffness factor, a shape factor, a model peak factor, a model curvature factor and a tire side-slip angle.

    [0050] Step (2) A hybrid logical dynamic model is constructed based on the piecewise affine tire model through a mixed logical dynamic modeling method.

    [0051] The hybrid logical dynamic model is constructed through the following steps.

    [0052] Step (201) An ideal reference state parameter of the distributed drive electric vehicle is calculated based on real-time state information of the distributed drive electric vehicle. The real-time state information includes speed, yaw rate, center-of-mass side-slip angle and front-wheel steering angle.

    [0053] Step (202) An error state equation is constructed based on the ideal reference state parameters.

    [0054] Step (203) The hybrid logical dynamic model is constructed based on the error state equation and the piecewise affine tire model.

    [0055] Step (3) An upper-layer hybrid model predictive controller is established based on the hybrid logical dynamic model. An additional yaw moment and an additional front-wheel steering angle are calculated based on the upper-layer hybrid model predictive controller through a mixed-integer quadratic programming algorithm.

    [0056] Step (4) A lower-layer four-wheel torque optimal allocation controller is established based on the additional yaw moment. A wheel longitudinal force is calculated based on the lower-layer four-wheel torque optimal allocation controller with minimization of a tire load factor as an optimization objective through an active set method. The wheel drive torque is calculated based on the wheel longitudinal force.

    [0057] As shown in FIG. 6, the present disclosure further provides a system for implementing the method described herein, which includes a first construction module, a second construction module, a first calculation module and a second calculation module. The first construction module is configured to perform piecewise linear fitting on the Magic Formula tire model to construct the piecewise affine tire model. The second construction module is configured to construct the hybrid logical dynamic model based on the piecewise affine tire model through the mixed logical dynamic modeling method. The first calculation module is configured to establish the upper-layer hybrid model predictive controller based on the hybrid logical dynamic model, and calculate the additional yaw moment and the additional front-wheel steering angle based on the upper-layer hybrid model predictive controller. The second calculation module is configured to establish the lower-layer four-wheel torque optimal allocation controller based on the additional yaw moment, and calculate the wheel drive torque using the lower-layer four-wheel torque optimal allocation controller.

    [0058] The present disclosure further provides a device, including a memory and a processor. The memory is configured for storing a computer program. The processor is configured for executing the computer program to implement the method described above.

    [0059] The processor is configured for executing the computer program to implement the method described above, including the following steps. A Magic Formula tire model is subjected to piecewise linear fitting to obtain a piecewise affine tire model. A hybrid logical dynamic model is constructed based on the piecewise affine tire model through a mixed logical dynamic modeling method. An upper-layer hybrid model predictive controller is established based on the hybrid logical dynamic model. An additional yaw moment and an additional front-wheel steering angle are calculated based on the upper-layer hybrid model predictive controller. A lower-layer four-wheel torque optimal allocation controller is established based on the additional yaw moment. A wheel drive torque is calculated based on the lower-layer four-wheel torque optimal allocation controller.

    [0060] Alternatively, the processor is configured for executing the computer program to implement the functions of the modules in the system described above, including the following steps. The first construction module is configured to perform piecewise linear fitting on the Magic Formula tire model to construct the piecewise affine tire model. The second construction module is configured to construct the hybrid logical dynamic model based on the piecewise affine tire model through the mixed logical dynamic modeling method. The first calculation module is configured to establish the upper-layer hybrid model predictive controller based on the hybrid logical dynamic model, and calculate the additional yaw moment and the additional front-wheel steering angle based on the upper-layer hybrid model predictive controller. The second calculation module is configured to establish the lower-layer four-wheel torque optimal allocation controller based on the additional yaw moment, and calculate the wheel drive torque using the lower-layer four-wheel torque optimal allocation controller.

    [0061] For example, the computer program can be divided into one or more modules/units, which are stored in the memory and executed by the processor to implement the method disclosed herein. The one or more modules/units may consist of a series of computer program instruction segments capable of performing preset functions. These instruction segments are used to describe the execution process of the computer program within a device for integrated control of handling stability of a distributed drive electric vehicle. For example, the computer program may be divided into a first construction module, a second construction module, a first calculation module and a second calculation module. The specific functions of each module are as follows. The first construction module is configured to perform piecewise linear fitting on the Magic Formula tire model to construct the piecewise affine tire model. The second construction module is configured to construct the hybrid logical dynamic model based on the piecewise affine tire model through the mixed logical dynamic modeling method. The first calculation module is configured to establish the upper-layer hybrid model predictive controller based on the hybrid logical dynamic model, and calculate the additional yaw moment and the additional front-wheel steering angle based on the upper-layer hybrid model predictive controller. The second calculation module is configured to establish the lower-layer four-wheel torque optimal allocation controller based on the additional yaw moment, and calculate the wheel drive torque using the lower-layer four-wheel torque optimal allocation controller.

    [0062] The device for integrated control of handling stability of the distributed drive electric vehicle provided herein can be a computing device such as a desktop computer, laptop, ersonal digital assistant and cloud server. The device may include, but is not limited to, a processor and a memory. It should be understood by those skilled in the art that the above are exemplary embodiments and are not intended to limit the disclosure. The device may include components beyond those specifically mentioned, a combination of certain components, or other components. For example, the device provided herein may also include input/output devices, network access devices and buses.

    [0063] The processor can be a Central Processing Unit (CPU), or it can be other general-purpose processors, Digital Signal Processors (DSP), Application-Specific Integrated Circuits (ASIC), Field-Programmable Gate Arrays (FPGA), or other programmable logic devices, discrete gates or transistor logic devices and discrete hardware components. The general-purpose processor can be a microprocessor, or the processor can be any conventional processor. The processor serves as a control center of the device provided herein, connecting various components of the device through different interfaces and wiring.

    [0064] The memory is configured for storing the computer program and/or modules. The processor implements the various functions of the device provided herein by running or executing the computer program and/or modules stored in the memory, as well as accessing the data stored in the memory.

    [0065] The memory primarily includes a program storage area and a data storage area. The program storage area is configured for storing an operating system, at least one application required for functions (such as audio playback and image display). The data storage area is configured for storing data created based on the use of the device (such as audio data and contacts). In addition, the memory can include high-speed random access memory and non-volatile memory, such as a hard disk, memory, plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, at least one disk storage device, flash memory device, or other volatile solid-state storage devices.

    [0066] The present disclosure further provides a computer-readable storage medium configured for storing a computer program. The computer program is configured to be executed by a processor to implement the method disclosed herein.

    [0067] In the case where the modules/units integrated by the system are implemented as software functional units and sold or used as standalone products, they can be stored on a computer-readable storage medium.

    [0068] Based on this understanding, all or part of the processes in the aforementioned method can be implemented by instructing relevant hardware through a computer program. The computer program can be stored on a computer-readable storage medium. When the computer program is executed by a processor, the steps of the aforementioned integrated control method can be realized. The computer program includes computer program code, which can be in the form of source code, object code, executable file or a predefined intermediate form.

    [0069] The computer-readable storage medium may include any entity or device capable of carrying the computer program code, such as a recording medium, a USB flash drive, a portable hard drive, a disk, an optical disc, a computer memory, Read-Only Memory (ROM), Random Access Memory (RAM), an electrical carrier signal, a telecommunication signal and a software distribution medium.

    [0070] It should be noted that the contents included of the computer-readable storage medium can be appropriately added or omitted in accordance with the requirements of the legislation and patent practice in a given jurisdiction. For example, in some jurisdictions, based on legislation and patent practices, the computer-readable storage medium may not include electrical carrier signals and telecommunication signals.

    [0071] The present disclosure will be further described with reference to the embodiments and accompanying drawings.

    EMBODIMENT

    [0072] As mentioned in the background, under extreme conditions, when the tire enters nonlinear or even saturated regions, the decision-making and control accuracy of vehicle stability control will be greatly affected if the linear characteristics of the tire are taken into consideration. Additionally, the control system also struggles with a poor response speed due to the large computational complexity, which hinders the improvement of control precision.

    [0073] In order to solve the above-mentioned problems, the present disclosure provides a method for integrated control of handling stability of a distributed drive electric vehicle. The design concept of the present disclosure is as follows. A piecewise affine method is employed to model a tire, with an input domain of the tire system state divided into a finite number of polyhedral regions, and an affine sub-model is obtained for each sub-region. However, during the stability control process of the distributed drive electric vehicle, adaptive discrete switching of various tire characteristics is inevitably achieved by switching between the sub-models of the piecewise affine tire model. In each subsystem formed by these sub-models, the state update process is a typical continuous dynamic process. Therefore, the stability control of the distributed drive electric vehicle can be viewed as a hybrid system with obvious hybrid dynamic characteristics, involving both continuous dynamics and discrete mode switching. The present disclosure utilizes a hybrid logical dynamic model for handling stability control of the distributed drive electric vehicle. A hierarchical integrated control strategy is adopted to establish an upper-layer hybrid model predictive controller and a lower-layer four-wheel torque optimal allocation controller. An additional yaw moment and a front-wheel steering angle are calculated using the upper-layer hybrid model predictive controller based on a hybrid model predictive control strategy. A wheel drive torque is calculated by the lower-layer four-wheel torque optimal allocation controller through a torque distribution optimization method that minimizes a tire load factor as an optimization objective. The method provided herein can address the issues of large computational burdens and poor response speed in the current control system, further enhancing the vehicle's lateral adhesion capability under extreme operating conditions and improving its resistance to lateral disturbances during driving.

    [0074] The technical solutions of the present disclosure will be described in detail below with reference to the embodiments and accompanying drawings.

    [0075] As shown in FIG. 1, the present disclosure provides the method for integrated control of handling stability of the distributed drive electric vehicle, which is performed as follows.

    [0076] Step (1) A Magic Formula tire model is subjected to piecewise linear fitting to obtain a piecewise affine tire model, including the following steps.

    [0077] Step (S1) The Magic Formula tire model is established. A tire lateral force is expressed as:


    F.sub.y=D sin {C arctan [BE(Barctan(B))]}.

    [0078] In the above formula, F.sub.y is a tire lateral force, B, C, D and E are a stiffness factor, a shape factor, a model peak factor and a model curvature factor, respectively, which can be obtained from the fitting parameters, and is a tire side-slip angle.

    [0079] Step (S2) A pure side-slip Magic Formula tire model is subjected to piecewise affine approximation using a piecewise linear function, i.e., a piecewise linear fitting process, so as to obtain the piecewise model symmetric about the origin, expressed as follows:

    [00001] F y i = { k 2 i + m 2 , if [ - max , - 2 ] k 1 i + m 1 , if ( - 2 , - 1 ) k 0 i + m 0 , if [ - 1 , 1 ] k 3 i + m 3 , if ( 1 , 2 ) k 4 i + m 4 , if [ 2 , max ] .

    [0080] In the above formula, i{f, r} represents front and rear equivalent wheels of a degree-of-freedom dynamic model of the vehicle, .sub.1 is a segment point where the tire enters the nonlinear region, .sub.2 is a segment point where the tire enters the saturation region, .sub.max is a maximum side-slip angle, k.sub.0, k.sub.1, k.sub.2, k.sub.3, k.sub.4, m.sub.0, m.sub.1, m.sub.2, m.sub.3 and m.sub.4 are slopes and intercepts of each piecewise function, respectively. The comparison between a piecewise affine model curve and an original Magic Formula tire curve is shown in FIG. 3. As can be seen, the front tire lateral force consists of five linear control regions, and the rear tire lateral force also consists of five linear control regions. Therefore, the piecewise linear system has a total of 25 linear control regions. That is, the tire lateral force varies dynamically between [.sub.max, .sub.2], (.sub.2, .sub.1), [.sub.1, .sub.1], (.sub.1, .sub.2) and [.sub.2, .sub.max], where .sub.1, .sub.2 and .sub.max are the segment points of piecewise linearization of the tire.

    [0081] When [.sub.max, .sub.2] or [.sub.2, .sub.max], the lateral tire force is in a saturated state. Under the influence of the tire force boundary effect, it is difficult to generate the yaw moment by changing the tire side-slip angle.

    [0082] When (.sub.2, .sub.1) or (.sub.1, .sub.2), the lateral tire force is in a critical state. Increasing the tire side-slip angle will lead to the saturation of the tire force region, while decreasing the tire side-slip angle can restore the tire force to a linear state.

    [0083] When [.sub.1, .sub.1], the lateral tire force is in a linear state, and changing the tire side-slip angle can generate a certain yaw moment.

    [0084] The piecewise affine model established above is represented as a set of mixed-integer linear inequality constraints by introducing auxiliary variables, thereby converting it into a piecewise affine model with subsystems that can automatically switch. Auxiliary discrete variables .sub.i{0,1} is introduced, where iI and I={1, 2, . . . , 25}. The logical proposition expression of the piecewise affine model is as follows:

    [00002] [ i min i max ] .Math. [ i ( k ) = 1 ] .

    [0085] In the above formula, di min=[.sub.ml, .sub.nl] and .sub.i max=[.sub.mu, .sub.nu], where i is any linear control region, m and n correspond to piecewise linear ranges, respectively, i.e., m, n={1, 2, . . . , 5}, l and u are a minimum value and a maximum value of the segment region where the tire is currently located, respectively. The expression =[.sub.f, .sub.r] is a tire side-slip angle of the front and the rear tires, it means that when the front and the rear tire side-slip angles fall within a specific combination of linear regions, the corresponding auxiliary discrete variable is triggered. In the logical proposition expression generated by the piecewise affine model, .Math. is a logical operator for equivalence.

    [0086] According to the conversion relationship between the composite logical proposition and the linear inequality, the piecewise affine tire model can be transformed into the following linear inequality:

    [00003] { - + i min M i 1 ( 1 - i ( k ) ) - + i min + ( m i 1 - ) i ( k ) - i max M i 2 ( 1 - i ( k ) ) - i max + ( m i 2 - ) i ( k ) .

    [0087] In the above formula, M.sub.i1 and m.sub.i1 are a maximum value and a minimum value of the expression +.sub.imin, respectively. M.sub.i2 and m.sub.i2 are a maximum value and a minimum value of the expression .sub.imax, respectively. is a tolerance error, and when the value exceeds this tolerance, it indicates a constraint violation.

    [0088] In addition, all auxiliary discrete variables must satisfy the exclusive OR condition, as follows:

    [00004] 1 ( k ) 2 ( k ) .Math. 2 5 ( k ) = 1 .

    [0089] The equation described above can be transformed into a integer linear inequality, expressed as:

    [00005] 0.9999 .Math. i = 1 2 5 i ( k ) 1 . 0 0 0 1 .

    [0090] Step (2) A hybrid logical dynamic model is constructed based on the piecewise affine tire model through a mixed logical dynamic modeling method, including the following steps.

    [0091] Step (S3) FIG. 2 illustrates a nonlinear two-degree-of-freedom vehicle dynamics model, which is used to obtain an ideal reference vehicle state and lay a foundation for establishing an error state-space equation.

    [0092] The established two-degree-of-freedom dynamics model is as follows:

    [00006] = F y f cos f + F y r m s v - , and . = a F y f cos f - b F y r + M z I z .

    [0093] In the above formula, m.sub.s is a vehicle mass, a is a distance from center-of-mass to the front axle of the vehicle, b is a distance from center-of-mass to the rear axle of the vehicle, v is a longitudinal velocity of the vehicle's center-of-mass, I.sub.z is a moment of inertia of the vehicle about the z-axis. F.sub.yf and F.sub.yr are total lateral forces at the front and rear wheels, respectively, .sub.f is a front-wheel steering angle, is a yaw rate of the vehicle's center-of-mass, is a center-of-mass side-slip angle of the vehicle, M.sub.z is an additional yaw moment generated by differential driving or braking.

    [0094] The tire side-slip angles of the front and rear wheels are approximately as follows:

    [00007] f = + a v - f , r = - b v .

    [0095] The real-time state information includes speed, yaw rate, center-of-mass side-slip angle and front-wheel steering angle. The ideal reference state parameters are calculated based on the front-wheel steering angle and the longitudinal velocity of the vehicle. Based on the linear two-degree-of-freedom vehicle dynamics model, under the condition of small lateral acceleration, the desired yaw rate .sub.d can be derived under a steady-state cornering condition, and center-of-mass side-slip angle .sub.d is set to 0. The expression for the ideal value is as follows:

    [00008] d = min { .Math. "\[LeftBracketingBar]" v f L ( 1 + Kv 2 ) .Math. "\[RightBracketingBar]" , .Math. "\[LeftBracketingBar]" v g .Math. "\[RightBracketingBar]" } sgn ( f ) , d = 0 .

    [0096] In the above formula, L=a+b is a wheelbase of the whole vehicle, is a road adhesion coefficient,

    [00009] K = m s L 2 ( a k r - b k f )

    is a vehicle stability factor, k.sub.f and k.sub.r are cornering stiffness of the front and rear tires, respectively, a is a distance from the front axle to the vehicle's center-of-mass, b is a distance from the rear axle to the vehicle's center-of-mass and sgn is a signum function.

    [0097] Step (S4) Based on the ideal reference state obtained in step (S3), the error state equation is constructed. T is a discrete sampling period. The model is discretized using a forward Euler method. The discrete system state-space can be expressed as:

    [00010] { x ( k + 1 ) = A m n x ( k ) + B m n u ( k ) + f m n y ( k + 1 ) = C x ( k ) + D u ( k ) + g m n .

    [0098] In the above formula, m refers to the segment of the piecewise affine model where the front tire's side-slip angle (.sub.f) lies, n refers to the segment of the piecewise affine model where the rear tire's side-slip angle (.sub.r) lies, A.sub.mn, B.sub.mn, C, D, f.sub.mn and g.sub.mn are coefficient matrices of the state-space equation. Each matrix is specifically as follows:

    [00011] A mn = [ T k m + k m m s v + 1 T ak m - bk n m s v 2 - T T a k m - bk n I z T a 2 k m + b 2 k n I z v x + 1 ] , B mn = [ - T k m m s v 0 - T a k m I z T I I z ] C = [ 1 0 0 1 ] D = [ 0 0 0 0 ] , f mn = [ m m + m n m s v m m - m n I z ] , g mn = 0.

    [0099] Based on the piecewise affine model with subsystems that can automatically switch, the hybrid logical dynamic model is established.

    [0100] The above error state-space equation combined with the piecewise affine tire model is rewritten as a combination of linear terms and If-Then-Else rules by introducing auxiliary discrete variables .sub.i{0,1}, where iI and I={1, 2, . . . , 25}. The expression is as follows:

    [00012] { x 1 ( k + 1 ) = { A 1 x ( k ) + B 1 u ( k ) + f i ( k ) , if ( 1 ( k ) = 1 ) 0 , otherwise .Math. x 2 5 ( k + 1 ) = { A 2 5 x ( k ) + B 2 5 u ( k ) + f 2 5 ( k ) , if ( 2 5 ( k ) = 1 ) 0 , otherwise x ( k + 1 ) = .Math. i = 1 25 x i ( k + 1 ) .

    [0101] According to the mixed logical dynamic modeling method of hybrid control systems, the constraints involved in the above equation are expressed as logical propositions and transformed into linear inequalities involving logical variables. The above equation indicates that when the system state enters the i-th linear control region, the corresponding state equation is equivalent to .sub.i(k)=1.

    [0102] After the transformation, when the system enters the i-th region at a certain moment, it can be expressed as:

    [00013] x i ( k + 1 ) = .Math. i = 1 2 5 ( A i x ( k ) + B i u ( k ) + f i ( k ) ) i ( k ) .

    [0103] In order to derive a propositional logic expression that satisfies the above constraint conditions of the above formula, an auxiliary continuous variable z.sub.i(k)=.sub.i=1.sup.25(A.sub.ix(k)+B.sub.iu(k)+f.sub.i(k)) .sub.i(k) is introduced.

    [0104] The propositional logic expression can be derived from the above formula, and is expressed as follows:

    [00014] { [ i ( k ) = 0 ] .fwdarw. [ z i ( k ) = 0 ] [ i ( k ) = 1 ] .fwdarw. [ z i ( k ) = A i x ( k ) + B i u ( k ) + f i ( k ) ] .

    [0105] In the above formula, .fwdarw. is the logical operator representing the implication relationship.

    [0106] Based on the conversion relationship between the propositional logic expression obtained by multiplying logical variables and continuous variables and the linear inequalities, a mixed-integer inequality constraint is expressed as follows:

    [00015] { z i ( k ) M i i ( k ) z i ( k ) m i i ( k ) z i ( k ) A i x ( k ) + B i u ( k ) + f i - m i ( 1 - i ( k ) ) z i ( k ) A i x ( k ) + B i u ( k ) + f i - M i ( 1 - i ( k ) ) .

    [0107] In the above formula, M.sub.i=max (A.sub.ix(k)+B.sub.iu(k)+f.sub.i) and m.sub.i=min (A.sub.ix(k)+B.sub.iu(k)+f.sub.i) are the maximum and minimum values of each state equation in the constraints, respectively.

    [0108] In summary, considering the above mixed-integer linear inequalities and the piecewise linear state equations of the system, a standard form of the hybrid logical dynamic model of the two-degree-of-freedom vehicle dynamics model is expressed as follows:

    [00016] x ( k + 1 ) = A 1 x ( k ) + B 1 u ( k ) + B 2 ( k ) + B 3 z ( k ) , y ( k ) = C x ( k ) + D 1 u ( k ) + D 2 ( k ) + D 3 z ( k ) , and E 1 ( k ) + E 2 z ( k ) E 3 x ( k ) + E 4 u ( k ) + E 5 .

    [0109] In the above formula, A, B.sub.1, B.sub.2, B.sub.3, C, D.sub.1, D.sub.2, D.sub.3, E.sub.1, E.sub.2, E.sub.3, E.sub.4 and E.sub.5 are calculated according to the error state-space equation and the mixed-integer linear inequality.

    [0110] Step (3) An upper-layer hybrid model predictive controller is established based on the hybrid logical dynamic model; and an additional yaw moment and an additional front-wheel steering angle are calculated based on the upper-layer hybrid model predictive controller, including the following steps.

    [0111] Step (S5) An upper-layer hybrid model predictive controller is established based on the hybrid logical dynamic model. The upper-layer hybrid model predictive controller combines the piecewise affine model and the constrained hybrid logical dynamic model, which are suitable for optimization control, as the prediction model for the hybrid model predictive control. Then, the mixed-integer quadratic programming algorithm is adopted to conduct the receding horizon optimization solution.

    [0112] Let t be the current moment, X (t) be the current state variable (obtained directly through measurement or through a state observer). In the case of t=0, X (t) is the initial state of the system, the optimization control problem solved by the hybrid model predictive control algorithm can be expressed as follows:

    [00017] min J = .Math. K = 0 U - 1 .Math. u ( k | t ) - u r e f .Math. R 2 + .Math. K = 0 P - 1 .Math. y ( k | t ) - y r e f .Math. Q 2 and s . t . { MLD model u min u ( k .Math. t ) u max , k = 1 , LU - 1 y min y ( k .Math. t ) y max , k = 1 , LP - 1 .

    [0113] In the above formula, P is a prediction horizon, U is a control horizon, Q and R are the weights for output variable and control variable, respectively. R=diag(r.sub.1,r.sub.2), where r.sub.1 and r.sub.2 are the weight values of the active front-wheel steering angle and the direct yaw moment of the control variables, respectively. Q=diag(q.sub.1, q.sub.2), where q.sub.1 and q.sub.2 are the weight values of the real-time yaw rate and the center-of-mass side-slip angle of the vehicle of the output variables, respectively. y is a reference value for the output variable, u is a reference value for the control variable, .sub.ref=0 and u.sub.ref=0. u.sub.min and u.sub.max are the lower and upper limits of the control variables, respectively, that is, the physical constraints of the vehicle's front-wheel steering angle and direct yaw moment. y.sub.min and y.sub.max are the lower and upper limits of the output variables, respectively. Additionally, in this embodiment, the norm is taken as two.

    [0114] At each sampling moment t, the above process can be transformed into a mixed-integer quadratic programming problem for solution to obtain a set of optimal control sequences, that is, (t)=[u.sub.0, . . . , u.sub.U1, .sub.0, . . . , .sub.U1, z.sub.0, . . . , z.sub.U1].sup.T, where the first element u.sub.0 is taken as the optimal control input at the current moment.

    [0115] For the convenience of optimization solution, the output Y(t) within the prediction horizon, the control input U(t), the auxiliary discrete variable (t), the auxiliary continuous variable Z(t), and their weighted matrices Q and Rare specifically defined as follows:

    [00018] Y ( t ) = [ y ( t .Math. t ) y ( t + 1 .Math. t ) .Math. y ( t + P - 1 .Math. t ) ] , U ( t ) = [ u ( t .Math. t ) u ( t + 1 .Math. t ) .Math. u ( t + U - 1 .Math. t ) ] , ( t ) = [ ( t .Math. t ) ( t + 1 .Math. t ) .Math. ( t + U - 1 .Math. t ) ] , Z ( t ) = [ z ( t .Math. t ) z ( t + 1 .Math. t ) .Math. z ( t + U - 1 ) ] , Q _ = [ Q 1 0 0 0 0 Q 2 0 0 0 0 0 0 0 0 Q P ] and R _ = [ R 1 0 0 0 0 R 2 0 0 0 0 0 0 0 0 R U ] .

    [0116] In the above formula, P is the prediction horizon and U is the control horizon.

    [0117] Thus, the optimization objective function can be expressed as:

    [00019] J ( , x ( t ) ) = Y T ( t ) Q y ( t ) + U T ( t ) R U ( t ) .

    [0118] Meanwhile, the prediction model can be expressed as:

    [00020] { Y ( t ) = C x ( t ) + D u U ( t ) + D ( t ) + D z Z ( t ) E ( t ) + E z Z ( t ) E u U ( t ) + E 4 x ( t ) + E 5 .

    [0119] In the above formula, C, D.sub.u, D.sub., D.sub.z, .sub., .sub.z, .sub.u, .sub.4 and .sub.5 are matrices of appropriate dimensions obtained from the recursion of the original linear inequalities.

    [0120] The prediction model is substituted into the objective function and simplified, the following expression can be obtained:

    [00021] J ( , x ( t ) ) = 1 2 T H + f T + x ( t ) T G x ( t ) .

    [0121] In the above formula, (t), G, H and f.sup.T are intermediate variables, u.sub.c is a control output matrix, lb and ub are the maximum and minimum values of the longitudinal force output, respectively. Each matrix is specifically expressed as follows:

    [00022] ( t ) = [ U ( t ) ( t ) Z ( t ) ] , G = [ C T Q C ] , H = 2 [ D _ u T Q _ D _ u + R _ D _ T Q _ D _ u D _ z T Q _ D _ u D _ u T Q _ D _ D _ T Q _ D _ D _ z T Q _ D _ D _ u T Q _ D _ z D _ T Q _ D _ z D _ z T Q _ D _ z ] , and f T = 2 x ( t ) T [ C _ T Q _ D _ u C _ T Q _ D _ C _ T Q _ D _ z ] .

    [0122] The linear inequality terms in the prediction model can be further expressed as:

    [00023] S ( t ) E 5 + E 4 x ( t ) .

    [0123] In the above formula, S=[.sub.u .sub. .sub.z].

    [0124] Since the term x(t).sup.TGx(t) is known at the current time, the mixed-integer quadratic programming problem can be further expressed as:

    [00024] J = min ( 1 2 T H + f T ) , s . t . S ( t ) E 5 + E 4 x ( t ) .

    [0125] The above problem can be solved using a Branch & Bound algorithm to obtain the output of the upper-layer hybrid model predictive controller, i.e., the additional yaw moment and the additional front-wheel steering angle.

    [0126] Step (4) A lower-layer four-wheel torque optimal allocation controller is established based on the additional yaw moment; and a wheel drive torque is calculated based on the lower-layer four-wheel torque optimal allocation controller, including the following steps.

    [0127] Step (S6) The control input u.sub.0={.sub.f, M.sub.z} calculated by the upper-layer hybrid model predictive controller includes three control variables. Among them, the additional front-wheel steering angle can be directly sent to a steer-by-wire system for execution after processing, while the additional yaw moment M.sub.z is a generalized quantity that needs to be converted into the drive or braking forces of the four wheels according to a specific allocation method.

    [0128] In actual vehicle operation, under high tire load conditions, the corresponding tire reserve adhesion coefficient is smaller, leading to a higher possibility of vehicle instability. Therefore, in order to cooperate with the upper-layer controller for achieving good stability under extreme operating conditions, the embodiment provided herein adopts a drive torque optimization allocation method with minimization of the tire load factor as the optimization objective.

    [0129] Based on the formulas of the adhesion load ratios of the four tires on the road surface, the objective function is expressed as follows:

    [00025] min J m = i = 1 4 C i F xi 2 + F yi 2 ( i F zi ) 2 .

    [0130] In the above formula, C.sub.i is a weight coefficient for the utilization rate of each wheel, .sub.i is a longitudinal rolling friction coefficient, F.sub.zi is the current vertical load of each wheel, F.sub.xi and F.sub.yi are the longitudinal and lateral forces of each wheel, respectively. i=1, 2, 3, 4 represents the left front wheel, right front wheel, left rear wheel and right rear wheel of the vehicle, respectively.

    [0131] Since the allocation of the vehicle torque has a relatively small impact on the lateral force, and the front-wheel steering angle is small during the steering process, resulting in an insignificant lateral force, the tire load factor can be expressed as follows:

    [00026] min J m = i = 1 4 C i F xi 2 ( F zi ) 2 , [0132] constraints:

    [00027] { ( F x 1 + F x 2 ) cos f + F x 3 + F x 4 = F x d 2 ( F x 2 - F x 1 ) cos f + ( F x 2 - F x 1 ) a sin f + d 2 ( F x 4 - F x 3 ) = M z - i F z i F x i i F z i - F x max F x i F x max .

    [0133] In the formula, C.sub.i is the weight coefficient for the utilization rate of each wheel, F.sub.x.sub.i is the longitudinal force of each wheel, F.sub.z.sub.i is the vertical load of each wheel, F.sub.x is a total longitudinal required force, .sub.i is the longitudinal rolling friction coefficient, d is a vehicle track width, of is the front-wheel steering angle, F.sub.xmax is the longitudinal force corresponding to the peak torque of the motor, M.sub.z is the additional yaw moment, and i=1, 2, 3, 4 represent the left front wheel, the right front wheel, the left rear wheel and the right rear wheel of the vehicle, respectively.

    [0134] The objective function and its constraints are sorted out and transformed into a standard form of quadratic programming, the following expression can be obtained:

    [00028] min u c J = 1 2 u c T W u u c , s . t . A e q u c = b e q l b u c u b .

    [0135] In the above formula, W.sub.u, A.sub.eq and b.sub.eq are intermediate variables, u.sub.c is the control output matrix, lb and ub are the maximum and minimum values of the longitudinal force output, respectively, and they are specifically expressed as:

    [00029] W u = diag ( c i ( i F z i ) 2 ) , u c = [ F x 1 F x 2 F x 3 F x 4 ] T , A eq = [ cos f cos f 1 1 - d 2 + a sin f d 2 + a sin f d 2 - d 2 ] b eq = [ F x M z ] T , b e q = [ F x M z ] T , l b = max ( - F z i , - F max ) , and ub = min ( F z i , F max ) .

    [0136] The above quadratic programming problem is solved using an active set method to obtain the longitudinal forces on the four wheels, which are then used to calculate the corresponding wheel drive torques for the drive motors.

    [0137] As shown in FIG. 4, the present embodiment also provides a system for implementing the method provided herein, which is based on the hybrid model predictive control. The system provided herein is designed with an upper-layer controller and a lower-layer controller. The upper-layer controller is configured to calculate and output the additional yaw moment and the front-wheel steering angle by using the hybrid model predictive control strategy, based on the ideal reference state and the actual vehicle state. The lower-layer controller is configured to allocate the drive torque with minimization of the tire load factor as the optimization objective to achieve handling stability control of the distributed drive electric vehicle.

    [0138] Based on the above, the present disclosure provides the method and related devices for integrated control of handling stability of the distributed drive electric vehicle. The non-linear vehicle dynamics model is transformed into a hybrid logical dynamic model, and the finite time domain optimization control of the vehicle hybrid logical dynamic model is studied based on the model predictive control theory. The method disclosed herein can significantly reduce the computational burdens of the controller, while further enhancing the lateral adhesion capability of the vehicle under extreme operating conditions and improving its resistance to lateral disturbances during driving.

    [0139] Described above are merely preferred embodiments of the present disclosure, and are not intended to limit the scope of the present disclosure. It should be understood that various modifications, changes and replacements made by those skilled in the art without departing from the spirit of the disclosure shall fall within the scope of the present disclosure defined by the appended claims.