Vehicle motor calibration method and device, vehicle controller and storage medium

By initializing and judging the conditions of the motor in the hybrid system, and using the actual direct axis voltage and the target direct axis voltage to perform zero angle calibration, the problem of inaccurate zero position calibration of the motor in the existing technology is solved, and the driving of the vehicle is improved. performance and calibration accuracy.

CN115441806BActive Publication Date: 2024-08-23NINGBO GEELY ROYAL ENGINE COMPONENTS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211148783.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-20
Publication Date
2024-08-23
Estimated Expiration
2042-09-20

AI Technical Summary

Technical Problem

In the existing technology, the zero-position calibration method of the motor in the hybrid system is inaccurate, resulting in poor drivability of the vehicle and the inability to drive safely.

Method used

By initializing the motor, the initial zero angle is obtained, and when the calibration conditions are met, the zero angle is calibrated based on the actual direct axis voltage and the target direct axis voltage, and the accurate zero angle is calculated using PI control and angle threshold to ensure that the motor The zero angle calibration is accurate.

Benefits of technology

It achieves accurate calibration of the zero position angle of the vehicle motor, improves drivability and driver experience, and further improves the accuracy of the calibration through the calibration of the clutch.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115441806B
    Figure CN115441806B
Patent Text Reader

Abstract

The present invention discloses a motor calibration method and device for a vehicle, a vehicle controller and a storage medium, wherein the vehicle includes at least one motor, and the motor calibration method includes: initializing the motor and obtaining the initial zero angle of the motor; when determining that the motor meets the calibration conditions, obtaining the actual direct axis voltage and the target direct axis voltage of the motor; and calibrating the zero angle of the motor according to the actual direct axis voltage, the target direct axis voltage and the initial zero angle. Therefore, the motor calibration method for the vehicle in this embodiment can accurately calibrate the motor of the vehicle, improve the drivability of the vehicle, and enhance the driver's experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a vehicle control technology, and in particular to a vehicle motor calibration method and device, a vehicle controller and a storage medium. Background Art

[0002] With the increasingly stringent national regulations on fuel consumption and emissions, as well as the development of electrification systems, hybrid technology is the key to achieving energy conservation and emission reduction. In order to adapt to national policies and meet emission regulations, vehicle manufacturers and parts suppliers are looking for solutions, but the battery technology of pure electric vehicle technology systems is complex and costly, so hybrid systems are vigorously promoted.

[0003] During the use of the motor in the hybrid system, whether its zero position is correct will directly affect the control effect and operating efficiency of the motor, and have a great impact on the drivability of the vehicle. The relevant technology does not provide a relevant calibration method, or the calibration method provided cannot calibrate accurately, which often leads to the vehicle being unable to drive safely. Summary of the invention

[0004] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, one object of the present invention is to provide a vehicle calibration method that can accurately calibrate the motor of a vehicle, improve the drivability of the vehicle, and enhance the driver's experience.

[0005] A second object of the present invention is to provide a computer-readable storage medium.

[0006] A third object of the present invention is to provide a vehicle controller.

[0007] A fourth objective of the present invention is to provide a vehicle calibration device.

[0008] To achieve the above-mentioned purpose, an embodiment of the first aspect of the present invention proposes a motor calibration method for a vehicle, wherein the vehicle includes at least one motor, and the calibration method includes: initializing the motor and obtaining the initial zero angle of the motor; when it is determined that the motor meets the calibration conditions, obtaining the actual direct-axis voltage and the target direct-axis voltage of the motor; and calibrating the zero angle of the motor according to the actual direct-axis voltage, the target direct-axis voltage and the initial zero angle.

[0009] The vehicle in the embodiment of the present invention includes multiple motors, and the motor calibration method includes: initializing the motor to obtain the correct initial zero angle of the motor, and after the motor meets the calibration conditions, the motor zero angle can be calibrated according to the actual direct axis voltage and target direct axis voltage of the motor, and the initial zero angle of the motor. Therefore, the motor calibration method in this embodiment can accurately calibrate the motor of the vehicle, improve the drivability of the vehicle, and enhance the driver's experience.

[0010] In some embodiments of the present invention, the vehicle includes a first motor and a second motor, and the first motor and the second motor are connected via a preset clutch. The calibration method further includes: when performing zero angle calibration on the first motor, controlling the preset clutch to be in a disengaged state; when performing zero angle calibration on the second motor, controlling the preset clutch to be in an engaged state.

[0011] In some embodiments of the present invention, determining that the motor meets the calibration condition includes: when the speed of the motor is within a preset speed range and the working mode of the motor is a calibration mode, determining that the motor meets the calibration condition.

[0012] In some embodiments of the present invention, the first motor is connected to the engine of the vehicle, and the calibration method further includes: when the preset clutch is in a disengaged state, controlling the rotation of the first motor through the engine; when the preset clutch is in an engaged state, controlling the rotation of the second motor through the first motor.

