Dual-motor torque distribution method, device, equipment, medium and program product

By obtaining the working condition mode in the torque distribution of dual motors, building a comprehensive fitness function and using a multi-parameter particle swarm optimization algorithm, the problem of difficulty in adapting to complex working conditions in the existing technology is solved, and the efficient torque distribution and energy of dual motors is realized use.

CN118953066APending Publication Date: 2024-11-15SHANDONG LINGONG CONSTR MACHINERY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411359801.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The existing dual-motor torque distribution method is difficult to adapt to complex working conditions, cannot maintain efficient energy utilization in a changing environment, lacks comprehensive consideration of multiple parameters, and it is difficult to achieve global optimal optimization.

Method used

By obtaining the working condition mode of the dual motor, determining the weight value of the preset operating parameters, building a comprehensive fitness function, determining the optimal torque distribution strategy based on the multi-parameter particle swarm optimization algorithm, and considering parameters such as traction force, current, efficiency and temperature to achieve Flexible distribution of torque.

Benefits of technology

The optimal torque distribution strategy under complex operating conditions is realized, the overall energy efficiency and efficiency are improved, and the efficient operation of the electric loader under various conditions is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118953066A_ABST
    Figure CN118953066A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of motor control, and discloses a dual-motor torque distribution method, device and equipment, a medium and a program product, and the method comprises the steps: obtaining a working condition mode of dual motors, and determining a weight value of preset operation parameters according to the working condition mode, the preset operation parameters comprising at least two of the following parameters: traction force, current, efficiency and temperature; determining a fitness function of the preset operation parameters according to the total demand output torque of the double motors and / or the actual operation values of the preset operation parameters; obtaining a comprehensive fitness function according to the weight value of the preset operation parameter and the fitness function of the preset operation parameter; and determining an optimal torque distribution strategy of the double motors based on a multi-parameter particle swarm optimization algorithm and the comprehensive fitness function. Torque distribution is carried out according to the working condition mode of the double motors, a reasonable optimal torque distribution strategy can be obtained, the method adapts to the complex operation working condition of the double motors, and efficient operation of the electric loader under various conditions is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of motor control technology, and in particular to a dual-motor torque distribution method, device, equipment, medium and program product. Background Art

[0002] In the construction machinery industry, the electrification of construction machinery has begun to become popular. Electric loaders have been rapidly promoted due to their excellent performance, and a dual-motor structure has been developed. Compared with a single-motor structure, the dual-motor can distribute power more flexibly and improve the energy efficiency of the entire machine. At the same time, there is more room for improvement. Torque distribution is an important optimization goal of dual-motor electric loaders.

[0003] As an important technical direction in the electrification process in recent years, dual-motor electric loaders can achieve better torque distribution and energy recovery through dual motors driving the front and rear axles, thereby improving the energy efficiency and performance of the entire vehicle. Existing optimization methods are mostly average torque distribution and particle swarm optimization of a single parameter, which achieve local optimization and are difficult to achieve global optimization. For example, optimization based on a single efficiency or power consumption indicator lacks comprehensive consideration of multiple parameters and is difficult to cope with changes in different working conditions. It has poor adaptability to complex working conditions and cannot maintain efficient energy utilization in a changing environment. Summary of the invention

[0004] In view of this, the present invention provides a dual-motor torque distribution method, device, equipment, medium and program product to solve the problem that the dual-motor torque distribution cannot adapt to complex working conditions.

[0005] In a first aspect, the present invention provides a method for distributing torque of a dual motor, the method comprising:

[0006] Acquire the operating mode of the dual motors, and determine the weight values ​​of the preset operating parameters according to the operating mode, where the preset operating parameters include at least two of the following: traction, current, efficiency and temperature;

[0007] Determining a fitness function of a preset operating parameter according to the total required output torque of the dual motors and / or the actual operating value of the preset operating parameter;

[0008] Obtaining a comprehensive fitness function according to the weight values ​​of the preset operating parameters and the fitness function of the preset operating parameters;

[0009] The optimal torque distribution strategy for dual motors is determined based on a multi-parameter particle swarm optimization algorithm and a comprehensive fitness function.

[0010] The dual-motor torque distribution method provided by the embodiment of the present invention determines the weight values ​​of different preset operating parameters according to the working mode, determines the fitness function of the preset operating parameters according to the total required output torque of the dual motors and / or the actual operating value of the preset operating parameters, obtains the comprehensive fitness function according to the weight values ​​of the preset operating parameters and the fitness function, and determines the optimal torque distribution strategy of the dual motors based on the multi-parameter particle swarm optimization algorithm and the comprehensive fitness function. By distributing torque according to the working mode of the dual motors, the present invention can obtain a reasonable optimal torque distribution strategy, adapt to the complex operating conditions of the dual motors, and ensure the efficient operation of the electric loader under various conditions.

[0011] In an optional embodiment, the operating mode includes: heavy load mode, light load mode and economy mode, and the weight values ​​of preset operating parameters are determined according to the operating mode, including: when in any operating mode, the preset first weight value is used as the actual weight of traction, the preset second weight value is used as the actual weight of current, the preset third weight value is used as the actual weight of efficiency, and the preset fourth weight value is used as the actual weight of temperature, wherein, when the operating mode is heavy load mode, the first weight value is greater than the second weight value, the second weight value is greater than the third weight value, and the third weight value is greater than the fourth weight value; when the operating mode is light load mode or economy mode, the second weight value is greater than the third weight value, the third weight value is greater than the first weight value, and the first weight value is greater than the fourth weight value.

[0012] The present invention can provide different torque distribution strategies under different working conditions by adjusting the weights of various operating parameters under different working modes, thereby adapting to different working conditions and improving the energy efficiency and efficiency of the whole machine.

[0013] In an optional embodiment, the fitness function includes: a first fitness function, a second fitness function, a third fitness function and a fourth fitness function; the fitness function of the preset operating parameters is determined according to the total required output torque of the dual motors and / or the actual operating values ​​of the preset operating parameters, including: determining the first fitness function according to the actual operating values ​​of the total required output torque of the dual motors and the traction of the first motor and the second motor in the dual motors; determining the second fitness function according to the actual operating values ​​of the current of the first motor and the second motor in the dual motors; determining the third fitness function according to the actual operating values ​​of the efficiency of the first motor and the second motor in the dual motors; determining the fourth fitness function according to the actual operating values ​​of the temperature of the first motor and the second motor in the dual motors.

[0014] The present invention constructs a corresponding fitness function by considering four operating parameters, namely, traction, current, temperature and efficiency, so as to meet the operating requirements under different operating modes and realize flexible distribution of torque.

