Motor speed regulation control method and device, vehicle and storage medium
By calculating the electric energy parameters of the vehicle battery and high-voltage accessories, and adjusting the motor power, the problem of unstable motor power control in electric vehicles is solved, the stability of the battery and other motors is improved, and the user experience and vehicle safety are ensured.
Patent Information
- Application Number
- CN202410770297.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-06-14
AI Technical Summary
In electric vehicles, the speed regulation and shifting of the front-wheel drive motor and the rear-wheel drive motor are relatively independent, resulting in unstable motor power control, which may lead to over-power operation of the battery and a reduction in the power of the remaining motors, affecting the user's driving experience and vehicle safety.
By obtaining the electric energy parameters of the battery and high-voltage accessories in the vehicle, calculate the current and power of the target motor, limit the power of the target motor to avoid over-power operation of the battery, and adjust the current and power of the target motor according to the current and power of the remaining motors to Ensure stable operation of the battery and remaining motors.
It effectively prevents the battery from over-power operation, avoids the impact on the remaining motors, improves the user's driving experience and the safety and stability of the vehicle, and at the same time improves the vehicle's fault tolerance rate.
Smart Images

Figure CN118665200A
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicles, and more specifically, to a method, device, vehicle and storage medium for controlling motor speed regulation in the field of vehicles. Background Art
[0002] With the popularity of electric vehicles, more and more people choose to drive electric vehicles for travel. When the electric vehicle is speeding and shifting, the motor and the shift controller interact. Since the speed and shifting of the front drive motor and the rear drive motor are relatively independent, the motor power control is unstable. Therefore, power control during debugging and shifting is an urgent problem to be solved. Summary of the invention
[0003] The present application provides a motor speed control method, device, vehicle and storage medium. The method can prevent the battery from over-powering and causing unnecessary damage to the battery by limiting the power of the target motor, while avoiding affecting the operation of other motors and the user's driving experience, thereby improving the user's driving experience and the safety and stability of the vehicle.
[0004] In a first aspect, a method for controlling motor speed regulation is provided, the method comprising:
[0005] In response to a speed control instruction for a target motor, obtaining a battery power parameter of a battery in a vehicle and an accessory power parameter of a high-voltage accessory in the vehicle, wherein the target motor is any one of a front drive motor and a rear drive motor of the vehicle;
[0006] Calculating a numerical relationship between the battery power parameter and the accessory power parameter, and obtaining a first current of the target motor based on the numerical relationship;
[0007] Acquire execution currents and execution powers of other motors in the vehicle, and determine the difference between the first current and the execution current as the second current of the target motor, wherein the other motors are other motors in the vehicle except the target motor;
[0008] Obtain a comparison result between the battery power in the battery power parameter and the execution power, determine a target current of the target motor from the first current and the second current based on the comparison result, and control the target motor to adjust the speed using a target power corresponding to the target current.
[0009] Through the above technical scheme, it is possible to obtain the electrical energy parameters of the battery and high-voltage accessories in the vehicle for calculation, and obtain the current that can be used by the target motor without considering the other motors. Then, based on the current and power of the other motors, the target power that can be used by the target motor without causing the battery to operate at overpower and without affecting the other motors is obtained. Therefore, by limiting the power of the target motor, it is possible to prevent the battery from operating at overpower and causing unnecessary damage to the battery, while avoiding affecting the operation of the other motors and affecting the user's driving experience, thereby improving the user's driving experience and the safety and stability of the vehicle.
[0010] In combination with the first aspect, in some possible implementations, calculating the numerical relationship between the battery power parameter and the accessory power parameter, and obtaining the first current of the target motor based on the numerical relationship, includes:
[0011] Obtaining a battery current of the battery based on a quotient of a battery power and a battery voltage in the battery power parameters;
[0012] Determine the limiting current of the battery based on the calculation current in the battery power parameter and the battery current;
[0013] Obtaining an accessory current of the high-voltage accessory based on the accessory power in the accessory power parameter and the battery voltage;
[0014] A difference between the limit current and the accessory current is determined as a first current corresponding to the target motor.
[0015] In combination with the first aspect and the above implementation manner, in some possible implementation manners, determining the limiting current of the battery based on the calculation current in the battery power parameter and the battery current includes:
[0016] When the target motor is discharging, the smaller value of the operation current in the battery power parameter and the battery current is determined as the limiting current of the battery;
[0017] When the target motor is being charged, a larger value between the operation current in the battery power parameter and the battery current is determined as a limiting current of the battery.
[0018] In combination with the first aspect and the above implementation manner, in some possible implementation manners, when the target motor is discharging, obtaining a comparison result between the battery power in the battery power parameter and the execution power, and determining a target current of the target motor from the first current and the second current based on the comparison result, includes:
[0019] Acquire a maximum discharge power in the battery power parameter, perform a difference calculation between the maximum discharge power and the execution power to obtain a calculation result, and compare the calculation result with a first preset difference to obtain a comparison result;
[0020] When the comparison result indicates that the calculation result is less than or equal to the first preset difference, based on the first current and the execution power, determining a target current corresponding to the target motor in a pre-established discharge current table, and determining a target power corresponding to the target current based on the target current;
[0021] When the comparison result indicates that the calculation result is greater than the first preset difference, the second current is determined as the target current of the target motor, and the target power corresponding to the target current is determined based on the battery voltage in the battery power parameter and the target current.
[0022] In combination with the first aspect and the above implementation manner, in some possible implementation manners, determining the second current as the target current of the target motor further includes:
[0023] When the target current is less than the preset current, the preset power corresponding to the preset current is used as the target power.
[0024] Through the above technical solution, it can be ensured that when the target current is too small, the target motor can be speed-regulated according to the target power, thereby meeting the demand for speed regulation of the target motor.
[0025] In combination with the first aspect and the above implementation manner, in some possible implementation manners, when the target motor is charged, obtaining a comparison result between the battery power in the battery power parameter and the execution power, and determining a target current of the target motor in the first current and the second current based on the comparison result, includes:
[0026] Acquire a maximum charging power in the battery power parameter, perform a difference calculation between the maximum charging power and the execution power to obtain a calculation result, and compare the calculation result with a second preset difference to obtain a comparison result;
[0027] When the comparison result indicates that the calculation result is greater than or equal to the second preset difference, based on the first current and the execution power, determining a target current corresponding to the target motor in a pre-established charging current table, and determining a target power corresponding to the target current based on the target current;
[0028] When the comparison result indicates that the calculation result is less than the second preset difference, the second current is determined as the target current of the target motor, and the target power corresponding to the target current is determined based on the battery voltage in the battery power parameter and the target current.
[0029] In combination with the first aspect and the above implementation manner, in some possible implementation manners, determining the difference between the limiting current and the accessory current as the first current corresponding to the target motor includes:
[0030] A safety current is set, and a difference between the limit current and the accessory current is calculated with the safety current to obtain a first current corresponding to the target motor.
[0031] Through the above technical solution, the fault tolerance of the vehicle when carrying out the first current can be improved, thereby improving the safety and reliability of the vehicle.
[0032] In a second aspect, a motor speed control device is provided, the device comprising:
[0033] a parameter acquisition unit, configured to acquire a battery power parameter of a battery in a vehicle and an accessory power parameter of a high-voltage accessory in the vehicle in response to a speed control instruction for a target motor, wherein the target motor is any one of a front drive motor and a rear drive motor of the vehicle;
[0034] a first circuit calculation unit, configured to calculate a numerical relationship between the battery power parameter and the accessory power parameter, and obtain a first current of the target motor based on the numerical relationship;
[0035] a second current calculation unit, configured to obtain execution currents and execution powers of other motors in the vehicle, and determine a difference between the first current and the execution current as a second current of the target motor, wherein the other motors are other motors in the vehicle except the target motor;
[0036] A speed control unit is used to obtain a comparison result between the battery power in the battery power parameter and the execution power, determine a target current of the target motor from the first current and the second current based on the comparison result, and control the target motor to adjust the speed using a target power corresponding to the target current.
[0037] In a third aspect, a vehicle is provided, comprising a memory for storing executable program code;
[0038] A processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in the first aspect or any possible implementation of the first aspect.
[0039] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0040] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 It is a system architecture diagram of a motor speed control method provided in an embodiment of the present application;
[0042] Figure 2 It is a flow chart of a motor speed control method provided in an embodiment of the present application;
[0043] Figure 3 It is a flow chart of a motor speed control method provided in an embodiment of the present application;
[0044] Figure 4 is an example schematic diagram of a discharge current meter provided in an embodiment of the present application;
[0045] Figure 5 is an example schematic diagram of a charging current meter provided in an embodiment of the present application;
[0046] Figure 6 It is a structural schematic diagram of a motor speed control device provided in an embodiment of the present application;
[0047] Figure 7 is a structural schematic diagram of a vehicle provided in an embodiment of the present application;
[0048] Figure 8 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0050] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0051] In the prior art, when the first motor of an electric vehicle is adjusting speed and shifting gears, it is executed according to the power required for the shifting without referring to the power conditions of the current battery and other motors, resulting in the battery operating at overpower, and part of the power of other motors being allocated to the first motor, causing the power of other motors to decrease, affecting the user's driving experience, and causing damage to the vehicle's battery.
[0052] Based on this, an embodiment of the present application provides a control method for motor speed regulation, which obtains the electrical energy parameters of the battery and high-voltage accessories in the vehicle for calculation, and obtains the current that can be used by the target motor without considering the other motors. Then, based on the current and power of the other motors, the target power that can be used by the target motor without causing the battery to operate at overpower and without affecting the other motors is obtained. Therefore, by limiting the power of the target motor, the battery is prevented from operating at overpower and causing unnecessary damage to the battery. At the same time, it avoids affecting the operation of the other motors and affecting the user's driving experience, thereby improving the user's driving experience and the safety and stability of the vehicle.
[0053] Figure 1 1 is a system architecture diagram of a motor speed control method provided in an embodiment of the present application. Figure 1 As shown, the motor speed control method provided in the embodiment of the present application can be applied to a vehicle to realize the process of speed regulation and gear shifting of the vehicle. The system architecture provided in the embodiment of this specification mainly includes a vehicle computer, a battery, a high-voltage accessory, a target motor, and other motors. Among them, the vehicle computer can be a computing end for data processing and system management in the vehicle, such as a vehicle-mounted system of the vehicle; the battery can be a battery that supplies energy to various components in the vehicle; the target motor can be any one of the front drive motor and the rear drive motor of the vehicle; the other motors can be other motors in the vehicle except the target motor; the high-voltage accessory can be other energy-consuming components in the vehicle except the target motor and the other motors.
[0054] In an embodiment of the present application, in response to a speed control instruction for a target motor, battery power parameters of a battery in a vehicle and accessory power parameters of high-voltage accessories in the vehicle are obtained, the numerical relationship between the battery power parameters and the accessory power parameters is calculated, a first current of the target motor is obtained based on the numerical relationship, the execution current and execution power of the remaining motors in the vehicle are obtained, the difference between the first current and the execution current is determined as the second current of the target motor, a comparison result of the battery power and the execution power in the battery power parameters is obtained, the target current of the target motor is determined from the first current and the second current based on the comparison result, and the target motor is controlled to adjust its speed using the target power corresponding to the target current.
[0055] In an embodiment of the present application, the power parameters of the battery and high-voltage accessories in the vehicle are obtained for calculation to obtain the current that can be used by the target motor without considering the other motors, and then based on the current and power of the other motors, the target power that can be used by the target motor without causing the battery to operate at overpower and without affecting the other motors is obtained. Therefore, by limiting the power of the target motor, the battery is prevented from operating at overpower and causing unnecessary damage to the battery, while avoiding affecting the operation of the other motors and affecting the user's driving experience, thereby improving the user's driving experience and the safety and stability of the vehicle.
[0056] based on Figure 1 The system architecture shown below will be combined with Figure 2-Figure 5 , the motor speed control method provided in the embodiment of the present application is introduced in detail.
[0057] See also Figure 2 , is a flow chart of a method for controlling motor speed regulation according to an embodiment of the present application. Figure 2 As shown, the method of the embodiment of the present application may include the following steps S101-S104.
[0058] S101, in response to a speed control instruction for a target motor, obtaining a battery power parameter of a battery in a vehicle and an accessory power parameter of a high-voltage accessory in the vehicle;
[0059] In one embodiment, when the vehicle's computer detects that the vehicle currently needs to adjust speed and shift gears, it generates a speed adjustment instruction for the target motor, and obtains the battery power parameters of the battery in the vehicle at the current moment in response to the speed adjustment instruction, based on the accessory power parameters of each high-voltage accessory in the vehicle.
[0060] Speed shifting can be used to shift up or down when the vehicle speed reaches a preset shift speed.
[0061] The target motor is any one of the front drive motor and the rear drive motor of the vehicle. The front drive motor is used to drive the front wheels of the vehicle, and the rear drive motor is used to drive the rear wheels of the vehicle. It should be noted that if the vehicle includes four wheels, the front wheels are the front two wheels of the vehicle; if the vehicle includes six wheels, the front wheels can be the front two wheels or the front four wheels of the vehicle, which can be set according to the actual situation of the vehicle.
[0062] The speed regulation instruction may be an instruction generated by the vehicle in response to an upshift or downshift demand, so that the vehicle computer enables the motor to regulate the speed in response to the instruction.
[0063] The battery power parameters may be the battery voltage of the vehicle, the maximum discharge power of the battery, and the operating current calculated inside the battery.
[0064] High voltage accessories can be heaters, power contribution units, etc. in the vehicle.
[0065] The accessory power parameter may be the power currently executed by the high-voltage accessories transmitted by each high-voltage accessory in the vehicle, and the accessory power of the high-voltage accessories is obtained by adding up each power.
[0066] The current time may be the time when the vehicle computer responds to the speed control command.
[0067] S102, calculating a numerical relationship between a battery power parameter and an accessory power parameter, and obtaining a first current of a target motor based on the numerical relationship;
[0068] In one embodiment, after obtaining the battery power parameters and accessory power parameters of the vehicle, in order to determine the current that the battery can allocate to the motor at the current moment, the battery current of the battery is calculated according to the battery voltage and battery power in the battery power parameters, and the battery limiting current is determined from the battery current and the operating current in the battery power parameters according to the execution type of the motor, and then the accessory current is obtained based on the accessory power and battery voltage in the accessory power parameters, and the first current of the target motor is obtained by performing a difference calculation based on the limiting current and the accessory current.
[0069] The execution type may be the type of electric energy charging and discharging executed by the motor of the vehicle, specifically, discharging and charging.
[0070] The battery power can be divided into the maximum discharge power and the maximum charge power according to the execution type of the motor. It should be noted that the maximum discharge power of the battery and the maximum charge power of the battery have the same value, but if the value of the maximum discharge power is set to a positive number, the maximum charge power is a negative number.
[0071] The battery current may be the current of the battery at the current moment obtained by calculating the quotient of the battery power and the battery voltage.
[0072] The limited current may be the current that the battery can distribute to the target motor at the current moment.
[0073] The accessory current may be a current calculated based on the accessory power and the battery voltage, indicating the current used by the high voltage accessory.
[0074] The first current may be a current that the target motor can obtain when the battery does not run at overpower at the current moment.
[0075] S103, obtaining execution currents and execution powers of other motors in the vehicle, and determining the difference between the first current and the execution current as the second current of the target motor;
[0076] In one embodiment, the execution current and execution power of the remaining motors in the vehicle are obtained, and the difference between the execution current and the first current is calculated to obtain a current obtained by subtracting the execution current from the first current as the second current of the target motor.
[0077] The remaining motors are motors other than the target motor in the vehicle. For example, if the target motor is a front drive motor in the vehicle, the remaining motors are rear drive motors in the vehicle.
[0078] The execution current may be the current executed by the other motors at the current moment.
[0079] The execution power may be the execution power of the remaining motors calculated according to the execution current of the remaining motors and the battery voltage.
[0080] The second current may be a current of the target motor that does not affect other motors and does not cause over-power operation of the battery at the current moment.
[0081] S104, obtaining a comparison result between the battery power and the execution power in the battery power parameter, determining a target current of the target motor from the first current and the second current based on the comparison result, and controlling the target motor to adjust the speed using a target power corresponding to the target current;
[0082] In one embodiment, the battery power in the battery power parameters is obtained, the difference between the battery power and the execution power of the remaining motors is calculated to obtain a calculation result, and then the calculation result is compared with the preset difference, and the first current and the second current are selected according to the comparison result and the execution type of the motor, and the target current corresponding to the target motor is determined, and the target power is determined according to the target current, and the target motor is controlled to use the target power for speed regulation.
[0083] The preset difference may be a value pre-set for determining the difference between the battery power and the execution power. The specific value of the preset difference may be set according to actual conditions and may be a specific value or a digital range.
[0084] The target current is determined by a corresponding judgment method according to the execution type of the motor. When the execution type of the motor is discharge, the difference between the maximum discharge power and the execution power is used as the calculation result, and the first current and the second current are selected according to the comparison result between the calculation result and the first preset difference. When the calculation result is greater than the first preset difference, the second current is determined as the target current of the target motor; when the calculation result is less than or equal to the first preset difference, the target power corresponding to the target motor is determined in a pre-established discharge current table based on the first current and the execution power.
[0085] When the execution type of the motor is charging, the difference between the maximum charging power and the execution power is used as the calculation result, and the first current and the second current are selected according to the comparison result between the calculation result and the second preset difference. When the calculation result is less than the second preset difference, the second current is determined as the target current of the target motor; when the calculation result is greater than or equal to the second preset difference, the target power corresponding to the target motor is determined in a pre-established charging current table based on the first current and the execution power.
[0086] Furthermore, after determining the target power, the target motor is controlled to adjust the speed using the target power, thereby achieving speed control of the motor. The size of the target power affects the speed regulation rate of the target motor. The larger the target power, the larger the speed regulation rate of the target motor.
[0087] In an embodiment of the present application, the power parameters of the battery and high-voltage accessories in the vehicle are obtained for calculation to obtain the current that can be used by the target motor without considering the other motors, and then based on the current and power of the other motors, the target power that can be used by the target motor without causing the battery to operate at overpower and without affecting the other motors is obtained. Therefore, by limiting the power of the target motor, the battery is prevented from operating at overpower and causing unnecessary damage to the battery, while avoiding affecting the operation of the other motors and affecting the user's driving experience, thereby improving the user's driving experience and the safety and stability of the vehicle.
[0088] The following will be combined Figure 3 A motor speed control method provided in an embodiment of the present application is described in detail with reference to a specific example.
[0089] S201, in response to a speed control instruction for a target motor, obtaining a battery power parameter of a battery in a vehicle and an accessory power parameter of a high-voltage accessory in the vehicle;
[0090] In one embodiment, when the vehicle's computer detects that the vehicle currently needs to adjust speed and shift gears, it generates a speed adjustment instruction for the target motor, and obtains the battery power parameters of the battery in the vehicle at the current moment in response to the speed adjustment instruction, based on the accessory power parameters of each high-voltage accessory in the vehicle.
[0091] Among them, the specific definitions of debugging shift, debugging instructions, target motor, battery power parameters, high-voltage accessories and accessory power parameters can refer to the relevant content in step S101 and will not be repeated here.
[0092] S202, obtaining a battery current of the battery based on a quotient of a battery power and a battery voltage in a battery power parameter;
[0093] In one embodiment, after obtaining the battery power parameters and accessory power parameters of the vehicle, in order to determine the current that the battery can allocate to the motor at the current moment, it is necessary to first obtain the battery current currently executed by the battery. The battery current can be calculated by taking the quotient of the battery power and the battery voltage at the current moment.
[0094] According to the current calculation method, the battery current can be obtained by dividing the battery power by the battery voltage, that is, the battery current=battery power / battery voltage.
[0095] It should be noted that, depending on the execution type of the target motor, the battery power can be divided into maximum discharge power and maximum charge power. It should be noted that the values of the maximum discharge power of the battery and the maximum charge power of the battery are the same, but if the value of the maximum discharge power is set to a positive number, the maximum charge power is a negative number.
[0096] For example, if the execution type of the target motor at the current moment is discharge, and the battery power reported by the battery obtained by the vehicle computer is 10kw, the corresponding battery power is +10kw; if the execution type of the target motor at the current moment is charging, and the battery power reported by the battery obtained by the vehicle computer is 10kw, the corresponding battery power is -10kw.
[0097] Furthermore, since the battery power has positive and negative differences depending on the execution type, and the battery voltage is a positive number, the battery current corresponds to the power sign of the execution type.
[0098] S203, determining a battery current limit based on the calculation current and the battery current in the battery power parameter;
[0099] In one embodiment, after obtaining the battery current of the battery, in order to limit the current value that the target motor can use as much as possible to ensure the safety and stability of the vehicle, the value with a smaller absolute value is selected from the operating current and the battery current in the battery power parameters as the battery limiting current.
[0100] The calculation current may be a current that can be distributed and is calculated by the battery according to the characteristics of the battery. It is understandable that the calculation current is different from the calculated battery current because the conditions referred to by the battery itself in the calculation are not only the battery power and the battery voltage.
[0101] Specifically, when the target motor is discharging, the smaller value between the battery current and the calculation current is determined as the battery limit current. That is, the limit current = MIN (battery current, calculation current).
[0102] When the target motor is being charged, since the battery current and the calculated current are negative numbers, the larger value of the battery current and the calculated current is selected and determined as the battery limit current. That is, the limit current = MAX (battery current, calculated current).
[0103] S204, obtaining an accessory current of the high-voltage accessory based on the accessory power and the battery voltage in the accessory power parameter;
[0104] In one embodiment, in order to avoid affecting the operating state of high-voltage accessories in the vehicle when distributing current to the target vehicle computer, the accessory power in the accessory power parameters of the high-voltage accessories is obtained, and the accessory voltage corresponding to the high-voltage accessories is obtained by calculation based on the accessory power and the battery voltage.
[0105] Similar to the method for calculating the battery current, the accessory current may be obtained by dividing the accessory power by the battery voltage, that is, the accessory current=accessory power / battery voltage.
[0106] S205, determining the difference between the limit current and the accessory current as a first current corresponding to the target motor;
[0107] In one embodiment, after obtaining the limiting current and the accessory current, the current that the battery can allocate to the target motor at the current moment can be calculated through the limiting current and the accessory circuit, that is, the limiting current is subtracted from the accessory current to obtain the difference between the limiting current and the accessory current, and the difference is determined as the first current that can be allocated to the target motor.
[0108] Furthermore, in order to improve the safety of the vehicle, a feasible method may be to set a safety current. When calculating the first current, the limiting current is subtracted from the accessory current and the safety current to obtain a current with a smaller value as the first current, thereby avoiding errors in the vehicle driving process or the vehicle computer calculation process, which may cause the calculated current value to be smaller than the actual current value, thereby causing vehicle safety problems.
[0109] When the safety current is not set, the calculation method of the first current is: first current = limit current - accessory current; after the safety current is set, the calculation method of the first current is: first current = limit current - accessory current - safety current. It can be seen that due to the difference between the accessory current and the safety current
[0110] The specific value of the safety current can be set according to actual conditions, for example, it can be 5A.
[0111] It can be understood that when the motor is discharging, in order to avoid the current of the target motor being too high and affecting the other motors or causing the battery to overpower, it is necessary to limit the first current of the target motor as much as possible; when the motor is charging, the smaller the first current, the more conducive it is to charging the target motor. When calculating the first current, there is no need to set different safety currents according to the execution type.
[0112] S206, acquiring execution currents and execution powers of other motors in the vehicle, and determining the difference between the first current and the execution current as the second current of the target motor;
[0113] In one embodiment, the specific definitions of the remaining motors, execution current, execution power and second current can refer to the relevant content in step S103 and will not be repeated here.
[0114] S207, when the target motor is discharging, obtaining a maximum discharge power in the battery power parameter, performing a difference calculation between the maximum discharge power and the execution power to obtain a calculation result, and comparing the calculation result with a first preset difference to obtain a comparison result;
[0115] In one embodiment, when the target motor is discharging, the maximum discharge power in the battery power parameters is obtained, the difference between the maximum discharge power and the execution power is calculated to obtain a calculation result, and then the calculation result is compared with the first preset difference to obtain a comparison result for determining the numerical relationship between the maximum discharge power and the execution power.
[0116] It can be understood that, since the maximum discharge power is greater than the execution power, the difference calculation can be performed as follows: calculation result = maximum discharge power - execution power.
[0117] The first preset difference may be a value pre-set for determining the difference between the maximum discharge power and the execution power. The specific value of the first preset difference may be set according to actual conditions and may be a specific value or a digital range.
[0118] S208, when the comparison result indicates that the calculation result is less than or equal to the first preset difference, based on the first current and the execution power, determine the target current corresponding to the target motor in a pre-established discharge current table, determine the target power corresponding to the target current based on the target current, and control the target motor to adjust the speed using the target power;
[0119] In one embodiment, when the comparison result indicates that the calculation result is less than or equal to a first preset difference, it can be considered that the battery power is insufficient to satisfy the target motor to adjust the speed according to the second current. Based on the first current and the execution power, a search can be performed in a pre-established discharge current table to determine the target current corresponding to the first motor and the execution power. The current is determined as the target current corresponding to the target motor, and then the target power is calculated based on the battery voltage and the target current, and the target motor is controlled to adjust the speed using the target power.
[0120] The discharge current table can be pre-set with the first current as the horizontal axis parameter and the execution power as the vertical axis parameter. The discharge power corresponding to each first current and the execution power is obtained according to the experimental results, thereby generating a table. Using the current in the discharge current table as the target current can meet the speed regulation of the target motor without causing the battery to operate at overpower and the impact on the remaining motors will be less than the pre-judged result.
[0121] For example, Figure 4 As shown, Figure 4 For a pre-established discharge current meter, when the first current is 50A and the execution power is 10kw, the target current can be determined to be 35A according to the discharge current meter.
[0122] If the target current is 35A and the battery voltage is 380V, the target power is 13.3KW, and the target motor is controlled to use 13.3KW for speed regulation.
[0123] Further, such as Figure 4 As shown, in order to avoid the situation where the calculated first current is 0A and the target motor cannot be controlled for speed regulation, when the first current is 0A, a current value is set as the target current, that is, Figure 4 The target power is calculated based on the target current and the target motor is controlled to adjust the speed.
[0124] Furthermore, in order to prevent the first current from being too high and affecting the normal operation of the vehicle, a threshold is set to limit the target current. Figure 4 When the first current exceeds 100A, the corresponding target current is 50A.
[0125] It can be understood that if the first current is 0A, it can be considered that the remaining motors have utilized all the current that the battery can provide. In order to meet the speed regulation requirements of the target motor, a portion of the current allocated to the remaining motors needs to be allocated to the target motor. In order to reduce the operating conditions of the remaining motors, the set current value can be the minimum value that satisfies the speed regulation of the target motor, for example Figure 4 10A in.
[0126] S209, when the comparison result indicates that the calculation result is greater than the first preset difference, determining the second current as the target current of the target motor, obtaining a target power corresponding to the target current based on the battery voltage and the target current in the battery power parameter, and controlling the target motor to adjust the speed using the target power corresponding to the target current;
[0127] In one embodiment, when the comparison result indicates that the calculation result is greater than a first preset difference, it can be considered that the battery power can satisfy the motor's speed regulation using a second current, and the second current is determined as the target current of the target motor. The target power corresponding to the target current is calculated based on the battery voltage and target current in the battery power parameters, and the target motor is controlled to use the target power corresponding to the target current for speed regulation.
[0128] Furthermore, when the target current is less than the preset current, the preset power corresponding to the preset current is used as the target power, thereby ensuring that the target motor can be speed-regulated according to the target power and meeting the speed regulation requirements of the target motor.
[0129] Exemplarily, when the target current is less than 0A, the target current is set to 0A, and the preset power 10W corresponding to 0A is used as the target power.
[0130] S210, when the target motor is being charged, obtaining a maximum charging power in the battery power parameter, performing a difference calculation between the maximum charging power and the execution power to obtain a calculation result, and comparing the calculation result with a second preset difference to obtain a comparison result;
[0131] When the target motor is charging, the maximum charging power in the battery power parameters is obtained, the difference between the maximum charging power and the execution power is calculated to obtain a calculation result, and then the calculation result is compared with the second preset difference to obtain a comparison result for determining the numerical relationship between the maximum charging power and the execution power.
[0132] The second preset difference may be a value used to pre-set the difference between the maximum charging power and the execution power. The specific value of the first preset difference may be set according to the actual situation, and may be a specific value or a numerical range. The first preset difference and the second preset difference may be two numbers with the same absolute value, or may be the same numerical value.
[0133] S211, when the comparison result indicates that the calculation result is greater than or equal to the second preset difference, based on the first current and the execution power, determine a target current corresponding to the target motor in a pre-established charging current table, determine a target power corresponding to the target current based on the target current, and control the target motor to adjust the speed using the target power;
[0134] In one embodiment, when the comparison result indicates that the calculation result is greater than or equal to a second preset difference, it can be considered that the battery power is insufficient to meet the speed regulation and charging of the target motor according to the second current. Based on the first current and the execution power, a search can be performed in a pre-established charging current table to determine the target current corresponding to the first motor and the execution power, and the current is determined as the target current corresponding to the target motor. The target power is then calculated based on the battery voltage and the target current, and the target motor is controlled to use the target power for speed regulation and charging.
[0135] The charging current table can be pre-generated with the first current as the horizontal axis parameter and the execution power as the vertical axis parameter, and the charging power corresponding to each first current and the execution power can be obtained according to the experimental results. The current in the charging current table is used as the target current. When the target motor is controlled at a certain speed, it will not cause the battery to operate at overpower and the impact on the remaining motors will be less than the pre-judgment result.
[0136] For example, Figure 5 As shown, Figure 5 For a pre-established discharge current table, when the first current is -25A and the execution power is -90kw, the target current can be determined to be -25A according to the discharge current table.
[0137] If the target current is -25A and the battery voltage is 380V, the target power is -9.5KW, and the target motor is controlled to use -9.5KW for speed regulation while charging.
[0138] Further, such as Figure 5 As shown, in order to avoid the situation where the calculated first current is 0A and the target motor cannot be controlled for speed regulation, when the first current is 0A, a current value is set as the target current, that is, Figure 5 The target power is calculated based on the target current and the target motor is controlled to adjust the speed.
[0139] Furthermore, in order to prevent the first current from being too high and affecting the normal operation of the vehicle, a threshold is set to limit the target current. Figure 5 When the first current exceeds -40A, the corresponding target current is -40A.
[0140] S212, when the comparison result indicates that the calculation result is less than the second preset difference, determining the second current as the target current of the target motor, obtaining a target power corresponding to the target current based on the battery voltage and the target current in the battery power parameter, and controlling the target motor to adjust the speed using the target power corresponding to the target current;
[0141] In one embodiment, when the comparison result indicates that the calculation result is less than a second preset difference, it can be considered that the battery power can meet the requirements of the motor using the second current for speed regulation and charging, and the second current is determined as the target current of the target motor. The target power corresponding to the target current is calculated based on the battery voltage and target current in the battery power parameters, and the target motor is controlled to use the target power corresponding to the target current for speed regulation and charging.
[0142] In the embodiment of the present application, the electric energy parameters of the battery and high-voltage accessories in the vehicle are obtained for calculation to obtain the current that the target motor can use without considering the other motors, and then the target power that the target motor can use without causing the battery to operate at overpower and without affecting the other motors is obtained based on the current and power of the other motors. Thus, by limiting the power of the target motor, the battery is prevented from operating at overpower, causing unnecessary damage to the battery, and at the same time, the operation of the other motors is avoided, affecting the user's driving experience, thereby improving the user's driving experience and the safety and stability of the vehicle. Furthermore, by setting a safe current, the fault tolerance of the calculation is improved, thereby improving the safety of the vehicle; and by setting corresponding target currents for multiple possible comparison results, it is ensured that the target motor can complete the speed regulation while reducing the impact on the other motors and the battery, thereby improving the reliability and safety of the vehicle's shifting and speed regulation.
[0143] based on Figure 1 The system architecture will be combined with Figure 6 , the motor speed control device provided in the embodiment of the present application is introduced in detail. It should be noted that, Figure 6 The motor speed control device is used to implement the present application Figure 2-Figure 5 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 2-Figure 5 The embodiment shown.
[0144] a parameter acquisition unit 11, for acquiring a battery power parameter of a battery in a vehicle and an accessory power parameter of a high-voltage accessory in the vehicle in response to a speed control instruction for a target motor, wherein the target motor is any one of a front drive motor and a rear drive motor of the vehicle;
[0145] a first circuit calculation unit 12, configured to calculate a numerical relationship between the battery power parameter and the accessory power parameter, and obtain a first current of the target motor based on the numerical relationship;
[0146] a second current calculation unit 13, configured to obtain execution currents and execution powers of other motors in the vehicle, and determine a difference between the first current and the execution current as a second current of the target motor, wherein the other motors are other motors in the vehicle except the target motor;
[0147] The speed control unit 14 is used to obtain a comparison result between the battery power in the battery power parameter and the execution power, determine the target current of the target motor in the first current and the second current based on the comparison result, and control the target motor to use the target power corresponding to the target current for speed regulation.
[0148] Optionally, the first circuit calculation unit 12 is further configured to:
[0149] Obtaining a battery current of the battery based on a quotient of a battery power and a battery voltage in the battery power parameters;
[0150] Determine the limiting current of the battery based on the calculation current in the battery power parameter and the battery current;
[0151] Obtaining an accessory current of the high-voltage accessory based on the accessory power in the accessory power parameter and the battery voltage;
[0152] A difference between the limit current and the accessory current is determined as a first current corresponding to the target motor.
[0153] Optionally, the first circuit calculation unit 12 is further configured to:
[0154] When the target motor is discharging, the smaller value of the operation current in the battery power parameter and the battery current is determined as the limiting current of the battery;
[0155] When the target motor is being charged, a larger value between the operation current in the battery power parameter and the battery current is determined as a limiting current of the battery.
[0156] Optionally, the speed control unit 14 is further used for:
[0157] Acquire a maximum discharge power in the battery power parameter, perform a difference calculation between the maximum discharge power and the execution power to obtain a calculation result, and compare the calculation result with a first preset difference to obtain a comparison result;
[0158] When the comparison result indicates that the calculation result is less than or equal to the first preset difference, based on the first current and the execution power, determining a target current corresponding to the target motor in a pre-established discharge current table, and determining a target power corresponding to the target current based on the target current;
[0159] When the comparison result indicates that the calculation result is greater than the first preset difference, the second current is determined as the target current of the target motor, and the target power corresponding to the target current is determined based on the battery voltage in the battery power parameter and the target current.
[0160] Optionally, the speed control unit 14 is further used for:
[0161] When the target current is less than the preset current, the preset power corresponding to the preset current is used as the target power.
[0162] Optionally, the speed control unit 14 is further used for:
[0163] Acquire a maximum charging power in the battery power parameter, perform a difference calculation between the maximum charging power and the execution power to obtain a calculation result, and compare the calculation result with a second preset difference to obtain a comparison result;
[0164] When the comparison result indicates that the calculation result is greater than or equal to the second preset difference, based on the first current and the execution power, determining a target current corresponding to the target motor in a pre-established charging current table, and determining a target power corresponding to the target current based on the target current;
[0165] When the comparison result indicates that the calculation result is less than the second preset difference, the second current is determined as the target current of the target motor, and the target power corresponding to the target current is determined based on the battery voltage in the battery power parameter and the target current.
[0166] Optionally, the first circuit calculation unit 12 is further configured to:
[0167] A safety current is set, and a difference between the limit current and the accessory current is calculated with the safety current to obtain a first current corresponding to the target motor.
[0168] See also Figure 7 , which is a schematic diagram of the structure of a vehicle provided in the embodiment of the present application. Figure 7 As shown, the vehicle 500 includes a processor 501 and a memory 502. The processor 501 is electrically connected to the memory 502.
[0169] The processor 501 is the control center of the vehicle 500 and may include one or more processing cores. The processor 501 uses various interfaces and lines to connect various parts of the entire vehicle 500, and executes various functions and processes data of the vehicle 500 by running or calling computer programs stored in the memory 502, and calling data stored in the memory 502, so as to control the vehicle 500 as a whole. Optionally, the processor 501 may be implemented in at least one hardware form of digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). The processor 501 may integrate one or a combination of CPU, graphics processing unit (GPU), modem, etc. Among them, the CPU mainly processes the operating system, user pages, and applications; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 501, but may be implemented separately through a communication chip.
[0170] The memory 502 can be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by running the computer programs and modules stored in the memory 502. The memory 502 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, a computer program required for at least one function, etc.; the data storage area can store data created according to the use of the vehicle 500, etc.
[0171] In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.
[0172] In this embodiment, the processor 501 in the vehicle 500 loads instructions corresponding to the processes of one or more computer programs into the memory 502 according to the following steps, and the processor 501 runs the computer program stored in the memory 502 to implement various functions, as follows:
[0173] In response to a speed control instruction for a target motor, obtaining a battery power parameter of a battery in a vehicle and an accessory power parameter of a high-voltage accessory in the vehicle, wherein the target motor is any one of a front drive motor and a rear drive motor of the vehicle;
[0174] Calculating a numerical relationship between the battery power parameter and the accessory power parameter, and obtaining a first current of the target motor based on the numerical relationship;
[0175] Acquire execution currents and execution powers of other motors in the vehicle, and determine the difference between the first current and the execution current as the second current of the target motor, wherein the other motors are other motors in the vehicle except the target motor;
[0176] Obtain a comparison result between the battery power in the battery power parameter and the execution power, determine a target current of the target motor from the first current and the second current based on the comparison result, and control the target motor to adjust the speed using a target power corresponding to the target current.
[0177] Optionally, when the processor 501 calculates the numerical relationship between the battery power parameter and the accessory power parameter and obtains the first current of the target motor based on the numerical relationship, the processor 501 specifically executes:
[0178] Obtaining a battery current of the battery based on a quotient of a battery power and a battery voltage in the battery power parameters;
[0179] Determine the limiting current of the battery based on the calculation current in the battery power parameter and the battery current;
[0180] Obtaining an accessory current of the high-voltage accessory based on the accessory power in the accessory power parameter and the battery voltage;
[0181] A difference between the limit current and the accessory current is determined as a first current corresponding to the target motor.
[0182] Optionally, when the processor 501 determines the limiting current of the battery based on the calculation current in the battery power parameter and the battery current, the processor 501 specifically performs:
[0183] When the target motor is discharging, the smaller value of the operation current in the battery power parameter and the battery current is determined as the limiting current of the battery;
[0184] When the target motor is being charged, a larger value between the operation current in the battery power parameter and the battery current is determined as a limiting current of the battery.
[0185] Optionally, when the target motor is discharging, the processor 501, when executing to obtain a comparison result of the battery power in the battery power parameter and the execution power, determines the target current of the target motor from the first current and the second current based on the comparison result, specifically executes:
[0186] Acquire a maximum discharge power in the battery power parameter, perform a difference calculation between the maximum discharge power and the execution power to obtain a calculation result, and compare the calculation result with a first preset difference to obtain a comparison result;
[0187] When the comparison result indicates that the calculation result is less than or equal to the first preset difference, based on the first current and the execution power, determining a target current corresponding to the target motor in a pre-established discharge current table, and determining a target power corresponding to the target current based on the target current;
[0188] When the comparison result indicates that the calculation result is greater than the first preset difference, the second current is determined as the target current of the target motor, and the target power corresponding to the target current is determined based on the battery voltage in the battery power parameter and the target current.
[0189] Optionally, when the processor 501 determines the second current as the target current of the target motor, it may further execute:
[0190] When the target current is less than the preset current, the preset power corresponding to the preset current is used as the target power.
[0191] Optionally, when the target motor is charged, the processor 501, when executing to obtain a comparison result of the battery power in the battery power parameter and the execution power, and determining the target current of the target motor from the first current and the second current based on the comparison result, specifically executes:
[0192] Acquire a maximum charging power in the battery power parameter, perform a difference calculation between the maximum charging power and the execution power to obtain a calculation result, and compare the calculation result with a second preset difference to obtain a comparison result;
[0193] When the comparison result indicates that the calculation result is greater than or equal to the second preset difference, based on the first current and the execution power, determining a target current corresponding to the target motor in a pre-established charging current table, and determining a target power corresponding to the target current based on the target current;
[0194] When the comparison result indicates that the calculation result is less than the second preset difference, the second current is determined as the target current of the target motor, and the target power corresponding to the target current is determined based on the battery voltage in the battery power parameter and the target current.
[0195] Optionally, when the processor 501 determines the difference between the limiting current and the accessory current as the first current corresponding to the target motor, the processor 501 specifically performs:
[0196] A safety current is set, and a difference between the limit current and the accessory current is calculated with the safety current to obtain a first current corresponding to the target motor.
[0197] See also Figure 8 , which is a schematic diagram of the structure of a vehicle provided in the embodiment of the present application. Figure 8 As shown, the vehicle 500 includes: a processor 501, a memory 502, a display screen 503, a camera component 504, an audio circuit 505, a sensor 506 and a power supply 507. The processor 501 is electrically connected to the display 503, the camera component 504, the audio circuit 505, the sensor 506 and the power supply 507 respectively.
[0198] The display screen 503 may be used to display information input by a user or information provided to a user and various graphical user interfaces of the vehicle 500 , which may be composed of images, texts, icons, videos, and any combination thereof.
[0199] The camera assembly 504 may include an image processing circuit, which may be implemented using hardware and / or software components and may include various processing units that define an image signal processing pipeline. The image processing circuit may include at least: multiple cameras, an image signal processor (ISP processor), a control logic, and an image memory, etc. Each camera may include at least one or more lenses and an image sensor. The image sensor may include a color filter array (such as a Bayer filter). The image sensor may obtain light intensity and wavelength information captured by each imaging pixel of the image sensor, and provide a set of raw image data that can be processed by an image signal processor.
[0200] The audio circuit 505 can be used to provide an audio interface between the user and the vehicle 500 through a speaker and a microphone. The audio circuit 505 includes a microphone. The microphone is electrically connected to the processor 501. The microphone is used to receive voice information input by the user.
[0201] The sensor 506 is used to collect information about the vehicle 500 itself, the user, or the external environment. For example, the sensor 506 may include one or more sensors such as a vibration sensor, a temperature sensor, a distance sensor, a magnetic field sensor, a light sensor, an acceleration sensor, a fingerprint sensor, a Hall sensor, a position sensor, a gyroscope, an inertial sensor, a posture sensor, a barometer, and a heart rate sensor.
[0202] The power supply 507 is used to supply power to various components of the vehicle 500. In some embodiments, the power supply 507 may be logically connected to the processor 501 through a power management system, so that the power management system can manage charging, discharging, power consumption, and other functions.
[0203] It should be understood that the device provided in the embodiment of the present application is used to execute the above-mentioned motor speed control method, and thus can achieve the same effect as the above-mentioned implementation method.
[0204] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing mutual program codes, etc.
[0205] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits disclosed in the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0206] In addition, the device provided in the embodiment of the present application can specifically be a chip, component or module, and the chip may include a connected processor and memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a motor speed control method provided in the above embodiment.
[0207] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a motor speed control method provided in the above embodiment.
[0208] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a motor speed regulation control method provided in the above-mentioned embodiment.
[0209] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0210] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0211] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0212] The above contents are only specific implementation methods 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.
Claims
1. A method for controlling motor speed regulation, It is characterized in that The method comprises: In response to a speed control instruction for a target motor, obtaining a battery power parameter of a battery in a vehicle and an accessory power parameter of a high-voltage accessory in the vehicle, wherein the target motor is any one of a front drive motor and a rear drive motor of the vehicle; Calculating a numerical relationship between the battery power parameter and the accessory power parameter, and obtaining a first current of the target motor based on the numerical relationship; Acquire execution currents and execution powers of other motors in the vehicle, and determine the difference between the first current and the execution current as the second current of the target motor, wherein the other motors are other motors in the vehicle except the target motor; Obtain a comparison result between the battery power in the battery power parameter and the execution power, determine a target current of the target motor from the first current and the second current based on the comparison result, and control the target motor to adjust the speed using a target power corresponding to the target current.
2. The method according to claim 1, It is characterized in that The calculating the numerical relationship between the battery power parameter and the accessory power parameter, and obtaining the first current of the target motor based on the numerical relationship, includes: Obtaining a battery current of the battery based on a quotient of a battery power and a battery voltage in the battery power parameters; Determine the limiting current of the battery based on the calculation current in the battery power parameter and the battery current; Obtaining an accessory current of the high-voltage accessory based on the accessory power in the accessory power parameter and the battery voltage; A difference between the limit current and the accessory current is determined as a first current corresponding to the target motor.
3. The method according to claim 2, It is characterized in that The determining the limiting current of the battery based on the calculation current in the battery power parameter and the battery current comprises: When the target motor is discharging, the smaller value of the operation current in the battery power parameter and the battery current is determined as the limiting current of the battery; When the target motor is being charged, a larger value between the operation current in the battery power parameter and the battery current is determined as a limiting current of the battery.
4. The method according to claim 1, It is characterized in that When the target motor is discharging, obtaining a comparison result between the battery power in the battery power parameter and the execution power, and determining a target current of the target motor from the first current and the second current based on the comparison result, comprises: Acquire a maximum discharge power in the battery power parameter, perform a difference calculation between the maximum discharge power and the execution power to obtain a calculation result, and compare the calculation result with a first preset difference to obtain a comparison result; When the comparison result indicates that the calculation result is less than or equal to the first preset difference, based on the first current and the execution power, determining a target current corresponding to the target motor in a pre-established discharge current table, and determining a target power corresponding to the target current based on the target current; When the comparison result indicates that the calculation result is greater than the first preset difference, the second current is determined as the target current of the target motor, and the target power corresponding to the target current is determined based on the battery voltage in the battery power parameter and the target current.
5. The method according to claim 4, It is characterized in that The step of determining the second current as the target current of the target motor further includes: When the target current is less than the preset current, the preset power corresponding to the preset current is used as the target power.
6. The method according to claim 1, It is characterized in that When the target motor is charged, obtaining a comparison result between the battery power in the battery power parameter and the execution power, and determining a target current of the target motor from the first current and the second current based on the comparison result, includes: Acquire a maximum charging power in the battery power parameter, perform a difference calculation between the maximum charging power and the execution power to obtain a calculation result, and compare the calculation result with a second preset difference to obtain a comparison result; When the comparison result indicates that the calculation result is greater than or equal to the second preset difference, based on the first current and the execution power, determining a target current corresponding to the target motor in a pre-established charging current table, and determining a target power corresponding to the target current based on the target current; When the comparison result indicates that the calculation result is less than the second preset difference, the second current is determined as the target current of the target motor, and the target power corresponding to the target current is determined based on the battery voltage in the battery power parameter and the target current.
7. The method according to claim 2, It is characterized in that The step of determining the difference between the limiting current and the accessory current as the first current corresponding to the target motor includes: A safety current is set, and a difference between the limit current and the accessory current is calculated with the safety current to obtain a first current corresponding to the target motor.
8. A motor speed control device, It is characterized in that The device comprises: a parameter acquisition unit, configured to acquire a battery power parameter of a battery in a vehicle and an accessory power parameter of a high-voltage accessory in the vehicle in response to a speed control instruction for a target motor, wherein the target motor is any one of a front drive motor and a rear drive motor of the vehicle; a first circuit calculation unit, configured to calculate a numerical relationship between the battery power parameter and the accessory power parameter, and obtain a first current of the target motor based on the numerical relationship; a second current calculation unit, configured to obtain execution currents and execution powers of other motors in the vehicle, and determine a difference between the first current and the execution current as a second current of the target motor, wherein the other motors are other motors in the vehicle except the target motor; A speed control unit is used to obtain a comparison result between the battery power in the battery power parameter and the execution power, determine a target current of the target motor from the first current and the second current based on the comparison result, and control the target motor to adjust the speed using a target power corresponding to the target current.
9. A vehicle, It is characterized in that The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program code, and when the computer program code is executed, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Power control method and device, vehicle and storage medium
CN111731152A
Vehicle energy feedback control method, device, equipment and medium
CN114750598A
Motor torque control method and device, electronic equipment, storage medium and vehicle
CN115009042A
Gear shifting control method and device for double-axle electric drive axle and medium
CN117662751A
Power distribution method and device, electronic equipment and storage medium
CN117901662A
