Air conditioner, air conditioner control method, controller and storage medium

By setting up a piezoelectric sensor in the air conditioner to obtain piezoelectric parameters, and combining the angle and change law of the heat jacket, precise control of the compressor rotor can be achieved, which solves the problem of unstable control of inverter air conditioners at high speeds, and improves the user experience and stability of the air conditioner.

CN117366934BActive Publication Date: 2026-05-26FOSHAN SHUNDE MIDEA ELECTRONICS TECH CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
FOSHAN SHUNDE MIDEA ELECTRONICS TECH CO LTD
Filing Date
2022-07-01
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Existing inverter air conditioners suffer from unstable compressor control at high speeds, which can easily lead to control misalignment and a decline in user experience.

Method used

By placing a piezoelectric sensor between the compressor housing and the spring, piezoelectric parameters are obtained. Combined with the preset heat-shrink angle and the variation law of the piezoelectric parameters, the current position of the compressor rotor is determined, thus achieving precise control.

Benefits of technology

This avoids control malfunctions in air conditioners, improves the user experience, and enhances the stability and reliability of air conditioner applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117366934B_ABST
    Figure CN117366934B_ABST
Patent Text Reader

Abstract

This invention discloses an air conditioner, an air conditioner control method, a controller, and a storage medium. The air conditioner control method includes acquiring piezoelectric parameters collected by a piezoelectric sensor; and determining the current position of the compressor rotor based on a preset heat-shrink angle, the magnitude of the piezoelectric parameters, and their variation patterns. The piezoelectric sensor is positioned between the housing and the spring, preventing it from detaching even when the compressor is running at high speed. Furthermore, by observing the linear motion of the slider reflected by the piezoelectric parameters, the eccentric rotation of the piston is obtained, leading to the eccentric angle of the rotor, ultimately determining the rotor's current position. This invention achieves precise compressor control by acquiring piezoelectric parameters from a piezoelectric sensor, preventing control misalignment in the air conditioner and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of air conditioner technology, and more particularly to an air conditioner, an air conditioner control method, a controller, and a storage medium. Background Technology

[0002] As people's pursuit of air conditioning comfort increases, the cost space for high-performance, cost-effective air conditioners is further compressed, leading to the development of smaller, higher-speed air conditioners. Inverter air conditioners, particularly those in the smaller, higher-speed category, have gradually become the mainstream in the market. However, current inverter air conditioners are prone to compressor control instability at high speeds, resulting in control decoupling. For example, inverter air conditioner control typically uses a sensorless rotor position estimation control algorithm to initially estimate the rotor position, followed by angle correction to obtain the real-time rotor position, which is then used to control the motor speed and, consequently, the compressor's operation. However, as compressor speeds continue to increase, the accuracy of the sensorless rotor position estimation control algorithm at high speeds deteriorates. The higher the speed, the greater the accumulated angle error, leading to incorrect rotor position judgments and resulting in compressor control instability at high speeds, making control decoupling more likely. Summary of the Invention

[0003] The following is an overview of the subject matter described in detail herein. This overview is not intended to limit the scope of the claims.

[0004] This invention provides an air conditioner, an air conditioner control method, a controller, and a storage medium, which can synchronize the actual operating position of the rotor, thereby achieving precise control of the compressor and avoiding control decoupling of the air conditioner.

[0005] An embodiment of the first aspect of the present invention provides an air conditioner, comprising:

[0006] The compressor includes a housing, a cylinder, a slider, and a spring. The cylinder has a slider groove to accommodate the slider. One end of the spring is connected to one end of the slider so that the other end of the slider abuts against the piston of the compressor. When the piston of the compressor rotates eccentrically, the slider performs linear reciprocating motion within the slider groove.

[0007] A piezoelectric sensor is disposed in the housing and connected to the other end of the spring;

[0008] The controller is electrically connected to the piezoelectric sensor and is configured to acquire the piezoelectric parameters collected by the piezoelectric sensor, and determine the position of the compressor rotor at the current moment according to the preset heat-shrink angle, the magnitude and variation law of the piezoelectric parameters.

[0009] The air conditioner according to the first aspect of the present invention has at least the following advantages: the piezoelectric sensor, disposed between the housing and the spring, will not detach even when the compressor is running at high speed. Furthermore, by reflecting the linear motion of the slider through piezoelectric parameters, the eccentric rotation of the piston is obtained, leading to the eccentric angle of the rotor, ultimately determining the rotor's position at the current moment. This embodiment of the invention achieves precise control of the compressor by acquiring piezoelectric parameters from the piezoelectric sensor, avoiding control misalignment in the air conditioner and improving the user experience.

[0010] In some embodiments, a raised cavity is formed on the inner side of the housing, and the piezoelectric sensor is disposed in the raised cavity.

[0011] A second aspect of the present invention provides a control method for an air conditioner, the air conditioner comprising: a compressor, including a housing, a slider, and a spring, the housing having a slider groove to accommodate the slider, one end of the spring being connected to one end of the slider such that the other end of the slider abuts against the piston of the compressor, and the slider reciprocating linearly within the slider groove when the piston of the compressor rotates eccentrically; a piezoelectric sensor disposed in the housing and connected to the other end of the spring; the control method comprising:

[0012] Acquire the piezoelectric parameters collected by the piezoelectric sensor;

[0013] The position of the compressor rotor at the current moment is determined based on the preset heat-shrink angle, the magnitude and variation law of the piezoelectric parameters.

[0014] The air conditioner control method according to a second aspect embodiment of the present invention has at least the following beneficial effects: the piezoelectric sensor, disposed between the housing and the spring, will not detach even when the compressor is at high speed. Furthermore, by reflecting the linear motion of the slider through piezoelectric parameters, the eccentric rotation of the piston is obtained, and thus the eccentric angle of the rotor is determined, ultimately enabling the determination of the rotor's position at the current moment. This embodiment of the invention achieves precise compressor control by acquiring piezoelectric parameters collected by the piezoelectric sensor, avoiding control misalignment in the air conditioner and improving the user experience.

[0015] In some embodiments, determining the position of the compressor rotor at the current moment based on a preset heat-shrink angle, the magnitude and variation law of the piezoelectric parameters includes:

[0016] The reference angle is determined based on the changing pattern, which is determined according to the relationship between the piezoelectric parameters at the current moment and the piezoelectric parameters at the previous moment.

[0017] Calculate the angle ratio based on the current piezoelectric parameters, the minimum piezoelectric parameter, and the maximum piezoelectric parameter;

[0018] The eccentricity angle of the rotor is determined based on the angle ratio and the reference angle.

[0019] The position of the rotor at the current moment is calculated based on the heat-shrink angle and the eccentric angle.

[0020] In some embodiments, the control method further includes:

[0021] The degree of sliding of the slider is determined based on the minimum piezoelectric parameter and a preset piezoelectric parameter threshold; wherein, the degree of sliding is used to characterize the displacement offset of the slider in the straight direction of the slider groove caused by the high and low pressure difference on both sides of the compressor operating slider.

[0022] The rotor's position at the current moment is corrected based on the degree of slippage.

[0023] In some embodiments, correcting the rotor's position at the current moment based on the degree of slippage includes:

[0024] The slip angle of the rotor is determined based on the degree of slip.

[0025] The rotor position at the current moment is updated based on the slip angle.

[0026] In some embodiments, determining the slip angle of the rotor based on the degree of slip includes:

[0027] If the minimum piezoelectric parameter is greater than or equal to the piezoelectric parameter threshold, the slip angle is determined to be the first slip angle value;

[0028] If the minimum piezoelectric parameter is less than the piezoelectric parameter threshold, the slip angle is determined to be the second slip angle value.

[0029] In some embodiments, the second slip angle value is obtained through the following steps:

[0030] The slip piezoelectric difference value is calculated based on the piezoelectric parameter threshold and the minimum piezoelectric parameter.

[0031] The second sliding angle value is calculated based on the sliding piezoelectric difference value and the preset sliding reference angle.

[0032] In some embodiments, the piezoelectric parameter threshold is obtained through the following steps:

[0033] When the compressor is in an air-operated state, the air piezoelectric parameters collected by the piezoelectric sensor are acquired, and the air piezoelectric parameters include at least the minimum air piezoelectric parameter; wherein, the air-operated state refers to the compressor being in an no-load operating state;

[0034] The piezoelectric parameter threshold is calculated based on the minimum air piezoelectric parameter and the preset revised voltage parameter.

[0035] A third aspect of the present invention provides a controller, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the control method as described in the second aspect.

[0036] A fourth aspect of the present invention provides an air conditioner including a controller as described in the third aspect.

[0037] A fifth aspect of the present invention provides a computer-readable storage medium storing computer-executable instructions for performing the control method as described in the second aspect.

[0038] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the description, claims, and drawings. Attached Figure Description

[0039] Figure 1 This is a schematic diagram of a system architecture platform for executing control methods provided in an embodiment of the present invention;

[0040] Figure 2 This is a schematic diagram of an air conditioner for performing a control method according to an embodiment of the present invention;

[0041] Figure 3 This is an overall flowchart of the air conditioner control method provided in the embodiments of the present invention;

[0042] Figure 4 This is a flowchart of a control method for determining the position of a rotor at the current moment, provided in an embodiment of the present invention.

[0043] Figure 5 This is a flowchart of a control method for correcting the rotor's position at the current moment based on the degree of slippage, provided in an embodiment of the present invention.

[0044] Figure 6 This is a flowchart of a control method for updating the rotor's position at the current moment based on the slip angle, provided in an embodiment of the present invention.

[0045] Figure 7 This is a flowchart of the control method provided in Example 1 of the present invention;

[0046] Figure 8 This is a flowchart of the control method provided in Example 2 of the present invention;

[0047] Figure 9 This is a flowchart of the control method provided in Example 3 of the present invention.

[0048] Figure reference numerals: System architecture platform 1000, processor 1001, memory 1002. Detailed Implementation

[0049] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. Furthermore, the features, operations, or characteristics described in the specification can be combined in any suitable manner to form various implementations. Simultaneously, the steps or actions in the method description can be rearranged or adjusted in a manner readily apparent to those skilled in the art. Therefore, the various orders in the specification and drawings are merely for the clear description of a particular embodiment and do not imply a mandatory order, unless otherwise stated that a particular order must be followed.