[0015] In an optional embodiment, a first fitness function is determined based on the total required output torque and the actual operating values ​​of the traction force of the first motor and the second motor in the dual motor, including: obtaining the total required output torque of the dual motors, and determining the total required traction force based on the total required output torque; obtaining the first output torque and the second output torque provided by the first motor and the second motor respectively, and determining the first actual traction force and the second actual traction force provided by the first motor and the second motor respectively based on the first output torque and the second output torque, wherein the first actual traction force and the second actual traction force are actual operating values ​​of the traction force; calculating the difference between the total required traction force and the sum of the first actual traction force and the second actual traction force, and taking the ratio of the difference to the total required traction force as a traction loss factor; obtaining a traction force-torque correspondence, and determining the first fitness function based on the traction force-torque correspondence and the traction loss factor.

[0016] By constructing a fitness function of traction force, the present invention can obtain the actual relative relationship between traction force and torque during operation, thereby ensuring that torque distribution can meet the traction force requirements of the dual motors.

[0017] In an optional embodiment, a second fitness function is determined based on actual operating values ​​of the currents of the first motor and the second motor in the dual motor, including: respectively obtaining the current actual current and the actual current at the previous moment corresponding to the first motor and the second motor, wherein the current actual current and the actual current at the previous moment are the actual operating values ​​of the currents; determining a current-torque ratio based on the current actual current, the actual current at the previous moment, the first output torque, the second output torque and a preset current adjustment factor, and using the calculation formula of the current-torque ratio as the second fitness function.

[0018] The present invention can obtain the actual relative relationship between current and torque during operation by constructing the fitness function of current at different times, thereby ensuring that the torque distribution can meet the current requirements of the dual motors. In addition, adding a current adjustment factor when constructing the current fitness function can avoid the influence of the current fluctuation part on the fitness function.

[0019] In an optional embodiment, a third fitness function is determined based on the actual operating values ​​of the efficiencies of the first motor and the second motor in the dual motor, including: obtaining the rated efficiency, rated power and actual output power corresponding to the first motor and the second motor, wherein the actual output power is the actual operating value of the power corresponding to the efficiency; determining the efficiency correction value of the first motor and the second motor based on the rated efficiency, rated power, actual output power and efficiency adjustment factor; obtaining the power-torque correspondence, and determining the third fitness function based on the power-torque correspondence and the efficiency correction value.

[0020] The present invention constructs an efficiency fitness function according to the motor output power, and can obtain the actual relative relationship between the motor efficiency and the torque during operation, thereby ensuring that the torque distribution can meet the power requirements of the dual motors.

[0021] In an optional embodiment, a fourth fitness function is determined based on the actual operating values ​​of the temperatures of the first motor and the second motor in the dual motor, including: obtaining the current actual temperature of the first motor or the second motor and a preset temperature threshold, wherein the current actual temperature is the actual operating value of the temperature; comparing the current actual temperature with the preset temperature threshold, determining a temperature penalty function based on the comparison result and the temperature penalty factor, and using the temperature penalty function as the fourth fitness function.

[0022] By constructing a fitness function of the motor temperature, the present invention can obtain the actual relative relationship between the motor temperature and the torque during operation, thereby ensuring that the torque distribution can meet the temperature requirements of the dual motors. At the same time, a temperature penalty function is introduced to protect the motor life.

[0023] In an optional embodiment, a comprehensive fitness function is obtained based on the weight values ​​of preset operating parameters and the fitness function of the preset operating parameters, including: weighted summing the first fitness function, the second fitness function, the third fitness function and the fourth fitness function with the corresponding weight values ​​respectively to obtain a comprehensive fitness function; and determining the constraints of the comprehensive fitness function according to the torque distribution rule.

[0024] The present invention introduces multiple operating parameters to construct a comprehensive fitness function, which can comprehensively consider the operating process, meet the operating requirements of complex operating conditions, and achieve improvements in the energy efficiency and efficiency of the entire machine.

[0025] In an optional embodiment, the optimal torque distribution strategy for dual motors is determined based on a multi-parameter particle swarm optimization algorithm and a comprehensive fitness function, including: using the comprehensive fitness value corresponding to the comprehensive fitness function as a particle of the multi-parameter particle swarm optimization algorithm, and initializing the particle speed and particle position of the particle according to the constraint conditions; updating and iterating the particle speed and particle position based on the preset update strategy of the multi-parameter particle swarm optimization algorithm, and adjusting the inertia weight of the preset update strategy during the iteration process; when the maximum number of iterations is reached, or the preset convergence condition is reached, the minimum comprehensive fitness value is used as the global optimal result; and the first torque and the second torque in the optimal solution corresponding to the global optimal result are used as the optimal torque distribution strategy.

[0026] Through the particle swarm optimization algorithm, the present invention can find the optimal torque distribution strategy for the dual motors under the current operating mode based on operating parameters such as traction and current, thereby maintaining efficient energy utilization in a complex and changing environment.

[0027] In a second aspect, the present invention provides a dual-motor torque distribution device, the device comprising:

[0028] A parameter weight determination module, used for obtaining the operating mode of the dual motors and determining the weight values ​​of the preset operating parameters according to the operating mode, wherein the preset operating parameters include at least two of the following: traction, current, efficiency and temperature;

[0029] A first function building module, used to determine a fitness function of a preset operating parameter according to a total required output torque of the dual motors and / or an actual operating value of the preset operating parameter;

[0030] A second function building module is used to obtain a comprehensive fitness function according to the weight value of the preset operating parameter and the fitness function of the preset operating parameter;

[0031] The motor torque distribution module is used to determine the optimal torque distribution strategy for dual motors based on a multi-parameter particle swarm optimization algorithm and a comprehensive fitness function.

[0032] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the dual-motor torque distribution method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0033] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the dual-motor torque distribution method of the first aspect or any corresponding embodiment thereof.

[0034] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the dual-motor torque distribution method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1 is a schematic flow chart of a dual-motor torque distribution method according to an embodiment of the present invention;

[0037] Figure 2 is a schematic diagram of a specific process of a dual-motor torque distribution method according to an embodiment of the present invention;

[0038] Figure 3 is a flow chart of another dual-motor torque distribution method according to an embodiment of the present invention;

[0039] Figure 4 is a flow chart of another dual-motor torque distribution method according to an embodiment of the present invention;

[0040] Figure 5 is a schematic diagram of a particle swarm algorithm flow chart of another dual-motor torque distribution method according to an embodiment of the present invention;

[0041] Figure 6 is a structural block diagram of a dual-motor torque distribution device according to an embodiment of the present invention;

[0042] Figure 7 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0044] The embodiment of the present invention is applicable to the scenario where the torque of the two motors is flexibly distributed during the operation of a dual-motor electric loader. The embodiment of the present invention provides a dual-motor torque distribution method, which achieves the effect of flexibly distributing the torque according to the working mode and accurately controlling the motor by comprehensively optimizing according to multiple parameters.

