Air conditioner, air conditioner compressor operating frequency adjustment method and system
By dynamically adjusting the operating frequency of the air-conditioning compressor and using the PID control model, the problem of frequent startup and high power consumption of the air-conditioning compressor is solved, extending the service life and improving the efficiency of temperature regulation.
Patent Information
- Application Number
- CN202211288057.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-20
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-10-20
AI Technical Summary
The existing air conditioning compressor control method results in frequent starts and high power consumption, which affects the service life and results in untimely indoor temperature adjustment.
By obtaining the difference between the indoor ambient temperature and the preset temperature, the PID control model is used to dynamically adjust the operating frequency of the compressor to avoid frequent starts and stops and reduce power consumption.
It reduces the frequent starts and stops of the compressor, extends the service life, and enables rapid adjustment of indoor ambient temperature, improving user experience.
Smart Images

Figure CN115560449B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioner control, and in particular to an air conditioner, an air conditioner compressor operating frequency adjustment method and system. Background Art
[0002] After the air conditioner is turned on, it usually works according to the set mode, compares the indoor ambient temperature with the preset temperature, calculates the difference between the indoor ambient temperature and the preset temperature, controls the compressor to start, and performs heating or cooling until the difference between the indoor ambient temperature and the preset temperature is lower than the set value, or the indoor ambient temperature is equal to the preset temperature, then controls the compressor to stop running. However, when the compressor stops running for a period of time, the indoor ambient temperature changes, and the difference between the indoor ambient temperature and the preset temperature is too large, the compressor has to be started again to adjust the temperature until the difference between the indoor ambient temperature and the preset temperature is lower than the set value again. The frequent starting of the compressor will have an adverse effect on the service life of the compressor and increase power consumption. Moreover, after the compressor is stopped and started again, it is impossible to quickly and instantly blow out hot or cold air to adjust the indoor ambient temperature. It takes a while to work effectively, resulting in a poor user experience. Summary of the invention
[0003] The present invention provides an air conditioner, an air conditioner compressor operating frequency adjustment method and a system, which are used to solve the defects of frequent compressor startup and high power consumption caused by the single control mode of the existing air conditioner compressor, and realize dynamic adjustment of the compressor frequency and reduce power consumption.
[0004] The present invention provides a method for adjusting the operating frequency of an air-conditioning compressor, comprising:
[0005] Get the indoor ambient temperature;
[0006] Comparing the indoor ambient temperature with a preset temperature to generate a temperature difference;
[0007] Comparing the temperature difference with a preset threshold value to generate a compressor operating frequency adjustment instruction;
[0008] The compressor operating frequency adjustment instruction is used to change the compressor operating frequency through a preset PID control model.
[0009] According to a method for adjusting the operating frequency of an air-conditioning compressor provided by the present invention, the step of obtaining the indoor ambient temperature specifically includes:
[0010] The indoor ambient temperature is collected multiple times through the temperature sensor device built into the air conditioner to generate multiple initial indoor ambient temperature data;
[0011] The final indoor ambient temperature value is generated by averaging multiple initial indoor ambient temperature data.
[0012] According to a method for adjusting the operating frequency of an air-conditioning compressor provided by the present invention, the indoor ambient temperature is compared with a preset temperature to generate a temperature difference, which specifically includes:
[0013] Difference between indoor ambient temperature and preset temperature to generate temperature difference data;
[0014] In heating mode, the absolute value of the temperature difference data is taken as the temperature difference value;
[0015] In the cooling mode, the temperature difference data is taken as the temperature difference value.
[0016] According to a method for adjusting the operating frequency of an air conditioner compressor provided by the present invention, the temperature difference is compared with a preset threshold value to generate a compressor operating frequency adjustment instruction, which specifically includes:
[0017] Comparing the temperature difference with a first preset threshold among preset thresholds to generate a comparison result;
[0018] The compressor operating frequency adjustment instruction is generated according to the comparison result.
[0019] According to a method for adjusting the operating frequency of an air conditioner compressor provided by the present invention, the compressor operating frequency adjustment instruction is used to change the compressor operating frequency through a preset PID control model, specifically comprising:
[0020] When the comparison result shows that the temperature difference is greater than the first preset threshold value, the compressor is controlled to operate at the highest operating frequency according to the compressor operating frequency adjustment instruction through the preset PID control model;
[0021] When the comparison result is that the temperature difference is less than or equal to the first preset threshold, the compressor is controlled to reduce the operating frequency according to the compressor operating frequency adjustment instruction through the preset PID control model.
[0022] According to a method for adjusting the operating frequency of an air-conditioning compressor provided by the present invention, when the comparison result is that the temperature difference is less than or equal to a first preset threshold value, the compressor is controlled to reduce the operating frequency according to the compressor operating frequency adjustment instruction through a preset PID control model, including:
[0023] When the temperature difference is less than or equal to the first preset threshold and greater than the second preset threshold, the compressor is controlled to reduce the operating frequency and operate at the first operating frequency according to the compressor operating frequency adjustment instruction through the preset PID control model.
[0024] According to a method for adjusting the operating frequency of an air-conditioning compressor provided by the present invention, when the comparison result is that the temperature difference is less than or equal to a first preset threshold value, the compressor is controlled to reduce the operating frequency according to the compressor operating frequency adjustment instruction through a preset PID control model, and further includes:
[0025] When the temperature difference is less than or equal to the second preset threshold and greater than the third preset threshold, the compressor is controlled to reduce the operating frequency according to the compressor operating frequency adjustment instruction through a preset PID control model, and operate at the second operating frequency;
[0026] When the temperature difference is less than or equal to the third preset threshold, the compressor operates at the lowest operating frequency.
[0027] According to a method for adjusting the operating frequency of an air-conditioning compressor provided by the present invention, the minimum operating frequency is less than the second operating frequency, the second operating frequency is less than the first operating frequency, and the first operating frequency is less than the maximum operating frequency.
[0028] The present invention also provides an air-conditioning compressor operating frequency adjustment system, the system comprising:
[0029] A data acquisition module is used to obtain the indoor environment temperature;
[0030] A comparison module, used for comparing the indoor environment temperature with a preset temperature to generate a temperature difference;
[0031] An instruction generation module, used for comparing the temperature difference with the preset threshold value to generate a compressor operating frequency adjustment instruction;
[0032] The frequency modulation module, the compressor operating frequency adjustment instruction is used to change the compressor operating frequency through a preset PID control model.
[0033] The present invention also provides an air conditioner, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-described methods for adjusting the operating frequency of the air conditioner compressor is implemented.
[0034] The present invention provides an air conditioner, an air conditioner compressor operating frequency adjustment method and system, which calculates the temperature difference between the indoor ambient temperature and the preset temperature, compares the temperature difference with the preset threshold, and realizes the continuous reduction of the compressor operating frequency through the PID control model. In the dynamic adjustment process, there is no need to frequently start and stop the compressor, which avoids the frequent start and stop of the air conditioner compressor, reduces power consumption, and increases the life of the compressor. At the same time, the indoor ambient temperature can be quickly adjusted to provide users with the best user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 This is one of the flow charts of a method for adjusting the operating frequency of an air-conditioning compressor provided by the present invention;
[0037] Figure 2 This is a second flow chart of a method for adjusting the operating frequency of an air-conditioning compressor provided by the present invention;
[0038] Figure 3 This is a third flow chart of a method for adjusting the operating frequency of an air-conditioning compressor provided by the present invention;
[0039] Figure 4 This is a fourth flow chart of a method for adjusting the operating frequency of an air-conditioning compressor provided by the present invention;
[0040] Figure 5 This is a fifth flow chart of a method for adjusting the operating frequency of an air-conditioning compressor provided by the present invention;
[0041] Figure 6 It is a module connection diagram of an air-conditioning compressor operating frequency adjustment system provided by the present invention;
[0042] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention.
[0043] Reference numerals:
[0044] 110: data acquisition module; 120: comparison module; 130: instruction generation module; 140: frequency modulation module;
[0045] 710: processor; 720: communication interface; 730: memory; 740: communication bus. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] Combine the following Figure 1-Figure 5A method for adjusting the operating frequency of an air conditioner compressor of the present invention is described, comprising:
[0048] S100, obtaining indoor ambient temperature;
[0049] S200, comparing the indoor ambient temperature with a preset temperature to generate a temperature difference;
[0050] S300, comparing the temperature difference with a preset threshold value, and generating a compressor operating frequency adjustment instruction;
[0051] S400, the compressor operating frequency adjustment instruction is used to change the compressor operating frequency through a preset PID control model.
[0052] In actual application, the present invention continuously obtains the temperature difference between the indoor ambient temperature and the preset temperature, and adjusts the operating frequency of the compressor accordingly according to the range of the temperature difference, so that the compressor always remains within a reasonable operating frequency range, avoids frequent starting and stopping of the compressor, and can quickly adjust the indoor ambient temperature.
[0053] Get the indoor ambient temperature, including:
[0054] S101, collecting the indoor ambient temperature multiple times through the temperature sensing device provided by the air conditioner to generate multiple initial indoor ambient temperature data;
[0055] S102: Calculate the average value of multiple initial indoor ambient temperature data to generate a final indoor ambient temperature value.
[0056] The air conditioner is equipped with a temperature sensor, which collects the initial indoor ambient temperature data multiple times within the set time range. Due to the complex and changeable indoor environment, there may be a human body or other heat / cold source close to the temperature sensor, which will cause the instantaneous indoor ambient temperature data to be inaccurate and difficult to accurately reflect the indoor ambient temperature data. Therefore, by collecting multiple indoor ambient temperature data, eliminating extreme abnormal values, and then calculating the average value, the current indoor ambient temperature can be accurately reflected. Obtaining accurate indoor ambient temperature data helps to accurately compare the difference with the set temperature, thereby adjusting the operating frequency of the compressor.
[0057] The preset temperature is automatically obtained according to the user's settings. For example, in heating mode, the indoor ambient temperature is low, and the preset temperature is usually set to 23°C. If you want a higher temperature, you can increase the temperature through the remote control or control panel. In cooling mode, the indoor ambient temperature is high, and the preset temperature is usually set to 20°C. If you need a lower temperature, you can lower the temperature through the remote control or control panel. After obtaining the preset temperature value set by the user, it can help accurately calculate the temperature difference. Even if the user changes the preset temperature during use, the temperature difference between the new preset temperature and the indoor ambient temperature can be calculated in time.
[0058] The indoor environment temperature is compared with a preset temperature to generate a temperature difference, specifically including:
[0059] S201, subtract the indoor ambient temperature from the preset temperature to generate temperature difference data;
[0060] S202, in heating mode, taking the absolute value of the temperature difference data as the temperature difference value;
[0061] S203: In cooling mode, taking temperature difference data as the temperature difference value.
[0062] After obtaining the accurate indoor ambient temperature and the preset temperature, the difference is made to generate temperature difference data. Due to the different environments corresponding to different seasons, the indoor ambient temperature may be greater than or less than the preset temperature. In order to ensure the universality of the temperature difference data, the temperature difference data is processed according to the actual situation. In the heating mode, the indoor ambient temperature is lower than the preset temperature. When the temperature difference data formed by subtracting the preset temperature from the indoor ambient temperature is negative, the absolute value is calculated and converted to a positive number; in the cooling mode, the indoor ambient temperature is greater than the preset temperature. When the temperature difference data formed by subtracting the preset temperature from the indoor ambient temperature is positive, it can be used directly without calculating the absolute value. By processing the temperature difference data, the final temperature difference values are all positive numbers, which is convenient for subsequent data utilization.
[0063] The temperature difference is compared with a preset threshold value to generate a compressor operating frequency adjustment instruction, specifically including:
[0064] S301, comparing the temperature difference with a first preset threshold among preset thresholds to generate a comparison result;
[0065] S302: Generate the compressor operating frequency adjustment instruction according to the comparison result.
[0066] The compressor operating frequency adjustment instruction is used to change the compressor operating frequency through a preset PID control model, specifically including:
[0067] S401: When the comparison result shows that the temperature difference is greater than a first preset threshold, the compressor is controlled to operate at a maximum operating frequency according to the compressor operating frequency adjustment instruction through a preset PID control model;
[0068] S402: When the comparison result shows that the temperature difference is less than or equal to the first preset threshold, the compressor is controlled to reduce the operating frequency according to the compressor operating frequency adjustment instruction through a preset PID control model, and operates at the first operating frequency;
[0069] The first operating frequency is lower than the maximum operating frequency.
[0070] In the present invention, the temperature difference is obtained and then the range of the temperature difference is determined. Different compressor operating frequencies are matched according to different temperature differences to achieve rapid temperature adjustment. At the same time, there is no need to start and stop frequently to avoid rapid aging and damage of the compressor. After determining the range of the temperature difference, the operating frequency of the compressor is controlled by a preset PID control model.
[0071] In engineering practice, the most widely used regulator control law is proportional, integral, and differential control, abbreviated as PID control, also known as PID regulation. PID controller has become one of the main technologies of industrial control due to its simple structure, good stability, reliable operation, and easy adjustment. When the structure and parameters of the controlled object cannot be fully mastered, or an accurate mathematical model cannot be obtained, other control theory techniques are difficult to adopt, and the structure and parameters of the system controller must be determined by experience and on-site debugging. At this time, it is most convenient to apply PID control technology. That is, when a system and the controlled object are not fully understood, or when the system parameters cannot be obtained through effective measurement methods, PID control technology is most suitable. PID control, in practice there are also PI and PD control. The PID controller uses proportional, integral, and differential methods to calculate the control quantity for control based on the system error.
[0072] Proportional (P) control is the simplest control method. The output of the controller is proportional to the input error signal. When only proportional control is used, there is a steady-state error in the system output.
[0073] Integral (I) control, in integral control, the output of the controller is proportional to the integral of the input error signal. For an automatic control system, if there is a steady-state error after entering the steady state, the control system is called a system with steady-state error or simply a system with a steady-state error. In order to eliminate the steady-state error, an "integral term" must be introduced in the controller. The integral term is the integral of the error depending on time, and the integral term will increase as time increases. In this way, even if the error is very small, the integral term will increase as time increases, which drives the controller's output to increase and further reduce the steady-state error until it is close to zero. Therefore, the proportional + integral (PI) controller can make the system almost free of steady-state error after entering the steady state.
[0074] Differential (D) control, in differential control, the output of the controller is proportional to the differential of the input error signal (i.e. the rate of change of the error). The automatic control system may oscillate or even become unstable during the adjustment process to overcome the error. The reason is that there are large inertia components (links) or lag components, which have the effect of suppressing the error, and their changes always lag behind the changes in the error. The solution is to make the change of the effect of suppressing the error "ahead", that is, when the error is close to zero, the effect of suppressing the error should be zero. That is to say, it is often not enough to introduce only the "proportional" term in the controller. The role of the proportional term is only to amplify the amplitude of the error, and what needs to be added is the "differential term", which can predict the trend of the error change. In this way, the controller with proportional + differential can make the control effect of suppressing the error equal to zero or even negative in advance, thereby avoiding serious overshoot of the controlled quantity. Therefore, for controlled objects with large inertia or lag, the proportional + differential (PD) controller can improve the dynamic characteristics of the system during the adjustment process.
[0075] The parameter tuning of PID controller is the core content of control system design. It determines the proportional coefficient, integral time and differential time of PID controller according to the characteristics of the controlled process. There are many methods for PID controller parameter tuning, which can be summarized into two categories: one is the theoretical calculation tuning method. It is mainly based on the mathematical model of the system and determines the controller parameters through theoretical calculation. The calculated data obtained by this method may not be directly used, and must be adjusted and modified through engineering practice. The second is the engineering tuning method, which mainly relies on engineering experience and is carried out directly in the test of the control system. The method is simple and easy to master, and is widely used in engineering practice. The engineering tuning methods of PID controller parameters mainly include critical proportion method, reaction curve method and attenuation method. The two methods have their own characteristics, and their common point is that they are tested and then the controller parameters are tuned according to the engineering experience formula. However, no matter which method is used, the controller parameters obtained need to be finally adjusted and improved in actual operation. The critical proportion method is generally used. The steps for tuning the PID controller parameters using this method are as follows: ⑴ First, preselect a sampling period that is short enough for the system to work; ⑵ Only add the proportional control link until the system shows critical oscillation in response to the input step, and record the proportional gain and critical oscillation period at this time; ⑶ Calculate the parameters of the PID controller through the formula under a certain control degree.
[0076] PID control eliminates errors through integral action, while differential control can reduce overshoot and speed up response. It combines the advantages of PI control and PD control and eliminates their disadvantages. From the frequency domain perspective, PID control acts on the low frequency band of the system through integral action to improve the stability of the system, while differential action acts on the mid-frequency band of the system to improve the dynamic performance of the system.
[0077] Proportional (P) control can quickly respond to errors, thereby reducing steady-state errors. However, proportional control cannot eliminate steady-state errors. The increase in the proportional gain factor will cause system instability. The role of integral (I) control is: as long as there is an error in the system, the integral controller will continue to accumulate and output the control amount to eliminate the error. Therefore, as long as there is enough time, the integral control will be able to completely eliminate the error, making the system error zero, thereby eliminating the steady-state error. Too strong an integral effect will increase the overshoot of the system and even cause the system to oscillate. Differential (D) control can reduce the overshoot, overcome oscillation, improve the stability of the system, and at the same time speed up the dynamic response speed of the system and reduce the adjustment time, thereby improving the dynamic performance of the system. According to the control characteristics of different controlled objects, it can be divided into different control models such as P, PI, PD, PID, etc.
[0078] In the present invention, the temperature difference is compared with the first preset threshold to generate a comparison result. In the initial operation stage of the air conditioner, the temperature difference is large and greater than the first preset threshold. The compressor operates at the maximum operating frequency to quickly reduce the temperature difference and make the indoor ambient temperature quickly approach the preset temperature.
[0079] After the compressor runs at maximum power for a period of time, the temperature difference between the indoor environment temperature and the preset temperature decreases. When it is lower than the first preset threshold, it is determined whether it is greater than the second preset threshold. When the temperature difference is between the first preset threshold and the second preset threshold, the compressor operating frequency is reduced through the PID control model to operate at the first operating frequency.
[0080] As the temperature difference decreases and is lower than the second preset threshold, it is determined whether the temperature difference is greater than the third preset threshold. When the temperature difference is between the second preset threshold and the third preset threshold, the compressor operating frequency is reduced through the PID control model to operate at the second operating frequency.
[0081] The temperature difference continues to decrease, and it is determined whether the temperature difference is less than or equal to the third preset threshold. When the temperature difference is less than or equal to the third preset threshold, the compressor operating frequency is reduced through the PID control model, and the compressor operates at the minimum operating frequency. In the present invention, the minimum operating frequency is less than the second operating frequency, the second operating frequency is less than the first operating frequency, and the first operating frequency is less than the maximum operating frequency. Ensure that the compressor does not stop running, avoid frequent starting or stopping of the compressor, and reduce the loss of the compressor. And when the indoor ambient temperature changes, since the compressor is always in a state of dynamic balance adjustment, the working state of the compressor can be quickly adjusted, the indoor ambient temperature can be quickly adjusted, and the user's physical comfort is improved.
[0082] The present invention provides an air-conditioning compressor operating frequency adjustment method, which calculates the temperature difference between the indoor ambient temperature and the preset temperature, compares the temperature difference with the preset threshold, and realizes the continuous reduction of the compressor operating frequency through the PID control model. This avoids the air-conditioning compressor from constantly starting and stopping, reduces power consumption, and increases the life of the compressor. At the same time, it can quickly adjust the indoor ambient temperature and provide users with the best use experience.
[0083] refer to Figure 6 The present invention also discloses an air-conditioning compressor operating frequency adjustment system, the system comprising:
[0084] The data acquisition module 110 is used to acquire the indoor environment temperature;
[0085] A comparison module 120, for comparing the indoor ambient temperature with a preset temperature to generate a temperature difference;
[0086] The instruction generation module 130 is used to compare the temperature difference with the preset threshold value and generate a compressor operating frequency adjustment instruction;
[0087] The frequency modulation module 140, the compressor operating frequency adjustment instruction is used to change the compressor operating frequency through a preset PID control model.
[0088] The data acquisition module 110 collects the indoor environment temperature multiple times through the temperature sensor device provided by the air conditioner to generate multiple initial indoor environment temperature data;
[0089] The final indoor ambient temperature value is generated by averaging multiple initial indoor ambient temperature data.
[0090] The comparison module 120 is used to compare the indoor environment temperature with the preset temperature to generate temperature difference data;
[0091] In heating mode, the absolute value of the temperature difference data is taken as the temperature difference value;
[0092] In the cooling mode, the temperature difference data is taken as the temperature difference value.
[0093] The instruction generating module 130 compares the temperature difference with a first preset threshold value among the preset threshold values to generate a comparison result;
[0094] The compressor operating frequency adjustment instruction is generated according to the comparison result.
[0095] The frequency modulation module 140 controls the compressor to operate at the highest operating frequency according to the compressor operating frequency adjustment instruction through a preset PID control model when the comparison result shows that the temperature difference is greater than the first preset threshold value;
[0096] When the comparison result is that the temperature difference is less than or equal to the first preset threshold, the compressor is controlled to reduce the operating frequency according to the compressor operating frequency adjustment instruction through the preset PID control model.
[0097] When the temperature difference is less than or equal to the first preset threshold and greater than the second preset threshold, the compressor is controlled to reduce the operating frequency through the preset PID control model and operate at the first operating frequency;
[0098] The first operating frequency is less than the maximum operating frequency.
[0099] When the temperature difference is less than or equal to the second preset threshold and greater than the third preset threshold, the compressor is controlled to reduce the operating frequency through the preset PID control model and operate at a second operating frequency, which is lower than the first operating frequency;
[0100] When the temperature difference is less than or equal to the third preset threshold, the compressor operates at the lowest operating frequency.
[0101] The present invention provides an air-conditioning compressor operating frequency adjustment system, which calculates the temperature difference between the indoor ambient temperature and the preset temperature, compares the temperature difference with the preset threshold, and realizes the continuous reduction of the compressor operating frequency through the PID control model. This avoids the air-conditioning compressor from constantly starting and stopping, reduces power consumption, and increases the life of the compressor. At the same time, it can quickly adjust the indoor ambient temperature and provide users with the best use experience.
[0102] Figure 7 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 7 As shown, the electronic device may include: a processor 710, a communication interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communication interface 720 and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute a method for adjusting the operating frequency of an air-conditioning compressor, the method comprising: obtaining the indoor ambient temperature;
[0103] Comparing the indoor ambient temperature with a preset temperature to generate a temperature difference;
[0104] Comparing the temperature difference with a preset threshold value to generate a compressor operating frequency adjustment instruction;
[0105] The compressor operating frequency adjustment instruction is used to change the compressor operating frequency through a preset PID control model.
[0106] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0107] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored in a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute an air-conditioning compressor operating frequency adjustment method provided by the above methods, the method comprising: obtaining indoor ambient temperature;
[0108] Comparing the indoor ambient temperature with a preset temperature to generate a temperature difference;
[0109] Comparing the temperature difference with a preset threshold value to generate a compressor operating frequency adjustment instruction;
[0110] The compressor operating frequency adjustment instruction is used to change the compressor operating frequency through a preset PID control model.
[0111] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, a method for adjusting the operating frequency of an air-conditioning compressor provided by the above methods is implemented, and the method includes: obtaining an indoor ambient temperature;
[0112] Comparing the indoor ambient temperature with a preset temperature to generate a temperature difference;
[0113] Comparing the temperature difference with a preset threshold value to generate a compressor operating frequency adjustment instruction;
[0114] The compressor operating frequency adjustment instruction is used to change the compressor operating frequency through a preset PID control model.
[0115] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0116] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0117] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for adjusting the operating frequency of an air-conditioning compressor, characterized in that: include: Get the indoor ambient temperature; Comparing the indoor ambient temperature with a preset temperature to generate a temperature difference; Comparing the temperature difference with a preset threshold value to generate a compressor operating frequency adjustment instruction; The compressor operating frequency adjustment instruction is used to change the compressor operating frequency through a preset PID control model; The obtaining of the indoor ambient temperature specifically includes: The indoor ambient temperature is collected multiple times through the temperature sensor device built into the air conditioner to generate multiple initial indoor ambient temperature data; Calculate the average value of multiple initial indoor ambient temperature data to generate a final indoor ambient temperature value; The compressor operating frequency adjustment instruction is used to change the compressor operating frequency through a preset PID control model, specifically including: When the comparison result shows that the temperature difference is greater than the first preset threshold value, the compressor is controlled to operate at the highest operating frequency according to the compressor operating frequency adjustment instruction through the preset PID control model; When the comparison result shows that the temperature difference is less than or equal to the first preset threshold value, the compressor is controlled to reduce the operating frequency according to the compressor operating frequency adjustment instruction through the preset PID control model; When the comparison result is that the temperature difference is less than or equal to the first preset threshold, the compressor is controlled to reduce the operating frequency according to the compressor operating frequency adjustment instruction through a preset PID control model, including: When the temperature difference is less than or equal to the first preset threshold and greater than the second preset threshold, the compressor is controlled to reduce the operating frequency according to the compressor operating frequency adjustment instruction through a preset PID control model, and operate at the first operating frequency; When the comparison result is that the temperature difference is less than or equal to the first preset threshold, the compressor is controlled to reduce the operating frequency according to the compressor operating frequency adjustment instruction through a preset PID control model, and further includes: When the temperature difference is less than or equal to the second preset threshold and greater than the third preset threshold, the compressor is controlled to reduce the operating frequency according to the compressor operating frequency adjustment instruction through a preset PID control model, and operate at the second operating frequency; When the temperature difference is less than or equal to the third preset threshold, the compressor operates at the lowest operating frequency.
2. The method for adjusting the operating frequency of the air conditioner compressor according to claim 1, characterized in that: The indoor environment temperature is compared with a preset temperature to generate a temperature difference, specifically including: Difference between indoor ambient temperature and preset temperature to generate temperature difference data; In heating mode, the absolute value of the temperature difference data is taken as the temperature difference value; In cooling mode, the temperature difference data is taken as the temperature difference value.
3. The method for adjusting the operating frequency of an air-conditioning compressor according to claim 1, characterized in that: The temperature difference is compared with a preset threshold value to generate a compressor operating frequency adjustment instruction, specifically including: Comparing the temperature difference with a first preset threshold value among the preset threshold values to generate a comparison result; The compressor operating frequency adjustment instruction is generated according to the comparison result.
4. The method for adjusting the operating frequency of an air-conditioning compressor according to claim 1, characterized in that: The minimum operating frequency is less than the second operating frequency, the second operating frequency is less than the first operating frequency, and the first operating frequency is less than the maximum operating frequency.
5. An air-conditioning compressor operating frequency adjustment system, characterized in that: The system comprises: A data acquisition module is used to obtain the indoor environment temperature; A comparison module, used for comparing the indoor environment temperature with a preset temperature to generate a temperature difference; An instruction generation module, used for comparing the temperature difference with a preset threshold value and generating an instruction for adjusting the operating frequency of the compressor; The frequency modulation module, the compressor operating frequency adjustment instruction is used to change the compressor operating frequency through a preset PID control model; The obtaining of the indoor ambient temperature specifically includes: The indoor ambient temperature is collected multiple times through the temperature sensor device built into the air conditioner to generate multiple initial indoor ambient temperature data; Calculate the average value of multiple initial indoor ambient temperature data to generate a final indoor ambient temperature value; The compressor operating frequency adjustment instruction is used to change the compressor operating frequency through a preset PID control model, specifically including: When the comparison result shows that the temperature difference is greater than the first preset threshold value, the compressor is controlled to operate at the highest operating frequency according to the compressor operating frequency adjustment instruction through the preset PID control model; When the comparison result shows that the temperature difference is less than or equal to the first preset threshold value, the compressor is controlled to reduce the operating frequency according to the compressor operating frequency adjustment instruction through the preset PID control model; When the comparison result is that the temperature difference is less than or equal to the first preset threshold, the compressor is controlled to reduce the operating frequency according to the compressor operating frequency adjustment instruction through a preset PID control model, including: When the temperature difference is less than or equal to the first preset threshold and greater than the second preset threshold, the compressor is controlled to reduce the operating frequency according to the compressor operating frequency adjustment instruction through a preset PID control model, and operate at the first operating frequency; When the comparison result is that the temperature difference is less than or equal to the first preset threshold, the compressor is controlled to reduce the operating frequency according to the compressor operating frequency adjustment instruction through a preset PID control model, and further includes: When the temperature difference is less than or equal to the second preset threshold and greater than the third preset threshold, the compressor is controlled to reduce the operating frequency according to the compressor operating frequency adjustment instruction through a preset PID control model, and operate at the second operating frequency; When the temperature difference is less than or equal to the third preset threshold, the compressor operates at the lowest operating frequency.
6. An air conditioner, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the air-conditioning compressor operating frequency adjustment method as described in any one of claims 1 to 4 is implemented.
