WO2024259599A1 - Motor control method and apparatus for electric vehicle, and storage medium - Google Patents

Motor control method and apparatus for electric vehicle, and storage medium Download PDF

Info

Publication number
WO2024259599A1
WO2024259599A1 PCT/CN2023/101480 CN2023101480W WO2024259599A1 WO 2024259599 A1 WO2024259599 A1 WO 2024259599A1 CN 2023101480 W CN2023101480 W CN 2023101480W WO 2024259599 A1 WO2024259599 A1 WO 2024259599A1
Authority
WO
WIPO (PCT)
Prior art keywords
motor
torque
zero
crossing
basic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2023/101480
Other languages
French (fr)
Chinese (zh)
Inventor
沈克清
董乔
马迎国
陈启苗
李常珞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Geely Holding Group Co Ltd
Zhejiang Zeekr Intelligent Technology Co Ltd
Viridi eMobility Technology Ningbo Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Zhejiang Zeekr Intelligent Technology Co Ltd
Viridi eMobility Technology Ningbo Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Geely Holding Group Co Ltd, Zhejiang Zeekr Intelligent Technology Co Ltd, Viridi eMobility Technology Ningbo Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to PCT/CN2023/101480 priority Critical patent/WO2024259599A1/en
Publication of WO2024259599A1 publication Critical patent/WO2024259599A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/72Electric energy management in electromobility