[0045] According to an embodiment of the present invention, an embodiment of a method for distributing torque of a dual motor is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0046] In this embodiment, a dual-motor torque distribution method is provided, which can be used in a motor controller. Figure 1 : is a flow chart of a dual-motor torque distribution method according to an embodiment of the present invention, such as Figure 1 As shown, the process includes the following steps:

[0047] Step S101, obtaining the operating mode of the dual motors, and determining the weight values ​​of the preset operating parameters according to the operating mode, where the preset operating parameters include at least two of the following: traction, current, efficiency and temperature.

[0048] Specifically, in the embodiment of the present invention, the operation process of the dual motors involves multiple parameters, and the traction, current, efficiency and temperature that are closely related to the working mode are selected as the operating parameters involved in torque distribution. Among them, the working mode of the dual motors includes: heavy load mode, light load mode and economic mode. The weight value corresponding to each operating parameter is set in advance according to the specific operating conditions of the working mode through actual experiments. Figure 2 As shown, when performing dual-motor torque distribution, the current operating mode of the vehicle is first identified, and then the weight values ​​of the pre-operating parameters are obtained according to the operating mode. If it is found in actual application that the torque distribution effect is not ideal, the various weight values ​​can also be adjusted according to the actual situation. Therefore, the specific values ​​of the weight values ​​are not limited here, and only the relative relationship between the weights is described.

[0049] In some optional implementations, in heavy-load mode, the vehicle mainly handles high-load, high-power output conditions. To ensure that the vehicle can work in heavy-load mode, traction is considered first. Therefore, the weight value ω1 of traction set in the embodiment of the present invention is relatively large, the weight value ω2 of current and the weight value ω3 of efficiency are moderate, and the weight value ω4 of motor temperature also needs to be considered, because the motor temperature needs to be considered in various cases to ensure the safety of the motor, that is, ω1>ω2>ω3>ω4.

[0050] In some optional implementations, in light load mode, the vehicle operates under low load and low power consumption conditions. In this mode, the current utilization and efficiency should be emphasized, and the traction force only needs to meet the basic working requirements, and the power requirements for the whole vehicle are relatively low. Therefore, the weight value ω2 of the current and the weight value ω3 of the efficiency set in the embodiment of the present invention are relatively large, while the weight value ω1 of the traction force is relatively small, and the weight value ω4 of the motor temperature is also considered, that is, ω2>ω3>ω1>ω4.

[0051] In some optional implementations, in economic mode, current utilization is the key factor for optimization to ensure that energy consumption is reduced while maintaining system efficiency. Efficiency affects the effective use of power. High efficiency means less power waste, and appropriate traction is also required to meet basic operating requirements. Therefore, the weight value ω2 of current is the largest, and the weight values ​​of other indicators are relatively small to achieve the best energy efficiency performance, that is, ω2>ω3>ω1>ω4.

[0052] Step S102, determining the fitness function of the preset operating parameters according to the total required output torque of the dual motors and / or the actual operating values ​​of the preset operating parameters.

[0053] Specifically, in an embodiment of the present invention, in order to find the best torque distribution strategy that adapts to the current operating mode under different torque distribution strategies, the process of determining the torque distribution strategy according to various operating parameters is equivalent to the process of finding the global optimal solution to the problem through collaboration in the group, and therefore a multi-parameter particle swarm optimization algorithm is used to solve it. Among them, the particle swarm optimization algorithm (Particle Swarm Optimization, PSO) is a branch of evolutionary computing. It is a random search algorithm that simulates biological activities in nature, simulating the process of bird flocks and fish predation in nature. The particle swarm optimization algorithm is described using the example of bird flock foraging: In the particle swarm optimization algorithm, each bird in the flock is called a "particle", and like the bird, it has speed and position. A certain number of particles are randomly generated as valid solutions to the problem search space, and then an iterative search is performed. The fitness value of the particle is determined by the fitness function corresponding to the problem to obtain the optimization result. Therefore, if Figure 2 As shown, the present invention adopts a multi-parameter particle swarm optimization algorithm for torque distribution. It is necessary to first construct a corresponding fitness function according to the relationship between the actual operating values ​​of each operating parameter of the dual motors and the total required output torque, including a first fitness function corresponding to traction, a second fitness function corresponding to current, a third fitness function corresponding to efficiency, and a fourth fitness function corresponding to temperature.

[0054] Step S103, obtaining a comprehensive fitness function according to the weight values ​​of the preset operating parameters and the fitness function of the preset operating parameters.

[0055] Specifically, in an embodiment of the present invention, because traction, current, efficiency and temperature can comprehensively affect the operating state of the motor, the weight values ​​and fitness functions corresponding to each operating parameter are weighted and summed to obtain a comprehensive fitness function. Among them, the obtained comprehensive fitness function represents the corresponding relationship between the torque of each motor and the comprehensive fitness value. Although the temperature does not involve the torque distribution, it only affects the comprehensive fitness value of the comprehensive fitness function. However, it can ensure that the temperature can be comprehensively considered when distributing the torque, thereby extending the life of the motor. The comprehensive fitness function corresponds to the operating conditions of the dual motors. The smaller the comprehensive fitness value of the comprehensive fitness function, the more reasonable the torque distribution is at this time, and the energy consumption and efficiency of the dual motors are optimal.

[0056] Step S104, determining the optimal torque distribution strategy for the dual motors based on a multi-parameter particle swarm optimization algorithm and a comprehensive fitness function.

[0057] Specifically, in an embodiment of the present invention, the comprehensive fitness function is used as the objective function of torque optimization, and each corresponding comprehensive fitness value is used as a particle of the multi-parameter particle swarm optimization algorithm. Different fitness function values ​​represent different particles. By initializing the speed and position of each particle, and then updating according to the corresponding constraints, the historical best position of all particles can be finally obtained. At this time, the minimum comprehensive fitness value can be obtained, which is used as the global optimal result, and then the corresponding values ​​of the two torques in the comprehensive fitness function are determined according to the optimal solution corresponding to the global optimal result, that is, the optimal torque allocation strategy, and then the motor is controlled to run according to the corresponding torque. Most of the other parameters in the comprehensive fitness function can be directly obtained by looking up the table, or obtained by measurement, and the motor parameter table can be obtained by integrating the motor bench test, so the calculation amount of the entire algorithm can be reduced.