[0050] In the description of this invention, "several" means one or more, "multiple" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. The use of "first" and "second" in the description is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.

[0051] The serial numbers assigned to components in this document, such as "first" and "second," are used only to distinguish the described objects and have no sequential or technical meaning. The terms "connection" and "linkage" used in this application, unless otherwise specified, include both direct and indirect connections (linkages).

[0052] In the description of this invention, unless otherwise explicitly defined, terms such as "setting," "installing," and "connecting" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this invention in conjunction with the specific content of the technical solution.

[0053] As people's pursuit of air conditioning comfort increases, the cost space for high-performance, cost-effective air conditioners is further compressed, leading to the development of smaller, higher-speed air conditioners. Among these smaller, higher-speed air conditioners, inverter air conditioners have gradually become the mainstream in the market. However, current inverter air conditioners are prone to compressor control instability at high speeds, resulting in control decoupling.

[0054] In related technologies, the control of variable frequency air conditioners typically employs a rotor position-sensorless estimation control algorithm to initially estimate the rotor position, followed by angle correction to obtain the real-time rotor position. This allows for motor speed control, which in turn controls the compressor's operation. However, as compressor speeds increase, the accuracy of the rotor position-sensorless estimation control algorithm at high speeds deteriorates. The higher the speed, the greater the accumulated angle error, leading to incorrect rotor position judgments. This results in unstable compressor control at high speeds and a tendency for control decoupling.

[0055] Based on the above, embodiments of the present invention provide an air conditioner, an air conditioner control method, a controller, and a storage medium. The air conditioner control method includes, but is not limited to, the following steps: acquiring piezoelectric parameters collected by a piezoelectric sensor, and determining the position of the compressor rotor at the current moment based on a preset heat-shrink angle, the magnitude of the piezoelectric parameters, and their variation patterns.

[0056] First, it should be noted that in this embodiment of the invention, the rotor position estimation includes two parts: the first part is determining the rotor's heat-shrink angle, and the second part is determining the rotor's eccentric angle. For the first part: the rotor and crankshaft are assembled through a heat-shrink interference fit. During the rotor heat-shrinking process, the heat-shrink angle is positioned based on the standard groove at the top of the compressor crankshaft. After the crankshaft design is completed, the angle between the standard groove at the top of the crankshaft and the outermost angle of the eccentric part of the crankshaft can be determined; that is, the rotor's heat-shrink angle is determined after the compressor design is completed. For the second part: the eccentric part of the crankshaft drives the piston to rotate eccentrically. Through the action of the slider, eccentric compression is performed. The slider is connected to a spring that performs linear reciprocating motion within the slider groove. The eccentric part of the crankshaft drives the piston to the upper and lower dead centers of the compressor cylinder, corresponding to the maximum and minimum positions of the slider stroke. The rotor's eccentric angle can then be determined by detecting the change in spring force using a piezoelectric sensor. Therefore, the spring force is transmitted to the controller via the piezoelectric sensor, thereby achieving precise control of the high-speed compressor and avoiding control decoupling. According to the technical solution of the present invention, the actual operating position of the rotor can be synchronized by the heat jacket angle, the magnitude and variation law of the piezoelectric parameters, so as to achieve precise control of the compressor, avoid the control decoupling phenomenon of the air conditioner, and improve the user experience.

[0057] It should be noted that the spring referred to in the embodiments of the present invention may also be called a slider spring.

[0058] The embodiments of the present invention will be further described below with reference to the accompanying drawings.

[0059] like Figure 1 As shown, Figure 1 This is a schematic diagram of a system architecture platform for performing a control method for an air conditioner, provided in an embodiment of the present invention.

[0060] The system architecture platform 1000 of this embodiment includes one or more processors 1001 and a memory 1002. Figure 1 The example uses a processor 1001 and a memory 1002.

[0061] Processor 1001 and memory 1002 can be connected via a bus or other means. Figure 1 Taking the example of a connection between China and Israel via a bus.

[0062] Memory 1002, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory 1002 may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory 1002 may optionally include memory 1002 remotely located relative to processor 1001, and these remote memories can be connected to the system architecture platform 1000 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0063] Those skilled in the art will understand that Figure 1 The device structure shown does not constitute a limitation on the system architecture platform 1000 and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0064] exist Figure 1 In the system architecture platform 1000 shown, the processor 1001 can be used to call the control program of the air conditioner stored in the memory 1002, thereby realizing the control method of the air conditioner.

[0065] Based on the hardware structure of the above-mentioned system architecture platform 1000, various embodiments of the air conditioner of the present invention are proposed.

