A method, apparatus and storage medium for centralized control of air conditioning
By periodically calculating the peak, flat, and valley electricity consumption of the indoor air conditioner and establishing a virtual electricity meter, the problem of unreasonable air conditioner electricity cost calculation is solved, achieving accurate and fair allocation and centralized control of air conditioner electricity costs, and supporting real-time monitoring and fault notification.
Patent Information
- Application Number
- CN202311806671.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2043-12-26
AI Technical Summary
Existing technologies cannot accurately and fairly calculate the air conditioning electricity costs for each enterprise in industrial park air conditioning management. In particular, the electricity consumption varies during peak, off-peak, and valley periods, and the number of indoor air conditioning units and usage time are not fully considered, leading to unreasonable calculations.
By periodically calculating the peak, flat, and off-peak electricity consumption of the indoor air conditioning units, a virtual electricity meter is established. Based on parameters such as the usage time and calculated capacity of the indoor air conditioning units, the electricity cost of each indoor air conditioning unit is accurately calculated. The air conditioning parameters are then centrally controlled through an air conditioning gateway to achieve refined management.
It enables accurate and fair calculation of air conditioning electricity costs, and can reasonably allocate costs based on the specific parameters of the indoor unit of the air conditioner, thereby improving the accuracy and fairness of electricity cost calculation. It also supports real-time monitoring and fault notification.
Smart Images

