Control method, system and related device for compressor demagnetization current protection

By obtaining the relationship between the compressor's stator resistance value and temperature range, the demagnetization current protection setting value is dynamically adjusted, solving the problems of inaccurate compressor demagnetization current protection and untimely response in the existing technology, and achieving more accurate protection and higher safety.

CN122247283APending Publication Date: 2026-06-19SHENZHEN SHANCHUAN HAIZE WANXIANG TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN SHANCHUAN HAIZE WANXIANG TECHNOLOGY CO LTD
Filing Date
2024-12-17
Publication Date
2026-06-19

Smart Images

  • Figure CN122247283A_ABST
    Figure CN122247283A_ABST
Patent Text Reader

Abstract

This application relates to a control method, system, and related equipment for compressor demagnetization current protection. The method includes: acquiring the current value of the compressor during operation; converting the current value to obtain the stator resistance value of the compressor; acquiring the compressor temperature corresponding to the stator resistance value; determining the demagnetization current value corresponding to the temperature range where the compressor temperature is located as the demagnetization current protection setpoint according to a pre-established correspondence between demagnetization current values ​​and temperature ranges; and performing protection control on the compressor based on the demagnetization current protection setpoint. This application solves the technical problems in the prior art where compressor demagnetization current protection uses a fixed current protection value and an adjustment method based on ambient temperature, resulting in inaccurate protection and untimely response. It achieves more accurate and timely protection, while optimizing the compressor's performance at different temperatures, improving safety and the range of motor applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of compressor control, and in particular to a control method, system and related equipment for compressor demagnetization current protection. Background Technology

[0002] Permanent magnet synchronous motors (PMSMs) offer advantages such as small size, high efficiency, and high power density. Most compressors use PMSMs, which employ permanent magnet materials and are subject to demagnetization. Currently, demagnetization is primarily prevented by limiting the three-phase current through a controller. Three-phase current limiting protection currently employs either a fixed current protection value or a combination of demagnetization current and temperature monitoring, with the temperature being ambient temperature. However, the former, using a fixed current protection value, prevents the compressor from operating at its maximum capacity across most temperature ranges, and at high temperatures, the demagnetization current protection setting is too high, failing to provide timely protection. The latter method, using ambient temperature, has a discrepancy and lag between ambient temperature and the actual motor temperature.

[0003] There is currently no effective solution to the above problems. Summary of the Invention

[0004] This application provides a control method, system, and related equipment for compressor demagnetization current protection, which at least solves the technical problems in the prior art where compressor demagnetization current protection uses a fixed current protection value and an adjustment method based on ambient temperature, resulting in inaccurate protection and untimely response.

[0005] According to one aspect of the embodiments of this application, a control method for compressor demagnetization current protection is provided, comprising: acquiring the current value of the compressor during operation; converting the current value to obtain the stator resistance value of the compressor, acquiring the compressor temperature corresponding to the stator resistance value, determining the demagnetization current value corresponding to the temperature range in which the compressor temperature is located as a demagnetization current protection setting value according to a pre-established correspondence between demagnetization current value and temperature range; and performing protection control on the compressor based on the demagnetization current protection setting value.

[0006] Optionally, obtaining the stator resistance value of the compressor based on the current current value includes: converting the current current value using a recursive least squares method with a forgetting factor to obtain the stator resistance value of the compressor.

[0007] Optionally, the current current value is transformed using a recursive least squares method with a forgetting factor to obtain the stator resistance value of the compressor, including: establishing a voltage equation in a two-phase rotating coordinate system of dq axes; wherein the voltage equation comprises d-axis inductance, q-axis inductance, stator resistance, flux linkage, and d-axis voltage, d-axis current, q-axis voltage, and q-axis current values ​​obtained based on the current current value; transforming the voltage equation into a matrix expression using the least squares method; wherein the matrix expression comprises a parameter matrix composed of the stator resistance, d-axis inductance, and q-axis inductance; adjusting the parameter matrix in the matrix expression using a parameter approximation formula with a forgetting factor to obtain a correction coefficient matrix; wherein the stator resistance value in the correction coefficient matrix is ​​used as the stator resistance value of the compressor.

[0008] Optionally, obtaining the compressor temperature corresponding to the stator resistance value includes: obtaining a pre-established correspondence between stator resistance and compressor temperature; and obtaining the compressor temperature corresponding to the stator resistance value based on the correspondence between stator resistance and compressor temperature.