[0066] like Figure 2 As shown, Figure 2 This is a schematic diagram of an air conditioner for executing a control method according to an embodiment of the present invention. The air conditioner of this embodiment includes an outdoor unit, an indoor unit, a four-way valve, and an electronic expansion valve. Specifically, the indoor unit is equipped with a controller, and the outdoor unit is equipped with a compressor and a piezoelectric sensor. The controller may include, for example, […]. Figure 1The processor 1001 and memory 1002 are shown. More specifically, the air conditioner of this embodiment includes, but is not limited to, a compressor, a piezoelectric sensor, and a controller. The compressor includes a housing, a cylinder, a slider, and a spring. The cylinder has a slider groove to accommodate the slider. One end of the spring is connected to one end of the slider, so that the other end of the slider abuts against the compressor piston. When the compressor piston rotates eccentrically, the slider performs linear reciprocating motion within the slider groove. The piezoelectric sensor is disposed in the housing and connected to the other end of the spring. The controller is electrically connected to the piezoelectric sensor and is configured to acquire the piezoelectric parameters collected by the piezoelectric sensor, and determine the position of the compressor rotor at the current moment based on a preset heat-shrink angle, the magnitude of the piezoelectric parameters, and their variation patterns. The controller may include, for example,... Figure 1 The processor 1001 and memory 1002 are shown.

[0067] It is understandable that the linear reciprocating motion of the slider will cause the spring to extend and retract. The piezoelectric sensor obtains piezoelectric parameters by sensing the spring force generated by the spring. Therefore, the magnitude of the piezoelectric parameters can represent the linear motion process of the slider. In this embodiment, the air conditioner obtains piezoelectric parameters through a piezoelectric sensor and determines the position of the compressor rotor at the current moment based on the preset heat-shrink angle, the magnitude and variation law of the piezoelectric parameters. It should be noted that the piezoelectric sensor is set in the housing and connected to the other end of the spring. The housing and the other end of the spring will not shift with the movement of the slider. Therefore, the piezoelectric sensor will not fall off due to the high speed of the compressor. This embodiment achieves precise control of the compressor by acquiring the piezoelectric parameters collected by the piezoelectric sensor, avoiding control decoupling of the air conditioner and improving the user experience.

[0068] In one embodiment, a raised cavity is formed on the inner side of the housing, and the piezoelectric sensor is disposed in the raised cavity. In another embodiment, one end of the piezoelectric sensor is pressed against the inner side of the housing, and the other end of the piezoelectric sensor is pressed against a spring. It should be noted that by placing the piezoelectric sensor between the housing and the spring, it is ensured that the piezoelectric sensor will not fall off as the compressor operates at high speeds. This allows for real-time monitoring of the compressor rotor position throughout its entire lifecycle, thereby achieving precise control of the compressor speed and improving the application stability and reliability of the air conditioner.

[0069] Based on the modular hardware structure of the air conditioner described above, various embodiments of the air conditioner control method of the present invention are proposed.

[0070] like Figure 3 As shown, Figure 3 This is a flowchart of an air conditioner control method according to an embodiment of the present invention. The air conditioner control method of the present invention includes, but is not limited to, steps S100 and S200.

[0071] Step S100: Obtain the piezoelectric parameters collected by the piezoelectric sensor.

[0072] Specifically, referring to the above, during the linear reciprocating motion of the slider, the piezoelectric sensor obtains piezoelectric parameters by sensing the spring force generated by the spring. The piezoelectric sensor continuously collects piezoelectric parameters in real time, and the direction of spring extension or contraction can be determined based on the changing pattern of the piezoelectric parameters. For example, if the trend of the piezoelectric parameters is decreasing, it indicates that the spring is in the extension direction; if the trend of the piezoelectric parameters is increasing, it indicates that the spring is in the compression direction.

[0073] Step S200: Determine the position of the compressor rotor at the current moment based on the preset heat-shrink angle, the magnitude and variation law of the piezoelectric parameters.

[0074] Specifically, piezoelectric parameters reflect the linear reciprocating motion of the slider in the slider groove. This linear reciprocating motion reflects the eccentric rotation of the piston, which in turn reflects the rotor's eccentric angle. Therefore, the rotor's eccentric angle is determined by the magnitude and variation of the piezoelectric parameters, and the rotor's position at the current moment is determined based on the eccentric angle and a preset heat-shrink angle. In this embodiment, the magnitude and variation of the piezoelectric parameters represent the rotor's eccentric angle, and the rotor's position at the current moment is obtained based on the eccentric angle and the heat-shrink angle. This achieves precise control of the compressor speed, thereby improving the stability and reliability of the air conditioner.

[0075] like Figure 4 As shown, step S200 includes, but is not limited to, steps S210 to S240.

[0076] Step S210: Determine the reference angle based on the variation pattern, which is determined by the relationship between the piezoelectric parameters at the current moment and the piezoelectric parameters at the previous moment.

[0077] Specifically, the change pattern refers to the pattern of change in the piezoelectric parameter, which can be determined based on the relationship between the current piezoelectric parameter and the previous piezoelectric parameter. For example, if the current piezoelectric parameter is less than the previous piezoelectric parameter, the change pattern is defined as the first change pattern; where the first change pattern indicates that the piezoelectric parameter is decreasing. If the current piezoelectric parameter is greater than the previous piezoelectric parameter, the change pattern is defined as the second change pattern; where the second change pattern indicates that the piezoelectric parameter is increasing. More specifically, if the current piezoelectric parameter is 2.5 volts (V) and the previous piezoelectric parameter was 2.6 volts (V), the current piezoelectric parameter (2.5V) is less than the previous piezoelectric parameter (2.6V), indicating that the piezoelectric parameter is decreasing. At this time, the spring is extending towards the slider end, thus determining the linear motion direction of the slider as the first direction (the direction of extension), and further determining the eccentric rotation direction of the piston as the positive direction, with a reference angle of 0 degrees. Conversely, if the piezoelectric parameter at the current moment (2.7V) is greater than the piezoelectric parameter at the previous moment (2.6V), it indicates that the piezoelectric parameter is increasing. At this time, the spring is being compressed towards the end of the shell, thus determining the linear motion direction of the slider as the second direction (the direction of compression), and further determining the eccentric rotation direction of the piston as the opposite direction. The reference angle can be 180 degrees.

