Motor automatic calibration method and permanent magnet synchronous motor
By drawing equal torque lines and equal voltage lines during the automatic calibration process of the permanent magnet synchronous motor, the current values of the motor at multiple speeds are determined, which solves the problem of being unable to output peak torque and voltage saturation, and improves motor performance and calibration. Accuracy.
Patent Information
- Application Number
- CN202410637377.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-09-06
AI Technical Summary
During the automatic calibration process of the permanent magnet synchronous motor, the inability to output peak torque results in reduced performance and prone to voltage saturation.
Under the condition that the input voltage is fixed, the isotorque line is drawn based on the detected torque, direct axis measurement current and quadrature axis measurement current of the motor at the first rotation speed, and the direct axis voltage and quadrature axis voltage at the second rotation speed are determined. Axis voltage, draw isovoltage lines based on rotational speed and voltage utilization, and then determine the direct-axis current values and quadrature-axis current values corresponding to different torque values at multiple rotational speeds.
It avoids performance degradation caused by insufficient voltage during the calibration process, and accurately determines the voltage limit ellipse by considering voltage utilization, avoiding voltage saturation and ensuring that the motor can provide sufficient voltage drive.
Smart Images

Figure CN118611520A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electric drive control and calibration, and in particular to a motor automatic calibration method and a permanent magnet synchronous motor. Background Art
[0002] Permanent magnet synchronous motors have gradually replaced DC motors and induction motors in production environments due to their advantages of small rotor inertia, high power, high power density and high reliability.
[0003] However, before using the permanent magnet synchronous motor, the user needs to calibrate the speed and corresponding torque of the permanent magnet synchronous motor. Since the workload of manually adjusting the direct axis current and quadrature axis current for calibration is too large and prone to errors, automatic calibration is usually used. However, during the automatic calibration process, even if the current distribution of the permanent magnet synchronous motor is adjusted to the maximum, the permanent magnet synchronous motor cannot output the peak torque, resulting in reduced performance of the permanent magnet synchronous motor; and voltage saturation is prone to occur during the calibration process, and insufficient voltage drive cannot be provided, resulting in failure of the permanent magnet synchronous motor. Summary of the invention
[0004] In order to solve the above-mentioned problems in the prior art, the example of the present application provides a motor automatic calibration method and a permanent magnet synchronous motor, which are used to solve the problem that the permanent magnet synchronous motor cannot output peak torque during automatic calibration, resulting in performance degradation, and the problem that voltage saturation is prone to occur during the calibration process.
[0005] In a first aspect, an embodiment of the present application provides a method for automatic calibration of a motor, the method comprising:
[0006] Under the condition of a fixed input voltage, drawing an equal torque line according to the detected torque, direct-axis measured current and quadrature-axis measured current of the motor at a first speed; the input voltage is in a set ratio to the rated voltage of the motor;
[0007] Determining a direct-axis voltage and a quadrature-axis voltage of the motor at a second speed, wherein the second speed is greater than the first speed;
[0008] Determining a target voltage utilization rate corresponding to the second speed according to a corresponding relationship between the speed and the voltage utilization rate;
[0009] Draw an equal voltage line according to the direct-axis voltage, quadrature-axis voltage and the target voltage utilization rate of the motor at the second speed;
[0010] According to the equal torque lines and the equal voltage lines, direct-axis current values and quadrature-axis current values corresponding to different torque values of the motor at multiple speeds are determined.
[0011] In a possible implementation manner, before drawing the isotorque line according to the detected torque, direct-axis measured current, and quadrature-axis measured current of the motor at the first speed, the method further includes:
[0012] Under the condition that the direct-axis current input to the motor is fixed, gradually increasing the quadrature-axis current input to the motor;
[0013] After each increase of the quadrature-axis current, the torque, the direct-axis measurement current and the quadrature-axis measurement current of the motor at the first speed sent by the bench dynamometer are received.
[0014] In a possible implementation manner, the step of gradually increasing the quadrature-axis current input into the motor includes:
[0015] Determining the step size of increasing the quadrature-axis current input to the motor according to the magnitude of the quadrature-axis measured current at the current moment;
[0016] The quadrature-axis current input to the motor is increased according to the determined step size.
[0017] In a possible implementation manner, the second speed includes a plurality of candidate speeds; and determining the direct-axis voltage and the quadrature-axis voltage of the motor at the second speed includes:
[0018] A direct-axis voltage and a quadrature-axis voltage of the motor at each candidate speed among the plurality of candidate speeds are determined respectively.
[0019] In a possible implementation manner, respectively determining the direct-axis voltage and the quadrature-axis voltage of the motor at each candidate speed among the multiple candidate speeds includes:
[0020] For a target speed among the plurality of candidate speeds, receiving a direct-axis voltage and a quadrature-axis voltage of the motor at the target speed sent by a bench dynamometer; the target speed is any candidate speed among the plurality of candidate speeds;
[0021] For each candidate speed among the plurality of candidate speeds except the target speed, the following operations are performed respectively:
[0022] determining a speed ratio between the candidate speed and the target speed;
[0023] Determining the direct-axis voltage of the motor at the candidate speed according to the speed ratio and the direct-axis voltage at the target speed;
[0024] The quadrature-axis voltage of the motor at the candidate speed is determined according to the speed ratio and the quadrature-axis voltage at the target speed.
[0025] In a possible implementation manner, the equal voltage line includes an equal voltage line corresponding to each of a plurality of speeds; and determining the direct-axis current value and the quadrature-axis current value corresponding to different torque values of the motor at the plurality of speeds includes:
[0026] For each of the multiple speeds, perform the following operations respectively:
[0027] Taking the equal voltage line corresponding to the rotation speed as the target equal voltage line;
[0028] Placing the drawn isotorque line and the target isovoltage line in the same coordinate system, and determining at least one target isotorque line intersecting with the target isovoltage line;
[0029] According to the intersection of the target equal voltage line and the at least one target equal torque line, the direct axis current value and the quadrature axis current value corresponding to the torque value associated with the at least one target equal torque line are determined respectively.
[0030] In a possible implementation, determining the direct-axis current value and the quadrature-axis current value corresponding to the torque value associated with the at least one target equal-torque line according to the intersection of the target equal-voltage line and the at least one target equal-torque line, respectively, includes:
[0031] For each target equal torque line of the at least one target equal torque line, the following operations are performed respectively:
[0032] Determining a target interval on the target equal torque line according to an intersection point between the target equal voltage line and the target equal torque line;
[0033] The direct-axis current value of the coordinate point with the smallest current vector sum in the target interval is used as the direct-axis current value corresponding to the torque value associated with the target equal torque line; the current vector sum of any coordinate point is the vector sum of the direct-axis current value and the quadrature-axis current value of any coordinate point;
[0034] The quadrature-axis current value of the coordinate point where the current vector sum is the smallest in the target interval is used as the quadrature-axis current value corresponding to the torque value associated with the target equal torque line.
[0035] In a possible implementation, the first speed is less than the rated speed of the motor; the second speed is greater than the rated speed of the motor; when the motor runs at the rated speed, the current of the motor reaches the rated current, and the voltage value of the motor reaches the rated voltage.
[0036] In a second aspect, an embodiment of the present application provides a motor automatic calibration device, the device comprising:
[0037] A first drawing unit is used to draw an equal torque line according to the torque, direct-axis measurement current and quadrature-axis measurement current of the motor at a first speed under the condition of a fixed input voltage; the input voltage is in a set ratio to the rated voltage of the motor;
[0038] a second drawing unit, determining a direct-axis voltage and a quadrature-axis voltage of the motor at a second speed; the second speed being greater than the first speed; determining a target voltage utilization rate corresponding to the second speed according to a corresponding relationship between the speed and the voltage utilization rate; and drawing equal voltage lines according to the direct-axis voltage, the quadrature-axis voltage and the target voltage utilization rate of the motor at the second speed;
[0039] The current determination unit is used to determine the direct-axis current value and the quadrature-axis current value corresponding to different torque values of the motor at multiple speeds according to the equal torque line and the equal voltage line.
[0040] In a third aspect, an embodiment of the present application provides a permanent magnet synchronous motor, comprising a memory and a processor, wherein the memory stores a computer program running on the processor, and when the computer program is executed by the processor, the above-mentioned method of automatic motor calibration is implemented.
[0041] The embodiment of the present application provides a motor automatic calibration method and a permanent magnet synchronous motor. The permanent magnet synchronous motor can draw an equal torque line according to the torque, direct axis measurement current and quadrature axis measurement current of the motor at a first speed under the condition of fixed input voltage, and determine the direct axis voltage and quadrature axis voltage of the motor at a second speed greater than the first speed. According to the corresponding relationship between the speed and the voltage utilization rate, the target voltage utilization rate corresponding to the second speed is determined, and the equal voltage line is drawn according to the direct axis voltage, the quadrature axis voltage and the target voltage utilization rate, and then the direct axis current value and the quadrature axis current value corresponding to different torque values of the motor at multiple speeds are determined according to the equal torque line and the equal voltage line. By fixing the input voltage, it can be avoided that during the calibration process, the actual input voltage of the motor is less than the voltage required by the motor, resulting in the inability to output the peak torque of the motor and the performance is reduced; at the same time, the voltage utilization rate is taken into account when drawing the voltage limit ellipse, which can make the voltage limit ellipse more accurate, and avoid the actual voltage failing to reach the theoretical voltage value during the calibration process, that is, the motor is voltage saturated and cannot provide sufficient voltage drive and fails. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A schematic diagram of an application scenario of a motor automatic calibration method provided in an embodiment of the present application;
[0043] Figure 2 A flow chart of a motor automatic calibration method provided in an embodiment of the present application;
[0044] Figure 3 A schematic diagram of all test points provided in an embodiment of the present application;
[0045] Figure 4 A schematic diagram of an equal torque line provided in an embodiment of the present application;
[0046] Figure 5 A schematic diagram of a voltage limit ellipse provided in an embodiment of the present application;
[0047] Figure 6 A specific flow chart of a motor automatic calibration method performed by a permanent magnet synchronous motor provided in an embodiment of the present application;
[0048] Figure 7 A structural block diagram of a motor automatic calibration device provided in an embodiment of the present application;
[0049] Figure 8 A structural block diagram of a permanent magnet synchronous motor provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0051] It should be noted that the terms "including" and "having" and their variations involved in the documents of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes 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.
[0052] The terms "first" and "second" in this document are used for descriptive purposes only and should not be understood as explicitly or implicitly indicating relative importance or implicitly indicating the number of technical features indicated. Therefore, features defined as "first" and "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.
[0053] The word “exemplary” is used hereinafter to mean “serving as an example, example, or illustration.” Any embodiment described as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0054] The present application is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0055] Figure 1 A schematic diagram of an application scenario of a motor automatic calibration method provided in an embodiment of the present application is shown. Figure 1 As shown, a motor automatic calibration method provided in an embodiment of the present application can be applied to a permanent magnet synchronous motor 120 , and a bench dynamometer 110 and a power supply 130 connected to the permanent magnet synchronous motor are included.
[0056] The power supply 130 can provide voltage and current to the permanent magnet synchronous motor 120 to activate the permanent magnet synchronous motor 120 and make it operate normally. The power supply 130 can also adjust the speed, torque and direction of the permanent magnet synchronous motor 120 by controlling the output voltage and current. In addition, the power supply 130 can also be used to protect the permanent magnet synchronous motor 120 from overload, short circuit and other abnormal conditions. For example, the power supply 130 can provide an overload protection function, and when the permanent magnet synchronous motor 120 is subjected to an excessive load, it can be automatically disconnected to prevent damage to the permanent magnet synchronous motor 120.
[0057] Before using the permanent magnet synchronous motor 120, the user needs to calibrate the speed and corresponding torque of the permanent magnet synchronous motor 120. Since the workload of manually adjusting the direct-axis current and the quadrature-axis current for calibration is too large and prone to errors, an automatic calibration method is usually used. In the automatic calibration process of the permanent magnet synchronous motor 120, the bench dynamometer 110 is an important testing tool. The bench dynamometer 110 can be used to test and evaluate the performance parameters of the permanent magnet synchronous motor 120, such as power, torque, efficiency, and speed. By simulating various loads and working conditions, the performance of the permanent magnet synchronous motor 120 under different conditions can be verified.
[0058] The embodiment of the present application provides a motor automatic calibration method that can solve the problem that the permanent magnet synchronous motor cannot output peak torque during the above-mentioned automatic calibration, resulting in performance degradation, and voltage saturation is prone to occur during the calibration process. Figure 2 A flow chart of a motor automatic calibration method provided in an embodiment of the present application is shown. Figure 2 As shown, the method may include the following steps:
[0059] Step S201 , under the condition of a fixed input voltage, drawing an equal torque line according to the detected torque, direct-axis measured current and quadrature-axis measured current of the motor at a first speed.
[0060] In a possible embodiment, the input voltage is in a set ratio with the rated voltage of the motor. For example, when executing the motor automatic calibration method, the voltage of the power supply connected to the permanent magnet synchronous motor can be set to 1.1 times the rated voltage of the permanent magnet synchronous motor. In the prior art, the voltage of the power supply connected to the permanent magnet synchronous motor is not limited, and the influence of the required voltage and the actual voltage is not considered. In the process of automatic calibration, the inverter in the permanent magnet synchronous motor can convert the voltage of the power supply input into the voltage of the permanent magnet synchronous motor. As the ratio of the peak value of the inverter output voltage to the peak value of the power supply voltage gradually increases, that is, the peak value of the inverter output voltage will increase relative to the peak value of the power supply voltage. Due to the limitations of the circuits and devices inside the permanent magnet synchronous motor, the inverter may trigger internal voltage saturation and can no longer effectively output the output voltage required by the permanent magnet synchronous motor. In addition, the voltage determines the torque of the permanent magnet synchronous motor to a certain extent. If the inverter cannot output the output voltage required by the permanent magnet synchronous motor, it may cause the permanent magnet synchronous motor to fail to achieve the required torque, resulting in reduced performance of the permanent magnet synchronous motor. If the voltage of the power supply connected to the permanent magnet synchronous motor is set to 1.1 times the rated voltage of the permanent magnet synchronous motor and does not increase any more, then the inverter output voltage increases, and the ratio of the peak value of the inverter output voltage to the power supply voltage will be easier to increase, and it will be easier to output the output voltage required by the permanent magnet synchronous motor, thus avoiding the voltage saturation of the permanent magnet synchronous motor. The permanent magnet synchronous motor can also achieve the required torque, thus improving the performance of the permanent magnet synchronous motor. It should be noted that in most cases, setting the voltage of the power supply connected to the permanent magnet synchronous motor to 1.1 times the rated voltage of the permanent magnet synchronous motor is the most efficient, but it is also possible to change the value of the power supply input voltage to other multiples of the rated voltage of the permanent magnet synchronous motor in certain specific cases, which is not limited in this application.
[0061] In a possible embodiment, based on the detected torque, direct-axis measurement current and quadrature-axis measurement current of the motor at the first speed, before drawing the equal torque line, the torque, direct-axis measurement current and quadrature-axis measurement current of the motor at the first speed required for drawing the equal torque line can be obtained. The permanent magnet synchronous motor can fix the value of the direct-axis current and also fix the speed of the motor to the first speed. If the rated speed of the motor at the rated voltage and rated current is 5000 revolutions per minute, then the first speed for fixing the motor speed can be any speed lower than 5000 revolutions per minute, such as 4500 revolutions per minute, or 4000 revolutions per minute and other values, which are not limited in this application.
[0062] Under the condition that the direct-axis current of the input motor and the motor speed are fixed, the quadrature-axis current can be increased in steps. It should be noted that the step size is not fixed, but increases with the increase of the quadrature-axis current value. The corresponding step size after each increase of the quadrature-axis current value can be determined according to the corresponding relationship between the quadrature-axis current size and the step size, and the corresponding step size is used as the set step size for the next increase of the quadrature-axis current. After the value of the quadrature-axis current traverses from the minimum to the maximum, the value of the direct-axis current can be increased using the same method. Figure 3 A schematic diagram of all test points provided by an embodiment of the present application is shown. Figure 3 As shown, Figure 3 The horizontal axis represents the direct-axis current, and the value of the direct-axis current can vary from -600A to 0A; the vertical axis represents the quadrature-axis current, and the value of the quadrature-axis current can vary from -600A to 600A. The direct-axis current value and the quadrature-axis current value corresponding to each test point can be used as the values for a test.
[0063] In a possible embodiment, after each increase in the quadrature-axis current, the bench dynamometer may obtain performance parameters of the motor, wherein the performance parameters may include the direct-axis voltage, quadrature-axis voltage, torque, direct-axis measurement current, and quadrature-axis measurement current of the motor at the first speed. It should be noted that the torque is calculated according to the torque formula: Where Trq is the torque, I q is the quadrature axis current, I d is the direct axis current, I q and I d It is the performance parameter that can be directly obtained by the bench dynamometer; L d is the direct axis inductance parameter, L q is the quadrature-axis inductance parameter, is the magnetic flux of the motor, P n is the number of pole pairs of the motor, L d , L q , and P n are all constants stored in the motor, so the bench dynamometer can calculate the torque of the motor and send the direct-axis voltage, quadrature-axis voltage, torque, direct-axis measurement current and quadrature-axis measurement current of the permanent magnet synchronous motor at the first speed to the permanent magnet synchronous motor. The permanent magnet synchronous motor can also receive the direct-axis voltage, quadrature-axis voltage, torque, direct-axis measurement current and quadrature-axis measurement current at the first speed.
[0064] In a possible embodiment, the permanent magnet synchronous motor can draw an equal torque line according to the detected torque, direct-axis measured current, and quadrature-axis measured current of the motor at a first speed. Figure 4 A schematic diagram of an equal torque line provided in an embodiment of the present application is shown, such as Figure 4As shown, the horizontal axis of the equal torque line can represent the direct-axis current, and the range of the direct-axis current can vary from -300A to 0A; the vertical axis can represent the quadrature-axis current, and the range of the quadrature-axis current can vary from 0A to 300A. The value on each curve can represent the torque output by all the direct-axis currents and quadrature-axis currents on this line. On each identical curve, the torque output by all the direct-axis currents and quadrature-axis currents is the same, and the speed on each identical curve is also the same; however, between different curves, the torque and speed are different. Generally, the greater the torque, the smaller the corresponding speed. Without considering other factors, it can be considered that the minimum current value that can be output on any curve is selected. is the optimal current value that enables the motor to output the torque corresponding to the curve, where I d is the direct axis current, I q is the quadrature axis current.
[0065] Step S202, determining the direct-axis voltage and the quadrature-axis voltage of the motor at a second speed.
[0066] In a possible embodiment, after determining the equal torque line of the motor running at the first speed, the speed of the motor can be increased to the second speed, wherein, if the rated speed of the motor under the rated voltage and rated current is 5000 revolutions per minute, then the second speed at which the motor speed is fixed can be any speed higher than 5000 revolutions per minute, such as 5500 revolutions per minute, or 6000 revolutions per minute and other values, which are not limited in this application. It should be noted that the second speed is not a certain speed, but includes multiple candidate speeds, and the direct-axis voltage and the quadrature-axis voltage of the motor at each of the multiple candidate speeds can be determined respectively.
[0067] In a possible embodiment, when the speed of the permanent magnet synchronous motor runs above the rated speed, the partial voltage drop inside the motor can be ignored, and it can be considered that the voltage and speed of the motor are in a linear relationship. The specific formula is as follows: Among them, U s is the voltage of the motor, ω is the speed, I q is the quadrature axis current, I d is the direct axis current, L d is the direct axis inductance parameter, L q is the quadrature-axis inductance parameter, is the magnetic flux of the motor, where L d , L q , are all constants, so it can be seen that the voltage of the motor is linearly related to the speed. Then, after determining that the voltage of the motor is linearly related to the speed, the direct-axis voltage and the quadrature-axis voltage at other second speeds can be proportionally determined based on the different direct-axis voltages and quadrature-axis voltages collected at any second speed, wherein the vector sum of the direct-axis voltage and the quadrature-axis voltage can be used as the voltage of the motor. It should be noted that if the different direct-axis voltages and quadrature-axis voltages collected at any second speed have not been determined, it is necessary to test at any second speed and receive the direct-axis voltage and the quadrature-axis voltage of the motor at that speed sent by the bench dynamometer, so that the direct-axis voltage and the quadrature-axis voltage at other second speeds can be determined based on the direct-axis voltage and the quadrature-axis voltage at that speed.
[0068] If the direct axis voltage at speed n1 is known to be U dn1 , the quadrature axis voltage is U qn1 , in order to determine the direct-axis voltage U at speed n2 dn2 and the quadrature axis voltage U qn2 , we can first determine the speed ratio of n2 and n1, that is, According to the direct axis voltage U at the speed n1 dn1 The direct axis voltage at speed n2 can be determined According to the direct axis voltage U at speed n2 dn2 and the quadrature axis voltage U qn2 The quadrature axis voltage at speed n2 can be determined For example, it is known that the direct-axis voltage is 100V and the quadrature-axis voltage is 150V at a rotation speed of 6000 revolutions per minute. Then, the direct-axis voltage is 100*9000 / 6000=150V and the quadrature-axis voltage is 150*9000 / 6000=225V at a rotation speed of 9000 revolutions per minute.
[0069] Step S203, determining a target voltage utilization rate corresponding to the second speed according to the corresponding relationship between the speed and the voltage utilization rate.
[0070] In a possible embodiment, the correspondence between the speed and the voltage utilization can be saved in the permanent magnet synchronous motor before executing the motor automatic calibration method provided in the present application. In the correspondence between the speed and the voltage utilization, each speed corresponds to a different voltage utilization. Therefore, the target voltage utilization corresponding to the second speed can be determined.
[0071] Step S204: drawing equal voltage lines according to the direct-axis voltage, the quadrature-axis voltage and the target voltage utilization rate.
[0072] In a possible embodiment, when the direct-axis voltage in the permanent magnet synchronous motor is U d When the voltage peak value that can be given to the motor in the permanent magnet synchronous motor can reach Wherein, k is the voltage utilization rate. In step S203, the target voltage utilization rate corresponding to the second speed has been determined, and the values of the direct-axis voltage and the quadrature-axis voltage are also known. Therefore, the equal voltage line can be drawn according to the values of the direct-axis voltage and the quadrature-axis voltage, as well as the target voltage utilization rate. It should be noted that the equal voltage line can also be called the voltage limit ellipse. Figure 5 A schematic diagram of a voltage limit ellipse provided in an embodiment of the present application is shown, such as Figure 5 As shown, in the voltage limit ellipse, the voltage value on each identical voltage circular curve is the same, and the speed is also the same; however, the voltage value on different voltage circular curves is different, and the speed is also different. Similar to the equal torque line, the horizontal axis of the voltage limit ellipse can represent the direct-axis current, and the direct-axis current can range from -300A to 0A; the vertical axis can represent the quadrature-axis current, and the quadrature-axis current can range from 0A to 300A. The value on each curve can represent the output voltage of all the direct-axis currents and quadrature-axis currents combined on this line.
[0073] By taking the voltage utilization rate into consideration, the voltage limit ellipse can become more accurate, thus avoiding the situation where the actual voltage cannot reach the theoretical voltage value during the calibration process, that is, the motor becomes voltage saturated and cannot provide sufficient voltage drive, resulting in failure.
[0074] Step S205 , determining the direct-axis current value and the quadrature-axis current value corresponding to different torque values of the motor at multiple speeds according to the equal torque lines and the equal voltage lines.
[0075] In a possible embodiment, the equal torque line and the voltage limit ellipse have been drawn separately, and the equal voltage line includes an equal voltage line corresponding to each speed in a plurality of speeds. Since the coordinate axes of the equal torque line and the voltage limit ellipse are the same, the horizontal axis can represent the direct axis current, and the direct axis current can range from -300A to 0A; the vertical axis can represent the cross axis current, and the cross axis current can range from 0A to 300A, and the scales on the coordinate axes are also the same, so the following operations can be performed for each speed in a plurality of speeds: the equal voltage line corresponding to the speed is used as the target equal voltage line; the drawn equal torque line and the target equal voltage line are placed in the same coordinate system, and at least one target equal torque line intersecting with the target equal voltage line is determined; according to the intersection of the target equal voltage line and at least one target equal torque line, the direct axis current value and the cross axis current value corresponding to the torque value associated with at least one target equal torque line are determined respectively. Among them, the current is calculated as follows: is the direct axis current, I q is the quadrature axis current.
[0076] In a possible embodiment, the following operations can be performed for each target equal torque line in at least one target equal torque line, so as to respectively determine the direct-axis current value and the cross-axis current value corresponding to the torque value associated with at least one target equal torque line according to the intersection of the target equal voltage line and the at least one target equal torque line: determine the target interval on the target equal torque line according to the intersection of the target equal voltage line and the target equal torque line; use the direct-axis current value of the coordinate point with the smallest current vector sum in the target interval as the direct-axis current value corresponding to the torque value associated with the target equal torque line; the current vector sum of any coordinate point is the vector sum of the direct-axis current value and the cross-axis current value of any coordinate point; use the cross-axis current value of the coordinate point with the smallest current vector sum in the target interval as the cross-axis current value corresponding to the torque value associated with the target equal torque line.
[0077] Exemplarily, the target speed can be determined as needed, and the target speed corresponds to a unique curve in the voltage limit ellipse. The drawn equal torque line and the curve corresponding to the target speed are placed in the same coordinate system, and the curve corresponding to the target speed intersects with at least one target equal torque line. For each target equal torque line intersecting with the curve corresponding to the target speed, the target interval can be determined on the target equal torque line according to the intersection of the curve corresponding to the target speed and the target equal torque line. If the curve corresponding to the target speed has only one intersection with the target equal torque line, then the target interval is the interval from the vertical axis of the coordinate system to the intersection; if the curve corresponding to the target speed has two intersections with the target equal torque line, then the target interval is the interval between the two intersections, and the direct-axis current value of the coordinate point with the minimum sum of the current vector in the target interval is used as the direct-axis current value corresponding to the torque value associated with the target equal torque line, and the cross-axis current value of the coordinate point with the minimum sum of the current vector in the target interval is used as the cross-axis current value corresponding to the torque value associated with the target equal torque line.
[0078] In the automatic motor calibration method provided in the embodiment of the present application, by fixing the input voltage, it is possible to avoid the situation in which the actual input voltage to the motor is lower than the voltage required by the motor during the calibration process, resulting in the motor being unable to output peak torque and performance degradation; at the same time, the voltage utilization rate is taken into account when drawing the voltage limit ellipse, which can make the voltage limit ellipse more accurate and avoid the situation in which the actual voltage cannot reach the theoretical voltage value during the calibration process, that is, the motor becomes voltage saturated and cannot provide sufficient voltage drive and thus fails.
[0079] In a specific embodiment, the process of a motor automatic calibration method performed by a permanent magnet synchronous motor can be as follows: Figure 6 As shown, the following steps are included:
[0080] Step S601, fixing the direct-axis current and the motor speed to a first speed, and increasing the quadrature-axis current according to a set step size.
[0081] Step S602, receiving the record of the direct-axis voltage, quadrature-axis voltage, torque, direct-axis measured current and quadrature-axis measured current of the motor at the first speed after each increase of the quadrature-axis current.
[0082] Step S603 , under the condition of a fixed input voltage, drawing an equal torque line according to the detected torque, direct-axis measured current and quadrature-axis measured current of the motor at a first speed.
[0083] Step S604, determining whether the motor has determined the direct-axis voltage and the quadrature-axis voltage at any second speed, if so, executing step S605; if not, executing step S606.
[0084] Step S605, determining a speed ratio between any second speed and the target second speed, and determining the direct-axis voltage and quadrature-axis voltage of the motor at the target second speed according to the speed ratio and the direct-axis voltage and quadrature-axis voltage at any second speed.
[0085] Step S606, receiving the records of the direct-axis voltage and the quadrature-axis voltage of the motor at the target second speed.
[0086] Step S607: determining a target voltage utilization rate corresponding to the second speed according to the corresponding relationship between the speed and the voltage utilization rate.
[0087] Step S608 , drawing a voltage limit ellipse according to the direct-axis voltage, the quadrature-axis voltage and the target voltage utilization rate.
[0088] Step S609: taking the equal voltage line corresponding to the rotation speed as the target equal voltage line, placing the drawn equal torque line and the target equal voltage line in the same coordinate system, and determining at least one target equal torque line intersecting with the target equal voltage line.
[0089] Step S610, determining a target interval on the target equal torque line according to the intersection of the target equal voltage line and the target equal torque line.
[0090] Step S611, taking the direct-axis current value of the current vector and the minimum coordinate point in the target interval as the direct-axis current value corresponding to the torque value associated with the target equal torque line, and taking the cross-axis current value of the current vector and the minimum coordinate point in the target interval as the cross-axis current value corresponding to the torque value associated with the target equal torque line.
[0091] Based on the same inventive concept, the present application also provides a motor automatic calibration device, such as Figure 7 As shown, the motor automatic calibration device 700 may include:
[0092] The first drawing unit 701 is used to draw an equal torque line according to the torque, direct-axis measurement current and quadrature-axis measurement current of the motor at a first speed under the condition of a fixed input voltage; the input voltage is in a set ratio to the rated voltage of the motor;
[0093] The second drawing unit 702 determines the direct-axis voltage and quadrature-axis voltage of the motor at a second speed; the second speed is greater than the first speed; according to the corresponding relationship between the speed and the voltage utilization rate, a target voltage utilization rate corresponding to the second speed is determined; and an equal voltage line is drawn according to the direct-axis voltage, the quadrature-axis voltage and the target voltage utilization rate of the motor at the second speed;
[0094] The current determination unit 703 is used to determine the direct-axis current value and the quadrature-axis current value corresponding to different torque values of the motor at multiple speeds according to the equal torque lines and the equal voltage lines.
[0095] In a possible implementation manner, the first drawing unit 701 may also be used to, before drawing the equal torque line according to the detected torque, direct-axis measured current and quadrature-axis measured current of the motor at the first speed, gradually increase the quadrature-axis current input to the motor under the condition that the direct-axis current input to the motor is fixed;
[0096] After each increase of the quadrature-axis current, the torque, the direct-axis measurement current and the quadrature-axis measurement current of the motor at the first speed sent by the bench dynamometer are received.
[0097] In a possible implementation manner, the first drawing unit 701 may also be used to determine a step size for increasing the quadrature-axis current input to the motor according to the magnitude of the quadrature-axis measured current at the current moment;
[0098] The quadrature-axis current input to the motor is increased according to the determined step size.
[0099] In a possible implementation manner, the second drawing unit 702 is specifically configured to respectively determine the direct-axis voltage and the quadrature-axis voltage of the motor at each candidate speed among the multiple candidate speeds.
[0100] In a possible implementation manner, the second drawing unit 702 is specifically configured to receive, for a target speed among the multiple candidate speeds, a direct-axis voltage and a quadrature-axis voltage of the motor at the target speed sent by a bench dynamometer; the target speed is any candidate speed among the multiple candidate speeds;
[0101] For each candidate speed among the plurality of candidate speeds except the target speed, the following operations are performed respectively:
[0102] determining a speed ratio between the candidate speed and the target speed;
[0103] Determining the direct-axis voltage of the motor at the candidate speed according to the speed ratio and the direct-axis voltage at the target speed;
[0104] The quadrature-axis voltage of the motor at the candidate speed is determined according to the speed ratio and the quadrature-axis voltage at the target speed.
[0105] In a possible implementation manner, the current determination unit 703 is specifically configured to perform the following operations for each of the multiple speeds:
[0106] Taking the equal voltage line corresponding to the rotation speed as the target equal voltage line;
[0107] Placing the drawn isotorque line and the target isovoltage line in the same coordinate system, and determining at least one target isotorque line intersecting with the target isovoltage line;
[0108] According to the intersection of the target equal voltage line and the at least one target equal torque line, the direct axis current value and the quadrature axis current value corresponding to the torque value associated with the at least one target equal torque line are determined respectively.
[0109] In a possible implementation manner, the current determination unit 703 is specifically configured to perform the following operations for each target equal torque line of the at least one target equal torque line:
[0110] Determining a target interval on the target equal torque line according to an intersection point between the target equal voltage line and the target equal torque line;
[0111] The direct-axis current value of the coordinate point with the smallest current vector sum in the target interval is used as the direct-axis current value corresponding to the torque value associated with the target equal torque line; the current vector sum of any coordinate point is the vector sum of the direct-axis current value and the quadrature-axis current value of any coordinate point;
[0112] The quadrature-axis current value of the coordinate point where the current vector sum is the smallest in the target interval is used as the quadrature-axis current value corresponding to the torque value associated with the target equal torque line.
[0113] Based on the same inventive concept, the embodiment of the present application provides a permanent magnet synchronous motor 800, which can implement the motor automatic calibration method discussed above, please refer to Figure 8 The permanent magnet synchronous motor 800 includes a memory 801 , a processor 802 and a bus 803 .
[0114] The memory 801 is used to store computer programs executed by the processor 802. The memory 801 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and programs required for running the instant messaging function, etc.; the data storage area may store various instant messaging information and operation instruction sets, etc.
[0115] The memory 801 may be a volatile memory, such as a random-access memory (RAM); the memory 801 may also be a non-volatile memory, such as a read-only memory, a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), or the memory 801 may be any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 801 may be a combination of the above memories.
[0116] The processor 802 may include one or more central processing units (CPU) or a digital processing unit, etc. The processor 802 is used to implement the resource checking method in the above embodiment when calling the computer program stored in the memory 801 .
[0117] The specific connection medium between the memory 801 and the processor 802 is not limited in the embodiment of the present application. Figure 8 In the embodiment, the memory 801 and the processor 802 are connected via a bus 803. The bus 803 is connected to the processor 802 via a bus 803. Figure 8 The connections between other components are shown in bold lines, and are not intended to be limiting. Bus 803 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0118] Based on the same inventive concept, the embodiment of the present application provides a computer-readable storage medium, and the computer program product includes: computer program code, when the computer program code is run on a computer, the computer executes any of the motor automatic calibration methods discussed above. Since the principle of solving the problem by the above-mentioned computer-readable storage medium is similar to that of the privacy protection method, the implementation of the above-mentioned computer-readable storage medium can refer to the implementation of the method, and the repeated parts will not be repeated.
[0119] 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-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0120] 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 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 produce 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.
[0121] 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 comprising 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.
[0122] 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 A step that specifies a function in one or more boxes.
[0123] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for automatic motor calibration, characterized in that: The method comprises: Under the condition of a fixed input voltage, drawing an equal torque line according to the detected torque, direct-axis measured current and quadrature-axis measured current of the motor at a first speed; the input voltage is in a set ratio to the rated voltage of the motor; Determining a direct-axis voltage and a quadrature-axis voltage of the motor at a second speed, wherein the second speed is greater than the first speed; Determining a target voltage utilization rate corresponding to the second speed according to a corresponding relationship between the speed and the voltage utilization rate; Draw an equal voltage line according to the direct-axis voltage, quadrature-axis voltage and the target voltage utilization rate of the motor at the second speed; According to the equal torque lines and the equal voltage lines, direct-axis current values and quadrature-axis current values corresponding to different torque values of the motor at multiple speeds are determined.
2. The method according to claim 1, characterized in that: Before drawing the equal torque line according to the detected torque, direct-axis measured current and quadrature-axis measured current of the motor at the first speed, the method further includes: Under the condition that the direct-axis current input to the motor is fixed, gradually increasing the quadrature-axis current input to the motor; After each increase of the quadrature-axis current, the torque, the direct-axis measurement current and the quadrature-axis measurement current of the motor at the first speed sent by the bench dynamometer are received.
3. The method according to claim 2, characterized in that The step of gradually increasing the quadrature-axis current input into the motor comprises: Determining the step size of increasing the quadrature-axis current input to the motor according to the magnitude of the quadrature-axis measured current at the current moment; The quadrature-axis current input to the motor is increased according to the determined step size.
4. The method according to claim 1, characterized in that: The second speed includes a plurality of candidate speeds; and determining the direct-axis voltage and the quadrature-axis voltage of the motor at the second speed includes: A direct-axis voltage and a quadrature-axis voltage of the motor at each candidate speed among the plurality of candidate speeds are determined respectively.
5. The method according to claim 4, characterized in that The step of respectively determining the direct-axis voltage and the quadrature-axis voltage of the motor at each candidate speed among the plurality of candidate speeds comprises: For a target speed among the plurality of candidate speeds, receiving a direct-axis voltage and a quadrature-axis voltage of the motor at the target speed sent by a bench dynamometer; the target speed is any candidate speed among the plurality of candidate speeds; For each candidate speed among the plurality of candidate speeds except the target speed, the following operations are performed respectively: determining a speed ratio between the candidate speed and the target speed; Determining the direct-axis voltage of the motor at the candidate speed according to the speed ratio and the direct-axis voltage at the target speed; The quadrature-axis voltage of the motor at the candidate speed is determined according to the speed ratio and the quadrature-axis voltage at the target speed.
6. The method according to claim 1, characterized in that The equal voltage line includes an equal voltage line corresponding to each speed among a plurality of speeds; the determining of the direct-axis current value and the quadrature-axis current value corresponding to different torque values of the motor at a plurality of speeds includes: For each of the multiple speeds, perform the following operations respectively: Taking the equal voltage line corresponding to the rotation speed as the target equal voltage line; Placing the drawn isotorque line and the target isovoltage line in the same coordinate system, and determining at least one target isotorque line intersecting with the target isovoltage line; According to the intersection of the target equal voltage line and the at least one target equal torque line, the direct axis current value and the quadrature axis current value corresponding to the torque value associated with the at least one target equal torque line are determined respectively.
7. The method according to claim 6, characterized in that The method of determining the direct-axis current value and the quadrature-axis current value corresponding to the torque value associated with the at least one target equal-torque line according to the intersection point of the target equal-voltage line and the at least one target equal-torque line respectively includes: For each target equal torque line of the at least one target equal torque line, the following operations are performed respectively: Determining a target interval on the target equal torque line according to an intersection point between the target equal voltage line and the target equal torque line; The direct-axis current value of the coordinate point with the smallest current vector sum in the target interval is used as the direct-axis current value corresponding to the torque value associated with the target equal torque line; the current vector sum of any coordinate point is the vector sum of the direct-axis current value and the quadrature-axis current value of any coordinate point; The quadrature-axis current value of the coordinate point where the current vector sum is the smallest in the target interval is used as the quadrature-axis current value corresponding to the torque value associated with the target equal torque line.
8. The method according to any one of claims 1 to 7, characterized in that: The first speed is lower than the rated speed of the motor; the second speed is higher than the rated speed of the motor; when the motor runs at the rated speed, the current of the motor reaches the rated current, and the voltage value of the motor reaches the rated voltage.
9. A motor automatic calibration device, characterized in that: The device comprises: A first drawing unit is used to draw an equal torque line according to the torque, direct-axis measurement current and quadrature-axis measurement current of the motor at a first speed under the condition of a fixed input voltage; the input voltage is in a set ratio to the rated voltage of the motor; a second drawing unit, determining a direct-axis voltage and a quadrature-axis voltage of the motor at a second speed; the second speed being greater than the first speed; determining a target voltage utilization rate corresponding to the second speed according to a corresponding relationship between the speed and the voltage utilization rate; and drawing equal voltage lines according to the direct-axis voltage, the quadrature-axis voltage and the target voltage utilization rate of the motor at the second speed; The current determination unit is used to determine the direct-axis current value and the quadrature-axis current value corresponding to different torque values of the motor at multiple speeds according to the equal torque line and the equal voltage line.
10. A permanent magnet synchronous motor, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program to be run on the processor, and when the computer program is executed by the processor, the method according to any one of claims 1 to 8 is implemented.