[0009] Optionally, according to a pre-established correspondence between demagnetizing current values ​​and temperature ranges, the demagnetizing current value corresponding to the temperature range where the compressor temperature is located is determined as the demagnetizing current protection setting value, including: obtaining the correspondence between the demagnetizing current values ​​and temperature ranges; wherein, each temperature range corresponds to one demagnetizing current value; matching the compressor temperature with the temperature range to obtain the temperature range where the compressor temperature is located; based on the correspondence between the demagnetizing current values ​​and temperature ranges, obtaining the demagnetizing current value corresponding to the temperature range where the compressor temperature is located, and setting the demagnetizing current protection value to the demagnetizing current value corresponding to the temperature range where the compressor temperature is located.

[0010] Optionally, the compressor is protected based on the demagnetizing current protection setting value, including: comparing the demagnetizing current protection setting value with the current current value; if the demagnetizing current protection setting value is less than the current current value, controlling the compressor to continue running; if the demagnetizing current protection setting value is greater than or equal to the current current value, controlling the compressor to stop running.

[0011] According to another aspect of the embodiments of this application, a control system for compressor demagnetization current protection is provided, comprising: a current acquisition module for acquiring the current current value during compressor operation; an information processing module for converting the current current value to obtain the stator resistance value of the compressor, acquiring the compressor temperature corresponding to the stator resistance value, and determining the demagnetization current value corresponding to the temperature range in which the compressor temperature is located as a demagnetization current protection setting value according to a pre-established correspondence between demagnetization current value and temperature range; and a control module for performing protection control on the compressor based on the demagnetization current protection setting value.

[0012] According to another aspect of the embodiments of this application, an air conditioner is provided, the air conditioner including the control system for compressor demagnetization current protection described above.

[0013] According to another aspect of the embodiments of this application, an electronic device is provided, including: a processor, and a memory storing a program, the program including instructions that, when executed by the processor, cause the processor to perform the control method for compressor demagnetization current protection described above.

[0014] According to another aspect of the present application, a non-transitory machine-readable medium storing computer instructions is provided, the computer instructions being used to cause the computer to execute the control method for compressor demagnetization current protection described above.

[0015] In this embodiment, the current current value of the compressor during operation is obtained; the stator resistance value of the compressor is converted based on the current current value, and the compressor temperature corresponding to the stator resistance value is obtained. According to the pre-established correspondence between the demagnetizing current value and the temperature range, the demagnetizing current value corresponding to the temperature range where the compressor temperature is located is determined as the demagnetizing current protection setting value; the compressor is protected and controlled based on the demagnetizing current protection setting value. That is, by introducing a method of real-time temperature estimation based on stator resistance and dynamic adjustment of the demagnetizing current protection setting value, the technical problems of insufficient protection and untimely response caused by the use of fixed current protection value and adjustment method based on ambient temperature in the prior art are solved, achieving more accurate and timely protection. At the same time, the performance of the compressor at different temperatures is optimized, and the technical effects of improving safety and the range of motor use are improved. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other embodiments can be obtained based on these drawings without creative effort.

[0017] Figure 1 A flowchart illustrating the control method for compressor demagnetization current protection provided in this application embodiment;

[0018] Figure 2 A schematic diagram of a compressor demagnetization current protection control system provided in an embodiment of this application;

[0019] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0020] Embodiments of this application will now be described in more detail with reference to the accompanying drawings. While some embodiments of this application are shown in the drawings, it should be understood that embodiments of this application can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the embodiments of this application. It should be understood that the accompanying drawings and embodiments are for illustrative purposes only and are not intended to limit the scope of protection of this application.

[0021] According to one aspect of the embodiments of this application, a control method for compressor demagnetization current protection is provided. Figure 1 A flowchart of the control method for compressor demagnetization current protection provided in the embodiments of this application is shown below. Figure 1 As shown, the method includes the following steps:

[0022] Step S102: Obtain the current value of the compressor during operation; for example, monitor the three-phase current of the compressor in real time and collect this current data.

[0023] Step S104: Based on the current current value, the stator resistance value of the compressor is obtained, the compressor temperature corresponding to the stator resistance value is obtained, and according to the pre-established correspondence between the demagnetizing current value and the temperature range, the demagnetizing current value corresponding to the temperature range where the compressor temperature is located is determined as the demagnetizing current protection setting value.