[0078] Step S220: Calculate the angle ratio based on the piezoelectric parameters at the current moment, the minimum piezoelectric parameter, and the maximum piezoelectric parameter.

[0079] Specifically, the maximum piezoelectric parameter corresponds to the shortest spring extension (maximum spring compression), and the minimum piezoelectric parameter corresponds to the longest spring extension (minimum spring compression). After determining the variation pattern, not only the reference angle but also the direction of spring extension and contraction is determined. Different extension and contraction directions correspond to different reference angles, and the calculated angle ratios are also different. In one example, if the variation pattern is that the piezoelectric parameter at the current moment is less than the piezoelectric parameter at the previous moment, the denominator is determined by the difference between the minimum and maximum piezoelectric parameters, the first numerator is determined by the difference between the current and maximum piezoelectric parameters, and the angle ratio is determined by the ratio of the first numerator to the denominator. In another example, if the variation pattern is that the piezoelectric parameter at the current moment is greater than the piezoelectric parameter at the previous moment, the denominator is determined by the difference between the minimum and maximum piezoelectric parameters, the second numerator is determined by the difference between the current and minimum piezoelectric parameters, and the angle ratio is determined by the ratio of the second numerator to the denominator.

[0080] Step S230: Determine the rotor's eccentricity angle based on the angle ratio and the reference angle.

[0081] Specifically, the initial eccentric angle is obtained by mapping the angle ratio, and then the rotor's eccentric angle is determined based on the sum of the initial eccentric angle and the reference angle. For example, the ratio of the angle ratio to a preset mapped angle threshold is used as the initial eccentric angle.

[0082] In one example, the minimum piezoelectric parameter is 2V, the maximum piezoelectric parameter is 3V, the current piezoelectric parameter is 2.5V, and the previous piezoelectric parameter is 2.6V. The change pattern is that the current piezoelectric parameter (2.5V) is smaller than the previous piezoelectric parameter (2.6V). The denominator (1) is determined by the difference between the minimum piezoelectric parameter (2V) and the maximum piezoelectric parameter (3V). The first numerator (0.5) is determined by the difference between the current piezoelectric parameter (2.5V) and the maximum piezoelectric parameter (3V). The angle ratio (1 / 2) is determined according to the ratio of the first numerator (0.5) and the denominator (1). The reference angle is determined to be 0 degrees. The initial eccentric angle (90 degrees) is obtained by the ratio of the angle ratio (1 / 2) and the preset mapping angle threshold (180 degrees). The eccentric angle (90 degrees) is determined by the sum of the initial eccentric angle (90 degrees) and the reference angle (0 degrees).

[0083] In another example, the minimum piezoelectric parameter is 2V, the maximum piezoelectric parameter is 3V, the current piezoelectric parameter is 2.5V, and the previous piezoelectric parameter is 2.4V. The change pattern is that the current piezoelectric parameter (2.5V) is greater than the previous piezoelectric parameter (2.4V). The denominator (1) is determined by the difference between the minimum piezoelectric parameter (2V) and the maximum piezoelectric parameter (3V). The second numerator (0.5) is determined by the difference between the current piezoelectric parameter (2.5V) and the minimum piezoelectric parameter (2V). The angle ratio (1 / 2) is determined according to the ratio of the second numerator (0.5) and the denominator (1). The reference angle is determined to be 180 degrees. The initial eccentric angle (90 degrees) is obtained by the ratio of the angle ratio (1 / 2) and the preset mapping angle threshold (180 degrees). The eccentric angle (270 degrees) is determined according to the sum of the initial eccentric angle (90 degrees) and the reference angle (180 degrees).

[0084] Step S240: Calculate the rotor's position at the current moment based on the heat-shrink angle and eccentricity angle.

[0085] Specifically, the rotor's position at the current moment is determined by the sum of the heat-shrink angle and the eccentric angle.

[0086] It is understandable that when the compressor is operating under load, the slider experiences displacement in the linear direction of the slider groove due to the high and low pressure difference on both sides of the compressor's rotating slider. More specifically, slippage occurs within the slider due to the refrigerant pressure difference on both sides. The degree of slippage can be used to characterize the displacement of the slider in the linear direction of the slider groove caused by the refrigerant pressure difference of the compressor. This degree of slippage increases, especially when the compressor is operating at high speeds. Ignoring this degree of slippage will affect the control of the compressor at high speeds and may even lead to control misalignment. Therefore, if... Figure 5 As shown, the control method of the air conditioner in this embodiment of the invention further includes correcting the position of the rotor at the current moment according to the degree of slippage, specifically including but not limited to steps S310 and S320.