Definitions

  • the present application relates to the field of power drive control, and in particular to a motor control method, device and storage medium for an electric vehicle.
  • the motor and the wheel are connected through a gear (or spline) mechanism to form a drive system to transmit power.
  • Motor drive and motor braking are achieved by controlling the output torque of the motor.
  • the meshing direction of the meshing gear (or spline) of the drive system changes, and the force direction of the gear (or spline) connected to the wheel changes, which will cause tooth hitting and damage to the transmission mechanism such as gears or splines.
  • it will also produce shocks and noises that users can clearly perceive, affecting driving comfort.
  • the tooth gap impact (or zero crossing impact) caused by the positive and negative torque switching of the motor will be more obviously perceived by the user.
  • a fixed torque or a slower torque change rate is usually used for zero-crossing control to reduce the zero-crossing impact, which is generally called zero-crossing platform torque control.
  • this method still has the problem of increasing zero-crossing impact when the braking force, ramp, vehicle resistance or road resistance changes.
  • the embodiments of the present application provide a motor control method, device and storage medium for an electric vehicle, which are used to solve the zero-crossing impact problem of the electric vehicle.
  • an embodiment of the present application provides a motor control method for an electric vehicle, comprising: obtaining vehicle operation information of the electric vehicle; determining a basic motor torque of a motor of the electric vehicle based on the vehicle operation information; determining a zero-crossing compensation torque of the motor based on the basic motor torque; determining a corrected motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque; and controlling the output torque of the motor to perform zero crossing based on the corrected motor torque.
  • the vehicle operation information includes at least one of the following: vehicle speed, vehicle acceleration, motor speed, wheel speed, accelerator pedal position, brake pedal position, brake master cylinder pressure, braking force, braking torque, slope, creep setting status, energy recovery setting status, single-pedal driving mode setting status, and driving mode setting status.
  • the basic motor torque of the electric vehicle's motor is determined based on vehicle operation information, including: determining the basic motor torque according to an accelerator pedal position, a brake pedal position, a creep setting state, an energy recovery setting state, a single-pedal driving mode setting state and a driving mode setting state, as well as a vehicle speed and/or a motor speed and/or a wheel speed.
  • the zero-crossing compensation torque of the motor is determined based on the basic motor torque, including: determining the zero-crossing compensation torque based on braking force, slope, vehicle speed, motor speed and basic motor torque; or determining the zero-crossing compensation torque based on vehicle speed, vehicle acceleration, motor speed and basic motor torque.
  • the zero-crossing compensation torque is determined based on the braking force, slope, vehicle speed, motor speed and basic motor torque, including: determining the zero-crossing start time, the zero-crossing end time, the basic motor torque at the zero-crossing start time, the zero-crossing platform torque and the duration of the zero-crossing platform torque based on the braking force, slope, vehicle speed, motor speed and basic motor torque; determining the zero-crossing compensation torque based on the zero-crossing start time, the zero-crossing end time, the basic motor torque at the zero-crossing start time, the zero-crossing platform torque and the duration of the zero-crossing platform torque.
  • it also includes: determining the start time of the zero crossing compensation torque, the end time of the zero crossing compensation torque, and the end time of the zero crossing under the corrected motor torque control based on the zero crossing start time, the zero crossing end time, the basic motor torque at the zero crossing start time, the zero crossing platform torque, and the duration of the zero crossing platform torque.
  • the zero-crossing compensation torque is determined based on the braking force, slope, vehicle speed, motor speed and basic motor torque, including: determining a first product of the braking force and a braking force conversion coefficient, wherein the braking force conversion coefficient has a mapping relationship with the slope, vehicle speed, motor speed and basic motor torque; determining a second product of the slope and the slope conversion coefficient, wherein the slope conversion coefficient has a mapping relationship with the braking force, vehicle speed, motor speed and basic motor torque; and determining the zero-crossing compensation torque based on a first sum of the first product and the second product.
  • the zero-crossing compensation torque is determined based on the vehicle speed, the vehicle acceleration, the motor speed, and the basic motor torque, including: determining the vehicle acceleration and the vehicle acceleration conversion The third product of the coefficient, the vehicle acceleration conversion coefficient has a mapping relationship with the vehicle acceleration, vehicle speed, motor speed and basic motor torque; based on the third product, the zero-crossing compensation torque is determined.
  • determining a corrected motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque includes: determining the corrected motor torque according to a second sum of the basic motor torque and the zero-crossing compensation torque.
  • the output torque of the motor is controlled to pass through zero, including: controlling the motor to output according to the corrected motor torque to pass through zero.
  • an embodiment of the present application provides a motor control device for an electric vehicle, comprising: an acquisition module for acquiring vehicle operation information of the electric vehicle; a first determination module for determining the basic motor torque of the motor of the electric vehicle based on the vehicle operation information; a second determination module for determining the zero-crossing compensation torque of the motor based on the basic motor torque; a third determination module for determining the corrected motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque; and a control module for controlling the output torque of the motor to perform zero crossing based on the corrected motor torque.
  • an embodiment of the present application provides an electric vehicle, comprising: a processor, and a memory connected to the processor; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory to implement the motor control method of the electric vehicle as in the first aspect.
  • an embodiment of the present application provides a computer-readable storage medium, in which computer execution instructions are stored. When the computer execution instructions are executed, they are used to implement the motor control method of the electric vehicle of the first aspect.
  • an embodiment of the present application provides a computer program product, including a computer program, which, when executed, implements the motor control method of an electric vehicle as in the first aspect.
  • the motor control method, device and storage medium of the electric vehicle determine the basic motor torque through vehicle operation information, determine the zero-crossing compensation torque of the motor through the basic motor torque, and determine the corrected motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque, so as to correct the motor torque of the electric vehicle according to the corrected motor torque.
  • the corrected motor torque can be used to make the motor cross zero, so as to reduce or even eliminate the tooth gap impact caused by the switching of the positive and negative torques of the motor, that is, reduce or even eliminate the zero-crossing impact.
  • FIG1 is a schematic diagram of an application scenario of a motor control method for an electric vehicle provided in an embodiment of the present application
  • FIG2 is a flow chart of a motor control method for an electric vehicle provided in an embodiment of the present application.
  • FIG3 is a schematic diagram of the zero-crossing performance of a motor under basic motor torque control provided by the related art
  • FIG. 4 is a schematic diagram of the start time of the zero-crossing compensation torque when the basic motor torque provided by an embodiment of the present application transitions from positive torque to negative torque and the vehicle speed or wheel speed decreases;
  • 5 is a schematic diagram of the start time of the zero-crossing compensation torque when the basic motor torque provided by an embodiment of the present application transitions from positive torque to negative torque and the vehicle speed or wheel speed increases;
  • FIG. 6 is a schematic diagram of the start time of the zero-crossing compensation torque when the basic motor torque provided by an embodiment of the present application transitions from negative torque to positive torque and the vehicle speed or wheel speed decreases;
  • FIG. 7 is a schematic diagram of the start time of the zero-crossing compensation torque when the basic motor torque provided by an embodiment of the present application transitions from negative torque to positive torque and the vehicle speed or wheel speed increases;
  • FIG8 is a schematic diagram showing a comparison between the zero-crossing performance of a motor under the modified motor torque control and the zero-crossing performance of a motor under the basic motor torque control provided by an embodiment of the present application;
  • FIG9 is a schematic structural diagram of a motor control device for an electric vehicle provided in an embodiment of the present application.
  • Fig. 10 is a block diagram of an electric vehicle according to an exemplary embodiment.
  • Zero crossing The conversion process between positive torque and negative torque of the motor.
  • zero-crossing platform torque control Using a fixed torque or a slower torque change rate to perform zero-crossing control to reduce the zero-crossing impact is generally called zero-crossing platform torque control.
  • this method does not take into account the changes in the vehicle's motion state caused by braking force, ramps, vehicle resistance (such as changes in vehicle resistance caused by temperature changes) or road resistance changes, causing the motor to cross zero outside the control range of the zero-crossing platform torque, resulting in a problem of increased zero-crossing impact of the motor when the braking force, ramps, vehicle resistance or road resistance changes.
  • the present application proposes a motor control method for an electric vehicle, which determines the basic motor torque through vehicle operation information, and determines the zero-crossing compensation torque of the motor through the basic motor torque, and determines the corrected motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque, so as to correct the motor torque of the electric vehicle according to the corrected motor torque.
  • the corrected motor torque can be used to make the motor cross zero, so as to reduce or even eliminate the tooth gap impact caused by the switching of the positive and negative torques of the motor, that is, reduce or even eliminate the zero-crossing impact.
  • the motor control method of the electric vehicle can be applied in an application scenario.
  • FIG1 is a schematic diagram of an application scenario of the motor control method of the electric vehicle provided in an embodiment of the present application.
  • the controller can receive vehicle operation information, and determine the basic motor torque and the zero-crossing compensation torque according to the vehicle operation information, and determine the corrected motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque, and then output the corrected motor torque to the motor. After receiving the corrected motor torque, the motor outputs the corrected motor torque, thereby achieving zero crossing of the motor.
  • the zero-crossing compensation torque it is necessary to determine the zero-crossing compensation torque to correct the basic motor torque, so that under the corrected motor torque control, the maximum speed difference of the motor speed will be smaller than the maximum speed difference of the motor speed under the basic motor torque control, so that relative to the basic motor torque, under the corrected motor torque control, the maximum speed difference of the motor speed is reduced, and therefore, the zero-crossing impact of the motor will be reduced or even eliminated.
  • FIG2 is a flow chart of the motor control method for an electric vehicle provided in an embodiment of the present application. As shown in FIG2 , the method includes the following steps:
  • S201 Acquire vehicle operation information of the electric vehicle.
  • the vehicle operation information of the electric vehicle can be used to determine various torques, such as basic motor torque, zero-crossing compensation torque, corrected motor torque, etc.
  • S202 Determine a basic motor torque of a motor of the electric vehicle based on vehicle operation information.
  • the basic motor torque can be a control torque that does not consider the braking force and slope, or the influence of the vehicle deceleration on zero crossing, or a control torque under level road and no braking conditions.
  • the user's required torque can be determined through vehicle operation information, and the required torque is the basic motor torque.
  • S203 Determine the zero-crossing compensation torque of the motor based on the basic motor torque.
  • S204 Determine a corrected motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque.
  • the zero-crossing compensation torque can be used to compensate for the zero-crossing of the motor. Therefore, after determining the basic motor torque and the zero-crossing compensation torque, the basic motor torque can be corrected based on the zero-crossing compensation torque to obtain the corrected motor torque.
  • the basic motor torque is corrected by the zero-crossing compensation torque to obtain the corrected motor torque.
  • the maximum speed difference of the motor speed will be smaller than the maximum speed difference of the motor speed under the control of the basic motor torque.
  • the maximum speed difference of the motor speed is reduced. Therefore, the zero-crossing impact of the motor will be reduced or even eliminated.
  • the motor control method of the electric vehicle determines the basic motor
  • the motor torque is determined by the basic motor torque
  • the zero-crossing compensation torque of the motor is determined by the basic motor torque
  • the corrected motor torque of the motor is determined based on the basic motor torque and the zero-crossing compensation torque, so that the motor torque of the electric vehicle is corrected according to the corrected motor torque.
  • the corrected motor torque can be used to make the motor cross zero, so as to reduce or even eliminate the tooth gap impact caused by the positive and negative torque switching of the motor, that is, to reduce or even eliminate the zero-crossing impact.
  • the vehicle operation information includes at least one of the following: vehicle speed, vehicle acceleration, motor speed, wheel speed, accelerator pedal position, brake pedal position, brake master cylinder pressure, braking force, braking torque, slope, creep setting status, energy recovery setting status, single-pedal driving mode setting status, and driving mode setting status.
  • braking force refers to the vehicle braking force provided by the mechanical brake device through friction; vehicle operation information such as vehicle speed, vehicle acceleration, motor speed, wheel speed, slope, etc. can be obtained by measuring the vehicle's own sensors or by measuring equipment outside the vehicle, and vehicle acceleration can also be obtained by calculating the vehicle speed.
  • vehicle operation information such as vehicle speed, vehicle acceleration, motor speed, wheel speed, slope, etc. can be obtained by measuring the vehicle's own sensors or by measuring equipment outside the vehicle, and vehicle acceleration can also be obtained by calculating the vehicle speed.
  • the accelerator pedal position and the brake pedal position can also be measured by sensors or calculated based on the pedal pressure.
  • the brake master cylinder pressure and the brake torque can also be calculated or measured.
  • the creep setting state can refer to whether the vehicle is set to the creep state. If the vehicle is set to the creep state, the vehicle will eventually move at the creep speed after releasing the brake pedal and the accelerator pedal.
  • the energy recovery setting state can refer to whether the vehicle is set to the energy recovery state and the set energy recovery level.
  • all or part of the above vehicle operation information can be used to participate in the calculation of each torque.
  • the motor speed can be used as the speed input, and the vehicle speed or wheel speed can be used as the speed input; that is, the braking force can be used as the braking signal input, and the braking torque or the brake master cylinder pressure or the brake pedal position can be used as the braking signal input; or the vehicle acceleration can be used to replace the braking signal and the slope signal.
  • the basic motor torque can be corrected by vehicle operation information to obtain a corrected motor torque, so that the corrected motor torque can be used to perform zero crossing of the motor to reduce or even eliminate the tooth gap impact caused by the switching of the positive and negative torque of the motor, that is, reduce or even eliminate the zero crossing impact.
  • determining the basic motor torque of the electric vehicle motor includes: determining the basic motor torque of the electric vehicle motor based on the accelerator pedal position, the brake pedal position, the creep setting state, the energy recovery setting state, the state, the one-pedal driving mode setting state and the driving mode setting state, as well as the vehicle speed and/or the motor speed and/or the wheel speed, determine the basic motor torque.
  • the basic motor torque can be determined based on the corresponding relationship.
  • Figure 3 is a schematic diagram of the zero-crossing performance of the motor under the basic motor torque control provided by the relevant technology.
  • ⁇ V can be expressed as the maximum speed difference of the motor speed, and the magnitude of the zero-crossing impact is positively correlated with the magnitude of ⁇ V.
  • t 0 can be expressed as the start time of zero-crossing.
  • t 1 can be expressed as the end time of zero-crossing.
  • T bas can be expressed as the basic motor torque.
  • T bas0 can be expressed as the basic motor torque at the start time of zero-crossing.
  • T bas1 can be expressed as the zero-crossing platform torque under the basic motor torque control.
  • ⁇ t bas1 can be expressed as the duration of the zero-crossing platform torque under the basic motor torque control.
  • the maximum speed difference of the motor speed is large, that is, the change of the motor speed is large, which will cause a large zero-crossing impact of the motor, affecting the driving comfort of the user. Therefore, after determining the basic motor torque, the basic motor torque can be corrected to reduce or even eliminate the zero-crossing impact of the motor, thereby improving the driving comfort of the user.
  • the zero-crossing compensation torque of the motor is determined based on the basic motor torque, including: determining the zero-crossing compensation torque based on braking force, slope, vehicle speed, motor speed and basic motor torque; or determining the zero-crossing compensation torque based on vehicle speed, vehicle acceleration, motor speed and basic motor torque.
  • the motor since the motor has a large zero-crossing impact under the basic motor torque control, it is necessary to determine the motor's zero-crossing compensation torque to correct the basic motor torque, so that the maximum speed difference of the motor can be reduced, thereby reducing or even eliminating the motor's zero-crossing impact.
  • the braking force, slope, vehicle speed, motor speed, and basic motor torque can be used to determine the zero-crossing compensation torque.
  • the zero-crossing compensation torque may be calculated based on information such as vehicle speed, vehicle acceleration, basic motor torque, and motor speed.
  • the zero-crossing compensation torque is determined based on the braking force, slope, vehicle speed, motor speed and basic motor torque, including: determining the zero-crossing start time, the zero-crossing end time, the basic motor torque at the zero-crossing start time, the zero-crossing platform torque and the duration of the zero-crossing platform torque based on the braking force, slope, vehicle speed, motor speed and basic motor torque; determining the zero-crossing compensation torque based on the zero-crossing start time, the zero-crossing end time, the basic motor torque at the zero-crossing start time, the zero-crossing platform torque and the duration of the zero-crossing platform torque.
  • the zero-crossing start time t 0 , the zero-crossing end time t 1 , the basic motor torque T bas0 at the zero-crossing start time, the zero-crossing platform torque T bas1 , and the duration ⁇ t bas1 of the zero-crossing platform torque can be calculated according to vehicle operation information such as braking force and slope ( or vehicle acceleration), basic motor torque, vehicle speed (or wheel speed), and motor speed .
  • the corresponding relationship between the braking force and the slope (or vehicle acceleration), the basic motor torque, the vehicle speed (or the wheel speed), the motor speed and other vehicle operation information and the zero-crossing start time t 0 , the zero-crossing end time t 1 , the basic motor torque T bas0 at the zero-crossing start time, the zero-crossing platform torque T bas1 , and the duration ⁇ t bas1 of the zero-crossing platform torque can be obtained through calculation.
  • the zero-crossing start time t 0 the zero-crossing end time t 1
  • the basic motor torque T bas0 at the zero-crossing start time the zero-crossing platform torque T bas1
  • the duration ⁇ t bas1 of the zero-crossing platform torque can be determined according to the corresponding relationship.
  • the test may also be performed in an actual test environment to obtain the corresponding relationship between the braking force and slope (or vehicle acceleration), basic motor torque, vehicle speed (or wheel speed) and other vehicle operation information and the zero-crossing start time t 0 , the zero-crossing end time t 1 , the basic motor torque T bas0 at the zero-crossing start time, the zero-crossing platform torque T bas1 , and the duration ⁇ t bas1 of the zero-crossing platform torque.
  • the zero-crossing compensation torque T corr can be obtained after determining the zero-crossing start time t 0 , the zero-crossing end time t 1 , the basic motor torque T bas0 at the zero-crossing start time, the zero-crossing platform torque T bas1 , and the duration ⁇ t bas1 of the zero-crossing platform torque .
  • the motor since the zero-crossing impact of the motor is positively correlated with the maximum speed difference of the motor speed, the greater the maximum speed difference of the motor speed, the greater the zero-crossing impact, and under the basic motor torque control, the motor The maximum speed difference of the motor speed is large, which will cause a large zero-crossing impact of the motor and affect the user's driving comfort. Therefore, it is necessary to determine the zero-crossing compensation torque of the motor to correct the basic motor torque, so that the maximum speed difference of the motor can be reduced, thereby reducing or even eliminating the zero-crossing impact of the motor.
  • it also includes: determining the start time of the zero crossing compensation torque, the end time of the zero crossing compensation torque, and the end time of the zero crossing under the corrected motor torque control based on the zero crossing start time, the zero crossing end time, the basic motor torque at the zero crossing start time, the zero crossing platform torque, and the duration of the zero crossing platform torque.
  • FIG4 is a schematic diagram of the start time of the zero-crossing compensation torque when the basic motor torque provided by the embodiment of the present application transitions from positive torque to negative torque and the vehicle speed or wheel speed decreases.
  • T bas transitions from positive torque to negative torque and the vehicle speed (or wheel speed) decreases
  • T corr , t 0' , t 1' , t 2 can be determined by the following method:
  • t 0′ t 0 ⁇ t bas1 ; optionally, t 0 ⁇ t bas1 ⁇ t 0′ ⁇ t 0 .
  • T corr T bas0 -T bas1 ; optionally, T bas0 -
  • the zero-crossing end time t 1' under the correction motor torque control can be determined by calculation according to the corresponding relationship or by actual testing.
  • t 2 t 1' ; optionally, t 0' ⁇ t 2 ⁇ t 1' ; optionally, t 1' ⁇ t 2 .
  • T corr , t 0′ , and t 2 may be calibrated and adjusted according to actual vehicle zero-crossing performance.
  • FIG5 is a schematic diagram of the start time of the zero-crossing compensation torque when the basic motor torque provided by the embodiment of the present application transitions from positive torque to negative torque and the vehicle speed or wheel speed increases.
  • T bas transitions from positive torque to negative torque and the vehicle speed (or wheel speed) increases
  • T corr , t 0' , t 1' , t 2 can be determined by the following method:
  • t 0 ⁇ t 0′ ⁇ t 1 .
  • T corr T bas0 -T bas1 ; optionally, 0 ⁇ T corr ⁇ T bas0 +
  • the zero-crossing end time t 1' under the correction motor torque control can be determined by calculation according to the corresponding relationship or by actual testing.
  • t 2 t 1' ; optionally, t 0' ⁇ t 2 ⁇ t 1 ; optionally, t 1 ⁇ t 2 ⁇ t 1' ; optionally, t 1' ⁇ t 2 .
  • T corr , t 0′ , and t 2 may be calibrated and adjusted according to actual vehicle zero-crossing performance.
  • FIG6 is a schematic diagram of the start time of the zero-crossing compensation torque when the basic motor torque provided by the embodiment of the present application transitions from negative torque to positive torque and the vehicle speed or wheel speed decreases.
  • T bas transitions from negative torque to positive torque and the vehicle speed (or wheel speed) decreases
  • T corr , t 0' , t 1' , t 2 can be determined by the following method:
  • t 0 ⁇ t 0′ ⁇ t 1 .
  • T corr T bas0 -T bas1 ; optionally, T bas0 -
  • the zero-crossing end time t 1' under the correction motor torque control can be determined by calculation according to the corresponding relationship or by actual testing.
  • t 2 t 1' ; optionally, t 0' ⁇ t 2 ⁇ t 1 ; optionally, t 1 ⁇ t 2 ⁇ t 1' ; optionally, t 1' ⁇ t 2 .
  • T corr , t 0′ , and t 2 may be calibrated and adjusted according to actual vehicle zero-crossing performance.
  • FIG7 is a schematic diagram of the start time of the zero-crossing compensation torque when the basic motor torque provided by the embodiment of the present application transitions from negative torque to positive torque and the vehicle speed or wheel speed increases.
  • T bas transitions from negative torque to positive torque and the vehicle speed (or wheel speed) increases
  • T corr , t 0' , t 1' , t 2 can be determined by the following method:
  • t 0′ t 0 ⁇ t bas1 ; optionally, t 0 ⁇ t bas1 ⁇ t 0′ ⁇ t 0 .
  • T corr T bas0 -T bas1 ; optionally, 0 ⁇ T corr ⁇ T bas0 +
  • the zero-crossing end time t 1' under the correction motor torque control can be determined by calculation according to the corresponding relationship or by actual testing.
  • t 2 t 1' ; optionally, t 0' ⁇ t 2 ⁇ t 1' ; optionally, t 1' ⁇ t 2 ;.
  • T corr , t 0′ , and t 2 may be calibrated and adjusted according to actual vehicle zero-crossing performance.
  • the zero-crossing compensation torque is determined based on the braking force, slope, vehicle speed, motor speed and basic motor torque, including: determining a first product of the braking force and a braking force conversion coefficient, wherein the braking force conversion coefficient has a mapping relationship with the slope, vehicle speed, motor speed and basic motor torque; determining a second product of the slope and the slope conversion coefficient, wherein the slope conversion coefficient has a mapping relationship with the braking force, vehicle speed, motor speed and basic motor torque; and determining the zero-crossing compensation torque according to a first sum of the first product and the second product.
  • the zero-crossing compensation torque T corr may be a calculated value, and T corr may be obtained by real-time calculation based on the braking force, slope, vehicle speed (or wheel speed), motor speed, and basic motor torque.
  • F brak may represent the braking force
  • may represent the slope
  • A may represent the braking force conversion coefficient
  • B may represent the slope conversion coefficient.
  • A may be a fixed coefficient or a coefficient having a mapping relationship with F brak , vehicle speed, motor speed, and basic motor torque
  • B may be a fixed coefficient or a coefficient having a mapping relationship with ⁇ , vehicle speed, motor speed, and basic motor torque.
  • the motor since the motor has a large zero-crossing impact under basic motor torque control, it is necessary to determine the motor's zero-crossing compensation torque to correct the basic motor torque, thereby reducing the motor's maximum speed difference and thus reducing or even eliminating the motor's zero-crossing impact.
  • T corr may also be a preset value, which represents a mapping relationship between T corr and braking force and slope (or vehicle acceleration), vehicle speed (or wheel speed), motor speed and basic motor torque, and may be obtained by looking up one or more mapping tables stored in the storage unit.
  • the zero-crossing compensation torque is determined based on the vehicle speed, vehicle acceleration, motor speed and basic motor torque, including: determining the third product of the vehicle acceleration and the vehicle acceleration conversion coefficient, the vehicle acceleration conversion coefficient and the vehicle acceleration, vehicle speed, motor speed and basic motor torque are mapped to each other; and determining the zero-crossing compensation torque based on the third product.
  • the zero-crossing compensation torque T corr can be a calculated value, which can be obtained by the vehicle speed, vehicle The vehicle acceleration, motor speed and basic motor torque are used to perform real-time calculation to obtain T corr .
  • a can represent the vehicle acceleration
  • K can represent the vehicle acceleration conversion coefficient
  • K can be a fixed coefficient or a coefficient that has a mapping relationship with a, vehicle speed, motor speed, and basic motor torque.
  • the motor since the motor has a large zero-crossing impact under basic motor torque control, it is necessary to determine the motor's zero-crossing compensation torque to correct the basic motor torque, thereby reducing the motor's maximum speed difference and thus reducing or even eliminating the motor's zero-crossing impact.
  • determining a modified motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque includes: determining the modified motor torque according to a second sum of the basic motor torque and the zero-crossing compensation torque.
  • T conf may represent the corrected motor torque.
  • the maximum speed difference of the motor speed will be less than the maximum speed difference of the motor speed under the control of the basic motor torque, so that relative to the basic motor torque, under the control of the corrected motor torque, the maximum speed difference of the motor speed is reduced, and therefore, the zero-crossing impact of the motor will be reduced or even eliminated.
  • FIG8 is a schematic diagram for comparing the zero-crossing performance of the motor under the control of the corrected motor torque and the zero-crossing performance of the motor under the control of the basic motor torque, provided in an embodiment of the present application.
  • T corr may represent the zero-crossing compensation torque.
  • ⁇ V' may represent the maximum speed difference of the motor speed under the modified motor torque control.
  • T conf may represent the modified motor torque.
  • t 0' may represent the start time of the zero-crossing compensation torque.
  • t 1' may represent the end time of the zero-crossing compensation torque under the modified motor torque control.
  • t 2 may represent the end time of the zero-crossing compensation torque.
  • the output torque of the motor is controlled to perform Zero, including: controlling the motor to output according to the corrected motor torque to pass zero.
  • the motor after obtaining the corrected motor torque, in order to reduce or even eliminate the zero-crossing impact of the motor, the motor can be controlled to output torque according to the corrected motor torque, so that when the motor crosses zero, the impact can be significantly reduced or even eliminated.
  • the motor control method of the electric vehicle provided in the present application calculates the basic motor torque and the zero-crossing compensation torque by acquiring the vehicle operation information, and then calculates the corrected motor torque by the basic motor torque and the zero-crossing compensation torque. In this way, the output torque of the motor can be controlled to pass through zero by the corrected motor torque, thereby reducing or eliminating the zero-crossing impact of the motor.
  • user information including but not limited to user device information, user personal information, etc.
  • data including but not limited to data used for analysis, stored data, displayed data, etc.
  • user information including but not limited to user device information, user personal information, etc.
  • data including but not limited to data used for analysis, stored data, displayed data, etc.
  • FIG9 is a schematic diagram of the structure of the motor control device for an electric vehicle provided in an embodiment of the present application.
  • the motor control device 900 for an electric vehicle includes:
  • the acquisition module 901 is used to obtain the vehicle operation information of the electric vehicle
  • a first determination module 902 is used to determine a basic motor torque of a motor of the electric vehicle based on vehicle operation information
  • a second determination module 903 is used to determine the zero-crossing compensation torque of the motor based on the basic motor torque
  • a third determination module 904 is used to determine a modified motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque;
  • the control module 905 is used to control the output torque of the motor to perform zero crossing based on the corrected motor torque.
  • the vehicle operation information includes at least one of the following: vehicle speed, vehicle acceleration, motor speed, wheel speed, accelerator pedal position, brake pedal position, brake master cylinder pressure, braking force, braking torque, slope, creep setting status, energy recovery setting status, single-pedal driving mode setting status, and driving mode setting status.
  • the first determination module 902 is specifically used to: The basic motor torque is determined based on the state, energy recovery setting state, single-pedal driving mode setting state and driving mode setting state, as well as the vehicle speed and/or the motor speed and/or the wheel speed.
  • the second determination module 903 is specifically used to: determine the zero-crossing compensation torque based on braking force, slope, vehicle speed, motor speed and basic motor torque; or determine the zero-crossing compensation torque based on vehicle speed, vehicle acceleration, motor speed and basic motor torque.
  • the second determination module 903 is specifically used to: determine the zero-crossing start time, the zero-crossing end time, the basic motor torque at the zero-crossing start time, the zero-crossing platform torque and the duration of the zero-crossing platform torque based on the braking force, slope, vehicle speed, motor speed and basic motor torque; determine the zero-crossing compensation torque based on the zero-crossing start time, the zero-crossing end time, the basic motor torque at the zero-crossing start time, the zero-crossing platform torque and the duration of the zero-crossing platform torque.
  • a fourth determination module which is used to determine the start time of the zero crossing compensation torque, the end time of the zero crossing compensation torque, and the end time of the zero crossing under the corrected motor torque control based on the zero crossing start time, the zero crossing end time, the basic motor torque at the zero crossing start time, the zero crossing platform torque, and the duration of the zero crossing platform torque.
  • the second determination module 903 is specifically used to: determine the first product of the braking force and the braking force conversion coefficient, and there is a mapping relationship between the braking force conversion coefficient and the slope, vehicle speed, motor speed and basic motor torque; determine the second product of the slope and the slope conversion coefficient, and there is a mapping relationship between the slope conversion coefficient and the braking force, vehicle speed, motor speed and basic motor torque; determine the zero-crossing compensation torque based on the first sum of the first product and the second product.
  • the second determination module 903 is specifically used to: determine the third product of the vehicle acceleration and the vehicle acceleration conversion coefficient, the vehicle acceleration conversion coefficient having a mapping relationship with the vehicle acceleration, vehicle speed, motor speed and basic motor torque; and determine the zero-crossing compensation torque based on the third product.
  • the third determination module 904 is specifically used to: determine the corrected motor torque according to a second sum of the basic motor torque and the zero-crossing compensation torque.
  • control module 905 controls the output torque of the motor based on the corrected motor torque.
  • zero crossing it is specifically used to: control the motor to output according to the corrected motor torque to perform zero crossing.
  • the motor control device of the electric vehicle provided in this embodiment is used to execute the technical solution of the motor control method of the electric vehicle in the aforementioned method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.
  • FIG10 is a block diagram of an electric vehicle according to an exemplary embodiment. As shown in FIG10 , the electric vehicle 1000 includes:
  • Processor 1011 memory 1012, and interactive interface 1013;
  • the processor 1011 is connected to the memory 1012 and the interactive interface 1013; the memory 1012 is used to store computer-executable instructions executable by the processor 1011; the processor 1011 is configured to execute the technical solution in the motor control method of the aforementioned electric vehicle by executing computer-executable instructions; the interactive interface 1013 provides an interface between the processor 1011 and the peripheral interface module.
  • the memory 1012 may be independent or integrated with the processor 1011 .
  • the electric vehicle 1000 may further include: a bus for connecting the above devices.
  • the memory may be, but is not limited to, a random access memory (RAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc.
  • RAM random access memory
  • ROM read-only memory
  • PROM programmable read-only memory
  • EPROM erasable programmable read-only memory
  • EEPROM electrically erasable read-only memory
  • the memory is used to store programs, and the processor executes the programs after receiving the execution instruction.
  • the software programs and modules in the above-mentioned memory may also include an operating system, which may include various software components and/or drivers for managing system tasks (such as memory management, storage device control, power management, etc.), and may communicate with various hardware or software components to provide an operating environment for other software components.
  • the processor may be an integrated circuit chip having signal processing capability.
  • the above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.
  • CPU central processing unit
  • NP network processor
  • the disclosed methods, steps, and logic block diagrams in the embodiments of the present application may be implemented or executed.
  • the general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
  • An embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed, they are used to implement the technical solution of the motor control method of the electric vehicle provided in the aforementioned method embodiment.
  • An embodiment of the present application also provides a computer program product, including a computer program, which, when executed, implements the technical solution of the motor control method of an electric vehicle provided in the method embodiment.
  • the aforementioned program can be stored in a computer-readable storage medium.
  • the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

Landscapes

  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

A motor control method for an electric vehicle, comprising: acquiring vehicle operation information of an electric vehicle; determining a basic motor torque of a motor of the electric vehicle on the basis of the vehicle operation information; determining a zero-crossing compensation torque of the motor on the basis of the basic motor torque; determining a corrected motor torque of the motor on the basis of the basic motor torque and the zero-crossing compensation torque; and, on the basis of the corrected motor torque, controlling an output torque of the motor so as to perform zero crossing. Thus, the corrected motor torque is used to implement zero crossing of the motor, so that backlash impact caused by switching of positive and negative torques of the motor is reduced or even eliminated, that is, zero-crossing impact is reduced or even eliminated. The present application relates to a motor control apparatus for an electric vehicle, and an electric vehicle.

Description

电动车的电机控制方法、装置和存储介质Motor control method, device and storage medium for electric vehicle 技术领域Technical Field

本申请涉及动力驱动控制领域,尤其涉及一种电动车的电机控制方法、装置和存储介质。The present application relates to the field of power drive control, and in particular to a motor control method, device and storage medium for an electric vehicle.

背景技术Background Art

在电动车的动力驱动控制领域,电机与车轮通过齿轮(或花键)机构连接,形成驱动系统以传递动力。电机驱动和电机制动是通过控制电机的输出扭矩来实现的。当电机在正负扭矩转换(或称过零)时,由于驱动系统的啮合齿轮(或花键)的啮合方向发生改变,连接车轮的齿轮(或花键)受力方向发生改变,会导致打齿,对齿轮或花键等传动机构造成损伤。此外,还会产生用户能明显感知的冲击和噪音,影响驾驶舒适性,尤其对于低速工况,电机的正负扭矩切换带来的齿隙冲击(或称过零冲击)会更明显的被用户感知。In the field of power drive control of electric vehicles, the motor and the wheel are connected through a gear (or spline) mechanism to form a drive system to transmit power. Motor drive and motor braking are achieved by controlling the output torque of the motor. When the motor is in positive and negative torque conversion (or zero crossing), the meshing direction of the meshing gear (or spline) of the drive system changes, and the force direction of the gear (or spline) connected to the wheel changes, which will cause tooth hitting and damage to the transmission mechanism such as gears or splines. In addition, it will also produce shocks and noises that users can clearly perceive, affecting driving comfort. Especially for low-speed conditions, the tooth gap impact (or zero crossing impact) caused by the positive and negative torque switching of the motor will be more obviously perceived by the user.

相关技术中,为了解决上述问题,通常使用固定的扭矩或使用较慢的扭矩变化速率进行过零控制以减弱过零冲击,一般称其为过零平台扭矩控制。但这种方式在制动力、坡道、车辆阻力或道路阻力变化时,依然存在过零冲击变大的问题。In the related art, in order to solve the above problems, a fixed torque or a slower torque change rate is usually used for zero-crossing control to reduce the zero-crossing impact, which is generally called zero-crossing platform torque control. However, this method still has the problem of increasing zero-crossing impact when the braking force, ramp, vehicle resistance or road resistance changes.

发明内容Summary of the invention

本申请实施例提供一种电动车的电机控制方法、装置和存储介质,用于解决电动车的过零冲击问题。The embodiments of the present application provide a motor control method, device and storage medium for an electric vehicle, which are used to solve the zero-crossing impact problem of the electric vehicle.

第一方面,本申请实施例提供一种电动车的电机控制方法,包括:获取电动车的车辆运行信息;基于车辆运行信息,确定电动车的电机的基本电机扭矩;基于基本电机扭矩,确定电机的过零补偿扭矩;基于基本电机扭矩和过零补偿扭矩,确定电机的修正电机扭矩;基于修正电机扭矩,控制电机的输出扭矩,以进行过零。 In a first aspect, an embodiment of the present application provides a motor control method for an electric vehicle, comprising: obtaining vehicle operation information of the electric vehicle; determining a basic motor torque of a motor of the electric vehicle based on the vehicle operation information; determining a zero-crossing compensation torque of the motor based on the basic motor torque; determining a corrected motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque; and controlling the output torque of the motor to perform zero crossing based on the corrected motor torque.

在一种可能的实施方式中,车辆运行信息包括以下中的至少一项:车辆速度、车辆加速度、电机转速、轮速、加速踏板位置、制动踏板位置、制动主缸压力、制动力、制动扭矩、坡度、蠕行设置状态、能量回收设置状态、单踏板驾驶模式设置状态、驾驶模式设置状态。In one possible implementation, the vehicle operation information includes at least one of the following: vehicle speed, vehicle acceleration, motor speed, wheel speed, accelerator pedal position, brake pedal position, brake master cylinder pressure, braking force, braking torque, slope, creep setting status, energy recovery setting status, single-pedal driving mode setting status, and driving mode setting status.

在一种可能的实施方式中,基于车辆运行信息,确定电动车的电机的基本电机扭矩,包括:根据加速踏板位置、制动踏板位置、蠕行设置状态、能量回收设置状态、单踏板驾驶模式设置状态和驾驶模式设置状态,以及车辆速度和/或电机转速和/或轮速,确定基本电机扭矩。In one possible implementation, the basic motor torque of the electric vehicle's motor is determined based on vehicle operation information, including: determining the basic motor torque according to an accelerator pedal position, a brake pedal position, a creep setting state, an energy recovery setting state, a single-pedal driving mode setting state and a driving mode setting state, as well as a vehicle speed and/or a motor speed and/or a wheel speed.

在一种可能的实施方式中,基于基本电机扭矩,确定电机的过零补偿扭矩,包括:基于制动力、坡度、车辆速度、电机转速和基本电机扭矩,确定过零补偿扭矩;或,基于车辆速度、车辆加速度、电机转速和基本电机扭矩,确定过零补偿扭矩。In one possible implementation, the zero-crossing compensation torque of the motor is determined based on the basic motor torque, including: determining the zero-crossing compensation torque based on braking force, slope, vehicle speed, motor speed and basic motor torque; or determining the zero-crossing compensation torque based on vehicle speed, vehicle acceleration, motor speed and basic motor torque.

在一种可能的实施方式中,基于制动力、坡度、车辆速度、电机转速和基本电机扭矩,确定过零补偿扭矩,包括:基于制动力、坡度、车辆速度、电机转速和基本电机扭矩,确定过零开始时刻、过零结束时刻、过零开始时刻的基本电机扭矩、过零平台扭矩和过零平台扭矩的持续时长;基于过零开始时刻、过零结束时刻、过零开始时刻的基本电机扭矩、过零平台扭矩和过零平台扭矩的持续时长,确定过零补偿扭矩。In one possible implementation, the zero-crossing compensation torque is determined based on the braking force, slope, vehicle speed, motor speed and basic motor torque, including: determining the zero-crossing start time, the zero-crossing end time, the basic motor torque at the zero-crossing start time, the zero-crossing platform torque and the duration of the zero-crossing platform torque based on the braking force, slope, vehicle speed, motor speed and basic motor torque; determining the zero-crossing compensation torque based on the zero-crossing start time, the zero-crossing end time, the basic motor torque at the zero-crossing start time, the zero-crossing platform torque and the duration of the zero-crossing platform torque.

在一种可能的实施方式中,还包括:基于过零开始时刻、过零结束时刻、过零开始时刻的基本电机扭矩、过零平台扭矩和过零平台扭矩的持续时长,确定过零补偿扭矩的开始时刻、过零补偿扭矩的结束时刻、修正电机扭矩控制下的过零结束时刻。In a possible implementation, it also includes: determining the start time of the zero crossing compensation torque, the end time of the zero crossing compensation torque, and the end time of the zero crossing under the corrected motor torque control based on the zero crossing start time, the zero crossing end time, the basic motor torque at the zero crossing start time, the zero crossing platform torque, and the duration of the zero crossing platform torque.

在一种可能的实施方式中,基于制动力、坡度、车辆速度、电机转速和基本电机扭矩,确定过零补偿扭矩,包括:确定制动力和制动力换算系数的第一积,制动力换算系数与坡度、车辆速度、电机转速和基本电机扭矩存在映射关系;确定坡度和坡度换算系数的第二积,坡度换算系数与制动力、车辆速度、电机转速和基本电机扭矩存在映射关系;根据第一积与第二积的第一和,确定过零补偿扭矩。In one possible implementation, the zero-crossing compensation torque is determined based on the braking force, slope, vehicle speed, motor speed and basic motor torque, including: determining a first product of the braking force and a braking force conversion coefficient, wherein the braking force conversion coefficient has a mapping relationship with the slope, vehicle speed, motor speed and basic motor torque; determining a second product of the slope and the slope conversion coefficient, wherein the slope conversion coefficient has a mapping relationship with the braking force, vehicle speed, motor speed and basic motor torque; and determining the zero-crossing compensation torque based on a first sum of the first product and the second product.

在一种可能的实施方式中,基于车辆速度、车辆加速度、电机转速和基本电机扭矩,确定过零补偿扭矩,包括:确定车辆加速度与车辆加速度换算 系数的第三积,车辆加速度换算系数与车辆加速度、车辆速度、电机转速和基本电机扭矩存在映射关系;根据第三积,确定过零补偿扭矩。In one possible implementation, the zero-crossing compensation torque is determined based on the vehicle speed, the vehicle acceleration, the motor speed, and the basic motor torque, including: determining the vehicle acceleration and the vehicle acceleration conversion The third product of the coefficient, the vehicle acceleration conversion coefficient has a mapping relationship with the vehicle acceleration, vehicle speed, motor speed and basic motor torque; based on the third product, the zero-crossing compensation torque is determined.

在一种可能的实施方式中,基于基本电机扭矩和过零补偿扭矩,确定电机的修正电机扭矩,包括:根据基本电机扭矩与过零补偿扭矩的第二和,确定修正电机扭矩。In a possible implementation, determining a corrected motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque includes: determining the corrected motor torque according to a second sum of the basic motor torque and the zero-crossing compensation torque.

在一种可能的实施方式中,基于修正电机扭矩,控制电机的输出扭矩,以进行过零,包括:控制电机按照修正电机扭矩进行输出,以进行过零。In a possible implementation, based on the corrected motor torque, the output torque of the motor is controlled to pass through zero, including: controlling the motor to output according to the corrected motor torque to pass through zero.

第二方面,本申请实施例提供一种电动车的电机控制装置,包括:获取模块,用于获取电动车的车辆运行信息;第一确定模块,用于基于车辆运行信息,确定电动车的电机的基本电机扭矩;第二确定模块,用于基于基本电机扭矩,确定电机的过零补偿扭矩;第三确定模块,用于基于基本电机扭矩和过零补偿扭矩,确定电机的修正电机扭矩;控制模块,用于基于修正电机扭矩,控制电机的输出扭矩,以进行过零。In a second aspect, an embodiment of the present application provides a motor control device for an electric vehicle, comprising: an acquisition module for acquiring vehicle operation information of the electric vehicle; a first determination module for determining the basic motor torque of the motor of the electric vehicle based on the vehicle operation information; a second determination module for determining the zero-crossing compensation torque of the motor based on the basic motor torque; a third determination module for determining the corrected motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque; and a control module for controlling the output torque of the motor to perform zero crossing based on the corrected motor torque.

第三方面,本申请实施例提供一种电动车,包括:处理器,以及与处理器连接的存储器;存储器存储计算机执行指令;处理器执行存储器存储的计算机执行指令,以实现如第一方面的电动车的电机控制方法。In a third aspect, an embodiment of the present application provides an electric vehicle, comprising: a processor, and a memory connected to the processor; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory to implement the motor control method of the electric vehicle as in the first aspect.

第四方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,计算机执行指令被执行时用于实现第一方面的电动车的电机控制方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer execution instructions are stored. When the computer execution instructions are executed, they are used to implement the motor control method of the electric vehicle of the first aspect.

第五方面,本申请实施例提供一种计算机程序产品,包括计算机程序,计算机程序被执行时实现如第一方面的电动车的电机控制方法。In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed, implements the motor control method of an electric vehicle as in the first aspect.

本申请实施例提供的电动车的电机控制方法、装置和存储介质,通过车辆运行信息确定基本电机扭矩,并通过基本电机扭矩确定电机的过零补偿扭矩,并基于基本电机扭矩和过零补偿扭矩确定电机的修正电机扭矩,从而根据修正电机扭矩对电动车的电机扭矩进行修正,这样就可以利用修正后的电机扭矩对电机进行过零,以实现减小甚至消除电机的正负扭矩切换带来的齿隙冲击,也即,减小甚至消除过零冲击。The motor control method, device and storage medium of the electric vehicle provided in the embodiments of the present application determine the basic motor torque through vehicle operation information, determine the zero-crossing compensation torque of the motor through the basic motor torque, and determine the corrected motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque, so as to correct the motor torque of the electric vehicle according to the corrected motor torque. In this way, the corrected motor torque can be used to make the motor cross zero, so as to reduce or even eliminate the tooth gap impact caused by the switching of the positive and negative torques of the motor, that is, reduce or even eliminate the zero-crossing impact.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例或相关技术中的技术方案,下面将对实 施例或相关技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, A brief introduction is given to the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

图1为本申请实施例提供的电动车的电机控制方法的应用场景示意图;FIG1 is a schematic diagram of an application scenario of a motor control method for an electric vehicle provided in an embodiment of the present application;

图2为本申请实施例提供的电动车的电机控制方法的流程图;FIG2 is a flow chart of a motor control method for an electric vehicle provided in an embodiment of the present application;

图3为相关技术提供的基本电机扭矩控制下电机的过零表现示意图;FIG3 is a schematic diagram of the zero-crossing performance of a motor under basic motor torque control provided by the related art;

图4为本申请实施例提供的基本电机扭矩从正扭矩向负扭矩过渡且车速或轮速下降时过零补偿扭矩的开始时刻示意图;4 is a schematic diagram of the start time of the zero-crossing compensation torque when the basic motor torque provided by an embodiment of the present application transitions from positive torque to negative torque and the vehicle speed or wheel speed decreases;

图5为本申请实施例提供的基本电机扭矩从正扭矩向负扭矩过渡且车速或轮速上升时过零补偿扭矩的开始时刻示意图;5 is a schematic diagram of the start time of the zero-crossing compensation torque when the basic motor torque provided by an embodiment of the present application transitions from positive torque to negative torque and the vehicle speed or wheel speed increases;

图6为本申请实施例提供的基本电机扭矩从负扭矩向正扭矩过渡且车速或轮速下降时过零补偿扭矩的开始时刻示意图;6 is a schematic diagram of the start time of the zero-crossing compensation torque when the basic motor torque provided by an embodiment of the present application transitions from negative torque to positive torque and the vehicle speed or wheel speed decreases;

图7为本申请实施例提供的基本电机扭矩从负扭矩向正扭矩过渡且车速或轮速上升时过零补偿扭矩的开始时刻示意图;7 is a schematic diagram of the start time of the zero-crossing compensation torque when the basic motor torque provided by an embodiment of the present application transitions from negative torque to positive torque and the vehicle speed or wheel speed increases;

图8为本申请实施例提供修正电机扭矩控制下电机的过零表现与基本电机扭矩控制下电机的过零表现的对比示意图;FIG8 is a schematic diagram showing a comparison between the zero-crossing performance of a motor under the modified motor torque control and the zero-crossing performance of a motor under the basic motor torque control provided by an embodiment of the present application;

图9为本申请实施例提供的电动车的电机控制装置的结构示意图;FIG9 is a schematic structural diagram of a motor control device for an electric vehicle provided in an embodiment of the present application;

图10是根据一示例性实施例示出的一种电动车的框图。Fig. 10 is a block diagram of an electric vehicle according to an exemplary embodiment.

具体实施方式DETAILED DESCRIPTION

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在根据本实施例的启示下做出的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments made by ordinary technicians in this field under the enlightenment of the embodiments belong to the scope of protection of the present application.

本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排 他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive His inclusion, for example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such process, method, product, or apparatus.

下面首先对本申请中涉及的名词进行解释。The following first explains the terms involved in this application.

过零:电机的正扭矩和负扭矩的转换过程。Zero crossing: The conversion process between positive torque and negative torque of the motor.

背景技术中提供的相关技术中,至少存在以下技术问题:The related technologies provided in the background technology have at least the following technical problems:

使用固定的扭矩或使用较慢的扭矩变化速率进行过零控制以减弱过零冲击,一般称其为过零平台扭矩控制。但这种方式未考虑到制动力、坡道、车辆阻力(如温度变化导致的车辆阻力变化)或道路阻力变化等对车辆运动状态的改变,使得电机在过零平台扭矩的控制范围以外进行过零,从而导致存在制动力、坡道、车辆阻力或道路阻力变化时电机的过零冲击变大的问题。Using a fixed torque or a slower torque change rate to perform zero-crossing control to reduce the zero-crossing impact is generally called zero-crossing platform torque control. However, this method does not take into account the changes in the vehicle's motion state caused by braking force, ramps, vehicle resistance (such as changes in vehicle resistance caused by temperature changes) or road resistance changes, causing the motor to cross zero outside the control range of the zero-crossing platform torque, resulting in a problem of increased zero-crossing impact of the motor when the braking force, ramps, vehicle resistance or road resistance changes.

针对相关技术中的问题,本申请提出一种电动车的电机控制方法,通过车辆运行信息确定基本电机扭矩,并通过基本电机扭矩确定电机的过零补偿扭矩,并基于基本电机扭矩和过零补偿扭矩确定电机的修正电机扭矩,从而根据修正电机扭矩对电动车的电机扭矩进行修正,这样就可以利用修正后的电机扭矩对电机进行过零,以实现减小甚至消除电机的正负扭矩切换带来的齿隙冲击,也即,减小甚至消除过零冲击。In response to the problems in the related technology, the present application proposes a motor control method for an electric vehicle, which determines the basic motor torque through vehicle operation information, and determines the zero-crossing compensation torque of the motor through the basic motor torque, and determines the corrected motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque, so as to correct the motor torque of the electric vehicle according to the corrected motor torque. In this way, the corrected motor torque can be used to make the motor cross zero, so as to reduce or even eliminate the tooth gap impact caused by the switching of the positive and negative torques of the motor, that is, reduce or even eliminate the zero-crossing impact.

在一种实施例中,可以在一种应用场景中应用该电动车的电机控制方法。图1为本申请实施例提供的电动车的电机控制方法的应用场景示意图,如图1所示,控制器中可以接收车辆运行信息,并根据车辆运行信息确定基本电机扭矩和过零补偿扭矩,并基于基本电机扭矩和过零补偿扭矩确定电机的修正电机扭矩,然后将修正电机扭矩输出给电机。电机在接收到修正电机扭矩之后,将修正电机扭矩作为输出,从而实现电机的过零。In one embodiment, the motor control method of the electric vehicle can be applied in an application scenario. FIG1 is a schematic diagram of an application scenario of the motor control method of the electric vehicle provided in an embodiment of the present application. As shown in FIG1, the controller can receive vehicle operation information, and determine the basic motor torque and the zero-crossing compensation torque according to the vehicle operation information, and determine the corrected motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque, and then output the corrected motor torque to the motor. After receiving the corrected motor torque, the motor outputs the corrected motor torque, thereby achieving zero crossing of the motor.

在上述场景中,由于电机的过零冲击与电机转速的最大转速差呈正相关关系,电机转速的最大转速差越大,过零冲击越大。在基本电机扭矩控制下,电机转速的最大转速差较大,从而会导致电机的过零冲击较大,影响用户的驾驶舒适性,因此,需要确定过零补偿扭矩,以对基本电机扭矩进行修正,这样在修正电机扭矩控制下,电机转速的最大转速差会小于基本电机扭矩控制下的电机转速的最大转速差,从而相对于基本电机扭矩,在修正电机扭矩控制下,电机转速的最大转速差减小,因此,电机的过零冲击会减小甚至消除。 In the above scenario, since the zero-crossing impact of the motor is positively correlated with the maximum speed difference of the motor speed, the greater the maximum speed difference of the motor speed, the greater the zero-crossing impact. Under the basic motor torque control, the maximum speed difference of the motor speed is large, which will cause the zero-crossing impact of the motor to be large, affecting the driving comfort of the user. Therefore, it is necessary to determine the zero-crossing compensation torque to correct the basic motor torque, so that under the corrected motor torque control, the maximum speed difference of the motor speed will be smaller than the maximum speed difference of the motor speed under the basic motor torque control, so that relative to the basic motor torque, under the corrected motor torque control, the maximum speed difference of the motor speed is reduced, and therefore, the zero-crossing impact of the motor will be reduced or even eliminated.

结合上述场景,下面通过几个具体实施例对本申请提供的电动车的电机控制方法的技术方案进行详细说明。In combination with the above scenarios, the technical solution of the motor control method of the electric vehicle provided by the present application is described in detail through several specific embodiments below.

本申请提供了一种电动车的电机控制方法。图2为本申请实施例提供的电动车的电机控制方法的流程图,如图2所示,该方法包括以下步骤:The present application provides a motor control method for an electric vehicle. FIG2 is a flow chart of the motor control method for an electric vehicle provided in an embodiment of the present application. As shown in FIG2 , the method includes the following steps:

S201:获取电动车的车辆运行信息。S201: Acquire vehicle operation information of the electric vehicle.

在本步骤中,电动车的车辆运行信息可以用于确定各扭矩,例如,基本电机扭矩、过零补偿扭矩、修正电机扭矩等。In this step, the vehicle operation information of the electric vehicle can be used to determine various torques, such as basic motor torque, zero-crossing compensation torque, corrected motor torque, etc.

S202:基于车辆运行信息,确定电动车的电机的基本电机扭矩。S202: Determine a basic motor torque of a motor of the electric vehicle based on vehicle operation information.

在本步骤中,基本电机扭矩可以是不考虑制动力和坡度,或不考虑车辆减速度对过零影响的控制扭矩,也可以是水平道路且无刹车条件下的控制扭矩。可以通过车辆运行信息确定用户的需求扭矩,该需求扭矩即为基本电机扭矩。In this step, the basic motor torque can be a control torque that does not consider the braking force and slope, or the influence of the vehicle deceleration on zero crossing, or a control torque under level road and no braking conditions. The user's required torque can be determined through vehicle operation information, and the required torque is the basic motor torque.

S203:基于基本电机扭矩,确定电机的过零补偿扭矩。S203: Determine the zero-crossing compensation torque of the motor based on the basic motor torque.

在本步骤中,在确定基本电机扭矩之后,由于电机的过零冲击与电机转速的最大转速差呈正相关关系,电机转速的最大转速差越大,过零冲击越大,而在基本电机扭矩控制下,电机转速的最大转速差较大,从而会导致电机的过零冲击较大,影响用户的驾驶舒适性,因此,需要确定电机的过零补偿扭矩,以对基本电机扭矩进行修正,这样就可以减小电机的最大转速差,从而减小甚至消除电机的过零冲击。In this step, after determining the basic motor torque, since the zero-crossing impact of the motor is positively correlated with the maximum speed difference of the motor speed, the greater the maximum speed difference of the motor speed, the greater the zero-crossing impact. Under the control of the basic motor torque, the maximum speed difference of the motor speed is large, which will cause the zero-crossing impact of the motor to be large, affecting the user's driving comfort. Therefore, it is necessary to determine the zero-crossing compensation torque of the motor to correct the basic motor torque, so as to reduce the maximum speed difference of the motor, thereby reducing or even eliminating the zero-crossing impact of the motor.

S204:基于基本电机扭矩和过零补偿扭矩,确定电机的修正电机扭矩。S204: Determine a corrected motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque.

在本步骤中,过零补偿扭矩可以用于对电机的过零进行补偿,因此,在确定基本电机扭矩和过零补偿扭矩之后,可以基于过零补偿扭矩对基本电机扭矩进行修正,从而得到修正电机扭矩。In this step, the zero-crossing compensation torque can be used to compensate for the zero-crossing of the motor. Therefore, after determining the basic motor torque and the zero-crossing compensation torque, the basic motor torque can be corrected based on the zero-crossing compensation torque to obtain the corrected motor torque.

S205:基于修正电机扭矩,控制电机的输出扭矩,以进行过零。S205: Based on the corrected motor torque, control the output torque of the motor to perform zero crossing.

在本步骤中,通过过零补偿扭矩对基本电机扭矩进行修正,得到修正电机扭矩之后,在修正电机扭矩控制下,电机转速的最大转速差会小于基本电机扭矩控制下的电机转速的最大转速差,从而相对于基本电机扭矩,在修正电机扭矩控制下,电机转速的最大转速差减小,因此,电机的过零冲击会减小甚至消除。In this step, the basic motor torque is corrected by the zero-crossing compensation torque to obtain the corrected motor torque. Under the control of the corrected motor torque, the maximum speed difference of the motor speed will be smaller than the maximum speed difference of the motor speed under the control of the basic motor torque. Thus, relative to the basic motor torque, under the control of the corrected motor torque, the maximum speed difference of the motor speed is reduced. Therefore, the zero-crossing impact of the motor will be reduced or even eliminated.

本实施例提供的电动车的电机控制方法,通过车辆运行信息确定基本电 机扭矩,并通过基本电机扭矩确定电机的过零补偿扭矩,并基于基本电机扭矩和过零补偿扭矩确定电机的修正电机扭矩,从而根据修正电机扭矩对电动车的电机扭矩进行修正,这样就可以利用修正后的电机扭矩对电机进行过零,以实现减小甚至消除电机的正负扭矩切换带来的齿隙冲击,也即,减小甚至消除过零冲击。The motor control method of the electric vehicle provided in this embodiment determines the basic motor The motor torque is determined by the basic motor torque, and the zero-crossing compensation torque of the motor is determined by the basic motor torque, and the corrected motor torque of the motor is determined based on the basic motor torque and the zero-crossing compensation torque, so that the motor torque of the electric vehicle is corrected according to the corrected motor torque. In this way, the corrected motor torque can be used to make the motor cross zero, so as to reduce or even eliminate the tooth gap impact caused by the positive and negative torque switching of the motor, that is, to reduce or even eliminate the zero-crossing impact.

在一种实施例中,车辆运行信息包括以下中的至少一项:车辆速度、车辆加速度、电机转速、轮速、加速踏板位置、制动踏板位置、制动主缸压力、制动力、制动扭矩、坡度、蠕行设置状态、能量回收设置状态、单踏板驾驶模式设置状态、驾驶模式设置状态。In one embodiment, the vehicle operation information includes at least one of the following: vehicle speed, vehicle acceleration, motor speed, wheel speed, accelerator pedal position, brake pedal position, brake master cylinder pressure, braking force, braking torque, slope, creep setting status, energy recovery setting status, single-pedal driving mode setting status, and driving mode setting status.

在该方案中,制动力指机械刹车装置通过摩擦提供的车辆制动力;车辆速度、车辆加速度、电机转速、轮速、坡度等车辆运行信息可通过车辆自身的传感器测量获得,也可通过车辆外测量装备获得,车辆加速度也可通过对车辆速度进行计算获得。加速踏板位置和制动踏板位置也可以通过传感器测量得到,或根据踏板压力计算得到。制动主缸压力和制动扭矩也可以通过计算或测量得到。蠕行设置状态可以指是否将车辆设置为蠕行状态,若将车辆设置为蠕行状态,则松开刹车踏板与加速踏板后车辆最终将按照蠕行速度运动。能量回收设置状态可以指是否将车辆设置为能量回收状态以及设置的能量回收等级。单踏板驾驶模式设置状态可以指是否将车辆设置为单踏板驾驶模式设置状态。驾驶模式设置状态可以指将车辆设置为哪种驾驶模式,例如,舒适模式、经济模式等。In this scheme, braking force refers to the vehicle braking force provided by the mechanical brake device through friction; vehicle operation information such as vehicle speed, vehicle acceleration, motor speed, wheel speed, slope, etc. can be obtained by measuring the vehicle's own sensors or by measuring equipment outside the vehicle, and vehicle acceleration can also be obtained by calculating the vehicle speed. The accelerator pedal position and the brake pedal position can also be measured by sensors or calculated based on the pedal pressure. The brake master cylinder pressure and the brake torque can also be calculated or measured. The creep setting state can refer to whether the vehicle is set to the creep state. If the vehicle is set to the creep state, the vehicle will eventually move at the creep speed after releasing the brake pedal and the accelerator pedal. The energy recovery setting state can refer to whether the vehicle is set to the energy recovery state and the set energy recovery level. The single-pedal driving mode setting state can refer to whether the vehicle is set to the single-pedal driving mode setting state. The driving mode setting state can refer to which driving mode the vehicle is set to, for example, comfort mode, economy mode, etc.

可选地,在实际使用过程中,可以使用上述全部的车辆运行信息或部分车辆运行信息参与各扭矩的计算。例如,既可以将电机转速作为速度输入,又可以将车辆速度或者轮速作为速度输入;即可以将制动力作为制动信号输入,也可以将制动扭矩或者制动主缸压力或者制动踏板位置作为制动信号的输入;或者利用车辆加速度来代替制动信号和坡度信号。Optionally, in actual use, all or part of the above vehicle operation information can be used to participate in the calculation of each torque. For example, the motor speed can be used as the speed input, and the vehicle speed or wheel speed can be used as the speed input; that is, the braking force can be used as the braking signal input, and the braking torque or the brake master cylinder pressure or the brake pedal position can be used as the braking signal input; or the vehicle acceleration can be used to replace the braking signal and the slope signal.

可选地,通过车辆运行信息可以对基本电机扭矩进行修正,得到修正电机扭矩,这样就可以利用修正电机扭矩对电机进行过零,以实现减小甚至消除电机的正负扭矩切换带来的齿隙冲击,也即,减小甚至消除过零冲击。Optionally, the basic motor torque can be corrected by vehicle operation information to obtain a corrected motor torque, so that the corrected motor torque can be used to perform zero crossing of the motor to reduce or even eliminate the tooth gap impact caused by the switching of the positive and negative torque of the motor, that is, reduce or even eliminate the zero crossing impact.

在一种实施例中,基于车辆运行信息,确定电动车的电机的基本电机扭矩,包括:根据加速踏板位置、制动踏板位置、蠕行设置状态、能量回收设置 状态、单踏板驾驶模式设置状态和驾驶模式设置状态,以及车辆速度和/或电机转速和/或轮速,确定基本电机扭矩。In one embodiment, based on the vehicle operation information, determining the basic motor torque of the electric vehicle motor includes: determining the basic motor torque of the electric vehicle motor based on the accelerator pedal position, the brake pedal position, the creep setting state, the energy recovery setting state, the state, the one-pedal driving mode setting state and the driving mode setting state, as well as the vehicle speed and/or the motor speed and/or the wheel speed, determine the basic motor torque.

在该方案中,加速踏板位置、制动踏板位置、蠕行设置状态、能量回收设置状态、单踏板驾驶模式设置状态、驾驶模式设置状态以及车辆速度和/或电机转速和/或轮速等车辆状态和车辆设置状态,与基本电机扭矩之间存在对应关系,在确定加速踏板位置、制动踏板位置、蠕行设置状态、能量回收设置状态、单踏板驾驶模式设置状态、驾驶模式设置状态,以及车辆速度和/或电机转速和/或轮速之后,就可以根据对应关系确定出基本电机扭矩。In this scheme, there is a corresponding relationship between the accelerator pedal position, brake pedal position, creep setting state, energy recovery setting state, single-pedal driving mode setting state, driving mode setting state, as well as vehicle states and vehicle setting states such as vehicle speed and/or motor speed and/or wheel speed, and the basic motor torque. After determining the accelerator pedal position, brake pedal position, creep setting state, energy recovery setting state, single-pedal driving mode setting state, driving mode setting state, as well as vehicle speed and/or motor speed and/or wheel speed, the basic motor torque can be determined based on the corresponding relationship.

可选地,在确定基本电机扭矩之后,由于电机的过零冲击与电机转速的最大转速差呈正相关关系,电机转速的最大转速差越大,过零冲击越大,而在基本电机扭矩控制下,电机转速的最大转速差较大,从而会导致电机的过零冲击较大,影响用户的驾驶舒适性。如图3所示,图3为相关技术提供的基本电机扭矩控制下电机的过零表现示意图。Optionally, after determining the basic motor torque, since the zero-crossing impact of the motor is positively correlated with the maximum speed difference of the motor speed, the greater the maximum speed difference of the motor speed, the greater the zero-crossing impact. Under the basic motor torque control, the maximum speed difference of the motor speed is large, which will cause the zero-crossing impact of the motor to be large, affecting the driving comfort of the user. As shown in Figure 3, Figure 3 is a schematic diagram of the zero-crossing performance of the motor under the basic motor torque control provided by the relevant technology.

在图3中,ΔV可以表示为电机转速的最大转速差,过零冲击的大小和ΔV的大小呈正相关关系。t0可以表示为过零开始时刻。t1可以表示为过零结束时刻。Tbas可以表示为基本电机扭矩。Tbas0可以表示为过零开始时刻的基本电机扭矩。Tbas1可以表示为基本电机扭矩控制下的过零平台扭矩。Δtbas1可以表示为基本电机扭矩控制下的过零平台扭矩的持续时长。In FIG3 , ΔV can be expressed as the maximum speed difference of the motor speed, and the magnitude of the zero-crossing impact is positively correlated with the magnitude of ΔV. t 0 can be expressed as the start time of zero-crossing. t 1 can be expressed as the end time of zero-crossing. T bas can be expressed as the basic motor torque. T bas0 can be expressed as the basic motor torque at the start time of zero-crossing. T bas1 can be expressed as the zero-crossing platform torque under the basic motor torque control. Δt bas1 can be expressed as the duration of the zero-crossing platform torque under the basic motor torque control.

由图3可以看出,电机转速的最大转速差较大,也就是说电机转速的变化较大,这样会导致电机的过零冲击较大,影响用户的驾驶舒适性。因此,在确定出基本电机扭矩之后,就可以对基本电机扭矩进行修正,从而减小甚至消除电机的过零冲击,进而提高用户的驾驶舒适性。As can be seen from Figure 3, the maximum speed difference of the motor speed is large, that is, the change of the motor speed is large, which will cause a large zero-crossing impact of the motor, affecting the driving comfort of the user. Therefore, after determining the basic motor torque, the basic motor torque can be corrected to reduce or even eliminate the zero-crossing impact of the motor, thereby improving the driving comfort of the user.

在一种实施例中,基于基本电机扭矩,确定电机的过零补偿扭矩,包括:基于制动力、坡度、车辆速度、电机转速和基本电机扭矩,确定过零补偿扭矩;或,基于车辆速度、车辆加速度、电机转速和基本电机扭矩,确定过零补偿扭矩。In one embodiment, the zero-crossing compensation torque of the motor is determined based on the basic motor torque, including: determining the zero-crossing compensation torque based on braking force, slope, vehicle speed, motor speed and basic motor torque; or determining the zero-crossing compensation torque based on vehicle speed, vehicle acceleration, motor speed and basic motor torque.

在该方案中,由于电机在基本电机扭矩控制下,过零冲击较大,因此需要确定电机的过零补偿扭矩,以对基本电机扭矩进行修正,这样就可以减小电机的最大转速差,从而减小甚至消除电机的过零冲击。在确定过零补偿扭矩时,可以根据制动力、坡度、车辆速度、电机转速以及基本电机扭矩等信息 计算过零补偿扭矩,也可以根据车辆速度、车辆加速度、基本电机扭矩、电机转速等信息计算过零补偿扭矩。In this scheme, since the motor has a large zero-crossing impact under the basic motor torque control, it is necessary to determine the motor's zero-crossing compensation torque to correct the basic motor torque, so that the maximum speed difference of the motor can be reduced, thereby reducing or even eliminating the motor's zero-crossing impact. When determining the zero-crossing compensation torque, the braking force, slope, vehicle speed, motor speed, and basic motor torque can be used to determine the zero-crossing compensation torque. The zero-crossing compensation torque may be calculated based on information such as vehicle speed, vehicle acceleration, basic motor torque, and motor speed.

在一种实施例中,基于制动力、坡度、车辆速度、电机转速和基本电机扭矩,确定过零补偿扭矩,包括:基于制动力、坡度、车辆速度、电机转速和基本电机扭矩,确定过零开始时刻、过零结束时刻、过零开始时刻的基本电机扭矩、过零平台扭矩和过零平台扭矩的持续时长;基于过零开始时刻、过零结束时刻、过零开始时刻的基本电机扭矩、过零平台扭矩和过零平台扭矩的持续时长,确定过零补偿扭矩。In one embodiment, the zero-crossing compensation torque is determined based on the braking force, slope, vehicle speed, motor speed and basic motor torque, including: determining the zero-crossing start time, the zero-crossing end time, the basic motor torque at the zero-crossing start time, the zero-crossing platform torque and the duration of the zero-crossing platform torque based on the braking force, slope, vehicle speed, motor speed and basic motor torque; determining the zero-crossing compensation torque based on the zero-crossing start time, the zero-crossing end time, the basic motor torque at the zero-crossing start time, the zero-crossing platform torque and the duration of the zero-crossing platform torque.

在该方案中,在实际使用过程中,可根据制动力和坡度(或车辆加速度)、基本电机扭矩、车辆速度(或轮速)、电机转速等车辆运行信息计算出过零开始时刻t0、过零结束时刻t1、过零开始时刻的基本电机扭矩Tbas0、过零平台扭矩Tbas1、过零平台扭矩的持续时长Δtbas1。也即,通过计算可以获得制动力和坡度(或车辆加速度)、基本电机扭矩、车辆速度(或轮速)、电机转速等车辆运行信息,与过零开始时刻t0、过零结束时刻t1、过零开始时刻的基本电机扭矩Tbas0、过零平台扭矩Tbas1、过零平台扭矩的持续时间Δtbas1的对应关系,这样在确定制动力和坡度(或车辆加速度)、基本电机扭矩、车辆速度(或轮速)、电机转速等车辆运行信息之后,就可以根据对应关系,确定出过零开始时刻t0、过零结束时刻t1、过零开始时刻的基本电机扭矩Tbas0、过零平台扭矩Tbas1、过零平台扭矩的持续时长Δtbas1In this solution, in actual use, the zero-crossing start time t 0 , the zero-crossing end time t 1 , the basic motor torque T bas0 at the zero-crossing start time, the zero-crossing platform torque T bas1 , and the duration Δt bas1 of the zero-crossing platform torque can be calculated according to vehicle operation information such as braking force and slope ( or vehicle acceleration), basic motor torque, vehicle speed (or wheel speed), and motor speed . That is, the corresponding relationship between the braking force and the slope (or vehicle acceleration), the basic motor torque, the vehicle speed (or the wheel speed), the motor speed and other vehicle operation information and the zero-crossing start time t 0 , the zero-crossing end time t 1 , the basic motor torque T bas0 at the zero-crossing start time, the zero-crossing platform torque T bas1 , and the duration Δt bas1 of the zero-crossing platform torque can be obtained through calculation. In this way, after determining the braking force and the slope (or vehicle acceleration), the basic motor torque, the vehicle speed (or the wheel speed), the motor speed and other vehicle operation information, the zero-crossing start time t 0 , the zero-crossing end time t 1 , the basic motor torque T bas0 at the zero-crossing start time, the zero-crossing platform torque T bas1 , and the duration Δt bas1 of the zero-crossing platform torque can be determined according to the corresponding relationship.

可选地,也可以在实际试验环境中进行测试,以获得制动力和坡度(或车辆加速度)、基本电机扭矩、车速(或轮速)等车辆运行信息,与过零开始时刻t0、过零结束时刻t1、过零开始时刻的基本电机扭矩Tbas0、过零平台扭矩Tbas1、过零平台扭矩的持续时间Δtbas1的对应关系。Optionally, the test may also be performed in an actual test environment to obtain the corresponding relationship between the braking force and slope (or vehicle acceleration), basic motor torque, vehicle speed (or wheel speed) and other vehicle operation information and the zero-crossing start time t 0 , the zero-crossing end time t 1 , the basic motor torque T bas0 at the zero-crossing start time, the zero-crossing platform torque T bas1 , and the duration Δt bas1 of the zero-crossing platform torque.

在一种可选的实施方式中,由于过零开始时刻t0、过零结束时刻t1、过零开始时刻的基本电机扭矩Tbas0、过零平台扭矩Tbas1、过零平台扭矩的持续时间Δtbas1,与过零补偿扭矩Tcorr之间存在对应关系,因此,在确定过零开始时刻t0、过零结束时刻t1、过零开始时刻的基本电机扭矩Tbas0、过零平台扭矩Tbas1、过零平台扭矩的持续时间Δtbas1之后,就可以得到过零补偿扭矩TcorrIn an optional implementation, since there is a corresponding relationship between the zero-crossing start time t 0 , the zero-crossing end time t 1 , the basic motor torque T bas0 at the zero-crossing start time, the zero-crossing platform torque T bas1 , the duration Δt bas1 of the zero-crossing platform torque, and the zero-crossing compensation torque T corr , the zero-crossing compensation torque T corr can be obtained after determining the zero-crossing start time t 0 , the zero-crossing end time t 1 , the basic motor torque T bas0 at the zero-crossing start time, the zero-crossing platform torque T bas1 , and the duration Δt bas1 of the zero-crossing platform torque .

可选地,由于电机的过零冲击与电机转速的最大转速差呈正相关关系,电机转速的最大转速差越大,过零冲击越大,而在基本电机扭矩控制下,电 机转速的最大转速差较大,从而会导致电机的过零冲击较大,影响用户的驾驶舒适性,因此,需要确定电机的过零补偿扭矩,以对基本电机扭矩进行修正,这样就可以减小电机的最大转速差,从而减小甚至消除电机的过零冲击。Optionally, since the zero-crossing impact of the motor is positively correlated with the maximum speed difference of the motor speed, the greater the maximum speed difference of the motor speed, the greater the zero-crossing impact, and under the basic motor torque control, the motor The maximum speed difference of the motor speed is large, which will cause a large zero-crossing impact of the motor and affect the user's driving comfort. Therefore, it is necessary to determine the zero-crossing compensation torque of the motor to correct the basic motor torque, so that the maximum speed difference of the motor can be reduced, thereby reducing or even eliminating the zero-crossing impact of the motor.

在一种实施例中,还包括:基于过零开始时刻、过零结束时刻、过零开始时刻的基本电机扭矩、过零平台扭矩和过零平台扭矩的持续时长,确定过零补偿扭矩的开始时刻、过零补偿扭矩的结束时刻、修正电机扭矩控制下的过零结束时刻。In one embodiment, it also includes: determining the start time of the zero crossing compensation torque, the end time of the zero crossing compensation torque, and the end time of the zero crossing under the corrected motor torque control based on the zero crossing start time, the zero crossing end time, the basic motor torque at the zero crossing start time, the zero crossing platform torque, and the duration of the zero crossing platform torque.

在该方案中,在根据过零开始时刻t0、过零结束时刻t1、过零开始时刻的基本电机扭矩Tbas0、过零平台扭矩Tbas1、过零平台扭矩的持续时间Δtbas1确定过零补偿扭矩时,由于过零开始时刻t0、过零结束时刻t1、过零开始时刻的基本电机扭矩Tbas0、过零平台扭矩Tbas1、过零平台扭矩的持续时间Δtbas1,还与过零补偿扭矩的开始时刻t0’、修正电机扭矩控制下的过零结束时刻t1’、过零补偿扭矩的结束时刻t2之间存在对应关系,因此,在确定过零开始时刻t0、过零结束时刻t1、过零开始时刻的基本电机扭矩Tbas0、过零平台扭矩Tbas1、过零平台扭矩的持续时间Δtbas1之后,还可以得到过零补偿扭矩的开始时刻t0’、修正电机扭矩控制下的过零结束时刻t1’、过零补偿扭矩的结束时刻t2In this scheme, when the zero-crossing compensation torque is determined according to the zero-crossing start time t 0 , the zero-crossing end time t 1 , the basic motor torque T bas0 at the zero-crossing start time, the zero-crossing platform torque T bas1 , and the duration Δt bas1 of the zero-crossing platform torque, since the zero-crossing start time t 0 , the zero-crossing end time t 1 , the basic motor torque T bas0 at the zero-crossing start time, the zero-crossing platform torque T bas1 , and the duration Δt bas1 of the zero-crossing platform torque also have a corresponding relationship with the starting time t 0' of the zero-crossing compensation torque, the zero-crossing end time t 1' under the correction motor torque control, and the ending time t 2 of the zero-crossing compensation torque, therefore, after determining the zero-crossing start time t 0 , the zero-crossing end time t 1 , the basic motor torque T bas0 at the zero-crossing start time, the zero-crossing platform torque T bas1 , and the duration Δt bas1 of the zero-crossing platform torque, the starting time t 0' of the zero-crossing compensation torque can also be obtained. , the zero-crossing end time t 1' under the correction motor torque control, and the end time t 2 of the zero-crossing compensation torque.

可选地,通过确定这些时刻,就可以确定在哪个时刻开始过零补偿扭矩,在哪个时刻结束过零补偿扭矩,以及确定在修正电机扭矩控制下哪个时刻过零结束,从而提高用户的驾驶体验。Optionally, by determining these moments, it is possible to determine at which moment the zero-crossing compensation torque starts, at which moment the zero-crossing compensation torque ends, and at which moment the zero-crossing ends under the corrected motor torque control, thereby improving the user's driving experience.

在一种可选的实施方式中,如图4所示,图4为本申请实施例提供的基本电机扭矩从正扭矩向负扭矩过渡且车速或轮速下降时过零补偿扭矩的开始时刻示意图。当基本电机扭矩Tbas从正扭矩向负扭矩过渡,且车辆速度(或轮速)下降时,Tcorr、t0’、t1’、t2可通过如下方式确定:In an optional implementation, as shown in FIG4 , FIG4 is a schematic diagram of the start time of the zero-crossing compensation torque when the basic motor torque provided by the embodiment of the present application transitions from positive torque to negative torque and the vehicle speed or wheel speed decreases. When the basic motor torque T bas transitions from positive torque to negative torque and the vehicle speed (or wheel speed) decreases, T corr , t 0' , t 1' , t 2 can be determined by the following method:

优选的,t0’=t0-Δtbas1;可选的,t0-Δtbas1<t0’<t0Preferably, t 0′ =t 0 −Δt bas1 ; optionally, t 0 −Δt bas1 <t 0′ <t 0 .

优选的,Tcorr=Tbas0-Tbas1;可选的,Tbas0-∣Tbas1∣≤Tcorr<0。Preferably, T corr =T bas0 -T bas1 ; optionally, T bas0 -| T bas1 |≤T corr <0.

当t0’与Tcorr确定后,可根据对应关系计算或根据实际测试,确定出修正电机扭矩控制下的过零结束时刻t1’After t 0' and T corr are determined, the zero-crossing end time t 1' under the correction motor torque control can be determined by calculation according to the corresponding relationship or by actual testing.

优选的,t2=t1’;可选的,t0’<t2<t1’;可选的,t1’<t2Preferably, t 2 =t 1' ; optionally, t 0' <t 2 <t 1' ; optionally, t 1' <t 2 .

在实际应用中可根据实际的车辆过零表现对Tcorr、t0’、t2进行标定和调整。 In practical applications, T corr , t 0′ , and t 2 may be calibrated and adjusted according to actual vehicle zero-crossing performance.

在一种可选的实施方式中,如图5所示,图5为本申请实施例提供的基本电机扭矩从正扭矩向负扭矩过渡且车速或轮速上升时过零补偿扭矩的开始时刻示意图。当基本电机扭矩Tbas从正扭矩向负扭矩过渡,且车辆速度(或轮速)上升时,Tcorr、t0’、t1’、t2可通过如下方式确定:In an optional implementation, as shown in FIG5 , FIG5 is a schematic diagram of the start time of the zero-crossing compensation torque when the basic motor torque provided by the embodiment of the present application transitions from positive torque to negative torque and the vehicle speed or wheel speed increases. When the basic motor torque T bas transitions from positive torque to negative torque and the vehicle speed (or wheel speed) increases, T corr , t 0' , t 1' , t 2 can be determined by the following method:

优选的,t0<t0’<t1Preferably, t 0 <t 0′ <t 1 .

优选的,Tcorr=Tbas0-Tbas1;可选的,0<Tcorr<Tbas0+∣Tbas1∣。Preferably, T corr =T bas0 -T bas1 ; optionally, 0<T corr <T bas0 +|T bas1 |.

当t0’与Tcorr确定后,可根据对应关系计算或根据实际测试,确定出修正电机扭矩控制下的过零结束时刻t1’After t 0' and T corr are determined, the zero-crossing end time t 1' under the correction motor torque control can be determined by calculation according to the corresponding relationship or by actual testing.

优选的,t2=t1’;可选的,t0’<t2<t1;可选的,t1<t2<t1’;可选的,t1’<t2Preferably, t 2 =t 1' ; optionally, t 0' <t 2 <t 1 ; optionally, t 1 <t 2 <t 1' ; optionally, t 1' <t 2 .

在实际应用中可根据实际的车辆过零表现对Tcorr、t0’、t2进行标定和调整。In practical applications, T corr , t 0′ , and t 2 may be calibrated and adjusted according to actual vehicle zero-crossing performance.

在一种可选的实施方式中,如图6所示,图6为本申请实施例提供的基本电机扭矩从负扭矩向正扭矩过渡且车速或轮速下降时过零补偿扭矩的开始时刻示意图。当基本电机扭矩Tbas从负扭矩向正扭矩过渡,且车辆速度(或轮速)下降时,Tcorr、t0’、t1’、t2可通过如下方式确定:In an optional implementation, as shown in FIG6 , FIG6 is a schematic diagram of the start time of the zero-crossing compensation torque when the basic motor torque provided by the embodiment of the present application transitions from negative torque to positive torque and the vehicle speed or wheel speed decreases. When the basic motor torque T bas transitions from negative torque to positive torque and the vehicle speed (or wheel speed) decreases, T corr , t 0' , t 1' , t 2 can be determined by the following method:

优选的,t0<t0’<t1Preferably, t 0 <t 0′ <t 1 .

优选的,Tcorr=Tbas0-Tbas1;可选的,Tbas0-∣Tbas1∣<Tcorr<0。Preferably, T corr =T bas0 -T bas1 ; optionally, T bas0 -| T bas1 |<T corr <0.

当t0’与Tcorr确定后,可根据对应关系计算或根据实际测试,确定出修正电机扭矩控制下的过零结束时刻t1’After t 0' and T corr are determined, the zero-crossing end time t 1' under the correction motor torque control can be determined by calculation according to the corresponding relationship or by actual testing.

优选的,t2=t1’;可选的,t0’<t2<t1;可选的,t1<t2<t1’;可选的,t1’<t2Preferably, t 2 =t 1' ; optionally, t 0' <t 2 <t 1 ; optionally, t 1 <t 2 <t 1' ; optionally, t 1' <t 2 .

在实际应用中可根据实际的车辆过零表现对Tcorr、t0’、t2进行标定和调整。In practical applications, T corr , t 0′ , and t 2 may be calibrated and adjusted according to actual vehicle zero-crossing performance.

在一种可选的实施方式中,如图7所示,图7为本申请实施例提供的基本电机扭矩从负扭矩向正扭矩过渡且车速或轮速上升时过零补偿扭矩的开始时刻示意图。当基本电机扭矩Tbas从负扭矩向正扭矩过渡,且车辆速度(或轮速)上升时,Tcorr、t0’、t1’、t2可通过如下方式确定:In an optional implementation, as shown in FIG7 , FIG7 is a schematic diagram of the start time of the zero-crossing compensation torque when the basic motor torque provided by the embodiment of the present application transitions from negative torque to positive torque and the vehicle speed or wheel speed increases. When the basic motor torque T bas transitions from negative torque to positive torque and the vehicle speed (or wheel speed) increases, T corr , t 0' , t 1' , t 2 can be determined by the following method:

优选的,t0’=t0-Δtbas1;可选的,t0-Δtbas1<t0’<t0Preferably, t 0′ =t 0 −Δt bas1 ; optionally, t 0 −Δt bas1 <t 0′ <t 0 .

优选的,Tcorr=Tbas0-Tbas1;可选的,0≤Tcorr<Tbas0+∣Tbas1∣。 Preferably, T corr =T bas0 -T bas1 ; optionally, 0≤T corr <T bas0 +|T bas1 |.

当t0’与Tcorr确定后,可根据对应关系计算或根据实际测试,确定出修正电机扭矩控制下的过零结束时刻t1’After t 0' and T corr are determined, the zero-crossing end time t 1' under the correction motor torque control can be determined by calculation according to the corresponding relationship or by actual testing.

优选的,t2=t1’;可选的,t0’<t2<t1’;可选的,t1’<t2;。Preferably, t 2 =t 1' ; optionally, t 0' <t 2 <t 1' ; optionally, t 1' <t 2 ;.

在实际应用中可根据实际的车辆过零表现对Tcorr、t0’、t2进行标定和调整。In practical applications, T corr , t 0′ , and t 2 may be calibrated and adjusted according to actual vehicle zero-crossing performance.

在一种实施例中,基于制动力、坡度、车辆速度、电机转速和基本电机扭矩,确定过零补偿扭矩,包括:确定制动力和制动力换算系数的第一积,制动力换算系数与坡度、车辆速度、电机转速和基本电机扭矩存在映射关系;确定坡度和坡度换算系数的第二积,坡度换算系数与制动力、车辆速度、电机转速和基本电机扭矩存在映射关系;根据第一积与第二积的第一和,确定过零补偿扭矩。In one embodiment, the zero-crossing compensation torque is determined based on the braking force, slope, vehicle speed, motor speed and basic motor torque, including: determining a first product of the braking force and a braking force conversion coefficient, wherein the braking force conversion coefficient has a mapping relationship with the slope, vehicle speed, motor speed and basic motor torque; determining a second product of the slope and the slope conversion coefficient, wherein the slope conversion coefficient has a mapping relationship with the braking force, vehicle speed, motor speed and basic motor torque; and determining the zero-crossing compensation torque according to a first sum of the first product and the second product.

在该方案中,过零补偿扭矩Tcorr可以为计算值,可以通过制动力、坡度、车辆速度(或轮速)、电机转速和基本电机扭矩,进行实时计算获得Tcorr。计算公式可以如下:
Tcorr=Fbrak*A+α*B
In this solution, the zero-crossing compensation torque T corr may be a calculated value, and T corr may be obtained by real-time calculation based on the braking force, slope, vehicle speed (or wheel speed), motor speed, and basic motor torque. The calculation formula may be as follows:
T corr = F brak * A + α * B

其中,Fbrak可表示制动力;α可表示坡度;A可表示制动力换算系数;B可表示坡度换算系数。A可以是固定的系数,也可以是与Fbrak、车辆速度、电机转速、基本电机扭矩有映射关系的系数;B可以是固定的系数,也可以是与α、车辆速度、电机转速和基本电机扭矩有映射关系的系数。Wherein, F brak may represent the braking force; α may represent the slope; A may represent the braking force conversion coefficient; and B may represent the slope conversion coefficient. A may be a fixed coefficient or a coefficient having a mapping relationship with F brak , vehicle speed, motor speed, and basic motor torque; B may be a fixed coefficient or a coefficient having a mapping relationship with α, vehicle speed, motor speed, and basic motor torque.

可选地,由于电机在基本电机扭矩控制下,过零冲击较大,因此需要确定电机的过零补偿扭矩,以对基本电机扭矩进行修正,这样就可以减小电机的最大转速差,从而减小甚至消除电机的过零冲击。Optionally, since the motor has a large zero-crossing impact under basic motor torque control, it is necessary to determine the motor's zero-crossing compensation torque to correct the basic motor torque, thereby reducing the motor's maximum speed difference and thus reducing or even eliminating the motor's zero-crossing impact.

在一种可选的实施方式中,Tcorr还可以为预设值,预设值代表Tcorr与制动力和坡度(或车辆加速度)、车速(或轮速)、电机转速和基本电机扭矩的映射关系,可通过存储于存储单元内的一个或多个映射表格经查表获得。In an optional implementation, T corr may also be a preset value, which represents a mapping relationship between T corr and braking force and slope (or vehicle acceleration), vehicle speed (or wheel speed), motor speed and basic motor torque, and may be obtained by looking up one or more mapping tables stored in the storage unit.

在一种实施例中,基于车辆速度、车辆加速度、电机转速和基本电机扭矩,确定过零补偿扭矩,包括:确定车辆加速度与车辆加速度换算系数的第三积,车辆加速度换算系数与车辆加速度、车辆速度、电机转速和基本电机扭矩存在映射关系;根据第三积,确定过零补偿扭矩。In one embodiment, the zero-crossing compensation torque is determined based on the vehicle speed, vehicle acceleration, motor speed and basic motor torque, including: determining the third product of the vehicle acceleration and the vehicle acceleration conversion coefficient, the vehicle acceleration conversion coefficient and the vehicle acceleration, vehicle speed, motor speed and basic motor torque are mapped to each other; and determining the zero-crossing compensation torque based on the third product.

在该方案中,过零补偿扭矩Tcorr可以为计算值,可以通过车辆速度、车 辆加速度、电机转速和基本电机扭矩,进行实时计算获得Tcorr。计算公式可以如下:
Tcorr=a*K
In this solution, the zero-crossing compensation torque T corr can be a calculated value, which can be obtained by the vehicle speed, vehicle The vehicle acceleration, motor speed and basic motor torque are used to perform real-time calculation to obtain T corr . The calculation formula can be as follows:
T corr = a*K

其中,a可表示车辆加速度;K可表示车辆加速度换算系数;K可以是固定的系数,也可以是与a、车辆速度、电机转速、基本电机扭矩有映射关系的系数。Among them, a can represent the vehicle acceleration; K can represent the vehicle acceleration conversion coefficient; K can be a fixed coefficient or a coefficient that has a mapping relationship with a, vehicle speed, motor speed, and basic motor torque.

可选地,由于电机在基本电机扭矩控制下,过零冲击较大,因此需要确定电机的过零补偿扭矩,以对基本电机扭矩进行修正,这样就可以减小电机的最大转速差,从而减小甚至消除电机的过零冲击。Optionally, since the motor has a large zero-crossing impact under basic motor torque control, it is necessary to determine the motor's zero-crossing compensation torque to correct the basic motor torque, thereby reducing the motor's maximum speed difference and thus reducing or even eliminating the motor's zero-crossing impact.

在一种实施例中,基于基本电机扭矩和过零补偿扭矩,确定电机的修正电机扭矩,包括:根据基本电机扭矩与过零补偿扭矩的第二和,确定修正电机扭矩。In one embodiment, determining a modified motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque includes: determining the modified motor torque according to a second sum of the basic motor torque and the zero-crossing compensation torque.

在该方案中,在确定了基本电机扭矩和过零补偿扭矩之后,可以通过以下公式确定修正电机扭矩:
Tconf=Tbas+Tcorr
In this scheme, after determining the basic motor torque and the zero-crossing compensation torque, the corrected motor torque can be determined by the following formula:
T conf = T bas + T corr

其中,Tconf可表示修正电机扭矩。通过过零补偿扭矩对基本电机扭矩进行修正,得到修正电机扭矩之后,在修正电机扭矩控制下,电机转速的最大转速差会小于基本电机扭矩控制下的电机转速的最大转速差,从而相对于基本电机扭矩,在修正电机扭矩控制下,电机转速的最大转速差减小,因此,电机的过零冲击会减小甚至消除。如图8所示,图8为本申请实施例提供修正电机扭矩控制下电机的过零表现与基本电机扭矩控制下电机的过零表现的对比示意图。Wherein, T conf may represent the corrected motor torque. After the basic motor torque is corrected by the zero-crossing compensation torque to obtain the corrected motor torque, under the control of the corrected motor torque, the maximum speed difference of the motor speed will be less than the maximum speed difference of the motor speed under the control of the basic motor torque, so that relative to the basic motor torque, under the control of the corrected motor torque, the maximum speed difference of the motor speed is reduced, and therefore, the zero-crossing impact of the motor will be reduced or even eliminated. As shown in FIG8 , FIG8 is a schematic diagram for comparing the zero-crossing performance of the motor under the control of the corrected motor torque and the zero-crossing performance of the motor under the control of the basic motor torque, provided in an embodiment of the present application.

在图8中,Tcorr可表示过零补偿扭矩。ΔV’可表示修正电机扭矩控制下的电机转速的最大转速差。Tconf可表示修正电机扭矩。t0’可表示过零补偿扭矩的开始时刻。t1’可表示修正电机扭矩控制下的过零结束时刻。t2可表示过零补偿扭矩的结束时刻。In FIG8 , T corr may represent the zero-crossing compensation torque. ΔV' may represent the maximum speed difference of the motor speed under the modified motor torque control. T conf may represent the modified motor torque. t 0' may represent the start time of the zero-crossing compensation torque. t 1' may represent the end time of the zero-crossing compensation torque under the modified motor torque control. t 2 may represent the end time of the zero-crossing compensation torque.

由图8可以看出,相对于基本电机扭矩控制下电机的最大转速差,修正电机扭矩控制下电机的最大转速差ΔV’明显变小,因此,在修正电机扭矩控制下,电机的过零冲击会减小甚至消除。It can be seen from Figure 8 that compared with the maximum speed difference of the motor under basic motor torque control, the maximum speed difference ΔV’ of the motor under modified motor torque control is significantly smaller. Therefore, under modified motor torque control, the zero-crossing impact of the motor will be reduced or even eliminated.

在一种实施例中,基于修正电机扭矩,控制电机的输出扭矩,以进行过 零,包括:控制电机按照修正电机扭矩进行输出,以进行过零。In one embodiment, based on the corrected motor torque, the output torque of the motor is controlled to perform Zero, including: controlling the motor to output according to the corrected motor torque to pass zero.

在该方案中,在得到修正电机扭矩之后,为了减小甚至消除电机的过零冲击,可以控制电机按照修正电机扭矩进行扭矩输出,这样电机在过零时,冲击可明显减小甚至消除。In this solution, after obtaining the corrected motor torque, in order to reduce or even eliminate the zero-crossing impact of the motor, the motor can be controlled to output torque according to the corrected motor torque, so that when the motor crosses zero, the impact can be significantly reduced or even eliminated.

本申请提供的电动车的电机控制方法,通过获取车辆运行信息来计算基本电机扭矩和过零补偿扭矩,再通过基本电机扭矩和过零补偿扭矩计算出修正电机扭矩,这样就可以通过修正电机扭矩控制电机的输出扭矩进行过零,从而实现减小或消除电机的过零冲击。The motor control method of the electric vehicle provided in the present application calculates the basic motor torque and the zero-crossing compensation torque by acquiring the vehicle operation information, and then calculates the corrected motor torque by the basic motor torque and the zero-crossing compensation torque. In this way, the output torque of the motor can be controlled to pass through zero by the corrected motor torque, thereby reducing or eliminating the zero-crossing impact of the motor.

需要说明的是,本申请所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于分析的数据、存储的数据、展示的数据等),均为经用户授权或者经过各方充分授权的信息和数据,并且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准,并提供有相应的操作入口,供用户选择授权或者拒绝。It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