[0024] For example, the recursive least squares (RLS) method with a forgetting factor is used to process the current value to calculate the compressor's stator resistance. This method can identify motor parameters online without additional sensors. Based on the stator resistance and a pre-established stator resistance-temperature correspondence, the current compressor temperature is estimated. Following a pre-established correspondence between demagnetizing current values ​​and temperature ranges, the temperature range in which the current temperature falls is located, and the corresponding demagnetizing current protection setting is obtained.

[0025] Step S106: Perform protective control on the compressor based on the demagnetization current protection setting value.

[0026] For example, the demagnetizing current protection setting value is compared with the current current value. If the demagnetizing current protection setting value is greater than or equal to the current current value, the protection mechanism is triggered to control the compressor to stop running; otherwise, the compressor is allowed to continue running.

[0027] In this embodiment, the current current value of the compressor during operation is obtained; the stator resistance value of the compressor is converted based on the current current value, and the compressor temperature corresponding to the stator resistance value is obtained. According to the pre-established correspondence between the demagnetizing current value and the temperature range, the demagnetizing current value corresponding to the temperature range where the compressor temperature is located is determined as the demagnetizing current protection setting value; the compressor is protected and controlled based on the demagnetizing current protection setting value. That is, by introducing a method of real-time temperature estimation based on stator resistance and dynamic adjustment of the demagnetizing current protection setting value, the technical problems of insufficient protection and untimely response caused by the use of fixed current protection value and adjustment method based on ambient temperature in the prior art are solved. This achieves more accurate and timely protection, while optimizing the performance of the compressor at different temperatures, improving safety and the range of motor applications.

[0028] As an optional embodiment, the stator resistance value of the compressor is obtained based on the current current value, including: converting the current current value using a recursive least squares method with a forgetting factor to obtain the stator resistance value of the compressor. Specifically, converting the current current value using a recursive least squares method with a forgetting factor to obtain the stator resistance value of the compressor includes: establishing a voltage equation in a two-phase rotating coordinate system of dq axes; wherein the voltage equation consists of d-axis inductance value, q-axis inductance value, stator resistance value, flux linkage, and d-axis voltage value, d-axis current value, q-axis voltage value, and q-axis current value obtained based on the current current value; transforming the voltage equation into a least squares matrix expression; wherein the matrix expression includes a parameter matrix composed of stator resistance value, d-axis inductance value, and q-axis inductance value; adjusting the parameter matrix in the matrix expression using a parameter approximation formula with a forgetting factor to obtain a correction coefficient matrix; wherein the stator resistance value in the correction coefficient matrix is ​​used as the stator resistance value of the compressor.

[0029] Alternatively, the recursive least squares method with a forgetting factor, for a two-phase rotating coordinate system along the dq axis, has the following voltage equation:

[0030]

[0031] Among them, u d U represents the d-axis voltage value. q L represents the q-axis voltage value. d L represents the d-axis inductance value. q Indicates the q-axis inductance value, i d Indicates the d-axis current value, iq Indicates the q-axis current value. Indicates magnetic flux linkage, R s This indicates the stator resistance value.

[0032] Furthermore, the voltage equation can be modified using the least squares method as follows:

[0033]

[0034] Substituting the terms in the matrix expression that correspond to the least squares formula into the least squares formula, we get:

[0035]

[0036] Furthermore, based on the approximation method, the parameter approximation formula with a forgetting factor is established as follows:

[0037]

[0038] Where θ(k) is the least squares estimate, containing the stator resistance to be calculated, y(k) is the output matrix, and θ(k) is the parameter matrix. Let K be the input matrix, K(k) be the correction coefficient matrix at time K, P(k) be the covariance coefficient matrix at time K, λ be the forgetting factor, K represent time K, and p represent the differential operator, which is equivalent to d / dt.

[0039] In the above steps, by continuously updating the initial correction coefficients, a more accurate correction coefficient matrix is ​​obtained, thereby improving the identification efficiency and reliability of the identification results of electrical parameters.

[0040] In the embodiments of this application, an online identification algorithm is used, which allows for dynamic adjustment and acquisition of the latest stator resistance value during motor operation, improving the real-time performance and accuracy of parameter estimation. The forgetting factor feature enables the algorithm to reduce the influence of historical data and assign greater weight to new data, making the calculated stator resistance closer to the actual stator resistance. By directly extracting the stator resistance from the motor's internal signals, this method better reflects the actual operating conditions compared to traditional methods (such as those based on ambient temperature), reducing false alarms caused by external factors.