[0058] The dual-motor torque distribution method provided by the embodiment of the present invention determines the weight values ​​of different preset operating parameters according to the working mode, determines the fitness function of the preset operating parameters according to the total required output torque of the dual motors and / or the actual operating value of the preset operating parameters, obtains the comprehensive fitness function according to the weight values ​​of the preset operating parameters and the fitness function, and determines the optimal torque distribution strategy of the dual motors based on the multi-parameter particle swarm optimization algorithm and the comprehensive fitness function. By distributing torque according to the working mode of the dual motors, the present invention can obtain a reasonable optimal torque distribution strategy, accurately control the dual motors, adapt to the complex operating conditions of the dual motors, and ensure the efficient operation of the electric loader under various conditions.

[0059] In this embodiment, a dual-motor torque distribution method is provided, which can be used in a motor controller. Figure 3 : is a flow chart of a dual-motor torque distribution method according to an embodiment of the present invention, such as Figure 3 As shown, the process includes the following steps:

[0060] Step S301, obtaining the operating mode of the dual motors, and determining the weight values ​​of the preset operating parameters according to the operating mode, wherein the preset operating parameters include at least two of the following: traction, current, efficiency and temperature. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.

[0061] Step S302: determining a fitness function of the preset operating parameters according to the total required output torque of the dual motors and / or the actual operating values ​​of the preset operating parameters.

[0062] Specifically, the above step S302 includes:

[0063] Step S3021, determining a first fitness function according to the total required output torque of the dual motors and the actual operating values ​​of the traction forces of the first motor and the second motor in the dual motors.

[0064] Specifically, in an embodiment of the present invention, the first fitness function for the traction force part is considered from the aspect of traction force loss, that is, the traction force loss is constructed according to the total required traction force F of the dual motors and the actual operating values ​​F1 and F2 of the traction forces provided by the two motors, and the first fitness function is obtained based on the correspondence between traction force and torque.

[0065] In some optional implementations, the above step S3021 includes:

[0066] Step a1, obtaining the total required output torque of the dual motors, and determining the total required traction force according to the total required output torque.

[0067] Step a2, obtaining the first output torque and the second output torque respectively provided by the first motor and the second motor, and determining the first actual traction force and the second actual traction force respectively provided by the first motor and the second motor based on the first output torque and the second output torque, wherein the first actual traction force and the second actual traction force are actual operating values ​​of the traction force.

[0068] Step a3: Calculate the difference between the total required traction force and the sum of the first actual traction force and the second actual traction force, and use the ratio of the difference to the total required traction force as the traction force loss factor.

[0069] Step a4, obtaining a traction force torque correspondence relationship, and determining a first fitness function according to the traction force torque correspondence relationship and a traction force loss factor.

[0070] Specifically, in the embodiment of the present invention, the total required output torque corresponding to the accelerator and brake pedal depression angles is output, and the total required output torque T is output according to the total required output torque T. acc The total required traction force F of the dual motors is calculated. The motor controller distributes the total required traction force F to motor A and motor B. After receiving the traction force input command, motor A and motor B operate according to the command. However, due to the loss of the motor and the transmission system, the motor transmission efficiency is less than 1, resulting in the actual traction forces F1 and F2 provided by motor A and motor B, respectively, being less than the corresponding traction force input command, thereby causing traction force loss. In this embodiment of the present invention, the difference between the total required traction force F and the sum of the actual traction forces F1 and F2 provided by the two motors is used as the traction force loss F. loss , and the traction loss F loss The ratio of the total required traction force F is taken as the traction force loss factor β, and the formula is as follows:

[0071] F loss =F-(F1+F2)

[0072]

[0073] In some optional implementations, the embodiment of the present invention obtains the traction force torque correspondence, and brings the correspondence into the calculation formula of the traction force loss factor β to obtain the first fitness function. The specific formula is as follows:

[0074]

[0075] Wherein, T is the total required output torque, T1 and T2 are the torques corresponding to motor A and motor B, r is the wheel radius, i is the transmission ratio, η1 and η2 are the transmission efficiencies corresponding to the two motors, and the embodiment of the present invention supports the same and different types of dual-motor drive structures. According to the simplified formula of the first fitness function, the traction loss factor can be converted into the relationship between torque and efficiency, so there is no need to obtain or calculate the traction of the motor in actual operation.

[0076] Step S3022, determining a second fitness function according to actual operating values ​​of the currents of the first motor and the second motor in the dual motors.

[0077] Specifically, in the embodiment of the present invention, the current-torque ratio is used as the objective function with respect to the relative relationship between the current and the torque of the motor in consideration of the characteristics of the motor.

[0078] In some optional implementations, the above step S3022 includes:

[0079] Step b1, respectively obtaining the current actual current and the actual current at the previous moment corresponding to the first motor and the second motor, wherein the current actual current and the actual current at the previous moment are actual operating values ​​of the current.

[0080] Step b2, determining the current-torque ratio according to the current actual current, the actual current at the previous moment, the first output torque, the second output torque and the preset current adjustment factor, and using the calculation formula of the current-torque ratio as the second fitness function.

[0081] Specifically, in the embodiment of the present invention, the current actual current I of motor A and motor B is obtained according to the matching table of torque in motor characteristics. j and the actual current I at the previous moment f , and the current fluctuation is expressed by calculating the RMS of the two. The current-torque ratio is determined based on the current fluctuation, so as to select the torque distribution method when the current fluctuation is small. The specific formula is as follows:

[0082]

[0083] Among them, T jis the output torque corresponding to the actual traction of motor A or motor B. The values ​​of each part in the above formula are in the form of ratios, and the values ​​are all between 0 and 1. In order to avoid the influence of the current combustion part, the embodiment of the present invention adds the current adjustment factor to the current fluctuation part. Adjust the current regulation factor according to the actual current variation range The size of the current fluctuation is avoided so that the current fluctuation part value is too large and the other parts are not obvious. Therefore, the current torque ratio is adjusted as shown in the following formula, and this formula is used as the second fitness function corresponding to the current:

[0084]

[0085] Step S3023, determining a third fitness function according to actual operating values ​​of the efficiencies of the first motor and the second motor in the dual motors.

[0086] Specifically, in an embodiment of the present invention, the fitness function of the efficiency part involves efficiency correction, and the efficiency correction value is determined according to the rated efficiency, rated power and actual output power of the motor, and then the third fitness function is determined according to the correspondence between the efficiency correction value and the power-torque.

[0087] In some optional implementations, the above step S3023 includes:

[0088] Step c1, obtaining the rated efficiency, rated power and actual output power corresponding to the first motor and the second motor, wherein the actual output power is the actual operating value of the power corresponding to the efficiency.

[0089] Step c2, determining the efficiency correction values ​​of the first motor and the second motor according to the rated efficiency, the rated power, the actual output power and the efficiency adjustment factor.