本申请还提供了一种电动车的电机控制装置。图9为本申请实施例提供的电动车的电机控制装置的结构示意图,如图9所示,该电动车的电机控制装置900包括:The present application also provides a motor control device for an electric vehicle. FIG9 is a schematic diagram of the structure of the motor control device for an electric vehicle provided in an embodiment of the present application. As shown in FIG9 , the motor control device 900 for an electric vehicle includes:

采集模块901,用于获取电动车的车辆运行信息;The acquisition module 901 is used to obtain the vehicle operation information of the electric vehicle;

第一确定模块902,用于基于车辆运行信息,确定电动车的电机的基本电机扭矩;A first determination module 902 is used to determine a basic motor torque of a motor of the electric vehicle based on vehicle operation information;

第二确定模块903,用于基于基本电机扭矩,确定电机的过零补偿扭矩;A second determination module 903 is used to determine the zero-crossing compensation torque of the motor based on the basic motor torque;

第三确定模块904,用于基于基本电机扭矩和过零补偿扭矩,确定电机的修正电机扭矩;A third determination module 904 is used to determine a modified motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque;

控制模块905,用于基于修正电机扭矩,控制电机的输出扭矩,以进行过零。The control module 905 is used to control the output torque of the motor to perform zero crossing based on the corrected motor torque.