[0041] As an optional embodiment, obtaining the compressor temperature corresponding to the stator resistance value includes: obtaining a pre-established correspondence between stator resistance and compressor temperature; and obtaining the compressor temperature corresponding to the stator resistance value based on the correspondence between stator resistance and compressor temperature.

[0042] Optionally, the stator resistance of the compressor can be measured under different temperature conditions through laboratory testing or computer simulation. Stator resistance values ​​measured at various stable temperatures are collected, and the corresponding temperature values ​​are recorded. Then, these data are statistically analyzed to determine the trend of stator resistance change with temperature. Based on the analysis results, a stator resistance-temperature mapping table can be constructed, or a mathematical formula for directly calculating temperature can be derived.

[0043] Optionally, during compressor operation, a current sampling module continuously collects three-phase current, and an online identification algorithm (such as recursive least squares with a forgetting factor) is used to calculate the stator resistance in real time. The calculated stator resistance value is then input into a previously established mapping table or formula to find or calculate the corresponding compressor temperature. For the mapping table, interpolation can be used to obtain more accurate results; for the formula, direct substitution is sufficient for calculation. Based on the current temperature and the preset demagnetizing current-temperature range correspondence, the demagnetizing current protection setting is dynamically adjusted to ensure the compressor operates within a safe range.

[0044] In the embodiments of this application, by establishing a stator resistance-temperature correspondence, more accurate internal temperature information can be provided compared to traditional methods that rely on ambient temperature, reducing errors caused by external factors. Accurate temperature feedback can better match the demagnetizing current protection setting, enabling the compressor to maximize its performance under different temperature environments. No additional temperature sensor is required, reducing hardware costs and system complexity, while also minimizing maintenance issues caused by sensor failure.

[0045] As an optional embodiment, according to a pre-established correspondence between demagnetizing current values ​​and temperature ranges, the demagnetizing current value corresponding to the temperature range where the compressor temperature is located is determined as the demagnetizing current protection setting value, including: obtaining the correspondence between demagnetizing current values ​​and temperature ranges; wherein, each temperature range corresponds to a demagnetizing current value; matching the compressor temperature with the temperature range to obtain the temperature range where the compressor temperature is located; based on the correspondence between demagnetizing current values ​​and temperature ranges, obtaining the demagnetizing current value corresponding to the temperature range where the compressor temperature is located, and setting the demagnetizing current protection value to the demagnetizing current value corresponding to the temperature range where the compressor temperature is located.

[0046] Optionally, a correspondence between demagnetizing current and temperature ranges is established based on the compressor's characteristics and actual application requirements. These relationships can be derived through experiments, simulations, or theoretical analysis, taking into account the motor's safe operating limits at different temperatures. This correspondence is organized into a mapping table, where each temperature range is associated with a specific demagnetizing current value. During compressor operation, a current sampling module continuously collects the three-phase current, and an online identification algorithm (such as recursive least squares with a forgetting factor) is used to calculate the stator resistance in real time. Based on the stator resistance and the pre-established stator resistance-temperature correspondence, the current compressor temperature is calculated. The calculated compressor temperature is compared with the temperature ranges in the mapping table to find the temperature range in which the compressor temperature falls. The corresponding demagnetizing current value is read from the mapping table based on the matched temperature range. The demagnetizing current protection value is set to the read demagnetizing current value. The control module monitors and limits the compressor current based on this setting to prevent demagnetization risks caused by overcurrent.

[0047] In the embodiments of this application, the above process is continuously repeated as the compressor temperature changes, ensuring that the demagnetizing current protection setting value always adapts to the current operating conditions and provides the most suitable protection. By dynamically adjusting the demagnetizing current protection setting value, more precise protection can be provided for the compressor under different temperature conditions, effectively avoiding demagnetization of permanent magnet materials caused by overcurrent, and ensuring the safety and reliability of the equipment.

[0048] As an optional embodiment, the compressor is protected based on the demagnetizing current protection setting value, including: comparing the demagnetizing current protection setting value with the current current value; if the demagnetizing current protection setting value is less than the current current value, the compressor is controlled to continue running; if the demagnetizing current protection setting value is greater than or equal to the current current value, the compressor is controlled to stop running.