[0090] Step c3, obtaining the power-torque correspondence, and determining the third fitness function according to the power-torque correspondence and the efficiency correction value.

[0091] Specifically, in the embodiment of the present invention, the rated efficiency η0 and the rated power P0 of the motor A or the motor B are obtained, and the actual output power P of the motor is obtained. out , thus according to the rated power P0 and the actual output power P out Correct the rated efficiency η0 to obtain the actual efficiency η of motor A or motor B j , the correction formula is as follows:

[0092]

[0093] Wherein, k is a positive or negative efficiency adjustment factor determined by the efficiency curve. The embodiment of the present invention tests the motor to obtain a series of motor output powers and corresponding efficiencies, and fits the data into a straight line through linear regression to determine the efficiency adjustment factor k.

[0094] In some optional implementations, the embodiment of the present invention obtains the corresponding relationship between power and torque, and brings the corresponding relationship into the above efficiency correction formula. The specific formula is as follows:

[0095]

[0096] In some optional implementations, the present invention uses a motor efficiency map (through a motor bench test, the motor torque, speed and efficiency are obtained and integrated) and an efficiency fitting curve to determine the corrected efficiency to find the maximum efficiency and introduce the optimal torque distribution scheme. However, considering that the final fitness function takes the minimum value, the power consumption η caused by the efficiency correction is loss As the third fitness function, the specific formula is as follows:

[0097]

[0098] Step S3024: determining a fourth fitness function according to actual operating values ​​of the temperatures of the first motor and the second motor in the dual motors.

[0099] Specifically, in the embodiment of the present invention, considering that temperature will affect the life of the motor, the motor temperature is taken into consideration when distributing torque. At the same time, in order to reduce the amount of calculation, a temperature penalty function is selected as the fourth fitness function corresponding to the temperature.

[0100] In some optional implementations, the above step S3024 includes:

[0101] Step d1, obtaining the current actual temperature and a preset temperature threshold of the first motor or the second motor, wherein the current actual temperature is the actual operating value of the temperature.

[0102] Step d2, comparing the current actual temperature with the preset temperature threshold, determining a temperature penalty function based on the comparison result and the temperature penalty factor, and using the temperature penalty function as the fourth fitness function.

[0103] Specifically, in the embodiment of the present invention, the current temperature W of the motor A or the motor B is measured, and the current temperature W of the motor A or the motor B is measured according to the set temperature threshold T fr The temperature penalty function is divided into two sections: when the current temperature W is less than the set temperature threshold T fr When the temperature penalty function does not work; the current temperature W exceeds the temperature threshold T frThe square of the temperature difference increases with the temperature, and when it exceeds the temperature threshold T fr The more, the greater the penalty function, thus affecting the value of the fitness function. In order to increase the influence of the temperature part on the fitness function, the embodiment of the present invention adds a temperature penalty factor to the temperature penalty function, so that motor A or motor B quickly moves to the torque distribution strategy with low temperature, thereby protecting the motor. The specific formula is as follows:

[0104]

[0105] In some optional embodiments, the fitness function corresponding to the temperature of the embodiment of the present invention does not involve the distribution of torque, and the role of the temperature penalty function is only to affect the value of the comprehensive fitness function, thereby affecting the global optimal result, so that the torque distribution strategy with lower temperature is selected.

[0106] Step S303, obtaining a comprehensive fitness function according to the weight values ​​of the preset operating parameters and the fitness function of the preset operating parameters.

[0107] Specifically, the above step S303 includes:

[0108] Step S3031, performing weighted summation on the first fitness function, the second fitness function, the third fitness function and the fourth fitness function with corresponding weight values ​​respectively to obtain a comprehensive fitness function.

[0109] Specifically, in the embodiment of the present invention, different operating parameters correspond to different fitness functions and different weight values. By weighted summing up the fitness functions, a comprehensive fitness function can be obtained, and the comprehensive fitness function can reflect the comprehensive influence of the values ​​of various operating parameters on the operating conditions of the dual motors under different working modes, so that the dual motors can work according to the optimal torque distribution strategy and improve the energy efficiency of the dual motors. The formula of the comprehensive fitness function is as follows:

[0110]

[0111] Step S3032, determining the constraint conditions of the comprehensive fitness function according to the torque distribution rule.

[0112] Specifically, in the embodiment of the present invention, the total required output torque T acc As the sum of the torques T1 and T2 corresponding to motor A and motor B, motor A is used as the main working motor, its torque T1 is greater than the torque T2 of motor B, and the torques of the two motors do not exceed the maximum torque T max , according to the above torque distribution rule, the constraint conditions of the comprehensive fitness function are determined, and the formula is as follows:

[0113]

[0114] Step S304: Determine the optimal torque distribution strategy for the dual motors based on the multi-parameter particle swarm optimization algorithm and the comprehensive fitness function. Figure 1 Step S104 of the illustrated embodiment will not be described in detail here.

[0115] The dual-motor torque distribution method provided by the embodiment of the present invention determines the weight values ​​of different preset operating parameters according to the working mode, determines the fitness function of the preset operating parameters according to the total required output torque of the dual motors and / or the actual operating value of the preset operating parameters, obtains the comprehensive fitness function according to the weight values ​​of the preset operating parameters and the fitness function, and determines the optimal torque distribution strategy of the dual motors based on the multi-parameter particle swarm optimization algorithm and the comprehensive fitness function. By distributing torque according to the working mode of the dual motors, the present invention can obtain a reasonable optimal torque distribution strategy, adapt to the complex operating conditions of the dual motors, and ensure the efficient operation of the electric loader under various conditions.

[0116] In this embodiment, a dual-motor torque distribution method is provided, which can be used in a motor controller. Figure 4 : is a flow chart of a dual-motor torque distribution method according to an embodiment of the present invention, such as Figure 4 As shown, the process includes the following steps:

[0117] Step S401, obtaining the operating mode of the dual motors, and determining the weight values ​​of the preset operating parameters according to the operating mode, wherein the preset operating parameters include at least two of the following: traction, current, efficiency and temperature. Figure 3 Step S301 of the illustrated embodiment will not be described in detail here.

[0118] Step S402: Determine the fitness function of the preset operating parameters according to the total required output torque of the dual motors and / or the actual operating value of the preset operating parameters. Figure 3 Step S302 of the illustrated embodiment will not be described in detail here.

[0119] Step S403: Obtain a comprehensive fitness function based on the weight values ​​of the preset operating parameters and the fitness function of the preset operating parameters. Figure 3 Step S303 of the illustrated embodiment will not be described in detail here.

[0120] Step S404, determining the optimal torque distribution strategy for the dual motors based on a multi-parameter particle swarm optimization algorithm and a comprehensive fitness function.

[0121] Specifically, the above step S404 includes:

[0122] Step S4041, taking the comprehensive fitness value corresponding to the comprehensive fitness function as the particle of the multi-parameter particle swarm optimization algorithm, and initializing the particle velocity and particle position of the particle according to the constraint condition.

[0123] Specifically, in the embodiment of the present invention, the comprehensive fitness value is used as the particle of the multi-parameter particle swarm optimization algorithm, the torques T1 and T2 are randomly set according to the constraints, and the particle speed and particle position are initialized according to the torques T1 and T2, as shown below:

[0124] (1) Particle position initialization range:

[0125] T1=T 1min +(T 1max -T 1min )*rand(0,1)

[0126] T2=T 2min +(T 2max -T 2min )*rand(0,1)

[0127] Among them, T min is the minimum value of the motor’s allowable torque, T max is the maximum value of the motor’s allowable torque. The allowable range of different motors may vary. When the minimum random number is 0, the particle position T = T min , when the maximum random number is 1, the particle position T = T max , therefore, the torque that can be randomly generated is limited to the allowable torque range, ensuring that the position initialization is within the required range.

[0128] (2) Particle velocity initialization range:

[0129] V1=V 1min +(V 1max -V 1min )*rand(0,1)

[0130] V2=V 2min +(V 2max -V 2min )*rand(0,1)

[0131] V max =0.1×(T max -T min )

[0132] V min =-T max

[0133] The particle velocity initialization is similar to the particle position initialization. When the random number is 0, the initialized particle velocity is the minimum velocity, and when the random number is 1, the initialized particle velocity is the maximum velocity. In the above formula, 0.1 is not a fixed value when setting the extreme value of the particle velocity. It is only used as an example and is not limited to this. It can be adjusted according to the situation. Multiplying by 0.1 is to make the moving step of the particle velocity smaller and explore the space more comprehensively. The advantage is that when approaching the optimal solution, it can better find the optimal solution.

[0134] (3) Boundary limits of particle position and particle velocity:

[0135] For particle position x: when the particle position is less than T min When the position is updated to T min , when the particle position is greater than T max When the position is updated to T max , the rest of the cases are updated normally according to the formula.

[0136] The particle speed limit is similar. When the particle speed is less than V min When the speed is updated to V min , when the particle speed is greater than V max When V max , the rest of the cases are updated normally according to the above formula.

[0137] Step S4042, updating and iterating the particle velocity and particle position based on the preset update strategy of the multi-parameter particle swarm optimization algorithm, and adjusting the inertia weight of the preset update strategy during the iteration process.

[0138] Specifically, in the embodiment of the present invention, each particle represents a candidate solution and moves in the search space determined by the constraints to find the best solution. The movement of the particle is determined by the following factors:

[0139] 1. The particle's speed at the last moment: The particle's current speed depends in part on its speed at the last moment;

[0140] 2. The particle’s own historical best position: the particle’s best position in the current iteration, and it has a tendency to move toward this position, so that the particle explores the area where it thinks the best solution may be;

[0141] 3. The best historical position of all particles: the best position found by all particles. Each particle has the opportunity to move towards the global best position of the entire group. The collaboration of the group can find the global optimal solution faster.

[0142] In some optional embodiments, such as Figure 5As shown, the embodiment of the present invention updates and iterates the particle velocity and particle position based on the preset update strategy of the multi-parameter particle swarm optimization algorithm, and the preset update strategy satisfies the following formula:

[0143]

[0144] x i (k+1)=x i (k)+v i (k+1)

[0145] Among them, v i is the particle velocity, x i is the particle position, ω is the inertia weight, whose size determines the influence of the particle's previous speed, c1 and c2 are self-learning factors and social learning factors, respectively, which control the speed at which the particle moves to its own optimal and global optimal positions, r1 and r2 are random numbers between [0, 1] to avoid falling into local optimality, is the historical optimal position of the particle, is the optimal position of the current particle, It is the global optimal historical position and the optimal position among all particles. In the iteration process, it is determined whether the speed exceeds the speed threshold. If it is within the threshold range, the particle speed value is updated. If it exceeds the threshold, the speed is set to the threshold. The specific process is a conventional technical means of the multi-parameter particle swarm optimization algorithm, which will not be repeated here.

[0146] In some optional implementations, in order to prevent the algorithm from reaching a local optimum, such as Figure 5 As shown, the embodiment of the present invention adjusts the inertia weight ω during the iteration process, thereby adjusting the speed update strategy: at the beginning of the iteration, a larger speed is required to ensure that the function converges quickly, so a larger inertia weight ω is required to generate exploration behavior; and as the number of iterations increases, the inertia weight ω should be gradually reduced to generate the particle's exploration behavior. Therefore, in order to make the inertia weight ω adaptively change linearly during the entire iteration process, the specific formula is as follows:

[0147]

[0148] Among them, ω(k) is the inertia weight of the kth step, ω Max and ω min are the maximum and minimum values ​​of the inertia weight, respectively, and K and k are the maximum and current iteration numbers, respectively.

[0149] Step S4043, when the maximum number of iterations is reached, or the preset convergence condition is reached, the minimum comprehensive fitness value is taken as the global optimal result.

[0150] Specifically, in the embodiment of the present invention, Figure 5As shown, for the iteration termination condition, when the maximum number of iterations or the convergence condition is reached, the global optimal result is used as the minimum comprehensive fitness value to obtain the current optimal torque distribution strategy as the best control solution. For the convergence condition, after each iteration, the embodiment of the present invention calculates the objective function value corresponding to the comprehensive fitness function and calculates the difference threshold, and the formula is as follows:

[0151]

[0152] Among them, σ is the percentage change of the comprehensive fitness function. When σ is lower than the set difference threshold for multiple consecutive times, it is considered that the current fitness function value converges, and the current iteration result is output as the optimal torque distribution strategy.

[0153] Step S4044: taking the first torque and the second torque in the optimal solution corresponding to the global optimal result as the optimal torque distribution strategy.

[0154] Specifically, in an embodiment of the present invention, the minimum comprehensive fitness value obtained is the global optimal result, and T1 and T2 in the optimal solution corresponding to the global optimal result are the optimal torque distribution strategies for motor A and motor B, thereby controlling motor A and motor B to operate according to T1 and T2 respectively.

[0155] The dual-motor torque distribution method provided by the embodiment of the present invention determines the weight values ​​of different preset operating parameters according to the working mode, determines the fitness function of the preset operating parameters according to the total required output torque of the dual motors and / or the actual operating value of the preset operating parameters, obtains the comprehensive fitness function according to the weight values ​​of the preset operating parameters and the fitness function, and determines the optimal torque distribution strategy of the dual motors based on the multi-parameter particle swarm optimization algorithm and the comprehensive fitness function. By distributing torque according to the working mode of the dual motors, the present invention can obtain a reasonable optimal torque distribution strategy, adapt to the complex operating conditions of the dual motors, and ensure the efficient operation of the electric loader under various conditions.