可选的,车辆运行信息包括以下中的至少一项:车辆速度、车辆加速度、电机转速、轮速、加速踏板位置、制动踏板位置、制动主缸压力、制动力、制动扭矩、坡度、蠕行设置状态、能量回收设置状态、单踏板驾驶模式设置状态、驾驶模式设置状态。Optionally, the vehicle operation information includes at least one of the following: vehicle speed, vehicle acceleration, motor speed, wheel speed, accelerator pedal position, brake pedal position, brake master cylinder pressure, braking force, braking torque, slope, creep setting status, energy recovery setting status, single-pedal driving mode setting status, and driving mode setting status.

可选的,第一确定模块902在基于车辆运行信息,确定电动车的电机的基本电机扭矩时,具体用于:根据加速踏板位置、制动踏板位置、蠕行设置状 态、能量回收设置状态、单踏板驾驶模式设置状态和驾驶模式设置状态,以及车辆速度和/或电机转速和/或轮速,确定基本电机扭矩。Optionally, when determining the basic motor torque of the motor of the electric vehicle based on the vehicle operation information, the first determination module 902 is specifically used to: The basic motor torque is determined based on the state, energy recovery setting state, single-pedal driving mode setting state and driving mode setting state, as well as the vehicle speed and/or the motor speed and/or the wheel speed.

