Air conditioner working state adjusting method and device, equipment and storage medium
By obtaining real-time outdoor parameters and electric curtain position information, calculating the unshaded area and indoor temperature rise efficiency, and dynamically adjusting the air-conditioning working status, the problem of independent operation of traditional smart home devices is solved, data interoperability and strategy coordination between devices are realized, and the system's response efficiency and comfort are improved.
Patent Information
- Application Number
- CN202510974429.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-15
- Publication Date
- 2025-09-26
AI Technical Summary
Traditional smart home devices such as electric curtains and air conditioning systems operate independently, resulting in complex operation and failure to achieve optimal energy saving and living comfort.
By obtaining real-time outdoor parameters and electric curtain position information, calculating the unshaded area and indoor temperature rise efficiency, and combining indoor temperature feedback, the air conditioner working status is dynamically adjusted to achieve linkage control of the air conditioner, electric curtains and indoor temperature sensors.
It improves indoor environmental comfort, reduces energy consumption, enables data interoperability and strategy coordination between devices, and significantly improves system response efficiency.
Smart Images

Figure CN120702065A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of refrigeration control technology, and in particular to a method, device, equipment and storage medium for adjusting the working state of an air conditioner. Background Art
[0002] As core components of smart home systems, the intelligent control of electric curtains and air conditioners is extremely important for improving living comfort and achieving energy conservation and emission reduction goals. However, traditional electric curtains and air conditioning systems usually operate independently and require users to control them separately, which not only increases the complexity of operation but also reduces the overall efficiency of the smart home system.
[0003] As a key device for regulating indoor temperature, the intelligent control technology of air-conditioning systems has also experienced rapid development. Modern air-conditioning systems can automatically adjust their operating status based on the user's set temperature and the actual indoor temperature to maintain a stable indoor temperature. However, current air-conditioning systems often fail to achieve coordinated control with other home appliances such as electric curtains, and cannot achieve intelligent linkage between smart home systems. Therefore, it is impossible to achieve optimal energy-saving effects and provide optimal living comfort.
[0004] It can be seen that the existing technology still needs to be improved and enhanced. Summary of the Invention
[0005] In order to overcome the shortcomings of the existing technology, the purpose of the present invention is to provide a method for adjusting the working status of an air conditioner, which solves the inefficiency problem caused by the independent operation of traditional smart home devices, realizes data intercommunication and strategy coordination between devices, and significantly improves the overall response efficiency of the system.
[0006] A first aspect of the present invention provides a method for adjusting the working state of an air conditioner, comprising: obtaining real-time outdoor parameters, the real-time outdoor parameters including real-time outdoor temperature, real-time outdoor light intensity and real-time light angle; obtaining real-time position information of electric curtains, and calculating the unshaded area based on the real-time position information of the electric curtains; calculating the indoor temperature rise efficiency based on the real-time outdoor parameters and the calculated unshaded area, and obtaining the real-time indoor temperature and the user-set temperature fed back by the indoor temperature sensor; comparing the real-time indoor temperature and the user-set temperature, and adjusting the working state of the air conditioner based on the comparison result and the indoor temperature rise efficiency.
[0007] Optionally, in a first implementation method of the first aspect of the present invention, the electric curtain includes a Hall sensor electrically connected to the master control; the obtaining of the real-time position information of the electric curtain and the calculation of the unshaded area based on the real-time position information of the electric curtain include: obtaining the real-time number of motor rotations fed back by the Hall sensor, and confirming the real-time position information of the electric curtain based on the real-time number of motor rotations; obtaining basic window information and basic electric curtain information, the basic window information including window height and window width, and the basic electric curtain information including curtain width and curtain height; calculating the current shaded area based on the window height, the real-time position information of the electric curtain and the curtain width; calculating the total window area based on the window height and window width, and calculating the unshaded area based on the total window area and the current shaded area.
[0008] Optionally, in a second implementation method of the first aspect of the present invention, the calculation of the indoor temperature rise efficiency based on the real-time outdoor parameters and the calculated unshaded area includes: obtaining a pre-built calculation model, which is a functional relationship between the outdoor parameters, the unshaded area and the indoor temperature rise efficiency; inputting the real-time outdoor parameters and the calculated unshaded area into the pre-built calculation model to obtain the temperature rise efficiency.
[0009] Optionally, in a third implementation method of the first aspect of the present invention, the comparison of the real-time indoor temperature and the user-set temperature, and the adjustment of the working state of the air conditioner based on the comparison result and the indoor temperature rise efficiency include: calculating the difference between the real-time indoor temperature and the user-set temperature to obtain the real-time temperature difference; if the real-time temperature difference is within a preset suitable temperature range, adjusting the working state of the air conditioner based on the indoor temperature rise efficiency; confirming the current season based on the real-time outdoor temperature, the current season including summer and winter; if it is summer and the real-time temperature difference is greater than the preset suitable temperature range, executing the cooling mode, and adjusting the working state of the air conditioner based on the real-time temperature difference and the indoor temperature rise efficiency; if it is winter and the real-time temperature difference is greater than the preset suitable temperature range, executing the heating mode, and adjusting the working state of the air conditioner based on the real-time temperature difference and the indoor temperature rise efficiency.
[0010] Optionally, in a fourth implementation method of the first aspect of the present invention, if the real-time temperature difference is within a preset suitable temperature range, the working state of the air conditioner is adjusted based on the indoor temperature rise efficiency, including: if 0℃≤real-time temperature difference≤1℃, based on the indoor temperature rise efficiency, a particle swarm optimization algorithm is used to obtain the air conditioner working state parameters, and the air conditioner working state parameters include cooling / heating power level, operating time and shutdown interval; and the working state of the air conditioner is adjusted based on the obtained air conditioner working state parameters.
[0011] Optionally, in a fifth implementation of the first aspect of the present invention, if it is summer and the real-time temperature difference is greater than a preset suitable temperature range, the cooling mode is executed, and the working state of the air conditioner is adjusted based on the real-time temperature difference and the indoor temperature rise efficiency, including: when it is summer and the real-time temperature difference is greater than the preset suitable temperature range, the cooling mode is executed; if 1℃<real-time temperature difference≤2℃, low cooling power is adopted for operation, and based on the real-time temperature difference and the indoor temperature rise efficiency, the particle swarm optimization algorithm is used to obtain the working parameters of the first-level cooling mode, and the working state of the air conditioner is adjusted based on the working parameters of the first-level cooling mode; if 2℃<real-time temperature difference≤5℃, medium cooling power is adopted for operation, and based on the real-time temperature difference and the indoor temperature rise efficiency, the particle swarm optimization algorithm is used to obtain the working parameters of the second-level cooling mode, and the working state of the air conditioner is adjusted based on the working parameters of the second-level cooling mode; if 5℃<real-time temperature difference, high cooling power is adopted for operation, and based on the real-time temperature difference and the indoor temperature rise efficiency, the particle swarm optimization algorithm is used to obtain the working parameters of the third-level cooling mode, and the working state of the air conditioner is adjusted based on the working parameters of the third-level cooling mode.
[0012] Optionally, in a sixth implementation of the first aspect of the present invention, if it is winter and the real-time temperature difference is greater than a preset suitable temperature range, the heating mode is executed, and the working state of the air conditioner is adjusted based on the real-time temperature difference and the indoor temperature rise efficiency, including: when it is winter and the real-time temperature difference is greater than the preset suitable temperature range, the heating mode is executed; if 1°C < real-time temperature difference ≤ 2°C, low heating power is adopted for operation, and based on the real-time temperature difference and the indoor temperature rise efficiency, a particle swarm optimization algorithm is used to obtain the working parameters of the first-level heating mode, and the working state of the air conditioner is adjusted based on the working parameters of the first-level heating mode; if 2°C < real-time temperature difference ≤ 5°C, medium heating power is adopted for operation, and based on the real-time temperature difference and the indoor temperature rise efficiency, a particle swarm optimization algorithm is used to obtain the working parameters of the second-level heating mode, and the working state of the air conditioner is adjusted based on the working parameters of the second-level heating mode; if 5°C < real-time temperature difference, high heating power is adopted for operation, and based on the real-time temperature difference and the indoor temperature rise efficiency, a particle swarm optimization algorithm is used to obtain the working parameters of the third-level heating mode, and the working state of the air conditioner is adjusted based on the working parameters of the third-level heating mode.
[0013] The second aspect of the present invention provides an air-conditioning working state adjustment device, including: an acquisition module for acquiring real-time outdoor parameters, the real-time outdoor parameters including real-time outdoor temperature, real-time outdoor light intensity and real-time light angle; a first calculation module for acquiring real-time position information of electric curtains, and calculating the unshaded area based on the real-time position information of the electric curtains; a second calculation module for calculating the indoor temperature rise efficiency based on the real-time outdoor parameters and the calculated unshaded area, and acquiring the real-time indoor temperature and the user-set temperature fed back by the indoor temperature sensor; an adjustment module for comparing the real-time indoor temperature and the user-set temperature, and adjusting the working state of the air conditioner based on the comparison result and the indoor temperature rise efficiency.
[0014] The third aspect of the present invention provides an air conditioning working state adjustment device, which includes: a memory and at least one processor, wherein the memory stores instructions; at least one processor calls the instructions in the memory so that the air conditioning working state adjustment device executes each step of the air conditioning working state adjustment method described above.
[0015] A fourth aspect of the present invention provides a computer-readable storage medium having instructions stored thereon, which, when executed by a processor, implement the various steps of any of the above-mentioned methods for adjusting the working state of an air conditioner.
[0016] In the technical solution of the present invention, the linkage control of the air conditioner, electric curtains and indoor temperature sensors is realized through the master control. The smart home system can dynamically adjust the operating status of the air conditioner according to the position of the curtains and outdoor parameters, which not only improves the comfort of the indoor environment but also reduces unnecessary energy consumption. This method solves the inefficiency problem caused by the independent operation of traditional smart home devices, realizes data intercommunication and strategy coordination between devices, and significantly improves the overall response efficiency of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A logic flow chart of a method for adjusting the working state of an air conditioner provided in an embodiment of the present invention;
[0018] Figure 2 A schematic diagram of the structure of an air conditioner operating state adjustment device provided by an embodiment of the present invention;
[0019] Figure 3 This is a structural diagram of an air conditioner working state adjustment device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0020] The present invention provides a method, device, equipment and storage medium for adjusting the working state of an air conditioner. In the present invention, the terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or are inherent to these processes, methods, products or devices.
[0021] This application discloses a method for adjusting the working state of an air conditioner. For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 The smart home system includes a master control and electric curtains, an air conditioner, and an indoor temperature sensor electrically connected to the master control. An embodiment of the method for adjusting the working state of the air conditioner in the embodiment of the present invention includes:
[0022] 101. Acquire real-time outdoor parameters, where the real-time outdoor parameters include real-time outdoor temperature, real-time outdoor light intensity, and real-time light angle;
[0023] In this embodiment, an outdoor temperature sensor electrically connected to the main control is used to obtain the real-time outdoor temperature. The outdoor temperature sensor is installed in a suitable outdoor location, such as in a cool place on the outer wall of a house, to prevent direct sunlight from affecting the measurement accuracy. The outdoor temperature sensor can detect the outdoor temperature in real time and transmit the temperature data to the main control in real time through a data transmission channel. The outdoor temperature sensor and the indoor temperature sensor can be thermistor temperature sensors, whose resistance value changes with temperature and follows a specific resistance-temperature characteristic curve. By measuring the resistance value, the real-time indoor temperature and real-time outdoor temperature can be inferred using this characteristic curve.
[0024] In this embodiment, a light sensor electrically connected to the master control is used to obtain real-time outdoor light intensity. The light sensor is based on the photoelectric effect. When light shines on the sensor's photosensor, it generates an electrical signal proportional to the light intensity. The light sensor can be installed in a location outdoors that can fully receive light, such as a roof or an unobstructed balcony. The light sensor can monitor the outdoor light intensity in real time and transmit the light intensity data to the master control in real time.
[0025] In this embodiment, a solar altitude angle sensor electrically connected to the master control is used to obtain the real-time illumination angle. The solar altitude angle sensor utilizes the principles of gravity sensing and angle measurement. By detecting the angle between the sensor and the direction of gravity and the rotation angle of the sensor itself, combined with information such as geographic location and time, the solar altitude angle and azimuth are calculated using trigonometric functions to determine the illumination angle. The solar altitude angle sensor can be installed in an unobstructed outdoor location to ensure that the sun's position information can be accurately captured, and the illumination angle data can be transmitted to the master control in real time.
[0026] 102. Obtaining real-time position information of the electric curtain, and calculating the unshaded area based on the real-time position information of the electric curtain;
[0027] 103. Calculate the indoor temperature rise efficiency based on the real-time outdoor parameters and the calculated unshaded area, and obtain the real-time indoor temperature fed back by the indoor temperature sensor and the user-set temperature;
[0028] In this embodiment, the unshaded area is introduced and combined with the real-time outdoor light intensity, light angle and real-time outdoor temperature, the indoor temperature rise efficiency can be accurately calculated, that is, the indoor heat load change trend can be accurately predicted. Compared with the traditional control method that simply relies on the temperature difference, the air-conditioning power level can be adjusted in advance, the ineffective energy consumption can be reduced, and the overall energy efficiency ratio of the system can be improved.
[0029] 104. Compare the real-time indoor temperature with the user-set temperature, and adjust the working state of the air conditioner based on the comparison result and the indoor temperature rise efficiency.
[0030] This application discloses a method for adjusting the working state of an air conditioner. Through a master control, the air conditioner, electric curtains and indoor temperature sensors are controlled in a linked manner. The smart home system can dynamically adjust the operating state of the air conditioner according to the position of the curtains and outdoor parameters, which not only improves the comfort of the indoor environment but also reduces unnecessary energy consumption. This method solves the inefficiency problem caused by the independent operation of traditional smart home devices, realizes data intercommunication and strategy coordination between devices, and significantly improves the overall response efficiency of the system.
[0031] Furthermore, in an embodiment of the present invention, the electric curtain includes a Hall sensor electrically connected to the master controller; and obtaining the real-time position information of the electric curtain and calculating the unshaded area based on the real-time position information of the electric curtain includes:
[0032] 201. Obtain the real-time number of motor rotations fed back by the Hall sensor, and confirm the real-time position information of the electric curtain based on the real-time number of motor rotations;
[0033] In this embodiment, a Hall sensor is installed at the curtain motor. Its principle is based on the Hall effect, that is, when current passes through a conductor in a magnetic field, the magnetic field exerts a force perpendicular to the direction of electron movement on the electrons in the conductor, thereby generating a potential difference at both ends of the conductor; by detecting the number of times the potential difference changes, the number of motor rotations can be accurately obtained; since there is a fixed correspondence between the number of motor rotations and the degree of opening and closing of the curtain, the conversion formula between the two is calibrated in advance through experiments. For example, one rotation of the motor corresponds to a movement of the curtain of 0.5 meters, so that the real-time position information of the electric curtain can be determined.
[0034] 202. Obtain basic window information and electric curtain basic information, wherein the window basic information includes window height and window width, and the electric curtain basic information includes curtain width and curtain height;
[0035] 203. Calculate the current shading area based on the window height, the real-time position information of the electric curtain and the curtain width;
[0036] 204. Calculate the total window area based on the window height and the window width, and calculate the unshaded area based on the total window area and the current shaded area;
[0037] In this embodiment, when the electric curtains are fully closed, the shading area is the total area of the window covered by the curtains, that is, the width of the window multiplied by the height; as the electric curtains open, the unshaded area is equal to the total window area minus the current shading area; the shading area changes linearly with the degree of opening and closing of the curtains. Assuming that the opening and closing length of the curtains is L and the width of the curtains is W, then the current shading area = (window height - L) × W, and the unshaded area = the total window area - the current shading area.
[0038] In this embodiment, the real-time position information of the electric curtains is accurately grasped to provide key basic data for the subsequent calculation of the indoor temperature rise efficiency, thereby accurately regulating the indoor light and temperature. For example, when the sunlight is strong, the air conditioning cooling power can be adjusted in time according to the unshaded area to prevent the indoor temperature from being too high, improve the comfort of the indoor environment, and provide a strong basis for energy-saving control.
[0039] Furthermore, in an embodiment of the present invention, the step of calculating the indoor temperature rise efficiency based on the real-time outdoor parameters and the calculated unshaded area includes:
[0040] 301. Obtain a pre-built calculation model, where the calculation model is a functional relationship between outdoor parameters, unshaded area, and indoor temperature rise efficiency;
[0041] 302. Input the real-time outdoor parameters and the calculated unshaded area into a pre-built calculation model to obtain the temperature rise efficiency;
[0042] In this embodiment, the indoor temperature rise efficiency is affected by multiple factors such as outdoor temperature, illuminance, illumination angle and unshaded area; by establishing a multivariate linear regression mathematical model, the contribution of these factors to the temperature rise efficiency is comprehensively considered; based on a large amount of experimental data, the least squares method and other data fitting algorithms are used to determine the coefficients of each factor in the model, such as indoor temperature rise efficiency η = k1 × outdoor temperature + k2 × illuminance + k3 × illumination angle × unshaded area + c, where k1, k2, k3 are coefficients and c is a constant, and these coefficients and constants are obtained by fitting the experimental data; by accurately calculating the indoor temperature rise efficiency, a key basis is provided for adjusting the working state of the air conditioner, making the air conditioner control more intelligent and precise, avoiding energy waste or uncomfortable indoor temperature due to blindly setting the air conditioner power, achieving the goal of maintaining a comfortable indoor temperature with minimum energy consumption, and significantly improving energy utilization efficiency.
[0043] Furthermore, in an embodiment of the present invention, comparing the real-time indoor temperature with the user-set temperature and adjusting the operating state of the air conditioner based on the comparison result and the indoor temperature rise efficiency includes:
[0044] 401. Calculate the difference between the real-time indoor temperature and the user-set temperature to obtain the real-time temperature difference;
[0045] 402. If the real-time temperature difference is within the preset suitable temperature range, the operating state of the air conditioner is adjusted based on the indoor temperature rise efficiency;
[0046] 403. Determine the current season based on the real-time outdoor temperature, where the current season includes summer and winter.
[0047] 404. If it is summer and the real-time temperature difference is greater than the preset suitable temperature range, the cooling mode is executed, and the working state of the air conditioner is adjusted based on the real-time temperature difference and the indoor temperature rise efficiency;
[0048] 405. If it is winter and the real-time temperature difference is greater than the preset suitable temperature range, the heating mode is executed, and the working state of the air conditioner is adjusted based on the real-time temperature difference and the indoor temperature rise efficiency;
[0049] In this embodiment, by setting an appropriate temperature range (0-1°C) as a buffer zone, energy waste caused by frequent starting and stopping of air-conditioning equipment can be effectively avoided, and indoor temperature fluctuations can be kept within a precise range of ±0.5°C. Combined with the particle swarm optimization algorithm, fine adjustment of the working state of the air-conditioning equipment is achieved, thereby accurately controlling the power within the temperature difference range of 0-5°C. In addition, by automatically identifying the outdoor temperature, the system can distinguish different seasonal types and adjust the power gradient strategy in the cooling or heating mode accordingly, solving the problem of traditional systems requiring manual intervention during seasonal transitions, reducing ineffective cooling or heating energy consumption, and improving the intelligence of the system.
[0050] Furthermore, in an embodiment of the present invention, if the real-time temperature difference is within a preset suitable temperature range, adjusting the operating state of the air conditioner based on the indoor temperature rise efficiency includes:
[0051] 501. If 0°C ≤ real-time temperature difference ≤ 1°C, then based on the indoor temperature rise efficiency, a particle swarm optimization algorithm is used to obtain air conditioner operating state parameters, where the air conditioner operating state parameters include cooling / heating power level, operating time, and shutdown interval;
[0052] In this embodiment, the particle swarm optimization algorithm calculates the real-time indoor temperature, the user-set temperature, and the indoor temperature rise efficiency to output a set of optimal air-conditioning operating state parameters, including cooling / heating power level, operating time, and shutdown interval. These operating state parameters are the direct command source for adjusting the air-conditioning operating state. For example, on a summer afternoon, the outdoor temperature is 35°C, the illumination is strong, the temperature rise efficiency η is high, the current indoor temperature is 28°C, and the set temperature is 26°C. The particle swarm optimization algorithm simulates the effects of operating at different power levels: high-power operation for 10 minutes can quickly cool down but has high energy consumption, while medium-power operation for 20 minutes cools down slightly more slowly but has low energy consumption. After calculation, if medium-power operation for 20 minutes can stabilize the temperature at 26°C±1°C without frequent starting and stopping, the particle swarm optimization algorithm will output the parameter of "secondary cooling mode operation for 20 minutes", and the air-conditioning will adjust its operating state according to this parameter.
[0053] In this embodiment, the application process of the particle swarm optimization algorithm is detailed as follows:
[0054] First, the particle swarm is initialized, where each particle represents a combination of air conditioner operating states, including parameters such as cooling or heating power level, operation time, and shutdown interval. The starting position of the particle is randomly set within a reasonable solution space, for example, the cooling power level is set between 1 and 3, and the operation time is set between 0 and 60 minutes.
[0055] Next, determine the fitness function, which comprehensively considers indoor temperature deviation, energy consumption, and start-stop frequency. When the temperature deviation is small, the energy consumption is low, and the start-stop frequency is low, the fitness value is higher. The fitness function can be expressed as F = a×(1 / ΔT)+b×(1 / E)+c×(1 / N), where ΔT represents the real-time temperature difference, E represents energy consumption, and N represents the number of starts and stops of the compressor per unit time. A, b, and c are weight coefficients, which are set according to actual needs.
[0056] Subsequently, iterative optimization is performed, and each particle adjusts its flight speed and position based on its own historical optimal position and the global optimal position of the group; in each iteration, the fitness value of each particle is calculated, and the individual optimal and global optimal positions are updated; after multiple iterations, until the particle with the highest fitness value is found, its corresponding air-conditioning working state is the optimal solution.
[0057] Finally, because indoor and outdoor environmental parameters, including indoor and outdoor temperature, light intensity and angle, are in dynamic change, the master control re-collects data every 10 minutes and re-executes the particle swarm optimization algorithm to dynamically adjust the operating status of the air conditioner according to the new indoor and outdoor environmental parameters to ensure optimal control under different environmental conditions.
[0058] 502. Adjust the operating state of the air conditioner based on the acquired air conditioner operating state parameter;
[0059] In this embodiment, the air conditioner is maintained in working condition based on the indoor temperature rise efficiency η and the temperature fluctuation. If η is low and the temperature fluctuation is within the range of ±0.5°C of the set temperature, indicating that the temperature is stable and rising slowly, the air conditioner is reduced to extremely low power operation, such as entering the standby cooling mode, to maintain only a weak cooling capacity to offset the possible slight temperature rise and reduce energy consumption. If η is high or the temperature fluctuation exceeds 0.5°C, a certain cooling power is maintained to prevent the temperature from deviating from the set value quickly. When the real-time indoor temperature is basically the same as the user's set temperature, the temperature is intelligently maintained stable to avoid frequent starting and stopping of the air conditioner and extend the service life of the air conditioner. At the same time, the power is finely adjusted according to the actual temperature change trend to minimize energy consumption and improve energy utilization efficiency while ensuring comfort.
[0060] Furthermore, in an embodiment of the present invention, if it is summer and the real-time temperature difference is greater than a preset suitable temperature range, the cooling mode is executed, and the working state of the air conditioner is adjusted based on the real-time temperature difference and the indoor temperature rise efficiency, including:
[0061] 601. When it is summer and the real-time temperature difference is greater than the preset suitable temperature range, the cooling mode is executed;
[0062] 602. If 1°C < real-time temperature difference ≤ 2°C, low cooling power operation is adopted. Based on the real-time temperature difference and the indoor temperature rise efficiency, a particle swarm optimization algorithm is used to obtain operating parameters of the first-stage cooling mode. The operating state of the air conditioner is adjusted based on the operating parameters of the first-stage cooling mode to slowly lower the indoor temperature and reduce energy consumption.
[0063] 603. If the real-time temperature difference is 2°C less than or equal to 5°C, then the air conditioner is operated at a medium cooling power. Based on the real-time temperature difference and the indoor temperature rise efficiency, a particle swarm optimization algorithm is used to obtain operating parameters for the secondary cooling mode. The operating state of the air conditioner is adjusted based on the operating parameters for the secondary cooling mode to quickly reduce the temperature to the set range.
[0064] 604. If the real-time temperature difference is less than 5°C, high cooling power operation is adopted. Based on the real-time temperature difference and the indoor temperature rise efficiency, a particle swarm optimization algorithm is used to obtain the operating parameters of the three-stage cooling mode. The operating state of the air conditioner is adjusted based on the operating parameters of the three-stage cooling mode to quickly reduce the indoor temperature and prevent the temperature from continuing to rise.
[0065] In this embodiment, when it is summer and the real-time indoor temperature exceeds the user-set temperature, the air conditioner will enter cooling mode. Cooling power is adjusted based on a comprehensive consideration of the real-time temperature difference ΔT and the indoor temperature rise efficiency η. The real-time temperature difference represents the degree of deviation between the current temperature and the set temperature, while the indoor temperature rise efficiency η reflects the rate of indoor temperature rise. For example, a large ΔT indicates a large deviation from the set temperature, requiring a higher cooling power to quickly lower the indoor temperature. Conversely, a small ΔT indicates a small deviation from the set temperature, requiring a lower cooling power to slowly adjust the indoor temperature, thus avoiding energy waste caused by overcooling. Cooling power levels vary depending on the air conditioner model and are commonly categorized as low, medium, and high, corresponding to different cooling capacities. For example, low power is 1-2 kW, medium power is 2-3 kW, and high power is 3 kW and above. A precise cooling power adjustment strategy based on a particle swarm optimization algorithm can quickly lower the indoor temperature to the set range, ensuring a cool and comfortable indoor environment, while also rationally controlling energy consumption based on actual conditions, avoiding energy waste caused by overcooling and achieving a balance between energy conservation and comfort.
[0066] Furthermore, in an embodiment of the present invention, if it is winter and the real-time temperature difference is greater than a preset suitable temperature range, the heating mode is executed, and the working state of the air conditioner is adjusted based on the real-time temperature difference and the indoor temperature rise efficiency, including:
[0067] 701. When it is winter and the real-time temperature difference is greater than the preset suitable temperature range, the heating mode is executed;
[0068] 702. If 1°C < real-time temperature difference ≤ 2°C, operate at low heating power, use a particle swarm optimization algorithm to obtain operating parameters of the first-level heating mode based on the real-time temperature difference and the indoor temperature rise efficiency, and adjust the operating state of the air conditioner based on the operating parameters of the first-level heating mode;
[0069] 703. If the real-time temperature difference is 2°C less than or equal to 5°C, then the air conditioner is operated at a medium heating power. Based on the real-time temperature difference and the indoor temperature rise efficiency, a particle swarm optimization algorithm is used to obtain operating parameters for the secondary heating mode, and the operating state of the air conditioner is adjusted based on the operating parameters for the secondary heating mode.
[0070] 704. If the real-time temperature difference is less than 5°C, high heating power operation is adopted. Based on the real-time temperature difference and the indoor temperature rise efficiency, a particle swarm optimization algorithm is used to obtain the operating parameters of the three-stage heating mode, and the operating state of the air conditioner is adjusted based on the operating parameters of the three-stage heating mode.
[0071] In this embodiment, when it is winter and the real-time indoor temperature is lower than the user-set temperature, the air conditioner will execute the heating mode; the adjustment of the heating power will be based on a comprehensive consideration of the real-time temperature difference ΔT and the indoor temperature rise efficiency η; the real-time temperature difference represents the degree of deviation between the current temperature and the set temperature, while the indoor temperature rise efficiency η reflects the speed at which the indoor temperature rises; for example, if ΔT is large, it indicates that the deviation between the indoor temperature and the set value is large, and a higher power heating is required to quickly increase the indoor temperature; conversely, if ΔT is small, it means that the deviation between the indoor temperature and the set value is small, and a lower power heating is used. The indoor temperature can be slowly adjusted by heating to avoid energy waste caused by excessive heating. The heating power level is divided into three levels: low, medium and high, depending on the air conditioner model, corresponding to different heating outputs, such as low power heating of 1-1.5kW, medium power of 1.5-2.5kW, and high power of 2.5kW and above. Through reasonable power adjustment in the heating state based on the particle swarm optimization algorithm, the indoor temperature can be quickly raised in cold weather to create a warm and comfortable environment. At the same time, the heating power is accurately controlled according to the actual situation to effectively avoid energy waste and achieve the dual goals of efficient heating and energy saving.
[0072] The above describes the method for adjusting the working state of the air conditioner in the embodiment of the present invention. The following describes the device for adjusting the working state of the air conditioner in the embodiment of the present invention. Figure 2 In one embodiment of the present invention, an air conditioner operating state adjustment device includes:
[0073] An acquisition module 801 is configured to acquire real-time outdoor parameters, including real-time outdoor temperature, real-time outdoor light intensity, and real-time light angle;
[0074] A first calculation module 802 is configured to obtain real-time position information of the electric curtain and calculate the unshaded area based on the real-time position information of the electric curtain;
[0075] The second calculation module 803 is used to calculate the indoor temperature rise efficiency based on the real-time outdoor parameters and the calculated unshaded area, and obtain the real-time indoor temperature fed back by the indoor temperature sensor and the user set temperature;
[0076] The adjustment module 804 is used to compare the real-time indoor temperature with the user-set temperature, and adjust the working state of the air conditioner based on the comparison result and the indoor temperature rise efficiency.
[0077] Based on the same idea as the method in the above embodiment, the device provided in this application can implement the method in the above embodiment.
[0078] above Figure 2 The air conditioner working state adjustment device in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The air conditioner working state adjustment device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0079] Figure 3 : is a structural diagram of an air-conditioning working state adjustment device provided in an embodiment of the present invention. The air-conditioning working state adjustment device 900 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 910 and memories 920, and one or more storage media 930 (for example, one or more massive storage devices) for storing application programs 933 or data 932. Among them, the memories 920 and the storage media 930 may be short-term storage or persistent storage. The program stored in the storage medium 930 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the air-conditioning working state adjustment device 900. Furthermore, the processor 910 may be configured to communicate with the storage medium 930, and execute a series of instruction operations in the storage medium 930 on the air-conditioning working state adjustment device 900 to implement the steps of the air-conditioning working state adjustment method provided in the above-mentioned method embodiments.
[0080] The air conditioner operating state adjustment device 900 may further include one or more power supplies 940, one or more wired or wireless network interfaces 950, one or more input and output interfaces 960, and / or one or more operating systems 931, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. It will be understood by those skilled in the art that Figure 3 The structure of the air-conditioning working state adjustment device shown does not constitute a limitation on the air-conditioning working state adjustment device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0081] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores instructions, which, when executed on a computer, cause the computer to execute the steps of the air conditioner working state adjustment method.
[0082] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0083] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or 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), random access memory (RAM), magnetic disk or optical disk, etc., various media that can store program code.
[0084] Finally, it should be noted that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art will be able to modify the technical solutions described in the aforementioned embodiments or substitute equivalents for some of the technical features. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.
Claims
1. A method for adjusting the working state of an air conditioner, characterized in that: The smart home system includes a master control and electric curtains, an air conditioner, and an indoor temperature sensor electrically connected to the master control. The method for adjusting the working state of the air conditioner includes: Acquire real-time outdoor parameters, including real-time outdoor temperature, real-time outdoor light intensity, and real-time light angle; Obtaining the real-time position information of the electric curtains, and calculating the unshaded area based on the real-time position information of the electric curtains; Calculate the indoor temperature rise efficiency based on the real-time outdoor parameters and the calculated unshaded area, and obtain the real-time indoor temperature feedback from the indoor temperature sensor and the user-set temperature; Compare the real-time indoor temperature with the user-set temperature, and adjust the air conditioner's operating state based on the comparison result and the indoor temperature rise efficiency.
2. The method for adjusting the working state of an air conditioner according to claim 1, wherein: The electric curtain includes a Hall sensor electrically connected to the master control; the acquiring of real-time position information of the electric curtain and the calculation of the unshaded area based on the real-time position information of the electric curtain include: Obtain the real-time motor rotation number fed back by the Hall sensor, and confirm the real-time position information of the electric curtain based on the real-time motor rotation number; Obtaining basic window information and electric curtain basic information, wherein the window basic information includes window height and window width, and the electric curtain basic information includes curtain width and curtain height; Calculate the current shading area based on the window height, real-time position information of the electric curtain and the curtain width; The total window area is calculated based on the window height and window width, and the unshaded area is calculated based on the total window area and the current shaded area.
3. The method for adjusting the working state of an air conditioner according to claim 1, wherein: The calculating of the indoor temperature rise efficiency based on the real-time outdoor parameters and the calculated unshaded area includes: Obtaining a pre-built calculation model, wherein the calculation model is a functional relationship between outdoor parameters, unshaded area, and indoor temperature rise efficiency; The real-time outdoor parameters and the calculated unshaded area are input into the pre-built calculation model to obtain the temperature rise efficiency.
4. The method for adjusting the working state of an air conditioner according to claim 1, wherein: The comparing the real-time indoor temperature with the user-set temperature and adjusting the working state of the air conditioner based on the comparison result and the indoor temperature rise efficiency includes: Calculate the difference between the real-time indoor temperature and the user-set temperature to obtain the real-time temperature difference; If the real-time temperature difference is within the preset suitable temperature range, the working state of the air conditioner is adjusted based on the indoor temperature rise efficiency; determining a current season based on the real-time outdoor temperature, wherein the current season includes summer and winter; If it is summer and the real-time temperature difference is greater than the preset suitable temperature range, the cooling mode is executed, and the working state of the air conditioner is adjusted based on the real-time temperature difference and the indoor temperature rise efficiency; If it is winter and the real-time temperature difference is greater than the preset suitable temperature range, the heating mode is executed, and the working state of the air conditioner is adjusted based on the real-time temperature difference and indoor temperature rise efficiency.
5. The method for adjusting the working state of an air conditioner according to claim 4, characterized in that: If the real-time temperature difference is within a preset suitable temperature range, adjusting the working state of the air conditioner based on the indoor temperature rise efficiency includes: If 0°C ≤ real-time temperature difference ≤ 1°C, then based on the indoor temperature rise efficiency, a particle swarm optimization algorithm is used to obtain the air conditioner operating status parameters, which include cooling / heating power level, operating time, and shutdown interval; The operating state of the air conditioner is adjusted based on the acquired air conditioner operating state parameter.
6. The method for adjusting the working state of an air conditioner according to claim 4, characterized in that: If it is summer and the real-time temperature difference is greater than the preset suitable temperature range, the cooling mode is executed, and the working state of the air conditioner is adjusted based on the real-time temperature difference and the indoor temperature rise efficiency, including: When it is summer and the real-time temperature difference is greater than the preset suitable temperature range, the cooling mode is executed; If the real-time temperature difference is 1°C less than or equal to 2°C, the air conditioner is operated at low cooling power. Based on the real-time temperature difference and the indoor temperature rise efficiency, a particle swarm optimization algorithm is used to obtain the operating parameters of the first-level cooling mode, and the operating state of the air conditioner is adjusted based on the operating parameters of the first-level cooling mode. If the real-time temperature difference is 2°C less than or equal to 5°C, the air conditioner is operated at medium cooling power. Based on the real-time temperature difference and the indoor temperature rise efficiency, a particle swarm optimization algorithm is used to obtain the operating parameters of the secondary cooling mode, and the operating state of the air conditioner is adjusted based on the operating parameters of the secondary cooling mode. If the real-time temperature difference is 5°C less than the real-time temperature difference, high cooling power operation is adopted. Based on the real-time temperature difference and the indoor temperature rise efficiency, the particle swarm optimization algorithm is used to obtain the working parameters of the three-stage cooling mode, and the working state of the air conditioner is adjusted based on the working parameters of the three-stage cooling mode.
7. The method for adjusting the working state of an air conditioner according to claim 4, characterized in that: If it is winter and the real-time temperature difference is greater than the preset suitable temperature range, the heating mode is executed, and the working state of the air conditioner is adjusted based on the real-time temperature difference and the indoor temperature rise efficiency, including: When it is winter and the real-time temperature difference is greater than the preset suitable temperature range, the heating mode is executed; If the real-time temperature difference is 1°C less than or equal to 2°C, the air conditioner is operated at low heating power. Based on the real-time temperature difference and the indoor temperature rise efficiency, a particle swarm optimization algorithm is used to obtain the operating parameters of the first-level heating mode, and the operating state of the air conditioner is adjusted based on the operating parameters of the first-level heating mode. If the real-time temperature difference is 2°C less than or equal to 5°C, the air conditioner is operated at medium heating power. Based on the real-time temperature difference and the indoor temperature rise efficiency, a particle swarm optimization algorithm is used to obtain the operating parameters of the secondary heating mode, and the operating state of the air conditioner is adjusted based on the operating parameters of the secondary heating mode. If the real-time temperature difference is less than 5°C, high heating power operation is adopted. Based on the real-time temperature difference and indoor temperature rise efficiency, a particle swarm optimization algorithm is used to obtain the working parameters of the three-stage heating mode, and the working state of the air conditioner is adjusted based on the working parameters of the three-stage heating mode.
8. An air conditioner working state adjustment device, characterized in that: include: An acquisition module is used to acquire real-time outdoor parameters, wherein the real-time outdoor parameters include real-time outdoor temperature, real-time outdoor light intensity and real-time light angle; A first calculation module is used to obtain real-time position information of the electric curtain and calculate the unshaded area based on the real-time position information of the electric curtain; The second calculation module is used to calculate the indoor temperature rise efficiency based on the real-time outdoor parameters and the calculated unshaded area, and obtain the real-time indoor temperature feedback from the indoor temperature sensor and the user set temperature; The adjustment module is used to compare the real-time indoor temperature with the user-set temperature and adjust the working state of the air conditioner based on the comparison result and the indoor temperature rise efficiency.
9. An air conditioner working state adjustment device, characterized in that: The air conditioner working state adjustment device includes: a memory and at least one processor, wherein the memory stores instructions; At least one of the processors calls the instructions in the memory to enable the air conditioner operating state adjustment device to perform each step of the air conditioner operating state adjustment method according to any one of claims 1 to 7.
10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the steps of the air conditioner working state adjustment method according to any one of claims 1 to 7 are implemented.