[0156] In this embodiment, a dual-motor torque distribution device is also provided, which is used to implement the above-mentioned embodiments and preferred implementations, and will not be repeated here. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0157] This embodiment provides a dual-motor torque distribution device, such as Figure 6 As shown, including:

[0158] The parameter weight determination module 601 is used to obtain the operating mode of the dual motors and determine the weight values ​​of the preset operating parameters according to the operating mode. The preset operating parameters include at least two of the following: traction, current, efficiency and temperature.

[0159] The first function building module 602 is used to determine the fitness function of the preset operating parameters according to the total required output torque of the dual motors and / or the actual operating value of the preset operating parameters.

[0160] The second function building module 603 is used to obtain a comprehensive fitness function according to the weight value of the preset operating parameter and the fitness function of the preset operating parameter.

[0161] The motor torque distribution module 604 is used to determine the optimal torque distribution strategy for the dual motors based on a multi-parameter particle swarm optimization algorithm and a comprehensive fitness function.

[0162] In some optional embodiments, the parameter weight determination module 601 includes: when in any operating mode, using a preset first weight value as the actual weight of traction, using a preset second weight value as the actual weight of current, using a preset third weight value as the actual weight of efficiency, and using a preset fourth weight value as the actual weight of temperature, wherein, when the operating mode is a heavy load mode, the first weight value is greater than the second weight value, the second weight value is greater than the third weight value, and the third weight value is greater than the fourth weight value; when the operating mode is a light load mode or an economic mode, the second weight value is greater than the third weight value, the third weight value is greater than the first weight value, and the first weight value is greater than the fourth weight value.

[0163] In some optional implementations, the first function building module 602 includes:

[0164] The first function building unit is used to determine a first fitness function according to the total required output torque of the dual motors and the actual operating values ​​of the traction forces of the first motor and the second motor in the dual motors.

[0165] The second function building unit is used to determine the second fitness function according to the actual operating values ​​of the currents of the first motor and the second motor in the dual motors.

[0166] The third function construction unit is used to determine a third fitness function according to actual operating values ​​of the efficiencies of the first motor and the second motor in the dual motors.

[0167] The fourth function building unit is used to determine a fourth fitness function according to actual operating values ​​of the temperatures of the first motor and the second motor in the dual motors.

[0168] In some optional implementations, the first function construction unit includes:

[0169] The first traction force acquisition subunit is used to acquire the total required output torque of the dual motors and determine the total required traction force according to the total required output torque.

[0170] The second traction force acquisition subunit is used to acquire the first output torque and the second output torque provided by the first motor and the second motor respectively, and determine the first actual traction force and the second actual traction force provided by the first motor and the second motor respectively according to the first output torque and the second output torque, wherein the first actual traction force and the second actual traction force are actual operating values ​​of the traction force.

[0171] The traction force loss factor calculation subunit is used to calculate the difference between the total required traction force and the sum of the first actual traction force and the second actual traction force, and use the ratio of the difference to the total required traction force as the traction force loss factor.

[0172] The first fitness function determination subunit is used to obtain the traction force torque correspondence relationship and determine the first fitness function according to the traction force torque correspondence relationship and the traction force loss factor.

[0173] In some optional implementations, the second function construction unit includes:

[0174] The current acquisition subunit is used to respectively acquire the current actual current and the actual current at the previous moment corresponding to the first motor and the second motor, wherein the current actual current and the actual current at the previous moment are actual operating values ​​of the current.

[0175] The second fitness function determination subunit is used to determine the current-torque ratio according to the current actual current, the actual current at the previous moment, the first output torque, the second output torque and the preset current adjustment factor, and use the calculation formula of the current-torque ratio as the second fitness function.

[0176] In some optional implementations, the third function construction unit includes:

[0177] The efficiency acquisition subunit is used to obtain the rated efficiency, rated power and actual output power corresponding to the first motor and the second motor, wherein the actual output power is the actual operating value of the power corresponding to the efficiency.

[0178] The efficiency correction value calculation subunit is used to determine the efficiency correction values ​​of the first motor and the second motor according to the rated efficiency, the rated power, the actual output power and the efficiency adjustment factor.

[0179] The third fitness function determination subunit is used to obtain the power-torque correspondence relationship and determine the third fitness function according to the power-torque correspondence relationship and the efficiency correction value.

[0180] In some optional implementations, the fourth function construction unit includes:

[0181] The temperature acquisition subunit is used to acquire the current actual temperature of the first motor or the second motor and a preset temperature threshold, wherein the current actual temperature is the actual operating value of the temperature.

[0182] The fourth fitness function determination subunit is used to compare the current actual temperature with the preset temperature threshold, determine the temperature penalty function based on the comparison result and the temperature penalty factor, and use the temperature penalty function as the fourth fitness function.

[0183] In some optional implementations, the second function construction module 603 includes:

[0184] The comprehensive fitness function determination unit is used to perform weighted summation on the first fitness function, the second fitness function, the third fitness function and the fourth fitness function with corresponding weight values ​​respectively to obtain a comprehensive fitness function.

[0185] The constraint condition determination unit is used to determine the constraint condition of the comprehensive fitness function according to the torque distribution rule.

[0186] In some optional implementations, the motor torque distribution module 604 includes:

[0187] The initialization unit is used to use the comprehensive fitness value corresponding to the comprehensive fitness function as a particle of the multi-parameter particle swarm optimization algorithm, and initialize the particle speed and particle position of the particle according to the constraint condition.

[0188] The update iteration unit is used to update and iterate the particle speed and particle position based on the preset update strategy of the multi-parameter particle swarm optimization algorithm, and adjust the inertia weight of the preset update strategy during the iteration process.

[0189] The iteration end judgment unit is used to take the minimum comprehensive fitness value as the global optimal result when the maximum number of iterations is reached or the preset convergence condition is reached.

[0190] The allocation strategy determination unit is used to use the first torque and the second torque in the optimal solution corresponding to the global optimal result as the optimal torque allocation strategy.

[0191] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0192] The dual-motor torque distribution device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above-mentioned functions.

[0193] The embodiment of the present invention also provides a computer device having the above Figure 6 The dual-motor torque distribution device is shown.

[0194] See also Figure 7 , Figure 7 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 7 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 7 A processor 10 is taken as an example.

