Calibration method and device of permanent magnet synchronous motor, computer program product and vehicle
By adjusting the current distribution point of the permanent magnet synchronous motor so that it is located on the voltage limit ellipse and updating the current map, the problem of low torque accuracy during the calibration process is solved and the safe and efficient operation of the motor is ensured.
Patent Information
- Application Number
- CN202410787904.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-10-08
AI Technical Summary
The torque accuracy during the calibration process of the existing permanent magnet synchronous motor is low, which causes the current MAP distribution point to fall outside the voltage limit circle, causing voltage saturation and overcurrent, causing damage to the motor.
By obtaining the current map of the permanent magnet synchronous motor, the d-axis current and q-axis current are adjusted so that the current distribution point is located on the voltage limit ellipse. When the error between the actual torque and the target torque is less than the error threshold, the current map is updated to complete the calibration.
It ensures that the motor voltage is within a safe range, improves torque accuracy, avoids motor damage, and meets the calibrated torque accuracy requirements.
Smart Images

Figure CN118748527A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of motor calibration, and in particular to a calibration method, device, computer program product and vehicle for a permanent magnet synchronous motor. Background Art
[0002] At present, the manual operation of permanent magnet synchronous motor calibration is time-consuming and requires a high level of operator skills. Automatic calibration replaces manual search for the optimal solution. In the MTPV area, the optimal point of current distribution is the intersection of the equal torque line and the voltage limit ellipse. However, due to the instability of motor parameters and the influence of temperature, it is inevitable that the torque accuracy does not meet the requirements. At this time, the current MAP distribution point may fall outside the voltage limit circle or inside the voltage circle. The current distribution point that falls outside the voltage circle may cause voltage saturation during motor testing, resulting in large current fluctuations, overcurrent, and motor damage. Summary of the invention
[0003] The main purpose of the present application is to provide a permanent magnet synchronous motor calibration method, device, computer program product and vehicle, so as to at least solve the problem of low torque accuracy of permanent magnet synchronous motors in the prior art.
[0004] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a calibration method for a permanent magnet synchronous motor is provided, including: obtaining a current map of the permanent magnet synchronous motor, wherein the current map is a mapping relationship table of required torque, required speed, d-axis current and q-axis current, wherein the d-axis current and the q-axis current are both components of the stator current of the permanent magnet synchronous motor; obtaining a first current distribution point and a corresponding target required torque according to the current map, wherein the first current distribution point is a coordinate point with the d-axis current and the q-axis current of the current map as coordinates, and the target required torque is the required torque corresponding to the d-axis current and the q-axis current of the current map; when the first current distribution point is outside the voltage limit ellipse, adjusting the first current distribution point The d-axis current and the q-axis current corresponding to the distribution point are adjusted to obtain a second current distribution point, so that the second current distribution point is located on the voltage limit ellipse, and the voltage limit ellipse is used to limit the voltage of the permanent magnet synchronous motor to be less than or equal to the maximum voltage limit; when the error between the actual torque under the stator current corresponding to the second current distribution point and the target demand torque is greater than the error threshold, the d-axis current and the q-axis current corresponding to the second current distribution point are adjusted to obtain a third current distribution point, so that the error between the actual torque under the stator current corresponding to the third current distribution point and the target demand torque is less than or equal to the error threshold; the current map is updated according to the third current distribution point and the corresponding target demand torque to complete the calibration.
[0005] Optionally, when the first current distribution point is outside the voltage limit ellipse, the d-axis current and the q-axis current corresponding to the first current distribution point are adjusted to obtain a second current distribution point so that the second current distribution point is located on the voltage limit ellipse, including: when the first current distribution point is outside the voltage limit ellipse and the d-axis current corresponding to the first current distribution point is less than or equal to the minimum magnetic weakening current, the q-axis current corresponding to the first current distribution point is reduced to obtain the second current distribution point so that the second current distribution point is located on the voltage limit ellipse, and the minimum magnetic weakening current is the maximum d-axis current that satisfies the voltage limit ellipse.
[0006] Optionally, when the first current distribution point is outside the voltage limit ellipse, the d-axis current and the q-axis current corresponding to the first current distribution point are adjusted to obtain a second current distribution point, so that the second current distribution point is located on the voltage limit ellipse, and also includes: when the first current distribution point is outside the voltage limit ellipse and the d-axis current corresponding to the first current distribution point is greater than the minimum magnetic weakening current, the d-axis current corresponding to the first current distribution point is reduced to obtain the second current distribution point, so that the second current distribution point is located on the voltage limit ellipse, and the minimum magnetic weakening current is the maximum d-axis current that satisfies the voltage limit ellipse.
[0007] Optionally, when the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is greater than an error threshold, the d-axis current and the q-axis current corresponding to the second current distribution point are adjusted to obtain a third current distribution point, so that the error between the actual torque under the stator current corresponding to the third current distribution point and the target required torque is less than or equal to the error threshold, including: when the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is greater than the error threshold and the actual torque under the stator current corresponding to the second current distribution point is less than the target required torque, increasing the q-axis current corresponding to the second current distribution point according to a predetermined step size, and reducing the d-axis current corresponding to the second current distribution point, so that the adjusted second current distribution point is located on the voltage limit ellipse, until the error between the actual torque under the stator current corresponding to the adjusted second current distribution point and the target required torque is less than or equal to the error threshold, and the third current distribution point is obtained.
[0008] Optionally, when the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is greater than an error threshold, the d-axis current and the q-axis current corresponding to the second current distribution point are adjusted to obtain a third current distribution point, so that the error between the actual torque under the stator current corresponding to the third current distribution point and the target required torque is less than or equal to the error threshold, including: when the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is greater than the error threshold and the actual torque under the stator current corresponding to the second current distribution point is greater than the target required torque, reducing the q-axis current corresponding to the second current distribution point according to a predetermined step size, and increasing the d-axis current corresponding to the second current distribution point, so that the adjusted second current distribution point is located on the voltage limit ellipse, until the error between the actual torque under the stator current corresponding to the adjusted second current distribution point and the target required torque is less than or equal to the error threshold, and the third current distribution point is obtained.
[0009] Optionally, when the error between the actual torque under the stator current corresponding to the second current distribution point and the target demand torque is greater than an error threshold, the d-axis current and the q-axis current corresponding to the second current distribution point are adjusted to obtain a third current distribution point, so that the error between the actual torque under the stator current corresponding to the third current distribution point and the target demand torque is less than or equal to the error threshold, including: when the error between the actual torque under the stator current corresponding to the second current distribution point and the target demand torque is less than or equal to the error threshold, the second current distribution point is determined as the third current distribution point.
[0010] Optionally, after obtaining the first current distribution point and the corresponding target demand torque according to the current map, the method further includes: when the first current distribution point is located within the voltage limit ellipse and the error between the actual torque under the stator current corresponding to the first current distribution point and the target demand torque is less than or equal to the error threshold, determining the first current distribution point as the third current distribution point.
[0011] According to another aspect of the present application, a calibration device for a permanent magnet synchronous motor is provided, comprising: a first acquisition unit, used to acquire a current map of the permanent magnet synchronous motor, wherein the current map is a mapping relationship table of required torque, required speed, d-axis current and q-axis current, wherein the d-axis current and the q-axis current are both components of the stator current of the permanent magnet synchronous motor; a second acquisition unit, used to acquire a first current distribution point and a corresponding target required torque according to the current map, wherein the first current distribution point is a coordinate point with the d-axis current and the q-axis current of the current map as coordinates, and the target required torque is the required torque corresponding to the d-axis current and the q-axis current of the current map; and a first adjustment unit, used to adjust the first current distribution point when the first current distribution point is outside the voltage limit ellipse. The d-axis current and the q-axis current corresponding to the distribution point are used to obtain a second current distribution point, so that the second current distribution point is located on the voltage limit ellipse, and the voltage limit ellipse is used to limit the voltage of the permanent magnet synchronous motor to be less than or equal to the maximum voltage limit; a second adjustment unit is used to adjust the d-axis current and the q-axis current corresponding to the second current distribution point when the error between the actual torque under the stator current corresponding to the second current distribution point and the target demand torque is greater than the error threshold, so as to obtain a third current distribution point, so that the error between the actual torque under the stator current corresponding to the third current distribution point and the target demand torque is less than or equal to the error threshold; an updating unit is used to update the current map according to the third current distribution point and the corresponding target demand torque to complete the calibration.
[0012] According to another aspect of the present application, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, any one of the methods described above is implemented.
[0013] According to another aspect of the present application, a vehicle is provided, comprising: a permanent magnet synchronous motor, one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the described methods.
[0014] By applying the technical solution of the present application, in the calibration method of the above-mentioned permanent magnet synchronous motor, a second current distribution point is obtained through a first current distribution point corresponding to the d-axis current and the q-axis current of the current map, so that the second current distribution point is located on the voltage limit ellipse, thereby preventing the voltage of the permanent magnet synchronous motor from exceeding the maximum voltage limit during the calibration process, and then continuing to adjust until the error between the actual torque and the target demand torque is less than or equal to the error threshold, and obtaining a third current distribution point. The current map is updated according to the third current distribution point and the corresponding target demand torque, and the calibration is completed, so that the calibrated current map can meet the torque accuracy requirements, thereby solving the problem of low torque accuracy of permanent magnet synchronous motors in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A hardware structure block diagram of a mobile terminal for executing a permanent magnet synchronous motor calibration method provided in an embodiment of the present application is shown;
[0016] Figure 2 A schematic flow chart of a permanent magnet synchronous motor calibration method provided according to an embodiment of the present application is shown;
[0017] Figure 3 A schematic diagram of a first current distribution point calibration process provided according to an embodiment of the present application is shown;
[0018] Figure 4 A schematic diagram showing another first current distribution point calibration process provided according to an embodiment of the present application is shown;
[0019] Figure 5 A schematic diagram showing another first current distribution point calibration process provided according to an embodiment of the present application is shown;
[0020] Figure 6 A structural block diagram of a permanent magnet synchronous motor calibration device provided according to an embodiment of the present application is shown.
[0021] The above drawings include the following reference numerals:
[0022] 102, processor; 104, memory; 106, transmission device; 108, input and output devices. DETAILED DESCRIPTION
[0023] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution 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 only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] As introduced in the background technology, the torque accuracy of permanent magnet synchronous motors in the prior art is low. To solve this technical problem, the embodiments of the present application provide a permanent magnet synchronous motor calibration method, device, computer program product and vehicle.
[0027] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0028] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of a permanent magnet synchronous motor calibration method according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0029] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the display method of device information in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific examples of the network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0030] In this embodiment, a calibration method for a permanent magnet synchronous motor running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0031] Figure 2 FIG. 1 is a flow chart of a method for calibrating a permanent magnet synchronous motor according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:
[0032] Step S201, obtaining a current map of the permanent magnet synchronous motor, wherein the current map is a mapping relationship table of required torque, required speed, d-axis current and q-axis current, wherein both the d-axis current and the q-axis current are components of the stator current of the permanent magnet synchronous motor;
[0033] Step S202, obtaining a first current distribution point and a corresponding target required torque according to the current map, wherein the first current distribution point is a coordinate point with the d-axis current and the q-axis current of the current map as coordinates, and the target required torque is the required torque corresponding to the d-axis current and the q-axis current of the current map;
[0034] Step S203, when the first current distribution point is outside the voltage limit ellipse, adjusting the d-axis current and the q-axis current corresponding to the first current distribution point to obtain a second current distribution point, so that the second current distribution point is located on the voltage limit ellipse, and the voltage limit ellipse is used to limit the voltage of the permanent magnet synchronous motor to be less than or equal to the maximum voltage limit;
[0035] Step S204, when the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is greater than the error threshold, adjusting the d-axis current and the q-axis current corresponding to the second current distribution point to obtain a third current distribution point, so that the error between the actual torque under the stator current corresponding to the third current distribution point and the target required torque is less than or equal to the error threshold;
[0036] Step S205 , updating the current map according to the third current distribution point and the corresponding target required torque, and completing calibration.
[0037] In the above-mentioned permanent magnet synchronous motor calibration method, a second current distribution point is obtained through a first current distribution point corresponding to the d-axis current and the q-axis current of the current map, so that the second current distribution point is located on the voltage limit ellipse, thereby preventing the voltage of the permanent magnet synchronous motor from exceeding the maximum voltage limit during the calibration process, and then continuing to adjust until the error between the actual torque and the target demand torque is less than or equal to the error threshold, and obtaining a third current distribution point. The current map is updated according to the third current distribution point and the corresponding target demand torque, and the calibration is completed, so that the calibrated current map can meet the torque accuracy requirements, thereby solving the problem of low torque accuracy of permanent magnet synchronous motors in the prior art.
[0038] In order to avoid overvoltage, in an optional implementation, the above step S203 includes:
[0039] Step S2031, when the above-mentioned first current distribution point is located outside the above-mentioned voltage limit ellipse and the above-mentioned d-axis current corresponding to the above-mentioned first current distribution point is less than or equal to the minimum magnetic weakening current, reduce the above-mentioned q-axis current corresponding to the above-mentioned first current distribution point to obtain the above-mentioned second current distribution point, so that the above-mentioned second current distribution point is located on the above-mentioned voltage limit ellipse, and the above-mentioned minimum magnetic weakening current is the maximum above-mentioned d-axis current that satisfies the above-mentioned voltage limit ellipse.
[0040] In the above implementation, if Figure 3 and Figure 4As shown, the above-mentioned first current distribution point (A1 or A2) is located outside the above-mentioned voltage limit ellipse, and the d-axis current id corresponding to the above-mentioned first current distribution point is less than or equal to the minimum field-weakening current idMin, that is, id < idMin. The q-axis current iq corresponding to the above-mentioned first current distribution point is reduced to obtain the above-mentioned second current distribution point, so that the above-mentioned second current distribution point is located on the above-mentioned voltage limit ellipse to avoid overvoltage.
[0041] In order to avoid overvoltage and damage to the motor, in an optional implementation manner, the above-mentioned step S203 further includes:
[0042] Step S2032, when the above-mentioned first current distribution point is located outside the above-mentioned voltage limit ellipse and the d-axis current corresponding to the above-mentioned first current distribution point is greater than the minimum field-weakening current, reduce the d-axis current corresponding to the above-mentioned first current distribution point to obtain the above-mentioned second current distribution point, so that the above-mentioned second current distribution point is located on the above-mentioned voltage limit ellipse. The above-mentioned minimum field-weakening current is the maximum d-axis current that satisfies the above-mentioned voltage limit ellipse.
[0043] In the above implementation manner, as Figure 5 shown, the above-mentioned first current distribution point (A3) is located outside the above-mentioned voltage limit ellipse and the d-axis current id corresponding to the above-mentioned first current distribution point is greater than the minimum field-weakening current idMin. The d-axis current id corresponding to the above-mentioned first current distribution point is reduced to obtain the above-mentioned second current distribution point, so that the above-mentioned second current distribution point is located on the above-mentioned voltage limit ellipse to avoid overvoltage and damage to the motor.
[0044] In order to accurately meet the requirement of the target torque, in an optional implementation manner, the above-mentioned step S204 includes:
[0045] Step S2041, when the error between the actual torque under the stator current corresponding to the above-mentioned second current distribution point and the above-mentioned target required torque is greater than the above-mentioned error threshold and the actual torque under the stator current corresponding to the above-mentioned second current distribution point is less than the above-mentioned target required torque, increase the q-axis current corresponding to the above-mentioned second current distribution point by a predetermined step size and reduce the d-axis current corresponding to the above-mentioned second current distribution point, so that the adjusted above-mentioned second current distribution point is located on the above-mentioned voltage limit ellipse until the error between the actual torque under the stator current corresponding to the adjusted above-mentioned second current distribution point and the above-mentioned target required torque is less than or equal to the above-mentioned error threshold, to obtain the above-mentioned third current distribution point.
[0046] In the above implementation manner, as Figure 3 and Figure 5As shown, if the error between the actual torque under the stator current corresponding to the second current distribution point and the target demand torque is greater than the error threshold and the actual torque under the stator current corresponding to the second current distribution point is less than the target demand torque, then the second current distribution point is located below the equal torque line corresponding to the target demand torque, then the q-axis current iq corresponding to the second current distribution point is increased according to a predetermined step size, and the d-axis current id corresponding to the second current distribution point is reduced, so that the adjusted second current distribution point is located on the voltage limit ellipse, until the error between the actual torque under the stator current corresponding to the second current distribution point after adjustment and the target demand torque is less than or equal to the error threshold, that is, the second current distribution point moves to the vicinity of the intersection of the equal torque line corresponding to the target demand torque and the voltage limit ellipse, accurately meeting the requirement of the demand torque.
[0047] In order to accurately meet the demand torque requirement, in an optional implementation, the above step S204 includes:
[0048] Step S2042, when the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is greater than the error threshold and the actual torque under the stator current corresponding to the second current distribution point is greater than the target required torque, reduce the q-axis current corresponding to the second current distribution point according to a predetermined step size, and increase the d-axis current corresponding to the second current distribution point, so that the adjusted second current distribution point is located on the voltage limit ellipse, until the error between the actual torque under the stator current corresponding to the adjusted second current distribution point and the target required torque is less than or equal to the error threshold, thereby obtaining the third current distribution point.
[0049] In the above implementation, if Figure 4 As shown, if the error between the actual torque under the stator current corresponding to the second current distribution point and the target demand torque is greater than the error threshold and the actual torque under the stator current corresponding to the second current distribution point is greater than the target demand torque, then the second current distribution point is located above the equal torque line corresponding to the target demand torque, then the q-axis current iq corresponding to the second current distribution point is reduced according to a predetermined step size, and the d-axis current id corresponding to the second current distribution point is increased, so that the adjusted second current distribution point is located on the voltage limit ellipse, until the error between the actual torque under the stator current corresponding to the second current distribution point after the adjustment and the target demand torque is less than or equal to the error threshold, that is, the second current distribution point moves to the vicinity of the intersection of the equal torque line corresponding to the target demand torque and the voltage limit ellipse to accurately meet the demand torque requirement.
[0050] In order to simplify the calibration, in an optional implementation, the above step S204 includes:
[0051] Step S2043: when the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is less than or equal to the error threshold, the second current distribution point is determined as the third current distribution point.
[0052] In the above embodiment, the error between the actual torque under the above stator current corresponding to the above second current distribution point and the above target required torque is less than or equal to the above error threshold, that is, the above second current distribution point is directly located near the intersection of the equal torque line corresponding to the target required torque and the voltage limit ellipse, and no further calibration is required, and the above second current distribution point can be determined as the above third current distribution point.
[0053] In order to simplify the calibration, in an optional implementation manner, after obtaining the first current distribution point and the corresponding target required torque according to the current map, the method further includes:
[0054] Step S301, when the first current distribution point is located within the voltage limit ellipse and the error between the actual torque under the stator current corresponding to the first current distribution point and the target required torque is less than or equal to the error threshold, the first current distribution point is determined as the third current distribution point.
[0055] In the above embodiment, the above-mentioned first current distribution point is located within the voltage limit ellipse, meeting the limit voltage requirement, and the error between the actual torque under the above-mentioned stator current corresponding to the above-mentioned first current distribution point and the above-mentioned target required torque is less than or equal to the above-mentioned error threshold, that is, the required torque requirement is accurately met, and no calibration is required.
[0056] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0057] The embodiment of the present application also provides a calibration device for a permanent magnet synchronous motor. It should be noted that the calibration device for a permanent magnet synchronous motor in the embodiment of the present application can be used to execute the calibration method for a permanent magnet synchronous motor provided in the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0058] The following introduces the permanent magnet synchronous motor calibration device provided in the embodiment of the present application.
[0059] Figure 6 is a structural block diagram of a calibration device for a permanent magnet synchronous motor according to an embodiment of the present application. Figure 6 As shown, the device comprises:
[0060] A first acquisition unit 10 is used to acquire a current map of the permanent magnet synchronous motor, wherein the current map is a mapping relationship table of required torque, required speed, d-axis current and q-axis current, wherein both the d-axis current and the q-axis current are components of the stator current of the permanent magnet synchronous motor;
[0061] A second acquisition unit 20 is used to acquire a first current distribution point and a corresponding target demand torque according to the current map, wherein the first current distribution point is a coordinate point with the d-axis current and the q-axis current of the current map as coordinates, and the target demand torque is the demand torque corresponding to the d-axis current and the q-axis current of the current map;
[0062] A first adjustment unit 30 is used to adjust the d-axis current and the q-axis current corresponding to the first current distribution point when the first current distribution point is outside the voltage limit ellipse, so as to obtain a second current distribution point, so that the second current distribution point is located on the voltage limit ellipse, and the voltage limit ellipse is used to limit the voltage of the permanent magnet synchronous motor to be less than or equal to the maximum voltage limit value;
[0063] A second adjustment unit 40 is used to adjust the d-axis current and the q-axis current corresponding to the second current distribution point to obtain a third current distribution point when the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is greater than an error threshold, so that the error between the actual torque under the stator current corresponding to the third current distribution point and the target required torque is less than or equal to the error threshold;
[0064] The updating unit 50 is used to update the current map according to the third current distribution point and the corresponding target required torque to complete the calibration.
[0065] In the above-mentioned calibration method of the permanent magnet synchronous motor, the second current distribution point is obtained through the first current distribution points corresponding to the d-axis current and the q-axis current of the current map, so that the second current distribution point is located on the voltage limit ellipse, preventing the voltage of the permanent magnet synchronous motor from exceeding the maximum voltage limit value during the calibration process. Then, continue to adjust until the error between the actual torque and the target required torque is less than or equal to the error threshold, and the third current distribution point is obtained. Update the current map according to the third current distribution point and the corresponding target required torque to complete the calibration, so that the calibrated current map can meet the torque accuracy requirements, and solve the problem of low torque accuracy of the permanent magnet synchronous motor in the prior art.
[0066] In order to avoid overvoltage, in an alternative embodiment, the above-mentioned first adjustment unit includes:
[0067] The first adjustment module is used to reduce the q-axis current corresponding to the first current distribution point to obtain the second current distribution point when the first current distribution point is outside the voltage limit ellipse and the d-axis current corresponding to the first current distribution point is less than or equal to the minimum field weakening current, so that the second current distribution point is located on the voltage limit ellipse. The minimum field weakening current is the maximum d-axis current that satisfies the voltage limit ellipse.
[0068] In the above-mentioned embodiment, as Figure 3 and Figure 4 shown, the above-mentioned first current distribution point (A1 or A2) is outside the voltage limit ellipse and the d-axis current id corresponding to the first current distribution point is less than or equal to the minimum field weakening current idMin, that is, id < idMin. Reduce the q-axis current iq corresponding to the first current distribution point to obtain the second current distribution point, so that the second current distribution point is located on the voltage limit ellipse to avoid overvoltage.
[0069] In order to avoid overvoltage and damage to the motor, in an alternative embodiment, the above-mentioned first adjustment unit further includes:
[0070] The second adjustment module is used to reduce the d-axis current corresponding to the first current distribution point to obtain the second current distribution point when the first current distribution point is outside the voltage limit ellipse and the d-axis current corresponding to the first current distribution point is greater than the minimum field weakening current, so that the second current distribution point is located on the voltage limit ellipse. The minimum field weakening current is the maximum d-axis current that satisfies the voltage limit ellipse.
[0071] In the above-mentioned embodiment, as Figure 5As shown, the above-mentioned first current distribution point (A3) is located outside the above-mentioned voltage limit ellipse and the above-mentioned d-axis current id corresponding to the above-mentioned first current distribution point is greater than the minimum weak magnetic current idMin, and the above-mentioned d-axis current id corresponding to the above-mentioned first current distribution point is reduced to obtain the above-mentioned second current distribution point, so that the above-mentioned second current distribution point is located on the above-mentioned voltage limit ellipse to avoid overvoltage and damage to the motor.
[0072] In order to accurately meet the demand torque requirement, in an optional implementation, the second adjustment unit includes:
[0073] The third adjustment module is used to increase the q-axis current corresponding to the second current distribution point according to a predetermined step size and reduce the d-axis current corresponding to the second current distribution point when the error between the actual torque under the stator current corresponding to the second current distribution point and the target demand torque is greater than the error threshold and the actual torque under the stator current corresponding to the second current distribution point is less than the target demand torque, so that the adjusted second current distribution point is located on the voltage limit ellipse, until the error between the actual torque under the stator current corresponding to the second current distribution point and the target demand torque is less than or equal to the error threshold, thereby obtaining the third current distribution point.
[0074] In the above implementation mode, if Figure 3 and Figure 5 As shown, if the error between the actual torque under the stator current corresponding to the second current distribution point and the target demand torque is greater than the error threshold and the actual torque under the stator current corresponding to the second current distribution point is less than the target demand torque, then the second current distribution point is located below the equal torque line corresponding to the target demand torque, then the q-axis current iq corresponding to the second current distribution point is increased according to a predetermined step size, and the d-axis current id corresponding to the second current distribution point is reduced, so that the adjusted second current distribution point is located on the voltage limit ellipse, until the error between the actual torque under the stator current corresponding to the second current distribution point after adjustment and the target demand torque is less than or equal to the error threshold, that is, the second current distribution point moves to the vicinity of the intersection of the equal torque line corresponding to the target demand torque and the voltage limit ellipse, accurately meeting the requirement of the demand torque.
[0075] In order to accurately meet the demand torque requirement, in an optional implementation, the second adjustment unit includes:
[0076] The fourth adjustment module is used to reduce the q-axis current corresponding to the second current distribution point according to a predetermined step size and increase the d-axis current corresponding to the second current distribution point when the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is greater than the error threshold and the actual torque under the stator current corresponding to the second current distribution point is greater than the target required torque, so that the adjusted second current distribution point is located on the voltage limit ellipse, until the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is less than or equal to the error threshold, thereby obtaining the third current distribution point.
[0077] In the above implementation mode, if Figure 4 As shown, if the error between the actual torque under the stator current corresponding to the second current distribution point and the target demand torque is greater than the error threshold and the actual torque under the stator current corresponding to the second current distribution point is greater than the target demand torque, then the second current distribution point is located above the equal torque line corresponding to the target demand torque, then the q-axis current iq corresponding to the second current distribution point is reduced according to a predetermined step size, and the d-axis current id corresponding to the second current distribution point is increased, so that the adjusted second current distribution point is located on the voltage limit ellipse, until the error between the actual torque under the stator current corresponding to the second current distribution point after the adjustment and the target demand torque is less than or equal to the error threshold, that is, the second current distribution point moves to the vicinity of the intersection of the equal torque line corresponding to the target demand torque and the voltage limit ellipse to accurately meet the demand torque requirement.
[0078] In order to simplify the calibration, in an optional implementation manner, the second adjustment unit includes:
[0079] A determination module is used to determine the second current distribution point as the third current distribution point when the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is less than or equal to the error threshold.
[0080] In the above embodiment, the error between the actual torque under the above stator current corresponding to the above second current distribution point and the above target required torque is less than or equal to the above error threshold, that is, the above second current distribution point is directly located near the intersection of the equal torque line corresponding to the target required torque and the voltage limit ellipse, and no further calibration is required, and the above second current distribution point can be determined as the above third current distribution point.
[0081] In order to simplify the calibration, in an optional implementation manner, the above device further includes:
[0082] A determination unit is used to determine the first current distribution point as the third current distribution point after obtaining the first current distribution point and the corresponding target demand torque according to the current map, when the first current distribution point is within the voltage limit ellipse and the error between the actual torque under the stator current corresponding to the first current distribution point and the target demand torque is less than or equal to the error threshold.
[0083] In the above embodiment, the above-mentioned first current distribution point is located within the voltage limit ellipse, meeting the limit voltage requirement, and the error between the actual torque under the above-mentioned stator current corresponding to the above-mentioned first current distribution point and the above-mentioned target required torque is less than or equal to the above-mentioned error threshold, that is, the required torque requirement is accurately met, and no calibration is required.
[0084] The above-mentioned permanent magnet synchronous motor calibration device includes a processor and a memory, and the above-mentioned first acquisition unit, the second acquisition unit, etc. are stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions. The above-mentioned modules are all located in the same processor; or, the above-mentioned modules are located in different processors in any combination.
[0085] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be provided, and the problem of low torque accuracy of the permanent magnet synchronous motor in the prior art can be solved by adjusting kernel parameters.
[0086] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0087] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the permanent magnet synchronous motor calibration method.
[0088] Specifically, the calibration method of the permanent magnet synchronous motor includes:
[0089] Step S201, obtaining a current map of the permanent magnet synchronous motor, wherein the current map is a mapping relationship table of required torque, required speed, d-axis current and q-axis current, wherein both the d-axis current and the q-axis current are components of the stator current of the permanent magnet synchronous motor;
[0090] Step S202, obtaining a first current distribution point and a corresponding target required torque according to the current map, wherein the first current distribution point is a coordinate point with the d-axis current and the q-axis current of the current map as coordinates, and the target required torque is the required torque corresponding to the d-axis current and the q-axis current of the current map;
[0091] Step S203, when the first current distribution point is outside the voltage limit ellipse, adjusting the d-axis current and the q-axis current corresponding to the first current distribution point to obtain a second current distribution point, so that the second current distribution point is located on the voltage limit ellipse, and the voltage limit ellipse is used to limit the voltage of the permanent magnet synchronous motor to be less than or equal to the maximum voltage limit;
[0092] Step S204, when the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is greater than the error threshold, adjusting the d-axis current and the q-axis current corresponding to the second current distribution point to obtain a third current distribution point, so that the error between the actual torque under the stator current corresponding to the third current distribution point and the target required torque is less than or equal to the error threshold;
[0093] Step S205 , updating the current map according to the third current distribution point and the corresponding target required torque, and completing calibration.
[0094] An embodiment of the present invention provides a processor, and the processor is used to run a program, wherein the calibration method of the permanent magnet synchronous motor is executed when the program is run.
[0095] Specifically, the calibration method of the permanent magnet synchronous motor includes:
[0096] Step S201, obtaining a current map of the permanent magnet synchronous motor, wherein the current map is a mapping relationship table of required torque, required speed, d-axis current and q-axis current, wherein both the d-axis current and the q-axis current are components of the stator current of the permanent magnet synchronous motor;
[0097] Step S202, obtaining a first current distribution point and a corresponding target required torque according to the current map, wherein the first current distribution point is a coordinate point with the d-axis current and the q-axis current of the current map as coordinates, and the target required torque is the required torque corresponding to the d-axis current and the q-axis current of the current map;
[0098] Step S203, when the first current distribution point is outside the voltage limit ellipse, adjusting the d-axis current and the q-axis current corresponding to the first current distribution point to obtain a second current distribution point, so that the second current distribution point is located on the voltage limit ellipse, and the voltage limit ellipse is used to limit the voltage of the permanent magnet synchronous motor to be less than or equal to the maximum voltage limit;
[0099] Step S204, when the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is greater than the error threshold, adjusting the d-axis current and the q-axis current corresponding to the second current distribution point to obtain a third current distribution point, so that the error between the actual torque under the stator current corresponding to the third current distribution point and the target required torque is less than or equal to the error threshold;
[0100] Step S205 , updating the current map according to the third current distribution point and the corresponding target required torque, and completing calibration.
[0101] An embodiment of the present invention provides a vehicle, the vehicle comprising a permanent magnet synchronous motor, a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, at least the following steps are implemented:
[0102] Step S201, obtaining a current map of the permanent magnet synchronous motor, wherein the current map is a mapping relationship table of required torque, required speed, d-axis current and q-axis current, wherein both the d-axis current and the q-axis current are components of the stator current of the permanent magnet synchronous motor;
[0103] Step S202, obtaining a first current distribution point and a corresponding target required torque according to the current map, wherein the first current distribution point is a coordinate point with the d-axis current and the q-axis current of the current map as coordinates, and the target required torque is the required torque corresponding to the d-axis current and the q-axis current of the current map;
[0104] Step S203, when the first current distribution point is outside the voltage limit ellipse, adjusting the d-axis current and the q-axis current corresponding to the first current distribution point to obtain a second current distribution point, so that the second current distribution point is located on the voltage limit ellipse, and the voltage limit ellipse is used to limit the voltage of the permanent magnet synchronous motor to be less than or equal to the maximum voltage limit;
[0105] Step S204, when the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is greater than the error threshold, adjusting the d-axis current and the q-axis current corresponding to the second current distribution point to obtain a third current distribution point, so that the error between the actual torque under the stator current corresponding to the third current distribution point and the target required torque is less than or equal to the error threshold;
[0106] Step S205 , updating the current map according to the third current distribution point and the corresponding target required torque, and completing calibration.
[0107] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:
[0108] Step S201, obtaining a current map of the permanent magnet synchronous motor, wherein the current map is a mapping relationship table of required torque, required speed, d-axis current and q-axis current, wherein both the d-axis current and the q-axis current are components of the stator current of the permanent magnet synchronous motor;
[0109] Step S202, obtaining a first current distribution point and a corresponding target required torque according to the current map, wherein the first current distribution point is a coordinate point with the d-axis current and the q-axis current of the current map as coordinates, and the target required torque is the required torque corresponding to the d-axis current and the q-axis current of the current map;
[0110] Step S203, when the first current distribution point is outside the voltage limit ellipse, adjusting the d-axis current and the q-axis current corresponding to the first current distribution point to obtain a second current distribution point, so that the second current distribution point is located on the voltage limit ellipse, and the voltage limit ellipse is used to limit the voltage of the permanent magnet synchronous motor to be less than or equal to the maximum voltage limit;
[0111] Step S204, when the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is greater than the error threshold, adjusting the d-axis current and the q-axis current corresponding to the second current distribution point to obtain a third current distribution point, so that the error between the actual torque under the stator current corresponding to the third current distribution point and the target required torque is less than or equal to the error threshold;
[0112] Step S205 , updating the current map according to the third current distribution point and the corresponding target required torque, and completing calibration.
[0113] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0114] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0115] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0116] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0117] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0118] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0119] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0120] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0121] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0122] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0123] 1) In the calibration method of the permanent magnet synchronous motor of the present application, a second current distribution point is obtained through a first current distribution point corresponding to the d-axis current and the q-axis current of the current map, so that the second current distribution point is located on the voltage limit ellipse to prevent the voltage of the permanent magnet synchronous motor from exceeding the maximum voltage limit during the calibration process, and then continue to adjust until the error between the actual torque and the target demand torque is less than or equal to the error threshold, and a third current distribution point is obtained. The current map is updated according to the third current distribution point and the corresponding target demand torque, and the calibration is completed, so that the calibrated current map can meet the torque accuracy requirements, thereby solving the problem of low torque accuracy of permanent magnet synchronous motors in the prior art.
[0124] 2) In the calibration device of the permanent magnet synchronous motor of the present application, a second current distribution point is obtained through a first current distribution point corresponding to the d-axis current and the q-axis current of the current map, so that the second current distribution point is located on the voltage limit ellipse to prevent the voltage of the permanent magnet synchronous motor from exceeding the maximum voltage limit during the calibration process, and then continue to adjust until the error between the actual torque and the target demand torque is less than or equal to the error threshold, and a third current distribution point is obtained. The current map is updated according to the third current distribution point and the corresponding target demand torque, and the calibration is completed, so that the calibrated current map can meet the torque accuracy requirements, thereby solving the problem of low torque accuracy of permanent magnet synchronous motors in the prior art.
[0125] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A permanent magnet synchronous motor calibration method, characterized in that: include: Obtaining a current map of the permanent magnet synchronous motor, wherein the current map is a mapping relationship table of required torque, required speed, d-axis current, and q-axis current, wherein both the d-axis current and the q-axis current are components of the stator current of the permanent magnet synchronous motor; Acquire a first current distribution point and a corresponding target required torque according to the current map, wherein the first current distribution point is a coordinate point with the d-axis current and the q-axis current of the current map as coordinates, and the target required torque is the required torque corresponding to the d-axis current and the q-axis current of the current map; In the case where the first current distribution point is outside the voltage limit ellipse, adjusting the d-axis current and the q-axis current corresponding to the first current distribution point to obtain a second current distribution point, so that the second current distribution point is located on the voltage limit ellipse, and the voltage limit ellipse is used to limit the voltage of the permanent magnet synchronous motor to be less than or equal to a maximum voltage limit value; When the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is greater than an error threshold, adjusting the d-axis current and the q-axis current corresponding to the second current distribution point to obtain a third current distribution point, so that the error between the actual torque under the stator current corresponding to the third current distribution point and the target required torque is less than or equal to the error threshold; The current map is updated according to the third current distribution point and the corresponding target demand torque to complete the calibration.
2. The method according to claim 1, characterized in that When the first current distribution point is outside the voltage limit ellipse, adjusting the d-axis current and the q-axis current corresponding to the first current distribution point to obtain a second current distribution point so that the second current distribution point is located on the voltage limit ellipse includes: When the first current distribution point is outside the voltage limit ellipse and the d-axis current corresponding to the first current distribution point is less than or equal to the minimum magnetic weakening current, the q-axis current corresponding to the first current distribution point is reduced to obtain the second current distribution point, so that the second current distribution point is located on the voltage limit ellipse, and the minimum magnetic weakening current is the maximum d-axis current that satisfies the voltage limit ellipse.
3. The method according to claim 1, characterized in that In the case where the first current distribution point is outside the voltage limit ellipse, the d-axis current and the q-axis current corresponding to the first current distribution point are adjusted to obtain a second current distribution point so that the second current distribution point is located on the voltage limit ellipse, further comprising: When the first current distribution point is outside the voltage limit ellipse and the d-axis current corresponding to the first current distribution point is greater than the minimum magnetic weakening current, the d-axis current corresponding to the first current distribution point is reduced to obtain the second current distribution point, so that the second current distribution point is located on the voltage limit ellipse, and the minimum magnetic weakening current is the maximum d-axis current that satisfies the voltage limit ellipse.
4. The method according to claim 1, characterized in that: When the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is greater than an error threshold, adjusting the d-axis current and the q-axis current corresponding to the second current distribution point to obtain a third current distribution point, so that the error between the actual torque under the stator current corresponding to the third current distribution point and the target required torque is less than or equal to the error threshold, including: When the error between the actual torque under the stator current corresponding to the second current distribution point and the target demand torque is greater than the error threshold and the actual torque under the stator current corresponding to the second current distribution point is less than the target demand torque, the q-axis current corresponding to the second current distribution point is increased according to a predetermined step size, and the d-axis current corresponding to the second current distribution point is reduced, so that the adjusted second current distribution point is located on the voltage limit ellipse, until the error between the actual torque under the stator current corresponding to the adjusted second current distribution point and the target demand torque is less than or equal to the error threshold, so as to obtain the third current distribution point.
5. The method according to claim 1, characterized in that When the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is greater than an error threshold, adjusting the d-axis current and the q-axis current corresponding to the second current distribution point to obtain a third current distribution point, so that the error between the actual torque under the stator current corresponding to the third current distribution point and the target required torque is less than or equal to the error threshold, including: When the error between the actual torque under the stator current corresponding to the second current distribution point and the target demand torque is greater than the error threshold and the actual torque under the stator current corresponding to the second current distribution point is greater than the target demand torque, the q-axis current corresponding to the second current distribution point is reduced according to a predetermined step size, and the d-axis current corresponding to the second current distribution point is increased, so that the adjusted second current distribution point is located on the voltage limit ellipse, until the error between the actual torque under the stator current corresponding to the adjusted second current distribution point and the target demand torque is less than or equal to the error threshold, so as to obtain the third current distribution point.
6. The method according to claim 1, characterized in that When the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is greater than an error threshold, adjusting the d-axis current and the q-axis current corresponding to the second current distribution point to obtain a third current distribution point, so that the error between the actual torque under the stator current corresponding to the third current distribution point and the target required torque is less than or equal to the error threshold, including: When the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is less than or equal to the error threshold, the second current distribution point is determined as the third current distribution point.
7. The method according to any one of claims 1 to 6, characterized in that After obtaining the first current distribution point and the corresponding target required torque according to the current map, the method further includes: When the first current distribution point is within the voltage limit ellipse and the error between the actual torque under the stator current corresponding to the first current distribution point and the target required torque is less than or equal to the error threshold, the first current distribution point is determined as the third current distribution point.
8. A permanent magnet synchronous motor calibration device, characterized in that: include: A first acquisition unit is used to acquire a current map of the permanent magnet synchronous motor, wherein the current map is a mapping relationship table of required torque, required speed, d-axis current and q-axis current, wherein both the d-axis current and the q-axis current are components of the stator current of the permanent magnet synchronous motor; a second acquisition unit, configured to acquire a first current distribution point and a corresponding target required torque according to the current map, wherein the first current distribution point is a coordinate point with the d-axis current and the q-axis current of the current map as coordinates, and the target required torque is the required torque corresponding to the d-axis current and the q-axis current of the current map; a first adjustment unit, configured to adjust the d-axis current and the q-axis current corresponding to the first current distribution point to obtain a second current distribution point when the first current distribution point is outside the voltage limit ellipse, so that the second current distribution point is located on the voltage limit ellipse, and the voltage limit ellipse is used to limit the voltage of the permanent magnet synchronous motor to be less than or equal to a maximum voltage limit value; a second adjustment unit, configured to adjust the d-axis current and the q-axis current corresponding to the second current distribution point to obtain a third current distribution point when the error between the actual torque under the stator current corresponding to the second current distribution point and the target required torque is greater than an error threshold, so that the error between the actual torque under the stator current corresponding to the third current distribution point and the target required torque is less than or equal to the error threshold; An updating unit is used to update the current map according to the third current distribution point and the corresponding target required torque to complete calibration.
9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
10. A vehicle, characterized in that: include: A permanent magnet synchronous motor, one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of claims 1 to 7.