可选的,第二确定模块903在基于基本电机扭矩,确定电机的过零补偿扭矩时,具体用于:基于制动力、坡度、车辆速度、电机转速和基本电机扭矩,确定过零补偿扭矩;或,基于车辆速度、车辆加速度、电机转速和基本电机扭矩,确定过零补偿扭矩。Optionally, when determining the zero-crossing compensation torque of the motor based on the basic motor torque, the second determination module 903 is specifically used to: determine the zero-crossing compensation torque based on braking force, slope, vehicle speed, motor speed and basic motor torque; or determine the zero-crossing compensation torque based on vehicle speed, vehicle acceleration, motor speed and basic motor torque.

可选的,第二确定模块903在基于制动力、坡度、车辆速度、电机转速和基本电机扭矩,确定过零补偿扭矩时,具体用于:基于制动力、坡度、车辆速度、电机转速和基本电机扭矩,确定过零开始时刻、过零结束时刻、过零开始时刻的基本电机扭矩、过零平台扭矩和过零平台扭矩的持续时长;基于过零开始时刻、过零结束时刻、过零开始时刻的基本电机扭矩、过零平台扭矩和过零平台扭矩的持续时长,确定过零补偿扭矩。Optionally, when determining the zero-crossing compensation torque based on the braking force, slope, vehicle speed, motor speed and basic motor torque, the second determination module 903 is specifically used to: determine the zero-crossing start time, the zero-crossing end time, the basic motor torque at the zero-crossing start time, the zero-crossing platform torque and the duration of the zero-crossing platform torque based on the braking force, slope, vehicle speed, motor speed and basic motor torque; determine the zero-crossing compensation torque based on the zero-crossing start time, the zero-crossing end time, the basic motor torque at the zero-crossing start time, the zero-crossing platform torque and the duration of the zero-crossing platform torque.