[0195] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0196] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0197] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0198] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0199] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0200] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0201] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0202] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for distributing torque of dual motors, characterized in that: The method comprises: Acquire the operating mode of the dual motors, and determine the weight values ​​of preset operating parameters according to the operating mode, wherein the preset operating parameters include at least two of the following: traction, current, efficiency and temperature; Determining a fitness function of the preset operating parameter according to the total required output torque of the dual motors and / or the actual operating value of the preset operating parameter; Obtaining a comprehensive fitness function according to the weight values ​​of the preset operating parameters and the fitness function of the preset operating parameters; The optimal torque distribution strategy for the dual motors is determined based on a multi-parameter particle swarm optimization algorithm and the comprehensive fitness function.

2. The method according to claim 1, characterized in that The operating modes include: heavy load mode, light load mode and economic mode, and the weight values ​​of preset operating parameters are determined according to the operating modes, including: When in any of the working modes, the preset first weight value is used as the actual weight of the traction force, the preset second weight value is used as the actual weight of the current, the preset third weight value is used as the actual weight of the efficiency, and the preset fourth weight value is used as the actual weight of the temperature, wherein: When the operating mode is the heavy load mode, the first weight value is greater than the second weight value, the second weight value is greater than the third weight value, and the third weight value is greater than the fourth weight value; When the operating mode is the light load mode or the economic mode, the second weight value is greater than the third weight value, the third weight value is greater than the first weight value, and the first weight value is greater than the fourth weight value.

3. The method according to claim 1, characterized in that The fitness function includes: a first fitness function, a second fitness function, a third fitness function and a fourth fitness function; The step of determining the fitness function of the preset operating parameter according to the total required output torque of the dual motors and / or the actual operating value of the preset operating parameter comprises: determining the first fitness function according to the total required output torque of the dual motors and actual operating values ​​of the traction forces of the first motor and the second motor of the dual motors; Determining the second fitness function according to actual operating values ​​of the currents of the first motor and the second motor in the dual motors; Determining the third fitness function according to actual operating values ​​of the efficiencies of the first motor and the second motor in the dual motors; The fourth fitness function is determined according to actual operating values ​​of the temperatures of the first motor and the second motor in the dual motors.

4. The method according to claim 3, characterized in that The determining the first fitness function according to the total required output torque and the actual operating values ​​of the traction forces of the first motor and the second motor in the dual motors includes: Acquiring a total required output torque of the dual motors, and determining a total required traction force according to the total required output torque; Acquire a first output torque and a second output torque respectively provided by the first motor and the second motor, and determine a first actual traction force and a second actual traction force respectively provided by the first motor and the second motor according to the first output torque and the second output torque, wherein the first actual traction force and the second actual traction force are actual operating values ​​of the traction force; calculating a difference between the total required traction force and the sum of the first actual traction force and the second actual traction force, and taking a ratio of the difference to the total required traction force as a traction force loss factor; A traction force torque correspondence relationship is obtained, and a first fitness function is determined according to the traction force torque correspondence relationship and the traction force loss factor.

5. The method according to claim 4, characterized in that The determining the second fitness function according to the actual operating values ​​of the currents of the first motor and the second motor in the dual motors includes: Respectively obtaining the current actual current and the actual current at the last moment corresponding to the first motor and the second motor, wherein the current actual current and the actual current at the last moment are actual operating values ​​of the current; The current-torque ratio is determined according to the current actual current, the actual current at the previous moment, the first output torque, the second output torque and a preset current adjustment factor, and a calculation formula of the current-torque ratio is used as a second fitness function.

6. The method according to claim 3, characterized in that The determining the third fitness function according to the actual operating values ​​of the efficiencies of the first motor and the second motor in the dual motors comprises: Obtaining the rated efficiency, rated power, and actual output power corresponding to the first motor and the second motor, wherein the actual output power is an actual operating value of the power corresponding to the efficiency; Determining efficiency correction values ​​of the first motor and the second motor according to the rated efficiency, the rated power, the actual output power and the efficiency adjustment factor; A power-torque correspondence is acquired, and a third fitness function is determined according to the power-torque correspondence and the efficiency correction value.

7. The method according to claim 3, characterized in that The determining the fourth fitness function according to the actual operating values ​​of the temperatures of the first motor and the second motor in the dual motors includes: Acquire a current actual temperature and a preset temperature threshold of the first motor or the second motor, wherein the current actual temperature is an actual operating value of the temperature; The current actual temperature is compared with the preset temperature threshold, a temperature penalty function is determined based on the comparison result and a temperature penalty factor, and the temperature penalty function is used as a fourth fitness function.

8. The method according to claim 3, characterized in that The step of obtaining a comprehensive fitness function according to the weight values ​​of the preset operating parameters and the fitness function of the preset operating parameters comprises: Performing weighted summation on the first fitness function, the second fitness function, the third fitness function and the fourth fitness function with corresponding weight values ​​respectively to obtain a comprehensive fitness function; The constraint conditions of the comprehensive fitness function are determined according to the torque distribution rule.

9. The method according to claim 8, characterized in that The method of determining the optimal torque distribution strategy of the dual motors based on the multi-parameter particle swarm optimization algorithm and the comprehensive fitness function includes: Using the comprehensive fitness value corresponding to the comprehensive fitness function as a particle of the multi-parameter particle swarm optimization algorithm, and initializing the particle velocity and particle position of the particle according to the constraint condition; Iterate the particle velocity and the particle position based on a preset update strategy of a multi-parameter particle swarm optimization algorithm, and adjust the inertia weight of the preset update strategy during the iteration process; When the maximum number of iterations is reached, or the preset convergence condition is reached, the minimum comprehensive fitness value is taken as the global optimal result; The first torque and the second torque in the optimal solution corresponding to the global optimal result are used as the optimal torque distribution strategy.

10. A dual-motor torque distribution device, characterized in that: The device comprises: a parameter weight determination module, used for obtaining the operating mode of the dual motors, and determining the weight values ​​of the preset operating parameters according to the operating mode, wherein the preset operating parameters include at least two of the following: traction, current, efficiency and temperature; A first function building module, used to determine the fitness function of the preset operating parameter according to the total required output torque of the dual motors and / or the actual operating value of the preset operating parameter; A second function construction module, used to obtain a comprehensive fitness function according to the weight value of the preset operating parameter and the fitness function of the preset operating parameter; The motor torque distribution module is used to determine the optimal torque distribution strategy of the dual motors based on a multi-parameter particle swarm optimization algorithm and the comprehensive fitness function.

11. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the dual-motor torque distribution method described in any one of claims 1 to 9 by executing the computer instructions.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the dual-motor torque distribution method according to any one of claims 1 to 9.

13. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the dual-motor torque distribution method according to any one of claims 1 to 9.

Citation Information

Cited By

  • Method, device and equipment for controlling high-speed motor

    CN119382423A