[0013] In some embodiments of the present invention, the zero angle of the motor is calibrated according to the actual direct-axis voltage, the target direct-axis voltage and the initial zero angle, including: determining the current zero angle of the motor according to the actual direct-axis voltage and the target direct-axis voltage; and calibrating the zero angle of the motor according to the initial zero angle and the current zero angle of the motor.

[0014] In some embodiments of the present invention, the current zero angle of the motor is determined based on the actual direct-axis voltage and the target direct-axis voltage, including: performing PI control on the actual direct-axis voltage to obtain a plurality of first actual direct-axis voltages; averaging the plurality of first actual direct-axis voltages to obtain an actual direct-axis voltage average value; and when the actual direct-axis voltage average value is less than a preset voltage threshold, calculating the current zero angle of the motor based on the actual direct-axis voltage average value and the target direct-axis voltage.

[0015] In some embodiments of the present invention, the zero angle of the motor is calibrated according to the initial zero angle and the current zero angle of the motor, including: taking the sum of the initial zero angle and the current zero angle as the standard zero angle of the motor; when the standard zero angle is greater than a first angle threshold, calibrating the zero angle of the motor according to the difference between the standard zero angle and the first angle threshold; when the standard zero angle is less than a second angle threshold, calibrating the zero angle of the motor according to the sum of the standard zero angle and the first angle threshold; when the standard zero angle is greater than or equal to the second angle threshold and less than or equal to the first angle threshold, calibrating the zero angle of the motor according to the standard zero angle.

[0016] In some embodiments of the present invention, the calibration method also includes: when it is determined that the motor has completed the zero angle calibration, controlling the motor to execute an exit mode; when it is determined that the motor has not completed the zero angle calibration and the time length for meeting the calibration conditions is greater than a first time threshold, controlling the motor to re-calibrate the zero angle.

[0017] In some embodiments of the present invention, the calibration method further includes: when the duration of the initialization process of the motor is greater than the first time threshold, controlling the motor to execute the exit mode.

[0018] In some embodiments of the present invention, the calibration method further includes: when the working mode of the motor is converted from the torque mode to the calibration mode, initializing the motor.

[0019] To achieve the above objectives, a second aspect of the present invention provides a computer-readable storage medium on which a vehicle motor calibration program is stored. When the vehicle motor calibration program is executed by a processor, the vehicle motor calibration method described in the above embodiment is implemented.

[0020] The computer-readable storage medium of the embodiment of the present invention can accurately calibrate the motor of the vehicle, improve the drivability of the vehicle, and enhance the driver's experience by executing the vehicle motor calibration method stored thereon through a processor.

[0021] To achieve the above-mentioned purpose, an embodiment of the third aspect of the present invention proposes a vehicle controller, which includes a memory, a processor, and a vehicle motor calibration program stored in the memory and executable on the processor. When the processor executes the vehicle motor calibration program, the vehicle motor calibration method described in the above embodiment is implemented.

[0022] The vehicle controller of the embodiment of the present invention includes a storage memory and a processor. The processor executes the vehicle motor calibration method stored in the memory, which can accurately calibrate the vehicle motor, improve the vehicle's drivability, and enhance the driver's experience.

[0023] To achieve the above-mentioned purpose, the present invention proposes a motor calibration device for a vehicle, wherein the vehicle includes at least one motor, and the calibration device includes: an initialization module, used to initialize the motor; a first acquisition module, used to obtain the initial zero angle of the motor; a second acquisition module, used to obtain the actual direct-axis voltage and target direct-axis voltage of the motor when it is determined that the motor meets the calibration conditions; and a motor calibration module, used to calibrate the zero angle of the motor according to the actual direct-axis voltage, the target direct-axis voltage and the initial zero angle.

[0024] The vehicle in the embodiment of the present invention includes multiple motors, and the motor calibration device of the vehicle includes an initialization module, a first acquisition module, a second acquisition module and a motor calibration module, wherein the initialization module is used to initialize the motor so that the first acquisition module can obtain the correct initial zero angle of the motor, and after the motor meets the calibration conditions, the actual direct-axis voltage and the target direct-axis voltage of the motor are obtained by the second acquisition module, and the motor calibration module can calibrate the zero angle of the motor according to the actual direct-axis voltage and the target direct-axis voltage of the motor, as well as the initial zero angle of the motor. Therefore, the motor calibration device of the vehicle in this embodiment can accurately calibrate the motor and clutch of the vehicle, improve the drivability of the vehicle, and enhance the driver's experience.

[0025] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 is a flow chart of a motor calibration method for a vehicle according to an embodiment of the present invention;

[0027] Figure 2A is a schematic diagram of motors connected in series according to an embodiment of the present invention;

[0028] Figure 2B is a schematic diagram of motors connected in parallel according to another embodiment of the present invention;

[0029] Figure 3 is a flow chart of a motor calibration method for a vehicle according to another embodiment of the present invention;