可选的,还包括:第四确定模块,用于基于过零开始时刻、过零结束时刻、过零开始时刻的基本电机扭矩、过零平台扭矩和过零平台扭矩的持续时长,确定过零补偿扭矩的开始时刻、过零补偿扭矩的结束时刻、修正电机扭矩控制下的过零结束时刻。Optionally, it also includes: a fourth determination module, which is used to determine the start time of the zero crossing compensation torque, the end time of the zero crossing compensation torque, and the end time of the zero crossing under the corrected motor torque control based on the zero crossing start time, the zero crossing end time, the basic motor torque at the zero crossing start time, the zero crossing platform torque, and the duration of the zero crossing platform torque.

可选的,第二确定模块903在基于制动力、坡度、车辆速度、电机转速和基本电机扭矩,确定过零补偿扭矩时,具体用于:确定制动力和制动力换算系数的第一积,制动力换算系数与坡度、车辆速度、电机转速和基本电机扭矩存在映射关系;确定坡度和坡度换算系数的第二积,坡度换算系数与制动力、车辆速度、电机转速和基本电机扭矩存在映射关系;根据第一积与第二积的第一和,确定过零补偿扭矩。Optionally, when determining the zero-crossing compensation torque based on the braking force, slope, vehicle speed, motor speed and basic motor torque, the second determination module 903 is specifically used to: determine the first product of the braking force and the braking force conversion coefficient, and there is a mapping relationship between the braking force conversion coefficient and the slope, vehicle speed, motor speed and basic motor torque; determine the second product of the slope and the slope conversion coefficient, and there is a mapping relationship between the slope conversion coefficient and the braking force, vehicle speed, motor speed and basic motor torque; determine the zero-crossing compensation torque based on the first sum of the first product and the second product.