[0049] Optionally, when the compressor starts, a default demagnetizing current protection setting is set (based on ambient temperature or a preset safety value). The compressor's three-phase current is continuously monitored, and an online identification algorithm (e.g., recursive least squares with a forgetting factor) is used to calculate the stator resistance. The current compressor temperature is estimated based on the stator resistance-temperature correlation. According to a pre-established demagnetizing current-temperature range mapping table, the temperature range in which the current temperature falls is found, and the corresponding demagnetizing current protection setting is obtained. The latest demagnetizing current protection setting is compared with the current actual current value. If the demagnetizing current protection setting is less than the current current value, the motor is considered to be operating within a safe range, and the compressor is allowed to continue running. If the demagnetizing current protection setting is greater than or equal to the current current value, the motor is considered to be at risk of demagnetization, triggering the protection mechanism and stopping the compressor.

[0050] Furthermore, when the protection mechanism is triggered, a stop command is sent to the compressor to cut off the power supply or take other necessary measures to ensure motor safety. Simultaneously, an alarm is issued to notify the operator, and an event log is recorded for subsequent analysis and maintenance. Additionally, monitoring continues until the condition that caused the protection action is detected to have been removed (e.g., current drops to a safe range or temperature decreases).

[0051] In the embodiments of this application, the method can take swift action upon detecting a potential risk of demagnetization, preventing the permanent magnet material from demagnetizing due to overcurrent and ensuring the safety of the compressor and its related systems. By dynamically adjusting the demagnetization current protection setting, the compressor can maximize its performance under different temperature environments while ensuring that it does not exceed safety limits, thereby improving system efficiency.

[0052] According to another aspect of the embodiments of this application, a control system for compressor demagnetization current protection is provided. Figure 2 A schematic diagram of the control system for compressor demagnetization current protection provided in this application embodiment is shown below. Figure 2 As shown, the control system for compressor demagnetization current protection includes: a current acquisition module 202, an information processing module 204, and a control module 206. The control system for compressor demagnetization current protection will be described in detail below.

[0053] The current acquisition module 202 is used to acquire the current value of the compressor during operation;

[0054] The information processing module 204 is used to convert the current current value to obtain the stator resistance value of the compressor, obtain the compressor temperature corresponding to the stator resistance value, and determine the demagnetizing current value corresponding to the temperature range where the compressor temperature is located as the demagnetizing current protection setting value according to the pre-established correspondence between the demagnetizing current value and the temperature range.

[0055] The control module 206 is used to perform protective control on the compressor based on the demagnetization current protection setting value.

[0056] In this embodiment, the control system for compressor demagnetization current protection solves the technical problems of insufficient protection and untimely response caused by the use of fixed current protection values ​​and ambient temperature-based adjustment methods in the prior art for compressor demagnetization current protection. This is achieved by introducing a method based on real-time temperature estimation of stator resistance and dynamic adjustment of demagnetization current protection setting value. The system achieves more accurate and timely protection, while also optimizing the performance of the compressor at different temperatures and improving safety and the range of motor applications.

[0057] It should be noted that the current acquisition module 202, information processing module 204 and control module 206 mentioned above correspond to steps S102 to S106 in the method embodiment. The examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the content disclosed in the above method embodiment.

[0058] Optionally, the information processing module 204 includes a conversion unit for converting the current value using a recursive least squares method with a forgetting factor to obtain the stator resistance value of the compressor.

[0059] Optionally, the above-mentioned conversion unit includes: a establishment subunit for establishing the voltage equation in the dq-axis two-phase rotating coordinate system; wherein the voltage equation comprises d-axis inductance value, q-axis inductance value, stator resistance value, flux linkage, and d-axis voltage value, d-axis current value, q-axis voltage value, and q-axis current value obtained based on the current current value; a transformation subunit for transforming the voltage equation into a least-squares matrix expression; wherein the matrix expression comprises a parameter matrix composed of stator resistance value, d-axis inductance value, and q-axis inductance value; and an adjustment subunit for adjusting the parameter matrix in the matrix expression using a parameter approximation formula with a forgetting factor to obtain a correction coefficient matrix; wherein the stator resistance value in the correction coefficient matrix is ​​used as the stator resistance value of the compressor.

[0060] Optionally, the information processing module 204 includes: a first acquisition unit, used to acquire a pre-established correspondence between stator resistance and compressor temperature; and a second acquisition unit, used to acquire the compressor temperature corresponding to the stator resistance value based on the correspondence between stator resistance and compressor temperature.