[0030] Figure 4 is a flow chart of a motor calibration method for a vehicle according to another embodiment of the present invention;

[0031] Figure 5 is a flow chart of a motor calibration method for a vehicle according to another embodiment of the present invention;

[0032] Figure 6 is a flow chart of a motor calibration method for a vehicle according to another embodiment of the present invention;

[0033] Figure 7 is a flow chart of a motor calibration method for a vehicle according to another embodiment of the present invention;

[0034] Figure 8 is a schematic diagram of the relationship between torque and pressure in a clutch according to an embodiment of the present invention;

[0035] Fig. 9 is a structural block diagram of a vehicle controller according to an embodiment of the present invention;

[0036] Fig.10 4 is a structural block diagram of a motor calibration device for a vehicle according to an embodiment of the present invention. DETAILED DESCRIPTION

[0037] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0038] The vehicle calibration method and device, vehicle controller, and storage medium according to embodiments of the present invention are described below with reference to the accompanying drawings.

[0039] Figure 1 is a flow chart of a vehicle calibration method according to an embodiment of the present invention.

[0040] First of all, it should be noted that the vehicle in the embodiment of the present invention includes at least one motor. Specifically, the vehicle may be a dual-motor hybrid vehicle, such as Figure 2A Or as shown in 2B, wherein the vehicle includes a motor P1 and a motor P2, and a clutch C0 is provided between the two motors. By engaging or disengaging the clutch C0, the connection mode of the vehicle motors, i.e., the series mode and the parallel mode, can be controlled. It can be understood that in the series mode, the clutch C0 is not engaged, such as Figure 2A As shown, in parallel mode, clutch C0 is engaged, as shown in Figure 2B As shown. Of course, the motor can also be powered only by the battery, that is, pure electric mode. Figure 2A and 2B In the ratio system, multiple clutches can be set. Specifically, the number of clutches can be set according to the number of gears, and one gear corresponds to one clutch.

[0041] like Figure 1 As shown, the present invention proposes a motor calibration method for a vehicle, the method comprising the following steps:

[0042] S10, initializing the motor and obtaining the initial zero angle of the motor.

[0043] Specifically, after long-term use, the motor may cause the rotor to be dislocated, that is, when the machine displays that the motor rotor is at a zero position angle, the rotor is actually not at zero position, that is, there is a certain error in the reading of the rotor position. In this embodiment, in order to obtain the accurate initial zero position angle of the motor, the motor can be initialized first, and the working mode of the motor can be controlled in the initialization mode. It can be understood that after the motor enters the initialization mode, the zero position angle can be updated, and the zero position angle of the motor rotor can be read from NvRam (Non-Volatile Random Access Memory).

[0044] S20, when it is determined that the motor meets the calibration condition, obtaining the actual direct-axis voltage and the target direct-axis voltage of the motor.

[0045] Specifically, in some embodiments, when the speed of the motor is within a preset speed range and the working mode of the motor is a calibration mode, it is determined that the motor meets the calibration conditions. It should be noted that the motor can directly enter the calibration mode after the initialization mode, and when the motor is in the calibration mode, it will not be calibrated immediately, but the speed of the motor needs to be judged. When the speed of the motor reaches the preset speed, the corresponding calibration procedure is executed, that is, the motor meets the calibration conditions. After the motor meets the calibration conditions, the actual direct-axis voltage and target direct-axis voltage required for calibration can be further obtained. In this embodiment, the value range of the preset speed of the motor can be 900-1100 revolutions per minute. It should be noted that in this embodiment, the actual direct-axis voltage of the motor can be obtained by a sensor, and the target direct-axis voltage of the motor can be directly read from the memory, or converted by other target data.

[0046] S30, calibrating the zero angle of the motor according to the actual direct-axis voltage, the target direct-axis voltage and the initial zero angle.

[0047] After detecting or reading the actual direct-axis voltage, target direct-axis voltage and initial zero angle of the motor, these three data can be used to calibrate the zero angle of the motor. It should be noted that in the calibration mode, the zero angle can be calibrated according to the formula

[0048] w r ψm sinα is derived to measure the accurate motor rotor angle, where L1 represents the direct-axis inductance, L2 represents the quadrature-axis inductance, and R s Represents the phase resistance of the stator winding, u d represents the direct axis voltage, u q represents the quadrature axis voltage, i d represents the direct axis current, i q represents the quadrature axis current, ψ m represents the magnetic flux, α represents the motor rotor angle, w r represents the rotor angular velocity.

[0049] It can be determined that in the above formula, when the direct axis current i d , quadrature axis current i q When the motor rotor angle α is zero, the quadrature axis voltage u calculated according to the above formula is d is equal to zero, the motor zero angle at this time is the accurate zero angle, but the motor will have a certain error during long-term use, so even if the direct axis current i d , quadrature axis current i q When the motor rotor angle α is zero, the actual quadrature-axis voltage of the motor is not necessarily zero, which results in the zero angle detected by the actual quadrature-axis voltage not necessarily being the accurate zero angle of the motor.