可选的,第二确定模块903在基于车辆速度、车辆加速度、电机转速和基本电机扭矩,确定过零补偿扭矩时,具体用于:确定车辆加速度与车辆加速度换算系数的第三积,车辆加速度换算系数与车辆加速度、车辆速度、电机转速和基本电机扭矩存在映射关系;根据第三积,确定过零补偿扭矩。Optionally, when determining the zero-crossing compensation torque based on the vehicle speed, vehicle acceleration, motor speed and basic motor torque, the second determination module 903 is specifically used to: determine the third product of the vehicle acceleration and the vehicle acceleration conversion coefficient, the vehicle acceleration conversion coefficient having a mapping relationship with the vehicle acceleration, vehicle speed, motor speed and basic motor torque; and determine the zero-crossing compensation torque based on the third product.

可选的,第三确定模块904在基于基本电机扭矩和过零补偿扭矩,确定电机的修正电机扭矩时,具体用于:根据基本电机扭矩与过零补偿扭矩的第二和,确定修正电机扭矩。Optionally, when determining the corrected motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque, the third determination module 904 is specifically used to: determine the corrected motor torque according to a second sum of the basic motor torque and the zero-crossing compensation torque.

可选的,控制模块905在基于修正电机扭矩,控制电机的输出扭矩,以 进行过零时,具体用于:控制电机按照修正电机扭矩进行输出,以进行过零。Optionally, the control module 905 controls the output torque of the motor based on the corrected motor torque. When zero crossing is performed, it is specifically used to: control the motor to output according to the corrected motor torque to perform zero crossing.

本实施例提供的电动车的电机控制装置,用于执行前述方法实施例中的电动车的电机控制方法的技术方案,其实现原理和技术效果类似,在此不再赘述。The motor control device of the electric vehicle provided in this embodiment is used to execute the technical solution of the motor control method of the electric vehicle in the aforementioned method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.

本申请实施例还提供了一种电动车。图10是根据一示例性实施例示出的一种电动车的框图。如图10所示,该电动车1000包括:The embodiment of the present application also provides an electric vehicle. FIG10 is a block diagram of an electric vehicle according to an exemplary embodiment. As shown in FIG10 , the electric vehicle 1000 includes:

处理器1011,存储器1012,以及交互接口1013;Processor 1011, memory 1012, and interactive interface 1013;

其中,处理器1011与存储器1012和交互接口1013连接;存储器1012用于存储处理器1011可执行的计算机执行指令;处理器1011配置为经由执行计算机可执行指令来执行前述电动车的电机控制方法中的技术方案;交互接口1013为处理器1011和外围接口模块之间提供接口。Among them, the processor 1011 is connected to the memory 1012 and the interactive interface 1013; the memory 1012 is used to store computer-executable instructions executable by the processor 1011; the processor 1011 is configured to execute the technical solution in the motor control method of the aforementioned electric vehicle by executing computer-executable instructions; the interactive interface 1013 provides an interface between the processor 1011 and the peripheral interface module.

可选的,存储器1012既可以是独立的,也可以跟处理器1011集成在一起。Optionally, the memory 1012 may be independent or integrated with the processor 1011 .

可选的,当存储器1012是独立于处理器1011之外的器件时,电动车1000还可以包括:总线,用于将上述器件连接起来。Optionally, when the memory 1012 is a device independent of the processor 1011, the electric vehicle 1000 may further include: a bus for connecting the above devices.

可选地,存储器可以是,但不限于,随机存取存储器(Random Access Memory,简称:RAM),只读存储器(Read Only Memory,简称:ROM),可编程只读存储器(Programmable Read-Only Memory,简称:PROM),可擦除只读存储器(Erasable Programmable Read-Only Memory,简称:EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,简称:EEPROM)等。其中,存储器用于存储程序,处理器在接收到执行指令后,执行程序。进一步地,上述存储器内的软件程序以及模块还可包括操作系统,其可包括各种用于管理系统任务(例如内存管理、存储设备控制、电源管理等)的软件组件和/或驱动,并可与各种硬件或软件组件相互通信,从而提供其他软件组件的运行环境。Optionally, the memory may be, but is not limited to, a random access memory (RAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc. The memory is used to store programs, and the processor executes the programs after receiving the execution instruction. Furthermore, the software programs and modules in the above-mentioned memory may also include an operating system, which may include various software components and/or drivers for managing system tasks (such as memory management, storage device control, power management, etc.), and may communicate with various hardware or software components to provide an operating environment for other software components.

可选地,处理器可以是一种集成电路芯片,具有信号的处理能力。上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,简称:CPU)、网络处理器(Network Processor,简称:NP)等。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。 Optionally, the processor may be an integrated circuit chip having signal processing capability. The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc. The disclosed methods, steps, and logic block diagrams in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,计算机执行指令被执行时用于实现前述方法实施例中提供的电动车的电机控制方法的技术方案。An embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed, they are used to implement the technical solution of the motor control method of the electric vehicle provided in the aforementioned method embodiment.

本申请实施例还提供一种计算机程序产品,包括计算机程序,计算机程序被执行时实现方法实施例中提供的电动车的电机控制方法的技术方案。An embodiment of the present application also provides a computer program product, including a computer program, which, when executed, implements the technical solution of the motor control method of an electric vehicle provided in the method embodiment.

本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims (14)

