Motor torque monitoring method and device and readable storage medium
By obtaining real-time parameters of the motor and establishing a torque mapping relationship, the problem of low torque estimation accuracy of the motor under non-linear operating conditions is solved, high-precision torque monitoring is achieved, and the safety of motor control and vehicle performance are improved.
Patent Information
- Application Number
- CN202410768009.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-10-08
AI Technical Summary
The existing technology is difficult to accurately estimate the actual torque of the motor under high load, low speed or other non-linear operating conditions, resulting in low torque monitoring accuracy and potential safety hazards.
By obtaining the real-time parameters of the motor (motor voltage, motor current, speed and bus voltage), a torque mapping relationship is established, these parameters are used to determine the actual torque of the motor, and interpolation functions and aging parameter updates are used to improve estimation accuracy.
It achieves improved torque estimation accuracy without being limited by the speed range, reduces the risk of electric drive torque runaway, and improves the safety of motor control and vehicle control performance.
Smart Images

Figure CN118746750A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of motor control, and in particular to a motor torque monitoring method, device and readable storage medium. Background Art
[0002] As the only power output source for pure electric vehicles, abnormal output torque of the motor may cause unexpected acceleration or deceleration of the vehicle, resulting in safety accidents. Accurately estimating the actual torque of the motor allows the motor controller to more effectively implement torque safety monitoring and reduce the risk of electric drive torque loss of control. Therefore, it is very important to accurately estimate the actual output torque of the motor in the control system of electric vehicles.
[0003] In the related art, the power estimation method is used to estimate the actual torque of the motor, specifically, the power of the motor is determined by the battery voltage, battery current and power loss, and then the actual torque of the motor is inversely solved by the power. However, the behavior of the actual motor is often nonlinear, and the power estimation algorithm is calculated based on a linear model, which leads to low accuracy in the estimation of the actual torque of the motor under high load, low speed or other nonlinear conditions. Summary of the invention
[0004] The embodiments of the present application solve the technical problem in the related art that the estimation results of the actual torque of the motor are of low accuracy under high load, low speed or other nonlinear working conditions by providing a motor torque monitoring method, device and readable storage medium, thereby achieving the technical effect of improving the torque estimation accuracy while not being restricted by the speed range.
[0005] The present application provides a motor torque monitoring method, the motor torque monitoring method comprising:
[0006] Acquire real-time motor parameters of the motor, wherein the real-time motor parameters include real-time motor voltage, real-time motor current, real-time motor speed and real-time bus voltage;
[0007] Acquire a motor torque mapping relationship according to the real-time motor voltage and a preset voltage limit value;
[0008] The actual torque of the motor is determined based on the real-time motor parameters and the motor torque mapping relationship.
[0009] Optionally, the step of acquiring a motor torque mapping relationship according to the real-time motor voltage and a preset voltage limit value includes:
[0010] Determining whether the motor is running on a voltage limit circle according to the real-time motor voltage and the voltage limit value;
[0011] If so, the determined motor torque mapping relationship does not include the real-time motor voltage;
[0012] If not, the determined motor torque mapping relationship includes the real-time motor voltage.
[0013] Optionally, the step of determining the actual torque of the motor based on the real-time motor parameter and the motor torque mapping relationship includes:
[0014] Based on the numerical value interval corresponding to the numerical value of the real-time motor parameter in the motor torque mapping relationship;
[0015] determining an interpolation function based on the numerical interval;
[0016] The actual torque of the motor is determined according to the interpolation function and the real-time motor parameters.
[0017] Optionally, before the step of acquiring the motor torque mapping relationship according to the real-time motor voltage and the preset voltage limit value, the step includes:
[0018] Determining a motor parameter acquisition action according to a motor voltage of the motor;
[0019] Execute the motor parameter acquisition action to determine the motor parameters;
[0020] The motor torque mapping relationship is generated based on the motor parameters.
[0021] Optionally, the step of determining the motor parameter acquisition action according to the motor voltage includes:
[0022] Determining whether the motor is running on a voltage limit circle according to the motor voltage;
[0023] If so, the motor parameter acquisition action determined does not include the motor voltage;
[0024] If not, the motor parameter acquisition action determined includes the motor voltage.
[0025] Optionally, the step of executing the motor parameter acquisition action to determine the motor parameters includes:
[0026] Execute the motor parameter acquisition action to determine the motor parameters;
[0027] According to the motor current and the motor speed in the motor parameters, the motor torque is determined by a preset torque calculation function;
[0028] The motor torque is added to the motor parameters.
[0029] Optionally, the step of executing the motor parameter acquisition action to determine the motor parameters includes:
[0030] The motor parameter acquisition action is executed to acquire the motor parameters through a preset sensor.
[0031] Optionally, after the step of acquiring the motor torque mapping relationship according to the real-time motor voltage and the preset voltage limit value, the method further includes:
[0032] Determining an aging parameter based on mileage, environmental parameters, age, and driving behavior data of a vehicle in which the motor is located;
[0033] The motor torque mapping relationship is updated based on the aging parameter.
[0034] In addition, the present application also proposes a motor torque monitoring device, which includes a memory, a processor, and a motor torque monitoring program stored in the memory and executable on the processor, and when the processor executes the motor torque monitoring program, it implements the steps of the motor torque monitoring method as described above.
[0035] In addition, the present application also proposes a computer-readable storage medium, on which a motor torque monitoring program is stored. When the motor torque monitoring program is executed by a processor, the steps of the motor torque monitoring method as described above are implemented.
[0036] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0037] Since the real-time motor parameters of the motor are obtained, the real-time motor parameters include real-time motor voltage, real-time motor current, real-time motor speed and real-time bus voltage; the motor torque mapping relationship is obtained according to the real-time motor voltage and a preset voltage limit value; the actual torque of the motor is determined based on the real-time motor parameters and the motor torque mapping relationship. Therefore, the technical problem of low estimation accuracy of the actual torque of the motor under high load, low speed or other nonlinear working conditions in the related technology is effectively solved, and the technical effect of improving the torque estimation accuracy while not being limited by the speed range is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 This is a flow chart of Embodiment 1 of the motor torque monitoring method of the present application;
[0039] Figure 2 This is a flow chart of Embodiment 3 of the motor torque monitoring method of the present application;
[0040] Figure 3 This is a flow chart of Embodiment 4 of the motor torque monitoring method of the present application;
[0041] Figure 4 This is a flow chart of the refinement of step S420 in the fourth embodiment of the motor torque monitoring method of the present application;
[0042] Figure 5 This is a schematic diagram of the hardware structure involved in the motor torque monitoring device embodiment of the present application. DETAILED DESCRIPTION
[0043] In the relevant technology, it is very important to accurately estimate the actual output torque of the motor in the field of electric vehicles. The first is the safety issue. As the only power output source of pure electric vehicles, abnormal output torque of the motor may cause unexpected acceleration or deceleration of the vehicle, resulting in safety accidents. Accurate estimation of the actual torque of the motor allows the motor controller to more effectively implement torque safety monitoring and reduce the risk of electric drive torque loss of control; the second is the control performance of the whole vehicle. Especially for electric four-wheel drive vehicles, whether the front and rear axle torque can be accurately distributed affects the power, economy and handling of the whole vehicle. Using accurate estimation of the actual torque of the motor as real-time feedback input can allow the processor to make better decisions and enable the whole vehicle to perform excellent performance. At present, whether it is a synchronous motor or an asynchronous motor, the commonly used torque estimation can be divided into two categories: the first is the power estimation method, that is, estimating the motor output power by three-phase proportion and three-phase current, and then inversely calculating the motor output torque; the second is the direct calculation method, that is, sampling the three-phase current and the current position angle, and obtaining the dq current through coordinate transformation, and then using the theoretical torque formula to directly calculate the motor output torque. The first major disadvantage of the above scheme is that the power estimation accuracy is not high, especially at low speeds, such as running below 1000rpm (revolutions per minute), the torque estimation error is large, which limits its application; the second major disadvantage is that the orientation is not accurate and the torque estimation error is large. The main technical solution adopted in the embodiment of the present application is: pre-establishing a motor torque mapping relationship based on bench testing and other testing methods, and then when the real-time motor parameters of the motor are collected, the corresponding motor torque mapping relationship is obtained based on the real-time motor voltage in the real-time motor parameters, and then the actual torque of the motor is determined based on the motor torque mapping relationship and the real-time motor parameters. Thereby achieving the technical effect of improving the torque estimation accuracy while not being limited by the speed range.
[0044] In order to better understand the above technical solution, exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0045] Embodiment 1
[0046] The present application discloses a method for monitoring motor torque. Figure 1 , the motor torque monitoring method comprises:
[0047] Step S110, acquiring real-time motor parameters of the motor, wherein the real-time motor parameters include real-time motor voltage, real-time motor current, real-time motor speed and real-time bus voltage.
[0048] In this embodiment, the motor refers to an electromagnetic device that realizes electric energy conversion or transmission according to the law of electromagnetic induction, and is used to output power in electric vehicles. Motor parameters are important indicators that describe motor characteristics and performance, and there is a close relationship between motor parameters and motors. Motor voltage refers to the power supply voltage connected to the motor when it is working, usually in volts. The motor voltage directly affects the output power and torque of the motor. Generally speaking, the higher the motor voltage, the greater the output power and torque. Motor current refers to the current consumed by the motor when it is working, usually in amperes. The load and speed of the motor will affect the current consumption of the motor, and the motor current is also proportional to the output power and torque. Motor speed refers to the speed at which the motor rotates, usually in revolutions per minute. The motor speed is related to the power supply frequency, the number of poles and the load, and the speed also has a direct impact on the output power and torque of the motor. Bus voltage refers to the DC power supply or capacitor voltage in the motor drive system, which is used to provide the electric energy required for the motor to operate. The bus voltage is usually a DC voltage, and there is a certain relationship between it and the voltage of the motor, and the motor can also be controlled by adjusting the bus voltage.
[0049] Motor parameters include motor voltage, motor current, motor speed and bus voltage. These parameters are interrelated and affect each other. By adjusting these parameters, the motor can be controlled and adjusted to achieve the required power and torque output. Real-time motor parameters are motor parameters collected in real time.
[0050] As an optional implementation, when the motor is running, the motor parameters of the motor are collected in real time based on a preset method, including but not limited to the motor voltage, motor current, motor speed and bus voltage, and then the collected motor parameters are used as real-time motor parameters. That is, the real-time motor parameters include but are not limited to the real-time motor voltage, real-time motor current, real-time motor speed and real-time bus voltage.
[0051] In this embodiment, the method for collecting the motor parameters of the motor in real time is not specifically limited.
[0052] Step S120, obtaining a motor torque mapping relationship according to the real-time motor voltage and a preset voltage limit value.
[0053] In this embodiment, the voltage limit value is the limit value that the preset motor voltage can reach. Since there is a stator in the motor, the motor voltage and the voltage limit value can be numerical values or can be represented by the voltage of the stator on the d-axis and q-axis respectively. The motor torque mapping relationship is a mapping relationship of the motor torque determined based on various motor parameters.
[0054] As an optional implementation, the running state of the motor is determined according to the numerical relationship between the real-time motor voltage and the voltage limit value, and then the corresponding motor torque relationship is matched according to the running state. The motor torque relationship can be a motor torque mapping table.
[0055] Exemplarily, after determining the real-time motor voltage, based on the absolute value of the real-time motor voltage and the absolute value of the voltage limit, it is determined whether the motor is running on the voltage limit circle at this time; if the motor is running on the voltage limit circle, a first motor torque mapping relationship is obtained, and if the motor is not running on the voltage limit circle, a second motor torque mapping relationship is obtained. The first motor torque mapping relationship does not have the real-time motor voltage.
[0056] Exemplarily, the real-time d-axis voltage and the real-time q-axis voltage of the motor are determined; the real-time motor voltage is determined based on the square root of the sum of the squares of the real-time d-axis voltage and the real-time q-axis voltage, and based on the absolute value of the real-time motor voltage and the relationship between the absolute value of the voltage limit, it is determined whether the motor is operating on the voltage limit circle at this time.
[0057] Step S130, determining the actual torque of the motor based on the real-time motor parameters and the motor torque mapping relationship.
[0058] In this embodiment, the motor torque refers to the torque output by the motor, which can also be understood as the magnitude of the force exerted on the rotating object. In the motor, torque is the key parameter that enables the motor to generate rotational force. The magnitude and direction of the torque determine the power and speed that the motor can output. The motor torque is caused by the interaction between the magnetic field and the current generated by the motor. When the current passes through the windings of the motor, a rotating magnetic field is generated on the armature, and the interaction between the armature and the magnetic poles generates a torque. This torque is transmitted to the load on the motor shaft and causes it to rotate.
[0059] As an optional implementation, based on the acquired real-time motor parameters and the motor torque mapping relationship, the actual motor torque is obtained by looking up a table.
[0060] Exemplarily, according to the values corresponding to the real-time motor voltage, the real-time motor current, the real-time motor speed and the real-time bus voltage in the real-time motor parameters, the actual motor torque corresponding to the combination of these values is determined in the motor torque mapping relationship.
[0061] Exemplarily, the numerical combination corresponding to the real-time motor voltage, real-time motor current, real-time motor speed and real-time bus voltage in the real-time motor parameters is determined, and in the motor torque mapping relationship, the pre-stored numerical values corresponding to the real-time motor voltage, real-time motor current, real-time motor speed and real-time bus voltage are determined; when the pre-stored numerical values and the numerical combination do not completely match, a fitting function is determined based on the pre-stored numerical values, and the actual torque of the motor is determined according to the fitting function and the numerical combination.
[0062] As an example, when the real-time motor parameters are obtained, they are the real-time motor voltage a1, the real-time motor current b2, the real-time motor speed c1 and the real-time bus voltage d3. According to the motor torque mapping relationship, the data that satisfies the motor voltage a1, the motor current b2, the motor speed c1 and the bus voltage d3 are determined, and the corresponding motor actual torque is determined to be n.
[0063] As another example, when the real-time motor parameters are obtained, they are the real-time motor voltage a1, the real-time motor current b2, the real-time motor speed c1 and the real-time bus voltage d3. According to the motor torque mapping relationship, there is no data that satisfies the motor voltage a1, the motor current b2, the motor speed c1 and the bus voltage d3 at the same time, and then the fitting function is determined according to the motor torque mapping relationship, with the actual motor torque as the output parameter, the real-time motor voltage, the real-time motor current, the real-time motor speed and the real-time bus voltage as the input parameters, and the actual motor torque is determined.
[0064] In this embodiment, first, under a preset working condition, motor parameters of the motor, including motor voltage, motor current, motor speed, bus voltage and motor torque, are obtained by means of sensors or the like. The recorded parameters are tabulated and stored in the MCU (microcontroller unit). In this way, the MCU will have a table containing motor torques corresponding to different parameters.
[0065] When the motor is actually running, the actual torque of the motor is obtained from the MCU by looking up the table based on the real-time motor voltage, real-time motor current, real-time motor speed and real-time bus voltage collected in real time.
[0066] The technical solutions in the above embodiments of the present application have at least the following technical effects or advantages:
[0067] Since the real-time motor parameters of the motor are obtained, the real-time motor parameters include real-time motor voltage, real-time motor current, real-time motor speed and real-time bus voltage; the motor torque mapping relationship is obtained according to the real-time motor voltage and a preset voltage limit value; the actual torque of the motor is determined based on the real-time motor parameters and the motor torque mapping relationship. Therefore, the technical problem of low estimation accuracy of the actual torque of the motor under high load, low speed or other nonlinear working conditions in the related technology is effectively solved, and the technical effect of improving the torque estimation accuracy while not being limited by the speed range is achieved.
[0068] Based on the first embodiment, the second embodiment of the present application proposes a motor torque monitoring method, step S120 includes:
[0069] Step S210: determining whether the motor is running on a voltage limit circle according to the real-time motor voltage and the voltage limit value.
[0070] In this embodiment, the real-time motor voltage and the preset voltage limit value are obtained, the difference between the real-time motor voltage and the preset voltage limit value is calculated, and it is determined whether the difference is equal to 0 or between the preset threshold value, that is, whether the motor is running on the voltage limit circle.
[0071] Step S220: If yes, the determined motor torque mapping relationship does not include the real-time motor voltage;
[0072] Step S230: If not, the determined motor torque mapping relationship includes the real-time motor voltage.
[0073] In this embodiment, if it is determined that the motor is running on the voltage limit circle, that is, the difference is equal to 0 or between the preset threshold value, the motor torque mapping relationship does not include the real-time motor voltage, and the pre-set voltage and torque data can be used for parameter matching; if it is determined that the motor is not running on the voltage limit circle, that is, the difference is greater than the preset threshold value, then the motor torque mapping relationship includes the real-time motor voltage, and the parameters can be matched according to the real-time motor voltage and the corresponding torque data.
[0074] Exemplarily, the real-time motor voltage and the preset voltage limit value are obtained: the real-time motor voltage is 10V, and the preset voltage limit value is 11V. Calculate the difference between the real-time motor voltage and the preset voltage limit value: 11V-10V=1V. Then, determine whether the difference is equal to 0 or within the preset threshold value. 1V is not equal to 0 and is greater than the preset threshold value of 0.2V, so it can be determined that the motor is not running on the voltage limit circle. Since the motor is not running on the voltage limit circle, the real-time motor voltage should be included in the motor torque mapping relationship. Use the real-time motor voltage and the remaining real-time motor parameters to match the corresponding torque data, that is, match 10V with the corresponding torque value.
[0075] Exemplarily, when the real-time motor voltage is equal to the voltage limit value, it is determined that the motor is running on the voltage limit circle; when the real-time motor voltage is not equal to the voltage limit value, it is determined that the motor is not running on the voltage limit circle. The real-time motor voltage can be a certain value, or it can be determined by the d-axis voltage and q-axis voltage of the stator.
[0076] Since the torque is estimated when the motor is running on the voltage limit circle, at this time, it is only necessary to obtain the real-time motor current, real-time motor speed and real-time bus voltage, tabulate and store them in the MCU, and then obtain the motor torque value by looking up the table. This simplifies the estimation process of the actual motor torque, making it more convenient and efficient to obtain and apply the motor torque in real time.
[0077] Based on the first embodiment, the third embodiment of the present application proposes a motor torque monitoring method, referring to FIG. 2 , step S130 includes:
[0078] Step S310, based on the numerical value interval corresponding to the numerical value of the real-time motor parameter in the motor torque mapping relationship.
[0079] In this embodiment, the motor torque mapping relationship is represented by several rows, each row having the corresponding values of the real-time motor voltage, the real-time motor current, the real-time motor speed and the real-time bus voltage, and the motor torque determined according to the combination of these values. Therefore, for the motor torque mapping relationship, each motor parameter forms a value interval based on the corresponding values of several rows.
[0080] As an optional implementation, the value of each real-time motor parameter is determined in a numerical range of the motor parameter corresponding to the motor torque mapping relationship.
[0081] Step S320: determining an interpolation function based on the numerical interval.
[0082] In this embodiment, each real-time motor parameter and the corresponding numerical interval are determined, and a matching interpolation function is determined.
[0083] As an optional implementation, considering that different motor parameters have different influence weights on the motor torque and have marginal effects in terms of values, the corresponding interpolation function is determined according to the numerical range of the real-time motor parameter values.
[0084] Step S330, determining the actual torque of the motor according to the interpolation function and the real-time motor parameters.
[0085] In this embodiment, according to the corresponding interpolation function and the real-time motor parameters, the output value of the interpolation function is used as the actual torque of the motor.
[0086] As an optional implementation, obtain the values of real-time motor parameters, such as real-time motor voltage, current, speed, etc.; find the interval closest to the real-time motor parameter value in the motor torque mapping relationship, which defines the range of the motor's actual torque. Determine the interpolation function in the numerical interval, and select corresponding data points in the motor torque mapping relationship according to the determined numerical interval for interpolation calculation; use an interpolation algorithm, such as linear interpolation, spline interpolation, etc., to determine the interpolation function according to the selected data points. According to the selected interpolation function, substitute the real-time motor parameters into the interpolation function to obtain the corresponding actual motor torque value.
[0087] Exemplarily, the numerical range of the real-time motor parameter is determined in the motor torque mapping relationship. Assume that the following numerical range is defined in the motor torque mapping relationship:
[0088] Voltage: [0V, 10V].
[0089] Speed: [0rpm, 1000rpm]. When the real-time motor parameters are 7V real-time motor voltage and 500rpm real-time motor speed, the value range is [0V, 10V] and [0rpm, 1000rpm].
[0090] Determine the interpolation function in the numerical interval, and select the corresponding data point in the motor torque mapping relationship according to the selected numerical interval. Assume that the following data points are selected:
[0091] (0V, 0rpm) corresponding torque value: 0Nm.
[0092] (10V, 0rpm) corresponding torque value: 5Nm.
[0093] (0V, 1000rpm) corresponding torque value: 10Nm.
[0094] (10V, 1000rpm) The corresponding torque value is: 15Nm. Use linear interpolation to determine the interpolation function.
[0095] The actual torque of the motor is determined according to the interpolation function and the real-time motor parameters. The real-time motor parameters are substituted into the interpolation function. For example, a voltage of 7V and a speed of 500rpm can be used to obtain the corresponding actual torque value through interpolation calculation.
[0096] In this embodiment, when the corresponding values of the real-time motor voltage, the real-time motor current, the real-time motor speed and the real-time bus voltage cannot be found in the motor torque mapping relationship, the actual motor torque is determined based on the interpolation function, thereby realizing the estimation of the actual motor torque. At the same time, the interpolation function is associated with the numerical interval corresponding to the numerical value of the real-time motor parameter in the motor torque mapping relationship, thereby improving the estimation accuracy of the actual motor torque.
[0097] Based on the first embodiment, the fourth embodiment of the present application proposes a motor torque monitoring method, referring to Figure 3 , before step S120, including:
[0098] Step S410: determining a motor parameter acquisition action according to the motor voltage of the motor.
[0099] In this embodiment, the motor parameter acquisition action refers to determining the composition of the motor torque mapping relationship based on the motor voltage to determine whether the motor is running on the voltage limit circle. If so, the motor torque mapping relationship is not established based on the motor voltage, that is, the motor parameter acquisition action will not collect the motor voltage. If not, the motor torque mapping relationship is established based on the motor voltage, that is, the motor parameter acquisition action will collect the motor voltage.
[0100] As an optional implementation, the voltage parameters of the motor can be obtained by obtaining the real-time motor voltage value through a sensor or other means. The real-time motor voltage is compared with the preset voltage limit value. If the real-time motor voltage reaches or approaches the voltage limit value, it is considered that the motor has run on the voltage limit circle, and the motor voltage parameters are not collected; if the real-time motor voltage does not reach the voltage limit value, the motor voltage parameters need to be collected.
[0101] Step S420, executing the motor parameter acquisition action to determine the motor parameters.
[0102] In this embodiment, a motor parameter acquisition action is performed to acquire corresponding motor parameters.
[0103] Step S430: generating the motor torque mapping relationship based on the motor parameters.
[0104] In this embodiment, after the motor parameters are acquired, a motor torque mapping relationship is established based on the acquisition time of each motor parameter and the motor parameters corresponding to the same acquisition time as the corresponding mapping relationship.
[0105] As an optional implementation, a motor parameter acquisition action is performed according to the acquired motor voltage parameters. For example, a specific control signal is sent to the motor to make it automatically calibrate and obtain the motor torque parameters. A motor torque mapping relationship is generated based on the motor parameters. The motor torque mapping relationship can be generated using theoretical calculations, experimental measurements, or calibration methods.
[0106] Exemplarily, it is determined whether the motor voltage of the motor is running on the voltage limit circle to determine whether to collect the motor voltage parameters: the voltage parameters of the motor are obtained, and the real-time motor voltage value is obtained using a sensor or other equipment. The real-time motor voltage is compared with the preset voltage limit value. If the real-time motor voltage reaches or approaches the voltage limit value, it is considered that the motor has run on the voltage limit circle and the motor voltage parameters are not collected; if the real-time motor voltage does not reach the voltage limit value, the motor voltage parameters need to be collected. A motor torque mapping relationship is established according to the motor voltage, and a motor parameter acquisition action is performed according to the determined motor parameters, such as motor current, speed, etc. If the real-time motor voltage does not reach the voltage limit value, a specific control signal is sent to the motor to automatically calibrate it and obtain the torque parameters of the motor. The torque mapping relationship of the motor is generated based on the motor parameters. The motor torque mapping relationship can be generated using theoretical calculations, experimental measurements, or calibration methods.
[0107] Exemplarily, the parameters are obtained. Under the preset working conditions, the motor parameters are obtained, including the voltage amplitude (or effective value), that is, the motor voltage U s , current amplitude (or effective value), that is, the motor current I s , synchronous speed, that is, motor speed ω e , bus voltage U dc and the motor electromagnetic torque, that is, the motor torque T e ”;
[0108] Tabulate and store. The recorded "voltage amplitude (or effective value) U s , current amplitude (or effective value) I s , synchronous speedω e , bus voltage U dc and the motor electromagnetic torque T e "Tabulate and store in MCU;
[0109] Table lookup application. According to the real-time motor voltage, real-time motor current, real-time motor speed and real-time bus voltage, the actual motor torque T is obtained by table lookup. e .
[0110] In particular, when the motor runs on the voltage limit circle, it satisfies:
[0111]
[0112] Get parameters. Under the preset working conditions, get the motor parameters. Including "current amplitude (or effective value) I s , synchronous speedω e , bus voltage U dc and the motor electromagnetic torque T e ”;
[0113] Tabulate and store. The recorded "current amplitude (or effective value) I s , synchronous speedω e , bus voltage U dc and the motor output mechanical torque T L "Tabulate and store in MCU;
[0114] Table lookup application. According to the real-time motor current, real-time motor speed and real-time bus voltage, the actual motor torque T is obtained by table lookup. e .
[0115] Among them, the voltage amplitude U s , which can be the sampled three-phase voltage, the command voltage value of the motor control program, or the modulation coefficient, etc. When tabulating and recording the above current amplitude I s It can be the sampled three-phase current or the command current value of the motor control program. When the motor electromagnetic torque T is recorded in the table e , or the mechanical torque output by the motor. For asynchronous motors, the synchronous speed ω is recorded in the table. e , or the rotor speed, etc.
[0116] Optionally, step S410 includes:
[0117] Step S411, determining whether the motor is running on a voltage limit circle according to the motor voltage;
[0118] Step S412: If yes, the motor parameter acquisition action determined does not include the motor voltage;
[0119] Step S413: if not, the motor parameter acquisition action determined includes the motor voltage.
[0120] As an optional implementation, the voltage parameters of the motor are obtained: a comparison circuit or a sensor or other device is used to obtain the real-time motor voltage value. Compare the motor voltage with the preset voltage limit value: compare the real-time motor voltage with the preset voltage limit value through a comparison circuit or an algorithm. Determine whether the motor is on the voltage limit circle: if the real-time motor voltage reaches or approaches the voltage limit value, that is, it is on the voltage limit circle, then the determined motor parameter acquisition action does not include the motor voltage; if the real-time motor voltage does not reach the voltage limit value, that is, it is not on the voltage limit circle, then the determined motor parameter acquisition action includes the motor voltage. Perform a motor parameter acquisition action: based on the judgment result, in the determined motor parameter acquisition action, select whether to include the real-time motor voltage as needed. According to actual application requirements, a specific control signal can be sent to the motor for automatic calibration to obtain other parameters of the motor, namely the motor current, motor speed and bus voltage.
[0121] Optionally, refer to Figure 4 , step S420 includes:
[0122] Step S421, executing the motor parameter acquisition action to determine the motor parameters.
[0123] As an optional implementation, a motor parameter acquisition action is performed to determine motor parameters, wherein the motor parameters include motor voltage, motor current, motor speed, and bus voltage.
[0124] As another optional implementation, a motor parameter acquisition action is performed to determine the motor parameters, wherein the motor parameters include motor current, motor speed, and bus voltage.
[0125] Step S422, determining the motor torque according to the motor current and the motor speed in the motor parameters by using a preset torque calculation function.
[0126] In this embodiment, the preset torque calculation function is a function that outputs the motor torque based on the acquired motor voltage, motor current and motor speed.
[0127] As an optional implementation, the preset torque calculation function is related to the type of motor, which is divided into asynchronous motors and permanent magnet synchronous motors. Asynchronous motors work based on the principle of electromagnetic induction, that is, the magnetic field generated by the current on the stator acts on the torque generated by the magnetic field on the rotor, thereby causing the rotor to rotate. Permanent magnet synchronous motors use the action between the rotating magnetic field generated by the current on the stator and the magnetic field on the permanent magnet rotor to achieve rotation.
[0128] For example, when the “asynchronous motor” is in steady-state operation, the voltage equation in the dq coordinate system is as follows:
[0129]
[0130] Among them, R s is the stator resistance, L s is the stator inductance, is the magnetic leakage coefficient, L m is the motor mutual inductance, L r is the rotor inductance, u sd is the stator d-axis voltage, u sq is the stator q-axis voltage, i sd is the stator d-axis current, i sq is the stator q-axis current, ω e The synchronous speed.
[0131] The electromagnetic torque of an "asynchronous motor" is as follows:
[0132]
[0133] Among them, np is the number of motor pole pairs.
[0134] When the permanent magnet synchronous motor is in steady-state operation, the voltage equation in the dq coordinate system is as follows:
[0135]
[0136] Among them, R s is the stator resistance, L d is the d-axis inductance, L q is the q-axis inductance, u sd is the stator d-axis voltage, u sq is the stator q-axis voltage, i sd is the stator d-axis current, i sq is the stator q-axis current, ω e is the synchronous speed, is the permanent magnet flux.
[0137] The electromagnetic torque of the "permanent magnet synchronous motor" is as follows:
[0138]
[0139] Among them, n p is the number of motor pole pairs.
[0140] Motor voltage amplitude U s With the current amplitude I s for:
[0141]
[0142] Combining equations (1), (2), (5) or (3), (4), (5), we can know that the motor electromagnetic torque T e It can be expressed as:
[0143] T e =f(U s ,I s ,ω e )(6)
[0144] That is, we know the voltage amplitude U s , current amplitude I s and synchronous speed ω e , we can determine the corresponding motor electromagnetic torque T e In this embodiment, the voltage amplitude is the motor voltage, the current amplitude is the motor current, and the synchronous speed is the motor speed.
[0145] Step S423: adding the motor torque to the motor parameters.
[0146] In this embodiment, the determined motor torque is used as one of the motor parameters, and then a motor torque mapping relationship is generated according to all the motor parameters.
[0147] Optionally, step S420 includes: executing the motor parameter acquisition action, and acquiring the motor parameters through a preset sensor.
[0148] As an optional implementation, the motor parameters can be obtained through sensors connected to the motor. That is, during bench testing, based on high-precision sensors, the motor voltage, motor current, motor speed, bus voltage and motor torque corresponding to each collection time are directly collected.
[0149] By adopting the steps of determining a motor parameter acquisition action according to the motor voltage of the motor; executing the motor parameter acquisition action to determine the motor parameters; and generating the motor torque mapping relationship based on the motor parameters, the technical problem in the related technology that the estimation result has low estimation accuracy for the actual torque of the motor under high load, low speed or other nonlinear working conditions is solved, and the technical effect of improving the torque estimation accuracy while not being limited by the speed range is achieved.
[0150] Based on the first embodiment, the fifth embodiment of the present application proposes a motor torque monitoring method, after step S120, including:
[0151] Step S510, determining an aging parameter based on the mileage, environmental parameters, service life, and driving behavior data of the vehicle in which the motor is located.
[0152] In this embodiment, the aging parameter is a parameter for evaluating the aging degree of the motor.
[0153] As an optional implementation, the real-time voltage value and the preset voltage limit value of the motor are obtained. According to the real-time voltage value and the voltage limit value, the torque mapping relationship of the motor is calculated. Based on the vehicle's mileage, environmental parameters, service life, and driving behavior data, the aging parameters of the motor are determined.
[0154] Step S520: updating the motor torque mapping relationship based on the aging parameter.
[0155] In this embodiment, the preset motor torque mapping relationship is updated using the aging parameter, wherein the updating frequency is a preset frequency, for example, after 15 days of use, the action corresponding to step S510 is performed.
[0156] As an optional implementation, obtain the real-time motor voltage, use a suitable sensor (such as a voltage sensor) to obtain the voltage value of the motor in real time. Obtain the voltage limit value, and obtain the preset voltage limit value according to the technical specifications and design requirements of the motor. Calculate the torque mapping relationship according to the voltage value, and calculate the torque value of the motor according to the real-time voltage value by establishing a torque-voltage mapping function or looking up a torque-voltage relationship table, and perform relevant calibration and correction. Obtain the vehicle mileage, and use the vehicle's odometer or other reliable methods to obtain the current mileage of the vehicle. Obtain environmental parameters, and obtain environmental parameters related to motor performance and aging, such as temperature, humidity, etc. Obtain the service life, record the service life of the motor, and calculate the running time of the motor. Obtain driving behavior data, and use sensors or vehicle monitoring systems to collect data related to driving behavior, such as acceleration, speed change, etc. Determine aging parameters based on mileage, environmental parameters, service life, and driving behavior data. According to the aging laws and characteristics of other motors, establish a model or use a machine learning algorithm to determine the aging parameters of the motor, such as resistance increase, insulation loss, etc., based on the vehicle's mileage, environmental parameters, service life, and driving behavior data. The torque mapping relationship is updated, and the determined aging parameter is used and applied to the torque mapping relationship of the motor or directly input into the motor control system to update the actual torque output of the motor.
[0157] For example, suppose there is an electric car that needs to determine the torque mapping relationship of the motor based on the real-time voltage and the preset voltage limit value, and determine the aging parameters and update the torque mapping relationship based on the vehicle mileage, environmental parameters, service life and driving behavior data. First, use a voltage sensor to obtain the real-time voltage value of the motor. According to the motor technical specifications and design requirements, obtain the preset voltage limit value of the motor. Calculate the torque mapping relationship of the motor based on the real-time voltage value and the voltage limit value. Use a vehicle odometer or other method to obtain the mileage of the current vehicle. Obtain environmental parameters related to motor performance and aging, such as temperature, humidity, etc. Record the service life of the motor and calculate the running time of the motor. Use sensors or vehicle monitoring systems to collect data related to driving behavior, such as acceleration, speed change, etc. Establish an aging model based on the vehicle mileage, environmental parameters, service life and driving behavior data. Determine the aging parameters of the motor based on the aging model, such as resistance increase, insulation loss, etc. Update the torque mapping relationship, apply the aging parameters to the torque mapping relationship of the motor or directly input them into the motor control system to update the actual torque output of the motor.
[0158] By determining the aging parameters based on the mileage, environmental parameters, service life and driving behavior data of the vehicle in which the motor is located, and updating the motor torque mapping relationship based on the aging parameters, the technical effect of dynamically updating the motor torque mapping relationship and improving the motor torque estimation accuracy during the use of the motor is achieved.
[0159] The present application also proposes a motor torque monitoring device, referring to Figure 5 , Figure 5 A schematic diagram of the structure of a motor torque monitoring device in the hardware operating environment involved in an embodiment of the present application.
[0160] like Figure 5 As shown, the motor torque monitoring device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0161] Those skilled in the art will understand that Figure 5 The structure shown in the figure does not constitute a limitation on the motor torque monitoring device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0162] Optionally, the memory 1005 is electrically connected to the processor 1001 , and the processor 1001 can be used to control the operation of the memory 1005 , and can also read data in the memory 1005 to implement motor torque monitoring.
[0163] Alternatively, if Figure 5 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module and a motor torque monitoring program.
[0164] Optionally, in Figure 5In the motor torque monitoring device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the motor torque monitoring device of the present application can be set in the motor torque monitoring device.
[0165] like Figure 5 As shown, the motor torque monitoring device calls the motor torque monitoring program stored in the memory 1005 through the processor 1001, and executes the relevant steps of the motor torque monitoring method provided in the embodiment of the present application:
[0166] Acquire real-time motor parameters of the motor, wherein the real-time motor parameters include real-time motor voltage, real-time motor current, real-time motor speed and real-time bus voltage;
[0167] Acquire a motor torque mapping relationship according to the real-time motor voltage and a preset voltage limit value;
[0168] The actual torque of the motor is determined based on the real-time motor parameters and the motor torque mapping relationship.
[0169] Optionally, the processor 1001 may call a motor torque monitoring program stored in the memory 1005, and further perform the following operations:
[0170] Determining whether the motor is running on a voltage limit circle according to the real-time motor voltage and the voltage limit value;
[0171] If so, the determined motor torque mapping relationship does not include the real-time motor voltage;
[0172] If not, the determined motor torque mapping relationship includes the real-time motor voltage.
[0173] Optionally, the processor 1001 may call a motor torque monitoring program stored in the memory 1005, and further perform the following operations:
[0174] Based on the numerical value interval corresponding to the numerical value of the real-time motor parameter in the motor torque mapping relationship;
[0175] determining an interpolation function based on the numerical interval;
[0176] The actual torque of the motor is determined according to the interpolation function and the real-time motor parameters.
[0177] Optionally, the processor 1001 may call a motor torque monitoring program stored in the memory 1005, and further perform the following operations:
[0178] Determining a motor parameter acquisition action according to a motor voltage of the motor;
[0179] Execute the motor parameter acquisition action to determine the motor parameters;
[0180] The motor torque mapping relationship is generated based on the motor parameters.
[0181] Optionally, the processor 1001 may call a motor torque monitoring program stored in the memory 1005, and further perform the following operations:
[0182] Determining whether the motor is running on a voltage limit circle according to the motor voltage;
[0183] If so, the motor parameter acquisition action determined does not include the motor voltage;
[0184] If not, the motor parameter acquisition action determined includes the motor voltage.
[0185] Optionally, the processor 1001 may call a motor torque monitoring program stored in the memory 1005, and further perform the following operations:
[0186] Execute the motor parameter acquisition action to determine the motor parameters;
[0187] According to the motor current and the motor speed in the motor parameters, the motor torque is determined by a preset torque calculation function;
[0188] The motor torque is added to the motor parameters.
[0189] Optionally, the processor 1001 may call a motor torque monitoring program stored in the memory 1005, and further perform the following operations:
[0190] The motor parameter acquisition action is executed to acquire the motor parameters through a preset sensor.
[0191] Optionally, the processor 1001 may call a motor torque monitoring program stored in the memory 1005, and further perform the following operations:
[0192] Determining an aging parameter based on mileage, environmental parameters, age, and driving behavior data of a vehicle in which the motor is located;
[0193] The motor torque mapping relationship is updated based on the aging parameter.
[0194] In addition, an embodiment of the present application further proposes a computer-readable storage medium, on which a motor torque monitoring program is stored. When the motor torque monitoring program is executed by a processor, the relevant steps of any embodiment of the motor torque monitoring method described above are implemented.
[0195] 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 on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0196] The present application is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to 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 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.
[0197] 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.
[0198] 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.
[0199] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The present application may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.
[0200] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0201] 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 motor torque monitoring method, characterized in that: The motor torque monitoring method comprises: Acquire real-time motor parameters of the motor, wherein the real-time motor parameters include real-time motor voltage, real-time motor current, real-time motor speed and real-time bus voltage; Acquire a motor torque mapping relationship according to the real-time motor voltage and a preset voltage limit value; The actual torque of the motor is determined based on the real-time motor parameters and the motor torque mapping relationship.
2. The motor torque monitoring method according to claim 1, characterized in that: The step of acquiring the motor torque mapping relationship according to the real-time motor voltage and the preset voltage limit value comprises: Determining whether the motor is running on a voltage limit circle according to the real-time motor voltage and the voltage limit value; If so, the determined motor torque mapping relationship does not include the real-time motor voltage; If not, the determined motor torque mapping relationship includes the real-time motor voltage.
3. The motor torque monitoring method according to claim 1, characterized in that: The step of determining the actual torque of the motor based on the real-time motor parameter and the motor torque mapping relationship comprises: Based on the numerical value interval corresponding to the numerical value of the real-time motor parameter in the motor torque mapping relationship; determining an interpolation function based on the numerical interval; The actual torque of the motor is determined according to the interpolation function and the real-time motor parameters.
4. The motor torque monitoring method according to claim 1, characterized in that: Before the step of acquiring the motor torque mapping relationship according to the real-time motor voltage and the preset voltage limit value, the method includes: Determining a motor parameter acquisition action according to a motor voltage of the motor; Execute the motor parameter acquisition action to determine the motor parameters; The motor torque mapping relationship is generated based on the motor parameters.
5. The motor torque monitoring method according to claim 4, characterized in that: The step of determining the motor parameter acquisition action according to the motor voltage comprises: Determining whether the motor is running on a voltage limit circle according to the motor voltage; If so, the motor parameter acquisition action determined does not include the motor voltage; If not, the motor parameter acquisition action determined includes the motor voltage.
6. The motor torque monitoring method according to claim 4, characterized in that: The step of executing the motor parameter acquisition action to determine the motor parameters comprises: Execute the motor parameter acquisition action to determine the motor parameters; According to the motor current and the motor speed in the motor parameters, the motor torque is determined by a preset torque calculation function; The motor torque is added to the motor parameters.
7. The motor torque monitoring method according to claim 4, characterized in that: The step of executing the motor parameter acquisition action to determine the motor parameters comprises: The motor parameter acquisition action is executed to acquire the motor parameters through a preset sensor.
8. The motor torque monitoring method according to claim 1, characterized in that: After the step of acquiring the motor torque mapping relationship according to the real-time motor voltage and the preset voltage limit value, the method further includes: Determining an aging parameter based on mileage, environmental parameters, age, and driving behavior data of a vehicle in which the motor is located; The motor torque mapping relationship is updated based on the aging parameter.
9. A motor torque monitoring device, characterized in that: It comprises a memory, a processor and a motor torque monitoring program stored in the memory and executable on the processor, wherein the processor implements the steps of the motor torque monitoring method as claimed in any one of claims 1 to 8 when executing the motor torque monitoring program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a motor torque monitoring program, and when the motor torque monitoring program is executed by the processor, the steps of the motor torque monitoring method according to any one of claims 1 to 8 are implemented.