[0050] like Figure 3 As shown, in some embodiments, the zero angle of the motor is calibrated according to the actual direct-axis voltage, the target direct-axis voltage and the initial zero angle, including:

[0051] S301, determining a current zero angle of the motor according to an actual direct-axis voltage and a target direct-axis voltage.

[0052] Specifically, according to the formula in the above embodiment The direct axis current i d and the quadrature axis current i q Both are set to zero, and the target direct-axis voltage is set to zero, and then the current zero angle of the motor is determined based on the difference between the actual direct-axis voltage and the target direct-axis voltage. There are many methods for determining the current zero angle based on the actual direct-axis voltage and the target direct-axis voltage. For example, the difference between the two can be directly taken and the difference can be used as the current zero angle of the motor.

[0053] In some embodiments of the present invention, Figure 4 As shown, the current zero angle of the motor is determined according to the actual direct-axis voltage and the target direct-axis voltage, including:

[0054] S401 , performing PI control on the actual direct-axis voltage to obtain a plurality of first actual direct-axis voltages.

[0055] S402, averaging a plurality of first actual direct-axis voltages to obtain an actual direct-axis voltage average value.

[0056] S403, when the actual direct-axis voltage average value is less than the preset voltage threshold, calculating the current zero angle of the motor according to the actual direct-axis voltage average value and the target direct-axis voltage.

[0057] Specifically, in this embodiment, the actual direct-axis voltage can be PI-controlled so that the difference between the actual direct-axis voltage and the target direct-axis voltage is zero, that is, the current zero-position angle of the motor corresponding to this time can be determined. In this embodiment, the average value of the actual direct-axis voltage after PI control is calculated. If the average value of the actual direct-axis voltage is less than the preset voltage threshold, the voltage average value calculated above can be determined as the current actual direct-axis voltage of the motor, and then the current zero-position angle calculated using the current actual direct-axis voltage of the motor is the accurate current zero-position angle of the motor. Optionally, the preset voltage threshold in this embodiment can be determined between 0.1-0.3 volts, which is specifically determined according to the accuracy requirements.

[0058] It should be noted that before calculating the average value of the actual direct-axis voltage, within a preset time after the motor executes the calibration procedure, it can be calculated whether the quotient between the sum of the squares of the target direct-axis voltages and the number of target direct-axis voltages is less than a set value. If it is less than, the average value calculation of the actual direct-axis voltage is performed by setting a trigger. It should be noted that the trigger can be set to perform the step of calculating the average value of the actual direct-axis voltage when the trigger is set. The preset time can be 0.3 seconds and the set value can be 1.

[0059] S302, calibrating the zero angle of the motor according to the initial zero angle and the current zero angle of the motor.

[0060] Specifically, after determining the accurate current zero angle, the motor's initial zero angle and current zero angle are used to calibrate the motor's zero angle, which can obtain a more accurate zero angle calibration result. Figure 5 As shown, the zero angle of the motor is calibrated according to the initial zero angle and the current zero angle of the motor, including:

[0061] S501, taking the sum of the initial zero angle and the current zero angle as the standard zero angle of the motor.

[0062] S502: When the standard zero angle is greater than a first angle threshold, calibrate the zero angle of the motor according to the difference between the standard zero angle and the first angle threshold.

[0063] S503: When the standard zero angle is less than the second angle threshold, calibrate the zero angle of the motor according to the sum of the standard zero angle and the first angle threshold.

[0064] S504: When the standard zero angle is greater than or equal to the second angle threshold and less than or equal to the first angle threshold, calibrate the zero angle of the motor according to the standard zero angle.

[0065] Specifically, after the current zero angle of the motor is determined, the current zero angle is summed with the initial zero angle to determine the standard zero angle of the motor. That is to say, when the motor rotor is at the zero angle, the motor may have errors due to long-term rotation, and the angle obtained by the sensor is not zero, but the standard zero angle of the motor. Alternatively, when the angle obtained by the sensor is zero, the motor rotor is not truly at the zero angle. Therefore, after the standard zero angle of the motor is determined, the zero angle of the motor can also be determined by the standard zero angle.

[0066] In this embodiment, after the standard zero angle of the motor is calculated, the standard zero angle is also compared with the first angle threshold and the second angle threshold. When the standard zero angle of the motor is greater than the first angle threshold, the first angle threshold is subtracted from the standard zero angle to obtain the final zero angle, and the motor is calibrated for zero angle according to the final zero angle. When the standard zero angle is less than the second angle threshold, the first angle threshold is added to the standard zero angle to obtain the final zero angle, and the motor is calibrated for zero angle according to the final zero angle. When the standard zero angle is greater than or equal to the second angle threshold and less than or equal to the first angle threshold, the standard zero angle is directly used to calibrate the motor for zero angle. Optionally, the first angle threshold in the present embodiment is 360 degrees, and the second angle threshold is 0 degrees.