一种电动车的电机控制方法,其特征在于,包括:A motor control method for an electric vehicle, characterized by comprising: 获取电动车的车辆运行信息;Obtain vehicle operation information of electric vehicles; 基于所述车辆运行信息,确定所述电动车的电机的基本电机扭矩;determining a basic motor torque of a motor of the electric vehicle based on the vehicle operation information; 基于所述基本电机扭矩,确定所述电机的过零补偿扭矩;Determining a zero-crossing compensation torque of the motor based on the basic motor torque; 基于所述基本电机扭矩和所述过零补偿扭矩,确定所述电机的修正电机扭矩;determining a modified motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque; 基于所述修正电机扭矩,控制所述电机的输出扭矩,以进行过零。Based on the corrected motor torque, the output torque of the motor is controlled to perform a zero crossing. 根据权利要求1所述的电机控制方法,其特征在于,所述车辆运行信息包括以下中的至少一项:The motor control method according to claim 1, characterized in that the vehicle operation information includes at least one of the following: 车辆速度、车辆加速度、电机转速、轮速、加速踏板位置、制动踏板位置、制动主缸压力、制动力、制动扭矩、坡度、蠕行设置状态、能量回收设置状态、单踏板驾驶模式设置状态、驾驶模式设置状态。Vehicle speed, vehicle acceleration, motor speed, wheel speed, accelerator pedal position, brake pedal position, brake master cylinder pressure, braking force, brake torque, slope, creep setting status, energy recovery setting status, single-pedal driving mode setting status, driving mode setting status. 根据权利要求2所述的电机控制方法,其特征在于,所述基于所述车辆运行信息,确定所述电动车的电机的基本电机扭矩,包括:The motor control method according to claim 2, characterized in that the determining the basic motor torque of the motor of the electric vehicle based on the vehicle operation information comprises: 根据所述加速踏板位置、所述制动踏板位置、所述蠕行设置状态、所述能量回收设置状态、所述单踏板驾驶模式设置状态和所述驾驶模式设置状态,以及所述车辆速度和/或所述电机转速和/或所述轮速,确定所述基本电机扭矩。The basic motor torque is determined based on the accelerator pedal position, the brake pedal position, the creep setting state, the energy recovery setting state, the single-pedal driving mode setting state and the driving mode setting state, as well as the vehicle speed and/or the motor speed and/or the wheel speed. 根据权利要求2或3所述的电机控制方法,其特征在于,所述基于所述基本电机扭矩,确定所述电机的过零补偿扭矩,包括:The motor control method according to claim 2 or 3, characterized in that the determining the zero-crossing compensation torque of the motor based on the basic motor torque comprises: 基于所述制动力、所述坡度、所述车辆速度、所述电机转速和所述基本电机扭矩,确定所述过零补偿扭矩;或,determining the zero-crossing compensation torque based on the braking force, the slope, the vehicle speed, the motor speed and the basic motor torque; or, 基于所述车辆速度、所述车辆加速度、所述电机转速和所述基本电机扭矩,确定所述过零补偿扭矩。The zero-crossing compensation torque is determined based on the vehicle speed, the vehicle acceleration, the motor speed, and the base motor torque. 根据权利要求4所述的电机控制方法,其特征在于,所述基于所述制动力、所述坡度、所述车辆速度、所述电机转速和所述基本电机扭矩,确定所述过零补偿扭矩,包括:The motor control method according to claim 4, characterized in that the determining the zero-crossing compensation torque based on the braking force, the slope, the vehicle speed, the motor speed and the basic motor torque comprises: 基于所述制动力、所述坡度、所述车辆速度、所述电机转速和所述基本电机扭矩,确定过零开始时刻、过零结束时刻、所述过零开始时刻的基本电机扭矩、过零平台扭矩和所述过零平台扭矩的持续时长; Based on the braking force, the slope, the vehicle speed, the motor speed and the basic motor torque, determine the zero-crossing start time, the zero-crossing end time, the basic motor torque at the zero-crossing start time, the zero-crossing platform torque and the duration of the zero-crossing platform torque; 基于所述过零开始时刻、所述过零结束时刻、所述过零开始时刻的基本电机扭矩、所述过零平台扭矩和所述过零平台扭矩的持续时长,确定所述过零补偿扭矩。The zero-crossing compensation torque is determined based on the zero-crossing start time, the zero-crossing end time, the basic motor torque at the zero-crossing start time, the zero-crossing platform torque, and the duration of the zero-crossing platform torque. 根据权利要求5所述的电机控制方法,其特征在于,还包括:The motor control method according to claim 5, further comprising: 基于所述过零开始时刻、所述过零结束时刻、所述过零开始时刻的基本电机扭矩、所述过零平台扭矩和所述过零平台扭矩的持续时长,确定所述过零补偿扭矩的开始时刻、所述过零补偿扭矩的结束时刻、所述修正电机扭矩控制下的过零结束时刻。Based on the zero-crossing start time, the zero-crossing end time, the basic motor torque at the zero-crossing start time, the zero-crossing platform torque and the duration of the zero-crossing platform torque, the start time of the zero-crossing compensation torque, the end time of the zero-crossing compensation torque and the zero-crossing end time under the corrected motor torque control are determined. 根据权利要求4所述的电机控制方法,其特征在于,所述基于所述制动力、所述坡度、所述车辆速度、所述电机转速和所述基本电机扭矩,确定所述过零补偿扭矩,包括:The motor control method according to claim 4, characterized in that the determining the zero-crossing compensation torque based on the braking force, the slope, the vehicle speed, the motor speed and the basic motor torque comprises: 确定所述制动力和制动力换算系数的第一积,所述制动力换算系数与所述坡度、所述车辆速度、所述电机转速和所述基本电机扭矩存在映射关系;Determine a first product of the braking force and a braking force conversion coefficient, wherein the braking force conversion coefficient has a mapping relationship with the slope, the vehicle speed, the motor speed, and the basic motor torque; 确定所述坡度和坡度换算系数的第二积,所述坡度换算系数与所述制动力、所述车辆速度、所述电机转速和所述基本电机扭矩存在映射关系;Determine a second product of the slope and a slope conversion coefficient, wherein the slope conversion coefficient has a mapping relationship with the braking force, the vehicle speed, the motor speed, and the basic motor torque; 根据所述第一积与所述第二积的第一和,确定所述过零补偿扭矩。The zero-crossing compensation torque is determined according to a first sum of the first product and the second product. 根据权利要求4所述的电机控制方法,其特征在于,所述基于所述车辆速度、所述车辆加速度、所述电机转速和所述基本电机扭矩,确定所述过零补偿扭矩,包括:The motor control method according to claim 4, characterized in that the determining the zero-crossing compensation torque based on the vehicle speed, the vehicle acceleration, the motor speed and the basic motor torque comprises: 确定所述车辆加速度与车辆加速度换算系数的第三积,所述车辆加速度换算系数与所述车辆加速度、所述车辆速度、所述电机转速和所述基本电机扭矩存在映射关系;Determining a third product of the vehicle acceleration and a vehicle acceleration conversion coefficient, wherein the vehicle acceleration conversion coefficient has a mapping relationship with the vehicle acceleration, the vehicle speed, the motor speed, and the basic motor torque; 根据所述第三积,确定所述过零补偿扭矩。The zero-crossing compensation torque is determined according to the third product. 根据权利要求2或3所述的电机控制方法,其特征在于,所述基于所述基本电机扭矩和所述过零补偿扭矩,确定所述电机的修正电机扭矩,包括:The motor control method according to claim 2 or 3, characterized in that the determining the corrected motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque comprises: 根据所述基本电机扭矩与所述过零补偿扭矩的第二和,确定所述修正电机扭矩。The modified motor torque is determined according to a second sum of the basic motor torque and the zero-crossing compensation torque. 根据权利要求2或3所述的电机控制方法,其特征在于,所述基于所述修正电机扭矩,控制所述电机的输出扭矩,以进行过零,包括:The motor control method according to claim 2 or 3, characterized in that the step of controlling the output torque of the motor to perform zero crossing based on the corrected motor torque comprises: 控制所述电机按照所述修正电机扭矩进行输出,以进行过零。 The motor is controlled to output according to the modified motor torque to perform zero crossing. 一种电动车的电机控制装置,其特征在于,包括:A motor control device for an electric vehicle, characterized by comprising: 采集模块,用于获取电动车的车辆运行信息;A collection module, used to obtain vehicle operation information of the electric vehicle; 第一确定模块,用于基于所述车辆运行信息,确定所述电动车的电机的基本电机扭矩;A first determination module, configured to determine a basic motor torque of a motor of the electric vehicle based on the vehicle operation information; 第二确定模块,用于基于所述基本电机扭矩,确定所述电机的过零补偿扭矩;A second determination module, configured to determine a zero-crossing compensation torque of the motor based on the basic motor torque; 第三确定模块,用于基于所述基本电机扭矩和所述过零补偿扭矩,确定所述电机的修正电机扭矩;a third determination module, configured to determine a modified motor torque of the motor based on the basic motor torque and the zero-crossing compensation torque; 控制模块,用于基于所述修正电机扭矩,控制所述电机的输出扭矩,以进行过零。A control module is used to control the output torque of the motor to perform zero crossing based on the corrected motor torque. 一种电动车,其特征在于,包括:处理器,以及与所述处理器连接的存储器;An electric vehicle, characterized by comprising: a processor, and a memory connected to the processor; 所述存储器存储计算机执行指令;The memory stores computer-executable instructions; 所述处理器执行所述存储器存储的计算机执行指令,以实现如权利要求1至10任一项所述的电动车的电机控制方法。The processor executes the computer-executable instructions stored in the memory to implement the motor control method of the electric vehicle as described in any one of claims 1 to 10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被执行时用于实现权利要求1至10任一项所述的电动车的电机控制方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed, they are used to implement the motor control method of an electric vehicle as described in any one of claims 1 to 10. 一种计算机程序产品,包括计算机程序,其特征在于,所述计算机程序被执行时用于实现权利要求1至10任一项所述的电动车的电机控制方法。 A computer program product, comprising a computer program, characterized in that when the computer program is executed, it is used to implement the motor control method of an electric vehicle as described in any one of claims 1 to 10.
PCT/CN2023/101480 2023-06-20 2023-06-20 Motor control method and apparatus for electric vehicle, and storage medium Ceased WO2024259599A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2023/101480 WO2024259599A1 (en) 2023-06-20 2023-06-20 Motor control method and apparatus for electric vehicle, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2023/101480 WO2024259599A1 (en) 2023-06-20 2023-06-20 Motor control method and apparatus for electric vehicle, and storage medium

Publications (1)

Publication Number Publication Date
WO2024259599A1 true WO2024259599A1 (en) 2024-12-26

Family

ID=93934669

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/101480 Ceased WO2024259599A1 (en) 2023-06-20 2023-06-20 Motor control method and apparatus for electric vehicle, and storage medium

Country Status (1)

Country Link
WO (1) WO2024259599A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119550828A (en) * 2025-01-20 2025-03-04 广州汽车集团股份有限公司 Motor control method, motor controller and automobile
CN119704262A (en) * 2024-12-27 2025-03-28 长沙万为机器人有限公司 Wheeled robot parking and starting control method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110356248A (en) * 2019-07-19 2019-10-22 潍柴动力股份有限公司 Motor torque control method, device, storage medium and vehicle
CN110920415A (en) * 2019-12-13 2020-03-27 华人运通(江苏)技术有限公司 Vehicle torque compensation method and device, automobile and storage medium
CN112109711A (en) * 2020-09-14 2020-12-22 恒大新能源汽车投资控股集团有限公司 Vehicle creep control method, device, electronic device and storage medium
CN112440971A (en) * 2019-09-05 2021-03-05 长城汽车股份有限公司 Torque control method and device and vehicle
US20210265935A1 (en) * 2020-02-20 2021-08-26 Delta Electronics, Inc. Electric motor controlling system and vibration suppression method for using the same
WO2022088154A1 (en) * 2020-10-31 2022-05-05 华为技术有限公司 Electric-vehicle torque control method, apparatus, device, and storage medium
CN115946688A (en) * 2022-12-08 2023-04-11 长沙中联重科环境产业有限公司 Constant speed cruise slope compensation method, device, storage medium and vehicle
CN116118525A (en) * 2023-04-03 2023-05-16 成都赛力斯科技有限公司 Motor torque zero crossing control method and device, electronic equipment and new energy automobile

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110356248A (en) * 2019-07-19 2019-10-22 潍柴动力股份有限公司 Motor torque control method, device, storage medium and vehicle
CN112440971A (en) * 2019-09-05 2021-03-05 长城汽车股份有限公司 Torque control method and device and vehicle
CN110920415A (en) * 2019-12-13 2020-03-27 华人运通(江苏)技术有限公司 Vehicle torque compensation method and device, automobile and storage medium
US20210265935A1 (en) * 2020-02-20 2021-08-26 Delta Electronics, Inc. Electric motor controlling system and vibration suppression method for using the same
CN112109711A (en) * 2020-09-14 2020-12-22 恒大新能源汽车投资控股集团有限公司 Vehicle creep control method, device, electronic device and storage medium
WO2022088154A1 (en) * 2020-10-31 2022-05-05 华为技术有限公司 Electric-vehicle torque control method, apparatus, device, and storage medium
CN115946688A (en) * 2022-12-08 2023-04-11 长沙中联重科环境产业有限公司 Constant speed cruise slope compensation method, device, storage medium and vehicle
CN116118525A (en) * 2023-04-03 2023-05-16 成都赛力斯科技有限公司 Motor torque zero crossing control method and device, electronic equipment and new energy automobile

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119704262A (en) * 2024-12-27 2025-03-28 长沙万为机器人有限公司 Wheeled robot parking and starting control method
CN119550828A (en) * 2025-01-20 2025-03-04 广州汽车集团股份有限公司 Motor control method, motor controller and automobile

Similar Documents

Publication Publication Date Title
WO2024259599A1 (en) Motor control method and apparatus for electric vehicle, and storage medium
CN113968146B (en) A speed limit control method, device and system for an electric vehicle
US20250065881A1 (en) Electric vehicle, motor control method thereof, apparatus and storage medium
EP3656623A1 (en) Uphill starting control method and control device
US20150246675A1 (en) Vehicle control system
CN113868774B (en) Vehicle gearbox control method, device, vehicle and storage medium
WO2023000610A1 (en) Vehicle control method and apparatus, device, and medium
CN114046352A (en) Vehicle gear clearance control method and device and vehicle
CN116461488A (en) Backlash damping device and method
CN114562559B (en) Neutral control method, device, electronic device and storage medium for two-speed motor
CN116587884A (en) Control method and controller for electric sanitation vehicle and electric sanitation vehicle
JPH10141103A (en) Method and apparatus for controlling output torque of vehicle drive train
CN118254785A (en) Vehicle ejection starting control method and device, readable medium and electronic equipment
CN113386578B (en) Torque output control method and device, vehicle and equipment
CN114919569B (en) Method and device for determining torque, storage medium, electronic equipment and vehicle
CN115123175A (en) Vehicle control method and device and vehicle
JP7416631B2 (en) vehicle
CN116279402B (en) New energy vehicle torque zero crossing control method and system, new energy vehicle and storage medium
WO2024169752A1 (en) Dual-motor power prediction method and apparatus, electronic device and vehicle
CN118219862A (en) Motor output torque control method and device and motor controller
CN114572190B (en) Torque control method and terminal device during upshifting
CN119594178B (en) Torque control method and device, storage medium, gearbox controller and vehicle
CN114684162B (en) A method and system for estimating vehicle load factor
JP2010144617A (en) Control device for vehicle
CN115217928B (en) Control method and device applied to hydraulic torque converter in equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23941903

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE