Motor torque compensation method and device, compressor, fan, air conditioner and medium
By compensating the motor torque within the frequency range, the vibration and noise problems of single-rotor compressors in small-sized air conditioners are solved, achieving reasonable compensation of motor torque, reducing system vibration and noise, and improving user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHONGQING MIDEA REFRIGERATION EQUIP CO LTD
- Filing Date
- 2021-06-30
- Publication Date
- 2026-07-07
AI Technical Summary
The single-rotor compressor in small-sized air conditioners suffers from system vibration and noise problems, which are difficult to solve effectively with existing technologies.
By obtaining the current operating frequency of the motor, the target frequency range in which it is located is determined, and the motor torque is compensated based on the torque compensation parameters within this frequency range. This includes using fixed parameters within a preset frequency range, the correspondence between maximum and minimum values, and interpolation processing to determine reasonable torque compensation parameters.
It effectively suppresses vibration of the motor and system piping, significantly reduces noise, and improves user experience.
Smart Images

Figure CN115566958B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of motor control technology, and particularly relates to a motor torque compensation method, device, compressor, fan, air conditioner and medium. Background Technology
[0002] With the continuous development of science and technology, many electrical appliances are equipped with motors, such as the compressors and fans of air conditioners. Taking the air conditioner compressor as an example, for smaller air conditioners such as portable air conditioners, window air conditioners, etc., the size of the compressor and piping design is also limited. At present, single-rotor compressors are generally used as the core driving component of small-sized air conditioners. Single-rotor compressors have a simple structure, are easy to miniaturize, and have low cost, but the corresponding compressor body and system piping vibrate greatly, resulting in significant noise. Summary of the Invention
[0003] The present invention aims to solve, at least to some extent, the technical problems of system vibration and high noise generated during motor operation, and provides a motor torque compensation method, device, compressor, fan, air conditioner and medium.
[0004] In a first aspect, embodiments of the present invention provide a motor torque compensation method, comprising: obtaining the current operating frequency of the motor; determining a target frequency range in which the current operating frequency is located based on a plurality of preset frequency ranges of the motor; determining a target torque compensation parameter corresponding to the current operating frequency based on the correspondence between frequency and torque compensation parameter within the target frequency range; and compensating the motor torque based on the target torque compensation parameter.
[0005] This invention, through real-time detection of the motor's current operating frequency, determines the target frequency range within which the current operating frequency falls. Based on the correspondence between frequencies and torque compensation parameters within the target frequency range, it determines the target torque compensation parameters for the motor and compensates for the motor torque. This effectively suppresses the vibration of the motor and its corresponding system piping, significantly reduces noise, and improves the user experience.
[0006] In some implementations, the correspondence between frequency and torque compensation parameters within each preset frequency range includes: a first correspondence pre-configured for torque compensation parameters for each preset frequency range; and a second correspondence pre-configured for both the maximum and minimum values of each preset frequency range. By providing multiple correspondences, this invention enriches the methods for frequency-based motor torque compensation.
[0007] In some implementations, determining the target torque compensation parameter of the motor based on the correspondence between frequency and torque compensation parameters within the target frequency range includes: using a torque compensation parameter pre-configured for the target frequency range as the target torque compensation parameter based on a first correspondence within the target frequency range.
[0008] In this embodiment of the invention, since a fixed torque compensation parameter is configured for each preset frequency range in the first correspondence, the target torque compensation parameter corresponding to the current operating frequency can be directly read by searching the first correspondence, and motor torque compensation can be quickly achieved.
[0009] In some implementations, determining the target torque compensation parameter corresponding to the current operating frequency based on the correspondence between frequencies and torque compensation parameters within the target frequency range includes: determining the maximum and minimum values of the target frequency range; determining a first torque compensation parameter corresponding to the maximum value of the target frequency range and a second torque compensation parameter corresponding to the minimum value of the target frequency range based on a second correspondence within the target frequency range; and determining the target torque compensation parameter based on the first torque compensation parameter and the second torque compensation parameter.
[0010] In this embodiment of the invention, since the second correspondence is configured with torque compensation parameters for the maximum and minimum values of each preset frequency range, the target torque compensation parameters that match the current operating frequency can be determined based on the second correspondence. That is, the target torque compensation parameters are more in line with the current operating state of the motor, making the motor torque compensation more reasonable.
[0011] In some implementations, determining the target torque compensation parameter corresponding to the current operating frequency based on the correspondence between frequency and torque compensation parameters within the target frequency range includes: determining whether the current operating frequency is greater than a first threshold and less than or equal to a second threshold; if so, determining the target torque compensation parameter based on a second correspondence between frequency and torque compensation parameters within the target frequency range; if not, determining the target torque compensation parameter based on a first correspondence between frequency and torque compensation parameters within the target frequency range.
[0012] In this embodiment of the invention, the target torque compensation parameters are determined by comprehensively using the first correspondence and the second correspondence, and different correspondences are used to process different frequency ranges, so that the motor torque compensation is more in line with the actual operating state of the motor.
[0013] In some implementations, determining the target torque compensation parameter based on the first torque compensation parameter and the second torque compensation parameter includes: performing interpolation processing based on the first torque compensation parameter, the second torque compensation parameter, the maximum value of the target frequency range, the minimum value of the target frequency range, and the current operating frequency to obtain the target torque compensation parameter.
[0014] In this embodiment of the invention, the target torque compensation parameters are calculated by interpolation, so that the torque compensation of the motor tends to change linearly and the torque compensation effect changes slowly, ensuring that the pipeline vibration does not change abruptly and reducing noise.
[0015] In some implementations, the maximum frequency in the plurality of preset frequency ranges is determined based on the following parameters: the upper limit of the frequency for torque compensation, the requirement for suppressing pipeline vibration, and the output capability of the electronic control device corresponding to the motor.
[0016] In this embodiment of the invention, the frequency of torque compensation is limited by the upper limit of the torque compensation frequency, the requirement to suppress pipeline vibration, and the output capability of the electronic control device corresponding to the motor. This reduces vibration and noise without introducing an increase in vibration and noise caused by torque compensation at an unreasonable frequency.
[0017] In some implementations, the target torque compensation parameter decreases as the current operating frequency increases, making the torque compensation more reasonable.
[0018] Secondly, embodiments of the present invention provide a motor torque compensation device, comprising:
[0019] The acquisition module is used to acquire the current operating frequency of the motor;
[0020] The frequency range determination module is used to determine the target frequency range in which the current operating frequency is located based on multiple preset frequency ranges of the motor.
[0021] The compensation parameter determination module is used to determine the target torque compensation parameter corresponding to the current operating frequency based on the correspondence between frequency and torque compensation parameters within the target frequency range.
[0022] The control module is used to compensate the motor torque based on the target torque compensation parameters.
[0023] Thirdly, embodiments of the present invention provide a compressor, including a storage device, a processor, and a computer program stored in a storage device and executable on the processor. When the processor executes the program, it implements the method provided in the first aspect. By performing torque compensation on the compressor, the vibration and noise of the compressor are effectively reduced.
[0024] Fourthly, embodiments of the present invention provide a fan, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the method provided in the first aspect. By performing torque compensation on the fan, the vibration and noise of the fan are effectively reduced.
[0025] Fifthly, embodiments of the present invention provide an air conditioner, including a storage unit, a processor, and a computer program stored in a memory and executable on the processor. When the processor executes the program, it implements the method provided in the first aspect. By performing torque compensation on the fan, the vibration and noise of the fan are effectively reduced, improving the user experience.
[0026] In a sixth aspect, embodiments of the present invention provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method provided in the first aspect. Attached Figure Description
[0027] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0028] Figure 1 A flowchart of the motor torque compensation method in an embodiment of the present invention is shown;
[0029] Figure 2 A schematic diagram illustrating the variation trend of torque compensation current with motor operating frequency in an embodiment of the present invention is shown.
[0030] Figure 3 A schematic diagram illustrating the variation trend of torque compensation current with motor operating frequency in another embodiment of the present invention is shown;
[0031] Figure 4 A functional block diagram of the motor torque compensation method device in an embodiment of the present invention is shown;
[0032] Figure 5 A schematic diagram of the structure of an air conditioner according to an embodiment of the present invention is shown. Detailed Implementation
[0033] Given that related technologies cannot eliminate system vibration and noise caused by motor operation, embodiments of the present invention provide a motor torque compensation method, device, compressor, fan, and air conditioner.
[0034] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.
[0035] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0036] The motor torque compensation method provided by the embodiments of the present invention will now be described in detail with reference to the accompanying drawings and specific embodiments.
[0037] It should be noted that during the operation of the motor, taking a single-rotor compressor as an example, the load torque will fluctuate significantly within one mechanical cycle. If the response speed of the motor speed control loop cannot keep up with the load fluctuation speed, it will cause the compressor to vibrate and generate noise, affecting the user experience. In this embodiment of the invention, in order to reduce the vibration and noise generated during motor operation, compensation for the motor's rotational torque is adopted, such as... Figure 1 The diagram shows a flowchart of a motor torque compensation method provided in an embodiment of the present invention. The method includes the following steps:
[0038] Step S101: Obtain the current operating frequency of the motor;
[0039] Step S102: Based on multiple preset frequency ranges of the motor, determine the target frequency range in which the current operating frequency is located;
[0040] Step S103: Based on the correspondence between frequency and torque compensation parameters within the target frequency range, determine the target torque compensation parameters corresponding to the current operating frequency;
[0041] Step S104: Compensate the motor torque based on the target torque compensation parameters.
[0042] The motor in this embodiment of the invention can be any type of motor installed in an electrical device, such as a compressor or fan in an air conditioner. No limitation is made here; for ease of explanation, the compressor of an air conditioner will be used as an example. The motor torque compensation method provided in this embodiment of the invention can be applied to a processor within the motor or to a processor independent of the motor; no limitation is made here.
[0043] In step S101, the current operating frequency of the motor is the actual frequency collected in real time during the motor's operation. The motor's operating frequency can be continuously collected throughout the entire operation process, or it can be collected during specific time periods of motor operation. For example, when using an air conditioner, users typically set the air conditioner's speed, such as high fan speed or low fan speed. Each speed setting corresponds to a preset compressor operating frequency. When the air conditioner starts, the compressor operates at the operating frequency corresponding to the set speed. During this process, the compressor's operating frequency changes. Therefore, the compressor's operating frequency can be collected in real time during the time period corresponding to the speed change, and motor torque compensation can be performed during this period to save computing resources. Of course, when the air conditioner is running at a fixed speed, the compressor's operating frequency may also fluctuate. Therefore, in this embodiment of the invention, to ensure that the user is not disturbed by system vibration and noise throughout the entire operation of the air conditioner, motor torque compensation can be performed throughout the entire operation of the air conditioner.
[0044] In step S102, in this embodiment of the invention, the operating frequency of the motor can be divided into multiple preset frequency ranges. The number of preset frequency ranges can be set according to actual needs, such as dividing it into 4 ranges, 5 ranges, etc.
[0045] It should be noted that the motor operating frequency to be divided, i.e. the maximum frequency among multiple preset frequency ranges, is determined based on the following parameters: the upper limit of the frequency for torque compensation, the requirement for suppressing pipeline vibration, and the output capability of the electronic control device corresponding to the motor.
[0046] Specifically, taking a compressor as an example, the torque compensation process includes data acquisition, calculation, and final output to the compressor. This process is related to the processor's computing power, which has a fixed time frame. Torque compensation essentially compensates for speed fluctuations, which are equal to the compressor's operating frequency. That is, assuming the compressor's operating frequency is 100Hz, the required torque compensation signal is also 100Hz. If the processor can support a higher maximum signal frequency, such as 600Hz, then it can be determined that torque compensation can be performed well. In one embodiment, the compressor's actual maximum operating frequency is 82Hz, while the processor can support a maximum signal frequency of 600Hz. Therefore, the entire compressor operating frequency range can be compensated normally; that is, the upper limit of the torque compensation frequency is the maximum value of the compressor's operating frequency.
[0047] Continuing with the example above, considering the need to suppress pipeline vibration, such as the need to compensate for the stress of the piping only up to 71Hz, if compensation is still performed above 71Hz, although the effect on pipeline vibration will be better, the output current of the electronic control device is larger at high frequencies, and the output current will be even larger after additional compensation. Taking all factors into consideration, it can be considered that compensating up to 71Hz is more reasonable.
[0048] To better understand the division of the preset frequency range, in this embodiment of the invention, taking a certain model of portable air conditioner as an example, the operating frequency of its compressor is divided into four ranges: less than or equal to 65Hz, greater than 65Hz and less than or equal to 67Hz, greater than 67Hz and less than or equal to 69Hz, and greater than 69Hz.
[0049] Furthermore, after obtaining the motor's current operating frequency, the current operating frequency is compared with multiple preset frequency ranges, and a target frequency range that includes the current operating frequency is determined from among the multiple preset frequency ranges. Using the example above, when the current operating frequency is 66Hz, the target frequency range is determined to be greater than 65Hz and less than or equal to 67Hz.
[0050] Step S103: To reasonably compensate for the motor torque, in this embodiment of the invention, a corresponding torque compensation parameter is set for each preset frequency range. The torque compensation parameter can be the torque compensation current amplitude or the torque compensation voltage amplitude, and is not limited here. Specifically, the torque compensation parameter corresponding to each preset frequency range can be fixed or variable. In this embodiment of the invention, the correspondence configured for each preset frequency range can be a first correspondence for pre-configuring torque compensation parameters for each preset frequency range, and / or a second correspondence for pre-configuring torque compensation parameters for both the maximum and minimum values of each preset frequency range.
[0051] For the first correspondence, the torque compensation parameter corresponding to each preset frequency range can be fixed. Please refer to Table 1 for details. The torque compensation parameter in Table 1 is the torque compensation current amplitude, represented by I. The preset frequency range in Table 1 is represented by the interval where F is located.
[0052] Table 1
[0053] Preset frequency range Torque compensation current amplitude (I) F≤65Hz 1.5A 65Hz<F≤67Hz 1A 67Hz<F≤69Hz 0.5A F > 69Hz 0
[0054] It should be noted that as the preset frequency range increases, the torque compensation current decreases. Specifically, taking the compressor of an air conditioner as an example, during the operation of the compressor, if the operating frequency is low, the corresponding load is light and the speed fluctuation is large, so a large torque compensation current needs to be applied; if the operating frequency of the compressor is high, the speed fluctuation in the corresponding load is small, but the load will cause the output current of the electronic control device to be large, so the torque compensation current cannot be too large in this case.
[0055] Correspondingly, when using the first correspondence to determine the target torque compensation parameters, the specific implementation method is as follows: based on the first correspondence within the target frequency range, the torque compensation parameters pre-configured for the target frequency range are used as the target torque compensation parameters.
[0056] Specifically, if the torque compensation parameters corresponding to each preset frequency range are pre-configured fixed values, then as the motor operating frequency increases, the torque compensation parameters decrease in a step manner, such as... Figure 2 As shown. Figure 2 In this system, the motor's operating frequency is divided into five preset frequency ranges: the first preset frequency range is less than or equal to F1; the second preset frequency range is greater than F1 and less than or equal to F2; the third preset frequency range is greater than F2 and less than or equal to F3; the fourth preset frequency range is greater than F3 and less than or equal to F4; and the fifth preset frequency range is greater than F4. The torque compensation current amplitude corresponding to the first preset frequency range is I1; the torque compensation current amplitude corresponding to the second preset frequency range is I2; the torque compensation current amplitude corresponding to the third preset frequency range is I3; the torque compensation current amplitude corresponding to the fourth preset frequency range is I4; and the torque compensation current amplitude corresponding to the fifth preset frequency range is 0.
[0057] The current operating frequency of the motor is represented by F. r It means, then based on Figure 2 The change curve of the target torque compensation parameter, i.e., the target torque compensation current amplitude I. m The calculation method is as follows:
[0058]
[0059] For the second correspondence, for each preset frequency range, corresponding torque compensation parameters are configured for the maximum and minimum values of that preset frequency range. It should be noted that two adjacent preset frequency ranges can be consecutive, meaning they share the same boundary point; for example, the maximum value of the previous preset frequency range may be the minimum value of the next preset frequency range. Alternatively, two adjacent preset frequency ranges can be spaced out; for example, the maximum value of the previous preset frequency range may be less than the minimum value of the next preset frequency range. This is not a limitation here.
[0060] When using the second correspondence to determine the target torque compensation parameter, the specific implementation method can be as follows: determine the maximum value and minimum value of the target frequency range; based on the second correspondence within the target frequency range, determine the first torque compensation parameter corresponding to the maximum value of the target frequency range and the second torque compensation parameter corresponding to the minimum value of the target frequency range; and determine the target torque compensation parameter based on the first torque compensation parameter and the second torque compensation parameter.
[0061] For example, if the target frequency range is greater than F1 and less than or equal to F2, then according to the second correspondence, the first torque compensation parameter corresponding to F2 is determined, for example, I2, and the second torque compensation parameter corresponding to F1 is determined, for example, I1.
[0062] Furthermore, based on the first torque compensation parameter and the second torque compensation parameter, the target torque compensation parameter is determined. In specific implementation, a curve showing the variation between the torque compensation parameter and the operating frequency can be determined based on the first and second torque compensation parameters. This curve ensures that the torque compensation parameter gradually decreases as the operating frequency increases, thus preventing the motor from experiencing increased vibration due to sudden changes in torque compensation. Based on this curve, the target torque compensation parameter corresponding to the current operating frequency is calculated.
[0063] In this embodiment of the invention, the target torque compensation parameters can be determined by interpolation calculation. The specific steps are as follows: interpolation is performed based on the first torque compensation parameter, the second torque compensation parameter, the maximum value of the target frequency range, the minimum value of the target frequency range, and the current operating frequency to obtain the target torque compensation parameters.
[0064] Continuing with the example above where the target frequency range is greater than F1 and less than or equal to F2, that is, the current operating frequency Fr of the motor is F1 < F2. r ≤F2, when the torque compensation parameter is the torque compensation current amplitude, the target torque compensation current amplitude I m It can be determined using the following interpolation formula:
[0065]
[0066] It should be noted that, in the embodiments of the present invention, only a first correspondence can be set for each preset frequency range, so the target torque compensation parameter can be determined solely by the first correspondence; or only a second correspondence can be set for each preset frequency range, so the target torque compensation parameter can be determined solely by the second correspondence; or a first correspondence can be set for some preset frequency ranges and a second correspondence can be set for some preset frequency ranges, so the target torque compensation parameter can be determined by the corresponding first or second correspondence.
[0067] Specifically, when the motor operates at a low frequency, speed fluctuations are large. To minimize motor vibration and noise, a fixed, relatively large torque compensation parameter is used when the motor's operating frequency is below a first threshold. Conversely, when the motor operates at a high frequency, to control the output current or voltage of the electronic control devices, a fixed, smaller torque compensation parameter can be applied, or no torque compensation parameter can be applied at all, when the motor's operating frequency is above a second threshold. When the motor's operating frequency is between the first and second thresholds, the torque compensation parameter can be gradually changed based on a second correspondence, ensuring a slow change to avoid increased vibration caused by abrupt torque compensation changes. The first and second thresholds can be set according to actual needs and are not limited here.
[0068] Based on this, in this embodiment of the invention, the target torque compensation parameter can also be determined in the following way: determining whether the current operating frequency is greater than a first threshold and less than or equal to a second threshold; if yes, determining the target torque compensation parameter based on a second correspondence between frequency and torque compensation parameter within the target frequency range; if no, determining the target torque compensation parameter based on a first correspondence between frequency and torque compensation parameter within the target frequency range.
[0069] For ease of explanation, let's take multiple consecutive preset frequency ranges as an example. The first preset frequency range is less than or equal to F1, the second preset frequency range is greater than F1 and less than or equal to F2, and the third preset frequency range is greater than F2. The first threshold is F1, and the second threshold is F2. The first preset frequency range is configured with a first correspondence, that is, a fixed torque compensation parameter I1 is configured. The second preset frequency range is configured with a second correspondence, that is, F1 is configured with a second torque compensation parameter I1, and F2 is configured with a first torque compensation parameter I2, where I2 is 0. The third preset frequency range is configured with a first correspondence, that is, a fixed torque compensation parameter is configured. If no compensation is performed, the torque compensation parameter is 0.
[0070] So, the current operating frequency of the motor is F r At that time, the corresponding target torque compensation current I m The calculation method is as follows:
[0071]
[0072] The trend of the target torque compensation current with the motor operating frequency is as follows: Figure 3 As shown. Figure 3 As shown, when the motor's operating frequency is less than F1 or higher than F2, a fixed torque compensation parameter is used for torque compensation. When the motor's operating frequency is between F1 and F2, the torque compensation parameter decreases linearly to ensure that the torque compensation does not change abruptly.
[0073] It should be noted that the torque compensation parameters in the first and second correspondences can be determined based on the actual motor performance. For example, the torque compensation parameters can depend on the requirements of piping vibration stress (i.e., the magnitude of the current / voltage required to suppress fluctuations) and the limits of the electronic control output. Specifically, taking the torque compensation current amplitude as an example, at lower operating frequencies, the load is light and speed fluctuations are large, requiring a large compensation current. At higher operating frequencies, the load is heavy and speed fluctuations are small, but the heavy load causes a large output current from the electronic control device, so the compensation current cannot be too large. Furthermore, the limits of the electronic control output are most directly reflected in the heating and output limits of power devices. Taking air conditioners as an example, these include the ripple voltage of the rectifier bus electrolytic capacitor, the compressor winding withstand current limit, and the compressor magnet demagnetization limit current. Therefore, the torque compensation current is usually different for different types of electrical equipment.
[0074] In summary, the motor torque compensation method provided in this embodiment of the invention determines torque compensation parameters that match the current operating frequency of the motor, making torque compensation more reasonable and effectively reducing system pipeline vibration and noise caused by motor operation. For portable devices, such as portable air conditioners, which have integrated indoor and outdoor units and small structural dimensions, and are sensitive to system load fluctuations, the motor matrix compensation method provided in this embodiment of the invention can effectively reduce vibration and noise in such devices, improving the user experience.
[0075] like Figure 4 As shown, this embodiment of the invention also provides a motor torque compensation device, which includes:
[0076] The acquisition module 41 is used to acquire the current operating frequency of the motor;
[0077] The frequency range determination module 42 is used to determine the target frequency range in which the current operating frequency is located based on multiple preset frequency ranges of the motor.
[0078] The compensation parameter determination module 43 is used to determine the target torque compensation parameter corresponding to the current operating frequency based on the correspondence between frequency and torque compensation parameters within the target frequency range;
[0079] The control module 44 is used to compensate the motor torque based on the target torque compensation parameters.
[0080] In some implementations, the correspondence between frequency and torque compensation parameters within each preset frequency range includes: a first correspondence for torque compensation parameters pre-configured for each preset frequency range; and a second correspondence for torque compensation parameters pre-configured for both the maximum and minimum values of each preset frequency range.
[0081] In some implementations, the compensation parameter determination module 43 is used for:
[0082] Based on the first correspondence within the target frequency range, the torque compensation parameters pre-configured for the target frequency range are used as the target torque compensation parameters.
[0083] In some implementations, the compensation parameter determination module 43 is used for:
[0084] Determine the maximum and minimum values of the target frequency range;
[0085] Based on the second correspondence within the target frequency range, a first torque compensation parameter corresponding to the maximum value of the target frequency range and a second torque compensation parameter corresponding to the minimum value of the target frequency range are determined.
[0086] The target torque compensation parameter is determined based on the first torque compensation parameter and the second torque compensation parameter.
[0087] In some implementations, the compensation parameter determination module 43 is used for:
[0088] Determine whether the current operating frequency is greater than a first threshold and less than or equal to a second threshold;
[0089] If so, the target torque compensation parameter is determined based on the second correspondence between the frequency and the torque compensation parameter within the target frequency range;
[0090] If not, the target torque compensation parameter is determined based on the first correspondence between the frequency and the torque compensation parameter within the target frequency range.
[0091] In some implementations, the compensation parameter determination module 43 is used for:
[0092] The target torque compensation parameters are obtained by interpolation based on the first torque compensation parameter, the second torque compensation parameter, the maximum value of the target frequency range, the minimum value of the target frequency range, and the current operating frequency.
[0093] In some implementations, the maximum frequency in the plurality of preset frequency ranges is determined based on the following parameters: the upper limit of the frequency for torque compensation, the requirement for suppressing pipeline vibration, and the output capability of the electronic control device corresponding to the motor.
[0094] In some implementations, the target torque compensation parameter decreases as the current operating frequency increases.
[0095] Regarding the above-mentioned device, the specific functions of each module have been described in detail in the embodiments of the motor torque compensation method provided in this specification, and will not be elaborated here.
[0096] Based on the same inventive concept, embodiments of the present invention provide a compressor, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the motor torque compensation method provided in embodiments of the present invention.
[0097] Based on the same inventive concept, this embodiment of the invention provides a fan, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the motor torque compensation method provided in this embodiment of the invention.
[0098] Based on the same inventive concept, embodiments of the present invention provide an air conditioner, such as... Figure 5 As shown, it includes a memory 404, a processor 402, and a computer program stored in the memory 404 and executable on the processor 402. When the processor 402 executes the program, it implements the steps of the motor torque compensation method described above.
[0099] Among them, Figure 5In this document, a bus architecture (represented by bus 400) is used. Bus 400 may include any number of interconnected buses and bridges, linking various circuits including one or more processors represented by processor 402 and memory represented by memory 404. Bus 400 may also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. Bus interface 406 provides an interface between bus 400 and receiver 401 and transmitter 403. Receiver 401 and transmitter 403 may be the same element, i.e., a transceiver, providing a unit for communicating with various other devices over a transmission medium. Processor 402 is responsible for managing bus 400 and general processing, while memory 404 can be used to store data used by processor 402 during operation.
[0100] The functions described herein can be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions can be stored as one or more instructions or codes on or transmitted via a computer-readable medium. Other examples and embodiments are within the scope and spirit of this invention and the appended claims. For example, due to the nature of software, the functions described above can be implemented using software executed by a processor, hardware, firmware, hardwired, or any combination thereof. Furthermore, the functional units can be integrated into a single processing unit, or each unit can exist physically separately, or two or more units can be integrated into a single unit.
[0101] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0102] The units described as separate components may or may not be physically separate. Similarly, the components of the control device may or may not be physical units; they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0103] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0104] The above description is merely an embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of the claims of the present invention.
Claims
1. A method for motor torque compensation, characterized in that, include: Obtain the current operating frequency of the motor; Based on multiple preset frequency ranges of the motor, the target frequency range in which the current operating frequency is located is determined. The maximum frequency in the multiple preset frequency ranges is determined based on the following parameters: the upper limit of the frequency for torque compensation, the suppression requirements for pipeline vibration, and the output capability of the electronic control device corresponding to the motor. Based on the correspondence between frequency and torque compensation parameters within the target frequency range, the target torque compensation parameter corresponding to the current operating frequency is determined, including: determining whether the current operating frequency is greater than a first threshold and less than or equal to a second threshold; if yes, the target torque compensation parameter is determined based on the second correspondence between frequency and torque compensation parameters within the target frequency range; if no, the target torque compensation parameter is determined based on the first correspondence between frequency and torque compensation parameters within the target frequency range. The motor torque is compensated based on the target torque compensation parameters; The correspondence between frequency and torque compensation parameters within each preset frequency range includes: a first correspondence for torque compensation parameters pre-configured for each preset frequency range; and a second correspondence for torque compensation parameters pre-configured for both the maximum and minimum values of each preset frequency range.
2. The method as described in claim 1, characterized in that, The step of determining the target torque compensation parameter corresponding to the current operating frequency based on the correspondence between frequency and torque compensation parameter within the target frequency range includes: Based on the first correspondence within the target frequency range, the torque compensation parameters pre-configured for the target frequency range are used as the target torque compensation parameters.
3. The method as described in claim 1, characterized in that, The step of determining the target torque compensation parameter corresponding to the current operating frequency based on the correspondence between frequency and torque compensation parameter within the target frequency range includes: Determine the maximum and minimum values of the target frequency range; Based on the second correspondence within the target frequency range, a first torque compensation parameter corresponding to the maximum value of the target frequency range and a second torque compensation parameter corresponding to the minimum value of the target frequency range are determined. The target torque compensation parameter is determined based on the first torque compensation parameter and the second torque compensation parameter.
4. The method as described in claim 3, characterized in that, Determining the target torque compensation parameter based on the first torque compensation parameter and the second torque compensation parameter includes: The target torque compensation parameters are obtained by interpolation based on the first torque compensation parameter, the second torque compensation parameter, the maximum value of the target frequency range, the minimum value of the target frequency range, and the current operating frequency.
5. The method as described in claim 1, characterized in that, As the current operating frequency increases, the target torque compensation parameter decreases.
6. A motor torque compensation device, characterized in that, include: The acquisition module is used to acquire the current operating frequency of the motor; The frequency range determination module is used to determine the target frequency range in which the current operating frequency is located based on multiple preset frequency ranges of the motor. The maximum frequency in the multiple preset frequency ranges is determined based on the following parameters: the upper limit of the frequency for torque compensation, the suppression requirements for pipeline vibration, and the output capability of the electronic control device corresponding to the motor. The compensation parameter determination module is used to determine the target torque compensation parameter of the motor based on the target frequency range, including: determining whether the current operating frequency is greater than a first threshold and less than or equal to a second threshold; if so, determining the target torque compensation parameter based on a second correspondence between frequency and torque compensation parameter within the target frequency range; if not, determining the target torque compensation parameter based on a first correspondence between frequency and torque compensation parameter within the target frequency range. The control module is used to compensate the motor torque based on the target torque compensation parameters; The correspondence between frequency and torque compensation parameters within each preset frequency range includes: a first correspondence for torque compensation parameters pre-configured for each preset frequency range; and a second correspondence for torque compensation parameters pre-configured for both the maximum and minimum values of each preset frequency range.
7. A compressor, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the method of any one of claims 1-5.
8. A fan, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the method of any one of claims 1-5.
9. An air conditioner, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the method of any one of claims 1-5.
10. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed by a processor, implements the steps of the method according to any one of claims 1-5.