[0061] Optionally, the information processing module 204 includes: a third acquisition unit, used to acquire the correspondence between demagnetizing current values ​​and temperature ranges; wherein each temperature range corresponds to a demagnetizing current value; a matching unit, used to match the compressor temperature with the temperature range to obtain the temperature range in which the compressor temperature is located; and a fourth acquisition unit, used to acquire the demagnetizing current value corresponding to the temperature range in which the compressor temperature is located based on the correspondence between the demagnetizing current value and the temperature range, and set the demagnetizing current protection value to the demagnetizing current value corresponding to the temperature range in which the compressor temperature is located.

[0062] Optionally, the control module 206 includes: a comparison unit for comparing the demagnetizing current protection setting value with the current current value; a first control unit for controlling the compressor to continue running when the demagnetizing current protection setting value is less than the current current value; and a second control unit for controlling the compressor to stop running when the demagnetizing current protection setting value is greater than or equal to the current current value.

[0063] According to another aspect of the present application, an air conditioner is provided, which includes a compressor demagnetization current protection control system according to the present application.

[0064] According to another aspect of the present application, an electronic device is provided, including: a processor, and a memory storing a program, the program including instructions that, when executed by the processor, cause the processor to perform the compressor demagnetization current protection control method of the present application.

[0065] According to another aspect of the present application, a non-transitory machine-readable medium storing computer instructions is provided, the computer instructions being used to cause a computer to execute the control method for compressor demagnetization current protection according to the embodiments of the present application.

[0066] This application also provides a computer program product, including a computer program, wherein when executed by a computer's processor, the computer program is used to cause the computer to execute the compressor demagnetization current protection control method of this application embodiment.

[0067] refer to Figure 3 The present invention describes a structural block diagram of an electronic device that can serve as a server or client in embodiments of this application, which is an example of a hardware device that can be applied to various aspects of this application. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the application described and / or claimed herein.

[0068] like Figure 3 As shown, the electronic device includes a computing unit 301, which can perform various appropriate actions and processes based on a computer program stored in a read-only memory (ROM) 302 or a computer program loaded from a storage unit 308 into a random access memory (RAM) 303. The RAM 303 may also store various programs and data required for the operation of the electronic device. The computing unit 301, ROM 302, and RAM 303 are interconnected via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0069] Multiple components in the electronic device are connected to I / O interface 305, including: input unit 306, output unit 307, storage unit 308, and communication unit 309. Input unit 306 can be any type of device capable of inputting information into the electronic device. Input unit 306 can receive input digital or character information and generate key signal inputs related to user settings and / or function control of the electronic device. Output unit 307 can be any type of device capable of presenting information and may include, but is not limited to, a display, speaker, video / audio output terminal, vibrator, and / or printer. Storage unit 308 may include, but is not limited to, disks and optical discs. Communication unit 309 allows the electronic device to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, and wireless communication transceivers, such as Bluetooth devices, WiFi devices, WiMax devices, cellular communication devices, and / or the like.

[0070] The computing unit 301 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, CPUs, graphics processing units (GPUs), various special-purpose artificial intelligence (AI) computing units, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any suitable processor, controller, microcontroller, etc. The computing unit 301 performs the various methods and processes described above. For example, in some embodiments, the method embodiments of this application can be implemented as a computer program tangibly contained in a machine-readable medium, such as storage unit 308. In some embodiments, part or all of the computer program can be loaded and / or installed on an electronic device via ROM 302 and / or communication unit 309. In some embodiments, the computing unit 301 can be configured to perform the methods described above by any other suitable means (e.g., by means of firmware).

[0071] Computer programs used to implement the methods of the embodiments of this application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0072] In the context of embodiments of this application, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable signal medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0073] It should be noted that the term "comprising" and its variations used in the embodiments of this application are open-ended, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; and the term "some embodiments" means "at least some embodiments". The modifications of "one" and "multiple" mentioned in the embodiments of this application are illustrative and not restrictive. Those skilled in the art should understand that, unless explicitly indicated otherwise in the context, they should be understood as "one or more".

[0074] The steps described in the method embodiments provided in this application can be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of protection of this application is not limited in this respect.