[0067] It should be noted that, after the zero angle calibration of the motor is completed, the clutch may also be calibrated, which may specifically include the following steps:

[0068] At least two target torques are provided to the clutch so that the clutch generates at least a first pressure value and a second pressure value; and a half-engagement point of the clutch is calibrated according to the first pressure value and the second pressure value.

[0069] After the zero angle calibration of the motor is completed, it means that the motor speed can be accurately obtained, that is, when the motor is controlled to rotate at the target speed, the error between the actual speed of the motor and the target speed is close to zero. The motor that has completed the zero angle calibration can be used to rotate at a preset speed and provide at least two torques to the clutch, and then the clutch is calibrated at the half-engagement point, wherein the difference between the highest torque that does not affect the motor speed and the zero torque can be used as the half-engagement point pressure value of the clutch, so the two torques can be accurately provided to the clutch through the motor, and the clutch generates two pressure values ​​according to the two torques, and then the half-engagement point of the clutch is calibrated according to the difference between the two pressure values.

[0070] In some embodiments of the present invention, see Figure 2A or Figure 2B The vehicle includes a first motor P1 and a second motor P2, and the first motor P1 and the second motor P2 are connected through a preset clutch C0. The calibration method also includes: when the zero angle calibration is performed on the first motor P1, the preset clutch C0 is controlled to be in a disengaged state; when the zero angle calibration is performed on the second motor P2, the preset clutch C0 is controlled to be in a coupled state.

[0071] Specifically, see Figure 2A When the first motor P1 is calibrated, the preset clutch C0 can be controlled to be in a disengaged state, and then the speed of the first motor P1 is controlled by the engine ENG, that is, when the preset clutch C0 is in a disengaged state, the first motor P1 is controlled to rotate by the engine. Figure 2B When the second motor P2 is calibrated, the preset clutch C0 can be controlled to be in an engaged state, and then the speed of the second motor P2 is controlled by the calibrated first motor P1, that is, when the preset clutch C0 is in an engaged state, the second motor P2 is controlled to rotate by the first motor P1.

[0072] It is understandable that by using a calibrated motor to control the speed of a clutch or other motors, the speed error can be controlled to be close to zero, thereby improving the accuracy of the calibration.

[0073] In some embodiments of the present invention, Figure 6 As shown, the calibration method also includes:

[0074] S601, when it is determined that the motor has completed zero angle calibration, control the motor to execute an exit mode.

[0075] S602: When it is determined that the motor has not completed zero-angle calibration and the time length for satisfying the calibration condition is greater than a first time threshold, control the motor to re-calibrate the zero-angle.

[0076] Specifically, in this embodiment, after the motor completes the zero-position calibration, the motor can be controlled to exit the calibration mode so that the motor can perform other tasks. If the motor has not completed the zero-position angle calibration and has continuously met the calibration condition for the first time threshold, the motor can be controlled to re-calibrate the zero-position angle. It should be noted that when the motor meets the calibration condition for the first time threshold, it means that the motor has been performing the calibration for the first time threshold, but the calibration has not been completed, there may be a program error or other errors, so the motor can be controlled to re-calibrate the zero-position angle.

[0077] In this embodiment, when the duration of the motor initialization process is greater than the first time threshold, the motor is controlled to execute the exit mode. In some embodiments, when the motor is converted from the torque mode to the calibration mode, the motor is initialized.

[0078] Specifically, when the motor enters the initialization mode, timing starts. If the time duration of the motor initialization is greater than the first time threshold, the motor may have an error in the initialization process, so the motor can be controlled to exit. Optionally, the first time threshold in this embodiment can be 3 seconds.

[0079] In this embodiment, after the zero angle calibration of the motor is completed, the clutch is calibrated at the half-engagement point, wherein, see Figure 2B As shown, when the clutch is calibrated, the second motor P2 can be controlled to rotate according to the target speed and provide at least two torques to the clutch. In this embodiment, when different driving gears are calibrated, different clutches will be engaged accordingly, and the second motor P2 will be controlled to rotate at the first speed threshold first. The first speed threshold in this embodiment can be 500 revolutions per minute. It should be noted that when the semi-engagement point of the preset clutch C0 is calibrated, all gears of the vehicle are disengaged.

[0080] After the first motor P1 and the second motor P2 have completed the zero angle calibration, the clutch can be calibrated at the half-engagement point. During the half-engagement point calibration of the clutch, the second motor P2 can be controlled to provide the target speed, and the first motor P1 can charge the battery.

[0081] In some embodiments of the present invention, the clutch is also calibrated for hysteresis. Figure 7 , including the following steps:

[0082] S701, determining a pressure rise curve and a pressure drop curve of the clutch according to the torque provided to the clutch and the pressure value generated by the clutch under the torque.