[0087] Step S310: Determine the degree of sliding of the slider based on the minimum piezoelectric parameter and the preset piezoelectric parameter threshold.

[0088] This invention uses a piezoelectric sensor to collect piezoelectric parameters. Among the collected parameters, there exists a minimum piezoelectric parameter, which generally represents the spring in its longest extended state. A preset piezoelectric parameter threshold is used, pre-set by the air conditioner, to compare with the minimum piezoelectric parameter. The degree of slider slippage is determined based on the comparison result. In one example, if the minimum piezoelectric parameter is greater than or equal to the preset threshold, it indicates that the slider has not slipped, and the slippage is zero. If the minimum piezoelectric parameter is less than the preset threshold, it indicates that the slider has slipped, and the slippage is the difference between the preset threshold and the minimum piezoelectric parameter.

[0089] Specifically, in addition to being preset by the air conditioner, the piezoelectric parameter threshold can also be obtained through the following steps:

[0090] When the compressor is in an air-operated state, the air piezoelectric parameters collected by the piezoelectric sensor are obtained. The air piezoelectric parameters include at least the minimum air piezoelectric parameter. Here, the air-operated state refers to the compressor being in an no-load operating state.

[0091] The piezoelectric parameter threshold is calculated based on the minimum air piezoelectric parameter and the preset revised voltage parameter.

[0092] Specifically, when the compressor is operating under no-load conditions, it is essentially running on air. In this state, the slider will not experience displacement within the slider slot due to the refrigerant pressure difference of the compressor. Therefore, the piezoelectric parameter threshold, obtained from the minimum air piezoelectric parameter, can be used as a criterion for determining whether the slider slips. Furthermore, considering the impact of slippage on precise compressor control at high speeds, this embodiment of the invention introduces a revision voltage to adjust the piezoelectric parameter threshold. It is understood that for more refined control of the slider's slippage, the magnitude of the revision voltage can be appropriately adjusted.

[0093] Step S320: Correct the rotor's position at the current moment based on the degree of slippage.

[0094] Specifically, after determining the degree of slippage, the rotor position is corrected accordingly. It should be noted that once the degree of slippage is determined, the correction of the rotor position based on the degree of slippage occurs throughout the entire process of spring extension and contraction, and is not only performed when the spring is at its longest extension.

[0095] It is understandable that, such as Figure 6 As shown, the rotor's position at the current moment in step S320 can be updated through the following steps:

[0096] Step S410: Determine the rotor's slip angle based on the degree of slippage;

[0097] Step S420: Update the rotor position at the current moment based on the slip angle.

[0098] Understandably, the slippage degree is the difference between a preset piezoelectric parameter threshold and the minimum piezoelectric parameter. This difference is mapped to a slippage angle, and the rotor's position at the current moment is updated based on the slippage angle. For example, the slippage angle can be determined by multiplying this difference by a preset mapping reference angle. In one example, the difference is 0.1V, and the preset mapping reference angle is 180 degrees, so the resulting slippage angle is 18 degrees.

[0099] In another embodiment, the degree of slippage is determined by comparing the minimum piezoelectric parameter with a preset piezoelectric parameter threshold, thereby determining the corresponding slippage angle based on the degree of slippage. For example, if the minimum piezoelectric parameter with the slippage degree is greater than or equal to the piezoelectric parameter threshold, the slippage angle is determined to be a first slippage angle value; if the minimum piezoelectric parameter with the slippage degree is less than the piezoelectric parameter threshold, the slippage angle is determined to be a second slippage angle value. Generally, the first slippage angle value is less than the second slippage angle value.

[0100] It is understandable that, in addition to being preset, the second sliding angle value can also be determined in the following ways:

[0101] The slip piezoelectric difference is calculated based on the piezoelectric parameter threshold and the minimum piezoelectric parameter.

[0102] The second slip angle value is calculated based on the slip piezoelectric difference and the slip reference angle.

[0103] Specifically, the sliding piezoelectric difference value is obtained by the difference between the piezoelectric parameter threshold and the minimum piezoelectric parameter. This sliding piezoelectric difference value represents the displacement offset of the slider within the slider groove. The second sliding angle value is obtained by multiplying the sliding piezoelectric difference value by a preset circumferential angle. For example, the sliding piezoelectric difference value (0.1V) is calculated by the piezoelectric parameter threshold (2.1V) and the minimum piezoelectric parameter (2V). Then, the second sliding angle value is calculated by multiplying the sliding piezoelectric difference value (0.1V) by the sliding reference angle (180 degrees) (18 degrees).

[0104] By controlling the air conditioner's control process through the above steps, and by controlling the heat jacket angle, the magnitude and variation of piezoelectric parameters, the actual operating position of the rotor can be synchronized, achieving precise control of the compressor. This avoids control misalignment and improves the user experience. Furthermore, it significantly enhances the control stability and reliability of the air conditioner, while simultaneously expanding the compressor's application range.

[0105] The control method of the present invention will be illustrated below through three practical examples.

[0106] Example 1: When the air conditioner is turned on, refer to... Figure 7 Therefore, the control methods for the air conditioner in Example 1 include:

[0107] Acquire piezoelectric parameters collected by the piezoelectric sensor; specifically, acquire the piezoelectric parameters at the current moment, the piezoelectric parameters at the previous moment, the minimum piezoelectric parameters, and the maximum piezoelectric parameters collected by the piezoelectric sensor.

[0108] The reference angle is determined based on the variation pattern, which is determined by the relationship between the piezoelectric parameters at the current moment and the piezoelectric parameters at the previous moment.

[0109] Calculate the angle ratio based on the current piezoelectric parameters, the minimum piezoelectric parameter, and the maximum piezoelectric parameter;

[0110] The rotor's eccentricity angle is determined based on the angle ratio and the reference angle.

[0111] The rotor's position at the current moment is calculated based on the heat-shrink angle and eccentricity angle.

[0112] Example 2: When the air conditioner is turned on, refer to... Figure 8 Therefore, the control methods for the air conditioner in Example 2 include:

[0113] Acquire piezoelectric parameters collected by the piezoelectric sensor; specifically, acquire the piezoelectric parameters at the current moment, the piezoelectric parameters at the previous moment, the minimum piezoelectric parameters, and the maximum piezoelectric parameters collected by the piezoelectric sensor.

[0114] If the minimum piezoelectric parameter is 2V, the maximum piezoelectric parameter is 3V, the current piezoelectric parameter is 2.5V, and the previous piezoelectric parameter was 2.6V; the change pattern is that the current piezoelectric parameter (2.5V) is less than the previous piezoelectric parameter (2.6V), so the reference angle is 0 degrees. The denominator (1) is determined by the difference between the minimum piezoelectric parameter (2V) and the maximum piezoelectric parameter (3V). The first numerator (0.5) is determined by the difference between the current piezoelectric parameter (2.5V) and the maximum piezoelectric parameter (3V). The angle ratio (1 / 2) is determined according to the ratio of the first numerator (0.5) and the denominator (1). The reference angle is determined to be 0 degrees. The initial eccentric angle (90 degrees) is obtained by the ratio of the angle ratio (1 / 2) and the preset mapping angle threshold (180 degrees). The eccentric angle (90 degrees) is then determined according to the sum of the initial eccentric angle (90 degrees) and the reference angle (0 degrees).

[0115] If the minimum piezoelectric parameter is 2V, the maximum piezoelectric parameter is 3V, the current piezoelectric parameter is 2.5V, and the previous piezoelectric parameter is 2.4V, then the current piezoelectric parameter (2.5V) is greater than the previous piezoelectric parameter (2.4V). The denominator (1) is determined by the difference between the minimum piezoelectric parameter (2V) and the maximum piezoelectric parameter (3V). The second numerator (0.5) is determined by the difference between the current piezoelectric parameter (2.5V) and the minimum piezoelectric parameter (2V). The angle ratio (1 / 2) is determined based on the ratio of the second numerator (0.5) to the denominator (1). The reference angle is determined to be 180 degrees. The initial eccentric angle (90 degrees) is obtained by the ratio of the angle ratio (1 / 2) to the preset mapping angle threshold (180 degrees). The eccentric angle (270 degrees) is determined based on the sum of the initial eccentric angle (90 degrees) and the reference angle (180 degrees).

[0116] Example 3: When the air conditioner is turned on, refer to... Figure 9 Therefore, the control methods for the air conditioner in Example 3 include:

[0117] Acquire piezoelectric parameters collected by the piezoelectric sensor; specifically, acquire the piezoelectric parameters at the current moment, the piezoelectric parameters at the previous moment, the minimum piezoelectric parameters, and the maximum piezoelectric parameters collected by the piezoelectric sensor.

[0118] The reference angle is determined based on the variation pattern, which is determined by the relationship between the piezoelectric parameters at the current moment and the piezoelectric parameters at the previous moment.

[0119] Calculate the angle ratio based on the current piezoelectric parameters, the minimum piezoelectric parameter, and the maximum piezoelectric parameter;

[0120] The rotor's eccentricity angle is determined based on the angle ratio and the reference angle.

[0121] The rotor's position at the current moment is calculated based on the heat-shrink angle and the eccentric angle.

[0122] The degree of sliding of the slider is determined based on the minimum piezoelectric parameter and the preset piezoelectric parameter threshold.

[0123] The rotor's slip angle is determined based on the degree of slippage;

[0124] Update the rotor's position at the current moment based on the slip angle.

[0125] Based on the above-described control method for air conditioners, the following are various embodiments of the controller, air conditioner, and computer-readable storage medium of the present invention.

[0126] One embodiment of the present invention provides a controller comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor.

[0127] The processor and memory can be connected via a bus or other means.

[0128] It should be noted that the controller in this embodiment may include, for example: Figure 1 The processor and memory in the illustrated embodiment belong to the same inventive concept, and therefore have the same implementation principle and beneficial effects, which will not be described in detail here.

[0129] The non-transient software program and instructions required to implement the air conditioner control method of the above embodiments are stored in the memory. When executed by the processor, the air conditioner control method of the above embodiments is executed.

[0130] Furthermore, embodiments of the present invention also provide an air conditioner, which includes the controller described above.

