Electric vehicle thrust distribution control method and device
By establishing a fractional-order dynamics model in new energy vehicles and using the least squares method to identify parameters, the problems of reduced accuracy and high cost of dynamic models in the existing technology are solved, and more accurate thrust distribution and more optimized vehicle control are achieved. performance.
Patent Information
- Application Number
- CN202410750135.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-06-12
AI Technical Summary
Existing technology In new energy vehicles, PID controllers and integer-order models cannot fully express the frequency domain characteristics of the motor, resulting in a decrease in the accuracy of the dynamic model and affecting the accuracy of the thrust distribution strategy. The multi-wheel independent drive control method relies on the number of sensors and Measurement accuracy increases design costs.
Based on the motor current information and vehicle speed information in electric vehicles, a vehicle fractional order dynamics model is established, the least squares method is used to identify parameters, and thrust distribution data is generated. Combined with Greeley integral discretization processing, electric vehicle thrust distribution is realized and the impact on the vehicle is reduced. Sensor dependence improves the accuracy of dynamic models.
Under the premise of low cost, the accuracy of the vehicle dynamics model is improved, the vehicle control performance is optimized, the hardware cost and complexity are reduced, and the driving performance is improved.
Smart Images

Figure CN118322885B
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile control technology, and in particular to a method and device for controlling thrust distribution of an electric vehicle. Background Art
[0002] The vehicle thrust distribution control system is a key component of the modern automobile power system. The system is important for vehicle control by accurately distributing the thrust generated by the engine to each wheel to optimize the vehicle's performance, stability and safety.
[0003] At present, PID (proportional-integral-differential) control method or multi-wheel independent drive control method is widely used in vehicle control. PID controller is a classic feedback control algorithm that continuously adjusts the output signal to make the state of the controlled object reach the desired value. However, PID controller and integer order model cannot fully express the frequency domain characteristics of new energy vehicle motors, which will cause the model accuracy to decrease, thus affecting the accuracy of thrust distribution strategy. Multi-wheel independent drive control method is too dependent on the number of sensors and measurement accuracy, and has higher requirements on the data transmission speed and processing speed of the controller, which adds a lot of cost to the design of new energy vehicles. Summary of the invention
[0004] The purpose of this application is to provide an electric vehicle thrust distribution control method, device, electronic device and computer-readable storage medium, which can effectively improve the accuracy of the vehicle dynamics model at a low cost and effectively optimize the vehicle control performance.
[0005] In a first aspect, the present application provides a method for controlling thrust distribution of an electric vehicle, comprising:
[0006] The vehicle fractional-order dynamics model is established through the motor current information and vehicle speed information in the electric vehicle;
[0007] Acquiring vehicle driving information of the electric vehicle;
[0008] Identifying parameters of the vehicle fractional-order dynamics model based on the least squares method and the vehicle driving information to determine parameter data of the vehicle fractional-order dynamics model;
[0009] generating vehicle thrust distribution data based on parameter data of the vehicle fractional-order dynamics model;
[0010] The thrust distribution of the electric vehicle is controlled by the vehicle thrust distribution data.
[0011] In the above implementation process, the electric vehicle thrust distribution control method establishes a vehicle fractional-order dynamics model through motor current information and vehicle speed information in the electric vehicle, generates vehicle thrust distribution data after parameter identification based on the vehicle fractional-order dynamics model and vehicle driving information of the electric vehicle, and finally realizes the thrust distribution of the electric vehicle; the electric vehicle thrust distribution control method can effectively improve the accuracy of the dynamics model by establishing the vehicle fractional-order dynamics model, and at the same time, it also avoids the complexity of the vehicle requiring a large number of sensors for data fusion to ensure the vehicle control performance, reduces the cost, and can further improve the driving performance of the electric vehicle; thus, the electric vehicle thrust distribution control method can achieve the technical effect of effectively improving the accuracy of the vehicle dynamics model and effectively optimizing the vehicle control performance under the premise of low cost.
[0012] Furthermore, the step of establishing a vehicle fractional-order dynamics model by using motor current information and vehicle speed information in the electric vehicle includes:
[0013] The vehicle motion equation of the electric vehicle is obtained, and the vehicle motion equation is expressed as:
[0014] ;
[0015] in, F t Represents the driving force of the car. m is the quality of the car, a des represents the expected acceleration of the vehicle, F xb Indicates the ground braking force, C D is the air resistance coefficient, f is the rolling resistance coefficient, A is the frontal area of the vehicle, ρ is the air density, v It's the speed. g is the acceleration due to gravity;
[0016] An initialized vehicle fractional-order dynamics model is established through the vehicle motion equation, motor current information and vehicle speed information in the electric vehicle;
[0017] The initialized vehicle fractional-order dynamics model is discretized based on the Grilley integral to obtain a discretized vehicle fractional-order dynamics model.
[0018] In the above implementation process, the driving equation of the electric vehicle (vehicle motion equation) is combined with the motor current information and vehicle speed information in the electric vehicle, and the slope resistance and acceleration resistance during driving are ignored to establish an initialized vehicle fractional-order dynamic model; thus, for the above continuous-time fractional-order model, the Grilley discretization method is used to obtain the fractional-order model expression in the discrete time domain, which lays the foundation for the realization of the digital control system, and the discrete-time model can directly give the total motor thrust required to achieve the desired acceleration.
[0019] Furthermore, the initialized vehicle fractional order dynamics model is expressed as:
[0020] ;
[0021] in, I α represents the integral term, α is the order of integration, Indicates the acceleration of the vehicle.
[0022] Furthermore, the electric vehicle comprises an upper thrust distribution control system and a lower motor control system, and the step of controlling the thrust distribution of the electric vehicle through the vehicle thrust distribution data comprises:
[0023] inputting the vehicle thrust distribution data into the upper thrust distribution control system;
[0024] The upper-level thrust distribution control system generates expected acceleration data according to the vehicle thrust distribution data;
[0025] Inputting the expected acceleration data into the lower motor control system;
[0026] The lower-level motor control system controls the thrust of the electric vehicle according to the expected acceleration data.
[0027] Further, the lower motor control system includes a plurality of PID controllers and a plurality of motors, each of the PID controllers is connected to a corresponding motor, the expected acceleration data includes a plurality of expected acceleration signals, and the lower motor control system controls the thrust of the electric vehicle according to the expected acceleration data, comprising:
[0028] The lower motor control system sends the multiple expected acceleration signals to the corresponding PID controllers respectively;
[0029] The PID controller controls the motor according to the acquired desired acceleration signal.
[0030] Furthermore, after the step of controlling the thrust distribution of the electric vehicle by using the vehicle thrust distribution data, the method further comprises:
[0031] The electric vehicle is warned according to a hierarchical warning model and the vehicle fractional-order dynamics model, wherein the hierarchical warning model includes one or more of a TTC collision risk assessment model, a layered warning model, and a buzzer alarm setting.
[0032] In the above implementation process, electric vehicles are warned through the hierarchical warning model and the vehicle fractional-order dynamics model, thereby ensuring the accuracy of the warning information.
[0033] In a second aspect, the present application provides an electric vehicle thrust distribution control device, comprising:
[0034] A dynamic model unit, used to establish a vehicle fractional-order dynamic model through motor current information and vehicle speed information in the electric vehicle;
[0035] A vehicle driving information unit, used to obtain vehicle driving information of the electric vehicle;
[0036] A parameter identification unit, used to identify the parameters of the vehicle fractional-order dynamics model based on the least square method and the vehicle driving information, and determine the parameter data of the vehicle fractional-order dynamics model;
[0037] A thrust distribution unit, used for generating vehicle thrust distribution data based on parameter data of the vehicle fractional-order dynamics model;
[0038] A thrust control unit is used to control the thrust distribution of the electric vehicle through the vehicle thrust distribution data.
[0039] Furthermore, the kinetic model unit is specifically used for:
[0040] The vehicle motion equation of the electric vehicle is obtained, and the vehicle motion equation is expressed as:
[0041] ;
[0042] in, F t Represents the driving force of the car. m is the quality of the car, a des represents the expected acceleration of the vehicle, F xb Indicates the ground braking force, C D is the air resistance coefficient, f is the rolling resistance coefficient, A is the frontal area of the vehicle, ρ is the air density,v It's the speed. g is the acceleration due to gravity;
[0043] An initialized vehicle fractional-order dynamics model is established through the vehicle motion equation, motor current information and vehicle speed information in the electric vehicle;
[0044] The initialized vehicle fractional-order dynamics model is discretized based on the Grilley integral to obtain a discretized vehicle fractional-order dynamics model.
[0045] Furthermore, the electric vehicle comprises an upper thrust distribution control system and a lower motor control system, and the thrust control unit is specifically used for:
[0046] inputting the vehicle thrust distribution data into the upper thrust distribution control system;
[0047] The upper-level thrust distribution control system generates expected acceleration data according to the vehicle thrust distribution data;
[0048] Inputting the expected acceleration data into the lower motor control system;
[0049] The lower-level motor control system controls the thrust of the electric vehicle according to the expected acceleration data.
[0050] Further, the lower motor control system includes a plurality of PID controllers and a plurality of motors, each of the PID controllers is connected to a corresponding motor, the expected acceleration data includes a plurality of expected acceleration signals, and the thrust control unit is further used for:
[0051] The lower motor control system sends the multiple expected acceleration signals to the corresponding PID controllers respectively;
[0052] The PID controller controls the motor according to the acquired desired acceleration signal.
[0053] Furthermore, the electric vehicle thrust distribution control device also includes an early warning unit, which is used to: give early warning to the electric vehicle according to a hierarchical early warning model and the vehicle fractional-order dynamics model, and the hierarchical early warning model includes one or more of a TTC collision risk assessment model, a layered early warning model, and a buzzer alarm setting.
[0054] In a third aspect, the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of the first aspects when executing the computer program.
[0055] In a fourth aspect, the present application provides a computer-readable storage medium, on which instructions are stored. When the instructions are executed on a computer, the computer executes the method as described in any one of the first aspects.
[0056] In a fifth aspect, the present application provides a computer program product, which, when running on a computer, enables the computer to execute the method as described in any one of the first aspects.
[0057] Other features and advantages disclosed in the present application will be described in the following description, or some features and advantages can be inferred or determined without doubt from the description, or can be learned by implementing the above-mentioned technology disclosed in the present application.
[0058] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0060] Figure 1 A flow chart of a method for controlling thrust distribution of an electric vehicle provided in an embodiment of the present application;
[0061] Figure 2 A flow chart of another electric vehicle thrust distribution control method provided in an embodiment of the present application;
[0062] Figure 3 A structural block diagram of a vehicle control system provided in an embodiment of the present application;
[0063] Figure 4 A structural block diagram of a thrust distribution control device for an electric vehicle provided in an embodiment of the present application;
[0064] Figure 5 A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0065] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0066] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0067] Generally speaking, the vehicle thrust distribution control system is a key component of the modern automobile power system. The system optimizes the performance, stability and safety of the vehicle by accurately distributing the thrust generated by the engine to each wheel, and is important for vehicle control. The existing technical solutions include the following methods:
[0068] 1. PID control method: PID control method is widely used in vehicle control; PID controller is a classic feedback control algorithm that continuously adjusts the output signal to make the state of the controlled object reach the expected value. PID control method can be used to adjust the braking force distribution of the vehicle to provide better braking effect and stability. According to the dynamic parameters of the vehicle (such as vehicle speed, lateral acceleration, etc.) and the sensor feedback signal of the braking system, the PID controller can adjust the braking force distribution of each wheel in real time to ensure the stability and balance of the vehicle during braking. However, the performance of the PID controller is highly dependent on the adjustment of parameters. Selecting the appropriate proportional gain, integral time and differential time requires experience and trial and error. If the parameters are set improperly, it may lead to instability, oscillation or long response time of the control system. And it was originally designed for linear systems and has limited control capabilities for nonlinear systems. When facing nonlinear systems, the PID controller may not provide good performance and more complex control algorithms need to be adopted;
[0069] 2. Vehicle thrust distribution control method based on integer-order dynamics model: By acquiring the vehicle driving signals collected by sensors installed at various positions of the vehicle, the vehicle dynamics are modeled to clarify the thrust distribution strategy under different motion states. This method determines the current driving thrust information of the vehicle and the current driving control mode according to the vehicle driving signals to obtain the corresponding thrust distribution results, and distributes thrust to the vehicle based on the model thrust distribution results. However, due to the property that the integer-order calculus order can only be an integer, the accuracy of the dynamic model's expression of the vehicle's frequency domain characteristics is limited. This will result in the inability of the established dynamics model to fully describe the current state of the vehicle, thereby affecting the accuracy of the thrust distribution;
[0070] 3. Thrust distribution control method for multi-wheel independently driven vehicles: This method obtains the vehicle driving signals collected by sensors arranged at various positions of the vehicle, determines the current driving control mode of the vehicle according to the vehicle driving signals, and then determines the current driving thrust information of the vehicle by combining the current driving control mode of the vehicle with the basic driving thrust; the driving thrust information and the current driving control mode of the vehicle are used to obtain the corresponding thrust distribution results, and the thrust of the vehicle is distributed according to the thrust distribution results. However, this method requires the installation of more sensors, is costly, and has poor stability, and requires a lot of time for testing and parameter adjustment;
[0071] The above methods all have their shortcomings. The integer-order model cannot fully express the frequency domain characteristics of the new energy vehicle motor, which will cause the model accuracy to decrease, thus affecting the accuracy of the thrust distribution strategy. The multi-wheel independent drive control method is too dependent on the number of sensors and measurement accuracy, and has higher requirements on the data transmission speed and processing speed of the controller, which will add a lot of cost to the design of new energy vehicles.
[0072] In order to solve the above-mentioned technical problems, the embodiments of the present application provide a method, device, electronic device and computer-readable storage medium for controlling thrust distribution of electric vehicles, which can be applied to the thrust distribution control process of new energy vehicles; see Figure 1 , Figure 1 A flow chart of a method for controlling thrust distribution of an electric vehicle provided in an embodiment of the present application, the method for controlling thrust distribution of an electric vehicle comprises the following steps:
[0073] S100: Establishing a vehicle fractional-order dynamics model based on the motor current information and vehicle speed information in the electric vehicle;
[0074] For example, electric vehicles are equipped with batteries, which are used as energy storage power sources to provide electric energy to the motor through the battery, drive the motor to operate, and thus propel the vehicle to travel; thus, the current power information of the vehicle can be recorded by monitoring the power supply of the battery. Among them, the accuracy of the dynamic model is the basis for ensuring the control performance of the vehicle thrust distribution system. Therefore, the dynamic model of new energy vehicles can be established by measuring the current information of each motor of the electric vehicle (motor current information) in real time, combined with the speed sensor's measurement of the vehicle speed (vehicle speed information).
[0075] S200: Acquiring vehicle driving information of the electric vehicle;
[0076] Exemplarily, the electric vehicle is provided with a variety of vehicle sensors, such as an inertial measurement unit, a vehicle speed sensor, etc., which are only used as examples and not limitations; in combination with the vehicle sensors, vehicle information during driving is obtained, thereby obtaining vehicle driving information of the electric vehicle.
[0077] S300: Identifying parameters of a vehicle fractional-order dynamics model based on a least squares method and vehicle driving information to determine parameter data of the vehicle fractional-order dynamics model;
[0078] Exemplarily, after the vehicle driving information is acquired, the least square method is used to identify the parameters of the vehicle fractional-order dynamics model to accurately determine each parameter in the vehicle fractional-order dynamics model, thereby determining the parameter data of the vehicle fractional-order dynamics model.
[0079] S400: generating vehicle thrust distribution data based on parameter data of a vehicle fractional-order dynamics model;
[0080] S500: Controlling the thrust distribution of the electric vehicle through the vehicle thrust distribution data.
[0081] For example, in combination with the vehicle fractional-order dynamics model, based on the real-time feedback information from the vehicle sensors of the electric vehicle (vehicle driving information), the vehicle fractional-order dynamics model can accurately calculate the thrust required for the vehicle to move forward, and distribute it to different motors accordingly to ensure stable forward movement of the vehicle.
[0082] Exemplarily, the electric vehicle thrust distribution control method establishes a vehicle fractional-order dynamics model through motor current information and vehicle speed information in the electric vehicle, generates vehicle thrust distribution data after parameter identification based on the vehicle fractional-order dynamics model and vehicle driving information of the electric vehicle, and finally realizes the thrust distribution of the electric vehicle; the electric vehicle thrust distribution control method can effectively improve the accuracy of the dynamics model by establishing a vehicle fractional-order dynamics model, and at the same time, avoids the complexity of the vehicle requiring a large number of sensors for data fusion to ensure the vehicle control performance, reduces the cost, and can further improve the driving performance of the electric vehicle; thus, the electric vehicle thrust distribution control method can achieve the technical effect of effectively improving the accuracy of the vehicle dynamics model and effectively optimizing the vehicle control performance at a low cost.
[0083] See also Figure 2 , Figure 2 A flow chart of another electric vehicle thrust distribution control method provided in an embodiment of the present application.
[0084] Exemplarily, S100: the step of establishing a vehicle fractional-order dynamics model through motor current information and vehicle speed information in the electric vehicle includes:
[0085] S110: Obtain the vehicle motion equation of the electric vehicle. The vehicle motion equation is expressed as:
[0086] ;
[0087] in, Ft Represents the driving force of the car. m is the quality of the car, a des represents the expected acceleration of the vehicle, F xb Indicates the ground braking force, C D is the air resistance coefficient, f is the rolling resistance coefficient, A is the frontal area of the vehicle, ρ is the air density, v It's the speed. g is the acceleration due to gravity;
[0088] S120: establishing an initialized vehicle fractional-order dynamics model through the vehicle motion equation, motor current information and vehicle speed information in the electric vehicle;
[0089] S130: discretizing the initialized vehicle fractional-order dynamics model based on the Grilley integral to obtain a discretized vehicle fractional-order dynamics model.
[0090] Exemplarily, an initialized vehicle fractional-order dynamic model is established by combining the driving equation of an electric vehicle (vehicle motion equation) with the motor current information and vehicle speed information in the electric vehicle, and ignoring the slope resistance and acceleration resistance during driving; thus, for the above-mentioned continuous-time fractional-order model, the Grilley discretization method is used to obtain the fractional-order model expression in the discrete time domain, which lays the foundation for the realization of the digital control system, and the discrete-time model can directly give the total motor thrust required to achieve the desired acceleration.
[0091] Exemplarily, the initialized vehicle fractional order dynamics model is expressed as:
[0092] ;
[0093] in, I α represents the integral term, α is the order of integration, Indicates the acceleration of the vehicle.
[0094] For example, a It is the acceleration data determined by combining the motor current information and the vehicle speed information.
[0095] Exemplarily, the electric vehicle includes an upper thrust distribution control system and a lower motor control system. S500: the step of controlling the thrust distribution of the electric vehicle through the vehicle thrust distribution data includes:
[0096] S510: inputting vehicle thrust distribution data into an upper-level thrust distribution control system;
[0097] S520: The upper-layer thrust distribution control system generates expected acceleration data according to the vehicle thrust distribution data;
[0098] S530: Inputting the expected acceleration data into the lower motor control system;
[0099] S540: The lower-level motor control system controls the thrust of the electric vehicle according to the desired acceleration data.
[0100] Exemplarily, the lower motor control system includes a plurality of PID controllers and a plurality of motors, each PID controller is connected to a corresponding motor, and the expected acceleration data includes a plurality of expected acceleration signals. S440: the step of the lower motor control system controlling the thrust of the electric vehicle according to the expected acceleration data includes:
[0101] The lower-level motor control system sends multiple desired acceleration signals to the corresponding PID controllers respectively;
[0102] The PID controller controls the motor according to the acquired desired acceleration signal.
[0103] Exemplarily, after the step of controlling the thrust distribution of the electric vehicle by using the vehicle thrust distribution data in S500, the method further includes:
[0104] S600: Providing a warning to the electric vehicle according to a hierarchical warning model and a vehicle fractional-order dynamics model, wherein the hierarchical warning model includes one or more of a TTC collision risk assessment model, a layered warning model, and a buzzer alarm setting.
[0105] Exemplarily, the electric vehicle is warned through a hierarchical warning model and a vehicle fractional-order dynamics model, thereby ensuring the accuracy of the warning information.
[0106] See also Figure 3 , Figure 3 This is a structural block diagram of a vehicle control system provided in an embodiment of the present application. The electric vehicle thrust distribution control method provided in an embodiment of the present application can be applied to Figure 3 The vehicle control system shown;
[0107] Exemplarily, the vehicle control system includes establishing a vehicle fractional-order dynamics model, a target detection and data fusion model, a hierarchical warning model, an upper-level thrust distribution control system, and a lower-level motor control system.
[0108] In some embodiments, in combination Figures 1 to 3The electric vehicle thrust distribution control method provided in the embodiment of the present application is a control strategy for optimizing the power output and vehicle stability of the electric vehicle. By introducing the fractional-order calculus theory, the vehicle control system can adjust the thrust distribution of each driving wheel according to the fractional-order dynamics model to optimize the power distribution and handling performance of the vehicle. Exemplarily, the electric vehicle thrust distribution control method comprises the following steps:
[0109] 1. Establish a vehicle fractional-order dynamics model. Based on the vehicle driving equation and ignoring the slope resistance and acceleration resistance during driving, the vehicle motion equation is simplified to:
[0110] ;
[0111] This formula represents the dynamic model of the vehicle during driving, where: F t Represents the driving force of the car. m is the quality of the car, a des represents the expected acceleration of the vehicle, F xb Indicates the ground braking force, C D is the air resistance coefficient, f is the rolling resistance coefficient, A is the frontal area of the vehicle, ρ is the air density, v It's the speed. g is the acceleration of gravity, based on which the thrust of the vehicle motor can be distributed according to the vehicle information and the real-time information collected by the sensor. Since wind resistance has a viscous effect, this application introduces the theory of fractional calculus, and the above formula is rewritten as follows:
[0112] ;
[0113] in, represents the vehicle's acceleration, I α represents the integral term, α is the order of integration, which can be any real number, no longer limited to integers. Thus, the vehicle fractional-order dynamics model is established;
[0114] In order to facilitate digital implementation and control system design, the fractional-order dynamics model needs to be discretized. Specifically, the discrete-time Grunwald-Letnikov method can be used to discretize the above model to obtain the following discrete-time fractional-order model:
[0115] ;
[0116] in, The discrete time index of the current moment, is the Grilley weight coefficient, is the fractional differential order, is the sum index.
[0117] By rearranging the discrete-time fractional-order model, the control law of the motor thrust in the discrete-time domain is obtained:
[0118] ;
[0119] This control law directly gives the The total motor thrust required to achieve an ideal acceleration response can be combined with the vehicle's multi-motor distribution and torque allocation strategy to determine the control torque command for each individual motor, achieving high-precision vehicle motion control.
[0120] 2. Based on the establishment of the above-mentioned fractional-order dynamics model, the vehicle information during driving is obtained by combining the vehicle sensors, and the model parameters are identified by using the least squares method to accurately determine the various parameters in the fractional-order dynamics model;
[0121] Specifically, the recursive least squares (RLS) algorithm can be used for online parameter identification; the RLS algorithm is an algorithm widely used in adaptive filtering and parameter estimation, which can perform real-time parameter identification on time-varying systems and iteratively solve the parameter estimation value that minimizes the sum of squared errors. For the discrete-time fractional-order dynamics model established in this application, it can be expressed as a parameterized regression form:
[0122] ;
[0123] in, represents the model output, i.e., the actual acceleration of the vehicle; is a regression vector, containing historical input and output data, is the unknown parameter vector to be estimated; represents the model residual;
[0124] Specifically, the model can be rewritten as:
[0125] ;
[0126] in and are the fractional-order coefficients in the model, and are the model orders;
[0127] Then, the RLS algorithm is used to iteratively estimate the parameters according to the following formula: :
[0128] ;
[0129] ;
[0130] ;
[0131] in, is the gain matrix, is the estimation error covariance matrix, is the forgetting factor ( ), used to give greater weight to new data;
[0132] The algorithm can update the parameter estimates at each sampling period. , thereby online identifying and adjusting the parameters of the fractional-order dynamics model, effectively improving the applicability and control accuracy of the model. It should be noted that due to the introduction of the fractional-order term, the regression vector It will be longer than the integer order case, and the computational burden will be heavier;
[0133] 3. The fractional-order dynamics model is used to guide the design of the vehicle control system. The system includes the upper-level thrust distribution control system and the lower-level motor control system. The lower-level control system adopts a highly robust PID controller to achieve stable control of the motor. The upper-level thrust distribution control system is designed in combination with the vehicle's fractional-order dynamics model. According to the real-time feedback information from the sensor, the fractional-order dynamics model can accurately calculate the thrust required for the vehicle to move forward, and distribute it to different motors accordingly to ensure the vehicle's stable forward movement.
[0134] Exemplarily, the electric vehicle thrust distribution control method provided in the embodiment of the present application firstly establishes a fractional-order model describing the longitudinal dynamics of the vehicle by introducing fractional-order integrals and differentials, which can accurately describe non-integer-order dynamic processes such as wind resistance, thereby improving the expression ability and accuracy of the model in the entire frequency range;
[0135] Secondly, the above continuous-time fractional-order model is discretized by using the Grilley discretization method to obtain the fractional-order model expression in the discrete time domain, which lays the foundation for the realization of digital control system; the discrete-time model directly gives the total motor thrust required to achieve the desired acceleration;
[0136] Thirdly, combined with the real-time information fed back by the vehicle sensors, the recursive least squares (RLS) algorithm is used to identify and adjust the model parameters online, so that the fractional-order dynamics model can adaptively match the actual working conditions, thereby improving the control accuracy.
[0137] Finally, based on the precise fractional-order model, a two-layer control system architecture of upper-layer thrust distribution and lower-layer motor control was designed. The upper layer is responsible for calculating the total thrust demand according to the vehicle condition and distributing it to each motor, and the lower-layer controller stably drives each motor to output the specified thrust. Compared with the existing technology, this electric vehicle thrust distribution control method does not require too many redundant sensors and complex data fusion, avoiding the uncertainty influence of multi-source heterogeneous information fusion, thereby reducing the system hardware cost and complexity, but still achieving excellent control performance, improving vehicle dynamic response, energy conservation and emission reduction indicators, and has strong implementation feasibility.
[0138] Exemplarily, the electric vehicle thrust distribution control method provided in the embodiment of the present application has at least the following beneficial effects:
[0139] 1. Improve the accuracy of the dynamics model: The vehicle dynamics model is constructed using fractional calculus theory, which introduces integral and differential operators of arbitrary real order. Compared with traditional integer-order calculus, the fractional-order form can more accurately describe complex dynamic characteristics such as forgetfulness, viscoelasticity, and fractal structure in the system. Specifically, the wind resistance term is characterized by a fractional-order integral of order α (0<α<1), which can well describe the non-integer order relationship between wind resistance and vehicle speed, and improve the accuracy of the dynamic model in the entire operating frequency range;
[0140] 2. Improve control performance: The accuracy of the dynamics model directly affects the design and performance of the thrust distribution control system. By adopting an accurate fractional-order model and adjusting the model parameters with the least squares online identification algorithm, the total thrust required by the vehicle can be accurately calculated in real time and reasonably distributed to each motor, thereby optimizing the vehicle's power response, acceleration performance and energy consumption level;
[0141] 3. Reduce hardware cost and complexity: Compared with the distributed control scheme of multi-sensor fusion, this application only needs to obtain less sensor information such as current and vehicle speed, and can estimate the required control quantity through the fractional-order dynamic model, which reduces the hardware cost and complexity of the control system. At the same time, it avoids the delay and uncertainty caused by data fusion, which is conducive to improving the real-time and robustness of the system.
[0142] For example, by establishing a fractional-order dynamics model of a vehicle, the accuracy of the dynamics model can be effectively improved. At the same time, the complexity of the vehicle requiring a large number of sensors for data fusion to ensure the vehicle control performance is avoided, the cost is reduced, and the driving performance of electric vehicles can be further improved. Among them, fractional-order calculus can be understood as an integral or differential of any order, which extends and expands integer-order calculus, increases the flexibility of modeling, and can express the vehicle dynamics model more accurately.
[0143] Vehicle performance mainly depends on the control system architecture and parameter accuracy, and the accuracy of the vehicle dynamics model directly affects the accuracy of the vehicle thrust distribution control system design; the introduction of fractional-order calculus theory improves the flexibility of modeling, thereby effectively improving the accuracy of the vehicle dynamics model, so the fractional-order dynamic thrust distribution control system can have better control performance.
[0144] See also Figure 4 , Figure 4 This is a structural block diagram of an electric vehicle thrust distribution control device provided in an embodiment of the present application, and the electric vehicle thrust distribution control device includes:
[0145] The dynamic model unit 100 is used to establish a vehicle fractional-order dynamic model through motor current information and vehicle speed information in the electric vehicle;
[0146] The vehicle driving information unit 200 is used to obtain the vehicle driving information of the electric vehicle;
[0147] The parameter identification unit 300 is used to identify the parameters of the vehicle fractional-order dynamics model based on the least square method and the vehicle driving information, and determine the parameter data of the vehicle fractional-order dynamics model;
[0148] A thrust distribution unit 400, for generating vehicle thrust distribution data based on parameter data of a vehicle fractional-order dynamics model;
[0149] The thrust control unit 500 is used to control the thrust distribution of the electric vehicle through the vehicle thrust distribution data.
[0150] Exemplarily, the kinetic model unit 100 is specifically used for:
[0151] Get the vehicle motion equation of the electric vehicle, which is expressed as:
[0152] ;
[0153] in, F t Represents the driving force of the car. m is the quality of the car, a des represents the expected acceleration of the vehicle, F xb Indicates the ground braking force, C D is the air resistance coefficient, f is the rolling resistance coefficient, A is the frontal area of the vehicle, ρ is the air density, v It's the speed. g is the acceleration due to gravity;
[0154] An initialized vehicle fractional-order dynamics model is established through the vehicle motion equation, the motor current information and the vehicle speed information in the electric vehicle;
[0155] The initialized vehicle fractional-order dynamics model is discretized based on the Grilley integral to obtain a discretized vehicle fractional-order dynamics model.
[0156] Exemplarily, the electric vehicle includes an upper thrust distribution control system and a lower motor control system, and the thrust control unit 500 is specifically used for:
[0157] inputting vehicle thrust distribution data into an upper-level thrust distribution control system;
[0158] The upper-level thrust distribution control system generates expected acceleration data according to the vehicle thrust distribution data;
[0159] Inputting the expected acceleration data into the lower-level motor control system;
[0160] The lower-level motor control system controls the electric vehicle thrust based on the desired acceleration data.
[0161] Exemplarily, the lower motor control system includes a plurality of PID controllers and a plurality of motors, each PID controller is connected to a corresponding motor, the expected acceleration data includes a plurality of expected acceleration signals, and the thrust control unit 500 is further used for:
[0162] The lower-level motor control system sends multiple desired acceleration signals to the corresponding PID controllers respectively;
[0163] The PID controller controls the motor according to the acquired desired acceleration signal.
[0164] Exemplarily, the electric vehicle thrust distribution control device also includes an early warning unit, which is used to: provide early warning to the electric vehicle based on a hierarchical early warning model and a vehicle fractional-order dynamics model, wherein the hierarchical early warning model includes one or more of a TTC collision risk assessment model, a hierarchical early warning model, and a buzzer alarm setting.
[0165] It should be noted that the electric vehicle thrust distribution control device provided in the embodiment of the present application is Figures 1 to 3 The method embodiments shown correspond to each other and will not be described again here to avoid repetition.
[0166] This application also provides an electronic device, see Figure 5 , Figure 5A block diagram of an electronic device provided in an embodiment of the present application. The electronic device may include a processor 510, a communication interface 520, a memory 530, and at least one communication bus 540. The communication bus 540 is used to realize direct connection and communication between these components. The communication interface 520 of the electronic device in the embodiment of the present application is used to communicate signaling or data with other node devices. The processor 510 may be an integrated circuit chip with signal processing capabilities.
[0167] The processor 510 mentioned above can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor 510 can also be any conventional processor, etc.
[0168] The memory 530 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The memory 530 stores computer-readable instructions. When the computer-readable instructions are executed by the processor 510, the electronic device may execute the above-mentioned Figures 1 to 3 The method embodiment involves various steps.
[0169] Optionally, the electronic device may further include a storage controller and an input / output unit.
[0170] The memory 530, storage controller, processor 510, peripheral interface, input and output unit components are directly or indirectly electrically connected to each other to achieve data transmission or interaction. For example, these components can be electrically connected to each other via one or more communication buses 540. The processor 510 is used to execute executable modules stored in the memory 530, such as software function modules or computer programs included in the electronic device.
[0171] The input and output unit is used to provide users with the task creation and to create a start optional time period or preset execution time for the task to realize the interaction between the user and the server. The input and output unit can be, but is not limited to, a mouse and a keyboard.
[0172] Understandably, Figure 5 The structure shown is for illustration only, and the electronic device may also include Figure 5 More or fewer components as shown, or with Figure 5 Different configurations are shown. Figure 5 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0173] An embodiment of the present application further provides a storage medium having instructions stored thereon. When the instructions are run on a computer, the computer program is executed by a processor to implement the method described in the method embodiment. To avoid repetition, the method will not be described here.
[0174] The present application also provides a computer program product, which, when executed on a computer, enables the computer to execute the method described in the method embodiment.
[0175] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0176] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0177] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.
[0178] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0179] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0180] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. A method for controlling thrust distribution of an electric vehicle, characterized in that: include: A vehicle fractional-order dynamics model is established through motor current information and vehicle speed information in the electric vehicle. The vehicle fractional-order dynamics model includes an initialized vehicle fractional-order dynamics model. The initialized vehicle fractional-order dynamics model is expressed as: ; in, F t Represents the driving force of the car. m is the quality of the car, a des represents the expected acceleration of the vehicle, F xb Indicates the ground braking force, C D is the air resistance coefficient, f is the rolling resistance coefficient, A is the frontal area of the vehicle, ρ is the air density, g is the acceleration due to gravity, I α represents the integral term, α is the order of integration, Indicates the acceleration of the vehicle; Acquiring vehicle driving information of the electric vehicle; Identifying parameters of the vehicle fractional-order dynamics model based on the least squares method and the vehicle driving information to determine parameter data of the vehicle fractional-order dynamics model; generating vehicle thrust distribution data based on parameter data of the vehicle fractional-order dynamics model; The thrust distribution of the electric vehicle is controlled by the vehicle thrust distribution data.
2. The electric vehicle thrust distribution control method according to claim 1, characterized in that: The step of establishing a vehicle fractional-order dynamics model by using motor current information and vehicle speed information in the electric vehicle comprises: The vehicle motion equation of the electric vehicle is obtained, and the vehicle motion equation is expressed as: ; in, F t Represents the driving force of the car. m is the quality of the car, a des represents the expected acceleration of the vehicle, F xb Indicates the ground braking force, C D is the air resistance coefficient, f is the rolling resistance coefficient, A is the frontal area of the vehicle, ρ is the air density, v It's the speed. g is the acceleration due to gravity; An initialized vehicle fractional-order dynamics model is established through the vehicle motion equation, motor current information and vehicle speed information in the electric vehicle; The initialized vehicle fractional-order dynamics model is discretized based on the Grilley integral to obtain a discretized vehicle fractional-order dynamics model.
3. The electric vehicle thrust distribution control method according to claim 1, characterized in that: The electric vehicle comprises an upper thrust distribution control system and a lower motor control system, and the step of controlling the thrust distribution of the electric vehicle through the vehicle thrust distribution data comprises: inputting the vehicle thrust distribution data into the upper thrust distribution control system; The upper-level thrust distribution control system generates expected acceleration data according to the vehicle thrust distribution data; Inputting the expected acceleration data into the lower motor control system; The lower-level motor control system controls the thrust of the electric vehicle according to the expected acceleration data.
4. The electric vehicle thrust distribution control method according to claim 3, characterized in that: The lower motor control system includes a plurality of PID controllers and a plurality of motors, each of the PID controllers is connected to a corresponding motor, the expected acceleration data includes a plurality of expected acceleration signals, and the lower motor control system controls the thrust of the electric vehicle according to the expected acceleration data, including: The lower motor control system sends the multiple expected acceleration signals to the corresponding PID controllers respectively; The PID controller controls the motor according to the acquired desired acceleration signal.
5. The electric vehicle thrust distribution control method according to claim 4, characterized in that: After the step of controlling the thrust distribution of the electric vehicle by using the vehicle thrust distribution data, the method further comprises: The electric vehicle is warned according to a hierarchical warning model and the vehicle fractional-order dynamics model, wherein the hierarchical warning model includes one or more of a TTC collision risk assessment model, a layered warning model, and a buzzer alarm setting.
6. A thrust distribution control device for an electric vehicle, characterized in that: include: The dynamic model unit is used to establish a vehicle fractional-order dynamic model through motor current information and vehicle speed information in the electric vehicle, wherein the vehicle fractional-order dynamic model includes an initialized vehicle fractional-order dynamic model, and the initialized vehicle fractional-order dynamic model is expressed as: ; in, F t Represents the driving force of the car. m is the quality of the car, a des represents the expected acceleration of the vehicle, F xb Indicates the ground braking force, C D is the air resistance coefficient, f is the rolling resistance coefficient, A is the frontal area of the vehicle, ρ is the air density, g is the acceleration due to gravity, I α represents the integral term, α is the order of integration, Indicates the acceleration of the vehicle; A vehicle driving information unit, used to obtain vehicle driving information of the electric vehicle; A parameter identification unit, used to identify the parameters of the vehicle fractional-order dynamics model based on the least square method and the vehicle driving information, and determine the parameter data of the vehicle fractional-order dynamics model; A thrust distribution unit, used to generate vehicle thrust distribution data based on parameter data of the vehicle fractional-order dynamics model; A thrust control unit is used to control the thrust distribution of the electric vehicle through the vehicle thrust distribution data.
7. The electric vehicle thrust distribution control device according to claim 6, characterized in that: The kinetic model unit is specifically used for: The vehicle motion equation of the electric vehicle is obtained, and the vehicle motion equation is expressed as: ; in, F t Represents the driving force of the car. m is the quality of the car, a des represents the expected acceleration of the vehicle, F xb Indicates the ground braking force, C D is the air resistance coefficient, f is the rolling resistance coefficient, A is the frontal area of the vehicle, ρ is the air density, v It's the speed. g is the acceleration due to gravity; An initialized vehicle fractional-order dynamics model is established through the vehicle motion equation, motor current information and vehicle speed information in the electric vehicle; The initialized vehicle fractional-order dynamics model is discretized based on the Grilley integral to obtain a discretized vehicle fractional-order dynamics model.
8. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the electric vehicle thrust distribution control method as claimed in any one of claims 1 to 5 when executing the computer program.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the electric vehicle thrust distribution control method according to any one of claims 1 to 5.