[0083] S702, determining a rising pressure value of the clutch corresponding to the preset torque according to the pressure rising curve, and determining a falling pressure value of the clutch corresponding to the preset torque according to the pressure falling curve.

[0084] S703: calibrate the clutch hysteresis according to the rising pressure value and the falling pressure value.

[0085] Specifically, the present embodiment can provide multiple torques to the clutch in a gradually increasing and decreasing manner, so that the clutch generates multiple corresponding pressure increase curves and pressure decrease curves, such as: Figure 8 As shown, due to the hysteresis of the clutch, the pressure rise curve and the pressure drop curve do not overlap. That is to say, under the same torque, the pressure rise value determined by the clutch according to the pressure rise curve and the pressure drop value determined by the pressure drop curve are not the same. This embodiment first determines the preset torque, and then calibrates the clutch hysteresis according to the rising pressure value and the falling pressure value corresponding to the preset torque. Specifically, the clutch hysteresis can be calibrated according to the difference between the rising pressure value and the falling pressure value corresponding to the preset torque. It should be noted that Figure 8 The horizontal axis is the torque, and the vertical axis is the pressure value of the clutch under the action of the torque. Figure 8 The torque-pressure relationship diagram shown is only a specific embodiment. For clutches of different specifications and models, the specific corresponding relationship may be different, and again no specific limitation is imposed on it.

[0086] In summary, the vehicle motor calibration method according to the embodiment of the present invention can accurately calibrate the vehicle motor, improve the vehicle's drivability, and enhance the driver's experience.

[0087] Furthermore, the present invention proposes a computer-readable storage medium on which a motor calibration program for a vehicle is stored. When the motor calibration program for the vehicle is executed by a processor, the motor calibration method for the vehicle according to the above embodiment is implemented.

[0088] The computer-readable storage medium of the embodiment of the present invention can accurately calibrate the motor of the vehicle, improve the drivability of the vehicle, and enhance the driver's experience by executing the vehicle motor calibration method stored thereon through a processor.

[0089] Fig. 9 4 is a structural block diagram of a vehicle controller according to an embodiment of the present invention.

[0090] Furthermore, if Fig. 9As shown, the present invention proposes a vehicle controller 100, which includes a memory 101, a processor 102, and a vehicle motor calibration program stored in the memory 101 and executable on the processor 102. When the processor 102 executes the vehicle motor calibration program, the vehicle motor calibration method according to the above embodiment is implemented.

[0091] The vehicle controller of the embodiment of the present invention includes a storage memory and a processor. The processor executes the vehicle motor calibration method stored in the memory, which can accurately calibrate the vehicle motor, improve the vehicle's drivability, and enhance the driver's experience.

[0092] Fig.10 4 is a structural block diagram of a motor calibration device for a vehicle according to an embodiment of the present invention.

[0093] Furthermore, if Fig.10 As shown, the present invention proposes a motor calibration device 200 for a vehicle, wherein the vehicle includes at least one motor, and the vehicle calibration device 200 includes an initialization module 201 , a first acquisition module 202 , a second acquisition module 203 and a motor calibration module 204 .

[0094] Among them, the initialization module 201 is used to initialize the motor; the first acquisition module 202 is used to obtain the initial zero angle of the motor; the second acquisition module 203 is used to obtain the actual direct-axis voltage and the target direct-axis voltage of the motor when it is determined that the motor meets the calibration conditions; the motor calibration module 204 is used to calibrate the zero angle of the motor according to the actual direct-axis voltage, the target direct-axis voltage and the initial zero angle.

[0095] In some embodiments of the present invention, the vehicle includes a first motor and a second motor, and the first motor and the second motor are connected through a preset clutch. The motor calibration device also includes a control module, and the control module is also used to: when the zero angle calibration is performed on the first motor, control the preset clutch to be in a disengaged state; when the zero angle calibration is performed on the second motor, control the preset clutch to be in a engaged state.

[0096] In some embodiments of the present invention, determining that the motor meets the calibration condition includes: when the speed of the motor is within a preset speed range and the working mode of the motor is a calibration mode, determining that the motor meets the calibration condition.

[0097] In some embodiments of the present invention, the first motor is connected to the engine of the vehicle, and the control module is also used to: when the preset clutch is in a disengaged state, control the rotation of the first motor through the engine; when the preset clutch is in an engaged state, control the rotation of the second motor through the first motor.

[0098] In some embodiments of the present invention, the motor calibration module is specifically used to: determine the current zero angle of the motor according to the actual direct-axis voltage and the target direct-axis voltage; and calibrate the zero angle of the motor according to the initial zero angle and the current zero angle of the motor.

[0099] In some embodiments of the present invention, the motor calibration module is specifically used to: perform PI control on the actual direct-axis voltage to obtain multiple first actual direct-axis voltages; perform averaging calculation on the multiple first actual direct-axis voltages to obtain an actual direct-axis voltage average value; when the actual direct-axis voltage average value is less than a preset voltage threshold, calculate the current zero angle of the motor based on the actual direct-axis voltage average value and the target direct-axis voltage.