[0131] It is worth noting that, since the air conditioner of this embodiment has the controller of the above embodiment, and the controller of the above embodiment can execute the control method of the air conditioner of the above embodiment, the specific implementation method and technical effect of the air conditioner of this embodiment can refer to the specific implementation method and technical effect of the control method of the air conditioner of any of the above embodiments.

[0132] This invention also provides a computer-readable storage medium storing computer-executable instructions for performing the aforementioned air conditioner control method, for example, being... Figure 1One of the processors 1001 executes the control method described in the above method embodiments, such as executing the control method described above. Figure 3 Method steps S100 to S200 Figure 4 Method steps S210 to S240, Figure 5 Method steps S310 to S320 Figure 6 Method steps S410 to S420.

[0133] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network nodes. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0134] Those skilled in the art will understand that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer-readable storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer-readable storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer-readable storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0135] The above is a detailed description of the preferred embodiments of this application. However, this application is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of this application. All such equivalent modifications or substitutions are included within the scope defined by the claims of this application.

Claims

1. An air conditioner, characterized in that, include: The compressor includes a housing, a cylinder, a slider, and a spring. The cylinder has a slider groove to accommodate the slider. One end of the spring is connected to one end of the slider so that the other end of the slider abuts against the piston of the compressor. When the piston of the compressor rotates eccentrically, the slider performs linear reciprocating motion within the slider groove. A piezoelectric sensor is disposed in the housing and connected to the other end of the spring; The controller is electrically connected to the piezoelectric sensor and configured to acquire the piezoelectric parameters collected by the piezoelectric sensor, determine a reference angle based on the variation law of the piezoelectric parameters, the variation law being determined based on the relationship between the piezoelectric parameters at the current moment and the piezoelectric parameters at the previous moment, calculate the angle ratio based on the piezoelectric parameters at the current moment, the minimum piezoelectric parameters, and the maximum piezoelectric parameters, determine the eccentric angle of the compressor rotor based on the angle ratio and the reference angle, and calculate the position of the rotor at the current moment based on the preset heat-shrink angle and the eccentric angle.

2. The air conditioner according to claim 1, characterized in that, A raised cavity is formed on the inner side of the housing, and the piezoelectric sensor is disposed in the raised cavity.

3. A control method for an air conditioner, characterized in that, The air conditioner includes: The compressor includes a housing, a cylinder, a slider, and a spring. The cylinder has a slider groove to accommodate the slider. One end of the spring is connected to one end of the slider so that the other end of the slider abuts against the piston of the compressor. When the piston of the compressor rotates eccentrically, the slider performs linear reciprocating motion within the slider groove. A piezoelectric sensor is disposed in the housing and connected to the other end of the spring; The control method includes: Acquire the piezoelectric parameters collected by the piezoelectric sensor; The reference angle is determined based on the variation law of the piezoelectric parameters, and the variation law is determined based on the relationship between the piezoelectric parameters at the current moment and the piezoelectric parameters at the previous moment. Calculate the angle ratio based on the current piezoelectric parameters, the minimum piezoelectric parameter, and the maximum piezoelectric parameter; The eccentricity angle of the compressor rotor is determined based on the angle ratio and the reference angle. The position of the rotor at the current moment is calculated based on the preset heat-shrink angle and the eccentric angle.

4. The control method according to claim 3, characterized in that, The control method further includes: The degree of sliding of the slider is determined based on the minimum piezoelectric parameter and a preset piezoelectric parameter threshold; wherein, the degree of sliding is used to characterize the displacement offset of the slider in the straight direction of the slider groove caused by the high and low pressure difference on both sides of the compressor operating slider. The rotor's position at the current moment is corrected based on the degree of slippage.

5. The control method according to claim 4, characterized in that, The step of correcting the rotor's position at the current moment based on the degree of slippage includes: The slip angle of the rotor is determined based on the degree of slip. The rotor position at the current moment is updated based on the slip angle.

6. The control method according to claim 5, characterized in that, Determining the slip angle of the rotor based on the degree of slip includes: If the minimum piezoelectric parameter is greater than or equal to the piezoelectric parameter threshold, the slip angle is determined to be the first slip angle value; If the minimum piezoelectric parameter is less than the piezoelectric parameter threshold, the slip angle is determined to be the second slip angle value.

7. The control method according to claim 6, characterized in that, The second slip angle value is obtained through the following steps: The slip piezoelectric difference value is calculated based on the piezoelectric parameter threshold and the minimum piezoelectric parameter. The second sliding angle value is calculated based on the sliding piezoelectric difference value and the preset sliding reference angle.

8. The control method according to claim 4, characterized in that, The piezoelectric parameter threshold is obtained through the following steps: When the compressor is in an air-operated state, the air piezoelectric parameters collected by the piezoelectric sensor are acquired, and the air piezoelectric parameters include at least the minimum air piezoelectric parameter; wherein, the air-operated state refers to the compressor being in an no-load operating state; The piezoelectric parameter threshold is calculated based on the minimum air piezoelectric parameter and the preset revised voltage parameter.

9. A controller, 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 computer program, implements the control method as described in any one of claims 3 to 8.

10. An air conditioner, characterized in that, Includes the controller as described in claim 9.

11. A computer-readable storage medium, characterized in that, The device stores computer-executable instructions for performing the control method as described in any one of claims 3 to 8.