Figure CN117781445B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power terminal control technology, and in particular to a method, device and storage medium for centralized control of air conditioning. Background Technology
[0002] Industrial parks or similar business parks, where companies and offices are concentrated, involve the management of air conditioning for each company, including its operation, shutdown, power consumption, and malfunctions. Generally, industrial parks calculate the total electricity cost based on the main meter's power consumption, and then calculate the corresponding cost based on each company's individual meter readings. A common formula is: Electricity Cost A = (Company A's Power Consumption / (Sum of Power Consumption of All Companies in the Industrial Park)) x Total Air Conditioning Electricity Cost of the Industrial Park. While this calculation method seems fair, in reality, each company's power consumption differs during peak, off-peak, and valley periods, and the corresponding national electricity pricing standards vary. This is unfair to companies with higher power consumption during off-peak and valley periods. Similarly, calculating air conditioning power consumption solely based on factors like lighting and other non-central air conditioning usage is also unreasonable; the number of indoor units, capacity, and usage duration must be considered. Therefore, an accurate and fair centralized air conditioning control method is urgently needed. Summary of the Invention
[0003] To address the aforementioned problems in existing technical solutions, this invention proposes a method, apparatus, and storage medium for centralized control of air conditioning.
[0004] To achieve the above objectives, the present invention adopts the following technical solution: a method for centralized control of an air conditioner, comprising the following steps:
[0005] S1, start a worker thread to calculate the peak and off-peak electricity consumption of the indoor unit of the air conditioner at regular intervals (e.g., every 10 minutes) and write the calculated electricity consumption to the database;
[0006] S2, iterate through each outdoor unit of the air conditioner in the system and perform the following operations:
[0007] S21, Read the real-time data from the outdoor unit's electrical meter;
[0008] S22, based on the data collected from the outdoor unit electrical meter of the air conditioner, then look up the corresponding data in the status table of the indoor unit of the air conditioner;
[0009] S23 calculates an allocation ratio for each indoor air conditioner based on the cumulative usage time (usage time within one month) and the calculated capacity of each indoor air conditioner read from S22.
[0010] S24 calculates the total electricity consumption of the air conditioner indoor unit at the corresponding time by multiplying the peak, flat and valley electricity consumption by the total electricity consumption collected by the air conditioner outdoor unit according to the sharing ratio of each indoor unit.
[0011] S25 writes the peak, flat, and valley power consumption data corresponding to the indoor unit of the air conditioner calculated in S24 into the real-time power consumption acquisition table in the database.
[0012] This invention calculates the peak, flat, and valley electricity consumption of the indoor unit of the air conditioner at regular intervals based on collected status data and peak, flat, and valley electricity consumption data from the outdoor unit's electricity meter. This allows for accurate calculation of peak, flat, and valley electricity costs for the room's air conditioning based on the corresponding meter readings for the indoor unit. This invention's calculation of peak, flat, and valley electricity consumption is accurate, fair, and reasonable, taking into account various parameters such as the indoor unit's on / off time, calculated capacity, temperature, and airflow. This method is more reasonable than the currently used method of allocating costs based on area or electricity consumption percentage.
[0013] In some embodiments, for central air conditioning, the present invention can establish a corresponding virtual electricity meter for the indoor unit of the air conditioner. The electricity consumption of the virtual electricity meter is calculated accurately in real time by the system service platform, and the daily and hourly electricity consumption statistics can be viewed in real time, achieving refined centralized control.
[0014] Furthermore, in S21, the reading condition is that the acquisition time is greater than or equal to the calculation time (dt). The first data in the database is retrieved using the acquisition time in ascending order to obtain the acquisition data of the air conditioner outdoor unit electrical meter that needs to be calculated. Its acquisition time is recorded as the calculation time cal_time.
[0015] Furthermore, in S22, based on the data collected from the outdoor unit's electrical meter, the system searches the indoor unit's status table for data collection time <= cal_time, and retrieves the first data from the database using a descending order of collection time.
[0016] Furthermore, in S24, based on the sharing ratio of each indoor air conditioner unit, the total electricity collected by the outdoor air conditioner unit, the peak, flat and valley electricity are multiplied by this ratio to obtain the total electricity of the indoor air conditioner unit at cal_time, the peak, flat and valley electricity.
[0017] Furthermore, in S24, a virtual electricity meter is established to correspond to the power consumption of the indoor unit of the air conditioner, and the sum of the power consumption of the virtual electricity meter of the indoor unit of the air conditioner is equal to the power consumption of the outdoor unit of the air conditioner.
[0018] Furthermore, in S24, a portion of the electricity consumption of the outdoor unit of the air conditioner is allocated to the virtual electricity meter of the indoor unit, while another portion of the electricity consumption is retained on the outdoor unit as a shared electricity cost. The electricity cost of this shared electricity cost is calculated as a shared expense for the enterprise tenants in the industrial park.
[0019] The present invention also provides an apparatus for a method of centralized control of air conditioning, comprising:
[0020] The virtual electricity meter construction module is used to create a virtual electricity meter for each indoor air conditioner unit to record the power consumption of the corresponding indoor air conditioner unit;
[0021] The server starts a worker thread that calculates the peak, off-peak, and valley electricity consumption of the indoor air conditioner unit at regular intervals (e.g., every 10 minutes) and writes the calculated electricity consumption to the database; at the same time, it iterates through each outdoor air conditioner unit in the system and executes the steps in S2.
[0022] The present invention also provides a computer-readable storage medium containing a computer program that, when executed by one or more processors, implements the air conditioning centralized control method described in any of the preceding claims. Attached Figure Description
[0023] Figure 1 This is a schematic diagram of a method for centralized control of an air conditioner according to the present invention. Detailed Implementation
[0024] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0025] like Figure 1 As shown, a method for centralized control of an air conditioning system includes the following steps:
[0026] S1, start a worker thread to calculate the peak and off-peak electricity consumption of the indoor unit of the air conditioner at regular intervals (e.g., every 10 minutes) and write the calculated electricity consumption to the database;
[0027] S2, iterate through each outdoor unit of the air conditioner in the system and perform the following operations:
[0028] S21, Read the real-time data from the outdoor unit's electrical meter;
[0029] S22, based on the data collected from the outdoor unit electrical meter of the air conditioner, then look up the corresponding data in the status table of the indoor unit of the air conditioner;
[0030] S23 calculates an allocation ratio for each indoor air conditioner based on the cumulative usage time (usage time within one month) and the calculated capacity of each indoor air conditioner read from S22.
[0031] S24 calculates the total electricity consumption of the air conditioner indoor unit at the corresponding time by multiplying the peak, flat and valley electricity consumption by the total electricity consumption collected by the air conditioner outdoor unit according to the sharing ratio of each indoor unit.
[0032] S25 writes the peak, flat, and valley power consumption data corresponding to the indoor unit of the air conditioner calculated in S24 into the real-time power consumption acquisition table in the database.
[0033] This invention calculates the peak, flat, and valley electricity consumption of the indoor unit of the air conditioner at regular intervals based on collected status data and peak, flat, and valley electricity consumption data from the outdoor unit's electricity meter. This allows for accurate calculation of peak, flat, and valley electricity costs for the room's air conditioning based on the corresponding meter readings for the indoor unit. This invention's calculation of peak, flat, and valley electricity consumption is accurate, fair, and reasonable, taking into account various parameters such as the indoor unit's on / off time, calculated capacity, temperature, and airflow. This method is more reasonable than the currently used method of allocating costs based on area or electricity consumption percentage.
[0034] In some embodiments, for central air conditioning, the present invention can establish a corresponding virtual electricity meter for the indoor unit of the air conditioner. The electricity consumption of the virtual electricity meter is calculated accurately in real time by the system service platform, and the daily and hourly electricity consumption statistics can be viewed in real time, achieving refined centralized control.
[0035] Furthermore, in S21, the reading condition is that the acquisition time is greater than or equal to the calculation time (dt). The first data in the database is retrieved using the acquisition time in ascending order to obtain the acquisition data of the air conditioner outdoor unit electrical meter that needs to be calculated. Its acquisition time is recorded as the calculation time cal_time.
[0036] Furthermore, in S22, based on the data collected from the outdoor unit's electrical meter, the system searches the indoor unit's status table for data collection time <= cal_time, and retrieves the first data from the database using a descending order of collection time.
[0037] Furthermore, in S24, based on the sharing ratio of each indoor air conditioner unit, the total electricity collected by the outdoor air conditioner unit, the peak, flat and valley electricity are multiplied by this ratio to obtain the total electricity of the indoor air conditioner unit at cal_time, the peak, flat and valley electricity.
[0038] Furthermore, in S24, a virtual electricity meter is established to correspond to the power consumption of the indoor unit of the air conditioner, and the sum of the power consumption of the virtual electricity meter of the indoor unit of the air conditioner is equal to the power consumption of the outdoor unit of the air conditioner.
[0039] Furthermore, in S24, a portion of the electricity consumption of the outdoor unit of the air conditioner is allocated to the virtual electricity meter of the indoor unit, while another portion of the electricity consumption is retained on the outdoor unit as a shared electricity cost. The electricity cost of this shared electricity cost is calculated as a shared expense for the enterprise tenants in the industrial park.
[0040] This invention enables centralized management of the central air conditioning systems in industrial parks, controlling parameters such as start-up, shutdown, mode, temperature, and upper / lower temperature limits. It collects start-up and shutdown events of indoor air conditioning units, as well as real-time temperature, fan speed, and mode status data. Based on the collected indoor unit status data and the peak / off-peak electricity consumption of the outdoor units, it automatically calculates the peak / off-peak electricity consumption of the indoor units.
[0041] When it is necessary to collect status data of indoor air conditioning units, the air conditioning gateway within the industrial park connects to the remote data acquisition server. The gateway actively reports the operating status data of all connected indoor air conditioning units. The gateway reports the operating status data of all indoor air conditioning units at fixed intervals (e.g., every 5 minutes). If an indoor air conditioning unit connected to the gateway experiences events such as power-on, power-off, temperature change, fan speed change, alarm, or malfunction, the gateway immediately reports the event data to the remote data acquisition server. The remote data acquisition server issues control commands to the indoor air conditioning unit to the gateway. After receiving the remote control commands, the gateway sets the on / off, mode, temperature, fan speed, and other parameters of the target indoor air conditioning unit. After the control is completed, the gateway actively reports the status data of the indoor air conditioning unit. Manually setting air conditioning parameters in the room will also prompt the gateway to actively report the status of the indoor air conditioning unit. The indoor air conditioning unit operating status data is simultaneously reported to the remote data acquisition server and backed up locally on the gateway. If the network between the gateway and the remote server fails, the reporting will fail. Once the gateway and server reconnect successfully, the gateway will automatically report the unreported indoor air conditioning unit status data as offline data.
[0042] In practice, each central air conditioning outdoor unit has a corresponding outdoor unit electricity meter, which collects real-time peak, flat, and valley electricity consumption data. Each outdoor unit is connected to multiple indoor units (within the room). Since the indoor units do not have corresponding electricity meters, a virtual indoor unit electricity meter can be added to the system. This virtual meter accurately calculates peak, flat, and valley electricity consumption to calculate the room's air conditioning electricity cost. When an indoor unit is turned on, the remote data collection service writes the unit's start-up event to the database (primarily recording the start-up time). When the indoor unit is turned off, the data collection server writes the shutdown event to the database. Based on the start-up and shutdown events, the system automatically calculates the total air conditioning usage time during the start-up and shutdown periods, including the usage time during peak, flat, and valley periods. The peak, flat, and valley usage time of the indoor units is generally calculated monthly, starting from 0 at the beginning of each month.
[0043] This invention provides an air conditioning gateway that can interface with multiple air conditioning manufacturers (Gree, Midea, Haier, Hisense, Hitachi, Daikin, Toshiba, etc.). The gateway's underlying layer connects to the proprietary air conditioning control protocols of these manufacturers, while the gateway uses the standard MQTT protocol to report indoor unit status data. By controlling the indoor units of various manufacturers through the air conditioning gateway and reporting their status data using a unified MQTT protocol, the remote data acquisition server does not need to be concerned with the control protocols of individual indoor units. This invention also allows for real-time monitoring of indoor unit status data. If an indoor unit malfunctions, the system can promptly notify the responsible parties via SMS, WeChat, or other means.
[0044] The present invention also provides an apparatus for a method of centralized control of air conditioning, comprising:
[0045] The virtual electricity meter construction module is used to create a virtual electricity meter for each indoor air conditioner unit to record the power consumption of the corresponding indoor air conditioner unit;
[0046] The server starts a worker thread that calculates the peak, off-peak, and valley electricity consumption of the indoor air conditioner unit at regular intervals (e.g., every 10 minutes) and writes the calculated electricity consumption to the database; at the same time, it iterates through each outdoor air conditioner unit in the system and executes the steps in S2.
[0047] The present invention also provides a computer-readable storage medium containing a computer program that, when executed by one or more processors, implements the air conditioning centralized control method described in any of the preceding claims.
[0048] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.
Claims
1. A method for centralized control of an air conditioning system, characterized in that, Includes the following steps: S1, start a worker thread to calculate the peak and off-peak electricity consumption of the indoor unit of the air conditioner at regular intervals and write the calculated electricity consumption to the database; S2, iterate through each outdoor unit of the air conditioner in the system and perform the following operations: S21, Read the real-time data from the outdoor unit's electrical meter; S22, based on the data collected from the outdoor unit electrical meter of the air conditioner, then look up the corresponding data in the status table of the indoor unit of the air conditioner; S23, based on the cumulative duration of each indoor air conditioner unit read in S22 and the calculated capacity of the indoor air conditioner unit, calculate a sharing ratio for each indoor air conditioner unit; S24. Based on the sharing ratio of each indoor air conditioner unit, multiply the total electricity collected by the outdoor air conditioner unit by the peak, flat and valley electricity to obtain the total electricity of the indoor air conditioner unit at the corresponding time and the peak, flat and valley electricity. S24A: A virtual electricity meter is established to correspond to the power consumption of the indoor unit of the air conditioner. The sum of the power consumption of the virtual electricity meter of the indoor unit is equal to the power consumption of the outdoor unit. Part of the power consumption of the outdoor unit is allocated to the virtual electricity meter of the indoor unit, and the other part of the power consumption is retained on the outdoor unit as a shared power consumption. The electricity cost of this shared power consumption is calculated as a shared cost to the enterprise tenants in the industrial park. S25, write the peak, flat and valley power consumption data corresponding to the indoor unit of the air conditioner calculated in S24 into the real-time power consumption acquisition table in the database.
2. The method for centralized control of air conditioning according to claim 1, characterized in that, In S21, the reading condition is that the acquisition time >= the calculation time (dt). The first data in the database is retrieved in ascending order of acquisition time to obtain the acquisition data of the air conditioner outdoor unit electrical meter that needs to be calculated. Its acquisition time is recorded as the calculation time cal_time.
3. The method for centralized control of air conditioning according to claim 2, characterized in that, In S22, based on the data collected from the outdoor unit's electrical meter, the system searches the indoor unit's status table for data collection time <= cal_time, and retrieves the first data from the database using a descending order of collection time.
4. The method for centralized control of air conditioning according to claim 3, characterized in that, In S24, based on the sharing ratio of each indoor air conditioner unit, the total electricity collected by the outdoor air conditioner unit, the peak, flat and valley electricity are multiplied by this ratio to obtain the total electricity of the indoor air conditioner unit at cal_time, the peak, flat and valley electricity.
5. An apparatus for a method of centralized control of an air conditioning system, characterized in that, include: The virtual electricity meter construction module is used to create a virtual electricity meter for each indoor air conditioner unit to record the power consumption of the corresponding indoor air conditioner unit; The server starts a worker thread to calculate the peak, off-peak, and valley electricity consumption of the indoor air conditioner at regular intervals and writes the calculated electricity consumption to the database; at the same time, it iterates through each outdoor air conditioner in the system and executes step S2 as described in any one of claims 1-4.
6. A computer-readable storage medium containing a computer program, characterized in that, When the computer program is executed by one or more processors, it implements the air conditioning centralized control method according to any one of claims 1-4.
Citation Information
Patent Citations
Family-based charging method, device and system of variable refrigerant volume air conditioning system
CN106771566A
Electric quantity sharing method of multi-split central air conditioner
CN112443936A
Multi-split air conditioner charging method and charging system applying same
CN114708035A