[0100] In some embodiments of the present invention, the motor calibration module is specifically used to: take the sum of the initial zero angle and the current zero angle as the standard zero angle of the motor; when the standard zero angle is greater than a first angle threshold, calibrate the zero angle of the motor according to the difference between the standard zero angle and the first angle threshold; when the standard zero angle is less than a second angle threshold, calibrate the zero angle of the motor according to the sum of the standard zero angle and the first angle threshold; when the standard zero angle is greater than or equal to the second angle threshold and less than or equal to the first angle threshold, calibrate the zero angle of the motor according to the standard zero angle.

[0101] In some embodiments of the present invention, the control module is also used to: when it is determined that the motor has completed zero-angle calibration, control the motor to execute an exit mode; when it is determined that the motor has not completed zero-angle calibration and the time length for meeting the calibration conditions is greater than a first time threshold, control the motor to re-calibrate the zero-angle.

[0102] In some embodiments of the present invention, the control module is further configured to: when the duration of the initialization process of the motor is greater than a first time threshold, control the motor to execute an exit mode.

[0103] In some embodiments of the present invention, the initialization module is further used to perform initialization processing on the motor when the working mode of the motor is converted from the torque mode to the calibration mode.

[0104] In some embodiments of the present invention, the control module is also used to: control the vehicle's gear position to be a parking gear and the vehicle to be in a stationary state; control the motor to rotate at a first preset speed, and control the clutch to be in an engaged state; provide at least two target torques to the clutch so that the clutch generates at least a first pressure value and a second pressure value; and calibrate the clutch's half-engagement point according to the first pressure value and the second pressure value.

[0105] In some embodiments of the present invention, the control module is also used to: provide a first target torque and a second target torque to the clutch, wherein when the torque provided to the clutch is less than or equal to the first target torque, the motor rotates at a first preset speed and the second target torque is zero.

[0106] In some embodiments of the present invention, the control module is also used to: determine the pressure rise curve and the pressure drop curve of the clutch based on the torque provided to the clutch and the pressure value generated by the clutch under the action of the torque; determine the rising pressure value corresponding to the clutch in the preset torque based on the pressure rise curve, and determine the falling pressure value corresponding to the clutch in the preset torque based on the pressure drop curve; and perform hysteresis calibrating on the clutch based on the rising pressure value and the falling pressure value.

[0107] It should be noted that the specific implementation of the motor calibration device for a vehicle in an embodiment of the present invention can refer to the specific implementation of the motor calibration method for a vehicle in the above embodiment, which will not be described in detail here.

[0108] In summary, the vehicle in the embodiment of the present invention includes multiple motors, and the motor calibration device of the vehicle includes an initialization module, a first acquisition module, a second acquisition module and a motor calibration module, wherein the initialization module is used to initialize the motor so that the first acquisition module can obtain the correct initial zero angle of the motor, and after the motor meets the calibration conditions, the actual direct-axis voltage and the target direct-axis voltage of the motor are obtained by the second acquisition module, and the motor calibration module can calibrate the zero angle of the motor according to the actual direct-axis voltage and the target direct-axis voltage of the motor, as well as the initial zero angle of the motor. Therefore, the motor calibration device of the vehicle in the embodiment of the present invention can accurately calibrate the motor and clutch of the vehicle, improve the drivability of the vehicle, and enhance the driver's experience.

[0109] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0110] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0111] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0112] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0113] In addition, the terms "first", "second", etc. used in the embodiments of the present invention are only used for descriptive purposes and should not be understood as indicating or implying relative importance, or implicitly indicating the number of technical features indicated in the present embodiment. Therefore, the features defined by the terms "first", "second", etc. in the embodiments of the present invention can explicitly or implicitly indicate that the embodiment includes at least one of the features. In the description of the present invention, the word "multiple" means at least two or two or more, such as two, three, four, etc., unless otherwise clearly and specifically defined in the embodiments.

[0114] In the present invention, unless otherwise clearly specified or limited in the embodiments, the terms "installed", "connected", "connected" and "fixed" etc. in the embodiments should be understood in a broad sense. For example, the connection can be a fixed connection, a detachable connection, or an integrated connection. It can be understood that it can also be a mechanical connection, an electrical connection, etc.; of course, it can also be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal connection of two elements, or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific implementation situation.