[0075] The term "embodiment" in this specification refers to a specific feature, structure, or characteristic described in connection with an embodiment that may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily imply the same embodiment, nor does it imply independence from or alternative to other embodiments. The various embodiments in this specification are described in a related manner, with reference to each other for similar or identical parts. In particular, for apparatus, device, and system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, and relevant details are referred to in the description of the method embodiments.

[0076] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of patent protection. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the appended claims.

Claims

1. A control method for compressor demagnetization current protection, characterized in that, include: Obtain the current value of the compressor during operation; Based on the current current value, the stator resistance value of the compressor is obtained, the compressor temperature corresponding to the stator resistance value is obtained, and according to the pre-established correspondence between the demagnetizing current value and the temperature range, the demagnetizing current value corresponding to the temperature range where the compressor temperature is located is determined as the demagnetizing current protection setting value. The compressor is protected and controlled based on the demagnetizing current protection setting value.

2. The control method for compressor demagnetization current protection according to claim 1, characterized in that, The stator resistance value of the compressor is obtained based on the current current value, including: The current current value is converted using a recursive least squares method with a forgetting factor to obtain the stator resistance value of the compressor.

3. The control method for compressor demagnetization current protection according to claim 2, characterized in that, The current current value is converted using a recursive least squares method with a forgetting factor to obtain the stator resistance value of the compressor, including: Establish voltage equations in a two-phase rotating coordinate system with d and q axes; wherein the voltage equations consist of d-axis inductance, q-axis inductance, stator resistance, flux linkage, and d-axis voltage, d-axis current, q-axis voltage, and q-axis current values ​​converted from the current current value; The voltage equation is transformed into a matrix expression using the least squares method; wherein the matrix expression includes a parameter matrix composed of stator resistance values, d-axis inductance values, and q-axis inductance values; The parameter matrix in the matrix expression is adjusted using a parameter approximation formula with a forgetting factor to obtain a correction coefficient matrix; wherein the stator resistance value in the correction coefficient matrix is ​​used as the stator resistance value of the compressor.

4. The control method for compressor demagnetization current protection according to claim 1, characterized in that, Obtaining the compressor temperature corresponding to the stator resistance value includes: Obtain the pre-established correspondence between stator resistance and compressor temperature; Based on the correspondence between the stator resistance and the compressor temperature, the compressor temperature corresponding to the stator resistance value is obtained.

5. The control method for compressor demagnetization current protection according to claim 1, characterized in that, Based on a pre-established correspondence between demagnetizing current values ​​and temperature ranges, the demagnetizing current value corresponding to the temperature range in which the compressor temperature is located is determined as the demagnetizing current protection setting value, including: Obtain the correspondence between the demagnetizing current value and the temperature range; wherein, each temperature range corresponds to one demagnetizing current value; The compressor temperature is matched with a temperature range to obtain the temperature range in which the compressor temperature is located; Based on the correspondence between the demagnetizing current value and the temperature range, the demagnetizing current value corresponding to the temperature range where the compressor temperature is located is obtained, and the demagnetizing current protection value is set to the demagnetizing current value corresponding to the temperature range where the compressor temperature is located.

6. The control method for compressor demagnetization current protection according to claim 1, characterized in that, Based on the demagnetizing current protection setting value, the compressor is protected and controlled, including: Compare the demagnetizing current protection setting value with the current current value; If the demagnetizing current protection setting is less than the current value, the compressor will continue to operate. If the demagnetizing current protection setting is greater than or equal to the current value, the compressor will be controlled to stop running.

7. A control system for compressor demagnetization current protection, characterized in that, include: The current acquisition module is used to obtain the current value of the compressor during operation; The information processing module is used to convert the current current value to obtain the stator resistance value of the compressor, obtain the compressor temperature corresponding to the stator resistance value, and determine the demagnetizing current value corresponding to the temperature range where the compressor temperature is located as the demagnetizing current protection setting value according to the pre-established correspondence between the demagnetizing current value and the temperature range. The control module is used to perform protective control on the compressor based on the demagnetizing current protection setting value.

8. An air conditioner, characterized in that, The air conditioner includes the compressor demagnetization current protection control system as described in claim 7.

9. An electronic device, comprising: A processor and a memory storing a program, characterized in that the program includes instructions that, when executed by the processor, cause the processor to perform the control method for compressor demagnetization current protection as described in any one of claims 1 to 6.

10. A non-transitory machine-readable medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to execute the control method for compressor demagnetization current protection as described in any one of claims 1 to 6.