[0115] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0116] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A motor calibration method for a vehicle, characterized in that: The vehicle includes at least one motor, and the calibration method includes: Initializing the motor and obtaining an initial zero angle of the motor; When it is determined that the motor meets the calibration condition, obtaining an actual direct-axis voltage and a target direct-axis voltage of the motor; Performing zero angle calibration on the motor according to the actual direct-axis voltage, the target direct-axis voltage and the initial zero angle; Calibrate the zero angle of the motor according to the actual direct-axis voltage, the target direct-axis voltage and the initial zero angle, including: Determining a current zero angle of the motor according to the actual direct-axis voltage and the target direct-axis voltage; Calibrate the zero angle of the motor according to the initial zero angle and the current zero angle of the motor; Wherein, determining the current zero angle of the motor according to the actual direct-axis voltage and the target direct-axis voltage includes: Among them, L1 represents the direct axis inductance, L2 represents the quadrature axis inductance, and R s represents the phase resistance of the stator winding, u d represents the direct axis voltage, u q represents the quadrature axis voltage, i d represents the direct axis current, i q represents the quadrature axis current, ψ m represents the magnetic flux, α represents the motor rotor angle, w r represents the rotor angular velocity; The direct axis current i d and the quadrature axis current i q The actual direct-axis voltage is set to zero, and the target direct-axis voltage is set to zero. Then, the current zero angle of the motor is determined according to the difference between the actual direct-axis voltage and the target direct-axis voltage.

2. The motor calibration method according to claim 1, characterized in that: The vehicle includes a first motor and a second motor, the first motor and the second motor are connected via a preset clutch, and the calibration method further includes: When the first motor is calibrated for a zero angle, the preset clutch is controlled to be in a disengaged state; When the second motor is calibrated for a zero angle, the preset clutch is controlled to be in an engaged state.

3. The motor calibration method according to claim 2, characterized in that: Determining that the motor meets the calibration condition includes: When the rotation speed of the motor is within a preset rotation speed range and the working mode of the motor is a calibration mode, it is determined that the motor meets the calibration condition.

4. The motor calibration method according to claim 3, characterized in that: The first motor is connected to an engine of the vehicle, and the calibration method further includes: When the preset clutch is in a disengaged state, the first motor is controlled to rotate by the engine; When the preset clutch is in the engaged state, the second motor is controlled to rotate by the first motor.

5. The motor calibration method according to claim 1, characterized in that: Determining a current zero angle of the motor according to the actual direct-axis voltage and the target direct-axis voltage includes: Performing PI control on the actual direct-axis voltage to obtain a plurality of first actual direct-axis voltages; averaging the plurality of first actual direct-axis voltages to obtain an actual direct-axis voltage average value; When the actual direct-axis voltage average value is less than a preset voltage threshold, the current zero angle of the motor is calculated according to the actual direct-axis voltage average value and the target direct-axis voltage.

6. The motor calibration method according to claim 5, characterized in that: The zero angle of the motor is calibrated according to the initial zero angle and the current zero angle of the motor, including: The sum of the initial zero angle and the current zero angle is used as the standard zero angle of the motor; When the standard zero angle is greater than a first angle threshold, calibrating the zero angle of the motor according to the difference between the standard zero angle and the first angle threshold; When the standard zero angle is less than a second angle threshold, calibrating the zero angle of the motor according to the sum of the standard zero angle and the first angle threshold; When the standard zero angle is greater than or equal to the second angle threshold and less than or equal to the first angle threshold, the zero angle of the motor is calibrated according to the standard zero angle.

7. The motor calibration method according to any one of claims 1 to 6, characterized in that: The calibration method further comprises: When it is determined that the motor has completed zero angle calibration, controlling the motor to execute an exit mode; When it is determined that the motor has not completed the zero angle calibration and the time length for satisfying the calibration condition is greater than the first time threshold, the motor is controlled to re-calibrate the zero angle.

8. The motor calibration method according to claim 7, characterized in that: The calibration method further comprises: When the duration of the initialization process of the motor is greater than the first time threshold, the motor is controlled to execute the exit mode.

9. The motor calibration method according to claim 3, characterized in that: The calibration method further comprises: When the working mode of the motor is converted from the torque mode to the calibration mode, the motor is initialized.

10. A computer-readable storage medium, characterized in that: A motor calibration program of a vehicle is stored thereon, and when the motor calibration program of the vehicle is executed by a processor, the motor calibration method of the vehicle according to any one of claims 1-9 is implemented.

11. A vehicle controller, characterized in that: The invention comprises a memory, a processor and a motor calibration program for a vehicle which is stored in the memory and can be run on the processor. When the processor executes the motor calibration program for the vehicle, the motor calibration method for the vehicle according to any one of claims 1 to 9 is implemented.

12. A motor calibration device for a vehicle, characterized in that: The motor calibration device is used to execute the motor calibration method described in any one of claims 1 to 9, the vehicle includes at least one motor, and the calibration device includes: An initialization module, used for initializing the motor; A first acquisition module, used to acquire an initial zero angle of the motor; A second acquisition module, configured to acquire an actual direct-axis voltage and a target direct-axis voltage of the motor when it is determined that the motor meets the calibration condition; A motor calibration module is used to calibrate the zero angle of the motor according to the actual direct-axis voltage, the target direct-axis voltage and the initial zero angle.